@clickview/reports 0.69.1-dev.1 → 0.70.0-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bundles.json +3 -2
- package/dist/css/1103-reports-d3d5cc00db.chunk.css +31 -0
- package/dist/css/1456-reports-4a5871a275.chunk.css +9 -0
- package/dist/css/1648-reports-012456ba48.chunk.css +2 -0
- package/dist/css/209-reports-c33663a53e.chunk.css +11 -0
- package/dist/css/2150-reports-84ec0e9770.chunk.css +4 -0
- package/dist/css/2217-reports-74dec0a3fe.chunk.css +32 -0
- package/dist/css/2997-reports-e08318f14b.chunk.css +9 -0
- package/dist/css/2999-reports-f190450b10.chunk.css +60 -0
- package/dist/css/4582-reports-d3d5cc00db.chunk.css +31 -0
- package/dist/css/5304-reports-22c2d8d635.chunk.css +9 -0
- package/dist/css/6007-reports-5ba77c55a3.chunk.css +8 -0
- package/dist/css/6031-reports-d558076846.chunk.css +6 -0
- package/dist/css/6356-reports-8c5b220bf6.chunk.css +1 -0
- package/dist/css/6811-reports-baf2e97e71.chunk.css +35 -0
- package/dist/css/7723-reports-8c6d3c414b.chunk.css +4 -0
- package/dist/css/7747-reports-2d9e191b5a.chunk.css +12 -0
- package/dist/css/8087-reports-cfe23ba648.chunk.css +10 -0
- package/dist/css/8294-reports-c797263ac2.chunk.css +1 -0
- package/dist/css/8418-reports-0ada3f3ce2.chunk.css +29 -0
- package/dist/css/8450-reports-06493dfde5.chunk.css +9 -0
- package/dist/css/8622-reports-9e8970cc7f.chunk.css +8 -0
- package/dist/css/8839-reports-8e46644943.chunk.css +1 -0
- package/dist/css/8989-reports-92b4f1dde8.chunk.css +8 -0
- package/dist/css/9059-reports-a2ac630ebc.chunk.css +35 -0
- package/dist/css/9285-reports-5b9af8380f.chunk.css +13 -0
- package/dist/css/9661-reports-7435e94a85.chunk.css +4 -0
- package/dist/css/9822-reports-a1db1900c7.chunk.css +8 -0
- package/dist/css/9949-reports-f22fa2b407.chunk.css +15 -0
- package/dist/css/reports-app-b4c4ec5632.css +32 -0
- package/dist/languages/en.json +1 -0
- package/dist/scripts/1103-d77d388f5b-reports.chunk.js +1 -0
- package/dist/scripts/1177-7cf7817e74-reports.chunk.js +1 -0
- package/dist/scripts/1456-019d93e620-reports.chunk.js +1 -0
- package/dist/scripts/1648-e892604f5a-reports.chunk.js +1 -0
- package/dist/scripts/1934-ca8497c768-reports.chunk.js +2 -0
- package/dist/scripts/1934-ca8497c768-reports.chunk.js.LICENSE.txt +9 -0
- package/dist/scripts/2087-e0ef668e1f-reports.chunk.js +1 -0
- package/dist/scripts/209-79eb8be706-reports.chunk.js +1 -0
- package/dist/scripts/2150-4e9e1fb433-reports.chunk.js +1 -0
- package/dist/scripts/2217-15fa35197a-reports.chunk.js +1 -0
- package/dist/scripts/2476-a700f69dc4-reports.chunk.js +1 -0
- package/dist/scripts/2539-04dfb4f4f1-reports.chunk.js +1 -0
- package/dist/scripts/2997-62d81c3442-reports.chunk.js +1 -0
- package/dist/scripts/2999-c1890ca868-reports.chunk.js +2 -0
- package/dist/scripts/2999-c1890ca868-reports.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/312-8b006e92ff-reports.chunk.js +1 -0
- package/dist/scripts/4234-e3c04f41eb-reports.chunk.js +1 -0
- package/dist/scripts/4372-26474a3318-reports.chunk.js +1 -0
- package/dist/scripts/438-b444dfb8c6-reports.chunk.js +1 -0
- package/dist/scripts/4582-230f130f41-reports.chunk.js +1 -0
- package/dist/scripts/4752-db4247883d-reports.chunk.js +2 -0
- package/dist/scripts/4752-db4247883d-reports.chunk.js.LICENSE.txt +118 -0
- package/dist/scripts/4979-7e14b09f33-reports.chunk.js +1 -0
- package/dist/scripts/5051-72c53737e2-reports.chunk.js +1 -0
- package/dist/scripts/5091-ddd6f61b55-reports.chunk.js +1 -0
- package/dist/scripts/5173-cce3b37672-reports.chunk.js +1 -0
- package/dist/scripts/5177-a7372e7b8d-reports.chunk.js +1 -0
- package/dist/scripts/5304-d5674b32b4-reports.chunk.js +1 -0
- package/dist/scripts/5802-2125536755-reports.chunk.js +1 -0
- package/dist/scripts/6007-673706aa31-reports.chunk.js +1 -0
- package/dist/scripts/6031-b1c60cc409-reports.chunk.js +1 -0
- package/dist/scripts/6081-2bbda6cac3-reports.chunk.js +1 -0
- package/dist/scripts/6180-bdb237ffbe-reports.chunk.js +2 -0
- package/dist/scripts/6180-bdb237ffbe-reports.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/6198-189ddde870-reports.chunk.js +1 -0
- package/dist/scripts/6356-a1b313c73e-reports.chunk.js +1 -0
- package/dist/scripts/645-e8b19128e5-reports.chunk.js +1 -0
- package/dist/scripts/6545-f07bcd318a-reports.chunk.js +1 -0
- package/dist/scripts/6811-40ded4c089-reports.chunk.js +1 -0
- package/dist/scripts/7238-de5ef0ebfb-reports.chunk.js +1 -0
- package/dist/scripts/7562-748e60c3fc-reports.chunk.js +1 -0
- package/dist/scripts/7709-82750ee317-reports.chunk.js +1 -0
- package/dist/scripts/7723-1799f5aa26-reports.chunk.js +1 -0
- package/dist/scripts/7747-d34db3ff10-reports.chunk.js +2 -0
- package/dist/scripts/7747-d34db3ff10-reports.chunk.js.LICENSE.txt +1 -0
- package/dist/scripts/7925-c6c532c9c4-reports.chunk.js +1 -0
- package/dist/scripts/8087-1d9e9701e5-reports.chunk.js +1 -0
- package/dist/scripts/8393-c37cc22b4c-reports.chunk.js +1 -0
- package/dist/scripts/8418-9f96caf039-reports.chunk.js +1 -0
- package/dist/scripts/8450-f2d5d99614-reports.chunk.js +1 -0
- package/dist/scripts/8591-4811082ab0-reports.chunk.js +1 -0
- package/dist/scripts/8622-ee045574e2-reports.chunk.js +1 -0
- package/dist/scripts/8839-711793a97f-reports.chunk.js +1 -0
- package/dist/scripts/8989-ca5cab7f45-reports.chunk.js +1 -0
- package/dist/scripts/9059-b2dcf3cdb2-reports.chunk.js +1 -0
- package/dist/scripts/9162-7ffc692736-reports.chunk.js +1 -0
- package/dist/scripts/9285-ecddd01efb-reports.chunk.js +1 -0
- package/dist/scripts/9590-41bb23ae71-reports.chunk.js +1 -0
- package/dist/scripts/9647-f0c111d3f0-reports.chunk.js +1 -0
- package/dist/scripts/9661-2dee4c3417-reports.chunk.js +1 -0
- package/dist/scripts/9822-621fac26e6-reports.chunk.js +1 -0
- package/dist/scripts/9895-3b3feb12b9-reports.chunk.js +1 -0
- package/dist/scripts/9949-6b1d1f4d32-reports.chunk.js +1 -0
- package/dist/scripts/bundle-44f8e893eb.min.js +2 -0
- package/dist/scripts/bundle-44f8e893eb.min.js.LICENSE.txt +108 -0
- package/dist/scripts/polyfills-3db3f009d4.min.js +1 -0
- package/package.json +3 -5
- 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/1VpVng8x.chunk.css +0 -1
- package/dist/css/BBwBgFf_.chunk.css +0 -1
- package/dist/css/BDijM1kt.chunk.css +0 -1
- package/dist/css/BMPwvOki.chunk.css +0 -1
- package/dist/css/BNt45Kgy.chunk.css +0 -1
- package/dist/css/BSGhUWzl.chunk.css +0 -1
- package/dist/css/BZ3_uhDP.chunk.css +0 -1
- package/dist/css/BaadNO4A.chunk.css +0 -1
- package/dist/css/BdUNjJqp.chunk.css +0 -1
- package/dist/css/BdeI0FAV.chunk.css +0 -1
- package/dist/css/BxcMGr8Y.chunk.css +0 -1
- package/dist/css/ByuL_xKJ.chunk.css +0 -1
- package/dist/css/C-A0Pj_7.chunk.css +0 -1
- package/dist/css/C4jMfPWU.chunk.css +0 -1
- package/dist/css/C7XoyEPr.chunk.css +0 -1
- package/dist/css/C8sxda3R.chunk.css +0 -1
- package/dist/css/CD1qrI1T.chunk.css +0 -1
- package/dist/css/CFO--d_R.chunk.css +0 -1
- package/dist/css/CX9nw8t8.chunk.css +0 -1
- package/dist/css/C_qGRdC2.chunk.css +0 -1
- package/dist/css/CdC6ugQR.chunk.css +0 -1
- package/dist/css/ClRRGXPb.chunk.css +0 -1
- package/dist/css/Cr1bwtZG.chunk.css +0 -1
- package/dist/css/DBlPz5Fw.chunk.css +0 -1
- package/dist/css/DDnpOnVB.chunk.css +0 -1
- package/dist/css/DFZQCLLg.chunk.css +0 -1
- package/dist/css/DJwAbl6l.chunk.css +0 -1
- package/dist/css/DWjg_0sz.chunk.css +0 -1
- package/dist/css/DYV9jjVn.chunk.css +0 -1
- package/dist/css/Dgeh4AqU.chunk.css +0 -9
- package/dist/css/DlOtoSz0.chunk.css +0 -1
- package/dist/css/DlxOgKUu.chunk.css +0 -1
- package/dist/css/DwgaDUzz.chunk.css +0 -1
- package/dist/css/FPQ_LmXH.chunk.css +0 -1
- package/dist/css/H09rC9gw.chunk.css +0 -1
- package/dist/css/LAFr2dPT.chunk.css +0 -1
- package/dist/css/Pg1TlYG6.chunk.css +0 -1
- package/dist/css/PsQn3-kb.chunk.css +0 -1
- package/dist/css/alkEuPrr.chunk.css +0 -1
- package/dist/css/k4DgCj_g.chunk.css +0 -1
- package/dist/en.json +0 -1
- package/dist/scripts/5JDMPiCK.chunk.js +0 -2
- package/dist/scripts/5JDMPiCK.chunk.js.map +0 -1
- package/dist/scripts/5O9SdVRZ.chunk.js +0 -2
- package/dist/scripts/5O9SdVRZ.chunk.js.map +0 -1
- package/dist/scripts/B8i2s45X.chunk.js +0 -2
- package/dist/scripts/B8i2s45X.chunk.js.map +0 -1
- package/dist/scripts/BBOfq9my.chunk.js +0 -2
- package/dist/scripts/BBOfq9my.chunk.js.map +0 -1
- package/dist/scripts/BE7zUNFh.chunk.js +0 -3
- package/dist/scripts/BE7zUNFh.chunk.js.map +0 -1
- package/dist/scripts/BIbP_ulq.chunk.js +0 -380
- package/dist/scripts/BIbP_ulq.chunk.js.map +0 -1
- package/dist/scripts/BJe4D9vd.chunk.js +0 -2
- package/dist/scripts/BJe4D9vd.chunk.js.map +0 -1
- package/dist/scripts/BKx5S6xk.chunk.js +0 -2
- package/dist/scripts/BKx5S6xk.chunk.js.map +0 -1
- package/dist/scripts/BMba67Uf.chunk.js +0 -2
- package/dist/scripts/BMba67Uf.chunk.js.map +0 -1
- package/dist/scripts/BUM8Ub4p.chunk.js +0 -2
- package/dist/scripts/BUM8Ub4p.chunk.js.map +0 -1
- package/dist/scripts/BW-tzVdx.chunk.js +0 -2
- package/dist/scripts/BW-tzVdx.chunk.js.map +0 -1
- package/dist/scripts/B_1LOG5E.chunk.js +0 -2
- package/dist/scripts/B_1LOG5E.chunk.js.map +0 -1
- package/dist/scripts/BaHk6QZB.chunk.js +0 -2
- package/dist/scripts/BaHk6QZB.chunk.js.map +0 -1
- package/dist/scripts/Bbpuxobz.chunk.js +0 -2
- package/dist/scripts/Bbpuxobz.chunk.js.map +0 -1
- package/dist/scripts/BfG3wCTD.chunk.js +0 -2
- package/dist/scripts/BfG3wCTD.chunk.js.map +0 -1
- package/dist/scripts/BfkzHBdb.chunk.js +0 -2
- package/dist/scripts/BfkzHBdb.chunk.js.map +0 -1
- package/dist/scripts/BiDX0yuI.chunk.js +0 -2
- package/dist/scripts/BiDX0yuI.chunk.js.map +0 -1
- package/dist/scripts/BkcNwg7K.chunk.js +0 -2
- package/dist/scripts/BkcNwg7K.chunk.js.map +0 -1
- package/dist/scripts/BlAGsOOw.chunk.js +0 -2
- package/dist/scripts/BlAGsOOw.chunk.js.map +0 -1
- package/dist/scripts/BmScDBcl.chunk.js +0 -2
- package/dist/scripts/BmScDBcl.chunk.js.map +0 -1
- package/dist/scripts/BnqNywwJ.chunk.js +0 -2
- package/dist/scripts/BnqNywwJ.chunk.js.map +0 -1
- package/dist/scripts/BrLXFCMV.chunk.js +0 -2
- package/dist/scripts/BrLXFCMV.chunk.js.map +0 -1
- package/dist/scripts/BsFynggy.chunk.js +0 -2
- package/dist/scripts/BsFynggy.chunk.js.map +0 -1
- package/dist/scripts/Bt3gUzzG.chunk.js +0 -2
- package/dist/scripts/Bt3gUzzG.chunk.js.map +0 -1
- package/dist/scripts/BuHHZnEg.chunk.js +0 -2
- package/dist/scripts/BuHHZnEg.chunk.js.map +0 -1
- package/dist/scripts/ByllnMKt.chunk.js +0 -2
- package/dist/scripts/ByllnMKt.chunk.js.map +0 -1
- package/dist/scripts/BzBFC5UE.chunk.js +0 -2
- package/dist/scripts/BzBFC5UE.chunk.js.map +0 -1
- package/dist/scripts/C4382UCA.chunk.js +0 -2
- package/dist/scripts/C4382UCA.chunk.js.map +0 -1
- package/dist/scripts/C6H2bU7H.chunk.js +0 -2
- package/dist/scripts/C6H2bU7H.chunk.js.map +0 -1
- package/dist/scripts/C6eAAaNL.chunk.js +0 -2
- package/dist/scripts/C6eAAaNL.chunk.js.map +0 -1
- package/dist/scripts/CAh5UtFh.chunk.js +0 -2
- package/dist/scripts/CAh5UtFh.chunk.js.map +0 -1
- package/dist/scripts/CFIWZ5KT.chunk.js +0 -2
- package/dist/scripts/CFIWZ5KT.chunk.js.map +0 -1
- package/dist/scripts/CKLfLzhr.chunk.js +0 -34
- package/dist/scripts/CKLfLzhr.chunk.js.map +0 -1
- package/dist/scripts/COgPEQMR.chunk.js +0 -2
- package/dist/scripts/COgPEQMR.chunk.js.map +0 -1
- package/dist/scripts/CRWOsqvB.chunk.js +0 -2
- package/dist/scripts/CRWOsqvB.chunk.js.map +0 -1
- package/dist/scripts/CU-I5G45.chunk.js +0 -2
- package/dist/scripts/CU-I5G45.chunk.js.map +0 -1
- package/dist/scripts/CV5ioe9U.chunk.js +0 -2
- package/dist/scripts/CV5ioe9U.chunk.js.map +0 -1
- package/dist/scripts/CW7x8M-z.chunk.js +0 -2
- package/dist/scripts/CW7x8M-z.chunk.js.map +0 -1
- package/dist/scripts/CX5q-0jT.chunk.js +0 -2
- package/dist/scripts/CX5q-0jT.chunk.js.map +0 -1
- package/dist/scripts/CXK1uNgx.chunk.js +0 -2
- package/dist/scripts/CXK1uNgx.chunk.js.map +0 -1
- package/dist/scripts/CXhesQTd.chunk.js +0 -2
- package/dist/scripts/CXhesQTd.chunk.js.map +0 -1
- package/dist/scripts/CaiGBx50.chunk.js +0 -2
- package/dist/scripts/CaiGBx50.chunk.js.map +0 -1
- package/dist/scripts/CbmUUNB4.chunk.js +0 -2
- package/dist/scripts/CbmUUNB4.chunk.js.map +0 -1
- package/dist/scripts/CdoC9Mtd.chunk.js +0 -2
- package/dist/scripts/CdoC9Mtd.chunk.js.map +0 -1
- package/dist/scripts/CdzMtbgC.chunk.js +0 -2
- package/dist/scripts/CdzMtbgC.chunk.js.map +0 -1
- package/dist/scripts/Cl51qIgL.chunk.js +0 -2
- package/dist/scripts/Cl51qIgL.chunk.js.map +0 -1
- package/dist/scripts/ClLzLF-_.chunk.js +0 -2
- package/dist/scripts/ClLzLF-_.chunk.js.map +0 -1
- package/dist/scripts/ClcYw2ra.chunk.js +0 -42
- package/dist/scripts/ClcYw2ra.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/CpwEUwsc.chunk.js +0 -2
- package/dist/scripts/CpwEUwsc.chunk.js.map +0 -1
- package/dist/scripts/CqSaPgvV.chunk.js +0 -2
- package/dist/scripts/CqSaPgvV.chunk.js.map +0 -1
- package/dist/scripts/CqyCLTzN.chunk.js +0 -2
- package/dist/scripts/CqyCLTzN.chunk.js.map +0 -1
- package/dist/scripts/CrlegiVC.chunk.js +0 -2
- package/dist/scripts/CrlegiVC.chunk.js.map +0 -1
- package/dist/scripts/CsD4Xb6n.chunk.js +0 -2
- package/dist/scripts/CsD4Xb6n.chunk.js.map +0 -1
- package/dist/scripts/Ct187YvN.chunk.js +0 -2
- package/dist/scripts/Ct187YvN.chunk.js.map +0 -1
- package/dist/scripts/CwyVC768.chunk.js +0 -2
- package/dist/scripts/CwyVC768.chunk.js.map +0 -1
- package/dist/scripts/Cy4L5XsI.chunk.js +0 -2
- package/dist/scripts/Cy4L5XsI.chunk.js.map +0 -1
- package/dist/scripts/CzF-hI_x.chunk.js +0 -2
- package/dist/scripts/CzF-hI_x.chunk.js.map +0 -1
- package/dist/scripts/D1U_fPVs.chunk.js +0 -2
- package/dist/scripts/D1U_fPVs.chunk.js.map +0 -1
- package/dist/scripts/D9POXla0.chunk.js +0 -2
- package/dist/scripts/D9POXla0.chunk.js.map +0 -1
- package/dist/scripts/DAocQXXC.chunk.js +0 -2
- package/dist/scripts/DAocQXXC.chunk.js.map +0 -1
- package/dist/scripts/DD-2boW1.chunk.js +0 -2
- package/dist/scripts/DD-2boW1.chunk.js.map +0 -1
- package/dist/scripts/DFhb3ZfO.chunk.js +0 -2
- package/dist/scripts/DFhb3ZfO.chunk.js.map +0 -1
- package/dist/scripts/DFp9UBZB.chunk.js +0 -4
- package/dist/scripts/DFp9UBZB.chunk.js.map +0 -1
- package/dist/scripts/DHqmPVfK.chunk.js +0 -2
- package/dist/scripts/DHqmPVfK.chunk.js.map +0 -1
- package/dist/scripts/DJLuyZJi.chunk.js +0 -2
- package/dist/scripts/DJLuyZJi.chunk.js.map +0 -1
- package/dist/scripts/DK7va7iQ.chunk.js +0 -2
- package/dist/scripts/DK7va7iQ.chunk.js.map +0 -1
- package/dist/scripts/DMoPMSgN.chunk.js +0 -2
- package/dist/scripts/DMoPMSgN.chunk.js.map +0 -1
- package/dist/scripts/DNTR3iW5.chunk.js +0 -2
- package/dist/scripts/DNTR3iW5.chunk.js.map +0 -1
- package/dist/scripts/DNt9Tv5W.chunk.js +0 -2
- package/dist/scripts/DNt9Tv5W.chunk.js.map +0 -1
- package/dist/scripts/DQtbfeRV.chunk.js +0 -2
- package/dist/scripts/DQtbfeRV.chunk.js.map +0 -1
- package/dist/scripts/DRQ39FRr.chunk.js +0 -2
- package/dist/scripts/DRQ39FRr.chunk.js.map +0 -1
- package/dist/scripts/DTFFRoLz.chunk.js +0 -2
- package/dist/scripts/DTFFRoLz.chunk.js.map +0 -1
- package/dist/scripts/DU5sOcpt.chunk.js +0 -3
- package/dist/scripts/DU5sOcpt.chunk.js.map +0 -1
- package/dist/scripts/DWv8V3Lc.chunk.js +0 -2
- package/dist/scripts/DWv8V3Lc.chunk.js.map +0 -1
- package/dist/scripts/DYFT7QHy.chunk.js +0 -2
- package/dist/scripts/DYFT7QHy.chunk.js.map +0 -1
- package/dist/scripts/DZAYXeaL.chunk.js +0 -2
- package/dist/scripts/DZAYXeaL.chunk.js.map +0 -1
- package/dist/scripts/D_Erj5Yn.chunk.js +0 -10
- package/dist/scripts/D_Erj5Yn.chunk.js.map +0 -1
- package/dist/scripts/DeY3SuCM.chunk.js +0 -2
- package/dist/scripts/DeY3SuCM.chunk.js.map +0 -1
- package/dist/scripts/DecstRlc.chunk.js +0 -8
- package/dist/scripts/DecstRlc.chunk.js.map +0 -1
- package/dist/scripts/Df8zbYVK.chunk.js +0 -10
- package/dist/scripts/Df8zbYVK.chunk.js.map +0 -1
- package/dist/scripts/DgHfAOys.chunk.js +0 -2
- package/dist/scripts/DgHfAOys.chunk.js.map +0 -1
- package/dist/scripts/DgWHvURU.chunk.js +0 -2
- package/dist/scripts/DgWHvURU.chunk.js.map +0 -1
- package/dist/scripts/DmGrKXgL.chunk.js +0 -2
- package/dist/scripts/DmGrKXgL.chunk.js.map +0 -1
- package/dist/scripts/Dp_vnjo0.chunk.js +0 -3
- package/dist/scripts/Dp_vnjo0.chunk.js.map +0 -1
- package/dist/scripts/DuNeLCIS.chunk.js +0 -15
- package/dist/scripts/DuNeLCIS.chunk.js.map +0 -1
- package/dist/scripts/DxJzyDBL.chunk.js +0 -2
- package/dist/scripts/DxJzyDBL.chunk.js.map +0 -1
- package/dist/scripts/DxUueJN7.chunk.js +0 -2
- package/dist/scripts/DxUueJN7.chunk.js.map +0 -1
- package/dist/scripts/DykFRaNZ.chunk.js +0 -4
- package/dist/scripts/DykFRaNZ.chunk.js.map +0 -1
- package/dist/scripts/Fd0gT6QK.chunk.js +0 -2
- package/dist/scripts/Fd0gT6QK.chunk.js.map +0 -1
- package/dist/scripts/MaYDtnoS.chunk.js +0 -2
- package/dist/scripts/MaYDtnoS.chunk.js.map +0 -1
- package/dist/scripts/T4Chmiqz.chunk.js +0 -2
- package/dist/scripts/T4Chmiqz.chunk.js.map +0 -1
- package/dist/scripts/UWjf2h5X.chunk.js +0 -2
- package/dist/scripts/UWjf2h5X.chunk.js.map +0 -1
- package/dist/scripts/VSmYRJOj.chunk.js +0 -2
- package/dist/scripts/VSmYRJOj.chunk.js.map +0 -1
- package/dist/scripts/W5zJjbqu.chunk.js +0 -2
- package/dist/scripts/W5zJjbqu.chunk.js.map +0 -1
- package/dist/scripts/YDhSgJI6.chunk.js +0 -2
- package/dist/scripts/YDhSgJI6.chunk.js.map +0 -1
- package/dist/scripts/Yi67NERS.chunk.js +0 -2
- package/dist/scripts/Yi67NERS.chunk.js.map +0 -1
- package/dist/scripts/app-BqRx5tK8.js +0 -228
- package/dist/scripts/app-BqRx5tK8.js.map +0 -1
- package/dist/scripts/cRQEJA0-.chunk.js +0 -2
- package/dist/scripts/cRQEJA0-.chunk.js.map +0 -1
- package/dist/scripts/g3bqr4mt.chunk.js +0 -6
- package/dist/scripts/g3bqr4mt.chunk.js.map +0 -1
- package/dist/scripts/h4z9gHMh.chunk.js +0 -2
- package/dist/scripts/h4z9gHMh.chunk.js.map +0 -1
- package/dist/scripts/kGI4LAzn.chunk.js +0 -6
- package/dist/scripts/kGI4LAzn.chunk.js.map +0 -1
- package/dist/scripts/kt1K5Xlc.chunk.js +0 -2
- package/dist/scripts/kt1K5Xlc.chunk.js.map +0 -1
- package/dist/scripts/mdJqhxeb.chunk.js +0 -2
- package/dist/scripts/mdJqhxeb.chunk.js.map +0 -1
- package/dist/scripts/sFV5nxD4.chunk.js +0 -2
- package/dist/scripts/sFV5nxD4.chunk.js.map +0 -1
- package/dist/scripts/tCFcWStO.chunk.js +0 -2
- package/dist/scripts/tCFcWStO.chunk.js.map +0 -1
- package/dist/scripts/wND_WD0i.chunk.js +0 -2
- package/dist/scripts/wND_WD0i.chunk.js.map +0 -1
- package/dist/scripts/xkqdG021.chunk.js +0 -2
- package/dist/scripts/xkqdG021.chunk.js.map +0 -1
- package/dist/scripts/zaMwD-xl.chunk.js +0 -3
- package/dist/scripts/zaMwD-xl.chunk.js.map +0 -1
|
@@ -1,228 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["scripts/CpwEUwsc.chunk.js","scripts/DNt9Tv5W.chunk.js","scripts/DuNeLCIS.chunk.js","scripts/DeY3SuCM.chunk.js","scripts/BrLXFCMV.chunk.js","scripts/DJLuyZJi.chunk.js","css/DlOtoSz0.chunk.css","scripts/C6eAAaNL.chunk.js","scripts/Fd0gT6QK.chunk.js","scripts/DxUueJN7.chunk.js","scripts/BlAGsOOw.chunk.js","scripts/CqyCLTzN.chunk.js","scripts/BkcNwg7K.chunk.js","scripts/DHqmPVfK.chunk.js","scripts/C6H2bU7H.chunk.js","scripts/zaMwD-xl.chunk.js","scripts/DFhb3ZfO.chunk.js","scripts/5O9SdVRZ.chunk.js","css/BdUNjJqp.chunk.css","scripts/BE7zUNFh.chunk.js","scripts/sFV5nxD4.chunk.js","scripts/DMoPMSgN.chunk.js","css/C7XoyEPr.chunk.css","scripts/ByllnMKt.chunk.js","css/DWjg_0sz.chunk.css","scripts/CXK1uNgx.chunk.js","scripts/DAocQXXC.chunk.js","scripts/Dp_vnjo0.chunk.js","scripts/BMba67Uf.chunk.js","css/CdC6ugQR.chunk.css","scripts/CaiGBx50.chunk.js","scripts/BmScDBcl.chunk.js","scripts/CV5ioe9U.chunk.js","css/H09rC9gw.chunk.css","scripts/D1U_fPVs.chunk.js","css/ClRRGXPb.chunk.css","css/C8sxda3R.chunk.css","scripts/CFIWZ5KT.chunk.js","scripts/BIbP_ulq.chunk.js","scripts/DecstRlc.chunk.js","css/DJwAbl6l.chunk.css","scripts/DU5sOcpt.chunk.js","scripts/CW7x8M-z.chunk.js","scripts/CXhesQTd.chunk.js","scripts/CdzMtbgC.chunk.js","scripts/xkqdG021.chunk.js","scripts/BfG3wCTD.chunk.js","scripts/VSmYRJOj.chunk.js","scripts/B_1LOG5E.chunk.js","scripts/ClcYw2ra.chunk.js","css/BNt45Kgy.chunk.css","scripts/CX5q-0jT.chunk.js","scripts/CqSaPgvV.chunk.js","css/k4DgCj_g.chunk.css","scripts/CU-I5G45.chunk.js","css/1VpVng8x.chunk.css","scripts/BKx5S6xk.chunk.js","scripts/DmGrKXgL.chunk.js","scripts/CrlegiVC.chunk.js","css/PsQn3-kb.chunk.css","scripts/DWv8V3Lc.chunk.js","scripts/Bt3gUzzG.chunk.js","scripts/D_Erj5Yn.chunk.js","scripts/CwyVC768.chunk.js","scripts/D9POXla0.chunk.js","scripts/W5zJjbqu.chunk.js","css/BdeI0FAV.chunk.css","scripts/BUM8Ub4p.chunk.js","css/CFO--d_R.chunk.css","css/Cr1bwtZG.chunk.css","css/DwgaDUzz.chunk.css","scripts/Yi67NERS.chunk.js","scripts/DgHfAOys.chunk.js","scripts/CbmUUNB4.chunk.js","scripts/BzBFC5UE.chunk.js","css/BaadNO4A.chunk.css","scripts/tCFcWStO.chunk.js","css/BZ3_uhDP.chunk.css","scripts/Cl51qIgL.chunk.js","css/DFZQCLLg.chunk.css","scripts/BsFynggy.chunk.js","css/BxcMGr8Y.chunk.css","scripts/DQtbfeRV.chunk.js","css/BDijM1kt.chunk.css","scripts/h4z9gHMh.chunk.js","scripts/BBOfq9my.chunk.js","scripts/BuHHZnEg.chunk.js","scripts/BW-tzVdx.chunk.js","scripts/g3bqr4mt.chunk.js","css/C4jMfPWU.chunk.css","css/BBwBgFf_.chunk.css","scripts/wND_WD0i.chunk.js","scripts/kGI4LAzn.chunk.js","css/Pg1TlYG6.chunk.css","scripts/Df8zbYVK.chunk.js","css/Dgeh4AqU.chunk.css","scripts/Ct187YvN.chunk.js","scripts/5JDMPiCK.chunk.js","css/DDnpOnVB.chunk.css","scripts/DK7va7iQ.chunk.js","css/C-A0Pj_7.chunk.css","scripts/DykFRaNZ.chunk.js","scripts/UWjf2h5X.chunk.js","scripts/T4Chmiqz.chunk.js","scripts/CsD4Xb6n.chunk.js","scripts/cRQEJA0-.chunk.js","scripts/COgPEQMR.chunk.js","scripts/BaHk6QZB.chunk.js","css/DBlPz5Fw.chunk.css","scripts/BfkzHBdb.chunk.js","scripts/DRQ39FRr.chunk.js","scripts/Cy4L5XsI.chunk.js","scripts/DFp9UBZB.chunk.js","scripts/YDhSgJI6.chunk.js","css/DYV9jjVn.chunk.css","scripts/BnqNywwJ.chunk.js","scripts/CKLfLzhr.chunk.js","css/FPQ_LmXH.chunk.css","css/BMPwvOki.chunk.css","scripts/CzF-hI_x.chunk.js","css/C_qGRdC2.chunk.css","scripts/CdoC9Mtd.chunk.js","scripts/DxJzyDBL.chunk.js","scripts/BiDX0yuI.chunk.js","css/alkEuPrr.chunk.css","scripts/DYFT7QHy.chunk.js","css/ByuL_xKJ.chunk.css","scripts/MaYDtnoS.chunk.js","scripts/ClLzLF-_.chunk.js","scripts/CRWOsqvB.chunk.js","scripts/kt1K5Xlc.chunk.js","css/BSGhUWzl.chunk.css","scripts/DNTR3iW5.chunk.js","scripts/Bbpuxobz.chunk.js","scripts/DTFFRoLz.chunk.js","scripts/BJe4D9vd.chunk.js","scripts/C4382UCA.chunk.js","scripts/mdJqhxeb.chunk.js","css/DlxOgKUu.chunk.css","scripts/DZAYXeaL.chunk.js","scripts/CAh5UtFh.chunk.js","css/CX9nw8t8.chunk.css","scripts/Cmu1J2M7.chunk.js","css/CD1qrI1T.chunk.css"])))=>i.map(i=>d[i]);
|
|
2
|
-
var Sle=Object.defineProperty;var Ele=(e,t,r)=>t in e?Sle(e,t,{enumerable:!0,configurable:!0,writable:!0,value:r}):e[t]=r;var li=(e,t,r)=>Ele(e,typeof t!="symbol"?t+"":t,r);function jn(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function L5e(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 PS={exports:{}},yM;function wle(){return yM||(yM=1,(function(e){var t=(function(r){var n=Object.prototype,i=n.hasOwnProperty,a,o=typeof Symbol=="function"?Symbol:{},u=o.iterator||"@@iterator",s=o.asyncIterator||"@@asyncIterator",c=o.toStringTag||"@@toStringTag";function d(D,I,L){return Object.defineProperty(D,I,{value:L,enumerable:!0,configurable:!0,writable:!0}),D[I]}try{d({},"")}catch{d=function(I,L,re){return I[L]=re}}function h(D,I,L,re){var te=I&&I.prototype instanceof b?I:b,ce=Object.create(te.prototype),be=new K(re||[]);return ce._invoke=$(D,L,be),ce}r.wrap=h;function v(D,I,L){try{return{type:"normal",arg:D.call(I,L)}}catch(re){return{type:"throw",arg:re}}}var g="suspendedStart",m="suspendedYield",y="executing",S="completed",w={};function b(){}function A(){}function R(){}var x={};d(x,u,function(){return this});var O=Object.getPrototypeOf,_=O&&O(O(ee([])));_&&_!==n&&i.call(_,u)&&(x=_);var P=R.prototype=b.prototype=Object.create(x);A.prototype=R,d(P,"constructor",R),d(R,"constructor",A),A.displayName=d(R,c,"GeneratorFunction");function N(D){["next","throw","return"].forEach(function(I){d(D,I,function(L){return this._invoke(I,L)})})}r.isGeneratorFunction=function(D){var I=typeof D=="function"&&D.constructor;return I?I===A||(I.displayName||I.name)==="GeneratorFunction":!1},r.mark=function(D){return Object.setPrototypeOf?Object.setPrototypeOf(D,R):(D.__proto__=R,d(D,c,"GeneratorFunction")),D.prototype=Object.create(P),D},r.awrap=function(D){return{__await:D}};function U(D,I){function L(ce,be,Ie,je){var z=v(D[ce],D,be);if(z.type==="throw")je(z.arg);else{var k=z.arg,q=k.value;return q&&typeof q=="object"&&i.call(q,"__await")?I.resolve(q.__await).then(function(H){L("next",H,Ie,je)},function(H){L("throw",H,Ie,je)}):I.resolve(q).then(function(H){k.value=H,Ie(k)},function(H){return L("throw",H,Ie,je)})}}var re;function te(ce,be){function Ie(){return new I(function(je,z){L(ce,be,je,z)})}return re=re?re.then(Ie,Ie):Ie()}this._invoke=te}N(U.prototype),d(U.prototype,s,function(){return this}),r.AsyncIterator=U,r.async=function(D,I,L,re,te){te===void 0&&(te=Promise);var ce=new U(h(D,I,L,re),te);return r.isGeneratorFunction(I)?ce:ce.next().then(function(be){return be.done?be.value:ce.next()})};function $(D,I,L){var re=g;return function(ce,be){if(re===y)throw new Error("Generator is already running");if(re===S){if(ce==="throw")throw be;return ne()}for(L.method=ce,L.arg=be;;){var Ie=L.delegate;if(Ie){var je=B(Ie,L);if(je){if(je===w)continue;return je}}if(L.method==="next")L.sent=L._sent=L.arg;else if(L.method==="throw"){if(re===g)throw re=S,L.arg;L.dispatchException(L.arg)}else L.method==="return"&&L.abrupt("return",L.arg);re=y;var z=v(D,I,L);if(z.type==="normal"){if(re=L.done?S:m,z.arg===w)continue;return{value:z.arg,done:L.done}}else z.type==="throw"&&(re=S,L.method="throw",L.arg=z.arg)}}}function B(D,I){var L=D.iterator[I.method];if(L===a){if(I.delegate=null,I.method==="throw"){if(D.iterator.return&&(I.method="return",I.arg=a,B(D,I),I.method==="throw"))return w;I.method="throw",I.arg=new TypeError("The iterator does not provide a 'throw' method")}return w}var re=v(L,D.iterator,I.arg);if(re.type==="throw")return I.method="throw",I.arg=re.arg,I.delegate=null,w;var te=re.arg;if(!te)return I.method="throw",I.arg=new TypeError("iterator result is not an object"),I.delegate=null,w;if(te.done)I[D.resultName]=te.value,I.next=D.nextLoc,I.method!=="return"&&(I.method="next",I.arg=a);else return te;return I.delegate=null,w}N(P),d(P,c,"Generator"),d(P,u,function(){return this}),d(P,"toString",function(){return"[object Generator]"});function Y(D){var I={tryLoc:D[0]};1 in D&&(I.catchLoc=D[1]),2 in D&&(I.finallyLoc=D[2],I.afterLoc=D[3]),this.tryEntries.push(I)}function Q(D){var I=D.completion||{};I.type="normal",delete I.arg,D.completion=I}function K(D){this.tryEntries=[{tryLoc:"root"}],D.forEach(Y,this),this.reset(!0)}r.keys=function(D){var I=[];for(var L in D)I.push(L);return I.reverse(),function re(){for(;I.length;){var te=I.pop();if(te in D)return re.value=te,re.done=!1,re}return re.done=!0,re}};function ee(D){if(D){var I=D[u];if(I)return I.call(D);if(typeof D.next=="function")return D;if(!isNaN(D.length)){var L=-1,re=function te(){for(;++L<D.length;)if(i.call(D,L))return te.value=D[L],te.done=!1,te;return te.value=a,te.done=!0,te};return re.next=re}}return{next:ne}}r.values=ee;function ne(){return{value:a,done:!0}}return K.prototype={constructor:K,reset:function(D){if(this.prev=0,this.next=0,this.sent=this._sent=a,this.done=!1,this.delegate=null,this.method="next",this.arg=a,this.tryEntries.forEach(Q),!D)for(var I in this)I.charAt(0)==="t"&&i.call(this,I)&&!isNaN(+I.slice(1))&&(this[I]=a)},stop:function(){this.done=!0;var D=this.tryEntries[0],I=D.completion;if(I.type==="throw")throw I.arg;return this.rval},dispatchException:function(D){if(this.done)throw D;var I=this;function L(je,z){return ce.type="throw",ce.arg=D,I.next=je,z&&(I.method="next",I.arg=a),!!z}for(var re=this.tryEntries.length-1;re>=0;--re){var te=this.tryEntries[re],ce=te.completion;if(te.tryLoc==="root")return L("end");if(te.tryLoc<=this.prev){var be=i.call(te,"catchLoc"),Ie=i.call(te,"finallyLoc");if(be&&Ie){if(this.prev<te.catchLoc)return L(te.catchLoc,!0);if(this.prev<te.finallyLoc)return L(te.finallyLoc)}else if(be){if(this.prev<te.catchLoc)return L(te.catchLoc,!0)}else if(Ie){if(this.prev<te.finallyLoc)return L(te.finallyLoc)}else throw new Error("try statement without catch or finally")}}},abrupt:function(D,I){for(var L=this.tryEntries.length-1;L>=0;--L){var re=this.tryEntries[L];if(re.tryLoc<=this.prev&&i.call(re,"finallyLoc")&&this.prev<re.finallyLoc){var te=re;break}}te&&(D==="break"||D==="continue")&&te.tryLoc<=I&&I<=te.finallyLoc&&(te=null);var ce=te?te.completion:{};return ce.type=D,ce.arg=I,te?(this.method="next",this.next=te.finallyLoc,w):this.complete(ce)},complete:function(D,I){if(D.type==="throw")throw D.arg;return D.type==="break"||D.type==="continue"?this.next=D.arg:D.type==="return"?(this.rval=this.arg=D.arg,this.method="return",this.next="end"):D.type==="normal"&&I&&(this.next=I),w},finish:function(D){for(var I=this.tryEntries.length-1;I>=0;--I){var L=this.tryEntries[I];if(L.finallyLoc===D)return this.complete(L.completion,L.afterLoc),Q(L),w}},catch:function(D){for(var I=this.tryEntries.length-1;I>=0;--I){var L=this.tryEntries[I];if(L.tryLoc===D){var re=L.completion;if(re.type==="throw"){var te=re.arg;Q(L)}return te}}throw new Error("illegal catch attempt")},delegateYield:function(D,I,L){return this.delegate={iterator:ee(D),resultName:I,nextLoc:L},this.method==="next"&&(this.arg=a),w}},r})(e.exports);try{regeneratorRuntime=t}catch{typeof globalThis=="object"?globalThis.regeneratorRuntime=t:Function("r","regeneratorRuntime = r")(t)}})(PS)),PS.exports}wle();var _M={},SM={},tv,EM;function er(){if(EM)return tv;EM=1;var e=function(t){return t&&t.Math===Math&&t};return tv=e(typeof globalThis=="object"&&globalThis)||e(typeof window=="object"&&window)||e(typeof self=="object"&&self)||e(typeof globalThis=="object"&&globalThis)||e(typeof tv=="object"&&tv)||(function(){return this})()||Function("return this")(),tv}var DS={},kS,wM;function zt(){return wM||(wM=1,kS=function(e){try{return!!e()}catch{return!0}}),kS}var NS,bM;function Ir(){if(bM)return NS;bM=1;var e=zt();return NS=!e(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!==7}),NS}var LS,TM;function hp(){if(TM)return LS;TM=1;var e=zt();return LS=!e(function(){var t=(function(){}).bind();return typeof t!="function"||t.hasOwnProperty("prototype")}),LS}var MS,RM;function Sr(){if(RM)return MS;RM=1;var e=hp(),t=Function.prototype.call;return MS=e?t.bind(t):function(){return t.apply(t,arguments)},MS}var $S={},xM;function qy(){if(xM)return $S;xM=1;var e={}.propertyIsEnumerable,t=Object.getOwnPropertyDescriptor,r=t&&!e.call({1:2},1);return $S.f=r?function(i){var a=t(this,i);return!!a&&a.enumerable}:e,$S}var FS,CM;function ss(){return CM||(CM=1,FS=function(e,t){return{enumerable:!(e&1),configurable:!(e&2),writable:!(e&4),value:t}}),FS}var jS,AM;function Kt(){if(AM)return jS;AM=1;var e=hp(),t=Function.prototype,r=t.call,n=e&&t.bind.bind(r,r);return jS=e?n:function(i){return function(){return r.apply(i,arguments)}},jS}var US,OM;function Za(){if(OM)return US;OM=1;var e=Kt(),t=e({}.toString),r=e("".slice);return US=function(n){return r(t(n),8,-1)},US}var qS,IM;function eh(){if(IM)return qS;IM=1;var e=Kt(),t=zt(),r=Za(),n=Object,i=e("".split);return qS=t(function(){return!n("z").propertyIsEnumerable(0)})?function(a){return r(a)==="String"?i(a,""):n(a)}:n,qS}var VS,PM;function dl(){return PM||(PM=1,VS=function(e){return e==null}),VS}var BS,DM;function Pi(){if(DM)return BS;DM=1;var e=dl(),t=TypeError;return BS=function(r){if(e(r))throw new t("Can't call method on "+r);return r},BS}var HS,kM;function Ra(){if(kM)return HS;kM=1;var e=eh(),t=Pi();return HS=function(r){return e(t(r))},HS}var zS,NM;function bn(){if(NM)return zS;NM=1;var e=typeof document=="object"&&document.all;return zS=typeof e>"u"&&e!==void 0?function(t){return typeof t=="function"||t===e}:function(t){return typeof t=="function"},zS}var WS,LM;function Gr(){if(LM)return WS;LM=1;var e=bn();return WS=function(t){return typeof t=="object"?t!==null:e(t)},WS}var GS,MM;function yn(){if(MM)return GS;MM=1;var e=er(),t=bn(),r=function(n){return t(n)?n:void 0};return GS=function(n,i){return arguments.length<2?r(e[n]):e[n]&&e[n][i]},GS}var YS,$M;function yo(){if($M)return YS;$M=1;var e=Kt();return YS=e({}.isPrototypeOf),YS}var KS,FM;function Au(){if(FM)return KS;FM=1;var e=er(),t=e.navigator,r=t&&t.userAgent;return KS=r?String(r):"",KS}var XS,jM;function Ou(){if(jM)return XS;jM=1;var e=er(),t=Au(),r=e.process,n=e.Deno,i=r&&r.versions||n&&n.version,a=i&&i.v8,o,u;return a&&(o=a.split("."),u=o[0]>0&&o[0]<4?1:+(o[0]+o[1])),!u&&t&&(o=t.match(/Edge\/(\d+)/),(!o||o[1]>=74)&&(o=t.match(/Chrome\/(\d+)/),o&&(u=+o[1]))),XS=u,XS}var QS,UM;function th(){if(UM)return QS;UM=1;var e=Ou(),t=zt(),r=er(),n=r.String;return QS=!!Object.getOwnPropertySymbols&&!t(function(){var i=Symbol("symbol detection");return!n(i)||!(Object(i)instanceof Symbol)||!Symbol.sham&&e&&e<41}),QS}var JS,qM;function Eee(){if(qM)return JS;qM=1;var e=th();return JS=e&&!Symbol.sham&&typeof Symbol.iterator=="symbol",JS}var ZS,VM;function hf(){if(VM)return ZS;VM=1;var e=yn(),t=bn(),r=yo(),n=Eee(),i=Object;return ZS=n?function(a){return typeof a=="symbol"}:function(a){var o=e("Symbol");return t(o)&&r(o.prototype,i(a))},ZS}var eE,BM;function vf(){if(BM)return eE;BM=1;var e=String;return eE=function(t){try{return e(t)}catch{return"Object"}},eE}var tE,HM;function _n(){if(HM)return tE;HM=1;var e=bn(),t=vf(),r=TypeError;return tE=function(n){if(e(n))return n;throw new r(t(n)+" is not a function")},tE}var rE,zM;function La(){if(zM)return rE;zM=1;var e=_n(),t=dl();return rE=function(r,n){var i=r[n];return t(i)?void 0:e(i)},rE}var nE,WM;function wee(){if(WM)return nE;WM=1;var e=Sr(),t=bn(),r=Gr(),n=TypeError;return nE=function(i,a){var o,u;if(a==="string"&&t(o=i.toString)&&!r(u=e(o,i))||t(o=i.valueOf)&&!r(u=e(o,i))||a!=="string"&&t(o=i.toString)&&!r(u=e(o,i)))return u;throw new n("Can't convert object to primitive value")},nE}var iE={exports:{}},aE,GM;function Un(){return GM||(GM=1,aE=!1),aE}var oE,YM;function TP(){if(YM)return oE;YM=1;var e=er(),t=Object.defineProperty;return oE=function(r,n){try{t(e,r,{value:n,configurable:!0,writable:!0})}catch{e[r]=n}return n},oE}var KM;function Vy(){if(KM)return iE.exports;KM=1;var e=Un(),t=er(),r=TP(),n="__core-js_shared__",i=iE.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"}),iE.exports}var sE,XM;function rh(){if(XM)return sE;XM=1;var e=Vy();return sE=function(t,r){return e[t]||(e[t]=r||{})},sE}var uE,QM;function kn(){if(QM)return uE;QM=1;var e=Pi(),t=Object;return uE=function(r){return t(e(r))},uE}var lE,JM;function Sn(){if(JM)return lE;JM=1;var e=Kt(),t=kn(),r=e({}.hasOwnProperty);return lE=Object.hasOwn||function(i,a){return r(t(i),a)},lE}var cE,ZM;function nh(){if(ZM)return cE;ZM=1;var e=Kt(),t=0,r=Math.random(),n=e(1.1.toString);return cE=function(i){return"Symbol("+(i===void 0?"":i)+")_"+n(++t+r,36)},cE}var fE,e$;function Yr(){if(e$)return fE;e$=1;var e=er(),t=rh(),r=Sn(),n=nh(),i=th(),a=Eee(),o=e.Symbol,u=t("wks"),s=a?o.for||o:o&&o.withoutSetter||n;return fE=function(c){return r(u,c)||(u[c]=i&&r(o,c)?o[c]:s("Symbol."+c)),u[c]},fE}var dE,t$;function By(){if(t$)return dE;t$=1;var e=Sr(),t=Gr(),r=hf(),n=La(),i=wee(),a=Yr(),o=TypeError,u=a("toPrimitive");return dE=function(s,c){if(!t(s)||r(s))return s;var d=n(s,u),h;if(d){if(c===void 0&&(c="default"),h=e(d,s,c),!t(h)||r(h))return h;throw new o("Can't convert object to primitive value")}return c===void 0&&(c="number"),i(s,c)},dE}var hE,r$;function oc(){if(r$)return hE;r$=1;var e=By(),t=hf();return hE=function(r){var n=e(r,"string");return t(n)?n:n+""},hE}var vE,n$;function Hy(){if(n$)return vE;n$=1;var e=er(),t=Gr(),r=e.document,n=t(r)&&t(r.createElement);return vE=function(i){return n?r.createElement(i):{}},vE}var pE,i$;function bee(){if(i$)return pE;i$=1;var e=Ir(),t=zt(),r=Hy();return pE=!e&&!t(function(){return Object.defineProperty(r("div"),"a",{get:function(){return 7}}).a!==7}),pE}var a$;function Ma(){if(a$)return DS;a$=1;var e=Ir(),t=Sr(),r=qy(),n=ss(),i=Ra(),a=oc(),o=Sn(),u=bee(),s=Object.getOwnPropertyDescriptor;return DS.f=e?s:function(d,h){if(d=i(d),h=a(h),u)try{return s(d,h)}catch{}if(o(d,h))return n(!t(r.f,d,h),d[h])},DS}var gE={},mE,o$;function Tee(){if(o$)return mE;o$=1;var e=Ir(),t=zt();return mE=e&&t(function(){return Object.defineProperty(function(){},"prototype",{value:42,writable:!1}).prototype!==42}),mE}var yE,s$;function Tr(){if(s$)return yE;s$=1;var e=Gr(),t=String,r=TypeError;return yE=function(n){if(e(n))return n;throw new r(t(n)+" is not an object")},yE}var u$;function xi(){if(u$)return gE;u$=1;var e=Ir(),t=bee(),r=Tee(),n=Tr(),i=oc(),a=TypeError,o=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s="enumerable",c="configurable",d="writable";return gE.f=e?r?function(v,g,m){if(n(v),g=i(g),n(m),typeof v=="function"&&g==="prototype"&&"value"in m&&d in m&&!m[d]){var y=u(v,g);y&&y[d]&&(v[g]=m.value,m={configurable:c in m?m[c]:y[c],enumerable:s in m?m[s]:y[s],writable:!1})}return o(v,g,m)}:o:function(v,g,m){if(n(v),g=i(g),n(m),t)try{return o(v,g,m)}catch{}if("get"in m||"set"in m)throw new a("Accessors not supported");return"value"in m&&(v[g]=m.value),v},gE}var _E,l$;function $a(){if(l$)return _E;l$=1;var e=Ir(),t=xi(),r=ss();return _E=e?function(n,i,a){return t.f(n,i,r(1,a))}:function(n,i,a){return n[i]=a,n},_E}var SE={exports:{}},EE,c$;function ih(){if(c$)return EE;c$=1;var e=Ir(),t=Sn(),r=Function.prototype,n=e&&Object.getOwnPropertyDescriptor,i=t(r,"name"),a=i&&(function(){}).name==="something",o=i&&(!e||e&&n(r,"name").configurable);return EE={EXISTS:i,PROPER:a,CONFIGURABLE:o},EE}var wE,f$;function RP(){if(f$)return wE;f$=1;var e=Kt(),t=bn(),r=Vy(),n=e(Function.toString);return t(r.inspectSource)||(r.inspectSource=function(i){return n(i)}),wE=r.inspectSource,wE}var bE,d$;function Ree(){if(d$)return bE;d$=1;var e=er(),t=bn(),r=e.WeakMap;return bE=t(r)&&/native code/.test(String(r)),bE}var TE,h$;function zy(){if(h$)return TE;h$=1;var e=rh(),t=nh(),r=e("keys");return TE=function(n){return r[n]||(r[n]=t(n))},TE}var RE,v$;function vp(){return v$||(v$=1,RE={}),RE}var xE,p$;function qi(){if(p$)return xE;p$=1;var e=Ree(),t=er(),r=Gr(),n=$a(),i=Sn(),a=Vy(),o=zy(),u=vp(),s="Object already initialized",c=t.TypeError,d=t.WeakMap,h,v,g,m=function(b){return g(b)?v(b):h(b,{})},y=function(b){return function(A){var R;if(!r(A)||(R=v(A)).type!==b)throw new c("Incompatible receiver, "+b+" required");return R}};if(e||a.state){var S=a.state||(a.state=new d);S.get=S.get,S.has=S.has,S.set=S.set,h=function(b,A){if(S.has(b))throw new c(s);return A.facade=b,S.set(b,A),A},v=function(b){return S.get(b)||{}},g=function(b){return S.has(b)}}else{var w=o("state");u[w]=!0,h=function(b,A){if(i(b,w))throw new c(s);return A.facade=b,n(b,w,A),A},v=function(b){return i(b,w)?b[w]:{}},g=function(b){return i(b,w)}}return xE={set:h,get:v,has:g,enforce:m,getterFor:y},xE}var g$;function xP(){if(g$)return SE.exports;g$=1;var e=Kt(),t=zt(),r=bn(),n=Sn(),i=Ir(),a=ih().CONFIGURABLE,o=RP(),u=qi(),s=u.enforce,c=u.get,d=String,h=Object.defineProperty,v=e("".slice),g=e("".replace),m=e([].join),y=i&&!t(function(){return h(function(){},"length",{value:8}).length!==8}),S=String(String).split("String"),w=SE.exports=function(b,A,R){v(d(A),0,7)==="Symbol("&&(A="["+g(d(A),/^Symbol\(([^)]*)\).*$/,"$1")+"]"),R&&R.getter&&(A="get "+A),R&&R.setter&&(A="set "+A),(!n(b,"name")||a&&b.name!==A)&&(i?h(b,"name",{value:A,configurable:!0}):b.name=A),y&&R&&n(R,"arity")&&b.length!==R.arity&&h(b,"length",{value:R.arity});try{R&&n(R,"constructor")&&R.constructor?i&&h(b,"prototype",{writable:!1}):b.prototype&&(b.prototype=void 0)}catch{}var x=s(b);return n(x,"source")||(x.source=m(S,typeof A=="string"?A:"")),b};return Function.prototype.toString=w(function(){return r(this)&&c(this).source||o(this)},"toString"),SE.exports}var CE,m$;function Qn(){if(m$)return CE;m$=1;var e=bn(),t=xi(),r=xP(),n=TP();return CE=function(i,a,o,u){u||(u={});var s=u.enumerable,c=u.name!==void 0?u.name:a;if(e(o)&&r(o,c,u),u.global)s?i[a]=o:n(a,o);else{try{u.unsafe?i[a]&&(s=!0):delete i[a]}catch{}s?i[a]=o:t.f(i,a,{value:o,enumerable:!1,configurable:!u.nonConfigurable,writable:!u.nonWritable})}return i},CE}var AE={},OE,y$;function xee(){if(y$)return OE;y$=1;var e=Math.ceil,t=Math.floor;return OE=Math.trunc||function(n){var i=+n;return(i>0?t:e)(i)},OE}var IE,_$;function Gi(){if(_$)return IE;_$=1;var e=xee();return IE=function(t){var r=+t;return r!==r||r===0?0:e(r)},IE}var PE,S$;function hl(){if(S$)return PE;S$=1;var e=Gi(),t=Math.max,r=Math.min;return PE=function(n,i){var a=e(n);return a<0?t(a+i,0):r(a,i)},PE}var DE,E$;function us(){if(E$)return DE;E$=1;var e=Gi(),t=Math.min;return DE=function(r){var n=e(r);return n>0?t(n,9007199254740991):0},DE}var kE,w$;function ai(){if(w$)return kE;w$=1;var e=us();return kE=function(t){return e(t.length)},kE}var NE,b$;function pp(){if(b$)return NE;b$=1;var e=Ra(),t=hl(),r=ai(),n=function(i){return function(a,o,u){var s=e(a),c=r(s);if(c===0)return!i&&-1;var d=t(u,c),h;if(i&&o!==o){for(;c>d;)if(h=s[d++],h!==h)return!0}else for(;c>d;d++)if((i||d in s)&&s[d]===o)return i||d||0;return!i&&-1}};return NE={includes:n(!0),indexOf:n(!1)},NE}var LE,T$;function Cee(){if(T$)return LE;T$=1;var e=Kt(),t=Sn(),r=Ra(),n=pp().indexOf,i=vp(),a=e([].push);return LE=function(o,u){var s=r(o),c=0,d=[],h;for(h in s)!t(i,h)&&t(s,h)&&a(d,h);for(;u.length>c;)t(s,h=u[c++])&&(~n(d,h)||a(d,h));return d},LE}var ME,R$;function CP(){return R$||(R$=1,ME=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]),ME}var x$;function pf(){if(x$)return AE;x$=1;var e=Cee(),t=CP(),r=t.concat("length","prototype");return AE.f=Object.getOwnPropertyNames||function(i){return e(i,r)},AE}var $E={},C$;function Wy(){return C$||(C$=1,$E.f=Object.getOwnPropertySymbols),$E}var FE,A$;function AP(){if(A$)return FE;A$=1;var e=yn(),t=Kt(),r=pf(),n=Wy(),i=Tr(),a=t([].concat);return FE=e("Reflect","ownKeys")||function(u){var s=r.f(i(u)),c=n.f;return c?a(s,c(u)):s},FE}var jE,O$;function ah(){if(O$)return jE;O$=1;var e=Sn(),t=AP(),r=Ma(),n=xi();return jE=function(i,a,o){for(var u=t(a),s=n.f,c=r.f,d=0;d<u.length;d++){var h=u[d];!e(i,h)&&!(o&&e(o,h))&&s(i,h,c(a,h))}},jE}var UE,I$;function gp(){if(I$)return UE;I$=1;var e=zt(),t=bn(),r=/#|\.prototype\./,n=function(s,c){var d=a[i(s)];return d===u?!0:d===o?!1:t(c)?e(c):!!c},i=n.normalize=function(s){return String(s).replace(r,".").toLowerCase()},a=n.data={},o=n.NATIVE="N",u=n.POLYFILL="P";return UE=n,UE}var qE,P$;function Ve(){if(P$)return qE;P$=1;var e=er(),t=Ma().f,r=$a(),n=Qn(),i=TP(),a=ah(),o=gp();return qE=function(u,s){var c=u.target,d=u.global,h=u.stat,v,g,m,y,S,w;if(d?g=e:h?g=e[c]||i(c,{}):g=e[c]&&e[c].prototype,g)for(m in s){if(S=s[m],u.dontCallGetSet?(w=t(g,m),y=w&&w.value):y=g[m],v=o(d?m:c+(h?".":"#")+m,u.forced),!v&&y!==void 0){if(typeof S==typeof y)continue;a(S,y)}(u.sham||y&&y.sham)&&r(S,"sham",!0),n(g,m,S,u)}},qE}var VE,D$;function OP(){if(D$)return VE;D$=1;var e=Yr(),t=e("toStringTag"),r={};return r[t]="z",VE=String(r)==="[object z]",VE}var BE,k$;function ls(){if(k$)return BE;k$=1;var e=OP(),t=bn(),r=Za(),n=Yr(),i=n("toStringTag"),a=Object,o=r((function(){return arguments})())==="Arguments",u=function(s,c){try{return s[c]}catch{}};return BE=e?r:function(s){var c,d,h;return s===void 0?"Undefined":s===null?"Null":typeof(d=u(c=a(s),i))=="string"?d:o?r(c):(h=r(c))==="Object"&&t(c.callee)?"Arguments":h},BE}var HE,N$;function rn(){if(N$)return HE;N$=1;var e=ls(),t=String;return HE=function(r){if(e(r)==="Symbol")throw new TypeError("Cannot convert a Symbol value to a string");return t(r)},HE}var zE={},WE,L$;function mp(){if(L$)return WE;L$=1;var e=Cee(),t=CP();return WE=Object.keys||function(n){return e(n,t)},WE}var M$;function IP(){if(M$)return zE;M$=1;var e=Ir(),t=Tee(),r=xi(),n=Tr(),i=Ra(),a=mp();return zE.f=e&&!t?Object.defineProperties:function(u,s){n(u);for(var c=i(s),d=a(s),h=d.length,v=0,g;h>v;)r.f(u,g=d[v++],c[g]);return u},zE}var GE,$$;function Aee(){if($$)return GE;$$=1;var e=yn();return GE=e("document","documentElement"),GE}var YE,F$;function Fa(){if(F$)return YE;F$=1;var e=Tr(),t=IP(),r=CP(),n=vp(),i=Aee(),a=Hy(),o=zy(),u=">",s="<",c="prototype",d="script",h=o("IE_PROTO"),v=function(){},g=function(b){return s+d+u+b+s+"/"+d+u},m=function(b){b.write(g("")),b.close();var A=b.parentWindow.Object;return b=null,A},y=function(){var b=a("iframe"),A="java"+d+":",R;return b.style.display="none",i.appendChild(b),b.src=String(A),R=b.contentWindow.document,R.open(),R.write(g("document.F=Object")),R.close(),R.F},S,w=function(){try{S=new ActiveXObject("htmlfile")}catch{}w=typeof document<"u"?document.domain&&S?m(S):y():m(S);for(var b=r.length;b--;)delete w[c][r[b]];return w()};return n[h]=!0,YE=Object.create||function(A,R){var x;return A!==null?(v[c]=e(A),x=new v,v[c]=null,x[h]=A):x=w(),R===void 0?x:t.f(x,R)},YE}var KE={},XE,j$;function $s(){if(j$)return XE;j$=1;var e=Kt();return XE=e([].slice),XE}var U$;function PP(){if(U$)return KE;U$=1;var e=Za(),t=Ra(),r=pf().f,n=$s(),i=typeof window=="object"&&window&&Object.getOwnPropertyNames?Object.getOwnPropertyNames(window):[],a=function(o){try{return r(o)}catch{return n(i)}};return KE.f=function(u){return i&&e(u)==="Window"?a(u):r(t(u))},KE}var QE,q$;function ta(){if(q$)return QE;q$=1;var e=xP(),t=xi();return QE=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)},QE}var JE={},V$;function Oee(){if(V$)return JE;V$=1;var e=Yr();return JE.f=e,JE}var ZE,B$;function Gy(){if(B$)return ZE;B$=1;var e=er();return ZE=e,ZE}var ew,H$;function eo(){if(H$)return ew;H$=1;var e=Gy(),t=Sn(),r=Oee(),n=xi().f;return ew=function(i){var a=e.Symbol||(e.Symbol={});t(a,i)||n(a,i,{value:r.f(i)})},ew}var tw,z$;function Iee(){if(z$)return tw;z$=1;var e=Sr(),t=yn(),r=Yr(),n=Qn();return tw=function(){var i=t("Symbol"),a=i&&i.prototype,o=a&&a.valueOf,u=r("toPrimitive");a&&!a[u]&&n(a,u,function(s){return e(o,this)},{arity:1})},tw}var rw,W$;function qo(){if(W$)return rw;W$=1;var e=xi().f,t=Sn(),r=Yr(),n=r("toStringTag");return rw=function(i,a,o){i&&!o&&(i=i.prototype),i&&!t(i,n)&&e(i,n,{configurable:!0,value:a})},rw}var nw,G$;function gf(){if(G$)return nw;G$=1;var e=Za(),t=Kt();return nw=function(r){if(e(r)==="Function")return t(r)},nw}var iw,Y$;function cs(){if(Y$)return iw;Y$=1;var e=gf(),t=_n(),r=hp(),n=e(e.bind);return iw=function(i,a){return t(i),a===void 0?i:r?n(i,a):function(){return i.apply(a,arguments)}},iw}var aw,K$;function sc(){if(K$)return aw;K$=1;var e=Za();return aw=Array.isArray||function(r){return e(r)==="Array"},aw}var ow,X$;function mf(){if(X$)return ow;X$=1;var e=Kt(),t=zt(),r=bn(),n=ls(),i=yn(),a=RP(),o=function(){},u=i("Reflect","construct"),s=/^\s*(?:class|function)\b/,c=e(s.exec),d=!s.test(o),h=function(m){if(!r(m))return!1;try{return u(o,[],m),!0}catch{return!1}},v=function(m){if(!r(m))return!1;switch(n(m)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return d||!!c(s,a(m))}catch{return!0}};return v.sham=!0,ow=!u||t(function(){var g;return h(h.call)||!h(Object)||!h(function(){g=!0})||g})?v:h,ow}var sw,Q$;function ble(){if(Q$)return sw;Q$=1;var e=sc(),t=mf(),r=Gr(),n=Yr(),i=n("species"),a=Array;return sw=function(o){var u;return e(o)&&(u=o.constructor,t(u)&&(u===a||e(u.prototype))?u=void 0:r(u)&&(u=u[i],u===null&&(u=void 0))),u===void 0?a:u},sw}var uw,J$;function yp(){if(J$)return uw;J$=1;var e=ble();return uw=function(t,r){return new(e(t))(r===0?0:r)},uw}var lw,Z$;function ja(){if(Z$)return lw;Z$=1;var e=cs(),t=Kt(),r=eh(),n=kn(),i=ai(),a=yp(),o=t([].push),u=function(s){var c=s===1,d=s===2,h=s===3,v=s===4,g=s===6,m=s===7,y=s===5||g;return function(S,w,b,A){for(var R=n(S),x=r(R),O=i(x),_=e(w,b),P=0,N=A||a,U=c?N(S,O):d||m?N(S,0):void 0,$,B;O>P;P++)if((y||P in x)&&($=x[P],B=_($,P,R),s))if(c)U[P]=B;else if(B)switch(s){case 3:return!0;case 5:return $;case 6:return P;case 2:o(U,$)}else switch(s){case 4:return!1;case 7:o(U,$)}return g?-1:h||v?v:U}};return lw={forEach:u(0),map:u(1),filter:u(2),some:u(3),every:u(4),find:u(5),findIndex:u(6),filterReject:u(7)},lw}var eF;function Tle(){if(eF)return SM;eF=1;var e=Ve(),t=er(),r=Sr(),n=Kt(),i=Un(),a=Ir(),o=th(),u=zt(),s=Sn(),c=yo(),d=Tr(),h=Ra(),v=oc(),g=rn(),m=ss(),y=Fa(),S=mp(),w=pf(),b=PP(),A=Wy(),R=Ma(),x=xi(),O=IP(),_=qy(),P=Qn(),N=ta(),U=rh(),$=zy(),B=vp(),Y=nh(),Q=Yr(),K=Oee(),ee=eo(),ne=Iee(),D=qo(),I=qi(),L=ja().forEach,re=$("hidden"),te="Symbol",ce="prototype",be=I.set,Ie=I.getterFor(te),je=Object[ce],z=t.Symbol,k=z&&z[ce],q=t.RangeError,H=t.TypeError,ie=t.QObject,V=R.f,Z=x.f,me=b.f,fe=_.f,Re=n([].push),Se=U("symbols"),Oe=U("op-symbols"),Me=U("wks"),de=!ie||!ie[ce]||!ie[ce].findChild,Ee=function(bt,mt,St){var yt=V(je,mt);yt&&delete je[mt],Z(bt,mt,St),yt&&bt!==je&&Z(je,mt,yt)},_e=a&&u(function(){return y(Z({},"a",{get:function(){return Z(this,"a",{value:7}).a}})).a!==7})?Ee:Z,xe=function(bt,mt){var St=Se[bt]=y(k);return be(St,{type:te,tag:bt,description:mt}),a||(St.description=mt),St},ke=function(mt,St,yt){mt===je&&ke(Oe,St,yt),d(mt);var at=v(St);return d(yt),s(Se,at)?(yt.enumerable?(s(mt,re)&&mt[re][at]&&(mt[re][at]=!1),yt=y(yt,{enumerable:m(0,!1)})):(s(mt,re)||Z(mt,re,m(1,y(null))),mt[re][at]=!0),_e(mt,at,yt)):Z(mt,at,yt)},Le=function(mt,St){d(mt);var yt=h(St),at=S(yt).concat(Qe(yt));return L(at,function($t){(!a||r(_t,yt,$t))&&ke(mt,$t,yt[$t])}),mt},He=function(mt,St){return St===void 0?y(mt):Le(y(mt),St)},_t=function(mt){var St=v(mt),yt=r(fe,this,St);return this===je&&s(Se,St)&&!s(Oe,St)?!1:yt||!s(this,St)||!s(Se,St)||s(this,re)&&this[re][St]?yt:!0},jt=function(mt,St){var yt=h(mt),at=v(St);if(!(yt===je&&s(Se,at)&&!s(Oe,at))){var $t=V(yt,at);return $t&&s(Se,at)&&!(s(yt,re)&&yt[re][at])&&($t.enumerable=!0),$t}},Lt=function(mt){var St=me(h(mt)),yt=[];return L(St,function(at){!s(Se,at)&&!s(B,at)&&Re(yt,at)}),yt},Qe=function(bt){var mt=bt===je,St=me(mt?Oe:h(bt)),yt=[];return L(St,function(at){s(Se,at)&&(!mt||s(je,at))&&Re(yt,Se[at])}),yt};return o||(z=function(){if(c(k,this))throw new H("Symbol is not a constructor");var mt=!arguments.length||arguments[0]===void 0?void 0:g(arguments[0]),St=Y(mt),yt=function(at){var $t=this===void 0?t:this;$t===je&&r(yt,Oe,at),s($t,re)&&s($t[re],St)&&($t[re][St]=!1);var xt=m(1,at);try{_e($t,St,xt)}catch(Ce){if(!(Ce instanceof q))throw Ce;Ee($t,St,xt)}};return a&&de&&_e(je,St,{configurable:!0,set:yt}),xe(St,mt)},k=z[ce],P(k,"toString",function(){return Ie(this).tag}),P(z,"withoutSetter",function(bt){return xe(Y(bt),bt)}),_.f=_t,x.f=ke,O.f=Le,R.f=jt,w.f=b.f=Lt,A.f=Qe,K.f=function(bt){return xe(Q(bt),bt)},a&&(N(k,"description",{configurable:!0,get:function(){return Ie(this).description}}),i||P(je,"propertyIsEnumerable",_t,{unsafe:!0}))),e({global:!0,constructor:!0,wrap:!0,forced:!o,sham:!o},{Symbol:z}),L(S(Me),function(bt){ee(bt)}),e({target:te,stat:!0,forced:!o},{useSetter:function(){de=!0},useSimple:function(){de=!1}}),e({target:"Object",stat:!0,forced:!o,sham:!a},{create:He,defineProperty:ke,defineProperties:Le,getOwnPropertyDescriptor:jt}),e({target:"Object",stat:!0,forced:!o},{getOwnPropertyNames:Lt}),ne(),D(z,te),B[re]=!0,SM}var tF={},cw,rF;function Pee(){if(rF)return cw;rF=1;var e=th();return cw=e&&!!Symbol.for&&!!Symbol.keyFor,cw}var nF;function Rle(){if(nF)return tF;nF=1;var e=Ve(),t=yn(),r=Sn(),n=rn(),i=rh(),a=Pee(),o=i("string-to-symbol-registry"),u=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{for:function(s){var c=n(s);if(r(o,c))return o[c];var d=t("Symbol")(c);return o[c]=d,u[d]=c,d}}),tF}var iF={},aF;function xle(){if(aF)return iF;aF=1;var e=Ve(),t=Sn(),r=hf(),n=vf(),i=rh(),a=Pee(),o=i("symbol-to-string-registry");return e({target:"Symbol",stat:!0,forced:!a},{keyFor:function(s){if(!r(s))throw new TypeError(n(s)+" is not a symbol");if(t(o,s))return o[s]}}),iF}var oF={},fw,sF;function fs(){if(sF)return fw;sF=1;var e=hp(),t=Function.prototype,r=t.apply,n=t.call;return fw=typeof Reflect=="object"&&Reflect.apply||(e?n.bind(r):function(){return n.apply(r,arguments)}),fw}var dw,uF;function Cle(){if(uF)return dw;uF=1;var e=Kt(),t=sc(),r=bn(),n=Za(),i=rn(),a=e([].push);return dw=function(o){if(r(o))return o;if(t(o)){for(var u=o.length,s=[],c=0;c<u;c++){var d=o[c];typeof d=="string"?a(s,d):(typeof d=="number"||n(d)==="Number"||n(d)==="String")&&a(s,i(d))}var h=s.length,v=!0;return function(g,m){if(v)return v=!1,m;if(t(this))return m;for(var y=0;y<h;y++)if(s[y]===g)return m}}},dw}var lF;function Dee(){if(lF)return oF;lF=1;var e=Ve(),t=yn(),r=fs(),n=Sr(),i=Kt(),a=zt(),o=bn(),u=hf(),s=$s(),c=Cle(),d=th(),h=String,v=t("JSON","stringify"),g=i(/./.exec),m=i("".charAt),y=i("".charCodeAt),S=i("".replace),w=i(1.1.toString),b=/[\uD800-\uDFFF]/g,A=/^[\uD800-\uDBFF]$/,R=/^[\uDC00-\uDFFF]$/,x=!d||a(function(){var N=t("Symbol")("stringify detection");return v([N])!=="[null]"||v({a:N})!=="{}"||v(Object(N))!=="{}"}),O=a(function(){return v("\uDF06\uD834")!=='"\\udf06\\ud834"'||v("\uDEAD")!=='"\\udead"'}),_=function(N,U){var $=s(arguments),B=c(U);if(!(!o(B)&&(N===void 0||u(N))))return $[1]=function(Y,Q){if(o(B)&&(Q=n(B,this,h(Y),Q)),!u(Q))return Q},r(v,null,$)},P=function(N,U,$){var B=m($,U-1),Y=m($,U+1);return g(A,N)&&!g(R,Y)||g(R,N)&&!g(A,B)?"\\u"+w(y(N,0),16):N};return v&&e({target:"JSON",stat:!0,arity:3,forced:x||O},{stringify:function(U,$,B){var Y=s(arguments),Q=r(x?_:v,null,Y);return O&&typeof Q=="string"?S(Q,b,P):Q}}),oF}var cF={},fF;function Ale(){if(fF)return cF;fF=1;var e=Ve(),t=th(),r=zt(),n=Wy(),i=kn(),a=!t||r(function(){n.f(1)});return e({target:"Object",stat:!0,forced:a},{getOwnPropertySymbols:function(u){var s=n.f;return s?s(i(u)):[]}}),cF}var dF;function Ole(){return dF||(dF=1,Tle(),Rle(),xle(),Dee(),Ale()),_M}var hF={},vF;function Ile(){if(vF)return hF;vF=1;var e=Ve(),t=Ir(),r=er(),n=Kt(),i=Sn(),a=bn(),o=yo(),u=rn(),s=ta(),c=ah(),d=r.Symbol,h=d&&d.prototype;if(t&&a(d)&&(!("description"in h)||d().description!==void 0)){var v={},g=function(){var x=arguments.length<1||arguments[0]===void 0?void 0:u(arguments[0]),O=o(h,this)?new d(x):x===void 0?d():d(x);return x===""&&(v[O]=!0),O};c(g,d),g.prototype=h,h.constructor=g;var m=String(d("description detection"))==="Symbol(description detection)",y=n(h.valueOf),S=n(h.toString),w=/^Symbol\((.*)\)[^)]+$/,b=n("".replace),A=n("".slice);s(h,"description",{configurable:!0,get:function(){var x=y(this);if(i(v,x))return"";var O=S(x),_=m?A(O,7,-1):b(O,w,"$1");return _===""?void 0:_}}),e({global:!0,constructor:!0,forced:!0},{Symbol:g})}return hF}var pF={},gF;function Ple(){if(gF)return pF;gF=1;var e=er(),t=eo(),r=xi().f,n=Ma().f,i=e.Symbol;if(t("asyncDispose"),i){var a=n(i,"asyncDispose");a.enumerable&&a.configurable&&a.writable&&r(i,"asyncDispose",{value:a.value,enumerable:!1,configurable:!1,writable:!1})}return pF}var mF={},yF;function Dle(){if(yF)return mF;yF=1;var e=eo();return e("asyncIterator"),mF}var _F={},SF;function kle(){if(SF)return _F;SF=1;var e=er(),t=eo(),r=xi().f,n=Ma().f,i=e.Symbol;if(t("dispose"),i){var a=n(i,"dispose");a.enumerable&&a.configurable&&a.writable&&r(i,"dispose",{value:a.value,enumerable:!1,configurable:!1,writable:!1})}return _F}var EF={},wF;function Nle(){if(wF)return EF;wF=1;var e=eo();return e("hasInstance"),EF}var bF={},TF;function Lle(){if(TF)return bF;TF=1;var e=eo();return e("isConcatSpreadable"),bF}var RF={},xF;function Mle(){if(xF)return RF;xF=1;var e=eo();return e("iterator"),RF}var CF={},AF;function $le(){if(AF)return CF;AF=1;var e=eo();return e("match"),CF}var OF={},IF;function Fle(){if(IF)return OF;IF=1;var e=eo();return e("matchAll"),OF}var PF={},DF;function jle(){if(DF)return PF;DF=1;var e=eo();return e("replace"),PF}var kF={},NF;function Ule(){if(NF)return kF;NF=1;var e=eo();return e("search"),kF}var LF={},MF;function qle(){if(MF)return LF;MF=1;var e=eo();return e("species"),LF}var $F={},FF;function Vle(){if(FF)return $F;FF=1;var e=eo();return e("split"),$F}var jF={},UF;function Ble(){if(UF)return jF;UF=1;var e=eo(),t=Iee();return e("toPrimitive"),t(),jF}var qF={},VF;function Hle(){if(VF)return qF;VF=1;var e=yn(),t=eo(),r=qo();return t("toStringTag"),r(e("Symbol"),"Symbol"),qF}var BF={},HF;function zle(){if(HF)return BF;HF=1;var e=eo();return e("unscopables"),BF}var zF={},hw,WF;function Yy(){if(WF)return hw;WF=1;var e=Kt(),t=_n();return hw=function(r,n,i){try{return e(t(Object.getOwnPropertyDescriptor(r,n)[i]))}catch{}},hw}var vw,GF;function kee(){if(GF)return vw;GF=1;var e=Gr();return vw=function(t){return e(t)||t===null},vw}var pw,YF;function Nee(){if(YF)return pw;YF=1;var e=kee(),t=String,r=TypeError;return pw=function(n){if(e(n))return n;throw new r("Can't set "+t(n)+" as a prototype")},pw}var gw,KF;function ru(){if(KF)return gw;KF=1;var e=Yy(),t=Gr(),r=Pi(),n=Nee();return gw=Object.setPrototypeOf||("__proto__"in{}?(function(){var i=!1,a={},o;try{o=e(Object.prototype,"__proto__","set"),o(a,[]),i=a instanceof Array}catch{}return function(s,c){return r(s),n(c),t(s)&&(i?o(s,c):s.__proto__=c),s}})():void 0),gw}var mw,XF;function Lee(){if(XF)return mw;XF=1;var e=xi().f;return mw=function(t,r,n){n in t||e(t,n,{configurable:!0,get:function(){return r[n]},set:function(i){r[n]=i}})},mw}var yw,QF;function yf(){if(QF)return yw;QF=1;var e=bn(),t=Gr(),r=ru();return yw=function(n,i,a){var o,u;return r&&e(o=i.constructor)&&o!==a&&t(u=o.prototype)&&u!==a.prototype&&r(n,u),n},yw}var _w,JF;function oh(){if(JF)return _w;JF=1;var e=rn();return _w=function(t,r){return t===void 0?arguments.length<2?"":r:e(t)},_w}var Sw,ZF;function Mee(){if(ZF)return Sw;ZF=1;var e=Gr(),t=$a();return Sw=function(r,n){e(n)&&"cause"in n&&t(r,"cause",n.cause)},Sw}var Ew,ej;function DP(){if(ej)return Ew;ej=1;var e=Kt(),t=Error,r=e("".replace),n=(function(o){return String(new t(o).stack)})("zxcasd"),i=/\n\s*at [^:]*:[^\n]*/,a=i.test(n);return Ew=function(o,u){if(a&&typeof o=="string"&&!t.prepareStackTrace)for(;u--;)o=r(o,i,"");return o},Ew}var ww,tj;function $ee(){if(tj)return ww;tj=1;var e=zt(),t=ss();return ww=!e(function(){var r=new Error("a");return"stack"in r?(Object.defineProperty(r,"stack",t(1,7)),r.stack!==7):!0}),ww}var bw,rj;function kP(){if(rj)return bw;rj=1;var e=$a(),t=DP(),r=$ee(),n=Error.captureStackTrace;return bw=function(i,a,o,u){r&&(n?n(i,a):e(i,"stack",t(o,u)))},bw}var Tw,nj;function Fee(){if(nj)return Tw;nj=1;var e=yn(),t=Sn(),r=$a(),n=yo(),i=ru(),a=ah(),o=Lee(),u=yf(),s=oh(),c=Mee(),d=kP(),h=Ir(),v=Un();return Tw=function(g,m,y,S){var w="stackTraceLimit",b=S?2:1,A=g.split("."),R=A[A.length-1],x=e.apply(null,A);if(x){var O=x.prototype;if(!v&&t(O,"cause")&&delete O.cause,!y)return x;var _=e("Error"),P=m(function(N,U){var $=s(S?U:N,void 0),B=S?new x(N):new x;return $!==void 0&&r(B,"message",$),d(B,P,B.stack,2),this&&n(O,this)&&u(B,this,P),arguments.length>b&&c(B,arguments[b]),B});if(P.prototype=O,R!=="Error"?i?i(P,_):a(P,_,{name:!0}):h&&w in x&&(o(P,x,w),o(P,x,"prepareStackTrace")),a(P,x),!v)try{O.name!==R&&r(O,"name",R),O.constructor=P}catch{}return P}},Tw}var ij;function Wle(){if(ij)return zF;ij=1;var e=Ve(),t=er(),r=fs(),n=Fee(),i="WebAssembly",a=t[i],o=new Error("e",{cause:7}).cause!==7,u=function(c,d){var h={};h[c]=n(c,d,o),e({global:!0,constructor:!0,arity:1,forced:o},h)},s=function(c,d){if(a&&a[c]){var h={};h[c]=n(i+"."+c,d,o),e({target:i,stat:!0,constructor:!0,arity:1,forced:o},h)}};return u("Error",function(c){return function(h){return r(c,this,arguments)}}),u("EvalError",function(c){return function(h){return r(c,this,arguments)}}),u("RangeError",function(c){return function(h){return r(c,this,arguments)}}),u("ReferenceError",function(c){return function(h){return r(c,this,arguments)}}),u("SyntaxError",function(c){return function(h){return r(c,this,arguments)}}),u("TypeError",function(c){return function(h){return r(c,this,arguments)}}),u("URIError",function(c){return function(h){return r(c,this,arguments)}}),s("CompileError",function(c){return function(h){return r(c,this,arguments)}}),s("LinkError",function(c){return function(h){return r(c,this,arguments)}}),s("RuntimeError",function(c){return function(h){return r(c,this,arguments)}}),zF}var aj={},oj;function Gle(){if(oj)return aj;oj=1;var e=Ve(),t=yn(),r=Gr(),n=ls(),i=zt(),a="Error",o="DOMException",u=Object.setPrototypeOf||{}.__proto__,s=t(o),c=Error,d=c.isError,h=!d||!u||i(function(){return s&&!d(new s(o))||!d(new c(a,{cause:function(){}}))||d(t("Object","create")(c.prototype))});return e({target:"Error",stat:!0,sham:!0,forced:h},{isError:function(g){if(!r(g))return!1;var m=n(g);return m===a||m===o}}),aj}var sj={},Rw,uj;function jee(){if(uj)return Rw;uj=1;var e=Ir(),t=zt(),r=Tr(),n=oh(),i=Error.prototype.toString,a=t(function(){if(e){var o=Object.create(Object.defineProperty({},"name",{get:function(){return this===o}}));if(i.call(o)!=="true")return!0}return i.call({message:1,name:2})!=="2: 1"||i.call({})!=="Error"});return Rw=a?function(){var u=r(this),s=n(u.name,"Error"),c=n(u.message);return s?c?s+": "+c:s:c}:i,Rw}var lj;function Yle(){if(lj)return sj;lj=1;var e=Qn(),t=jee(),r=Error.prototype;return r.toString!==t&&e(r,"toString",t),sj}var cj={},fj={},xw,dj;function NP(){if(dj)return xw;dj=1;var e=zt();return xw=!e(function(){function t(){}return t.prototype.constructor=null,Object.getPrototypeOf(new t)!==t.prototype}),xw}var Cw,hj;function _o(){if(hj)return Cw;hj=1;var e=Sn(),t=bn(),r=kn(),n=zy(),i=NP(),a=n("IE_PROTO"),o=Object,u=o.prototype;return Cw=i?o.getPrototypeOf:function(s){var c=r(s);if(e(c,a))return c[a];var d=c.constructor;return t(d)&&c instanceof d?d.prototype:c instanceof o?u:null},Cw}var Aw,vj;function _p(){return vj||(vj=1,Aw={}),Aw}var Ow,pj;function LP(){if(pj)return Ow;pj=1;var e=Yr(),t=_p(),r=e("iterator"),n=Array.prototype;return Ow=function(i){return i!==void 0&&(t.Array===i||n[r]===i)},Ow}var Iw,gj;function _f(){if(gj)return Iw;gj=1;var e=ls(),t=La(),r=dl(),n=_p(),i=Yr(),a=i("iterator");return Iw=function(o){if(!r(o))return t(o,a)||t(o,"@@iterator")||n[e(o)]},Iw}var Pw,mj;function sh(){if(mj)return Pw;mj=1;var e=Sr(),t=_n(),r=Tr(),n=vf(),i=_f(),a=TypeError;return Pw=function(o,u){var s=arguments.length<2?i(o):u;if(t(s))return r(e(s,o));throw new a(n(o)+" is not iterable")},Pw}var Dw,yj;function Ua(){if(yj)return Dw;yj=1;var e=Sr(),t=Tr(),r=La();return Dw=function(n,i,a){var o,u;t(n);try{if(o=r(n,"return"),!o){if(i==="throw")throw a;return a}o=e(o,n)}catch(s){u=!0,o=s}if(i==="throw")throw a;if(u)throw o;return t(o),a},Dw}var kw,_j;function ha(){if(_j)return kw;_j=1;var e=cs(),t=Sr(),r=Tr(),n=vf(),i=LP(),a=ai(),o=yo(),u=sh(),s=_f(),c=Ua(),d=TypeError,h=function(g,m){this.stopped=g,this.result=m},v=h.prototype;return kw=function(g,m,y){var S=y&&y.that,w=!!(y&&y.AS_ENTRIES),b=!!(y&&y.IS_RECORD),A=!!(y&&y.IS_ITERATOR),R=!!(y&&y.INTERRUPTED),x=e(m,S),O,_,P,N,U,$,B,Y=function(K){return O&&c(O,"normal"),new h(!0,K)},Q=function(K){return w?(r(K),R?x(K[0],K[1],Y):x(K[0],K[1])):R?x(K,Y):x(K)};if(b)O=g.iterator;else if(A)O=g;else{if(_=s(g),!_)throw new d(n(g)+" is not iterable");if(i(_)){for(P=0,N=a(g);N>P;P++)if(U=Q(g[P]),U&&o(v,U))return U;return new h(!1)}O=u(g,_)}for($=b?g.next:O.next;!(B=t($,O)).done;){try{U=Q(B.value)}catch(K){c(O,"throw",K)}if(typeof U=="object"&&U&&o(v,U))return U}return new h(!1)},kw}var Sj;function Kle(){if(Sj)return fj;Sj=1;var e=Ve(),t=yo(),r=_o(),n=ru(),i=ah(),a=Fa(),o=$a(),u=ss(),s=Mee(),c=kP(),d=ha(),h=oh(),v=Yr(),g=v("toStringTag"),m=Error,y=[].push,S=function(A,R){var x=t(w,this),O;n?O=n(new m,x?r(this):w):(O=x?this:a(w),o(O,g,"Error")),R!==void 0&&o(O,"message",h(R)),c(O,S,O.stack,1),arguments.length>2&&s(O,arguments[2]);var _=[];return d(A,y,{that:_}),o(O,"errors",_),O};n?n(S,m):i(S,m,{name:!0});var w=S.prototype=a(m.prototype,{constructor:u(1,S),message:u(1,""),name:u(1,"AggregateError")});return e({global:!0,constructor:!0,arity:2},{AggregateError:S}),fj}var Ej;function Xle(){return Ej||(Ej=1,Kle()),cj}var wj={},bj;function Qle(){if(bj)return wj;bj=1;var e=Ve(),t=yn(),r=fs(),n=zt(),i=Fee(),a="AggregateError",o=t(a),u=!n(function(){return o([1]).errors[0]!==1})&&n(function(){return o([1],a,{cause:7}).cause!==7});return e({global:!0,constructor:!0,arity:2,forced:u},{AggregateError:i(a,function(s){return function(d,h){return r(s,this,arguments)}},u,!0)}),wj}var Tj={},Rj;function Jle(){if(Rj)return Tj;Rj=1;var e=Ve(),t=er(),r=yo(),n=_o(),i=ru(),a=ah(),o=Fa(),u=$a(),s=ss(),c=kP(),d=oh(),h=Yr(),v=zt(),g=Un(),m=t.SuppressedError,y=h("toStringTag"),S=Error,w=!!m&&m.length!==3,b=!!m&&v(function(){return new m(1,2,3,{cause:4}).cause===4}),A=w||b,R=function(_,P,N){var U=r(x,this),$;return i?$=A&&(!U||n(this)===x)?new m:i(new S,U?n(this):x):($=U?this:o(x),u($,y,"Error")),N!==void 0&&u($,"message",d(N)),c($,R,$.stack,1),u($,"error",_),u($,"suppressed",P),$};i?i(R,S):a(R,S,{name:!0});var x=R.prototype=A?m.prototype:o(S.prototype,{constructor:s(1,R),message:s(1,""),name:s(1,"SuppressedError")});return A&&!g&&(x.constructor=R),e({global:!0,constructor:!0,arity:3,forced:A},{SuppressedError:R}),Tj}var xj={},Nw,Cj;function Vo(){if(Cj)return Nw;Cj=1;var e=Yr(),t=Fa(),r=xi().f,n=e("unscopables"),i=Array.prototype;return i[n]===void 0&&r(i,n,{configurable:!0,value:t(null)}),Nw=function(a){i[n][a]=!0},Nw}var Aj;function Zle(){if(Aj)return xj;Aj=1;var e=Ve(),t=kn(),r=ai(),n=Gi(),i=Vo();return e({target:"Array",proto:!0},{at:function(o){var u=t(this),s=r(u),c=n(o),d=c>=0?c:s+c;return d<0||d>=s?void 0:u[d]}}),i("at"),xj}var Oj={},Lw,Ij;function Sf(){if(Ij)return Lw;Ij=1;var e=TypeError,t=9007199254740991;return Lw=function(r){if(r>t)throw e("Maximum allowed index exceeded");return r},Lw}var Mw,Pj;function vl(){if(Pj)return Mw;Pj=1;var e=Ir(),t=xi(),r=ss();return Mw=function(n,i,a){e?t.f(n,i,r(0,a)):n[i]=a},Mw}var $w,Dj;function Sp(){if(Dj)return $w;Dj=1;var e=zt(),t=Yr(),r=Ou(),n=t("species");return $w=function(i){return r>=51||!e(function(){var a=[],o=a.constructor={};return o[n]=function(){return{foo:1}},a[i](Boolean).foo!==1})},$w}var kj;function ece(){if(kj)return Oj;kj=1;var e=Ve(),t=zt(),r=sc(),n=Gr(),i=kn(),a=ai(),o=Sf(),u=vl(),s=yp(),c=Sp(),d=Yr(),h=Ou(),v=d("isConcatSpreadable"),g=h>=51||!t(function(){var S=[];return S[v]=!1,S.concat()[0]!==S}),m=function(S){if(!n(S))return!1;var w=S[v];return w!==void 0?!!w:r(S)},y=!g||!c("concat");return e({target:"Array",proto:!0,arity:1,forced:y},{concat:function(w){var b=i(this),A=s(b,0),R=0,x,O,_,P,N;for(x=-1,_=arguments.length;x<_;x++)if(N=x===-1?b:arguments[x],m(N))for(P=a(N),o(R+P),O=0;O<P;O++,R++)O in N&&u(A,R,N[O]);else o(R+1),u(A,R++,N);return A.length=R,A}}),Oj}var Nj={},Fw,Lj;function Ky(){if(Lj)return Fw;Lj=1;var e=vf(),t=TypeError;return Fw=function(r,n){if(!delete r[n])throw new t("Cannot delete property "+e(n)+" of "+e(r))},Fw}var jw,Mj;function Uee(){if(Mj)return jw;Mj=1;var e=kn(),t=hl(),r=ai(),n=Ky(),i=Math.min;return jw=[].copyWithin||function(o,u){var s=e(this),c=r(s),d=t(o,c),h=t(u,c),v=arguments.length>2?arguments[2]:void 0,g=i((v===void 0?c:t(v,c))-h,c-d),m=1;for(h<d&&d<h+g&&(m=-1,h+=g-1,d+=g-1);g-- >0;)h in s?s[d]=s[h]:n(s,d),d+=m,h+=m;return s},jw}var $j;function tce(){if($j)return Nj;$j=1;var e=Ve(),t=Uee(),r=Vo();return e({target:"Array",proto:!0},{copyWithin:t}),r("copyWithin"),Nj}var Fj={},Uw,jj;function pl(){if(jj)return Uw;jj=1;var e=zt();return Uw=function(t,r){var n=[][t];return!!n&&e(function(){n.call(null,r||function(){return 1},1)})},Uw}var Uj;function rce(){if(Uj)return Fj;Uj=1;var e=Ve(),t=ja().every,r=pl(),n=r("every");return e({target:"Array",proto:!0,forced:!n},{every:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),Fj}var qj={},qw,Vj;function MP(){if(Vj)return qw;Vj=1;var e=kn(),t=hl(),r=ai();return qw=function(i){for(var a=e(this),o=r(a),u=arguments.length,s=t(u>1?arguments[1]:void 0,o),c=u>2?arguments[2]:void 0,d=c===void 0?o:t(c,o);d>s;)a[s++]=i;return a},qw}var Bj;function nce(){if(Bj)return qj;Bj=1;var e=Ve(),t=MP(),r=Vo();return e({target:"Array",proto:!0},{fill:t}),r("fill"),qj}var Hj={},zj;function ice(){if(zj)return Hj;zj=1;var e=Ve(),t=ja().filter,r=Sp(),n=r("filter");return e({target:"Array",proto:!0,forced:!n},{filter:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),Hj}var Wj={},Gj;function ace(){if(Gj)return Wj;Gj=1;var e=Ve(),t=ja().find,r=Vo(),n="find",i=!0;return n in[]&&Array(1)[n](function(){i=!1}),e({target:"Array",proto:!0,forced:i},{find:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),r(n),Wj}var Yj={},Kj;function oce(){if(Kj)return Yj;Kj=1;var e=Ve(),t=ja().findIndex,r=Vo(),n="findIndex",i=!0;return n in[]&&Array(1)[n](function(){i=!1}),e({target:"Array",proto:!0,forced:i},{findIndex:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),r(n),Yj}var Xj={},Vw,Qj;function Xy(){if(Qj)return Vw;Qj=1;var e=cs(),t=eh(),r=kn(),n=ai(),i=function(a){var o=a===1;return function(u,s,c){for(var d=r(u),h=t(d),v=n(h),g=e(s,c),m,y;v-- >0;)if(m=h[v],y=g(m,v,d),y)switch(a){case 0:return m;case 1:return v}return o?-1:void 0}};return Vw={findLast:i(0),findLastIndex:i(1)},Vw}var Jj;function sce(){if(Jj)return Xj;Jj=1;var e=Ve(),t=Xy().findLast,r=Vo();return e({target:"Array",proto:!0},{findLast:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLast"),Xj}var Zj={},e3;function uce(){if(e3)return Zj;e3=1;var e=Ve(),t=Xy().findLastIndex,r=Vo();return e({target:"Array",proto:!0},{findLastIndex:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),r("findLastIndex"),Zj}var t3={},Bw,r3;function qee(){if(r3)return Bw;r3=1;var e=sc(),t=ai(),r=Sf(),n=cs(),i=function(a,o,u,s,c,d,h,v){for(var g=c,m=0,y=h?n(h,v):!1,S,w;m<s;)m in u&&(S=y?y(u[m],m,o):u[m],d>0&&e(S)?(w=t(S),g=i(a,o,S,w,g,d-1)-1):(r(g+1),a[g]=S),g++),m++;return g};return Bw=i,Bw}var n3;function lce(){if(n3)return t3;n3=1;var e=Ve(),t=qee(),r=kn(),n=ai(),i=Gi(),a=yp();return e({target:"Array",proto:!0},{flat:function(){var u=arguments.length?arguments[0]:void 0,s=r(this),c=n(s),d=a(s,0);return d.length=t(d,s,s,c,0,u===void 0?1:i(u)),d}}),t3}var i3={},a3;function cce(){if(a3)return i3;a3=1;var e=Ve(),t=qee(),r=_n(),n=kn(),i=ai(),a=yp();return e({target:"Array",proto:!0},{flatMap:function(u){var s=n(this),c=i(s),d;return r(u),d=a(s,0),d.length=t(d,s,s,c,0,1,u,arguments.length>1?arguments[1]:void 0),d}}),i3}var o3={},Hw,s3;function Vee(){if(s3)return Hw;s3=1;var e=ja().forEach,t=pl(),r=t("forEach");return Hw=r?[].forEach:function(i){return e(this,i,arguments.length>1?arguments[1]:void 0)},Hw}var u3;function fce(){if(u3)return o3;u3=1;var e=Ve(),t=Vee();return e({target:"Array",proto:!0,forced:[].forEach!==t},{forEach:t}),o3}var l3={},zw,c3;function $P(){if(c3)return zw;c3=1;var e=Tr(),t=Ua();return zw=function(r,n,i,a){try{return a?n(e(i)[0],i[1]):n(i)}catch(o){t(r,"throw",o)}},zw}var Ww,f3;function Bee(){if(f3)return Ww;f3=1;var e=cs(),t=Sr(),r=kn(),n=$P(),i=LP(),a=mf(),o=ai(),u=vl(),s=sh(),c=_f(),d=Array;return Ww=function(v){var g=r(v),m=a(this),y=arguments.length,S=y>1?arguments[1]:void 0,w=S!==void 0;w&&(S=e(S,y>2?arguments[2]:void 0));var b=c(g),A=0,R,x,O,_,P,N;if(b&&!(this===d&&i(b)))for(x=m?new this:[],_=s(g,b),P=_.next;!(O=t(P,_)).done;A++)N=w?n(_,S,[O.value,A],!0):O.value,u(x,A,N);else for(R=o(g),x=m?new this(R):d(R);R>A;A++)N=w?S(g[A],A):g[A],u(x,A,N);return x.length=A,x},Ww}var Gw,d3;function Qy(){if(d3)return Gw;d3=1;var e=Yr(),t=e("iterator"),r=!1;try{var n=0,i={next:function(){return{done:!!n++}},return:function(){r=!0}};i[t]=function(){return this},Array.from(i,function(){throw 2})}catch{}return Gw=function(a,o){try{if(!o&&!r)return!1}catch{return!1}var u=!1;try{var s={};s[t]=function(){return{next:function(){return{done:u=!0}}}},a(s)}catch{}return u},Gw}var h3;function dce(){if(h3)return l3;h3=1;var e=Ve(),t=Bee(),r=Qy(),n=!r(function(i){Array.from(i)});return e({target:"Array",stat:!0,forced:n},{from:t}),l3}var v3={},p3;function hce(){if(p3)return v3;p3=1;var e=Ve(),t=pp().includes,r=zt(),n=Vo(),i=r(function(){return!Array(1).includes()});return e({target:"Array",proto:!0,forced:i},{includes:function(o){return t(this,o,arguments.length>1?arguments[1]:void 0)}}),n("includes"),v3}var g3={},m3;function vce(){if(m3)return g3;m3=1;var e=Ve(),t=gf(),r=pp().indexOf,n=pl(),i=t([].indexOf),a=!!i&&1/i([1],1,-0)<0,o=a||!n("indexOf");return e({target:"Array",proto:!0,forced:o},{indexOf:function(s){var c=arguments.length>1?arguments[1]:void 0;return a?i(this,s,c)||0:r(this,s,c)}}),g3}var y3={},_3;function pce(){if(_3)return y3;_3=1;var e=Ve(),t=sc();return e({target:"Array",stat:!0},{isArray:t}),y3}var Yw,S3;function uh(){if(S3)return Yw;S3=1;var e=zt(),t=bn(),r=Gr(),n=Fa(),i=_o(),a=Qn(),o=Yr(),u=Un(),s=o("iterator"),c=!1,d,h,v;[].keys&&(v=[].keys(),"next"in v?(h=i(i(v)),h!==Object.prototype&&(d=h)):c=!0);var g=!r(d)||e(function(){var m={};return d[s].call(m)!==m});return g?d={}:u&&(d=n(d)),t(d[s])||a(d,s,function(){return this}),Yw={IteratorPrototype:d,BUGGY_SAFARI_ITERATORS:c},Yw}var Kw,E3;function FP(){if(E3)return Kw;E3=1;var e=uh().IteratorPrototype,t=Fa(),r=ss(),n=qo(),i=_p(),a=function(){return this};return Kw=function(o,u,s,c){var d=u+" Iterator";return o.prototype=t(e,{next:r(+!c,s)}),n(o,d,!1,!0),i[d]=a,o},Kw}var Xw,w3;function jP(){if(w3)return Xw;w3=1;var e=Ve(),t=Sr(),r=Un(),n=ih(),i=bn(),a=FP(),o=_o(),u=ru(),s=qo(),c=$a(),d=Qn(),h=Yr(),v=_p(),g=uh(),m=n.PROPER,y=n.CONFIGURABLE,S=g.IteratorPrototype,w=g.BUGGY_SAFARI_ITERATORS,b=h("iterator"),A="keys",R="values",x="entries",O=function(){return this};return Xw=function(_,P,N,U,$,B,Y){a(N,P,U);var Q=function(be){if(be===$&&I)return I;if(!w&&be&&be in ne)return ne[be];switch(be){case A:return function(){return new N(this,be)};case R:return function(){return new N(this,be)};case x:return function(){return new N(this,be)}}return function(){return new N(this)}},K=P+" Iterator",ee=!1,ne=_.prototype,D=ne[b]||ne["@@iterator"]||$&&ne[$],I=!w&&D||Q($),L=P==="Array"&&ne.entries||D,re,te,ce;if(L&&(re=o(L.call(new _)),re!==Object.prototype&&re.next&&(!r&&o(re)!==S&&(u?u(re,S):i(re[b])||d(re,b,O)),s(re,K,!0,!0),r&&(v[K]=O))),m&&$===R&&D&&D.name!==R&&(!r&&y?c(ne,"name",R):(ee=!0,I=function(){return t(D,this)})),$)if(te={values:Q(R),keys:B?I:Q(A),entries:Q(x)},Y)for(ce in te)(w||ee||!(ce in ne))&&d(ne,ce,te[ce]);else e({target:P,proto:!0,forced:w||ee},te);return(!r||Y)&&ne[b]!==I&&d(ne,b,I,{name:$}),v[P]=I,te},Xw}var Qw,b3;function Ef(){return b3||(b3=1,Qw=function(e,t){return{value:e,done:t}}),Qw}var Jw,T3;function Jy(){if(T3)return Jw;T3=1;var e=Ra(),t=Vo(),r=_p(),n=qi(),i=xi().f,a=jP(),o=Ef(),u=Un(),s=Ir(),c="Array Iterator",d=n.set,h=n.getterFor(c);Jw=a(Array,"Array",function(g,m){d(this,{type:c,target:e(g),index:0,kind:m})},function(){var g=h(this),m=g.target,y=g.index++;if(!m||y>=m.length)return g.target=null,o(void 0,!0);switch(g.kind){case"keys":return o(y,!1);case"values":return o(m[y],!1)}return o([y,m[y]],!1)},"values");var v=r.Arguments=r.Array;if(t("keys"),t("values"),t("entries"),!u&&s&&v.name!=="values")try{i(v,"name",{value:"values"})}catch{}return Jw}var R3={},x3;function gce(){if(x3)return R3;x3=1;var e=Ve(),t=Kt(),r=eh(),n=Ra(),i=pl(),a=t([].join),o=r!==Object,u=o||!i("join",",");return e({target:"Array",proto:!0,forced:u},{join:function(c){return a(n(this),c===void 0?",":c)}}),R3}var C3={},Zw,A3;function Hee(){if(A3)return Zw;A3=1;var e=fs(),t=Ra(),r=Gi(),n=ai(),i=pl(),a=Math.min,o=[].lastIndexOf,u=!!o&&1/[1].lastIndexOf(1,-0)<0,s=i("lastIndexOf"),c=u||!s;return Zw=c?function(h){if(u)return e(o,this,arguments)||0;var v=t(this),g=n(v);if(g===0)return-1;var m=g-1;for(arguments.length>1&&(m=a(m,r(arguments[1]))),m<0&&(m=g+m);m>=0;m--)if(m in v&&v[m]===h)return m||0;return-1}:o,Zw}var O3;function mce(){if(O3)return C3;O3=1;var e=Ve(),t=Hee();return e({target:"Array",proto:!0,forced:t!==[].lastIndexOf},{lastIndexOf:t}),C3}var I3={},P3;function yce(){if(P3)return I3;P3=1;var e=Ve(),t=ja().map,r=Sp(),n=r("map");return e({target:"Array",proto:!0,forced:!n},{map:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),I3}var D3={},k3;function _ce(){if(k3)return D3;k3=1;var e=Ve(),t=zt(),r=mf(),n=vl(),i=Array,a=t(function(){function o(){}return!(i.of.call(o)instanceof o)});return e({target:"Array",stat:!0,forced:a},{of:function(){for(var u=0,s=arguments.length,c=new(r(this)?this:i)(s);s>u;)n(c,u,arguments[u++]);return c.length=s,c}}),D3}var N3={},e1,L3;function UP(){if(L3)return e1;L3=1;var e=Ir(),t=sc(),r=TypeError,n=Object.getOwnPropertyDescriptor,i=e&&!(function(){if(this!==void 0)return!0;try{Object.defineProperty([],"length",{writable:!1}).length=1}catch(a){return a instanceof TypeError}})();return e1=i?function(a,o){if(t(a)&&!n(a,"length").writable)throw new r("Cannot set read only .length");return a.length=o}:function(a,o){return a.length=o},e1}var M3;function Sce(){if(M3)return N3;M3=1;var e=Ve(),t=kn(),r=ai(),n=UP(),i=Sf(),a=zt(),o=a(function(){return[].push.call({length:4294967296},1)!==4294967297}),u=function(){try{Object.defineProperty([],"length",{writable:!1}).push()}catch(c){return c instanceof TypeError}},s=o||!u();return e({target:"Array",proto:!0,arity:1,forced:s},{push:function(d){var h=t(this),v=r(h),g=arguments.length;i(v+g);for(var m=0;m<g;m++)h[v]=arguments[m],v++;return n(h,v),v}}),N3}var $3={},t1,F3;function Zy(){if(F3)return t1;F3=1;var e=_n(),t=kn(),r=eh(),n=ai(),i=TypeError,a="Reduce of empty array with no initial value",o=function(u){return function(s,c,d,h){var v=t(s),g=r(v),m=n(v);if(e(c),m===0&&d<2)throw new i(a);var y=u?m-1:0,S=u?-1:1;if(d<2)for(;;){if(y in g){h=g[y],y+=S;break}if(y+=S,u?y<0:m<=y)throw new i(a)}for(;u?y>=0:m>y;y+=S)y in g&&(h=c(h,g[y],y,v));return h}};return t1={left:o(!1),right:o(!0)},t1}var r1,j3;function e_(){if(j3)return r1;j3=1;var e=er(),t=Au(),r=Za(),n=function(i){return t.slice(0,i.length)===i};return r1=(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"})(),r1}var n1,U3;function lh(){if(U3)return n1;U3=1;var e=e_();return n1=e==="NODE",n1}var q3;function Ece(){if(q3)return $3;q3=1;var e=Ve(),t=Zy().left,r=pl(),n=Ou(),i=lh(),a=!i&&n>79&&n<83,o=a||!r("reduce");return e({target:"Array",proto:!0,forced:o},{reduce:function(s){var c=arguments.length;return t(this,s,c,c>1?arguments[1]:void 0)}}),$3}var V3={},B3;function wce(){if(B3)return V3;B3=1;var e=Ve(),t=Zy().right,r=pl(),n=Ou(),i=lh(),a=!i&&n>79&&n<83,o=a||!r("reduceRight");return e({target:"Array",proto:!0,forced:o},{reduceRight:function(s){return t(this,s,arguments.length,arguments.length>1?arguments[1]:void 0)}}),V3}var H3={},z3;function bce(){if(z3)return H3;z3=1;var e=Ve(),t=Kt(),r=sc(),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)}}),H3}var W3={},G3;function Tce(){if(G3)return W3;G3=1;var e=Ve(),t=sc(),r=mf(),n=Gr(),i=hl(),a=ai(),o=Ra(),u=vl(),s=Yr(),c=Sp(),d=$s(),h=c("slice"),v=s("species"),g=Array,m=Math.max;return e({target:"Array",proto:!0,forced:!h},{slice:function(S,w){var b=o(this),A=a(b),R=i(S,A),x=i(w===void 0?A:w,A),O,_,P;if(t(b)&&(O=b.constructor,r(O)&&(O===g||t(O.prototype))?O=void 0:n(O)&&(O=O[v],O===null&&(O=void 0)),O===g||O===void 0))return d(b,R,x);for(_=new(O===void 0?g:O)(m(x-R,0)),P=0;R<x;R++,P++)R in b&&u(_,P,b[R]);return _.length=P,_}}),W3}var Y3={},K3;function Rce(){if(K3)return Y3;K3=1;var e=Ve(),t=ja().some,r=pl(),n=r("some");return e({target:"Array",proto:!0,forced:!n},{some:function(a){return t(this,a,arguments.length>1?arguments[1]:void 0)}}),Y3}var X3={},i1,Q3;function qP(){if(Q3)return i1;Q3=1;var e=$s(),t=Math.floor,r=function(n,i){var a=n.length;if(a<8)for(var o=1,u,s;o<a;){for(s=o,u=n[o];s&&i(n[s-1],u)>0;)n[s]=n[--s];s!==o++&&(n[s]=u)}else for(var c=t(a/2),d=r(e(n,0,c),i),h=r(e(n,c),i),v=d.length,g=h.length,m=0,y=0;m<v||y<g;)n[m+y]=m<v&&y<g?i(d[m],h[y])<=0?d[m++]:h[y++]:m<v?d[m++]:h[y++];return n};return i1=r,i1}var a1,J3;function zee(){if(J3)return a1;J3=1;var e=Au(),t=e.match(/firefox\/(\d+)/i);return a1=!!t&&+t[1],a1}var o1,Z3;function Wee(){if(Z3)return o1;Z3=1;var e=Au();return o1=/MSIE|Trident/.test(e),o1}var s1,e2;function VP(){if(e2)return s1;e2=1;var e=Au(),t=e.match(/AppleWebKit\/(\d+)\./);return s1=!!t&&+t[1],s1}var t2;function xce(){if(t2)return X3;t2=1;var e=Ve(),t=Kt(),r=_n(),n=kn(),i=ai(),a=Ky(),o=rn(),u=zt(),s=qP(),c=pl(),d=zee(),h=Wee(),v=Ou(),g=VP(),m=[],y=t(m.sort),S=t(m.push),w=u(function(){m.sort(void 0)}),b=u(function(){m.sort(null)}),A=c("sort"),R=!u(function(){if(v)return v<70;if(!(d&&d>3)){if(h)return!0;if(g)return g<603;var _="",P,N,U,$;for(P=65;P<76;P++){switch(N=String.fromCharCode(P),P){case 66:case 69:case 70:case 72:U=3;break;case 68:case 71:U=4;break;default:U=2}for($=0;$<47;$++)m.push({k:N+$,v:U})}for(m.sort(function(B,Y){return Y.v-B.v}),$=0;$<m.length;$++)N=m[$].k.charAt(0),_.charAt(_.length-1)!==N&&(_+=N);return _!=="DGBEFHACIJK"}}),x=w||!b||!A||!R,O=function(_){return function(P,N){return N===void 0?-1:P===void 0?1:_!==void 0?+_(P,N)||0:o(P)>o(N)?1:-1}};return e({target:"Array",proto:!0,forced:x},{sort:function(P){P!==void 0&&r(P);var N=n(this);if(R)return P===void 0?y(N):y(N,P);var U=[],$=i(N),B,Y;for(Y=0;Y<$;Y++)Y in N&&S(U,N[Y]);for(s(U,O(P)),B=i(U),Y=0;Y<B;)N[Y]=U[Y++];for(;Y<$;)a(N,Y++);return N}}),X3}var r2={},u1,n2;function ch(){if(n2)return u1;n2=1;var e=yn(),t=ta(),r=Yr(),n=Ir(),i=r("species");return u1=function(a){var o=e(a);n&&o&&!o[i]&&t(o,i,{configurable:!0,get:function(){return this}})},u1}var i2;function Cce(){if(i2)return r2;i2=1;var e=ch();return e("Array"),r2}var a2={},o2;function Ace(){if(o2)return a2;o2=1;var e=Ve(),t=kn(),r=hl(),n=Gi(),i=ai(),a=UP(),o=Sf(),u=yp(),s=vl(),c=Ky(),d=Sp(),h=d("splice"),v=Math.max,g=Math.min;return e({target:"Array",proto:!0,forced:!h},{splice:function(y,S){var w=t(this),b=i(w),A=r(y,b),R=arguments.length,x,O,_,P,N,U;for(R===0?x=O=0:R===1?(x=0,O=b-A):(x=R-2,O=g(v(n(S),0),b-A)),o(b+x-O),_=u(w,O),P=0;P<O;P++)N=A+P,N in w&&s(_,P,w[N]);if(_.length=O,x<O){for(P=A;P<b-O;P++)N=P+O,U=P+x,N in w?w[U]=w[N]:c(w,U);for(P=b;P>b-O+x;P--)c(w,P-1)}else if(x>O)for(P=b-O;P>A;P--)N=P+O-1,U=P+x-1,N in w?w[U]=w[N]:c(w,U);for(P=0;P<x;P++)w[P+A]=arguments[P+2];return a(w,b-O+x),_}}),a2}var s2={},l1,u2;function Gee(){if(u2)return l1;u2=1;var e=ai();return l1=function(t,r){for(var n=e(t),i=new r(n),a=0;a<n;a++)i[a]=t[n-a-1];return i},l1}var l2;function Oce(){if(l2)return s2;l2=1;var e=Ve(),t=Gee(),r=Ra(),n=Vo(),i=Array;return e({target:"Array",proto:!0},{toReversed:function(){return t(r(this),i)}}),n("toReversed"),s2}var c2={},c1,f2;function Ep(){if(f2)return c1;f2=1;var e=ai();return c1=function(t,r,n){for(var i=0,a=arguments.length>2?n:e(r),o=new t(a);a>i;)o[i]=r[i++];return o},c1}var f1,d2;function Yee(){if(d2)return f1;d2=1;var e=er();return f1=function(t,r){var n=e[t],i=n&&n.prototype;return i&&i[r]},f1}var h2;function Ice(){if(h2)return c2;h2=1;var e=Ve(),t=Kt(),r=_n(),n=Ra(),i=Ep(),a=Yee(),o=Vo(),u=Array,s=t(a("Array","sort"));return e({target:"Array",proto:!0},{toSorted:function(d){d!==void 0&&r(d);var h=n(this),v=i(u,h);return s(v,d)}}),o("toSorted"),c2}var v2={},p2;function Pce(){if(p2)return v2;p2=1;var e=Ve(),t=Vo(),r=Sf(),n=ai(),i=hl(),a=Ra(),o=Gi(),u=Array,s=Math.max,c=Math.min;return e({target:"Array",proto:!0},{toSpliced:function(h,v){var g=a(this),m=n(g),y=i(h,m),S=arguments.length,w=0,b,A,R,x;for(S===0?b=A=0:S===1?(b=0,A=m-y):(b=S-2,A=c(s(o(v),0),m-y)),R=r(m+b-A),x=u(R);w<y;w++)x[w]=g[w];for(;w<y+b;w++)x[w]=arguments[w-y+2];for(;w<R;w++)x[w]=g[w+A-b];return x}}),t("toSpliced"),v2}var g2={},m2;function Dce(){if(m2)return g2;m2=1;var e=Vo();return e("flat"),g2}var y2={},_2;function kce(){if(_2)return y2;_2=1;var e=Vo();return e("flatMap"),y2}var S2={},E2;function Nce(){if(E2)return S2;E2=1;var e=Ve(),t=kn(),r=ai(),n=UP(),i=Ky(),a=Sf(),o=[].unshift(0)!==1,u=function(){try{Object.defineProperty([],"length",{writable:!1}).unshift()}catch(c){return c instanceof TypeError}},s=o||!u();return e({target:"Array",proto:!0,arity:1,forced:s},{unshift:function(d){var h=t(this),v=r(h),g=arguments.length;if(g){a(v+g);for(var m=v;m--;){var y=m+g;m in h?h[y]=h[m]:i(h,y)}for(var S=0;S<g;S++)h[S]=arguments[S]}return n(h,v+g)}}),S2}var w2={},d1,b2;function Kee(){if(b2)return d1;b2=1;var e=ai(),t=Gi(),r=RangeError;return d1=function(n,i,a,o){var u=e(n),s=t(a),c=s<0?u+s:s;if(c>=u||c<0)throw new r("Incorrect index");for(var d=new i(u),h=0;h<u;h++)d[h]=h===c?o:n[h];return d},d1}var T2;function Lce(){if(T2)return w2;T2=1;var e=Ve(),t=Kee(),r=Ra(),n=Array,i=(function(){try{[].with({valueOf:function(){throw 4}},null)}catch(a){return a!==4}})();return e({target:"Array",proto:!0,forced:i},{with:function(a,o){return t(r(this),n,a,o)}}),w2}var R2={},h1,x2;function t_(){return x2||(x2=1,h1=typeof ArrayBuffer<"u"&&typeof DataView<"u"),h1}var v1,C2;function gl(){if(C2)return v1;C2=1;var e=Qn();return v1=function(t,r,n){for(var i in r)e(t,i,r[i],n);return t},v1}var p1,A2;function ds(){if(A2)return p1;A2=1;var e=yo(),t=TypeError;return p1=function(r,n){if(e(n,r))return r;throw new t("Incorrect invocation")},p1}var g1,O2;function r_(){if(O2)return g1;O2=1;var e=Gi(),t=us(),r=RangeError;return g1=function(n){if(n===void 0)return 0;var i=e(n),a=t(i);if(i!==a)throw new r("Wrong length or index");return a},g1}var m1,I2;function BP(){return I2||(I2=1,m1=Math.sign||function(t){var r=+t;return r===0||r!==r?r:r<0?-1:1}),m1}var y1,P2;function Xee(){if(P2)return y1;P2=1;var e=2220446049250313e-31,t=1/e;return y1=function(r){return r+t-t},y1}var _1,D2;function Qee(){if(D2)return _1;D2=1;var e=BP(),t=Xee(),r=Math.abs,n=2220446049250313e-31;return _1=function(i,a,o,u){var s=+i,c=r(s),d=e(s);if(c<u)return d*t(c/u/a)*u*a;var h=(1+a/n)*c,v=h-(h-c);return v>o||v!==v?d*(1/0):d*v},_1}var S1,k2;function Jee(){if(k2)return S1;k2=1;var e=Qee(),t=11920928955078125e-23,r=34028234663852886e22,n=11754943508222875e-54;return S1=Math.fround||function(a){return e(a,t,r,n)},S1}var E1,N2;function Mce(){if(N2)return E1;N2=1;var e=Array,t=Math.abs,r=Math.pow,n=Math.floor,i=Math.log,a=Math.LN2,o=function(s,c,d){var h=e(d),v=d*8-c-1,g=(1<<v)-1,m=g>>1,y=c===23?r(2,-24)-r(2,-77):0,S=s<0||s===0&&1/s<0?1:0,w=0,b,A,R;for(s=t(s),s!==s||s===1/0?(A=s!==s?1:0,b=g):(b=n(i(s)/a),R=r(2,-b),s*R<1&&(b--,R*=2),b+m>=1?s+=y/R:s+=y*r(2,1-m),s*R>=2&&(b++,R/=2),b+m>=g?(A=0,b=g):b+m>=1?(A=(s*R-1)*r(2,c),b+=m):(A=s*r(2,m-1)*r(2,c),b=0));c>=8;)h[w++]=A&255,A/=256,c-=8;for(b=b<<c|A,v+=c;v>0;)h[w++]=b&255,b/=256,v-=8;return h[w-1]|=S*128,h},u=function(s,c){var d=s.length,h=d*8-c-1,v=(1<<h)-1,g=v>>1,m=h-7,y=d-1,S=s[y--],w=S&127,b;for(S>>=7;m>0;)w=w*256+s[y--],m-=8;for(b=w&(1<<-m)-1,w>>=-m,m+=c;m>0;)b=b*256+s[y--],m-=8;if(w===0)w=1-g;else{if(w===v)return b?NaN:S?-1/0:1/0;b+=r(2,c),w-=g}return(S?-1:1)*b*r(2,w-c)};return E1={pack:o,unpack:u},E1}var w1,L2;function n_(){if(L2)return w1;L2=1;var e=er(),t=Kt(),r=Ir(),n=t_(),i=ih(),a=$a(),o=ta(),u=gl(),s=zt(),c=ds(),d=Gi(),h=us(),v=r_(),g=Jee(),m=Mce(),y=_o(),S=ru(),w=MP(),b=$s(),A=yf(),R=ah(),x=qo(),O=qi(),_=i.PROPER,P=i.CONFIGURABLE,N="ArrayBuffer",U="DataView",$="prototype",B="Wrong length",Y="Wrong index",Q=O.getterFor(N),K=O.getterFor(U),ee=O.set,ne=e[N],D=ne,I=D&&D[$],L=e[U],re=L&&L[$],te=Object.prototype,ce=e.Array,be=e.RangeError,Ie=t(w),je=t([].reverse),z=m.pack,k=m.unpack,q=function(Ee){return[Ee&255]},H=function(Ee){return[Ee&255,Ee>>8&255]},ie=function(Ee){return[Ee&255,Ee>>8&255,Ee>>16&255,Ee>>24&255]},V=function(Ee){return Ee[3]<<24|Ee[2]<<16|Ee[1]<<8|Ee[0]},Z=function(Ee){return z(g(Ee),23,4)},me=function(Ee){return z(Ee,52,8)},fe=function(Ee,_e,xe){o(Ee[$],_e,{configurable:!0,get:function(){return xe(this)[_e]}})},Re=function(Ee,_e,xe,ke){var Le=K(Ee),He=v(xe),_t=!!ke;if(He+_e>Le.byteLength)throw new be(Y);var jt=Le.bytes,Lt=He+Le.byteOffset,Qe=b(jt,Lt,Lt+_e);return _t?Qe:je(Qe)},Se=function(Ee,_e,xe,ke,Le,He){var _t=K(Ee),jt=v(xe),Lt=ke(+Le),Qe=!!He;if(jt+_e>_t.byteLength)throw new be(Y);for(var bt=_t.bytes,mt=jt+_t.byteOffset,St=0;St<_e;St++)bt[mt+St]=Lt[Qe?St:_e-St-1]};if(!n)D=function(_e){c(this,I);var xe=v(_e);ee(this,{type:N,bytes:Ie(ce(xe),0),byteLength:xe}),r||(this.byteLength=xe,this.detached=!1)},I=D[$],L=function(_e,xe,ke){c(this,re),c(_e,I);var Le=Q(_e),He=Le.byteLength,_t=d(xe);if(_t<0||_t>He)throw new be("Wrong offset");if(ke=ke===void 0?He-_t:h(ke),_t+ke>He)throw new be(B);ee(this,{type:U,buffer:_e,byteLength:ke,byteOffset:_t,bytes:Le.bytes}),r||(this.buffer=_e,this.byteLength=ke,this.byteOffset=_t)},re=L[$],r&&(fe(D,"byteLength",Q),fe(L,"buffer",K),fe(L,"byteLength",K),fe(L,"byteOffset",K)),u(re,{getInt8:function(_e){return Re(this,1,_e)[0]<<24>>24},getUint8:function(_e){return Re(this,1,_e)[0]},getInt16:function(_e){var xe=Re(this,2,_e,arguments.length>1?arguments[1]:!1);return(xe[1]<<8|xe[0])<<16>>16},getUint16:function(_e){var xe=Re(this,2,_e,arguments.length>1?arguments[1]:!1);return xe[1]<<8|xe[0]},getInt32:function(_e){return V(Re(this,4,_e,arguments.length>1?arguments[1]:!1))},getUint32:function(_e){return V(Re(this,4,_e,arguments.length>1?arguments[1]:!1))>>>0},getFloat32:function(_e){return k(Re(this,4,_e,arguments.length>1?arguments[1]:!1),23)},getFloat64:function(_e){return k(Re(this,8,_e,arguments.length>1?arguments[1]:!1),52)},setInt8:function(_e,xe){Se(this,1,_e,q,xe)},setUint8:function(_e,xe){Se(this,1,_e,q,xe)},setInt16:function(_e,xe){Se(this,2,_e,H,xe,arguments.length>2?arguments[2]:!1)},setUint16:function(_e,xe){Se(this,2,_e,H,xe,arguments.length>2?arguments[2]:!1)},setInt32:function(_e,xe){Se(this,4,_e,ie,xe,arguments.length>2?arguments[2]:!1)},setUint32:function(_e,xe){Se(this,4,_e,ie,xe,arguments.length>2?arguments[2]:!1)},setFloat32:function(_e,xe){Se(this,4,_e,Z,xe,arguments.length>2?arguments[2]:!1)},setFloat64:function(_e,xe){Se(this,8,_e,me,xe,arguments.length>2?arguments[2]:!1)}});else{var Oe=_&&ne.name!==N;!s(function(){ne(1)})||!s(function(){new ne(-1)})||s(function(){return new ne,new ne(1.5),new ne(NaN),ne.length!==1||Oe&&!P})?(D=function(_e){return c(this,I),A(new ne(v(_e)),this,D)},D[$]=I,I.constructor=D,R(D,ne)):Oe&&P&&a(ne,"name",N),S&&y(re)!==te&&S(re,te);var Me=new L(new D(2)),de=t(re.setInt8);Me.setInt8(0,2147483648),Me.setInt8(1,2147483649),(Me.getInt8(0)||!Me.getInt8(1))&&u(re,{setInt8:function(_e,xe){de(this,_e,xe<<24>>24)},setUint8:function(_e,xe){de(this,_e,xe<<24>>24)}},{unsafe:!0})}return x(D,N),x(L,U),w1={ArrayBuffer:D,DataView:L},w1}var M2;function $ce(){if(M2)return R2;M2=1;var e=Ve(),t=er(),r=n_(),n=ch(),i="ArrayBuffer",a=r[i],o=t[i];return e({global:!0,constructor:!0,forced:o!==a},{ArrayBuffer:a}),n(i),R2}var $2={},b1,F2;function Tn(){if(F2)return b1;F2=1;var e=t_(),t=Ir(),r=er(),n=bn(),i=Gr(),a=Sn(),o=ls(),u=vf(),s=$a(),c=Qn(),d=ta(),h=yo(),v=_o(),g=ru(),m=Yr(),y=nh(),S=qi(),w=S.enforce,b=S.get,A=r.Int8Array,R=A&&A.prototype,x=r.Uint8ClampedArray,O=x&&x.prototype,_=A&&v(A),P=R&&v(R),N=Object.prototype,U=r.TypeError,$=m("toStringTag"),B=y("TYPED_ARRAY_TAG"),Y="TypedArrayConstructor",Q=e&&!!g&&o(r.opera)!=="Opera",K=!1,ee,ne,D,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},L={BigInt64Array:8,BigUint64Array:8},re=function(q){if(!i(q))return!1;var H=o(q);return H==="DataView"||a(I,H)||a(L,H)},te=function(k){var q=v(k);if(i(q)){var H=b(q);return H&&a(H,Y)?H[Y]:te(q)}},ce=function(k){if(!i(k))return!1;var q=o(k);return a(I,q)||a(L,q)},be=function(k){if(ce(k))return k;throw new U("Target is not a typed array")},Ie=function(k){if(n(k)&&(!g||h(_,k)))return k;throw new U(u(k)+" is not a typed array constructor")},je=function(k,q,H,ie){if(t){if(H)for(var V in I){var Z=r[V];if(Z&&a(Z.prototype,k))try{delete Z.prototype[k]}catch{try{Z.prototype[k]=q}catch{}}}(!P[k]||H)&&c(P,k,H?q:Q&&R[k]||q,ie)}},z=function(k,q,H){var ie,V;if(t){if(g){if(H){for(ie in I)if(V=r[ie],V&&a(V,k))try{delete V[k]}catch{}}if(!_[k]||H)try{return c(_,k,H?q:Q&&_[k]||q)}catch{}else return}for(ie in I)V=r[ie],V&&(!V[k]||H)&&c(V,k,q)}};for(ee in I)ne=r[ee],D=ne&&ne.prototype,D?w(D)[Y]=ne:Q=!1;for(ee in L)ne=r[ee],D=ne&&ne.prototype,D&&(w(D)[Y]=ne);if((!Q||!n(_)||_===Function.prototype)&&(_=function(){throw new U("Incorrect invocation")},Q))for(ee in I)r[ee]&&g(r[ee],_);if((!Q||!P||P===N)&&(P=_.prototype,Q))for(ee in I)r[ee]&&g(r[ee].prototype,P);if(Q&&v(O)!==P&&g(O,P),t&&!a(P,$)){K=!0,d(P,$,{configurable:!0,get:function(){return i(this)?this[B]:void 0}});for(ee in I)r[ee]&&s(r[ee],B,ee)}return b1={NATIVE_ARRAY_BUFFER_VIEWS:Q,TYPED_ARRAY_TAG:K&&B,aTypedArray:be,aTypedArrayConstructor:Ie,exportTypedArrayMethod:je,exportTypedArrayStaticMethod:z,getTypedArrayConstructor:te,isView:re,isTypedArray:ce,TypedArray:_,TypedArrayPrototype:P},b1}var j2;function Fce(){if(j2)return $2;j2=1;var e=Ve(),t=Tn(),r=t.NATIVE_ARRAY_BUFFER_VIEWS;return e({target:"ArrayBuffer",stat:!0,forced:!r},{isView:t.isView}),$2}var U2={},q2;function jce(){if(q2)return U2;q2=1;var e=Ve(),t=gf(),r=zt(),n=n_(),i=Tr(),a=hl(),o=us(),u=n.ArrayBuffer,s=n.DataView,c=s.prototype,d=t(u.prototype.slice),h=t(c.getUint8),v=t(c.setUint8),g=r(function(){return!new u(2).slice(1,void 0).byteLength});return e({target:"ArrayBuffer",proto:!0,unsafe:!0,forced:g},{slice:function(y,S){if(d&&S===void 0)return d(i(this),y);for(var w=i(this).byteLength,b=a(y,w),A=a(S===void 0?w:S,w),R=new u(o(A-b)),x=new s(this),O=new s(R),_=0;b<A;)v(O,_++,h(x,b++));return R}}),U2}var V2={},B2={},H2;function Uce(){if(H2)return B2;H2=1;var e=Ve(),t=n_(),r=t_();return e({global:!0,constructor:!0,forced:!r},{DataView:t.DataView}),B2}var z2;function qce(){return z2||(z2=1,Uce()),V2}var W2={},G2;function Vce(){if(G2)return W2;G2=1;var e=Ve(),t=Kt(),r=Math.pow,n=31,i=1023,a=r(2,-24),o=.0009765625,u=function(c){var d=c>>>15,h=c>>>10&n,v=c&i;return h===n?v===0?d===0?1/0:-1/0:NaN:h===0?v*(d===0?a:-a):r(2,h-15)*(d===0?1+v*o:-1-v*o)},s=t(DataView.prototype.getUint16);return e({target:"DataView",proto:!0},{getFloat16:function(d){return u(s(this,d,arguments.length>1?arguments[1]:!1))}}),W2}var Y2={},T1,K2;function Bce(){if(K2)return T1;K2=1;var e=ls(),t=TypeError;return T1=function(r){if(e(r)==="DataView")return r;throw new t("Argument is not a DataView")},T1}var R1,X2;function Zee(){if(X2)return R1;X2=1;var e=Math.log,t=Math.LN2;return R1=Math.log2||function(n){return e(n)/t},R1}var Q2;function Hce(){if(Q2)return Y2;Q2=1;var e=Ve(),t=Kt(),r=Bce(),n=r_(),i=Zee(),a=Xee(),o=Math.pow,u=65520,s=61005353927612305e-21,c=16777216,d=1024,h=function(g){if(g!==g)return 32256;if(g===0)return(1/g===-1/0)<<15;var m=g<0;if(m&&(g=-g),g>=u)return m<<15|31744;if(g<s)return m<<15|a(g*c);var y=i(g)|0;if(y===-15)return m<<15|d;var S=a((g*o(2,-y)-1)*d);return S===d?m<<15|y+16<<10:m<<15|y+15<<10|S},v=t(DataView.prototype.setUint16);return e({target:"DataView",proto:!0},{setFloat16:function(m,y){v(r(this),n(m),h(+y),arguments.length>2?arguments[2]:!1)}}),Y2}var J2={},x1,Z2;function ete(){if(Z2)return x1;Z2=1;var e=er(),t=Yy(),r=Za(),n=e.ArrayBuffer,i=e.TypeError;return x1=n&&t(n.prototype,"byteLength","get")||function(a){if(r(a)!=="ArrayBuffer")throw new i("ArrayBuffer expected");return a.byteLength},x1}var C1,e4;function tte(){if(e4)return C1;e4=1;var e=er(),t=t_(),r=ete(),n=e.DataView;return C1=function(i){if(!t||r(i)!==0)return!1;try{return new n(i),!1}catch{return!0}},C1}var t4;function zce(){if(t4)return J2;t4=1;var e=Ir(),t=ta(),r=tte(),n=ArrayBuffer.prototype;return e&&!("detached"in n)&&t(n,"detached",{configurable:!0,get:function(){return r(this)}}),J2}var r4={},A1,n4;function wp(){if(n4)return A1;n4=1;var e=tte(),t=TypeError;return A1=function(r){if(e(r))throw new t("ArrayBuffer is detached");return r},A1}var O1,i4;function rte(){if(i4)return O1;i4=1;var e=er(),t=lh();return O1=function(r){if(t){try{return e.process.getBuiltinModule(r)}catch{}try{return Function('return require("'+r+'")')()}catch{}}},O1}var I1,a4;function HP(){if(a4)return I1;a4=1;var e=er(),t=zt(),r=Ou(),n=e_(),i=e.structuredClone;return I1=!!i&&!t(function(){if(n==="DENO"&&r>92||n==="NODE"&&r>94||n==="BROWSER"&&r>97)return!1;var a=new ArrayBuffer(8),o=i(a,{transfer:[a]});return a.byteLength!==0||o.byteLength!==8}),I1}var P1,o4;function nte(){if(o4)return P1;o4=1;var e=er(),t=rte(),r=HP(),n=e.structuredClone,i=e.ArrayBuffer,a=e.MessageChannel,o=!1,u,s,c,d;if(r)o=function(h){n(h,{transfer:[h]})};else if(i)try{a||(u=t("worker_threads"),u&&(a=u.MessageChannel)),a&&(s=new a,c=new i(2),d=function(h){s.port1.postMessage(null,[h])},c.byteLength===2&&(d(c),c.byteLength===0&&(o=d)))}catch{}return P1=o,P1}var D1,s4;function ite(){if(s4)return D1;s4=1;var e=er(),t=Kt(),r=Yy(),n=r_(),i=wp(),a=ete(),o=nte(),u=HP(),s=e.structuredClone,c=e.ArrayBuffer,d=e.DataView,h=Math.min,v=c.prototype,g=d.prototype,m=t(v.slice),y=r(v,"resizable","get"),S=r(v,"maxByteLength","get"),w=t(g.getInt8),b=t(g.setInt8);return D1=(u||o)&&function(A,R,x){var O=a(A),_=R===void 0?O:n(R),P=!y||!y(A),N;if(i(A),u&&(A=s(A,{transfer:[A]}),O===_&&(x||P)))return A;if(O>=_&&(!x||P))N=m(A,0,_);else{var U=x&&!P&&S?{maxByteLength:S(A)}:void 0;N=new c(_,U);for(var $=new d(A),B=new d(N),Y=h(_,O),Q=0;Q<Y;Q++)b(B,Q,w($,Q))}return u||o(A),N},D1}var u4;function Wce(){if(u4)return r4;u4=1;var e=Ve(),t=ite();return t&&e({target:"ArrayBuffer",proto:!0},{transfer:function(){return t(this,arguments.length?arguments[0]:void 0,!0)}}),r4}var l4={},c4;function Gce(){if(c4)return l4;c4=1;var e=Ve(),t=ite();return t&&e({target:"ArrayBuffer",proto:!0},{transferToFixedLength:function(){return t(this,arguments.length?arguments[0]:void 0,!1)}}),l4}var f4={},d4;function Yce(){if(d4)return f4;d4=1;var e=Ve(),t=Kt(),r=zt(),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}}),f4}var h4={},v4;function Kce(){if(v4)return h4;v4=1;var e=Ve(),t=Kt(),r=Date,n=t(r.prototype.getTime);return e({target:"Date",stat:!0},{now:function(){return n(new r)}}),h4}var p4={},g4;function Xce(){if(g4)return p4;g4=1;var e=Ve(),t=Kt(),r=Gi(),n=Date.prototype,i=t(n.getTime),a=t(n.setFullYear);return e({target:"Date",proto:!0},{setYear:function(u){i(this);var s=r(u),c=s>=0&&s<=99?s+1900:s;return a(this,c)}}),p4}var m4={},y4;function Qce(){if(y4)return m4;y4=1;var e=Ve();return e({target:"Date",proto:!0},{toGMTString:Date.prototype.toUTCString}),m4}var _4={},k1,S4;function i_(){if(S4)return k1;S4=1;var e=Gi(),t=rn(),r=Pi(),n=RangeError;return k1=function(a){var o=t(r(this)),u="",s=e(a);if(s<0||s===1/0)throw new n("Wrong number of repetitions");for(;s>0;(s>>>=1)&&(o+=o))s&1&&(u+=o);return u},k1}var N1,E4;function a_(){if(E4)return N1;E4=1;var e=Kt(),t=us(),r=rn(),n=i_(),i=Pi(),a=e(n),o=e("".slice),u=Math.ceil,s=function(c){return function(d,h,v){var g=r(i(d)),m=t(h),y=g.length,S=v===void 0?" ":r(v),w,b;return m<=y||S===""?g:(w=m-y,b=a(S,u(w/S.length)),b.length>w&&(b=o(b,0,w)),c?g+b:b+g)}};return N1={start:s(!1),end:s(!0)},N1}var L1,w4;function Jce(){if(w4)return L1;w4=1;var e=Kt(),t=zt(),r=a_().start,n=RangeError,i=isFinite,a=Math.abs,o=Date.prototype,u=o.toISOString,s=e(o.getTime),c=e(o.getUTCDate),d=e(o.getUTCFullYear),h=e(o.getUTCHours),v=e(o.getUTCMilliseconds),g=e(o.getUTCMinutes),m=e(o.getUTCMonth),y=e(o.getUTCSeconds);return L1=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(s(this)))throw new n("Invalid time value");var w=this,b=d(w),A=v(w),R=b<0?"-":b>9999?"+":"";return R+r(a(b),R?6:4,0)+"-"+r(m(w)+1,2,0)+"-"+r(c(w),2,0)+"T"+r(h(w),2,0)+":"+r(g(w),2,0)+":"+r(y(w),2,0)+"."+r(A,3,0)+"Z"}:u,L1}var b4;function Zce(){if(b4)return _4;b4=1;var e=Ve(),t=Jce();return e({target:"Date",proto:!0,forced:Date.prototype.toISOString!==t},{toISOString:t}),_4}var T4={},R4;function efe(){if(R4)return T4;R4=1;var e=Ve(),t=zt(),r=kn(),n=By(),i=t(function(){return new Date(NaN).toJSON()!==null||Date.prototype.toJSON.call({toISOString:function(){return 1}})!==1});return e({target:"Date",proto:!0,arity:1,forced:i},{toJSON:function(o){var u=r(this),s=n(u,"number");return typeof s=="number"&&!isFinite(s)?null:u.toISOString()}}),T4}var x4={},M1,C4;function tfe(){if(C4)return M1;C4=1;var e=Tr(),t=wee(),r=TypeError;return M1=function(n){if(e(this),n==="string"||n==="default")n="string";else if(n!=="number")throw new r("Incorrect hint");return t(this,n)},M1}var A4;function rfe(){if(A4)return x4;A4=1;var e=Sn(),t=Qn(),r=tfe(),n=Yr(),i=n("toPrimitive"),a=Date.prototype;return e(a,i)||t(a,i,r),x4}var O4={},I4;function nfe(){if(I4)return O4;I4=1;var e=Kt(),t=Qn(),r=Date.prototype,n="Invalid Date",i="toString",a=e(r[i]),o=e(r.getTime);return String(new Date(NaN))!==n&&t(r,i,function(){var s=o(this);return s===s?a(this):n}),O4}var P4={},$1,D4;function ate(){if(D4)return $1;D4=1;var e=yn(),t=Sr(),r=Kt(),n=cs(),i=Tr(),a=_n(),o=dl(),u=La(),s=Yr(),c=s("asyncDispose"),d=s("dispose"),h=r([].push),v=function(m,y){if(y==="async-dispose"){var S=u(m,c);return S!==void 0||(S=u(m,d),S===void 0)?S:function(){var w=this,b=e("Promise");return new b(function(A){t(S,w),A(void 0)})}}return u(m,d)},g=function(m,y,S){return arguments.length<3&&!o(m)&&(S=a(v(i(m),y))),S===void 0?function(){}:n(S,m)};return $1=function(m,y,S,w){var b;if(arguments.length<4){if(o(y)&&S==="sync-dispose")return;b=g(y,S)}else b=g(void 0,S,w);h(m.stack,b)},$1}var k4;function ife(){if(k4)return P4;k4=1;var e=Ve(),t=Ir(),r=yn(),n=_n(),i=ds(),a=Qn(),o=gl(),u=ta(),s=Yr(),c=qi(),d=ate(),h=r("SuppressedError"),v=ReferenceError,g=s("dispose"),m=s("toStringTag"),y="DisposableStack",S=c.set,w=c.getterFor(y),b="sync-dispose",A="disposed",R="pending",x=function(P){var N=w(P);if(N.state===A)throw new v(y+" already disposed");return N},O=function(){S(i(this,_),{type:y,state:R,stack:[]}),t||(this.disposed=!1)},_=O.prototype;return o(_,{dispose:function(){var N=w(this);if(N.state!==A){N.state=A,t||(this.disposed=!0);for(var U=N.stack,$=U.length,B=!1,Y;$;){var Q=U[--$];U[$]=null;try{Q()}catch(K){B?Y=new h(K,Y):(B=!0,Y=K)}}if(N.stack=null,B)throw Y}},use:function(N){return d(x(this),N,b),N},adopt:function(N,U){var $=x(this);return n(U),d($,void 0,b,function(){U(N)}),N},defer:function(N){var U=x(this);n(N),d(U,void 0,b,N)},move:function(){var N=x(this),U=new O;return w(U).stack=N.stack,N.stack=[],N.state=A,t||(this.disposed=!0),U}}),t&&u(_,"disposed",{configurable:!0,get:function(){return w(this).state===A}}),a(_,g,_.dispose,{name:"dispose"}),a(_,m,y,{nonWritable:!0}),e({global:!0,constructor:!0},{DisposableStack:O}),P4}var N4={},L4;function afe(){if(L4)return N4;L4=1;var e=Ve(),t=Kt(),r=rn(),n=t("".charAt),i=t("".charCodeAt),a=t(/./.exec),o=t(1.1.toString),u=t("".toUpperCase),s=/[\w*+\-./@]/,c=function(d,h){for(var v=o(d,16);v.length<h;)v="0"+v;return v};return e({global:!0},{escape:function(h){for(var v=r(h),g="",m=v.length,y=0,S,w;y<m;)S=n(v,y++),a(s,S)?g+=S:(w=i(S,0),w<256?g+="%"+c(w,2):g+="%u"+u(c(w,4)));return g}}),N4}var M4={},F1,$4;function ote(){if($4)return F1;$4=1;var e=Kt(),t=_n(),r=Gr(),n=Sn(),i=$s(),a=hp(),o=Function,u=e([].concat),s=e([].join),c={},d=function(h,v,g){if(!n(c,v)){for(var m=[],y=0;y<v;y++)m[y]="a["+y+"]";c[v]=o("C,a","return new C("+s(m,",")+")")}return c[v](h,g)};return F1=a?o.bind:function(v){var g=t(this),m=g.prototype,y=i(arguments,1),S=function(){var b=u(y,i(arguments));return this instanceof S?d(g,b.length,b):g.apply(v,b)};return r(m)&&(S.prototype=m),S},F1}var F4;function ofe(){if(F4)return M4;F4=1;var e=Ve(),t=ote();return e({target:"Function",proto:!0,forced:Function.bind!==t},{bind:t}),M4}var j4={},U4;function sfe(){if(U4)return j4;U4=1;var e=bn(),t=Gr(),r=xi(),n=yo(),i=Yr(),a=xP(),o=i("hasInstance"),u=Function.prototype;return o in u||r.f(u,o,{value:a(function(s){if(!e(this)||!t(s))return!1;var c=this.prototype;return t(c)?n(c,s):s instanceof this},o)}),j4}var q4={},V4;function ufe(){if(V4)return q4;V4=1;var e=Ir(),t=ih().EXISTS,r=Kt(),n=ta(),i=Function.prototype,a=r(i.toString),o=/function\b(?:\s|\/\*[\S\s]*?\*\/|\/\/[^\n\r]*[\n\r]+)*([^\s(/]*)/,u=r(o.exec),s="name";return e&&!t&&n(i,s,{configurable:!0,get:function(){try{return u(o,a(this))[1]}catch{return""}}}),q4}var B4={},H4;function lfe(){if(H4)return B4;H4=1;var e=Ve(),t=er();return e({global:!0,forced:t.globalThis!==t},{globalThis:t}),B4}var z4={},W4;function cfe(){if(W4)return z4;W4=1;var e=Ve(),t=er(),r=ds(),n=Tr(),i=bn(),a=_o(),o=ta(),u=vl(),s=zt(),c=Sn(),d=Yr(),h=uh().IteratorPrototype,v=Ir(),g=Un(),m="constructor",y="Iterator",S=d("toStringTag"),w=TypeError,b=t[y],A=g||!i(b)||b.prototype!==h||!s(function(){b({})}),R=function(){if(r(this,h),a(this)===h)throw new w("Abstract class Iterator not directly constructable")},x=function(O,_){v?o(h,O,{configurable:!0,get:function(){return _},set:function(P){if(n(this),this===h)throw new w("You can't redefine this property");c(this,O)?this[O]=P:u(this,O,P)}}):h[O]=_};return c(h,S)||x(S,y),(A||!c(h,m)||h[m]===Object)&&x(m,R),R.prototype=h,e({global:!0,constructor:!0,forced:A},{Iterator:R}),z4}var G4={},Y4;function ffe(){if(Y4)return G4;Y4=1;var e=Sr(),t=Qn(),r=La(),n=Sn(),i=Yr(),a=uh().IteratorPrototype,o=i("dispose");return n(a,o)||t(a,o,function(){var u=r(this,"return");u&&e(u,this)}),G4}var K4={},j1,X4;function to(){return X4||(X4=1,j1=function(e){return{iterator:e,next:e.next,done:!1}}),j1}var U1,Q4;function ste(){if(Q4)return U1;Q4=1;var e=RangeError;return U1=function(t){if(t===t)return t;throw new e("NaN is not allowed")},U1}var q1,J4;function zP(){if(J4)return q1;J4=1;var e=Gi(),t=RangeError;return q1=function(r){var n=e(r);if(n<0)throw new t("The argument can't be less than 0");return n},q1}var V1,Z4;function dfe(){if(Z4)return V1;Z4=1;var e=Ua();return V1=function(t,r,n){for(var i=t.length-1;i>=0;i--)if(t[i]!==void 0)try{n=e(t[i].iterator,r,n)}catch(a){r="throw",n=a}if(r==="throw")throw n;return n},V1}var B1,eU;function fh(){if(eU)return B1;eU=1;var e=Sr(),t=Fa(),r=$a(),n=gl(),i=Yr(),a=qi(),o=La(),u=uh().IteratorPrototype,s=Ef(),c=Ua(),d=dfe(),h=i("toStringTag"),v="IteratorHelper",g="WrapForValidIterator",m="normal",y="throw",S=a.set,w=function(R){var x=a.getterFor(R?g:v);return n(t(u),{next:function(){var _=x(this);if(R)return _.nextHandler();if(_.done)return s(void 0,!0);try{var P=_.nextHandler();return _.returnHandlerResult?P:s(P,_.done)}catch(N){throw _.done=!0,N}},return:function(){var O=x(this),_=O.iterator;if(O.done=!0,R){var P=o(_,"return");return P?e(P,_):s(void 0,!0)}if(O.inner)try{c(O.inner.iterator,m)}catch(N){return c(_,y,N)}if(O.openIters)try{d(O.openIters,m)}catch(N){return c(_,y,N)}return _&&c(_,m),s(void 0,!0)}})},b=w(!0),A=w(!1);return r(A,h,"Iterator Helper"),B1=function(R,x,O){var _=function(N,U){U?(U.iterator=N.iterator,U.next=N.next):U=N,U.type=x?g:v,U.returnHandlerResult=!!O,U.nextHandler=R,U.counter=0,U.done=!1,S(this,U)};return _.prototype=x?b:A,_},B1}var H1,tU;function o_(){return tU||(tU=1,H1=function(e,t){var r=typeof Iterator=="function"&&Iterator.prototype[e];if(r)try{r.call({next:null},t).next()}catch{return!0}}),H1}var z1,rU;function Iu(){if(rU)return z1;rU=1;var e=er();return z1=function(t,r){var n=e.Iterator,i=n&&n.prototype,a=i&&i[t],o=!1;if(a)try{a.call({next:function(){return{done:!0}},return:function(){o=!0}},-1)}catch(u){u instanceof r||(o=!1)}if(!o)return a},z1}var nU;function hfe(){if(nU)return K4;nU=1;var e=Ve(),t=Sr(),r=Tr(),n=to(),i=ste(),a=zP(),o=Ua(),u=fh(),s=o_(),c=Iu(),d=Un(),h=!d&&!s("drop",0),v=!d&&!h&&c("drop",RangeError),g=d||h||v,m=u(function(){for(var y=this.iterator,S=this.next,w,b;this.remaining;)if(this.remaining--,w=r(t(S,y)),b=this.done=!!w.done,b)return;if(w=r(t(S,y)),b=this.done=!!w.done,!b)return w.value});return e({target:"Iterator",proto:!0,real:!0,forced:g},{drop:function(S){r(this);var w;try{w=a(i(+S))}catch(b){o(this,"throw",b)}return v?t(v,this,w):new m(n(this),{remaining:w})}}),K4}var iU={},aU;function vfe(){if(aU)return iU;aU=1;var e=Ve(),t=Sr(),r=ha(),n=_n(),i=Tr(),a=to(),o=Ua(),u=Iu(),s=u("every",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{every:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),v=0;return!r(h,function(g,m){if(!d(g,v++))return m()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),iU}var oU={},sU;function pfe(){if(sU)return oU;sU=1;var e=Ve(),t=Sr(),r=_n(),n=Tr(),i=to(),a=fh(),o=$P(),u=Un(),s=Ua(),c=o_(),d=Iu(),h=!u&&!c("filter",function(){}),v=!u&&!h&&d("filter",TypeError),g=u||h||v,m=a(function(){for(var y=this.iterator,S=this.predicate,w=this.next,b,A,R;;){if(b=n(t(w,y)),A=this.done=!!b.done,A)return;if(R=b.value,o(y,S,[R,this.counter++],!0))return R}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{filter:function(S){n(this);try{r(S)}catch(w){s(this,"throw",w)}return v?t(v,this,S):new m(i(this),{predicate:S})}}),oU}var uU={},lU;function gfe(){if(lU)return uU;lU=1;var e=Ve(),t=Sr(),r=ha(),n=_n(),i=Tr(),a=to(),o=Ua(),u=Iu(),s=u("find",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{find:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),v=0;return r(h,function(g,m){if(d(g,v++))return m(g)},{IS_RECORD:!0,INTERRUPTED:!0}).result}}),uU}var cU={},W1,fU;function ute(){if(fU)return W1;fU=1;var e=Sr(),t=Tr(),r=to(),n=_f();return W1=function(i,a){(!a||typeof i!="string")&&t(i);var o=n(i);return r(t(o!==void 0?e(o,i):i))},W1}var dU;function mfe(){if(dU)return cU;dU=1;var e=Ve(),t=Sr(),r=_n(),n=Tr(),i=to(),a=ute(),o=fh(),u=Ua(),s=Un(),c=o_(),d=Iu(),h=!s&&!c("flatMap",function(){}),v=!s&&!h&&d("flatMap",TypeError),g=s||h||v,m=o(function(){for(var y=this.iterator,S=this.mapper,w,b;;){if(b=this.inner)try{if(w=n(t(b.next,b.iterator)),!w.done)return w.value;this.inner=null}catch(A){u(y,"throw",A)}if(w=n(t(this.next,y)),this.done=!!w.done)return;try{this.inner=a(S(w.value,this.counter++),!1)}catch(A){u(y,"throw",A)}}});return e({target:"Iterator",proto:!0,real:!0,forced:g},{flatMap:function(S){n(this);try{r(S)}catch(w){u(this,"throw",w)}return v?t(v,this,S):new m(i(this),{mapper:S,inner:null})}}),cU}var hU={},vU;function yfe(){if(vU)return hU;vU=1;var e=Ve(),t=Sr(),r=ha(),n=_n(),i=Tr(),a=to(),o=Ua(),u=Iu(),s=u("forEach",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{forEach:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),v=0;r(h,function(g){d(g,v++)},{IS_RECORD:!0})}}),hU}var pU={},gU;function _fe(){if(gU)return pU;gU=1;var e=Ve(),t=Sr(),r=kn(),n=yo(),i=uh().IteratorPrototype,a=fh(),o=ute(),u=Un(),s=u||(function(){try{Iterator.from({return:null}).return()}catch{return!0}})(),c=a(function(){return t(this.next,this.iterator)},!0);return e({target:"Iterator",stat:!0,forced:s},{from:function(h){var v=o(typeof h=="string"?r(h):h,!0);return n(i,v.iterator)?v.iterator:new c(v)}}),pU}var mU={},yU;function Sfe(){if(yU)return mU;yU=1;var e=Ve(),t=Sr(),r=_n(),n=Tr(),i=to(),a=fh(),o=$P(),u=Ua(),s=o_(),c=Iu(),d=Un(),h=!d&&!s("map",function(){}),v=!d&&!h&&c("map",TypeError),g=d||h||v,m=a(function(){var y=this.iterator,S=n(t(this.next,y)),w=this.done=!!S.done;if(!w)return o(y,this.mapper,[S.value,this.counter++],!0)});return e({target:"Iterator",proto:!0,real:!0,forced:g},{map:function(S){n(this);try{r(S)}catch(w){u(this,"throw",w)}return v?t(v,this,S):new m(i(this),{mapper:S})}}),mU}var _U={},SU;function Efe(){if(SU)return _U;SU=1;var e=Ve(),t=ha(),r=_n(),n=Tr(),i=to(),a=Ua(),o=Iu(),u=fs(),s=zt(),c=TypeError,d=s(function(){[].keys().reduce(function(){},void 0)}),h=!d&&o("reduce",c);return e({target:"Iterator",proto:!0,real:!0,forced:d||h},{reduce:function(g){n(this);try{r(g)}catch(b){a(this,"throw",b)}var m=arguments.length<2,y=m?void 0:arguments[1];if(h)return u(h,this,m?[g]:[g,y]);var S=i(this),w=0;if(t(S,function(b){m?(m=!1,y=b):y=g(y,b,w),w++},{IS_RECORD:!0}),m)throw new c("Reduce of empty iterator with no initial value");return y}}),_U}var EU={},wU;function wfe(){if(wU)return EU;wU=1;var e=Ve(),t=Sr(),r=ha(),n=_n(),i=Tr(),a=to(),o=Ua(),u=Iu(),s=u("some",TypeError);return e({target:"Iterator",proto:!0,real:!0,forced:s},{some:function(d){i(this);try{n(d)}catch(g){o(this,"throw",g)}if(s)return t(s,this,d);var h=a(this),v=0;return r(h,function(g,m){if(d(g,v++))return m()},{IS_RECORD:!0,INTERRUPTED:!0}).stopped}}),EU}var bU={},TU;function bfe(){if(TU)return bU;TU=1;var e=Ve(),t=Sr(),r=Tr(),n=to(),i=ste(),a=zP(),o=fh(),u=Ua(),s=Iu(),c=Un(),d=!c&&s("take",RangeError),h=o(function(){var v=this.iterator;if(!this.remaining--)return this.done=!0,u(v,"normal",void 0);var g=r(t(this.next,v)),m=this.done=!!g.done;if(!m)return g.value});return e({target:"Iterator",proto:!0,real:!0,forced:c||d},{take:function(g){r(this);var m;try{m=a(i(+g))}catch(y){u(this,"throw",y)}return d?t(d,this,m):new h(n(this),{remaining:m})}}),bU}var RU={},xU;function Tfe(){if(xU)return RU;xU=1;var e=Ve(),t=Tr(),r=ha(),n=to(),i=[].push;return e({target:"Iterator",proto:!0,real:!0},{toArray:function(){var o=[];return r(n(t(this)),i,{that:o,IS_RECORD:!0}),o}}),RU}var CU={},AU;function Rfe(){if(AU)return CU;AU=1;var e=er(),t=qo();return t(e.JSON,"JSON",!0),CU}var OU={},IU={},G1={exports:{}},Y1,PU;function WP(){if(PU)return Y1;PU=1;var e=zt();return Y1=e(function(){if(typeof ArrayBuffer=="function"){var t=new ArrayBuffer(8);Object.isExtensible(t)&&Object.defineProperty(t,"a",{value:8})}}),Y1}var K1,DU;function GP(){if(DU)return K1;DU=1;var e=zt(),t=Gr(),r=Za(),n=WP(),i=Object.isExtensible,a=e(function(){});return K1=a||n?function(u){return!t(u)||n&&r(u)==="ArrayBuffer"?!1:i?i(u):!0}:i,K1}var X1,kU;function dh(){if(kU)return X1;kU=1;var e=zt();return X1=!e(function(){return Object.isExtensible(Object.preventExtensions({}))}),X1}var NU;function wf(){if(NU)return G1.exports;NU=1;var e=Ve(),t=Kt(),r=vp(),n=Gr(),i=Sn(),a=xi().f,o=pf(),u=PP(),s=GP(),c=nh(),d=dh(),h=!1,v=c("meta"),g=0,m=function(R){a(R,v,{value:{objectID:"O"+g++,weakData:{}}})},y=function(R,x){if(!n(R))return typeof R=="symbol"?R:(typeof R=="string"?"S":"P")+R;if(!i(R,v)){if(!s(R))return"F";if(!x)return"E";m(R)}return R[v].objectID},S=function(R,x){if(!i(R,v)){if(!s(R))return!0;if(!x)return!1;m(R)}return R[v].weakData},w=function(R){return d&&h&&s(R)&&!i(R,v)&&m(R),R},b=function(){A.enable=function(){},h=!0;var R=o.f,x=t([].splice),O={};O[v]=1,R(O).length&&(o.f=function(_){for(var P=R(_),N=0,U=P.length;N<U;N++)if(P[N]===v){x(P,N,1);break}return P},e({target:"Object",stat:!0,forced:!0},{getOwnPropertyNames:u.f}))},A=G1.exports={enable:b,fastKey:y,getWeakData:S,onFreeze:w};return r[v]=!0,G1.exports}var Q1,LU;function s_(){if(LU)return Q1;LU=1;var e=Ve(),t=er(),r=Kt(),n=gp(),i=Qn(),a=wf(),o=ha(),u=ds(),s=bn(),c=dl(),d=Gr(),h=zt(),v=Qy(),g=qo(),m=yf();return Q1=function(y,S,w){var b=y.indexOf("Map")!==-1,A=y.indexOf("Weak")!==-1,R=b?"set":"add",x=t[y],O=x&&x.prototype,_=x,P={},N=function(ee){var ne=r(O[ee]);i(O,ee,ee==="add"?function(I){return ne(this,I===0?0:I),this}:ee==="delete"?function(D){return A&&!d(D)?!1:ne(this,D===0?0:D)}:ee==="get"?function(I){return A&&!d(I)?void 0:ne(this,I===0?0:I)}:ee==="has"?function(I){return A&&!d(I)?!1:ne(this,I===0?0:I)}:function(I,L){return ne(this,I===0?0:I,L),this})},U=n(y,!s(x)||!(A||O.forEach&&!h(function(){new x().entries().next()})));if(U)_=w.getConstructor(S,y,b,R),a.enable();else if(n(y,!0)){var $=new _,B=$[R](A?{}:-0,1)!==$,Y=h(function(){$.has(1)}),Q=v(function(ee){new x(ee)}),K=!A&&h(function(){for(var ee=new x,ne=5;ne--;)ee[R](ne,ne);return!ee.has(-0)});Q||(_=S(function(ee,ne){u(ee,O);var D=m(new x,ee,_);return c(ne)||o(ne,D[R],{that:D,AS_ENTRIES:b}),D}),_.prototype=O,O.constructor=_),(Y||K)&&(N("delete"),N("has"),b&&N("get")),(K||B)&&N(R),A&&O.clear&&delete O.clear}return P[y]=_,e({global:!0,constructor:!0,forced:_!==x},P),g(_,y),A||w.setStrong(_,y,b),_},Q1}var J1,MU;function lte(){if(MU)return J1;MU=1;var e=Fa(),t=ta(),r=gl(),n=cs(),i=ds(),a=dl(),o=ha(),u=jP(),s=Ef(),c=ch(),d=Ir(),h=wf().fastKey,v=qi(),g=v.set,m=v.getterFor;return J1={getConstructor:function(y,S,w,b){var A=y(function(P,N){i(P,R),g(P,{type:S,index:e(null),first:null,last:null,size:0}),d||(P.size=0),a(N)||o(N,P[b],{that:P,AS_ENTRIES:w})}),R=A.prototype,x=m(S),O=function(P,N,U){var $=x(P),B=_(P,N),Y,Q;return B?B.value=U:($.last=B={index:Q=h(N,!0),key:N,value:U,previous:Y=$.last,next:null,removed:!1},$.first||($.first=B),Y&&(Y.next=B),d?$.size++:P.size++,Q!=="F"&&($.index[Q]=B)),P},_=function(P,N){var U=x(P),$=h(N),B;if($!=="F")return U.index[$];for(B=U.first;B;B=B.next)if(B.key===N)return B};return r(R,{clear:function(){for(var N=this,U=x(N),$=U.first;$;)$.removed=!0,$.previous&&($.previous=$.previous.next=null),$=$.next;U.first=U.last=null,U.index=e(null),d?U.size=0:N.size=0},delete:function(P){var N=this,U=x(N),$=_(N,P);if($){var B=$.next,Y=$.previous;delete U.index[$.index],$.removed=!0,Y&&(Y.next=B),B&&(B.previous=Y),U.first===$&&(U.first=B),U.last===$&&(U.last=Y),d?U.size--:N.size--}return!!$},forEach:function(N){for(var U=x(this),$=n(N,arguments.length>1?arguments[1]:void 0),B;B=B?B.next:U.first;)for($(B.value,B.key,this);B&&B.removed;)B=B.previous},has:function(N){return!!_(this,N)}}),r(R,w?{get:function(N){var U=_(this,N);return U&&U.value},set:function(N,U){return O(this,N===0?0:N,U)}}:{add:function(N){return O(this,N=N===0?0:N,N)}}),d&&t(R,"size",{configurable:!0,get:function(){return x(this).size}}),A},setStrong:function(y,S,w){var b=S+" Iterator",A=m(S),R=m(b);u(y,S,function(x,O){g(this,{type:b,target:x,state:A(x),kind:O,last:null})},function(){for(var x=R(this),O=x.kind,_=x.last;_&&_.removed;)_=_.previous;return!x.target||!(x.last=_=_?_.next:x.state.first)?(x.target=null,s(void 0,!0)):s(O==="keys"?_.key:O==="values"?_.value:[_.key,_.value],!1)},w?"entries":"values",!w,!0),c(S)}},J1}var $U;function xfe(){if($U)return IU;$U=1;var e=s_(),t=lte();return e("Map",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),IU}var FU;function Cfe(){return FU||(FU=1,xfe()),OU}var jU={},Z1,UU;function cte(){if(UU)return Z1;UU=1;var e=Kt(),t=Map.prototype;return Z1={Map,set:e(t.set),get:e(t.get),has:e(t.has),remove:e(t.delete),proto:t},Z1}var qU;function Afe(){if(qU)return jU;qU=1;var e=Ve(),t=Kt(),r=_n(),n=Pi(),i=ha(),a=cte(),o=Un(),u=zt(),s=a.Map,c=a.has,d=a.get,h=a.set,v=t([].push),g=o||u(function(){return s.groupBy("ab",function(m){return m}).get("a").length!==1});return e({target:"Map",stat:!0,forced:o||g},{groupBy:function(y,S){n(y),r(S);var w=new s,b=0;return i(y,function(A){var R=S(A,b++);c(w,R)?v(d(w,R),A):h(w,R,[A])}),w}}),jU}var VU={},eb,BU;function fte(){if(BU)return eb;BU=1;var e=Math.log;return eb=Math.log1p||function(r){var n=+r;return n>-1e-8&&n<1e-8?n-n*n/2:e(1+n)},eb}var HU;function Ofe(){if(HU)return VU;HU=1;var e=Ve(),t=fte(),r=Math.acosh,n=Math.log,i=Math.sqrt,a=Math.LN2,o=!r||Math.floor(r(Number.MAX_VALUE))!==710||r(1/0)!==1/0;return e({target:"Math",stat:!0,forced:o},{acosh:function(s){var c=+s;return c<1?NaN:c>9490626562425156e-8?n(c)+a:t(c-1+i(c-1)*i(c+1))}}),VU}var zU={},WU;function Ife(){if(WU)return zU;WU=1;var e=Ve(),t=Math.asinh,r=Math.log,n=Math.sqrt;function i(o){var u=+o;return!isFinite(u)||u===0?u:u<0?-i(-u):r(u+n(u*u+1))}var a=!(t&&1/t(0)>0);return e({target:"Math",stat:!0,forced:a},{asinh:i}),zU}var GU={},YU;function Pfe(){if(YU)return GU;YU=1;var e=Ve(),t=Math.atanh,r=Math.log,n=!(t&&1/t(-0)<0);return e({target:"Math",stat:!0,forced:n},{atanh:function(a){var o=+a;return o===0?o:r((1+o)/(1-o))/2}}),GU}var KU={},XU;function Dfe(){if(XU)return KU;XU=1;var e=Ve(),t=BP(),r=Math.abs,n=Math.pow;return e({target:"Math",stat:!0},{cbrt:function(a){var o=+a;return t(o)*n(r(o),1/3)}}),KU}var QU={},JU;function kfe(){if(JU)return QU;JU=1;var e=Ve(),t=Math.floor,r=Math.log,n=Math.LOG2E;return e({target:"Math",stat:!0},{clz32:function(a){var o=a>>>0;return o?31-t(r(o+.5)*n):32}}),QU}var ZU={},tb,e6;function u_(){if(e6)return tb;e6=1;var e=Math.expm1,t=Math.exp;return tb=!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,tb}var t6;function Nfe(){if(t6)return ZU;t6=1;var e=Ve(),t=u_(),r=Math.cosh,n=Math.abs,i=Math.E,a=!r||r(710)===1/0;return e({target:"Math",stat:!0,forced:a},{cosh:function(u){var s=t(n(u)-1)+1;return(s+1/(s*i*i))*(i/2)}}),ZU}var r6={},n6;function Lfe(){if(n6)return r6;n6=1;var e=Ve(),t=u_();return e({target:"Math",stat:!0,forced:t!==Math.expm1},{expm1:t}),r6}var i6={},a6;function Mfe(){if(a6)return i6;a6=1;var e=Ve(),t=Jee();return e({target:"Math",stat:!0},{fround:t}),i6}var o6={},s6;function $fe(){if(s6)return o6;s6=1;var e=Ve(),t=Qee(),r=.0009765625,n=65504,i=6103515625e-14;return e({target:"Math",stat:!0},{f16round:function(o){return t(o,r,n,i)}}),o6}var u6={},l6;function Ffe(){if(l6)return u6;l6=1;var e=Ve(),t=Math.hypot,r=Math.abs,n=Math.sqrt,i=!!t&&t(1/0,NaN)!==1/0;return e({target:"Math",stat:!0,arity:2,forced:i},{hypot:function(o,u){for(var s=0,c=0,d=arguments.length,h=0,v,g;c<d;)v=r(arguments[c++]),h<v?(g=h/v,s=s*g*g+1,h=v):v>0?(g=v/h,s+=g*g):s+=v;return h===1/0?1/0:h*n(s)}}),u6}var c6={},f6;function jfe(){if(f6)return c6;f6=1;var e=Ve(),t=zt(),r=Math.imul,n=t(function(){return r(4294967295,5)!==-5||r.length!==2});return e({target:"Math",stat:!0,forced:n},{imul:function(a,o){var u=65535,s=+a,c=+o,d=u&s,h=u&c;return 0|d*h+((u&s>>>16)*h+d*(u&c>>>16)<<16>>>0)}}),c6}var d6={},rb,h6;function dte(){if(h6)return rb;h6=1;var e=Math.log,t=Math.LOG10E;return rb=Math.log10||function(n){return e(n)*t},rb}var v6;function Ufe(){if(v6)return d6;v6=1;var e=Ve(),t=dte();return e({target:"Math",stat:!0},{log10:t}),d6}var p6={},g6;function qfe(){if(g6)return p6;g6=1;var e=Ve(),t=fte();return e({target:"Math",stat:!0},{log1p:t}),p6}var m6={},y6;function Vfe(){if(y6)return m6;y6=1;var e=Ve(),t=Zee();return e({target:"Math",stat:!0},{log2:t}),m6}var _6={},S6;function Bfe(){if(S6)return _6;S6=1;var e=Ve(),t=BP();return e({target:"Math",stat:!0},{sign:t}),_6}var E6={},w6;function Hfe(){if(w6)return E6;w6=1;var e=Ve(),t=zt(),r=u_(),n=Math.abs,i=Math.exp,a=Math.E,o=t(function(){return Math.sinh(-2e-17)!==-2e-17});return e({target:"Math",stat:!0,forced:o},{sinh:function(s){var c=+s;return n(c)<1?(r(c)-r(-c))/2:(i(c-1)-i(-c-1))*(a/2)}}),E6}var b6={},T6;function zfe(){if(T6)return b6;T6=1;var e=Ve(),t=Kt(),r=ha(),n=RangeError,i=TypeError,a=1/0,o=NaN,u=Math.abs,s=Math.pow,c=t([].push),d=s(2,1023),h=s(2,53)-1,v=Number.MAX_VALUE,g=s(2,971),m={},y={},S={},w={},b={},A=function(R,x){var O=R+x,_=x-(O-R);return{hi:O,lo:_}};return e({target:"Math",stat:!0},{sumPrecise:function(x){var O=[],_=0,P=w;switch(r(x,function(ce){if(++_>=h)throw new n("Maximum allowed index exceeded");if(typeof ce!="number")throw new i("Value is not a number");P!==m&&(ce!==ce?P=m:ce===a?P=P===y?m:S:ce===-a?P=P===S?m:y:(ce!==0||1/ce===a)&&(P===w||P===b)&&(P=b,c(O,ce)))}),P){case m:return o;case y:return-a;case S:return a;case w:return-0}for(var N=[],U=0,$,B,Y,Q,K,ee,ne=0;ne<O.length;ne++){$=O[ne];for(var D=0,I=0;I<N.length;I++){if(B=N[I],u($)<u(B)&&(ee=$,$=B,B=ee),Y=A($,B),Q=Y.hi,K=Y.lo,u(Q)===a){var L=Q===a?1:-1;U+=L,$=$-L*d-L*d,u($)<u(B)&&(ee=$,$=B,B=ee),Y=A($,B),Q=Y.hi,K=Y.lo}K!==0&&(N[D++]=K),$=Q}N.length=D,$!==0&&c(N,$)}var re=N.length-1;if(Q=0,K=0,U!==0){var te=re>=0?N[re]:0;if(re--,u(U)>1||U>0&&te>0||U<0&&te<0)return U>0?a:-a;if(Y=A(U*d,te/2),Q=Y.hi,K=Y.lo,K*=2,u(2*Q)===a)return Q>0?Q===d&&K===-(g/2)&&re>=0&&N[re]<0?v:a:Q===-d&&K===g/2&&re>=0&&N[re]>0?-v:-a;K!==0&&(N[++re]=K,K=0),Q*=2}for(;re>=0&&(Y=A(Q,N[re--]),Q=Y.hi,K=Y.lo,K===0););return re>=0&&(K<0&&N[re]<0||K>0&&N[re]>0)&&(B=K*2,$=Q+B,B===$-Q&&(Q=$)),Q}}),b6}var R6={},x6;function Wfe(){if(x6)return R6;x6=1;var e=Ve(),t=u_(),r=Math.exp;return e({target:"Math",stat:!0},{tanh:function(i){var a=+i,o=t(a),u=t(-a);return o===1/0?1:u===1/0?-1:(o-u)/(r(a)+r(-a))}}),R6}var C6={},A6;function Gfe(){if(A6)return C6;A6=1;var e=qo();return e(Math,"Math",!0),C6}var O6={},I6;function Yfe(){if(I6)return O6;I6=1;var e=Ve(),t=xee();return e({target:"Math",stat:!0},{trunc:t}),O6}var P6={},nb,D6;function l_(){if(D6)return nb;D6=1;var e=Kt();return nb=e(1.1.valueOf),nb}var ib,k6;function bp(){return k6||(k6=1,ib=`
|
|
3
|
-
\v\f\r \u2028\u2029\uFEFF`),ib}var ab,N6;function hh(){if(N6)return ab;N6=1;var e=Kt(),t=Pi(),r=rn(),n=bp(),i=e("".replace),a=RegExp("^["+n+"]+"),o=RegExp("(^|[^"+n+"])["+n+"]+$"),u=function(s){return function(c){var d=r(t(c));return s&1&&(d=i(d,a,"")),s&2&&(d=i(d,o,"$1")),d}};return ab={start:u(1),end:u(2),trim:u(3)},ab}var L6;function Kfe(){if(L6)return P6;L6=1;var e=Ve(),t=Un(),r=Ir(),n=er(),i=Gy(),a=Kt(),o=gp(),u=Sn(),s=yf(),c=yo(),d=hf(),h=By(),v=zt(),g=pf().f,m=Ma().f,y=xi().f,S=l_(),w=hh().trim,b="Number",A=n[b],R=i[b],x=A.prototype,O=n.TypeError,_=a("".slice),P=a("".charCodeAt),N=function(K){var ee=h(K,"number");return typeof ee=="bigint"?ee:U(ee)},U=function(K){var ee=h(K,"number"),ne,D,I,L,re,te,ce,be;if(d(ee))throw new O("Cannot convert a Symbol value to a number");if(typeof ee=="string"&&ee.length>2){if(ee=w(ee),ne=P(ee,0),ne===43||ne===45){if(D=P(ee,2),D===88||D===120)return NaN}else if(ne===48){switch(P(ee,1)){case 66:case 98:I=2,L=49;break;case 79:case 111:I=8,L=55;break;default:return+ee}for(re=_(ee,2),te=re.length,ce=0;ce<te;ce++)if(be=P(re,ce),be<48||be>L)return NaN;return parseInt(re,I)}}return+ee},$=o(b,!A(" 0o1")||!A("0b1")||A("+0x1")),B=function(K){return c(x,K)&&v(function(){S(K)})},Y=function(ee){var ne=arguments.length<1?0:A(N(ee));return B(this)?s(Object(ne),this,Y):ne};Y.prototype=x,$&&!t&&(x.constructor=Y),e({global:!0,constructor:!0,wrap:!0,forced:$},{Number:Y});var Q=function(K,ee){for(var ne=r?g(ee):"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(","),D=0,I;ne.length>D;D++)u(ee,I=ne[D])&&!u(K,I)&&y(K,I,m(ee,I))};return t&&R&&Q(i[b],R),($||t)&&Q(i[b],A),P6}var M6={},$6;function Xfe(){if($6)return M6;$6=1;var e=Ve();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{EPSILON:Math.pow(2,-52)}),M6}var F6={},ob,j6;function Qfe(){if(j6)return ob;j6=1;var e=er(),t=e.isFinite;return ob=Number.isFinite||function(n){return typeof n=="number"&&t(n)},ob}var U6;function Jfe(){if(U6)return F6;U6=1;var e=Ve(),t=Qfe();return e({target:"Number",stat:!0},{isFinite:t}),F6}var q6={},sb,V6;function YP(){if(V6)return sb;V6=1;var e=Gr(),t=Math.floor;return sb=Number.isInteger||function(n){return!e(n)&&isFinite(n)&&t(n)===n},sb}var B6;function Zfe(){if(B6)return q6;B6=1;var e=Ve(),t=YP();return e({target:"Number",stat:!0},{isInteger:t}),q6}var H6={},z6;function ede(){if(z6)return H6;z6=1;var e=Ve();return e({target:"Number",stat:!0},{isNaN:function(r){return r!==r}}),H6}var W6={},G6;function tde(){if(G6)return W6;G6=1;var e=Ve(),t=YP(),r=Math.abs;return e({target:"Number",stat:!0},{isSafeInteger:function(i){return t(i)&&r(i)<=9007199254740991}}),W6}var Y6={},K6;function rde(){if(K6)return Y6;K6=1;var e=Ve();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MAX_SAFE_INTEGER:9007199254740991}),Y6}var X6={},Q6;function nde(){if(Q6)return X6;Q6=1;var e=Ve();return e({target:"Number",stat:!0,nonConfigurable:!0,nonWritable:!0},{MIN_SAFE_INTEGER:-9007199254740991}),X6}var J6={},ub,Z6;function hte(){if(Z6)return ub;Z6=1;var e=er(),t=zt(),r=Kt(),n=rn(),i=hh().trim,a=bp(),o=r("".charAt),u=e.parseFloat,s=e.Symbol,c=s&&s.iterator,d=1/u(a+"-0")!==-1/0||c&&!t(function(){u(Object(c))});return ub=d?function(v){var g=i(n(v)),m=u(g);return m===0&&o(g,0)==="-"?-0:m}:u,ub}var e5;function ide(){if(e5)return J6;e5=1;var e=Ve(),t=hte();return e({target:"Number",stat:!0,forced:Number.parseFloat!==t},{parseFloat:t}),J6}var t5={},lb,r5;function vte(){if(r5)return lb;r5=1;var e=er(),t=zt(),r=Kt(),n=rn(),i=hh().trim,a=bp(),o=e.parseInt,u=e.Symbol,s=u&&u.iterator,c=/^[+-]?0x/i,d=r(c.exec),h=o(a+"08")!==8||o(a+"0x16")!==22||s&&!t(function(){o(Object(s))});return lb=h?function(g,m){var y=i(n(g));return o(y,m>>>0||(d(c,y)?16:10))}:o,lb}var n5;function ade(){if(n5)return t5;n5=1;var e=Ve(),t=vte();return e({target:"Number",stat:!0,forced:Number.parseInt!==t},{parseInt:t}),t5}var i5={},a5;function ode(){if(a5)return i5;a5=1;var e=Ve(),t=Kt(),r=Gi(),n=l_(),i=i_(),a=dte(),o=zt(),u=RangeError,s=String,c=isFinite,d=Math.abs,h=Math.floor,v=Math.pow,g=Math.round,m=t(1.1.toExponential),y=t(i),S=t("".slice),w=m(-69e-12,4)==="-6.9000e-11"&&m(1.255,2)==="1.25e+0"&&m(12345,3)==="1.235e+4"&&m(25,0)==="3e+1",b=function(){return o(function(){m(1,1/0)})&&o(function(){m(1,-1/0)})},A=function(){return!o(function(){m(1/0,1/0),m(NaN,1/0)})},R=!w||!b()||!A();return e({target:"Number",proto:!0,forced:R},{toExponential:function(O){var _=n(this);if(O===void 0)return m(_);var P=r(O);if(!c(_))return String(_);if(P<0||P>20)throw new u("Incorrect fraction digits");if(w)return m(_,P);var N="",U,$,B,Y;if(_<0&&(N="-",_=-_),_===0)$=0,U=y("0",P+1);else{var Q=a(_);$=h(Q);var K=v(10,$-P),ee=g(_/K);2*_>=(2*ee+1)*K&&(ee+=1),ee>=v(10,P+1)&&(ee/=10,$+=1),U=s(ee)}return P!==0&&(U=S(U,0,1)+"."+S(U,1)),$===0?(B="+",Y="0"):(B=$>0?"+":"-",Y=s(d($))),U+="e"+B+Y,N+U}}),i5}var o5={},s5;function sde(){if(s5)return o5;s5=1;var e=Ve(),t=Kt(),r=Gi(),n=l_(),i=i_(),a=zt(),o=RangeError,u=String,s=Math.floor,c=t(i),d=t("".slice),h=t(1.1.toFixed),v=function(b,A,R){return A===0?R:A%2===1?v(b,A-1,R*b):v(b*b,A/2,R)},g=function(b){for(var A=0,R=b;R>=4096;)A+=12,R/=4096;for(;R>=2;)A+=1,R/=2;return A},m=function(b,A,R){for(var x=-1,O=R;++x<6;)O+=A*b[x],b[x]=O%1e7,O=s(O/1e7)},y=function(b,A){for(var R=6,x=0;--R>=0;)x+=b[R],b[R]=s(x/A),x=x%A*1e7},S=function(b){for(var A=6,R="";--A>=0;)if(R!==""||A===0||b[A]!==0){var x=u(b[A]);R=R===""?x:R+c("0",7-x.length)+x}return R},w=a(function(){return h(8e-5,3)!=="0.000"||h(.9,0)!=="1"||h(1.255,2)!=="1.25"||h(0xde0b6b3a7640080,0)!=="1000000000000000128"})||!a(function(){h({})});return e({target:"Number",proto:!0,forced:w},{toFixed:function(A){var R=n(this),x=r(A),O=[0,0,0,0,0,0],_="",P="0",N,U,$,B;if(x<0||x>20)throw new o("Incorrect fraction digits");if(R!==R)return"NaN";if(R<=-1e21||R>=1e21)return u(R);if(R<0&&(_="-",R=-R),R>1e-21)if(N=g(R*v(2,69,1))-69,U=N<0?R*v(2,-N,1):R/v(2,N,1),U*=4503599627370496,N=52-N,N>0){for(m(O,0,U),$=x;$>=7;)m(O,1e7,0),$-=7;for(m(O,v(10,$,1),0),$=N-1;$>=23;)y(O,1<<23),$-=23;y(O,1<<$),m(O,1,1),y(O,2),P=S(O)}else m(O,0,U),m(O,1<<-N,0),P=S(O)+c("0",x);return x>0?(B=P.length,P=_+(B<=x?"0."+c("0",x-B)+P:d(P,0,B-x)+"."+d(P,B-x))):P=_+P,P}}),o5}var u5={},l5;function ude(){if(l5)return u5;l5=1;var e=Ve(),t=Kt(),r=zt(),n=l_(),i=t(1.1.toPrecision),a=r(function(){return i(1,void 0)!=="1"})||!r(function(){i({})});return e({target:"Number",proto:!0,forced:a},{toPrecision:function(u){return u===void 0?i(n(this)):i(n(this),u)}}),u5}var c5={},cb,f5;function pte(){if(f5)return cb;f5=1;var e=Ir(),t=Kt(),r=Sr(),n=zt(),i=mp(),a=Wy(),o=qy(),u=kn(),s=eh(),c=Object.assign,d=Object.defineProperty,h=t([].concat);return cb=!c||n(function(){if(e&&c({b:1},c(d({},"a",{enumerable:!0,get:function(){d(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var v={},g={},m=Symbol("assign detection"),y="abcdefghijklmnopqrst";return v[m]=7,y.split("").forEach(function(S){g[S]=S}),c({},v)[m]!==7||i(c({},g)).join("")!==y})?function(g,m){for(var y=u(g),S=arguments.length,w=1,b=a.f,A=o.f;S>w;)for(var R=s(arguments[w++]),x=b?h(i(R),b(R)):i(R),O=x.length,_=0,P;O>_;)P=x[_++],(!e||r(A,R,P))&&(y[P]=R[P]);return y}:c,cb}var d5;function lde(){if(d5)return c5;d5=1;var e=Ve(),t=pte();return e({target:"Object",stat:!0,arity:2,forced:Object.assign!==t},{assign:t}),c5}var h5={},v5;function cde(){if(v5)return h5;v5=1;var e=Ve(),t=Ir(),r=Fa();return e({target:"Object",stat:!0,sham:!t},{create:r}),h5}var p5={},fb,g5;function c_(){if(g5)return fb;g5=1;var e=Un(),t=er(),r=zt(),n=VP();return fb=e||!r(function(){if(!(n&&n<535)){var i=Math.random();__defineSetter__.call(null,i,function(){}),delete t[i]}}),fb}var m5;function fde(){if(m5)return p5;m5=1;var e=Ve(),t=Ir(),r=c_(),n=_n(),i=kn(),a=xi();return t&&e({target:"Object",proto:!0,forced:r},{__defineGetter__:function(u,s){a.f(i(this),u,{get:n(s),enumerable:!0,configurable:!0})}}),p5}var y5={},_5;function dde(){if(_5)return y5;_5=1;var e=Ve(),t=Ir(),r=IP().f;return e({target:"Object",stat:!0,forced:Object.defineProperties!==r,sham:!t},{defineProperties:r}),y5}var S5={},E5;function hde(){if(E5)return S5;E5=1;var e=Ve(),t=Ir(),r=xi().f;return e({target:"Object",stat:!0,forced:Object.defineProperty!==r,sham:!t},{defineProperty:r}),S5}var w5={},b5;function vde(){if(b5)return w5;b5=1;var e=Ve(),t=Ir(),r=c_(),n=_n(),i=kn(),a=xi();return t&&e({target:"Object",proto:!0,forced:r},{__defineSetter__:function(u,s){a.f(i(this),u,{set:n(s),enumerable:!0,configurable:!0})}}),w5}var T5={},db,R5;function gte(){if(R5)return db;R5=1;var e=Ir(),t=zt(),r=Kt(),n=_o(),i=mp(),a=Ra(),o=qy().f,u=r(o),s=r([].push),c=e&&t(function(){var h=Object.create(null);return h[2]=2,!u(h,2)}),d=function(h){return function(v){for(var g=a(v),m=i(g),y=c&&n(g)===null,S=m.length,w=0,b=[],A;S>w;)A=m[w++],(!e||(y?A in g:u(g,A)))&&s(b,h?[A,g[A]]:g[A]);return b}};return db={entries:d(!0),values:d(!1)},db}var x5;function pde(){if(x5)return T5;x5=1;var e=Ve(),t=gte().entries;return e({target:"Object",stat:!0},{entries:function(n){return t(n)}}),T5}var C5={},A5;function gde(){if(A5)return C5;A5=1;var e=Ve(),t=dh(),r=zt(),n=Gr(),i=wf().onFreeze,a=Object.freeze,o=r(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!t},{freeze:function(s){return a&&n(s)?a(i(s)):s}}),C5}var O5={},I5;function mde(){if(I5)return O5;I5=1;var e=Ve(),t=ha(),r=vl();return e({target:"Object",stat:!0},{fromEntries:function(i){var a={};return t(i,function(o,u){r(a,o,u)},{AS_ENTRIES:!0}),a}}),O5}var P5={},D5;function yde(){if(D5)return P5;D5=1;var e=Ve(),t=zt(),r=Ra(),n=Ma().f,i=Ir(),a=!i||t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getOwnPropertyDescriptor:function(u,s){return n(r(u),s)}}),P5}var k5={},N5;function _de(){if(N5)return k5;N5=1;var e=Ve(),t=Ir(),r=AP(),n=Ra(),i=Ma(),a=vl();return e({target:"Object",stat:!0,sham:!t},{getOwnPropertyDescriptors:function(u){for(var s=n(u),c=i.f,d=r(s),h={},v=0,g,m;d.length>v;)m=c(s,g=d[v++]),m!==void 0&&a(h,g,m);return h}}),k5}var L5={},M5;function Sde(){if(M5)return L5;M5=1;var e=Ve(),t=zt(),r=PP().f,n=t(function(){return!Object.getOwnPropertyNames(1)});return e({target:"Object",stat:!0,forced:n},{getOwnPropertyNames:r}),L5}var $5={},F5;function Ede(){if(F5)return $5;F5=1;var e=Ve(),t=zt(),r=kn(),n=_o(),i=NP(),a=t(function(){n(1)});return e({target:"Object",stat:!0,forced:a,sham:!i},{getPrototypeOf:function(u){return n(r(u))}}),$5}var j5={},U5;function wde(){if(U5)return j5;U5=1;var e=Ve(),t=yn(),r=Kt(),n=_n(),i=Pi(),a=oc(),o=ha(),u=zt(),s=Object.groupBy,c=t("Object","create"),d=r([].push),h=!s||u(function(){return s("ab",function(v){return v}).a.length!==1});return e({target:"Object",stat:!0,forced:h},{groupBy:function(g,m){i(g),n(m);var y=c(null),S=0;return o(g,function(w){var b=a(m(w,S++));b in y?d(y[b],w):y[b]=[w]}),y}}),j5}var q5={},V5;function bde(){if(V5)return q5;V5=1;var e=Ve(),t=Sn();return e({target:"Object",stat:!0},{hasOwn:t}),q5}var B5={},hb,H5;function mte(){return H5||(H5=1,hb=Object.is||function(t,r){return t===r?t!==0||1/t===1/r:t!==t&&r!==r}),hb}var z5;function Tde(){if(z5)return B5;z5=1;var e=Ve(),t=mte();return e({target:"Object",stat:!0},{is:t}),B5}var W5={},G5;function Rde(){if(G5)return W5;G5=1;var e=Ve(),t=GP();return e({target:"Object",stat:!0,forced:Object.isExtensible!==t},{isExtensible:t}),W5}var Y5={},K5;function xde(){if(K5)return Y5;K5=1;var e=Ve(),t=zt(),r=Gr(),n=Za(),i=WP(),a=Object.isFrozen,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isFrozen:function(s){return!r(s)||i&&n(s)==="ArrayBuffer"?!0:a?a(s):!1}}),Y5}var X5={},Q5;function Cde(){if(Q5)return X5;Q5=1;var e=Ve(),t=zt(),r=Gr(),n=Za(),i=WP(),a=Object.isSealed,o=i||t(function(){});return e({target:"Object",stat:!0,forced:o},{isSealed:function(s){return!r(s)||i&&n(s)==="ArrayBuffer"?!0:a?a(s):!1}}),X5}var J5={},Z5;function Ade(){if(Z5)return J5;Z5=1;var e=Ve(),t=kn(),r=mp(),n=zt(),i=n(function(){r(1)});return e({target:"Object",stat:!0,forced:i},{keys:function(o){return r(t(o))}}),J5}var eq={},tq;function Ode(){if(tq)return eq;tq=1;var e=Ve(),t=Ir(),r=c_(),n=kn(),i=oc(),a=_o(),o=Ma().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupGetter__:function(s){var c=n(this),d=i(s),h;do if(h=o(c,d))return h.get;while(c=a(c))}}),eq}var rq={},nq;function Ide(){if(nq)return rq;nq=1;var e=Ve(),t=Ir(),r=c_(),n=kn(),i=oc(),a=_o(),o=Ma().f;return t&&e({target:"Object",proto:!0,forced:r},{__lookupSetter__:function(s){var c=n(this),d=i(s),h;do if(h=o(c,d))return h.set;while(c=a(c))}}),rq}var iq={},aq;function Pde(){if(aq)return iq;aq=1;var e=Ve(),t=Gr(),r=wf().onFreeze,n=dh(),i=zt(),a=Object.preventExtensions,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{preventExtensions:function(s){return a&&t(s)?a(r(s)):s}}),iq}var oq={},sq;function Dde(){if(sq)return oq;sq=1;var e=Ir(),t=ta(),r=Gr(),n=kee(),i=kn(),a=Pi(),o=Object.getPrototypeOf,u=Object.setPrototypeOf,s=Object.prototype,c="__proto__";if(e&&o&&u&&!(c in s))try{t(s,c,{configurable:!0,get:function(){return o(i(this))},set:function(h){var v=a(this);n(h)&&r(v)&&u(v,h)}})}catch{}return oq}var uq={},lq;function kde(){if(lq)return uq;lq=1;var e=Ve(),t=Gr(),r=wf().onFreeze,n=dh(),i=zt(),a=Object.seal,o=i(function(){a(1)});return e({target:"Object",stat:!0,forced:o,sham:!n},{seal:function(s){return a&&t(s)?a(r(s)):s}}),uq}var cq={},fq;function Nde(){if(fq)return cq;fq=1;var e=Ve(),t=ru();return e({target:"Object",stat:!0},{setPrototypeOf:t}),cq}var dq={},vb,hq;function Lde(){if(hq)return vb;hq=1;var e=OP(),t=ls();return vb=e?{}.toString:function(){return"[object "+t(this)+"]"},vb}var vq;function Mde(){if(vq)return dq;vq=1;var e=OP(),t=Qn(),r=Lde();return e||t(Object.prototype,"toString",r,{unsafe:!0}),dq}var pq={},gq;function $de(){if(gq)return pq;gq=1;var e=Ve(),t=gte().values;return e({target:"Object",stat:!0},{values:function(n){return t(n)}}),pq}var mq={},yq;function Fde(){if(yq)return mq;yq=1;var e=Ve(),t=hte();return e({global:!0,forced:parseFloat!==t},{parseFloat:t}),mq}var _q={},Sq;function jde(){if(Sq)return _q;Sq=1;var e=Ve(),t=vte();return e({global:!0,forced:parseInt!==t},{parseInt:t}),_q}var Eq={},wq={},pb,bq;function KP(){if(bq)return pb;bq=1;var e=mf(),t=vf(),r=TypeError;return pb=function(n){if(e(n))return n;throw new r(t(n)+" is not a constructor")},pb}var gb,Tq;function f_(){if(Tq)return gb;Tq=1;var e=Tr(),t=KP(),r=dl(),n=Yr(),i=n("species");return gb=function(a,o){var u=e(a).constructor,s;return u===void 0||r(s=e(u)[i])?o:t(s)},gb}var mb,Rq;function Fs(){if(Rq)return mb;Rq=1;var e=TypeError;return mb=function(t,r){if(t<r)throw new e("Not enough arguments");return t},mb}var yb,xq;function yte(){if(xq)return yb;xq=1;var e=Au();return yb=/(?:ipad|iphone|ipod).*applewebkit/i.test(e),yb}var _b,Cq;function d_(){if(Cq)return _b;Cq=1;var e=er(),t=fs(),r=cs(),n=bn(),i=Sn(),a=zt(),o=Aee(),u=$s(),s=Hy(),c=Fs(),d=yte(),h=lh(),v=e.setImmediate,g=e.clearImmediate,m=e.process,y=e.Dispatch,S=e.Function,w=e.MessageChannel,b=e.String,A=0,R={},x="onreadystatechange",O,_,P,N;a(function(){O=e.location});var U=function(Q){if(i(R,Q)){var K=R[Q];delete R[Q],K()}},$=function(Q){return function(){U(Q)}},B=function(Q){U(Q.data)},Y=function(Q){e.postMessage(b(Q),O.protocol+"//"+O.host)};return(!v||!g)&&(v=function(K){c(arguments.length,1);var ee=n(K)?K:S(K),ne=u(arguments,1);return R[++A]=function(){t(ee,void 0,ne)},_(A),A},g=function(K){delete R[K]},h?_=function(Q){m.nextTick($(Q))}:y&&y.now?_=function(Q){y.now($(Q))}:w&&!d?(P=new w,N=P.port2,P.port1.onmessage=B,_=r(N.postMessage,N)):e.addEventListener&&n(e.postMessage)&&!e.importScripts&&O&&O.protocol!=="file:"&&!a(Y)?(_=Y,e.addEventListener("message",B,!1)):x in s("script")?_=function(Q){o.appendChild(s("script"))[x]=function(){o.removeChild(this),U(Q)}}:_=function(Q){setTimeout($(Q),0)}),_b={set:v,clear:g},_b}var Sb,Aq;function _te(){if(Aq)return Sb;Aq=1;var e=er(),t=Ir(),r=Object.getOwnPropertyDescriptor;return Sb=function(n){if(!t)return e[n];var i=r(e,n);return i&&i.value},Sb}var Eb,Oq;function Ste(){if(Oq)return Eb;Oq=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}}},Eb=e,Eb}var wb,Iq;function Ude(){if(Iq)return wb;Iq=1;var e=Au();return wb=/ipad|iphone|ipod/i.test(e)&&typeof Pebble<"u",wb}var bb,Pq;function qde(){if(Pq)return bb;Pq=1;var e=Au();return bb=/web0s(?!.*chrome)/i.test(e),bb}var Tb,Dq;function Ete(){if(Dq)return Tb;Dq=1;var e=er(),t=_te(),r=cs(),n=d_().set,i=Ste(),a=yte(),o=Ude(),u=qde(),s=lh(),c=e.MutationObserver||e.WebKitMutationObserver,d=e.document,h=e.process,v=e.Promise,g=t("queueMicrotask"),m,y,S,w,b;if(!g){var A=new i,R=function(){var x,O;for(s&&(x=h.domain)&&x.exit();O=A.get();)try{O()}catch(_){throw A.head&&m(),_}x&&x.enter()};!a&&!s&&!u&&c&&d?(y=!0,S=d.createTextNode(""),new c(R).observe(S,{characterData:!0}),m=function(){S.data=y=!y}):!o&&v&&v.resolve?(w=v.resolve(void 0),w.constructor=v,b=r(w.then,w),m=function(){b(R)}):s?m=function(){h.nextTick(R)}:(n=r(n,e),m=function(){n(R)}),g=function(x){A.head||m(),A.add(x)}}return Tb=g,Tb}var Rb,kq;function Vde(){return kq||(kq=1,Rb=function(e,t){try{arguments.length===1?console.error(e):console.error(e,t)}catch{}}),Rb}var xb,Nq;function vh(){return Nq||(Nq=1,xb=function(e){try{return{error:!1,value:e()}}catch(t){return{error:!0,value:t}}}),xb}var Cb,Lq;function ph(){if(Lq)return Cb;Lq=1;var e=er();return Cb=e.Promise,Cb}var Ab,Mq;function Tp(){if(Mq)return Ab;Mq=1;var e=er(),t=ph(),r=bn(),n=gp(),i=RP(),a=Yr(),o=e_(),u=Un(),s=Ou(),c=t&&t.prototype,d=a("species"),h=!1,v=r(e.PromiseRejectionEvent),g=n("Promise",function(){var m=i(t),y=m!==String(t);if(!y&&s===66||u&&!(c.catch&&c.finally))return!0;if(!s||s<51||!/native code/.test(m)){var S=new t(function(A){A(1)}),w=function(A){A(function(){},function(){})},b=S.constructor={};if(b[d]=w,h=S.then(function(){})instanceof w,!h)return!0}return!y&&(o==="BROWSER"||o==="DENO")&&!v});return Ab={CONSTRUCTOR:g,REJECTION_EVENT:v,SUBCLASSING:h},Ab}var Ob={},$q;function ml(){if($q)return Ob;$q=1;var e=_n(),t=TypeError,r=function(n){var i,a;this.promise=new n(function(o,u){if(i!==void 0||a!==void 0)throw new t("Bad Promise constructor");i=o,a=u}),this.resolve=e(i),this.reject=e(a)};return Ob.f=function(n){return new r(n)},Ob}var Fq;function Bde(){if(Fq)return wq;Fq=1;var e=Ve(),t=Un(),r=lh(),n=er(),i=Gy(),a=Sr(),o=Qn(),u=ru(),s=qo(),c=ch(),d=_n(),h=bn(),v=Gr(),g=ds(),m=f_(),y=d_().set,S=Ete(),w=Vde(),b=vh(),A=Ste(),R=qi(),x=ph(),O=Tp(),_=ml(),P="Promise",N=O.CONSTRUCTOR,U=O.REJECTION_EVENT,$=O.SUBCLASSING,B=R.getterFor(P),Y=R.set,Q=x&&x.prototype,K=x,ee=Q,ne=n.TypeError,D=n.document,I=n.process,L=_.f,re=L,te=!!(D&&D.createEvent&&n.dispatchEvent),ce="unhandledrejection",be="rejectionhandled",Ie=0,je=1,z=2,k=1,q=2,H,ie,V,Z,me=function(ke){var Le;return v(ke)&&h(Le=ke.then)?Le:!1},fe=function(ke,Le){var He=Le.value,_t=Le.state===je,jt=_t?ke.ok:ke.fail,Lt=ke.resolve,Qe=ke.reject,bt=ke.domain,mt,St,yt;try{jt?(_t||(Le.rejection===q&&de(Le),Le.rejection=k),jt===!0?mt=He:(bt&&bt.enter(),mt=jt(He),bt&&(bt.exit(),yt=!0)),mt===ke.promise?Qe(new ne("Promise-chain cycle")):(St=me(mt))?a(St,mt,Lt,Qe):Lt(mt)):Qe(He)}catch(at){bt&&!yt&&bt.exit(),Qe(at)}},Re=function(ke,Le){ke.notified||(ke.notified=!0,S(function(){for(var He=ke.reactions,_t;_t=He.get();)fe(_t,ke);ke.notified=!1,Le&&!ke.rejection&&Oe(ke)}))},Se=function(ke,Le,He){var _t,jt;te?(_t=D.createEvent("Event"),_t.promise=Le,_t.reason=He,_t.initEvent(ke,!1,!0),n.dispatchEvent(_t)):_t={promise:Le,reason:He},!U&&(jt=n["on"+ke])?jt(_t):ke===ce&&w("Unhandled promise rejection",He)},Oe=function(ke){a(y,n,function(){var Le=ke.facade,He=ke.value,_t=Me(ke),jt;if(_t&&(jt=b(function(){r?I.emit("unhandledRejection",He,Le):Se(ce,Le,He)}),ke.rejection=r||Me(ke)?q:k,jt.error))throw jt.value})},Me=function(ke){return ke.rejection!==k&&!ke.parent},de=function(ke){a(y,n,function(){var Le=ke.facade;r?I.emit("rejectionHandled",Le):Se(be,Le,ke.value)})},Ee=function(ke,Le,He){return function(_t){ke(Le,_t,He)}},_e=function(ke,Le,He){ke.done||(ke.done=!0,He&&(ke=He),ke.value=Le,ke.state=z,Re(ke,!0))},xe=function(ke,Le,He){if(!ke.done){ke.done=!0,He&&(ke=He);try{if(ke.facade===Le)throw new ne("Promise can't be resolved itself");var _t=me(Le);_t?S(function(){var jt={done:!1};try{a(_t,Le,Ee(xe,jt,ke),Ee(_e,jt,ke))}catch(Lt){_e(jt,Lt,ke)}}):(ke.value=Le,ke.state=je,Re(ke,!1))}catch(jt){_e({done:!1},jt,ke)}}};if(N&&(K=function(Le){g(this,ee),d(Le),a(H,this);var He=B(this);try{Le(Ee(xe,He),Ee(_e,He))}catch(_t){_e(He,_t)}},ee=K.prototype,H=function(Le){Y(this,{type:P,done:!1,notified:!1,parent:!1,reactions:new A,rejection:!1,state:Ie,value:null})},H.prototype=o(ee,"then",function(Le,He){var _t=B(this),jt=L(m(this,K));return _t.parent=!0,jt.ok=h(Le)?Le:!0,jt.fail=h(He)&&He,jt.domain=r?I.domain:void 0,_t.state===Ie?_t.reactions.add(jt):S(function(){fe(jt,_t)}),jt.promise}),ie=function(){var ke=new H,Le=B(ke);this.promise=ke,this.resolve=Ee(xe,Le),this.reject=Ee(_e,Le)},_.f=L=function(ke){return ke===K||ke===V?new ie(ke):re(ke)},!t&&h(x)&&Q!==Object.prototype)){Z=Q.then,$||o(Q,"then",function(Le,He){var _t=this;return new K(function(jt,Lt){a(Z,_t,jt,Lt)}).then(Le,He)},{unsafe:!0});try{delete Q.constructor}catch{}u&&u(Q,ee)}return e({global:!0,constructor:!0,wrap:!0,forced:N},{Promise:K}),V=i.Promise,s(K,P,!1,!0),c(P),wq}var jq={},Ib,Uq;function h_(){if(Uq)return Ib;Uq=1;var e=ph(),t=Qy(),r=Tp().CONSTRUCTOR;return Ib=r||!t(function(n){e.all(n).then(void 0,function(){})}),Ib}var qq;function Hde(){if(qq)return jq;qq=1;var e=Ve(),t=Sr(),r=_n(),n=ml(),i=vh(),a=ha(),o=h_();return e({target:"Promise",stat:!0,forced:o},{all:function(s){var c=this,d=n.f(c),h=d.resolve,v=d.reject,g=i(function(){var m=r(c.resolve),y=[],S=0,w=1;a(s,function(b){var A=S++,R=!1;w++,t(m,c,b).then(function(x){R||(R=!0,y[A]=x,--w||h(y))},v)}),--w||h(y)});return g.error&&v(g.value),d.promise}}),jq}var Vq={},Bq;function zde(){if(Bq)return Vq;Bq=1;var e=Ve(),t=Un(),r=Tp().CONSTRUCTOR,n=ph(),i=yn(),a=bn(),o=Qn(),u=n&&n.prototype;if(e({target:"Promise",proto:!0,forced:r,real:!0},{catch:function(c){return this.then(void 0,c)}}),!t&&a(n)){var s=i("Promise").prototype.catch;u.catch!==s&&o(u,"catch",s,{unsafe:!0})}return Vq}var Hq={},zq;function Wde(){if(zq)return Hq;zq=1;var e=Ve(),t=Sr(),r=_n(),n=ml(),i=vh(),a=ha(),o=h_();return e({target:"Promise",stat:!0,forced:o},{race:function(s){var c=this,d=n.f(c),h=d.reject,v=i(function(){var g=r(c.resolve);a(s,function(m){t(g,c,m).then(d.resolve,h)})});return v.error&&h(v.value),d.promise}}),Hq}var Wq={},Gq;function Gde(){if(Gq)return Wq;Gq=1;var e=Ve(),t=ml(),r=Tp().CONSTRUCTOR;return e({target:"Promise",stat:!0,forced:r},{reject:function(i){var a=t.f(this),o=a.reject;return o(i),a.promise}}),Wq}var Yq={},Pb,Kq;function wte(){if(Kq)return Pb;Kq=1;var e=Tr(),t=Gr(),r=ml();return Pb=function(n,i){if(e(n),t(i)&&i.constructor===n)return i;var a=r.f(n),o=a.resolve;return o(i),a.promise},Pb}var Xq;function Yde(){if(Xq)return Yq;Xq=1;var e=Ve(),t=yn(),r=Un(),n=ph(),i=Tp().CONSTRUCTOR,a=wte(),o=t("Promise"),u=r&&!i;return e({target:"Promise",stat:!0,forced:r||i},{resolve:function(c){return a(u&&this===o?n:this,c)}}),Yq}var Qq;function Kde(){return Qq||(Qq=1,Bde(),Hde(),zde(),Wde(),Gde(),Yde()),Eq}var Jq={},Zq;function Xde(){if(Zq)return Jq;Zq=1;var e=Ve(),t=Sr(),r=_n(),n=ml(),i=vh(),a=ha(),o=h_();return e({target:"Promise",stat:!0,forced:o},{allSettled:function(s){var c=this,d=n.f(c),h=d.resolve,v=d.reject,g=i(function(){var m=r(c.resolve),y=[],S=0,w=1;a(s,function(b){var A=S++,R=!1;w++,t(m,c,b).then(function(x){R||(R=!0,y[A]={status:"fulfilled",value:x},--w||h(y))},function(x){R||(R=!0,y[A]={status:"rejected",reason:x},--w||h(y))})}),--w||h(y)});return g.error&&v(g.value),d.promise}}),Jq}var e8={},t8;function Qde(){if(t8)return e8;t8=1;var e=Ve(),t=Sr(),r=_n(),n=yn(),i=ml(),a=vh(),o=ha(),u=h_(),s="No one promise resolved";return e({target:"Promise",stat:!0,forced:u},{any:function(d){var h=this,v=n("AggregateError"),g=i.f(h),m=g.resolve,y=g.reject,S=a(function(){var w=r(h.resolve),b=[],A=0,R=1,x=!1;o(d,function(O){var _=A++,P=!1;R++,t(w,h,O).then(function(N){P||x||(x=!0,m(N))},function(N){P||x||(P=!0,b[_]=N,--R||y(new v(b,s)))})}),--R||y(new v(b,s))});return S.error&&y(S.value),g.promise}}),e8}var r8={},n8;function Jde(){if(n8)return r8;n8=1;var e=Ve(),t=Un(),r=ph(),n=zt(),i=yn(),a=bn(),o=f_(),u=wte(),s=Qn(),c=r&&r.prototype,d=!!r&&n(function(){c.finally.call({then:function(){}},function(){})});if(e({target:"Promise",proto:!0,real:!0,forced:d},{finally:function(v){var g=o(this,i("Promise")),m=a(v);return this.then(m?function(y){return u(g,v()).then(function(){return y})}:v,m?function(y){return u(g,v()).then(function(){throw y})}:v)}}),!t&&a(r)){var h=i("Promise").prototype.finally;c.finally!==h&&s(c,"finally",h,{unsafe:!0})}return r8}var i8={},a8;function Zde(){if(a8)return i8;a8=1;var e=Ve(),t=er(),r=fs(),n=$s(),i=ml(),a=_n(),o=vh(),u=t.Promise,s=!1,c=!u||!u.try||o(function(){u.try(function(d){s=d===8},8)}).error||!s;return e({target:"Promise",stat:!0,forced:c},{try:function(d){var h=arguments.length>1?n(arguments,1):[],v=i.f(this),g=o(function(){return r(a(d),void 0,h)});return(g.error?v.reject:v.resolve)(g.value),v.promise}}),i8}var o8={},s8;function ehe(){if(s8)return o8;s8=1;var e=Ve(),t=ml();return e({target:"Promise",stat:!0},{withResolvers:function(){var n=t.f(this);return{promise:n.promise,resolve:n.resolve,reject:n.reject}}}),o8}var u8={},Db,l8;function bte(){if(l8)return Db;l8=1;var e=er(),t=Vy(),r=bn(),n=Fa(),i=_o(),a=Qn(),o=Yr(),u=Un(),s="USE_FUNCTION_CONSTRUCTOR",c=o("asyncIterator"),d=e.AsyncIterator,h=t.AsyncIteratorPrototype,v,g;if(h)v=h;else if(r(d))v=d.prototype;else if(t[s]||e[s])try{g=i(i(i(Function("return async function*(){}()")()))),i(g)===Object.prototype&&(v=g)}catch{}return v?u&&(v=n(v)):v={},r(v[c])||a(v,c,function(){return this}),Db=v,Db}var kb,c8;function Tte(){if(c8)return kb;c8=1;var e=Sr(),t=Tr(),r=Fa(),n=La(),i=gl(),a=qi(),o=Ua(),u=yn(),s=bte(),c=Ef(),d=u("Promise"),h="AsyncFromSyncIterator",v=a.set,g=a.getterFor(h),m=function(S,w,b,A,R){var x=S.done;d.resolve(S.value).then(function(O){w(c(O,x))},function(O){if(!x&&R)try{o(A,"throw",O)}catch(_){O=_}b(O)})},y=function(w){w.type=h,v(this,w)};return y.prototype=i(r(s),{next:function(){var w=g(this);return new d(function(b,A){var R=t(e(w.next,w.iterator));m(R,b,A,w.iterator,!0)})},return:function(){var S=g(this).iterator;return new d(function(w,b){var A=n(S,"return");if(A===void 0)return w(c(void 0,!0));var R=t(e(A,S));m(R,w,b,S)})}}),kb=y,kb}var Nb,f8;function the(){if(f8)return Nb;f8=1;var e=Sr(),t=Tte(),r=Tr(),n=sh(),i=to(),a=La(),o=Yr(),u=o("asyncIterator");return Nb=function(s,c){var d=arguments.length<2?a(s,u):c;return d?r(e(d,s)):new t(i(n(s)))},Nb}var Lb,d8;function rhe(){if(d8)return Lb;d8=1;var e=Sr(),t=yn(),r=La();return Lb=function(n,i,a,o){try{var u=r(n,"return");if(u)return t("Promise").resolve(e(u,n)).then(function(){i(a)},function(s){o(s)})}catch(s){return o(s)}i(a)},Lb}var Mb,h8;function nhe(){if(h8)return Mb;h8=1;var e=Sr(),t=_n(),r=Tr(),n=Gr(),i=Sf(),a=yn(),o=to(),u=rhe(),s=function(c){var d=c===0,h=c===1,v=c===2,g=c===3;return function(m,y,S){r(m);var w=y!==void 0;(w||!d)&&t(y);var b=o(m),A=a("Promise"),R=b.iterator,x=b.next,O=0;return new A(function(_,P){var N=function($){u(R,P,$,P)},U=function(){try{if(w)try{i(O)}catch($){N($)}A.resolve(r(e(x,R))).then(function($){try{if(r($).done)d?(S.length=O,_(S)):_(g?!1:v||void 0);else{var B=$.value;try{if(w){var Y=y(B,O),Q=function(K){if(h)U();else if(v)K?U():u(R,_,!1,P);else if(d)try{S[O++]=K,U()}catch(ee){N(ee)}else K?u(R,_,g||B,P):U()};n(Y)?A.resolve(Y).then(Q,N):Q(Y)}else S[O++]=B,U()}catch(K){N(K)}}}catch(K){P(K)}},P)}catch($){P($)}};U()})}};return Mb={toArray:s(0),forEach:s(1),every:s(2),some:s(3),find:s(4)},Mb}var $b,v8;function ihe(){if(v8)return $b;v8=1;var e=cs(),t=Kt(),r=kn(),n=mf(),i=the(),a=sh(),o=to(),u=_f(),s=La(),c=yn(),d=Yee(),h=Yr(),v=Tte(),g=nhe().toArray,m=h("asyncIterator"),y=t(d("Array","values")),S=t(y([]).next),w=function(){return new b(this)},b=function(A){this.iterator=y(A)};return b.prototype.next=function(){return S(this.iterator)},$b=function(R){var x=this,O=arguments.length,_=O>1?arguments[1]:void 0,P=O>2?arguments[2]:void 0;return new(c("Promise"))(function(N){var U=r(R);_!==void 0&&(_=e(_,P));var $=s(U,m),B=$?void 0:u(U)||w,Y=n(x)?new x:[],Q=$?i(U,$):new v(o(a(U,B)));N(g(Q,_,Y))})},$b}var p8;function ahe(){if(p8)return u8;p8=1;var e=Ve(),t=ihe(),r=zt(),n=Array.fromAsync,i=!n||r(function(){var a=0;return n.call(function(){return a++,[]},{length:0}),a!==1});return e({target:"Array",stat:!0,forced:i},{fromAsync:t}),u8}var g8={},m8;function ohe(){if(m8)return g8;m8=1;var e=Ve(),t=Ir(),r=yn(),n=_n(),i=ds(),a=Qn(),o=gl(),u=ta(),s=Yr(),c=qi(),d=ate(),h=Ou(),v=r("Promise"),g=r("SuppressedError"),m=ReferenceError,y=s("asyncDispose"),S=s("toStringTag"),w="AsyncDisposableStack",b=c.set,A=c.getterFor(w),R="async-dispose",x="disposed",O="pending",_=function($){var B=A($);if(B.state===x)throw new m(w+" already disposed");return B},P=function(){b(i(this,N),{type:w,state:O,stack:[]}),t||(this.disposed=!1)},N=P.prototype;o(N,{disposeAsync:function(){var B=this;return new v(function(Y,Q){var K=A(B);if(K.state===x)return Y(void 0);K.state=x,t||(B.disposed=!0);var ee=K.stack,ne=ee.length,D=!1,I,L=function(te){D?I=new g(te,I):(D=!0,I=te),re()},re=function(){if(ne){var te=ee[--ne];ee[ne]=null;try{v.resolve(te()).then(re,L)}catch(ce){L(ce)}}else K.stack=null,D?Q(I):Y(void 0)};re()})},use:function(B){return d(_(this),B,R),B},adopt:function(B,Y){var Q=_(this);return n(Y),d(Q,void 0,R,function(){return Y(B)}),B},defer:function(B){var Y=_(this);n(B),d(Y,void 0,R,B)},move:function(){var B=_(this),Y=new P;return A(Y).stack=B.stack,B.stack=[],B.state=x,t||(this.disposed=!0),Y}}),t&&u(N,"disposed",{configurable:!0,get:function(){return A(this).state===x}}),a(N,y,N.disposeAsync,{name:"disposeAsync"}),a(N,S,w,{nonWritable:!0});var U=h&&h<136;return e({global:!0,constructor:!0,forced:U},{AsyncDisposableStack:P}),g8}var y8={},_8;function she(){if(_8)return y8;_8=1;var e=Sr(),t=Qn(),r=yn(),n=La(),i=Sn(),a=Yr(),o=bte(),u=a("asyncDispose"),s=r("Promise");return i(o,u)||t(o,u,function(){var c=this;return new s(function(d,h){var v=n(c,"return");v?s.resolve(e(v,c)).then(function(){d(void 0)},h):d(void 0)})}),y8}var S8={},E8;function uhe(){if(E8)return S8;E8=1;var e=Ve(),t=fs(),r=_n(),n=Tr(),i=zt(),a=!i(function(){Reflect.apply(function(){})});return e({target:"Reflect",stat:!0,forced:a},{apply:function(u,s,c){return t(r(u),s,n(c))}}),S8}var w8={},b8;function lhe(){if(b8)return w8;b8=1;var e=Ve(),t=yn(),r=fs(),n=ote(),i=KP(),a=Tr(),o=Gr(),u=Fa(),s=zt(),c=t("Reflect","construct"),d=Object.prototype,h=[].push,v=s(function(){function y(){}return!(c(function(){},[],y)instanceof y)}),g=!s(function(){c(function(){})}),m=v||g;return e({target:"Reflect",stat:!0,forced:m,sham:m},{construct:function(S,w){i(S),a(w);var b=arguments.length<3?S:i(arguments[2]);if(g&&!v)return c(S,w,b);if(S===b){switch(w.length){case 0:return new S;case 1:return new S(w[0]);case 2:return new S(w[0],w[1]);case 3:return new S(w[0],w[1],w[2]);case 4:return new S(w[0],w[1],w[2],w[3])}var A=[null];return r(h,A,w),new(r(n,S,A))}var R=b.prototype,x=u(o(R)?R:d),O=r(S,x,w);return o(O)?O:x}}),w8}var T8={},R8;function che(){if(R8)return T8;R8=1;var e=Ve(),t=Ir(),r=Tr(),n=oc(),i=xi(),a=zt(),o=a(function(){Reflect.defineProperty(i.f({},1,{value:1}),1,{value:2})});return e({target:"Reflect",stat:!0,forced:o,sham:!t},{defineProperty:function(s,c,d){r(s);var h=n(c);r(d);try{return i.f(s,h,d),!0}catch{return!1}}}),T8}var x8={},C8;function fhe(){if(C8)return x8;C8=1;var e=Ve(),t=Tr(),r=Ma().f;return e({target:"Reflect",stat:!0},{deleteProperty:function(i,a){var o=r(t(i),a);return o&&!o.configurable?!1:delete i[a]}}),x8}var A8={},Fb,O8;function Rte(){if(O8)return Fb;O8=1;var e=Sn();return Fb=function(t){return t!==void 0&&(e(t,"value")||e(t,"writable"))},Fb}var I8;function dhe(){if(I8)return A8;I8=1;var e=Ve(),t=Sr(),r=Gr(),n=Tr(),i=Rte(),a=Ma(),o=_o();function u(s,c){var d=arguments.length<3?s:arguments[2],h,v;if(n(s)===d)return s[c];if(h=a.f(s,c),h)return i(h)?h.value:h.get===void 0?void 0:t(h.get,d);if(r(v=o(s)))return u(v,c,d)}return e({target:"Reflect",stat:!0},{get:u}),A8}var P8={},D8;function hhe(){if(D8)return P8;D8=1;var e=Ve(),t=Ir(),r=Tr(),n=Ma();return e({target:"Reflect",stat:!0,sham:!t},{getOwnPropertyDescriptor:function(a,o){return n.f(r(a),o)}}),P8}var k8={},N8;function vhe(){if(N8)return k8;N8=1;var e=Ve(),t=Tr(),r=_o(),n=NP();return e({target:"Reflect",stat:!0,sham:!n},{getPrototypeOf:function(a){return r(t(a))}}),k8}var L8={},M8;function phe(){if(M8)return L8;M8=1;var e=Ve();return e({target:"Reflect",stat:!0},{has:function(r,n){return n in r}}),L8}var $8={},F8;function ghe(){if(F8)return $8;F8=1;var e=Ve(),t=Tr(),r=GP();return e({target:"Reflect",stat:!0},{isExtensible:function(i){return t(i),r(i)}}),$8}var j8={},U8;function mhe(){if(U8)return j8;U8=1;var e=Ve(),t=AP();return e({target:"Reflect",stat:!0},{ownKeys:t}),j8}var q8={},V8;function yhe(){if(V8)return q8;V8=1;var e=Ve(),t=yn(),r=Tr(),n=dh();return e({target:"Reflect",stat:!0,sham:!n},{preventExtensions:function(a){r(a);try{var o=t("Object","preventExtensions");return o&&o(a),!0}catch{return!1}}}),q8}var B8={},H8;function _he(){if(H8)return B8;H8=1;var e=Ve(),t=Sr(),r=Tr(),n=Gr(),i=Rte(),a=zt(),o=xi(),u=Ma(),s=_o(),c=ss();function d(v,g,m){var y=arguments.length<4?v:arguments[3],S=u.f(r(v),g),w,b,A;if(!S){if(n(b=s(v)))return d(b,g,m,y);S=c(0)}if(i(S)){if(S.writable===!1||!n(y))return!1;if(w=u.f(y,g)){if(w.get||w.set||w.writable===!1)return!1;w.value=m,o.f(y,g,w)}else o.f(y,g,c(0,m))}else{if(A=S.set,A===void 0)return!1;t(A,y,m)}return!0}var h=a(function(){var v=function(){},g=o.f(new v,"a",{configurable:!0});return Reflect.set(v.prototype,"a",1,g)!==!1});return e({target:"Reflect",stat:!0,forced:h},{set:d}),B8}var z8={},W8;function She(){if(W8)return z8;W8=1;var e=Ve(),t=Tr(),r=Nee(),n=ru();return n&&e({target:"Reflect",stat:!0},{setPrototypeOf:function(a,o){t(a),r(o);try{return n(a,o),!0}catch{return!1}}}),z8}var G8={},Y8;function Ehe(){if(Y8)return G8;Y8=1;var e=Ve(),t=er(),r=qo();return e({global:!0},{Reflect:{}}),r(t.Reflect,"Reflect",!0),G8}var K8={},jb,X8;function v_(){if(X8)return jb;X8=1;var e=Gr(),t=Za(),r=Yr(),n=r("match");return jb=function(i){var a;return e(i)&&((a=i[n])!==void 0?!!a:t(i)==="RegExp")},jb}var Ub,Q8;function xte(){if(Q8)return Ub;Q8=1;var e=er(),t=zt(),r=e.RegExp,n=!t(function(){var i=!0;try{r(".","d")}catch{i=!1}var a={},o="",u=i?"dgimsy":"gimsy",s=function(v,g){Object.defineProperty(a,v,{get:function(){return o+=g,!0}})},c={dotAll:"s",global:"g",ignoreCase:"i",multiline:"m",sticky:"y"};i&&(c.hasIndices="d");for(var d in c)s(d,c[d]);var h=Object.getOwnPropertyDescriptor(r.prototype,"flags").get.call(a);return h!==u||o!==u});return Ub={correct:n},Ub}var qb,J8;function XP(){if(J8)return qb;J8=1;var e=Tr();return qb=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},qb}var Vb,Z8;function bf(){if(Z8)return Vb;Z8=1;var e=Sr(),t=Sn(),r=yo(),n=xte(),i=XP(),a=RegExp.prototype;return Vb=n.correct?function(o){return o.flags}:function(o){return!n.correct&&r(a,o)&&!t(o,"flags")?e(i,o):o.flags},Vb}var Bb,eV;function p_(){if(eV)return Bb;eV=1;var e=zt(),t=er(),r=t.RegExp,n=e(function(){var o=r("a","y");return o.lastIndex=2,o.exec("abcd")!==null}),i=n||e(function(){return!r("a","y").sticky}),a=n||e(function(){var o=r("^r","gy");return o.lastIndex=2,o.exec("str")!==null});return Bb={BROKEN_CARET:a,MISSED_STICKY:i,UNSUPPORTED_Y:n},Bb}var Hb,tV;function QP(){if(tV)return Hb;tV=1;var e=zt(),t=er(),r=t.RegExp;return Hb=e(function(){var n=r(".","s");return!(n.dotAll&&n.test(`
|
|
4
|
-
`)&&n.flags==="s")}),Hb}var zb,rV;function Cte(){if(rV)return zb;rV=1;var e=zt(),t=er(),r=t.RegExp;return zb=e(function(){var n=r("(?<a>b)","g");return n.exec("b").groups.a!=="b"||"b".replace(n,"$<a>c")!=="bc"}),zb}var nV;function whe(){if(nV)return K8;nV=1;var e=Ir(),t=er(),r=Kt(),n=gp(),i=yf(),a=$a(),o=Fa(),u=pf().f,s=yo(),c=v_(),d=rn(),h=bf(),v=p_(),g=Lee(),m=Qn(),y=zt(),S=Sn(),w=qi().enforce,b=ch(),A=Yr(),R=QP(),x=Cte(),O=A("match"),_=t.RegExp,P=_.prototype,N=t.SyntaxError,U=r(P.exec),$=r("".charAt),B=r("".replace),Y=r("".indexOf),Q=r("".slice),K=/^\?<[^\s\d!#%&*+<=>@^][^\s!#%&*+<=>@^]*>/,ee=/a/g,ne=/a/g,D=new _(ee)!==ee,I=v.MISSED_STICKY,L=v.UNSUPPORTED_Y,re=e&&(!D||I||R||x||y(function(){return ne[O]=!1,_(ee)!==ee||_(ne)===ne||String(_(ee,"i"))!=="/a/i"})),te=function(z){for(var k=z.length,q=0,H="",ie=!1,V;q<=k;q++){if(V=$(z,q),V==="\\"){H+=V+$(z,++q);continue}!ie&&V==="."?H+="[\\s\\S]":(V==="["?ie=!0:V==="]"&&(ie=!1),H+=V)}return H},ce=function(z){for(var k=z.length,q=0,H="",ie=[],V=o(null),Z=!1,me=!1,fe=0,Re="",Se;q<=k;q++){if(Se=$(z,q),Se==="\\")Se+=$(z,++q);else if(Se==="]")Z=!1;else if(!Z)switch(!0){case Se==="[":Z=!0;break;case Se==="(":if(H+=Se,Q(z,q+1,q+3)==="?:")continue;U(K,Q(z,q+1))&&(q+=2,me=!0),fe++;continue;case(Se===">"&&me):if(Re===""||S(V,Re))throw new N("Invalid capture group name");V[Re]=!0,ie[ie.length]=[Re,fe],me=!1,Re="";continue}me?Re+=Se:H+=Se}return[H,ie]};if(n("RegExp",re)){for(var be=function(k,q){var H=s(P,this),ie=c(k),V=q===void 0,Z=[],me=k,fe,Re,Se,Oe,Me,de;if(!H&&ie&&V&&k.constructor===be)return k;if((ie||s(P,k))&&(k=k.source,V&&(q=h(me))),k=k===void 0?"":d(k),q=q===void 0?"":d(q),me=k,R&&"dotAll"in ee&&(Re=!!q&&Y(q,"s")>-1,Re&&(q=B(q,/s/g,""))),fe=q,I&&"sticky"in ee&&(Se=!!q&&Y(q,"y")>-1,Se&&L&&(q=B(q,/y/g,""))),x&&(Oe=ce(k),k=Oe[0],Z=Oe[1]),Me=i(_(k,q),H?this:P,be),(Re||Se||Z.length)&&(de=w(Me),Re&&(de.dotAll=!0,de.raw=be(te(k),fe)),Se&&(de.sticky=!0),Z.length&&(de.groups=Z)),k!==me)try{a(Me,"source",me===""?"(?:)":me)}catch{}return Me},Ie=u(_),je=0;Ie.length>je;)g(be,_,Ie[je++]);P.constructor=be,be.prototype=P,m(t,"RegExp",be,{constructor:!0})}return b("RegExp"),K8}var iV={},Wb,aV;function g_(){if(aV)return Wb;aV=1;var e=TypeError;return Wb=function(t){if(typeof t=="string")return t;throw new e("Argument is not a string")},Wb}var oV;function bhe(){if(oV)return iV;oV=1;var e=Ve(),t=Kt(),r=g_(),n=Sn(),i=a_().start,a=bp(),o=Array,u=RegExp.escape,s=t("".charAt),c=t("".charCodeAt),d=t(1.1.toString),h=t([].join),v=/^[0-9a-z]/i,g=/^[$()*+./?[\\\]^{|}]/,m=RegExp("^[!\"#%&',\\-:;<=>@`~"+a+"]"),y=t(v.exec),S={" ":"t","\n":"n","\v":"v","\f":"f","\r":"r"},w=function(A){var R=d(c(A,0),16);return R.length<3?"\\x"+i(R,2,"0"):"\\u"+i(R,4,"0")},b=!u||u("ab")!=="\\x61b";return e({target:"RegExp",stat:!0,forced:b},{escape:function(R){r(R);for(var x=R.length,O=o(x),_=0;_<x;_++){var P=s(R,_);if(_===0&&y(v,P))O[_]=w(P);else if(n(S,P))O[_]="\\"+S[P];else if(y(g,P))O[_]="\\"+P;else if(y(m,P))O[_]=w(P);else{var N=c(P,0);(N&63488)!==55296?O[_]=P:N>=56320||_+1>=x||(c(R,_+1)&64512)!==56320?O[_]=w(P):(O[_]=P,O[++_]=s(R,_))}}return h(O,"")}}),iV}var sV={},uV;function The(){if(uV)return sV;uV=1;var e=Ir(),t=QP(),r=Za(),n=ta(),i=qi().get,a=RegExp.prototype,o=TypeError;return e&&t&&n(a,"dotAll",{configurable:!0,get:function(){if(this!==a){if(r(this)==="RegExp")return!!i(this).dotAll;throw new o("Incompatible receiver, RegExp required")}}}),sV}var lV={},Gb,cV;function JP(){if(cV)return Gb;cV=1;var e=Sr(),t=Kt(),r=rn(),n=XP(),i=p_(),a=rh(),o=Fa(),u=qi().get,s=QP(),c=Cte(),d=a("native-string-replace",String.prototype.replace),h=RegExp.prototype.exec,v=h,g=t("".charAt),m=t("".indexOf),y=t("".replace),S=t("".slice),w=(function(){var x=/a/,O=/b*/g;return e(h,x,"a"),e(h,O,"a"),x.lastIndex!==0||O.lastIndex!==0})(),b=i.BROKEN_CARET,A=/()??/.exec("")[1]!==void 0,R=w||A||b||s||c;return R&&(v=function(O){var _=this,P=u(_),N=r(O),U=P.raw,$,B,Y,Q,K,ee,ne;if(U)return U.lastIndex=_.lastIndex,$=e(v,U,N),_.lastIndex=U.lastIndex,$;var D=P.groups,I=b&&_.sticky,L=e(n,_),re=_.source,te=0,ce=N;if(I&&(L=y(L,"y",""),m(L,"g")===-1&&(L+="g"),ce=S(N,_.lastIndex),_.lastIndex>0&&(!_.multiline||_.multiline&&g(N,_.lastIndex-1)!==`
|
|
5
|
-
`)&&(re="(?: "+re+")",ce=" "+ce,te++),B=new RegExp("^(?:"+re+")",L)),A&&(B=new RegExp("^"+re+"$(?!\\s)",L)),w&&(Y=_.lastIndex),Q=e(h,I?B:_,ce),I?Q?(Q.input=S(Q.input,te),Q[0]=S(Q[0],te),Q.index=_.lastIndex,_.lastIndex+=Q[0].length):_.lastIndex=0:w&&Q&&(_.lastIndex=_.global?Q.index+Q[0].length:Y),A&&Q&&Q.length>1&&e(d,Q[0],B,function(){for(K=1;K<arguments.length-2;K++)arguments[K]===void 0&&(Q[K]=void 0)}),Q&&D)for(Q.groups=ee=o(null),K=0;K<D.length;K++)ne=D[K],ee[ne[0]]=Q[ne[1]];return Q}),Gb=v,Gb}var fV;function ZP(){if(fV)return lV;fV=1;var e=Ve(),t=JP();return e({target:"RegExp",proto:!0,forced:/./.exec!==t},{exec:t}),lV}var dV={},hV;function Rhe(){if(hV)return dV;hV=1;var e=Ir(),t=ta(),r=xte(),n=XP();return e&&!r.correct&&(t(RegExp.prototype,"flags",{configurable:!0,get:n}),r.correct=!0),dV}var vV={},pV;function xhe(){if(pV)return vV;pV=1;var e=Ir(),t=p_().MISSED_STICKY,r=Za(),n=ta(),i=qi().get,a=RegExp.prototype,o=TypeError;return e&&t&&n(a,"sticky",{configurable:!0,get:function(){if(this!==a){if(r(this)==="RegExp")return!!i(this).sticky;throw new o("Incompatible receiver, RegExp required")}}}),vV}var gV={},mV;function Che(){if(mV)return gV;mV=1,ZP();var e=Ve(),t=Sr(),r=bn(),n=Tr(),i=rn(),a=(function(){var u=!1,s=/[ac]/;return s.exec=function(){return u=!0,/./.exec.apply(this,arguments)},s.test("abc")===!0&&u})(),o=/./.test;return e({target:"RegExp",proto:!0,forced:!a},{test:function(u){var s=n(this),c=i(u),d=s.exec;if(!r(d))return t(o,s,c);var h=t(d,s,c);return h===null?!1:(n(h),!0)}}),gV}var yV={},_V;function Ahe(){if(_V)return yV;_V=1;var e=ih().PROPER,t=Qn(),r=Tr(),n=rn(),i=zt(),a=bf(),o="toString",u=RegExp.prototype,s=u[o],c=i(function(){return s.call({source:"a",flags:"b"})!=="/a/b"}),d=e&&s.name!==o;return(c||d)&&t(u,o,function(){var v=r(this),g=n(v.source),m=n(a(v));return"/"+g+"/"+m},{unsafe:!0}),yV}var SV={},EV={},wV;function Ohe(){if(wV)return EV;wV=1;var e=s_(),t=lte();return e("Set",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),EV}var bV;function Ihe(){return bV||(bV=1,Ohe()),SV}var TV={},Yb,RV;function nu(){if(RV)return Yb;RV=1;var e=Kt(),t=Set.prototype;return Yb={Set,add:e(t.add),has:e(t.has),remove:e(t.delete),proto:t},Yb}var Kb,xV;function Tf(){if(xV)return Kb;xV=1;var e=nu().has;return Kb=function(t){return e(t),t},Kb}var Xb,CV;function Rf(){if(CV)return Xb;CV=1;var e=Sr();return Xb=function(t,r,n){for(var i=n?t:t.iterator,a=t.next,o,u;!(o=e(a,i)).done;)if(u=r(o.value),u!==void 0)return u},Xb}var Qb,AV;function gh(){if(AV)return Qb;AV=1;var e=Kt(),t=Rf(),r=nu(),n=r.Set,i=r.proto,a=e(i.forEach),o=e(i.keys),u=o(new n).next;return Qb=function(s,c,d){return d?t({iterator:o(s),next:u},c):a(s,c)},Qb}var Jb,OV;function eD(){if(OV)return Jb;OV=1;var e=nu(),t=gh(),r=e.Set,n=e.add;return Jb=function(i){var a=new r;return t(i,function(o){n(a,o)}),a},Jb}var Zb,IV;function Rp(){if(IV)return Zb;IV=1;var e=Yy(),t=nu();return Zb=e(t.proto,"size","get")||function(r){return r.size},Zb}var eT,PV;function xf(){if(PV)return eT;PV=1;var e=_n(),t=Tr(),r=Sr(),n=Gi(),i=to(),a="Invalid size",o=RangeError,u=TypeError,s=Math.max,c=function(d,h){this.set=d,this.size=s(h,0),this.has=e(d.has),this.keys=e(d.keys)};return c.prototype={getIterator:function(){return i(t(r(this.keys,this.set)))},includes:function(d){return r(this.has,this.set,d)}},eT=function(d){t(d);var h=+d.size;if(h!==h)throw new u(a);var v=n(h);if(v<0)throw new o(a);return new c(d,v)},eT}var tT,DV;function Phe(){if(DV)return tT;DV=1;var e=Tf(),t=nu(),r=eD(),n=Rp(),i=xf(),a=gh(),o=Rf(),u=t.has,s=t.remove;return tT=function(d){var h=e(this),v=i(d),g=r(h);return n(h)<=v.size?a(h,function(m){v.includes(m)&&s(g,m)}):o(v.getIterator(),function(m){u(g,m)&&s(g,m)}),g},tT}var rT,kV;function Cf(){if(kV)return rT;kV=1;var e=yn(),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 rT=function(n,i){var a=e("Set");try{new a()[n](t(0));try{return new a()[n](t(-1)),!1}catch{if(!i)return!0;try{return new a()[n](r(-1/0)),!1}catch{var o=new a;return o.add(1),o.add(2),i(o[n](r(1/0)))}}}catch{return!1}},rT}var NV;function Dhe(){if(NV)return TV;NV=1;var e=Ve(),t=Phe(),r=zt(),n=Cf(),i=!n("difference",function(o){return o.size===0}),a=i||r(function(){var o={size:1,has:function(){return!0},keys:function(){var s=0;return{next:function(){var c=s++>1;return u.has(1)&&u.clear(),{done:c,value:2}}}}},u=new Set([1,2,3,4]);return u.difference(o).size!==3});return e({target:"Set",proto:!0,real:!0,forced:a},{difference:t}),TV}var LV={},nT,MV;function khe(){if(MV)return nT;MV=1;var e=Tf(),t=nu(),r=Rp(),n=xf(),i=gh(),a=Rf(),o=t.Set,u=t.add,s=t.has;return nT=function(d){var h=e(this),v=n(d),g=new o;return r(h)>v.size?a(v.getIterator(),function(m){s(h,m)&&u(g,m)}):i(h,function(m){v.includes(m)&&u(g,m)}),g},nT}var $V;function Nhe(){if($V)return LV;$V=1;var e=Ve(),t=zt(),r=khe(),n=Cf(),i=!n("intersection",function(a){return a.size===2&&a.has(1)&&a.has(2)})||t(function(){return String(Array.from(new Set([1,2,3]).intersection(new Set([3,2]))))!=="3,2"});return e({target:"Set",proto:!0,real:!0,forced:i},{intersection:r}),LV}var FV={},iT,jV;function Lhe(){if(jV)return iT;jV=1;var e=Tf(),t=nu().has,r=Rp(),n=xf(),i=gh(),a=Rf(),o=Ua();return iT=function(s){var c=e(this),d=n(s);if(r(c)<=d.size)return i(c,function(v){if(d.includes(v))return!1},!0)!==!1;var h=d.getIterator();return a(h,function(v){if(t(c,v))return o(h,"normal",!1)})!==!1},iT}var UV;function Mhe(){if(UV)return FV;UV=1;var e=Ve(),t=Lhe(),r=Cf(),n=!r("isDisjointFrom",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isDisjointFrom:t}),FV}var qV={},aT,VV;function $he(){if(VV)return aT;VV=1;var e=Tf(),t=Rp(),r=gh(),n=xf();return aT=function(a){var o=e(this),u=n(a);return t(o)>u.size?!1:r(o,function(s){if(!u.includes(s))return!1},!0)!==!1},aT}var BV;function Fhe(){if(BV)return qV;BV=1;var e=Ve(),t=$he(),r=Cf(),n=!r("isSubsetOf",function(i){return i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSubsetOf:t}),qV}var HV={},oT,zV;function jhe(){if(zV)return oT;zV=1;var e=Tf(),t=nu().has,r=Rp(),n=xf(),i=Rf(),a=Ua();return oT=function(u){var s=e(this),c=n(u);if(r(s)<c.size)return!1;var d=c.getIterator();return i(d,function(h){if(!t(s,h))return a(d,"normal",!1)})!==!1},oT}var WV;function Uhe(){if(WV)return HV;WV=1;var e=Ve(),t=jhe(),r=Cf(),n=!r("isSupersetOf",function(i){return!i});return e({target:"Set",proto:!0,real:!0,forced:n},{isSupersetOf:t}),HV}var GV={},sT,YV;function qhe(){if(YV)return sT;YV=1;var e=Tf(),t=nu(),r=eD(),n=xf(),i=Rf(),a=t.add,o=t.has,u=t.remove;return sT=function(c){var d=e(this),h=n(c).getIterator(),v=r(d);return i(h,function(g){o(d,g)?u(v,g):a(v,g)}),v},sT}var uT,KV;function Ate(){return KV||(KV=1,uT=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}}),uT}var XV;function Vhe(){if(XV)return GV;XV=1;var e=Ve(),t=qhe(),r=Ate(),n=Cf(),i=!n("symmetricDifference")||!r("symmetricDifference");return e({target:"Set",proto:!0,real:!0,forced:i},{symmetricDifference:t}),GV}var QV={},lT,JV;function Bhe(){if(JV)return lT;JV=1;var e=Tf(),t=nu().add,r=eD(),n=xf(),i=Rf();return lT=function(o){var u=e(this),s=n(o).getIterator(),c=r(u);return i(s,function(d){t(c,d)}),c},lT}var ZV;function Hhe(){if(ZV)return QV;ZV=1;var e=Ve(),t=Bhe(),r=Ate(),n=Cf(),i=!n("union")||!r("union");return e({target:"Set",proto:!0,real:!0,forced:i},{union:t}),QV}var eB={},tB;function zhe(){if(tB)return eB;tB=1;var e=Ve(),t=Kt(),r=Pi(),n=Gi(),i=rn(),a=zt(),o=t("".charAt),u=a(function(){return"𠮷".at(-2)!=="\uD842"});return e({target:"String",proto:!0,forced:u},{at:function(c){var d=i(r(this)),h=d.length,v=n(c),g=v>=0?v:h+v;return g<0||g>=h?void 0:o(d,g)}}),eB}var rB={},cT,nB;function m_(){if(nB)return cT;nB=1;var e=Kt(),t=Gi(),r=rn(),n=Pi(),i=e("".charAt),a=e("".charCodeAt),o=e("".slice),u=function(s){return function(c,d){var h=r(n(c)),v=t(d),g=h.length,m,y;return v<0||v>=g?s?"":void 0:(m=a(h,v),m<55296||m>56319||v+1===g||(y=a(h,v+1))<56320||y>57343?s?i(h,v):m:s?o(h,v,v+2):(m-55296<<10)+(y-56320)+65536)}};return cT={codeAt:u(!1),charAt:u(!0)},cT}var iB;function Whe(){if(iB)return rB;iB=1;var e=Ve(),t=m_().codeAt;return e({target:"String",proto:!0},{codePointAt:function(n){return t(this,n)}}),rB}var aB={},fT,oB;function tD(){if(oB)return fT;oB=1;var e=v_(),t=TypeError;return fT=function(r){if(e(r))throw new t("The method doesn't accept regular expressions");return r},fT}var dT,sB;function rD(){if(sB)return dT;sB=1;var e=Yr(),t=e("match");return dT=function(r){var n=/./;try{"/./"[r](n)}catch{try{return n[t]=!1,"/./"[r](n)}catch{}}return!1},dT}var uB;function Ghe(){if(uB)return aB;uB=1;var e=Ve(),t=gf(),r=Ma().f,n=us(),i=rn(),a=tD(),o=Pi(),u=rD(),s=Un(),c=t("".slice),d=Math.min,h=u("endsWith"),v=!s&&!h&&!!(function(){var g=r(String.prototype,"endsWith");return g&&!g.writable})();return e({target:"String",proto:!0,forced:!v&&!h},{endsWith:function(m){var y=i(o(this));a(m);var S=arguments.length>1?arguments[1]:void 0,w=y.length,b=S===void 0?w:d(n(S),w),A=i(m);return c(y,b-A.length,b)===A}}),aB}var lB={},cB;function Ote(){if(cB)return lB;cB=1;var e=Ve(),t=Kt(),r=hl(),n=RangeError,i=String.fromCharCode,a=String.fromCodePoint,o=t([].join),u=!!a&&a.length!==1;return e({target:"String",stat:!0,arity:1,forced:u},{fromCodePoint:function(c){for(var d=[],h=arguments.length,v=0,g;h>v;){if(g=+arguments[v++],r(g,1114111)!==g)throw new n(g+" is not a valid code point");d[v]=g<65536?i(g):i(((g-=65536)>>10)+55296,g%1024+56320)}return o(d,"")}}),lB}var fB={},dB;function Yhe(){if(dB)return fB;dB=1;var e=Ve(),t=Kt(),r=tD(),n=Pi(),i=rn(),a=rD(),o=t("".indexOf);return e({target:"String",proto:!0,forced:!a("includes")},{includes:function(s){return!!~o(i(n(this)),i(r(s)),arguments.length>1?arguments[1]:void 0)}}),fB}var hB={},vB;function Khe(){if(vB)return hB;vB=1;var e=Ve(),t=Kt(),r=Pi(),n=rn(),i=t("".charCodeAt);return e({target:"String",proto:!0},{isWellFormed:function(){for(var o=n(r(this)),u=o.length,s=0;s<u;s++){var c=i(o,s);if((c&63488)===55296&&(c>=56320||++s>=u||(i(o,s)&64512)!==56320))return!1}return!0}}),hB}var pB={},gB;function Ite(){if(gB)return pB;gB=1;var e=m_().charAt,t=rn(),r=qi(),n=jP(),i=Ef(),a="String Iterator",o=r.set,u=r.getterFor(a);return n(String,"String",function(s){o(this,{type:a,string:t(s),index:0})},function(){var c=u(this),d=c.string,h=c.index,v;return h>=d.length?i(void 0,!0):(v=e(d,h),c.index+=v.length,i(v,!1))}),pB}var mB={},hT,yB;function y_(){if(yB)return hT;yB=1,ZP();var e=Sr(),t=Qn(),r=JP(),n=zt(),i=Yr(),a=$a(),o=i("species"),u=RegExp.prototype;return hT=function(s,c,d,h){var v=i(s),g=!n(function(){var w={};return w[v]=function(){return 7},""[s](w)!==7}),m=g&&!n(function(){var w=!1,b=/a/;return s==="split"&&(b={},b.constructor={},b.constructor[o]=function(){return b},b.flags="",b[v]=/./[v]),b.exec=function(){return w=!0,null},b[v](""),!w});if(!g||!m||d){var y=/./[v],S=c(v,""[s],function(w,b,A,R,x){var O=b.exec;return O===r||O===u.exec?g&&!x?{done:!0,value:e(y,b,A,R)}:{done:!0,value:e(w,A,b,R)}:{done:!1}});t(String.prototype,s,S[0]),t(u,v,S[1])}h&&a(u[v],"sham",!0)},hT}var vT,_B;function __(){if(_B)return vT;_B=1;var e=m_().charAt;return vT=function(t,r,n){return r+(n?e(t,r).length:1)},vT}var pT,SB;function xp(){if(SB)return pT;SB=1;var e=Sr(),t=Tr(),r=bn(),n=Za(),i=JP(),a=TypeError;return pT=function(o,u){var s=o.exec;if(r(s)){var c=e(s,o,u);return c!==null&&t(c),c}if(n(o)==="RegExp")return e(i,o,u);throw new a("RegExp#exec called on incompatible receiver")},pT}var EB;function Xhe(){if(EB)return mB;EB=1;var e=Sr(),t=Kt(),r=y_(),n=Tr(),i=Gr(),a=us(),o=rn(),u=Pi(),s=La(),c=__(),d=bf(),h=xp(),v=t("".indexOf);return r("match",function(g,m,y){return[function(w){var b=u(this),A=i(w)?s(w,g):void 0;return A?e(A,w,b):new RegExp(w)[g](o(b))},function(S){var w=n(this),b=o(S),A=y(m,w,b);if(A.done)return A.value;var R=o(d(w));if(v(R,"g")===-1)return h(w,b);var x=v(R,"u")!==-1;w.lastIndex=0;for(var O=[],_=0,P;(P=h(w,b))!==null;){var N=o(P[0]);O[_]=N,N===""&&(w.lastIndex=c(b,a(w.lastIndex),x)),_++}return _===0?null:O}]}),mB}var wB={},bB;function Qhe(){if(bB)return wB;bB=1;var e=Ve(),t=Sr(),r=gf(),n=FP(),i=Ef(),a=Pi(),o=us(),u=rn(),s=Tr(),c=Gr(),d=Za(),h=v_(),v=bf(),g=La(),m=Qn(),y=zt(),S=Yr(),w=f_(),b=__(),A=xp(),R=qi(),x=Un(),O=S("matchAll"),_="RegExp String",P=_+" Iterator",N=R.set,U=R.getterFor(P),$=RegExp.prototype,B=TypeError,Y=r("".indexOf),Q=r("".matchAll),K=!!Q&&!y(function(){Q("a",/./)}),ee=n(function(I,L,re,te){N(this,{type:P,regexp:I,string:L,global:re,unicode:te,done:!1})},_,function(){var I=U(this);if(I.done)return i(void 0,!0);var L=I.regexp,re=I.string,te=A(L,re);return te===null?(I.done=!0,i(void 0,!0)):I.global?(u(te[0])===""&&(L.lastIndex=b(re,o(L.lastIndex),I.unicode)),i(te,!1)):(I.done=!0,i(te,!1))}),ne=function(D){var I=s(this),L=u(D),re=w(I,RegExp),te=u(v(I)),ce,be,Ie;return ce=new re(re===RegExp?I.source:I,te),be=!!~Y(te,"g"),Ie=!!~Y(te,"u"),ce.lastIndex=o(I.lastIndex),new ee(ce,L,be,Ie)};return e({target:"String",proto:!0,forced:K},{matchAll:function(I){var L=a(this),re,te,ce,be;if(c(I)){if(h(I)&&(re=u(a(v(I))),!~Y(re,"g")))throw new B("`.matchAll` does not allow non-global regexes");if(K)return Q(L,I);if(ce=g(I,O),ce===void 0&&x&&d(I)==="RegExp"&&(ce=ne),ce)return t(ce,I,L)}else if(K)return Q(L,I);return te=u(L),be=new RegExp(I,"g"),x?t(ne,be,te):be[O](te)}}),x||O in $||m($,O,ne),wB}var TB={},gT,RB;function Pte(){if(RB)return gT;RB=1;var e=Au();return gT=/Version\/10(?:\.\d+){1,2}(?: [\w./]+)?(?: Mobile\/\w+)? Safari\//.test(e),gT}var xB;function Jhe(){if(xB)return TB;xB=1;var e=Ve(),t=a_().end,r=Pte();return e({target:"String",proto:!0,forced:r},{padEnd:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),TB}var CB={},AB;function Zhe(){if(AB)return CB;AB=1;var e=Ve(),t=a_().start,r=Pte();return e({target:"String",proto:!0,forced:r},{padStart:function(i){return t(this,i,arguments.length>1?arguments[1]:void 0)}}),CB}var OB={},IB;function eve(){if(IB)return OB;IB=1;var e=Ve(),t=Kt(),r=Ra(),n=kn(),i=rn(),a=ai(),o=t([].push),u=t([].join);return e({target:"String",stat:!0},{raw:function(c){var d=r(n(c).raw),h=a(d);if(!h)return"";for(var v=arguments.length,g=[],m=0;;){if(o(g,i(d[m++])),m===h)return u(g,"");m<v&&o(g,i(arguments[m]))}}}),OB}var PB={},DB;function tve(){if(DB)return PB;DB=1;var e=Ve(),t=i_();return e({target:"String",proto:!0},{repeat:t}),PB}var kB={},mT,NB;function Dte(){if(NB)return mT;NB=1;var e=Kt(),t=kn(),r=Math.floor,n=e("".charAt),i=e("".replace),a=e("".slice),o=/\$([$&'`]|\d{1,2}|<[^>]*>)/g,u=/\$([$&'`]|\d{1,2})/g;return mT=function(s,c,d,h,v,g){var m=d+s.length,y=h.length,S=u;return v!==void 0&&(v=t(v),S=o),i(g,S,function(w,b){var A;switch(n(b,0)){case"$":return"$";case"&":return s;case"`":return a(c,0,d);case"'":return a(c,m);case"<":A=v[a(b,1,-1)];break;default:var R=+b;if(R===0)return w;if(R>y){var x=r(R/10);return x===0?w:x<=y?h[x-1]===void 0?n(b,1):h[x-1]+n(b,1):w}A=h[R-1]}return A===void 0?"":A})},mT}var LB;function rve(){if(LB)return kB;LB=1;var e=fs(),t=Sr(),r=Kt(),n=y_(),i=zt(),a=Tr(),o=bn(),u=Gr(),s=Gi(),c=us(),d=rn(),h=Pi(),v=__(),g=La(),m=Dte(),y=bf(),S=xp(),w=Yr(),b=w("replace"),A=Math.max,R=Math.min,x=r([].concat),O=r([].push),_=r("".indexOf),P=r("".slice),N=function(Y){return Y===void 0?Y:String(Y)},U=(function(){return"a".replace(/./,"$0")==="$0"})(),$=(function(){return/./[b]?/./[b]("a","$0")==="":!1})(),B=!i(function(){var Y=/./;return Y.exec=function(){var Q=[];return Q.groups={a:"7"},Q},"".replace(Y,"$<a>")!=="7"});return n("replace",function(Y,Q,K){var ee=$?"$":"$0";return[function(D,I){var L=h(this),re=u(D)?g(D,b):void 0;return re?t(re,D,L,I):t(Q,d(L),D,I)},function(ne,D){var I=a(this),L=d(ne);if(typeof D=="string"&&_(D,ee)===-1&&_(D,"$<")===-1){var re=K(Q,I,L,D);if(re.done)return re.value}var te=o(D);te||(D=d(D));var ce=d(y(I)),be=_(ce,"g")!==-1,Ie;be&&(Ie=_(ce,"u")!==-1,I.lastIndex=0);for(var je=[],z;z=S(I,L),!(z===null||(O(je,z),!be));){var k=d(z[0]);k===""&&(I.lastIndex=v(L,c(I.lastIndex),Ie))}for(var q="",H=0,ie=0;ie<je.length;ie++){z=je[ie];for(var V=d(z[0]),Z=A(R(s(z.index),L.length),0),me=[],fe,Re=1;Re<z.length;Re++)O(me,N(z[Re]));var Se=z.groups;if(te){var Oe=x([V],me,Z,L);Se!==void 0&&O(Oe,Se),fe=d(e(D,void 0,Oe))}else fe=m(V,L,Z,me,Se,D);Z>=H&&(q+=P(L,H,Z)+fe,H=Z+V.length)}return q+P(L,H)}]},!B||!U||$),kB}var MB={},$B;function nve(){if($B)return MB;$B=1;var e=Ve(),t=Sr(),r=Kt(),n=Pi(),i=bn(),a=Gr(),o=v_(),u=rn(),s=La(),c=bf(),d=Dte(),h=Yr(),v=Un(),g=h("replace"),m=TypeError,y=r("".indexOf),S=r("".replace),w=r("".slice),b=Math.max;return e({target:"String",proto:!0},{replaceAll:function(R,x){var O=n(this),_,P,N,U,$,B,Y,Q,K,ee,ne=0,D="";if(a(R)){if(_=o(R),_&&(P=u(n(c(R))),!~y(P,"g")))throw new m("`.replaceAll` does not allow non-global regexes");if(N=s(R,g),N)return t(N,R,O,x);if(v&&_)return S(u(O),R,x)}for(U=u(O),$=u(R),B=i(x),B||(x=u(x)),Y=$.length,Q=b(1,Y),K=y(U,$);K!==-1;)ee=B?u(x($,K,U)):d($,U,K,[],void 0,x),D+=w(U,ne,K)+ee,ne=K+Y,K=K+Q>U.length?-1:y(U,$,K+Q);return ne<U.length&&(D+=w(U,ne)),D}}),MB}var FB={},jB;function ive(){if(jB)return FB;jB=1;var e=Sr(),t=y_(),r=Tr(),n=Gr(),i=Pi(),a=mte(),o=rn(),u=La(),s=xp();return t("search",function(c,d,h){return[function(g){var m=i(this),y=n(g)?u(g,c):void 0;return y?e(y,g,m):new RegExp(g)[c](o(m))},function(v){var g=r(this),m=o(v),y=h(d,g,m);if(y.done)return y.value;var S=g.lastIndex;a(S,0)||(g.lastIndex=0);var w=s(g,m);return a(g.lastIndex,S)||(g.lastIndex=S),w===null?-1:w.index}]}),FB}var UB={},qB;function ave(){if(qB)return UB;qB=1;var e=Sr(),t=Kt(),r=y_(),n=Tr(),i=Gr(),a=Pi(),o=f_(),u=__(),s=us(),c=rn(),d=La(),h=xp(),v=p_(),g=zt(),m=v.UNSUPPORTED_Y,y=4294967295,S=Math.min,w=t([].push),b=t("".slice),A=!g(function(){var x=/(?:)/,O=x.exec;x.exec=function(){return O.apply(this,arguments)};var _="ab".split(x);return _.length!==2||_[0]!=="a"||_[1]!=="b"}),R="abbc".split(/(b)*/)[1]==="c"||"test".split(/(?:)/,-1).length!==4||"ab".split(/(?:ab)*/).length!==2||".".split(/(.?)(.?)/).length!==4||".".split(/()()/).length>1||"".split(/.?/).length;return r("split",function(x,O,_){var P="0".split(void 0,0).length?function(N,U){return N===void 0&&U===0?[]:e(O,this,N,U)}:O;return[function(U,$){var B=a(this),Y=i(U)?d(U,x):void 0;return Y?e(Y,U,B,$):e(P,c(B),U,$)},function(N,U){var $=n(this),B=c(N);if(!R){var Y=_(P,$,B,U,P!==O);if(Y.done)return Y.value}var Q=o($,RegExp),K=$.unicode,ee=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+(m?"g":"y"),ne=new Q(m?"^(?:"+$.source+")":$,ee),D=U===void 0?y:U>>>0;if(D===0)return[];if(B.length===0)return h(ne,B)===null?[B]:[];for(var I=0,L=0,re=[];L<B.length;){ne.lastIndex=m?0:L;var te=h(ne,m?b(B,L):B),ce;if(te===null||(ce=S(s(ne.lastIndex+(m?L:0)),B.length))===I)L=u(B,L,K);else{if(w(re,b(B,I,L)),re.length===D)return re;for(var be=1;be<=te.length-1;be++)if(w(re,te[be]),re.length===D)return re;L=I=ce}}return w(re,b(B,I)),re}]},R||!A,m),UB}var VB={},BB;function ove(){if(BB)return VB;BB=1;var e=Ve(),t=gf(),r=Ma().f,n=us(),i=rn(),a=tD(),o=Pi(),u=rD(),s=Un(),c=t("".slice),d=Math.min,h=u("startsWith"),v=!s&&!h&&!!(function(){var g=r(String.prototype,"startsWith");return g&&!g.writable})();return e({target:"String",proto:!0,forced:!v&&!h},{startsWith:function(m){var y=i(o(this));a(m);var S=n(d(arguments.length>1?arguments[1]:void 0,y.length)),w=i(m);return c(y,S,S+w.length)===w}}),VB}var HB={},zB;function sve(){if(zB)return HB;zB=1;var e=Ve(),t=Kt(),r=Pi(),n=Gi(),i=rn(),a=t("".slice),o=Math.max,u=Math.min,s=!"".substr||"ab".substr(-1)!=="b";return e({target:"String",proto:!0,forced:s},{substr:function(d,h){var v=i(r(this)),g=v.length,m=n(d),y,S;return m===1/0&&(m=0),m<0&&(m=o(g+m,0)),y=h===void 0?g:n(h),y<=0||y===1/0?"":(S=u(m+y,g),m>=S?"":a(v,m,S))}}),HB}var WB={},GB;function uve(){if(GB)return WB;GB=1;var e=Ve(),t=Sr(),r=Kt(),n=Pi(),i=rn(),a=zt(),o=Array,u=r("".charAt),s=r("".charCodeAt),c=r([].join),d="".toWellFormed,h="�",v=d&&a(function(){return t(d,1)!=="1"});return e({target:"String",proto:!0,forced:v},{toWellFormed:function(){var m=i(n(this));if(v)return t(d,m);for(var y=m.length,S=o(y),w=0;w<y;w++){var b=s(m,w);(b&63488)!==55296?S[w]=u(m,w):b>=56320||w+1>=y||(s(m,w+1)&64512)!==56320?S[w]=h:(S[w]=u(m,w),S[++w]=u(m,w))}return c(S,"")}}),WB}var YB={},yT,KB;function nD(){if(KB)return yT;KB=1;var e=ih().PROPER,t=zt(),r=bp(),n="
";return yT=function(i){return t(function(){return!!r[i]()||n[i]()!==n||e&&r[i].name!==i})},yT}var XB;function lve(){if(XB)return YB;XB=1;var e=Ve(),t=hh().trim,r=nD();return e({target:"String",proto:!0,forced:r("trim")},{trim:function(){return t(this)}}),YB}var QB={},JB={},_T,ZB;function kte(){if(ZB)return _T;ZB=1;var e=hh().end,t=nD();return _T=t("trimEnd")?function(){return e(this)}:"".trimEnd,_T}var eH;function cve(){if(eH)return JB;eH=1;var e=Ve(),t=kte();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimRight!==t},{trimRight:t}),JB}var tH;function fve(){if(tH)return QB;tH=1,cve();var e=Ve(),t=kte();return e({target:"String",proto:!0,name:"trimEnd",forced:"".trimEnd!==t},{trimEnd:t}),QB}var rH={},nH={},ST,iH;function Nte(){if(iH)return ST;iH=1;var e=hh().start,t=nD();return ST=t("trimStart")?function(){return e(this)}:"".trimStart,ST}var aH;function dve(){if(aH)return nH;aH=1;var e=Ve(),t=Nte();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimLeft!==t},{trimLeft:t}),nH}var oH;function hve(){if(oH)return rH;oH=1,dve();var e=Ve(),t=Nte();return e({target:"String",proto:!0,name:"trimStart",forced:"".trimStart!==t},{trimStart:t}),rH}var sH={},ET,uH;function hs(){if(uH)return ET;uH=1;var e=Kt(),t=Pi(),r=rn(),n=/"/g,i=e("".replace);return ET=function(a,o,u,s){var c=r(t(a)),d="<"+o;return u!==""&&(d+=" "+u+'="'+i(r(s),n,""")+'"'),d+">"+c+"</"+o+">"},ET}var wT,lH;function vs(){if(lH)return wT;lH=1;var e=zt();return wT=function(t){return e(function(){var r=""[t]('"');return r!==r.toLowerCase()||r.split('"').length>3})},wT}var cH;function vve(){if(cH)return sH;cH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("anchor")},{anchor:function(i){return t(this,"a","name",i)}}),sH}var fH={},dH;function pve(){if(dH)return fH;dH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("big")},{big:function(){return t(this,"big","","")}}),fH}var hH={},vH;function gve(){if(vH)return hH;vH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("blink")},{blink:function(){return t(this,"blink","","")}}),hH}var pH={},gH;function mve(){if(gH)return pH;gH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("bold")},{bold:function(){return t(this,"b","","")}}),pH}var mH={},yH;function yve(){if(yH)return mH;yH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("fixed")},{fixed:function(){return t(this,"tt","","")}}),mH}var _H={},SH;function _ve(){if(SH)return _H;SH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("fontcolor")},{fontcolor:function(i){return t(this,"font","color",i)}}),_H}var EH={},wH;function Sve(){if(wH)return EH;wH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("fontsize")},{fontsize:function(i){return t(this,"font","size",i)}}),EH}var bH={},TH;function Eve(){if(TH)return bH;TH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("italics")},{italics:function(){return t(this,"i","","")}}),bH}var RH={},xH;function wve(){if(xH)return RH;xH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("link")},{link:function(i){return t(this,"a","href",i)}}),RH}var CH={},AH;function bve(){if(AH)return CH;AH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("small")},{small:function(){return t(this,"small","","")}}),CH}var OH={},IH;function Tve(){if(IH)return OH;IH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("strike")},{strike:function(){return t(this,"strike","","")}}),OH}var PH={},DH;function Rve(){if(DH)return PH;DH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("sub")},{sub:function(){return t(this,"sub","","")}}),PH}var kH={},NH;function xve(){if(NH)return kH;NH=1;var e=Ve(),t=hs(),r=vs();return e({target:"String",proto:!0,forced:r("sup")},{sup:function(){return t(this,"sup","","")}}),kH}var LH={},Wg={exports:{}},bT,MH;function iD(){if(MH)return bT;MH=1;var e=er(),t=zt(),r=Qy(),n=Tn().NATIVE_ARRAY_BUFFER_VIEWS,i=e.ArrayBuffer,a=e.Int8Array;return bT=!n||!t(function(){a(1)})||!t(function(){new a(-1)})||!r(function(o){new a,new a(null),new a(1.5),new a(o)},!0)||t(function(){return new a(new i(2),1,void 0).length!==1}),bT}var TT,$H;function Lte(){if($H)return TT;$H=1;var e=zP(),t=RangeError;return TT=function(r,n){var i=e(r);if(i%n)throw new t("Wrong offset");return i},TT}var RT,FH;function Cve(){if(FH)return RT;FH=1;var e=Math.round;return RT=function(t){var r=e(t);return r<0?0:r>255?255:r&255},RT}var xT,jH;function Mte(){if(jH)return xT;jH=1;var e=ls();return xT=function(t){var r=e(t);return r==="BigInt64Array"||r==="BigUint64Array"},xT}var CT,UH;function aD(){if(UH)return CT;UH=1;var e=By(),t=TypeError;return CT=function(r){var n=e(r,"number");if(typeof n=="number")throw new t("Can't convert number to bigint");return BigInt(n)},CT}var AT,qH;function $te(){if(qH)return AT;qH=1;var e=cs(),t=Sr(),r=KP(),n=kn(),i=ai(),a=sh(),o=_f(),u=LP(),s=Mte(),c=Tn().aTypedArrayConstructor,d=aD();return AT=function(v){var g=r(this),m=n(v),y=arguments.length,S=y>1?arguments[1]:void 0,w=S!==void 0,b=o(m),A,R,x,O,_,P,N,U;if(b&&!u(b))for(N=a(m,b),U=N.next,m=[];!(P=t(U,N)).done;)m.push(P.value);for(w&&y>2&&(S=e(S,arguments[2])),R=i(m),x=new(c(g))(R),O=s(x),A=0;R>A;A++)_=w?S(m[A],A):m[A],x[A]=O?d(_):+_;return x},AT}var VH;function yl(){if(VH)return Wg.exports;VH=1;var e=Ve(),t=er(),r=Sr(),n=Ir(),i=iD(),a=Tn(),o=n_(),u=ds(),s=ss(),c=$a(),d=YP(),h=us(),v=r_(),g=Lte(),m=Cve(),y=oc(),S=Sn(),w=ls(),b=Gr(),A=hf(),R=Fa(),x=yo(),O=ru(),_=pf().f,P=$te(),N=ja().forEach,U=ch(),$=ta(),B=xi(),Y=Ma(),Q=Ep(),K=qi(),ee=yf(),ne=K.get,D=K.set,I=K.enforce,L=B.f,re=Y.f,te=t.RangeError,ce=o.ArrayBuffer,be=ce.prototype,Ie=o.DataView,je=a.NATIVE_ARRAY_BUFFER_VIEWS,z=a.TYPED_ARRAY_TAG,k=a.TypedArray,q=a.TypedArrayPrototype,H=a.isTypedArray,ie="BYTES_PER_ELEMENT",V="Wrong length",Z=function(Oe,Me){$(Oe,Me,{configurable:!0,get:function(){return ne(this)[Me]}})},me=function(Oe){var Me;return x(be,Oe)||(Me=w(Oe))==="ArrayBuffer"||Me==="SharedArrayBuffer"},fe=function(Oe,Me){return H(Oe)&&!A(Me)&&Me in Oe&&d(+Me)&&Me>=0},Re=function(Me,de){return de=y(de),fe(Me,de)?s(2,Me[de]):re(Me,de)},Se=function(Me,de,Ee){return de=y(de),fe(Me,de)&&b(Ee)&&S(Ee,"value")&&!S(Ee,"get")&&!S(Ee,"set")&&!Ee.configurable&&(!S(Ee,"writable")||Ee.writable)&&(!S(Ee,"enumerable")||Ee.enumerable)?(Me[de]=Ee.value,Me):L(Me,de,Ee)};return n?(je||(Y.f=Re,B.f=Se,Z(q,"buffer"),Z(q,"byteOffset"),Z(q,"byteLength"),Z(q,"length")),e({target:"Object",stat:!0,forced:!je},{getOwnPropertyDescriptor:Re,defineProperty:Se}),Wg.exports=function(Oe,Me,de){var Ee=Oe.match(/\d+/)[0]/8,_e=Oe+(de?"Clamped":"")+"Array",xe="get"+Oe,ke="set"+Oe,Le=t[_e],He=Le,_t=He&&He.prototype,jt={},Lt=function(St,yt){var at=ne(St);return at.view[xe](yt*Ee+at.byteOffset,!0)},Qe=function(St,yt,at){var $t=ne(St);$t.view[ke](yt*Ee+$t.byteOffset,de?m(at):at,!0)},bt=function(St,yt){L(St,yt,{get:function(){return Lt(this,yt)},set:function(at){return Qe(this,yt,at)},enumerable:!0})};je?i&&(He=Me(function(St,yt,at,$t){return u(St,_t),ee((function(){return b(yt)?me(yt)?$t!==void 0?new Le(yt,g(at,Ee),$t):at!==void 0?new Le(yt,g(at,Ee)):new Le(yt):H(yt)?Q(He,yt):r(P,He,yt):new Le(v(yt))})(),St,He)}),O&&O(He,k),N(_(Le),function(St){St in He||c(He,St,Le[St])}),He.prototype=_t):(He=Me(function(St,yt,at,$t){u(St,_t);var xt=0,Ce=0,Ze,ut,Tt;if(!b(yt))Tt=v(yt),ut=Tt*Ee,Ze=new ce(ut);else if(me(yt)){Ze=yt,Ce=g(at,Ee);var Pt=yt.byteLength;if($t===void 0){if(Pt%Ee)throw new te(V);if(ut=Pt-Ce,ut<0)throw new te(V)}else if(ut=h($t)*Ee,ut+Ce>Pt)throw new te(V);Tt=ut/Ee}else return H(yt)?Q(He,yt):r(P,He,yt);for(D(St,{buffer:Ze,byteOffset:Ce,byteLength:ut,length:Tt,view:new Ie(Ze)});xt<Tt;)bt(St,xt++)}),O&&O(He,k),_t=He.prototype=R(q)),_t.constructor!==He&&c(_t,"constructor",He),I(_t).TypedArrayConstructor=He,z&&c(_t,z,_e);var mt=He!==Le;jt[_e]=He,e({global:!0,constructor:!0,forced:mt,sham:!je},jt),ie in He||c(He,ie,Ee),ie in _t||c(_t,ie,Ee),U(_e)}):Wg.exports=function(){},Wg.exports}var BH;function Ave(){if(BH)return LH;BH=1;var e=yl();return e("Float32",function(t){return function(n,i,a){return t(this,n,i,a)}}),LH}var HH={},zH;function Ove(){if(zH)return HH;zH=1;var e=yl();return e("Float64",function(t){return function(n,i,a){return t(this,n,i,a)}}),HH}var WH={},GH;function Ive(){if(GH)return WH;GH=1;var e=yl();return e("Int8",function(t){return function(n,i,a){return t(this,n,i,a)}}),WH}var YH={},KH;function Pve(){if(KH)return YH;KH=1;var e=yl();return e("Int16",function(t){return function(n,i,a){return t(this,n,i,a)}}),YH}var XH={},QH;function Dve(){if(QH)return XH;QH=1;var e=yl();return e("Int32",function(t){return function(n,i,a){return t(this,n,i,a)}}),XH}var JH={},ZH;function kve(){if(ZH)return JH;ZH=1;var e=yl();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}}),JH}var e7={},t7;function Nve(){if(t7)return e7;t7=1;var e=yl();return e("Uint8",function(t){return function(n,i,a){return t(this,n,i,a)}},!0),e7}var r7={},n7;function Lve(){if(n7)return r7;n7=1;var e=yl();return e("Uint16",function(t){return function(n,i,a){return t(this,n,i,a)}}),r7}var i7={},a7;function Mve(){if(a7)return i7;a7=1;var e=yl();return e("Uint32",function(t){return function(n,i,a){return t(this,n,i,a)}}),i7}var o7={},s7;function $ve(){if(s7)return o7;s7=1;var e=Tn(),t=ai(),r=Gi(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("at",function(o){var u=n(this),s=t(u),c=r(o),d=c>=0?c:s+c;return d<0||d>=s?void 0:u[d]}),o7}var u7={},l7;function Fve(){if(l7)return u7;l7=1;var e=Kt(),t=Tn(),r=Uee(),n=e(r),i=t.aTypedArray,a=t.exportTypedArrayMethod;return a("copyWithin",function(u,s){return n(i(this),u,s,arguments.length>2?arguments[2]:void 0)}),u7}var c7={},f7;function jve(){if(f7)return c7;f7=1;var e=Tn(),t=ja().every,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("every",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),c7}var d7={},h7;function Uve(){if(h7)return d7;h7=1;var e=Tn(),t=MP(),r=aD(),n=ls(),i=Sr(),a=Kt(),o=zt(),u=e.aTypedArray,s=e.exportTypedArrayMethod,c=a("".slice),d=o(function(){var h=0;return new Int8Array(2).fill({valueOf:function(){return h++}}),h!==1});return s("fill",function(v){var g=arguments.length;u(this);var m=c(n(this),0,3)==="Big"?r(v):+v;return i(t,this,m,g>1?arguments[1]:void 0,g>2?arguments[2]:void 0)},d),d7}var v7={},OT,p7;function qve(){if(p7)return OT;p7=1;var e=Ep(),t=Tn().getTypedArrayConstructor;return OT=function(r,n){return e(t(r),n)},OT}var g7;function Vve(){if(g7)return v7;g7=1;var e=Tn(),t=ja().filter,r=qve(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("filter",function(o){var u=t(n(this),o,arguments.length>1?arguments[1]:void 0);return r(this,u)}),v7}var m7={},y7;function Bve(){if(y7)return m7;y7=1;var e=Tn(),t=ja().find,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("find",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),m7}var _7={},S7;function Hve(){if(S7)return _7;S7=1;var e=Tn(),t=ja().findIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),_7}var E7={},w7;function zve(){if(w7)return E7;w7=1;var e=Tn(),t=Xy().findLast,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLast",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),E7}var b7={},T7;function Wve(){if(T7)return b7;T7=1;var e=Tn(),t=Xy().findLastIndex,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("findLastIndex",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),b7}var R7={},x7;function Gve(){if(x7)return R7;x7=1;var e=Tn(),t=ja().forEach,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("forEach",function(a){t(r(this),a,arguments.length>1?arguments[1]:void 0)}),R7}var C7={},A7;function Yve(){if(A7)return C7;A7=1;var e=iD(),t=Tn().exportTypedArrayStaticMethod,r=$te();return t("from",r,e),C7}var O7={},I7;function Kve(){if(I7)return O7;I7=1;var e=Tn(),t=pp().includes,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("includes",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),O7}var P7={},D7;function Xve(){if(D7)return P7;D7=1;var e=Tn(),t=pp().indexOf,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("indexOf",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),P7}var k7={},N7;function Qve(){if(N7)return k7;N7=1;var e=er(),t=zt(),r=Kt(),n=Tn(),i=Jy(),a=Yr(),o=a("iterator"),u=e.Uint8Array,s=r(i.values),c=r(i.keys),d=r(i.entries),h=n.aTypedArray,v=n.exportTypedArrayMethod,g=u&&u.prototype,m=!t(function(){g[o].call([1])}),y=!!g&&g.values&&g[o]===g.values&&g.values.name==="values",S=function(){return s(h(this))};return v("entries",function(){return d(h(this))},m),v("keys",function(){return c(h(this))},m),v("values",S,m||!y,{name:"values"}),v(o,S,m||!y,{name:"values"}),k7}var L7={},M7;function Jve(){if(M7)return L7;M7=1;var e=Tn(),t=Kt(),r=e.aTypedArray,n=e.exportTypedArrayMethod,i=t([].join);return n("join",function(o){return i(r(this),o)}),L7}var $7={},F7;function Zve(){if(F7)return $7;F7=1;var e=Tn(),t=fs(),r=Hee(),n=e.aTypedArray,i=e.exportTypedArrayMethod;return i("lastIndexOf",function(o){var u=arguments.length;return t(r,n(this),u>1?[o,arguments[1]]:[o])}),$7}var j7={},U7;function epe(){if(U7)return j7;U7=1;var e=Tn(),t=ja().map,r=e.aTypedArray,n=e.getTypedArrayConstructor,i=e.exportTypedArrayMethod;return i("map",function(o){return t(r(this),o,arguments.length>1?arguments[1]:void 0,function(u,s){return new(n(u))(s)})}),j7}var q7={},V7;function tpe(){if(V7)return q7;V7=1;var e=Tn(),t=iD(),r=e.aTypedArrayConstructor,n=e.exportTypedArrayStaticMethod;return n("of",function(){for(var a=0,o=arguments.length,u=new(r(this))(o);o>a;)u[a]=arguments[a++];return u},t),q7}var B7={},H7;function rpe(){if(H7)return B7;H7=1;var e=Tn(),t=Zy().left,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("reduce",function(a){var o=arguments.length;return t(r(this),a,o,o>1?arguments[1]:void 0)}),B7}var z7={},W7;function npe(){if(W7)return z7;W7=1;var e=Tn(),t=Zy().right,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("reduceRight",function(a){var o=arguments.length;return t(r(this),a,o,o>1?arguments[1]:void 0)}),z7}var G7={},Y7;function ipe(){if(Y7)return G7;Y7=1;var e=Tn(),t=e.aTypedArray,r=e.exportTypedArrayMethod,n=Math.floor;return r("reverse",function(){for(var a=this,o=t(a).length,u=n(o/2),s=0,c;s<u;)c=a[s],a[s++]=a[--o],a[o]=c;return a}),G7}var K7={},X7;function ape(){if(X7)return K7;X7=1;var e=er(),t=Sr(),r=Tn(),n=ai(),i=Lte(),a=kn(),o=zt(),u=e.RangeError,s=e.Int8Array,c=s&&s.prototype,d=c&&c.set,h=r.aTypedArray,v=r.exportTypedArrayMethod,g=!o(function(){var y=new Uint8ClampedArray(2);return t(d,y,{length:1,0:3},1),y[1]!==3}),m=g&&r.NATIVE_ARRAY_BUFFER_VIEWS&&o(function(){var y=new s(2);return y.set(1),y.set("2",1),y[0]!==0||y[1]!==2});return v("set",function(S){h(this);var w=i(arguments.length>1?arguments[1]:void 0,1),b=a(S);if(g)return t(d,this,b,w);var A=this.length,R=n(b),x=0;if(R+w>A)throw new u("Wrong length");for(;x<R;)this[w+x]=b[x++]},!g||m),K7}var Q7={},J7;function ope(){if(J7)return Q7;J7=1;var e=Tn(),t=zt(),r=$s(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod,o=t(function(){new Int8Array(1).slice()});return a("slice",function(s,c){for(var d=r(n(this),s,c),h=i(this),v=0,g=d.length,m=new h(g);g>v;)m[v]=d[v++];return m},o),Q7}var Z7={},e9;function spe(){if(e9)return Z7;e9=1;var e=Tn(),t=ja().some,r=e.aTypedArray,n=e.exportTypedArrayMethod;return n("some",function(a){return t(r(this),a,arguments.length>1?arguments[1]:void 0)}),Z7}var t9={},r9;function upe(){if(r9)return t9;r9=1;var e=er(),t=gf(),r=zt(),n=_n(),i=qP(),a=Tn(),o=zee(),u=Wee(),s=Ou(),c=VP(),d=a.aTypedArray,h=a.exportTypedArrayMethod,v=e.Uint16Array,g=v&&t(v.prototype.sort),m=!!g&&!(r(function(){g(new v(2),null)})&&r(function(){g(new v(2),{})})),y=!!g&&!r(function(){if(s)return s<74;if(o)return o<67;if(u)return!0;if(c)return c<602;var w=new v(516),b=Array(516),A,R;for(A=0;A<516;A++)R=A%4,w[A]=515-A,b[A]=A-2*R+3;for(g(w,function(x,O){return(x/4|0)-(O/4|0)}),A=0;A<516;A++)if(w[A]!==b[A])return!0}),S=function(w){return function(b,A){return w!==void 0?+w(b,A)||0:A!==A?-1:b!==b?1:b===0&&A===0?1/b>0&&1/A<0?1:-1:b>A}};return h("sort",function(b){return b!==void 0&&n(b),y?g(this,b):i(d(this),S(b))},!y||m),t9}var n9={},i9;function lpe(){if(i9)return n9;i9=1;var e=Tn(),t=us(),r=hl(),n=e.aTypedArray,i=e.getTypedArrayConstructor,a=e.exportTypedArrayMethod;return a("subarray",function(u,s){var c=n(this),d=c.length,h=r(u,d),v=i(c);return new v(c.buffer,c.byteOffset+h*c.BYTES_PER_ELEMENT,t((s===void 0?d:r(s,d))-h))}),n9}var a9={},o9;function cpe(){if(o9)return a9;o9=1;var e=er(),t=fs(),r=Tn(),n=zt(),i=$s(),a=e.Int8Array,o=r.aTypedArray,u=r.exportTypedArrayMethod,s=[].toLocaleString,c=!!a&&n(function(){s.call(new a(1))}),d=n(function(){return[1,2].toLocaleString()!==new a([1,2]).toLocaleString()})||!n(function(){a.prototype.toLocaleString.call([1,2])});return u("toLocaleString",function(){return t(s,c?i(o(this)):o(this),i(arguments))},d),a9}var s9={},u9;function fpe(){if(u9)return s9;u9=1;var e=Gee(),t=Tn(),r=t.aTypedArray,n=t.exportTypedArrayMethod,i=t.getTypedArrayConstructor;return n("toReversed",function(){return e(r(this),i(this))}),s9}var l9={},c9;function dpe(){if(c9)return l9;c9=1;var e=Tn(),t=Kt(),r=_n(),n=Ep(),i=e.aTypedArray,a=e.getTypedArrayConstructor,o=e.exportTypedArrayMethod,u=t(e.TypedArrayPrototype.sort);return o("toSorted",function(c){c!==void 0&&r(c);var d=i(this),h=n(a(d),d);return u(h,c)}),l9}var f9={},d9;function hpe(){if(d9)return f9;d9=1;var e=Tn().exportTypedArrayMethod,t=zt(),r=er(),n=Kt(),i=r.Uint8Array,a=i&&i.prototype||{},o=[].toString,u=n([].join);t(function(){o.call({})})&&(o=function(){return u(this)});var s=a.toString!==o;return e("toString",o,s),f9}var h9={},v9;function vpe(){if(v9)return h9;v9=1;var e=Kee(),t=Tn(),r=Mte(),n=Gi(),i=aD(),a=t.aTypedArray,o=t.getTypedArrayConstructor,u=t.exportTypedArrayMethod,s=(function(){try{new Int8Array(1).with(2,{valueOf:function(){throw 8}})}catch(d){return d===8}})(),c=s&&(function(){try{new Int8Array(1).with(-.5,1)}catch{return!0}})();return u("with",function(d,h){var v=a(this),g=n(d),m=r(v)?i(h):+h;return e(v,o(v),g,m)},!s||c),h9}var p9={},IT,g9;function Fte(){if(g9)return IT;g9=1;var e=Gr(),t=String,r=TypeError;return IT=function(n){if(n===void 0||e(n))return n;throw new r(t(n)+" is not an object or undefined")},IT}var PT,m9;function S_(){if(m9)return PT;m9=1;var e="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789",t=e+"+/",r=e+"-_",n=function(i){for(var a={},o=0;o<64;o++)a[i.charAt(o)]=o;return a};return PT={i2c:t,c2i:n(t),i2cUrl:r,c2iUrl:n(r)},PT}var DT,y9;function jte(){if(y9)return DT;y9=1;var e=TypeError;return DT=function(t){var r=t&&t.alphabet;if(r===void 0||r==="base64"||r==="base64url")return r||"base64";throw new e("Incorrect `alphabet` option")},DT}var kT,_9;function Ute(){if(_9)return kT;_9=1;var e=er(),t=Kt(),r=Fte(),n=g_(),i=Sn(),a=S_(),o=jte(),u=wp(),s=a.c2i,c=a.c2iUrl,d=e.SyntaxError,h=e.TypeError,v=t("".charAt),g=function(S,w){for(var b=S.length;w<b;w++){var A=v(S,w);if(A!==" "&&A!==" "&&A!==`
|
|
6
|
-
`&&A!=="\f"&&A!=="\r")break}return w},m=function(S,w,b){var A=S.length;A<4&&(S+=A===2?"AA":"A");var R=(w[v(S,0)]<<18)+(w[v(S,1)]<<12)+(w[v(S,2)]<<6)+w[v(S,3)],x=[R>>16&255,R>>8&255,R&255];if(A===2){if(b&&x[1]!==0)throw new d("Extra bits");return[x[0]]}if(A===3){if(b&&x[2]!==0)throw new d("Extra bits");return[x[0],x[1]]}return x},y=function(S,w,b){for(var A=w.length,R=0;R<A;R++)S[b+R]=w[R];return b+A};return kT=function(S,w,b,A){n(S),r(w);var R=o(w)==="base64"?s:c,x=w?w.lastChunkHandling:void 0;if(x===void 0&&(x="loose"),x!=="loose"&&x!=="strict"&&x!=="stop-before-partial")throw new h("Incorrect `lastChunkHandling` option");b&&u(b.buffer);var O=S.length,_=b||[],P=0,N=0,U="",$=0;if(A)for(;;){if($=g(S,$),$===O){if(U.length>0){if(x==="stop-before-partial")break;if(x==="loose"){if(U.length===1)throw new d("Malformed padding: exactly one additional character");P=y(_,m(U,R,!1),P)}else throw new d("Missing padding")}N=O;break}var B=v(S,$);if(++$,B==="="){if(U.length<2)throw new d("Padding is too early");if($=g(S,$),U.length===2){if($===O){if(x==="stop-before-partial")break;throw new d("Malformed padding: only one =")}v(S,$)==="="&&(++$,$=g(S,$))}if($<O)throw new d("Unexpected character after padding");P=y(_,m(U,R,x==="strict"),P),N=O;break}if(!i(R,B))throw new d("Unexpected character");var Y=A-P;if(Y===1&&U.length===2||Y===2&&U.length===3||(U+=B,U.length===4&&(P=y(_,m(U,R,!1),P),U="",N=$,P===A)))break}return{bytes:_,read:N,written:P}},kT}var S9;function ppe(){if(S9)return p9;S9=1;var e=Ve(),t=er(),r=Ep(),n=Ute(),i=t.Uint8Array,a=!i||!i.fromBase64||!(function(){try{i.fromBase64("a");return}catch{}try{i.fromBase64("",null)}catch{return!0}})();return i&&e({target:"Uint8Array",stat:!0,forced:a},{fromBase64:function(u){var s=n(u,arguments.length>1?arguments[1]:void 0,null,9007199254740991);return r(i,s.bytes)}}),p9}var E9={},NT,w9;function qte(){if(w9)return NT;w9=1;var e=er(),t=Kt(),r=e.Uint8Array,n=e.SyntaxError,i=e.parseInt,a=Math.min,o=/[^\da-f]/i,u=t(o.exec),s=t("".slice);return NT=function(c,d){var h=c.length;if(h%2!==0)throw new n("String should be an even number of characters");for(var v=d?a(d.length,h/2):h/2,g=d||new r(v),m=0,y=0;y<v;){var S=s(c,m,m+=2);if(u(o,S))throw new n("String should only contain hex characters");g[y++]=i(S,16)}return{bytes:g,read:m}},NT}var b9;function gpe(){if(b9)return E9;b9=1;var e=Ve(),t=er(),r=g_(),n=qte();return t.Uint8Array&&e({target:"Uint8Array",stat:!0},{fromHex:function(a){return n(r(a)).bytes}}),E9}var T9={},LT,R9;function E_(){if(R9)return LT;R9=1;var e=ls(),t=TypeError;return LT=function(r){if(e(r)==="Uint8Array")return r;throw new t("Argument is not an Uint8Array")},LT}var x9;function mpe(){if(x9)return T9;x9=1;var e=Ve(),t=er(),r=Ute(),n=E_(),i=t.Uint8Array,a=!i||!i.prototype.setFromBase64||!(function(){var o=new i([255,255,255,255,255]);try{o.setFromBase64("",null);return}catch{}try{o.setFromBase64("a");return}catch{}try{o.setFromBase64("MjYyZg===")}catch{return o[0]===50&&o[1]===54&&o[2]===50&&o[3]===255&&o[4]===255}})();return i&&e({target:"Uint8Array",proto:!0,forced:a},{setFromBase64:function(u){n(this);var s=r(u,arguments.length>1?arguments[1]:void 0,this,this.length);return{read:s.read,written:s.written}}}),T9}var C9={},A9;function ype(){if(A9)return C9;A9=1;var e=Ve(),t=er(),r=g_(),n=E_(),i=wp(),a=qte();return t.Uint8Array&&e({target:"Uint8Array",proto:!0},{setFromHex:function(u){n(this),r(u),i(this.buffer);var s=a(u,this).read;return{read:s,written:s/2}}}),C9}var O9={},I9;function _pe(){if(I9)return O9;I9=1;var e=Ve(),t=er(),r=Kt(),n=Fte(),i=E_(),a=wp(),o=S_(),u=jte(),s=o.i2c,c=o.i2cUrl,d=r("".charAt),h=t.Uint8Array,v=!h||!h.prototype.toBase64||!(function(){try{var g=new h;g.toBase64(null)}catch{return!0}})();return h&&e({target:"Uint8Array",proto:!0,forced:v},{toBase64:function(){var m=i(this),y=arguments.length?n(arguments[0]):void 0,S=u(y)==="base64"?s:c,w=!!y&&!!y.omitPadding;a(this.buffer);for(var b="",A=0,R=m.length,x,O=function(_){return d(S,x>>6*_&63)};A+2<R;A+=3)x=(m[A]<<16)+(m[A+1]<<8)+m[A+2],b+=O(3)+O(2)+O(1)+O(0);return A+2===R?(x=(m[A]<<16)+(m[A+1]<<8),b+=O(3)+O(2)+O(1)+(w?"":"=")):A+1===R&&(x=m[A]<<16,b+=O(3)+O(2)+(w?"":"==")),b}}),O9}var P9={},D9;function Spe(){if(D9)return P9;D9=1;var e=Ve(),t=er(),r=Kt(),n=E_(),i=wp(),a=r(1.1.toString),o=t.Uint8Array,u=!o||!o.prototype.toHex||!(function(){try{var s=new o([255,255,255,255,255,255,255,255]);return s.toHex()==="ffffffffffffffff"}catch{return!1}})();return o&&e({target:"Uint8Array",proto:!0,forced:u},{toHex:function(){n(this),i(this.buffer);for(var c="",d=0,h=this.length;d<h;d++){var v=a(this[d],16);c+=v.length===1?"0"+v:v}return c}}),P9}var k9={},N9;function Epe(){if(N9)return k9;N9=1;var e=Ve(),t=Kt(),r=rn(),n=String.fromCharCode,i=t("".charAt),a=t(/./.exec),o=t("".slice),u=/^[\da-f]{2}$/i,s=/^[\da-f]{4}$/i;return e({global:!0},{unescape:function(d){for(var h=r(d),v="",g=h.length,m=0,y,S;m<g;){if(y=i(h,m++),y==="%"){if(i(h,m)==="u"){if(S=o(h,m+1,m+5),a(s,S)){v+=n(parseInt(S,16)),m+=5;continue}}else if(S=o(h,m,m+2),a(u,S)){v+=n(parseInt(S,16)),m+=2;continue}}v+=y}return v}}),k9}var L9={},M9={},MT,$9;function Vte(){if($9)return MT;$9=1;var e=Kt(),t=gl(),r=wf().getWeakData,n=ds(),i=Tr(),a=dl(),o=Gr(),u=ha(),s=ja(),c=Sn(),d=qi(),h=d.set,v=d.getterFor,g=s.find,m=s.findIndex,y=e([].splice),S=0,w=function(R){return R.frozen||(R.frozen=new b)},b=function(){this.entries=[]},A=function(R,x){return g(R.entries,function(O){return O[0]===x})};return b.prototype={get:function(R){var x=A(this,R);if(x)return x[1]},has:function(R){return!!A(this,R)},set:function(R,x){var O=A(this,R);O?O[1]=x:this.entries.push([R,x])},delete:function(R){var x=m(this.entries,function(O){return O[0]===R});return~x&&y(this.entries,x,1),!!~x}},MT={getConstructor:function(R,x,O,_){var P=R(function(B,Y){n(B,N),h(B,{type:x,id:S++,frozen:null}),a(Y)||u(Y,B[_],{that:B,AS_ENTRIES:O})}),N=P.prototype,U=v(x),$=function(B,Y,Q){var K=U(B),ee=r(i(Y),!0);return ee===!0?w(K).set(Y,Q):ee[K.id]=Q,B};return t(N,{delete:function(B){var Y=U(this);if(!o(B))return!1;var Q=r(B);return Q===!0?w(Y).delete(B):Q&&c(Q,Y.id)&&delete Q[Y.id]},has:function(Y){var Q=U(this);if(!o(Y))return!1;var K=r(Y);return K===!0?w(Q).has(Y):K&&c(K,Q.id)}}),t(N,O?{get:function(Y){var Q=U(this);if(o(Y)){var K=r(Y);if(K===!0)return w(Q).get(Y);if(K)return K[Q.id]}},set:function(Y,Q){return $(this,Y,Q)}}:{add:function(Y){return $(this,Y,!0)}}),P}},MT}var F9;function wpe(){if(F9)return M9;F9=1;var e=dh(),t=er(),r=Kt(),n=gl(),i=wf(),a=s_(),o=Vte(),u=Gr(),s=qi().enforce,c=zt(),d=Ree(),h=Object,v=Array.isArray,g=h.isExtensible,m=h.isFrozen,y=h.isSealed,S=h.freeze,w=h.seal,b=!t.ActiveXObject&&"ActiveXObject"in t,A,R=function(B){return function(){return B(this,arguments.length?arguments[0]:void 0)}},x=a("WeakMap",R,o),O=x.prototype,_=r(O.set),P=function(){return e&&c(function(){var B=S([]);return _(new x,B,1),!m(B)})};if(d)if(b){A=o.getConstructor(R,"WeakMap",!0),i.enable();var N=r(O.delete),U=r(O.has),$=r(O.get);n(O,{delete:function(B){if(u(B)&&!g(B)){var Y=s(this);return Y.frozen||(Y.frozen=new A),N(this,B)||Y.frozen.delete(B)}return N(this,B)},has:function(Y){if(u(Y)&&!g(Y)){var Q=s(this);return Q.frozen||(Q.frozen=new A),U(this,Y)||Q.frozen.has(Y)}return U(this,Y)},get:function(Y){if(u(Y)&&!g(Y)){var Q=s(this);return Q.frozen||(Q.frozen=new A),U(this,Y)?$(this,Y):Q.frozen.get(Y)}return $(this,Y)},set:function(Y,Q){if(u(Y)&&!g(Y)){var K=s(this);K.frozen||(K.frozen=new A),U(this,Y)?_(this,Y,Q):K.frozen.set(Y,Q)}else _(this,Y,Q);return this}})}else P()&&n(O,{set:function(Y,Q){var K;return v(Y)&&(m(Y)?K=S:y(Y)&&(K=w)),_(this,Y,Q),K&&K(Y),this}});return M9}var j9;function bpe(){return j9||(j9=1,wpe()),L9}var U9={},q9={},V9;function Tpe(){if(V9)return q9;V9=1;var e=s_(),t=Vte();return e("WeakSet",function(r){return function(){return r(this,arguments.length?arguments[0]:void 0)}},t),q9}var B9;function Rpe(){return B9||(B9=1,Tpe()),U9}var H9={},z9;function xpe(){if(z9)return H9;z9=1;var e=Ve(),t=er(),r=yn(),n=Kt(),i=Sr(),a=zt(),o=rn(),u=Fs(),s=S_().c2i,c=/[^\d+/a-z]/i,d=/[\t\n\f\r ]+/g,h=/[=]{1,2}$/,v=r("atob"),g=String.fromCharCode,m=n("".charAt),y=n("".replace),S=n(c.exec),w=!!v&&!a(function(){return v("aGk=")!=="hi"}),b=w&&a(function(){return v(" ")!==""}),A=w&&!a(function(){v("a")}),R=w&&!a(function(){v()}),x=w&&v.length!==1,O=!w||b||A||R||x;return e({global:!0,bind:!0,enumerable:!0,forced:O},{atob:function(P){if(u(arguments.length,1),w&&!b&&!A)return i(v,t,P);var N=y(o(P),d,""),U="",$=0,B=0,Y,Q,K;if(N.length%4===0&&(N=y(N,h,"")),Y=N.length,Y%4===1||S(c,N))throw new(r("DOMException"))("The string is not correctly encoded","InvalidCharacterError");for(;$<Y;)Q=m(N,$++),K=B%4?K*64+s[Q]:s[Q],B++%4&&(U+=g(255&K>>(-2*B&6)));return U}}),H9}var W9={},G9;function Cpe(){if(G9)return W9;G9=1;var e=Ve(),t=er(),r=yn(),n=Kt(),i=Sr(),a=zt(),o=rn(),u=Fs(),s=S_().i2c,c=r("btoa"),d=n("".charAt),h=n("".charCodeAt),v=!!c&&!a(function(){return c("hi")!=="aGk="}),g=v&&!a(function(){c()}),m=v&&a(function(){return c(null)!=="bnVsbA=="}),y=v&&c.length!==1;return e({global:!0,bind:!0,enumerable:!0,forced:!v||g||m||y},{btoa:function(w){if(u(arguments.length,1),v)return i(c,t,o(w));for(var b=o(w),A="",R=0,x=s,O,_;d(b,R)||(x="=",R%1);){if(_=h(b,R+=3/4),_>255)throw new(r("DOMException"))("The string contains characters outside of the Latin1 range","InvalidCharacterError");O=O<<8|_,A+=d(x,63&O>>8-R%1*8)}return A}}),W9}var Y9={},$T,K9;function Bte(){return K9||(K9=1,$T={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}),$T}var FT,X9;function Hte(){if(X9)return FT;X9=1;var e=Hy(),t=e("span").classList,r=t&&t.constructor&&t.constructor.prototype;return FT=r===Object.prototype?void 0:r,FT}var Q9;function Ape(){if(Q9)return Y9;Q9=1;var e=er(),t=Bte(),r=Hte(),n=Vee(),i=$a(),a=function(u){if(u&&u.forEach!==n)try{i(u,"forEach",n)}catch{u.forEach=n}};for(var o in t)t[o]&&a(e[o]&&e[o].prototype);return a(r),Y9}var J9={},Z9;function Ope(){if(Z9)return J9;Z9=1;var e=er(),t=Bte(),r=Hte(),n=Jy(),i=$a(),a=qo(),o=Yr(),u=o("iterator"),s=n.values,c=function(h,v){if(h){if(h[u]!==s)try{i(h,u,s)}catch{h[u]=s}if(a(h,v,!0),t[v]){for(var g in n)if(h[g]!==n[g])try{i(h,g,n[g])}catch{h[g]=n[g]}}}};for(var d in t)c(e[d]&&e[d].prototype,d);return c(r,"DOMTokenList"),J9}var ez={},jT,tz;function zte(){return tz||(tz=1,jT={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}}),jT}var rz;function Ipe(){if(rz)return ez;rz=1;var e=Ve(),t=yn(),r=rte(),n=zt(),i=Fa(),a=ss(),o=xi().f,u=Qn(),s=ta(),c=Sn(),d=ds(),h=Tr(),v=jee(),g=oh(),m=zte(),y=DP(),S=qi(),w=Ir(),b=Un(),A="DOMException",R="DATA_CLONE_ERR",x=t("Error"),O=t(A)||(function(){try{var k=t("MessageChannel")||r("worker_threads").MessageChannel;new k().port1.postMessage(new WeakMap)}catch(q){if(q.name===R&&q.code===25)return q.constructor}})(),_=O&&O.prototype,P=x.prototype,N=S.set,U=S.getterFor(A),$="stack"in new x(A),B=function(k){return c(m,k)&&m[k].m?m[k].c:0},Y=function(){d(this,Q);var q=arguments.length,H=g(q<1?void 0:arguments[0]),ie=g(q<2?void 0:arguments[1],"Error"),V=B(ie);if(N(this,{type:A,name:ie,message:H,code:V}),w||(this.name=ie,this.message=H,this.code=V),$){var Z=new x(H);Z.name=A,o(this,"stack",a(1,y(Z.stack,1)))}},Q=Y.prototype=i(P),K=function(k){return{enumerable:!0,configurable:!0,get:k}},ee=function(k){return K(function(){return U(this)[k]})};w&&(s(Q,"code",ee("code")),s(Q,"message",ee("message")),s(Q,"name",ee("name"))),o(Q,"constructor",a(1,Y));var ne=n(function(){return!(new O instanceof x)}),D=ne||n(function(){return P.toString!==v||String(new O(1,2))!=="2: 1"}),I=ne||n(function(){return new O(1,"DataCloneError").code!==25}),L=ne||O[R]!==25||_[R]!==25,re=b?D||I||L:ne;e({global:!0,constructor:!0,forced:re},{DOMException:re?Y:O});var te=t(A),ce=te.prototype;D&&(b||O===te)&&u(ce,"toString",v),I&&w&&O===te&&s(ce,"code",K(function(){return B(h(this).name)}));for(var be in m)if(c(m,be)){var Ie=m[be],je=Ie.s,z=a(6,Ie.c);c(te,je)||o(te,je,z),c(ce,je)||o(ce,je,z)}return ez}var nz={},iz;function Ppe(){if(iz)return nz;iz=1;var e=Ve(),t=er(),r=yn(),n=ss(),i=xi().f,a=Sn(),o=ds(),u=yf(),s=oh(),c=zte(),d=DP(),h=Ir(),v=Un(),g="DOMException",m=r("Error"),y=r(g),S=function(){o(this,w);var Y=arguments.length,Q=s(Y<1?void 0:arguments[0]),K=s(Y<2?void 0:arguments[1],"Error"),ee=new y(Q,K),ne=new m(Q);return ne.name=g,i(ee,"stack",n(1,d(ne.stack,1))),u(ee,this,S),ee},w=S.prototype=y.prototype,b="stack"in new m(g),A="stack"in new y(1,2),R=y&&h&&Object.getOwnPropertyDescriptor(t,g),x=!!R&&!(R.writable&&R.configurable),O=b&&!x&&!A;e({global:!0,constructor:!0,forced:v||O},{DOMException:O?S:y});var _=r(g),P=_.prototype;if(P.constructor!==_){v||i(P,"constructor",n(1,_));for(var N in c)if(a(c,N)){var U=c[N],$=U.s;a(_,$)||i(_,$,n(6,U.c))}}return nz}var az={},oz;function Dpe(){if(oz)return az;oz=1;var e=yn(),t=qo(),r="DOMException";return t(e(r),r),az}var sz={},uz={},lz;function kpe(){if(lz)return uz;lz=1;var e=Ve(),t=er(),r=d_().clear;return e({global:!0,bind:!0,enumerable:!0,forced:t.clearImmediate!==r},{clearImmediate:r}),uz}var cz={},UT,fz;function oD(){if(fz)return UT;fz=1;var e=er(),t=fs(),r=bn(),n=e_(),i=Au(),a=$s(),o=Fs(),u=e.Function,s=/MSIE .\./.test(i)||n==="BUN"&&(function(){var c=e.Bun.version.split(".");return c.length<3||c[0]==="0"&&(c[1]<3||c[1]==="3"&&c[2]==="0")})();return UT=function(c,d){var h=d?2:1;return s?function(v,g){var m=o(arguments.length,1)>h,y=r(v)?v:u(v),S=m?a(arguments,h):[],w=m?function(){t(y,this,S)}:y;return d?c(w,g):c(w)}:c},UT}var dz;function Npe(){if(dz)return cz;dz=1;var e=Ve(),t=er(),r=d_().set,n=oD(),i=t.setImmediate?n(r,!1):r;return e({global:!0,bind:!0,enumerable:!0,forced:t.setImmediate!==i},{setImmediate:i}),cz}var hz;function Lpe(){return hz||(hz=1,kpe(),Npe()),sz}var vz={},pz;function Mpe(){if(pz)return vz;pz=1;var e=Ve(),t=er(),r=Ete(),n=_n(),i=Fs(),a=zt(),o=Ir(),u=a(function(){return o&&Object.getOwnPropertyDescriptor(t,"queueMicrotask").value.length!==1});return e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:u},{queueMicrotask:function(c){i(arguments.length,1),r(n(c))}}),vz}var gz={},mz;function $pe(){if(mz)return gz;mz=1;var e=Ve(),t=er(),r=ta(),n=Ir(),i=TypeError,a=Object.defineProperty,o=t.self!==t;try{if(n){var u=Object.getOwnPropertyDescriptor(t,"self");(o||!u||!u.get||!u.enumerable)&&r(t,"self",{get:function(){return t},set:function(c){if(this!==t)throw new i("Illegal invocation");a(t,"self",{value:c,writable:!0,configurable:!0,enumerable:!0})},configurable:!0,enumerable:!0})}else e({global:!0,simple:!0,forced:o},{self:t})}catch{}return gz}var yz={},_z;function Fpe(){if(_z)return yz;_z=1;var e=Un(),t=Ve(),r=er(),n=yn(),i=Kt(),a=zt(),o=nh(),u=bn(),s=mf(),c=dl(),d=Gr(),h=hf(),v=ha(),g=Tr(),m=ls(),y=Sn(),S=vl(),w=$a(),b=ai(),A=Fs(),R=bf(),x=cte(),O=nu(),_=gh(),P=nte(),N=$ee(),U=HP(),$=r.Object,B=r.Array,Y=r.Date,Q=r.Error,K=r.TypeError,ee=r.PerformanceMark,ne=n("DOMException"),D=x.Map,I=x.has,L=x.get,re=x.set,te=O.Set,ce=O.add,be=O.has,Ie=n("Object","keys"),je=i([].push),z=i((!0).valueOf),k=i(1.1.valueOf),q=i("".valueOf),H=i(Y.prototype.getTime),ie=o("structuredClone"),V="DataCloneError",Z="Transferring",me=function(Qe){return!a(function(){var bt=new r.Set([7]),mt=Qe(bt),St=Qe($(7));return mt===bt||!mt.has(7)||!d(St)||+St!=7})&&Qe},fe=function(Qe,bt){return!a(function(){var mt=new bt,St=Qe({a:mt,b:mt});return!(St&&St.a===St.b&&St.a instanceof bt&&St.a.stack===mt.stack)})},Re=function(Qe){return!a(function(){var bt=Qe(new r.AggregateError([1],ie,{cause:3}));return bt.name!=="AggregateError"||bt.errors[0]!==1||bt.message!==ie||bt.cause!==3})},Se=r.structuredClone,Oe=e||!fe(Se,Q)||!fe(Se,ne)||!Re(Se),Me=!Se&&me(function(Qe){return new ee(ie,{detail:Qe}).detail}),de=me(Se)||Me,Ee=function(Qe){throw new ne("Uncloneable type: "+Qe,V)},_e=function(Qe,bt){throw new ne((bt||"Cloning")+" of "+Qe+" cannot be properly polyfilled in this engine",V)},xe=function(Qe,bt){return de||_e(bt),de(Qe)},ke=function(){var Qe;try{Qe=new r.DataTransfer}catch{try{Qe=new r.ClipboardEvent("").clipboardData}catch{}}return Qe&&Qe.items&&Qe.files?Qe:null},Le=function(Qe,bt,mt){if(I(bt,Qe))return L(bt,Qe);var St=mt||m(Qe),yt,at,$t,xt,Ce,Ze;if(St==="SharedArrayBuffer")de?yt=de(Qe):yt=Qe;else{var ut=r.DataView;!ut&&!u(Qe.slice)&&_e("ArrayBuffer");try{if(u(Qe.slice)&&!Qe.resizable)yt=Qe.slice(0);else for(at=Qe.byteLength,$t=("maxByteLength"in Qe)?{maxByteLength:Qe.maxByteLength}:void 0,yt=new ArrayBuffer(at,$t),xt=new ut(Qe),Ce=new ut(yt),Ze=0;Ze<at;Ze++)Ce.setUint8(Ze,xt.getUint8(Ze))}catch{throw new ne("ArrayBuffer is detached",V)}}return re(bt,Qe,yt),yt},He=function(Qe,bt,mt,St,yt){var at=r[bt];return d(at)||_e(bt),new at(Le(Qe.buffer,yt),mt,St)},_t=function(Qe,bt){if(h(Qe)&&Ee("Symbol"),!d(Qe))return Qe;if(bt){if(I(bt,Qe))return L(bt,Qe)}else bt=new D;var mt=m(Qe),St,yt,at,$t,xt,Ce,Ze,ut;switch(mt){case"Array":at=B(b(Qe));break;case"Object":at={};break;case"Map":at=new D;break;case"Set":at=new te;break;case"RegExp":at=new RegExp(Qe.source,R(Qe));break;case"Error":switch(yt=Qe.name,yt){case"AggregateError":at=new(n(yt))([]);break;case"EvalError":case"RangeError":case"ReferenceError":case"SuppressedError":case"SyntaxError":case"TypeError":case"URIError":at=new(n(yt));break;case"CompileError":case"LinkError":case"RuntimeError":at=new(n("WebAssembly",yt));break;default:at=new Q}break;case"DOMException":at=new ne(Qe.message,Qe.name);break;case"ArrayBuffer":case"SharedArrayBuffer":at=Le(Qe,bt,mt);break;case"DataView":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float16Array":case"Float32Array":case"Float64Array":case"BigInt64Array":case"BigUint64Array":Ce=mt==="DataView"?Qe.byteLength:Qe.length,at=He(Qe,mt,Qe.byteOffset,Ce,bt);break;case"DOMQuad":try{at=new DOMQuad(_t(Qe.p1,bt),_t(Qe.p2,bt),_t(Qe.p3,bt),_t(Qe.p4,bt))}catch{at=xe(Qe,mt)}break;case"File":if(de)try{at=de(Qe),m(at)!==mt&&(at=void 0)}catch{}if(!at)try{at=new File([Qe],Qe.name,Qe)}catch{}at||_e(mt);break;case"FileList":if($t=ke(),$t){for(xt=0,Ce=b(Qe);xt<Ce;xt++)$t.items.add(_t(Qe[xt],bt));at=$t.files}else at=xe(Qe,mt);break;case"ImageData":try{at=new ImageData(_t(Qe.data,bt),Qe.width,Qe.height,{colorSpace:Qe.colorSpace})}catch{at=xe(Qe,mt)}break;default:if(de)at=de(Qe);else switch(mt){case"BigInt":at=$(Qe.valueOf());break;case"Boolean":at=$(z(Qe));break;case"Number":at=$(k(Qe));break;case"String":at=$(q(Qe));break;case"Date":at=new Y(H(Qe));break;case"Blob":try{at=Qe.slice(0,Qe.size,Qe.type)}catch{_e(mt)}break;case"DOMPoint":case"DOMPointReadOnly":St=r[mt];try{at=St.fromPoint?St.fromPoint(Qe):new St(Qe.x,Qe.y,Qe.z,Qe.w)}catch{_e(mt)}break;case"DOMRect":case"DOMRectReadOnly":St=r[mt];try{at=St.fromRect?St.fromRect(Qe):new St(Qe.x,Qe.y,Qe.width,Qe.height)}catch{_e(mt)}break;case"DOMMatrix":case"DOMMatrixReadOnly":St=r[mt];try{at=St.fromMatrix?St.fromMatrix(Qe):new St(Qe)}catch{_e(mt)}break;case"AudioData":case"VideoFrame":u(Qe.clone)||_e(mt);try{at=Qe.clone()}catch{Ee(mt)}break;case"CropTarget":case"CryptoKey":case"FileSystemDirectoryHandle":case"FileSystemFileHandle":case"FileSystemHandle":case"GPUCompilationInfo":case"GPUCompilationMessage":case"ImageBitmap":case"RTCCertificate":case"WebAssembly.Module":_e(mt);default:Ee(mt)}}switch(re(bt,Qe,at),mt){case"Array":case"Object":for(Ze=Ie(Qe),xt=0,Ce=b(Ze);xt<Ce;xt++)ut=Ze[xt],S(at,ut,_t(Qe[ut],bt));break;case"Map":Qe.forEach(function(Tt,Pt){re(at,_t(Pt,bt),_t(Tt,bt))});break;case"Set":Qe.forEach(function(Tt){ce(at,_t(Tt,bt))});break;case"Error":w(at,"message",_t(Qe.message,bt)),y(Qe,"cause")&&w(at,"cause",_t(Qe.cause,bt)),yt==="AggregateError"?at.errors=_t(Qe.errors,bt):yt==="SuppressedError"&&(at.error=_t(Qe.error,bt),at.suppressed=_t(Qe.suppressed,bt));case"DOMException":N&&w(at,"stack",_t(Qe.stack,bt))}return at},jt=function(Qe,bt){if(!d(Qe))throw new K("Transfer option cannot be converted to a sequence");var mt=[];v(Qe,function(Pt){je(mt,g(Pt))});for(var St=0,yt=b(mt),at=new te,$t,xt,Ce,Ze,ut,Tt;St<yt;){if($t=mt[St++],xt=m($t),xt==="ArrayBuffer"?be(at,$t):I(bt,$t))throw new ne("Duplicate transferable",V);if(xt==="ArrayBuffer"){ce(at,$t);continue}if(U)Ze=Se($t,{transfer:[$t]});else switch(xt){case"ImageBitmap":Ce=r.OffscreenCanvas,s(Ce)||_e(xt,Z);try{ut=new Ce($t.width,$t.height),Tt=ut.getContext("bitmaprenderer"),Tt.transferFromImageBitmap($t),Ze=ut.transferToImageBitmap()}catch{}break;case"AudioData":case"VideoFrame":(!u($t.clone)||!u($t.close))&&_e(xt,Z);try{Ze=$t.clone(),$t.close()}catch{}break;case"MediaSourceHandle":case"MessagePort":case"MIDIAccess":case"OffscreenCanvas":case"ReadableStream":case"RTCDataChannel":case"TransformStream":case"WebTransportReceiveStream":case"WebTransportSendStream":case"WritableStream":_e(xt,Z)}if(Ze===void 0)throw new ne("This object cannot be transferred: "+xt,V);re(bt,$t,Ze)}return at},Lt=function(Qe){_(Qe,function(bt){U?de(bt,{transfer:[bt]}):u(bt.transfer)?bt.transfer():P?P(bt):_e("ArrayBuffer",Z)})};return t({global:!0,enumerable:!0,sham:!U,forced:Oe},{structuredClone:function(bt){var mt=A(arguments.length,1)>1&&!c(arguments[1])?g(arguments[1]):void 0,St=mt?mt.transfer:void 0,yt,at;St!==void 0&&(yt=new D,at=jt(St,yt));var $t=_t(bt,yt);return at&&Lt(at),$t}}),yz}var Sz={},Ez={},wz;function jpe(){if(wz)return Ez;wz=1;var e=Ve(),t=er(),r=oD(),n=r(t.setInterval,!0);return e({global:!0,bind:!0,forced:t.setInterval!==n},{setInterval:n}),Ez}var bz={},Tz;function Upe(){if(Tz)return bz;Tz=1;var e=Ve(),t=er(),r=oD(),n=r(t.setTimeout,!0);return e({global:!0,bind:!0,forced:t.setTimeout!==n},{setTimeout:n}),bz}var Rz;function qpe(){return Rz||(Rz=1,jpe(),Upe()),Sz}var xz={},Cz={},qT,Az;function w_(){if(Az)return qT;Az=1;var e=zt(),t=Yr(),r=Ir(),n=Un(),i=t("iterator");return qT=!e(function(){var a=new URL("b?a=1&b=2&c=3","https://a"),o=a.searchParams,u=new URLSearchParams("a=1&a=2&b=3"),s="";return a.pathname="c%20d",o.forEach(function(c,d){o.delete("b"),s+=d+c}),u.delete("a",2),u.delete("b",void 0),n&&(!a.toJSON||!u.has("a",1)||u.has("a",2)||!u.has("a",void 0)||u.has("b"))||!o.size&&(n||!r)||!o.sort||a.href!=="https://a/c%20d?a=1&c=3"||o.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!o[i]||new URL("https://a@b").username!=="a"||new URLSearchParams(new URLSearchParams("a=b")).get("a")!=="b"||new URL("https://тест").host!=="xn--e1aybc"||new URL("https://a#б").hash!=="#%D0%B1"||s!=="a1c3"||new URL("https://x",void 0).host!=="x"}),qT}var VT,Oz;function Vpe(){if(Oz)return VT;Oz=1;var e=Kt(),t=2147483647,r=36,n=1,i=26,a=38,o=700,u=72,s=128,c="-",d=/[^\0-\u007E]/,h=/[.\u3002\uFF0E\uFF61]/g,v="Overflow: input needs wider integers to process",g=r-n,m=RangeError,y=e(h.exec),S=Math.floor,w=String.fromCharCode,b=e("".charCodeAt),A=e([].join),R=e([].push),x=e("".replace),O=e("".split),_=e("".toLowerCase),P=function(B){for(var Y=[],Q=0,K=B.length;Q<K;){var ee=b(B,Q++);if(ee>=55296&&ee<=56319&&Q<K){var ne=b(B,Q++);(ne&64512)===56320?R(Y,((ee&1023)<<10)+(ne&1023)+65536):(R(Y,ee),Q--)}else R(Y,ee)}return Y},N=function(B){return B+22+75*(B<26)},U=function(B,Y,Q){var K=0;for(B=Q?S(B/o):B>>1,B+=S(B/Y);B>g*i>>1;)B=S(B/g),K+=r;return S(K+(g+1)*B/(B+a))},$=function(B){var Y=[];B=P(B);var Q=B.length,K=s,ee=0,ne=u,D,I;for(D=0;D<B.length;D++)I=B[D],I<128&&R(Y,w(I));var L=Y.length,re=L;for(L&&R(Y,c);re<Q;){var te=t;for(D=0;D<B.length;D++)I=B[D],I>=K&&I<te&&(te=I);var ce=re+1;if(te-K>S((t-ee)/ce))throw new m(v);for(ee+=(te-K)*ce,K=te,D=0;D<B.length;D++){if(I=B[D],I<K&&++ee>t)throw new m(v);if(I===K){for(var be=ee,Ie=r;;){var je=Ie<=ne?n:Ie>=ne+i?i:Ie-ne;if(be<je)break;var z=be-je,k=r-je;R(Y,w(N(je+z%k))),be=S(z/k),Ie+=r}R(Y,w(N(be))),ne=U(ee,ce,re===L),ee=0,re++}}ee++,K++}return A(Y,"")};return VT=function(B){var Y=[],Q=O(x(_(B),h,"."),"."),K,ee;for(K=0;K<Q.length;K++)ee=Q[K],R(Y,y(d,ee)?"xn--"+$(ee):ee);return A(Y,".")},VT}var BT,Iz;function Wte(){if(Iz)return BT;Iz=1,Jy(),Ote();var e=Ve(),t=er(),r=_te(),n=yn(),i=Sr(),a=Kt(),o=Ir(),u=w_(),s=Qn(),c=ta(),d=gl(),h=qo(),v=FP(),g=qi(),m=ds(),y=bn(),S=Sn(),w=cs(),b=ls(),A=Tr(),R=Gr(),x=rn(),O=Fa(),_=ss(),P=sh(),N=_f(),U=Ef(),$=Fs(),B=Yr(),Y=qP(),Q=B("iterator"),K="URLSearchParams",ee=K+"Iterator",ne=g.set,D=g.getterFor(K),I=g.getterFor(ee),L=r("fetch"),re=r("Request"),te=r("Headers"),ce=re&&re.prototype,be=te&&te.prototype,Ie=t.TypeError,je=t.encodeURIComponent,z=String.fromCharCode,k=n("String","fromCodePoint"),q=parseInt,H=a("".charAt),ie=a([].join),V=a([].push),Z=a("".replace),me=a([].shift),fe=a([].splice),Re=a("".split),Se=a("".slice),Oe=a(/./.exec),Me=/\+/g,de="�",Ee=/^[0-9a-f]+$/i,_e=function(Ce,Ze){var ut=Se(Ce,Ze,Ze+2);return Oe(Ee,ut)?q(ut,16):NaN},xe=function(Ce){for(var Ze=0,ut=128;ut>0&&(Ce&ut)!==0;ut>>=1)Ze++;return Ze},ke=function(Ce){var Ze=null;switch(Ce.length){case 1:Ze=Ce[0];break;case 2:Ze=(Ce[0]&31)<<6|Ce[1]&63;break;case 3:Ze=(Ce[0]&15)<<12|(Ce[1]&63)<<6|Ce[2]&63;break;case 4:Ze=(Ce[0]&7)<<18|(Ce[1]&63)<<12|(Ce[2]&63)<<6|Ce[3]&63;break}return Ze>1114111?null:Ze},Le=function(Ce){Ce=Z(Ce,Me," ");for(var Ze=Ce.length,ut="",Tt=0;Tt<Ze;){var Pt=H(Ce,Tt);if(Pt==="%"){if(H(Ce,Tt+1)==="%"||Tt+3>Ze){ut+="%",Tt++;continue}var rr=_e(Ce,Tt+1);if(rr!==rr){ut+=Pt,Tt++;continue}Tt+=2;var _r=xe(rr);if(_r===0)Pt=z(rr);else{if(_r===1||_r>4){ut+=de,Tt++;continue}for(var sr=[rr],mr=1;mr<_r&&(Tt++,!(Tt+3>Ze||H(Ce,Tt)!=="%"));){var Pr=_e(Ce,Tt+1);if(Pr!==Pr){Tt+=3;break}if(Pr>191||Pr<128)break;V(sr,Pr),Tt+=2,mr++}if(sr.length!==_r){ut+=de;continue}var ln=ke(sr);ln===null?ut+=de:Pt=k(ln)}}ut+=Pt,Tt++}return ut},He=/[!'()~]|%20/g,_t={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},jt=function(Ce){return _t[Ce]},Lt=function(Ce){return Z(je(Ce),He,jt)},Qe=v(function(Ze,ut){ne(this,{type:ee,target:D(Ze).entries,index:0,kind:ut})},K,function(){var Ze=I(this),ut=Ze.target,Tt=Ze.index++;if(!ut||Tt>=ut.length)return Ze.target=null,U(void 0,!0);var Pt=ut[Tt];switch(Ze.kind){case"keys":return U(Pt.key,!1);case"values":return U(Pt.value,!1)}return U([Pt.key,Pt.value],!1)},!0),bt=function(Ce){this.entries=[],this.url=null,Ce!==void 0&&(R(Ce)?this.parseObject(Ce):this.parseQuery(typeof Ce=="string"?H(Ce,0)==="?"?Se(Ce,1):Ce:x(Ce)))};bt.prototype={type:K,bindURL:function(Ce){this.url=Ce,this.update()},parseObject:function(Ce){var Ze=this.entries,ut=N(Ce),Tt,Pt,rr,_r,sr,mr,Pr;if(ut)for(Tt=P(Ce,ut),Pt=Tt.next;!(rr=i(Pt,Tt)).done;){if(_r=P(A(rr.value)),sr=_r.next,(mr=i(sr,_r)).done||(Pr=i(sr,_r)).done||!i(sr,_r).done)throw new Ie("Expected sequence with length 2");V(Ze,{key:x(mr.value),value:x(Pr.value)})}else for(var ln in Ce)S(Ce,ln)&&V(Ze,{key:ln,value:x(Ce[ln])})},parseQuery:function(Ce){if(Ce)for(var Ze=this.entries,ut=Re(Ce,"&"),Tt=0,Pt,rr;Tt<ut.length;)Pt=ut[Tt++],Pt.length&&(rr=Re(Pt,"="),V(Ze,{key:Le(me(rr)),value:Le(ie(rr,"="))}))},serialize:function(){for(var Ce=this.entries,Ze=[],ut=0,Tt;ut<Ce.length;)Tt=Ce[ut++],V(Ze,Lt(Tt.key)+"="+Lt(Tt.value));return ie(Ze,"&")},update:function(){this.entries.length=0,this.parseQuery(this.url.query)},updateURL:function(){this.url&&this.url.update()}};var mt=function(){m(this,St);var Ze=arguments.length>0?arguments[0]:void 0,ut=ne(this,new bt(Ze));o||(this.size=ut.entries.length)},St=mt.prototype;if(d(St,{append:function(Ze,ut){var Tt=D(this);$(arguments.length,2),V(Tt.entries,{key:x(Ze),value:x(ut)}),o||this.length++,Tt.updateURL()},delete:function(Ce){for(var Ze=D(this),ut=$(arguments.length,1),Tt=Ze.entries,Pt=x(Ce),rr=ut<2?void 0:arguments[1],_r=rr===void 0?rr:x(rr),sr=0;sr<Tt.length;){var mr=Tt[sr];if(mr.key===Pt&&(_r===void 0||mr.value===_r)){if(fe(Tt,sr,1),_r!==void 0)break}else sr++}o||(this.size=Tt.length),Ze.updateURL()},get:function(Ze){var ut=D(this).entries;$(arguments.length,1);for(var Tt=x(Ze),Pt=0;Pt<ut.length;Pt++)if(ut[Pt].key===Tt)return ut[Pt].value;return null},getAll:function(Ze){var ut=D(this).entries;$(arguments.length,1);for(var Tt=x(Ze),Pt=[],rr=0;rr<ut.length;rr++)ut[rr].key===Tt&&V(Pt,ut[rr].value);return Pt},has:function(Ze){for(var ut=D(this).entries,Tt=$(arguments.length,1),Pt=x(Ze),rr=Tt<2?void 0:arguments[1],_r=rr===void 0?rr:x(rr),sr=0;sr<ut.length;){var mr=ut[sr++];if(mr.key===Pt&&(_r===void 0||mr.value===_r))return!0}return!1},set:function(Ze,ut){var Tt=D(this);$(arguments.length,1);for(var Pt=Tt.entries,rr=!1,_r=x(Ze),sr=x(ut),mr=0,Pr;mr<Pt.length;mr++)Pr=Pt[mr],Pr.key===_r&&(rr?fe(Pt,mr--,1):(rr=!0,Pr.value=sr));rr||V(Pt,{key:_r,value:sr}),o||(this.size=Pt.length),Tt.updateURL()},sort:function(){var Ze=D(this);Y(Ze.entries,function(ut,Tt){return ut.key>Tt.key?1:-1}),Ze.updateURL()},forEach:function(Ze){for(var ut=D(this).entries,Tt=w(Ze,arguments.length>1?arguments[1]:void 0),Pt=0,rr;Pt<ut.length;)rr=ut[Pt++],Tt(rr.value,rr.key,this)},keys:function(){return new Qe(this,"keys")},values:function(){return new Qe(this,"values")},entries:function(){return new Qe(this,"entries")}},{enumerable:!0}),s(St,Q,St.entries,{name:"entries"}),s(St,"toString",function(){return D(this).serialize()},{enumerable:!0}),o&&c(St,"size",{get:function(){return D(this).entries.length},configurable:!0,enumerable:!0}),h(mt,K),e({global:!0,constructor:!0,forced:!u},{URLSearchParams:mt}),!u&&y(te)){var yt=a(be.has),at=a(be.set),$t=function(Ce){if(R(Ce)){var Ze=Ce.body,ut;if(b(Ze)===K)return ut=Ce.headers?new te(Ce.headers):new te,yt(ut,"content-type")||at(ut,"content-type","application/x-www-form-urlencoded;charset=UTF-8"),O(Ce,{body:_(0,x(Ze)),headers:_(0,ut)})}return Ce};if(y(L)&&e({global:!0,enumerable:!0,dontCallGetSet:!0,forced:!0},{fetch:function(Ze){return L(Ze,arguments.length>1?$t(arguments[1]):{})}}),y(re)){var xt=function(Ze){return m(this,ce),new re(Ze,arguments.length>1?$t(arguments[1]):{})};ce.constructor=xt,xt.prototype=ce,e({global:!0,constructor:!0,dontCallGetSet:!0,forced:!0},{Request:xt})}}return BT={URLSearchParams:mt,getState:D},BT}var Pz;function Bpe(){if(Pz)return Cz;Pz=1,Ite();var e=Ve(),t=Ir(),r=w_(),n=er(),i=cs(),a=Kt(),o=Qn(),u=ta(),s=ds(),c=Sn(),d=pte(),h=Bee(),v=$s(),g=m_().codeAt,m=Vpe(),y=rn(),S=qo(),w=Fs(),b=Wte(),A=qi(),R=A.set,x=A.getterFor("URL"),O=b.URLSearchParams,_=b.getState,P=n.URL,N=n.TypeError,U=n.parseInt,$=Math.floor,B=Math.pow,Y=a("".charAt),Q=a(/./.exec),K=a([].join),ee=a(1.1.toString),ne=a([].pop),D=a([].push),I=a("".replace),L=a([].shift),re=a("".split),te=a("".slice),ce=a("".toLowerCase),be=a([].unshift),Ie="Invalid authority",je="Invalid scheme",z="Invalid host",k="Invalid port",q=/[a-z]/i,H=/[\d+-.a-z]/i,ie=/\d/,V=/^0x/i,Z=/^[0-7]+$/,me=/^\d+$/,fe=/^[\da-f]+$/i,Re=/[\0\t\n\r #%/:<>?@[\\\]^|]/,Se=/[\0\t\n\r #/:<>?@[\\\]^|]/,Oe=/^[\u0000-\u0020]+/,Me=/(^|[^\u0000-\u0020])[\u0000-\u0020]+$/,de=/[\t\n\r]/g,Ee,_e=function(it){var Ft=re(it,"."),pt,Ke,At,pr,we,ct,nt;if(Ft.length&&Ft[Ft.length-1]===""&&Ft.length--,pt=Ft.length,pt>4)return it;for(Ke=[],At=0;At<pt;At++){if(pr=Ft[At],pr==="")return it;if(we=10,pr.length>1&&Y(pr,0)==="0"&&(we=Q(V,pr)?16:8,pr=te(pr,we===8?1:2)),pr==="")ct=0;else{if(!Q(we===10?me:we===8?Z:fe,pr))return it;ct=U(pr,we)}D(Ke,ct)}for(At=0;At<pt;At++)if(ct=Ke[At],At===pt-1){if(ct>=B(256,5-pt))return null}else if(ct>255)return null;for(nt=ne(Ke),At=0;At<Ke.length;At++)nt+=Ke[At]*B(256,3-At);return nt},xe=function(it){var Ft=[0,0,0,0,0,0,0,0],pt=0,Ke=null,At=0,pr,we,ct,nt,ft,kt,dt,Yt=function(){return Y(it,At)};if(Yt()===":"){if(Y(it,1)!==":")return;At+=2,pt++,Ke=pt}for(;Yt();){if(pt===8)return;if(Yt()===":"){if(Ke!==null)return;At++,pt++,Ke=pt;continue}for(pr=we=0;we<4&&Q(fe,Yt());)pr=pr*16+U(Yt(),16),At++,we++;if(Yt()==="."){if(we===0||(At-=we,pt>6))return;for(ct=0;Yt();){if(nt=null,ct>0)if(Yt()==="."&&ct<4)At++;else return;if(!Q(ie,Yt()))return;for(;Q(ie,Yt());){if(ft=U(Yt(),10),nt===null)nt=ft;else{if(nt===0)return;nt=nt*10+ft}if(nt>255)return;At++}Ft[pt]=Ft[pt]*256+nt,ct++,(ct===2||ct===4)&&pt++}if(ct!==4)return;break}else if(Yt()===":"){if(At++,!Yt())return}else if(Yt())return;Ft[pt++]=pr}if(Ke!==null)for(kt=pt-Ke,pt=7;pt!==0&&kt>0;)dt=Ft[pt],Ft[pt--]=Ft[Ke+kt-1],Ft[Ke+--kt]=dt;else if(pt!==8)return;return Ft},ke=function(it){for(var Ft=null,pt=1,Ke=null,At=0,pr=0;pr<8;pr++)it[pr]!==0?(At>pt&&(Ft=Ke,pt=At),Ke=null,At=0):(Ke===null&&(Ke=pr),++At);return At>pt?Ke:Ft},Le=function(it){var Ft,pt,Ke,At;if(typeof it=="number"){for(Ft=[],pt=0;pt<4;pt++)be(Ft,it%256),it=$(it/256);return K(Ft,".")}if(typeof it=="object"){for(Ft="",Ke=ke(it),pt=0;pt<8;pt++)At&&it[pt]===0||(At&&(At=!1),Ke===pt?(Ft+=pt?":":"::",At=!0):(Ft+=ee(it[pt],16),pt<7&&(Ft+=":")));return"["+Ft+"]"}return it},He={},_t=d({},He,{" ":1,'"':1,"<":1,">":1,"`":1}),jt=d({},_t,{"#":1,"?":1,"{":1,"}":1}),Lt=d({},jt,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),Qe=function(it,Ft){var pt=g(it,0);return pt>32&&pt<127&&!c(Ft,it)?it:encodeURIComponent(it)},bt={ftp:21,file:null,http:80,https:443,ws:80,wss:443},mt=function(it,Ft){var pt;return it.length===2&&Q(q,Y(it,0))&&((pt=Y(it,1))===":"||!Ft&&pt==="|")},St=function(it){var Ft;return it.length>1&&mt(te(it,0,2))&&(it.length===2||(Ft=Y(it,2))==="/"||Ft==="\\"||Ft==="?"||Ft==="#")},yt=function(it){return it==="."||ce(it)==="%2e"},at=function(it){return it=ce(it),it===".."||it==="%2e."||it===".%2e"||it==="%2e%2e"},$t={},xt={},Ce={},Ze={},ut={},Tt={},Pt={},rr={},_r={},sr={},mr={},Pr={},ln={},di={},Nn={},Rn={},En={},Jn={},Zn={},Ci={},_i={},Vi=function(it,Ft,pt){var Ke=y(it),At,pr,we;if(Ft){if(pr=this.parse(Ke),pr)throw new N(pr);this.searchParams=null}else{if(pt!==void 0&&(At=new Vi(pt,!0)),pr=this.parse(Ke,null,At),pr)throw new N(pr);we=_(new O),we.bindURL(this),this.searchParams=we}};Vi.prototype={type:"URL",parse:function(it,Ft,pt){var Ke=this,At=Ft||$t,pr=0,we="",ct=!1,nt=!1,ft=!1,kt,dt,Yt,Dr;for(it=y(it),Ft||(Ke.scheme="",Ke.username="",Ke.password="",Ke.host=null,Ke.port=null,Ke.path=[],Ke.query=null,Ke.fragment=null,Ke.cannotBeABaseURL=!1,it=I(it,Oe,""),it=I(it,Me,"$1")),it=I(it,de,""),kt=h(it);pr<=kt.length;){switch(dt=kt[pr],At){case $t:if(dt&&Q(q,dt))we+=ce(dt),At=xt;else{if(Ft)return je;At=Ce;continue}break;case xt:if(dt&&(Q(H,dt)||dt==="+"||dt==="-"||dt==="."))we+=ce(dt);else if(dt===":"){if(Ft&&(Ke.isSpecial()!==c(bt,we)||we==="file"&&(Ke.includesCredentials()||Ke.port!==null)||Ke.scheme==="file"&&!Ke.host))return;if(Ke.scheme=we,Ft){Ke.isSpecial()&&bt[Ke.scheme]===Ke.port&&(Ke.port=null);return}we="",Ke.scheme==="file"?At=di:Ke.isSpecial()&&pt&&pt.scheme===Ke.scheme?At=Ze:Ke.isSpecial()?At=rr:kt[pr+1]==="/"?(At=ut,pr++):(Ke.cannotBeABaseURL=!0,D(Ke.path,""),At=Zn)}else{if(Ft)return je;we="",At=Ce,pr=0;continue}break;case Ce:if(!pt||pt.cannotBeABaseURL&&dt!=="#")return je;if(pt.cannotBeABaseURL&&dt==="#"){Ke.scheme=pt.scheme,Ke.path=v(pt.path),Ke.query=pt.query,Ke.fragment="",Ke.cannotBeABaseURL=!0,At=_i;break}At=pt.scheme==="file"?di:Tt;continue;case Ze:if(dt==="/"&&kt[pr+1]==="/")At=_r,pr++;else{At=Tt;continue}break;case ut:if(dt==="/"){At=sr;break}else{At=Jn;continue}case Tt:if(Ke.scheme=pt.scheme,dt===Ee)Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,Ke.path=v(pt.path),Ke.query=pt.query;else if(dt==="/"||dt==="\\"&&Ke.isSpecial())At=Pt;else if(dt==="?")Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,Ke.path=v(pt.path),Ke.query="",At=Ci;else if(dt==="#")Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,Ke.path=v(pt.path),Ke.query=pt.query,Ke.fragment="",At=_i;else{Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,Ke.path=v(pt.path),Ke.path.length--,At=Jn;continue}break;case Pt:if(Ke.isSpecial()&&(dt==="/"||dt==="\\"))At=_r;else if(dt==="/")At=sr;else{Ke.username=pt.username,Ke.password=pt.password,Ke.host=pt.host,Ke.port=pt.port,At=Jn;continue}break;case rr:if(At=_r,dt!=="/"||Y(we,pr+1)!=="/")continue;pr++;break;case _r:if(dt!=="/"&&dt!=="\\"){At=sr;continue}break;case sr:if(dt==="@"){ct&&(we="%40"+we),ct=!0,Yt=h(we);for(var Zr=0;Zr<Yt.length;Zr++){var en=Yt[Zr];if(en===":"&&!ft){ft=!0;continue}var vn=Qe(en,Lt);ft?Ke.password+=vn:Ke.username+=vn}we=""}else if(dt===Ee||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ke.isSpecial()){if(ct&&we==="")return Ie;pr-=h(we).length+1,we="",At=mr}else we+=dt;break;case mr:case Pr:if(Ft&&Ke.scheme==="file"){At=Rn;continue}else if(dt===":"&&!nt){if(we==="")return z;if(Dr=Ke.parseHost(we),Dr)return Dr;if(we="",At=ln,Ft===Pr)return}else if(dt===Ee||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ke.isSpecial()){if(Ke.isSpecial()&&we==="")return z;if(Ft&&we===""&&(Ke.includesCredentials()||Ke.port!==null))return;if(Dr=Ke.parseHost(we),Dr)return Dr;if(we="",At=En,Ft)return;continue}else dt==="["?nt=!0:dt==="]"&&(nt=!1),we+=dt;break;case ln:if(Q(ie,dt))we+=dt;else if(dt===Ee||dt==="/"||dt==="?"||dt==="#"||dt==="\\"&&Ke.isSpecial()||Ft){if(we!==""){var Mt=U(we,10);if(Mt>65535)return k;Ke.port=Ke.isSpecial()&&Mt===bt[Ke.scheme]?null:Mt,we=""}if(Ft)return;At=En;continue}else return k;break;case di:if(Ke.scheme="file",dt==="/"||dt==="\\")At=Nn;else if(pt&&pt.scheme==="file")switch(dt){case Ee:Ke.host=pt.host,Ke.path=v(pt.path),Ke.query=pt.query;break;case"?":Ke.host=pt.host,Ke.path=v(pt.path),Ke.query="",At=Ci;break;case"#":Ke.host=pt.host,Ke.path=v(pt.path),Ke.query=pt.query,Ke.fragment="",At=_i;break;default:St(K(v(kt,pr),""))||(Ke.host=pt.host,Ke.path=v(pt.path),Ke.shortenPath()),At=Jn;continue}else{At=Jn;continue}break;case Nn:if(dt==="/"||dt==="\\"){At=Rn;break}pt&&pt.scheme==="file"&&!St(K(v(kt,pr),""))&&(mt(pt.path[0],!0)?D(Ke.path,pt.path[0]):Ke.host=pt.host),At=Jn;continue;case Rn:if(dt===Ee||dt==="/"||dt==="\\"||dt==="?"||dt==="#"){if(!Ft&&mt(we))At=Jn;else if(we===""){if(Ke.host="",Ft)return;At=En}else{if(Dr=Ke.parseHost(we),Dr)return Dr;if(Ke.host==="localhost"&&(Ke.host=""),Ft)return;we="",At=En}continue}else we+=dt;break;case En:if(Ke.isSpecial()){if(At=Jn,dt!=="/"&&dt!=="\\")continue}else if(!Ft&&dt==="?")Ke.query="",At=Ci;else if(!Ft&&dt==="#")Ke.fragment="",At=_i;else if(dt!==Ee&&(At=Jn,dt!=="/"))continue;break;case Jn:if(dt===Ee||dt==="/"||dt==="\\"&&Ke.isSpecial()||!Ft&&(dt==="?"||dt==="#")){if(at(we)?(Ke.shortenPath(),dt!=="/"&&!(dt==="\\"&&Ke.isSpecial())&&D(Ke.path,"")):yt(we)?dt!=="/"&&!(dt==="\\"&&Ke.isSpecial())&&D(Ke.path,""):(Ke.scheme==="file"&&!Ke.path.length&&mt(we)&&(Ke.host&&(Ke.host=""),we=Y(we,0)+":"),D(Ke.path,we)),we="",Ke.scheme==="file"&&(dt===Ee||dt==="?"||dt==="#"))for(;Ke.path.length>1&&Ke.path[0]==="";)L(Ke.path);dt==="?"?(Ke.query="",At=Ci):dt==="#"&&(Ke.fragment="",At=_i)}else we+=Qe(dt,jt);break;case Zn:dt==="?"?(Ke.query="",At=Ci):dt==="#"?(Ke.fragment="",At=_i):dt!==Ee&&(Ke.path[0]+=Qe(dt,He));break;case Ci:!Ft&&dt==="#"?(Ke.fragment="",At=_i):dt!==Ee&&(dt==="'"&&Ke.isSpecial()?Ke.query+="%27":dt==="#"?Ke.query+="%23":Ke.query+=Qe(dt,He));break;case _i:dt!==Ee&&(Ke.fragment+=Qe(dt,_t));break}pr++}},parseHost:function(it){var Ft,pt,Ke;if(Y(it,0)==="["){if(Y(it,it.length-1)!=="]"||(Ft=xe(te(it,1,-1)),!Ft))return z;this.host=Ft}else if(this.isSpecial()){if(it=m(it),Q(Re,it)||(Ft=_e(it),Ft===null))return z;this.host=Ft}else{if(Q(Se,it))return z;for(Ft="",pt=h(it),Ke=0;Ke<pt.length;Ke++)Ft+=Qe(pt[Ke],He);this.host=Ft}},cannotHaveUsernamePasswordPort:function(){return!this.host||this.cannotBeABaseURL||this.scheme==="file"},includesCredentials:function(){return this.username!==""||this.password!==""},isSpecial:function(){return c(bt,this.scheme)},shortenPath:function(){var it=this.path,Ft=it.length;Ft&&(this.scheme!=="file"||Ft!==1||!mt(it[0],!0))&&it.length--},serialize:function(){var it=this,Ft=it.scheme,pt=it.username,Ke=it.password,At=it.host,pr=it.port,we=it.path,ct=it.query,nt=it.fragment,ft=Ft+":";return At!==null?(ft+="//",it.includesCredentials()&&(ft+=pt+(Ke?":"+Ke:"")+"@"),ft+=Le(At),pr!==null&&(ft+=":"+pr)):Ft==="file"&&(ft+="//"),ft+=it.cannotBeABaseURL?we[0]:we.length?"/"+K(we,"/"):"",ct!==null&&(ft+="?"+ct),nt!==null&&(ft+="#"+nt),ft},setHref:function(it){var Ft=this.parse(it);if(Ft)throw new N(Ft);this.searchParams.update()},getOrigin:function(){var it=this.scheme,Ft=this.port;if(it==="blob")try{return new Yi(it.path[0]).origin}catch{return"null"}return it==="file"||!this.isSpecial()?"null":it+"://"+Le(this.host)+(Ft!==null?":"+Ft:"")},getProtocol:function(){return this.scheme+":"},setProtocol:function(it){this.parse(y(it)+":",$t)},getUsername:function(){return this.username},setUsername:function(it){var Ft=h(y(it));if(!this.cannotHaveUsernamePasswordPort()){this.username="";for(var pt=0;pt<Ft.length;pt++)this.username+=Qe(Ft[pt],Lt)}},getPassword:function(){return this.password},setPassword:function(it){var Ft=h(y(it));if(!this.cannotHaveUsernamePasswordPort()){this.password="";for(var pt=0;pt<Ft.length;pt++)this.password+=Qe(Ft[pt],Lt)}},getHost:function(){var it=this.host,Ft=this.port;return it===null?"":Ft===null?Le(it):Le(it)+":"+Ft},setHost:function(it){this.cannotBeABaseURL||this.parse(it,mr)},getHostname:function(){var it=this.host;return it===null?"":Le(it)},setHostname:function(it){this.cannotBeABaseURL||this.parse(it,Pr)},getPort:function(){var it=this.port;return it===null?"":y(it)},setPort:function(it){this.cannotHaveUsernamePasswordPort()||(it=y(it),it===""?this.port=null:this.parse(it,ln))},getPathname:function(){var it=this.path;return this.cannotBeABaseURL?it[0]:it.length?"/"+K(it,"/"):""},setPathname:function(it){this.cannotBeABaseURL||(this.path=[],this.parse(it,En))},getSearch:function(){var it=this.query;return it?"?"+it:""},setSearch:function(it){it=y(it),it===""?this.query=null:(Y(it,0)==="?"&&(it=te(it,1)),this.query="",this.parse(it,Ci)),this.searchParams.update()},getSearchParams:function(){return this.searchParams.facade},getHash:function(){var it=this.fragment;return it?"#"+it:""},setHash:function(it){if(it=y(it),it===""){this.fragment=null;return}Y(it,0)==="#"&&(it=te(it,1)),this.fragment="",this.parse(it,_i)},update:function(){this.query=this.searchParams.serialize()||null}};var Yi=function(Ft){var pt=s(this,Ln),Ke=w(arguments.length,1)>1?arguments[1]:void 0,At=R(pt,new Vi(Ft,!1,Ke));t||(pt.href=At.serialize(),pt.origin=At.getOrigin(),pt.protocol=At.getProtocol(),pt.username=At.getUsername(),pt.password=At.getPassword(),pt.host=At.getHost(),pt.hostname=At.getHostname(),pt.port=At.getPort(),pt.pathname=At.getPathname(),pt.search=At.getSearch(),pt.searchParams=At.getSearchParams(),pt.hash=At.getHash())},Ln=Yi.prototype,oi=function(it,Ft){return{get:function(){return x(this)[it]()},set:Ft&&function(pt){return x(this)[Ft](pt)},configurable:!0,enumerable:!0}};if(t&&(u(Ln,"href",oi("serialize","setHref")),u(Ln,"origin",oi("getOrigin")),u(Ln,"protocol",oi("getProtocol","setProtocol")),u(Ln,"username",oi("getUsername","setUsername")),u(Ln,"password",oi("getPassword","setPassword")),u(Ln,"host",oi("getHost","setHost")),u(Ln,"hostname",oi("getHostname","setHostname")),u(Ln,"port",oi("getPort","setPort")),u(Ln,"pathname",oi("getPathname","setPathname")),u(Ln,"search",oi("getSearch","setSearch")),u(Ln,"searchParams",oi("getSearchParams")),u(Ln,"hash",oi("getHash","setHash"))),o(Ln,"toJSON",function(){return x(this).serialize()},{enumerable:!0}),o(Ln,"toString",function(){return x(this).serialize()},{enumerable:!0}),P){var Di=P.createObjectURL,Ai=P.revokeObjectURL;Di&&o(Yi,"createObjectURL",i(Di,P)),Ai&&o(Yi,"revokeObjectURL",i(Ai,P))}return S(Yi,"URL"),e({global:!0,constructor:!0,forced:!r,sham:!t},{URL:Yi}),Cz}var Dz;function Hpe(){return Dz||(Dz=1,Bpe()),xz}var kz={},Nz;function zpe(){if(Nz)return kz;Nz=1;var e=Ve(),t=yn(),r=zt(),n=Fs(),i=rn(),a=w_(),o=t("URL"),u=a&&r(function(){o.canParse()}),s=r(function(){return o.canParse.length!==1});return e({target:"URL",stat:!0,forced:!u||s},{canParse:function(d){var h=n(arguments.length,1),v=i(d),g=h<2||arguments[1]===void 0?void 0:i(arguments[1]);try{return!!new o(v,g)}catch{return!1}}}),kz}var Lz={},Mz;function Wpe(){if(Mz)return Lz;Mz=1;var e=Ve(),t=yn(),r=Fs(),n=rn(),i=w_(),a=t("URL");return e({target:"URL",stat:!0,forced:!i},{parse:function(u){var s=r(arguments.length,1),c=n(u),d=s<2||arguments[1]===void 0?void 0:n(arguments[1]);try{return new a(c,d)}catch{return null}}}),Lz}var $z={},Fz;function Gpe(){if(Fz)return $z;Fz=1;var e=Ve(),t=Sr();return e({target:"URL",proto:!0,enumerable:!0},{toJSON:function(){return t(URL.prototype.toString,this)}}),$z}var jz={},Uz;function Ype(){return Uz||(Uz=1,Wte()),jz}var qz={},Vz;function Kpe(){if(Vz)return qz;Vz=1;var e=Qn(),t=Kt(),r=rn(),n=Fs(),i=URLSearchParams,a=i.prototype,o=t(a.append),u=t(a.delete),s=t(a.forEach),c=t([].push),d=new i("a=1&a=2&b=3");return d.delete("a",1),d.delete("b",void 0),d+""!="a=2"&&e(a,"delete",function(h){var v=arguments.length,g=v<2?void 0:arguments[1];if(v&&g===void 0)return u(this,h);var m=[];s(this,function(O,_){c(m,{key:_,value:O})}),n(v,1);for(var y=r(h),S=r(g),w=0,b=0,A=!1,R=m.length,x;w<R;)x=m[w++],A||x.key===y?(A=!0,u(this,x.key)):b++;for(;b<R;)x=m[b++],x.key===y&&x.value===S||o(this,x.key,x.value)},{enumerable:!0,unsafe:!0}),qz}var Bz={},Hz;function Xpe(){if(Hz)return Bz;Hz=1;var e=Qn(),t=Kt(),r=rn(),n=Fs(),i=URLSearchParams,a=i.prototype,o=t(a.getAll),u=t(a.has),s=new i("a=1");return(s.has("a",2)||!s.has("a",void 0))&&e(a,"has",function(d){var h=arguments.length,v=h<2?void 0:arguments[1];if(h&&v===void 0)return u(this,d);var g=o(this,d);n(h,1);for(var m=r(v),y=0;y<g.length;)if(g[y++]===m)return!0;return!1},{enumerable:!0,unsafe:!0}),Bz}var zz={},Wz;function Qpe(){if(Wz)return zz;Wz=1;var e=Ir(),t=Kt(),r=ta(),n=URLSearchParams.prototype,i=t(n.forEach);return e&&!("size"in n)&&r(n,"size",{get:function(){var o=0;return i(this,function(){o++}),o},configurable:!0,enumerable:!0}),zz}var HT,Gz;function Jpe(){return Gz||(Gz=1,Ole(),Ile(),Ple(),Dle(),kle(),Nle(),Lle(),Mle(),$le(),Fle(),jle(),Ule(),qle(),Vle(),Ble(),Hle(),zle(),Wle(),Gle(),Yle(),Xle(),Qle(),Jle(),Zle(),ece(),tce(),rce(),nce(),ice(),ace(),oce(),sce(),uce(),lce(),cce(),fce(),dce(),hce(),vce(),pce(),Jy(),gce(),mce(),yce(),_ce(),Sce(),Ece(),wce(),bce(),Tce(),Rce(),xce(),Cce(),Ace(),Oce(),Ice(),Pce(),Dce(),kce(),Nce(),Lce(),$ce(),Fce(),jce(),qce(),Vce(),Hce(),zce(),Wce(),Gce(),Yce(),Kce(),Xce(),Qce(),Zce(),efe(),rfe(),nfe(),ife(),afe(),ofe(),sfe(),ufe(),lfe(),cfe(),ffe(),hfe(),vfe(),pfe(),gfe(),mfe(),yfe(),_fe(),Sfe(),Efe(),wfe(),bfe(),Tfe(),Dee(),Rfe(),Cfe(),Afe(),Ofe(),Ife(),Pfe(),Dfe(),kfe(),Nfe(),Lfe(),Mfe(),$fe(),Ffe(),jfe(),Ufe(),qfe(),Vfe(),Bfe(),Hfe(),zfe(),Wfe(),Gfe(),Yfe(),Kfe(),Xfe(),Jfe(),Zfe(),ede(),tde(),rde(),nde(),ide(),ade(),ode(),sde(),ude(),lde(),cde(),fde(),dde(),hde(),vde(),pde(),gde(),mde(),yde(),_de(),Sde(),Ede(),wde(),bde(),Tde(),Rde(),xde(),Cde(),Ade(),Ode(),Ide(),Pde(),Dde(),kde(),Nde(),Mde(),$de(),Fde(),jde(),Kde(),Xde(),Qde(),Jde(),Zde(),ehe(),ahe(),ohe(),she(),uhe(),lhe(),che(),fhe(),dhe(),hhe(),vhe(),phe(),ghe(),mhe(),yhe(),_he(),She(),Ehe(),whe(),bhe(),The(),ZP(),Rhe(),xhe(),Che(),Ahe(),Ihe(),Dhe(),Nhe(),Mhe(),Fhe(),Uhe(),Vhe(),Hhe(),zhe(),Whe(),Ghe(),Ote(),Yhe(),Khe(),Ite(),Xhe(),Qhe(),Jhe(),Zhe(),eve(),tve(),rve(),nve(),ive(),ave(),ove(),sve(),uve(),lve(),fve(),hve(),vve(),pve(),gve(),mve(),yve(),_ve(),Sve(),Eve(),wve(),bve(),Tve(),Rve(),xve(),Ave(),Ove(),Ive(),Pve(),Dve(),kve(),Nve(),Lve(),Mve(),$ve(),Fve(),jve(),Uve(),Vve(),Bve(),Hve(),zve(),Wve(),Gve(),Yve(),Kve(),Xve(),Qve(),Jve(),Zve(),epe(),tpe(),rpe(),npe(),ipe(),ape(),ope(),spe(),upe(),lpe(),cpe(),fpe(),dpe(),hpe(),vpe(),ppe(),gpe(),mpe(),ype(),_pe(),Spe(),Epe(),bpe(),Rpe(),xpe(),Cpe(),Ape(),Ope(),Ipe(),Ppe(),Dpe(),Lpe(),Mpe(),$pe(),Fpe(),qpe(),Hpe(),zpe(),Wpe(),Gpe(),Ype(),Kpe(),Xpe(),Qpe(),HT=Gy()),HT}Jpe();var po="top",ns="bottom",is="right",go="left",b_="auto",mh=[po,ns,is,go],tf="start",Bd="end",Gte="clippingParents",sD="viewport",bd="popper",Yte="reference",dI=mh.reduce(function(e,t){return e.concat([t+"-"+tf,t+"-"+Bd])},[]),uD=[].concat(mh,[b_]).reduce(function(e,t){return e.concat([t,t+"-"+tf,t+"-"+Bd])},[]),Kte="beforeRead",Xte="read",Qte="afterRead",Jte="beforeMain",Zte="main",ere="afterMain",tre="beforeWrite",rre="write",nre="afterWrite",ire=[Kte,Xte,Qte,Jte,Zte,ere,tre,rre,nre];function xu(e){return e?(e.nodeName||"").toLowerCase():null}function as(e){if(e==null)return window;if(e.toString()!=="[object Window]"){var t=e.ownerDocument;return t&&t.defaultView||window}return e}function rf(e){var t=as(e).Element;return e instanceof t||e instanceof Element}function ks(e){var t=as(e).HTMLElement;return e instanceof t||e instanceof HTMLElement}function lD(e){if(typeof ShadowRoot>"u")return!1;var t=as(e).ShadowRoot;return e instanceof t||e instanceof ShadowRoot}function Zpe(e){var t=e.state;Object.keys(t.elements).forEach(function(r){var n=t.styles[r]||{},i=t.attributes[r]||{},a=t.elements[r];!ks(a)||!xu(a)||(Object.assign(a.style,n),Object.keys(i).forEach(function(o){var u=i[o];u===!1?a.removeAttribute(o):a.setAttribute(o,u===!0?"":u)}))})}function ege(e){var t=e.state,r={popper:{position:t.options.strategy,left:"0",top:"0",margin:"0"},arrow:{position:"absolute"},reference:{}};return Object.assign(t.elements.popper.style,r.popper),t.styles=r,t.elements.arrow&&Object.assign(t.elements.arrow.style,r.arrow),function(){Object.keys(t.elements).forEach(function(n){var i=t.elements[n],a=t.attributes[n]||{},o=Object.keys(t.styles.hasOwnProperty(n)?t.styles[n]:r[n]),u=o.reduce(function(s,c){return s[c]="",s},{});!ks(i)||!xu(i)||(Object.assign(i.style,u),Object.keys(a).forEach(function(s){i.removeAttribute(s)}))})}}const cD={name:"applyStyles",enabled:!0,phase:"write",fn:Zpe,effect:ege,requires:["computeStyles"]};function bu(e){return e.split("-")[0]}var Qc=Math.max,Zm=Math.min,Hd=Math.round;function hI(){var e=navigator.userAgentData;return e!=null&&e.brands&&Array.isArray(e.brands)?e.brands.map(function(t){return t.brand+"/"+t.version}).join(" "):navigator.userAgent}function are(){return!/^((?!chrome|android).)*safari/i.test(hI())}function zd(e,t,r){t===void 0&&(t=!1),r===void 0&&(r=!1);var n=e.getBoundingClientRect(),i=1,a=1;t&&ks(e)&&(i=e.offsetWidth>0&&Hd(n.width)/e.offsetWidth||1,a=e.offsetHeight>0&&Hd(n.height)/e.offsetHeight||1);var o=rf(e)?as(e):window,u=o.visualViewport,s=!are()&&r,c=(n.left+(s&&u?u.offsetLeft:0))/i,d=(n.top+(s&&u?u.offsetTop:0))/a,h=n.width/i,v=n.height/a;return{width:h,height:v,top:d,right:c+h,bottom:d+v,left:c,x:c,y:d}}function fD(e){var t=zd(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 ore(e,t){var r=t.getRootNode&&t.getRootNode();if(e.contains(t))return!0;if(r&&lD(r)){var n=t;do{if(n&&e.isSameNode(n))return!0;n=n.parentNode||n.host}while(n)}return!1}function cl(e){return as(e).getComputedStyle(e)}function tge(e){return["table","td","th"].indexOf(xu(e))>=0}function uc(e){return((rf(e)?e.ownerDocument:e.document)||window.document).documentElement}function T_(e){return xu(e)==="html"?e:e.assignedSlot||e.parentNode||(lD(e)?e.host:null)||uc(e)}function Yz(e){return!ks(e)||cl(e).position==="fixed"?null:e.offsetParent}function rge(e){var t=/firefox/i.test(hI()),r=/Trident/i.test(hI());if(r&&ks(e)){var n=cl(e);if(n.position==="fixed")return null}var i=T_(e);for(lD(i)&&(i=i.host);ks(i)&&["html","body"].indexOf(xu(i))<0;){var a=cl(i);if(a.transform!=="none"||a.perspective!=="none"||a.contain==="paint"||["transform","perspective"].indexOf(a.willChange)!==-1||t&&a.willChange==="filter"||t&&a.filter&&a.filter!=="none")return i;i=i.parentNode}return null}function Cp(e){for(var t=as(e),r=Yz(e);r&&tge(r)&&cl(r).position==="static";)r=Yz(r);return r&&(xu(r)==="html"||xu(r)==="body"&&cl(r).position==="static")?t:r||rge(e)||t}function dD(e){return["top","bottom"].indexOf(e)>=0?"x":"y"}function Iv(e,t,r){return Qc(e,Zm(t,r))}function nge(e,t,r){var n=Iv(e,t,r);return n>r?r:n}function sre(){return{top:0,right:0,bottom:0,left:0}}function ure(e){return Object.assign({},sre(),e)}function lre(e,t){return t.reduce(function(r,n){return r[n]=e,r},{})}var ige=function(t,r){return t=typeof t=="function"?t(Object.assign({},r.rects,{placement:r.placement})):t,ure(typeof t!="number"?t:lre(t,mh))};function age(e){var t,r=e.state,n=e.name,i=e.options,a=r.elements.arrow,o=r.modifiersData.popperOffsets,u=bu(r.placement),s=dD(u),c=[go,is].indexOf(u)>=0,d=c?"height":"width";if(!(!a||!o)){var h=ige(i.padding,r),v=fD(a),g=s==="y"?po:go,m=s==="y"?ns:is,y=r.rects.reference[d]+r.rects.reference[s]-o[s]-r.rects.popper[d],S=o[s]-r.rects.reference[s],w=Cp(a),b=w?s==="y"?w.clientHeight||0:w.clientWidth||0:0,A=y/2-S/2,R=h[g],x=b-v[d]-h[m],O=b/2-v[d]/2+A,_=Iv(R,O,x),P=s;r.modifiersData[n]=(t={},t[P]=_,t.centerOffset=_-O,t)}}function oge(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)||ore(t.elements.popper,i)&&(t.elements.arrow=i))}const hD={name:"arrow",enabled:!0,phase:"main",fn:age,effect:oge,requires:["popperOffsets"],requiresIfExists:["preventOverflow"]};function Wd(e){return e.split("-")[1]}var sge={top:"auto",right:"auto",bottom:"auto",left:"auto"};function uge(e,t){var r=e.x,n=e.y,i=t.devicePixelRatio||1;return{x:Hd(r*i)/i||0,y:Hd(n*i)/i||0}}function Kz(e){var t,r=e.popper,n=e.popperRect,i=e.placement,a=e.variation,o=e.offsets,u=e.position,s=e.gpuAcceleration,c=e.adaptive,d=e.roundOffsets,h=e.isFixed,v=o.x,g=v===void 0?0:v,m=o.y,y=m===void 0?0:m,S=typeof d=="function"?d({x:g,y}):{x:g,y};g=S.x,y=S.y;var w=o.hasOwnProperty("x"),b=o.hasOwnProperty("y"),A=go,R=po,x=window;if(c){var O=Cp(r),_="clientHeight",P="clientWidth";if(O===as(r)&&(O=uc(r),cl(O).position!=="static"&&u==="absolute"&&(_="scrollHeight",P="scrollWidth")),O=O,i===po||(i===go||i===is)&&a===Bd){R=ns;var N=h&&O===x&&x.visualViewport?x.visualViewport.height:O[_];y-=N-n.height,y*=s?1:-1}if(i===go||(i===po||i===ns)&&a===Bd){A=is;var U=h&&O===x&&x.visualViewport?x.visualViewport.width:O[P];g-=U-n.width,g*=s?1:-1}}var $=Object.assign({position:u},c&&sge),B=d===!0?uge({x:g,y},as(r)):{x:g,y};if(g=B.x,y=B.y,s){var Y;return Object.assign({},$,(Y={},Y[R]=b?"0":"",Y[A]=w?"0":"",Y.transform=(x.devicePixelRatio||1)<=1?"translate("+g+"px, "+y+"px)":"translate3d("+g+"px, "+y+"px, 0)",Y))}return Object.assign({},$,(t={},t[R]=b?y+"px":"",t[A]=w?g+"px":"",t.transform="",t))}function lge(e){var t=e.state,r=e.options,n=r.gpuAcceleration,i=n===void 0?!0:n,a=r.adaptive,o=a===void 0?!0:a,u=r.roundOffsets,s=u===void 0?!0:u,c={placement:bu(t.placement),variation:Wd(t.placement),popper:t.elements.popper,popperRect:t.rects.popper,gpuAcceleration:i,isFixed:t.options.strategy==="fixed"};t.modifiersData.popperOffsets!=null&&(t.styles.popper=Object.assign({},t.styles.popper,Kz(Object.assign({},c,{offsets:t.modifiersData.popperOffsets,position:t.options.strategy,adaptive:o,roundOffsets:s})))),t.modifiersData.arrow!=null&&(t.styles.arrow=Object.assign({},t.styles.arrow,Kz(Object.assign({},c,{offsets:t.modifiersData.arrow,position:"absolute",adaptive:!1,roundOffsets:s})))),t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-placement":t.placement})}const R_={name:"computeStyles",enabled:!0,phase:"beforeWrite",fn:lge,data:{}};var Gg={passive:!0};function cge(e){var t=e.state,r=e.instance,n=e.options,i=n.scroll,a=i===void 0?!0:i,o=n.resize,u=o===void 0?!0:o,s=as(t.elements.popper),c=[].concat(t.scrollParents.reference,t.scrollParents.popper);return a&&c.forEach(function(d){d.addEventListener("scroll",r.update,Gg)}),u&&s.addEventListener("resize",r.update,Gg),function(){a&&c.forEach(function(d){d.removeEventListener("scroll",r.update,Gg)}),u&&s.removeEventListener("resize",r.update,Gg)}}const x_={name:"eventListeners",enabled:!0,phase:"write",fn:function(){},effect:cge,data:{}};var fge={left:"right",right:"left",bottom:"top",top:"bottom"};function Tm(e){return e.replace(/left|right|bottom|top/g,function(t){return fge[t]})}var dge={start:"end",end:"start"};function Xz(e){return e.replace(/start|end/g,function(t){return dge[t]})}function vD(e){var t=as(e),r=t.pageXOffset,n=t.pageYOffset;return{scrollLeft:r,scrollTop:n}}function pD(e){return zd(uc(e)).left+vD(e).scrollLeft}function hge(e,t){var r=as(e),n=uc(e),i=r.visualViewport,a=n.clientWidth,o=n.clientHeight,u=0,s=0;if(i){a=i.width,o=i.height;var c=are();(c||!c&&t==="fixed")&&(u=i.offsetLeft,s=i.offsetTop)}return{width:a,height:o,x:u+pD(e),y:s}}function vge(e){var t,r=uc(e),n=vD(e),i=(t=e.ownerDocument)==null?void 0:t.body,a=Qc(r.scrollWidth,r.clientWidth,i?i.scrollWidth:0,i?i.clientWidth:0),o=Qc(r.scrollHeight,r.clientHeight,i?i.scrollHeight:0,i?i.clientHeight:0),u=-n.scrollLeft+pD(e),s=-n.scrollTop;return cl(i||r).direction==="rtl"&&(u+=Qc(r.clientWidth,i?i.clientWidth:0)-a),{width:a,height:o,x:u,y:s}}function gD(e){var t=cl(e),r=t.overflow,n=t.overflowX,i=t.overflowY;return/auto|scroll|overlay|hidden/.test(r+i+n)}function cre(e){return["html","body","#document"].indexOf(xu(e))>=0?e.ownerDocument.body:ks(e)&&gD(e)?e:cre(T_(e))}function Pv(e,t){var r;t===void 0&&(t=[]);var n=cre(e),i=n===((r=e.ownerDocument)==null?void 0:r.body),a=as(n),o=i?[a].concat(a.visualViewport||[],gD(n)?n:[]):n,u=t.concat(o);return i?u:u.concat(Pv(T_(o)))}function vI(e){return Object.assign({},e,{left:e.x,top:e.y,right:e.x+e.width,bottom:e.y+e.height})}function pge(e,t){var r=zd(e,!1,t==="fixed");return r.top=r.top+e.clientTop,r.left=r.left+e.clientLeft,r.bottom=r.top+e.clientHeight,r.right=r.left+e.clientWidth,r.width=e.clientWidth,r.height=e.clientHeight,r.x=r.left,r.y=r.top,r}function Qz(e,t,r){return t===sD?vI(hge(e,r)):rf(t)?pge(t,r):vI(vge(uc(e)))}function gge(e){var t=Pv(T_(e)),r=["absolute","fixed"].indexOf(cl(e).position)>=0,n=r&&ks(e)?Cp(e):e;return rf(n)?t.filter(function(i){return rf(i)&&ore(i,n)&&xu(i)!=="body"}):[]}function mge(e,t,r,n){var i=t==="clippingParents"?gge(e):[].concat(t),a=[].concat(i,[r]),o=a[0],u=a.reduce(function(s,c){var d=Qz(e,c,n);return s.top=Qc(d.top,s.top),s.right=Zm(d.right,s.right),s.bottom=Zm(d.bottom,s.bottom),s.left=Qc(d.left,s.left),s},Qz(e,o,n));return u.width=u.right-u.left,u.height=u.bottom-u.top,u.x=u.left,u.y=u.top,u}function fre(e){var t=e.reference,r=e.element,n=e.placement,i=n?bu(n):null,a=n?Wd(n):null,o=t.x+t.width/2-r.width/2,u=t.y+t.height/2-r.height/2,s;switch(i){case po:s={x:o,y:t.y-r.height};break;case ns:s={x:o,y:t.y+t.height};break;case is:s={x:t.x+t.width,y:u};break;case go:s={x:t.x-r.width,y:u};break;default:s={x:t.x,y:t.y}}var c=i?dD(i):null;if(c!=null){var d=c==="y"?"height":"width";switch(a){case tf:s[c]=s[c]-(t[d]/2-r[d]/2);break;case Bd:s[c]=s[c]+(t[d]/2-r[d]/2);break}}return s}function Gd(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=n===void 0?e.placement:n,a=r.strategy,o=a===void 0?e.strategy:a,u=r.boundary,s=u===void 0?Gte:u,c=r.rootBoundary,d=c===void 0?sD:c,h=r.elementContext,v=h===void 0?bd:h,g=r.altBoundary,m=g===void 0?!1:g,y=r.padding,S=y===void 0?0:y,w=ure(typeof S!="number"?S:lre(S,mh)),b=v===bd?Yte:bd,A=e.rects.popper,R=e.elements[m?b:v],x=mge(rf(R)?R:R.contextElement||uc(e.elements.popper),s,d,o),O=zd(e.elements.reference),_=fre({reference:O,element:A,placement:i}),P=vI(Object.assign({},A,_)),N=v===bd?P:O,U={top:x.top-N.top+w.top,bottom:N.bottom-x.bottom+w.bottom,left:x.left-N.left+w.left,right:N.right-x.right+w.right},$=e.modifiersData.offset;if(v===bd&&$){var B=$[i];Object.keys(U).forEach(function(Y){var Q=[is,ns].indexOf(Y)>=0?1:-1,K=[po,ns].indexOf(Y)>=0?"y":"x";U[Y]+=B[K]*Q})}return U}function yge(e,t){t===void 0&&(t={});var r=t,n=r.placement,i=r.boundary,a=r.rootBoundary,o=r.padding,u=r.flipVariations,s=r.allowedAutoPlacements,c=s===void 0?uD:s,d=Wd(n),h=d?u?dI:dI.filter(function(m){return Wd(m)===d}):mh,v=h.filter(function(m){return c.indexOf(m)>=0});v.length===0&&(v=h);var g=v.reduce(function(m,y){return m[y]=Gd(e,{placement:y,boundary:i,rootBoundary:a,padding:o})[bu(y)],m},{});return Object.keys(g).sort(function(m,y){return g[m]-g[y]})}function _ge(e){if(bu(e)===b_)return[];var t=Tm(e);return[Xz(e),t,Xz(t)]}function Sge(e){var t=e.state,r=e.options,n=e.name;if(!t.modifiersData[n]._skip){for(var i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,u=o===void 0?!0:o,s=r.fallbackPlacements,c=r.padding,d=r.boundary,h=r.rootBoundary,v=r.altBoundary,g=r.flipVariations,m=g===void 0?!0:g,y=r.allowedAutoPlacements,S=t.options.placement,w=bu(S),b=w===S,A=s||(b||!m?[Tm(S)]:_ge(S)),R=[S].concat(A).reduce(function(be,Ie){return be.concat(bu(Ie)===b_?yge(t,{placement:Ie,boundary:d,rootBoundary:h,padding:c,flipVariations:m,allowedAutoPlacements:y}):Ie)},[]),x=t.rects.reference,O=t.rects.popper,_=new Map,P=!0,N=R[0],U=0;U<R.length;U++){var $=R[U],B=bu($),Y=Wd($)===tf,Q=[po,ns].indexOf(B)>=0,K=Q?"width":"height",ee=Gd(t,{placement:$,boundary:d,rootBoundary:h,altBoundary:v,padding:c}),ne=Q?Y?is:go:Y?ns:po;x[K]>O[K]&&(ne=Tm(ne));var D=Tm(ne),I=[];if(a&&I.push(ee[B]<=0),u&&I.push(ee[ne]<=0,ee[D]<=0),I.every(function(be){return be})){N=$,P=!1;break}_.set($,I)}if(P)for(var L=m?3:1,re=function(Ie){var je=R.find(function(z){var k=_.get(z);if(k)return k.slice(0,Ie).every(function(q){return q})});if(je)return N=je,"break"},te=L;te>0;te--){var ce=re(te);if(ce==="break")break}t.placement!==N&&(t.modifiersData[n]._skip=!0,t.placement=N,t.reset=!0)}}const mD={name:"flip",enabled:!0,phase:"main",fn:Sge,requiresIfExists:["offset"],data:{_skip:!1}};function Jz(e,t,r){return r===void 0&&(r={x:0,y:0}),{top:e.top-t.height-r.y,right:e.right-t.width+r.x,bottom:e.bottom-t.height+r.y,left:e.left-t.width-r.x}}function Zz(e){return[po,is,ns,go].some(function(t){return e[t]>=0})}function Ege(e){var t=e.state,r=e.name,n=t.rects.reference,i=t.rects.popper,a=t.modifiersData.preventOverflow,o=Gd(t,{elementContext:"reference"}),u=Gd(t,{altBoundary:!0}),s=Jz(o,n),c=Jz(u,i,a),d=Zz(s),h=Zz(c);t.modifiersData[r]={referenceClippingOffsets:s,popperEscapeOffsets:c,isReferenceHidden:d,hasPopperEscaped:h},t.attributes.popper=Object.assign({},t.attributes.popper,{"data-popper-reference-hidden":d,"data-popper-escaped":h})}const yD={name:"hide",enabled:!0,phase:"main",requiresIfExists:["preventOverflow"],fn:Ege};function wge(e,t,r){var n=bu(e),i=[go,po].indexOf(n)>=0?-1:1,a=typeof r=="function"?r(Object.assign({},t,{placement:e})):r,o=a[0],u=a[1];return o=o||0,u=(u||0)*i,[go,is].indexOf(n)>=0?{x:u,y:o}:{x:o,y:u}}function bge(e){var t=e.state,r=e.options,n=e.name,i=r.offset,a=i===void 0?[0,0]:i,o=uD.reduce(function(d,h){return d[h]=wge(h,t.rects,a),d},{}),u=o[t.placement],s=u.x,c=u.y;t.modifiersData.popperOffsets!=null&&(t.modifiersData.popperOffsets.x+=s,t.modifiersData.popperOffsets.y+=c),t.modifiersData[n]=o}const _D={name:"offset",enabled:!0,phase:"main",requires:["popperOffsets"],fn:bge};function Tge(e){var t=e.state,r=e.name;t.modifiersData[r]=fre({reference:t.rects.reference,element:t.rects.popper,placement:t.placement})}const C_={name:"popperOffsets",enabled:!0,phase:"read",fn:Tge,data:{}};function Rge(e){return e==="x"?"y":"x"}function xge(e){var t=e.state,r=e.options,n=e.name,i=r.mainAxis,a=i===void 0?!0:i,o=r.altAxis,u=o===void 0?!1:o,s=r.boundary,c=r.rootBoundary,d=r.altBoundary,h=r.padding,v=r.tether,g=v===void 0?!0:v,m=r.tetherOffset,y=m===void 0?0:m,S=Gd(t,{boundary:s,rootBoundary:c,padding:h,altBoundary:d}),w=bu(t.placement),b=Wd(t.placement),A=!b,R=dD(w),x=Rge(R),O=t.modifiersData.popperOffsets,_=t.rects.reference,P=t.rects.popper,N=typeof y=="function"?y(Object.assign({},t.rects,{placement:t.placement})):y,U=typeof N=="number"?{mainAxis:N,altAxis:N}:Object.assign({mainAxis:0,altAxis:0},N),$=t.modifiersData.offset?t.modifiersData.offset[t.placement]:null,B={x:0,y:0};if(O){if(a){var Y,Q=R==="y"?po:go,K=R==="y"?ns:is,ee=R==="y"?"height":"width",ne=O[R],D=ne+S[Q],I=ne-S[K],L=g?-P[ee]/2:0,re=b===tf?_[ee]:P[ee],te=b===tf?-P[ee]:-_[ee],ce=t.elements.arrow,be=g&&ce?fD(ce):{width:0,height:0},Ie=t.modifiersData["arrow#persistent"]?t.modifiersData["arrow#persistent"].padding:sre(),je=Ie[Q],z=Ie[K],k=Iv(0,_[ee],be[ee]),q=A?_[ee]/2-L-k-je-U.mainAxis:re-k-je-U.mainAxis,H=A?-_[ee]/2+L+k+z+U.mainAxis:te+k+z+U.mainAxis,ie=t.elements.arrow&&Cp(t.elements.arrow),V=ie?R==="y"?ie.clientTop||0:ie.clientLeft||0:0,Z=(Y=$==null?void 0:$[R])!=null?Y:0,me=ne+q-Z-V,fe=ne+H-Z,Re=Iv(g?Zm(D,me):D,ne,g?Qc(I,fe):I);O[R]=Re,B[R]=Re-ne}if(u){var Se,Oe=R==="x"?po:go,Me=R==="x"?ns:is,de=O[x],Ee=x==="y"?"height":"width",_e=de+S[Oe],xe=de-S[Me],ke=[po,go].indexOf(w)!==-1,Le=(Se=$==null?void 0:$[x])!=null?Se:0,He=ke?_e:de-_[Ee]-P[Ee]-Le+U.altAxis,_t=ke?de+_[Ee]+P[Ee]-Le-U.altAxis:xe,jt=g&&ke?nge(He,de,_t):Iv(g?He:_e,de,g?_t:xe);O[x]=jt,B[x]=jt-de}t.modifiersData[n]=B}}const SD={name:"preventOverflow",enabled:!0,phase:"main",fn:xge,requiresIfExists:["offset"]};function Cge(e){return{scrollLeft:e.scrollLeft,scrollTop:e.scrollTop}}function Age(e){return e===as(e)||!ks(e)?vD(e):Cge(e)}function Oge(e){var t=e.getBoundingClientRect(),r=Hd(t.width)/e.offsetWidth||1,n=Hd(t.height)/e.offsetHeight||1;return r!==1||n!==1}function Ige(e,t,r){r===void 0&&(r=!1);var n=ks(t),i=ks(t)&&Oge(t),a=uc(t),o=zd(e,i,r),u={scrollLeft:0,scrollTop:0},s={x:0,y:0};return(n||!n&&!r)&&((xu(t)!=="body"||gD(a))&&(u=Age(t)),ks(t)?(s=zd(t,!0),s.x+=t.clientLeft,s.y+=t.clientTop):a&&(s.x=pD(a))),{x:o.left+u.scrollLeft-s.x,y:o.top+u.scrollTop-s.y,width:o.width,height:o.height}}function Pge(e){var t=new Map,r=new Set,n=[];e.forEach(function(a){t.set(a.name,a)});function i(a){r.add(a.name);var o=[].concat(a.requires||[],a.requiresIfExists||[]);o.forEach(function(u){if(!r.has(u)){var s=t.get(u);s&&i(s)}}),n.push(a)}return e.forEach(function(a){r.has(a.name)||i(a)}),n}function Dge(e){var t=Pge(e);return ire.reduce(function(r,n){return r.concat(t.filter(function(i){return i.phase===n}))},[])}function kge(e){var t;return function(){return t||(t=new Promise(function(r){Promise.resolve().then(function(){t=void 0,r(e())})})),t}}function Nge(e){var t=e.reduce(function(r,n){var i=r[n.name];return r[n.name]=i?Object.assign({},i,n,{options:Object.assign({},i.options,n.options),data:Object.assign({},i.data,n.data)}):n,r},{});return Object.keys(t).map(function(r){return t[r]})}var eW={placement:"bottom",modifiers:[],strategy:"absolute"};function tW(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return!t.some(function(n){return!(n&&typeof n.getBoundingClientRect=="function")})}function Ap(e){e===void 0&&(e={});var t=e,r=t.defaultModifiers,n=r===void 0?[]:r,i=t.defaultOptions,a=i===void 0?eW:i;return function(u,s,c){c===void 0&&(c=a);var d={placement:"bottom",orderedModifiers:[],options:Object.assign({},eW,a),modifiersData:{},elements:{reference:u,popper:s},attributes:{},styles:{}},h=[],v=!1,g={state:d,setOptions:function(w){var b=typeof w=="function"?w(d.options):w;y(),d.options=Object.assign({},a,d.options,b),d.scrollParents={reference:rf(u)?Pv(u):u.contextElement?Pv(u.contextElement):[],popper:Pv(s)};var A=Dge(Nge([].concat(n,d.options.modifiers)));return d.orderedModifiers=A.filter(function(R){return R.enabled}),m(),g.update()},forceUpdate:function(){if(!v){var w=d.elements,b=w.reference,A=w.popper;if(tW(b,A)){d.rects={reference:Ige(b,Cp(A),d.options.strategy==="fixed"),popper:fD(A)},d.reset=!1,d.placement=d.options.placement,d.orderedModifiers.forEach(function(U){return d.modifiersData[U.name]=Object.assign({},U.data)});for(var R=0;R<d.orderedModifiers.length;R++){if(d.reset===!0){d.reset=!1,R=-1;continue}var x=d.orderedModifiers[R],O=x.fn,_=x.options,P=_===void 0?{}:_,N=x.name;typeof O=="function"&&(d=O({state:d,options:P,name:N,instance:g})||d)}}}},update:kge(function(){return new Promise(function(S){g.forceUpdate(),S(d)})}),destroy:function(){y(),v=!0}};if(!tW(u,s))return g;g.setOptions(c).then(function(S){!v&&c.onFirstUpdate&&c.onFirstUpdate(S)});function m(){d.orderedModifiers.forEach(function(S){var w=S.name,b=S.options,A=b===void 0?{}:b,R=S.effect;if(typeof R=="function"){var x=R({state:d,name:w,instance:g,options:A}),O=function(){};h.push(x||O)}})}function y(){h.forEach(function(S){return S()}),h=[]}return g}}var Lge=Ap(),Mge=[x_,C_,R_,cD],$ge=Ap({defaultModifiers:Mge}),Fge=[x_,C_,R_,cD,_D,mD,SD,hD,yD],ED=Ap({defaultModifiers:Fge});const dre=Object.freeze(Object.defineProperty({__proto__:null,afterMain:ere,afterRead:Qte,afterWrite:nre,applyStyles:cD,arrow:hD,auto:b_,basePlacements:mh,beforeMain:Jte,beforeRead:Kte,beforeWrite:tre,bottom:ns,clippingParents:Gte,computeStyles:R_,createPopper:ED,createPopperBase:Lge,createPopperLite:$ge,detectOverflow:Gd,end:Bd,eventListeners:x_,flip:mD,hide:yD,left:go,main:Zte,modifierPhases:ire,offset:_D,placements:uD,popper:bd,popperGenerator:Ap,popperOffsets:C_,preventOverflow:SD,read:Xte,reference:Yte,right:is,start:tf,top:po,variationPlacements:dI,viewport:sD,write:rre},Symbol.toStringTag,{value:"Module"}));/*!
|
|
7
|
-
* Bootstrap v5.3.2 (https://getbootstrap.com/)
|
|
8
|
-
* Copyright 2011-2023 The Bootstrap Authors (https://github.com/twbs/bootstrap/graphs/contributors)
|
|
9
|
-
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/main/LICENSE)
|
|
10
|
-
*/const Ml=new Map,zT={set(e,t,r){Ml.has(e)||Ml.set(e,new Map);const n=Ml.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 Ml.has(e)&&Ml.get(e).get(t)||null},remove(e,t){if(!Ml.has(e))return;const r=Ml.get(e);r.delete(t),r.size===0&&Ml.delete(e)}},jge=1e6,Uge=1e3,pI="transitionend",hre=e=>(e&&window.CSS&&window.CSS.escape&&(e=e.replace(/#([^\s"#']+)/g,(t,r)=>`#${CSS.escape(r)}`)),e),qge=e=>e==null?`${e}`:Object.prototype.toString.call(e).match(/\s([a-z]+)/i)[1].toLowerCase(),Vge=e=>{do e+=Math.floor(Math.random()*jge);while(document.getElementById(e));return e},Bge=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))*Uge)},vre=e=>{e.dispatchEvent(new Event(pI))},al=e=>!e||typeof e!="object"?!1:(typeof e.jquery<"u"&&(e=e[0]),typeof e.nodeType<"u"),tc=e=>al(e)?e.jquery?e[0]:e:typeof e=="string"&&e.length>0?document.querySelector(hre(e)):null,yh=e=>{if(!al(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},rc=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",pre=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?pre(e.parentNode):null},ey=()=>{},Op=e=>{e.offsetHeight},gre=()=>window.jQuery&&!document.body.hasAttribute("data-bs-no-jquery")?window.jQuery:null,WT=[],Hge=e=>{document.readyState==="loading"?(WT.length||document.addEventListener("DOMContentLoaded",()=>{for(const t of WT)t()}),WT.push(e)):e()},Ns=()=>document.documentElement.dir==="rtl",js=e=>{Hge(()=>{const t=gre();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)}})},No=(e,t=[],r=e)=>typeof e=="function"?e(...t):r,mre=(e,t,r=!0)=>{if(!r){No(e);return}const i=Bge(t)+5;let a=!1;const o=({target:u})=>{u===t&&(a=!0,t.removeEventListener(pI,o),No(e))};t.addEventListener(pI,o),setTimeout(()=>{a||vre(t)},i)},wD=(e,t,r,n)=>{const i=e.length;let a=e.indexOf(t);return a===-1?!r&&n?e[i-1]:e[0]:(a+=r?1:-1,n&&(a=(a+i)%i),e[Math.max(0,Math.min(a,i-1))])},zge=/[^.]*(?=\..*)\.|.*/,Wge=/\..*/,Gge=/::\d+$/,GT={};let rW=1;const yre={mouseenter:"mouseover",mouseleave:"mouseout"},Yge=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 _re(e,t){return t&&`${t}::${rW++}`||e.uidEvent||rW++}function Sre(e){const t=_re(e);return e.uidEvent=t,GT[t]=GT[t]||{},GT[t]}function Kge(e,t){return function r(n){return bD(n,{delegateTarget:e}),r.oneOff&&Ht.off(e,n.type,t),t.apply(e,[n])}}function Xge(e,t,r){return function n(i){const a=e.querySelectorAll(t);for(let{target:o}=i;o&&o!==this;o=o.parentNode)for(const u of a)if(u===o)return bD(i,{delegateTarget:o}),n.oneOff&&Ht.off(e,i.type,t,r),r.apply(o,[i])}}function Ere(e,t,r=null){return Object.values(e).find(n=>n.callable===t&&n.delegationSelector===r)}function wre(e,t,r){const n=typeof t=="string",i=n?r:t||r;let a=bre(e);return Yge.has(a)||(a=e),[n,i,a]}function nW(e,t,r,n,i){if(typeof t!="string"||!e)return;let[a,o,u]=wre(t,r,n);t in yre&&(o=(m=>function(y){if(!y.relatedTarget||y.relatedTarget!==y.delegateTarget&&!y.delegateTarget.contains(y.relatedTarget))return m.call(this,y)})(o));const s=Sre(e),c=s[u]||(s[u]={}),d=Ere(c,o,a?r:null);if(d){d.oneOff=d.oneOff&&i;return}const h=_re(o,t.replace(zge,"")),v=a?Xge(e,r,o):Kge(e,o);v.delegationSelector=a?r:null,v.callable=o,v.oneOff=i,v.uidEvent=h,c[h]=v,e.addEventListener(u,v,a)}function gI(e,t,r,n,i){const a=Ere(t[r],n,i);a&&(e.removeEventListener(r,a,!!i),delete t[r][a.uidEvent])}function Qge(e,t,r,n){const i=t[r]||{};for(const[a,o]of Object.entries(i))a.includes(n)&&gI(e,t,r,o.callable,o.delegationSelector)}function bre(e){return e=e.replace(Wge,""),yre[e]||e}const Ht={on(e,t,r,n){nW(e,t,r,n,!1)},one(e,t,r,n){nW(e,t,r,n,!0)},off(e,t,r,n){if(typeof t!="string"||!e)return;const[i,a,o]=wre(t,r,n),u=o!==t,s=Sre(e),c=s[o]||{},d=t.startsWith(".");if(typeof a<"u"){if(!Object.keys(c).length)return;gI(e,s,o,a,i?r:null);return}if(d)for(const h of Object.keys(s))Qge(e,s,h,t.slice(1));for(const[h,v]of Object.entries(c)){const g=h.replace(Gge,"");(!u||t.includes(g))&&gI(e,s,o,v.callable,v.delegationSelector)}},trigger(e,t,r){if(typeof t!="string"||!e)return null;const n=gre(),i=bre(t),a=t!==i;let o=null,u=!0,s=!0,c=!1;a&&n&&(o=n.Event(t,r),n(e).trigger(o),u=!o.isPropagationStopped(),s=!o.isImmediatePropagationStopped(),c=o.isDefaultPrevented());const d=bD(new Event(t,{bubbles:u,cancelable:!0}),r);return c&&d.preventDefault(),s&&e.dispatchEvent(d),d.defaultPrevented&&o&&o.preventDefault(),d}};function bD(e,t={}){for(const[r,n]of Object.entries(t))try{e[r]=n}catch{Object.defineProperty(e,r,{configurable:!0,get(){return n}})}return e}function iW(e){if(e==="true")return!0;if(e==="false")return!1;if(e===Number(e).toString())return Number(e);if(e===""||e==="null")return null;if(typeof e!="string")return e;try{return JSON.parse(decodeURIComponent(e))}catch{return e}}function YT(e){return e.replace(/[A-Z]/g,t=>`-${t.toLowerCase()}`)}const ol={setDataAttribute(e,t,r){e.setAttribute(`data-bs-${YT(t)}`,r)},removeDataAttribute(e,t){e.removeAttribute(`data-bs-${YT(t)}`)},getDataAttributes(e){if(!e)return{};const t={},r=Object.keys(e.dataset).filter(n=>n.startsWith("bs")&&!n.startsWith("bsConfig"));for(const n of r){let i=n.replace(/^bs/,"");i=i.charAt(0).toLowerCase()+i.slice(1,i.length),t[i]=iW(e.dataset[n])}return t},getDataAttribute(e,t){return iW(e.getAttribute(`data-bs-${YT(t)}`))}};class Ip{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=al(r)?ol.getDataAttribute(r,"config"):{};return{...this.constructor.Default,...typeof n=="object"?n:{},...al(r)?ol.getDataAttributes(r):{},...typeof t=="object"?t:{}}}_typeCheckConfig(t,r=this.constructor.DefaultType){for(const[n,i]of Object.entries(r)){const a=t[n],o=al(a)?"element":qge(a);if(!new RegExp(i).test(o))throw new TypeError(`${this.constructor.NAME.toUpperCase()}: Option "${n}" provided type "${o}" but expected type "${i}".`)}}}const Jge="5.3.2";class iu extends Ip{constructor(t,r){super(),t=tc(t),t&&(this._element=t,this._config=this._getConfig(r),zT.set(this._element,this.constructor.DATA_KEY,this))}dispose(){zT.remove(this._element,this.constructor.DATA_KEY),Ht.off(this._element,this.constructor.EVENT_KEY);for(const t of Object.getOwnPropertyNames(this))this[t]=null}_queueCallback(t,r,n=!0){mre(t,r,n)}_getConfig(t){return t=this._mergeConfigObj(t,this._element),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}static getInstance(t){return zT.get(tc(t),this.DATA_KEY)}static getOrCreateInstance(t,r={}){return this.getInstance(t)||new this(t,typeof r=="object"?r:null)}static get VERSION(){return Jge}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 KT=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!=="#"?hre(r.trim()):null}return t},Or={find(e,t=document.documentElement){return[].concat(...Element.prototype.querySelectorAll.call(t,e))},findOne(e,t=document.documentElement){return Element.prototype.querySelector.call(t,e)},children(e,t){return[].concat(...e.children).filter(r=>r.matches(t))},parents(e,t){const r=[];let n=e.parentNode.closest(t);for(;n;)r.push(n),n=n.parentNode.closest(t);return r},prev(e,t){let r=e.previousElementSibling;for(;r;){if(r.matches(t))return[r];r=r.previousElementSibling}return[]},next(e,t){let r=e.nextElementSibling;for(;r;){if(r.matches(t))return[r];r=r.nextElementSibling}return[]},focusableChildren(e){const t=["a","button","input","textarea","select","details","[tabindex]",'[contenteditable="true"]'].map(r=>`${r}:not([tabindex^="-"])`).join(",");return this.find(t,e).filter(r=>!rc(r)&&yh(r))},getSelectorFromElement(e){const t=KT(e);return t&&Or.findOne(t)?t:null},getElementFromSelector(e){const t=KT(e);return t?Or.findOne(t):null},getMultipleElementsFromSelector(e){const t=KT(e);return t?Or.find(t):[]}},A_=(e,t="hide")=>{const r=`click.dismiss${e.EVENT_KEY}`,n=e.NAME;Ht.on(document,r,`[data-bs-dismiss="${n}"]`,function(i){if(["A","AREA"].includes(this.tagName)&&i.preventDefault(),rc(this))return;const a=Or.getElementFromSelector(this)||this.closest(`.${n}`);e.getOrCreateInstance(a)[t]()})},Zge="alert",eme="bs.alert",Tre=`.${eme}`,tme=`close${Tre}`,rme=`closed${Tre}`,nme="fade",ime="show";let Rre=class xre extends iu{static get NAME(){return Zge}close(){if(Ht.trigger(this._element,tme).defaultPrevented)return;this._element.classList.remove(ime);const r=this._element.classList.contains(nme);this._queueCallback(()=>this._destroyElement(),this._element,r)}_destroyElement(){this._element.remove(),Ht.trigger(this._element,rme),this.dispose()}static jQueryInterface(t){return this.each(function(){const r=xre.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)}})}};A_(Rre,"close");js(Rre);const ame="button",ome="bs.button",sme=`.${ome}`,ume=".data-api",lme="active",aW='[data-bs-toggle="button"]',cme=`click${sme}${ume}`;let Cre=class Are extends iu{static get NAME(){return ame}toggle(){this._element.setAttribute("aria-pressed",this._element.classList.toggle(lme))}static jQueryInterface(t){return this.each(function(){const r=Are.getOrCreateInstance(this);t==="toggle"&&r[t]()})}};Ht.on(document,cme,aW,e=>{e.preventDefault();const t=e.target.closest(aW);Cre.getOrCreateInstance(t).toggle()});js(Cre);const fme="swipe",_h=".bs.swipe",dme=`touchstart${_h}`,hme=`touchmove${_h}`,vme=`touchend${_h}`,pme=`pointerdown${_h}`,gme=`pointerup${_h}`,mme="touch",yme="pen",_me="pointer-event",Sme=40,Eme={endCallback:null,leftCallback:null,rightCallback:null},wme={endCallback:"(function|null)",leftCallback:"(function|null)",rightCallback:"(function|null)"};class ty extends Ip{constructor(t,r){super(),this._element=t,!(!t||!ty.isSupported())&&(this._config=this._getConfig(r),this._deltaX=0,this._supportPointerEvents=!!window.PointerEvent,this._initEvents())}static get Default(){return Eme}static get DefaultType(){return wme}static get NAME(){return fme}dispose(){Ht.off(this._element,_h)}_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(),No(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<=Sme)return;const r=t/this._deltaX;this._deltaX=0,r&&No(r>0?this._config.rightCallback:this._config.leftCallback)}_initEvents(){this._supportPointerEvents?(Ht.on(this._element,pme,t=>this._start(t)),Ht.on(this._element,gme,t=>this._end(t)),this._element.classList.add(_me)):(Ht.on(this._element,dme,t=>this._start(t)),Ht.on(this._element,hme,t=>this._move(t)),Ht.on(this._element,vme,t=>this._end(t)))}_eventIsPointerPenTouch(t){return this._supportPointerEvents&&(t.pointerType===yme||t.pointerType===mme)}static isSupported(){return"ontouchstart"in document.documentElement||navigator.maxTouchPoints>0}}const bme="carousel",Tme="bs.carousel",lc=`.${Tme}`,Ore=".data-api",Rme="ArrowLeft",xme="ArrowRight",Cme=500,rv="next",dd="prev",Td="left",Rm="right",Ame=`slide${lc}`,XT=`slid${lc}`,Ome=`keydown${lc}`,Ime=`mouseenter${lc}`,Pme=`mouseleave${lc}`,Dme=`dragstart${lc}`,kme=`load${lc}${Ore}`,Nme=`click${lc}${Ore}`,Ire="carousel",Yg="active",Lme="slide",Mme="carousel-item-end",$me="carousel-item-start",Fme="carousel-item-next",jme="carousel-item-prev",Pre=".active",Dre=".carousel-item",Ume=Pre+Dre,qme=".carousel-item img",Vme=".carousel-indicators",Bme="[data-bs-slide], [data-bs-slide-to]",Hme='[data-bs-ride="carousel"]',zme={[Rme]:Rm,[xme]:Td},Wme={interval:5e3,keyboard:!0,pause:"hover",ride:!1,touch:!0,wrap:!0},Gme={interval:"(number|boolean)",keyboard:"boolean",pause:"(string|boolean)",ride:"(boolean|string)",touch:"boolean",wrap:"boolean"};class Pp extends iu{constructor(t,r){super(t,r),this._interval=null,this._activeElement=null,this._isSliding=!1,this.touchTimeout=null,this._swipeHelper=null,this._indicatorsElement=Or.findOne(Vme,this._element),this._addEventListeners(),this._config.ride===Ire&&this.cycle()}static get Default(){return Wme}static get DefaultType(){return Gme}static get NAME(){return bme}next(){this._slide(rv)}nextWhenVisible(){!document.hidden&&yh(this._element)&&this.next()}prev(){this._slide(dd)}pause(){this._isSliding&&vre(this._element),this._clearInterval()}cycle(){this._clearInterval(),this._updateInterval(),this._interval=setInterval(()=>this.nextWhenVisible(),this._config.interval)}_maybeEnableCycle(){if(this._config.ride){if(this._isSliding){Ht.one(this._element,XT,()=>this.cycle());return}this.cycle()}}to(t){const r=this._getItems();if(t>r.length-1||t<0)return;if(this._isSliding){Ht.one(this._element,XT,()=>this.to(t));return}const n=this._getItemIndex(this._getActive());if(n===t)return;const i=t>n?rv:dd;this._slide(i,r[t])}dispose(){this._swipeHelper&&this._swipeHelper.dispose(),super.dispose()}_configAfterMerge(t){return t.defaultInterval=t.interval,t}_addEventListeners(){this._config.keyboard&&Ht.on(this._element,Ome,t=>this._keydown(t)),this._config.pause==="hover"&&(Ht.on(this._element,Ime,()=>this.pause()),Ht.on(this._element,Pme,()=>this._maybeEnableCycle())),this._config.touch&&ty.isSupported()&&this._addTouchEventListeners()}_addTouchEventListeners(){for(const n of Or.find(qme,this._element))Ht.on(n,Dme,i=>i.preventDefault());const r={leftCallback:()=>this._slide(this._directionToOrder(Td)),rightCallback:()=>this._slide(this._directionToOrder(Rm)),endCallback:()=>{this._config.pause==="hover"&&(this.pause(),this.touchTimeout&&clearTimeout(this.touchTimeout),this.touchTimeout=setTimeout(()=>this._maybeEnableCycle(),Cme+this._config.interval))}};this._swipeHelper=new ty(this._element,r)}_keydown(t){if(/input|textarea/i.test(t.target.tagName))return;const r=zme[t.key];r&&(t.preventDefault(),this._slide(this._directionToOrder(r)))}_getItemIndex(t){return this._getItems().indexOf(t)}_setActiveIndicatorElement(t){if(!this._indicatorsElement)return;const r=Or.findOne(Pre,this._indicatorsElement);r.classList.remove(Yg),r.removeAttribute("aria-current");const n=Or.findOne(`[data-bs-slide-to="${t}"]`,this._indicatorsElement);n&&(n.classList.add(Yg),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===rv,a=r||wD(this._getItems(),n,i,this._config.wrap);if(a===n)return;const o=this._getItemIndex(a),u=g=>Ht.trigger(this._element,g,{relatedTarget:a,direction:this._orderToDirection(t),from:this._getItemIndex(n),to:o});if(u(Ame).defaultPrevented||!n||!a)return;const c=!!this._interval;this.pause(),this._isSliding=!0,this._setActiveIndicatorElement(o),this._activeElement=a;const d=i?$me:Mme,h=i?Fme:jme;a.classList.add(h),Op(a),n.classList.add(d),a.classList.add(d);const v=()=>{a.classList.remove(d,h),a.classList.add(Yg),n.classList.remove(Yg,h,d),this._isSliding=!1,u(XT)};this._queueCallback(v,n,this._isAnimated()),c&&this.cycle()}_isAnimated(){return this._element.classList.contains(Lme)}_getActive(){return Or.findOne(Ume,this._element)}_getItems(){return Or.find(Dre,this._element)}_clearInterval(){this._interval&&(clearInterval(this._interval),this._interval=null)}_directionToOrder(t){return Ns()?t===Td?dd:rv:t===Td?rv:dd}_orderToDirection(t){return Ns()?t===dd?Td:Rm:t===dd?Rm:Td}static jQueryInterface(t){return this.each(function(){const r=Pp.getOrCreateInstance(this,t);if(typeof t=="number"){r.to(t);return}if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ht.on(document,Nme,Bme,function(e){const t=Or.getElementFromSelector(this);if(!t||!t.classList.contains(Ire))return;e.preventDefault();const r=Pp.getOrCreateInstance(t),n=this.getAttribute("data-bs-slide-to");if(n){r.to(n),r._maybeEnableCycle();return}if(ol.getDataAttribute(this,"slide")==="next"){r.next(),r._maybeEnableCycle();return}r.prev(),r._maybeEnableCycle()});Ht.on(window,kme,()=>{const e=Or.find(Hme);for(const t of e)Pp.getOrCreateInstance(t)});js(Pp);const Yme="collapse",Kme="bs.collapse",Dp=`.${Kme}`,Xme=".data-api",Qme=`show${Dp}`,Jme=`shown${Dp}`,Zme=`hide${Dp}`,eye=`hidden${Dp}`,tye=`click${Dp}${Xme}`,QT="show",Od="collapse",Kg="collapsing",rye="collapsed",nye=`:scope .${Od} .${Od}`,iye="collapse-horizontal",aye="width",oye="height",sye=".collapse.show, .collapse.collapsing",mI='[data-bs-toggle="collapse"]',uye={parent:null,toggle:!0},lye={parent:"(null|element)",toggle:"boolean"};class zv extends iu{constructor(t,r){super(t,r),this._isTransitioning=!1,this._triggerArray=[];const n=Or.find(mI);for(const i of n){const a=Or.getSelectorFromElement(i),o=Or.find(a).filter(u=>u===this._element);a!==null&&o.length&&this._triggerArray.push(i)}this._initializeChildren(),this._config.parent||this._addAriaAndCollapsedClass(this._triggerArray,this._isShown()),this._config.toggle&&this.toggle()}static get Default(){return uye}static get DefaultType(){return lye}static get NAME(){return Yme}toggle(){this._isShown()?this.hide():this.show()}show(){if(this._isTransitioning||this._isShown())return;let t=[];if(this._config.parent&&(t=this._getFirstLevelChildren(sye).filter(u=>u!==this._element).map(u=>zv.getOrCreateInstance(u,{toggle:!1}))),t.length&&t[0]._isTransitioning||Ht.trigger(this._element,Qme).defaultPrevented)return;for(const u of t)u.hide();const n=this._getDimension();this._element.classList.remove(Od),this._element.classList.add(Kg),this._element.style[n]=0,this._addAriaAndCollapsedClass(this._triggerArray,!0),this._isTransitioning=!0;const i=()=>{this._isTransitioning=!1,this._element.classList.remove(Kg),this._element.classList.add(Od,QT),this._element.style[n]="",Ht.trigger(this._element,Jme)},o=`scroll${n[0].toUpperCase()+n.slice(1)}`;this._queueCallback(i,this._element,!0),this._element.style[n]=`${this._element[o]}px`}hide(){if(this._isTransitioning||!this._isShown()||Ht.trigger(this._element,Zme).defaultPrevented)return;const r=this._getDimension();this._element.style[r]=`${this._element.getBoundingClientRect()[r]}px`,Op(this._element),this._element.classList.add(Kg),this._element.classList.remove(Od,QT);for(const i of this._triggerArray){const a=Or.getElementFromSelector(i);a&&!this._isShown(a)&&this._addAriaAndCollapsedClass([i],!1)}this._isTransitioning=!0;const n=()=>{this._isTransitioning=!1,this._element.classList.remove(Kg),this._element.classList.add(Od),Ht.trigger(this._element,eye)};this._element.style[r]="",this._queueCallback(n,this._element,!0)}_isShown(t=this._element){return t.classList.contains(QT)}_configAfterMerge(t){return t.toggle=!!t.toggle,t.parent=tc(t.parent),t}_getDimension(){return this._element.classList.contains(iye)?aye:oye}_initializeChildren(){if(!this._config.parent)return;const t=this._getFirstLevelChildren(mI);for(const r of t){const n=Or.getElementFromSelector(r);n&&this._addAriaAndCollapsedClass([r],this._isShown(n))}}_getFirstLevelChildren(t){const r=Or.find(nye,this._config.parent);return Or.find(t,this._config.parent).filter(n=>!r.includes(n))}_addAriaAndCollapsedClass(t,r){if(t.length)for(const n of t)n.classList.toggle(rye,!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=zv.getOrCreateInstance(this,r);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t]()}})}}Ht.on(document,tye,mI,function(e){(e.target.tagName==="A"||e.delegateTarget&&e.delegateTarget.tagName==="A")&&e.preventDefault();for(const t of Or.getMultipleElementsFromSelector(this))zv.getOrCreateInstance(t,{toggle:!1}).toggle()});js(zv);const oW="dropdown",cye="bs.dropdown",Af=`.${cye}`,TD=".data-api",fye="Escape",sW="Tab",dye="ArrowUp",uW="ArrowDown",hye=2,vye=`hide${Af}`,pye=`hidden${Af}`,gye=`show${Af}`,mye=`shown${Af}`,kre=`click${Af}${TD}`,Nre=`keydown${Af}${TD}`,yye=`keyup${Af}${TD}`,Rd="show",_ye="dropup",Sye="dropend",Eye="dropstart",wye="dropup-center",bye="dropdown-center",zc='[data-bs-toggle="dropdown"]:not(.disabled):not(:disabled)',Tye=`${zc}.${Rd}`,xm=".dropdown-menu",Rye=".navbar",xye=".navbar-nav",Cye=".dropdown-menu .dropdown-item:not(.disabled):not(:disabled)",Aye=Ns()?"top-end":"top-start",Oye=Ns()?"top-start":"top-end",Iye=Ns()?"bottom-end":"bottom-start",Pye=Ns()?"bottom-start":"bottom-end",Dye=Ns()?"left-start":"right-start",kye=Ns()?"right-start":"left-start",Nye="top",Lye="bottom",Mye={autoClose:!0,boundary:"clippingParents",display:"dynamic",offset:[0,2],popperConfig:null,reference:"toggle"},$ye={autoClose:"(boolean|string)",boundary:"(string|element)",display:"string",offset:"(array|string|function)",popperConfig:"(null|object|function)",reference:"(string|element|object)"};let Sh=class Cm extends iu{constructor(t,r){super(t,r),this._popper=null,this._parent=this._element.parentNode,this._menu=Or.next(this._element,xm)[0]||Or.prev(this._element,xm)[0]||Or.findOne(xm,this._parent),this._inNavbar=this._detectNavbar()}static get Default(){return Mye}static get DefaultType(){return $ye}static get NAME(){return oW}toggle(){return this._isShown()?this.hide():this.show()}show(){if(rc(this._element)||this._isShown())return;const t={relatedTarget:this._element};if(!Ht.trigger(this._element,gye,t).defaultPrevented){if(this._createPopper(),"ontouchstart"in document.documentElement&&!this._parent.closest(xye))for(const n of[].concat(...document.body.children))Ht.on(n,"mouseover",ey);this._element.focus(),this._element.setAttribute("aria-expanded",!0),this._menu.classList.add(Rd),this._element.classList.add(Rd),Ht.trigger(this._element,mye,t)}}hide(){if(rc(this._element)||!this._isShown())return;const t={relatedTarget:this._element};this._completeHide(t)}dispose(){this._popper&&this._popper.destroy(),super.dispose()}update(){this._inNavbar=this._detectNavbar(),this._popper&&this._popper.update()}_completeHide(t){if(!Ht.trigger(this._element,vye,t).defaultPrevented){if("ontouchstart"in document.documentElement)for(const n of[].concat(...document.body.children))Ht.off(n,"mouseover",ey);this._popper&&this._popper.destroy(),this._menu.classList.remove(Rd),this._element.classList.remove(Rd),this._element.setAttribute("aria-expanded","false"),ol.removeDataAttribute(this._menu,"popper"),Ht.trigger(this._element,pye,t)}}_getConfig(t){if(t=super._getConfig(t),typeof t.reference=="object"&&!al(t.reference)&&typeof t.reference.getBoundingClientRect!="function")throw new TypeError(`${oW.toUpperCase()}: Option "reference" provided type "object" without a required "getBoundingClientRect" method.`);return t}_createPopper(){if(typeof dre>"u")throw new TypeError("Bootstrap's dropdowns require Popper (https://popper.js.org)");let t=this._element;this._config.reference==="parent"?t=this._parent:al(this._config.reference)?t=tc(this._config.reference):typeof this._config.reference=="object"&&(t=this._config.reference);const r=this._getPopperConfig();this._popper=ED(t,this._menu,r)}_isShown(){return this._menu.classList.contains(Rd)}_getPlacement(){const t=this._parent;if(t.classList.contains(Sye))return Dye;if(t.classList.contains(Eye))return kye;if(t.classList.contains(wye))return Nye;if(t.classList.contains(bye))return Lye;const r=getComputedStyle(this._menu).getPropertyValue("--bs-position").trim()==="end";return t.classList.contains(_ye)?r?Oye:Aye:r?Pye:Iye}_detectNavbar(){return this._element.closest(Rye)!==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")&&(ol.setDataAttribute(this._menu,"popper","static"),t.modifiers=[{name:"applyStyles",enabled:!1}]),{...t,...No(this._config.popperConfig,[t])}}_selectMenuItem({key:t,target:r}){const n=Or.find(Cye,this._menu).filter(i=>yh(i));n.length&&wD(n,r,t===uW,!n.includes(r)).focus()}static jQueryInterface(t){return this.each(function(){const r=Cm.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===hye||t.type==="keyup"&&t.key!==sW)return;const r=Or.find(Tye);for(const n of r){const i=Cm.getInstance(n);if(!i||i._config.autoClose===!1)continue;const a=t.composedPath(),o=a.includes(i._menu);if(a.includes(i._element)||i._config.autoClose==="inside"&&!o||i._config.autoClose==="outside"&&o||i._menu.contains(t.target)&&(t.type==="keyup"&&t.key===sW||/input|select|option|textarea|form/i.test(t.target.tagName)))continue;const 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===fye,i=[dye,uW].includes(t.key);if(!i&&!n||r&&!n)return;t.preventDefault();const a=this.matches(zc)?this:Or.prev(this,zc)[0]||Or.next(this,zc)[0]||Or.findOne(zc,t.delegateTarget.parentNode),o=Cm.getOrCreateInstance(a);if(i){t.stopPropagation(),o.show(),o._selectMenuItem(t);return}o._isShown()&&(t.stopPropagation(),o.hide(),a.focus())}};Ht.on(document,Nre,zc,Sh.dataApiKeydownHandler);Ht.on(document,Nre,xm,Sh.dataApiKeydownHandler);Ht.on(document,kre,Sh.clearMenus);Ht.on(document,yye,Sh.clearMenus);Ht.on(document,kre,zc,function(e){e.preventDefault(),Sh.getOrCreateInstance(this).toggle()});js(Sh);const Lre="backdrop",Fye="fade",lW="show",cW=`mousedown.bs.${Lre}`,jye={className:"modal-backdrop",clickCallback:null,isAnimated:!1,isVisible:!0,rootElement:"body"},Uye={className:"string",clickCallback:"(function|null)",isAnimated:"boolean",isVisible:"boolean",rootElement:"(element|string)"};class Mre extends Ip{constructor(t){super(),this._config=this._getConfig(t),this._isAppended=!1,this._element=null}static get Default(){return jye}static get DefaultType(){return Uye}static get NAME(){return Lre}show(t){if(!this._config.isVisible){No(t);return}this._append();const r=this._getElement();this._config.isAnimated&&Op(r),r.classList.add(lW),this._emulateAnimation(()=>{No(t)})}hide(t){if(!this._config.isVisible){No(t);return}this._getElement().classList.remove(lW),this._emulateAnimation(()=>{this.dispose(),No(t)})}dispose(){this._isAppended&&(Ht.off(this._element,cW),this._element.remove(),this._isAppended=!1)}_getElement(){if(!this._element){const t=document.createElement("div");t.className=this._config.className,this._config.isAnimated&&t.classList.add(Fye),this._element=t}return this._element}_configAfterMerge(t){return t.rootElement=tc(t.rootElement),t}_append(){if(this._isAppended)return;const t=this._getElement();this._config.rootElement.append(t),Ht.on(t,cW,()=>{No(this._config.clickCallback)}),this._isAppended=!0}_emulateAnimation(t){mre(t,this._getElement(),this._config.isAnimated)}}const qye="focustrap",Vye="bs.focustrap",ry=`.${Vye}`,Bye=`focusin${ry}`,Hye=`keydown.tab${ry}`,zye="Tab",Wye="forward",fW="backward",Gye={autofocus:!0,trapElement:null},Yye={autofocus:"boolean",trapElement:"element"};class $re extends Ip{constructor(t){super(),this._config=this._getConfig(t),this._isActive=!1,this._lastTabNavDirection=null}static get Default(){return Gye}static get DefaultType(){return Yye}static get NAME(){return qye}activate(){this._isActive||(this._config.autofocus&&this._config.trapElement.focus(),Ht.off(document,ry),Ht.on(document,Bye,t=>this._handleFocusin(t)),Ht.on(document,Hye,t=>this._handleKeydown(t)),this._isActive=!0)}deactivate(){this._isActive&&(this._isActive=!1,Ht.off(document,ry))}_handleFocusin(t){const{trapElement:r}=this._config;if(t.target===document||t.target===r||r.contains(t.target))return;const n=Or.focusableChildren(r);n.length===0?r.focus():this._lastTabNavDirection===fW?n[n.length-1].focus():n[0].focus()}_handleKeydown(t){t.key===zye&&(this._lastTabNavDirection=t.shiftKey?fW:Wye)}}const dW=".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",hW=".sticky-top",Xg="padding-right",vW="margin-right";class yI{constructor(){this._element=document.body}getWidth(){const t=document.documentElement.clientWidth;return Math.abs(window.innerWidth-t)}hide(){const t=this.getWidth();this._disableOverFlow(),this._setElementAttributes(this._element,Xg,r=>r+t),this._setElementAttributes(dW,Xg,r=>r+t),this._setElementAttributes(hW,vW,r=>r-t)}reset(){this._resetElementAttributes(this._element,"overflow"),this._resetElementAttributes(this._element,Xg),this._resetElementAttributes(dW,Xg),this._resetElementAttributes(hW,vW)}isOverflowing(){return this.getWidth()>0}_disableOverFlow(){this._saveInitialAttribute(this._element,"overflow"),this._element.style.overflow="hidden"}_setElementAttributes(t,r,n){const i=this.getWidth(),a=o=>{if(o!==this._element&&window.innerWidth>o.clientWidth+i)return;this._saveInitialAttribute(o,r);const u=window.getComputedStyle(o).getPropertyValue(r);o.style.setProperty(r,`${n(Number.parseFloat(u))}px`)};this._applyManipulationCallback(t,a)}_saveInitialAttribute(t,r){const n=t.style.getPropertyValue(r);n&&ol.setDataAttribute(t,r,n)}_resetElementAttributes(t,r){const n=i=>{const a=ol.getDataAttribute(i,r);if(a===null){i.style.removeProperty(r);return}ol.removeDataAttribute(i,r),i.style.setProperty(r,a)};this._applyManipulationCallback(t,n)}_applyManipulationCallback(t,r){if(al(t)){r(t);return}for(const n of Or.find(t,this._element))r(n)}}const Kye="modal",Xye="bs.modal",Ls=`.${Xye}`,Qye=".data-api",Jye="Escape",Zye=`hide${Ls}`,e_e=`hidePrevented${Ls}`,Fre=`hidden${Ls}`,jre=`show${Ls}`,t_e=`shown${Ls}`,r_e=`resize${Ls}`,n_e=`click.dismiss${Ls}`,i_e=`mousedown.dismiss${Ls}`,a_e=`keydown.dismiss${Ls}`,o_e=`click${Ls}${Qye}`,pW="modal-open",s_e="fade",gW="show",JT="modal-static",u_e=".modal.show",l_e=".modal-dialog",c_e=".modal-body",f_e='[data-bs-toggle="modal"]',d_e={backdrop:!0,focus:!0,keyboard:!0},h_e={backdrop:"(boolean|string)",focus:"boolean",keyboard:"boolean"};let ny=class Ure extends iu{constructor(t,r){super(t,r),this._dialog=Or.findOne(l_e,this._element),this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._isShown=!1,this._isTransitioning=!1,this._scrollBar=new yI,this._addEventListeners()}static get Default(){return d_e}static get DefaultType(){return h_e}static get NAME(){return Kye}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){this._isShown||this._isTransitioning||Ht.trigger(this._element,jre,{relatedTarget:t}).defaultPrevented||(this._isShown=!0,this._isTransitioning=!0,this._scrollBar.hide(),document.body.classList.add(pW),this._adjustDialog(),this._backdrop.show(()=>this._showElement(t)))}hide(){!this._isShown||this._isTransitioning||Ht.trigger(this._element,Zye).defaultPrevented||(this._isShown=!1,this._isTransitioning=!0,this._focustrap.deactivate(),this._element.classList.remove(gW),this._queueCallback(()=>this._hideModal(),this._element,this._isAnimated()))}dispose(){Ht.off(window,Ls),Ht.off(this._dialog,Ls),this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}handleUpdate(){this._adjustDialog()}_initializeBackDrop(){return new Mre({isVisible:!!this._config.backdrop,isAnimated:this._isAnimated()})}_initializeFocusTrap(){return new $re({trapElement:this._element})}_showElement(t){document.body.contains(this._element)||document.body.append(this._element),this._element.style.display="block",this._element.removeAttribute("aria-hidden"),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.scrollTop=0;const r=Or.findOne(c_e,this._dialog);r&&(r.scrollTop=0),Op(this._element),this._element.classList.add(gW);const n=()=>{this._config.focus&&this._focustrap.activate(),this._isTransitioning=!1,Ht.trigger(this._element,t_e,{relatedTarget:t})};this._queueCallback(n,this._dialog,this._isAnimated())}_addEventListeners(){Ht.on(this._element,a_e,t=>{if(t.key===Jye){if(this._config.keyboard){this.hide();return}this._triggerBackdropTransition()}}),Ht.on(window,r_e,()=>{this._isShown&&!this._isTransitioning&&this._adjustDialog()}),Ht.on(this._element,i_e,t=>{Ht.one(this._element,n_e,r=>{if(!(this._element!==t.target||this._element!==r.target)){if(this._config.backdrop==="static"){this._triggerBackdropTransition();return}this._config.backdrop&&this.hide()}})})}_hideModal(){this._element.style.display="none",this._element.setAttribute("aria-hidden",!0),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._isTransitioning=!1,this._backdrop.hide(()=>{document.body.classList.remove(pW),this._resetAdjustments(),this._scrollBar.reset(),Ht.trigger(this._element,Fre)})}_isAnimated(){return this._element.classList.contains(s_e)}_triggerBackdropTransition(){if(Ht.trigger(this._element,e_e).defaultPrevented)return;const r=this._element.scrollHeight>document.documentElement.clientHeight,n=this._element.style.overflowY;n==="hidden"||this._element.classList.contains(JT)||(r||(this._element.style.overflowY="hidden"),this._element.classList.add(JT),this._queueCallback(()=>{this._element.classList.remove(JT),this._queueCallback(()=>{this._element.style.overflowY=n},this._dialog)},this._dialog),this._element.focus())}_adjustDialog(){const t=this._element.scrollHeight>document.documentElement.clientHeight,r=this._scrollBar.getWidth(),n=r>0;if(n&&!t){const i=Ns()?"paddingLeft":"paddingRight";this._element.style[i]=`${r}px`}if(!n&&t){const i=Ns()?"paddingRight":"paddingLeft";this._element.style[i]=`${r}px`}}_resetAdjustments(){this._element.style.paddingLeft="",this._element.style.paddingRight=""}static jQueryInterface(t,r){return this.each(function(){const n=Ure.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof n[t]>"u")throw new TypeError(`No method named "${t}"`);n[t](r)}})}};Ht.on(document,o_e,f_e,function(e){const t=Or.getElementFromSelector(this);["A","AREA"].includes(this.tagName)&&e.preventDefault(),Ht.one(t,jre,i=>{i.defaultPrevented||Ht.one(t,Fre,()=>{yh(this)&&this.focus()})});const r=Or.findOne(u_e);r&&ny.getInstance(r).hide(),ny.getOrCreateInstance(t).toggle(this)});A_(ny);js(ny);const v_e="offcanvas",p_e="bs.offcanvas",_l=`.${p_e}`,qre=".data-api",g_e=`load${_l}${qre}`,m_e="Escape",mW="show",yW="showing",_W="hiding",y_e="offcanvas-backdrop",Vre=".offcanvas.show",__e=`show${_l}`,S_e=`shown${_l}`,E_e=`hide${_l}`,SW=`hidePrevented${_l}`,Bre=`hidden${_l}`,w_e=`resize${_l}`,b_e=`click${_l}${qre}`,T_e=`keydown.dismiss${_l}`,R_e='[data-bs-toggle="offcanvas"]',x_e={backdrop:!0,keyboard:!0,scroll:!1},C_e={backdrop:"(boolean|string)",keyboard:"boolean",scroll:"boolean"};class nc extends iu{constructor(t,r){super(t,r),this._isShown=!1,this._backdrop=this._initializeBackDrop(),this._focustrap=this._initializeFocusTrap(),this._addEventListeners()}static get Default(){return x_e}static get DefaultType(){return C_e}static get NAME(){return v_e}toggle(t){return this._isShown?this.hide():this.show(t)}show(t){if(this._isShown||Ht.trigger(this._element,__e,{relatedTarget:t}).defaultPrevented)return;this._isShown=!0,this._backdrop.show(),this._config.scroll||new yI().hide(),this._element.setAttribute("aria-modal",!0),this._element.setAttribute("role","dialog"),this._element.classList.add(yW);const n=()=>{(!this._config.scroll||this._config.backdrop)&&this._focustrap.activate(),this._element.classList.add(mW),this._element.classList.remove(yW),Ht.trigger(this._element,S_e,{relatedTarget:t})};this._queueCallback(n,this._element,!0)}hide(){if(!this._isShown||Ht.trigger(this._element,E_e).defaultPrevented)return;this._focustrap.deactivate(),this._element.blur(),this._isShown=!1,this._element.classList.add(_W),this._backdrop.hide();const r=()=>{this._element.classList.remove(mW,_W),this._element.removeAttribute("aria-modal"),this._element.removeAttribute("role"),this._config.scroll||new yI().reset(),Ht.trigger(this._element,Bre)};this._queueCallback(r,this._element,!0)}dispose(){this._backdrop.dispose(),this._focustrap.deactivate(),super.dispose()}_initializeBackDrop(){const t=()=>{if(this._config.backdrop==="static"){Ht.trigger(this._element,SW);return}this.hide()},r=!!this._config.backdrop;return new Mre({className:y_e,isVisible:r,isAnimated:!0,rootElement:this._element.parentNode,clickCallback:r?t:null})}_initializeFocusTrap(){return new $re({trapElement:this._element})}_addEventListeners(){Ht.on(this._element,T_e,t=>{if(t.key===m_e){if(this._config.keyboard){this.hide();return}Ht.trigger(this._element,SW)}})}static jQueryInterface(t){return this.each(function(){const r=nc.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}Ht.on(document,b_e,R_e,function(e){const t=Or.getElementFromSelector(this);if(["A","AREA"].includes(this.tagName)&&e.preventDefault(),rc(this))return;Ht.one(t,Bre,()=>{yh(this)&&this.focus()});const r=Or.findOne(Vre);r&&r!==t&&nc.getInstance(r).hide(),nc.getOrCreateInstance(t).toggle(this)});Ht.on(window,g_e,()=>{for(const e of Or.find(Vre))nc.getOrCreateInstance(e).show()});Ht.on(window,w_e,()=>{for(const e of Or.find("[aria-modal][class*=show][class*=offcanvas-]"))getComputedStyle(e).position!=="fixed"&&nc.getOrCreateInstance(e).hide()});A_(nc);js(nc);const A_e=/^aria-[\w-]*$/i,Hre={"*":["class","dir","id","lang","role",A_e],a:["target","href","title","rel"],area:[],b:[],br:[],col:[],code:[],div:[],em:[],hr:[],h1:[],h2:[],h3:[],h4:[],h5:[],h6:[],i:[],img:["src","srcset","alt","title","width","height"],li:[],ol:[],p:[],pre:[],s:[],small:[],span:[],sub:[],sup:[],strong:[],u:[],ul:[]},O_e=new Set(["background","cite","href","itemtype","longdesc","poster","src","xlink:href"]),I_e=/^(?!javascript:)(?:[a-z0-9+.-]+:|[^&:/?#]*(?:[/?#]|$))/i,P_e=(e,t)=>{const r=e.nodeName.toLowerCase();return t.includes(r)?O_e.has(r)?!!I_e.test(e.nodeValue):!0:t.filter(n=>n instanceof RegExp).some(n=>n.test(r))};function D_e(e,t,r){if(!e.length)return e;if(r&&typeof r=="function")return r(e);const i=new window.DOMParser().parseFromString(e,"text/html"),a=[].concat(...i.body.querySelectorAll("*"));for(const o of a){const u=o.nodeName.toLowerCase();if(!Object.keys(t).includes(u)){o.remove();continue}const s=[].concat(...o.attributes),c=[].concat(t["*"]||[],t[u]||[]);for(const d of s)P_e(d,c)||o.removeAttribute(d.nodeName)}return i.body.innerHTML}const k_e="TemplateFactory",N_e={allowList:Hre,content:{},extraClass:"",html:!1,sanitize:!0,sanitizeFn:null,template:"<div></div>"},L_e={allowList:"object",content:"object",extraClass:"(string|function)",html:"boolean",sanitize:"boolean",sanitizeFn:"(null|function)",template:"string"},M_e={entry:"(string|element|function|null)",selector:"(string|element)"};class $_e extends Ip{constructor(t){super(),this._config=this._getConfig(t)}static get Default(){return N_e}static get DefaultType(){return L_e}static get NAME(){return k_e}getContent(){return Object.values(this._config.content).map(t=>this._resolvePossibleFunction(t)).filter(Boolean)}hasContent(){return this.getContent().length>0}changeContent(t){return this._checkContent(t),this._config.content={...this._config.content,...t},this}toHtml(){const t=document.createElement("div");t.innerHTML=this._maybeSanitize(this._config.template);for(const[i,a]of Object.entries(this._config.content))this._setContent(t,a,i);const r=t.children[0],n=this._resolvePossibleFunction(this._config.extraClass);return n&&r.classList.add(...n.split(" ")),r}_typeCheckConfig(t){super._typeCheckConfig(t),this._checkContent(t.content)}_checkContent(t){for(const[r,n]of Object.entries(t))super._typeCheckConfig({selector:r,entry:n},M_e)}_setContent(t,r,n){const i=Or.findOne(n,t);if(i){if(r=this._resolvePossibleFunction(r),!r){i.remove();return}if(al(r)){this._putElementInTemplate(tc(r),i);return}if(this._config.html){i.innerHTML=this._maybeSanitize(r);return}i.textContent=r}}_maybeSanitize(t){return this._config.sanitize?D_e(t,this._config.allowList,this._config.sanitizeFn):t}_resolvePossibleFunction(t){return No(t,[this])}_putElementInTemplate(t,r){if(this._config.html){r.innerHTML="",r.append(t);return}r.textContent=t.textContent}}const F_e="tooltip",j_e=new Set(["sanitize","allowList","sanitizeFn"]),ZT="fade",U_e="modal",Qg="show",q_e=".tooltip-inner",EW=`.${U_e}`,wW="hide.bs.modal",nv="hover",eR="focus",V_e="click",B_e="manual",H_e="hide",z_e="hidden",W_e="show",G_e="shown",Y_e="inserted",K_e="click",X_e="focusin",Q_e="focusout",J_e="mouseenter",Z_e="mouseleave",e0e={AUTO:"auto",TOP:"top",RIGHT:Ns()?"left":"right",BOTTOM:"bottom",LEFT:Ns()?"right":"left"},t0e={allowList:Hre,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"},r0e={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 O_=class zre extends iu{constructor(t,r){if(typeof dre>"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 t0e}static get DefaultType(){return r0e}static get NAME(){return F_e}enable(){this._isEnabled=!0}disable(){this._isEnabled=!1}toggleEnabled(){this._isEnabled=!this._isEnabled}toggle(){if(this._isEnabled){if(this._activeTrigger.click=!this._activeTrigger.click,this._isShown()){this._leave();return}this._enter()}}dispose(){clearTimeout(this._timeout),Ht.off(this._element.closest(EW),wW,this._hideModalHandler),this._element.getAttribute("data-bs-original-title")&&this._element.setAttribute("title",this._element.getAttribute("data-bs-original-title")),this._disposePopper(),super.dispose()}show(){if(this._element.style.display==="none")throw new Error("Please use show on visible elements");if(!(this._isWithContent()&&this._isEnabled))return;const t=Ht.trigger(this._element,this.constructor.eventName(W_e)),n=(pre(this._element)||this._element.ownerDocument.documentElement).contains(this._element);if(t.defaultPrevented||!n)return;this._disposePopper();const i=this._getTipElement();this._element.setAttribute("aria-describedby",i.getAttribute("id"));const{container:a}=this._config;if(this._element.ownerDocument.documentElement.contains(this.tip)||(a.append(i),Ht.trigger(this._element,this.constructor.eventName(Y_e))),this._popper=this._createPopper(i),i.classList.add(Qg),"ontouchstart"in document.documentElement)for(const u of[].concat(...document.body.children))Ht.on(u,"mouseover",ey);const o=()=>{Ht.trigger(this._element,this.constructor.eventName(G_e)),this._isHovered===!1&&this._leave(),this._isHovered=!1};this._queueCallback(o,this.tip,this._isAnimated())}hide(){if(!this._isShown()||Ht.trigger(this._element,this.constructor.eventName(H_e)).defaultPrevented)return;if(this._getTipElement().classList.remove(Qg),"ontouchstart"in document.documentElement)for(const i of[].concat(...document.body.children))Ht.off(i,"mouseover",ey);this._activeTrigger[V_e]=!1,this._activeTrigger[eR]=!1,this._activeTrigger[nv]=!1,this._isHovered=null;const n=()=>{this._isWithActiveTrigger()||(this._isHovered||this._disposePopper(),this._element.removeAttribute("aria-describedby"),Ht.trigger(this._element,this.constructor.eventName(z_e)))};this._queueCallback(n,this.tip,this._isAnimated())}update(){this._popper&&this._popper.update()}_isWithContent(){return!!this._getTitle()}_getTipElement(){return this.tip||(this.tip=this._createTipElement(this._newContent||this._getContentForTemplate())),this.tip}_createTipElement(t){const r=this._getTemplateFactory(t).toHtml();if(!r)return null;r.classList.remove(ZT,Qg),r.classList.add(`bs-${this.constructor.NAME}-auto`);const n=Vge(this.constructor.NAME).toString();return r.setAttribute("id",n),this._isAnimated()&&r.classList.add(ZT),r}setContent(t){this._newContent=t,this._isShown()&&(this._disposePopper(),this.show())}_getTemplateFactory(t){return this._templateFactory?this._templateFactory.changeContent(t):this._templateFactory=new $_e({...this._config,content:t,extraClass:this._resolvePossibleFunction(this._config.customClass)}),this._templateFactory}_getContentForTemplate(){return{[q_e]:this._getTitle()}}_getTitle(){return this._resolvePossibleFunction(this._config.title)||this._element.getAttribute("data-bs-original-title")}_initializeOnDelegatedTarget(t){return this.constructor.getOrCreateInstance(t.delegateTarget,this._getDelegateConfig())}_isAnimated(){return this._config.animation||this.tip&&this.tip.classList.contains(ZT)}_isShown(){return this.tip&&this.tip.classList.contains(Qg)}_createPopper(t){const r=No(this._config.placement,[this,t,this._element]),n=e0e[r.toUpperCase()];return ED(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 No(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,...No(this._config.popperConfig,[r])}}_setListeners(){const t=this._config.trigger.split(" ");for(const r of t)if(r==="click")Ht.on(this._element,this.constructor.eventName(K_e),this._config.selector,n=>{this._initializeOnDelegatedTarget(n).toggle()});else if(r!==B_e){const n=r===nv?this.constructor.eventName(J_e):this.constructor.eventName(X_e),i=r===nv?this.constructor.eventName(Z_e):this.constructor.eventName(Q_e);Ht.on(this._element,n,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusin"?eR:nv]=!0,o._enter()}),Ht.on(this._element,i,this._config.selector,a=>{const o=this._initializeOnDelegatedTarget(a);o._activeTrigger[a.type==="focusout"?eR:nv]=o._element.contains(a.relatedTarget),o._leave()})}this._hideModalHandler=()=>{this._element&&this.hide()},Ht.on(this._element.closest(EW),wW,this._hideModalHandler)}_fixTitle(){const t=this._element.getAttribute("title");t&&(!this._element.getAttribute("aria-label")&&!this._element.textContent.trim()&&this._element.setAttribute("aria-label",t),this._element.setAttribute("data-bs-original-title",t),this._element.removeAttribute("title"))}_enter(){if(this._isShown()||this._isHovered){this._isHovered=!0;return}this._isHovered=!0,this._setTimeout(()=>{this._isHovered&&this.show()},this._config.delay.show)}_leave(){this._isWithActiveTrigger()||(this._isHovered=!1,this._setTimeout(()=>{this._isHovered||this.hide()},this._config.delay.hide))}_setTimeout(t,r){clearTimeout(this._timeout),this._timeout=setTimeout(t,r)}_isWithActiveTrigger(){return Object.values(this._activeTrigger).includes(!0)}_getConfig(t){const r=ol.getDataAttributes(this._element);for(const n of Object.keys(r))j_e.has(n)&&delete r[n];return t={...r,...typeof t=="object"&&t?t:{}},t=this._mergeConfigObj(t),t=this._configAfterMerge(t),this._typeCheckConfig(t),t}_configAfterMerge(t){return t.container=t.container===!1?document.body:tc(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=zre.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};js(O_);const n0e="popover",i0e=".popover-header",a0e=".popover-body",o0e={...O_.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"},s0e={...O_.DefaultType,content:"(null|string|element|function)"};let u0e=class Wre extends O_{static get Default(){return o0e}static get DefaultType(){return s0e}static get NAME(){return n0e}_isWithContent(){return this._getTitle()||this._getContent()}_getContentForTemplate(){return{[i0e]:this._getTitle(),[a0e]:this._getContent()}}_getContent(){return this._resolvePossibleFunction(this._config.content)}static jQueryInterface(t){return this.each(function(){const r=Wre.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t]()}})}};js(u0e);const l0e="scrollspy",c0e="bs.scrollspy",RD=`.${c0e}`,f0e=".data-api",d0e=`activate${RD}`,bW=`click${RD}`,h0e=`load${RD}${f0e}`,v0e="dropdown-item",hd="active",p0e='[data-bs-spy="scroll"]',tR="[href]",g0e=".nav, .list-group",TW=".nav-link",m0e=".nav-item",y0e=".list-group-item",_0e=`${TW}, ${m0e} > ${TW}, ${y0e}`,S0e=".dropdown",E0e=".dropdown-toggle",w0e={offset:null,rootMargin:"0px 0px -25%",smoothScroll:!1,target:null,threshold:[.1,.5,1]},b0e={offset:"(number|null)",rootMargin:"string",smoothScroll:"boolean",target:"element",threshold:"array"};class I_ extends iu{constructor(t,r){super(t,r),this._targetLinks=new Map,this._observableSections=new Map,this._rootElement=getComputedStyle(this._element).overflowY==="visible"?null:this._element,this._activeTarget=null,this._observer=null,this._previousScrollData={visibleEntryTop:0,parentScrollTop:0},this.refresh()}static get Default(){return w0e}static get DefaultType(){return b0e}static get NAME(){return l0e}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=tc(t.target)||document.body,t.rootMargin=t.offset?`${t.offset}px 0px -30%`:t.rootMargin,typeof t.threshold=="string"&&(t.threshold=t.threshold.split(",").map(r=>Number.parseFloat(r))),t}_maybeEnableSmoothScroll(){this._config.smoothScroll&&(Ht.off(this._config.target,bW),Ht.on(this._config.target,bW,tR,t=>{const r=this._observableSections.get(t.target.hash);if(r){t.preventDefault();const n=this._rootElement||window,i=r.offsetTop-this._element.offsetTop;if(n.scrollTo){n.scrollTo({top:i,behavior:"smooth"});return}n.scrollTop=i}}))}_getNewObserver(){const t={root:this._rootElement,threshold:this._config.threshold,rootMargin:this._config.rootMargin};return new IntersectionObserver(r=>this._observerCallback(r),t)}_observerCallback(t){const r=o=>this._targetLinks.get(`#${o.target.id}`),n=o=>{this._previousScrollData.visibleEntryTop=o.target.offsetTop,this._process(r(o))},i=(this._rootElement||document.documentElement).scrollTop,a=i>=this._previousScrollData.parentScrollTop;this._previousScrollData.parentScrollTop=i;for(const o of t){if(!o.isIntersecting){this._activeTarget=null,this._clearActiveClass(r(o));continue}const u=o.target.offsetTop>=this._previousScrollData.visibleEntryTop;if(a&&u){if(n(o),!i)return;continue}!a&&!u&&n(o)}}_initializeTargetsAndObservables(){this._targetLinks=new Map,this._observableSections=new Map;const t=Or.find(tR,this._config.target);for(const r of t){if(!r.hash||rc(r))continue;const n=Or.findOne(decodeURI(r.hash),this._element);yh(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(hd),this._activateParents(t),Ht.trigger(this._element,d0e,{relatedTarget:t}))}_activateParents(t){if(t.classList.contains(v0e)){Or.findOne(E0e,t.closest(S0e)).classList.add(hd);return}for(const r of Or.parents(t,g0e))for(const n of Or.prev(r,_0e))n.classList.add(hd)}_clearActiveClass(t){t.classList.remove(hd);const r=Or.find(`${tR}.${hd}`,t);for(const n of r)n.classList.remove(hd)}static jQueryInterface(t){return this.each(function(){const r=I_.getOrCreateInstance(this,t);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ht.on(window,h0e,()=>{for(const e of Or.find(p0e))I_.getOrCreateInstance(e)});js(I_);const T0e="tab",R0e="bs.tab",Of=`.${R0e}`,x0e=`hide${Of}`,C0e=`hidden${Of}`,A0e=`show${Of}`,O0e=`shown${Of}`,I0e=`click${Of}`,P0e=`keydown${Of}`,D0e=`load${Of}`,k0e="ArrowLeft",RW="ArrowRight",N0e="ArrowUp",xW="ArrowDown",rR="Home",CW="End",Wc="active",AW="fade",nR="show",L0e="dropdown",Gre=".dropdown-toggle",M0e=".dropdown-menu",iR=`:not(${Gre})`,$0e='.list-group, .nav, [role="tablist"]',F0e=".nav-item, .list-group-item",j0e=`.nav-link${iR}, .list-group-item${iR}, [role="tab"]${iR}`,Yre='[data-bs-toggle="tab"], [data-bs-toggle="pill"], [data-bs-toggle="list"]',aR=`${j0e}, ${Yre}`,U0e=`.${Wc}[data-bs-toggle="tab"], .${Wc}[data-bs-toggle="pill"], .${Wc}[data-bs-toggle="list"]`;class Yd extends iu{constructor(t){super(t),this._parent=this._element.closest($0e),this._parent&&(this._setInitialAttributes(this._parent,this._getChildren()),Ht.on(this._element,P0e,r=>this._keydown(r)))}static get NAME(){return T0e}show(){const t=this._element;if(this._elemIsActive(t))return;const r=this._getActiveElem(),n=r?Ht.trigger(r,x0e,{relatedTarget:t}):null;Ht.trigger(t,A0e,{relatedTarget:r}).defaultPrevented||n&&n.defaultPrevented||(this._deactivate(r,t),this._activate(t,r))}_activate(t,r){if(!t)return;t.classList.add(Wc),this._activate(Or.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.add(nR);return}t.removeAttribute("tabindex"),t.setAttribute("aria-selected",!0),this._toggleDropDown(t,!0),Ht.trigger(t,O0e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(AW))}_deactivate(t,r){if(!t)return;t.classList.remove(Wc),t.blur(),this._deactivate(Or.getElementFromSelector(t));const n=()=>{if(t.getAttribute("role")!=="tab"){t.classList.remove(nR);return}t.setAttribute("aria-selected",!1),t.setAttribute("tabindex","-1"),this._toggleDropDown(t,!1),Ht.trigger(t,C0e,{relatedTarget:r})};this._queueCallback(n,t,t.classList.contains(AW))}_keydown(t){if(![k0e,RW,N0e,xW,rR,CW].includes(t.key))return;t.stopPropagation(),t.preventDefault();const r=this._getChildren().filter(i=>!rc(i));let n;if([rR,CW].includes(t.key))n=r[t.key===rR?0:r.length-1];else{const i=[RW,xW].includes(t.key);n=wD(r,t.target,i,!0)}n&&(n.focus({preventScroll:!0}),Yd.getOrCreateInstance(n).show())}_getChildren(){return Or.find(aR,this._parent)}_getActiveElem(){return this._getChildren().find(t=>this._elemIsActive(t))||null}_setInitialAttributes(t,r){this._setAttributeIfNotExists(t,"role","tablist");for(const n of r)this._setInitialAttributesOnChild(n)}_setInitialAttributesOnChild(t){t=this._getInnerElement(t);const r=this._elemIsActive(t),n=this._getOuterElement(t);t.setAttribute("aria-selected",r),n!==t&&this._setAttributeIfNotExists(n,"role","presentation"),r||t.setAttribute("tabindex","-1"),this._setAttributeIfNotExists(t,"role","tab"),this._setInitialAttributesOnTargetPanel(t)}_setInitialAttributesOnTargetPanel(t){const r=Or.getElementFromSelector(t);r&&(this._setAttributeIfNotExists(r,"role","tabpanel"),t.id&&this._setAttributeIfNotExists(r,"aria-labelledby",`${t.id}`))}_toggleDropDown(t,r){const n=this._getOuterElement(t);if(!n.classList.contains(L0e))return;const i=(a,o)=>{const u=Or.findOne(a,n);u&&u.classList.toggle(o,r)};i(Gre,Wc),i(M0e,nR),n.setAttribute("aria-expanded",r)}_setAttributeIfNotExists(t,r,n){t.hasAttribute(r)||t.setAttribute(r,n)}_elemIsActive(t){return t.classList.contains(Wc)}_getInnerElement(t){return t.matches(aR)?t:Or.findOne(aR,t)}_getOuterElement(t){return t.closest(F0e)||t}static jQueryInterface(t){return this.each(function(){const r=Yd.getOrCreateInstance(this);if(typeof t=="string"){if(r[t]===void 0||t.startsWith("_")||t==="constructor")throw new TypeError(`No method named "${t}"`);r[t]()}})}}Ht.on(document,I0e,Yre,function(e){["A","AREA"].includes(this.tagName)&&e.preventDefault(),!rc(this)&&Yd.getOrCreateInstance(this).show()});Ht.on(window,D0e,()=>{for(const e of Or.find(U0e))Yd.getOrCreateInstance(e)});js(Yd);const q0e="toast",V0e="bs.toast",cc=`.${V0e}`,B0e=`mouseover${cc}`,H0e=`mouseout${cc}`,z0e=`focusin${cc}`,W0e=`focusout${cc}`,G0e=`hide${cc}`,Y0e=`hidden${cc}`,K0e=`show${cc}`,X0e=`shown${cc}`,Q0e="fade",OW="hide",Jg="show",Zg="showing",J0e={animation:"boolean",autohide:"boolean",delay:"number"},Z0e={animation:!0,autohide:!0,delay:5e3};class P_ extends iu{constructor(t,r){super(t,r),this._timeout=null,this._hasMouseInteraction=!1,this._hasKeyboardInteraction=!1,this._setListeners()}static get Default(){return Z0e}static get DefaultType(){return J0e}static get NAME(){return q0e}show(){if(Ht.trigger(this._element,K0e).defaultPrevented)return;this._clearTimeout(),this._config.animation&&this._element.classList.add(Q0e);const r=()=>{this._element.classList.remove(Zg),Ht.trigger(this._element,X0e),this._maybeScheduleHide()};this._element.classList.remove(OW),Op(this._element),this._element.classList.add(Jg,Zg),this._queueCallback(r,this._element,this._config.animation)}hide(){if(!this.isShown()||Ht.trigger(this._element,G0e).defaultPrevented)return;const r=()=>{this._element.classList.add(OW),this._element.classList.remove(Zg,Jg),Ht.trigger(this._element,Y0e)};this._element.classList.add(Zg),this._queueCallback(r,this._element,this._config.animation)}dispose(){this._clearTimeout(),this.isShown()&&this._element.classList.remove(Jg),super.dispose()}isShown(){return this._element.classList.contains(Jg)}_maybeScheduleHide(){this._config.autohide&&(this._hasMouseInteraction||this._hasKeyboardInteraction||(this._timeout=setTimeout(()=>{this.hide()},this._config.delay)))}_onInteraction(t,r){switch(t.type){case"mouseover":case"mouseout":{this._hasMouseInteraction=r;break}case"focusin":case"focusout":{this._hasKeyboardInteraction=r;break}}if(r){this._clearTimeout();return}const n=t.relatedTarget;this._element===n||this._element.contains(n)||this._maybeScheduleHide()}_setListeners(){Ht.on(this._element,B0e,t=>this._onInteraction(t,!0)),Ht.on(this._element,H0e,t=>this._onInteraction(t,!1)),Ht.on(this._element,z0e,t=>this._onInteraction(t,!0)),Ht.on(this._element,W0e,t=>this._onInteraction(t,!1))}_clearTimeout(){clearTimeout(this._timeout),this._timeout=null}static jQueryInterface(t){return this.each(function(){const r=P_.getOrCreateInstance(this,t);if(typeof t=="string"){if(typeof r[t]>"u")throw new TypeError(`No method named "${t}"`);r[t](this)}})}}A_(P_);js(P_);var Am={exports:{}},Om={exports:{}},eSe=Om.exports,IW;function Kre(){return IW||(IW=1,(function(e,t){(function(r,n){e.exports=n()})(eSe,(function(){var r="1.13.7",n=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},i=Array.prototype,a=Object.prototype,o=typeof Symbol<"u"?Symbol.prototype:null,u=i.push,s=i.slice,c=a.toString,d=a.hasOwnProperty,h=typeof ArrayBuffer<"u",v=typeof DataView<"u",g=Array.isArray,m=Object.keys,y=Object.create,S=h&&ArrayBuffer.isView,w=isNaN,b=isFinite,A=!{toString:null}.propertyIsEnumerable("toString"),R=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],x=Math.pow(2,53)-1;function O(ae,ve){return ve=ve==null?ae.length-1:+ve,function(){for(var Pe=Math.max(arguments.length-ve,0),Fe=Array(Pe),Be=0;Be<Pe;Be++)Fe[Be]=arguments[Be+ve];switch(ve){case 0:return ae.call(this,Fe);case 1:return ae.call(this,arguments[0],Fe);case 2:return ae.call(this,arguments[0],arguments[1],Fe)}var Ye=Array(ve+1);for(Be=0;Be<ve;Be++)Ye[Be]=arguments[Be];return Ye[ve]=Fe,ae.apply(this,Ye)}}function _(ae){var ve=typeof ae;return ve==="function"||ve==="object"&&!!ae}function P(ae){return ae===null}function N(ae){return ae===void 0}function U(ae){return ae===!0||ae===!1||c.call(ae)==="[object Boolean]"}function $(ae){return!!(ae&&ae.nodeType===1)}function B(ae){var ve="[object "+ae+"]";return function(Pe){return c.call(Pe)===ve}}var Y=B("String"),Q=B("Number"),K=B("Date"),ee=B("RegExp"),ne=B("Error"),D=B("Symbol"),I=B("ArrayBuffer"),L=B("Function"),re=n.document&&n.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof re!="function"&&(L=function(ae){return typeof ae=="function"||!1});var te=L,ce=B("Object"),be=v&&(!/\[native code\]/.test(String(DataView))||ce(new DataView(new ArrayBuffer(8)))),Ie=typeof Map<"u"&&ce(new Map),je=B("DataView");function z(ae){return ae!=null&&te(ae.getInt8)&&I(ae.buffer)}var k=be?z:je,q=g||B("Array");function H(ae,ve){return ae!=null&&d.call(ae,ve)}var ie=B("Arguments");(function(){ie(arguments)||(ie=function(ae){return H(ae,"callee")})})();var V=ie;function Z(ae){return!D(ae)&&b(ae)&&!isNaN(parseFloat(ae))}function me(ae){return Q(ae)&&w(ae)}function fe(ae){return function(){return ae}}function Re(ae){return function(ve){var Pe=ae(ve);return typeof Pe=="number"&&Pe>=0&&Pe<=x}}function Se(ae){return function(ve){return ve==null?void 0:ve[ae]}}var Oe=Se("byteLength"),Me=Re(Oe),de=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function Ee(ae){return S?S(ae)&&!k(ae):Me(ae)&&de.test(c.call(ae))}var _e=h?Ee:fe(!1),xe=Se("length");function ke(ae){for(var ve={},Pe=ae.length,Fe=0;Fe<Pe;++Fe)ve[ae[Fe]]=!0;return{contains:function(Be){return ve[Be]===!0},push:function(Be){return ve[Be]=!0,ae.push(Be)}}}function Le(ae,ve){ve=ke(ve);var Pe=R.length,Fe=ae.constructor,Be=te(Fe)&&Fe.prototype||a,Ye="constructor";for(H(ae,Ye)&&!ve.contains(Ye)&&ve.push(Ye);Pe--;)Ye=R[Pe],Ye in ae&&ae[Ye]!==Be[Ye]&&!ve.contains(Ye)&&ve.push(Ye)}function He(ae){if(!_(ae))return[];if(m)return m(ae);var ve=[];for(var Pe in ae)H(ae,Pe)&&ve.push(Pe);return A&&Le(ae,ve),ve}function _t(ae){if(ae==null)return!0;var ve=xe(ae);return typeof ve=="number"&&(q(ae)||Y(ae)||V(ae))?ve===0:xe(He(ae))===0}function jt(ae,ve){var Pe=He(ve),Fe=Pe.length;if(ae==null)return!Fe;for(var Be=Object(ae),Ye=0;Ye<Fe;Ye++){var Rt=Pe[Ye];if(ve[Rt]!==Be[Rt]||!(Rt in Be))return!1}return!0}function Lt(ae){if(ae instanceof Lt)return ae;if(!(this instanceof Lt))return new Lt(ae);this._wrapped=ae}Lt.VERSION=r,Lt.prototype.value=function(){return this._wrapped},Lt.prototype.valueOf=Lt.prototype.toJSON=Lt.prototype.value,Lt.prototype.toString=function(){return String(this._wrapped)};function Qe(ae){return new Uint8Array(ae.buffer||ae,ae.byteOffset||0,Oe(ae))}var bt="[object DataView]";function mt(ae,ve,Pe,Fe){if(ae===ve)return ae!==0||1/ae===1/ve;if(ae==null||ve==null)return!1;if(ae!==ae)return ve!==ve;var Be=typeof ae;return Be!=="function"&&Be!=="object"&&typeof ve!="object"?!1:St(ae,ve,Pe,Fe)}function St(ae,ve,Pe,Fe){ae instanceof Lt&&(ae=ae._wrapped),ve instanceof Lt&&(ve=ve._wrapped);var Be=c.call(ae);if(Be!==c.call(ve))return!1;if(be&&Be=="[object Object]"&&k(ae)){if(!k(ve))return!1;Be=bt}switch(Be){case"[object RegExp]":case"[object String]":return""+ae==""+ve;case"[object Number]":return+ae!=+ae?+ve!=+ve:+ae==0?1/+ae===1/ve:+ae==+ve;case"[object Date]":case"[object Boolean]":return+ae==+ve;case"[object Symbol]":return o.valueOf.call(ae)===o.valueOf.call(ve);case"[object ArrayBuffer]":case bt:return St(Qe(ae),Qe(ve),Pe,Fe)}var Ye=Be==="[object Array]";if(!Ye&&_e(ae)){var Rt=Oe(ae);if(Rt!==Oe(ve))return!1;if(ae.buffer===ve.buffer&&ae.byteOffset===ve.byteOffset)return!0;Ye=!0}if(!Ye){if(typeof ae!="object"||typeof ve!="object")return!1;var Xt=ae.constructor,Br=ve.constructor;if(Xt!==Br&&!(te(Xt)&&Xt instanceof Xt&&te(Br)&&Br instanceof Br)&&"constructor"in ae&&"constructor"in ve)return!1}Pe=Pe||[],Fe=Fe||[];for(var Lr=Pe.length;Lr--;)if(Pe[Lr]===ae)return Fe[Lr]===ve;if(Pe.push(ae),Fe.push(ve),Ye){if(Lr=ae.length,Lr!==ve.length)return!1;for(;Lr--;)if(!mt(ae[Lr],ve[Lr],Pe,Fe))return!1}else{var ti=He(ae),Ei;if(Lr=ti.length,He(ve).length!==Lr)return!1;for(;Lr--;)if(Ei=ti[Lr],!(H(ve,Ei)&&mt(ae[Ei],ve[Ei],Pe,Fe)))return!1}return Pe.pop(),Fe.pop(),!0}function yt(ae,ve){return mt(ae,ve)}function at(ae){if(!_(ae))return[];var ve=[];for(var Pe in ae)ve.push(Pe);return A&&Le(ae,ve),ve}function $t(ae){var ve=xe(ae);return function(Pe){if(Pe==null)return!1;var Fe=at(Pe);if(xe(Fe))return!1;for(var Be=0;Be<ve;Be++)if(!te(Pe[ae[Be]]))return!1;return ae!==Pt||!te(Pe[xt])}}var xt="forEach",Ce="has",Ze=["clear","delete"],ut=["get",Ce,"set"],Tt=Ze.concat(xt,ut),Pt=Ze.concat(ut),rr=["add"].concat(Ze,xt,Ce),_r=Ie?$t(Tt):B("Map"),sr=Ie?$t(Pt):B("WeakMap"),mr=Ie?$t(rr):B("Set"),Pr=B("WeakSet");function ln(ae){for(var ve=He(ae),Pe=ve.length,Fe=Array(Pe),Be=0;Be<Pe;Be++)Fe[Be]=ae[ve[Be]];return Fe}function di(ae){for(var ve=He(ae),Pe=ve.length,Fe=Array(Pe),Be=0;Be<Pe;Be++)Fe[Be]=[ve[Be],ae[ve[Be]]];return Fe}function Nn(ae){for(var ve={},Pe=He(ae),Fe=0,Be=Pe.length;Fe<Be;Fe++)ve[ae[Pe[Fe]]]=Pe[Fe];return ve}function Rn(ae){var ve=[];for(var Pe in ae)te(ae[Pe])&&ve.push(Pe);return ve.sort()}function En(ae,ve){return function(Pe){var Fe=arguments.length;if(ve&&(Pe=Object(Pe)),Fe<2||Pe==null)return Pe;for(var Be=1;Be<Fe;Be++)for(var Ye=arguments[Be],Rt=ae(Ye),Xt=Rt.length,Br=0;Br<Xt;Br++){var Lr=Rt[Br];(!ve||Pe[Lr]===void 0)&&(Pe[Lr]=Ye[Lr])}return Pe}}var Jn=En(at),Zn=En(He),Ci=En(at,!0);function _i(){return function(){}}function Vi(ae){if(!_(ae))return{};if(y)return y(ae);var ve=_i();ve.prototype=ae;var Pe=new ve;return ve.prototype=null,Pe}function Yi(ae,ve){var Pe=Vi(ae);return ve&&Zn(Pe,ve),Pe}function Ln(ae){return _(ae)?q(ae)?ae.slice():Jn({},ae):ae}function oi(ae,ve){return ve(ae),ae}function Di(ae){return q(ae)?ae:[ae]}Lt.toPath=Di;function Ai(ae){return Lt.toPath(ae)}function it(ae,ve){for(var Pe=ve.length,Fe=0;Fe<Pe;Fe++){if(ae==null)return;ae=ae[ve[Fe]]}return Pe?ae:void 0}function Ft(ae,ve,Pe){var Fe=it(ae,Ai(ve));return N(Fe)?Pe:Fe}function pt(ae,ve){ve=Ai(ve);for(var Pe=ve.length,Fe=0;Fe<Pe;Fe++){var Be=ve[Fe];if(!H(ae,Be))return!1;ae=ae[Be]}return!!Pe}function Ke(ae){return ae}function At(ae){return ae=Zn({},ae),function(ve){return jt(ve,ae)}}function pr(ae){return ae=Ai(ae),function(ve){return it(ve,ae)}}function we(ae,ve,Pe){if(ve===void 0)return ae;switch(Pe??3){case 1:return function(Fe){return ae.call(ve,Fe)};case 3:return function(Fe,Be,Ye){return ae.call(ve,Fe,Be,Ye)};case 4:return function(Fe,Be,Ye,Rt){return ae.call(ve,Fe,Be,Ye,Rt)}}return function(){return ae.apply(ve,arguments)}}function ct(ae,ve,Pe){return ae==null?Ke:te(ae)?we(ae,ve,Pe):_(ae)&&!q(ae)?At(ae):pr(ae)}function nt(ae,ve){return ct(ae,ve,1/0)}Lt.iteratee=nt;function ft(ae,ve,Pe){return Lt.iteratee!==nt?Lt.iteratee(ae,ve):ct(ae,ve,Pe)}function kt(ae,ve,Pe){ve=ft(ve,Pe);for(var Fe=He(ae),Be=Fe.length,Ye={},Rt=0;Rt<Be;Rt++){var Xt=Fe[Rt];Ye[Xt]=ve(ae[Xt],Xt,ae)}return Ye}function dt(){}function Yt(ae){return ae==null?dt:function(ve){return Ft(ae,ve)}}function Dr(ae,ve,Pe){var Fe=Array(Math.max(0,ae));ve=we(ve,Pe,1);for(var Be=0;Be<ae;Be++)Fe[Be]=ve(Be);return Fe}function Zr(ae,ve){return ve==null&&(ve=ae,ae=0),ae+Math.floor(Math.random()*(ve-ae+1))}var en=Date.now||function(){return new Date().getTime()};function vn(ae){var ve=function(Ye){return ae[Ye]},Pe="(?:"+He(ae).join("|")+")",Fe=RegExp(Pe),Be=RegExp(Pe,"g");return function(Ye){return Ye=Ye==null?"":""+Ye,Fe.test(Ye)?Ye.replace(Be,ve):Ye}}var Mt={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},Kr=vn(Mt),Ki=Nn(Mt),si=vn(Ki),va=Lt.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},Bi=/(.)^/,xa={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},no=/\\|'|\r|\n|\u2028|\u2029/g;function qa(ae){return"\\"+xa[ae]}var W=/^\s*(\w|\$)+\s*$/;function ue(ae,ve,Pe){!ve&&Pe&&(ve=Pe),ve=Ci({},ve,Lt.templateSettings);var Fe=RegExp([(ve.escape||Bi).source,(ve.interpolate||Bi).source,(ve.evaluate||Bi).source].join("|")+"|$","g"),Be=0,Ye="__p+='";ae.replace(Fe,function(Lr,ti,Ei,El,Qo){return Ye+=ae.slice(Be,Qo).replace(no,qa),Be=Qo+Lr.length,ti?Ye+=`'+
|
|
11
|
-
((__t=(`+ti+`))==null?'':_.escape(__t))+
|
|
12
|
-
'`:Ei?Ye+=`'+
|
|
13
|
-
((__t=(`+Ei+`))==null?'':__t)+
|
|
14
|
-
'`:El&&(Ye+=`';
|
|
15
|
-
`+El+`
|
|
16
|
-
__p+='`),Lr}),Ye+=`';
|
|
17
|
-
`;var Rt=ve.variable;if(Rt){if(!W.test(Rt))throw new Error("variable is not a bare identifier: "+Rt)}else Ye=`with(obj||{}){
|
|
18
|
-
`+Ye+`}
|
|
19
|
-
`,Rt="obj";Ye=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
|
20
|
-
`+Ye+`return __p;
|
|
21
|
-
`;var Xt;try{Xt=new Function(Rt,"_",Ye)}catch(Lr){throw Lr.source=Ye,Lr}var Br=function(Lr){return Xt.call(this,Lr,Lt)};return Br.source="function("+Rt+`){
|
|
22
|
-
`+Ye+"}",Br}function Te(ae,ve,Pe){ve=Ai(ve);var Fe=ve.length;if(!Fe)return te(Pe)?Pe.call(ae):Pe;for(var Be=0;Be<Fe;Be++){var Ye=ae==null?void 0:ae[ve[Be]];Ye===void 0&&(Ye=Pe,Be=Fe),ae=te(Ye)?Ye.call(ae):Ye}return ae}var qe=0;function ht(ae){var ve=++qe+"";return ae?ae+ve:ve}function rt(ae){var ve=Lt(ae);return ve._chain=!0,ve}function Ot(ae,ve,Pe,Fe,Be){if(!(Fe instanceof ve))return ae.apply(Pe,Be);var Ye=Vi(ae.prototype),Rt=ae.apply(Ye,Be);return _(Rt)?Rt:Ye}var Wt=O(function(ae,ve){var Pe=Wt.placeholder,Fe=function(){for(var Be=0,Ye=ve.length,Rt=Array(Ye),Xt=0;Xt<Ye;Xt++)Rt[Xt]=ve[Xt]===Pe?arguments[Be++]:ve[Xt];for(;Be<arguments.length;)Rt.push(arguments[Be++]);return Ot(ae,Fe,this,this,Rt)};return Fe});Wt.placeholder=Lt;var Jt=O(function(ae,ve,Pe){if(!te(ae))throw new TypeError("Bind must be called on a function");var Fe=O(function(Be){return Ot(ae,Fe,ve,this,Pe.concat(Be))});return Fe}),wr=Re(xe);function Ar(ae,ve,Pe,Fe){if(Fe=Fe||[],!ve&&ve!==0)ve=1/0;else if(ve<=0)return Fe.concat(ae);for(var Be=Fe.length,Ye=0,Rt=xe(ae);Ye<Rt;Ye++){var Xt=ae[Ye];if(wr(Xt)&&(q(Xt)||V(Xt)))if(ve>1)Ar(Xt,ve-1,Pe,Fe),Be=Fe.length;else for(var Br=0,Lr=Xt.length;Br<Lr;)Fe[Be++]=Xt[Br++];else Pe||(Fe[Be++]=Xt)}return Fe}var qn=O(function(ae,ve){ve=Ar(ve,!1,!1);var Pe=ve.length;if(Pe<1)throw new Error("bindAll must be passed function names");for(;Pe--;){var Fe=ve[Pe];ae[Fe]=Jt(ae[Fe],ae)}return ae});function ki(ae,ve){var Pe=function(Fe){var Be=Pe.cache,Ye=""+(ve?ve.apply(this,arguments):Fe);return H(Be,Ye)||(Be[Ye]=ae.apply(this,arguments)),Be[Ye]};return Pe.cache={},Pe}var Ni=O(function(ae,ve,Pe){return setTimeout(function(){return ae.apply(null,Pe)},ve)}),ms=Wt(Ni,Lt,1);function lu(ae,ve,Pe){var Fe,Be,Ye,Rt,Xt=0;Pe||(Pe={});var Br=function(){Xt=Pe.leading===!1?0:en(),Fe=null,Rt=ae.apply(Be,Ye),Fe||(Be=Ye=null)},Lr=function(){var ti=en();!Xt&&Pe.leading===!1&&(Xt=ti);var Ei=ve-(ti-Xt);return Be=this,Ye=arguments,Ei<=0||Ei>ve?(Fe&&(clearTimeout(Fe),Fe=null),Xt=ti,Rt=ae.apply(Be,Ye),Fe||(Be=Ye=null)):!Fe&&Pe.trailing!==!1&&(Fe=setTimeout(Br,Ei)),Rt};return Lr.cancel=function(){clearTimeout(Fe),Xt=0,Fe=Be=Ye=null},Lr}function ys(ae,ve,Pe){var Fe,Be,Ye,Rt,Xt,Br=function(){var ti=en()-Be;ve>ti?Fe=setTimeout(Br,ve-ti):(Fe=null,Pe||(Rt=ae.apply(Xt,Ye)),Fe||(Ye=Xt=null))},Lr=O(function(ti){return Xt=this,Ye=ti,Be=en(),Fe||(Fe=setTimeout(Br,ve),Pe&&(Rt=ae.apply(Xt,Ye))),Rt});return Lr.cancel=function(){clearTimeout(Fe),Fe=Ye=Xt=null},Lr}function io(ae,ve){return Wt(ve,ae)}function Si(ae){return function(){return!ae.apply(this,arguments)}}function Va(){var ae=arguments,ve=ae.length-1;return function(){for(var Pe=ve,Fe=ae[ve].apply(this,arguments);Pe--;)Fe=ae[Pe].call(this,Fe);return Fe}}function ao(ae,ve){return function(){if(--ae<1)return ve.apply(this,arguments)}}function gn(ae,ve){var Pe;return function(){return--ae>0&&(Pe=ve.apply(this,arguments)),ae<=1&&(ve=null),Pe}}var pa=Wt(gn,2);function Wo(ae,ve,Pe){ve=ft(ve,Pe);for(var Fe=He(ae),Be,Ye=0,Rt=Fe.length;Ye<Rt;Ye++)if(Be=Fe[Ye],ve(ae[Be],Be,ae))return Be}function Go(ae){return function(ve,Pe,Fe){Pe=ft(Pe,Fe);for(var Be=xe(ve),Ye=ae>0?0:Be-1;Ye>=0&&Ye<Be;Ye+=ae)if(Pe(ve[Ye],Ye,ve))return Ye;return-1}}var ra=Go(1),Us=Go(-1);function oo(ae,ve,Pe,Fe){Pe=ft(Pe,Fe,1);for(var Be=Pe(ve),Ye=0,Rt=xe(ae);Ye<Rt;){var Xt=Math.floor((Ye+Rt)/2);Pe(ae[Xt])<Be?Ye=Xt+1:Rt=Xt}return Ye}function _s(ae,ve,Pe){return function(Fe,Be,Ye){var Rt=0,Xt=xe(Fe);if(typeof Ye=="number")ae>0?Rt=Ye>=0?Ye:Math.max(Ye+Xt,Rt):Xt=Ye>=0?Math.min(Ye+1,Xt):Ye+Xt+1;else if(Pe&&Ye&&Xt)return Ye=Pe(Fe,Be),Fe[Ye]===Be?Ye:-1;if(Be!==Be)return Ye=ve(s.call(Fe,Rt,Xt),me),Ye>=0?Ye+Rt:-1;for(Ye=ae>0?Rt:Xt-1;Ye>=0&&Ye<Xt;Ye+=ae)if(Fe[Ye]===Be)return Ye;return-1}}var qs=_s(1,ra,oo),Nu=_s(-1,Us);function so(ae,ve,Pe){var Fe=wr(ae)?ra:Wo,Be=Fe(ae,ve,Pe);if(Be!==void 0&&Be!==-1)return ae[Be]}function So(ae,ve){return so(ae,At(ve))}function Hi(ae,ve,Pe){ve=we(ve,Pe);var Fe,Be;if(wr(ae))for(Fe=0,Be=ae.length;Fe<Be;Fe++)ve(ae[Fe],Fe,ae);else{var Ye=He(ae);for(Fe=0,Be=Ye.length;Fe<Be;Fe++)ve(ae[Ye[Fe]],Ye[Fe],ae)}return ae}function ga(ae,ve,Pe){ve=ft(ve,Pe);for(var Fe=!wr(ae)&&He(ae),Be=(Fe||ae).length,Ye=Array(Be),Rt=0;Rt<Be;Rt++){var Xt=Fe?Fe[Rt]:Rt;Ye[Rt]=ve(ae[Xt],Xt,ae)}return Ye}function Lu(ae){var ve=function(Pe,Fe,Be,Ye){var Rt=!wr(Pe)&&He(Pe),Xt=(Rt||Pe).length,Br=ae>0?0:Xt-1;for(Ye||(Be=Pe[Rt?Rt[Br]:Br],Br+=ae);Br>=0&&Br<Xt;Br+=ae){var Lr=Rt?Rt[Br]:Br;Be=Fe(Be,Pe[Lr],Lr,Pe)}return Be};return function(Pe,Fe,Be,Ye){var Rt=arguments.length>=3;return ve(Pe,we(Fe,Ye,4),Be,Rt)}}var Yo=Lu(1),Ko=Lu(-1);function ma(ae,ve,Pe){var Fe=[];return ve=ft(ve,Pe),Hi(ae,function(Be,Ye,Rt){ve(Be,Ye,Rt)&&Fe.push(Be)}),Fe}function Vs(ae,ve,Pe){return ma(ae,Si(ft(ve)),Pe)}function Mu(ae,ve,Pe){ve=ft(ve,Pe);for(var Fe=!wr(ae)&&He(ae),Be=(Fe||ae).length,Ye=0;Ye<Be;Ye++){var Rt=Fe?Fe[Ye]:Ye;if(!ve(ae[Rt],Rt,ae))return!1}return!0}function Li(ae,ve,Pe){ve=ft(ve,Pe);for(var Fe=!wr(ae)&&He(ae),Be=(Fe||ae).length,Ye=0;Ye<Be;Ye++){var Rt=Fe?Fe[Ye]:Ye;if(ve(ae[Rt],Rt,ae))return!0}return!1}function ya(ae,ve,Pe,Fe){return wr(ae)||(ae=ln(ae)),(typeof Pe!="number"||Fe)&&(Pe=0),qs(ae,ve,Pe)>=0}var Eo=O(function(ae,ve,Pe){var Fe,Be;return te(ve)?Be=ve:(ve=Ai(ve),Fe=ve.slice(0,-1),ve=ve[ve.length-1]),ga(ae,function(Ye){var Rt=Be;if(!Rt){if(Fe&&Fe.length&&(Ye=it(Ye,Fe)),Ye==null)return;Rt=Ye[ve]}return Rt==null?Rt:Rt.apply(Ye,Pe)})});function Xo(ae,ve){return ga(ae,pr(ve))}function wo(ae,ve){return ma(ae,At(ve))}function bo(ae,ve,Pe){var Fe=-1/0,Be=-1/0,Ye,Rt;if(ve==null||typeof ve=="number"&&typeof ae[0]!="object"&&ae!=null){ae=wr(ae)?ae:ln(ae);for(var Xt=0,Br=ae.length;Xt<Br;Xt++)Ye=ae[Xt],Ye!=null&&Ye>Fe&&(Fe=Ye)}else ve=ft(ve,Pe),Hi(ae,function(Lr,ti,Ei){Rt=ve(Lr,ti,Ei),(Rt>Be||Rt===-1/0&&Fe===-1/0)&&(Fe=Lr,Be=Rt)});return Fe}function E(ae,ve,Pe){var Fe=1/0,Be=1/0,Ye,Rt;if(ve==null||typeof ve=="number"&&typeof ae[0]!="object"&&ae!=null){ae=wr(ae)?ae:ln(ae);for(var Xt=0,Br=ae.length;Xt<Br;Xt++)Ye=ae[Xt],Ye!=null&&Ye<Fe&&(Fe=Ye)}else ve=ft(ve,Pe),Hi(ae,function(Lr,ti,Ei){Rt=ve(Lr,ti,Ei),(Rt<Be||Rt===1/0&&Fe===1/0)&&(Fe=Lr,Be=Rt)});return Fe}var C=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function M(ae){return ae?q(ae)?s.call(ae):Y(ae)?ae.match(C):wr(ae)?ga(ae,Ke):ln(ae):[]}function X(ae,ve,Pe){if(ve==null||Pe)return wr(ae)||(ae=ln(ae)),ae[Zr(ae.length-1)];var Fe=M(ae),Be=xe(Fe);ve=Math.max(Math.min(ve,Be),0);for(var Ye=Be-1,Rt=0;Rt<ve;Rt++){var Xt=Zr(Rt,Ye),Br=Fe[Rt];Fe[Rt]=Fe[Xt],Fe[Xt]=Br}return Fe.slice(0,ve)}function oe(ae){return X(ae,1/0)}function le(ae,ve,Pe){var Fe=0;return ve=ft(ve,Pe),Xo(ga(ae,function(Be,Ye,Rt){return{value:Be,index:Fe++,criteria:ve(Be,Ye,Rt)}}).sort(function(Be,Ye){var Rt=Be.criteria,Xt=Ye.criteria;if(Rt!==Xt){if(Rt>Xt||Rt===void 0)return 1;if(Rt<Xt||Xt===void 0)return-1}return Be.index-Ye.index}),"value")}function he(ae,ve){return function(Pe,Fe,Be){var Ye=ve?[[],[]]:{};return Fe=ft(Fe,Be),Hi(Pe,function(Rt,Xt){var Br=Fe(Rt,Xt,Pe);ae(Ye,Rt,Br)}),Ye}}var Ue=he(function(ae,ve,Pe){H(ae,Pe)?ae[Pe].push(ve):ae[Pe]=[ve]}),Ne=he(function(ae,ve,Pe){ae[Pe]=ve}),Ge=he(function(ae,ve,Pe){H(ae,Pe)?ae[Pe]++:ae[Pe]=1}),wt=he(function(ae,ve,Pe){ae[Pe?0:1].push(ve)},!0);function Ct(ae){return ae==null?0:wr(ae)?ae.length:He(ae).length}function st(ae,ve,Pe){return ve in Pe}var Vt=O(function(ae,ve){var Pe={},Fe=ve[0];if(ae==null)return Pe;te(Fe)?(ve.length>1&&(Fe=we(Fe,ve[1])),ve=at(ae)):(Fe=st,ve=Ar(ve,!1,!1),ae=Object(ae));for(var Be=0,Ye=ve.length;Be<Ye;Be++){var Rt=ve[Be],Xt=ae[Rt];Fe(Xt,Rt,ae)&&(Pe[Rt]=Xt)}return Pe}),Rr=O(function(ae,ve){var Pe=ve[0],Fe;return te(Pe)?(Pe=Si(Pe),ve.length>1&&(Fe=ve[1])):(ve=ga(Ar(ve,!1,!1),String),Pe=function(Be,Ye){return!ya(ve,Ye)}),Vt(ae,Pe,Fe)});function tn(ae,ve,Pe){return s.call(ae,0,Math.max(0,ae.length-(ve==null||Pe?1:ve)))}function qr(ae,ve,Pe){return ae==null||ae.length<1?ve==null||Pe?void 0:[]:ve==null||Pe?ae[0]:tn(ae,ae.length-ve)}function ei(ae,ve,Pe){return s.call(ae,ve==null||Pe?1:ve)}function hi(ae,ve,Pe){return ae==null||ae.length<1?ve==null||Pe?void 0:[]:ve==null||Pe?ae[ae.length-1]:ei(ae,Math.max(0,ae.length-ve))}function G(ae){return ma(ae,Boolean)}function se(ae,ve){return Ar(ae,ve,!1)}var ge=O(function(ae,ve){return ve=Ar(ve,!0,!0),ma(ae,function(Pe){return!ya(ve,Pe)})}),$e=O(function(ae,ve){return ge(ae,ve)});function Je(ae,ve,Pe,Fe){U(ve)||(Fe=Pe,Pe=ve,ve=!1),Pe!=null&&(Pe=ft(Pe,Fe));for(var Be=[],Ye=[],Rt=0,Xt=xe(ae);Rt<Xt;Rt++){var Br=ae[Rt],Lr=Pe?Pe(Br,Rt,ae):Br;ve&&!Pe?((!Rt||Ye!==Lr)&&Be.push(Br),Ye=Lr):Pe?ya(Ye,Lr)||(Ye.push(Lr),Be.push(Br)):ya(Be,Br)||Be.push(Br)}return Be}var et=O(function(ae){return Je(Ar(ae,!0,!0))});function It(ae){for(var ve=[],Pe=arguments.length,Fe=0,Be=xe(ae);Fe<Be;Fe++){var Ye=ae[Fe];if(!ya(ve,Ye)){var Rt;for(Rt=1;Rt<Pe&&ya(arguments[Rt],Ye);Rt++);Rt===Pe&&ve.push(Ye)}}return ve}function Gt(ae){for(var ve=ae&&bo(ae,xe).length||0,Pe=Array(ve),Fe=0;Fe<ve;Fe++)Pe[Fe]=Xo(ae,Fe);return Pe}var yr=O(Gt);function Vr(ae,ve){for(var Pe={},Fe=0,Be=xe(ae);Fe<Be;Fe++)ve?Pe[ae[Fe]]=ve[Fe]:Pe[ae[Fe][0]]=ae[Fe][1];return Pe}function xr(ae,ve,Pe){ve==null&&(ve=ae||0,ae=0),Pe||(Pe=ve<ae?-1:1);for(var Fe=Math.max(Math.ceil((ve-ae)/Pe),0),Be=Array(Fe),Ye=0;Ye<Fe;Ye++,ae+=Pe)Be[Ye]=ae;return Be}function Mn(ae,ve){if(ve==null||ve<1)return[];for(var Pe=[],Fe=0,Be=ae.length;Fe<Be;)Pe.push(s.call(ae,Fe,Fe+=ve));return Pe}function ui(ae,ve){return ae._chain?Lt(ve).chain():ve}function Vn(ae){return Hi(Rn(ae),function(ve){var Pe=Lt[ve]=ae[ve];Lt.prototype[ve]=function(){var Fe=[this._wrapped];return u.apply(Fe,arguments),ui(this,Pe.apply(Lt,Fe))}}),Lt}Hi(["pop","push","reverse","shift","sort","splice","unshift"],function(ae){var ve=i[ae];Lt.prototype[ae]=function(){var Pe=this._wrapped;return Pe!=null&&(ve.apply(Pe,arguments),(ae==="shift"||ae==="splice")&&Pe.length===0&&delete Pe[0]),ui(this,Pe)}}),Hi(["concat","join","slice"],function(ae){var ve=i[ae];Lt.prototype[ae]=function(){var Pe=this._wrapped;return Pe!=null&&(Pe=ve.apply(Pe,arguments)),ui(this,Pe)}});var _c={__proto__:null,VERSION:r,restArguments:O,isObject:_,isNull:P,isUndefined:N,isBoolean:U,isElement:$,isString:Y,isNumber:Q,isDate:K,isRegExp:ee,isError:ne,isSymbol:D,isArrayBuffer:I,isDataView:k,isArray:q,isFunction:te,isArguments:V,isFinite:Z,isNaN:me,isTypedArray:_e,isEmpty:_t,isMatch:jt,isEqual:yt,isMap:_r,isWeakMap:sr,isSet:mr,isWeakSet:Pr,keys:He,allKeys:at,values:ln,pairs:di,invert:Nn,functions:Rn,methods:Rn,extend:Jn,extendOwn:Zn,assign:Zn,defaults:Ci,create:Yi,clone:Ln,tap:oi,get:Ft,has:pt,mapObject:kt,identity:Ke,constant:fe,noop:dt,toPath:Di,property:pr,propertyOf:Yt,matcher:At,matches:At,times:Dr,random:Zr,now:en,escape:Kr,unescape:si,templateSettings:va,template:ue,result:Te,uniqueId:ht,chain:rt,iteratee:nt,partial:Wt,bind:Jt,bindAll:qn,memoize:ki,delay:Ni,defer:ms,throttle:lu,debounce:ys,wrap:io,negate:Si,compose:Va,after:ao,before:gn,once:pa,findKey:Wo,findIndex:ra,findLastIndex:Us,sortedIndex:oo,indexOf:qs,lastIndexOf:Nu,find:so,detect:so,findWhere:So,each:Hi,forEach:Hi,map:ga,collect:ga,reduce:Yo,foldl:Yo,inject:Yo,reduceRight:Ko,foldr:Ko,filter:ma,select:ma,reject:Vs,every:Mu,all:Mu,some:Li,any:Li,contains:ya,includes:ya,include:ya,invoke:Eo,pluck:Xo,where:wo,max:bo,min:E,shuffle:oe,sample:X,sortBy:le,groupBy:Ue,indexBy:Ne,countBy:Ge,partition:wt,toArray:M,size:Ct,pick:Vt,omit:Rr,first:qr,head:qr,take:qr,initial:tn,last:hi,rest:ei,tail:ei,drop:ei,compact:G,flatten:se,without:$e,uniq:Je,unique:Je,union:et,intersection:It,difference:ge,unzip:Gt,transpose:Gt,zip:yr,object:Vr,range:xr,chunk:Mn,mixin:Vn,default:Lt},uo=Vn(_c);return uo._=uo,uo}))})(Om)),Om.exports}var oR={},Im={exports:{}};/*!
|
|
23
|
-
* jQuery JavaScript Library v3.7.1
|
|
24
|
-
* https://jquery.com/
|
|
25
|
-
*
|
|
26
|
-
* Copyright OpenJS Foundation and other contributors
|
|
27
|
-
* Released under the MIT license
|
|
28
|
-
* https://jquery.org/license
|
|
29
|
-
*
|
|
30
|
-
* Date: 2023-08-28T13:37Z
|
|
31
|
-
*/var tSe=Im.exports,PW;function Xre(){return PW||(PW=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:tSe,function(t,r){var n=[],i=Object.getPrototypeOf,a=n.slice,o=n.flat?function(E){return n.flat.call(E)}:function(E){return n.concat.apply([],E)},u=n.push,s=n.indexOf,c={},d=c.toString,h=c.hasOwnProperty,v=h.toString,g=v.call(Object),m={},y=function(C){return typeof C=="function"&&typeof C.nodeType!="number"&&typeof C.item!="function"},S=function(C){return C!=null&&C===C.window},w=t.document,b={type:!0,src:!0,nonce:!0,noModule:!0};function A(E,C,M){M=M||w;var X,oe,le=M.createElement("script");if(le.text=E,C)for(X in b)oe=C[X]||C.getAttribute&&C.getAttribute(X),oe&&le.setAttribute(X,oe);M.head.appendChild(le).parentNode.removeChild(le)}function R(E){return E==null?E+"":typeof E=="object"||typeof E=="function"?c[d.call(E)]||"object":typeof E}var x="3.7.1",O=/HTML$/i,_=function(E,C){return new _.fn.init(E,C)};_.fn=_.prototype={jquery:x,constructor:_,length:0,toArray:function(){return a.call(this)},get:function(E){return E==null?a.call(this):E<0?this[E+this.length]:this[E]},pushStack:function(E){var C=_.merge(this.constructor(),E);return C.prevObject=this,C},each:function(E){return _.each(this,E)},map:function(E){return this.pushStack(_.map(this,function(C,M){return E.call(C,M,C)}))},slice:function(){return this.pushStack(a.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},even:function(){return this.pushStack(_.grep(this,function(E,C){return(C+1)%2}))},odd:function(){return this.pushStack(_.grep(this,function(E,C){return C%2}))},eq:function(E){var C=this.length,M=+E+(E<0?C:0);return this.pushStack(M>=0&&M<C?[this[M]]:[])},end:function(){return this.prevObject||this.constructor()},push:u,sort:n.sort,splice:n.splice},_.extend=_.fn.extend=function(){var E,C,M,X,oe,le,he=arguments[0]||{},Ue=1,Ne=arguments.length,Ge=!1;for(typeof he=="boolean"&&(Ge=he,he=arguments[Ue]||{},Ue++),typeof he!="object"&&!y(he)&&(he={}),Ue===Ne&&(he=this,Ue--);Ue<Ne;Ue++)if((E=arguments[Ue])!=null)for(C in E)X=E[C],!(C==="__proto__"||he===X)&&(Ge&&X&&(_.isPlainObject(X)||(oe=Array.isArray(X)))?(M=he[C],oe&&!Array.isArray(M)?le=[]:!oe&&!_.isPlainObject(M)?le={}:le=M,oe=!1,he[C]=_.extend(Ge,le,X)):X!==void 0&&(he[C]=X));return he},_.extend({expando:"jQuery"+(x+Math.random()).replace(/\D/g,""),isReady:!0,error:function(E){throw new Error(E)},noop:function(){},isPlainObject:function(E){var C,M;return!E||d.call(E)!=="[object Object]"?!1:(C=i(E),C?(M=h.call(C,"constructor")&&C.constructor,typeof M=="function"&&v.call(M)===g):!0)},isEmptyObject:function(E){var C;for(C in E)return!1;return!0},globalEval:function(E,C,M){A(E,{nonce:C&&C.nonce},M)},each:function(E,C){var M,X=0;if(P(E))for(M=E.length;X<M&&C.call(E[X],X,E[X])!==!1;X++);else for(X in E)if(C.call(E[X],X,E[X])===!1)break;return E},text:function(E){var C,M="",X=0,oe=E.nodeType;if(!oe)for(;C=E[X++];)M+=_.text(C);return oe===1||oe===11?E.textContent:oe===9?E.documentElement.textContent:oe===3||oe===4?E.nodeValue:M},makeArray:function(E,C){var M=C||[];return E!=null&&(P(Object(E))?_.merge(M,typeof E=="string"?[E]:E):u.call(M,E)),M},inArray:function(E,C,M){return C==null?-1:s.call(C,E,M)},isXMLDoc:function(E){var C=E&&E.namespaceURI,M=E&&(E.ownerDocument||E).documentElement;return!O.test(C||M&&M.nodeName||"HTML")},merge:function(E,C){for(var M=+C.length,X=0,oe=E.length;X<M;X++)E[oe++]=C[X];return E.length=oe,E},grep:function(E,C,M){for(var X,oe=[],le=0,he=E.length,Ue=!M;le<he;le++)X=!C(E[le],le),X!==Ue&&oe.push(E[le]);return oe},map:function(E,C,M){var X,oe,le=0,he=[];if(P(E))for(X=E.length;le<X;le++)oe=C(E[le],le,M),oe!=null&&he.push(oe);else for(le in E)oe=C(E[le],le,M),oe!=null&&he.push(oe);return o(he)},guid:1,support:m}),typeof Symbol=="function"&&(_.fn[Symbol.iterator]=n[Symbol.iterator]),_.each("Boolean Number String Function Array Date RegExp Object Error Symbol".split(" "),function(E,C){c["[object "+C+"]"]=C.toLowerCase()});function P(E){var C=!!E&&"length"in E&&E.length,M=R(E);return y(E)||S(E)?!1:M==="array"||C===0||typeof C=="number"&&C>0&&C-1 in E}function N(E,C){return E.nodeName&&E.nodeName.toLowerCase()===C.toLowerCase()}var U=n.pop,$=n.sort,B=n.splice,Y="[\\x20\\t\\r\\n\\f]",Q=new RegExp("^"+Y+"+|((?:^|[^\\\\])(?:\\\\.)*)"+Y+"+$","g");_.contains=function(E,C){var M=C&&C.parentNode;return E===M||!!(M&&M.nodeType===1&&(E.contains?E.contains(M):E.compareDocumentPosition&&E.compareDocumentPosition(M)&16))};var K=/([\0-\x1f\x7f]|^-?\d)|^-$|[^\x80-\uFFFF\w-]/g;function ee(E,C){return C?E==="\0"?"�":E.slice(0,-1)+"\\"+E.charCodeAt(E.length-1).toString(16)+" ":"\\"+E}_.escapeSelector=function(E){return(E+"").replace(K,ee)};var ne=w,D=u;(function(){var E,C,M,X,oe,le=D,he,Ue,Ne,Ge,wt,Ct=_.expando,st=0,Vt=0,Rr=Ye(),tn=Ye(),qr=Ye(),ei=Ye(),hi=function(Ae,We){return Ae===We&&(oe=!0),0},G="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",se="(?:\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\[^\\r\\n\\f]|[\\w-]|[^\0-\\x7f])+",ge="\\["+Y+"*("+se+")(?:"+Y+"*([*^$|!~]?=)"+Y+`*(?:'((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)"|(`+se+"))|)"+Y+"*\\]",$e=":("+se+`)(?:\\((('((?:\\\\.|[^\\\\'])*)'|"((?:\\\\.|[^\\\\"])*)")|((?:\\\\.|[^\\\\()[\\]]|`+ge+")*)|.*)\\)|)",Je=new RegExp(Y+"+","g"),et=new RegExp("^"+Y+"*,"+Y+"*"),It=new RegExp("^"+Y+"*([>+~]|"+Y+")"+Y+"*"),Gt=new RegExp(Y+"|>"),yr=new RegExp($e),Vr=new RegExp("^"+se+"$"),xr={ID:new RegExp("^#("+se+")"),CLASS:new RegExp("^\\.("+se+")"),TAG:new RegExp("^("+se+"|[*])"),ATTR:new RegExp("^"+ge),PSEUDO:new RegExp("^"+$e),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+Y+"*(even|odd|(([+-]|)(\\d*)n|)"+Y+"*(?:([+-]|)"+Y+"*(\\d+)|))"+Y+"*\\)|)","i"),bool:new RegExp("^(?:"+G+")$","i"),needsContext:new RegExp("^"+Y+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+Y+"*((?:-\\d)?\\d*)"+Y+"*\\)|)(?=[^-]|$)","i")},Mn=/^(?:input|select|textarea|button)$/i,ui=/^h\d$/i,Vn=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,_c=/[+~]/,uo=new RegExp("\\\\[\\da-fA-F]{1,6}"+Y+"?|\\\\([^\\r\\n\\f])","g"),ae=function(Ae,We){var lt="0x"+Ae.slice(1)-65536;return We||(lt<0?String.fromCharCode(lt+65536):String.fromCharCode(lt>>10|55296,lt&1023|56320))},ve=function(){Qo()},Pe=fu(function(Ae){return Ae.disabled===!0&&N(Ae,"fieldset")},{dir:"parentNode",next:"legend"});function Fe(){try{return he.activeElement}catch{}}try{le.apply(n=a.call(ne.childNodes),ne.childNodes),n[ne.childNodes.length].nodeType}catch{le={apply:function(We,lt){D.apply(We,a.call(lt))},call:function(We){D.apply(We,a.call(arguments,1))}}}function Be(Ae,We,lt,Et){var Dt,Zt,tr,lr,ar,sn,Mr,Hr=We&&We.ownerDocument,nn=We?We.nodeType:9;if(lt=lt||[],typeof Ae!="string"||!Ae||nn!==1&&nn!==9&&nn!==11)return lt;if(!Et&&(Qo(We),We=We||he,Ne)){if(nn!==11&&(ar=Vn.exec(Ae)))if(Dt=ar[1]){if(nn===9)if(tr=We.getElementById(Dt)){if(tr.id===Dt)return le.call(lt,tr),lt}else return lt;else if(Hr&&(tr=Hr.getElementById(Dt))&&Be.contains(We,tr)&&tr.id===Dt)return le.call(lt,tr),lt}else{if(ar[2])return le.apply(lt,We.getElementsByTagName(Ae)),lt;if((Dt=ar[3])&&We.getElementsByClassName)return le.apply(lt,We.getElementsByClassName(Dt)),lt}if(!ei[Ae+" "]&&(!Ge||!Ge.test(Ae))){if(Mr=Ae,Hr=We,nn===1&&(Gt.test(Ae)||It.test(Ae))){for(Hr=_c.test(Ae)&&El(We.parentNode)||We,(Hr!=We||!m.scope)&&((lr=We.getAttribute("id"))?lr=_.escapeSelector(lr):We.setAttribute("id",lr=Ct)),sn=wl(Ae),Zt=sn.length;Zt--;)sn[Zt]=(lr?"#"+lr:":scope")+" "+cu(sn[Zt]);Mr=sn.join(",")}try{return le.apply(lt,Hr.querySelectorAll(Mr)),lt}catch{ei(Ae,!0)}finally{lr===Ct&&We.removeAttribute("id")}}}return Nh(Ae.replace(Q,"$1"),We,lt,Et)}function Ye(){var Ae=[];function We(lt,Et){return Ae.push(lt+" ")>C.cacheLength&&delete We[Ae.shift()],We[lt+" "]=Et}return We}function Rt(Ae){return Ae[Ct]=!0,Ae}function Xt(Ae){var We=he.createElement("fieldset");try{return!!Ae(We)}catch{return!1}finally{We.parentNode&&We.parentNode.removeChild(We),We=null}}function Br(Ae){return function(We){return N(We,"input")&&We.type===Ae}}function Lr(Ae){return function(We){return(N(We,"input")||N(We,"button"))&&We.type===Ae}}function ti(Ae){return function(We){return"form"in We?We.parentNode&&We.disabled===!1?"label"in We?"label"in We.parentNode?We.parentNode.disabled===Ae:We.disabled===Ae:We.isDisabled===Ae||We.isDisabled!==!Ae&&Pe(We)===Ae:We.disabled===Ae:"label"in We?We.disabled===Ae:!1}}function Ei(Ae){return Rt(function(We){return We=+We,Rt(function(lt,Et){for(var Dt,Zt=Ae([],lt.length,We),tr=Zt.length;tr--;)lt[Dt=Zt[tr]]&&(lt[Dt]=!(Et[Dt]=lt[Dt]))})})}function El(Ae){return Ae&&typeof Ae.getElementsByTagName<"u"&&Ae}function Qo(Ae){var We,lt=Ae?Ae.ownerDocument||Ae:ne;return lt==he||lt.nodeType!==9||!lt.documentElement||(he=lt,Ue=he.documentElement,Ne=!_.isXMLDoc(he),wt=Ue.matches||Ue.webkitMatchesSelector||Ue.msMatchesSelector,Ue.msMatchesSelector&&ne!=he&&(We=he.defaultView)&&We.top!==We&&We.addEventListener("unload",ve),m.getById=Xt(function(Et){return Ue.appendChild(Et).id=_.expando,!he.getElementsByName||!he.getElementsByName(_.expando).length}),m.disconnectedMatch=Xt(function(Et){return wt.call(Et,"*")}),m.scope=Xt(function(){return he.querySelectorAll(":scope")}),m.cssHas=Xt(function(){try{return he.querySelector(":has(*,:jqfake)"),!1}catch{return!0}}),m.getById?(C.filter.ID=function(Et){var Dt=Et.replace(uo,ae);return function(Zt){return Zt.getAttribute("id")===Dt}},C.find.ID=function(Et,Dt){if(typeof Dt.getElementById<"u"&&Ne){var Zt=Dt.getElementById(Et);return Zt?[Zt]:[]}}):(C.filter.ID=function(Et){var Dt=Et.replace(uo,ae);return function(Zt){var tr=typeof Zt.getAttributeNode<"u"&&Zt.getAttributeNode("id");return tr&&tr.value===Dt}},C.find.ID=function(Et,Dt){if(typeof Dt.getElementById<"u"&&Ne){var Zt,tr,lr,ar=Dt.getElementById(Et);if(ar){if(Zt=ar.getAttributeNode("id"),Zt&&Zt.value===Et)return[ar];for(lr=Dt.getElementsByName(Et),tr=0;ar=lr[tr++];)if(Zt=ar.getAttributeNode("id"),Zt&&Zt.value===Et)return[ar]}return[]}}),C.find.TAG=function(Et,Dt){return typeof Dt.getElementsByTagName<"u"?Dt.getElementsByTagName(Et):Dt.querySelectorAll(Et)},C.find.CLASS=function(Et,Dt){if(typeof Dt.getElementsByClassName<"u"&&Ne)return Dt.getElementsByClassName(Et)},Ge=[],Xt(function(Et){var Dt;Ue.appendChild(Et).innerHTML="<a id='"+Ct+"' href='' disabled='disabled'></a><select id='"+Ct+"-\r\\' disabled='disabled'><option selected=''></option></select>",Et.querySelectorAll("[selected]").length||Ge.push("\\["+Y+"*(?:value|"+G+")"),Et.querySelectorAll("[id~="+Ct+"-]").length||Ge.push("~="),Et.querySelectorAll("a#"+Ct+"+*").length||Ge.push(".#.+[+~]"),Et.querySelectorAll(":checked").length||Ge.push(":checked"),Dt=he.createElement("input"),Dt.setAttribute("type","hidden"),Et.appendChild(Dt).setAttribute("name","D"),Ue.appendChild(Et).disabled=!0,Et.querySelectorAll(":disabled").length!==2&&Ge.push(":enabled",":disabled"),Dt=he.createElement("input"),Dt.setAttribute("name",""),Et.appendChild(Dt),Et.querySelectorAll("[name='']").length||Ge.push("\\["+Y+"*name"+Y+"*="+Y+`*(?:''|"")`)}),m.cssHas||Ge.push(":has"),Ge=Ge.length&&new RegExp(Ge.join("|")),hi=function(Et,Dt){if(Et===Dt)return oe=!0,0;var Zt=!Et.compareDocumentPosition-!Dt.compareDocumentPosition;return Zt||(Zt=(Et.ownerDocument||Et)==(Dt.ownerDocument||Dt)?Et.compareDocumentPosition(Dt):1,Zt&1||!m.sortDetached&&Dt.compareDocumentPosition(Et)===Zt?Et===he||Et.ownerDocument==ne&&Be.contains(ne,Et)?-1:Dt===he||Dt.ownerDocument==ne&&Be.contains(ne,Dt)?1:X?s.call(X,Et)-s.call(X,Dt):0:Zt&4?-1:1)}),he}Be.matches=function(Ae,We){return Be(Ae,null,null,We)},Be.matchesSelector=function(Ae,We){if(Qo(Ae),Ne&&!ei[We+" "]&&(!Ge||!Ge.test(We)))try{var lt=wt.call(Ae,We);if(lt||m.disconnectedMatch||Ae.document&&Ae.document.nodeType!==11)return lt}catch{ei(We,!0)}return Be(We,he,null,[Ae]).length>0},Be.contains=function(Ae,We){return(Ae.ownerDocument||Ae)!=he&&Qo(Ae),_.contains(Ae,We)},Be.attr=function(Ae,We){(Ae.ownerDocument||Ae)!=he&&Qo(Ae);var lt=C.attrHandle[We.toLowerCase()],Et=lt&&h.call(C.attrHandle,We.toLowerCase())?lt(Ae,We,!Ne):void 0;return Et!==void 0?Et:Ae.getAttribute(We)},Be.error=function(Ae){throw new Error("Syntax error, unrecognized expression: "+Ae)},_.uniqueSort=function(Ae){var We,lt=[],Et=0,Dt=0;if(oe=!m.sortStable,X=!m.sortStable&&a.call(Ae,0),$.call(Ae,hi),oe){for(;We=Ae[Dt++];)We===Ae[Dt]&&(Et=lt.push(Dt));for(;Et--;)B.call(Ae,lt[Et],1)}return X=null,Ae},_.fn.uniqueSort=function(){return this.pushStack(_.uniqueSort(a.apply(this)))},C=_.expr={cacheLength:50,createPseudo:Rt,match:xr,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(Ae){return Ae[1]=Ae[1].replace(uo,ae),Ae[3]=(Ae[3]||Ae[4]||Ae[5]||"").replace(uo,ae),Ae[2]==="~="&&(Ae[3]=" "+Ae[3]+" "),Ae.slice(0,4)},CHILD:function(Ae){return Ae[1]=Ae[1].toLowerCase(),Ae[1].slice(0,3)==="nth"?(Ae[3]||Be.error(Ae[0]),Ae[4]=+(Ae[4]?Ae[5]+(Ae[6]||1):2*(Ae[3]==="even"||Ae[3]==="odd")),Ae[5]=+(Ae[7]+Ae[8]||Ae[3]==="odd")):Ae[3]&&Be.error(Ae[0]),Ae},PSEUDO:function(Ae){var We,lt=!Ae[6]&&Ae[2];return xr.CHILD.test(Ae[0])?null:(Ae[3]?Ae[2]=Ae[4]||Ae[5]||"":lt&&yr.test(lt)&&(We=wl(lt,!0))&&(We=lt.indexOf(")",lt.length-We)-lt.length)&&(Ae[0]=Ae[0].slice(0,We),Ae[2]=lt.slice(0,We)),Ae.slice(0,3))}},filter:{TAG:function(Ae){var We=Ae.replace(uo,ae).toLowerCase();return Ae==="*"?function(){return!0}:function(lt){return N(lt,We)}},CLASS:function(Ae){var We=Rr[Ae+" "];return We||(We=new RegExp("(^|"+Y+")"+Ae+"("+Y+"|$)"))&&Rr(Ae,function(lt){return We.test(typeof lt.className=="string"&<.className||typeof lt.getAttribute<"u"&<.getAttribute("class")||"")})},ATTR:function(Ae,We,lt){return function(Et){var Dt=Be.attr(Et,Ae);return Dt==null?We==="!=":We?(Dt+="",We==="="?Dt===lt:We==="!="?Dt!==lt:We==="^="?lt&&Dt.indexOf(lt)===0:We==="*="?lt&&Dt.indexOf(lt)>-1:We==="$="?lt&&Dt.slice(-lt.length)===lt:We==="~="?(" "+Dt.replace(Je," ")+" ").indexOf(lt)>-1:We==="|="?Dt===lt||Dt.slice(0,lt.length+1)===lt+"-":!1):!0}},CHILD:function(Ae,We,lt,Et,Dt){var Zt=Ae.slice(0,3)!=="nth",tr=Ae.slice(-4)!=="last",lr=We==="of-type";return Et===1&&Dt===0?(function(ar){return!!ar.parentNode}):function(ar,sn,Mr){var Hr,nn,Cr,ri,Xi,na=Zt!==tr?"nextSibling":"previousSibling",_a=ar.parentNode,To=lr&&ar.nodeName.toLowerCase(),$u=!Mr&&!lr,ia=!1;if(_a){if(Zt){for(;na;){for(Cr=ar;Cr=Cr[na];)if(lr?N(Cr,To):Cr.nodeType===1)return!1;Xi=na=Ae==="only"&&!Xi&&"nextSibling"}return!0}if(Xi=[tr?_a.firstChild:_a.lastChild],tr&&$u){for(nn=_a[Ct]||(_a[Ct]={}),Hr=nn[Ae]||[],ri=Hr[0]===st&&Hr[1],ia=ri&&Hr[2],Cr=ri&&_a.childNodes[ri];Cr=++ri&&Cr&&Cr[na]||(ia=ri=0)||Xi.pop();)if(Cr.nodeType===1&&++ia&&Cr===ar){nn[Ae]=[st,ri,ia];break}}else if($u&&(nn=ar[Ct]||(ar[Ct]={}),Hr=nn[Ae]||[],ri=Hr[0]===st&&Hr[1],ia=ri),ia===!1)for(;(Cr=++ri&&Cr&&Cr[na]||(ia=ri=0)||Xi.pop())&&!((lr?N(Cr,To):Cr.nodeType===1)&&++ia&&($u&&(nn=Cr[Ct]||(Cr[Ct]={}),nn[Ae]=[st,ia]),Cr===ar)););return ia-=Dt,ia===Et||ia%Et===0&&ia/Et>=0}}},PSEUDO:function(Ae,We){var lt,Et=C.pseudos[Ae]||C.setFilters[Ae.toLowerCase()]||Be.error("unsupported pseudo: "+Ae);return Et[Ct]?Et(We):Et.length>1?(lt=[Ae,Ae,"",We],C.setFilters.hasOwnProperty(Ae.toLowerCase())?Rt(function(Dt,Zt){for(var tr,lr=Et(Dt,We),ar=lr.length;ar--;)tr=s.call(Dt,lr[ar]),Dt[tr]=!(Zt[tr]=lr[ar])}):function(Dt){return Et(Dt,0,lt)}):Et}},pseudos:{not:Rt(function(Ae){var We=[],lt=[],Et=Yf(Ae.replace(Q,"$1"));return Et[Ct]?Rt(function(Dt,Zt,tr,lr){for(var ar,sn=Et(Dt,null,lr,[]),Mr=Dt.length;Mr--;)(ar=sn[Mr])&&(Dt[Mr]=!(Zt[Mr]=ar))}):function(Dt,Zt,tr){return We[0]=Dt,Et(We,null,tr,lt),We[0]=null,!lt.pop()}}),has:Rt(function(Ae){return function(We){return Be(Ae,We).length>0}}),contains:Rt(function(Ae){return Ae=Ae.replace(uo,ae),function(We){return(We.textContent||_.text(We)).indexOf(Ae)>-1}}),lang:Rt(function(Ae){return Vr.test(Ae||"")||Be.error("unsupported lang: "+Ae),Ae=Ae.replace(uo,ae).toLowerCase(),function(We){var lt;do if(lt=Ne?We.lang:We.getAttribute("xml:lang")||We.getAttribute("lang"))return lt=lt.toLowerCase(),lt===Ae||lt.indexOf(Ae+"-")===0;while((We=We.parentNode)&&We.nodeType===1);return!1}}),target:function(Ae){var We=t.location&&t.location.hash;return We&&We.slice(1)===Ae.id},root:function(Ae){return Ae===Ue},focus:function(Ae){return Ae===Fe()&&he.hasFocus()&&!!(Ae.type||Ae.href||~Ae.tabIndex)},enabled:ti(!1),disabled:ti(!0),checked:function(Ae){return N(Ae,"input")&&!!Ae.checked||N(Ae,"option")&&!!Ae.selected},selected:function(Ae){return Ae.parentNode&&Ae.parentNode.selectedIndex,Ae.selected===!0},empty:function(Ae){for(Ae=Ae.firstChild;Ae;Ae=Ae.nextSibling)if(Ae.nodeType<6)return!1;return!0},parent:function(Ae){return!C.pseudos.empty(Ae)},header:function(Ae){return ui.test(Ae.nodeName)},input:function(Ae){return Mn.test(Ae.nodeName)},button:function(Ae){return N(Ae,"input")&&Ae.type==="button"||N(Ae,"button")},text:function(Ae){var We;return N(Ae,"input")&&Ae.type==="text"&&((We=Ae.getAttribute("type"))==null||We.toLowerCase()==="text")},first:Ei(function(){return[0]}),last:Ei(function(Ae,We){return[We-1]}),eq:Ei(function(Ae,We,lt){return[lt<0?lt+We:lt]}),even:Ei(function(Ae,We){for(var lt=0;lt<We;lt+=2)Ae.push(lt);return Ae}),odd:Ei(function(Ae,We){for(var lt=1;lt<We;lt+=2)Ae.push(lt);return Ae}),lt:Ei(function(Ae,We,lt){var Et;for(lt<0?Et=lt+We:lt>We?Et=We:Et=lt;--Et>=0;)Ae.push(Et);return Ae}),gt:Ei(function(Ae,We,lt){for(var Et=lt<0?lt+We:lt;++Et<We;)Ae.push(Et);return Ae})}},C.pseudos.nth=C.pseudos.eq;for(E in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})C.pseudos[E]=Br(E);for(E in{submit:!0,reset:!0})C.pseudos[E]=Lr(E);function Ph(){}Ph.prototype=C.filters=C.pseudos,C.setFilters=new Ph;function wl(Ae,We){var lt,Et,Dt,Zt,tr,lr,ar,sn=tn[Ae+" "];if(sn)return We?0:sn.slice(0);for(tr=Ae,lr=[],ar=C.preFilter;tr;){(!lt||(Et=et.exec(tr)))&&(Et&&(tr=tr.slice(Et[0].length)||tr),lr.push(Dt=[])),lt=!1,(Et=It.exec(tr))&&(lt=Et.shift(),Dt.push({value:lt,type:Et[0].replace(Q," ")}),tr=tr.slice(lt.length));for(Zt in C.filter)(Et=xr[Zt].exec(tr))&&(!ar[Zt]||(Et=ar[Zt](Et)))&&(lt=Et.shift(),Dt.push({value:lt,type:Zt,matches:Et}),tr=tr.slice(lt.length));if(!lt)break}return We?tr.length:tr?Be.error(Ae):tn(Ae,lr).slice(0)}function cu(Ae){for(var We=0,lt=Ae.length,Et="";We<lt;We++)Et+=Ae[We].value;return Et}function fu(Ae,We,lt){var Et=We.dir,Dt=We.next,Zt=Dt||Et,tr=lt&&Zt==="parentNode",lr=Vt++;return We.first?(function(ar,sn,Mr){for(;ar=ar[Et];)if(ar.nodeType===1||tr)return Ae(ar,sn,Mr);return!1}):(function(ar,sn,Mr){var Hr,nn,Cr=[st,lr];if(Mr){for(;ar=ar[Et];)if((ar.nodeType===1||tr)&&Ae(ar,sn,Mr))return!0}else for(;ar=ar[Et];)if(ar.nodeType===1||tr)if(nn=ar[Ct]||(ar[Ct]={}),Dt&&N(ar,Dt))ar=ar[Et]||ar;else{if((Hr=nn[Zt])&&Hr[0]===st&&Hr[1]===lr)return Cr[2]=Hr[2];if(nn[Zt]=Cr,Cr[2]=Ae(ar,sn,Mr))return!0}return!1})}function Dh(Ae){return Ae.length>1?function(We,lt,Et){for(var Dt=Ae.length;Dt--;)if(!Ae[Dt](We,lt,Et))return!1;return!0}:Ae[0]}function zf(Ae,We,lt){for(var Et=0,Dt=We.length;Et<Dt;Et++)Be(Ae,We[Et],lt);return lt}function Wf(Ae,We,lt,Et,Dt){for(var Zt,tr=[],lr=0,ar=Ae.length,sn=We!=null;lr<ar;lr++)(Zt=Ae[lr])&&(!lt||lt(Zt,Et,Dt))&&(tr.push(Zt),sn&&We.push(lr));return tr}function Gf(Ae,We,lt,Et,Dt,Zt){return Et&&!Et[Ct]&&(Et=Gf(Et)),Dt&&!Dt[Ct]&&(Dt=Gf(Dt,Zt)),Rt(function(tr,lr,ar,sn){var Mr,Hr,nn,Cr,ri=[],Xi=[],na=lr.length,_a=tr||zf(We||"*",ar.nodeType?[ar]:ar,[]),To=Ae&&(tr||!We)?Wf(_a,ri,Ae,ar,sn):_a;if(lt?(Cr=Dt||(tr?Ae:na||Et)?[]:lr,lt(To,Cr,ar,sn)):Cr=To,Et)for(Mr=Wf(Cr,Xi),Et(Mr,[],ar,sn),Hr=Mr.length;Hr--;)(nn=Mr[Hr])&&(Cr[Xi[Hr]]=!(To[Xi[Hr]]=nn));if(tr){if(Dt||Ae){if(Dt){for(Mr=[],Hr=Cr.length;Hr--;)(nn=Cr[Hr])&&Mr.push(To[Hr]=nn);Dt(null,Cr=[],Mr,sn)}for(Hr=Cr.length;Hr--;)(nn=Cr[Hr])&&(Mr=Dt?s.call(tr,nn):ri[Hr])>-1&&(tr[Mr]=!(lr[Mr]=nn))}}else Cr=Wf(Cr===lr?Cr.splice(na,Cr.length):Cr),Dt?Dt(null,lr,Cr,sn):le.apply(lr,Cr)})}function Sc(Ae){for(var We,lt,Et,Dt=Ae.length,Zt=C.relative[Ae[0].type],tr=Zt||C.relative[" "],lr=Zt?1:0,ar=fu(function(Hr){return Hr===We},tr,!0),sn=fu(function(Hr){return s.call(We,Hr)>-1},tr,!0),Mr=[function(Hr,nn,Cr){var ri=!Zt&&(Cr||nn!=M)||((We=nn).nodeType?ar(Hr,nn,Cr):sn(Hr,nn,Cr));return We=null,ri}];lr<Dt;lr++)if(lt=C.relative[Ae[lr].type])Mr=[fu(Dh(Mr),lt)];else{if(lt=C.filter[Ae[lr].type].apply(null,Ae[lr].matches),lt[Ct]){for(Et=++lr;Et<Dt&&!C.relative[Ae[Et].type];Et++);return Gf(lr>1&&Dh(Mr),lr>1&&cu(Ae.slice(0,lr-1).concat({value:Ae[lr-2].type===" "?"*":""})).replace(Q,"$1"),lt,lr<Et&&Sc(Ae.slice(lr,Et)),Et<Dt&&Sc(Ae=Ae.slice(Et)),Et<Dt&&cu(Ae))}Mr.push(lt)}return Dh(Mr)}function kh(Ae,We){var lt=We.length>0,Et=Ae.length>0,Dt=function(Zt,tr,lr,ar,sn){var Mr,Hr,nn,Cr=0,ri="0",Xi=Zt&&[],na=[],_a=M,To=Zt||Et&&C.find.TAG("*",sn),$u=st+=_a==null?1:Math.random()||.1,ia=To.length;for(sn&&(M=tr==he||tr||sn);ri!==ia&&(Mr=To[ri])!=null;ri++){if(Et&&Mr){for(Hr=0,!tr&&Mr.ownerDocument!=he&&(Qo(Mr),lr=!Ne);nn=Ae[Hr++];)if(nn(Mr,tr||he,lr)){le.call(ar,Mr);break}sn&&(st=$u)}lt&&((Mr=!nn&&Mr)&&Cr--,Zt&&Xi.push(Mr))}if(Cr+=ri,lt&&ri!==Cr){for(Hr=0;nn=We[Hr++];)nn(Xi,na,tr,lr);if(Zt){if(Cr>0)for(;ri--;)Xi[ri]||na[ri]||(na[ri]=U.call(ar));na=Wf(na)}le.apply(ar,na),sn&&!Zt&&na.length>0&&Cr+We.length>1&&_.uniqueSort(ar)}return sn&&(st=$u,M=_a),Xi};return lt?Rt(Dt):Dt}function Yf(Ae,We){var lt,Et=[],Dt=[],Zt=qr[Ae+" "];if(!Zt){for(We||(We=wl(Ae)),lt=We.length;lt--;)Zt=Sc(We[lt]),Zt[Ct]?Et.push(Zt):Dt.push(Zt);Zt=qr(Ae,kh(Dt,Et)),Zt.selector=Ae}return Zt}function Nh(Ae,We,lt,Et){var Dt,Zt,tr,lr,ar,sn=typeof Ae=="function"&&Ae,Mr=!Et&&wl(Ae=sn.selector||Ae);if(lt=lt||[],Mr.length===1){if(Zt=Mr[0]=Mr[0].slice(0),Zt.length>2&&(tr=Zt[0]).type==="ID"&&We.nodeType===9&&Ne&&C.relative[Zt[1].type]){if(We=(C.find.ID(tr.matches[0].replace(uo,ae),We)||[])[0],We)sn&&(We=We.parentNode);else return lt;Ae=Ae.slice(Zt.shift().value.length)}for(Dt=xr.needsContext.test(Ae)?0:Zt.length;Dt--&&(tr=Zt[Dt],!C.relative[lr=tr.type]);)if((ar=C.find[lr])&&(Et=ar(tr.matches[0].replace(uo,ae),_c.test(Zt[0].type)&&El(We.parentNode)||We))){if(Zt.splice(Dt,1),Ae=Et.length&&cu(Zt),!Ae)return le.apply(lt,Et),lt;break}}return(sn||Yf(Ae,Mr))(Et,We,!Ne,lt,!We||_c.test(Ae)&&El(We.parentNode)||We),lt}m.sortStable=Ct.split("").sort(hi).join("")===Ct,Qo(),m.sortDetached=Xt(function(Ae){return Ae.compareDocumentPosition(he.createElement("fieldset"))&1}),_.find=Be,_.expr[":"]=_.expr.pseudos,_.unique=_.uniqueSort,Be.compile=Yf,Be.select=Nh,Be.setDocument=Qo,Be.tokenize=wl,Be.escape=_.escapeSelector,Be.getText=_.text,Be.isXML=_.isXMLDoc,Be.selectors=_.expr,Be.support=_.support,Be.uniqueSort=_.uniqueSort})();var I=function(E,C,M){for(var X=[],oe=M!==void 0;(E=E[C])&&E.nodeType!==9;)if(E.nodeType===1){if(oe&&_(E).is(M))break;X.push(E)}return X},L=function(E,C){for(var M=[];E;E=E.nextSibling)E.nodeType===1&&E!==C&&M.push(E);return M},re=_.expr.match.needsContext,te=/^<([a-z][^\/\0>:\x20\t\r\n\f]*)[\x20\t\r\n\f]*\/?>(?:<\/\1>|)$/i;function ce(E,C,M){return y(C)?_.grep(E,function(X,oe){return!!C.call(X,oe,X)!==M}):C.nodeType?_.grep(E,function(X){return X===C!==M}):typeof C!="string"?_.grep(E,function(X){return s.call(C,X)>-1!==M}):_.filter(C,E,M)}_.filter=function(E,C,M){var X=C[0];return M&&(E=":not("+E+")"),C.length===1&&X.nodeType===1?_.find.matchesSelector(X,E)?[X]:[]:_.find.matches(E,_.grep(C,function(oe){return oe.nodeType===1}))},_.fn.extend({find:function(E){var C,M,X=this.length,oe=this;if(typeof E!="string")return this.pushStack(_(E).filter(function(){for(C=0;C<X;C++)if(_.contains(oe[C],this))return!0}));for(M=this.pushStack([]),C=0;C<X;C++)_.find(E,oe[C],M);return X>1?_.uniqueSort(M):M},filter:function(E){return this.pushStack(ce(this,E||[],!1))},not:function(E){return this.pushStack(ce(this,E||[],!0))},is:function(E){return!!ce(this,typeof E=="string"&&re.test(E)?_(E):E||[],!1).length}});var be,Ie=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]+))$/,je=_.fn.init=function(E,C,M){var X,oe;if(!E)return this;if(M=M||be,typeof E=="string")if(E[0]==="<"&&E[E.length-1]===">"&&E.length>=3?X=[null,E,null]:X=Ie.exec(E),X&&(X[1]||!C))if(X[1]){if(C=C instanceof _?C[0]:C,_.merge(this,_.parseHTML(X[1],C&&C.nodeType?C.ownerDocument||C:w,!0)),te.test(X[1])&&_.isPlainObject(C))for(X in C)y(this[X])?this[X](C[X]):this.attr(X,C[X]);return this}else return oe=w.getElementById(X[2]),oe&&(this[0]=oe,this.length=1),this;else return!C||C.jquery?(C||M).find(E):this.constructor(C).find(E);else{if(E.nodeType)return this[0]=E,this.length=1,this;if(y(E))return M.ready!==void 0?M.ready(E):E(_)}return _.makeArray(E,this)};je.prototype=_.fn,be=_(w);var z=/^(?:parents|prev(?:Until|All))/,k={children:!0,contents:!0,next:!0,prev:!0};_.fn.extend({has:function(E){var C=_(E,this),M=C.length;return this.filter(function(){for(var X=0;X<M;X++)if(_.contains(this,C[X]))return!0})},closest:function(E,C){var M,X=0,oe=this.length,le=[],he=typeof E!="string"&&_(E);if(!re.test(E)){for(;X<oe;X++)for(M=this[X];M&&M!==C;M=M.parentNode)if(M.nodeType<11&&(he?he.index(M)>-1:M.nodeType===1&&_.find.matchesSelector(M,E))){le.push(M);break}}return this.pushStack(le.length>1?_.uniqueSort(le):le)},index:function(E){return E?typeof E=="string"?s.call(_(E),this[0]):s.call(this,E.jquery?E[0]:E):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(E,C){return this.pushStack(_.uniqueSort(_.merge(this.get(),_(E,C))))},addBack:function(E){return this.add(E==null?this.prevObject:this.prevObject.filter(E))}});function q(E,C){for(;(E=E[C])&&E.nodeType!==1;);return E}_.each({parent:function(E){var C=E.parentNode;return C&&C.nodeType!==11?C:null},parents:function(E){return I(E,"parentNode")},parentsUntil:function(E,C,M){return I(E,"parentNode",M)},next:function(E){return q(E,"nextSibling")},prev:function(E){return q(E,"previousSibling")},nextAll:function(E){return I(E,"nextSibling")},prevAll:function(E){return I(E,"previousSibling")},nextUntil:function(E,C,M){return I(E,"nextSibling",M)},prevUntil:function(E,C,M){return I(E,"previousSibling",M)},siblings:function(E){return L((E.parentNode||{}).firstChild,E)},children:function(E){return L(E.firstChild)},contents:function(E){return E.contentDocument!=null&&i(E.contentDocument)?E.contentDocument:(N(E,"template")&&(E=E.content||E),_.merge([],E.childNodes))}},function(E,C){_.fn[E]=function(M,X){var oe=_.map(this,C,M);return E.slice(-5)!=="Until"&&(X=M),X&&typeof X=="string"&&(oe=_.filter(X,oe)),this.length>1&&(k[E]||_.uniqueSort(oe),z.test(E)&&oe.reverse()),this.pushStack(oe)}});var H=/[^\x20\t\r\n\f]+/g;function ie(E){var C={};return _.each(E.match(H)||[],function(M,X){C[X]=!0}),C}_.Callbacks=function(E){E=typeof E=="string"?ie(E):_.extend({},E);var C,M,X,oe,le=[],he=[],Ue=-1,Ne=function(){for(oe=oe||E.once,X=C=!0;he.length;Ue=-1)for(M=he.shift();++Ue<le.length;)le[Ue].apply(M[0],M[1])===!1&&E.stopOnFalse&&(Ue=le.length,M=!1);E.memory||(M=!1),C=!1,oe&&(M?le=[]:le="")},Ge={add:function(){return le&&(M&&!C&&(Ue=le.length-1,he.push(M)),(function wt(Ct){_.each(Ct,function(st,Vt){y(Vt)?(!E.unique||!Ge.has(Vt))&&le.push(Vt):Vt&&Vt.length&&R(Vt)!=="string"&&wt(Vt)})})(arguments),M&&!C&&Ne()),this},remove:function(){return _.each(arguments,function(wt,Ct){for(var st;(st=_.inArray(Ct,le,st))>-1;)le.splice(st,1),st<=Ue&&Ue--}),this},has:function(wt){return wt?_.inArray(wt,le)>-1:le.length>0},empty:function(){return le&&(le=[]),this},disable:function(){return oe=he=[],le=M="",this},disabled:function(){return!le},lock:function(){return oe=he=[],!M&&!C&&(le=M=""),this},locked:function(){return!!oe},fireWith:function(wt,Ct){return oe||(Ct=Ct||[],Ct=[wt,Ct.slice?Ct.slice():Ct],he.push(Ct),C||Ne()),this},fire:function(){return Ge.fireWith(this,arguments),this},fired:function(){return!!X}};return Ge};function V(E){return E}function Z(E){throw E}function me(E,C,M,X){var oe;try{E&&y(oe=E.promise)?oe.call(E).done(C).fail(M):E&&y(oe=E.then)?oe.call(E,C,M):C.apply(void 0,[E].slice(X))}catch(le){M.apply(void 0,[le])}}_.extend({Deferred:function(E){var C=[["notify","progress",_.Callbacks("memory"),_.Callbacks("memory"),2],["resolve","done",_.Callbacks("once memory"),_.Callbacks("once memory"),0,"resolved"],["reject","fail",_.Callbacks("once memory"),_.Callbacks("once memory"),1,"rejected"]],M="pending",X={state:function(){return M},always:function(){return oe.done(arguments).fail(arguments),this},catch:function(le){return X.then(null,le)},pipe:function(){var le=arguments;return _.Deferred(function(he){_.each(C,function(Ue,Ne){var Ge=y(le[Ne[4]])&&le[Ne[4]];oe[Ne[1]](function(){var wt=Ge&&Ge.apply(this,arguments);wt&&y(wt.promise)?wt.promise().progress(he.notify).done(he.resolve).fail(he.reject):he[Ne[0]+"With"](this,Ge?[wt]:arguments)})}),le=null}).promise()},then:function(le,he,Ue){var Ne=0;function Ge(wt,Ct,st,Vt){return function(){var Rr=this,tn=arguments,qr=function(){var hi,G;if(!(wt<Ne)){if(hi=st.apply(Rr,tn),hi===Ct.promise())throw new TypeError("Thenable self-resolution");G=hi&&(typeof hi=="object"||typeof hi=="function")&&hi.then,y(G)?Vt?G.call(hi,Ge(Ne,Ct,V,Vt),Ge(Ne,Ct,Z,Vt)):(Ne++,G.call(hi,Ge(Ne,Ct,V,Vt),Ge(Ne,Ct,Z,Vt),Ge(Ne,Ct,V,Ct.notifyWith))):(st!==V&&(Rr=void 0,tn=[hi]),(Vt||Ct.resolveWith)(Rr,tn))}},ei=Vt?qr:function(){try{qr()}catch(hi){_.Deferred.exceptionHook&&_.Deferred.exceptionHook(hi,ei.error),wt+1>=Ne&&(st!==Z&&(Rr=void 0,tn=[hi]),Ct.rejectWith(Rr,tn))}};wt?ei():(_.Deferred.getErrorHook?ei.error=_.Deferred.getErrorHook():_.Deferred.getStackHook&&(ei.error=_.Deferred.getStackHook()),t.setTimeout(ei))}}return _.Deferred(function(wt){C[0][3].add(Ge(0,wt,y(Ue)?Ue:V,wt.notifyWith)),C[1][3].add(Ge(0,wt,y(le)?le:V)),C[2][3].add(Ge(0,wt,y(he)?he:Z))}).promise()},promise:function(le){return le!=null?_.extend(le,X):X}},oe={};return _.each(C,function(le,he){var Ue=he[2],Ne=he[5];X[he[1]]=Ue.add,Ne&&Ue.add(function(){M=Ne},C[3-le][2].disable,C[3-le][3].disable,C[0][2].lock,C[0][3].lock),Ue.add(he[3].fire),oe[he[0]]=function(){return oe[he[0]+"With"](this===oe?void 0:this,arguments),this},oe[he[0]+"With"]=Ue.fireWith}),X.promise(oe),E&&E.call(oe,oe),oe},when:function(E){var C=arguments.length,M=C,X=Array(M),oe=a.call(arguments),le=_.Deferred(),he=function(Ue){return function(Ne){X[Ue]=this,oe[Ue]=arguments.length>1?a.call(arguments):Ne,--C||le.resolveWith(X,oe)}};if(C<=1&&(me(E,le.done(he(M)).resolve,le.reject,!C),le.state()==="pending"||y(oe[M]&&oe[M].then)))return le.then();for(;M--;)me(oe[M],he(M),le.reject);return le.promise()}});var fe=/^(Eval|Internal|Range|Reference|Syntax|Type|URI)Error$/;_.Deferred.exceptionHook=function(E,C){t.console&&t.console.warn&&E&&fe.test(E.name)&&t.console.warn("jQuery.Deferred exception: "+E.message,E.stack,C)},_.readyException=function(E){t.setTimeout(function(){throw E})};var Re=_.Deferred();_.fn.ready=function(E){return Re.then(E).catch(function(C){_.readyException(C)}),this},_.extend({isReady:!1,readyWait:1,ready:function(E){(E===!0?--_.readyWait:_.isReady)||(_.isReady=!0,!(E!==!0&&--_.readyWait>0)&&Re.resolveWith(w,[_]))}}),_.ready.then=Re.then;function Se(){w.removeEventListener("DOMContentLoaded",Se),t.removeEventListener("load",Se),_.ready()}w.readyState==="complete"||w.readyState!=="loading"&&!w.documentElement.doScroll?t.setTimeout(_.ready):(w.addEventListener("DOMContentLoaded",Se),t.addEventListener("load",Se));var Oe=function(E,C,M,X,oe,le,he){var Ue=0,Ne=E.length,Ge=M==null;if(R(M)==="object"){oe=!0;for(Ue in M)Oe(E,C,Ue,M[Ue],!0,le,he)}else if(X!==void 0&&(oe=!0,y(X)||(he=!0),Ge&&(he?(C.call(E,X),C=null):(Ge=C,C=function(wt,Ct,st){return Ge.call(_(wt),st)})),C))for(;Ue<Ne;Ue++)C(E[Ue],M,he?X:X.call(E[Ue],Ue,C(E[Ue],M)));return oe?E:Ge?C.call(E):Ne?C(E[0],M):le},Me=/^-ms-/,de=/-([a-z])/g;function Ee(E,C){return C.toUpperCase()}function _e(E){return E.replace(Me,"ms-").replace(de,Ee)}var xe=function(E){return E.nodeType===1||E.nodeType===9||!+E.nodeType};function ke(){this.expando=_.expando+ke.uid++}ke.uid=1,ke.prototype={cache:function(E){var C=E[this.expando];return C||(C={},xe(E)&&(E.nodeType?E[this.expando]=C:Object.defineProperty(E,this.expando,{value:C,configurable:!0}))),C},set:function(E,C,M){var X,oe=this.cache(E);if(typeof C=="string")oe[_e(C)]=M;else for(X in C)oe[_e(X)]=C[X];return oe},get:function(E,C){return C===void 0?this.cache(E):E[this.expando]&&E[this.expando][_e(C)]},access:function(E,C,M){return C===void 0||C&&typeof C=="string"&&M===void 0?this.get(E,C):(this.set(E,C,M),M!==void 0?M:C)},remove:function(E,C){var M,X=E[this.expando];if(X!==void 0){if(C!==void 0)for(Array.isArray(C)?C=C.map(_e):(C=_e(C),C=C in X?[C]:C.match(H)||[]),M=C.length;M--;)delete X[C[M]];(C===void 0||_.isEmptyObject(X))&&(E.nodeType?E[this.expando]=void 0:delete E[this.expando])}},hasData:function(E){var C=E[this.expando];return C!==void 0&&!_.isEmptyObject(C)}};var Le=new ke,He=new ke,_t=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,jt=/[A-Z]/g;function Lt(E){return E==="true"?!0:E==="false"?!1:E==="null"?null:E===+E+""?+E:_t.test(E)?JSON.parse(E):E}function Qe(E,C,M){var X;if(M===void 0&&E.nodeType===1)if(X="data-"+C.replace(jt,"-$&").toLowerCase(),M=E.getAttribute(X),typeof M=="string"){try{M=Lt(M)}catch{}He.set(E,C,M)}else M=void 0;return M}_.extend({hasData:function(E){return He.hasData(E)||Le.hasData(E)},data:function(E,C,M){return He.access(E,C,M)},removeData:function(E,C){He.remove(E,C)},_data:function(E,C,M){return Le.access(E,C,M)},_removeData:function(E,C){Le.remove(E,C)}}),_.fn.extend({data:function(E,C){var M,X,oe,le=this[0],he=le&&le.attributes;if(E===void 0){if(this.length&&(oe=He.get(le),le.nodeType===1&&!Le.get(le,"hasDataAttrs"))){for(M=he.length;M--;)he[M]&&(X=he[M].name,X.indexOf("data-")===0&&(X=_e(X.slice(5)),Qe(le,X,oe[X])));Le.set(le,"hasDataAttrs",!0)}return oe}return typeof E=="object"?this.each(function(){He.set(this,E)}):Oe(this,function(Ue){var Ne;if(le&&Ue===void 0)return Ne=He.get(le,E),Ne!==void 0||(Ne=Qe(le,E),Ne!==void 0)?Ne:void 0;this.each(function(){He.set(this,E,Ue)})},null,C,arguments.length>1,null,!0)},removeData:function(E){return this.each(function(){He.remove(this,E)})}}),_.extend({queue:function(E,C,M){var X;if(E)return C=(C||"fx")+"queue",X=Le.get(E,C),M&&(!X||Array.isArray(M)?X=Le.access(E,C,_.makeArray(M)):X.push(M)),X||[]},dequeue:function(E,C){C=C||"fx";var M=_.queue(E,C),X=M.length,oe=M.shift(),le=_._queueHooks(E,C),he=function(){_.dequeue(E,C)};oe==="inprogress"&&(oe=M.shift(),X--),oe&&(C==="fx"&&M.unshift("inprogress"),delete le.stop,oe.call(E,he,le)),!X&&le&&le.empty.fire()},_queueHooks:function(E,C){var M=C+"queueHooks";return Le.get(E,M)||Le.access(E,M,{empty:_.Callbacks("once memory").add(function(){Le.remove(E,[C+"queue",M])})})}}),_.fn.extend({queue:function(E,C){var M=2;return typeof E!="string"&&(C=E,E="fx",M--),arguments.length<M?_.queue(this[0],E):C===void 0?this:this.each(function(){var X=_.queue(this,E,C);_._queueHooks(this,E),E==="fx"&&X[0]!=="inprogress"&&_.dequeue(this,E)})},dequeue:function(E){return this.each(function(){_.dequeue(this,E)})},clearQueue:function(E){return this.queue(E||"fx",[])},promise:function(E,C){var M,X=1,oe=_.Deferred(),le=this,he=this.length,Ue=function(){--X||oe.resolveWith(le,[le])};for(typeof E!="string"&&(C=E,E=void 0),E=E||"fx";he--;)M=Le.get(le[he],E+"queueHooks"),M&&M.empty&&(X++,M.empty.add(Ue));return Ue(),oe.promise(C)}});var bt=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,mt=new RegExp("^(?:([+-])=|)("+bt+")([a-z%]*)$","i"),St=["Top","Right","Bottom","Left"],yt=w.documentElement,at=function(E){return _.contains(E.ownerDocument,E)},$t={composed:!0};yt.getRootNode&&(at=function(E){return _.contains(E.ownerDocument,E)||E.getRootNode($t)===E.ownerDocument});var xt=function(E,C){return E=C||E,E.style.display==="none"||E.style.display===""&&at(E)&&_.css(E,"display")==="none"};function Ce(E,C,M,X){var oe,le,he=20,Ue=X?function(){return X.cur()}:function(){return _.css(E,C,"")},Ne=Ue(),Ge=M&&M[3]||(_.cssNumber[C]?"":"px"),wt=E.nodeType&&(_.cssNumber[C]||Ge!=="px"&&+Ne)&&mt.exec(_.css(E,C));if(wt&&wt[3]!==Ge){for(Ne=Ne/2,Ge=Ge||wt[3],wt=+Ne||1;he--;)_.style(E,C,wt+Ge),(1-le)*(1-(le=Ue()/Ne||.5))<=0&&(he=0),wt=wt/le;wt=wt*2,_.style(E,C,wt+Ge),M=M||[]}return M&&(wt=+wt||+Ne||0,oe=M[1]?wt+(M[1]+1)*M[2]:+M[2],X&&(X.unit=Ge,X.start=wt,X.end=oe)),oe}var Ze={};function ut(E){var C,M=E.ownerDocument,X=E.nodeName,oe=Ze[X];return oe||(C=M.body.appendChild(M.createElement(X)),oe=_.css(C,"display"),C.parentNode.removeChild(C),oe==="none"&&(oe="block"),Ze[X]=oe,oe)}function Tt(E,C){for(var M,X,oe=[],le=0,he=E.length;le<he;le++)X=E[le],X.style&&(M=X.style.display,C?(M==="none"&&(oe[le]=Le.get(X,"display")||null,oe[le]||(X.style.display="")),X.style.display===""&&xt(X)&&(oe[le]=ut(X))):M!=="none"&&(oe[le]="none",Le.set(X,"display",M)));for(le=0;le<he;le++)oe[le]!=null&&(E[le].style.display=oe[le]);return E}_.fn.extend({show:function(){return Tt(this,!0)},hide:function(){return Tt(this)},toggle:function(E){return typeof E=="boolean"?E?this.show():this.hide():this.each(function(){xt(this)?_(this).show():_(this).hide()})}});var Pt=/^(?:checkbox|radio)$/i,rr=/<([a-z][^\/\0>\x20\t\r\n\f]*)/i,_r=/^$|^module$|\/(?:java|ecma)script/i;(function(){var E=w.createDocumentFragment(),C=E.appendChild(w.createElement("div")),M=w.createElement("input");M.setAttribute("type","radio"),M.setAttribute("checked","checked"),M.setAttribute("name","t"),C.appendChild(M),m.checkClone=C.cloneNode(!0).cloneNode(!0).lastChild.checked,C.innerHTML="<textarea>x</textarea>",m.noCloneChecked=!!C.cloneNode(!0).lastChild.defaultValue,C.innerHTML="<option></option>",m.option=!!C.lastChild})();var sr={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,"",""]};sr.tbody=sr.tfoot=sr.colgroup=sr.caption=sr.thead,sr.th=sr.td,m.option||(sr.optgroup=sr.option=[1,"<select multiple='multiple'>","</select>"]);function mr(E,C){var M;return typeof E.getElementsByTagName<"u"?M=E.getElementsByTagName(C||"*"):typeof E.querySelectorAll<"u"?M=E.querySelectorAll(C||"*"):M=[],C===void 0||C&&N(E,C)?_.merge([E],M):M}function Pr(E,C){for(var M=0,X=E.length;M<X;M++)Le.set(E[M],"globalEval",!C||Le.get(C[M],"globalEval"))}var ln=/<|&#?\w+;/;function di(E,C,M,X,oe){for(var le,he,Ue,Ne,Ge,wt,Ct=C.createDocumentFragment(),st=[],Vt=0,Rr=E.length;Vt<Rr;Vt++)if(le=E[Vt],le||le===0)if(R(le)==="object")_.merge(st,le.nodeType?[le]:le);else if(!ln.test(le))st.push(C.createTextNode(le));else{for(he=he||Ct.appendChild(C.createElement("div")),Ue=(rr.exec(le)||["",""])[1].toLowerCase(),Ne=sr[Ue]||sr._default,he.innerHTML=Ne[1]+_.htmlPrefilter(le)+Ne[2],wt=Ne[0];wt--;)he=he.lastChild;_.merge(st,he.childNodes),he=Ct.firstChild,he.textContent=""}for(Ct.textContent="",Vt=0;le=st[Vt++];){if(X&&_.inArray(le,X)>-1){oe&&oe.push(le);continue}if(Ge=at(le),he=mr(Ct.appendChild(le),"script"),Ge&&Pr(he),M)for(wt=0;le=he[wt++];)_r.test(le.type||"")&&M.push(le)}return Ct}var Nn=/^([^.]*)(?:\.(.+)|)/;function Rn(){return!0}function En(){return!1}function Jn(E,C,M,X,oe,le){var he,Ue;if(typeof C=="object"){typeof M!="string"&&(X=X||M,M=void 0);for(Ue in C)Jn(E,Ue,M,X,C[Ue],le);return E}if(X==null&&oe==null?(oe=M,X=M=void 0):oe==null&&(typeof M=="string"?(oe=X,X=void 0):(oe=X,X=M,M=void 0)),oe===!1)oe=En;else if(!oe)return E;return le===1&&(he=oe,oe=function(Ne){return _().off(Ne),he.apply(this,arguments)},oe.guid=he.guid||(he.guid=_.guid++)),E.each(function(){_.event.add(this,C,oe,X,M)})}_.event={global:{},add:function(E,C,M,X,oe){var le,he,Ue,Ne,Ge,wt,Ct,st,Vt,Rr,tn,qr=Le.get(E);if(xe(E))for(M.handler&&(le=M,M=le.handler,oe=le.selector),oe&&_.find.matchesSelector(yt,oe),M.guid||(M.guid=_.guid++),(Ne=qr.events)||(Ne=qr.events=Object.create(null)),(he=qr.handle)||(he=qr.handle=function(ei){return typeof _<"u"&&_.event.triggered!==ei.type?_.event.dispatch.apply(E,arguments):void 0}),C=(C||"").match(H)||[""],Ge=C.length;Ge--;)Ue=Nn.exec(C[Ge])||[],Vt=tn=Ue[1],Rr=(Ue[2]||"").split(".").sort(),Vt&&(Ct=_.event.special[Vt]||{},Vt=(oe?Ct.delegateType:Ct.bindType)||Vt,Ct=_.event.special[Vt]||{},wt=_.extend({type:Vt,origType:tn,data:X,handler:M,guid:M.guid,selector:oe,needsContext:oe&&_.expr.match.needsContext.test(oe),namespace:Rr.join(".")},le),(st=Ne[Vt])||(st=Ne[Vt]=[],st.delegateCount=0,(!Ct.setup||Ct.setup.call(E,X,Rr,he)===!1)&&E.addEventListener&&E.addEventListener(Vt,he)),Ct.add&&(Ct.add.call(E,wt),wt.handler.guid||(wt.handler.guid=M.guid)),oe?st.splice(st.delegateCount++,0,wt):st.push(wt),_.event.global[Vt]=!0)},remove:function(E,C,M,X,oe){var le,he,Ue,Ne,Ge,wt,Ct,st,Vt,Rr,tn,qr=Le.hasData(E)&&Le.get(E);if(!(!qr||!(Ne=qr.events))){for(C=(C||"").match(H)||[""],Ge=C.length;Ge--;){if(Ue=Nn.exec(C[Ge])||[],Vt=tn=Ue[1],Rr=(Ue[2]||"").split(".").sort(),!Vt){for(Vt in Ne)_.event.remove(E,Vt+C[Ge],M,X,!0);continue}for(Ct=_.event.special[Vt]||{},Vt=(X?Ct.delegateType:Ct.bindType)||Vt,st=Ne[Vt]||[],Ue=Ue[2]&&new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"),he=le=st.length;le--;)wt=st[le],(oe||tn===wt.origType)&&(!M||M.guid===wt.guid)&&(!Ue||Ue.test(wt.namespace))&&(!X||X===wt.selector||X==="**"&&wt.selector)&&(st.splice(le,1),wt.selector&&st.delegateCount--,Ct.remove&&Ct.remove.call(E,wt));he&&!st.length&&((!Ct.teardown||Ct.teardown.call(E,Rr,qr.handle)===!1)&&_.removeEvent(E,Vt,qr.handle),delete Ne[Vt])}_.isEmptyObject(Ne)&&Le.remove(E,"handle events")}},dispatch:function(E){var C,M,X,oe,le,he,Ue=new Array(arguments.length),Ne=_.event.fix(E),Ge=(Le.get(this,"events")||Object.create(null))[Ne.type]||[],wt=_.event.special[Ne.type]||{};for(Ue[0]=Ne,C=1;C<arguments.length;C++)Ue[C]=arguments[C];if(Ne.delegateTarget=this,!(wt.preDispatch&&wt.preDispatch.call(this,Ne)===!1)){for(he=_.event.handlers.call(this,Ne,Ge),C=0;(oe=he[C++])&&!Ne.isPropagationStopped();)for(Ne.currentTarget=oe.elem,M=0;(le=oe.handlers[M++])&&!Ne.isImmediatePropagationStopped();)(!Ne.rnamespace||le.namespace===!1||Ne.rnamespace.test(le.namespace))&&(Ne.handleObj=le,Ne.data=le.data,X=((_.event.special[le.origType]||{}).handle||le.handler).apply(oe.elem,Ue),X!==void 0&&(Ne.result=X)===!1&&(Ne.preventDefault(),Ne.stopPropagation()));return wt.postDispatch&&wt.postDispatch.call(this,Ne),Ne.result}},handlers:function(E,C){var M,X,oe,le,he,Ue=[],Ne=C.delegateCount,Ge=E.target;if(Ne&&Ge.nodeType&&!(E.type==="click"&&E.button>=1)){for(;Ge!==this;Ge=Ge.parentNode||this)if(Ge.nodeType===1&&!(E.type==="click"&&Ge.disabled===!0)){for(le=[],he={},M=0;M<Ne;M++)X=C[M],oe=X.selector+" ",he[oe]===void 0&&(he[oe]=X.needsContext?_(oe,this).index(Ge)>-1:_.find(oe,this,null,[Ge]).length),he[oe]&&le.push(X);le.length&&Ue.push({elem:Ge,handlers:le})}}return Ge=this,Ne<C.length&&Ue.push({elem:Ge,handlers:C.slice(Ne)}),Ue},addProp:function(E,C){Object.defineProperty(_.Event.prototype,E,{enumerable:!0,configurable:!0,get:y(C)?function(){if(this.originalEvent)return C(this.originalEvent)}:function(){if(this.originalEvent)return this.originalEvent[E]},set:function(M){Object.defineProperty(this,E,{enumerable:!0,configurable:!0,writable:!0,value:M})}})},fix:function(E){return E[_.expando]?E:new _.Event(E)},special:{load:{noBubble:!0},click:{setup:function(E){var C=this||E;return Pt.test(C.type)&&C.click&&N(C,"input")&&Zn(C,"click",!0),!1},trigger:function(E){var C=this||E;return Pt.test(C.type)&&C.click&&N(C,"input")&&Zn(C,"click"),!0},_default:function(E){var C=E.target;return Pt.test(C.type)&&C.click&&N(C,"input")&&Le.get(C,"click")||N(C,"a")}},beforeunload:{postDispatch:function(E){E.result!==void 0&&E.originalEvent&&(E.originalEvent.returnValue=E.result)}}}};function Zn(E,C,M){if(!M){Le.get(E,C)===void 0&&_.event.add(E,C,Rn);return}Le.set(E,C,!1),_.event.add(E,C,{namespace:!1,handler:function(X){var oe,le=Le.get(this,C);if(X.isTrigger&1&&this[C]){if(le)(_.event.special[C]||{}).delegateType&&X.stopPropagation();else if(le=a.call(arguments),Le.set(this,C,le),this[C](),oe=Le.get(this,C),Le.set(this,C,!1),le!==oe)return X.stopImmediatePropagation(),X.preventDefault(),oe}else le&&(Le.set(this,C,_.event.trigger(le[0],le.slice(1),this)),X.stopPropagation(),X.isImmediatePropagationStopped=Rn)}})}_.removeEvent=function(E,C,M){E.removeEventListener&&E.removeEventListener(C,M)},_.Event=function(E,C){if(!(this instanceof _.Event))return new _.Event(E,C);E&&E.type?(this.originalEvent=E,this.type=E.type,this.isDefaultPrevented=E.defaultPrevented||E.defaultPrevented===void 0&&E.returnValue===!1?Rn:En,this.target=E.target&&E.target.nodeType===3?E.target.parentNode:E.target,this.currentTarget=E.currentTarget,this.relatedTarget=E.relatedTarget):this.type=E,C&&_.extend(this,C),this.timeStamp=E&&E.timeStamp||Date.now(),this[_.expando]=!0},_.Event.prototype={constructor:_.Event,isDefaultPrevented:En,isPropagationStopped:En,isImmediatePropagationStopped:En,isSimulated:!1,preventDefault:function(){var E=this.originalEvent;this.isDefaultPrevented=Rn,E&&!this.isSimulated&&E.preventDefault()},stopPropagation:function(){var E=this.originalEvent;this.isPropagationStopped=Rn,E&&!this.isSimulated&&E.stopPropagation()},stopImmediatePropagation:function(){var E=this.originalEvent;this.isImmediatePropagationStopped=Rn,E&&!this.isSimulated&&E.stopImmediatePropagation(),this.stopPropagation()}},_.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},_.event.addProp),_.each({focus:"focusin",blur:"focusout"},function(E,C){function M(X){if(w.documentMode){var oe=Le.get(this,"handle"),le=_.event.fix(X);le.type=X.type==="focusin"?"focus":"blur",le.isSimulated=!0,oe(X),le.target===le.currentTarget&&oe(le)}else _.event.simulate(C,X.target,_.event.fix(X))}_.event.special[E]={setup:function(){var X;if(Zn(this,E,!0),w.documentMode)X=Le.get(this,C),X||this.addEventListener(C,M),Le.set(this,C,(X||0)+1);else return!1},trigger:function(){return Zn(this,E),!0},teardown:function(){var X;if(w.documentMode)X=Le.get(this,C)-1,X?Le.set(this,C,X):(this.removeEventListener(C,M),Le.remove(this,C));else return!1},_default:function(X){return Le.get(X.target,E)},delegateType:C},_.event.special[C]={setup:function(){var X=this.ownerDocument||this.document||this,oe=w.documentMode?this:X,le=Le.get(oe,C);le||(w.documentMode?this.addEventListener(C,M):X.addEventListener(E,M,!0)),Le.set(oe,C,(le||0)+1)},teardown:function(){var X=this.ownerDocument||this.document||this,oe=w.documentMode?this:X,le=Le.get(oe,C)-1;le?Le.set(oe,C,le):(w.documentMode?this.removeEventListener(C,M):X.removeEventListener(E,M,!0),Le.remove(oe,C))}}}),_.each({mouseenter:"mouseover",mouseleave:"mouseout",pointerenter:"pointerover",pointerleave:"pointerout"},function(E,C){_.event.special[E]={delegateType:C,bindType:C,handle:function(M){var X,oe=this,le=M.relatedTarget,he=M.handleObj;return(!le||le!==oe&&!_.contains(oe,le))&&(M.type=he.origType,X=he.handler.apply(this,arguments),M.type=C),X}}}),_.fn.extend({on:function(E,C,M,X){return Jn(this,E,C,M,X)},one:function(E,C,M,X){return Jn(this,E,C,M,X,1)},off:function(E,C,M){var X,oe;if(E&&E.preventDefault&&E.handleObj)return X=E.handleObj,_(E.delegateTarget).off(X.namespace?X.origType+"."+X.namespace:X.origType,X.selector,X.handler),this;if(typeof E=="object"){for(oe in E)this.off(oe,C,E[oe]);return this}return(C===!1||typeof C=="function")&&(M=C,C=void 0),M===!1&&(M=En),this.each(function(){_.event.remove(this,E,M,C)})}});var Ci=/<script|<style|<link/i,_i=/checked\s*(?:[^=]|=\s*.checked.)/i,Vi=/^\s*<!\[CDATA\[|\]\]>\s*$/g;function Yi(E,C){return N(E,"table")&&N(C.nodeType!==11?C:C.firstChild,"tr")&&_(E).children("tbody")[0]||E}function Ln(E){return E.type=(E.getAttribute("type")!==null)+"/"+E.type,E}function oi(E){return(E.type||"").slice(0,5)==="true/"?E.type=E.type.slice(5):E.removeAttribute("type"),E}function Di(E,C){var M,X,oe,le,he,Ue,Ne;if(C.nodeType===1){if(Le.hasData(E)&&(le=Le.get(E),Ne=le.events,Ne)){Le.remove(C,"handle events");for(oe in Ne)for(M=0,X=Ne[oe].length;M<X;M++)_.event.add(C,oe,Ne[oe][M])}He.hasData(E)&&(he=He.access(E),Ue=_.extend({},he),He.set(C,Ue))}}function Ai(E,C){var M=C.nodeName.toLowerCase();M==="input"&&Pt.test(E.type)?C.checked=E.checked:(M==="input"||M==="textarea")&&(C.defaultValue=E.defaultValue)}function it(E,C,M,X){C=o(C);var oe,le,he,Ue,Ne,Ge,wt=0,Ct=E.length,st=Ct-1,Vt=C[0],Rr=y(Vt);if(Rr||Ct>1&&typeof Vt=="string"&&!m.checkClone&&_i.test(Vt))return E.each(function(tn){var qr=E.eq(tn);Rr&&(C[0]=Vt.call(this,tn,qr.html())),it(qr,C,M,X)});if(Ct&&(oe=di(C,E[0].ownerDocument,!1,E,X),le=oe.firstChild,oe.childNodes.length===1&&(oe=le),le||X)){for(he=_.map(mr(oe,"script"),Ln),Ue=he.length;wt<Ct;wt++)Ne=oe,wt!==st&&(Ne=_.clone(Ne,!0,!0),Ue&&_.merge(he,mr(Ne,"script"))),M.call(E[wt],Ne,wt);if(Ue)for(Ge=he[he.length-1].ownerDocument,_.map(he,oi),wt=0;wt<Ue;wt++)Ne=he[wt],_r.test(Ne.type||"")&&!Le.access(Ne,"globalEval")&&_.contains(Ge,Ne)&&(Ne.src&&(Ne.type||"").toLowerCase()!=="module"?_._evalUrl&&!Ne.noModule&&_._evalUrl(Ne.src,{nonce:Ne.nonce||Ne.getAttribute("nonce")},Ge):A(Ne.textContent.replace(Vi,""),Ne,Ge))}return E}function Ft(E,C,M){for(var X,oe=C?_.filter(C,E):E,le=0;(X=oe[le])!=null;le++)!M&&X.nodeType===1&&_.cleanData(mr(X)),X.parentNode&&(M&&at(X)&&Pr(mr(X,"script")),X.parentNode.removeChild(X));return E}_.extend({htmlPrefilter:function(E){return E},clone:function(E,C,M){var X,oe,le,he,Ue=E.cloneNode(!0),Ne=at(E);if(!m.noCloneChecked&&(E.nodeType===1||E.nodeType===11)&&!_.isXMLDoc(E))for(he=mr(Ue),le=mr(E),X=0,oe=le.length;X<oe;X++)Ai(le[X],he[X]);if(C)if(M)for(le=le||mr(E),he=he||mr(Ue),X=0,oe=le.length;X<oe;X++)Di(le[X],he[X]);else Di(E,Ue);return he=mr(Ue,"script"),he.length>0&&Pr(he,!Ne&&mr(E,"script")),Ue},cleanData:function(E){for(var C,M,X,oe=_.event.special,le=0;(M=E[le])!==void 0;le++)if(xe(M)){if(C=M[Le.expando]){if(C.events)for(X in C.events)oe[X]?_.event.remove(M,X):_.removeEvent(M,X,C.handle);M[Le.expando]=void 0}M[He.expando]&&(M[He.expando]=void 0)}}}),_.fn.extend({detach:function(E){return Ft(this,E,!0)},remove:function(E){return Ft(this,E)},text:function(E){return Oe(this,function(C){return C===void 0?_.text(this):this.empty().each(function(){(this.nodeType===1||this.nodeType===11||this.nodeType===9)&&(this.textContent=C)})},null,E,arguments.length)},append:function(){return it(this,arguments,function(E){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var C=Yi(this,E);C.appendChild(E)}})},prepend:function(){return it(this,arguments,function(E){if(this.nodeType===1||this.nodeType===11||this.nodeType===9){var C=Yi(this,E);C.insertBefore(E,C.firstChild)}})},before:function(){return it(this,arguments,function(E){this.parentNode&&this.parentNode.insertBefore(E,this)})},after:function(){return it(this,arguments,function(E){this.parentNode&&this.parentNode.insertBefore(E,this.nextSibling)})},empty:function(){for(var E,C=0;(E=this[C])!=null;C++)E.nodeType===1&&(_.cleanData(mr(E,!1)),E.textContent="");return this},clone:function(E,C){return E=E??!1,C=C??E,this.map(function(){return _.clone(this,E,C)})},html:function(E){return Oe(this,function(C){var M=this[0]||{},X=0,oe=this.length;if(C===void 0&&M.nodeType===1)return M.innerHTML;if(typeof C=="string"&&!Ci.test(C)&&!sr[(rr.exec(C)||["",""])[1].toLowerCase()]){C=_.htmlPrefilter(C);try{for(;X<oe;X++)M=this[X]||{},M.nodeType===1&&(_.cleanData(mr(M,!1)),M.innerHTML=C);M=0}catch{}}M&&this.empty().append(C)},null,E,arguments.length)},replaceWith:function(){var E=[];return it(this,arguments,function(C){var M=this.parentNode;_.inArray(this,E)<0&&(_.cleanData(mr(this)),M&&M.replaceChild(C,this))},E)}}),_.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(E,C){_.fn[E]=function(M){for(var X,oe=[],le=_(M),he=le.length-1,Ue=0;Ue<=he;Ue++)X=Ue===he?this:this.clone(!0),_(le[Ue])[C](X),u.apply(oe,X.get());return this.pushStack(oe)}});var pt=new RegExp("^("+bt+")(?!px)[a-z%]+$","i"),Ke=/^--/,At=function(E){var C=E.ownerDocument.defaultView;return(!C||!C.opener)&&(C=t),C.getComputedStyle(E)},pr=function(E,C,M){var X,oe,le={};for(oe in C)le[oe]=E.style[oe],E.style[oe]=C[oe];X=M.call(E);for(oe in C)E.style[oe]=le[oe];return X},we=new RegExp(St.join("|"),"i");(function(){function E(){if(Ge){Ne.style.cssText="position:absolute;left:-11111px;width:60px;margin-top:1px;padding:0;border:0",Ge.style.cssText="position:relative;display:block;box-sizing:border-box;overflow:scroll;margin:auto;border:1px;padding:1px;width:60%;top:1%",yt.appendChild(Ne).appendChild(Ge);var wt=t.getComputedStyle(Ge);M=wt.top!=="1%",Ue=C(wt.marginLeft)===12,Ge.style.right="60%",le=C(wt.right)===36,X=C(wt.width)===36,Ge.style.position="absolute",oe=C(Ge.offsetWidth/3)===12,yt.removeChild(Ne),Ge=null}}function C(wt){return Math.round(parseFloat(wt))}var M,X,oe,le,he,Ue,Ne=w.createElement("div"),Ge=w.createElement("div");Ge.style&&(Ge.style.backgroundClip="content-box",Ge.cloneNode(!0).style.backgroundClip="",m.clearCloneStyle=Ge.style.backgroundClip==="content-box",_.extend(m,{boxSizingReliable:function(){return E(),X},pixelBoxStyles:function(){return E(),le},pixelPosition:function(){return E(),M},reliableMarginLeft:function(){return E(),Ue},scrollboxSize:function(){return E(),oe},reliableTrDimensions:function(){var wt,Ct,st,Vt;return he==null&&(wt=w.createElement("table"),Ct=w.createElement("tr"),st=w.createElement("div"),wt.style.cssText="position:absolute;left:-11111px;border-collapse:separate",Ct.style.cssText="box-sizing:content-box;border:1px solid",Ct.style.height="1px",st.style.height="9px",st.style.display="block",yt.appendChild(wt).appendChild(Ct).appendChild(st),Vt=t.getComputedStyle(Ct),he=parseInt(Vt.height,10)+parseInt(Vt.borderTopWidth,10)+parseInt(Vt.borderBottomWidth,10)===Ct.offsetHeight,yt.removeChild(wt)),he}}))})();function ct(E,C,M){var X,oe,le,he,Ue=Ke.test(C),Ne=E.style;return M=M||At(E),M&&(he=M.getPropertyValue(C)||M[C],Ue&&he&&(he=he.replace(Q,"$1")||void 0),he===""&&!at(E)&&(he=_.style(E,C)),!m.pixelBoxStyles()&&pt.test(he)&&we.test(C)&&(X=Ne.width,oe=Ne.minWidth,le=Ne.maxWidth,Ne.minWidth=Ne.maxWidth=Ne.width=he,he=M.width,Ne.width=X,Ne.minWidth=oe,Ne.maxWidth=le)),he!==void 0?he+"":he}function nt(E,C){return{get:function(){if(E()){delete this.get;return}return(this.get=C).apply(this,arguments)}}}var ft=["Webkit","Moz","ms"],kt=w.createElement("div").style,dt={};function Yt(E){for(var C=E[0].toUpperCase()+E.slice(1),M=ft.length;M--;)if(E=ft[M]+C,E in kt)return E}function Dr(E){var C=_.cssProps[E]||dt[E];return C||(E in kt?E:dt[E]=Yt(E)||E)}var Zr=/^(none|table(?!-c[ea]).+)/,en={position:"absolute",visibility:"hidden",display:"block"},vn={letterSpacing:"0",fontWeight:"400"};function Mt(E,C,M){var X=mt.exec(C);return X?Math.max(0,X[2]-(M||0))+(X[3]||"px"):C}function Kr(E,C,M,X,oe,le){var he=C==="width"?1:0,Ue=0,Ne=0,Ge=0;if(M===(X?"border":"content"))return 0;for(;he<4;he+=2)M==="margin"&&(Ge+=_.css(E,M+St[he],!0,oe)),X?(M==="content"&&(Ne-=_.css(E,"padding"+St[he],!0,oe)),M!=="margin"&&(Ne-=_.css(E,"border"+St[he]+"Width",!0,oe))):(Ne+=_.css(E,"padding"+St[he],!0,oe),M!=="padding"?Ne+=_.css(E,"border"+St[he]+"Width",!0,oe):Ue+=_.css(E,"border"+St[he]+"Width",!0,oe));return!X&&le>=0&&(Ne+=Math.max(0,Math.ceil(E["offset"+C[0].toUpperCase()+C.slice(1)]-le-Ne-Ue-.5))||0),Ne+Ge}function Ki(E,C,M){var X=At(E),oe=!m.boxSizingReliable()||M,le=oe&&_.css(E,"boxSizing",!1,X)==="border-box",he=le,Ue=ct(E,C,X),Ne="offset"+C[0].toUpperCase()+C.slice(1);if(pt.test(Ue)){if(!M)return Ue;Ue="auto"}return(!m.boxSizingReliable()&&le||!m.reliableTrDimensions()&&N(E,"tr")||Ue==="auto"||!parseFloat(Ue)&&_.css(E,"display",!1,X)==="inline")&&E.getClientRects().length&&(le=_.css(E,"boxSizing",!1,X)==="border-box",he=Ne in E,he&&(Ue=E[Ne])),Ue=parseFloat(Ue)||0,Ue+Kr(E,C,M||(le?"border":"content"),he,X,Ue)+"px"}_.extend({cssHooks:{opacity:{get:function(E,C){if(C){var M=ct(E,"opacity");return M===""?"1":M}}}},cssNumber:{animationIterationCount:!0,aspectRatio:!0,borderImageSlice:!0,columnCount:!0,flexGrow:!0,flexShrink:!0,fontWeight:!0,gridArea:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnStart:!0,gridRow:!0,gridRowEnd:!0,gridRowStart:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,scale:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeMiterlimit:!0,strokeOpacity:!0},cssProps:{},style:function(E,C,M,X){if(!(!E||E.nodeType===3||E.nodeType===8||!E.style)){var oe,le,he,Ue=_e(C),Ne=Ke.test(C),Ge=E.style;if(Ne||(C=Dr(Ue)),he=_.cssHooks[C]||_.cssHooks[Ue],M!==void 0){if(le=typeof M,le==="string"&&(oe=mt.exec(M))&&oe[1]&&(M=Ce(E,C,oe),le="number"),M==null||M!==M)return;le==="number"&&!Ne&&(M+=oe&&oe[3]||(_.cssNumber[Ue]?"":"px")),!m.clearCloneStyle&&M===""&&C.indexOf("background")===0&&(Ge[C]="inherit"),(!he||!("set"in he)||(M=he.set(E,M,X))!==void 0)&&(Ne?Ge.setProperty(C,M):Ge[C]=M)}else return he&&"get"in he&&(oe=he.get(E,!1,X))!==void 0?oe:Ge[C]}},css:function(E,C,M,X){var oe,le,he,Ue=_e(C),Ne=Ke.test(C);return Ne||(C=Dr(Ue)),he=_.cssHooks[C]||_.cssHooks[Ue],he&&"get"in he&&(oe=he.get(E,!0,M)),oe===void 0&&(oe=ct(E,C,X)),oe==="normal"&&C in vn&&(oe=vn[C]),M===""||M?(le=parseFloat(oe),M===!0||isFinite(le)?le||0:oe):oe}}),_.each(["height","width"],function(E,C){_.cssHooks[C]={get:function(M,X,oe){if(X)return Zr.test(_.css(M,"display"))&&(!M.getClientRects().length||!M.getBoundingClientRect().width)?pr(M,en,function(){return Ki(M,C,oe)}):Ki(M,C,oe)},set:function(M,X,oe){var le,he=At(M),Ue=!m.scrollboxSize()&&he.position==="absolute",Ne=Ue||oe,Ge=Ne&&_.css(M,"boxSizing",!1,he)==="border-box",wt=oe?Kr(M,C,oe,Ge,he):0;return Ge&&Ue&&(wt-=Math.ceil(M["offset"+C[0].toUpperCase()+C.slice(1)]-parseFloat(he[C])-Kr(M,C,"border",!1,he)-.5)),wt&&(le=mt.exec(X))&&(le[3]||"px")!=="px"&&(M.style[C]=X,X=_.css(M,C)),Mt(M,X,wt)}}}),_.cssHooks.marginLeft=nt(m.reliableMarginLeft,function(E,C){if(C)return(parseFloat(ct(E,"marginLeft"))||E.getBoundingClientRect().left-pr(E,{marginLeft:0},function(){return E.getBoundingClientRect().left}))+"px"}),_.each({margin:"",padding:"",border:"Width"},function(E,C){_.cssHooks[E+C]={expand:function(M){for(var X=0,oe={},le=typeof M=="string"?M.split(" "):[M];X<4;X++)oe[E+St[X]+C]=le[X]||le[X-2]||le[0];return oe}},E!=="margin"&&(_.cssHooks[E+C].set=Mt)}),_.fn.extend({css:function(E,C){return Oe(this,function(M,X,oe){var le,he,Ue={},Ne=0;if(Array.isArray(X)){for(le=At(M),he=X.length;Ne<he;Ne++)Ue[X[Ne]]=_.css(M,X[Ne],!1,le);return Ue}return oe!==void 0?_.style(M,X,oe):_.css(M,X)},E,C,arguments.length>1)}});function si(E,C,M,X,oe){return new si.prototype.init(E,C,M,X,oe)}_.Tween=si,si.prototype={constructor:si,init:function(E,C,M,X,oe,le){this.elem=E,this.prop=M,this.easing=oe||_.easing._default,this.options=C,this.start=this.now=this.cur(),this.end=X,this.unit=le||(_.cssNumber[M]?"":"px")},cur:function(){var E=si.propHooks[this.prop];return E&&E.get?E.get(this):si.propHooks._default.get(this)},run:function(E){var C,M=si.propHooks[this.prop];return this.options.duration?this.pos=C=_.easing[this.easing](E,this.options.duration*E,0,1,this.options.duration):this.pos=C=E,this.now=(this.end-this.start)*C+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),M&&M.set?M.set(this):si.propHooks._default.set(this),this}},si.prototype.init.prototype=si.prototype,si.propHooks={_default:{get:function(E){var C;return E.elem.nodeType!==1||E.elem[E.prop]!=null&&E.elem.style[E.prop]==null?E.elem[E.prop]:(C=_.css(E.elem,E.prop,""),!C||C==="auto"?0:C)},set:function(E){_.fx.step[E.prop]?_.fx.step[E.prop](E):E.elem.nodeType===1&&(_.cssHooks[E.prop]||E.elem.style[Dr(E.prop)]!=null)?_.style(E.elem,E.prop,E.now+E.unit):E.elem[E.prop]=E.now}}},si.propHooks.scrollTop=si.propHooks.scrollLeft={set:function(E){E.elem.nodeType&&E.elem.parentNode&&(E.elem[E.prop]=E.now)}},_.easing={linear:function(E){return E},swing:function(E){return .5-Math.cos(E*Math.PI)/2},_default:"swing"},_.fx=si.prototype.init,_.fx.step={};var va,Bi,xa=/^(?:toggle|show|hide)$/,no=/queueHooks$/;function qa(){Bi&&(w.hidden===!1&&t.requestAnimationFrame?t.requestAnimationFrame(qa):t.setTimeout(qa,_.fx.interval),_.fx.tick())}function W(){return t.setTimeout(function(){va=void 0}),va=Date.now()}function ue(E,C){var M,X=0,oe={height:E};for(C=C?1:0;X<4;X+=2-C)M=St[X],oe["margin"+M]=oe["padding"+M]=E;return C&&(oe.opacity=oe.width=E),oe}function Te(E,C,M){for(var X,oe=(rt.tweeners[C]||[]).concat(rt.tweeners["*"]),le=0,he=oe.length;le<he;le++)if(X=oe[le].call(M,C,E))return X}function qe(E,C,M){var X,oe,le,he,Ue,Ne,Ge,wt,Ct="width"in C||"height"in C,st=this,Vt={},Rr=E.style,tn=E.nodeType&&xt(E),qr=Le.get(E,"fxshow");M.queue||(he=_._queueHooks(E,"fx"),he.unqueued==null&&(he.unqueued=0,Ue=he.empty.fire,he.empty.fire=function(){he.unqueued||Ue()}),he.unqueued++,st.always(function(){st.always(function(){he.unqueued--,_.queue(E,"fx").length||he.empty.fire()})}));for(X in C)if(oe=C[X],xa.test(oe)){if(delete C[X],le=le||oe==="toggle",oe===(tn?"hide":"show"))if(oe==="show"&&qr&&qr[X]!==void 0)tn=!0;else continue;Vt[X]=qr&&qr[X]||_.style(E,X)}if(Ne=!_.isEmptyObject(C),!(!Ne&&_.isEmptyObject(Vt))){Ct&&E.nodeType===1&&(M.overflow=[Rr.overflow,Rr.overflowX,Rr.overflowY],Ge=qr&&qr.display,Ge==null&&(Ge=Le.get(E,"display")),wt=_.css(E,"display"),wt==="none"&&(Ge?wt=Ge:(Tt([E],!0),Ge=E.style.display||Ge,wt=_.css(E,"display"),Tt([E]))),(wt==="inline"||wt==="inline-block"&&Ge!=null)&&_.css(E,"float")==="none"&&(Ne||(st.done(function(){Rr.display=Ge}),Ge==null&&(wt=Rr.display,Ge=wt==="none"?"":wt)),Rr.display="inline-block")),M.overflow&&(Rr.overflow="hidden",st.always(function(){Rr.overflow=M.overflow[0],Rr.overflowX=M.overflow[1],Rr.overflowY=M.overflow[2]})),Ne=!1;for(X in Vt)Ne||(qr?"hidden"in qr&&(tn=qr.hidden):qr=Le.access(E,"fxshow",{display:Ge}),le&&(qr.hidden=!tn),tn&&Tt([E],!0),st.done(function(){tn||Tt([E]),Le.remove(E,"fxshow");for(X in Vt)_.style(E,X,Vt[X])})),Ne=Te(tn?qr[X]:0,X,st),X in qr||(qr[X]=Ne.start,tn&&(Ne.end=Ne.start,Ne.start=0))}}function ht(E,C){var M,X,oe,le,he;for(M in E)if(X=_e(M),oe=C[X],le=E[M],Array.isArray(le)&&(oe=le[1],le=E[M]=le[0]),M!==X&&(E[X]=le,delete E[M]),he=_.cssHooks[X],he&&"expand"in he){le=he.expand(le),delete E[X];for(M in le)M in E||(E[M]=le[M],C[M]=oe)}else C[X]=oe}function rt(E,C,M){var X,oe,le=0,he=rt.prefilters.length,Ue=_.Deferred().always(function(){delete Ne.elem}),Ne=function(){if(oe)return!1;for(var Ct=va||W(),st=Math.max(0,Ge.startTime+Ge.duration-Ct),Vt=st/Ge.duration||0,Rr=1-Vt,tn=0,qr=Ge.tweens.length;tn<qr;tn++)Ge.tweens[tn].run(Rr);return Ue.notifyWith(E,[Ge,Rr,st]),Rr<1&&qr?st:(qr||Ue.notifyWith(E,[Ge,1,0]),Ue.resolveWith(E,[Ge]),!1)},Ge=Ue.promise({elem:E,props:_.extend({},C),opts:_.extend(!0,{specialEasing:{},easing:_.easing._default},M),originalProperties:C,originalOptions:M,startTime:va||W(),duration:M.duration,tweens:[],createTween:function(Ct,st){var Vt=_.Tween(E,Ge.opts,Ct,st,Ge.opts.specialEasing[Ct]||Ge.opts.easing);return Ge.tweens.push(Vt),Vt},stop:function(Ct){var st=0,Vt=Ct?Ge.tweens.length:0;if(oe)return this;for(oe=!0;st<Vt;st++)Ge.tweens[st].run(1);return Ct?(Ue.notifyWith(E,[Ge,1,0]),Ue.resolveWith(E,[Ge,Ct])):Ue.rejectWith(E,[Ge,Ct]),this}}),wt=Ge.props;for(ht(wt,Ge.opts.specialEasing);le<he;le++)if(X=rt.prefilters[le].call(Ge,E,wt,Ge.opts),X)return y(X.stop)&&(_._queueHooks(Ge.elem,Ge.opts.queue).stop=X.stop.bind(X)),X;return _.map(wt,Te,Ge),y(Ge.opts.start)&&Ge.opts.start.call(E,Ge),Ge.progress(Ge.opts.progress).done(Ge.opts.done,Ge.opts.complete).fail(Ge.opts.fail).always(Ge.opts.always),_.fx.timer(_.extend(Ne,{elem:E,anim:Ge,queue:Ge.opts.queue})),Ge}_.Animation=_.extend(rt,{tweeners:{"*":[function(E,C){var M=this.createTween(E,C);return Ce(M.elem,E,mt.exec(C),M),M}]},tweener:function(E,C){y(E)?(C=E,E=["*"]):E=E.match(H);for(var M,X=0,oe=E.length;X<oe;X++)M=E[X],rt.tweeners[M]=rt.tweeners[M]||[],rt.tweeners[M].unshift(C)},prefilters:[qe],prefilter:function(E,C){C?rt.prefilters.unshift(E):rt.prefilters.push(E)}}),_.speed=function(E,C,M){var X=E&&typeof E=="object"?_.extend({},E):{complete:M||!M&&C||y(E)&&E,duration:E,easing:M&&C||C&&!y(C)&&C};return _.fx.off?X.duration=0:typeof X.duration!="number"&&(X.duration in _.fx.speeds?X.duration=_.fx.speeds[X.duration]:X.duration=_.fx.speeds._default),(X.queue==null||X.queue===!0)&&(X.queue="fx"),X.old=X.complete,X.complete=function(){y(X.old)&&X.old.call(this),X.queue&&_.dequeue(this,X.queue)},X},_.fn.extend({fadeTo:function(E,C,M,X){return this.filter(xt).css("opacity",0).show().end().animate({opacity:C},E,M,X)},animate:function(E,C,M,X){var oe=_.isEmptyObject(E),le=_.speed(C,M,X),he=function(){var Ue=rt(this,_.extend({},E),le);(oe||Le.get(this,"finish"))&&Ue.stop(!0)};return he.finish=he,oe||le.queue===!1?this.each(he):this.queue(le.queue,he)},stop:function(E,C,M){var X=function(oe){var le=oe.stop;delete oe.stop,le(M)};return typeof E!="string"&&(M=C,C=E,E=void 0),C&&this.queue(E||"fx",[]),this.each(function(){var oe=!0,le=E!=null&&E+"queueHooks",he=_.timers,Ue=Le.get(this);if(le)Ue[le]&&Ue[le].stop&&X(Ue[le]);else for(le in Ue)Ue[le]&&Ue[le].stop&&no.test(le)&&X(Ue[le]);for(le=he.length;le--;)he[le].elem===this&&(E==null||he[le].queue===E)&&(he[le].anim.stop(M),oe=!1,he.splice(le,1));(oe||!M)&&_.dequeue(this,E)})},finish:function(E){return E!==!1&&(E=E||"fx"),this.each(function(){var C,M=Le.get(this),X=M[E+"queue"],oe=M[E+"queueHooks"],le=_.timers,he=X?X.length:0;for(M.finish=!0,_.queue(this,E,[]),oe&&oe.stop&&oe.stop.call(this,!0),C=le.length;C--;)le[C].elem===this&&le[C].queue===E&&(le[C].anim.stop(!0),le.splice(C,1));for(C=0;C<he;C++)X[C]&&X[C].finish&&X[C].finish.call(this);delete M.finish})}}),_.each(["toggle","show","hide"],function(E,C){var M=_.fn[C];_.fn[C]=function(X,oe,le){return X==null||typeof X=="boolean"?M.apply(this,arguments):this.animate(ue(C,!0),X,oe,le)}}),_.each({slideDown:ue("show"),slideUp:ue("hide"),slideToggle:ue("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(E,C){_.fn[E]=function(M,X,oe){return this.animate(C,M,X,oe)}}),_.timers=[],_.fx.tick=function(){var E,C=0,M=_.timers;for(va=Date.now();C<M.length;C++)E=M[C],!E()&&M[C]===E&&M.splice(C--,1);M.length||_.fx.stop(),va=void 0},_.fx.timer=function(E){_.timers.push(E),_.fx.start()},_.fx.interval=13,_.fx.start=function(){Bi||(Bi=!0,qa())},_.fx.stop=function(){Bi=null},_.fx.speeds={slow:600,fast:200,_default:400},_.fn.delay=function(E,C){return E=_.fx&&_.fx.speeds[E]||E,C=C||"fx",this.queue(C,function(M,X){var oe=t.setTimeout(M,E);X.stop=function(){t.clearTimeout(oe)}})},(function(){var E=w.createElement("input"),C=w.createElement("select"),M=C.appendChild(w.createElement("option"));E.type="checkbox",m.checkOn=E.value!=="",m.optSelected=M.selected,E=w.createElement("input"),E.value="t",E.type="radio",m.radioValue=E.value==="t"})();var Ot,Wt=_.expr.attrHandle;_.fn.extend({attr:function(E,C){return Oe(this,_.attr,E,C,arguments.length>1)},removeAttr:function(E){return this.each(function(){_.removeAttr(this,E)})}}),_.extend({attr:function(E,C,M){var X,oe,le=E.nodeType;if(!(le===3||le===8||le===2)){if(typeof E.getAttribute>"u")return _.prop(E,C,M);if((le!==1||!_.isXMLDoc(E))&&(oe=_.attrHooks[C.toLowerCase()]||(_.expr.match.bool.test(C)?Ot:void 0)),M!==void 0){if(M===null){_.removeAttr(E,C);return}return oe&&"set"in oe&&(X=oe.set(E,M,C))!==void 0?X:(E.setAttribute(C,M+""),M)}return oe&&"get"in oe&&(X=oe.get(E,C))!==null?X:(X=_.find.attr(E,C),X??void 0)}},attrHooks:{type:{set:function(E,C){if(!m.radioValue&&C==="radio"&&N(E,"input")){var M=E.value;return E.setAttribute("type",C),M&&(E.value=M),C}}}},removeAttr:function(E,C){var M,X=0,oe=C&&C.match(H);if(oe&&E.nodeType===1)for(;M=oe[X++];)E.removeAttribute(M)}}),Ot={set:function(E,C,M){return C===!1?_.removeAttr(E,M):E.setAttribute(M,M),M}},_.each(_.expr.match.bool.source.match(/\w+/g),function(E,C){var M=Wt[C]||_.find.attr;Wt[C]=function(X,oe,le){var he,Ue,Ne=oe.toLowerCase();return le||(Ue=Wt[Ne],Wt[Ne]=he,he=M(X,oe,le)!=null?Ne:null,Wt[Ne]=Ue),he}});var Jt=/^(?:input|select|textarea|button)$/i,wr=/^(?:a|area)$/i;_.fn.extend({prop:function(E,C){return Oe(this,_.prop,E,C,arguments.length>1)},removeProp:function(E){return this.each(function(){delete this[_.propFix[E]||E]})}}),_.extend({prop:function(E,C,M){var X,oe,le=E.nodeType;if(!(le===3||le===8||le===2))return(le!==1||!_.isXMLDoc(E))&&(C=_.propFix[C]||C,oe=_.propHooks[C]),M!==void 0?oe&&"set"in oe&&(X=oe.set(E,M,C))!==void 0?X:E[C]=M:oe&&"get"in oe&&(X=oe.get(E,C))!==null?X:E[C]},propHooks:{tabIndex:{get:function(E){var C=_.find.attr(E,"tabindex");return C?parseInt(C,10):Jt.test(E.nodeName)||wr.test(E.nodeName)&&E.href?0:-1}}},propFix:{for:"htmlFor",class:"className"}}),m.optSelected||(_.propHooks.selected={get:function(E){var C=E.parentNode;return C&&C.parentNode&&C.parentNode.selectedIndex,null},set:function(E){var C=E.parentNode;C&&(C.selectedIndex,C.parentNode&&C.parentNode.selectedIndex)}}),_.each(["tabIndex","readOnly","maxLength","cellSpacing","cellPadding","rowSpan","colSpan","useMap","frameBorder","contentEditable"],function(){_.propFix[this.toLowerCase()]=this});function Ar(E){var C=E.match(H)||[];return C.join(" ")}function qn(E){return E.getAttribute&&E.getAttribute("class")||""}function ki(E){return Array.isArray(E)?E:typeof E=="string"?E.match(H)||[]:[]}_.fn.extend({addClass:function(E){var C,M,X,oe,le,he;return y(E)?this.each(function(Ue){_(this).addClass(E.call(this,Ue,qn(this)))}):(C=ki(E),C.length?this.each(function(){if(X=qn(this),M=this.nodeType===1&&" "+Ar(X)+" ",M){for(le=0;le<C.length;le++)oe=C[le],M.indexOf(" "+oe+" ")<0&&(M+=oe+" ");he=Ar(M),X!==he&&this.setAttribute("class",he)}}):this)},removeClass:function(E){var C,M,X,oe,le,he;return y(E)?this.each(function(Ue){_(this).removeClass(E.call(this,Ue,qn(this)))}):arguments.length?(C=ki(E),C.length?this.each(function(){if(X=qn(this),M=this.nodeType===1&&" "+Ar(X)+" ",M){for(le=0;le<C.length;le++)for(oe=C[le];M.indexOf(" "+oe+" ")>-1;)M=M.replace(" "+oe+" "," ");he=Ar(M),X!==he&&this.setAttribute("class",he)}}):this):this.attr("class","")},toggleClass:function(E,C){var M,X,oe,le,he=typeof E,Ue=he==="string"||Array.isArray(E);return y(E)?this.each(function(Ne){_(this).toggleClass(E.call(this,Ne,qn(this),C),C)}):typeof C=="boolean"&&Ue?C?this.addClass(E):this.removeClass(E):(M=ki(E),this.each(function(){if(Ue)for(le=_(this),oe=0;oe<M.length;oe++)X=M[oe],le.hasClass(X)?le.removeClass(X):le.addClass(X);else(E===void 0||he==="boolean")&&(X=qn(this),X&&Le.set(this,"__className__",X),this.setAttribute&&this.setAttribute("class",X||E===!1?"":Le.get(this,"__className__")||""))}))},hasClass:function(E){var C,M,X=0;for(C=" "+E+" ";M=this[X++];)if(M.nodeType===1&&(" "+Ar(qn(M))+" ").indexOf(C)>-1)return!0;return!1}});var Ni=/\r/g;_.fn.extend({val:function(E){var C,M,X,oe=this[0];return arguments.length?(X=y(E),this.each(function(le){var he;this.nodeType===1&&(X?he=E.call(this,le,_(this).val()):he=E,he==null?he="":typeof he=="number"?he+="":Array.isArray(he)&&(he=_.map(he,function(Ue){return Ue==null?"":Ue+""})),C=_.valHooks[this.type]||_.valHooks[this.nodeName.toLowerCase()],(!C||!("set"in C)||C.set(this,he,"value")===void 0)&&(this.value=he))})):oe?(C=_.valHooks[oe.type]||_.valHooks[oe.nodeName.toLowerCase()],C&&"get"in C&&(M=C.get(oe,"value"))!==void 0?M:(M=oe.value,typeof M=="string"?M.replace(Ni,""):M??"")):void 0}}),_.extend({valHooks:{option:{get:function(E){var C=_.find.attr(E,"value");return C??Ar(_.text(E))}},select:{get:function(E){var C,M,X,oe=E.options,le=E.selectedIndex,he=E.type==="select-one",Ue=he?null:[],Ne=he?le+1:oe.length;for(le<0?X=Ne:X=he?le:0;X<Ne;X++)if(M=oe[X],(M.selected||X===le)&&!M.disabled&&(!M.parentNode.disabled||!N(M.parentNode,"optgroup"))){if(C=_(M).val(),he)return C;Ue.push(C)}return Ue},set:function(E,C){for(var M,X,oe=E.options,le=_.makeArray(C),he=oe.length;he--;)X=oe[he],(X.selected=_.inArray(_.valHooks.option.get(X),le)>-1)&&(M=!0);return M||(E.selectedIndex=-1),le}}}}),_.each(["radio","checkbox"],function(){_.valHooks[this]={set:function(E,C){if(Array.isArray(C))return E.checked=_.inArray(_(E).val(),C)>-1}},m.checkOn||(_.valHooks[this].get=function(E){return E.getAttribute("value")===null?"on":E.value})});var ms=t.location,lu={guid:Date.now()},ys=/\?/;_.parseXML=function(E){var C,M;if(!E||typeof E!="string")return null;try{C=new t.DOMParser().parseFromString(E,"text/xml")}catch{}return M=C&&C.getElementsByTagName("parsererror")[0],(!C||M)&&_.error("Invalid XML: "+(M?_.map(M.childNodes,function(X){return X.textContent}).join(`
|
|
32
|
-
`):E)),C};var io=/^(?:focusinfocus|focusoutblur)$/,Si=function(E){E.stopPropagation()};_.extend(_.event,{trigger:function(E,C,M,X){var oe,le,he,Ue,Ne,Ge,wt,Ct,st=[M||w],Vt=h.call(E,"type")?E.type:E,Rr=h.call(E,"namespace")?E.namespace.split("."):[];if(le=Ct=he=M=M||w,!(M.nodeType===3||M.nodeType===8)&&!io.test(Vt+_.event.triggered)&&(Vt.indexOf(".")>-1&&(Rr=Vt.split("."),Vt=Rr.shift(),Rr.sort()),Ne=Vt.indexOf(":")<0&&"on"+Vt,E=E[_.expando]?E:new _.Event(Vt,typeof E=="object"&&E),E.isTrigger=X?2:3,E.namespace=Rr.join("."),E.rnamespace=E.namespace?new RegExp("(^|\\.)"+Rr.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,E.result=void 0,E.target||(E.target=M),C=C==null?[E]:_.makeArray(C,[E]),wt=_.event.special[Vt]||{},!(!X&&wt.trigger&&wt.trigger.apply(M,C)===!1))){if(!X&&!wt.noBubble&&!S(M)){for(Ue=wt.delegateType||Vt,io.test(Ue+Vt)||(le=le.parentNode);le;le=le.parentNode)st.push(le),he=le;he===(M.ownerDocument||w)&&st.push(he.defaultView||he.parentWindow||t)}for(oe=0;(le=st[oe++])&&!E.isPropagationStopped();)Ct=le,E.type=oe>1?Ue:wt.bindType||Vt,Ge=(Le.get(le,"events")||Object.create(null))[E.type]&&Le.get(le,"handle"),Ge&&Ge.apply(le,C),Ge=Ne&&le[Ne],Ge&&Ge.apply&&xe(le)&&(E.result=Ge.apply(le,C),E.result===!1&&E.preventDefault());return E.type=Vt,!X&&!E.isDefaultPrevented()&&(!wt._default||wt._default.apply(st.pop(),C)===!1)&&xe(M)&&Ne&&y(M[Vt])&&!S(M)&&(he=M[Ne],he&&(M[Ne]=null),_.event.triggered=Vt,E.isPropagationStopped()&&Ct.addEventListener(Vt,Si),M[Vt](),E.isPropagationStopped()&&Ct.removeEventListener(Vt,Si),_.event.triggered=void 0,he&&(M[Ne]=he)),E.result}},simulate:function(E,C,M){var X=_.extend(new _.Event,M,{type:E,isSimulated:!0});_.event.trigger(X,null,C)}}),_.fn.extend({trigger:function(E,C){return this.each(function(){_.event.trigger(E,C,this)})},triggerHandler:function(E,C){var M=this[0];if(M)return _.event.trigger(E,C,M,!0)}});var Va=/\[\]$/,ao=/\r?\n/g,gn=/^(?:submit|button|image|reset|file)$/i,pa=/^(?:input|select|textarea|keygen)/i;function Wo(E,C,M,X){var oe;if(Array.isArray(C))_.each(C,function(le,he){M||Va.test(E)?X(E,he):Wo(E+"["+(typeof he=="object"&&he!=null?le:"")+"]",he,M,X)});else if(!M&&R(C)==="object")for(oe in C)Wo(E+"["+oe+"]",C[oe],M,X);else X(E,C)}_.param=function(E,C){var M,X=[],oe=function(le,he){var Ue=y(he)?he():he;X[X.length]=encodeURIComponent(le)+"="+encodeURIComponent(Ue??"")};if(E==null)return"";if(Array.isArray(E)||E.jquery&&!_.isPlainObject(E))_.each(E,function(){oe(this.name,this.value)});else for(M in E)Wo(M,E[M],C,oe);return X.join("&")},_.fn.extend({serialize:function(){return _.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var E=_.prop(this,"elements");return E?_.makeArray(E):this}).filter(function(){var E=this.type;return this.name&&!_(this).is(":disabled")&&pa.test(this.nodeName)&&!gn.test(E)&&(this.checked||!Pt.test(E))}).map(function(E,C){var M=_(this).val();return M==null?null:Array.isArray(M)?_.map(M,function(X){return{name:C.name,value:X.replace(ao,`\r
|
|
33
|
-
`)}}):{name:C.name,value:M.replace(ao,`\r
|
|
34
|
-
`)}}).get()}});var Go=/%20/g,ra=/#.*$/,Us=/([?&])_=[^&]*/,oo=/^(.*?):[ \t]*([^\r\n]*)$/mg,_s=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,qs=/^(?:GET|HEAD)$/,Nu=/^\/\//,so={},So={},Hi="*/".concat("*"),ga=w.createElement("a");ga.href=ms.href;function Lu(E){return function(C,M){typeof C!="string"&&(M=C,C="*");var X,oe=0,le=C.toLowerCase().match(H)||[];if(y(M))for(;X=le[oe++];)X[0]==="+"?(X=X.slice(1)||"*",(E[X]=E[X]||[]).unshift(M)):(E[X]=E[X]||[]).push(M)}}function Yo(E,C,M,X){var oe={},le=E===So;function he(Ue){var Ne;return oe[Ue]=!0,_.each(E[Ue]||[],function(Ge,wt){var Ct=wt(C,M,X);if(typeof Ct=="string"&&!le&&!oe[Ct])return C.dataTypes.unshift(Ct),he(Ct),!1;if(le)return!(Ne=Ct)}),Ne}return he(C.dataTypes[0])||!oe["*"]&&he("*")}function Ko(E,C){var M,X,oe=_.ajaxSettings.flatOptions||{};for(M in C)C[M]!==void 0&&((oe[M]?E:X||(X={}))[M]=C[M]);return X&&_.extend(!0,E,X),E}function ma(E,C,M){for(var X,oe,le,he,Ue=E.contents,Ne=E.dataTypes;Ne[0]==="*";)Ne.shift(),X===void 0&&(X=E.mimeType||C.getResponseHeader("Content-Type"));if(X){for(oe in Ue)if(Ue[oe]&&Ue[oe].test(X)){Ne.unshift(oe);break}}if(Ne[0]in M)le=Ne[0];else{for(oe in M){if(!Ne[0]||E.converters[oe+" "+Ne[0]]){le=oe;break}he||(he=oe)}le=le||he}if(le)return le!==Ne[0]&&Ne.unshift(le),M[le]}function Vs(E,C,M,X){var oe,le,he,Ue,Ne,Ge={},wt=E.dataTypes.slice();if(wt[1])for(he in E.converters)Ge[he.toLowerCase()]=E.converters[he];for(le=wt.shift();le;)if(E.responseFields[le]&&(M[E.responseFields[le]]=C),!Ne&&X&&E.dataFilter&&(C=E.dataFilter(C,E.dataType)),Ne=le,le=wt.shift(),le){if(le==="*")le=Ne;else if(Ne!=="*"&&Ne!==le){if(he=Ge[Ne+" "+le]||Ge["* "+le],!he){for(oe in Ge)if(Ue=oe.split(" "),Ue[1]===le&&(he=Ge[Ne+" "+Ue[0]]||Ge["* "+Ue[0]],he)){he===!0?he=Ge[oe]:Ge[oe]!==!0&&(le=Ue[0],wt.unshift(Ue[1]));break}}if(he!==!0)if(he&&E.throws)C=he(C);else try{C=he(C)}catch(Ct){return{state:"parsererror",error:he?Ct:"No conversion from "+Ne+" to "+le}}}}return{state:"success",data:C}}_.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:ms.href,type:"GET",isLocal:_s.test(ms.protocol),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Hi,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":_.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(E,C){return C?Ko(Ko(E,_.ajaxSettings),C):Ko(_.ajaxSettings,E)},ajaxPrefilter:Lu(so),ajaxTransport:Lu(So),ajax:function(E,C){typeof E=="object"&&(C=E,E=void 0),C=C||{};var M,X,oe,le,he,Ue,Ne,Ge,wt,Ct,st=_.ajaxSetup({},C),Vt=st.context||st,Rr=st.context&&(Vt.nodeType||Vt.jquery)?_(Vt):_.event,tn=_.Deferred(),qr=_.Callbacks("once memory"),ei=st.statusCode||{},hi={},G={},se="canceled",ge={readyState:0,getResponseHeader:function(Je){var et;if(Ne){if(!le)for(le={};et=oo.exec(oe);)le[et[1].toLowerCase()+" "]=(le[et[1].toLowerCase()+" "]||[]).concat(et[2]);et=le[Je.toLowerCase()+" "]}return et==null?null:et.join(", ")},getAllResponseHeaders:function(){return Ne?oe:null},setRequestHeader:function(Je,et){return Ne==null&&(Je=G[Je.toLowerCase()]=G[Je.toLowerCase()]||Je,hi[Je]=et),this},overrideMimeType:function(Je){return Ne==null&&(st.mimeType=Je),this},statusCode:function(Je){var et;if(Je)if(Ne)ge.always(Je[ge.status]);else for(et in Je)ei[et]=[ei[et],Je[et]];return this},abort:function(Je){var et=Je||se;return M&&M.abort(et),$e(0,et),this}};if(tn.promise(ge),st.url=((E||st.url||ms.href)+"").replace(Nu,ms.protocol+"//"),st.type=C.method||C.type||st.method||st.type,st.dataTypes=(st.dataType||"*").toLowerCase().match(H)||[""],st.crossDomain==null){Ue=w.createElement("a");try{Ue.href=st.url,Ue.href=Ue.href,st.crossDomain=ga.protocol+"//"+ga.host!=Ue.protocol+"//"+Ue.host}catch{st.crossDomain=!0}}if(st.data&&st.processData&&typeof st.data!="string"&&(st.data=_.param(st.data,st.traditional)),Yo(so,st,C,ge),Ne)return ge;Ge=_.event&&st.global,Ge&&_.active++===0&&_.event.trigger("ajaxStart"),st.type=st.type.toUpperCase(),st.hasContent=!qs.test(st.type),X=st.url.replace(ra,""),st.hasContent?st.data&&st.processData&&(st.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&(st.data=st.data.replace(Go,"+")):(Ct=st.url.slice(X.length),st.data&&(st.processData||typeof st.data=="string")&&(X+=(ys.test(X)?"&":"?")+st.data,delete st.data),st.cache===!1&&(X=X.replace(Us,"$1"),Ct=(ys.test(X)?"&":"?")+"_="+lu.guid+++Ct),st.url=X+Ct),st.ifModified&&(_.lastModified[X]&&ge.setRequestHeader("If-Modified-Since",_.lastModified[X]),_.etag[X]&&ge.setRequestHeader("If-None-Match",_.etag[X])),(st.data&&st.hasContent&&st.contentType!==!1||C.contentType)&&ge.setRequestHeader("Content-Type",st.contentType),ge.setRequestHeader("Accept",st.dataTypes[0]&&st.accepts[st.dataTypes[0]]?st.accepts[st.dataTypes[0]]+(st.dataTypes[0]!=="*"?", "+Hi+"; q=0.01":""):st.accepts["*"]);for(wt in st.headers)ge.setRequestHeader(wt,st.headers[wt]);if(st.beforeSend&&(st.beforeSend.call(Vt,ge,st)===!1||Ne))return ge.abort();if(se="abort",qr.add(st.complete),ge.done(st.success),ge.fail(st.error),M=Yo(So,st,C,ge),!M)$e(-1,"No Transport");else{if(ge.readyState=1,Ge&&Rr.trigger("ajaxSend",[ge,st]),Ne)return ge;st.async&&st.timeout>0&&(he=t.setTimeout(function(){ge.abort("timeout")},st.timeout));try{Ne=!1,M.send(hi,$e)}catch(Je){if(Ne)throw Je;$e(-1,Je)}}function $e(Je,et,It,Gt){var yr,Vr,xr,Mn,ui,Vn=et;Ne||(Ne=!0,he&&t.clearTimeout(he),M=void 0,oe=Gt||"",ge.readyState=Je>0?4:0,yr=Je>=200&&Je<300||Je===304,It&&(Mn=ma(st,ge,It)),!yr&&_.inArray("script",st.dataTypes)>-1&&_.inArray("json",st.dataTypes)<0&&(st.converters["text script"]=function(){}),Mn=Vs(st,Mn,ge,yr),yr?(st.ifModified&&(ui=ge.getResponseHeader("Last-Modified"),ui&&(_.lastModified[X]=ui),ui=ge.getResponseHeader("etag"),ui&&(_.etag[X]=ui)),Je===204||st.type==="HEAD"?Vn="nocontent":Je===304?Vn="notmodified":(Vn=Mn.state,Vr=Mn.data,xr=Mn.error,yr=!xr)):(xr=Vn,(Je||!Vn)&&(Vn="error",Je<0&&(Je=0))),ge.status=Je,ge.statusText=(et||Vn)+"",yr?tn.resolveWith(Vt,[Vr,Vn,ge]):tn.rejectWith(Vt,[ge,Vn,xr]),ge.statusCode(ei),ei=void 0,Ge&&Rr.trigger(yr?"ajaxSuccess":"ajaxError",[ge,st,yr?Vr:xr]),qr.fireWith(Vt,[ge,Vn]),Ge&&(Rr.trigger("ajaxComplete",[ge,st]),--_.active||_.event.trigger("ajaxStop")))}return ge},getJSON:function(E,C,M){return _.get(E,C,M,"json")},getScript:function(E,C){return _.get(E,void 0,C,"script")}}),_.each(["get","post"],function(E,C){_[C]=function(M,X,oe,le){return y(X)&&(le=le||oe,oe=X,X=void 0),_.ajax(_.extend({url:M,type:C,dataType:le,data:X,success:oe},_.isPlainObject(M)&&M))}}),_.ajaxPrefilter(function(E){var C;for(C in E.headers)C.toLowerCase()==="content-type"&&(E.contentType=E.headers[C]||"")}),_._evalUrl=function(E,C,M){return _.ajax({url:E,type:"GET",dataType:"script",cache:!0,async:!1,global:!1,converters:{"text script":function(){}},dataFilter:function(X){_.globalEval(X,C,M)}})},_.fn.extend({wrapAll:function(E){var C;return this[0]&&(y(E)&&(E=E.call(this[0])),C=_(E,this[0].ownerDocument).eq(0).clone(!0),this[0].parentNode&&C.insertBefore(this[0]),C.map(function(){for(var M=this;M.firstElementChild;)M=M.firstElementChild;return M}).append(this)),this},wrapInner:function(E){return y(E)?this.each(function(C){_(this).wrapInner(E.call(this,C))}):this.each(function(){var C=_(this),M=C.contents();M.length?M.wrapAll(E):C.append(E)})},wrap:function(E){var C=y(E);return this.each(function(M){_(this).wrapAll(C?E.call(this,M):E)})},unwrap:function(E){return this.parent(E).not("body").each(function(){_(this).replaceWith(this.childNodes)}),this}}),_.expr.pseudos.hidden=function(E){return!_.expr.pseudos.visible(E)},_.expr.pseudos.visible=function(E){return!!(E.offsetWidth||E.offsetHeight||E.getClientRects().length)},_.ajaxSettings.xhr=function(){try{return new t.XMLHttpRequest}catch{}};var Mu={0:200,1223:204},Li=_.ajaxSettings.xhr();m.cors=!!Li&&"withCredentials"in Li,m.ajax=Li=!!Li,_.ajaxTransport(function(E){var C,M;if(m.cors||Li&&!E.crossDomain)return{send:function(X,oe){var le,he=E.xhr();if(he.open(E.type,E.url,E.async,E.username,E.password),E.xhrFields)for(le in E.xhrFields)he[le]=E.xhrFields[le];E.mimeType&&he.overrideMimeType&&he.overrideMimeType(E.mimeType),!E.crossDomain&&!X["X-Requested-With"]&&(X["X-Requested-With"]="XMLHttpRequest");for(le in X)he.setRequestHeader(le,X[le]);C=function(Ue){return function(){C&&(C=M=he.onload=he.onerror=he.onabort=he.ontimeout=he.onreadystatechange=null,Ue==="abort"?he.abort():Ue==="error"?typeof he.status!="number"?oe(0,"error"):oe(he.status,he.statusText):oe(Mu[he.status]||he.status,he.statusText,(he.responseType||"text")!=="text"||typeof he.responseText!="string"?{binary:he.response}:{text:he.responseText},he.getAllResponseHeaders()))}},he.onload=C(),M=he.onerror=he.ontimeout=C("error"),he.onabort!==void 0?he.onabort=M:he.onreadystatechange=function(){he.readyState===4&&t.setTimeout(function(){C&&M()})},C=C("abort");try{he.send(E.hasContent&&E.data||null)}catch(Ue){if(C)throw Ue}},abort:function(){C&&C()}}}),_.ajaxPrefilter(function(E){E.crossDomain&&(E.contents.script=!1)}),_.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/\b(?:java|ecma)script\b/},converters:{"text script":function(E){return _.globalEval(E),E}}}),_.ajaxPrefilter("script",function(E){E.cache===void 0&&(E.cache=!1),E.crossDomain&&(E.type="GET")}),_.ajaxTransport("script",function(E){if(E.crossDomain||E.scriptAttrs){var C,M;return{send:function(X,oe){C=_("<script>").attr(E.scriptAttrs||{}).prop({charset:E.scriptCharset,src:E.url}).on("load error",M=function(le){C.remove(),M=null,le&&oe(le.type==="error"?404:200,le.type)}),w.head.appendChild(C[0])},abort:function(){M&&M()}}}});var ya=[],Eo=/(=)\?(?=&|$)|\?\?/;_.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var E=ya.pop()||_.expando+"_"+lu.guid++;return this[E]=!0,E}}),_.ajaxPrefilter("json jsonp",function(E,C,M){var X,oe,le,he=E.jsonp!==!1&&(Eo.test(E.url)?"url":typeof E.data=="string"&&(E.contentType||"").indexOf("application/x-www-form-urlencoded")===0&&Eo.test(E.data)&&"data");if(he||E.dataTypes[0]==="jsonp")return X=E.jsonpCallback=y(E.jsonpCallback)?E.jsonpCallback():E.jsonpCallback,he?E[he]=E[he].replace(Eo,"$1"+X):E.jsonp!==!1&&(E.url+=(ys.test(E.url)?"&":"?")+E.jsonp+"="+X),E.converters["script json"]=function(){return le||_.error(X+" was not called"),le[0]},E.dataTypes[0]="json",oe=t[X],t[X]=function(){le=arguments},M.always(function(){oe===void 0?_(t).removeProp(X):t[X]=oe,E[X]&&(E.jsonpCallback=C.jsonpCallback,ya.push(X)),le&&y(oe)&&oe(le[0]),le=oe=void 0}),"script"}),m.createHTMLDocument=(function(){var E=w.implementation.createHTMLDocument("").body;return E.innerHTML="<form></form><form></form>",E.childNodes.length===2})(),_.parseHTML=function(E,C,M){if(typeof E!="string")return[];typeof C=="boolean"&&(M=C,C=!1);var X,oe,le;return C||(m.createHTMLDocument?(C=w.implementation.createHTMLDocument(""),X=C.createElement("base"),X.href=w.location.href,C.head.appendChild(X)):C=w),oe=te.exec(E),le=!M&&[],oe?[C.createElement(oe[1])]:(oe=di([E],C,le),le&&le.length&&_(le).remove(),_.merge([],oe.childNodes))},_.fn.load=function(E,C,M){var X,oe,le,he=this,Ue=E.indexOf(" ");return Ue>-1&&(X=Ar(E.slice(Ue)),E=E.slice(0,Ue)),y(C)?(M=C,C=void 0):C&&typeof C=="object"&&(oe="POST"),he.length>0&&_.ajax({url:E,type:oe||"GET",dataType:"html",data:C}).done(function(Ne){le=arguments,he.html(X?_("<div>").append(_.parseHTML(Ne)).find(X):Ne)}).always(M&&function(Ne,Ge){he.each(function(){M.apply(this,le||[Ne.responseText,Ge,Ne])})}),this},_.expr.pseudos.animated=function(E){return _.grep(_.timers,function(C){return E===C.elem}).length},_.offset={setOffset:function(E,C,M){var X,oe,le,he,Ue,Ne,Ge,wt=_.css(E,"position"),Ct=_(E),st={};wt==="static"&&(E.style.position="relative"),Ue=Ct.offset(),le=_.css(E,"top"),Ne=_.css(E,"left"),Ge=(wt==="absolute"||wt==="fixed")&&(le+Ne).indexOf("auto")>-1,Ge?(X=Ct.position(),he=X.top,oe=X.left):(he=parseFloat(le)||0,oe=parseFloat(Ne)||0),y(C)&&(C=C.call(E,M,_.extend({},Ue))),C.top!=null&&(st.top=C.top-Ue.top+he),C.left!=null&&(st.left=C.left-Ue.left+oe),"using"in C?C.using.call(E,st):Ct.css(st)}},_.fn.extend({offset:function(E){if(arguments.length)return E===void 0?this:this.each(function(oe){_.offset.setOffset(this,E,oe)});var C,M,X=this[0];if(X)return X.getClientRects().length?(C=X.getBoundingClientRect(),M=X.ownerDocument.defaultView,{top:C.top+M.pageYOffset,left:C.left+M.pageXOffset}):{top:0,left:0}},position:function(){if(this[0]){var E,C,M,X=this[0],oe={top:0,left:0};if(_.css(X,"position")==="fixed")C=X.getBoundingClientRect();else{for(C=this.offset(),M=X.ownerDocument,E=X.offsetParent||M.documentElement;E&&(E===M.body||E===M.documentElement)&&_.css(E,"position")==="static";)E=E.parentNode;E&&E!==X&&E.nodeType===1&&(oe=_(E).offset(),oe.top+=_.css(E,"borderTopWidth",!0),oe.left+=_.css(E,"borderLeftWidth",!0))}return{top:C.top-oe.top-_.css(X,"marginTop",!0),left:C.left-oe.left-_.css(X,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){for(var E=this.offsetParent;E&&_.css(E,"position")==="static";)E=E.offsetParent;return E||yt})}}),_.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(E,C){var M=C==="pageYOffset";_.fn[E]=function(X){return Oe(this,function(oe,le,he){var Ue;if(S(oe)?Ue=oe:oe.nodeType===9&&(Ue=oe.defaultView),he===void 0)return Ue?Ue[C]:oe[le];Ue?Ue.scrollTo(M?Ue.pageXOffset:he,M?he:Ue.pageYOffset):oe[le]=he},E,X,arguments.length)}}),_.each(["top","left"],function(E,C){_.cssHooks[C]=nt(m.pixelPosition,function(M,X){if(X)return X=ct(M,C),pt.test(X)?_(M).position()[C]+"px":X})}),_.each({Height:"height",Width:"width"},function(E,C){_.each({padding:"inner"+E,content:C,"":"outer"+E},function(M,X){_.fn[X]=function(oe,le){var he=arguments.length&&(M||typeof oe!="boolean"),Ue=M||(oe===!0||le===!0?"margin":"border");return Oe(this,function(Ne,Ge,wt){var Ct;return S(Ne)?X.indexOf("outer")===0?Ne["inner"+E]:Ne.document.documentElement["client"+E]:Ne.nodeType===9?(Ct=Ne.documentElement,Math.max(Ne.body["scroll"+E],Ct["scroll"+E],Ne.body["offset"+E],Ct["offset"+E],Ct["client"+E])):wt===void 0?_.css(Ne,Ge,Ue):_.style(Ne,Ge,wt,Ue)},C,he?oe:void 0,he)}})}),_.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(E,C){_.fn[C]=function(M){return this.on(C,M)}}),_.fn.extend({bind:function(E,C,M){return this.on(E,null,C,M)},unbind:function(E,C){return this.off(E,null,C)},delegate:function(E,C,M,X){return this.on(C,E,M,X)},undelegate:function(E,C,M){return arguments.length===1?this.off(E,"**"):this.off(C,E||"**",M)},hover:function(E,C){return this.on("mouseenter",E).on("mouseleave",C||E)}}),_.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(E,C){_.fn[C]=function(M,X){return arguments.length>0?this.on(C,null,M,X):this.trigger(C)}});var Xo=/^[\s\uFEFF\xA0]+|([^\s\uFEFF\xA0])[\s\uFEFF\xA0]+$/g;_.proxy=function(E,C){var M,X,oe;if(typeof C=="string"&&(M=E[C],C=E,E=M),!!y(E))return X=a.call(arguments,2),oe=function(){return E.apply(C||this,X.concat(a.call(arguments)))},oe.guid=E.guid=E.guid||_.guid++,oe},_.holdReady=function(E){E?_.readyWait++:_.ready(!0)},_.isArray=Array.isArray,_.parseJSON=JSON.parse,_.nodeName=N,_.isFunction=y,_.isWindow=S,_.camelCase=_e,_.type=R,_.now=Date.now,_.isNumeric=function(E){var C=_.type(E);return(C==="number"||C==="string")&&!isNaN(E-parseFloat(E))},_.trim=function(E){return E==null?"":(E+"").replace(Xo,"$1")};var wo=t.jQuery,bo=t.$;return _.noConflict=function(E){return t.$===_&&(t.$=bo),E&&t.jQuery===_&&(t.jQuery=wo),_},typeof r>"u"&&(t.jQuery=t.$=_),_})})(Im)),Im.exports}var DW;function Qre(){return DW||(DW=1,(function(e){(function(t){var r=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis;{var n=Kre(),i;try{i=Xre()}catch{}t(r,e,n,i)}})(function(t,r,n,i){var a=t.Backbone,o=Array.prototype.slice;r.VERSION="1.3.3",r.$=i,r.noConflict=function(){return t.Backbone=a,this},r.emulateHTTP=!1,r.emulateJSON=!1;var u=function(z,k,q){switch(z){case 1:return function(){return n[k](this[q])};case 2:return function(H){return n[k](this[q],H)};case 3:return function(H,ie){return n[k](this[q],c(H,this),ie)};case 4:return function(H,ie,V){return n[k](this[q],c(H,this),ie,V)};default:return function(){var H=o.call(arguments);return H.unshift(this[q]),n[k].apply(n,H)}}},s=function(z,k,q){n.each(k,function(H,ie){n[ie]&&(z.prototype[ie]=u(H,ie,q))})},c=function(z,k){return n.isFunction(z)?z:n.isObject(z)&&!k._isModel(z)?d(z):n.isString(z)?function(q){return q.get(z)}:z},d=function(z){var k=n.matches(z);return function(q){return k(q.attributes)}},h=r.Events={},v=/\s+/,g=function(z,k,q,H,ie){var V=0,Z;if(q&&typeof q=="object")for(H!==void 0&&("context"in ie)&&ie.context===void 0&&(ie.context=H),Z=n.keys(q);V<Z.length;V++)k=g(z,k,Z[V],q[Z[V]],ie);else if(q&&v.test(q))for(Z=q.split(v);V<Z.length;V++)k=z(k,Z[V],H,ie);else k=z(k,q,H,ie);return k};h.on=function(z,k,q){return m(this,z,k,q)};var m=function(z,k,q,H,ie){if(z._events=g(y,z._events||{},k,q,{context:H,ctx:z,listening:ie}),ie){var V=z._listeners||(z._listeners={});V[ie.id]=ie}return z};h.listenTo=function(z,k,q){if(!z)return this;var H=z._listenId||(z._listenId=n.uniqueId("l")),ie=this._listeningTo||(this._listeningTo={}),V=ie[H];if(!V){var Z=this._listenId||(this._listenId=n.uniqueId("l"));V=ie[H]={obj:z,objId:H,id:Z,listeningTo:ie,count:0}}return m(z,k,q,this,V),this};var y=function(z,k,q,H){if(q){var ie=z[k]||(z[k]=[]),V=H.context,Z=H.ctx,me=H.listening;me&&me.count++,ie.push({callback:q,context:V,ctx:V||Z,listening:me})}return z};h.off=function(z,k,q){return this._events?(this._events=g(S,this._events,z,k,{context:q,listeners:this._listeners}),this):this},h.stopListening=function(z,k,q){var H=this._listeningTo;if(!H)return this;for(var ie=z?[z._listenId]:n.keys(H),V=0;V<ie.length;V++){var Z=H[ie[V]];if(!Z)break;Z.obj.off(k,q,this)}return this};var S=function(z,k,q,H){if(z){var ie=0,V,Z=H.context,me=H.listeners;if(!k&&!q&&!Z){for(var fe=n.keys(me);ie<fe.length;ie++)V=me[fe[ie]],delete me[V.id],delete V.listeningTo[V.objId];return}for(var Re=k?[k]:n.keys(z);ie<Re.length;ie++){k=Re[ie];var Se=z[k];if(!Se)break;for(var Oe=[],Me=0;Me<Se.length;Me++){var de=Se[Me];q&&q!==de.callback&&q!==de.callback._callback||Z&&Z!==de.context?Oe.push(de):(V=de.listening,V&&--V.count===0&&(delete me[V.id],delete V.listeningTo[V.objId]))}Oe.length?z[k]=Oe:delete z[k]}return z}};h.once=function(z,k,q){var H=g(w,{},z,k,n.bind(this.off,this));return typeof z=="string"&&q==null&&(k=void 0),this.on(H,k,q)},h.listenToOnce=function(z,k,q){var H=g(w,{},k,q,n.bind(this.stopListening,this,z));return this.listenTo(z,H)};var w=function(z,k,q,H){if(q){var ie=z[k]=n.once(function(){H(k,ie),q.apply(this,arguments)});ie._callback=q}return z};h.trigger=function(z){if(!this._events)return this;for(var k=Math.max(0,arguments.length-1),q=Array(k),H=0;H<k;H++)q[H]=arguments[H+1];return g(b,this._events,z,void 0,q),this};var b=function(z,k,q,H){if(z){var ie=z[k],V=z.all;ie&&V&&(V=V.slice()),ie&&A(ie,H),V&&A(V,[k].concat(H))}return z},A=function(z,k){var q,H=-1,ie=z.length,V=k[0],Z=k[1],me=k[2];switch(k.length){case 0:for(;++H<ie;)(q=z[H]).callback.call(q.ctx);return;case 1:for(;++H<ie;)(q=z[H]).callback.call(q.ctx,V);return;case 2:for(;++H<ie;)(q=z[H]).callback.call(q.ctx,V,Z);return;case 3:for(;++H<ie;)(q=z[H]).callback.call(q.ctx,V,Z,me);return;default:for(;++H<ie;)(q=z[H]).callback.apply(q.ctx,k);return}};h.bind=h.on,h.unbind=h.off,n.extend(r,h);var R=r.Model=function(z,k){var q=z||{};k||(k={}),this.cid=n.uniqueId(this.cidPrefix),this.attributes={},k.collection&&(this.collection=k.collection),k.parse&&(q=this.parse(q,k)||{});var H=n.result(this,"defaults");q=n.defaults(n.extend({},H,q),H),this.set(q,k),this.changed={},this.initialize.apply(this,arguments)};n.extend(R.prototype,h,{changed:null,validationError:null,idAttribute:"id",cidPrefix:"c",initialize:function(){},toJSON:function(z){return n.clone(this.attributes)},sync:function(){return r.sync.apply(this,arguments)},get:function(z){return this.attributes[z]},escape:function(z){return n.escape(this.get(z))},has:function(z){return this.get(z)!=null},matches:function(z){return!!n.iteratee(z,this)(this.attributes)},set:function(z,k,q){if(z==null)return this;var H;if(typeof z=="object"?(H=z,q=k):(H={})[z]=k,q||(q={}),!this._validate(H,q))return!1;var ie=q.unset,V=q.silent,Z=[],me=this._changing;this._changing=!0,me||(this._previousAttributes=n.clone(this.attributes),this.changed={});var fe=this.attributes,Re=this.changed,Se=this._previousAttributes;for(var Oe in H)k=H[Oe],n.isEqual(fe[Oe],k)||Z.push(Oe),n.isEqual(Se[Oe],k)?delete Re[Oe]:Re[Oe]=k,ie?delete fe[Oe]:fe[Oe]=k;if(this.idAttribute in H&&(this.id=this.get(this.idAttribute)),!V){Z.length&&(this._pending=q);for(var Me=0;Me<Z.length;Me++)this.trigger("change:"+Z[Me],this,fe[Z[Me]],q)}if(me)return this;if(!V)for(;this._pending;)q=this._pending,this._pending=!1,this.trigger("change",this,q);return this._pending=!1,this._changing=!1,this},unset:function(z,k){return this.set(z,void 0,n.extend({},k,{unset:!0}))},clear:function(z){var k={};for(var q in this.attributes)k[q]=void 0;return this.set(k,n.extend({},z,{unset:!0}))},hasChanged:function(z){return z==null?!n.isEmpty(this.changed):n.has(this.changed,z)},changedAttributes:function(z){if(!z)return this.hasChanged()?n.clone(this.changed):!1;var k=this._changing?this._previousAttributes:this.attributes,q={};for(var H in z){var ie=z[H];n.isEqual(k[H],ie)||(q[H]=ie)}return n.size(q)?q:!1},previous:function(z){return z==null||!this._previousAttributes?null:this._previousAttributes[z]},previousAttributes:function(){return n.clone(this._previousAttributes)},fetch:function(z){z=n.extend({parse:!0},z);var k=this,q=z.success;return z.success=function(H){var ie=z.parse?k.parse(H,z):H;if(!k.set(ie,z))return!1;q&&q.call(z.context,k,H,z),k.trigger("sync",k,H,z)},je(this,z),this.sync("read",this,z)},save:function(z,k,q){var H;z==null||typeof z=="object"?(H=z,q=k):(H={})[z]=k,q=n.extend({validate:!0,parse:!0},q);var ie=q.wait;if(H&&!ie){if(!this.set(H,q))return!1}else if(!this._validate(H,q))return!1;var V=this,Z=q.success,me=this.attributes;q.success=function(Se){V.attributes=me;var Oe=q.parse?V.parse(Se,q):Se;if(ie&&(Oe=n.extend({},H,Oe)),Oe&&!V.set(Oe,q))return!1;Z&&Z.call(q.context,V,Se,q),V.trigger("sync",V,Se,q)},je(this,q),H&&ie&&(this.attributes=n.extend({},me,H));var fe=this.isNew()?"create":q.patch?"patch":"update";fe==="patch"&&!q.attrs&&(q.attrs=H);var Re=this.sync(fe,this,q);return this.attributes=me,Re},destroy:function(z){z=z?n.clone(z):{};var k=this,q=z.success,H=z.wait,ie=function(){k.stopListening(),k.trigger("destroy",k,k.collection,z)};z.success=function(Z){H&&ie(),q&&q.call(z.context,k,Z,z),k.isNew()||k.trigger("sync",k,Z,z)};var V=!1;return this.isNew()?n.defer(z.success):(je(this,z),V=this.sync("delete",this,z)),H||ie(),V},url:function(){var z=n.result(this,"urlRoot")||n.result(this.collection,"url")||Ie();if(this.isNew())return z;var k=this.get(this.idAttribute);return z.replace(/[^\/]$/,"$&/")+encodeURIComponent(k)},parse:function(z,k){return z},clone:function(){return new this.constructor(this.attributes)},isNew:function(){return!this.has(this.idAttribute)},isValid:function(z){return this._validate({},n.extend({},z,{validate:!0}))},_validate:function(z,k){if(!k.validate||!this.validate)return!0;z=n.extend({},this.attributes,z);var q=this.validationError=this.validate(z,k)||null;return q?(this.trigger("invalid",this,q,n.extend(k,{validationError:q})),!1):!0}});var x={keys:1,values:1,pairs:1,invert:1,pick:0,omit:0,chain:1,isEmpty:1};s(R,x,"attributes");var O=r.Collection=function(z,k){k||(k={}),k.model&&(this.model=k.model),k.comparator!==void 0&&(this.comparator=k.comparator),this._reset(),this.initialize.apply(this,arguments),z&&this.reset(z,n.extend({silent:!0},k))},_={add:!0,remove:!0,merge:!0},P={add:!0,remove:!1},N=function(z,k,q){q=Math.min(Math.max(q,0),z.length);var H=Array(z.length-q),ie=k.length,V;for(V=0;V<H.length;V++)H[V]=z[V+q];for(V=0;V<ie;V++)z[V+q]=k[V];for(V=0;V<H.length;V++)z[V+ie+q]=H[V]};n.extend(O.prototype,h,{model:R,initialize:function(){},toJSON:function(z){return this.map(function(k){return k.toJSON(z)})},sync:function(){return r.sync.apply(this,arguments)},add:function(z,k){return this.set(z,n.extend({merge:!1},k,P))},remove:function(z,k){k=n.extend({},k);var q=!n.isArray(z);z=q?[z]:z.slice();var H=this._removeModels(z,k);return!k.silent&&H.length&&(k.changes={added:[],merged:[],removed:H},this.trigger("update",this,k)),q?H[0]:H},set:function(z,k){if(z!=null){k=n.extend({},_,k),k.parse&&!this._isModel(z)&&(z=this.parse(z,k)||[]);var q=!n.isArray(z);z=q?[z]:z.slice();var H=k.at;H!=null&&(H=+H),H>this.length&&(H=this.length),H<0&&(H+=this.length+1);var ie=[],V=[],Z=[],me=[],fe={},Re=k.add,Se=k.merge,Oe=k.remove,Me=!1,de=this.comparator&&H==null&&k.sort!==!1,Ee=n.isString(this.comparator)?this.comparator:null,_e,xe;for(xe=0;xe<z.length;xe++){_e=z[xe];var ke=this.get(_e);if(ke){if(Se&&_e!==ke){var Le=this._isModel(_e)?_e.attributes:_e;k.parse&&(Le=ke.parse(Le,k)),ke.set(Le,k),Z.push(ke),de&&!Me&&(Me=ke.hasChanged(Ee))}fe[ke.cid]||(fe[ke.cid]=!0,ie.push(ke)),z[xe]=ke}else Re&&(_e=z[xe]=this._prepareModel(_e,k),_e&&(V.push(_e),this._addReference(_e,k),fe[_e.cid]=!0,ie.push(_e)))}if(Oe){for(xe=0;xe<this.length;xe++)_e=this.models[xe],fe[_e.cid]||me.push(_e);me.length&&this._removeModels(me,k)}var He=!1,_t=!de&&Re&&Oe;if(ie.length&&_t?(He=this.length!==ie.length||n.some(this.models,function(jt,Lt){return jt!==ie[Lt]}),this.models.length=0,N(this.models,ie,0),this.length=this.models.length):V.length&&(de&&(Me=!0),N(this.models,V,H??this.length),this.length=this.models.length),Me&&this.sort({silent:!0}),!k.silent){for(xe=0;xe<V.length;xe++)H!=null&&(k.index=H+xe),_e=V[xe],_e.trigger("add",_e,this,k);(Me||He)&&this.trigger("sort",this,k),(V.length||me.length||Z.length)&&(k.changes={added:V,removed:me,merged:Z},this.trigger("update",this,k))}return q?z[0]:z}},reset:function(z,k){k=k?n.clone(k):{};for(var q=0;q<this.models.length;q++)this._removeReference(this.models[q],k);return k.previousModels=this.models,this._reset(),z=this.add(z,n.extend({silent:!0},k)),k.silent||this.trigger("reset",this,k),z},push:function(z,k){return this.add(z,n.extend({at:this.length},k))},pop:function(z){var k=this.at(this.length-1);return this.remove(k,z)},unshift:function(z,k){return this.add(z,n.extend({at:0},k))},shift:function(z){var k=this.at(0);return this.remove(k,z)},slice:function(){return o.apply(this.models,arguments)},get:function(z){if(z!=null)return this._byId[z]||this._byId[this.modelId(z.attributes||z)]||z.cid&&this._byId[z.cid]},has:function(z){return this.get(z)!=null},at:function(z){return z<0&&(z+=this.length),this.models[z]},where:function(z,k){return this[k?"find":"filter"](z)},findWhere:function(z){return this.where(z,!0)},sort:function(z){var k=this.comparator;if(!k)throw new Error("Cannot sort a set without a comparator");z||(z={});var q=k.length;return n.isFunction(k)&&(k=n.bind(k,this)),q===1||n.isString(k)?this.models=this.sortBy(k):this.models.sort(k),z.silent||this.trigger("sort",this,z),this},pluck:function(z){return this.map(z+"")},fetch:function(z){z=n.extend({parse:!0},z);var k=z.success,q=this;return z.success=function(H){var ie=z.reset?"reset":"set";q[ie](H,z),k&&k.call(z.context,q,H,z),q.trigger("sync",q,H,z)},je(this,z),this.sync("read",this,z)},create:function(z,k){k=k?n.clone(k):{};var q=k.wait;if(z=this._prepareModel(z,k),!z)return!1;q||this.add(z,k);var H=this,ie=k.success;return k.success=function(V,Z,me){q&&H.add(V,me),ie&&ie.call(me.context,V,Z,me)},z.save(null,k),z},parse:function(z,k){return z},clone:function(){return new this.constructor(this.models,{model:this.model,comparator:this.comparator})},modelId:function(z){return z[this.model.prototype.idAttribute||"id"]},_reset:function(){this.length=0,this.models=[],this._byId={}},_prepareModel:function(z,k){if(this._isModel(z))return z.collection||(z.collection=this),z;k=k?n.clone(k):{},k.collection=this;var q=new this.model(z,k);return q.validationError?(this.trigger("invalid",this,q.validationError,k),!1):q},_removeModels:function(z,k){for(var q=[],H=0;H<z.length;H++){var ie=this.get(z[H]);if(ie){var V=this.indexOf(ie);this.models.splice(V,1),this.length--,delete this._byId[ie.cid];var Z=this.modelId(ie.attributes);Z!=null&&delete this._byId[Z],k.silent||(k.index=V,ie.trigger("remove",ie,this,k)),q.push(ie),this._removeReference(ie,k)}}return q},_isModel:function(z){return z instanceof R},_addReference:function(z,k){this._byId[z.cid]=z;var q=this.modelId(z.attributes);q!=null&&(this._byId[q]=z),z.on("all",this._onModelEvent,this)},_removeReference:function(z,k){delete this._byId[z.cid];var q=this.modelId(z.attributes);q!=null&&delete this._byId[q],this===z.collection&&delete z.collection,z.off("all",this._onModelEvent,this)},_onModelEvent:function(z,k,q,H){if(k){if((z==="add"||z==="remove")&&q!==this)return;if(z==="destroy"&&this.remove(k,H),z==="change"){var ie=this.modelId(k.previousAttributes()),V=this.modelId(k.attributes);ie!==V&&(ie!=null&&delete this._byId[ie],V!=null&&(this._byId[V]=k))}}this.trigger.apply(this,arguments)}});var U={forEach:3,each:3,map:3,collect:3,reduce:0,foldl:0,inject:0,reduceRight:0,foldr:0,find:3,detect:3,filter:3,select:3,reject:3,every:3,all:3,some:3,any:3,include:3,includes:3,contains:3,invoke:0,max:3,min:3,toArray:1,size:1,first:3,head:3,take:3,initial:3,rest:3,tail:3,drop:3,last:3,without:0,difference:0,indexOf:3,shuffle:1,lastIndexOf:3,isEmpty:1,chain:1,sample:3,partition:3,groupBy:3,countBy:3,sortBy:3,indexBy:3,findIndex:3,findLastIndex:3};s(O,U,"models");var $=r.View=function(z){this.cid=n.uniqueId("view"),n.extend(this,n.pick(z,Y)),this._ensureElement(),this.initialize.apply(this,arguments)},B=/^(\S+)\s*(.*)$/,Y=["model","collection","el","id","attributes","className","tagName","events"];n.extend($.prototype,h,{tagName:"div",$:function(z){return this.$el.find(z)},initialize:function(){},render:function(){return this},remove:function(){return this._removeElement(),this.stopListening(),this},_removeElement:function(){this.$el.remove()},setElement:function(z){return this.undelegateEvents(),this._setElement(z),this.delegateEvents(),this},_setElement:function(z){this.$el=z instanceof r.$?z:r.$(z),this.el=this.$el[0]},delegateEvents:function(z){if(z||(z=n.result(this,"events")),!z)return this;this.undelegateEvents();for(var k in z){var q=z[k];if(n.isFunction(q)||(q=this[q]),!!q){var H=k.match(B);this.delegate(H[1],H[2],n.bind(q,this))}}return this},delegate:function(z,k,q){return this.$el.on(z+".delegateEvents"+this.cid,k,q),this},undelegateEvents:function(){return this.$el&&this.$el.off(".delegateEvents"+this.cid),this},undelegate:function(z,k,q){return this.$el.off(z+".delegateEvents"+this.cid,k,q),this},_createElement:function(z){return document.createElement(z)},_ensureElement:function(){if(this.el)this.setElement(n.result(this,"el"));else{var z=n.extend({},n.result(this,"attributes"));this.id&&(z.id=n.result(this,"id")),this.className&&(z.class=n.result(this,"className")),this.setElement(this._createElement(n.result(this,"tagName"))),this._setAttributes(z)}},_setAttributes:function(z){this.$el.attr(z)}}),r.sync=function(z,k,q){var H=Q[z];n.defaults(q||(q={}),{emulateHTTP:r.emulateHTTP,emulateJSON:r.emulateJSON});var ie={type:H,dataType:"json"};if(q.url||(ie.url=n.result(k,"url")||Ie()),q.data==null&&k&&(z==="create"||z==="update"||z==="patch")&&(ie.contentType="application/json",ie.data=JSON.stringify(q.attrs||k.toJSON(q))),q.emulateJSON&&(ie.contentType="application/x-www-form-urlencoded",ie.data=ie.data?{model:ie.data}:{}),q.emulateHTTP&&(H==="PUT"||H==="DELETE"||H==="PATCH")){ie.type="POST",q.emulateJSON&&(ie.data._method=H);var V=q.beforeSend;q.beforeSend=function(fe){if(fe.setRequestHeader("X-HTTP-Method-Override",H),V)return V.apply(this,arguments)}}ie.type!=="GET"&&!q.emulateJSON&&(ie.processData=!1);var Z=q.error;q.error=function(fe,Re,Se){q.textStatus=Re,q.errorThrown=Se,Z&&Z.call(q.context,fe,Re,Se)};var me=q.xhr=r.ajax(n.extend(ie,q));return k.trigger("request",k,me,q),me};var Q={create:"POST",update:"PUT",patch:"PATCH",delete:"DELETE",read:"GET"};r.ajax=function(){return r.$.ajax.apply(r.$,arguments)};var K=r.Router=function(z){z||(z={}),z.routes&&(this.routes=z.routes),this._bindRoutes(),this.initialize.apply(this,arguments)},ee=/\((.*?)\)/g,ne=/(\(\?)?:\w+/g,D=/\*\w+/g,I=/[\-{}\[\]+?.,\\\^$|#\s]/g;n.extend(K.prototype,h,{initialize:function(){},route:function(z,k,q){n.isRegExp(z)||(z=this._routeToRegExp(z)),n.isFunction(k)&&(q=k,k=""),q||(q=this[k]);var H=this;return r.history.route(z,function(ie){var V=H._extractParameters(z,ie);H.execute(q,V,k)!==!1&&(H.trigger.apply(H,["route:"+k].concat(V)),H.trigger("route",k,V),r.history.trigger("route",H,k,V))}),this},execute:function(z,k,q){z&&z.apply(this,k)},navigate:function(z,k){return r.history.navigate(z,k),this},_bindRoutes:function(){if(this.routes){this.routes=n.result(this,"routes");for(var z,k=n.keys(this.routes);(z=k.pop())!=null;)this.route(z,this.routes[z])}},_routeToRegExp:function(z){return z=z.replace(I,"\\$&").replace(ee,"(?:$1)?").replace(ne,function(k,q){return q?k:"([^/?]+)"}).replace(D,"([^?]*?)"),new RegExp("^"+z+"(?:\\?([\\s\\S]*))?$")},_extractParameters:function(z,k){var q=z.exec(k).slice(1);return n.map(q,function(H,ie){return ie===q.length-1?H||null:H?decodeURIComponent(H):null})}});var L=r.History=function(){this.handlers=[],this.checkUrl=n.bind(this.checkUrl,this),typeof window<"u"&&(this.location=window.location,this.history=window.history)},re=/^[#\/]|\s+$/g,te=/^\/+|\/+$/g,ce=/#.*$/;L.started=!1,n.extend(L.prototype,h,{interval:50,atRoot:function(){var z=this.location.pathname.replace(/[^\/]$/,"$&/");return z===this.root&&!this.getSearch()},matchRoot:function(){var z=this.decodeFragment(this.location.pathname),k=z.slice(0,this.root.length-1)+"/";return k===this.root},decodeFragment:function(z){return decodeURI(z.replace(/%25/g,"%2525"))},getSearch:function(){var z=this.location.href.replace(/#.*/,"").match(/\?.+/);return z?z[0]:""},getHash:function(z){var k=(z||this).location.href.match(/#(.*)$/);return k?k[1]:""},getPath:function(){var z=this.decodeFragment(this.location.pathname+this.getSearch()).slice(this.root.length-1);return z.charAt(0)==="/"?z.slice(1):z},getFragment:function(z){return z==null&&(this._usePushState||!this._wantsHashChange?z=this.getPath():z=this.getHash()),z.replace(re,"")},start:function(z){if(L.started)throw new Error("Backbone.history has already been started");if(L.started=!0,this.options=n.extend({root:"/"},this.options,z),this.root=this.options.root,this._wantsHashChange=this.options.hashChange!==!1,this._hasHashChange="onhashchange"in window&&(document.documentMode===void 0||document.documentMode>7),this._useHashChange=this._wantsHashChange&&this._hasHashChange,this._wantsPushState=!!this.options.pushState,this._hasPushState=!!(this.history&&this.history.pushState),this._usePushState=this._wantsPushState&&this._hasPushState,this.fragment=this.getFragment(),this.root=("/"+this.root+"/").replace(te,"/"),this._wantsHashChange&&this._wantsPushState)if(!this._hasPushState&&!this.atRoot()){var k=this.root.slice(0,-1)||"/";return this.location.replace(k+"#"+this.getPath()),!0}else this._hasPushState&&this.atRoot()&&this.navigate(this.getHash(),{replace:!0});if(!this._hasHashChange&&this._wantsHashChange&&!this._usePushState){this.iframe=document.createElement("iframe"),this.iframe.src="javascript:0",this.iframe.style.display="none",this.iframe.tabIndex=-1;var q=document.body,H=q.insertBefore(this.iframe,q.firstChild).contentWindow;H.document.open(),H.document.close(),H.location.hash="#"+this.fragment}var ie=window.addEventListener||function(V,Z){return attachEvent("on"+V,Z)};if(this._usePushState?ie("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe?ie("hashchange",this.checkUrl,!1):this._wantsHashChange&&(this._checkUrlInterval=setInterval(this.checkUrl,this.interval)),!this.options.silent)return this.loadUrl()},stop:function(){var z=window.removeEventListener||function(k,q){return detachEvent("on"+k,q)};this._usePushState?z("popstate",this.checkUrl,!1):this._useHashChange&&!this.iframe&&z("hashchange",this.checkUrl,!1),this.iframe&&(document.body.removeChild(this.iframe),this.iframe=null),this._checkUrlInterval&&clearInterval(this._checkUrlInterval),L.started=!1},route:function(z,k){this.handlers.unshift({route:z,callback:k})},checkUrl:function(z){var k=this.getFragment();if(k===this.fragment&&this.iframe&&(k=this.getHash(this.iframe.contentWindow)),k===this.fragment)return!1;this.iframe&&this.navigate(k),this.loadUrl()},loadUrl:function(z){return this.matchRoot()?(z=this.fragment=this.getFragment(z),n.some(this.handlers,function(k){if(k.route.test(z))return k.callback(z),!0})):!1},navigate:function(z,k){if(!L.started)return!1;(!k||k===!0)&&(k={trigger:!!k}),z=this.getFragment(z||"");var q=this.root;(z===""||z.charAt(0)==="?")&&(q=q.slice(0,-1)||"/");var H=q+z;if(z=this.decodeFragment(z.replace(ce,"")),this.fragment!==z){if(this.fragment=z,this._usePushState)this.history[k.replace?"replaceState":"pushState"]({},document.title,H);else if(this._wantsHashChange){if(this._updateHash(this.location,z,k.replace),this.iframe&&z!==this.getHash(this.iframe.contentWindow)){var ie=this.iframe.contentWindow;k.replace||(ie.document.open(),ie.document.close()),this._updateHash(ie.location,z,k.replace)}}else return this.location.assign(H);if(k.trigger)return this.loadUrl(z)}},_updateHash:function(z,k,q){if(q){var H=z.href.replace(/(javascript:|#).*$/,"");z.replace(H+"#"+k)}else z.hash="#"+k}}),r.history=new L;var be=function(z,k){var q=this,H;return z&&n.has(z,"constructor")?H=z.constructor:H=function(){return q.apply(this,arguments)},n.extend(H,q,k),H.prototype=n.create(q.prototype,z),H.prototype.constructor=H,H.__super__=q.prototype,H};R.extend=O.extend=K.extend=$.extend=L.extend=be;var Ie=function(){throw new Error('A "url" property or function must be specified')},je=function(z,k){var q=k.error;k.error=function(H){q&&q.call(k.context,z,H,k),z.trigger("error",z,H,k)}};return r})})(oR)),oR}var rSe=Am.exports,kW;function nSe(){return kW||(kW=1,(function(e,t){(function(r,n){e.exports=n(Kre(),Qre())})(rSe,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(S){return typeof S}:function(S){return S&&typeof Symbol=="function"&&S.constructor===Symbol?"symbol":typeof S},a=n.Radio,o=n.Radio={};o.VERSION="2.0.0",o.noConflict=function(){return n.Radio=a,this},o.DEBUG=!1,o._debugText=function(S,w,b){return S+(b?" on the "+b+" channel":"")+': "'+w+'"'},o.debugLog=function(S,w,b){o.DEBUG&&console&&console.warn&&console.warn(o._debugText(S,w,b))};var u=/\s+/;o._eventsApi=function(S,w,b,A){if(!b)return!1;var R={};if((typeof b>"u"?"undefined":i(b))==="object"){for(var x in b){var O=S[w].apply(S,[x,b[x]].concat(A));u.test(x)?r.extend(R,O):R[x]=O}return R}if(u.test(b)){for(var _=b.split(u),P=0,N=_.length;P<N;P++)R[_[P]]=S[w].apply(S,[_[P]].concat(A));return R}return!1},o._callHandler=function(S,w,b){var A=b[0],R=b[1],x=b[2];switch(b.length){case 0:return S.call(w);case 1:return S.call(w,A);case 2:return S.call(w,A,R);case 3:return S.call(w,A,R,x);default:return S.apply(w,b)}};function s(S,w,b,A){var R=S[w];if((!b||b===R.callback||b===R.callback._callback)&&(!A||A===R.context))return delete S[w],!0}function c(S,w,b,A){S||(S={});for(var R=w?[w]:r.keys(S),x=!1,O=0,_=R.length;O<_;O++)w=R[O],S[w]&&s(S,w,b,A)&&(x=!0);return x}var d={};function h(S){return d[S]||(d[S]=r.bind(o.log,o,S))}r.extend(o,{log:function(w,b){if(!(typeof console>"u")){var A=r.toArray(arguments).slice(2);console.log("["+w+'] "'+b+'"',A)}},tuneIn:function(w){var b=o.channel(w);return b._tunedIn=!0,b.on("all",h(w)),this},tuneOut:function(w){var b=o.channel(w);return b._tunedIn=!1,b.off("all",h(w)),delete d[w],this}});function v(S){return r.isFunction(S)?S:function(){return S}}o.Requests={request:function(w){var b=r.toArray(arguments).slice(1),A=o._eventsApi(this,"request",w,b);if(A)return A;var R=this.channelName,x=this._requests;if(R&&this._tunedIn&&o.log.apply(this,[R,w].concat(b)),x&&(x[w]||x.default)){var O=x[w]||x.default;return b=x[w]?b:arguments,o._callHandler(O.callback,O.context,b)}else o.debugLog("An unhandled request was fired",w,R)},reply:function(w,b,A){return o._eventsApi(this,"reply",w,[b,A])?this:(this._requests||(this._requests={}),this._requests[w]&&o.debugLog("A request was overwritten",w,this.channelName),this._requests[w]={callback:v(b),context:A||this},this)},replyOnce:function(w,b,A){if(o._eventsApi(this,"replyOnce",w,[b,A]))return this;var R=this,x=r.once(function(){return R.stopReplying(w),v(b).apply(this,arguments)});return this.reply(w,x,A)},stopReplying:function(w,b,A){return o._eventsApi(this,"stopReplying",w)?this:(!w&&!b&&!A?delete this._requests:c(this._requests,w,b,A)||o.debugLog("Attempted to remove the unregistered request",w,this.channelName),this)}},o._channels={},o.channel=function(S){if(!S)throw new Error("You must provide a name for the channel.");return o._channels[S]?o._channels[S]:o._channels[S]=new o.Channel(S)},o.Channel=function(S){this.channelName=S},r.extend(o.Channel.prototype,n.Events,o.Requests,{reset:function(){return this.off(),this.stopListening(),this.stopReplying(),this}});var g,m,y=[n.Events,o.Requests];return r.each(y,function(S){r.each(S,function(w,b){o[b]=function(A){return m=r.toArray(arguments).slice(1),g=this.channel(A),g[b].apply(g,m)}})}),o.reset=function(S){var w=S?[this._channels[S]]:this._channels;r.each(w,function(b){b.reset()})},o})})(Am)),Am.exports}var iSe=nSe();const NW=jn(iSe);var $r=Qre();const oa=jn($r);var Jre="1.13.7",LW=typeof self=="object"&&self.self===self&&self||typeof globalThis=="object"&&globalThis.global===globalThis&&globalThis||Function("return this")()||{},D_=Array.prototype,xD=Object.prototype,MW=typeof Symbol<"u"?Symbol.prototype:null,aSe=D_.push,kp=D_.slice,Wv=xD.toString,oSe=xD.hasOwnProperty,Zre=typeof ArrayBuffer<"u",sSe=typeof DataView<"u",uSe=Array.isArray,$W=Object.keys,FW=Object.create,jW=Zre&&ArrayBuffer.isView,lSe=isNaN,cSe=isFinite,ene=!{toString:null}.propertyIsEnumerable("toString"),UW=["valueOf","isPrototypeOf","toString","propertyIsEnumerable","hasOwnProperty","toLocaleString"],fSe=Math.pow(2,53)-1;function jo(e,t){return t=t==null?e.length-1:+t,function(){for(var r=Math.max(arguments.length-t,0),n=Array(r),i=0;i<r;i++)n[i]=arguments[i+t];switch(t){case 0:return e.call(this,n);case 1:return e.call(this,arguments[0],n);case 2:return e.call(this,arguments[0],arguments[1],n)}var a=Array(t+1);for(i=0;i<t;i++)a[i]=arguments[i];return a[t]=n,e.apply(this,a)}}function Ms(e){var t=typeof e;return t==="function"||t==="object"&&!!e}function dSe(e){return e===null}function iy(e){return e===void 0}function tne(e){return e===!0||e===!1||Wv.call(e)==="[object Boolean]"}function hSe(e){return!!(e&&e.nodeType===1)}function ro(e){var t="[object "+e+"]";return function(r){return Wv.call(r)===t}}var CD=ro("String"),Ld=ro("Number"),vSe=ro("Date"),pSe=ro("RegExp"),gSe=ro("Error"),rne=ro("Symbol"),nne=ro("ArrayBuffer"),ine=ro("Function"),mSe=LW.document&&LW.document.childNodes;typeof/./!="function"&&typeof Int8Array!="object"&&typeof mSe!="function"&&(ine=function(e){return typeof e=="function"||!1});var on=ine,ane=ro("Object"),one=sSe&&(!/\[native code\]/.test(String(DataView))||ane(new DataView(new ArrayBuffer(8)))),AD=typeof Map<"u"&&ane(new Map),ySe=ro("DataView");function _Se(e){return e!=null&&on(e.getInt8)&&nne(e.buffer)}var ay=one?_Se:ySe,fc=uSe||ro("Array");function dc(e,t){return e!=null&&oSe.call(e,t)}var _I=ro("Arguments");(function(){_I(arguments)||(_I=function(e){return dc(e,"callee")})})();var OD=_I;function SSe(e){return!rne(e)&&cSe(e)&&!isNaN(parseFloat(e))}function sne(e){return Ld(e)&&lSe(e)}function une(e){return function(){return e}}function lne(e){return function(t){var r=e(t);return typeof r=="number"&&r>=0&&r<=fSe}}function cne(e){return function(t){return t==null?void 0:t[e]}}var oy=cne("byteLength"),ESe=lne(oy),wSe=/\[object ((I|Ui)nt(8|16|32)|Float(32|64)|Uint8Clamped|Big(I|Ui)nt64)Array\]/;function bSe(e){return jW?jW(e)&&!ay(e):ESe(e)&&wSe.test(Wv.call(e))}var fne=Zre?bSe:une(!1),Uo=cne("length");function TSe(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 dne(e,t){t=TSe(t);var r=UW.length,n=e.constructor,i=on(n)&&n.prototype||xD,a="constructor";for(dc(e,a)&&!t.contains(a)&&t.push(a);r--;)a=UW[r],a in e&&e[a]!==i[a]&&!t.contains(a)&&t.push(a)}function sa(e){if(!Ms(e))return[];if($W)return $W(e);var t=[];for(var r in e)dc(e,r)&&t.push(r);return ene&&dne(e,t),t}function Gv(e){if(e==null)return!0;var t=Uo(e);return typeof t=="number"&&(fc(e)||CD(e)||OD(e))?t===0:Uo(sa(e))===0}function hne(e,t){var r=sa(t),n=r.length;if(e==null)return!n;for(var i=Object(e),a=0;a<n;a++){var o=r[a];if(t[o]!==i[o]||!(o in i))return!1}return!0}function Wn(e){if(e instanceof Wn)return e;if(!(this instanceof Wn))return new Wn(e);this._wrapped=e}Wn.VERSION=Jre;Wn.prototype.value=function(){return this._wrapped};Wn.prototype.valueOf=Wn.prototype.toJSON=Wn.prototype.value;Wn.prototype.toString=function(){return String(this._wrapped)};function qW(e){return new Uint8Array(e.buffer||e,e.byteOffset||0,oy(e))}var VW="[object DataView]";function SI(e,t,r,n){if(e===t)return e!==0||1/e===1/t;if(e==null||t==null)return!1;if(e!==e)return t!==t;var i=typeof e;return i!=="function"&&i!=="object"&&typeof t!="object"?!1:vne(e,t,r,n)}function vne(e,t,r,n){e instanceof Wn&&(e=e._wrapped),t instanceof Wn&&(t=t._wrapped);var i=Wv.call(e);if(i!==Wv.call(t))return!1;if(one&&i=="[object Object]"&&ay(e)){if(!ay(t))return!1;i=VW}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 MW.valueOf.call(e)===MW.valueOf.call(t);case"[object ArrayBuffer]":case VW:return vne(qW(e),qW(t),r,n)}var a=i==="[object Array]";if(!a&&fne(e)){var o=oy(e);if(o!==oy(t))return!1;if(e.buffer===t.buffer&&e.byteOffset===t.byteOffset)return!0;a=!0}if(!a){if(typeof e!="object"||typeof t!="object")return!1;var u=e.constructor,s=t.constructor;if(u!==s&&!(on(u)&&u instanceof u&&on(s)&&s instanceof s)&&"constructor"in e&&"constructor"in t)return!1}r=r||[],n=n||[];for(var c=r.length;c--;)if(r[c]===e)return n[c]===t;if(r.push(e),n.push(t),a){if(c=e.length,c!==t.length)return!1;for(;c--;)if(!SI(e[c],t[c],r,n))return!1}else{var d=sa(e),h;if(c=d.length,sa(t).length!==c)return!1;for(;c--;)if(h=d[c],!(dc(t,h)&&SI(e[h],t[h],r,n)))return!1}return r.pop(),n.pop(),!0}function pne(e,t){return SI(e,t)}function Np(e){if(!Ms(e))return[];var t=[];for(var r in e)t.push(r);return ene&&dne(e,t),t}function ID(e){var t=Uo(e);return function(r){if(r==null)return!1;var n=Np(r);if(Uo(n))return!1;for(var i=0;i<t;i++)if(!on(r[e[i]]))return!1;return e!==yne||!on(r[PD])}}var PD="forEach",gne="has",DD=["clear","delete"],mne=["get",gne,"set"],RSe=DD.concat(PD,mne),yne=DD.concat(mne),xSe=["add"].concat(DD,PD,gne),CSe=AD?ID(RSe):ro("Map"),ASe=AD?ID(yne):ro("WeakMap"),OSe=AD?ID(xSe):ro("Set"),ISe=ro("WeakSet");function hc(e){for(var t=sa(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=e[t[i]];return n}function PSe(e){for(var t=sa(e),r=t.length,n=Array(r),i=0;i<r;i++)n[i]=[t[i],e[t[i]]];return n}function _ne(e){for(var t={},r=sa(e),n=0,i=r.length;n<i;n++)t[e[r[n]]]=r[n];return t}function EI(e){var t=[];for(var r in e)on(e[r])&&t.push(r);return t.sort()}function kD(e,t){return function(r){var n=arguments.length;if(t&&(r=Object(r)),n<2||r==null)return r;for(var i=1;i<n;i++)for(var a=arguments[i],o=e(a),u=o.length,s=0;s<u;s++){var c=o[s];(!t||r[c]===void 0)&&(r[c]=a[c])}return r}}var ko=kD(Np),sy=kD(sa),Sne=kD(Np,!0);function DSe(){return function(){}}function Ene(e){if(!Ms(e))return{};if(FW)return FW(e);var t=DSe();t.prototype=e;var r=new t;return t.prototype=null,r}function kSe(e,t){var r=Ene(e);return t&&sy(r,t),r}function wne(e){return Ms(e)?fc(e)?e.slice():ko({},e):e}function NSe(e,t){return t(e),e}function bne(e){return fc(e)?e:[e]}Wn.toPath=bne;function Lp(e){return Wn.toPath(e)}function ND(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 Tne(e,t,r){var n=ND(e,Lp(t));return iy(n)?r:n}function uy(e,t){t=Lp(t);for(var r=t.length,n=0;n<r;n++){var i=t[n];if(!dc(e,i))return!1;e=e[i]}return!!r}function k_(e){return e}function Yv(e){return e=sy({},e),function(t){return hne(t,e)}}function LD(e){return e=Lp(e),function(t){return ND(t,e)}}function Mp(e,t,r){if(t===void 0)return e;switch(r??3){case 1:return function(n){return e.call(t,n)};case 3:return function(n,i,a){return e.call(t,n,i,a)};case 4:return function(n,i,a,o){return e.call(t,n,i,a,o)}}return function(){return e.apply(t,arguments)}}function Rne(e,t,r){return e==null?k_:on(e)?Mp(e,t,r):Ms(e)&&!fc(e)?Yv(e):LD(e)}function MD(e,t){return Rne(e,t,1/0)}Wn.iteratee=MD;function Bo(e,t,r){return Wn.iteratee!==MD?Wn.iteratee(e,t):Rne(e,t,r)}function LSe(e,t,r){t=Bo(t,r);for(var n=sa(e),i=n.length,a={},o=0;o<i;o++){var u=n[o];a[u]=t(e[u],u,e)}return a}function xne(){}function MSe(e){return e==null?xne:function(t){return Tne(e,t)}}function $Se(e,t,r){var n=Array(Math.max(0,e));t=Mp(t,r,1);for(var i=0;i<e;i++)n[i]=t(i);return n}function wI(e,t){return t==null&&(t=e,e=0),e+Math.floor(Math.random()*(t-e+1))}var Kv=Date.now||function(){return new Date().getTime()};function Cne(e){var t=function(a){return e[a]},r="(?:"+sa(e).join("|")+")",n=RegExp(r),i=RegExp(r,"g");return function(a){return a=a==null?"":""+a,n.test(a)?a.replace(i,t):a}}var Ane={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`"},FSe=Cne(Ane),jSe=_ne(Ane),USe=Cne(jSe),qSe=Wn.templateSettings={evaluate:/<%([\s\S]+?)%>/g,interpolate:/<%=([\s\S]+?)%>/g,escape:/<%-([\s\S]+?)%>/g},sR=/(.)^/,VSe={"'":"'","\\":"\\","\r":"r","\n":"n","\u2028":"u2028","\u2029":"u2029"},BSe=/\\|'|\r|\n|\u2028|\u2029/g;function HSe(e){return"\\"+VSe[e]}var zSe=/^\s*(\w|\$)+\s*$/;function WSe(e,t,r){!t&&r&&(t=r),t=Sne({},t,Wn.templateSettings);var n=RegExp([(t.escape||sR).source,(t.interpolate||sR).source,(t.evaluate||sR).source].join("|")+"|$","g"),i=0,a="__p+='";e.replace(n,function(c,d,h,v,g){return a+=e.slice(i,g).replace(BSe,HSe),i=g+c.length,d?a+=`'+
|
|
35
|
-
((__t=(`+d+`))==null?'':_.escape(__t))+
|
|
36
|
-
'`:h?a+=`'+
|
|
37
|
-
((__t=(`+h+`))==null?'':__t)+
|
|
38
|
-
'`:v&&(a+=`';
|
|
39
|
-
`+v+`
|
|
40
|
-
__p+='`),c}),a+=`';
|
|
41
|
-
`;var o=t.variable;if(o){if(!zSe.test(o))throw new Error("variable is not a bare identifier: "+o)}else a=`with(obj||{}){
|
|
42
|
-
`+a+`}
|
|
43
|
-
`,o="obj";a=`var __t,__p='',__j=Array.prototype.join,print=function(){__p+=__j.call(arguments,'');};
|
|
44
|
-
`+a+`return __p;
|
|
45
|
-
`;var u;try{u=new Function(o,"_",a)}catch(c){throw c.source=a,c}var s=function(c){return u.call(this,c,Wn)};return s.source="function("+o+`){
|
|
46
|
-
`+a+"}",s}function Dv(e,t,r){t=Lp(t);var n=t.length;if(!n)return on(r)?r.call(e):r;for(var i=0;i<n;i++){var a=e==null?void 0:e[t[i]];a===void 0&&(a=r,i=n),e=on(a)?a.call(e):a}return e}var GSe=0;function One(e){var t=++GSe+"";return e?e+t:t}function YSe(e){var t=Wn(e);return t._chain=!0,t}function Ine(e,t,r,n,i){if(!(n instanceof t))return e.apply(r,i);var a=Ene(e.prototype),o=e.apply(a,i);return Ms(o)?o:a}var Eh=jo(function(e,t){var r=Eh.placeholder,n=function(){for(var i=0,a=t.length,o=Array(a),u=0;u<a;u++)o[u]=t[u]===r?arguments[i++]:t[u];for(;i<arguments.length;)o.push(arguments[i++]);return Ine(e,n,this,this,o)};return n});Eh.placeholder=Wn;var Ku=jo(function(e,t,r){if(!on(e))throw new TypeError("Bind must be called on a function");var n=jo(function(i){return Ine(e,n,t,this,r.concat(i))});return n}),ps=lne(Uo);function If(e,t,r,n){if(n=n||[],!t&&t!==0)t=1/0;else if(t<=0)return n.concat(e);for(var i=n.length,a=0,o=Uo(e);a<o;a++){var u=e[a];if(ps(u)&&(fc(u)||OD(u)))if(t>1)If(u,t-1,r,n),i=n.length;else for(var s=0,c=u.length;s<c;)n[i++]=u[s++];else r||(n[i++]=u)}return n}var KSe=jo(function(e,t){t=If(t,!1,!1);var r=t.length;if(r<1)throw new Error("bindAll must be passed function names");for(;r--;){var n=t[r];e[n]=Ku(e[n],e)}return e});function Pne(e,t){var r=function(n){var i=r.cache,a=""+(t?t.apply(this,arguments):n);return dc(i,a)||(i[a]=e.apply(this,arguments)),i[a]};return r.cache={},r}var Dne=jo(function(e,t,r){return setTimeout(function(){return e.apply(null,r)},t)}),XSe=Eh(Dne,Wn,1);function kne(e,t,r){var n,i,a,o,u=0;r||(r={});var s=function(){u=r.leading===!1?0:Kv(),n=null,o=e.apply(i,a),n||(i=a=null)},c=function(){var d=Kv();!u&&r.leading===!1&&(u=d);var h=t-(d-u);return i=this,a=arguments,h<=0||h>t?(n&&(clearTimeout(n),n=null),u=d,o=e.apply(i,a),n||(i=a=null)):!n&&r.trailing!==!1&&(n=setTimeout(s,h)),o};return c.cancel=function(){clearTimeout(n),u=0,n=i=a=null},c}function Nne(e,t,r){var n,i,a,o,u,s=function(){var d=Kv()-i;t>d?n=setTimeout(s,t-d):(n=null,r||(o=e.apply(u,a)),n||(a=u=null))},c=jo(function(d){return u=this,a=d,i=Kv(),n||(n=setTimeout(s,t),r&&(o=e.apply(u,a))),o});return c.cancel=function(){clearTimeout(n),n=a=u=null},c}function QSe(e,t){return Eh(t,e)}function $D(e){return function(){return!e.apply(this,arguments)}}function JSe(){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 ZSe(e,t){return function(){if(--e<1)return t.apply(this,arguments)}}function Lne(e,t){var r;return function(){return--e>0&&(r=t.apply(this,arguments)),e<=1&&(t=null),r}}var eEe=Eh(Lne,2);function Mne(e,t,r){t=Bo(t,r);for(var n=sa(e),i,a=0,o=n.length;a<o;a++)if(i=n[a],t(e[i],i,e))return i}function $ne(e){return function(t,r,n){r=Bo(r,n);for(var i=Uo(t),a=e>0?0:i-1;a>=0&&a<i;a+=e)if(r(t[a],a,t))return a;return-1}}var N_=$ne(1),Fne=$ne(-1);function jne(e,t,r,n){r=Bo(r,n,1);for(var i=r(t),a=0,o=Uo(e);a<o;){var u=Math.floor((a+o)/2);r(e[u])<i?a=u+1:o=u}return a}function Une(e,t,r){return function(n,i,a){var o=0,u=Uo(n);if(typeof a=="number")e>0?o=a>=0?a:Math.max(a+u,o):u=a>=0?Math.min(a+1,u):a+u+1;else if(r&&a&&u)return a=r(n,i),n[a]===i?a:-1;if(i!==i)return a=t(kp.call(n,o,u),sne),a>=0?a+o:-1;for(a=e>0?o:u-1;a>=0&&a<u;a+=e)if(n[a]===i)return a;return-1}}var qne=Une(1,N_,jne),tEe=Une(-1,Fne);function bI(e,t,r){var n=ps(e)?N_:Mne,i=n(e,t,r);if(i!==void 0&&i!==-1)return e[i]}function Vne(e,t){return bI(e,Yv(t))}function Ja(e,t,r){t=Mp(t,r);var n,i;if(ps(e))for(n=0,i=e.length;n<i;n++)t(e[n],n,e);else{var a=sa(e);for(n=0,i=a.length;n<i;n++)t(e[a[n]],a[n],e)}return e}function nf(e,t,r){t=Bo(t,r);for(var n=!ps(e)&&sa(e),i=(n||e).length,a=Array(i),o=0;o<i;o++){var u=n?n[o]:o;a[o]=t(e[u],u,e)}return a}function Bne(e){var t=function(r,n,i,a){var o=!ps(r)&&sa(r),u=(o||r).length,s=e>0?0:u-1;for(a||(i=r[o?o[s]:s],s+=e);s>=0&&s<u;s+=e){var c=o?o[s]:s;i=n(i,r[c],c,r)}return i};return function(r,n,i,a){var o=arguments.length>=3;return t(r,Mp(n,a,4),i,o)}}var Pm=Bne(1),BW=Bne(-1);function af(e,t,r){var n=[];return t=Bo(t,r),Ja(e,function(i,a,o){t(i,a,o)&&n.push(i)}),n}function rEe(e,t,r){return af(e,$D(Bo(t)),r)}function TI(e,t,r){t=Bo(t,r);for(var n=!ps(e)&&sa(e),i=(n||e).length,a=0;a<i;a++){var o=n?n[a]:a;if(!t(e[o],o,e))return!1}return!0}function RI(e,t,r){t=Bo(t,r);for(var n=!ps(e)&&sa(e),i=(n||e).length,a=0;a<i;a++){var o=n?n[a]:a;if(t(e[o],o,e))return!0}return!1}function sl(e,t,r,n){return ps(e)||(e=hc(e)),(typeof r!="number"||n)&&(r=0),qne(e,t,r)>=0}var nEe=jo(function(e,t,r){var n,i;return on(t)?i=t:(t=Lp(t),n=t.slice(0,-1),t=t[t.length-1]),nf(e,function(a){var o=i;if(!o){if(n&&n.length&&(a=ND(a,n)),a==null)return;o=a[t]}return o==null?o:o.apply(a,r)})});function FD(e,t){return nf(e,LD(t))}function Hne(e,t){return af(e,Yv(t))}function jD(e,t,r){var n=-1/0,i=-1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ps(e)?e:hc(e);for(var u=0,s=e.length;u<s;u++)a=e[u],a!=null&&a>n&&(n=a)}else t=Bo(t,r),Ja(e,function(c,d,h){o=t(c,d,h),(o>i||o===-1/0&&n===-1/0)&&(n=c,i=o)});return n}function iEe(e,t,r){var n=1/0,i=1/0,a,o;if(t==null||typeof t=="number"&&typeof e[0]!="object"&&e!=null){e=ps(e)?e:hc(e);for(var u=0,s=e.length;u<s;u++)a=e[u],a!=null&&a<n&&(n=a)}else t=Bo(t,r),Ja(e,function(c,d,h){o=t(c,d,h),(o<i||o===1/0&&n===1/0)&&(n=c,i=o)});return n}var aEe=/[^\ud800-\udfff]|[\ud800-\udbff][\udc00-\udfff]|[\ud800-\udfff]/g;function zne(e){return e?fc(e)?kp.call(e):CD(e)?e.match(aEe):ps(e)?nf(e,k_):hc(e):[]}function Wne(e,t,r){if(t==null||r)return ps(e)||(e=hc(e)),e[wI(e.length-1)];var n=zne(e),i=Uo(n);t=Math.max(Math.min(t,i),0);for(var a=i-1,o=0;o<t;o++){var u=wI(o,a),s=n[o];n[o]=n[u],n[u]=s}return n.slice(0,t)}function Gne(e){return Wne(e,1/0)}function Yne(e,t,r){var n=0;return t=Bo(t,r),FD(nf(e,function(i,a,o){return{value:i,index:n++,criteria:t(i,a,o)}}).sort(function(i,a){var o=i.criteria,u=a.criteria;if(o!==u){if(o>u||o===void 0)return 1;if(o<u||u===void 0)return-1}return i.index-a.index}),"value")}function L_(e,t){return function(r,n,i){var a=t?[[],[]]:{};return n=Bo(n,i),Ja(r,function(o,u){var s=n(o,u,r);e(a,o,s)}),a}}var Kne=L_(function(e,t,r){dc(e,r)?e[r].push(t):e[r]=[t]}),oEe=L_(function(e,t,r){e[r]=t}),Xne=L_(function(e,t,r){dc(e,r)?e[r]++:e[r]=1}),sEe=L_(function(e,t,r){e[r?0:1].push(t)},!0);function uEe(e){return e==null?0:ps(e)?e.length:sa(e).length}function lEe(e,t,r){return t in r}var UD=jo(function(e,t){var r={},n=t[0];if(e==null)return r;on(n)?(t.length>1&&(n=Mp(n,t[1])),t=Np(e)):(n=lEe,t=If(t,!1,!1),e=Object(e));for(var i=0,a=t.length;i<a;i++){var o=t[i],u=e[o];n(u,o,e)&&(r[o]=u)}return r}),M_=jo(function(e,t){var r=t[0],n;return on(r)?(r=$D(r),t.length>1&&(n=t[1])):(t=nf(If(t,!1,!1),String),r=function(i,a){return!sl(t,a)}),UD(e,r,n)});function Qne(e,t,r){return kp.call(e,0,Math.max(0,e.length-(t==null||r?1:t)))}function kv(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[0]:Qne(e,e.length-t)}function Dm(e,t,r){return kp.call(e,t==null||r?1:t)}function xI(e,t,r){return e==null||e.length<1?t==null||r?void 0:[]:t==null||r?e[e.length-1]:Dm(e,Math.max(0,e.length-t))}function cEe(e){return af(e,Boolean)}function Jne(e,t){return If(e,t,!1)}var Zne=jo(function(e,t){return t=If(t,!0,!0),af(e,function(r){return!sl(t,r)})}),CI=jo(function(e,t){return Zne(e,t)});function Xv(e,t,r,n){tne(t)||(n=r,r=t,t=!1),r!=null&&(r=Bo(r,n));for(var i=[],a=[],o=0,u=Uo(e);o<u;o++){var s=e[o],c=r?r(s,o,e):s;t&&!r?((!o||a!==c)&&i.push(s),a=c):r?sl(a,c)||(a.push(c),i.push(s)):sl(i,s)||i.push(s)}return i}var fEe=jo(function(e){return Xv(If(e,!0,!0))});function eie(e){for(var t=[],r=arguments.length,n=0,i=Uo(e);n<i;n++){var a=e[n];if(!sl(t,a)){var o;for(o=1;o<r&&sl(arguments[o],a);o++);o===r&&t.push(a)}}return t}function AI(e){for(var t=e&&jD(e,Uo).length||0,r=Array(t),n=0;n<t;n++)r[n]=FD(e,n);return r}var dEe=jo(AI);function tie(e,t){for(var r={},n=0,i=Uo(e);n<i;n++)t?r[e[n]]=t[n]:r[e[n][0]]=e[n][1];return r}function hEe(e,t,r){t==null&&(t=e||0,e=0),r||(r=t<e?-1:1);for(var n=Math.max(Math.ceil((t-e)/r),0),i=Array(n),a=0;a<n;a++,e+=r)i[a]=e;return i}function rie(e,t){if(t==null||t<1)return[];for(var r=[],n=0,i=e.length;n<i;)r.push(kp.call(e,n,n+=t));return r}function qD(e,t){return e._chain?Wn(t).chain():t}function nie(e){return Ja(EI(e),function(t){var r=Wn[t]=e[t];Wn.prototype[t]=function(){var n=[this._wrapped];return aSe.apply(n,arguments),qD(this,r.apply(Wn,n))}}),Wn}Ja(["pop","push","reverse","shift","sort","splice","unshift"],function(e){var t=D_[e];Wn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(t.apply(r,arguments),(e==="shift"||e==="splice")&&r.length===0&&delete r[0]),qD(this,r)}});Ja(["concat","join","slice"],function(e){var t=D_[e];Wn.prototype[e]=function(){var r=this._wrapped;return r!=null&&(r=t.apply(r,arguments)),qD(this,r)}});var vEe={__proto__:null,VERSION:Jre,restArguments:jo,isObject:Ms,isNull:dSe,isUndefined:iy,isBoolean:tne,isElement:hSe,isString:CD,isNumber:Ld,isDate:vSe,isRegExp:pSe,isError:gSe,isSymbol:rne,isArrayBuffer:nne,isDataView:ay,isArray:fc,isFunction:on,isArguments:OD,isFinite:SSe,isNaN:sne,isTypedArray:fne,isEmpty:Gv,isMatch:hne,isEqual:pne,isMap:CSe,isWeakMap:ASe,isSet:OSe,isWeakSet:ISe,keys:sa,allKeys:Np,values:hc,pairs:PSe,invert:_ne,functions:EI,methods:EI,extend:ko,extendOwn:sy,assign:sy,defaults:Sne,create:kSe,clone:wne,tap:NSe,get:Tne,has:uy,mapObject:LSe,identity:k_,constant:une,noop:xne,toPath:bne,property:LD,propertyOf:MSe,matcher:Yv,matches:Yv,times:$Se,random:wI,now:Kv,escape:FSe,unescape:USe,templateSettings:qSe,template:WSe,result:Dv,uniqueId:One,chain:YSe,iteratee:MD,partial:Eh,bind:Ku,bindAll:KSe,memoize:Pne,delay:Dne,defer:XSe,throttle:kne,debounce:Nne,wrap:QSe,negate:$D,compose:JSe,after:ZSe,before:Lne,once:eEe,findKey:Mne,findIndex:N_,findLastIndex:Fne,sortedIndex:jne,indexOf:qne,lastIndexOf:tEe,find:bI,detect:bI,findWhere:Vne,each:Ja,forEach:Ja,map:nf,collect:nf,reduce:Pm,foldl:Pm,inject:Pm,reduceRight:BW,foldr:BW,filter:af,select:af,reject:rEe,every:TI,all:TI,some:RI,any:RI,contains:sl,includes:sl,include:sl,invoke:nEe,pluck:FD,where:Hne,max:jD,min:iEe,shuffle:Gne,sample:Wne,sortBy:Yne,groupBy:Kne,indexBy:oEe,countBy:Xne,partition:sEe,toArray:zne,size:uEe,pick:UD,omit:M_,first:kv,head:kv,take:kv,initial:Qne,last:xI,rest:Dm,tail:Dm,drop:Dm,compact:cEe,flatten:Jne,without:CI,uniq:Xv,unique:Xv,union:fEe,intersection:eie,difference:Zne,unzip:AI,transpose:AI,zip:dEe,object:tie,range:hEe,chunk:rie,mixin:nie,default:Wn},tt=nie(vEe);tt._=tt;const $n={SHELL:"global:shell",ALERT:"global:alert",POPUP:"global:popup"},Fn={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"},pEe=/\/+$/g,gEe=$r.history.getFragment.bind($r.history);ko($r.history,{getFragment(e){return gEe(e).replace(pEe,"")}});const Yn={GetQuery(){return Yn.DeserializeQueryParams(window.location.search.substring(1))},UpdateQuery(e){if(!e)return;const t=Yn.GetQuery();let r=Yn.SerializeQueryParams(ko(t,e));r&&(r=`?${r}`),Yn.UpdateUrl(`${Yn.GetCurrentPath()}${r}`,null,{replace:!0,trigger:!1})},UpdateUrl(e,t,r){const n=Kn.buildRoute(e,t);$r.history.navigate(n,r),$r.Radio.channel($n.SHELL).trigger(Fn.URL_CHANGE,t,r)},SerializeQueryParams(e){if(!e)return"";if(typeof e=="string")return e;const t=[],r=(n,i)=>`${encodeURIComponent(n)}=${encodeURIComponent(i)}`;return Object.keys(e).sort().forEach(n=>{const i=e[n];if(!(typeof i>"u"||i===null)){if(Array.isArray(i)){i.forEach(a=>{t.push(r(n,a))});return}t.push(r(n,i))}}),t.join("&")},DeserializeQueryParams(e){return e?Pm(e.split("&"),(t,r)=>{const n=r.split("="),i=n[0],a=n.length>0?decodeURIComponent(n[1]):"";return t[i]?t[i]instanceof Array?(t[i].push(a),t):(t[i]=[t[i],a],t):(t[i]=a,t)},{}):{}},StartHistory(){$r.History.started&&$r.history.stop(),$r.history.start({pushState:!0})},PageLoad(e,t=!1,r){if(!t){window.location.href=e;return}window.open(e,"_blank",r)},Redirect(e,t=!0){const r=()=>t?window.location.replace(e):window.location.href=e;es.hasActiveRoute()?$r.Radio.channel($n.SHELL).once("routing:end",r):r()},Reload(){window.location.reload()},GetCurrentPath(){return window.location.pathname},GetCurrentQueryString(){return window.location.search},GetCurrentPathAndQuery(){return window.location.pathname+window.location.search},GetCurrentUrl(){return window.location.href},GetCurrentReferrer(){return document.referrer},GetCurrentOrigin(){return window.location.origin},GetCurrentHostname(){return window.location.hostname},SetPageTitle(e){document.title=e}},mEe=/((\(\?)?:\w+)|(\*\w+)/,yEe=/[\(\)]/g,_Ee=/\(\/\)/g,SEe=/\/$/,EEe=/\([^)]*\)/g,es={routingStarted(){$r.Radio.channel($n.SHELL).trigger(Fn.ROUTING_START)},routingEnded(){if(!es.hasActiveRoute())return;$r.Radio.channel($n.SHELL).trigger(Fn.ROUTING_END)},hasActiveRoute(){return $r.Radio.channel($n.SHELL).request(Fn.HAS_ACTIVE_ROUTE)}},HW=(e,t={})=>{t.usedHelper=!0;const{application:r,action:n}=e;$r.Radio.channel(r).trigger(n,e,t)},Kn={getHref(e,t){if(!e)return"";const{application:r,action:n,args:i,params:a}=e,o=$r.Radio.channel($n.SHELL),u={...t,middlewareOptions:{buildHref:!0,...t==null?void 0:t.middlewareOptions}},s=o.request(Fn.ROUTE_LOOKUP,`${r}:${n}`,i,a,u);return s===!1?"":`/${s}`},buildRoute(e,t,r){if(!t)return e;const n=t.args,i=t.params;if(Ja(n,o=>{e=e.replace(mEe,o||"")}),r!=null&&r.excludeOptionalRoute&&(e=e.replace(EEe,"")),e=e.replace(_Ee,""),e=e.replace(yEe,""),e=e.replace(SEe,""),!i)return e;const a=Yn.SerializeQueryParams(i);return a.length?`${e}?${a}`:e},trigger(e,t){if(!e)return;if(!es.hasActiveRoute()){HW(e,t);return}$r.Radio.channel($n.SHELL).once("routing:end",()=>{HW(e,t)})},getCurrentAppLink(){return $r.Radio.channel($n.SHELL).request(Fn.CURRENT_ROUTE)},getAppLinkString(e){return e?e.application+e.action:""},isEqual(e,t,r={args:!0,params:!0}){if((e==null?void 0:e.application)!==(t==null?void 0:t.application)||(e==null?void 0:e.action)!==(t==null?void 0:t.action))return!1;const n=((e==null?void 0:e.args)??[]).join(","),i=(t.args??[]).join(",");if(r.args&&n!==i)return!1;const a=Yn.SerializeQueryParams((e==null?void 0:e.params)??{}),o=Yn.SerializeQueryParams((t==null?void 0:t.params)??{});return!(r.params&&a!==o)}};var wEe="4.1.3",$p=oa.Model.extend,VD=function(t){var r=this;if(t)return tt.reduce(t,function(n,i,a){return tt.isFunction(i)||(i=r[i]),i&&(n[a]=i),n},{})},zW=["description","fileName","lineNumber","name","message","number","url"],Pa=$p.call(Error,{urlRoot:"http://marionettejs.com/docs/v".concat(wEe,"/"),url:"",constructor:function(t){var r=Error.call(this,t.message);tt.extend(this,tt.pick(r,zW),tt.pick(t,zW)),Error.captureStackTrace&&this.captureStackTrace(),this.url=this.urlRoot+this.url},captureStackTrace:function(){Error.captureStackTrace(this,Pa)},toString:function(){return"".concat(this.name,": ").concat(this.message," See: ").concat(this.url)}});function iie(e,t){if(!tt.isObject(t))throw new Pa({message:"Bindings must be an object.",url:"common.html#bindevents"});return VD.call(e,t)}function bEe(e,t){return!e||!t?this:(this.listenTo(e,iie(this,t)),this)}function TEe(e,t){return e?t?(this.stopListening(e,iie(this,t)),this):(this.stopListening(e),this):this}function aie(e,t){if(!tt.isObject(t))throw new Pa({message:"Bindings must be an object.",url:"common.html#bindrequests"});return VD.call(e,t)}function REe(e,t){return!e||!t?this:(e.reply(aie(this,t),this),this)}function xEe(e,t){return e?t?(e.stopReplying(aie(this,t),this),this):(e.stopReplying(null,null,this),this):this}var oie=function(t){if(t)return this.options&&this.options[t]!==void 0?this.options[t]:this[t]},CEe=function(t,r){var n=this;t&&tt.each(r,function(i){var a=t[i];a!==void 0&&(n[i]=a)})};function $_(e,t,r){e._getImmediateChildren&&tt.each(e._getImmediateChildren(),function(n){r(n)&&n.triggerMethod(t,n)})}function sie(e){return!e._isAttached}function AEe(e){return sie(e)?(e._isAttached=!0,!0):!1}function OEe(e){return e._isAttached}function IEe(e){return e._isAttached=!1,!0}function uie(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:refresh",e)}function lie(e){e._isAttached&&e._isRendered&&e.triggerMethod("dom:remove",e)}function PEe(){$_(this,"before:attach",sie)}function DEe(){$_(this,"attach",AEe),uie(this)}function kEe(){$_(this,"before:detach",OEe),lie(this)}function NEe(){$_(this,"detach",IEe)}function LEe(){lie(this)}function MEe(){uie(this)}function ly(e){e._areViewEventsMonitored||e.monitorViewEvents===!1||(e._areViewEventsMonitored=!0,e.on({"before:attach":PEe,attach:DEe,"before:detach":kEe,detach:NEe,"before:render":LEe,render:MEe}))}var $Ee=/(^|:)(\w)/gi,uR={};function FEe(e,t,r){return r.toUpperCase()}var jEe=function(t){return uR[t]||(uR[t]="on"+t.replace($Ee,FEe)),uR[t]};function UEe(e){var t=jEe(e),r=oie.call(this,t),n;return tt.isFunction(r)&&(n=r.apply(this,tt.drop(arguments))),this.trigger.apply(this,arguments),n}var wh={normalizeMethods:VD,_setOptions:function(t,r){this.options=tt.extend({},tt.result(this,"options"),t),this.mergeOptions(t,r)},mergeOptions:CEe,getOption:oie,bindEvents:bEe,unbindEvents:TEe,bindRequests:REe,unbindRequests:xEe,triggerMethod:UEe};tt.extend(wh,oa.Events);var cie={_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)}},fie={_initRadio:function(){var t=tt.result(this,"channelName");if(t){if(!NW)throw new Pa({message:'The dependency "backbone.radio" is missing.',url:"backbone.radio.html#marionette-integration"});var r=this._channel=NW.channel(t),n=tt.result(this,"radioEvents");this.bindEvents(r,n);var i=tt.result(this,"radioRequests");this.bindRequests(r,i),this.on("destroy",this._destroyRadio)}},_destroyRadio:function(){this._channel.stopReplying(null,null,this)},getChannel:function(){return this._channel}},qEe=["channelName","radioEvents","radioRequests"],Pf=function(t){this._setOptions(t,qEe),this.cid=tt.uniqueId(this.cidPrefix),this._initRadio(),this.initialize.apply(this,arguments)};Pf.extend=$p;tt.extend(Pf.prototype,wh,cie,fie,{cidPrefix:"mno",initialize:function(){}});var Ys=tt.invokeMap||tt.invoke;function VEe(e){if(e.behaviorClass)return{BehaviorClass:e.behaviorClass,options:e};if(tt.isFunction(e))return{BehaviorClass:e,options:{}};throw new Pa({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 die(e,t,r){return tt.reduce(t,function(n,i){var a=VEe(i),o=a.BehaviorClass,u=a.options,s=new o(u,e);return n.push(s),die(e,tt.result(s,"behaviors"),n)},r)}var BEe={_initBehaviors:function(){this._behaviors=die(this,tt.result(this,"behaviors"),[])},_getBehaviorTriggers:function(){var t=Ys(this._behaviors,"_getTriggers");return tt.reduce(t,function(r,n){return tt.extend(r,n)},{})},_getBehaviorEvents:function(){var t=Ys(this._behaviors,"_getEvents");return tt.reduce(t,function(r,n){return tt.extend(r,n)},{})},_proxyBehaviorViewProperties:function(){Ys(this._behaviors,"proxyViewProperties")},_delegateBehaviorEntityEvents:function(){Ys(this._behaviors,"delegateEntityEvents")},_undelegateBehaviorEntityEvents:function(){Ys(this._behaviors,"undelegateEntityEvents")},_destroyBehaviors:function(t){Ys(this._behaviors,"destroy",t)},_removeBehavior:function(t){this._isDestroyed||(this.undelegate(".trig".concat(t.cid," .").concat(t.cid)),this._behaviors=tt.without(this._behaviors,t))},_bindBehaviorUIElements:function(){Ys(this._behaviors,"bindUIElements")},_unbindBehaviorUIElements:function(){Ys(this._behaviors,"unbindUIElements")},_triggerEventOnBehaviors:function(t,r,n){Ys(this._behaviors,"triggerMethod",t,r,n)}},hie={_delegateEntityEvents:function(t,r){t&&(this._modelEvents=tt.result(this,"modelEvents"),this.bindEvents(t,this._modelEvents)),r&&(this._collectionEvents=tt.result(this,"collectionEvents"),this.bindEvents(r,this._collectionEvents))},_undelegateEntityEvents:function(t,r){this._modelEvents&&(this.unbindEvents(t,this._modelEvents),delete this._modelEvents),this._collectionEvents&&(this.unbindEvents(r,this._collectionEvents),delete this._collectionEvents)},_deleteEntityEventHandlers:function(){delete this._modelEvents,delete this._collectionEvents}},HEe={_renderTemplate:function(t){var r=this.mixinTemplateContext(this.serializeData())||{},n=this._renderHtml(t,r);typeof n<"u"&&this.attachElContent(n)},getTemplate:function(){return this.template},mixinTemplateContext:function(t){var r=tt.result(this,"templateContext");return r?t?tt.extend({},t,r):r:t},serializeData:function(){if(this.model)return this.serializeModel();if(this.collection)return{items:this.serializeCollection()}},serializeModel:function(){return this.model.attributes},serializeCollection:function(){return tt.map(this.collection.models,function(t){return t.attributes})},_renderHtml:function(t,r){return t(r)},attachElContent:function(t){this.Dom.setContents(this.el,t,this.$el)}},zEe=/^(\S+)\s*(.*)$/,vie=function(t,r){var n=t.match(zEe);return"".concat(n[1],".").concat(r," ").concat(n[2])},WEe={childViewEventPrefix:!1,triggersStopPropagation:!0,triggersPreventDefault:!0,DEV_MODE:!1};function OI(e){return!!WEe[e]}function GEe(e,t){tt.isString(t)&&(t={event:t});var r=t.event,n=!!t.preventDefault;OI("triggersPreventDefault")&&(n=t.preventDefault!==!1);var i=!!t.stopPropagation;return OI("triggersStopPropagation")&&(i=t.stopPropagation!==!1),function(a){n&&a.preventDefault(),i&&a.stopPropagation();for(var o=arguments.length,u=new Array(o>1?o-1:0),s=1;s<o;s++)u[s-1]=arguments[s];e.triggerMethod.apply(e,[r,e,a].concat(u))}}var pie={_getViewTriggers:function(t,r){var n=this;return tt.reduce(r,function(i,a,o){return o=vie(o,"trig".concat(n.cid)),i[o]=GEe(t,a),i},{})}},YEe=function(t,r){return tt.reduce(t,function(n,i,a){var o=cy(a,r);return n[o]=i,n},{})},KEe=/@ui\.[a-zA-Z-_$0-9]*/g,cy=function(t,r){return t.replace(KEe,function(n){return r[n.slice(4)]})},XEe=function(t,r,n){return tt.each(t,function(i,a){if(tt.isString(i))t[a]=cy(i,r);else if(i){var o=i[n];tt.isString(o)&&(i[n]=cy(o,r))}}),t},gie={normalizeUIKeys:function(t){var r=this._getUIBindings();return YEe(t,r)},normalizeUIString:function(t){var r=this._getUIBindings();return cy(t,r)},normalizeUIValues:function(t,r){var n=this._getUIBindings();return XEe(t,n,r)},_getUIBindings:function(){var t=tt.result(this,"_uiBindings");return t||tt.result(this,"ui")},_bindUIElements:function(){var t=this;if(this.ui){this._uiBindings||(this._uiBindings=this.ui);var r=tt.result(this,"_uiBindings");this._ui={},tt.each(r,function(n,i){t._ui[i]=t.$(n)}),this.ui=this._ui}},_unbindUIElements:function(){var t=this;!this.ui||!this._uiBindings||(tt.each(this.ui,function(r,n){delete t.ui[n]}),this.ui=this._uiBindings,delete this._uiBindings,delete this._ui)},_getUI:function(t){return this._ui[t]}};function Dc(e){return e instanceof oa.$?e:oa.$(e)}function BD(e){return this.prototype.Dom=tt.extend({},this.prototype.Dom,e),this}var mie={createBuffer:function(){return document.createDocumentFragment()},getDocumentEl:function(t){return t.ownerDocument.documentElement},getEl:function(t){return Dc(t)},findEl:function(t,r){return Dc(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]:Dc(t);r.detach()},replaceEl:function(t,r){if(t!==r){var n=r.parentNode;n&&n.replaceChild(t,r)}},swapEl:function(t,r){if(t!==r){var n=t.parentNode,i=r.parentNode;if(!(!n||!i)){var a=t.nextSibling,o=r.nextSibling;n.insertBefore(r,a),i.insertBefore(t,o)}}},setContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:Dc(t);n.html(r)},appendContents:function(t,r){var n=arguments.length>2&&arguments[2]!==void 0?arguments[2]:{},i=n._$el,a=i===void 0?Dc(t):i,o=n._$contents,u=o===void 0?Dc(r):o;a.append(u)},hasContents:function(t){return!!t&&t.hasChildNodes()},detachContents:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:Dc(t);r.contents().detach()}},HD={Dom:mie,_isElAttached:function(){return!!this.el&&this.Dom.hasEl(this.Dom.getDocumentEl(this.el),this.el)},supportsRenderLifecycle:!0,supportsDestroyLifecycle:!0,_isDestroyed:!1,isDestroyed:function(){return!!this._isDestroyed},_isRendered:!1,isRendered:function(){return!!this._isRendered},_isAttached:!1,isAttached:function(){return!!this._isAttached},delegateEvents:function(t){this._proxyBehaviorViewProperties(),this._buildEventProxies();var r=tt.extend({},this._getBehaviorEvents(),this._getEvents(t),this._getBehaviorTriggers(),this._getTriggers());return oa.View.prototype.delegateEvents.call(this,r),this},_getEvents:function(t){if(t)return this.normalizeUIKeys(t);if(this.events)return this.normalizeUIKeys(tt.result(this,"events"))},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(tt.result(this,"triggers"));return this._getViewTriggers(this,t)}},delegateEntityEvents:function(){return this._delegateEntityEvents(this.model,this.collection),this._delegateBehaviorEntityEvents(),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.model,this.collection),this._undelegateBehaviorEntityEvents(),this},destroy:function(t){if(this._isDestroyed||this._isDestroying)return this;this._isDestroying=!0;var r=this._isAttached&&!this._disableDetachEvents;return this.triggerMethod("before:destroy",this,t),r&&this.triggerMethod("before:detach",this),this.unbindUIElements(),this._removeElement(),r&&(this._isAttached=!1,this.triggerMethod("detach",this)),this._removeChildren(),this._isDestroyed=!0,this._isRendered=!1,this._destroyBehaviors(t),this._deleteEntityEventHandlers(),this.triggerMethod("destroy",this,t),this._triggerEventOnBehaviors("destroy",this,t),this.stopListening(),this},_removeElement:function(){this.$el.off().removeData(),this.Dom.detachEl(this.el,this.$el)},bindUIElements:function(){return this._bindUIElements(),this._bindBehaviorUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this._unbindBehaviorUIElements(),this},getUI:function(t){return this._getUI(t)},_buildEventProxies:function(){this._childViewEvents=this.normalizeMethods(tt.result(this,"childViewEvents")),this._childViewTriggers=tt.result(this,"childViewTriggers"),this._eventPrefix=this._getEventPrefix()},_getEventPrefix:function(){var t=OI("childViewEventPrefix")?"childview":!1,r=tt.result(this,"childViewEventPrefix",t);return r===!1?r:r+":"},_proxyChildViewEvents:function(t){(this._childViewEvents||this._childViewTriggers||this._eventPrefix)&&this.listenTo(t,"all",this._childViewEventHandler)},_childViewEventHandler:function(t){for(var r=this._childViewEvents,n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];r&&r[t]&&r[t].apply(this,i);var o=this._childViewTriggers;o&&o[t]&&this.triggerMethod.apply(this,[o[t]].concat(i)),this._eventPrefix&&this.triggerMethod.apply(this,[this._eventPrefix+t].concat(i))}};tt.extend(HD,BEe,wh,hie,HEe,pie,gie);function yie(e){e._isRendered||(e.supportsRenderLifecycle||e.triggerMethod("before:render",e),e.render(),e._isRendered=!0,e.supportsRenderLifecycle||e.triggerMethod("render",e))}function _ie(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 iv="RegionError",QEe=["allowMissingEl","parentEl","replaceElement"],Df=function(t){this._setOptions(t,QEe),this.cid=tt.uniqueId(this.cidPrefix),this._initEl=this.el=this.getOption("el"),this.el=this.el instanceof oa.$?this.el[0]:this.el,this.$el=this._getEl(this.el),this.initialize.apply(this,arguments)};Df.extend=$p;Df.setDomApi=BD;tt.extend(Df.prototype,wh,{Dom:mie,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 Pa({name:iv,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,yie(t),this._attachView(t,r),this.triggerMethod("show",this,t,r),this._isSwappingView=!1,this}},_getEl:function(t){if(!t)throw new Pa({name:iv,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){ly(t),this._proxyChildViewEvents(t),t.on("destroy",this._empty,this)},_proxyChildViewEvents:function(t){var r=this._parentView;r&&r._proxyChildViewEvents(t)},_shouldDisableMonitoring:function(){return this._parentView&&this._parentView.monitorViewEvents===!1},_isElAttached:function(){return this.Dom.hasEl(this.Dom.getDocumentEl(this.el),this.el)},_attachView:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.replaceElement,i=!t._isAttached&&this._isElAttached()&&!this._shouldDisableMonitoring(),a=typeof n>"u"?!!tt.result(this,"replaceElement"):!!n;i&&t.triggerMethod("before:attach",t),a?this._replaceEl(t):this.attachHtml(t),i&&(t._isAttached=!0,t.triggerMethod("attach",t)),t._isShown=!0},_ensureElement:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{};if(tt.isObject(this.el)||this._setEl(),!this.$el||this.$el.length===0){var r=typeof t.allowMissingEl>"u"?!!tt.result(this,"allowMissingEl"):!!t.allowMissingEl;if(r)return!1;throw new Pa({name:iv,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 Pa({name:iv,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 Pa({name:iv,message:'View (cid: "'.concat(t.cid,'") has already been destroyed and cannot be used.'),url:"marionette.region.html#showing-a-view"});if(t instanceof oa.View)return t;var r=this._getViewOptions(t);return new zD(r)},_getViewOptions:function(t){if(tt.isFunction(t))return{template:t};if(tt.isObject(t))return t;var r=function(){return t};return{template:r}},getEl:function(t){var r=tt.result(this,"parentEl");return r&&tt.isString(t)?this.Dom.findEl(r,t):this.Dom.getEl(t)},_replaceEl:function(t){this._restoreEl(),t.on("before:destroy",this._restoreEl,this),this.Dom.replaceEl(t.el,this.el),this._isReplaced=!0},_restoreEl:function(){if(this._isReplaced){var t=this.currentView;t&&(this._detachView(t),this._isReplaced=!1)}},isReplaced:function(){return!!this._isReplaced},isSwappingView:function(){return!!this._isSwappingView},attachHtml:function(t){this.Dom.appendContents(this.el,t.el,{_$el:this.$el,_$contents:t.$el})},empty:function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{allowMissingEl:!0},r=this.currentView;return r?(this._empty(r,!0),this):(this._ensureElement(t)&&this.detachHtml(),this)},_empty:function(t,r){t.off("destroy",this._empty,this),this.triggerMethod("before:empty",this,t),this._restoreEl(),delete this.currentView,t._isDestroyed||(r?this.removeView(t):this._detachView(t),t._isShown=!1,this._stopChildViewEvents(t)),this.triggerMethod("empty",this,t)},_stopChildViewEvents:function(t){var r=this._parentView;r&&this._parentView.stopListening(t)},destroyView:function(t){return t._isDestroyed||_ie(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 Sie(e,t){if(e instanceof Df)return e;if(tt.isString(e))return lR(t,{el:e});if(tt.isFunction(e))return lR(t,{regionClass:e});if(tt.isObject(e))return lR(t,e);throw new Pa({message:"Improper region configuration type.",url:"marionette.region.html#defining-regions"})}function lR(e,t){var r=tt.extend({},e,t),n=r.regionClass;return delete r.regionClass,new n(r)}var JEe={regionClass:Df,_initRegions:function(){this.regions=this.regions||{},this._regions={},this.addRegions(tt.result(this,"regions"))},_reInitRegions:function(){Ys(this._regions,"reset")},addRegion:function(t,r){var n={};return n[t]=r,this.addRegions(n)[t]},addRegions:function(t){if(!tt.isEmpty(t))return t=this.normalizeUIValues(t,"el"),this.regions=tt.extend({},this.regions,t),this._addRegions(t)},_addRegions:function(t){var r=this,n={regionClass:this.regionClass,parentEl:tt.partial(tt.result,this,"el")};return tt.reduce(t,function(i,a,o){return i[o]=Sie(a,n),r._addRegion(i[o],o),i},{})},_addRegion:function(t,r){this.triggerMethod("before:add:region",this,r,t),t._parentView=this,t._name=r,this._regions[r]=t,this.triggerMethod("add:region",this,r,t)},removeRegion:function(t){var r=this._regions[t];return this._removeRegion(r,t),r},removeRegions:function(){var t=this._getRegions();return tt.each(this._regions,this._removeRegion.bind(this)),t},_removeRegion:function(t,r){this.triggerMethod("before:remove:region",this,r,t),t.destroy(),this.triggerMethod("remove:region",this,r,t)},_removeReferences:function(t){delete this.regions[t],delete this._regions[t]},emptyRegions:function(){var t=this.getRegions();return Ys(t,"empty"),t},hasRegion:function(t){return!!this.getRegion(t)},getRegion:function(t){return this._isRendered||this.render(),this._regions[t]},_getRegions:function(){return tt.clone(this._regions)},getRegions:function(){return this._isRendered||this.render(),this._getRegions()},showChildView:function(t,r,n){var i=this.getRegion(t);return i.show(r,n),r},detachChildView:function(t){return this.getRegion(t).detachView()},getChildView:function(t){return this.getRegion(t).currentView}};function Eie(e){return this.prototype._renderHtml=e,this}var ZEe=["behaviors","childViewEventPrefix","childViewEvents","childViewTriggers","collectionEvents","events","modelEvents","regionClass","regions","template","templateContext","triggers","ui"];function ewe(e,t){return t.currentView&&e.push(t.currentView),e}var zD=oa.View.extend({constructor:function(t){this._setOptions(t,ZEe),ly(this),this._initBehaviors(),this._initRegions(),oa.View.prototype.constructor.apply(this,arguments),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},setElement:function(){return oa.View.prototype.setElement.apply(this,arguments),this._isRendered=this.Dom.hasContents(this.el),this._isAttached=this._isElAttached(),this._isRendered&&this.bindUIElements(),this},render:function(){var t=this.getTemplate();return t===!1||this._isDestroyed?this:(this.triggerMethod("before:render",this),this._isRendered&&this._reInitRegions(),this._renderTemplate(t),this.bindUIElements(),this._isRendered=!0,this.triggerMethod("render",this),this)},_removeChildren:function(){this.removeRegions()},_getImmediateChildren:function(){return tt.reduce(this._regions,ewe,[])}},{setRenderer:Eie,setDomApi:BD});tt.extend(zD.prototype,HD,JEe);var fy=function(){this._init()},twe=["forEach","each","map","find","detect","filter","select","reject","every","all","some","any","include","contains","invoke","toArray","first","initial","rest","last","without","isEmpty","pluck","reduce","partition"];tt.each(twe,function(e){fy.prototype[e]=function(){for(var t=arguments.length,r=new Array(t),n=0;n<t;n++)r[n]=arguments[n];return tt[e].apply(tt,[this._views].concat(r))}});function rwe(e,t){return t.model&&t.model.get(e)}tt.extend(fy.prototype,{_init:function(){this._views=[],this._viewsByCid={},this._indexByModel={},this._updateLength()},_add:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:this._views.length;this._addViewIndexes(t),this._views.splice(r,0,t),this._updateLength()},_addViewIndexes:function(t){this._viewsByCid[t.cid]=t,t.model&&(this._indexByModel[t.model.cid]=t)},_sort:function(t,r){return typeof t=="string"?(t=tt.partial(rwe,t),this._sortBy(t)):t.length===1?this._sortBy(t.bind(r)):this._views.sort(t.bind(r))},_sortBy:function(t){var r=tt.sortBy(this._views,t);return this._set(r),r},_set:function(t,r){this._views.length=0,this._views.push.apply(this._views,t.slice(0)),r&&(this._viewsByCid={},this._indexByModel={},tt.each(t,this._addViewIndexes.bind(this)),this._updateLength())},_swap:function(t,r){var n=this.findIndexByView(t),i=this.findIndexByView(r);if(!(n===-1||i===-1)){var a=this._views[n];this._views[n]=this._views[i],this._views[i]=a}},findByModel:function(t){return this.findByModelCid(t.cid)},findByModelCid:function(t){return this._indexByModel[t]},findByIndex:function(t){return this._views[t]},findIndexByView:function(t){return this._views.indexOf(t)},findByCid:function(t){return this._viewsByCid[t]},hasView:function(t){return!!this.findByCid(t.cid)},_remove:function(t){if(this._viewsByCid[t.cid]){t.model&&delete this._indexByModel[t.model.cid],delete this._viewsByCid[t.cid];var r=this.findIndexByView(t);this._views.splice(r,1),this._updateLength()}},_updateLength:function(){this.length=this._views.length}});var vd="CollectionViewError",nwe=["behaviors","childView","childViewContainer","childViewEventPrefix","childViewEvents","childViewOptions","childViewTriggers","collectionEvents","emptyView","emptyViewOptions","events","modelEvents","sortWithCollection","template","templateContext","triggers","ui","viewComparator","viewFilter"],iwe=oa.View.extend({sortWithCollection:!0,constructor:function(t){this._setOptions(t,nwe),ly(this),this._initChildViewStorage(),this._initBehaviors(),oa.View.prototype.constructor.apply(this,arguments),this.getEmptyRegion(),this.delegateEntityEvents(),this._triggerEventOnBehaviors("initialize",this,t)},_initChildViewStorage:function(){this._children=new fy,this.children=new fy},getEmptyRegion:function(){var t=this.$container||this.$el;return this._emptyRegion&&!this._emptyRegion.isDestroyed()?(this._emptyRegion._setElement(t[0]),this._emptyRegion):(this._emptyRegion=new Df({el:t[0],replaceElement:!1}),this._emptyRegion._parentView=this,this._emptyRegion)},_initialEvents:function(){this._isRendered||this.listenTo(this.collection,{sort:this._onCollectionSort,reset:this._onCollectionReset,update:this._onCollectionUpdate})},_onCollectionSort:function(t,r){var n=r.add,i=r.merge,a=r.remove;!this.sortWithCollection||this.viewComparator===!1||n||a||i||this.sort()},_onCollectionReset:function(){this._destroyChildren(),this._addChildModels(this.collection.models),this.sort()},_onCollectionUpdate:function(t,r){var n=r.changes,i=n.removed.length&&this._removeChildModels(n.removed);this._addedViews=n.added.length&&this._addChildModels(n.added),this._detachChildren(i),this.sort(),this._removeChildViews(i)},_removeChildModels:function(t){var r=this;return tt.reduce(t,function(n,i){var a=r._removeChildModel(i);return a&&n.push(a),n},[])},_removeChildModel:function(t){var r=this._children.findByModel(t);return r&&this._removeChild(r),r},_removeChild:function(t){this.triggerMethod("before:remove:child",this,t),this.children._remove(t),this._children._remove(t),this.triggerMethod("remove:child",this,t)},_addChildModels:function(t){return tt.map(t,this._addChildModel.bind(this))},_addChildModel:function(t){var r=this._createChildView(t);return this._addChild(r),r},_createChildView:function(t){var r=this._getChildView(t),n=this._getChildViewOptions(t),i=this.buildChildView(t,r,n);return i},_addChild:function(t,r){this.triggerMethod("before:add:child",this,t),this._setupChildView(t),this._children._add(t,r),this.children._add(t,r),this.triggerMethod("add:child",this,t)},_getChildView:function(t){var r=this.childView;if(!r)throw new Pa({name:vd,message:'A "childView" must be specified',url:"marionette.collectionview.html#collectionviews-childview"});if(r=this._getView(r,t),!r)throw new Pa({name:vd,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 oa.View||t===oa.View)return t;if(tt.isFunction(t))return t.call(this,r)},_getChildViewOptions:function(t){return tt.isFunction(this.childViewOptions)?this.childViewOptions(t):this.childViewOptions},buildChildView:function(t,r,n){var i=tt.extend({model:t},n);return new r(i)},_setupChildView:function(t){ly(t),t.on("destroy",this.removeChildView,this),this._proxyChildViewEvents(t)},_getImmediateChildren:function(){return this.children._views},setElement:function(){return oa.View.prototype.setElement.apply(this,arguments),this._isAttached=this._isElAttached(),this},render:function(){if(this._isDestroyed)return this;this.triggerMethod("before:render",this),this._destroyChildren(),this.collection&&(this._addChildModels(this.collection.models),this._initialEvents());var t=this.getTemplate();return t&&(this._renderTemplate(t),this.bindUIElements()),this._getChildViewContainer(),this.sort(),this._isRendered=!0,this.triggerMethod("render",this),this},_getChildViewContainer:function(){var t=tt.result(this,"childViewContainer");if(this.$container=t?this.$(t):this.$el,!this.$container.length)throw new Pa({name:vd,message:'The specified "childViewContainer" was not found: '.concat(t),url:"marionette.collectionview.html#defining-the-childviewcontainer"})},sort:function(){return this._sortChildren(),this.filter(),this},_sortChildren:function(){if(this._children.length){var t=this.getComparator();t&&(delete this._addedViews,this.triggerMethod("before:sort",this),this._children._sort(t,this),this.triggerMethod("sort",this))}},setComparator:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventRender,i=this.viewComparator!==t,a=i&&!n;return this.viewComparator=t,a&&this.sort(),this},removeComparator:function(t){return this.setComparator(null,t)},getComparator:function(){return this.viewComparator?this.viewComparator:!this.sortWithCollection||this.viewComparator===!1||!this.collection?!1:this._viewComparator},_viewComparator:function(t){return this.collection.indexOf(t.model)},filter:function(){return this._isDestroyed?this:(this._filterChildren(),this._renderChildren(),this)},_filterChildren:function(){var t=this;if(this._children.length){var r=this._getFilter();if(!r){var n=this.children.length!==this._children.length;this.children._set(this._children._views,n);return}delete this._addedViews,this.triggerMethod("before:filter",this);var i=[],a=[];tt.each(this._children._views,function(o,u,s){(r.call(t,o,u,s)?i:a).push(o)}),this._detachChildren(a),this.children._set(i,!0),this.triggerMethod("filter",this,i,a)}},_getFilter:function(){var t=this.getFilter();if(!t)return!1;if(tt.isFunction(t))return t;if(tt.isObject(t)){var r=tt.matches(t);return function(n){return r(n.model&&n.model.attributes)}}if(tt.isString(t))return function(n){return n.model&&n.model.get(t)};throw new Pa({name:vd,message:'"viewFilter" must be a function, predicate object literal, a string indicating a model attribute, or falsy',url:"marionette.collectionview.html#defining-the-viewfilter"})},getFilter:function(){return this.viewFilter},setFilter:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.preventRender,i=this.viewFilter!==t,a=i&&!n;return this.viewFilter=t,a&&this.filter(),this},removeFilter:function(t){return this.setFilter(null,t)},_detachChildren:function(t){tt.each(t,this._detachChildView.bind(this))},_detachChildView:function(t){var r=t._isAttached&&this.monitorViewEvents!==!1;r&&t.triggerMethod("before:detach",t),this.detachHtml(t),r&&(t._isAttached=!1,t.triggerMethod("detach",t)),t._isShown=!1},detachHtml:function(t){this.Dom.detachEl(t.el,t.$el)},_renderChildren:function(){this._hasUnrenderedViews&&(delete this._addedViews,delete this._hasUnrenderedViews);var t=this._addedViews||this.children._views;if(this.triggerMethod("before:render:children",this,t),this.isEmpty())this._showEmptyView();else{this._destroyEmptyView();var r=this._getBuffer(t);this._attachChildren(r,t)}delete this._addedViews,this.triggerMethod("render:children",this,t)},_getBuffer:function(t){var r=this,n=this.Dom.createBuffer();return tt.each(t,function(i){yie(i),i._isShown=!0,r.Dom.appendContents(n,i.el,{_$contents:i.$el})}),n},_attachChildren:function(t,r){var n=this._isAttached&&this.monitorViewEvents!==!1;r=n?r:[],tt.each(r,function(i){i._isAttached||i.triggerMethod("before:attach",i)}),this.attachHtml(t,this.$container),tt.each(r,function(i){i._isAttached||(i._isAttached=!0,i.triggerMethod("attach",i))})},attachHtml:function(t,r){this.Dom.appendContents(r[0],t,{_$el:r})},isEmpty:function(){return!this.children.length},_showEmptyView:function(){var t=this._getEmptyView();if(t){var r=this._getEmptyViewOptions(),n=this.getEmptyRegion();n.show(new t(r))}},_getEmptyView:function(){var t=this.emptyView;if(t)return this._getView(t)},_destroyEmptyView:function(){var t=this.getEmptyRegion();t.hasView()&&t.empty()},_getEmptyViewOptions:function(){var t=this.emptyViewOptions||this.childViewOptions;return tt.isFunction(t)?t.call(this):t},swapChildViews:function(t,r){if(!this._children.hasView(t)||!this._children.hasView(r))throw new Pa({name:vd,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 Pa({name:vd,message:"View is already shown in a Region or CollectionView",url:"marionette.region.html#showing-a-view"});if(tt.isObject(r)&&(n=r),n.index!=null&&(r=n.index),this._isRendered||this.render(),this._addChild(t,r),n.preventRender)return this._hasUnrenderedViews=!0,t;var i=typeof r<"u",a=!i||r>=this._children.length;return a&&!this._hasUnrenderedViews&&(this._addedViews=[t]),i?this._renderChildren():this.sort(),t},detachChildView:function(t){return this.removeChildView(t,{shouldDetach:!0}),t},removeChildView:function(t,r){return t&&(this._removeChildView(t,r),this._removeChild(t),this.isEmpty()&&this._showEmptyView(),t)},_removeChildViews:function(t){tt.each(t,this._removeChildView.bind(this))},_removeChildView:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.shouldDetach;t.off("destroy",this.removeChildView,this),n?this._detachChildView(t):this._destroyChildView(t),this.stopListening(t)},_destroyChildView:function(t){if(!t._isDestroyed){var r=this.monitorViewEvents===!1;_ie(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:BD,setRenderer:Eie});tt.extend(iwe.prototype,HD);var awe=["collectionEvents","events","modelEvents","triggers","ui"],wie=function(t,r){this.view=r,this._setOptions(t,awe),this.cid=tt.uniqueId(this.cidPrefix),this.ui=tt.extend({},tt.result(this,"ui"),tt.result(r,"ui")),this.listenTo(r,"all",this.triggerMethod),this.initialize.apply(this,arguments)};wie.extend=$p;tt.extend(wie.prototype,wh,hie,pie,gie,{cidPrefix:"mnb",initialize:function(){},$:function(){return this.view.$.apply(this.view,arguments)},destroy:function(){return this.stopListening(),this.view._removeBehavior(this),this._deleteEntityEventHandlers(),this},proxyViewProperties:function(){return this.$el=this.view.$el,this.el=this.view.el,this},bindUIElements:function(){return this._bindUIElements(),this},unbindUIElements:function(){return this._unbindUIElements(),this},getUI:function(t){return this._getUI(t)},delegateEntityEvents:function(){return this._delegateEntityEvents(this.view.model,this.view.collection),this},undelegateEntityEvents:function(){return this._undelegateEntityEvents(this.view.model,this.view.collection),this},_getEvents:function(){var t=this;if(this.events){var r=this.normalizeUIKeys(tt.result(this,"events"));return tt.reduce(r,function(n,i,a){return tt.isFunction(i)||(i=t[i]),i&&(a=vie(a,t.cid),n[a]=i.bind(t)),n},{})}},_getTriggers:function(){if(this.triggers){var t=this.normalizeUIKeys(tt.result(this,"triggers"));return this._getViewTriggers(this.view,t)}}});var owe=["channelName","radioEvents","radioRequests","region","regionClass"],F_=function(t){this._setOptions(t,owe),this.cid=tt.uniqueId(this.cidPrefix),this._initRegion(),this._initRadio(),this.initialize.apply(this,arguments)};F_.extend=$p;tt.extend(F_.prototype,wh,cie,fie,{cidPrefix:"mna",initialize:function(){},start:function(t){return this.triggerMethod("before:start",this,t),this.triggerMethod("start",this,t),this},regionClass:Df,_initRegion:function(){var t=this.region;if(t){var r={regionClass:this.regionClass};this._region=Sie(t,r)}},getRegion:function(){return this._region},showView:function(t){for(var r=this.getRegion(),n=arguments.length,i=new Array(n>1?n-1:0),a=1;a<n;a++)i[a-1]=arguments[a];return r.show.apply(r,[t].concat(i)),t},getView:function(){return this.getRegion().currentView}});var j_=(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))(j_||{}),II=(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))(II||{});class bie extends Error{constructor(t){super(t)}}class U_ extends bie{get name(){return"SilentError"}}class Da extends Error{get name(){return"CoreError"}}const vr={throw(e){if($r.Radio.channel($n.SHELL).trigger(Fn.ERROR,e),!(e instanceof U_))throw e},isStatusCodeError(e){var r;const t=+((r=e==null?void 0:e.toString())==null?void 0:r.substr(0,1));return t===II.ClientError||t===II.ServerError}};function vc(e,t,r,n){let i=e;return typeof e=="string"&&(i=$r.Radio.channel(e)),n.call(this,i,t,r)}class swe extends F_{get defaultProps(){return["shell","layoutService"]}constructor(t){super(t),this.mergeOptions(t,[...this.defaultProps,...this.props||[]]),tt.result(this,"name")||vr.throw(new Da("BaseApplication must define a name")),tt.result(this,"channelName")||vr.throw(new Da("BaseApplication must define a channelName")),this.listenTo(this.getGlobalRadioChannel("popup"),Fn.SHOW_POPUP,this.onShowPopup),this.listenTo(this.getGlobalRadioChannel("alert"),"show:alert",this.onShowAlert)}getGlobalRadioChannel(t){const n=this.shell.getGlobalRadioChannels()[t.toUpperCase()];return n||vr.throw(new Da(`Global channel ${n} does not exist`)),$r.Radio.channel(n)}onLoadLayout(){if(!this.layoutOptions||!this.layoutOptions.name)return;const t=tt.extend({},this.layoutOptions.options||{},{store:this.shell.store});this.layout=this.layoutService.getLayout(tt.extend(this.layoutOptions,{options:t})),this.layout||vr.throw(new Da(`Layout: ${this.layoutOptions.name} does not exist or was not registered`)),this.shell.showView(this.layout),this.triggerMethod("layout:loaded")}onShowPopup(t){this.layout.getRegion("popup")||vr.throw(new Da("Your application layout must define a popup region")),this.layout.showChildView("popup",t)}onShowAlert(t){const{ctor:r,collection:n}=t,i=this.layout.getRegion("alert");if(!i){vr.throw(new Da("Your application layout must define an alert region"));return}i.hasView()||this.layout.showChildView("alert",new r({collection:n}))}setDefaultQueryParams(t){this.defaultQueryParams&&(t=tt.extend(this.defaultQueryParams,t)),this.defaultQueryParams=t}getAndClearDefaultQueryParams(){const t=this.defaultQueryParams;return delete this.defaultQueryParams,t||{}}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}/**
|
|
47
|
-
* @license
|
|
48
|
-
* MarionetteJS (Marionette.AppRouter)
|
|
49
|
-
* ----------------------------------
|
|
50
|
-
* v1.0.1
|
|
51
|
-
*
|
|
52
|
-
* Copyright (c)2018 Derick Bailey, Muted Solutions, LLC.
|
|
53
|
-
* Distributed under MIT license
|
|
54
|
-
*
|
|
55
|
-
* http://marionettejs.com
|
|
56
|
-
*/var uwe=["triggerMethod","normalizeMethods","_setOptions","mergeOptions","getOption","bindEvents","unbindEvents"],lwe=["appRoutes","controller"],Tie=oa.Router.extend({constructor:function(t){this._setOptions(t),this.mergeOptions(t,lwe),oa.Router.apply(this,arguments);var r=this.appRoutes,n=this._getController();this.processAppRoutes(n,r),this.on("route",this._processOnRoute,this)},appRoute:function(t,r){var n=this._getController();return this._addAppRoute(n,t,r),this},_processOnRoute:function(t,r){if(tt.isFunction(this.onRoute)){var n=tt.invert(this.appRoutes)[t];this.onRoute(t,n,r)}},processAppRoutes:function(t,r){var n=this;if(!r)return this;var i=tt.keys(r).reverse();return tt.each(i,function(a){n._addAppRoute(t,a,r[a])}),this},_getController:function(){return this.controller},_addAppRoute:function(t,r,n){var i=t[n];if(!i)throw new Error('Method "'+n+'" was not found on the controller');this.route(r,n,tt.bind(i,t))}});tt.extend(Tie.prototype,tt.pick(Pf.prototype,uwe));class Md{constructor(){this.stack=[]}useAsync(t){const r=n=>(i,a)=>n(i,o=>t(o,a));this.goAsync=r(this.goAsync)}goAsync(t,r){r(t)}useSync(t){this.stack.push(t)}goSync(t){let r=t;for(const n of this.stack)r=n(r);return r}}const cwe=/([A-Z])/g,fwe=/(^|:)(\w)/gi;class au extends Tie{constructor(t){super(t)}processAppRoutes(t){super.processAppRoutes.call(this,t,null)}async _initRoutes(){const t=new Md,r=this.options.shell.routeMiddleware,n=this.appRoutes;return tt.each(r,t.useAsync,t),new Promise(i=>{if(!r||!r.length)return i(n);t.goAsync({appRoutes:n,shell:this.options.shell},a=>i(a.appRoutes))})}_processAppRoutes(t){super.processAppRoutes.call(this,this.controller,t),this._appRoutes=t}_buildRouteLookup(){const t=this.appRoutes??{},r=this._appRoutes??{},n=Object.entries(t).reduce((a,[o,u])=>({...a,[u]:o}),{}),i=Object.entries(r).reduce((a,[o,u])=>({...a,[u]:o}),{});this._routeLookup={baseRoutes:{...this.appRoutes,...n},modifiedRoutes:{...this._appRoutes,...i}}}async start(){const t=await this._initRoutes();this._processAppRoutes(t),this._buildRouteLookup(),this.bindDisposal(),this.processInternalRoutes(),this.processExternalRoutes(),this.processAppLinks()}_processOnRoute(t,r){if(tt.isFunction(this.onRoute)){const n=tt.invert(this._appRoutes)[t];this.onRoute(t,n,r)}}bindDisposal(){this.listenTo($n.SHELL,Fn.ROUTE,t=>{t.application!==this.channelName&&this.destroyApp()})}_executeAppLinkMiddleware(t,r){const n=new Md;return tt.each(t,n.useSync,n),!t||!t.length?r.appLink:n.goSync(r).appLink}addRouteLookup(t,r){this.options.shell.addRouteLookup(`${this.channelName}:${t}`,(n,i,a)=>{const u={appLink:{application:this.channelName,action:t,args:n,params:i},appLinkOptions:a,currentRoute:r,routeLookup:this._routeLookup},s=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,u),c=this.toMethodName(s.action),d=this._routeLookup.modifiedRoutes[c];return Kn.buildRoute(d??r,s,a)})}processInternalRoutes(){tt.each(tt.keys(this._appRoutes),t=>{const r=this._appRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,a)=>{(!a||!a.usedHelper)&&vr.throw(new Da("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o={appLink:i,appLinkOptions:a,currentRoute:t,routeLookup:this._routeLookup},u=this._executeAppLinkMiddleware(this.options.shell.onBeforeExecuteAppLinkMiddleware,o),s=this.toMethodName(u.action),c=this._routeLookup.modifiedRoutes[s];this.executeRoute(u,{isAppRoute:!0,route:c??t},d=>{const h=tt.extend({},this.controller.getAndClearDefaultQueryParams(),d.params);d.params=h,Yn.UpdateUrl(c??t,d,a)})})})}triggerNavLocked(t,r){t.trigger(Fn.NAV_IS_LOCKED,r),es.routingEnded()}processExternalRoutes(){this.externalRoutes&&tt.each(tt.keys(this.externalRoutes),t=>{const r=this.externalRoutes[t],n=this.toEventName(r);this.addRouteLookup(n,t),this.listenTo(this.channelName,n,(i,a)=>{(!a||!a.usedHelper)&&vr.throw(new Da("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks."));const o=$r.Radio.channel($n.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(o,i);return}Yn.PageLoad(Kn.getHref(i))})})}processAppLinks(){this.appLinks&&tt.each(this.appLinks,t=>{const r=this.toEventName(t);this.listenTo(this.channelName,r,(n,i)=>{(!i||!i.usedHelper)&&vr.throw(new Da("Please use Core.AppLinkHelper.trigger({}) to trigger appLinks.")),this.executeRoute(n,{isAppRoute:!1,route:null})})})}executeRoute(t,r,n){this.validateAppLink(t),es.routingStarted();const i=$r.Radio.channel($n.SHELL);if(this.options.shell.isNavLocked()){this.triggerNavLocked(i,t);return}const a={appLink:t,currentRoute:r.route,routeLookup:this._routeLookup},o=this._executeAppLinkMiddleware(this.options.shell.onExecuteAppLinkMiddleware,a),u=this.toMethodName(o.action),s=new Md;tt.each(this.filters,c=>s.useAsync(c)),s.goAsync({appLink:o,shell:this.options.shell},()=>{i.trigger(Fn.ROUTE,o,r),this.createApp();const c=this.controller;if(tt.isFunction(c[u])||(es.routingEnded(),vr.throw(new Da(`${u} does not exist on the ${tt.result(c,"name")}.`))),c.triggerMethod("before:action",t)===!1){c.triggerMethod("action:cancelled"),es.routingEnded();return}c.triggerMethod("load:layout");const d={appLink:o,currentRoute:r.route,routeLookup:this._routeLookup},h=this._executeAppLinkMiddleware(this.options.shell.onAfterExecuteAppLinkMiddleware,d);c[u].apply(c,[...h.args||[],h.params||{}]),tt.isFunction(n)&&n(o),es.routingEnded()})}createApp(){this.controller||(this.controller=new this.options.appConstructor(this.options.appOptions),this.controller.start())}destroyApp(){if(!this.controller)return;this.controller.destroy(),delete this.controller}_addAppRoute(t,r,n){this.route(r,n,(...i)=>{const a={application:this.channelName,action:this.toEventName(n),args:i.slice(0,i.length-1),params:Yn.DeserializeQueryParams(i[i.length-1])};this.executeRoute(a,{isAppRoute:!0,route:r},()=>{Yn.UpdateQuery(tt.extend(this.controller.getAndClearDefaultQueryParams(),a.params))})})}toEventName(t){return t.replace(cwe,":$1").toLowerCase()}toMethodName(t){const r=t.replace(fwe,(n,i,a)=>a.toUpperCase());return r[0].toLowerCase()+r.slice(1,r.length)}validateAppLink(t){(!t.application||!t.action)&&(es.routingEnded(),vr.throw(new Da("Invalid AppLink")))}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class q_ extends $r.Collection{listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class On extends bie{get name(){return"DevError"}}class dwe{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 V_=dwe.Instance;function hwe(e,t){for(;e;){const r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;e=Object.getPrototypeOf(e)}return null}const vwe=["model","collection","el","id","attributes","className","tagName","events"];$r.View.prototype.constructor=function(e){this.cid=tt.uniqueId("view");const t=vwe.filter(r=>{var n;return!((n=hwe(this,r))!=null&&n.get)});tt.extend(this,tt.pick(e,t)),this._ensureElement(),this.initialize.call(this,e)};const Nd=class Nd extends zD{get defaultProps(){return["shell","layoutService"]}_setOptions(t){this.options=tt.extend({},tt.result(this,"defaults"),t)}_setAttributes(t){V_.isDevelopment&&tt.extend(t,{"cv-classname":this.name}),this.$el.attr(t)}get elements(){return null}get ui(){return this.uiStorage?this.uiStorage:(this.uiStorage=this.elements,this.uiStorage)}set ui(t){this.uiStorage=t}constructor(t){super(t);const r=[...this.defaultProps,...this.props||[]];this.mergeOptions(t,r),tt.result(this,"name")||vr.throw(new Da(`Error: View with cid:${this.cid} requires a name.`))}static AddViewDataExtension(t){Nd.ViewDataExtensions.push(t)}serializeModel(){return this.model?this.model.toJSON():{}}serializeCollection(){return this.collection?this.collection.toJSON():[]}resetClassName(){this.$el.attr("class",tt.result(this,"className"))}serializeData(){const t=super.serializeData(),r=tt.result(this,"viewOptions"),n=tt.extend({},t,{options:r});return Nd.ViewDataExtensions.length?tt.extend(n,...tt.map(Nd.ViewDataExtensions,i=>i instanceof Function?i(this):i)):n}viewOptions(){return this.options}undelegateAppLinks(){this.$el&&this.$el.off(`.appLinks${this.cid}`)}renderAppLinks(){let t=this.appLinks;t&&(t=this.normalizeUIKeys(t),this.undelegateAppLinks(),tt.each(tt.keys(t),r=>{let n=r;const i=t[r],a=Kn.getHref(i);n==="[this]"&&(n=null);const o=n?this.$el.find(r):this.$el;!o.is("a")&&!o.is("button")||(a&&a!=="/"&&o.attr("href",a),this.delegate(`click.appLinks${this.cid}`,n,function(u){u.preventDefault(),Kn.trigger(i)}))}))}hasPartialLoadingRegions(){const t=this;return t._hasPartialLoadingRegions!==void 0||(t._hasPartialLoadingRegions=tt.some(t.regions,(r=>tt.has(r,"partialLoading")))),t._hasPartialLoadingRegions}renderPartialLoading(t){$r.Radio.channel($n.SHELL).trigger("render:partial:loading",this,t)}getTemplate(){var t;return this.template||((t=this.options)==null?void 0:t.template)}listenTo(...t){return vc.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(){}};Nd.ViewDataExtensions=[];let PI=Nd;class pwe extends PI{constructor(t){super(t),this.boundListeners={},this.resourceInstances={}}processRequriedResources(t){const r=tt.keys(this.requiredResources);if(!r.length)return!0;const n=this;let i=!0;return tt.each(r,a=>{const o=this.requiredResources[a];if(o.beforeOnBeforeRender!==t)return;const u=o.dataServiceName;this.resourceInstances[u]||(this.resourceInstances[u]=o.getInstance(this)),this.boundListeners[`${u}:${o.eventName}`]||(this.listenTo(this.resourceInstances[u].channelName,o.eventName,this.render),this.boundListeners[`${u}:${o.eventName}`]=!0),n[a]=o.getData(this.resourceInstances[u]),i=i&&!!n[a]}),i}setTitle(){!tt.isString(this.title)&&this.title!==!1&&vr.throw(new On(`Must define a title for ${this.name}.`)),$r.Radio.channel($n.SHELL).trigger("set:page:title",this.title)}}class gwe extends pwe{constructor(t){super(t)}static getCacheKey(t){vr.throw(new On(`Must define getCacheKey for ${this.name}.`))}unmountRegion(t){this.trigger(`unmount:${t}`)}}class ul extends $r.Model{mixin(t){const r=this;for(const n in t){if(r.hasOwnProperty(n)){const i=r[n];r[n]=ko({},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 vc.call(this,t[0],t[1],t[2],super.listenTo)}}class WW extends ul{set(t,r,n){let i,a;if(t===null)return this;typeof t=="object"?(a=t,n=r):(a={},a[t]=r),n||(n={});for(i in a)uy(this.associations,i)&&(a[i]=this.setAssociation(i,a[i],n));return super.set.call(this,a,n)}get(t){const r=t.indexOf(".");if(r===-1)return super.get.call(this,t);const n=t.substr(0,r),i=this.attributes[n];if(!i||!on(i.get))return super.get.call(this,t);const a=t.substr(r+1);return i.get(a)}setAssociation(t,r,n){const i=this.associations[t],a=this.attributes[t];if(!on(i))return r;if(n.unset)return a&&delete a.parent,delete this[t],a;if(a)return a instanceof ul&&a.set(r,n),a instanceof q_&&a.set(r,n),n.silent||this.trigger(`change:${t}`,this,r,n),a;const o=r instanceof ul?r:new i(r,{parse:!0});return o.parent=this,this[t]=o,o}toJSON(...t){const r=super.toJSON.apply(this,t);return Ja(this.associations,(n,i)=>{uy(r,i)&&on(r[i].toJSON)?r[i]=r[i].toJSON():r[i]=new n().toJSON()}),r}toFlatJSON(...t){return M_(super.toJSON.apply(this,t),sa(this.associations))}}class Ho extends Pf{constructor(t){super(t),this.name||vr.throw(new Da("Your service must be named."))}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class mwe extends Pf{constructor(t){super(t),this.layouts={},this.requiredRegions=t.requiredRegions}clearLayout(){this.currentLayout&&(this.currentLayout.destroy(),delete this.currentLayout,delete this.currentLayoutCacheKey)}registerLayout(t,r){return this.checkRequiredRegions(r),this.layouts[t]=r,this}getLayout(t){const{name:r,options:n={}}=t;this.layouts[r]||vr.throw(new Da(`${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){Ja(this.requiredRegions,r=>{uy(Dv(t.prototype,"regions"),r)||vr.throw(new Da(`Layout: ${t.prototype.name} must define an ${r} region.`))})}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class ywe{constructor(t,r){this.application=t,this.options=r||{}}get Application(){return this.application}get Options(){return this.options}}class _we extends F_{constructor(){super(...arguments),this.routeMiddleware=[],this.onBeforeExecuteAppLinkMiddleware=[],this.onExecuteAppLinkMiddleware=[],this.onAfterExecuteAppLinkMiddleware=[]}initialize(t){this.mergeOptions(t,["layoutService"]),this.applications=[],this.routeLookup={},this.shellState={navLock:!1,activeRoute:!1,currentAppLink:null},this.errorHandlers=[]}bindListeners(){this.bindRouteLookup(),this.bindNavLockListeners(),this.bindAppLinkListeners(),this.bindErrorHandlers(),this.bindErrorListener()}bindNavLockListeners(){this.listenTo($n.SHELL,Fn.LOCK_NAV,()=>this.shellState.navLock=!0),this.listenTo($n.SHELL,Fn.UNLOCK_NAV,()=>this.shellState.navLock=!1)}bindAppLinkListeners(){this.listenTo($n.SHELL,Fn.ROUTING_START,()=>this.shellState.activeRoute=!0),this.listenTo($n.SHELL,Fn.ROUTING_END,()=>this.shellState.activeRoute=!1),this.listenTo($n.SHELL,Fn.ROUTE,r=>this.shellState.currentAppLink=r);const t=$r.Radio.channel($n.SHELL);t.reply(Fn.HAS_ACTIVE_ROUTE,tt.bind(this.hasActiveRoute,this)),t.reply(Fn.CURRENT_ROUTE,()=>this.shellState.currentAppLink)}bindErrorHandlers(){window.addEventListener("error",()=>{es.routingEnded()})}bindErrorListener(){const t=$r.Radio.channel($n.SHELL);this.listenTo(t,Fn.ERROR,this.handleError)}bindRouteLookup(){$r.Radio.channel($n.SHELL).reply(Fn.ROUTE_LOOKUP,(r,n,i,a)=>this.routeLookup[r]?this.routeLookup[r](n,i,a):!1,this)}addRouteLookup(t,r){this.routeLookup[t]=r}registerApplication(t,r){return this.applications.push(new ywe(t,r)),this}getGlobalRadioChannels(){return $n}isNavLocked(){return this.shellState.navLock}start(t){t||(t={}),this.runInitializationSteps(this,()=>{this.runStartUpSteps(this,t,()=>{super.start(t)})})}hasActiveRoute(){return this.shellState.activeRoute}async onStart(){const t=tt.map(this.applications,r=>{const n={appConstructor:r.Application,shell:this,appOptions:{region:"",shell:this,layoutService:this.layoutService,...r.Options}};return new r.Application.router(n)});await Promise.all(t.map(r=>r.start())),this.bindListeners(),Yn.StartHistory()}addInitializationStep(t){return this.runInitializationSteps=(r=>(n,i)=>r(n,()=>t(n,i)))(this.runInitializationSteps),this}runInitializationSteps(t,r){r(t)}addStartUpStep(t){return this.runStartUpSteps=(r=>(n,i,a)=>r(n,i,()=>t(n,i,a)))(this.runStartUpSteps),this}runStartUpSteps(t,r,n){n(t,r)}registerLayout(t,r){return this.layoutService.registerLayout(t,r),this}registerErrorHandler(t,r){return t||vr.throw(new Da("An error must have a name in order to register a handler for it.")),tt.any(this.errorHandlers,n=>n.errorType===t)&&vr.throw(new Da(`An error handler for ${t.prototype.name} has already been defined.`)),this.errorHandlers.push({errorType:t,handler:r}),this}handleError(t){const r=tt.find(this.errorHandlers,n=>t instanceof n.errorType);r&&r.handler&&r.handler(t)}registerStore(t){this.store=t}registerRouteMiddleware(t){return this.routeMiddleware.push(t),this}registerAppLinkMiddleware(t,r){return t==="onBeforeExecute"&&this.onBeforeExecuteAppLinkMiddleware.push(r),t==="onExecute"&&this.onExecuteAppLinkMiddleware.push(r),t==="onAfterExecute"&&this.onAfterExecuteAppLinkMiddleware.push(r),this}listenTo(...t){return vc.call(this,t[0],t[1],t[2],super.listenTo)}}class Swe extends Ho{constructor(){super(),this.constructors={},this.destructors={},this.instances={},this.singletonInstances={},this.referenceCounts={}}get name(){return"InstanceManager"}static get Instance(){return this.instance||(this.instance=new this)}registerDataService(t,r){this.validateConstructor(t);const n=t.prototype.name;return this.referenceCounts[n]=0,this.constructors[n]=()=>new t({dataProvider:this.getInstance(r.dataProvider),cache:this.getInstance(r.cache),bootstrapData:r.bootstrapData,defaultErrorHandler:r.defaultErrorHandler,alertService:r.alertService}),this.destructors[n]=()=>{this.instances[n]?this.instances[n].destroy():vr.throw(new On(`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]=()=>on(this.instances[n].destroy)&&this.instances[n].destroy(),this}registerSingleton(t){const r=t.name;return this.singletonInstances[r]=t,this}getInstance(t,r){return this.singletonInstances[t]?this.singletonInstances[t]:(this.constructors[t]||vr.throw(new On(`${t} was not registered with ${this.name}`)),this.referenceCounts[t]++,r&&this.listenTo(r,"destroy",()=>this.releaseInstance(t)),this.instances[t]||(this.instances[t]=this.constructors[t]()),this.instances[t])}releaseInstance(t){if(this.instances[t])return window.setTimeout(()=>{this.referenceCounts[t]--,this.referenceCounts[t]<1&&(this.destructors[t](),delete this.instances[t])},0),this}validateConstructor(t){const r=t.prototype.name;r||vr.throw(new On(`Classes registered with ${this.name} must have a unique name property.`)),this.constructors[r]&&vr.throw(new On(`A class with the name: ${r} has already been registered with ${this.name}`))}}const Qs=Swe.Instance,ho={API_REQUEST:"API_REQUEST",API_RESPONSE:"API_RESPONSE",API_ERROR:"API_ERROR",INVALIDATE:"INVALIDATE",UPDATE:"UPDATE"};var Tu=(e=>(e.None="None",e.Fetching="Fetching",e.Success="Success",e.Error="Error",e))(Tu||{}),Ewe=Xre();const dy=jn(Ewe);var pn=(e=>(e.GET="GET",e.POST="POST",e.PUT="PUT",e.DELETE="DELETE",e))(pn||{});function GW(e){const{getResponseHeader:t,responseJSON:r,status:n}=e;return{getResponseHeader:t,responseJSON:r,status:n}}const wwe=[pn.POST,pn.PUT];function DI(e){const{resource:t,type:r,headers:n,success:i,error:a,always:o}=e,u={url:t,method:r,contentType:"application/json; charset=utf-8"};wwe.includes(r)&&e.data&&(u.data=JSON.stringify(e.data)),n&&(u.headers=n),dy.ajax(u).done((s,c,d)=>{i&&i(s,GW(d))}).fail(s=>{a&&a(GW(s))}).always(()=>{o&&o()})}const Rie="id";function cR(e,t={}){const{idAttribute:r=Rie,namespace:n=""}=t;return`${n}__${e[r]}`}function xie(e,t,r,n={}){const{idAttribute:i=Rie}=n,a={...e};if(r.has(e))return e[i]?cR(e,n):a;if(r.add(e),Object.keys(e).forEach(o=>{const u=e[o];if(u){if(Array.isArray(u)){a[o]=u.map(s=>WD(s,t,r,n));return}if(typeof u=="object"){const s=xie(u,t,r,n);u[i]?a[o]=cR(u,n):a[o]=s}}}),e[i]){const o=cR(e,n);return t[o]?t[o]={...t[o],...a}:t[o]=a,o}return a}function WD(e,t,r,n={}){return e&&(Array.isArray(e)?e.map(i=>WD(i,t,r,n)):typeof e=="object"?xie(e,t,r,n):e)}function Cie(e,t){const r={};return{result:WD(e,r,new Set,t),entities:r}}var fR,YW;function bwe(){if(YW)return fR;YW=1;function e(){this.__data__=[],this.size=0}return fR=e,fR}var dR,KW;function Aie(){if(KW)return dR;KW=1;function e(t,r){return t===r||t!==t&&r!==r}return dR=e,dR}var hR,XW;function B_(){if(XW)return hR;XW=1;var e=Aie();function t(r,n){for(var i=r.length;i--;)if(e(r[i][0],n))return i;return-1}return hR=t,hR}var vR,QW;function Twe(){if(QW)return vR;QW=1;var e=B_(),t=Array.prototype,r=t.splice;function n(i){var a=this.__data__,o=e(a,i);if(o<0)return!1;var u=a.length-1;return o==u?a.pop():r.call(a,o,1),--this.size,!0}return vR=n,vR}var pR,JW;function Rwe(){if(JW)return pR;JW=1;var e=B_();function t(r){var n=this.__data__,i=e(n,r);return i<0?void 0:n[i][1]}return pR=t,pR}var gR,ZW;function xwe(){if(ZW)return gR;ZW=1;var e=B_();function t(r){return e(this.__data__,r)>-1}return gR=t,gR}var mR,eG;function Cwe(){if(eG)return mR;eG=1;var e=B_();function t(r,n){var i=this.__data__,a=e(i,r);return a<0?(++this.size,i.push([r,n])):i[a][1]=n,this}return mR=t,mR}var yR,tG;function H_(){if(tG)return yR;tG=1;var e=bwe(),t=Twe(),r=Rwe(),n=xwe(),i=Cwe();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,yR=a,yR}var _R,rG;function Awe(){if(rG)return _R;rG=1;var e=H_();function t(){this.__data__=new e,this.size=0}return _R=t,_R}var SR,nG;function Owe(){if(nG)return SR;nG=1;function e(t){var r=this.__data__,n=r.delete(t);return this.size=r.size,n}return SR=e,SR}var ER,iG;function Iwe(){if(iG)return ER;iG=1;function e(t){return this.__data__.get(t)}return ER=e,ER}var wR,aG;function Pwe(){if(aG)return wR;aG=1;function e(t){return this.__data__.has(t)}return wR=e,wR}var bR,oG;function Oie(){if(oG)return bR;oG=1;var e=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis;return bR=e,bR}var TR,sG;function Pu(){if(sG)return TR;sG=1;var e=Oie(),t=typeof self=="object"&&self&&self.Object===Object&&self,r=e||t||Function("return this")();return TR=r,TR}var RR,uG;function z_(){if(uG)return RR;uG=1;var e=Pu(),t=e.Symbol;return RR=t,RR}var xR,lG;function Dwe(){if(lG)return xR;lG=1;var e=z_(),t=Object.prototype,r=t.hasOwnProperty,n=t.toString,i=e?e.toStringTag:void 0;function a(o){var u=r.call(o,i),s=o[i];try{o[i]=void 0;var c=!0}catch{}var d=n.call(o);return c&&(u?o[i]=s:delete o[i]),d}return xR=a,xR}var CR,cG;function kwe(){if(cG)return CR;cG=1;var e=Object.prototype,t=e.toString;function r(n){return t.call(n)}return CR=r,CR}var AR,fG;function Fp(){if(fG)return AR;fG=1;var e=z_(),t=Dwe(),r=kwe(),n="[object Null]",i="[object Undefined]",a=e?e.toStringTag:void 0;function o(u){return u==null?u===void 0?i:n:a&&a in Object(u)?t(u):r(u)}return AR=o,AR}var OR,dG;function jp(){if(dG)return OR;dG=1;function e(t){var r=typeof t;return t!=null&&(r=="object"||r=="function")}return OR=e,OR}var IR,hG;function Iie(){if(hG)return IR;hG=1;var e=Fp(),t=jp(),r="[object AsyncFunction]",n="[object Function]",i="[object GeneratorFunction]",a="[object Proxy]";function o(u){if(!t(u))return!1;var s=e(u);return s==n||s==i||s==r||s==a}return IR=o,IR}var PR,vG;function Nwe(){if(vG)return PR;vG=1;var e=Pu(),t=e["__core-js_shared__"];return PR=t,PR}var DR,pG;function Lwe(){if(pG)return DR;pG=1;var e=Nwe(),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 DR=r,DR}var kR,gG;function Pie(){if(gG)return kR;gG=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 kR=r,kR}var NR,mG;function Mwe(){if(mG)return NR;mG=1;var e=Iie(),t=Lwe(),r=jp(),n=Pie(),i=/[\\^$.*+?()[\]{}|]/g,a=/^\[object .+?Constructor\]$/,o=Function.prototype,u=Object.prototype,s=o.toString,c=u.hasOwnProperty,d=RegExp("^"+s.call(c).replace(i,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(v){if(!r(v)||t(v))return!1;var g=e(v)?d:a;return g.test(n(v))}return NR=h,NR}var LR,yG;function $we(){if(yG)return LR;yG=1;function e(t,r){return t==null?void 0:t[r]}return LR=e,LR}var MR,_G;function kf(){if(_G)return MR;_G=1;var e=Mwe(),t=$we();function r(n,i){var a=t(n,i);return e(a)?a:void 0}return MR=r,MR}var $R,SG;function GD(){if(SG)return $R;SG=1;var e=kf(),t=Pu(),r=e(t,"Map");return $R=r,$R}var FR,EG;function W_(){if(EG)return FR;EG=1;var e=kf(),t=e(Object,"create");return FR=t,FR}var jR,wG;function Fwe(){if(wG)return jR;wG=1;var e=W_();function t(){this.__data__=e?e(null):{},this.size=0}return jR=t,jR}var UR,bG;function jwe(){if(bG)return UR;bG=1;function e(t){var r=this.has(t)&&delete this.__data__[t];return this.size-=r?1:0,r}return UR=e,UR}var qR,TG;function Uwe(){if(TG)return qR;TG=1;var e=W_(),t="__lodash_hash_undefined__",r=Object.prototype,n=r.hasOwnProperty;function i(a){var o=this.__data__;if(e){var u=o[a];return u===t?void 0:u}return n.call(o,a)?o[a]:void 0}return qR=i,qR}var VR,RG;function qwe(){if(RG)return VR;RG=1;var e=W_(),t=Object.prototype,r=t.hasOwnProperty;function n(i){var a=this.__data__;return e?a[i]!==void 0:r.call(a,i)}return VR=n,VR}var BR,xG;function Vwe(){if(xG)return BR;xG=1;var e=W_(),t="__lodash_hash_undefined__";function r(n,i){var a=this.__data__;return this.size+=this.has(n)?0:1,a[n]=e&&i===void 0?t:i,this}return BR=r,BR}var HR,CG;function Bwe(){if(CG)return HR;CG=1;var e=Fwe(),t=jwe(),r=Uwe(),n=qwe(),i=Vwe();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,HR=a,HR}var zR,AG;function Hwe(){if(AG)return zR;AG=1;var e=Bwe(),t=H_(),r=GD();function n(){this.size=0,this.__data__={hash:new e,map:new(r||t),string:new e}}return zR=n,zR}var WR,OG;function zwe(){if(OG)return WR;OG=1;function e(t){var r=typeof t;return r=="string"||r=="number"||r=="symbol"||r=="boolean"?t!=="__proto__":t===null}return WR=e,WR}var GR,IG;function G_(){if(IG)return GR;IG=1;var e=zwe();function t(r,n){var i=r.__data__;return e(n)?i[typeof n=="string"?"string":"hash"]:i.map}return GR=t,GR}var YR,PG;function Wwe(){if(PG)return YR;PG=1;var e=G_();function t(r){var n=e(this,r).delete(r);return this.size-=n?1:0,n}return YR=t,YR}var KR,DG;function Gwe(){if(DG)return KR;DG=1;var e=G_();function t(r){return e(this,r).get(r)}return KR=t,KR}var XR,kG;function Ywe(){if(kG)return XR;kG=1;var e=G_();function t(r){return e(this,r).has(r)}return XR=t,XR}var QR,NG;function Kwe(){if(NG)return QR;NG=1;var e=G_();function t(r,n){var i=e(this,r),a=i.size;return i.set(r,n),this.size+=i.size==a?0:1,this}return QR=t,QR}var JR,LG;function Die(){if(LG)return JR;LG=1;var e=Hwe(),t=Wwe(),r=Gwe(),n=Ywe(),i=Kwe();function a(o){var u=-1,s=o==null?0:o.length;for(this.clear();++u<s;){var c=o[u];this.set(c[0],c[1])}}return a.prototype.clear=e,a.prototype.delete=t,a.prototype.get=r,a.prototype.has=n,a.prototype.set=i,JR=a,JR}var ZR,MG;function Xwe(){if(MG)return ZR;MG=1;var e=H_(),t=GD(),r=Die(),n=200;function i(a,o){var u=this.__data__;if(u instanceof e){var s=u.__data__;if(!t||s.length<n-1)return s.push([a,o]),this.size=++u.size,this;u=this.__data__=new r(s)}return u.set(a,o),this.size=u.size,this}return ZR=i,ZR}var ex,$G;function Qwe(){if($G)return ex;$G=1;var e=H_(),t=Awe(),r=Owe(),n=Iwe(),i=Pwe(),a=Xwe();function o(u){var s=this.__data__=new e(u);this.size=s.size}return o.prototype.clear=t,o.prototype.delete=r,o.prototype.get=n,o.prototype.has=i,o.prototype.set=a,ex=o,ex}var tx,FG;function Jwe(){if(FG)return tx;FG=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 tx=e,tx}var rx,jG;function Zwe(){if(jG)return rx;jG=1;var e=kf(),t=(function(){try{var r=e(Object,"defineProperty");return r({},"",{}),r}catch{}})();return rx=t,rx}var nx,UG;function kie(){if(UG)return nx;UG=1;var e=Zwe();function t(r,n,i){n=="__proto__"&&e?e(r,n,{configurable:!0,enumerable:!0,value:i,writable:!0}):r[n]=i}return nx=t,nx}var ix,qG;function Nie(){if(qG)return ix;qG=1;var e=kie(),t=Aie(),r=Object.prototype,n=r.hasOwnProperty;function i(a,o,u){var s=a[o];(!(n.call(a,o)&&t(s,u))||u===void 0&&!(o in a))&&e(a,o,u)}return ix=i,ix}var ax,VG;function Y_(){if(VG)return ax;VG=1;var e=Nie(),t=kie();function r(n,i,a,o){var u=!a;a||(a={});for(var s=-1,c=i.length;++s<c;){var d=i[s],h=o?o(a[d],n[d],d,a,n):void 0;h===void 0&&(h=n[d]),u?t(a,d,h):e(a,d,h)}return a}return ax=r,ax}var ox,BG;function e1e(){if(BG)return ox;BG=1;function e(t,r){for(var n=-1,i=Array(t);++n<t;)i[n]=r(n);return i}return ox=e,ox}var sx,HG;function bh(){if(HG)return sx;HG=1;function e(t){return t!=null&&typeof t=="object"}return sx=e,sx}var ux,zG;function t1e(){if(zG)return ux;zG=1;var e=Fp(),t=bh(),r="[object Arguments]";function n(i){return t(i)&&e(i)==r}return ux=n,ux}var lx,WG;function r1e(){if(WG)return lx;WG=1;var e=t1e(),t=bh(),r=Object.prototype,n=r.hasOwnProperty,i=r.propertyIsEnumerable,a=e((function(){return arguments})())?e:function(o){return t(o)&&n.call(o,"callee")&&!i.call(o,"callee")};return lx=a,lx}var cx,GG;function Th(){if(GG)return cx;GG=1;var e=Array.isArray;return cx=e,cx}var wv={exports:{}},fx,YG;function n1e(){if(YG)return fx;YG=1;function e(){return!1}return fx=e,fx}wv.exports;var KG;function Lie(){return KG||(KG=1,(function(e,t){var r=Pu(),n=n1e(),i=t&&!t.nodeType&&t,a=i&&!0&&e&&!e.nodeType&&e,o=a&&a.exports===i,u=o?r.Buffer:void 0,s=u?u.isBuffer:void 0,c=s||n;e.exports=c})(wv,wv.exports)),wv.exports}var dx,XG;function i1e(){if(XG)return dx;XG=1;var e=9007199254740991,t=/^(?:0|[1-9]\d*)$/;function r(n,i){var a=typeof n;return i=i??e,!!i&&(a=="number"||a!="symbol"&&t.test(n))&&n>-1&&n%1==0&&n<i}return dx=r,dx}var hx,QG;function Mie(){if(QG)return hx;QG=1;var e=9007199254740991;function t(r){return typeof r=="number"&&r>-1&&r%1==0&&r<=e}return hx=t,hx}var vx,JG;function a1e(){if(JG)return vx;JG=1;var e=Fp(),t=Mie(),r=bh(),n="[object Arguments]",i="[object Array]",a="[object Boolean]",o="[object Date]",u="[object Error]",s="[object Function]",c="[object Map]",d="[object Number]",h="[object Object]",v="[object RegExp]",g="[object Set]",m="[object String]",y="[object WeakMap]",S="[object ArrayBuffer]",w="[object DataView]",b="[object Float32Array]",A="[object Float64Array]",R="[object Int8Array]",x="[object Int16Array]",O="[object Int32Array]",_="[object Uint8Array]",P="[object Uint8ClampedArray]",N="[object Uint16Array]",U="[object Uint32Array]",$={};$[b]=$[A]=$[R]=$[x]=$[O]=$[_]=$[P]=$[N]=$[U]=!0,$[n]=$[i]=$[S]=$[a]=$[w]=$[o]=$[u]=$[s]=$[c]=$[d]=$[h]=$[v]=$[g]=$[m]=$[y]=!1;function B(Y){return r(Y)&&t(Y.length)&&!!$[e(Y)]}return vx=B,vx}var px,ZG;function YD(){if(ZG)return px;ZG=1;function e(t){return function(r){return t(r)}}return px=e,px}var bv={exports:{}};bv.exports;var eY;function KD(){return eY||(eY=1,(function(e,t){var r=Oie(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a&&r.process,u=(function(){try{var s=i&&i.require&&i.require("util").types;return s||o&&o.binding&&o.binding("util")}catch{}})();e.exports=u})(bv,bv.exports)),bv.exports}var gx,tY;function o1e(){if(tY)return gx;tY=1;var e=a1e(),t=YD(),r=KD(),n=r&&r.isTypedArray,i=n?t(n):e;return gx=i,gx}var mx,rY;function $ie(){if(rY)return mx;rY=1;var e=e1e(),t=r1e(),r=Th(),n=Lie(),i=i1e(),a=o1e(),o=Object.prototype,u=o.hasOwnProperty;function s(c,d){var h=r(c),v=!h&&t(c),g=!h&&!v&&n(c),m=!h&&!v&&!g&&a(c),y=h||v||g||m,S=y?e(c.length,String):[],w=S.length;for(var b in c)(d||u.call(c,b))&&!(y&&(b=="length"||g&&(b=="offset"||b=="parent")||m&&(b=="buffer"||b=="byteLength"||b=="byteOffset")||i(b,w)))&&S.push(b);return S}return mx=s,mx}var yx,nY;function XD(){if(nY)return yx;nY=1;var e=Object.prototype;function t(r){var n=r&&r.constructor,i=typeof n=="function"&&n.prototype||e;return r===i}return yx=t,yx}var _x,iY;function Fie(){if(iY)return _x;iY=1;function e(t,r){return function(n){return t(r(n))}}return _x=e,_x}var Sx,aY;function s1e(){if(aY)return Sx;aY=1;var e=Fie(),t=e(Object.keys,Object);return Sx=t,Sx}var Ex,oY;function u1e(){if(oY)return Ex;oY=1;var e=XD(),t=s1e(),r=Object.prototype,n=r.hasOwnProperty;function i(a){if(!e(a))return t(a);var o=[];for(var u in Object(a))n.call(a,u)&&u!="constructor"&&o.push(u);return o}return Ex=i,Ex}var wx,sY;function jie(){if(sY)return wx;sY=1;var e=Iie(),t=Mie();function r(n){return n!=null&&t(n.length)&&!e(n)}return wx=r,wx}var bx,uY;function QD(){if(uY)return bx;uY=1;var e=$ie(),t=u1e(),r=jie();function n(i){return r(i)?e(i):t(i)}return bx=n,bx}var Tx,lY;function l1e(){if(lY)return Tx;lY=1;var e=Y_(),t=QD();function r(n,i){return n&&e(i,t(i),n)}return Tx=r,Tx}var Rx,cY;function c1e(){if(cY)return Rx;cY=1;function e(t){var r=[];if(t!=null)for(var n in Object(t))r.push(n);return r}return Rx=e,Rx}var xx,fY;function f1e(){if(fY)return xx;fY=1;var e=jp(),t=XD(),r=c1e(),n=Object.prototype,i=n.hasOwnProperty;function a(o){if(!e(o))return r(o);var u=t(o),s=[];for(var c in o)c=="constructor"&&(u||!i.call(o,c))||s.push(c);return s}return xx=a,xx}var Cx,dY;function JD(){if(dY)return Cx;dY=1;var e=$ie(),t=f1e(),r=jie();function n(i){return r(i)?e(i,!0):t(i)}return Cx=n,Cx}var Ax,hY;function d1e(){if(hY)return Ax;hY=1;var e=Y_(),t=JD();function r(n,i){return n&&e(i,t(i),n)}return Ax=r,Ax}var Tv={exports:{}};Tv.exports;var vY;function h1e(){return vY||(vY=1,(function(e,t){var r=Pu(),n=t&&!t.nodeType&&t,i=n&&!0&&e&&!e.nodeType&&e,a=i&&i.exports===n,o=a?r.Buffer:void 0,u=o?o.allocUnsafe:void 0;function s(c,d){if(d)return c.slice();var h=c.length,v=u?u(h):new c.constructor(h);return c.copy(v),v}e.exports=s})(Tv,Tv.exports)),Tv.exports}var Ox,pY;function v1e(){if(pY)return Ox;pY=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 Ox=e,Ox}var Ix,gY;function p1e(){if(gY)return Ix;gY=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=0,o=[];++n<i;){var u=t[n];r(u,n,t)&&(o[a++]=u)}return o}return Ix=e,Ix}var Px,mY;function Uie(){if(mY)return Px;mY=1;function e(){return[]}return Px=e,Px}var Dx,yY;function ZD(){if(yY)return Dx;yY=1;var e=p1e(),t=Uie(),r=Object.prototype,n=r.propertyIsEnumerable,i=Object.getOwnPropertySymbols,a=i?function(o){return o==null?[]:(o=Object(o),e(i(o),function(u){return n.call(o,u)}))}:t;return Dx=a,Dx}var kx,_Y;function g1e(){if(_Y)return kx;_Y=1;var e=Y_(),t=ZD();function r(n,i){return e(n,t(n),i)}return kx=r,kx}var Nx,SY;function qie(){if(SY)return Nx;SY=1;function e(t,r){for(var n=-1,i=r.length,a=t.length;++n<i;)t[a+n]=r[n];return t}return Nx=e,Nx}var Lx,EY;function Vie(){if(EY)return Lx;EY=1;var e=Fie(),t=e(Object.getPrototypeOf,Object);return Lx=t,Lx}var Mx,wY;function Bie(){if(wY)return Mx;wY=1;var e=qie(),t=Vie(),r=ZD(),n=Uie(),i=Object.getOwnPropertySymbols,a=i?function(o){for(var u=[];o;)e(u,r(o)),o=t(o);return u}:n;return Mx=a,Mx}var $x,bY;function m1e(){if(bY)return $x;bY=1;var e=Y_(),t=Bie();function r(n,i){return e(n,t(n),i)}return $x=r,$x}var Fx,TY;function Hie(){if(TY)return Fx;TY=1;var e=qie(),t=Th();function r(n,i,a){var o=i(n);return t(n)?o:e(o,a(n))}return Fx=r,Fx}var jx,RY;function y1e(){if(RY)return jx;RY=1;var e=Hie(),t=ZD(),r=QD();function n(i){return e(i,r,t)}return jx=n,jx}var Ux,xY;function _1e(){if(xY)return Ux;xY=1;var e=Hie(),t=Bie(),r=JD();function n(i){return e(i,r,t)}return Ux=n,Ux}var qx,CY;function S1e(){if(CY)return qx;CY=1;var e=kf(),t=Pu(),r=e(t,"DataView");return qx=r,qx}var Vx,AY;function E1e(){if(AY)return Vx;AY=1;var e=kf(),t=Pu(),r=e(t,"Promise");return Vx=r,Vx}var Bx,OY;function w1e(){if(OY)return Bx;OY=1;var e=kf(),t=Pu(),r=e(t,"Set");return Bx=r,Bx}var Hx,IY;function b1e(){if(IY)return Hx;IY=1;var e=kf(),t=Pu(),r=e(t,"WeakMap");return Hx=r,Hx}var zx,PY;function ek(){if(PY)return zx;PY=1;var e=S1e(),t=GD(),r=E1e(),n=w1e(),i=b1e(),a=Fp(),o=Pie(),u="[object Map]",s="[object Object]",c="[object Promise]",d="[object Set]",h="[object WeakMap]",v="[object DataView]",g=o(e),m=o(t),y=o(r),S=o(n),w=o(i),b=a;return(e&&b(new e(new ArrayBuffer(1)))!=v||t&&b(new t)!=u||r&&b(r.resolve())!=c||n&&b(new n)!=d||i&&b(new i)!=h)&&(b=function(A){var R=a(A),x=R==s?A.constructor:void 0,O=x?o(x):"";if(O)switch(O){case g:return v;case m:return u;case y:return c;case S:return d;case w:return h}return R}),zx=b,zx}var Wx,DY;function T1e(){if(DY)return Wx;DY=1;var e=Object.prototype,t=e.hasOwnProperty;function r(n){var i=n.length,a=new n.constructor(i);return i&&typeof n[0]=="string"&&t.call(n,"index")&&(a.index=n.index,a.input=n.input),a}return Wx=r,Wx}var Gx,kY;function R1e(){if(kY)return Gx;kY=1;var e=Pu(),t=e.Uint8Array;return Gx=t,Gx}var Yx,NY;function tk(){if(NY)return Yx;NY=1;var e=R1e();function t(r){var n=new r.constructor(r.byteLength);return new e(n).set(new e(r)),n}return Yx=t,Yx}var Kx,LY;function x1e(){if(LY)return Kx;LY=1;var e=tk();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.byteLength)}return Kx=t,Kx}var Xx,MY;function C1e(){if(MY)return Xx;MY=1;var e=/\w*$/;function t(r){var n=new r.constructor(r.source,e.exec(r));return n.lastIndex=r.lastIndex,n}return Xx=t,Xx}var Qx,$Y;function A1e(){if($Y)return Qx;$Y=1;var e=z_(),t=e?e.prototype:void 0,r=t?t.valueOf:void 0;function n(i){return r?Object(r.call(i)):{}}return Qx=n,Qx}var Jx,FY;function O1e(){if(FY)return Jx;FY=1;var e=tk();function t(r,n){var i=n?e(r.buffer):r.buffer;return new r.constructor(i,r.byteOffset,r.length)}return Jx=t,Jx}var Zx,jY;function I1e(){if(jY)return Zx;jY=1;var e=tk(),t=x1e(),r=C1e(),n=A1e(),i=O1e(),a="[object Boolean]",o="[object Date]",u="[object Map]",s="[object Number]",c="[object RegExp]",d="[object Set]",h="[object String]",v="[object Symbol]",g="[object ArrayBuffer]",m="[object DataView]",y="[object Float32Array]",S="[object Float64Array]",w="[object Int8Array]",b="[object Int16Array]",A="[object Int32Array]",R="[object Uint8Array]",x="[object Uint8ClampedArray]",O="[object Uint16Array]",_="[object Uint32Array]";function P(N,U,$){var B=N.constructor;switch(U){case g:return e(N);case a:case o:return new B(+N);case m:return t(N,$);case y:case S:case w:case b:case A:case R:case x:case O:case _:return i(N,$);case u:return new B;case s:case h:return new B(N);case c:return r(N);case d:return new B;case v:return n(N)}}return Zx=P,Zx}var eC,UY;function P1e(){if(UY)return eC;UY=1;var e=jp(),t=Object.create,r=(function(){function n(){}return function(i){if(!e(i))return{};if(t)return t(i);n.prototype=i;var a=new n;return n.prototype=void 0,a}})();return eC=r,eC}var tC,qY;function D1e(){if(qY)return tC;qY=1;var e=P1e(),t=Vie(),r=XD();function n(i){return typeof i.constructor=="function"&&!r(i)?e(t(i)):{}}return tC=n,tC}var rC,VY;function k1e(){if(VY)return rC;VY=1;var e=ek(),t=bh(),r="[object Map]";function n(i){return t(i)&&e(i)==r}return rC=n,rC}var nC,BY;function N1e(){if(BY)return nC;BY=1;var e=k1e(),t=YD(),r=KD(),n=r&&r.isMap,i=n?t(n):e;return nC=i,nC}var iC,HY;function L1e(){if(HY)return iC;HY=1;var e=ek(),t=bh(),r="[object Set]";function n(i){return t(i)&&e(i)==r}return iC=n,iC}var aC,zY;function M1e(){if(zY)return aC;zY=1;var e=L1e(),t=YD(),r=KD(),n=r&&r.isSet,i=n?t(n):e;return aC=i,aC}var oC,WY;function $1e(){if(WY)return oC;WY=1;var e=Qwe(),t=Jwe(),r=Nie(),n=l1e(),i=d1e(),a=h1e(),o=v1e(),u=g1e(),s=m1e(),c=y1e(),d=_1e(),h=ek(),v=T1e(),g=I1e(),m=D1e(),y=Th(),S=Lie(),w=N1e(),b=jp(),A=M1e(),R=QD(),x=JD(),O=1,_=2,P=4,N="[object Arguments]",U="[object Array]",$="[object Boolean]",B="[object Date]",Y="[object Error]",Q="[object Function]",K="[object GeneratorFunction]",ee="[object Map]",ne="[object Number]",D="[object Object]",I="[object RegExp]",L="[object Set]",re="[object String]",te="[object Symbol]",ce="[object WeakMap]",be="[object ArrayBuffer]",Ie="[object DataView]",je="[object Float32Array]",z="[object Float64Array]",k="[object Int8Array]",q="[object Int16Array]",H="[object Int32Array]",ie="[object Uint8Array]",V="[object Uint8ClampedArray]",Z="[object Uint16Array]",me="[object Uint32Array]",fe={};fe[N]=fe[U]=fe[be]=fe[Ie]=fe[$]=fe[B]=fe[je]=fe[z]=fe[k]=fe[q]=fe[H]=fe[ee]=fe[ne]=fe[D]=fe[I]=fe[L]=fe[re]=fe[te]=fe[ie]=fe[V]=fe[Z]=fe[me]=!0,fe[Y]=fe[Q]=fe[ce]=!1;function Re(Se,Oe,Me,de,Ee,_e){var xe,ke=Oe&O,Le=Oe&_,He=Oe&P;if(Me&&(xe=Ee?Me(Se,de,Ee,_e):Me(Se)),xe!==void 0)return xe;if(!b(Se))return Se;var _t=y(Se);if(_t){if(xe=v(Se),!ke)return o(Se,xe)}else{var jt=h(Se),Lt=jt==Q||jt==K;if(S(Se))return a(Se,ke);if(jt==D||jt==N||Lt&&!Ee){if(xe=Le||Lt?{}:m(Se),!ke)return Le?s(Se,i(xe,Se)):u(Se,n(xe,Se))}else{if(!fe[jt])return Ee?Se:{};xe=g(Se,jt,ke)}}_e||(_e=new e);var Qe=_e.get(Se);if(Qe)return Qe;_e.set(Se,xe),A(Se)?Se.forEach(function(St){xe.add(Re(St,Oe,Me,St,Se,_e))}):w(Se)&&Se.forEach(function(St,yt){xe.set(yt,Re(St,Oe,Me,yt,Se,_e))});var bt=He?Le?d:c:Le?x:R,mt=_t?void 0:bt(Se);return t(mt||Se,function(St,yt){mt&&(yt=St,St=Se[yt]),r(xe,yt,Re(St,Oe,Me,yt,Se,_e))}),xe}return oC=Re,oC}var sC,GY;function F1e(){if(GY)return sC;GY=1;var e=$1e(),t=1,r=4;function n(i){return e(i,t|r)}return sC=n,sC}var j1e=F1e();const U1e=jn(j1e);var uC,YY;function rk(){if(YY)return uC;YY=1;var e=Fp(),t=bh(),r="[object Symbol]";function n(i){return typeof i=="symbol"||t(i)&&e(i)==r}return uC=n,uC}var lC,KY;function q1e(){if(KY)return lC;KY=1;var e=Th(),t=rk(),r=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,n=/^\w*$/;function i(a,o){if(e(a))return!1;var u=typeof a;return u=="number"||u=="symbol"||u=="boolean"||a==null||t(a)?!0:n.test(a)||!r.test(a)||o!=null&&a in Object(o)}return lC=i,lC}var cC,XY;function V1e(){if(XY)return cC;XY=1;var e=Die(),t="Expected a function";function r(n,i){if(typeof n!="function"||i!=null&&typeof i!="function")throw new TypeError(t);var a=function(){var o=arguments,u=i?i.apply(this,o):o[0],s=a.cache;if(s.has(u))return s.get(u);var c=n.apply(this,o);return a.cache=s.set(u,c)||s,c};return a.cache=new(r.Cache||e),a}return r.Cache=e,cC=r,cC}var fC,QY;function B1e(){if(QY)return fC;QY=1;var e=V1e(),t=500;function r(n){var i=e(n,function(o){return a.size===t&&a.clear(),o}),a=i.cache;return i}return fC=r,fC}var dC,JY;function H1e(){if(JY)return dC;JY=1;var e=B1e(),t=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,r=/\\(\\)?/g,n=e(function(i){var a=[];return i.charCodeAt(0)===46&&a.push(""),i.replace(t,function(o,u,s,c){a.push(s?c.replace(r,"$1"):u||o)}),a});return dC=n,dC}var hC,ZY;function z1e(){if(ZY)return hC;ZY=1;function e(t,r){for(var n=-1,i=t==null?0:t.length,a=Array(i);++n<i;)a[n]=r(t[n],n,t);return a}return hC=e,hC}var vC,eK;function W1e(){if(eK)return vC;eK=1;var e=z_(),t=z1e(),r=Th(),n=rk(),i=e?e.prototype:void 0,a=i?i.toString:void 0;function o(u){if(typeof u=="string")return u;if(r(u))return t(u,o)+"";if(n(u))return a?a.call(u):"";var s=u+"";return s=="0"&&1/u==-1/0?"-0":s}return vC=o,vC}var pC,tK;function G1e(){if(tK)return pC;tK=1;var e=W1e();function t(r){return r==null?"":e(r)}return pC=t,pC}var gC,rK;function Y1e(){if(rK)return gC;rK=1;var e=Th(),t=q1e(),r=H1e(),n=G1e();function i(a,o){return e(a)?a:t(a,o)?[a]:r(n(a))}return gC=i,gC}var mC,nK;function K1e(){if(nK)return mC;nK=1;var e=rk();function t(r){if(typeof r=="string"||e(r))return r;var n=r+"";return n=="0"&&1/r==-1/0?"-0":n}return mC=t,mC}var yC,iK;function X1e(){if(iK)return yC;iK=1;var e=Y1e(),t=K1e();function r(n,i){i=e(i,n);for(var a=0,o=i.length;n!=null&&a<o;)n=n[t(i[a++])];return a&&a==o?n:void 0}return yC=r,yC}var _C,aK;function Q1e(){if(aK)return _C;aK=1;var e=X1e();function t(r,n,i){var a=r==null?void 0:e(r,n);return a===void 0?i:a}return _C=t,_C}var J1e=Q1e();const Z1e=jn(J1e),Ui={isEmpty(e){return Gv(e)},values(e){return hc(e)},keys(e){return sa(e)},deepClone(e){return U1e(e)},getEnumKeys(e){return Object.keys(e).filter(t=>!(parseInt(t)>=0))},isObject(e){return Ms(e)},isEqual(e,t){return pne(e,t)},omit(e,t){return M_(e,t)},pick(e,t){return UD(e,t)},removeEmptyKeys(e){return Object.entries(e).filter(([,t])=>t!=null).reduce((t,[r,n])=>({...t,[r]:n}),{})},flattenObjectToString(e,t="",r=","){return Object.keys(e).sort().map(n=>{const i=t?`${t}.${n}`:n;return typeof e[n]=="object"&&!Array.isArray(e[n])?Ui.flattenObjectToString(e[n],i):`${i}:${e[n]}`}).join(r)},get(e,t,r){return Z1e(e,t,r)},swapKeysAndValues(e){return Object.entries(e).reduce((t,[r,n])=>({...t,[n]:r}),{})}};function ebe(e,t,r,n){if(r[e])return r[e];r[e]={};const i=hy(t[e],t,r,n);return Object.assign(r[e],i),Ui.isEmpty(r[e])?(delete r[e],e):Ui.omit(r[e],["__modifyCount"])}function hy(e,t,r,n){if(!e)return e;if(typeof e=="string")return ebe(e,t,r,n);if(Array.isArray(e))return e.map(i=>hy(i,t,r,n));if(n.has(e))return n.get(e);if(typeof e=="object"){const i={};return n.set(e,i),Object.keys(e).forEach(a=>{i[a]=hy(e[a],t,r,n)}),i}return e}function nk(e,t){return hy(e,t,{},new WeakMap)}var SC={exports:{}},mn={},oK;function tbe(){if(oK)return mn;oK=1;/**
|
|
57
|
-
* @license React
|
|
58
|
-
* react.production.min.js
|
|
59
|
-
*
|
|
60
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
61
|
-
*
|
|
62
|
-
* This source code is licensed under the MIT license found in the
|
|
63
|
-
* LICENSE file in the root directory of this source tree.
|
|
64
|
-
*/var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),u=Symbol.for("react.forward_ref"),s=Symbol.for("react.suspense"),c=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),h=Symbol.iterator;function v(L){return L===null||typeof L!="object"?null:(L=h&&L[h]||L["@@iterator"],typeof L=="function"?L:null)}var g={isMounted:function(){return!1},enqueueForceUpdate:function(){},enqueueReplaceState:function(){},enqueueSetState:function(){}},m=Object.assign,y={};function S(L,re,te){this.props=L,this.context=re,this.refs=y,this.updater=te||g}S.prototype.isReactComponent={},S.prototype.setState=function(L,re){if(typeof L!="object"&&typeof L!="function"&&L!=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,L,re,"setState")},S.prototype.forceUpdate=function(L){this.updater.enqueueForceUpdate(this,L,"forceUpdate")};function w(){}w.prototype=S.prototype;function b(L,re,te){this.props=L,this.context=re,this.refs=y,this.updater=te||g}var A=b.prototype=new w;A.constructor=b,m(A,S.prototype),A.isPureReactComponent=!0;var R=Array.isArray,x=Object.prototype.hasOwnProperty,O={current:null},_={key:!0,ref:!0,__self:!0,__source:!0};function P(L,re,te){var ce,be={},Ie=null,je=null;if(re!=null)for(ce in re.ref!==void 0&&(je=re.ref),re.key!==void 0&&(Ie=""+re.key),re)x.call(re,ce)&&!_.hasOwnProperty(ce)&&(be[ce]=re[ce]);var z=arguments.length-2;if(z===1)be.children=te;else if(1<z){for(var k=Array(z),q=0;q<z;q++)k[q]=arguments[q+2];be.children=k}if(L&&L.defaultProps)for(ce in z=L.defaultProps,z)be[ce]===void 0&&(be[ce]=z[ce]);return{$$typeof:e,type:L,key:Ie,ref:je,props:be,_owner:O.current}}function N(L,re){return{$$typeof:e,type:L.type,key:re,ref:L.ref,props:L.props,_owner:L._owner}}function U(L){return typeof L=="object"&&L!==null&&L.$$typeof===e}function $(L){var re={"=":"=0",":":"=2"};return"$"+L.replace(/[=:]/g,function(te){return re[te]})}var B=/\/+/g;function Y(L,re){return typeof L=="object"&&L!==null&&L.key!=null?$(""+L.key):re.toString(36)}function Q(L,re,te,ce,be){var Ie=typeof L;(Ie==="undefined"||Ie==="boolean")&&(L=null);var je=!1;if(L===null)je=!0;else switch(Ie){case"string":case"number":je=!0;break;case"object":switch(L.$$typeof){case e:case t:je=!0}}if(je)return je=L,be=be(je),L=ce===""?"."+Y(je,0):ce,R(be)?(te="",L!=null&&(te=L.replace(B,"$&/")+"/"),Q(be,re,te,"",function(q){return q})):be!=null&&(U(be)&&(be=N(be,te+(!be.key||je&&je.key===be.key?"":(""+be.key).replace(B,"$&/")+"/")+L)),re.push(be)),1;if(je=0,ce=ce===""?".":ce+":",R(L))for(var z=0;z<L.length;z++){Ie=L[z];var k=ce+Y(Ie,z);je+=Q(Ie,re,te,k,be)}else if(k=v(L),typeof k=="function")for(L=k.call(L),z=0;!(Ie=L.next()).done;)Ie=Ie.value,k=ce+Y(Ie,z++),je+=Q(Ie,re,te,k,be);else if(Ie==="object")throw re=String(L),Error("Objects are not valid as a React child (found: "+(re==="[object Object]"?"object with keys {"+Object.keys(L).join(", ")+"}":re)+"). If you meant to render a collection of children, use an array instead.");return je}function K(L,re,te){if(L==null)return L;var ce=[],be=0;return Q(L,ce,"","",function(Ie){return re.call(te,Ie,be++)}),ce}function ee(L){if(L._status===-1){var re=L._result;re=re(),re.then(function(te){(L._status===0||L._status===-1)&&(L._status=1,L._result=te)},function(te){(L._status===0||L._status===-1)&&(L._status=2,L._result=te)}),L._status===-1&&(L._status=0,L._result=re)}if(L._status===1)return L._result.default;throw L._result}var ne={current:null},D={transition:null},I={ReactCurrentDispatcher:ne,ReactCurrentBatchConfig:D,ReactCurrentOwner:O};return mn.Children={map:K,forEach:function(L,re,te){K(L,function(){re.apply(this,arguments)},te)},count:function(L){var re=0;return K(L,function(){re++}),re},toArray:function(L){return K(L,function(re){return re})||[]},only:function(L){if(!U(L))throw Error("React.Children.only expected to receive a single React element child.");return L}},mn.Component=S,mn.Fragment=r,mn.Profiler=i,mn.PureComponent=b,mn.StrictMode=n,mn.Suspense=s,mn.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=I,mn.cloneElement=function(L,re,te){if(L==null)throw Error("React.cloneElement(...): The argument must be a React element, but you passed "+L+".");var ce=m({},L.props),be=L.key,Ie=L.ref,je=L._owner;if(re!=null){if(re.ref!==void 0&&(Ie=re.ref,je=O.current),re.key!==void 0&&(be=""+re.key),L.type&&L.type.defaultProps)var z=L.type.defaultProps;for(k in re)x.call(re,k)&&!_.hasOwnProperty(k)&&(ce[k]=re[k]===void 0&&z!==void 0?z[k]:re[k])}var k=arguments.length-2;if(k===1)ce.children=te;else if(1<k){z=Array(k);for(var q=0;q<k;q++)z[q]=arguments[q+2];ce.children=z}return{$$typeof:e,type:L.type,key:be,ref:Ie,props:ce,_owner:je}},mn.createContext=function(L){return L={$$typeof:o,_currentValue:L,_currentValue2:L,_threadCount:0,Provider:null,Consumer:null,_defaultValue:null,_globalName:null},L.Provider={$$typeof:a,_context:L},L.Consumer=L},mn.createElement=P,mn.createFactory=function(L){var re=P.bind(null,L);return re.type=L,re},mn.createRef=function(){return{current:null}},mn.forwardRef=function(L){return{$$typeof:u,render:L}},mn.isValidElement=U,mn.lazy=function(L){return{$$typeof:d,_payload:{_status:-1,_result:L},_init:ee}},mn.memo=function(L,re){return{$$typeof:c,type:L,compare:re===void 0?null:re}},mn.startTransition=function(L){var re=D.transition;D.transition={};try{L()}finally{D.transition=re}},mn.unstable_act=function(){throw Error("act(...) is not supported in production builds of React.")},mn.useCallback=function(L,re){return ne.current.useCallback(L,re)},mn.useContext=function(L){return ne.current.useContext(L)},mn.useDebugValue=function(){},mn.useDeferredValue=function(L){return ne.current.useDeferredValue(L)},mn.useEffect=function(L,re){return ne.current.useEffect(L,re)},mn.useId=function(){return ne.current.useId()},mn.useImperativeHandle=function(L,re,te){return ne.current.useImperativeHandle(L,re,te)},mn.useInsertionEffect=function(L,re){return ne.current.useInsertionEffect(L,re)},mn.useLayoutEffect=function(L,re){return ne.current.useLayoutEffect(L,re)},mn.useMemo=function(L,re){return ne.current.useMemo(L,re)},mn.useReducer=function(L,re,te){return ne.current.useReducer(L,re,te)},mn.useRef=function(L){return ne.current.useRef(L)},mn.useState=function(L){return ne.current.useState(L)},mn.useSyncExternalStore=function(L,re,te){return ne.current.useSyncExternalStore(L,re,te)},mn.useTransition=function(){return ne.current.useTransition()},mn.version="18.1.0",mn}var sK;function zo(){return sK||(sK=1,SC.exports=tbe()),SC.exports}var pe=zo();const or=jn(pe);var EC={exports:{}},wC={};/**
|
|
65
|
-
* @license React
|
|
66
|
-
* use-sync-external-store-shim.production.js
|
|
67
|
-
*
|
|
68
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
69
|
-
*
|
|
70
|
-
* This source code is licensed under the MIT license found in the
|
|
71
|
-
* LICENSE file in the root directory of this source tree.
|
|
72
|
-
*/var uK;function rbe(){if(uK)return wC;uK=1;var e=zo();function t(h,v){return h===v&&(h!==0||1/h===1/v)||h!==h&&v!==v}var r=typeof Object.is=="function"?Object.is:t,n=e.useState,i=e.useEffect,a=e.useLayoutEffect,o=e.useDebugValue;function u(h,v){var g=v(),m=n({inst:{value:g,getSnapshot:v}}),y=m[0].inst,S=m[1];return a(function(){y.value=g,y.getSnapshot=v,s(y)&&S({inst:y})},[h,g,v]),i(function(){return s(y)&&S({inst:y}),h(function(){s(y)&&S({inst:y})})},[h]),o(g),g}function s(h){var v=h.getSnapshot;h=h.value;try{var g=v();return!r(h,g)}catch{return!0}}function c(h,v){return v()}var d=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?c:u;return wC.useSyncExternalStore=e.useSyncExternalStore!==void 0?e.useSyncExternalStore:d,wC}var lK;function zie(){return lK||(lK=1,EC.exports=rbe()),EC.exports}zie();var bC={exports:{}},TC={};/**
|
|
73
|
-
* @license React
|
|
74
|
-
* use-sync-external-store-shim/with-selector.production.js
|
|
75
|
-
*
|
|
76
|
-
* Copyright (c) Meta Platforms, Inc. and affiliates.
|
|
77
|
-
*
|
|
78
|
-
* This source code is licensed under the MIT license found in the
|
|
79
|
-
* LICENSE file in the root directory of this source tree.
|
|
80
|
-
*/var cK;function nbe(){if(cK)return TC;cK=1;var e=zo(),t=zie();function r(c,d){return c===d&&(c!==0||1/c===1/d)||c!==c&&d!==d}var n=typeof Object.is=="function"?Object.is:r,i=t.useSyncExternalStore,a=e.useRef,o=e.useEffect,u=e.useMemo,s=e.useDebugValue;return TC.useSyncExternalStoreWithSelector=function(c,d,h,v,g){var m=a(null);if(m.current===null){var y={hasValue:!1,value:null};m.current=y}else y=m.current;m=u(function(){function w(O){if(!b){if(b=!0,A=O,O=v(O),g!==void 0&&y.hasValue){var _=y.value;if(g(_,O))return R=_}return R=O}if(_=R,n(A,O))return _;var P=v(O);return g!==void 0&&g(_,P)?(A=O,_):(A=O,R=P)}var b=!1,A,R,x=h===void 0?null:h;return[function(){return w(d())},x===null?void 0:function(){return w(x())}]},[d,h,v,g]);var S=i(c,m[0],m[1]);return o(function(){y.hasValue=!0,y.value=S},[S]),s(S),S},TC}var fK;function ibe(){return fK||(fK=1,bC.exports=nbe()),bC.exports}var abe=ibe(),RC={exports:{}},Po={},xC={exports:{}},CC={};/**
|
|
81
|
-
* @license React
|
|
82
|
-
* scheduler.production.min.js
|
|
83
|
-
*
|
|
84
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
85
|
-
*
|
|
86
|
-
* This source code is licensed under the MIT license found in the
|
|
87
|
-
* LICENSE file in the root directory of this source tree.
|
|
88
|
-
*/var dK;function obe(){return dK||(dK=1,(function(e){function t(D,I){var L=D.length;D.push(I);e:for(;0<L;){var re=L-1>>>1,te=D[re];if(0<i(te,I))D[re]=I,D[L]=te,L=re;else break e}}function r(D){return D.length===0?null:D[0]}function n(D){if(D.length===0)return null;var I=D[0],L=D.pop();if(L!==I){D[0]=L;e:for(var re=0,te=D.length,ce=te>>>1;re<ce;){var be=2*(re+1)-1,Ie=D[be],je=be+1,z=D[je];if(0>i(Ie,L))je<te&&0>i(z,Ie)?(D[re]=z,D[je]=L,re=je):(D[re]=Ie,D[be]=L,re=be);else if(je<te&&0>i(z,L))D[re]=z,D[je]=L,re=je;else break e}}return I}function i(D,I){var L=D.sortIndex-I.sortIndex;return L!==0?L:D.id-I.id}if(typeof performance=="object"&&typeof performance.now=="function"){var a=performance;e.unstable_now=function(){return a.now()}}else{var o=Date,u=o.now();e.unstable_now=function(){return o.now()-u}}var s=[],c=[],d=1,h=null,v=3,g=!1,m=!1,y=!1,S=typeof setTimeout=="function"?setTimeout:null,w=typeof clearTimeout=="function"?clearTimeout:null,b=typeof setImmediate<"u"?setImmediate:null;typeof navigator<"u"&&navigator.scheduling!==void 0&&navigator.scheduling.isInputPending!==void 0&&navigator.scheduling.isInputPending.bind(navigator.scheduling);function A(D){for(var I=r(c);I!==null;){if(I.callback===null)n(c);else if(I.startTime<=D)n(c),I.sortIndex=I.expirationTime,t(s,I);else break;I=r(c)}}function R(D){if(y=!1,A(D),!m)if(r(s)!==null)m=!0,ee(x);else{var I=r(c);I!==null&&ne(R,I.startTime-D)}}function x(D,I){m=!1,y&&(y=!1,w(P),P=-1),g=!0;var L=v;try{for(A(I),h=r(s);h!==null&&(!(h.expirationTime>I)||D&&!$());){var re=h.callback;if(typeof re=="function"){h.callback=null,v=h.priorityLevel;var te=re(h.expirationTime<=I);I=e.unstable_now(),typeof te=="function"?h.callback=te:h===r(s)&&n(s),A(I)}else n(s);h=r(s)}if(h!==null)var ce=!0;else{var be=r(c);be!==null&&ne(R,be.startTime-I),ce=!1}return ce}finally{h=null,v=L,g=!1}}var O=!1,_=null,P=-1,N=5,U=-1;function $(){return!(e.unstable_now()-U<N)}function B(){if(_!==null){var D=e.unstable_now();U=D;var I=!0;try{I=_(!0,D)}finally{I?Y():(O=!1,_=null)}}else O=!1}var Y;if(typeof b=="function")Y=function(){b(B)};else if(typeof MessageChannel<"u"){var Q=new MessageChannel,K=Q.port2;Q.port1.onmessage=B,Y=function(){K.postMessage(null)}}else Y=function(){S(B,0)};function ee(D){_=D,O||(O=!0,Y())}function ne(D,I){P=S(function(){D(e.unstable_now())},I)}e.unstable_IdlePriority=5,e.unstable_ImmediatePriority=1,e.unstable_LowPriority=4,e.unstable_NormalPriority=3,e.unstable_Profiling=null,e.unstable_UserBlockingPriority=2,e.unstable_cancelCallback=function(D){D.callback=null},e.unstable_continueExecution=function(){m||g||(m=!0,ee(x))},e.unstable_forceFrameRate=function(D){0>D||125<D?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):N=0<D?Math.floor(1e3/D):5},e.unstable_getCurrentPriorityLevel=function(){return v},e.unstable_getFirstCallbackNode=function(){return r(s)},e.unstable_next=function(D){switch(v){case 1:case 2:case 3:var I=3;break;default:I=v}var L=v;v=I;try{return D()}finally{v=L}},e.unstable_pauseExecution=function(){},e.unstable_requestPaint=function(){},e.unstable_runWithPriority=function(D,I){switch(D){case 1:case 2:case 3:case 4:case 5:break;default:D=3}var L=v;v=D;try{return I()}finally{v=L}},e.unstable_scheduleCallback=function(D,I,L){var re=e.unstable_now();switch(typeof L=="object"&&L!==null?(L=L.delay,L=typeof L=="number"&&0<L?re+L:re):L=re,D){case 1:var te=-1;break;case 2:te=250;break;case 5:te=1073741823;break;case 4:te=1e4;break;default:te=5e3}return te=L+te,D={id:d++,callback:I,priorityLevel:D,startTime:L,expirationTime:te,sortIndex:-1},L>re?(D.sortIndex=L,t(c,D),r(s)===null&&D===r(c)&&(y?(w(P),P=-1):y=!0,ne(R,L-re))):(D.sortIndex=te,t(s,D),m||g||(m=!0,ee(x))),D},e.unstable_shouldYield=$,e.unstable_wrapCallback=function(D){var I=v;return function(){var L=v;v=I;try{return D.apply(this,arguments)}finally{v=L}}}})(CC)),CC}var hK;function sbe(){return hK||(hK=1,xC.exports=obe()),xC.exports}/**
|
|
89
|
-
* @license React
|
|
90
|
-
* react-dom.production.min.js
|
|
91
|
-
*
|
|
92
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
93
|
-
*
|
|
94
|
-
* This source code is licensed under the MIT license found in the
|
|
95
|
-
* LICENSE file in the root directory of this source tree.
|
|
96
|
-
*/var vK;function ube(){if(vK)return Po;vK=1;var e=zo(),t=sbe();function r(l){for(var f="https://reactjs.org/docs/error-decoder.html?invariant="+l,p=1;p<arguments.length;p++)f+="&args[]="+encodeURIComponent(arguments[p]);return"Minified React error #"+l+"; visit "+f+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var n=new Set,i={};function a(l,f){o(l,f),o(l+"Capture",f)}function o(l,f){for(i[l]=f,l=0;l<f.length;l++)n.add(f[l])}var u=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),s=Object.prototype.hasOwnProperty,c=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,d={},h={};function v(l){return s.call(h,l)?!0:s.call(d,l)?!1:c.test(l)?h[l]=!0:(d[l]=!0,!1)}function g(l,f,p,T){if(p!==null&&p.type===0)return!1;switch(typeof f){case"function":case"symbol":return!0;case"boolean":return T?!1:p!==null?!p.acceptsBooleans:(l=l.toLowerCase().slice(0,5),l!=="data-"&&l!=="aria-");default:return!1}}function m(l,f,p,T){if(f===null||typeof f>"u"||g(l,f,p,T))return!0;if(T)return!1;if(p!==null)switch(p.type){case 3:return!f;case 4:return f===!1;case 5:return isNaN(f);case 6:return isNaN(f)||1>f}return!1}function y(l,f,p,T,F,J,ye){this.acceptsBooleans=f===2||f===3||f===4,this.attributeName=T,this.attributeNamespace=F,this.mustUseProperty=p,this.propertyName=l,this.type=f,this.sanitizeURL=J,this.removeEmptyString=ye}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(l){S[l]=new y(l,0,!1,l,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(l){var f=l[0];S[f]=new y(f,1,!1,l[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(l){S[l]=new y(l,2,!1,l.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(l){S[l]=new y(l,2,!1,l,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(l){S[l]=new y(l,3,!1,l.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(l){S[l]=new y(l,3,!0,l,null,!1,!1)}),["capture","download"].forEach(function(l){S[l]=new y(l,4,!1,l,null,!1,!1)}),["cols","rows","size","span"].forEach(function(l){S[l]=new y(l,6,!1,l,null,!1,!1)}),["rowSpan","start"].forEach(function(l){S[l]=new y(l,5,!1,l.toLowerCase(),null,!1,!1)});var w=/[\-:]([a-z])/g;function b(l){return l[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(l){var f=l.replace(w,b);S[f]=new y(f,1,!1,l,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(l){var f=l.replace(w,b);S[f]=new y(f,1,!1,l,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(l){var f=l.replace(w,b);S[f]=new y(f,1,!1,l,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(l){S[l]=new y(l,1,!1,l.toLowerCase(),null,!1,!1)}),S.xlinkHref=new y("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(l){S[l]=new y(l,1,!1,l.toLowerCase(),null,!0,!0)});function A(l,f,p,T){var F=S.hasOwnProperty(f)?S[f]:null;(F!==null?F.type!==0:T||!(2<f.length)||f[0]!=="o"&&f[0]!=="O"||f[1]!=="n"&&f[1]!=="N")&&(m(f,p,F,T)&&(p=null),T||F===null?v(f)&&(p===null?l.removeAttribute(f):l.setAttribute(f,""+p)):F.mustUseProperty?l[F.propertyName]=p===null?F.type===3?!1:"":p:(f=F.attributeName,T=F.attributeNamespace,p===null?l.removeAttribute(f):(F=F.type,p=F===3||F===4&&p===!0?"":""+p,T?l.setAttributeNS(T,f,p):l.setAttribute(f,p))))}var R=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,x=Symbol.for("react.element"),O=Symbol.for("react.portal"),_=Symbol.for("react.fragment"),P=Symbol.for("react.strict_mode"),N=Symbol.for("react.profiler"),U=Symbol.for("react.provider"),$=Symbol.for("react.context"),B=Symbol.for("react.forward_ref"),Y=Symbol.for("react.suspense"),Q=Symbol.for("react.suspense_list"),K=Symbol.for("react.memo"),ee=Symbol.for("react.lazy"),ne=Symbol.for("react.offscreen"),D=Symbol.iterator;function I(l){return l===null||typeof l!="object"?null:(l=D&&l[D]||l["@@iterator"],typeof l=="function"?l:null)}var L=Object.assign,re;function te(l){if(re===void 0)try{throw Error()}catch(p){var f=p.stack.trim().match(/\n( *(at )?)/);re=f&&f[1]||""}return`
|
|
97
|
-
`+re+l}var ce=!1;function be(l,f){if(!l||ce)return"";ce=!0;var p=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{if(f)if(f=function(){throw Error()},Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(gt){var T=gt}Reflect.construct(l,[],f)}else{try{f.call()}catch(gt){T=gt}l.call(f.prototype)}else{try{throw Error()}catch(gt){T=gt}l()}}catch(gt){if(gt&&T&&typeof gt.stack=="string"){for(var F=gt.stack.split(`
|
|
98
|
-
`),J=T.stack.split(`
|
|
99
|
-
`),ye=F.length-1,De=J.length-1;1<=ye&&0<=De&&F[ye]!==J[De];)De--;for(;1<=ye&&0<=De;ye--,De--)if(F[ye]!==J[De]){if(ye!==1||De!==1)do if(ye--,De--,0>De||F[ye]!==J[De]){var ze=`
|
|
100
|
-
`+F[ye].replace(" at new "," at ");return l.displayName&&ze.includes("<anonymous>")&&(ze=ze.replace("<anonymous>",l.displayName)),ze}while(1<=ye&&0<=De);break}}}finally{ce=!1,Error.prepareStackTrace=p}return(l=l?l.displayName||l.name:"")?te(l):""}function Ie(l){switch(l.tag){case 5:return te(l.type);case 16:return te("Lazy");case 13:return te("Suspense");case 19:return te("SuspenseList");case 0:case 2:case 15:return l=be(l.type,!1),l;case 11:return l=be(l.type.render,!1),l;case 1:return l=be(l.type,!0),l;default:return""}}function je(l){if(l==null)return null;if(typeof l=="function")return l.displayName||l.name||null;if(typeof l=="string")return l;switch(l){case _:return"Fragment";case O:return"Portal";case N:return"Profiler";case P:return"StrictMode";case Y:return"Suspense";case Q:return"SuspenseList"}if(typeof l=="object")switch(l.$$typeof){case $:return(l.displayName||"Context")+".Consumer";case U:return(l._context.displayName||"Context")+".Provider";case B:var f=l.render;return l=l.displayName,l||(l=f.displayName||f.name||"",l=l!==""?"ForwardRef("+l+")":"ForwardRef"),l;case K:return f=l.displayName||null,f!==null?f:je(l.type)||"Memo";case ee:f=l._payload,l=l._init;try{return je(l(f))}catch{}}return null}function z(l){var f=l.type;switch(l.tag){case 24:return"Cache";case 9:return(f.displayName||"Context")+".Consumer";case 10:return(f._context.displayName||"Context")+".Provider";case 18:return"DehydratedFragment";case 11:return l=f.render,l=l.displayName||l.name||"",f.displayName||(l!==""?"ForwardRef("+l+")":"ForwardRef");case 7:return"Fragment";case 5:return f;case 4:return"Portal";case 3:return"Root";case 6:return"Text";case 16:return je(f);case 8:return f===P?"StrictMode":"Mode";case 22:return"Offscreen";case 12:return"Profiler";case 21:return"Scope";case 13:return"Suspense";case 19:return"SuspenseList";case 25:return"TracingMarker";case 1:case 0:case 17:case 2:case 14:case 15:if(typeof f=="function")return f.displayName||f.name||null;if(typeof f=="string")return f}return null}function k(l){switch(typeof l){case"boolean":case"number":case"string":case"undefined":return l;case"object":return l;default:return""}}function q(l){var f=l.type;return(l=l.nodeName)&&l.toLowerCase()==="input"&&(f==="checkbox"||f==="radio")}function H(l){var f=q(l)?"checked":"value",p=Object.getOwnPropertyDescriptor(l.constructor.prototype,f),T=""+l[f];if(!l.hasOwnProperty(f)&&typeof p<"u"&&typeof p.get=="function"&&typeof p.set=="function"){var F=p.get,J=p.set;return Object.defineProperty(l,f,{configurable:!0,get:function(){return F.call(this)},set:function(ye){T=""+ye,J.call(this,ye)}}),Object.defineProperty(l,f,{enumerable:p.enumerable}),{getValue:function(){return T},setValue:function(ye){T=""+ye},stopTracking:function(){l._valueTracker=null,delete l[f]}}}}function ie(l){l._valueTracker||(l._valueTracker=H(l))}function V(l){if(!l)return!1;var f=l._valueTracker;if(!f)return!0;var p=f.getValue(),T="";return l&&(T=q(l)?l.checked?"true":"false":l.value),l=T,l!==p?(f.setValue(l),!0):!1}function Z(l){if(l=l||(typeof document<"u"?document:void 0),typeof l>"u")return null;try{return l.activeElement||l.body}catch{return l.body}}function me(l,f){var p=f.checked;return L({},f,{defaultChecked:void 0,defaultValue:void 0,value:void 0,checked:p??l._wrapperState.initialChecked})}function fe(l,f){var p=f.defaultValue==null?"":f.defaultValue,T=f.checked!=null?f.checked:f.defaultChecked;p=k(f.value!=null?f.value:p),l._wrapperState={initialChecked:T,initialValue:p,controlled:f.type==="checkbox"||f.type==="radio"?f.checked!=null:f.value!=null}}function Re(l,f){f=f.checked,f!=null&&A(l,"checked",f,!1)}function Se(l,f){Re(l,f);var p=k(f.value),T=f.type;if(p!=null)T==="number"?(p===0&&l.value===""||l.value!=p)&&(l.value=""+p):l.value!==""+p&&(l.value=""+p);else if(T==="submit"||T==="reset"){l.removeAttribute("value");return}f.hasOwnProperty("value")?Me(l,f.type,p):f.hasOwnProperty("defaultValue")&&Me(l,f.type,k(f.defaultValue)),f.checked==null&&f.defaultChecked!=null&&(l.defaultChecked=!!f.defaultChecked)}function Oe(l,f,p){if(f.hasOwnProperty("value")||f.hasOwnProperty("defaultValue")){var T=f.type;if(!(T!=="submit"&&T!=="reset"||f.value!==void 0&&f.value!==null))return;f=""+l._wrapperState.initialValue,p||f===l.value||(l.value=f),l.defaultValue=f}p=l.name,p!==""&&(l.name=""),l.defaultChecked=!!l._wrapperState.initialChecked,p!==""&&(l.name=p)}function Me(l,f,p){(f!=="number"||Z(l.ownerDocument)!==l)&&(p==null?l.defaultValue=""+l._wrapperState.initialValue:l.defaultValue!==""+p&&(l.defaultValue=""+p))}var de=Array.isArray;function Ee(l,f,p,T){if(l=l.options,f){f={};for(var F=0;F<p.length;F++)f["$"+p[F]]=!0;for(p=0;p<l.length;p++)F=f.hasOwnProperty("$"+l[p].value),l[p].selected!==F&&(l[p].selected=F),F&&T&&(l[p].defaultSelected=!0)}else{for(p=""+k(p),f=null,F=0;F<l.length;F++){if(l[F].value===p){l[F].selected=!0,T&&(l[F].defaultSelected=!0);return}f!==null||l[F].disabled||(f=l[F])}f!==null&&(f.selected=!0)}}function _e(l,f){if(f.dangerouslySetInnerHTML!=null)throw Error(r(91));return L({},f,{value:void 0,defaultValue:void 0,children:""+l._wrapperState.initialValue})}function xe(l,f){var p=f.value;if(p==null){if(p=f.children,f=f.defaultValue,p!=null){if(f!=null)throw Error(r(92));if(de(p)){if(1<p.length)throw Error(r(93));p=p[0]}f=p}f==null&&(f=""),p=f}l._wrapperState={initialValue:k(p)}}function ke(l,f){var p=k(f.value),T=k(f.defaultValue);p!=null&&(p=""+p,p!==l.value&&(l.value=p),f.defaultValue==null&&l.defaultValue!==p&&(l.defaultValue=p)),T!=null&&(l.defaultValue=""+T)}function Le(l){var f=l.textContent;f===l._wrapperState.initialValue&&f!==""&&f!==null&&(l.value=f)}function He(l){switch(l){case"svg":return"http://www.w3.org/2000/svg";case"math":return"http://www.w3.org/1998/Math/MathML";default:return"http://www.w3.org/1999/xhtml"}}function _t(l,f){return l==null||l==="http://www.w3.org/1999/xhtml"?He(f):l==="http://www.w3.org/2000/svg"&&f==="foreignObject"?"http://www.w3.org/1999/xhtml":l}var jt,Lt=(function(l){return typeof MSApp<"u"&&MSApp.execUnsafeLocalFunction?function(f,p,T,F){MSApp.execUnsafeLocalFunction(function(){return l(f,p,T,F)})}:l})(function(l,f){if(l.namespaceURI!=="http://www.w3.org/2000/svg"||"innerHTML"in l)l.innerHTML=f;else{for(jt=jt||document.createElement("div"),jt.innerHTML="<svg>"+f.valueOf().toString()+"</svg>",f=jt.firstChild;l.firstChild;)l.removeChild(l.firstChild);for(;f.firstChild;)l.appendChild(f.firstChild)}});function Qe(l,f){if(f){var p=l.firstChild;if(p&&p===l.lastChild&&p.nodeType===3){p.nodeValue=f;return}}l.textContent=f}var bt={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},mt=["Webkit","ms","Moz","O"];Object.keys(bt).forEach(function(l){mt.forEach(function(f){f=f+l.charAt(0).toUpperCase()+l.substring(1),bt[f]=bt[l]})});function St(l,f,p){return f==null||typeof f=="boolean"||f===""?"":p||typeof f!="number"||f===0||bt.hasOwnProperty(l)&&bt[l]?(""+f).trim():f+"px"}function yt(l,f){l=l.style;for(var p in f)if(f.hasOwnProperty(p)){var T=p.indexOf("--")===0,F=St(p,f[p],T);p==="float"&&(p="cssFloat"),T?l.setProperty(p,F):l[p]=F}}var at=L({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 $t(l,f){if(f){if(at[l]&&(f.children!=null||f.dangerouslySetInnerHTML!=null))throw Error(r(137,l));if(f.dangerouslySetInnerHTML!=null){if(f.children!=null)throw Error(r(60));if(typeof f.dangerouslySetInnerHTML!="object"||!("__html"in f.dangerouslySetInnerHTML))throw Error(r(61))}if(f.style!=null&&typeof f.style!="object")throw Error(r(62))}}function xt(l,f){if(l.indexOf("-")===-1)return typeof f.is=="string";switch(l){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var Ce=null;function Ze(l){return l=l.target||l.srcElement||window,l.correspondingUseElement&&(l=l.correspondingUseElement),l.nodeType===3?l.parentNode:l}var ut=null,Tt=null,Pt=null;function rr(l){if(l=jh(l)){if(typeof ut!="function")throw Error(r(280));var f=l.stateNode;f&&(f=og(f),ut(l.stateNode,l.type,f))}}function _r(l){Tt?Pt?Pt.push(l):Pt=[l]:Tt=l}function sr(){if(Tt){var l=Tt,f=Pt;if(Pt=Tt=null,rr(l),f)for(l=0;l<f.length;l++)rr(f[l])}}function mr(l,f){return l(f)}function Pr(){}var ln=!1;function di(l,f,p){if(ln)return l(f,p);ln=!0;try{return mr(l,f,p)}finally{ln=!1,(Tt!==null||Pt!==null)&&(Pr(),sr())}}function Nn(l,f){var p=l.stateNode;if(p===null)return null;var T=og(p);if(T===null)return null;p=T[f];e:switch(f){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(T=!T.disabled)||(l=l.type,T=!(l==="button"||l==="input"||l==="select"||l==="textarea")),l=!T;break e;default:l=!1}if(l)return null;if(p&&typeof p!="function")throw Error(r(231,f,typeof p));return p}var Rn=!1;if(u)try{var En={};Object.defineProperty(En,"passive",{get:function(){Rn=!0}}),window.addEventListener("test",En,En),window.removeEventListener("test",En,En)}catch{Rn=!1}function Jn(l,f,p,T,F,J,ye,De,ze){var gt=Array.prototype.slice.call(arguments,3);try{f.apply(p,gt)}catch(qt){this.onError(qt)}}var Zn=!1,Ci=null,_i=!1,Vi=null,Yi={onError:function(l){Zn=!0,Ci=l}};function Ln(l,f,p,T,F,J,ye,De,ze){Zn=!1,Ci=null,Jn.apply(Yi,arguments)}function oi(l,f,p,T,F,J,ye,De,ze){if(Ln.apply(this,arguments),Zn){if(Zn){var gt=Ci;Zn=!1,Ci=null}else throw Error(r(198));_i||(_i=!0,Vi=gt)}}function Di(l){var f=l,p=l;if(l.alternate)for(;f.return;)f=f.return;else{l=f;do f=l,(f.flags&4098)!==0&&(p=f.return),l=f.return;while(l)}return f.tag===3?p:null}function Ai(l){if(l.tag===13){var f=l.memoizedState;if(f===null&&(l=l.alternate,l!==null&&(f=l.memoizedState)),f!==null)return f.dehydrated}return null}function it(l){if(Di(l)!==l)throw Error(r(188))}function Ft(l){var f=l.alternate;if(!f){if(f=Di(l),f===null)throw Error(r(188));return f!==l?null:l}for(var p=l,T=f;;){var F=p.return;if(F===null)break;var J=F.alternate;if(J===null){if(T=F.return,T!==null){p=T;continue}break}if(F.child===J.child){for(J=F.child;J;){if(J===p)return it(F),l;if(J===T)return it(F),f;J=J.sibling}throw Error(r(188))}if(p.return!==T.return)p=F,T=J;else{for(var ye=!1,De=F.child;De;){if(De===p){ye=!0,p=F,T=J;break}if(De===T){ye=!0,T=F,p=J;break}De=De.sibling}if(!ye){for(De=J.child;De;){if(De===p){ye=!0,p=J,T=F;break}if(De===T){ye=!0,T=J,p=F;break}De=De.sibling}if(!ye)throw Error(r(189))}}if(p.alternate!==T)throw Error(r(190))}if(p.tag!==3)throw Error(r(188));return p.stateNode.current===p?l:f}function pt(l){return l=Ft(l),l!==null?Ke(l):null}function Ke(l){if(l.tag===5||l.tag===6)return l;for(l=l.child;l!==null;){var f=Ke(l);if(f!==null)return f;l=l.sibling}return null}var At=t.unstable_scheduleCallback,pr=t.unstable_cancelCallback,we=t.unstable_shouldYield,ct=t.unstable_requestPaint,nt=t.unstable_now,ft=t.unstable_getCurrentPriorityLevel,kt=t.unstable_ImmediatePriority,dt=t.unstable_UserBlockingPriority,Yt=t.unstable_NormalPriority,Dr=t.unstable_LowPriority,Zr=t.unstable_IdlePriority,en=null,vn=null;function Mt(l){if(vn&&typeof vn.onCommitFiberRoot=="function")try{vn.onCommitFiberRoot(en,l,void 0,(l.current.flags&128)===128)}catch{}}var Kr=Math.clz32?Math.clz32:va,Ki=Math.log,si=Math.LN2;function va(l){return l>>>=0,l===0?32:31-(Ki(l)/si|0)|0}var Bi=64,xa=4194304;function no(l){switch(l&-l){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 l&4194240;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return l&130023424;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 1073741824;default:return l}}function qa(l,f){var p=l.pendingLanes;if(p===0)return 0;var T=0,F=l.suspendedLanes,J=l.pingedLanes,ye=p&268435455;if(ye!==0){var De=ye&~F;De!==0?T=no(De):(J&=ye,J!==0&&(T=no(J)))}else ye=p&~F,ye!==0?T=no(ye):J!==0&&(T=no(J));if(T===0)return 0;if(f!==0&&f!==T&&(f&F)===0&&(F=T&-T,J=f&-f,F>=J||F===16&&(J&4194240)!==0))return f;if((T&4)!==0&&(T|=p&16),f=l.entangledLanes,f!==0)for(l=l.entanglements,f&=T;0<f;)p=31-Kr(f),F=1<<p,T|=l[p],f&=~F;return T}function W(l,f){switch(l){case 1:case 2:case 4:return f+250;case 8:case 16:case 32:case 64:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return f+5e3;case 4194304:case 8388608:case 16777216:case 33554432:case 67108864:return-1;case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function ue(l,f){for(var p=l.suspendedLanes,T=l.pingedLanes,F=l.expirationTimes,J=l.pendingLanes;0<J;){var ye=31-Kr(J),De=1<<ye,ze=F[ye];ze===-1?((De&p)===0||(De&T)!==0)&&(F[ye]=W(De,f)):ze<=f&&(l.expiredLanes|=De),J&=~De}}function Te(l){return l=l.pendingLanes&-1073741825,l!==0?l:l&1073741824?1073741824:0}function qe(){var l=Bi;return Bi<<=1,(Bi&4194240)===0&&(Bi=64),l}function ht(l){for(var f=[],p=0;31>p;p++)f.push(l);return f}function rt(l,f,p){l.pendingLanes|=f,f!==536870912&&(l.suspendedLanes=0,l.pingedLanes=0),l=l.eventTimes,f=31-Kr(f),l[f]=p}function Ot(l,f){var p=l.pendingLanes&~f;l.pendingLanes=f,l.suspendedLanes=0,l.pingedLanes=0,l.expiredLanes&=f,l.mutableReadLanes&=f,l.entangledLanes&=f,f=l.entanglements;var T=l.eventTimes;for(l=l.expirationTimes;0<p;){var F=31-Kr(p),J=1<<F;f[F]=0,T[F]=-1,l[F]=-1,p&=~J}}function Wt(l,f){var p=l.entangledLanes|=f;for(l=l.entanglements;p;){var T=31-Kr(p),F=1<<T;F&f|l[T]&f&&(l[T]|=f),p&=~F}}var Jt=0;function wr(l){return l&=-l,1<l?4<l?(l&268435455)!==0?16:536870912:4:1}var Ar,qn,ki,Ni,ms,lu=!1,ys=[],io=null,Si=null,Va=null,ao=new Map,gn=new Map,pa=[],Wo="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset submit".split(" ");function Go(l,f){switch(l){case"focusin":case"focusout":io=null;break;case"dragenter":case"dragleave":Si=null;break;case"mouseover":case"mouseout":Va=null;break;case"pointerover":case"pointerout":ao.delete(f.pointerId);break;case"gotpointercapture":case"lostpointercapture":gn.delete(f.pointerId)}}function ra(l,f,p,T,F,J){return l===null||l.nativeEvent!==J?(l={blockedOn:f,domEventName:p,eventSystemFlags:T,nativeEvent:J,targetContainers:[F]},f!==null&&(f=jh(f),f!==null&&qn(f)),l):(l.eventSystemFlags|=T,f=l.targetContainers,F!==null&&f.indexOf(F)===-1&&f.push(F),l)}function Us(l,f,p,T,F){switch(f){case"focusin":return io=ra(io,l,f,p,T,F),!0;case"dragenter":return Si=ra(Si,l,f,p,T,F),!0;case"mouseover":return Va=ra(Va,l,f,p,T,F),!0;case"pointerover":var J=F.pointerId;return ao.set(J,ra(ao.get(J)||null,l,f,p,T,F)),!0;case"gotpointercapture":return J=F.pointerId,gn.set(J,ra(gn.get(J)||null,l,f,p,T,F)),!0}return!1}function oo(l){var f=Ec(l.target);if(f!==null){var p=Di(f);if(p!==null){if(f=p.tag,f===13){if(f=Ai(p),f!==null){l.blockedOn=f,ms(l.priority,function(){ki(p)});return}}else if(f===3&&p.stateNode.current.memoizedState.isDehydrated){l.blockedOn=p.tag===3?p.stateNode.containerInfo:null;return}}}l.blockedOn=null}function _s(l){if(l.blockedOn!==null)return!1;for(var f=l.targetContainers;0<f.length;){var p=Vs(l.domEventName,l.eventSystemFlags,f[0],l.nativeEvent);if(p===null){p=l.nativeEvent;var T=new p.constructor(p.type,p);Ce=T,p.target.dispatchEvent(T),Ce=null}else return f=jh(p),f!==null&&qn(f),l.blockedOn=p,!1;f.shift()}return!0}function qs(l,f,p){_s(l)&&p.delete(f)}function Nu(){lu=!1,io!==null&&_s(io)&&(io=null),Si!==null&&_s(Si)&&(Si=null),Va!==null&&_s(Va)&&(Va=null),ao.forEach(qs),gn.forEach(qs)}function so(l,f){l.blockedOn===f&&(l.blockedOn=null,lu||(lu=!0,t.unstable_scheduleCallback(t.unstable_NormalPriority,Nu)))}function So(l){function f(F){return so(F,l)}if(0<ys.length){so(ys[0],l);for(var p=1;p<ys.length;p++){var T=ys[p];T.blockedOn===l&&(T.blockedOn=null)}}for(io!==null&&so(io,l),Si!==null&&so(Si,l),Va!==null&&so(Va,l),ao.forEach(f),gn.forEach(f),p=0;p<pa.length;p++)T=pa[p],T.blockedOn===l&&(T.blockedOn=null);for(;0<pa.length&&(p=pa[0],p.blockedOn===null);)oo(p),p.blockedOn===null&&pa.shift()}var Hi=R.ReactCurrentBatchConfig,ga=!0;function Lu(l,f,p,T){var F=Jt,J=Hi.transition;Hi.transition=null;try{Jt=1,Ko(l,f,p,T)}finally{Jt=F,Hi.transition=J}}function Yo(l,f,p,T){var F=Jt,J=Hi.transition;Hi.transition=null;try{Jt=4,Ko(l,f,p,T)}finally{Jt=F,Hi.transition=J}}function Ko(l,f,p,T){if(ga){var F=Vs(l,f,p,T);if(F===null)T0(l,f,T,ma,p),Go(l,T);else if(Us(F,l,f,p,T))T.stopPropagation();else if(Go(l,T),f&4&&-1<Wo.indexOf(l)){for(;F!==null;){var J=jh(F);if(J!==null&&Ar(J),J=Vs(l,f,p,T),J===null&&T0(l,f,T,ma,p),J===F)break;F=J}F!==null&&T.stopPropagation()}else T0(l,f,T,null,p)}}var ma=null;function Vs(l,f,p,T){if(ma=null,l=Ze(T),l=Ec(l),l!==null)if(f=Di(l),f===null)l=null;else if(p=f.tag,p===13){if(l=Ai(f),l!==null)return l;l=null}else if(p===3){if(f.stateNode.current.memoizedState.isDehydrated)return f.tag===3?f.stateNode.containerInfo:null;l=null}else f!==l&&(l=null);return ma=l,null}function Mu(l){switch(l){case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"resize":case"seeked":case"submit":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 1;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"scroll":case"toggle":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 4;case"message":switch(ft()){case kt:return 1;case dt:return 4;case Yt:case Dr:return 16;case Zr:return 536870912;default:return 16}default:return 16}}var Li=null,ya=null,Eo=null;function Xo(){if(Eo)return Eo;var l,f=ya,p=f.length,T,F="value"in Li?Li.value:Li.textContent,J=F.length;for(l=0;l<p&&f[l]===F[l];l++);var ye=p-l;for(T=1;T<=ye&&f[p-T]===F[J-T];T++);return Eo=F.slice(l,1<T?1-T:void 0)}function wo(l){var f=l.keyCode;return"charCode"in l?(l=l.charCode,l===0&&f===13&&(l=13)):l=f,l===10&&(l=13),32<=l||l===13?l:0}function bo(){return!0}function E(){return!1}function C(l){function f(p,T,F,J,ye){this._reactName=p,this._targetInst=F,this.type=T,this.nativeEvent=J,this.target=ye,this.currentTarget=null;for(var De in l)l.hasOwnProperty(De)&&(p=l[De],this[De]=p?p(J):J[De]);return this.isDefaultPrevented=(J.defaultPrevented!=null?J.defaultPrevented:J.returnValue===!1)?bo:E,this.isPropagationStopped=E,this}return L(f.prototype,{preventDefault:function(){this.defaultPrevented=!0;var p=this.nativeEvent;p&&(p.preventDefault?p.preventDefault():typeof p.returnValue!="unknown"&&(p.returnValue=!1),this.isDefaultPrevented=bo)},stopPropagation:function(){var p=this.nativeEvent;p&&(p.stopPropagation?p.stopPropagation():typeof p.cancelBubble!="unknown"&&(p.cancelBubble=!0),this.isPropagationStopped=bo)},persist:function(){},isPersistent:bo}),f}var M={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(l){return l.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},X=C(M),oe=L({},M,{view:0,detail:0}),le=C(oe),he,Ue,Ne,Ge=L({},oe,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:It,button:0,buttons:0,relatedTarget:function(l){return l.relatedTarget===void 0?l.fromElement===l.srcElement?l.toElement:l.fromElement:l.relatedTarget},movementX:function(l){return"movementX"in l?l.movementX:(l!==Ne&&(Ne&&l.type==="mousemove"?(he=l.screenX-Ne.screenX,Ue=l.screenY-Ne.screenY):Ue=he=0,Ne=l),he)},movementY:function(l){return"movementY"in l?l.movementY:Ue}}),wt=C(Ge),Ct=L({},Ge,{dataTransfer:0}),st=C(Ct),Vt=L({},oe,{relatedTarget:0}),Rr=C(Vt),tn=L({},M,{animationName:0,elapsedTime:0,pseudoElement:0}),qr=C(tn),ei=L({},M,{clipboardData:function(l){return"clipboardData"in l?l.clipboardData:window.clipboardData}}),hi=C(ei),G=L({},M,{data:0}),se=C(G),ge={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},$e={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},Je={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function et(l){var f=this.nativeEvent;return f.getModifierState?f.getModifierState(l):(l=Je[l])?!!f[l]:!1}function It(){return et}var Gt=L({},oe,{key:function(l){if(l.key){var f=ge[l.key]||l.key;if(f!=="Unidentified")return f}return l.type==="keypress"?(l=wo(l),l===13?"Enter":String.fromCharCode(l)):l.type==="keydown"||l.type==="keyup"?$e[l.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:It,charCode:function(l){return l.type==="keypress"?wo(l):0},keyCode:function(l){return l.type==="keydown"||l.type==="keyup"?l.keyCode:0},which:function(l){return l.type==="keypress"?wo(l):l.type==="keydown"||l.type==="keyup"?l.keyCode:0}}),yr=C(Gt),Vr=L({},Ge,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),xr=C(Vr),Mn=L({},oe,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:It}),ui=C(Mn),Vn=L({},M,{propertyName:0,elapsedTime:0,pseudoElement:0}),_c=C(Vn),uo=L({},Ge,{deltaX:function(l){return"deltaX"in l?l.deltaX:"wheelDeltaX"in l?-l.wheelDeltaX:0},deltaY:function(l){return"deltaY"in l?l.deltaY:"wheelDeltaY"in l?-l.wheelDeltaY:"wheelDelta"in l?-l.wheelDelta:0},deltaZ:0,deltaMode:0}),ae=C(uo),ve=[9,13,27,32],Pe=u&&"CompositionEvent"in window,Fe=null;u&&"documentMode"in document&&(Fe=document.documentMode);var Be=u&&"TextEvent"in window&&!Fe,Ye=u&&(!Pe||Fe&&8<Fe&&11>=Fe),Rt=" ",Xt=!1;function Br(l,f){switch(l){case"keyup":return ve.indexOf(f.keyCode)!==-1;case"keydown":return f.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Lr(l){return l=l.detail,typeof l=="object"&&"data"in l?l.data:null}var ti=!1;function Ei(l,f){switch(l){case"compositionend":return Lr(f);case"keypress":return f.which!==32?null:(Xt=!0,Rt);case"textInput":return l=f.data,l===Rt&&Xt?null:l;default:return null}}function El(l,f){if(ti)return l==="compositionend"||!Pe&&Br(l,f)?(l=Xo(),Eo=ya=Li=null,ti=!1,l):null;switch(l){case"paste":return null;case"keypress":if(!(f.ctrlKey||f.altKey||f.metaKey)||f.ctrlKey&&f.altKey){if(f.char&&1<f.char.length)return f.char;if(f.which)return String.fromCharCode(f.which)}return null;case"compositionend":return Ye&&f.locale!=="ko"?null:f.data;default:return null}}var Qo={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function Ph(l){var f=l&&l.nodeName&&l.nodeName.toLowerCase();return f==="input"?!!Qo[l.type]:f==="textarea"}function wl(l,f,p,T){_r(T),f=ng(f,"onChange"),0<f.length&&(p=new X("onChange","change",null,p,T),l.push({event:p,listeners:f}))}var cu=null,fu=null;function Dh(l){PN(l,0)}function zf(l){var f=Jf(l);if(V(f))return l}function Wf(l,f){if(l==="change")return f}var Gf=!1;if(u){var Sc;if(u){var kh="oninput"in document;if(!kh){var Yf=document.createElement("div");Yf.setAttribute("oninput","return;"),kh=typeof Yf.oninput=="function"}Sc=kh}else Sc=!1;Gf=Sc&&(!document.documentMode||9<document.documentMode)}function Nh(){cu&&(cu.detachEvent("onpropertychange",Ae),fu=cu=null)}function Ae(l){if(l.propertyName==="value"&&zf(fu)){var f=[];wl(f,fu,l,Ze(l)),di(Dh,f)}}function We(l,f,p){l==="focusin"?(Nh(),cu=f,fu=p,cu.attachEvent("onpropertychange",Ae)):l==="focusout"&&Nh()}function lt(l){if(l==="selectionchange"||l==="keyup"||l==="keydown")return zf(fu)}function Et(l,f){if(l==="click")return zf(f)}function Dt(l,f){if(l==="input"||l==="change")return zf(f)}function Zt(l,f){return l===f&&(l!==0||1/l===1/f)||l!==l&&f!==f}var tr=typeof Object.is=="function"?Object.is:Zt;function lr(l,f){if(tr(l,f))return!0;if(typeof l!="object"||l===null||typeof f!="object"||f===null)return!1;var p=Object.keys(l),T=Object.keys(f);if(p.length!==T.length)return!1;for(T=0;T<p.length;T++){var F=p[T];if(!s.call(f,F)||!tr(l[F],f[F]))return!1}return!0}function ar(l){for(;l&&l.firstChild;)l=l.firstChild;return l}function sn(l,f){var p=ar(l);l=0;for(var T;p;){if(p.nodeType===3){if(T=l+p.textContent.length,l<=f&&T>=f)return{node:p,offset:f-l};l=T}e:{for(;p;){if(p.nextSibling){p=p.nextSibling;break e}p=p.parentNode}p=void 0}p=ar(p)}}function Mr(l,f){return l&&f?l===f?!0:l&&l.nodeType===3?!1:f&&f.nodeType===3?Mr(l,f.parentNode):"contains"in l?l.contains(f):l.compareDocumentPosition?!!(l.compareDocumentPosition(f)&16):!1:!1}function Hr(){for(var l=window,f=Z();f instanceof l.HTMLIFrameElement;){try{var p=typeof f.contentWindow.location.href=="string"}catch{p=!1}if(p)l=f.contentWindow;else break;f=Z(l.document)}return f}function nn(l){var f=l&&l.nodeName&&l.nodeName.toLowerCase();return f&&(f==="input"&&(l.type==="text"||l.type==="search"||l.type==="tel"||l.type==="url"||l.type==="password")||f==="textarea"||l.contentEditable==="true")}function Cr(l){var f=Hr(),p=l.focusedElem,T=l.selectionRange;if(f!==p&&p&&p.ownerDocument&&Mr(p.ownerDocument.documentElement,p)){if(T!==null&&nn(p)){if(f=T.start,l=T.end,l===void 0&&(l=f),"selectionStart"in p)p.selectionStart=f,p.selectionEnd=Math.min(l,p.value.length);else if(l=(f=p.ownerDocument||document)&&f.defaultView||window,l.getSelection){l=l.getSelection();var F=p.textContent.length,J=Math.min(T.start,F);T=T.end===void 0?J:Math.min(T.end,F),!l.extend&&J>T&&(F=T,T=J,J=F),F=sn(p,J);var ye=sn(p,T);F&&ye&&(l.rangeCount!==1||l.anchorNode!==F.node||l.anchorOffset!==F.offset||l.focusNode!==ye.node||l.focusOffset!==ye.offset)&&(f=f.createRange(),f.setStart(F.node,F.offset),l.removeAllRanges(),J>T?(l.addRange(f),l.extend(ye.node,ye.offset)):(f.setEnd(ye.node,ye.offset),l.addRange(f)))}}for(f=[],l=p;l=l.parentNode;)l.nodeType===1&&f.push({element:l,left:l.scrollLeft,top:l.scrollTop});for(typeof p.focus=="function"&&p.focus(),p=0;p<f.length;p++)l=f[p],l.element.scrollLeft=l.left,l.element.scrollTop=l.top}}var ri=u&&"documentMode"in document&&11>=document.documentMode,Xi=null,na=null,_a=null,To=!1;function $u(l,f,p){var T=p.window===p?p.document:p.nodeType===9?p:p.ownerDocument;To||Xi==null||Xi!==Z(T)||(T=Xi,"selectionStart"in T&&nn(T)?T={start:T.selectionStart,end:T.selectionEnd}:(T=(T.ownerDocument&&T.ownerDocument.defaultView||window).getSelection(),T={anchorNode:T.anchorNode,anchorOffset:T.anchorOffset,focusNode:T.focusNode,focusOffset:T.focusOffset}),_a&&lr(_a,T)||(_a=T,T=ng(na,"onSelect"),0<T.length&&(f=new X("onSelect","select",null,f,p),l.push({event:f,listeners:T}),f.target=Xi)))}function ia(l,f){var p={};return p[l.toLowerCase()]=f.toLowerCase(),p["Webkit"+l]="webkit"+f,p["Moz"+l]="moz"+f,p}var Kf={animationend:ia("Animation","AnimationEnd"),animationiteration:ia("Animation","AnimationIteration"),animationstart:ia("Animation","AnimationStart"),transitionend:ia("Transition","TransitionEnd")},S0={},bN={};u&&(bN=document.createElement("div").style,"AnimationEvent"in window||(delete Kf.animationend.animation,delete Kf.animationiteration.animation,delete Kf.animationstart.animation),"TransitionEvent"in window||delete Kf.transitionend.transition);function tg(l){if(S0[l])return S0[l];if(!Kf[l])return l;var f=Kf[l],p;for(p in f)if(f.hasOwnProperty(p)&&p in bN)return S0[l]=f[p];return l}var TN=tg("animationend"),RN=tg("animationiteration"),xN=tg("animationstart"),CN=tg("transitionend"),AN=new Map,ON="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 bl(l,f){AN.set(l,f),a(f,[l])}for(var E0=0;E0<ON.length;E0++){var w0=ON[E0],Iue=w0.toLowerCase(),Pue=w0[0].toUpperCase()+w0.slice(1);bl(Iue,"on"+Pue)}bl(TN,"onAnimationEnd"),bl(RN,"onAnimationIteration"),bl(xN,"onAnimationStart"),bl("dblclick","onDoubleClick"),bl("focusin","onFocus"),bl("focusout","onBlur"),bl(CN,"onTransitionEnd"),o("onMouseEnter",["mouseout","mouseover"]),o("onMouseLeave",["mouseout","mouseover"]),o("onPointerEnter",["pointerout","pointerover"]),o("onPointerLeave",["pointerout","pointerover"]),a("onChange","change click focusin focusout input keydown keyup selectionchange".split(" ")),a("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" ")),a("onBeforeInput",["compositionend","keypress","textInput","paste"]),a("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" ")),a("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Lh="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(" "),Due=new Set("cancel close invalid load scroll toggle".split(" ").concat(Lh));function IN(l,f,p){var T=l.type||"unknown-event";l.currentTarget=p,oi(T,f,void 0,l),l.currentTarget=null}function PN(l,f){f=(f&4)!==0;for(var p=0;p<l.length;p++){var T=l[p],F=T.event;T=T.listeners;e:{var J=void 0;if(f)for(var ye=T.length-1;0<=ye;ye--){var De=T[ye],ze=De.instance,gt=De.currentTarget;if(De=De.listener,ze!==J&&F.isPropagationStopped())break e;IN(F,De,gt),J=ze}else for(ye=0;ye<T.length;ye++){if(De=T[ye],ze=De.instance,gt=De.currentTarget,De=De.listener,ze!==J&&F.isPropagationStopped())break e;IN(F,De,gt),J=ze}}}if(_i)throw l=Vi,_i=!1,Vi=null,l}function wi(l,f){var p=f[I0];p===void 0&&(p=f[I0]=new Set);var T=l+"__bubble";p.has(T)||(DN(f,l,2,!1),p.add(T))}function b0(l,f,p){var T=0;f&&(T|=4),DN(p,l,T,f)}var rg="_reactListening"+Math.random().toString(36).slice(2);function Mh(l){if(!l[rg]){l[rg]=!0,n.forEach(function(p){p!=="selectionchange"&&(Due.has(p)||b0(p,!1,l),b0(p,!0,l))});var f=l.nodeType===9?l:l.ownerDocument;f===null||f[rg]||(f[rg]=!0,b0("selectionchange",!1,f))}}function DN(l,f,p,T){switch(Mu(f)){case 1:var F=Lu;break;case 4:F=Yo;break;default:F=Ko}p=F.bind(null,f,p,l),F=void 0,!Rn||f!=="touchstart"&&f!=="touchmove"&&f!=="wheel"||(F=!0),T?F!==void 0?l.addEventListener(f,p,{capture:!0,passive:F}):l.addEventListener(f,p,!0):F!==void 0?l.addEventListener(f,p,{passive:F}):l.addEventListener(f,p,!1)}function T0(l,f,p,T,F){var J=T;if((f&1)===0&&(f&2)===0&&T!==null)e:for(;;){if(T===null)return;var ye=T.tag;if(ye===3||ye===4){var De=T.stateNode.containerInfo;if(De===F||De.nodeType===8&&De.parentNode===F)break;if(ye===4)for(ye=T.return;ye!==null;){var ze=ye.tag;if((ze===3||ze===4)&&(ze=ye.stateNode.containerInfo,ze===F||ze.nodeType===8&&ze.parentNode===F))return;ye=ye.return}for(;De!==null;){if(ye=Ec(De),ye===null)return;if(ze=ye.tag,ze===5||ze===6){T=J=ye;continue e}De=De.parentNode}}T=T.return}di(function(){var gt=J,qt=Ze(p),ir=[];e:{var Nt=AN.get(l);if(Nt!==void 0){var ur=X,nr=l;switch(l){case"keypress":if(wo(p)===0)break e;case"keydown":case"keyup":ur=yr;break;case"focusin":nr="focus",ur=Rr;break;case"focusout":nr="blur",ur=Rr;break;case"beforeblur":case"afterblur":ur=Rr;break;case"click":if(p.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":ur=wt;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":ur=st;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":ur=ui;break;case TN:case RN:case xN:ur=qr;break;case CN:ur=_c;break;case"scroll":ur=le;break;case"wheel":ur=ae;break;case"copy":case"cut":case"paste":ur=hi;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":ur=xr}var Qr=(f&4)!==0,Qi=!Qr&&l==="scroll",ot=Qr?Nt!==null?Nt+"Capture":null:Nt;Qr=[];for(var Xe=gt,vt;Xe!==null;){vt=Xe;var Qt=vt.stateNode;if(vt.tag===5&&Qt!==null&&(vt=Qt,ot!==null&&(Qt=Nn(Xe,ot),Qt!=null&&Qr.push($h(Xe,Qt,vt)))),Qi)break;Xe=Xe.return}0<Qr.length&&(Nt=new ur(Nt,nr,null,p,qt),ir.push({event:Nt,listeners:Qr}))}}if((f&7)===0){e:{if(Nt=l==="mouseover"||l==="pointerover",ur=l==="mouseout"||l==="pointerout",Nt&&p!==Ce&&(nr=p.relatedTarget||p.fromElement)&&(Ec(nr)||nr[ju]))break e;if((ur||Nt)&&(Nt=qt.window===qt?qt:(Nt=qt.ownerDocument)?Nt.defaultView||Nt.parentWindow:window,ur?(nr=p.relatedTarget||p.toElement,ur=gt,nr=nr?Ec(nr):null,nr!==null&&(Qi=Di(nr),nr!==Qi||nr.tag!==5&&nr.tag!==6)&&(nr=null)):(ur=null,nr=gt),ur!==nr)){if(Qr=wt,Qt="onMouseLeave",ot="onMouseEnter",Xe="mouse",(l==="pointerout"||l==="pointerover")&&(Qr=xr,Qt="onPointerLeave",ot="onPointerEnter",Xe="pointer"),Qi=ur==null?Nt:Jf(ur),vt=nr==null?Nt:Jf(nr),Nt=new Qr(Qt,Xe+"leave",ur,p,qt),Nt.target=Qi,Nt.relatedTarget=vt,Qt=null,Ec(qt)===gt&&(Qr=new Qr(ot,Xe+"enter",nr,p,qt),Qr.target=vt,Qr.relatedTarget=Qi,Qt=Qr),Qi=Qt,ur&&nr)t:{for(Qr=ur,ot=nr,Xe=0,vt=Qr;vt;vt=Xf(vt))Xe++;for(vt=0,Qt=ot;Qt;Qt=Xf(Qt))vt++;for(;0<Xe-vt;)Qr=Xf(Qr),Xe--;for(;0<vt-Xe;)ot=Xf(ot),vt--;for(;Xe--;){if(Qr===ot||ot!==null&&Qr===ot.alternate)break t;Qr=Xf(Qr),ot=Xf(ot)}Qr=null}else Qr=null;ur!==null&&kN(ir,Nt,ur,Qr,!1),nr!==null&&Qi!==null&&kN(ir,Qi,nr,Qr,!0)}}e:{if(Nt=gt?Jf(gt):window,ur=Nt.nodeName&&Nt.nodeName.toLowerCase(),ur==="select"||ur==="input"&&Nt.type==="file")var hr=Wf;else if(Ph(Nt))if(Gf)hr=Dt;else{hr=lt;var kr=We}else(ur=Nt.nodeName)&&ur.toLowerCase()==="input"&&(Nt.type==="checkbox"||Nt.type==="radio")&&(hr=Et);if(hr&&(hr=hr(l,gt))){wl(ir,hr,p,qt);break e}kr&&kr(l,Nt,gt),l==="focusout"&&(kr=Nt._wrapperState)&&kr.controlled&&Nt.type==="number"&&Me(Nt,"number",Nt.value)}switch(kr=gt?Jf(gt):window,l){case"focusin":(Ph(kr)||kr.contentEditable==="true")&&(Xi=kr,na=gt,_a=null);break;case"focusout":_a=na=Xi=null;break;case"mousedown":To=!0;break;case"contextmenu":case"mouseup":case"dragend":To=!1,$u(ir,p,qt);break;case"selectionchange":if(ri)break;case"keydown":case"keyup":$u(ir,p,qt)}var Nr;if(Pe)e:{switch(l){case"compositionstart":var Wr="onCompositionStart";break e;case"compositionend":Wr="onCompositionEnd";break e;case"compositionupdate":Wr="onCompositionUpdate";break e}Wr=void 0}else ti?Br(l,p)&&(Wr="onCompositionEnd"):l==="keydown"&&p.keyCode===229&&(Wr="onCompositionStart");Wr&&(Ye&&p.locale!=="ko"&&(ti||Wr!=="onCompositionStart"?Wr==="onCompositionEnd"&&ti&&(Nr=Xo()):(Li=qt,ya="value"in Li?Li.value:Li.textContent,ti=!0)),kr=ng(gt,Wr),0<kr.length&&(Wr=new se(Wr,l,null,p,qt),ir.push({event:Wr,listeners:kr}),Nr?Wr.data=Nr:(Nr=Lr(p),Nr!==null&&(Wr.data=Nr)))),(Nr=Be?Ei(l,p):El(l,p))&&(gt=ng(gt,"onBeforeInput"),0<gt.length&&(qt=new se("onBeforeInput","beforeinput",null,p,qt),ir.push({event:qt,listeners:gt}),qt.data=Nr))}PN(ir,f)})}function $h(l,f,p){return{instance:l,listener:f,currentTarget:p}}function ng(l,f){for(var p=f+"Capture",T=[];l!==null;){var F=l,J=F.stateNode;F.tag===5&&J!==null&&(F=J,J=Nn(l,p),J!=null&&T.unshift($h(l,J,F)),J=Nn(l,f),J!=null&&T.push($h(l,J,F))),l=l.return}return T}function Xf(l){if(l===null)return null;do l=l.return;while(l&&l.tag!==5);return l||null}function kN(l,f,p,T,F){for(var J=f._reactName,ye=[];p!==null&&p!==T;){var De=p,ze=De.alternate,gt=De.stateNode;if(ze!==null&&ze===T)break;De.tag===5&>!==null&&(De=gt,F?(ze=Nn(p,J),ze!=null&&ye.unshift($h(p,ze,De))):F||(ze=Nn(p,J),ze!=null&&ye.push($h(p,ze,De)))),p=p.return}ye.length!==0&&l.push({event:f,listeners:ye})}var kue=/\r\n?/g,Nue=/\u0000|\uFFFD/g;function NN(l){return(typeof l=="string"?l:""+l).replace(kue,`
|
|
101
|
-
`).replace(Nue,"")}function ig(l,f,p){if(f=NN(f),NN(l)!==f&&p)throw Error(r(425))}function ag(){}var R0=null,x0=null;function C0(l,f){return l==="textarea"||l==="noscript"||typeof f.children=="string"||typeof f.children=="number"||typeof f.dangerouslySetInnerHTML=="object"&&f.dangerouslySetInnerHTML!==null&&f.dangerouslySetInnerHTML.__html!=null}var A0=typeof setTimeout=="function"?setTimeout:void 0,Lue=typeof clearTimeout=="function"?clearTimeout:void 0,LN=typeof Promise=="function"?Promise:void 0,Mue=typeof queueMicrotask=="function"?queueMicrotask:typeof LN<"u"?function(l){return LN.resolve(null).then(l).catch($ue)}:A0;function $ue(l){setTimeout(function(){throw l})}function O0(l,f){var p=f,T=0;do{var F=p.nextSibling;if(l.removeChild(p),F&&F.nodeType===8)if(p=F.data,p==="/$"){if(T===0){l.removeChild(F),So(f);return}T--}else p!=="$"&&p!=="$?"&&p!=="$!"||T++;p=F}while(p);So(f)}function Fu(l){for(;l!=null;l=l.nextSibling){var f=l.nodeType;if(f===1||f===3)break;if(f===8){if(f=l.data,f==="$"||f==="$!"||f==="$?")break;if(f==="/$")return null}}return l}function MN(l){l=l.previousSibling;for(var f=0;l;){if(l.nodeType===8){var p=l.data;if(p==="$"||p==="$!"||p==="$?"){if(f===0)return l;f--}else p==="/$"&&f++}l=l.previousSibling}return null}var Qf=Math.random().toString(36).slice(2),du="__reactFiber$"+Qf,Fh="__reactProps$"+Qf,ju="__reactContainer$"+Qf,I0="__reactEvents$"+Qf,Fue="__reactListeners$"+Qf,jue="__reactHandles$"+Qf;function Ec(l){var f=l[du];if(f)return f;for(var p=l.parentNode;p;){if(f=p[ju]||p[du]){if(p=f.alternate,f.child!==null||p!==null&&p.child!==null)for(l=MN(l);l!==null;){if(p=l[du])return p;l=MN(l)}return f}l=p,p=l.parentNode}return null}function jh(l){return l=l[du]||l[ju],!l||l.tag!==5&&l.tag!==6&&l.tag!==13&&l.tag!==3?null:l}function Jf(l){if(l.tag===5||l.tag===6)return l.stateNode;throw Error(r(33))}function og(l){return l[Fh]||null}var P0=[],Zf=-1;function Tl(l){return{current:l}}function bi(l){0>Zf||(l.current=P0[Zf],P0[Zf]=null,Zf--)}function vi(l,f){Zf++,P0[Zf]=l.current,l.current=f}var Rl={},Ba=Tl(Rl),Ro=Tl(!1),wc=Rl;function ed(l,f){var p=l.type.contextTypes;if(!p)return Rl;var T=l.stateNode;if(T&&T.__reactInternalMemoizedUnmaskedChildContext===f)return T.__reactInternalMemoizedMaskedChildContext;var F={},J;for(J in p)F[J]=f[J];return T&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=f,l.__reactInternalMemoizedMaskedChildContext=F),F}function xo(l){return l=l.childContextTypes,l!=null}function sg(){bi(Ro),bi(Ba)}function $N(l,f,p){if(Ba.current!==Rl)throw Error(r(168));vi(Ba,f),vi(Ro,p)}function FN(l,f,p){var T=l.stateNode;if(f=f.childContextTypes,typeof T.getChildContext!="function")return p;T=T.getChildContext();for(var F in T)if(!(F in f))throw Error(r(108,z(l)||"Unknown",F));return L({},p,T)}function ug(l){return l=(l=l.stateNode)&&l.__reactInternalMemoizedMergedChildContext||Rl,wc=Ba.current,vi(Ba,l),vi(Ro,Ro.current),!0}function jN(l,f,p){var T=l.stateNode;if(!T)throw Error(r(169));p?(l=FN(l,f,wc),T.__reactInternalMemoizedMergedChildContext=l,bi(Ro),bi(Ba),vi(Ba,l)):bi(Ro),vi(Ro,p)}var Uu=null,lg=!1,D0=!1;function UN(l){Uu===null?Uu=[l]:Uu.push(l)}function Uue(l){lg=!0,UN(l)}function xl(){if(!D0&&Uu!==null){D0=!0;var l=0,f=Jt;try{var p=Uu;for(Jt=1;l<p.length;l++){var T=p[l];do T=T(!0);while(T!==null)}Uu=null,lg=!1}catch(F){throw Uu!==null&&(Uu=Uu.slice(l+1)),At(kt,xl),F}finally{Jt=f,D0=!1}}return null}var que=R.ReactCurrentBatchConfig;function Bs(l,f){if(l&&l.defaultProps){f=L({},f),l=l.defaultProps;for(var p in l)f[p]===void 0&&(f[p]=l[p]);return f}return f}var cg=Tl(null),fg=null,td=null,k0=null;function N0(){k0=td=fg=null}function L0(l){var f=cg.current;bi(cg),l._currentValue=f}function M0(l,f,p){for(;l!==null;){var T=l.alternate;if((l.childLanes&f)!==f?(l.childLanes|=f,T!==null&&(T.childLanes|=f)):T!==null&&(T.childLanes&f)!==f&&(T.childLanes|=f),l===p)break;l=l.return}}function rd(l,f){fg=l,k0=td=null,l=l.dependencies,l!==null&&l.firstContext!==null&&((l.lanes&f)!==0&&(Ao=!0),l.firstContext=null)}function Ss(l){var f=l._currentValue;if(k0!==l)if(l={context:l,memoizedValue:f,next:null},td===null){if(fg===null)throw Error(r(308));td=l,fg.dependencies={lanes:0,firstContext:l}}else td=td.next=l;return f}var Hs=null,Cl=!1;function $0(l){l.updateQueue={baseState:l.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,interleaved:null,lanes:0},effects:null}}function qN(l,f){l=l.updateQueue,f.updateQueue===l&&(f.updateQueue={baseState:l.baseState,firstBaseUpdate:l.firstBaseUpdate,lastBaseUpdate:l.lastBaseUpdate,shared:l.shared,effects:l.effects})}function qu(l,f){return{eventTime:l,lane:f,tag:0,payload:null,callback:null,next:null}}function Al(l,f){var p=l.updateQueue;p!==null&&(p=p.shared,rM(l)?(l=p.interleaved,l===null?(f.next=f,Hs===null?Hs=[p]:Hs.push(p)):(f.next=l.next,l.next=f),p.interleaved=f):(l=p.pending,l===null?f.next=f:(f.next=l.next,l.next=f),p.pending=f))}function dg(l,f,p){if(f=f.updateQueue,f!==null&&(f=f.shared,(p&4194240)!==0)){var T=f.lanes;T&=l.pendingLanes,p|=T,f.lanes=p,Wt(l,p)}}function VN(l,f){var p=l.updateQueue,T=l.alternate;if(T!==null&&(T=T.updateQueue,p===T)){var F=null,J=null;if(p=p.firstBaseUpdate,p!==null){do{var ye={eventTime:p.eventTime,lane:p.lane,tag:p.tag,payload:p.payload,callback:p.callback,next:null};J===null?F=J=ye:J=J.next=ye,p=p.next}while(p!==null);J===null?F=J=f:J=J.next=f}else F=J=f;p={baseState:T.baseState,firstBaseUpdate:F,lastBaseUpdate:J,shared:T.shared,effects:T.effects},l.updateQueue=p;return}l=p.lastBaseUpdate,l===null?p.firstBaseUpdate=f:l.next=f,p.lastBaseUpdate=f}function hg(l,f,p,T){var F=l.updateQueue;Cl=!1;var J=F.firstBaseUpdate,ye=F.lastBaseUpdate,De=F.shared.pending;if(De!==null){F.shared.pending=null;var ze=De,gt=ze.next;ze.next=null,ye===null?J=gt:ye.next=gt,ye=ze;var qt=l.alternate;qt!==null&&(qt=qt.updateQueue,De=qt.lastBaseUpdate,De!==ye&&(De===null?qt.firstBaseUpdate=gt:De.next=gt,qt.lastBaseUpdate=ze))}if(J!==null){var ir=F.baseState;ye=0,qt=gt=ze=null,De=J;do{var Nt=De.lane,ur=De.eventTime;if((T&Nt)===Nt){qt!==null&&(qt=qt.next={eventTime:ur,lane:0,tag:De.tag,payload:De.payload,callback:De.callback,next:null});e:{var nr=l,Qr=De;switch(Nt=f,ur=p,Qr.tag){case 1:if(nr=Qr.payload,typeof nr=="function"){ir=nr.call(ur,ir,Nt);break e}ir=nr;break e;case 3:nr.flags=nr.flags&-65537|128;case 0:if(nr=Qr.payload,Nt=typeof nr=="function"?nr.call(ur,ir,Nt):nr,Nt==null)break e;ir=L({},ir,Nt);break e;case 2:Cl=!0}}De.callback!==null&&De.lane!==0&&(l.flags|=64,Nt=F.effects,Nt===null?F.effects=[De]:Nt.push(De))}else ur={eventTime:ur,lane:Nt,tag:De.tag,payload:De.payload,callback:De.callback,next:null},qt===null?(gt=qt=ur,ze=ir):qt=qt.next=ur,ye|=Nt;if(De=De.next,De===null){if(De=F.shared.pending,De===null)break;Nt=De,De=Nt.next,Nt.next=null,F.lastBaseUpdate=Nt,F.shared.pending=null}}while(!0);if(qt===null&&(ze=ir),F.baseState=ze,F.firstBaseUpdate=gt,F.lastBaseUpdate=qt,f=F.shared.interleaved,f!==null){F=f;do ye|=F.lane,F=F.next;while(F!==f)}else J===null&&(F.shared.lanes=0);Cc|=ye,l.lanes=ye,l.memoizedState=ir}}function BN(l,f,p){if(l=f.effects,f.effects=null,l!==null)for(f=0;f<l.length;f++){var T=l[f],F=T.callback;if(F!==null){if(T.callback=null,T=p,typeof F!="function")throw Error(r(191,F));F.call(T)}}}var HN=new e.Component().refs;function F0(l,f,p,T){f=l.memoizedState,p=p(T,f),p=p==null?f:L({},f,p),l.memoizedState=p,l.lanes===0&&(l.updateQueue.baseState=p)}var vg={isMounted:function(l){return(l=l._reactInternals)?Di(l)===l:!1},enqueueSetState:function(l,f,p){l=l._reactInternals;var T=co(),F=Dl(l),J=qu(T,F);J.payload=f,p!=null&&(J.callback=p),Al(l,J),f=Rs(l,F,T),f!==null&&dg(f,l,F)},enqueueReplaceState:function(l,f,p){l=l._reactInternals;var T=co(),F=Dl(l),J=qu(T,F);J.tag=1,J.payload=f,p!=null&&(J.callback=p),Al(l,J),f=Rs(l,F,T),f!==null&&dg(f,l,F)},enqueueForceUpdate:function(l,f){l=l._reactInternals;var p=co(),T=Dl(l),F=qu(p,T);F.tag=2,f!=null&&(F.callback=f),Al(l,F),f=Rs(l,T,p),f!==null&&dg(f,l,T)}};function zN(l,f,p,T,F,J,ye){return l=l.stateNode,typeof l.shouldComponentUpdate=="function"?l.shouldComponentUpdate(T,J,ye):f.prototype&&f.prototype.isPureReactComponent?!lr(p,T)||!lr(F,J):!0}function WN(l,f,p){var T=!1,F=Rl,J=f.contextType;return typeof J=="object"&&J!==null?J=Ss(J):(F=xo(f)?wc:Ba.current,T=f.contextTypes,J=(T=T!=null)?ed(l,F):Rl),f=new f(p,J),l.memoizedState=f.state!==null&&f.state!==void 0?f.state:null,f.updater=vg,l.stateNode=f,f._reactInternals=l,T&&(l=l.stateNode,l.__reactInternalMemoizedUnmaskedChildContext=F,l.__reactInternalMemoizedMaskedChildContext=J),f}function GN(l,f,p,T){l=f.state,typeof f.componentWillReceiveProps=="function"&&f.componentWillReceiveProps(p,T),typeof f.UNSAFE_componentWillReceiveProps=="function"&&f.UNSAFE_componentWillReceiveProps(p,T),f.state!==l&&vg.enqueueReplaceState(f,f.state,null)}function j0(l,f,p,T){var F=l.stateNode;F.props=p,F.state=l.memoizedState,F.refs=HN,$0(l);var J=f.contextType;typeof J=="object"&&J!==null?F.context=Ss(J):(J=xo(f)?wc:Ba.current,F.context=ed(l,J)),F.state=l.memoizedState,J=f.getDerivedStateFromProps,typeof J=="function"&&(F0(l,f,J,p),F.state=l.memoizedState),typeof f.getDerivedStateFromProps=="function"||typeof F.getSnapshotBeforeUpdate=="function"||typeof F.UNSAFE_componentWillMount!="function"&&typeof F.componentWillMount!="function"||(f=F.state,typeof F.componentWillMount=="function"&&F.componentWillMount(),typeof F.UNSAFE_componentWillMount=="function"&&F.UNSAFE_componentWillMount(),f!==F.state&&vg.enqueueReplaceState(F,F.state,null),hg(l,p,F,T),F.state=l.memoizedState),typeof F.componentDidMount=="function"&&(l.flags|=4194308)}var nd=[],id=0,pg=null,gg=0,Es=[],ws=0,bc=null,Vu=1,Bu="";function Tc(l,f){nd[id++]=gg,nd[id++]=pg,pg=l,gg=f}function YN(l,f,p){Es[ws++]=Vu,Es[ws++]=Bu,Es[ws++]=bc,bc=l;var T=Vu;l=Bu;var F=32-Kr(T)-1;T&=~(1<<F),p+=1;var J=32-Kr(f)+F;if(30<J){var ye=F-F%5;J=(T&(1<<ye)-1).toString(32),T>>=ye,F-=ye,Vu=1<<32-Kr(f)+F|p<<F|T,Bu=J+l}else Vu=1<<J|p<<F|T,Bu=l}function U0(l){l.return!==null&&(Tc(l,1),YN(l,1,0))}function q0(l){for(;l===pg;)pg=nd[--id],nd[id]=null,gg=nd[--id],nd[id]=null;for(;l===bc;)bc=Es[--ws],Es[ws]=null,Bu=Es[--ws],Es[ws]=null,Vu=Es[--ws],Es[ws]=null}var Jo=null,Co=null,Oi=!1,zs=null;function KN(l,f){var p=xs(5,null,null,0);p.elementType="DELETED",p.stateNode=f,p.return=l,f=l.deletions,f===null?(l.deletions=[p],l.flags|=16):f.push(p)}function XN(l,f){switch(l.tag){case 5:var p=l.type;return f=f.nodeType!==1||p.toLowerCase()!==f.nodeName.toLowerCase()?null:f,f!==null?(l.stateNode=f,Jo=l,Co=Fu(f.firstChild),!0):!1;case 6:return f=l.pendingProps===""||f.nodeType!==3?null:f,f!==null?(l.stateNode=f,Jo=l,Co=null,!0):!1;case 13:return f=f.nodeType!==8?null:f,f!==null?(p=bc!==null?{id:Vu,overflow:Bu}:null,l.memoizedState={dehydrated:f,treeContext:p,retryLane:1073741824},p=xs(18,null,null,0),p.stateNode=f,p.return=l,l.child=p,Jo=l,Co=null,!0):!1;default:return!1}}function V0(l){return(l.mode&1)!==0&&(l.flags&128)===0}function B0(l){if(Oi){var f=Co;if(f){var p=f;if(!XN(l,f)){if(V0(l))throw Error(r(418));f=Fu(p.nextSibling);var T=Jo;f&&XN(l,f)?KN(T,p):(l.flags=l.flags&-4097|2,Oi=!1,Jo=l)}}else{if(V0(l))throw Error(r(418));l.flags=l.flags&-4097|2,Oi=!1,Jo=l}}}function QN(l){for(l=l.return;l!==null&&l.tag!==5&&l.tag!==3&&l.tag!==13;)l=l.return;Jo=l}function Uh(l){if(l!==Jo)return!1;if(!Oi)return QN(l),Oi=!0,!1;var f;if((f=l.tag!==3)&&!(f=l.tag!==5)&&(f=l.type,f=f!=="head"&&f!=="body"&&!C0(l.type,l.memoizedProps)),f&&(f=Co)){if(V0(l)){for(l=Co;l;)l=Fu(l.nextSibling);throw Error(r(418))}for(;f;)KN(l,f),f=Fu(f.nextSibling)}if(QN(l),l.tag===13){if(l=l.memoizedState,l=l!==null?l.dehydrated:null,!l)throw Error(r(317));e:{for(l=l.nextSibling,f=0;l;){if(l.nodeType===8){var p=l.data;if(p==="/$"){if(f===0){Co=Fu(l.nextSibling);break e}f--}else p!=="$"&&p!=="$!"&&p!=="$?"||f++}l=l.nextSibling}Co=null}}else Co=Jo?Fu(l.stateNode.nextSibling):null;return!0}function ad(){Co=Jo=null,Oi=!1}function H0(l){zs===null?zs=[l]:zs.push(l)}function qh(l,f,p){if(l=p.ref,l!==null&&typeof l!="function"&&typeof l!="object"){if(p._owner){if(p=p._owner,p){if(p.tag!==1)throw Error(r(309));var T=p.stateNode}if(!T)throw Error(r(147,l));var F=T,J=""+l;return f!==null&&f.ref!==null&&typeof f.ref=="function"&&f.ref._stringRef===J?f.ref:(f=function(ye){var De=F.refs;De===HN&&(De=F.refs={}),ye===null?delete De[J]:De[J]=ye},f._stringRef=J,f)}if(typeof l!="string")throw Error(r(284));if(!p._owner)throw Error(r(290,l))}return l}function mg(l,f){throw l=Object.prototype.toString.call(f),Error(r(31,l==="[object Object]"?"object with keys {"+Object.keys(f).join(", ")+"}":l))}function JN(l){var f=l._init;return f(l._payload)}function ZN(l){function f(ot,Xe){if(l){var vt=ot.deletions;vt===null?(ot.deletions=[Xe],ot.flags|=16):vt.push(Xe)}}function p(ot,Xe){if(!l)return null;for(;Xe!==null;)f(ot,Xe),Xe=Xe.sibling;return null}function T(ot,Xe){for(ot=new Map;Xe!==null;)Xe.key!==null?ot.set(Xe.key,Xe):ot.set(Xe.index,Xe),Xe=Xe.sibling;return ot}function F(ot,Xe){return ot=Nl(ot,Xe),ot.index=0,ot.sibling=null,ot}function J(ot,Xe,vt){return ot.index=vt,l?(vt=ot.alternate,vt!==null?(vt=vt.index,vt<Xe?(ot.flags|=2,Xe):vt):(ot.flags|=2,Xe)):(ot.flags|=1048576,Xe)}function ye(ot){return l&&ot.alternate===null&&(ot.flags|=2),ot}function De(ot,Xe,vt,Qt){return Xe===null||Xe.tag!==6?(Xe=RS(vt,ot.mode,Qt),Xe.return=ot,Xe):(Xe=F(Xe,vt),Xe.return=ot,Xe)}function ze(ot,Xe,vt,Qt){var hr=vt.type;return hr===_?qt(ot,Xe,vt.props.children,Qt,vt.key):Xe!==null&&(Xe.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===ee&&JN(hr)===Xe.type)?(Qt=F(Xe,vt.props),Qt.ref=qh(ot,Xe,vt),Qt.return=ot,Qt):(Qt=Fg(vt.type,vt.key,vt.props,null,ot.mode,Qt),Qt.ref=qh(ot,Xe,vt),Qt.return=ot,Qt)}function gt(ot,Xe,vt,Qt){return Xe===null||Xe.tag!==4||Xe.stateNode.containerInfo!==vt.containerInfo||Xe.stateNode.implementation!==vt.implementation?(Xe=xS(vt,ot.mode,Qt),Xe.return=ot,Xe):(Xe=F(Xe,vt.children||[]),Xe.return=ot,Xe)}function qt(ot,Xe,vt,Qt,hr){return Xe===null||Xe.tag!==7?(Xe=Pc(vt,ot.mode,Qt,hr),Xe.return=ot,Xe):(Xe=F(Xe,vt),Xe.return=ot,Xe)}function ir(ot,Xe,vt){if(typeof Xe=="string"&&Xe!==""||typeof Xe=="number")return Xe=RS(""+Xe,ot.mode,vt),Xe.return=ot,Xe;if(typeof Xe=="object"&&Xe!==null){switch(Xe.$$typeof){case x:return vt=Fg(Xe.type,Xe.key,Xe.props,null,ot.mode,vt),vt.ref=qh(ot,null,Xe),vt.return=ot,vt;case O:return Xe=xS(Xe,ot.mode,vt),Xe.return=ot,Xe;case ee:var Qt=Xe._init;return ir(ot,Qt(Xe._payload),vt)}if(de(Xe)||I(Xe))return Xe=Pc(Xe,ot.mode,vt,null),Xe.return=ot,Xe;mg(ot,Xe)}return null}function Nt(ot,Xe,vt,Qt){var hr=Xe!==null?Xe.key:null;if(typeof vt=="string"&&vt!==""||typeof vt=="number")return hr!==null?null:De(ot,Xe,""+vt,Qt);if(typeof vt=="object"&&vt!==null){switch(vt.$$typeof){case x:return vt.key===hr?ze(ot,Xe,vt,Qt):null;case O:return vt.key===hr?gt(ot,Xe,vt,Qt):null;case ee:return hr=vt._init,Nt(ot,Xe,hr(vt._payload),Qt)}if(de(vt)||I(vt))return hr!==null?null:qt(ot,Xe,vt,Qt,null);mg(ot,vt)}return null}function ur(ot,Xe,vt,Qt,hr){if(typeof Qt=="string"&&Qt!==""||typeof Qt=="number")return ot=ot.get(vt)||null,De(Xe,ot,""+Qt,hr);if(typeof Qt=="object"&&Qt!==null){switch(Qt.$$typeof){case x:return ot=ot.get(Qt.key===null?vt:Qt.key)||null,ze(Xe,ot,Qt,hr);case O:return ot=ot.get(Qt.key===null?vt:Qt.key)||null,gt(Xe,ot,Qt,hr);case ee:var kr=Qt._init;return ur(ot,Xe,vt,kr(Qt._payload),hr)}if(de(Qt)||I(Qt))return ot=ot.get(vt)||null,qt(Xe,ot,Qt,hr,null);mg(Xe,Qt)}return null}function nr(ot,Xe,vt,Qt){for(var hr=null,kr=null,Nr=Xe,Wr=Xe=0,Ea=null;Nr!==null&&Wr<vt.length;Wr++){Nr.index>Wr?(Ea=Nr,Nr=null):Ea=Nr.sibling;var Pn=Nt(ot,Nr,vt[Wr],Qt);if(Pn===null){Nr===null&&(Nr=Ea);break}l&&Nr&&Pn.alternate===null&&f(ot,Nr),Xe=J(Pn,Xe,Wr),kr===null?hr=Pn:kr.sibling=Pn,kr=Pn,Nr=Ea}if(Wr===vt.length)return p(ot,Nr),Oi&&Tc(ot,Wr),hr;if(Nr===null){for(;Wr<vt.length;Wr++)Nr=ir(ot,vt[Wr],Qt),Nr!==null&&(Xe=J(Nr,Xe,Wr),kr===null?hr=Nr:kr.sibling=Nr,kr=Nr);return Oi&&Tc(ot,Wr),hr}for(Nr=T(ot,Nr);Wr<vt.length;Wr++)Ea=ur(Nr,ot,Wr,vt[Wr],Qt),Ea!==null&&(l&&Ea.alternate!==null&&Nr.delete(Ea.key===null?Wr:Ea.key),Xe=J(Ea,Xe,Wr),kr===null?hr=Ea:kr.sibling=Ea,kr=Ea);return l&&Nr.forEach(function(Ll){return f(ot,Ll)}),Oi&&Tc(ot,Wr),hr}function Qr(ot,Xe,vt,Qt){var hr=I(vt);if(typeof hr!="function")throw Error(r(150));if(vt=hr.call(vt),vt==null)throw Error(r(151));for(var kr=hr=null,Nr=Xe,Wr=Xe=0,Ea=null,Pn=vt.next();Nr!==null&&!Pn.done;Wr++,Pn=vt.next()){Nr.index>Wr?(Ea=Nr,Nr=null):Ea=Nr.sibling;var Ll=Nt(ot,Nr,Pn.value,Qt);if(Ll===null){Nr===null&&(Nr=Ea);break}l&&Nr&&Ll.alternate===null&&f(ot,Nr),Xe=J(Ll,Xe,Wr),kr===null?hr=Ll:kr.sibling=Ll,kr=Ll,Nr=Ea}if(Pn.done)return p(ot,Nr),Oi&&Tc(ot,Wr),hr;if(Nr===null){for(;!Pn.done;Wr++,Pn=vt.next())Pn=ir(ot,Pn.value,Qt),Pn!==null&&(Xe=J(Pn,Xe,Wr),kr===null?hr=Pn:kr.sibling=Pn,kr=Pn);return Oi&&Tc(ot,Wr),hr}for(Nr=T(ot,Nr);!Pn.done;Wr++,Pn=vt.next())Pn=ur(Nr,ot,Wr,Pn.value,Qt),Pn!==null&&(l&&Pn.alternate!==null&&Nr.delete(Pn.key===null?Wr:Pn.key),Xe=J(Pn,Xe,Wr),kr===null?hr=Pn:kr.sibling=Pn,kr=Pn);return l&&Nr.forEach(function(_le){return f(ot,_le)}),Oi&&Tc(ot,Wr),hr}function Qi(ot,Xe,vt,Qt){if(typeof vt=="object"&&vt!==null&&vt.type===_&&vt.key===null&&(vt=vt.props.children),typeof vt=="object"&&vt!==null){switch(vt.$$typeof){case x:e:{for(var hr=vt.key,kr=Xe;kr!==null;){if(kr.key===hr){if(hr=vt.type,hr===_){if(kr.tag===7){p(ot,kr.sibling),Xe=F(kr,vt.props.children),Xe.return=ot,ot=Xe;break e}}else if(kr.elementType===hr||typeof hr=="object"&&hr!==null&&hr.$$typeof===ee&&JN(hr)===kr.type){p(ot,kr.sibling),Xe=F(kr,vt.props),Xe.ref=qh(ot,kr,vt),Xe.return=ot,ot=Xe;break e}p(ot,kr);break}else f(ot,kr);kr=kr.sibling}vt.type===_?(Xe=Pc(vt.props.children,ot.mode,Qt,vt.key),Xe.return=ot,ot=Xe):(Qt=Fg(vt.type,vt.key,vt.props,null,ot.mode,Qt),Qt.ref=qh(ot,Xe,vt),Qt.return=ot,ot=Qt)}return ye(ot);case O:e:{for(kr=vt.key;Xe!==null;){if(Xe.key===kr)if(Xe.tag===4&&Xe.stateNode.containerInfo===vt.containerInfo&&Xe.stateNode.implementation===vt.implementation){p(ot,Xe.sibling),Xe=F(Xe,vt.children||[]),Xe.return=ot,ot=Xe;break e}else{p(ot,Xe);break}else f(ot,Xe);Xe=Xe.sibling}Xe=xS(vt,ot.mode,Qt),Xe.return=ot,ot=Xe}return ye(ot);case ee:return kr=vt._init,Qi(ot,Xe,kr(vt._payload),Qt)}if(de(vt))return nr(ot,Xe,vt,Qt);if(I(vt))return Qr(ot,Xe,vt,Qt);mg(ot,vt)}return typeof vt=="string"&&vt!==""||typeof vt=="number"?(vt=""+vt,Xe!==null&&Xe.tag===6?(p(ot,Xe.sibling),Xe=F(Xe,vt),Xe.return=ot,ot=Xe):(p(ot,Xe),Xe=RS(vt,ot.mode,Qt),Xe.return=ot,ot=Xe),ye(ot)):p(ot,Xe)}return Qi}var od=ZN(!0),eL=ZN(!1),Vh={},hu=Tl(Vh),Bh=Tl(Vh),Hh=Tl(Vh);function Rc(l){if(l===Vh)throw Error(r(174));return l}function z0(l,f){switch(vi(Hh,f),vi(Bh,l),vi(hu,Vh),l=f.nodeType,l){case 9:case 11:f=(f=f.documentElement)?f.namespaceURI:_t(null,"");break;default:l=l===8?f.parentNode:f,f=l.namespaceURI||null,l=l.tagName,f=_t(f,l)}bi(hu),vi(hu,f)}function sd(){bi(hu),bi(Bh),bi(Hh)}function tL(l){Rc(Hh.current);var f=Rc(hu.current),p=_t(f,l.type);f!==p&&(vi(Bh,l),vi(hu,p))}function W0(l){Bh.current===l&&(bi(hu),bi(Bh))}var Mi=Tl(0);function yg(l){for(var f=l;f!==null;){if(f.tag===13){var p=f.memoizedState;if(p!==null&&(p=p.dehydrated,p===null||p.data==="$?"||p.data==="$!"))return f}else if(f.tag===19&&f.memoizedProps.revealOrder!==void 0){if((f.flags&128)!==0)return f}else if(f.child!==null){f.child.return=f,f=f.child;continue}if(f===l)break;for(;f.sibling===null;){if(f.return===null||f.return===l)return null;f=f.return}f.sibling.return=f.return,f=f.sibling}return null}var G0=[];function Y0(){for(var l=0;l<G0.length;l++)G0[l]._workInProgressVersionPrimary=null;G0.length=0}var _g=R.ReactCurrentDispatcher,K0=R.ReactCurrentBatchConfig,xc=0,$i=null,ua=null,Sa=null,Sg=!1,zh=!1,Wh=0,Vue=0;function Ha(){throw Error(r(321))}function X0(l,f){if(f===null)return!1;for(var p=0;p<f.length&&p<l.length;p++)if(!tr(l[p],f[p]))return!1;return!0}function Q0(l,f,p,T,F,J){if(xc=J,$i=f,f.memoizedState=null,f.updateQueue=null,f.lanes=0,_g.current=l===null||l.memoizedState===null?Wue:Gue,l=p(T,F),zh){J=0;do{if(zh=!1,Wh=0,25<=J)throw Error(r(301));J+=1,Sa=ua=null,f.updateQueue=null,_g.current=Yue,l=p(T,F)}while(zh)}if(_g.current=bg,f=ua!==null&&ua.next!==null,xc=0,Sa=ua=$i=null,Sg=!1,f)throw Error(r(300));return l}function J0(){var l=Wh!==0;return Wh=0,l}function vu(){var l={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return Sa===null?$i.memoizedState=Sa=l:Sa=Sa.next=l,Sa}function bs(){if(ua===null){var l=$i.alternate;l=l!==null?l.memoizedState:null}else l=ua.next;var f=Sa===null?$i.memoizedState:Sa.next;if(f!==null)Sa=f,ua=l;else{if(l===null)throw Error(r(310));ua=l,l={memoizedState:ua.memoizedState,baseState:ua.baseState,baseQueue:ua.baseQueue,queue:ua.queue,next:null},Sa===null?$i.memoizedState=Sa=l:Sa=Sa.next=l}return Sa}function Gh(l,f){return typeof f=="function"?f(l):f}function Z0(l){var f=bs(),p=f.queue;if(p===null)throw Error(r(311));p.lastRenderedReducer=l;var T=ua,F=T.baseQueue,J=p.pending;if(J!==null){if(F!==null){var ye=F.next;F.next=J.next,J.next=ye}T.baseQueue=F=J,p.pending=null}if(F!==null){J=F.next,T=T.baseState;var De=ye=null,ze=null,gt=J;do{var qt=gt.lane;if((xc&qt)===qt)ze!==null&&(ze=ze.next={lane:0,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null}),T=gt.hasEagerState?gt.eagerState:l(T,gt.action);else{var ir={lane:qt,action:gt.action,hasEagerState:gt.hasEagerState,eagerState:gt.eagerState,next:null};ze===null?(De=ze=ir,ye=T):ze=ze.next=ir,$i.lanes|=qt,Cc|=qt}gt=gt.next}while(gt!==null&>!==J);ze===null?ye=T:ze.next=De,tr(T,f.memoizedState)||(Ao=!0),f.memoizedState=T,f.baseState=ye,f.baseQueue=ze,p.lastRenderedState=T}if(l=p.interleaved,l!==null){F=l;do J=F.lane,$i.lanes|=J,Cc|=J,F=F.next;while(F!==l)}else F===null&&(p.lanes=0);return[f.memoizedState,p.dispatch]}function eS(l){var f=bs(),p=f.queue;if(p===null)throw Error(r(311));p.lastRenderedReducer=l;var T=p.dispatch,F=p.pending,J=f.memoizedState;if(F!==null){p.pending=null;var ye=F=F.next;do J=l(J,ye.action),ye=ye.next;while(ye!==F);tr(J,f.memoizedState)||(Ao=!0),f.memoizedState=J,f.baseQueue===null&&(f.baseState=J),p.lastRenderedState=J}return[J,T]}function rL(){}function nL(l,f){var p=$i,T=bs(),F=f(),J=!tr(T.memoizedState,F);if(J&&(T.memoizedState=F,Ao=!0),T=T.queue,tS(oL.bind(null,p,T,l),[l]),T.getSnapshot!==f||J||Sa!==null&&Sa.memoizedState.tag&1){if(p.flags|=2048,Yh(9,aL.bind(null,p,T,F,f),void 0,null),la===null)throw Error(r(349));(xc&30)!==0||iL(p,f,F)}return F}function iL(l,f,p){l.flags|=16384,l={getSnapshot:f,value:p},f=$i.updateQueue,f===null?(f={lastEffect:null,stores:null},$i.updateQueue=f,f.stores=[l]):(p=f.stores,p===null?f.stores=[l]:p.push(l))}function aL(l,f,p,T){f.value=p,f.getSnapshot=T,sL(f)&&Rs(l,1,-1)}function oL(l,f,p){return p(function(){sL(f)&&Rs(l,1,-1)})}function sL(l){var f=l.getSnapshot;l=l.value;try{var p=f();return!tr(l,p)}catch{return!0}}function uL(l){var f=vu();return typeof l=="function"&&(l=l()),f.memoizedState=f.baseState=l,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:Gh,lastRenderedState:l},f.queue=l,l=l.dispatch=zue.bind(null,$i,l),[f.memoizedState,l]}function Yh(l,f,p,T){return l={tag:l,create:f,destroy:p,deps:T,next:null},f=$i.updateQueue,f===null?(f={lastEffect:null,stores:null},$i.updateQueue=f,f.lastEffect=l.next=l):(p=f.lastEffect,p===null?f.lastEffect=l.next=l:(T=p.next,p.next=l,l.next=T,f.lastEffect=l)),l}function lL(){return bs().memoizedState}function Eg(l,f,p,T){var F=vu();$i.flags|=l,F.memoizedState=Yh(1|f,p,void 0,T===void 0?null:T)}function wg(l,f,p,T){var F=bs();T=T===void 0?null:T;var J=void 0;if(ua!==null){var ye=ua.memoizedState;if(J=ye.destroy,T!==null&&X0(T,ye.deps)){F.memoizedState=Yh(f,p,J,T);return}}$i.flags|=l,F.memoizedState=Yh(1|f,p,J,T)}function cL(l,f){return Eg(8390656,8,l,f)}function tS(l,f){return wg(2048,8,l,f)}function fL(l,f){return wg(4,2,l,f)}function dL(l,f){return wg(4,4,l,f)}function hL(l,f){if(typeof f=="function")return l=l(),f(l),function(){f(null)};if(f!=null)return l=l(),f.current=l,function(){f.current=null}}function vL(l,f,p){return p=p!=null?p.concat([l]):null,wg(4,4,hL.bind(null,f,l),p)}function rS(){}function pL(l,f){var p=bs();f=f===void 0?null:f;var T=p.memoizedState;return T!==null&&f!==null&&X0(f,T[1])?T[0]:(p.memoizedState=[l,f],l)}function gL(l,f){var p=bs();f=f===void 0?null:f;var T=p.memoizedState;return T!==null&&f!==null&&X0(f,T[1])?T[0]:(l=l(),p.memoizedState=[l,f],l)}function mL(l,f,p){return(xc&21)===0?(l.baseState&&(l.baseState=!1,Ao=!0),l.memoizedState=p):(tr(p,f)||(p=qe(),$i.lanes|=p,Cc|=p,l.baseState=!0),f)}function Bue(l,f){var p=Jt;Jt=p!==0&&4>p?p:4,l(!0);var T=K0.transition;K0.transition={};try{l(!1),f()}finally{Jt=p,K0.transition=T}}function yL(){return bs().memoizedState}function Hue(l,f,p){var T=Dl(l);p={lane:T,action:p,hasEagerState:!1,eagerState:null,next:null},_L(l)?SL(f,p):(EL(l,f,p),p=co(),l=Rs(l,T,p),l!==null&&wL(l,f,T))}function zue(l,f,p){var T=Dl(l),F={lane:T,action:p,hasEagerState:!1,eagerState:null,next:null};if(_L(l))SL(f,F);else{EL(l,f,F);var J=l.alternate;if(l.lanes===0&&(J===null||J.lanes===0)&&(J=f.lastRenderedReducer,J!==null))try{var ye=f.lastRenderedState,De=J(ye,p);if(F.hasEagerState=!0,F.eagerState=De,tr(De,ye))return}catch{}finally{}p=co(),l=Rs(l,T,p),l!==null&&wL(l,f,T)}}function _L(l){var f=l.alternate;return l===$i||f!==null&&f===$i}function SL(l,f){zh=Sg=!0;var p=l.pending;p===null?f.next=f:(f.next=p.next,p.next=f),l.pending=f}function EL(l,f,p){rM(l)?(l=f.interleaved,l===null?(p.next=p,Hs===null?Hs=[f]:Hs.push(f)):(p.next=l.next,l.next=p),f.interleaved=p):(l=f.pending,l===null?p.next=p:(p.next=l.next,l.next=p),f.pending=p)}function wL(l,f,p){if((p&4194240)!==0){var T=f.lanes;T&=l.pendingLanes,p|=T,f.lanes=p,Wt(l,p)}}var bg={readContext:Ss,useCallback:Ha,useContext:Ha,useEffect:Ha,useImperativeHandle:Ha,useInsertionEffect:Ha,useLayoutEffect:Ha,useMemo:Ha,useReducer:Ha,useRef:Ha,useState:Ha,useDebugValue:Ha,useDeferredValue:Ha,useTransition:Ha,useMutableSource:Ha,useSyncExternalStore:Ha,useId:Ha,unstable_isNewReconciler:!1},Wue={readContext:Ss,useCallback:function(l,f){return vu().memoizedState=[l,f===void 0?null:f],l},useContext:Ss,useEffect:cL,useImperativeHandle:function(l,f,p){return p=p!=null?p.concat([l]):null,Eg(4194308,4,hL.bind(null,f,l),p)},useLayoutEffect:function(l,f){return Eg(4194308,4,l,f)},useInsertionEffect:function(l,f){return Eg(4,2,l,f)},useMemo:function(l,f){var p=vu();return f=f===void 0?null:f,l=l(),p.memoizedState=[l,f],l},useReducer:function(l,f,p){var T=vu();return f=p!==void 0?p(f):f,T.memoizedState=T.baseState=f,l={pending:null,interleaved:null,lanes:0,dispatch:null,lastRenderedReducer:l,lastRenderedState:f},T.queue=l,l=l.dispatch=Hue.bind(null,$i,l),[T.memoizedState,l]},useRef:function(l){var f=vu();return l={current:l},f.memoizedState=l},useState:uL,useDebugValue:rS,useDeferredValue:function(l){return vu().memoizedState=l},useTransition:function(){var l=uL(!1),f=l[0];return l=Bue.bind(null,l[1]),vu().memoizedState=l,[f,l]},useMutableSource:function(){},useSyncExternalStore:function(l,f,p){var T=$i,F=vu();if(Oi){if(p===void 0)throw Error(r(407));p=p()}else{if(p=f(),la===null)throw Error(r(349));(xc&30)!==0||iL(T,f,p)}F.memoizedState=p;var J={value:p,getSnapshot:f};return F.queue=J,cL(oL.bind(null,T,J,l),[l]),T.flags|=2048,Yh(9,aL.bind(null,T,J,p,f),void 0,null),p},useId:function(){var l=vu(),f=la.identifierPrefix;if(Oi){var p=Bu,T=Vu;p=(T&~(1<<32-Kr(T)-1)).toString(32)+p,f=":"+f+"R"+p,p=Wh++,0<p&&(f+="H"+p.toString(32)),f+=":"}else p=Vue++,f=":"+f+"r"+p.toString(32)+":";return l.memoizedState=f},unstable_isNewReconciler:!1},Gue={readContext:Ss,useCallback:pL,useContext:Ss,useEffect:tS,useImperativeHandle:vL,useInsertionEffect:fL,useLayoutEffect:dL,useMemo:gL,useReducer:Z0,useRef:lL,useState:function(){return Z0(Gh)},useDebugValue:rS,useDeferredValue:function(l){var f=bs();return mL(f,ua.memoizedState,l)},useTransition:function(){var l=Z0(Gh)[0],f=bs().memoizedState;return[l,f]},useMutableSource:rL,useSyncExternalStore:nL,useId:yL,unstable_isNewReconciler:!1},Yue={readContext:Ss,useCallback:pL,useContext:Ss,useEffect:tS,useImperativeHandle:vL,useInsertionEffect:fL,useLayoutEffect:dL,useMemo:gL,useReducer:eS,useRef:lL,useState:function(){return eS(Gh)},useDebugValue:rS,useDeferredValue:function(l){var f=bs();return ua===null?f.memoizedState=l:mL(f,ua.memoizedState,l)},useTransition:function(){var l=eS(Gh)[0],f=bs().memoizedState;return[l,f]},useMutableSource:rL,useSyncExternalStore:nL,useId:yL,unstable_isNewReconciler:!1};function nS(l,f){try{var p="",T=f;do p+=Ie(T),T=T.return;while(T);var F=p}catch(J){F=`
|
|
102
|
-
Error generating stack: `+J.message+`
|
|
103
|
-
`+J.stack}return{value:l,source:f,stack:F}}function iS(l,f){try{console.error(f.value)}catch(p){setTimeout(function(){throw p})}}var Kue=typeof WeakMap=="function"?WeakMap:Map;function bL(l,f,p){p=qu(-1,p),p.tag=3,p.payload={element:null};var T=f.value;return p.callback=function(){Pg||(Pg=!0,mS=T),iS(l,f)},p}function TL(l,f,p){p=qu(-1,p),p.tag=3;var T=l.type.getDerivedStateFromError;if(typeof T=="function"){var F=f.value;p.payload=function(){return T(F)},p.callback=function(){iS(l,f)}}var J=l.stateNode;return J!==null&&typeof J.componentDidCatch=="function"&&(p.callback=function(){iS(l,f),typeof T!="function"&&(Il===null?Il=new Set([this]):Il.add(this));var ye=f.stack;this.componentDidCatch(f.value,{componentStack:ye!==null?ye:""})}),p}function RL(l,f,p){var T=l.pingCache;if(T===null){T=l.pingCache=new Kue;var F=new Set;T.set(f,F)}else F=T.get(f),F===void 0&&(F=new Set,T.set(f,F));F.has(p)||(F.add(p),l=ule.bind(null,l,f,p),f.then(l,l))}function xL(l){do{var f;if((f=l.tag===13)&&(f=l.memoizedState,f=f!==null?f.dehydrated!==null:!0),f)return l;l=l.return}while(l!==null);return null}function CL(l,f,p,T,F){return(l.mode&1)===0?(l===f?l.flags|=65536:(l.flags|=128,p.flags|=131072,p.flags&=-52805,p.tag===1&&(p.alternate===null?p.tag=17:(f=qu(-1,1),f.tag=2,Al(p,f))),p.lanes|=1),l):(l.flags|=65536,l.lanes=F,l)}var AL,aS,OL,IL;AL=function(l,f){for(var p=f.child;p!==null;){if(p.tag===5||p.tag===6)l.appendChild(p.stateNode);else if(p.tag!==4&&p.child!==null){p.child.return=p,p=p.child;continue}if(p===f)break;for(;p.sibling===null;){if(p.return===null||p.return===f)return;p=p.return}p.sibling.return=p.return,p=p.sibling}},aS=function(){},OL=function(l,f,p,T){var F=l.memoizedProps;if(F!==T){l=f.stateNode,Rc(hu.current);var J=null;switch(p){case"input":F=me(l,F),T=me(l,T),J=[];break;case"select":F=L({},F,{value:void 0}),T=L({},T,{value:void 0}),J=[];break;case"textarea":F=_e(l,F),T=_e(l,T),J=[];break;default:typeof F.onClick!="function"&&typeof T.onClick=="function"&&(l.onclick=ag)}$t(p,T);var ye;p=null;for(gt in F)if(!T.hasOwnProperty(gt)&&F.hasOwnProperty(gt)&&F[gt]!=null)if(gt==="style"){var De=F[gt];for(ye in De)De.hasOwnProperty(ye)&&(p||(p={}),p[ye]="")}else gt!=="dangerouslySetInnerHTML"&>!=="children"&>!=="suppressContentEditableWarning"&>!=="suppressHydrationWarning"&>!=="autoFocus"&&(i.hasOwnProperty(gt)?J||(J=[]):(J=J||[]).push(gt,null));for(gt in T){var ze=T[gt];if(De=F!=null?F[gt]:void 0,T.hasOwnProperty(gt)&&ze!==De&&(ze!=null||De!=null))if(gt==="style")if(De){for(ye in De)!De.hasOwnProperty(ye)||ze&&ze.hasOwnProperty(ye)||(p||(p={}),p[ye]="");for(ye in ze)ze.hasOwnProperty(ye)&&De[ye]!==ze[ye]&&(p||(p={}),p[ye]=ze[ye])}else p||(J||(J=[]),J.push(gt,p)),p=ze;else gt==="dangerouslySetInnerHTML"?(ze=ze?ze.__html:void 0,De=De?De.__html:void 0,ze!=null&&De!==ze&&(J=J||[]).push(gt,ze)):gt==="children"?typeof ze!="string"&&typeof ze!="number"||(J=J||[]).push(gt,""+ze):gt!=="suppressContentEditableWarning"&>!=="suppressHydrationWarning"&&(i.hasOwnProperty(gt)?(ze!=null&>==="onScroll"&&wi("scroll",l),J||De===ze||(J=[])):(J=J||[]).push(gt,ze))}p&&(J=J||[]).push("style",p);var gt=J;(f.updateQueue=gt)&&(f.flags|=4)}},IL=function(l,f,p,T){p!==T&&(f.flags|=4)};function Kh(l,f){if(!Oi)switch(l.tailMode){case"hidden":f=l.tail;for(var p=null;f!==null;)f.alternate!==null&&(p=f),f=f.sibling;p===null?l.tail=null:p.sibling=null;break;case"collapsed":p=l.tail;for(var T=null;p!==null;)p.alternate!==null&&(T=p),p=p.sibling;T===null?f||l.tail===null?l.tail=null:l.tail.sibling=null:T.sibling=null}}function za(l){var f=l.alternate!==null&&l.alternate.child===l.child,p=0,T=0;if(f)for(var F=l.child;F!==null;)p|=F.lanes|F.childLanes,T|=F.subtreeFlags&14680064,T|=F.flags&14680064,F.return=l,F=F.sibling;else for(F=l.child;F!==null;)p|=F.lanes|F.childLanes,T|=F.subtreeFlags,T|=F.flags,F.return=l,F=F.sibling;return l.subtreeFlags|=T,l.childLanes=p,f}function Xue(l,f,p){var T=f.pendingProps;switch(q0(f),f.tag){case 2:case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return za(f),null;case 1:return xo(f.type)&&sg(),za(f),null;case 3:return T=f.stateNode,sd(),bi(Ro),bi(Ba),Y0(),T.pendingContext&&(T.context=T.pendingContext,T.pendingContext=null),(l===null||l.child===null)&&(Uh(f)?f.flags|=4:l===null||l.memoizedState.isDehydrated&&(f.flags&256)===0||(f.flags|=1024,zs!==null&&(SS(zs),zs=null))),aS(l,f),za(f),null;case 5:W0(f);var F=Rc(Hh.current);if(p=f.type,l!==null&&f.stateNode!=null)OL(l,f,p,T,F),l.ref!==f.ref&&(f.flags|=512,f.flags|=2097152);else{if(!T){if(f.stateNode===null)throw Error(r(166));return za(f),null}if(l=Rc(hu.current),Uh(f)){T=f.stateNode,p=f.type;var J=f.memoizedProps;switch(T[du]=f,T[Fh]=J,l=(f.mode&1)!==0,p){case"dialog":wi("cancel",T),wi("close",T);break;case"iframe":case"object":case"embed":wi("load",T);break;case"video":case"audio":for(F=0;F<Lh.length;F++)wi(Lh[F],T);break;case"source":wi("error",T);break;case"img":case"image":case"link":wi("error",T),wi("load",T);break;case"details":wi("toggle",T);break;case"input":fe(T,J),wi("invalid",T);break;case"select":T._wrapperState={wasMultiple:!!J.multiple},wi("invalid",T);break;case"textarea":xe(T,J),wi("invalid",T)}$t(p,J),F=null;for(var ye in J)if(J.hasOwnProperty(ye)){var De=J[ye];ye==="children"?typeof De=="string"?T.textContent!==De&&(J.suppressHydrationWarning!==!0&&ig(T.textContent,De,l),F=["children",De]):typeof De=="number"&&T.textContent!==""+De&&(J.suppressHydrationWarning!==!0&&ig(T.textContent,De,l),F=["children",""+De]):i.hasOwnProperty(ye)&&De!=null&&ye==="onScroll"&&wi("scroll",T)}switch(p){case"input":ie(T),Oe(T,J,!0);break;case"textarea":ie(T),Le(T);break;case"select":case"option":break;default:typeof J.onClick=="function"&&(T.onclick=ag)}T=F,f.updateQueue=T,T!==null&&(f.flags|=4)}else{ye=F.nodeType===9?F:F.ownerDocument,l==="http://www.w3.org/1999/xhtml"&&(l=He(p)),l==="http://www.w3.org/1999/xhtml"?p==="script"?(l=ye.createElement("div"),l.innerHTML="<script><\/script>",l=l.removeChild(l.firstChild)):typeof T.is=="string"?l=ye.createElement(p,{is:T.is}):(l=ye.createElement(p),p==="select"&&(ye=l,T.multiple?ye.multiple=!0:T.size&&(ye.size=T.size))):l=ye.createElementNS(l,p),l[du]=f,l[Fh]=T,AL(l,f,!1,!1),f.stateNode=l;e:{switch(ye=xt(p,T),p){case"dialog":wi("cancel",l),wi("close",l),F=T;break;case"iframe":case"object":case"embed":wi("load",l),F=T;break;case"video":case"audio":for(F=0;F<Lh.length;F++)wi(Lh[F],l);F=T;break;case"source":wi("error",l),F=T;break;case"img":case"image":case"link":wi("error",l),wi("load",l),F=T;break;case"details":wi("toggle",l),F=T;break;case"input":fe(l,T),F=me(l,T),wi("invalid",l);break;case"option":F=T;break;case"select":l._wrapperState={wasMultiple:!!T.multiple},F=L({},T,{value:void 0}),wi("invalid",l);break;case"textarea":xe(l,T),F=_e(l,T),wi("invalid",l);break;default:F=T}$t(p,F),De=F;for(J in De)if(De.hasOwnProperty(J)){var ze=De[J];J==="style"?yt(l,ze):J==="dangerouslySetInnerHTML"?(ze=ze?ze.__html:void 0,ze!=null&&Lt(l,ze)):J==="children"?typeof ze=="string"?(p!=="textarea"||ze!=="")&&Qe(l,ze):typeof ze=="number"&&Qe(l,""+ze):J!=="suppressContentEditableWarning"&&J!=="suppressHydrationWarning"&&J!=="autoFocus"&&(i.hasOwnProperty(J)?ze!=null&&J==="onScroll"&&wi("scroll",l):ze!=null&&A(l,J,ze,ye))}switch(p){case"input":ie(l),Oe(l,T,!1);break;case"textarea":ie(l),Le(l);break;case"option":T.value!=null&&l.setAttribute("value",""+k(T.value));break;case"select":l.multiple=!!T.multiple,J=T.value,J!=null?Ee(l,!!T.multiple,J,!1):T.defaultValue!=null&&Ee(l,!!T.multiple,T.defaultValue,!0);break;default:typeof F.onClick=="function"&&(l.onclick=ag)}switch(p){case"button":case"input":case"select":case"textarea":T=!!T.autoFocus;break e;case"img":T=!0;break e;default:T=!1}}T&&(f.flags|=4)}f.ref!==null&&(f.flags|=512,f.flags|=2097152)}return za(f),null;case 6:if(l&&f.stateNode!=null)IL(l,f,l.memoizedProps,T);else{if(typeof T!="string"&&f.stateNode===null)throw Error(r(166));if(p=Rc(Hh.current),Rc(hu.current),Uh(f)){if(T=f.stateNode,p=f.memoizedProps,T[du]=f,(J=T.nodeValue!==p)&&(l=Jo,l!==null))switch(l.tag){case 3:ig(T.nodeValue,p,(l.mode&1)!==0);break;case 5:l.memoizedProps.suppressHydrationWarning!==!0&&ig(T.nodeValue,p,(l.mode&1)!==0)}J&&(f.flags|=4)}else T=(p.nodeType===9?p:p.ownerDocument).createTextNode(T),T[du]=f,f.stateNode=T}return za(f),null;case 13:if(bi(Mi),T=f.memoizedState,Oi&&Co!==null&&(f.mode&1)!==0&&(f.flags&128)===0){for(T=Co;T;)T=Fu(T.nextSibling);return ad(),f.flags|=98560,f}if(T!==null&&T.dehydrated!==null){if(T=Uh(f),l===null){if(!T)throw Error(r(318));if(T=f.memoizedState,T=T!==null?T.dehydrated:null,!T)throw Error(r(317));T[du]=f}else ad(),(f.flags&128)===0&&(f.memoizedState=null),f.flags|=4;return za(f),null}return zs!==null&&(SS(zs),zs=null),(f.flags&128)!==0?(f.lanes=p,f):(T=T!==null,p=!1,l===null?Uh(f):p=l.memoizedState!==null,T!==p&&T&&(f.child.flags|=8192,(f.mode&1)!==0&&(l===null||(Mi.current&1)!==0?ca===0&&(ca=3):bS())),f.updateQueue!==null&&(f.flags|=4),za(f),null);case 4:return sd(),aS(l,f),l===null&&Mh(f.stateNode.containerInfo),za(f),null;case 10:return L0(f.type._context),za(f),null;case 17:return xo(f.type)&&sg(),za(f),null;case 19:if(bi(Mi),J=f.memoizedState,J===null)return za(f),null;if(T=(f.flags&128)!==0,ye=J.rendering,ye===null)if(T)Kh(J,!1);else{if(ca!==0||l!==null&&(l.flags&128)!==0)for(l=f.child;l!==null;){if(ye=yg(l),ye!==null){for(f.flags|=128,Kh(J,!1),T=ye.updateQueue,T!==null&&(f.updateQueue=T,f.flags|=4),f.subtreeFlags=0,T=p,p=f.child;p!==null;)J=p,l=T,J.flags&=14680066,ye=J.alternate,ye===null?(J.childLanes=0,J.lanes=l,J.child=null,J.subtreeFlags=0,J.memoizedProps=null,J.memoizedState=null,J.updateQueue=null,J.dependencies=null,J.stateNode=null):(J.childLanes=ye.childLanes,J.lanes=ye.lanes,J.child=ye.child,J.subtreeFlags=0,J.deletions=null,J.memoizedProps=ye.memoizedProps,J.memoizedState=ye.memoizedState,J.updateQueue=ye.updateQueue,J.type=ye.type,l=ye.dependencies,J.dependencies=l===null?null:{lanes:l.lanes,firstContext:l.firstContext}),p=p.sibling;return vi(Mi,Mi.current&1|2),f.child}l=l.sibling}J.tail!==null&&nt()>cd&&(f.flags|=128,T=!0,Kh(J,!1),f.lanes=4194304)}else{if(!T)if(l=yg(ye),l!==null){if(f.flags|=128,T=!0,p=l.updateQueue,p!==null&&(f.updateQueue=p,f.flags|=4),Kh(J,!0),J.tail===null&&J.tailMode==="hidden"&&!ye.alternate&&!Oi)return za(f),null}else 2*nt()-J.renderingStartTime>cd&&p!==1073741824&&(f.flags|=128,T=!0,Kh(J,!1),f.lanes=4194304);J.isBackwards?(ye.sibling=f.child,f.child=ye):(p=J.last,p!==null?p.sibling=ye:f.child=ye,J.last=ye)}return J.tail!==null?(f=J.tail,J.rendering=f,J.tail=f.sibling,J.renderingStartTime=nt(),f.sibling=null,p=Mi.current,vi(Mi,T?p&1|2:p&1),f):(za(f),null);case 22:case 23:return wS(),T=f.memoizedState!==null,l!==null&&l.memoizedState!==null!==T&&(f.flags|=8192),T&&(f.mode&1)!==0?(Zo&1073741824)!==0&&(za(f),f.subtreeFlags&6&&(f.flags|=8192)):za(f),null;case 24:return null;case 25:return null}throw Error(r(156,f.tag))}var Que=R.ReactCurrentOwner,Ao=!1;function lo(l,f,p,T){f.child=l===null?eL(f,null,p,T):od(f,l.child,p,T)}function PL(l,f,p,T,F){p=p.render;var J=f.ref;return rd(f,F),T=Q0(l,f,p,T,J,F),p=J0(),l!==null&&!Ao?(f.updateQueue=l.updateQueue,f.flags&=-2053,l.lanes&=~F,Hu(l,f,F)):(Oi&&p&&U0(f),f.flags|=1,lo(l,f,T,F),f.child)}function DL(l,f,p,T,F){if(l===null){var J=p.type;return typeof J=="function"&&!TS(J)&&J.defaultProps===void 0&&p.compare===null&&p.defaultProps===void 0?(f.tag=15,f.type=J,kL(l,f,J,T,F)):(l=Fg(p.type,null,T,f,f.mode,F),l.ref=f.ref,l.return=f,f.child=l)}if(J=l.child,(l.lanes&F)===0){var ye=J.memoizedProps;if(p=p.compare,p=p!==null?p:lr,p(ye,T)&&l.ref===f.ref)return Hu(l,f,F)}return f.flags|=1,l=Nl(J,T),l.ref=f.ref,l.return=f,f.child=l}function kL(l,f,p,T,F){if(l!==null){var J=l.memoizedProps;if(lr(J,T)&&l.ref===f.ref)if(Ao=!1,f.pendingProps=T=J,(l.lanes&F)!==0)(l.flags&131072)!==0&&(Ao=!0);else return f.lanes=l.lanes,Hu(l,f,F)}return oS(l,f,p,T,F)}function NL(l,f,p){var T=f.pendingProps,F=T.children,J=l!==null?l.memoizedState:null;if(T.mode==="hidden")if((f.mode&1)===0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},vi(ld,Zo),Zo|=p;else if((p&1073741824)!==0)f.memoizedState={baseLanes:0,cachePool:null,transitions:null},T=J!==null?J.baseLanes:p,vi(ld,Zo),Zo|=T;else return l=J!==null?J.baseLanes|p:p,f.lanes=f.childLanes=1073741824,f.memoizedState={baseLanes:l,cachePool:null,transitions:null},f.updateQueue=null,vi(ld,Zo),Zo|=l,null;else J!==null?(T=J.baseLanes|p,f.memoizedState=null):T=p,vi(ld,Zo),Zo|=T;return lo(l,f,F,p),f.child}function LL(l,f){var p=f.ref;(l===null&&p!==null||l!==null&&l.ref!==p)&&(f.flags|=512,f.flags|=2097152)}function oS(l,f,p,T,F){var J=xo(p)?wc:Ba.current;return J=ed(f,J),rd(f,F),p=Q0(l,f,p,T,J,F),T=J0(),l!==null&&!Ao?(f.updateQueue=l.updateQueue,f.flags&=-2053,l.lanes&=~F,Hu(l,f,F)):(Oi&&T&&U0(f),f.flags|=1,lo(l,f,p,F),f.child)}function ML(l,f,p,T,F){if(xo(p)){var J=!0;ug(f)}else J=!1;if(rd(f,F),f.stateNode===null)l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),WN(f,p,T),j0(f,p,T,F),T=!0;else if(l===null){var ye=f.stateNode,De=f.memoizedProps;ye.props=De;var ze=ye.context,gt=p.contextType;typeof gt=="object"&>!==null?gt=Ss(gt):(gt=xo(p)?wc:Ba.current,gt=ed(f,gt));var qt=p.getDerivedStateFromProps,ir=typeof qt=="function"||typeof ye.getSnapshotBeforeUpdate=="function";ir||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(De!==T||ze!==gt)&&GN(f,ye,T,gt),Cl=!1;var Nt=f.memoizedState;ye.state=Nt,hg(f,T,ye,F),ze=f.memoizedState,De!==T||Nt!==ze||Ro.current||Cl?(typeof qt=="function"&&(F0(f,p,qt,T),ze=f.memoizedState),(De=Cl||zN(f,p,De,T,Nt,ze,gt))?(ir||typeof ye.UNSAFE_componentWillMount!="function"&&typeof ye.componentWillMount!="function"||(typeof ye.componentWillMount=="function"&&ye.componentWillMount(),typeof ye.UNSAFE_componentWillMount=="function"&&ye.UNSAFE_componentWillMount()),typeof ye.componentDidMount=="function"&&(f.flags|=4194308)):(typeof ye.componentDidMount=="function"&&(f.flags|=4194308),f.memoizedProps=T,f.memoizedState=ze),ye.props=T,ye.state=ze,ye.context=gt,T=De):(typeof ye.componentDidMount=="function"&&(f.flags|=4194308),T=!1)}else{ye=f.stateNode,qN(l,f),De=f.memoizedProps,gt=f.type===f.elementType?De:Bs(f.type,De),ye.props=gt,ir=f.pendingProps,Nt=ye.context,ze=p.contextType,typeof ze=="object"&&ze!==null?ze=Ss(ze):(ze=xo(p)?wc:Ba.current,ze=ed(f,ze));var ur=p.getDerivedStateFromProps;(qt=typeof ur=="function"||typeof ye.getSnapshotBeforeUpdate=="function")||typeof ye.UNSAFE_componentWillReceiveProps!="function"&&typeof ye.componentWillReceiveProps!="function"||(De!==ir||Nt!==ze)&&GN(f,ye,T,ze),Cl=!1,Nt=f.memoizedState,ye.state=Nt,hg(f,T,ye,F);var nr=f.memoizedState;De!==ir||Nt!==nr||Ro.current||Cl?(typeof ur=="function"&&(F0(f,p,ur,T),nr=f.memoizedState),(gt=Cl||zN(f,p,gt,T,Nt,nr,ze)||!1)?(qt||typeof ye.UNSAFE_componentWillUpdate!="function"&&typeof ye.componentWillUpdate!="function"||(typeof ye.componentWillUpdate=="function"&&ye.componentWillUpdate(T,nr,ze),typeof ye.UNSAFE_componentWillUpdate=="function"&&ye.UNSAFE_componentWillUpdate(T,nr,ze)),typeof ye.componentDidUpdate=="function"&&(f.flags|=4),typeof ye.getSnapshotBeforeUpdate=="function"&&(f.flags|=1024)):(typeof ye.componentDidUpdate!="function"||De===l.memoizedProps&&Nt===l.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||De===l.memoizedProps&&Nt===l.memoizedState||(f.flags|=1024),f.memoizedProps=T,f.memoizedState=nr),ye.props=T,ye.state=nr,ye.context=ze,T=gt):(typeof ye.componentDidUpdate!="function"||De===l.memoizedProps&&Nt===l.memoizedState||(f.flags|=4),typeof ye.getSnapshotBeforeUpdate!="function"||De===l.memoizedProps&&Nt===l.memoizedState||(f.flags|=1024),T=!1)}return sS(l,f,p,T,J,F)}function sS(l,f,p,T,F,J){LL(l,f);var ye=(f.flags&128)!==0;if(!T&&!ye)return F&&jN(f,p,!1),Hu(l,f,J);T=f.stateNode,Que.current=f;var De=ye&&typeof p.getDerivedStateFromError!="function"?null:T.render();return f.flags|=1,l!==null&&ye?(f.child=od(f,l.child,null,J),f.child=od(f,null,De,J)):lo(l,f,De,J),f.memoizedState=T.state,F&&jN(f,p,!0),f.child}function $L(l){var f=l.stateNode;f.pendingContext?$N(l,f.pendingContext,f.pendingContext!==f.context):f.context&&$N(l,f.context,!1),z0(l,f.containerInfo)}function FL(l,f,p,T,F){return ad(),H0(F),f.flags|=256,lo(l,f,p,T),f.child}var Tg={dehydrated:null,treeContext:null,retryLane:0};function Rg(l){return{baseLanes:l,cachePool:null,transitions:null}}function jL(l,f){return{baseLanes:l.baseLanes|f,cachePool:null,transitions:l.transitions}}function UL(l,f,p){var T=f.pendingProps,F=Mi.current,J=!1,ye=(f.flags&128)!==0,De;if((De=ye)||(De=l!==null&&l.memoizedState===null?!1:(F&2)!==0),De?(J=!0,f.flags&=-129):(l===null||l.memoizedState!==null)&&(F|=1),vi(Mi,F&1),l===null)return B0(f),l=f.memoizedState,l!==null&&(l=l.dehydrated,l!==null)?((f.mode&1)===0?f.lanes=1:l.data==="$!"?f.lanes=8:f.lanes=1073741824,null):(F=T.children,l=T.fallback,J?(T=f.mode,J=f.child,F={mode:"hidden",children:F},(T&1)===0&&J!==null?(J.childLanes=0,J.pendingProps=F):J=jg(F,T,0,null),l=Pc(l,T,p,null),J.return=f,l.return=f,J.sibling=l,f.child=J,f.child.memoizedState=Rg(p),f.memoizedState=Tg,l):uS(f,F));if(F=l.memoizedState,F!==null){if(De=F.dehydrated,De!==null){if(ye)return f.flags&256?(f.flags&=-257,xg(l,f,p,Error(r(422)))):f.memoizedState!==null?(f.child=l.child,f.flags|=128,null):(J=T.fallback,F=f.mode,T=jg({mode:"visible",children:T.children},F,0,null),J=Pc(J,F,p,null),J.flags|=2,T.return=f,J.return=f,T.sibling=J,f.child=T,(f.mode&1)!==0&&od(f,l.child,null,p),f.child.memoizedState=Rg(p),f.memoizedState=Tg,J);if((f.mode&1)===0)f=xg(l,f,p,null);else if(De.data==="$!")f=xg(l,f,p,Error(r(419)));else if(T=(p&l.childLanes)!==0,Ao||T){if(T=la,T!==null){switch(p&-p){case 4:J=2;break;case 16:J=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:J=32;break;case 536870912:J=268435456;break;default:J=0}T=(J&(T.suspendedLanes|p))!==0?0:J,T!==0&&T!==F.retryLane&&(F.retryLane=T,Rs(l,T,-1))}bS(),f=xg(l,f,p,Error(r(421)))}else De.data==="$?"?(f.flags|=128,f.child=l.child,f=lle.bind(null,l),De._reactRetry=f,f=null):(p=F.treeContext,Co=Fu(De.nextSibling),Jo=f,Oi=!0,zs=null,p!==null&&(Es[ws++]=Vu,Es[ws++]=Bu,Es[ws++]=bc,Vu=p.id,Bu=p.overflow,bc=f),f=uS(f,f.pendingProps.children),f.flags|=4096);return f}return J?(T=VL(l,f,T.children,T.fallback,p),J=f.child,F=l.child.memoizedState,J.memoizedState=F===null?Rg(p):jL(F,p),J.childLanes=l.childLanes&~p,f.memoizedState=Tg,T):(p=qL(l,f,T.children,p),f.memoizedState=null,p)}return J?(T=VL(l,f,T.children,T.fallback,p),J=f.child,F=l.child.memoizedState,J.memoizedState=F===null?Rg(p):jL(F,p),J.childLanes=l.childLanes&~p,f.memoizedState=Tg,T):(p=qL(l,f,T.children,p),f.memoizedState=null,p)}function uS(l,f){return f=jg({mode:"visible",children:f},l.mode,0,null),f.return=l,l.child=f}function qL(l,f,p,T){var F=l.child;return l=F.sibling,p=Nl(F,{mode:"visible",children:p}),(f.mode&1)===0&&(p.lanes=T),p.return=f,p.sibling=null,l!==null&&(T=f.deletions,T===null?(f.deletions=[l],f.flags|=16):T.push(l)),f.child=p}function VL(l,f,p,T,F){var J=f.mode;l=l.child;var ye=l.sibling,De={mode:"hidden",children:p};return(J&1)===0&&f.child!==l?(p=f.child,p.childLanes=0,p.pendingProps=De,f.deletions=null):(p=Nl(l,De),p.subtreeFlags=l.subtreeFlags&14680064),ye!==null?T=Nl(ye,T):(T=Pc(T,J,F,null),T.flags|=2),T.return=f,p.return=f,p.sibling=T,f.child=p,T}function xg(l,f,p,T){return T!==null&&H0(T),od(f,l.child,null,p),l=uS(f,f.pendingProps.children),l.flags|=2,f.memoizedState=null,l}function BL(l,f,p){l.lanes|=f;var T=l.alternate;T!==null&&(T.lanes|=f),M0(l.return,f,p)}function lS(l,f,p,T,F){var J=l.memoizedState;J===null?l.memoizedState={isBackwards:f,rendering:null,renderingStartTime:0,last:T,tail:p,tailMode:F}:(J.isBackwards=f,J.rendering=null,J.renderingStartTime=0,J.last=T,J.tail=p,J.tailMode=F)}function HL(l,f,p){var T=f.pendingProps,F=T.revealOrder,J=T.tail;if(lo(l,f,T.children,p),T=Mi.current,(T&2)!==0)T=T&1|2,f.flags|=128;else{if(l!==null&&(l.flags&128)!==0)e:for(l=f.child;l!==null;){if(l.tag===13)l.memoizedState!==null&&BL(l,p,f);else if(l.tag===19)BL(l,p,f);else if(l.child!==null){l.child.return=l,l=l.child;continue}if(l===f)break e;for(;l.sibling===null;){if(l.return===null||l.return===f)break e;l=l.return}l.sibling.return=l.return,l=l.sibling}T&=1}if(vi(Mi,T),(f.mode&1)===0)f.memoizedState=null;else switch(F){case"forwards":for(p=f.child,F=null;p!==null;)l=p.alternate,l!==null&&yg(l)===null&&(F=p),p=p.sibling;p=F,p===null?(F=f.child,f.child=null):(F=p.sibling,p.sibling=null),lS(f,!1,F,p,J);break;case"backwards":for(p=null,F=f.child,f.child=null;F!==null;){if(l=F.alternate,l!==null&&yg(l)===null){f.child=F;break}l=F.sibling,F.sibling=p,p=F,F=l}lS(f,!0,p,null,J);break;case"together":lS(f,!1,null,null,void 0);break;default:f.memoizedState=null}return f.child}function Hu(l,f,p){if(l!==null&&(f.dependencies=l.dependencies),Cc|=f.lanes,(p&f.childLanes)===0)return null;if(l!==null&&f.child!==l.child)throw Error(r(153));if(f.child!==null){for(l=f.child,p=Nl(l,l.pendingProps),f.child=p,p.return=f;l.sibling!==null;)l=l.sibling,p=p.sibling=Nl(l,l.pendingProps),p.return=f;p.sibling=null}return f.child}function Jue(l,f,p){switch(f.tag){case 3:$L(f),ad();break;case 5:tL(f);break;case 1:xo(f.type)&&ug(f);break;case 4:z0(f,f.stateNode.containerInfo);break;case 10:var T=f.type._context,F=f.memoizedProps.value;vi(cg,T._currentValue),T._currentValue=F;break;case 13:if(T=f.memoizedState,T!==null)return T.dehydrated!==null?(vi(Mi,Mi.current&1),f.flags|=128,null):(p&f.child.childLanes)!==0?UL(l,f,p):(vi(Mi,Mi.current&1),l=Hu(l,f,p),l!==null?l.sibling:null);vi(Mi,Mi.current&1);break;case 19:if(T=(p&f.childLanes)!==0,(l.flags&128)!==0){if(T)return HL(l,f,p);f.flags|=128}if(F=f.memoizedState,F!==null&&(F.rendering=null,F.tail=null,F.lastEffect=null),vi(Mi,Mi.current),T)break;return null;case 22:case 23:return f.lanes=0,NL(l,f,p)}return Hu(l,f,p)}function Zue(l,f){switch(q0(f),f.tag){case 1:return xo(f.type)&&sg(),l=f.flags,l&65536?(f.flags=l&-65537|128,f):null;case 3:return sd(),bi(Ro),bi(Ba),Y0(),l=f.flags,(l&65536)!==0&&(l&128)===0?(f.flags=l&-65537|128,f):null;case 5:return W0(f),null;case 13:if(bi(Mi),l=f.memoizedState,l!==null&&l.dehydrated!==null){if(f.alternate===null)throw Error(r(340));ad()}return l=f.flags,l&65536?(f.flags=l&-65537|128,f):null;case 19:return bi(Mi),null;case 4:return sd(),null;case 10:return L0(f.type._context),null;case 22:case 23:return wS(),null;case 24:return null;default:return null}}var Cg=!1,Wa=!1,ele=typeof WeakSet=="function"?WeakSet:Set,cr=null;function ud(l,f){var p=l.ref;if(p!==null)if(typeof p=="function")try{p(null)}catch(T){zi(l,f,T)}else p.current=null}function cS(l,f,p){try{p()}catch(T){zi(l,f,T)}}var zL=!1;function tle(l,f){if(R0=ga,l=Hr(),nn(l)){if("selectionStart"in l)var p={start:l.selectionStart,end:l.selectionEnd};else e:{p=(p=l.ownerDocument)&&p.defaultView||window;var T=p.getSelection&&p.getSelection();if(T&&T.rangeCount!==0){p=T.anchorNode;var F=T.anchorOffset,J=T.focusNode;T=T.focusOffset;try{p.nodeType,J.nodeType}catch{p=null;break e}var ye=0,De=-1,ze=-1,gt=0,qt=0,ir=l,Nt=null;t:for(;;){for(var ur;ir!==p||F!==0&&ir.nodeType!==3||(De=ye+F),ir!==J||T!==0&&ir.nodeType!==3||(ze=ye+T),ir.nodeType===3&&(ye+=ir.nodeValue.length),(ur=ir.firstChild)!==null;)Nt=ir,ir=ur;for(;;){if(ir===l)break t;if(Nt===p&&++gt===F&&(De=ye),Nt===J&&++qt===T&&(ze=ye),(ur=ir.nextSibling)!==null)break;ir=Nt,Nt=ir.parentNode}ir=ur}p=De===-1||ze===-1?null:{start:De,end:ze}}else p=null}p=p||{start:0,end:0}}else p=null;for(x0={focusedElem:l,selectionRange:p},ga=!1,cr=f;cr!==null;)if(f=cr,l=f.child,(f.subtreeFlags&1028)!==0&&l!==null)l.return=f,cr=l;else for(;cr!==null;){f=cr;try{var nr=f.alternate;if((f.flags&1024)!==0)switch(f.tag){case 0:case 11:case 15:break;case 1:if(nr!==null){var Qr=nr.memoizedProps,Qi=nr.memoizedState,ot=f.stateNode,Xe=ot.getSnapshotBeforeUpdate(f.elementType===f.type?Qr:Bs(f.type,Qr),Qi);ot.__reactInternalSnapshotBeforeUpdate=Xe}break;case 3:var vt=f.stateNode.containerInfo;if(vt.nodeType===1)vt.textContent="";else if(vt.nodeType===9){var Qt=vt.body;Qt!=null&&(Qt.textContent="")}break;case 5:case 6:case 4:case 17:break;default:throw Error(r(163))}}catch(hr){zi(f,f.return,hr)}if(l=f.sibling,l!==null){l.return=f.return,cr=l;break}cr=f.return}return nr=zL,zL=!1,nr}function Xh(l,f,p){var T=f.updateQueue;if(T=T!==null?T.lastEffect:null,T!==null){var F=T=T.next;do{if((F.tag&l)===l){var J=F.destroy;F.destroy=void 0,J!==void 0&&cS(f,p,J)}F=F.next}while(F!==T)}}function Ag(l,f){if(f=f.updateQueue,f=f!==null?f.lastEffect:null,f!==null){var p=f=f.next;do{if((p.tag&l)===l){var T=p.create;p.destroy=T()}p=p.next}while(p!==f)}}function fS(l){var f=l.ref;if(f!==null){var p=l.stateNode;switch(l.tag){case 5:l=p;break;default:l=p}typeof f=="function"?f(l):f.current=l}}function WL(l){var f=l.alternate;f!==null&&(l.alternate=null,WL(f)),l.child=null,l.deletions=null,l.sibling=null,l.tag===5&&(f=l.stateNode,f!==null&&(delete f[du],delete f[Fh],delete f[I0],delete f[Fue],delete f[jue])),l.stateNode=null,l.return=null,l.dependencies=null,l.memoizedProps=null,l.memoizedState=null,l.pendingProps=null,l.stateNode=null,l.updateQueue=null}function GL(l){return l.tag===5||l.tag===3||l.tag===4}function YL(l){e:for(;;){for(;l.sibling===null;){if(l.return===null||GL(l.return))return null;l=l.return}for(l.sibling.return=l.return,l=l.sibling;l.tag!==5&&l.tag!==6&&l.tag!==18;){if(l.flags&2||l.child===null||l.tag===4)continue e;l.child.return=l,l=l.child}if(!(l.flags&2))return l.stateNode}}function dS(l,f,p){var T=l.tag;if(T===5||T===6)l=l.stateNode,f?p.nodeType===8?p.parentNode.insertBefore(l,f):p.insertBefore(l,f):(p.nodeType===8?(f=p.parentNode,f.insertBefore(l,p)):(f=p,f.appendChild(l)),p=p._reactRootContainer,p!=null||f.onclick!==null||(f.onclick=ag));else if(T!==4&&(l=l.child,l!==null))for(dS(l,f,p),l=l.sibling;l!==null;)dS(l,f,p),l=l.sibling}function hS(l,f,p){var T=l.tag;if(T===5||T===6)l=l.stateNode,f?p.insertBefore(l,f):p.appendChild(l);else if(T!==4&&(l=l.child,l!==null))for(hS(l,f,p),l=l.sibling;l!==null;)hS(l,f,p),l=l.sibling}var Ca=null,Ws=!1;function Ol(l,f,p){for(p=p.child;p!==null;)KL(l,f,p),p=p.sibling}function KL(l,f,p){if(vn&&typeof vn.onCommitFiberUnmount=="function")try{vn.onCommitFiberUnmount(en,p)}catch{}switch(p.tag){case 5:Wa||ud(p,f);case 6:var T=Ca,F=Ws;Ca=null,Ol(l,f,p),Ca=T,Ws=F,Ca!==null&&(Ws?(l=Ca,p=p.stateNode,l.nodeType===8?l.parentNode.removeChild(p):l.removeChild(p)):Ca.removeChild(p.stateNode));break;case 18:Ca!==null&&(Ws?(l=Ca,p=p.stateNode,l.nodeType===8?O0(l.parentNode,p):l.nodeType===1&&O0(l,p),So(l)):O0(Ca,p.stateNode));break;case 4:T=Ca,F=Ws,Ca=p.stateNode.containerInfo,Ws=!0,Ol(l,f,p),Ca=T,Ws=F;break;case 0:case 11:case 14:case 15:if(!Wa&&(T=p.updateQueue,T!==null&&(T=T.lastEffect,T!==null))){F=T=T.next;do{var J=F,ye=J.destroy;J=J.tag,ye!==void 0&&((J&2)!==0||(J&4)!==0)&&cS(p,f,ye),F=F.next}while(F!==T)}Ol(l,f,p);break;case 1:if(!Wa&&(ud(p,f),T=p.stateNode,typeof T.componentWillUnmount=="function"))try{T.props=p.memoizedProps,T.state=p.memoizedState,T.componentWillUnmount()}catch(De){zi(p,f,De)}Ol(l,f,p);break;case 21:Ol(l,f,p);break;case 22:p.mode&1?(Wa=(T=Wa)||p.memoizedState!==null,Ol(l,f,p),Wa=T):Ol(l,f,p);break;default:Ol(l,f,p)}}function XL(l){var f=l.updateQueue;if(f!==null){l.updateQueue=null;var p=l.stateNode;p===null&&(p=l.stateNode=new ele),f.forEach(function(T){var F=cle.bind(null,l,T);p.has(T)||(p.add(T),T.then(F,F))})}}function Gs(l,f){var p=f.deletions;if(p!==null)for(var T=0;T<p.length;T++){var F=p[T];try{var J=l,ye=f,De=ye;e:for(;De!==null;){switch(De.tag){case 5:Ca=De.stateNode,Ws=!1;break e;case 3:Ca=De.stateNode.containerInfo,Ws=!0;break e;case 4:Ca=De.stateNode.containerInfo,Ws=!0;break e}De=De.return}if(Ca===null)throw Error(r(160));KL(J,ye,F),Ca=null,Ws=!1;var ze=F.alternate;ze!==null&&(ze.return=null),F.return=null}catch(gt){zi(F,f,gt)}}if(f.subtreeFlags&12854)for(f=f.child;f!==null;)QL(f,l),f=f.sibling}function QL(l,f){var p=l.alternate,T=l.flags;switch(l.tag){case 0:case 11:case 14:case 15:if(Gs(f,l),pu(l),T&4){try{Xh(3,l,l.return),Ag(3,l)}catch(nr){zi(l,l.return,nr)}try{Xh(5,l,l.return)}catch(nr){zi(l,l.return,nr)}}break;case 1:Gs(f,l),pu(l),T&512&&p!==null&&ud(p,p.return);break;case 5:if(Gs(f,l),pu(l),T&512&&p!==null&&ud(p,p.return),l.flags&32){var F=l.stateNode;try{Qe(F,"")}catch(nr){zi(l,l.return,nr)}}if(T&4&&(F=l.stateNode,F!=null)){var J=l.memoizedProps,ye=p!==null?p.memoizedProps:J,De=l.type,ze=l.updateQueue;if(l.updateQueue=null,ze!==null)try{De==="input"&&J.type==="radio"&&J.name!=null&&Re(F,J),xt(De,ye);var gt=xt(De,J);for(ye=0;ye<ze.length;ye+=2){var qt=ze[ye],ir=ze[ye+1];qt==="style"?yt(F,ir):qt==="dangerouslySetInnerHTML"?Lt(F,ir):qt==="children"?Qe(F,ir):A(F,qt,ir,gt)}switch(De){case"input":Se(F,J);break;case"textarea":ke(F,J);break;case"select":var Nt=F._wrapperState.wasMultiple;F._wrapperState.wasMultiple=!!J.multiple;var ur=J.value;ur!=null?Ee(F,!!J.multiple,ur,!1):Nt!==!!J.multiple&&(J.defaultValue!=null?Ee(F,!!J.multiple,J.defaultValue,!0):Ee(F,!!J.multiple,J.multiple?[]:"",!1))}F[Fh]=J}catch(nr){zi(l,l.return,nr)}}break;case 6:if(Gs(f,l),pu(l),T&4){if(l.stateNode===null)throw Error(r(162));gt=l.stateNode,qt=l.memoizedProps;try{gt.nodeValue=qt}catch(nr){zi(l,l.return,nr)}}break;case 3:if(Gs(f,l),pu(l),T&4&&p!==null&&p.memoizedState.isDehydrated)try{So(f.containerInfo)}catch(nr){zi(l,l.return,nr)}break;case 4:Gs(f,l),pu(l);break;case 13:Gs(f,l),pu(l),gt=l.child,gt.flags&8192&>.memoizedState!==null&&(gt.alternate===null||gt.alternate.memoizedState===null)&&(gS=nt()),T&4&&XL(l);break;case 22:if(gt=p!==null&&p.memoizedState!==null,l.mode&1?(Wa=(qt=Wa)||gt,Gs(f,l),Wa=qt):Gs(f,l),pu(l),T&8192){qt=l.memoizedState!==null;e:for(ir=null,Nt=l;;){if(Nt.tag===5){if(ir===null){ir=Nt;try{F=Nt.stateNode,qt?(J=F.style,typeof J.setProperty=="function"?J.setProperty("display","none","important"):J.display="none"):(De=Nt.stateNode,ze=Nt.memoizedProps.style,ye=ze!=null&&ze.hasOwnProperty("display")?ze.display:null,De.style.display=St("display",ye))}catch(nr){zi(l,l.return,nr)}}}else if(Nt.tag===6){if(ir===null)try{Nt.stateNode.nodeValue=qt?"":Nt.memoizedProps}catch(nr){zi(l,l.return,nr)}}else if((Nt.tag!==22&&Nt.tag!==23||Nt.memoizedState===null||Nt===l)&&Nt.child!==null){Nt.child.return=Nt,Nt=Nt.child;continue}if(Nt===l)break e;for(;Nt.sibling===null;){if(Nt.return===null||Nt.return===l)break e;ir===Nt&&(ir=null),Nt=Nt.return}ir===Nt&&(ir=null),Nt.sibling.return=Nt.return,Nt=Nt.sibling}if(qt&&!gt&&(l.mode&1)!==0)for(cr=l,l=l.child;l!==null;){for(gt=cr=l;cr!==null;){switch(qt=cr,ir=qt.child,qt.tag){case 0:case 11:case 14:case 15:Xh(4,qt,qt.return);break;case 1:if(ud(qt,qt.return),J=qt.stateNode,typeof J.componentWillUnmount=="function"){Nt=qt,ur=qt.return;try{F=Nt,J.props=F.memoizedProps,J.state=F.memoizedState,J.componentWillUnmount()}catch(nr){zi(Nt,ur,nr)}}break;case 5:ud(qt,qt.return);break;case 22:if(qt.memoizedState!==null){eM(gt);continue}}ir!==null?(ir.return=qt,cr=ir):eM(gt)}l=l.sibling}}break;case 19:Gs(f,l),pu(l),T&4&&XL(l);break;case 21:break;default:Gs(f,l),pu(l)}}function pu(l){var f=l.flags;if(f&2){try{e:{for(var p=l.return;p!==null;){if(GL(p)){var T=p;break e}p=p.return}throw Error(r(160))}switch(T.tag){case 5:var F=T.stateNode;T.flags&32&&(Qe(F,""),T.flags&=-33);var J=YL(l);hS(l,J,F);break;case 3:case 4:var ye=T.stateNode.containerInfo,De=YL(l);dS(l,De,ye);break;default:throw Error(r(161))}}catch(ze){zi(l,l.return,ze)}l.flags&=-3}f&4096&&(l.flags&=-4097)}function rle(l,f,p){cr=l,JL(l)}function JL(l,f,p){for(var T=(l.mode&1)!==0;cr!==null;){var F=cr,J=F.child;if(F.tag===22&&T){var ye=F.memoizedState!==null||Cg;if(!ye){var De=F.alternate,ze=De!==null&&De.memoizedState!==null||Wa;De=Cg;var gt=Wa;if(Cg=ye,(Wa=ze)&&!gt)for(cr=F;cr!==null;)ye=cr,ze=ye.child,ye.tag===22&&ye.memoizedState!==null?tM(F):ze!==null?(ze.return=ye,cr=ze):tM(F);for(;J!==null;)cr=J,JL(J),J=J.sibling;cr=F,Cg=De,Wa=gt}ZL(l)}else(F.subtreeFlags&8772)!==0&&J!==null?(J.return=F,cr=J):ZL(l)}}function ZL(l){for(;cr!==null;){var f=cr;if((f.flags&8772)!==0){var p=f.alternate;try{if((f.flags&8772)!==0)switch(f.tag){case 0:case 11:case 15:Wa||Ag(5,f);break;case 1:var T=f.stateNode;if(f.flags&4&&!Wa)if(p===null)T.componentDidMount();else{var F=f.elementType===f.type?p.memoizedProps:Bs(f.type,p.memoizedProps);T.componentDidUpdate(F,p.memoizedState,T.__reactInternalSnapshotBeforeUpdate)}var J=f.updateQueue;J!==null&&BN(f,J,T);break;case 3:var ye=f.updateQueue;if(ye!==null){if(p=null,f.child!==null)switch(f.child.tag){case 5:p=f.child.stateNode;break;case 1:p=f.child.stateNode}BN(f,ye,p)}break;case 5:var De=f.stateNode;if(p===null&&f.flags&4){p=De;var ze=f.memoizedProps;switch(f.type){case"button":case"input":case"select":case"textarea":ze.autoFocus&&p.focus();break;case"img":ze.src&&(p.src=ze.src)}}break;case 6:break;case 4:break;case 12:break;case 13:if(f.memoizedState===null){var gt=f.alternate;if(gt!==null){var qt=gt.memoizedState;if(qt!==null){var ir=qt.dehydrated;ir!==null&&So(ir)}}}break;case 19:case 17:case 21:case 22:case 23:break;default:throw Error(r(163))}Wa||f.flags&512&&fS(f)}catch(Nt){zi(f,f.return,Nt)}}if(f===l){cr=null;break}if(p=f.sibling,p!==null){p.return=f.return,cr=p;break}cr=f.return}}function eM(l){for(;cr!==null;){var f=cr;if(f===l){cr=null;break}var p=f.sibling;if(p!==null){p.return=f.return,cr=p;break}cr=f.return}}function tM(l){for(;cr!==null;){var f=cr;try{switch(f.tag){case 0:case 11:case 15:var p=f.return;try{Ag(4,f)}catch(ze){zi(f,p,ze)}break;case 1:var T=f.stateNode;if(typeof T.componentDidMount=="function"){var F=f.return;try{T.componentDidMount()}catch(ze){zi(f,F,ze)}}var J=f.return;try{fS(f)}catch(ze){zi(f,J,ze)}break;case 5:var ye=f.return;try{fS(f)}catch(ze){zi(f,ye,ze)}}}catch(ze){zi(f,f.return,ze)}if(f===l){cr=null;break}var De=f.sibling;if(De!==null){De.return=f.return,cr=De;break}cr=f.return}}var nle=Math.ceil,Og=R.ReactCurrentDispatcher,vS=R.ReactCurrentOwner,Ts=R.ReactCurrentBatchConfig,An=0,la=null,aa=null,Aa=0,Zo=0,ld=Tl(0),ca=0,Qh=null,Cc=0,Ig=0,pS=0,Jh=null,Oo=null,gS=0,cd=1/0,zu=null,Pg=!1,mS=null,Il=null,Dg=!1,Pl=null,kg=0,Zh=0,yS=null,Ng=-1,Lg=0;function co(){return(An&6)!==0?nt():Ng!==-1?Ng:Ng=nt()}function Dl(l){return(l.mode&1)===0?1:(An&2)!==0&&Aa!==0?Aa&-Aa:que.transition!==null?(Lg===0&&(Lg=qe()),Lg):(l=Jt,l!==0||(l=window.event,l=l===void 0?16:Mu(l.type)),l)}function Rs(l,f,p){if(50<Zh)throw Zh=0,yS=null,Error(r(185));var T=Mg(l,f);return T===null?null:(rt(T,f,p),((An&2)===0||T!==la)&&(T===la&&((An&2)===0&&(Ig|=f),ca===4&&kl(T,Aa)),Io(T,p),f===1&&An===0&&(l.mode&1)===0&&(cd=nt()+500,lg&&xl())),T)}function Mg(l,f){l.lanes|=f;var p=l.alternate;for(p!==null&&(p.lanes|=f),p=l,l=l.return;l!==null;)l.childLanes|=f,p=l.alternate,p!==null&&(p.childLanes|=f),p=l,l=l.return;return p.tag===3?p.stateNode:null}function rM(l){return(la!==null||Hs!==null)&&(l.mode&1)!==0&&(An&2)===0}function Io(l,f){var p=l.callbackNode;ue(l,f);var T=qa(l,l===la?Aa:0);if(T===0)p!==null&&pr(p),l.callbackNode=null,l.callbackPriority=0;else if(f=T&-T,l.callbackPriority!==f){if(p!=null&&pr(p),f===1)l.tag===0?Uue(iM.bind(null,l)):UN(iM.bind(null,l)),Mue(function(){An===0&&xl()}),p=null;else{switch(wr(T)){case 1:p=kt;break;case 4:p=dt;break;case 16:p=Yt;break;case 536870912:p=Zr;break;default:p=Yt}p=dM(p,nM.bind(null,l))}l.callbackPriority=f,l.callbackNode=p}}function nM(l,f){if(Ng=-1,Lg=0,(An&6)!==0)throw Error(r(327));var p=l.callbackNode;if(fd()&&l.callbackNode!==p)return null;var T=qa(l,l===la?Aa:0);if(T===0)return null;if((T&30)!==0||(T&l.expiredLanes)!==0||f)f=$g(l,T);else{f=T;var F=An;An|=2;var J=oM();(la!==l||Aa!==f)&&(zu=null,cd=nt()+500,Oc(l,f));do try{ole();break}catch(De){aM(l,De)}while(!0);N0(),Og.current=J,An=F,aa!==null?f=0:(la=null,Aa=0,f=ca)}if(f!==0){if(f===2&&(F=Te(l),F!==0&&(T=F,f=_S(l,F))),f===1)throw p=Qh,Oc(l,0),kl(l,T),Io(l,nt()),p;if(f===6)kl(l,T);else{if(F=l.current.alternate,(T&30)===0&&!ile(F)&&(f=$g(l,T),f===2&&(J=Te(l),J!==0&&(T=J,f=_S(l,J))),f===1))throw p=Qh,Oc(l,0),kl(l,T),Io(l,nt()),p;switch(l.finishedWork=F,l.finishedLanes=T,f){case 0:case 1:throw Error(r(345));case 2:Ic(l,Oo,zu);break;case 3:if(kl(l,T),(T&130023424)===T&&(f=gS+500-nt(),10<f)){if(qa(l,0)!==0)break;if(F=l.suspendedLanes,(F&T)!==T){co(),l.pingedLanes|=l.suspendedLanes&F;break}l.timeoutHandle=A0(Ic.bind(null,l,Oo,zu),f);break}Ic(l,Oo,zu);break;case 4:if(kl(l,T),(T&4194240)===T)break;for(f=l.eventTimes,F=-1;0<T;){var ye=31-Kr(T);J=1<<ye,ye=f[ye],ye>F&&(F=ye),T&=~J}if(T=F,T=nt()-T,T=(120>T?120:480>T?480:1080>T?1080:1920>T?1920:3e3>T?3e3:4320>T?4320:1960*nle(T/1960))-T,10<T){l.timeoutHandle=A0(Ic.bind(null,l,Oo,zu),T);break}Ic(l,Oo,zu);break;case 5:Ic(l,Oo,zu);break;default:throw Error(r(329))}}}return Io(l,nt()),l.callbackNode===p?nM.bind(null,l):null}function _S(l,f){var p=Jh;return l.current.memoizedState.isDehydrated&&(Oc(l,f).flags|=256),l=$g(l,f),l!==2&&(f=Oo,Oo=p,f!==null&&SS(f)),l}function SS(l){Oo===null?Oo=l:Oo.push.apply(Oo,l)}function ile(l){for(var f=l;;){if(f.flags&16384){var p=f.updateQueue;if(p!==null&&(p=p.stores,p!==null))for(var T=0;T<p.length;T++){var F=p[T],J=F.getSnapshot;F=F.value;try{if(!tr(J(),F))return!1}catch{return!1}}}if(p=f.child,f.subtreeFlags&16384&&p!==null)p.return=f,f=p;else{if(f===l)break;for(;f.sibling===null;){if(f.return===null||f.return===l)return!0;f=f.return}f.sibling.return=f.return,f=f.sibling}}return!0}function kl(l,f){for(f&=~pS,f&=~Ig,l.suspendedLanes|=f,l.pingedLanes&=~f,l=l.expirationTimes;0<f;){var p=31-Kr(f),T=1<<p;l[p]=-1,f&=~T}}function iM(l){if((An&6)!==0)throw Error(r(327));fd();var f=qa(l,0);if((f&1)===0)return Io(l,nt()),null;var p=$g(l,f);if(l.tag!==0&&p===2){var T=Te(l);T!==0&&(f=T,p=_S(l,T))}if(p===1)throw p=Qh,Oc(l,0),kl(l,f),Io(l,nt()),p;if(p===6)throw Error(r(345));return l.finishedWork=l.current.alternate,l.finishedLanes=f,Ic(l,Oo,zu),Io(l,nt()),null}function ES(l,f){var p=An;An|=1;try{return l(f)}finally{An=p,An===0&&(cd=nt()+500,lg&&xl())}}function Ac(l){Pl!==null&&Pl.tag===0&&(An&6)===0&&fd();var f=An;An|=1;var p=Ts.transition,T=Jt;try{if(Ts.transition=null,Jt=1,l)return l()}finally{Jt=T,Ts.transition=p,An=f,(An&6)===0&&xl()}}function wS(){Zo=ld.current,bi(ld)}function Oc(l,f){l.finishedWork=null,l.finishedLanes=0;var p=l.timeoutHandle;if(p!==-1&&(l.timeoutHandle=-1,Lue(p)),aa!==null)for(p=aa.return;p!==null;){var T=p;switch(q0(T),T.tag){case 1:T=T.type.childContextTypes,T!=null&&sg();break;case 3:sd(),bi(Ro),bi(Ba),Y0();break;case 5:W0(T);break;case 4:sd();break;case 13:bi(Mi);break;case 19:bi(Mi);break;case 10:L0(T.type._context);break;case 22:case 23:wS()}p=p.return}if(la=l,aa=l=Nl(l.current,null),Aa=Zo=f,ca=0,Qh=null,pS=Ig=Cc=0,Oo=Jh=null,Hs!==null){for(f=0;f<Hs.length;f++)if(p=Hs[f],T=p.interleaved,T!==null){p.interleaved=null;var F=T.next,J=p.pending;if(J!==null){var ye=J.next;J.next=F,T.next=ye}p.pending=T}Hs=null}return l}function aM(l,f){do{var p=aa;try{if(N0(),_g.current=bg,Sg){for(var T=$i.memoizedState;T!==null;){var F=T.queue;F!==null&&(F.pending=null),T=T.next}Sg=!1}if(xc=0,Sa=ua=$i=null,zh=!1,Wh=0,vS.current=null,p===null||p.return===null){ca=1,Qh=f,aa=null;break}e:{var J=l,ye=p.return,De=p,ze=f;if(f=Aa,De.flags|=32768,ze!==null&&typeof ze=="object"&&typeof ze.then=="function"){var gt=ze,qt=De,ir=qt.tag;if((qt.mode&1)===0&&(ir===0||ir===11||ir===15)){var Nt=qt.alternate;Nt?(qt.updateQueue=Nt.updateQueue,qt.memoizedState=Nt.memoizedState,qt.lanes=Nt.lanes):(qt.updateQueue=null,qt.memoizedState=null)}var ur=xL(ye);if(ur!==null){ur.flags&=-257,CL(ur,ye,De,J,f),ur.mode&1&&RL(J,gt,f),f=ur,ze=gt;var nr=f.updateQueue;if(nr===null){var Qr=new Set;Qr.add(ze),f.updateQueue=Qr}else nr.add(ze);break e}else{if((f&1)===0){RL(J,gt,f),bS();break e}ze=Error(r(426))}}else if(Oi&&De.mode&1){var Qi=xL(ye);if(Qi!==null){(Qi.flags&65536)===0&&(Qi.flags|=256),CL(Qi,ye,De,J,f),H0(ze);break e}}J=ze,ca!==4&&(ca=2),Jh===null?Jh=[J]:Jh.push(J),ze=nS(ze,De),De=ye;do{switch(De.tag){case 3:De.flags|=65536,f&=-f,De.lanes|=f;var ot=bL(De,ze,f);VN(De,ot);break e;case 1:J=ze;var Xe=De.type,vt=De.stateNode;if((De.flags&128)===0&&(typeof Xe.getDerivedStateFromError=="function"||vt!==null&&typeof vt.componentDidCatch=="function"&&(Il===null||!Il.has(vt)))){De.flags|=65536,f&=-f,De.lanes|=f;var Qt=TL(De,J,f);VN(De,Qt);break e}}De=De.return}while(De!==null)}uM(p)}catch(hr){f=hr,aa===p&&p!==null&&(aa=p=p.return);continue}break}while(!0)}function oM(){var l=Og.current;return Og.current=bg,l===null?bg:l}function bS(){(ca===0||ca===3||ca===2)&&(ca=4),la===null||(Cc&268435455)===0&&(Ig&268435455)===0||kl(la,Aa)}function $g(l,f){var p=An;An|=2;var T=oM();(la!==l||Aa!==f)&&(zu=null,Oc(l,f));do try{ale();break}catch(F){aM(l,F)}while(!0);if(N0(),An=p,Og.current=T,aa!==null)throw Error(r(261));return la=null,Aa=0,ca}function ale(){for(;aa!==null;)sM(aa)}function ole(){for(;aa!==null&&!we();)sM(aa)}function sM(l){var f=fM(l.alternate,l,Zo);l.memoizedProps=l.pendingProps,f===null?uM(l):aa=f,vS.current=null}function uM(l){var f=l;do{var p=f.alternate;if(l=f.return,(f.flags&32768)===0){if(p=Xue(p,f,Zo),p!==null){aa=p;return}}else{if(p=Zue(p,f),p!==null){p.flags&=32767,aa=p;return}if(l!==null)l.flags|=32768,l.subtreeFlags=0,l.deletions=null;else{ca=6,aa=null;return}}if(f=f.sibling,f!==null){aa=f;return}aa=f=l}while(f!==null);ca===0&&(ca=5)}function Ic(l,f,p){var T=Jt,F=Ts.transition;try{Ts.transition=null,Jt=1,sle(l,f,p,T)}finally{Ts.transition=F,Jt=T}return null}function sle(l,f,p,T){do fd();while(Pl!==null);if((An&6)!==0)throw Error(r(327));p=l.finishedWork;var F=l.finishedLanes;if(p===null)return null;if(l.finishedWork=null,l.finishedLanes=0,p===l.current)throw Error(r(177));l.callbackNode=null,l.callbackPriority=0;var J=p.lanes|p.childLanes;if(Ot(l,J),l===la&&(aa=la=null,Aa=0),(p.subtreeFlags&2064)===0&&(p.flags&2064)===0||Dg||(Dg=!0,dM(Yt,function(){return fd(),null})),J=(p.flags&15990)!==0,(p.subtreeFlags&15990)!==0||J){J=Ts.transition,Ts.transition=null;var ye=Jt;Jt=1;var De=An;An|=4,vS.current=null,tle(l,p),QL(p,l),Cr(x0),ga=!!R0,x0=R0=null,l.current=p,rle(p),ct(),An=De,Jt=ye,Ts.transition=J}else l.current=p;if(Dg&&(Dg=!1,Pl=l,kg=F),J=l.pendingLanes,J===0&&(Il=null),Mt(p.stateNode),Io(l,nt()),f!==null)for(T=l.onRecoverableError,p=0;p<f.length;p++)T(f[p]);if(Pg)throw Pg=!1,l=mS,mS=null,l;return(kg&1)!==0&&l.tag!==0&&fd(),J=l.pendingLanes,(J&1)!==0?l===yS?Zh++:(Zh=0,yS=l):Zh=0,xl(),null}function fd(){if(Pl!==null){var l=wr(kg),f=Ts.transition,p=Jt;try{if(Ts.transition=null,Jt=16>l?16:l,Pl===null)var T=!1;else{if(l=Pl,Pl=null,kg=0,(An&6)!==0)throw Error(r(331));var F=An;for(An|=4,cr=l.current;cr!==null;){var J=cr,ye=J.child;if((cr.flags&16)!==0){var De=J.deletions;if(De!==null){for(var ze=0;ze<De.length;ze++){var gt=De[ze];for(cr=gt;cr!==null;){var qt=cr;switch(qt.tag){case 0:case 11:case 15:Xh(8,qt,J)}var ir=qt.child;if(ir!==null)ir.return=qt,cr=ir;else for(;cr!==null;){qt=cr;var Nt=qt.sibling,ur=qt.return;if(WL(qt),qt===gt){cr=null;break}if(Nt!==null){Nt.return=ur,cr=Nt;break}cr=ur}}}var nr=J.alternate;if(nr!==null){var Qr=nr.child;if(Qr!==null){nr.child=null;do{var Qi=Qr.sibling;Qr.sibling=null,Qr=Qi}while(Qr!==null)}}cr=J}}if((J.subtreeFlags&2064)!==0&&ye!==null)ye.return=J,cr=ye;else e:for(;cr!==null;){if(J=cr,(J.flags&2048)!==0)switch(J.tag){case 0:case 11:case 15:Xh(9,J,J.return)}var ot=J.sibling;if(ot!==null){ot.return=J.return,cr=ot;break e}cr=J.return}}var Xe=l.current;for(cr=Xe;cr!==null;){ye=cr;var vt=ye.child;if((ye.subtreeFlags&2064)!==0&&vt!==null)vt.return=ye,cr=vt;else e:for(ye=Xe;cr!==null;){if(De=cr,(De.flags&2048)!==0)try{switch(De.tag){case 0:case 11:case 15:Ag(9,De)}}catch(hr){zi(De,De.return,hr)}if(De===ye){cr=null;break e}var Qt=De.sibling;if(Qt!==null){Qt.return=De.return,cr=Qt;break e}cr=De.return}}if(An=F,xl(),vn&&typeof vn.onPostCommitFiberRoot=="function")try{vn.onPostCommitFiberRoot(en,l)}catch{}T=!0}return T}finally{Jt=p,Ts.transition=f}}return!1}function lM(l,f,p){f=nS(p,f),f=bL(l,f,1),Al(l,f),f=co(),l=Mg(l,1),l!==null&&(rt(l,1,f),Io(l,f))}function zi(l,f,p){if(l.tag===3)lM(l,l,p);else for(;f!==null;){if(f.tag===3){lM(f,l,p);break}else if(f.tag===1){var T=f.stateNode;if(typeof f.type.getDerivedStateFromError=="function"||typeof T.componentDidCatch=="function"&&(Il===null||!Il.has(T))){l=nS(p,l),l=TL(f,l,1),Al(f,l),l=co(),f=Mg(f,1),f!==null&&(rt(f,1,l),Io(f,l));break}}f=f.return}}function ule(l,f,p){var T=l.pingCache;T!==null&&T.delete(f),f=co(),l.pingedLanes|=l.suspendedLanes&p,la===l&&(Aa&p)===p&&(ca===4||ca===3&&(Aa&130023424)===Aa&&500>nt()-gS?Oc(l,0):pS|=p),Io(l,f)}function cM(l,f){f===0&&((l.mode&1)===0?f=1:(f=xa,xa<<=1,(xa&130023424)===0&&(xa=4194304)));var p=co();l=Mg(l,f),l!==null&&(rt(l,f,p),Io(l,p))}function lle(l){var f=l.memoizedState,p=0;f!==null&&(p=f.retryLane),cM(l,p)}function cle(l,f){var p=0;switch(l.tag){case 13:var T=l.stateNode,F=l.memoizedState;F!==null&&(p=F.retryLane);break;case 19:T=l.stateNode;break;default:throw Error(r(314))}T!==null&&T.delete(f),cM(l,p)}var fM;fM=function(l,f,p){if(l!==null)if(l.memoizedProps!==f.pendingProps||Ro.current)Ao=!0;else{if((l.lanes&p)===0&&(f.flags&128)===0)return Ao=!1,Jue(l,f,p);Ao=(l.flags&131072)!==0}else Ao=!1,Oi&&(f.flags&1048576)!==0&&YN(f,gg,f.index);switch(f.lanes=0,f.tag){case 2:var T=f.type;l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),l=f.pendingProps;var F=ed(f,Ba.current);rd(f,p),F=Q0(null,f,T,l,F,p);var J=J0();return f.flags|=1,typeof F=="object"&&F!==null&&typeof F.render=="function"&&F.$$typeof===void 0?(f.tag=1,f.memoizedState=null,f.updateQueue=null,xo(T)?(J=!0,ug(f)):J=!1,f.memoizedState=F.state!==null&&F.state!==void 0?F.state:null,$0(f),F.updater=vg,f.stateNode=F,F._reactInternals=f,j0(f,T,l,p),f=sS(null,f,T,!0,J,p)):(f.tag=0,Oi&&J&&U0(f),lo(null,f,F,p),f=f.child),f;case 16:T=f.elementType;e:{switch(l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),l=f.pendingProps,F=T._init,T=F(T._payload),f.type=T,F=f.tag=dle(T),l=Bs(T,l),F){case 0:f=oS(null,f,T,l,p);break e;case 1:f=ML(null,f,T,l,p);break e;case 11:f=PL(null,f,T,l,p);break e;case 14:f=DL(null,f,T,Bs(T.type,l),p);break e}throw Error(r(306,T,""))}return f;case 0:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),oS(l,f,T,F,p);case 1:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),ML(l,f,T,F,p);case 3:e:{if($L(f),l===null)throw Error(r(387));T=f.pendingProps,J=f.memoizedState,F=J.element,qN(l,f),hg(f,T,null,p);var ye=f.memoizedState;if(T=ye.element,J.isDehydrated)if(J={element:T,isDehydrated:!1,cache:ye.cache,pendingSuspenseBoundaries:ye.pendingSuspenseBoundaries,transitions:ye.transitions},f.updateQueue.baseState=J,f.memoizedState=J,f.flags&256){F=Error(r(423)),f=FL(l,f,T,p,F);break e}else if(T!==F){F=Error(r(424)),f=FL(l,f,T,p,F);break e}else for(Co=Fu(f.stateNode.containerInfo.firstChild),Jo=f,Oi=!0,zs=null,p=eL(f,null,T,p),f.child=p;p;)p.flags=p.flags&-3|4096,p=p.sibling;else{if(ad(),T===F){f=Hu(l,f,p);break e}lo(l,f,T,p)}f=f.child}return f;case 5:return tL(f),l===null&&B0(f),T=f.type,F=f.pendingProps,J=l!==null?l.memoizedProps:null,ye=F.children,C0(T,F)?ye=null:J!==null&&C0(T,J)&&(f.flags|=32),LL(l,f),lo(l,f,ye,p),f.child;case 6:return l===null&&B0(f),null;case 13:return UL(l,f,p);case 4:return z0(f,f.stateNode.containerInfo),T=f.pendingProps,l===null?f.child=od(f,null,T,p):lo(l,f,T,p),f.child;case 11:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),PL(l,f,T,F,p);case 7:return lo(l,f,f.pendingProps,p),f.child;case 8:return lo(l,f,f.pendingProps.children,p),f.child;case 12:return lo(l,f,f.pendingProps.children,p),f.child;case 10:e:{if(T=f.type._context,F=f.pendingProps,J=f.memoizedProps,ye=F.value,vi(cg,T._currentValue),T._currentValue=ye,J!==null)if(tr(J.value,ye)){if(J.children===F.children&&!Ro.current){f=Hu(l,f,p);break e}}else for(J=f.child,J!==null&&(J.return=f);J!==null;){var De=J.dependencies;if(De!==null){ye=J.child;for(var ze=De.firstContext;ze!==null;){if(ze.context===T){if(J.tag===1){ze=qu(-1,p&-p),ze.tag=2;var gt=J.updateQueue;if(gt!==null){gt=gt.shared;var qt=gt.pending;qt===null?ze.next=ze:(ze.next=qt.next,qt.next=ze),gt.pending=ze}}J.lanes|=p,ze=J.alternate,ze!==null&&(ze.lanes|=p),M0(J.return,p,f),De.lanes|=p;break}ze=ze.next}}else if(J.tag===10)ye=J.type===f.type?null:J.child;else if(J.tag===18){if(ye=J.return,ye===null)throw Error(r(341));ye.lanes|=p,De=ye.alternate,De!==null&&(De.lanes|=p),M0(ye,p,f),ye=J.sibling}else ye=J.child;if(ye!==null)ye.return=J;else for(ye=J;ye!==null;){if(ye===f){ye=null;break}if(J=ye.sibling,J!==null){J.return=ye.return,ye=J;break}ye=ye.return}J=ye}lo(l,f,F.children,p),f=f.child}return f;case 9:return F=f.type,T=f.pendingProps.children,rd(f,p),F=Ss(F),T=T(F),f.flags|=1,lo(l,f,T,p),f.child;case 14:return T=f.type,F=Bs(T,f.pendingProps),F=Bs(T.type,F),DL(l,f,T,F,p);case 15:return kL(l,f,f.type,f.pendingProps,p);case 17:return T=f.type,F=f.pendingProps,F=f.elementType===T?F:Bs(T,F),l!==null&&(l.alternate=null,f.alternate=null,f.flags|=2),f.tag=1,xo(T)?(l=!0,ug(f)):l=!1,rd(f,p),WN(f,T,F),j0(f,T,F,p),sS(null,f,T,!0,l,p);case 19:return HL(l,f,p);case 22:return NL(l,f,p)}throw Error(r(156,f.tag))};function dM(l,f){return At(l,f)}function fle(l,f,p,T){this.tag=l,this.key=p,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.ref=null,this.pendingProps=f,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=T,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function xs(l,f,p,T){return new fle(l,f,p,T)}function TS(l){return l=l.prototype,!(!l||!l.isReactComponent)}function dle(l){if(typeof l=="function")return TS(l)?1:0;if(l!=null){if(l=l.$$typeof,l===B)return 11;if(l===K)return 14}return 2}function Nl(l,f){var p=l.alternate;return p===null?(p=xs(l.tag,f,l.key,l.mode),p.elementType=l.elementType,p.type=l.type,p.stateNode=l.stateNode,p.alternate=l,l.alternate=p):(p.pendingProps=f,p.type=l.type,p.flags=0,p.subtreeFlags=0,p.deletions=null),p.flags=l.flags&14680064,p.childLanes=l.childLanes,p.lanes=l.lanes,p.child=l.child,p.memoizedProps=l.memoizedProps,p.memoizedState=l.memoizedState,p.updateQueue=l.updateQueue,f=l.dependencies,p.dependencies=f===null?null:{lanes:f.lanes,firstContext:f.firstContext},p.sibling=l.sibling,p.index=l.index,p.ref=l.ref,p}function Fg(l,f,p,T,F,J){var ye=2;if(T=l,typeof l=="function")TS(l)&&(ye=1);else if(typeof l=="string")ye=5;else e:switch(l){case _:return Pc(p.children,F,J,f);case P:ye=8,F|=8;break;case N:return l=xs(12,p,f,F|2),l.elementType=N,l.lanes=J,l;case Y:return l=xs(13,p,f,F),l.elementType=Y,l.lanes=J,l;case Q:return l=xs(19,p,f,F),l.elementType=Q,l.lanes=J,l;case ne:return jg(p,F,J,f);default:if(typeof l=="object"&&l!==null)switch(l.$$typeof){case U:ye=10;break e;case $:ye=9;break e;case B:ye=11;break e;case K:ye=14;break e;case ee:ye=16,T=null;break e}throw Error(r(130,l==null?l:typeof l,""))}return f=xs(ye,p,f,F),f.elementType=l,f.type=T,f.lanes=J,f}function Pc(l,f,p,T){return l=xs(7,l,T,f),l.lanes=p,l}function jg(l,f,p,T){return l=xs(22,l,T,f),l.elementType=ne,l.lanes=p,l.stateNode={},l}function RS(l,f,p){return l=xs(6,l,null,f),l.lanes=p,l}function xS(l,f,p){return f=xs(4,l.children!==null?l.children:[],l.key,f),f.lanes=p,f.stateNode={containerInfo:l.containerInfo,pendingChildren:null,implementation:l.implementation},f}function hle(l,f,p,T,F){this.tag=f,this.containerInfo=l,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=T,this.onRecoverableError=F,this.mutableSourceEagerHydrationData=null}function CS(l,f,p,T,F,J,ye,De,ze){return l=new hle(l,f,p,De,ze),f===1?(f=1,J===!0&&(f|=8)):f=0,J=xs(3,null,null,f),l.current=J,J.stateNode=l,J.memoizedState={element:T,isDehydrated:p,cache:null,transitions:null,pendingSuspenseBoundaries:null},$0(J),l}function vle(l,f,p){var T=3<arguments.length&&arguments[3]!==void 0?arguments[3]:null;return{$$typeof:O,key:T==null?null:""+T,children:l,containerInfo:f,implementation:p}}function hM(l){if(!l)return Rl;l=l._reactInternals;e:{if(Di(l)!==l||l.tag!==1)throw Error(r(170));var f=l;do{switch(f.tag){case 3:f=f.stateNode.context;break e;case 1:if(xo(f.type)){f=f.stateNode.__reactInternalMemoizedMergedChildContext;break e}}f=f.return}while(f!==null);throw Error(r(171))}if(l.tag===1){var p=l.type;if(xo(p))return FN(l,p,f)}return f}function vM(l,f,p,T,F,J,ye,De,ze){return l=CS(p,T,!0,l,F,J,ye,De,ze),l.context=hM(null),p=l.current,T=co(),F=Dl(p),J=qu(T,F),J.callback=f??null,Al(p,J),l.current.lanes=F,rt(l,F,T),Io(l,T),l}function Ug(l,f,p,T){var F=f.current,J=co(),ye=Dl(F);return p=hM(p),f.context===null?f.context=p:f.pendingContext=p,f=qu(J,ye),f.payload={element:l},T=T===void 0?null:T,T!==null&&(f.callback=T),Al(F,f),l=Rs(F,ye,J),l!==null&&dg(l,F,ye),ye}function qg(l){if(l=l.current,!l.child)return null;switch(l.child.tag){case 5:return l.child.stateNode;default:return l.child.stateNode}}function pM(l,f){if(l=l.memoizedState,l!==null&&l.dehydrated!==null){var p=l.retryLane;l.retryLane=p!==0&&p<f?p:f}}function AS(l,f){pM(l,f),(l=l.alternate)&&pM(l,f)}function ple(){return null}var gM=typeof reportError=="function"?reportError:function(l){console.error(l)};function OS(l){this._internalRoot=l}Vg.prototype.render=OS.prototype.render=function(l){var f=this._internalRoot;if(f===null)throw Error(r(409));Ug(l,f,null,null)},Vg.prototype.unmount=OS.prototype.unmount=function(){var l=this._internalRoot;if(l!==null){this._internalRoot=null;var f=l.containerInfo;Ac(function(){Ug(null,l,null,null)}),f[ju]=null}};function Vg(l){this._internalRoot=l}Vg.prototype.unstable_scheduleHydration=function(l){if(l){var f=Ni();l={blockedOn:null,target:l,priority:f};for(var p=0;p<pa.length&&f!==0&&f<pa[p].priority;p++);pa.splice(p,0,l),p===0&&oo(l)}};function IS(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11)}function Bg(l){return!(!l||l.nodeType!==1&&l.nodeType!==9&&l.nodeType!==11&&(l.nodeType!==8||l.nodeValue!==" react-mount-point-unstable "))}function mM(){}function gle(l,f,p,T,F){if(F){if(typeof T=="function"){var J=T;T=function(){var gt=qg(ye);J.call(gt)}}var ye=vM(f,T,l,0,null,!1,!1,"",mM);return l._reactRootContainer=ye,l[ju]=ye.current,Mh(l.nodeType===8?l.parentNode:l),Ac(),ye}for(;F=l.lastChild;)l.removeChild(F);if(typeof T=="function"){var De=T;T=function(){var gt=qg(ze);De.call(gt)}}var ze=CS(l,0,!1,null,null,!1,!1,"",mM);return l._reactRootContainer=ze,l[ju]=ze.current,Mh(l.nodeType===8?l.parentNode:l),Ac(function(){Ug(f,ze,p,T)}),ze}function Hg(l,f,p,T,F){var J=p._reactRootContainer;if(J){var ye=J;if(typeof F=="function"){var De=F;F=function(){var ze=qg(ye);De.call(ze)}}Ug(f,ye,l,F)}else ye=gle(p,f,l,F,T);return qg(ye)}Ar=function(l){switch(l.tag){case 3:var f=l.stateNode;if(f.current.memoizedState.isDehydrated){var p=no(f.pendingLanes);p!==0&&(Wt(f,p|1),Io(f,nt()),(An&6)===0&&(cd=nt()+500,xl()))}break;case 13:var T=co();Ac(function(){return Rs(l,1,T)}),AS(l,1)}},qn=function(l){if(l.tag===13){var f=co();Rs(l,134217728,f),AS(l,134217728)}},ki=function(l){if(l.tag===13){var f=co(),p=Dl(l);Rs(l,p,f),AS(l,p)}},Ni=function(){return Jt},ms=function(l,f){var p=Jt;try{return Jt=l,f()}finally{Jt=p}},ut=function(l,f,p){switch(f){case"input":if(Se(l,p),f=p.name,p.type==="radio"&&f!=null){for(p=l;p.parentNode;)p=p.parentNode;for(p=p.querySelectorAll("input[name="+JSON.stringify(""+f)+'][type="radio"]'),f=0;f<p.length;f++){var T=p[f];if(T!==l&&T.form===l.form){var F=og(T);if(!F)throw Error(r(90));V(T),Se(T,F)}}}break;case"textarea":ke(l,p);break;case"select":f=p.value,f!=null&&Ee(l,!!p.multiple,f,!1)}},mr=ES,Pr=Ac;var mle={usingClientEntryPoint:!1,Events:[jh,Jf,og,_r,sr,ES]},ev={findFiberByHostInstance:Ec,bundleType:0,version:"18.1.0",rendererPackageName:"react-dom"},yle={bundleType:ev.bundleType,version:ev.version,rendererPackageName:ev.rendererPackageName,rendererConfig:ev.rendererConfig,overrideHookState:null,overrideHookStateDeletePath:null,overrideHookStateRenamePath:null,overrideProps:null,overridePropsDeletePath:null,overridePropsRenamePath:null,setErrorHandler:null,setSuspenseHandler:null,scheduleUpdate:null,currentDispatcherRef:R.ReactCurrentDispatcher,findHostInstanceByFiber:function(l){return l=pt(l),l===null?null:l.stateNode},findFiberByHostInstance:ev.findFiberByHostInstance||ple,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 zg=__REACT_DEVTOOLS_GLOBAL_HOOK__;if(!zg.isDisabled&&zg.supportsFiber)try{en=zg.inject(yle),vn=zg}catch{}}return Po.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED=mle,Po.createPortal=function(l,f){var p=2<arguments.length&&arguments[2]!==void 0?arguments[2]:null;if(!IS(f))throw Error(r(200));return vle(l,f,null,p)},Po.createRoot=function(l,f){if(!IS(l))throw Error(r(299));var p=!1,T="",F=gM;return f!=null&&(f.unstable_strictMode===!0&&(p=!0),f.identifierPrefix!==void 0&&(T=f.identifierPrefix),f.onRecoverableError!==void 0&&(F=f.onRecoverableError)),f=CS(l,1,!1,null,null,p,!1,T,F),l[ju]=f.current,Mh(l.nodeType===8?l.parentNode:l),new OS(f)},Po.findDOMNode=function(l){if(l==null)return null;if(l.nodeType===1)return l;var f=l._reactInternals;if(f===void 0)throw typeof l.render=="function"?Error(r(188)):(l=Object.keys(l).join(","),Error(r(268,l)));return l=pt(f),l=l===null?null:l.stateNode,l},Po.flushSync=function(l){return Ac(l)},Po.hydrate=function(l,f,p){if(!Bg(f))throw Error(r(200));return Hg(null,l,f,!0,p)},Po.hydrateRoot=function(l,f,p){if(!IS(l))throw Error(r(405));var T=p!=null&&p.hydratedSources||null,F=!1,J="",ye=gM;if(p!=null&&(p.unstable_strictMode===!0&&(F=!0),p.identifierPrefix!==void 0&&(J=p.identifierPrefix),p.onRecoverableError!==void 0&&(ye=p.onRecoverableError)),f=vM(f,null,l,1,p??null,F,!1,J,ye),l[ju]=f.current,Mh(l),T)for(l=0;l<T.length;l++)p=T[l],F=p._getVersion,F=F(p._source),f.mutableSourceEagerHydrationData==null?f.mutableSourceEagerHydrationData=[p,F]:f.mutableSourceEagerHydrationData.push(p,F);return new Vg(f)},Po.render=function(l,f,p){if(!Bg(f))throw Error(r(200));return Hg(null,l,f,!1,p)},Po.unmountComponentAtNode=function(l){if(!Bg(l))throw Error(r(40));return l._reactRootContainer?(Ac(function(){Hg(null,null,l,!1,function(){l._reactRootContainer=null,l[ju]=null})}),!0):!1},Po.unstable_batchedUpdates=ES,Po.unstable_renderSubtreeIntoContainer=function(l,f,p,T){if(!Bg(p))throw Error(r(200));if(l==null||l._reactInternals===void 0)throw Error(r(38));return Hg(l,f,p,!1,T)},Po.version="18.1.0-next-22edb9f77-20220426",Po}var pK;function Wie(){if(pK)return RC.exports;pK=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(),RC.exports=ube(),RC.exports}var Gie=Wie();const Gc=jn(Gie);function lbe(e){e()}let Yie=lbe;const cbe=e=>Yie=e,fbe=()=>Yie,ic=or.createContext(null);function Kie(){return pe.useContext(ic)}const dbe=()=>{throw new Error("uSES not initialized!")};let Xie=dbe;const hbe=e=>{Xie=e},vbe=(e,t)=>e===t;function pbe(e=ic){const t=e===ic?Kie:()=>pe.useContext(e);return function(n,i=vbe){const{store:a,subscription:o,getServerState:u}=t(),s=Xie(o.addNestedSub,a.getState,u||a.getState,n,i);return pe.useDebugValue(s),s}}const K_=pbe();function Qv(){return Qv=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},Qv.apply(null,arguments)}function X_(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 AC={exports:{}},Bn={};/** @license React v16.13.1
|
|
104
|
-
* react-is.production.min.js
|
|
105
|
-
*
|
|
106
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
107
|
-
*
|
|
108
|
-
* This source code is licensed under the MIT license found in the
|
|
109
|
-
* LICENSE file in the root directory of this source tree.
|
|
110
|
-
*/var gK;function gbe(){if(gK)return Bn;gK=1;var e=typeof Symbol=="function"&&Symbol.for,t=e?Symbol.for("react.element"):60103,r=e?Symbol.for("react.portal"):60106,n=e?Symbol.for("react.fragment"):60107,i=e?Symbol.for("react.strict_mode"):60108,a=e?Symbol.for("react.profiler"):60114,o=e?Symbol.for("react.provider"):60109,u=e?Symbol.for("react.context"):60110,s=e?Symbol.for("react.async_mode"):60111,c=e?Symbol.for("react.concurrent_mode"):60111,d=e?Symbol.for("react.forward_ref"):60112,h=e?Symbol.for("react.suspense"):60113,v=e?Symbol.for("react.suspense_list"):60120,g=e?Symbol.for("react.memo"):60115,m=e?Symbol.for("react.lazy"):60116,y=e?Symbol.for("react.block"):60121,S=e?Symbol.for("react.fundamental"):60117,w=e?Symbol.for("react.responder"):60118,b=e?Symbol.for("react.scope"):60119;function A(x){if(typeof x=="object"&&x!==null){var O=x.$$typeof;switch(O){case t:switch(x=x.type,x){case s:case c:case n:case a:case i:case h:return x;default:switch(x=x&&x.$$typeof,x){case u:case d:case m:case g:case o:return x;default:return O}}case r:return O}}}function R(x){return A(x)===c}return Bn.AsyncMode=s,Bn.ConcurrentMode=c,Bn.ContextConsumer=u,Bn.ContextProvider=o,Bn.Element=t,Bn.ForwardRef=d,Bn.Fragment=n,Bn.Lazy=m,Bn.Memo=g,Bn.Portal=r,Bn.Profiler=a,Bn.StrictMode=i,Bn.Suspense=h,Bn.isAsyncMode=function(x){return R(x)||A(x)===s},Bn.isConcurrentMode=R,Bn.isContextConsumer=function(x){return A(x)===u},Bn.isContextProvider=function(x){return A(x)===o},Bn.isElement=function(x){return typeof x=="object"&&x!==null&&x.$$typeof===t},Bn.isForwardRef=function(x){return A(x)===d},Bn.isFragment=function(x){return A(x)===n},Bn.isLazy=function(x){return A(x)===m},Bn.isMemo=function(x){return A(x)===g},Bn.isPortal=function(x){return A(x)===r},Bn.isProfiler=function(x){return A(x)===a},Bn.isStrictMode=function(x){return A(x)===i},Bn.isSuspense=function(x){return A(x)===h},Bn.isValidElementType=function(x){return typeof x=="string"||typeof x=="function"||x===n||x===c||x===a||x===i||x===h||x===v||typeof x=="object"&&x!==null&&(x.$$typeof===m||x.$$typeof===g||x.$$typeof===o||x.$$typeof===u||x.$$typeof===d||x.$$typeof===S||x.$$typeof===w||x.$$typeof===b||x.$$typeof===y)},Bn.typeOf=A,Bn}var mK;function mbe(){return mK||(mK=1,AC.exports=gbe()),AC.exports}var OC,yK;function ybe(){if(yK)return OC;yK=1;var e=mbe(),t={childContextTypes:!0,contextType:!0,contextTypes:!0,defaultProps:!0,displayName:!0,getDefaultProps:!0,getDerivedStateFromError:!0,getDerivedStateFromProps:!0,mixins:!0,propTypes:!0,type:!0},r={name:!0,length:!0,prototype:!0,caller:!0,callee:!0,arguments:!0,arity:!0},n={$$typeof:!0,render:!0,defaultProps:!0,displayName:!0,propTypes:!0},i={$$typeof:!0,compare:!0,defaultProps:!0,displayName:!0,propTypes:!0,type:!0},a={};a[e.ForwardRef]=n,a[e.Memo]=i;function o(m){return e.isMemo(m)?i:a[m.$$typeof]||t}var u=Object.defineProperty,s=Object.getOwnPropertyNames,c=Object.getOwnPropertySymbols,d=Object.getOwnPropertyDescriptor,h=Object.getPrototypeOf,v=Object.prototype;function g(m,y,S){if(typeof y!="string"){if(v){var w=h(y);w&&w!==v&&g(m,w,S)}var b=s(y);c&&(b=b.concat(c(y)));for(var A=o(m),R=o(y),x=0;x<b.length;++x){var O=b[x];if(!r[O]&&!(S&&S[O])&&!(R&&R[O])&&!(A&&A[O])){var _=d(y,O);try{u(m,O,_)}catch{}}}}return m}return OC=g,OC}var _be=ybe();const Sbe=jn(_be);var IC={exports:{}},Hn={};/**
|
|
111
|
-
* @license React
|
|
112
|
-
* react-is.production.min.js
|
|
113
|
-
*
|
|
114
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
115
|
-
*
|
|
116
|
-
* This source code is licensed under the MIT license found in the
|
|
117
|
-
* LICENSE file in the root directory of this source tree.
|
|
118
|
-
*/var _K;function Ebe(){if(_K)return Hn;_K=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),a=Symbol.for("react.provider"),o=Symbol.for("react.context"),u=Symbol.for("react.server_context"),s=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),h=Symbol.for("react.memo"),v=Symbol.for("react.lazy"),g=Symbol.for("react.offscreen"),m;m=Symbol.for("react.module.reference");function y(S){if(typeof S=="object"&&S!==null){var w=S.$$typeof;switch(w){case e:switch(S=S.type,S){case r:case i:case n:case c:case d:return S;default:switch(S=S&&S.$$typeof,S){case u:case o:case s:case v:case h:case a:return S;default:return w}}case t:return w}}}return Hn.ContextConsumer=o,Hn.ContextProvider=a,Hn.Element=e,Hn.ForwardRef=s,Hn.Fragment=r,Hn.Lazy=v,Hn.Memo=h,Hn.Portal=t,Hn.Profiler=i,Hn.StrictMode=n,Hn.Suspense=c,Hn.SuspenseList=d,Hn.isAsyncMode=function(){return!1},Hn.isConcurrentMode=function(){return!1},Hn.isContextConsumer=function(S){return y(S)===o},Hn.isContextProvider=function(S){return y(S)===a},Hn.isElement=function(S){return typeof S=="object"&&S!==null&&S.$$typeof===e},Hn.isForwardRef=function(S){return y(S)===s},Hn.isFragment=function(S){return y(S)===r},Hn.isLazy=function(S){return y(S)===v},Hn.isMemo=function(S){return y(S)===h},Hn.isPortal=function(S){return y(S)===t},Hn.isProfiler=function(S){return y(S)===i},Hn.isStrictMode=function(S){return y(S)===n},Hn.isSuspense=function(S){return y(S)===c},Hn.isSuspenseList=function(S){return y(S)===d},Hn.isValidElementType=function(S){return typeof S=="string"||typeof S=="function"||S===r||S===i||S===n||S===c||S===d||S===g||typeof S=="object"&&S!==null&&(S.$$typeof===v||S.$$typeof===h||S.$$typeof===a||S.$$typeof===o||S.$$typeof===s||S.$$typeof===m||S.getModuleId!==void 0)},Hn.typeOf=y,Hn}var SK;function wbe(){return SK||(SK=1,IC.exports=Ebe()),IC.exports}wbe();function bbe(){const e=fbe();let t=null,r=null;return{clear(){t=null,r=null},notify(){e(()=>{let n=t;for(;n;)n.callback(),n=n.next})},get(){let n=[],i=t;for(;i;)n.push(i),i=i.next;return n},subscribe(n){let i=!0,a=r={callback:n,next:null,prev:r};return a.prev?a.prev.next=a:t=a,function(){!i||t===null||(i=!1,a.next?a.next.prev=a.prev:r=a.prev,a.prev?a.prev.next=a.next:t=a.next)}}}}const EK={notify(){},get:()=>[]};function Tbe(e,t){let r,n=EK;function i(h){return s(),n.subscribe(h)}function a(){n.notify()}function o(){d.onStateChange&&d.onStateChange()}function u(){return!!r}function s(){r||(r=e.subscribe(o),n=bbe())}function c(){r&&(r(),r=void 0,n.clear(),n=EK)}const d={addNestedSub:i,notifyNestedSubs:a,handleChangeWrapper:o,isSubscribed:u,trySubscribe:s,tryUnsubscribe:c,getListeners:()=>n};return d}const Rbe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u",xbe=Rbe?pe.useLayoutEffect:pe.useEffect;function Qie({store:e,context:t,children:r,serverState:n}){const i=pe.useMemo(()=>{const u=Tbe(e);return{store:e,subscription:u,getServerState:n?()=>n:void 0}},[e,n]),a=pe.useMemo(()=>e.getState(),[e]);xbe(()=>{const{subscription:u}=i;return u.onStateChange=u.notifyNestedSubs,u.trySubscribe(),a!==e.getState()&&u.notifyNestedSubs(),()=>{u.tryUnsubscribe(),u.onStateChange=void 0}},[i,a]);const o=t||ic;return or.createElement(o.Provider,{value:i},r)}function Jie(e=ic){const t=e===ic?Kie:()=>pe.useContext(e);return function(){const{store:n}=t();return n}}const Zie=Jie();function Cbe(e=ic){const t=e===ic?Zie:Jie(e);return function(){return t().dispatch}}const Nf=Cbe();hbe(abe.useSyncExternalStoreWithSelector);cbe(Gie.unstable_batchedUpdates);var vy="NOT_FOUND";function Abe(e){var t;return{get:function(n){return t&&e(t.key,n)?t.value:vy},put:function(n,i){t={key:n,value:i}},getEntries:function(){return t?[t]:[]},clear:function(){t=void 0}}}function Obe(e,t){var r=[];function n(u){var s=r.findIndex(function(d){return t(u,d.key)});if(s>-1){var c=r[s];return s>0&&(r.splice(s,1),r.unshift(c)),c.value}return vy}function i(u,s){n(u)===vy&&(r.unshift({key:u,value:s}),r.length>e&&r.pop())}function a(){return r}function o(){r=[]}return{get:n,put:i,getEntries:a,clear:o}}var Ibe=function(t,r){return t===r};function Pbe(e){return function(r,n){if(r===null||n===null||r.length!==n.length)return!1;for(var i=r.length,a=0;a<i;a++)if(!e(r[a],n[a]))return!1;return!0}}function Dbe(e,t){var r=typeof t=="object"?t:{equalityCheck:t},n=r.equalityCheck,i=n===void 0?Ibe:n,a=r.maxSize,o=a===void 0?1:a,u=r.resultEqualityCheck,s=Pbe(i),c=o===1?Abe(s):Obe(o,s);function d(){var h=c.get(arguments);if(h===vy){if(h=e.apply(null,arguments),u){var v=c.getEntries(),g=v.find(function(m){return u(m.value,h)});g&&(h=g.value)}c.put(arguments,h)}return h}return d.clearCache=function(){return c.clear()},d}function kbe(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 Nbe(e){for(var t=arguments.length,r=new Array(t>1?t-1:0),n=1;n<t;n++)r[n-1]=arguments[n];var i=function(){for(var o=arguments.length,u=new Array(o),s=0;s<o;s++)u[s]=arguments[s];var c=0,d,h={memoizeOptions:void 0},v=u.pop();if(typeof v=="object"&&(h=v,v=u.pop()),typeof v!="function")throw new Error("createSelector expects an output function after the inputs, but received: ["+typeof v+"]");var g=h,m=g.memoizeOptions,y=m===void 0?r:m,S=Array.isArray(y)?y:[y],w=kbe(u),b=e.apply(void 0,[function(){return c++,v.apply(null,arguments)}].concat(S)),A=e(function(){for(var x=[],O=w.length,_=0;_<O;_++)x.push(w[_].apply(null,arguments));return d=b.apply(null,x),d});return Object.assign(A,{resultFunc:v,memoizedResultFunc:b,dependencies:w,lastResult:function(){return d},recomputations:function(){return c},resetRecomputations:function(){return c=0}}),A};return i}const ik={getMatchingKeyMap(e,t,r){const n=Array.isArray(t)?t:[t];let i=[];return n.forEach(a=>{const o=new RegExp(a,"i"),u=Object.keys(e.resources).filter(s=>o.test(s));i.push(...u)}),r&&(i=i.filter(a=>a!==r)),i.reduce((a,o)=>(a[o]=!0,a),{})},updateState(e,t,r){const n=e.getState(),i=ik.getMatchingKeyMap(n.flightData,t.keys),a={...Object.keys(n.flightData.resources).filter(u=>i[u]).reduce((u,s)=>{const c=n.flightData.resources[s];let d=c.response;return c.request.normalize&&(d=nk(c.response,n.flightData.entities)),u[s]=d,u},{})},o=t.updateData(a,r);Object.keys(o).forEach(u=>{const s=n.flightData.resources[u],c=o[u];let d={result:c,entities:{}};s.request.normalize&&(d=Cie(c,s.request.normalizeOptions)),e.dispatch({type:ho.UPDATE,result:d.result,entities:d.entities,request:s.request})})}};function Lbe(e){const r=e.timeout||300;return r/2+(Math.floor(Math.random()*r/2)+1)}const wK={isSimulated(e){const t=e;return!!(t.successResponse||t.errorResponse||t.noResponse)},simulateFetchData(e,t){const{success:r,error:n,always:i}=e,a=t;window.setTimeout(async()=>{if(!a.noResponse){if(a.successResponse){const o=await a.successResponse();r(o,{status:j_.Ok,getResponseHeader:()=>""})}else a.errorResponse&&n(a.errorResponse());i()}},Lbe(t))}},Mbe=1e3,$be=12,bK=18;function PC(e){const t=+e;return isNaN(t)||!t?0:t}const Jv={currentTimestamp(){return new Date().valueOf()},isExpired(e,t){if(!t)return!1;const r=t*Mbe;return e<Jv.currentTimestamp()-r},currentTimeOfDay(e){e||(e=new Date);const t=e.getHours();return t>=$be&&t<bK?"afternoon":t>=bK?"evening":"morning"},convertDurationToSeconds(e,t,r){return PC(e)*60*60+PC(t)*60+PC(r)}};class eae{constructor(t){this.status=t.status,this.requestTime=t.requestTime,this.cacheDuration=t.cacheDuration,this.data=t.data,this.statusCode=t.statusCode,this.hasCompleted=t.hasCompleted}get shouldFetch(){return this.status===Tu.None?!0:this.isExpired}get isExpired(){return this.cacheDuration instanceof Function?Jv.isExpired(this.requestTime,this.cacheDuration(this.data)):Jv.isExpired(this.requestTime,this.cacheDuration)}get isFetching(){return this.status===Tu.Fetching}get hasError(){return this.status===Tu.Error}}function Fbe(e,t){var n,i;if(!Ui.isEqual(e.resource,t.resource)||!e.resource||!t.resource||((n=e.resource.entityIds)==null?void 0:n.length)!==((i=t.resource.entityIds)==null?void 0:i.length))return!1;for(const a in e.resource.entityIds){const o=e.resource.entityIds[a];if(e.entities[o].__modifyCount!==t.entities[o].__modifyCount)return!1}return!0}function jbe(e){const t=n=>({resource:n.flightData.resources[e],entities:n.flightData.entities});return Nbe(Dbe,Fbe)(t,n=>Q_(e,n.resource,n.entities).response)}function Q_(e,t,r){if(!e||!t)return{resource:t,response:Ube()};let n=t.response;t.request.normalize!==!1&&(n=nk(t.response,r));const i=new eae({status:t.status,statusCode:t.statusCode,requestTime:t.timestamp,cacheDuration:t.request.cacheDuration,hasCompleted:t.hasCompleted,data:n});return{resource:t,response:i}}function Ube(){return new eae({status:Tu.None})}function py(e,t){return Q_(t,e.flightData.resources[t],e.flightData.entities).response}function J_(e){return t=>{t&&Rh(e,t)}}function qbe(e){return t=>{if(t)return ak(e,t)}}function Rh(e,t){e({type:ho.API_REQUEST,request:t})}function ak(e,t){return new Promise((r,n)=>{const i=t.success,a=t.error;t.success=o=>{i==null||i(o),r(o)},t.error=o=>{a==null||a(o),n(o)},Rh(e,t)})}function tae(e,t){var o,u,s,c;const r=e.getState(),n=t==null?void 0:t.key,i=Q_(n,r.flightData.resources[n],r.flightData.entities),a=i.response;if(t&&a.shouldFetch){Rh(e.dispatch,t);return}if(a.isFetching){let d=!1;const h=e.subscribe(()=>{h(),!d&&(d=!0,tae(e,t))});return}a.hasError?((o=t.error)==null||o.call(t,{status:a.statusCode,getResponseHeader:null,responseJSON:i.resource.errorResponse}),(u=t.always)==null||u.call(t)):((s=t.success)==null||s.call(t,a.data),(c=t.always)==null||c.call(t))}function Vbe(){const e=Nf();return J_(e)}function Bbe(){const e=Nf();return qbe(e)}function Hbe(e){const t=pe.useMemo(()=>jbe(e),[e]);return K_(r=>t(r))}function Ii(e){const t=Nf(),r=Hbe(e&&e.key),n=J_(t);return pe.useEffect(()=>{e&&r.shouldFetch&&n(e)},[e==null?void 0:e.key,r.shouldFetch]),r}function zbe(e){const t=Vbe(),r=Zie().getState();let n="",i="";const a={};return e==null||e.forEach(o=>{const u=py(r,o.key);n+=`:${o.key}`,i+=`:${u.shouldFetch}`,a[o.key]={request:o,response:u}}),pe.useEffect(()=>{e!=null&&e.length&&Object.values(a).forEach(({request:o,response:u})=>{u.shouldFetch&&t(o)})},[n,i]),K_(()=>{const o=Object.values(a).map(({response:h})=>h),u=[];let s=!1,c=!1;o.forEach(h=>{h.data&&u.push(h.data),s=s||h.isFetching,c=c||h.hasError});const d=!!(o!=null&&o.length)&&o.every(h=>h.hasCompleted);return{data:u,isFetching:s,hasError:c,hasCompleted:d,responses:o}})}async function Xa(e,t){return new Promise((r,n)=>{const i=t.success,a=t.error;t.success=o=>{i==null||i(o),r(o)},t.error=o=>{a==null||a(o),n(o)},tae(e,t)})}async function Jc(e,t){const r=e.getState(),{response:n}=Q_(t.key,r.flightData.resources[t.key],r.flightData.entities);return!n.hasCompleted||n.hasError?Xa(e,t):(n.shouldFetch&&Rh(e.dispatch,{...t,success:null,error:null,always:null}),n.data)}function Wbe(e){const{fetchData:t,getFetchDataOptions:r,bootstrappedData:n,defaultCacheDuration:i}=e,a=Object.freeze({key:null,url:null,type:pn.GET,normalize:!0,formatData:o=>o,cacheDuration:i});return function(u){return s=>c=>{if(c.type!==ho.API_REQUEST){s(c);return}const d=u.getState(),{success:h,error:v,always:g,formatData:m,...y}=Object.assign({},a,c.request),S=d.flightData.resources[y.key];if(s(c),S&&S.status===Tu.Fetching)return;if(y.bootstrapName&&n&&n[c.request.bootstrapName]){A(n[c.request.bootstrapName]),x(),delete n[c.request.bootstrapName];return}const w={resource:y.url,type:y.type,data:y.data,success:A,error:R,always:x};if(typeof r!="function"){b(w);return}r(w,y).then(b);return;function b(O){if(wK.isSimulated(y)){wK.simulateFetchData(O,y);return}t(O)}function A(O,_){const P=m(O);let N={result:P,entities:{}};y.normalize&&(N=Cie(P,y.normalizeOptions)),u.dispatch({type:ho.API_RESPONSE,result:N.result,entities:N.entities,request:y,timestamp:Jv.currentTimestamp(),xhr:_});let U=N.result;if(y.normalize){const $={...d.flightData.entities,...N.entities};U=nk(N.result,$)}y.updateState&&(Array.isArray(y.updateState)?y.updateState:[y.updateState]).forEach(B=>{ik.updateState(u,B,U)}),y.invalidationKeys&&u.dispatch({type:ho.INVALIDATE,keys:y.invalidationKeys,request:y}),h&&h(U)}function R(O){u.dispatch({type:ho.API_ERROR,errorResponse:O.responseJSON,request:c.request,timestamp:Jv.currentTimestamp(),xhr:O}),y.invalidationKeys&&u.dispatch({type:ho.INVALIDATE,keys:y.invalidationKeys,request:y}),v&&v(O)}function x(){g&&g()}}}}function rae(e,t){const r={...e};return Object.keys(t).forEach(n=>{if(!e[n]){r[n]={...t[n],__modifyCount:0};return}const i={...e[n],...t[n]};Ui.isEqual(e[n],i)||(i.__modifyCount=e[n].__modifyCount+1),r[n]=i}),r}function Gbe(e,t){const r=e.resources[t.request.key];return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Tu.Fetching,response:r?r.response:null,entityIds:r?r.entityIds:void 0,hasCompleted:!!(r!=null&&r.hasCompleted)}}}}function Ybe(e,t){var r;return{entities:rae(e.entities,t.entities),resources:{...e.resources,[t.request.key]:{request:t.request,status:Tu.Success,response:t.result,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0,entityIds:t.request.normalize===!1?void 0:Object.keys(t.entities)}}}}function Kbe(e,t){var r;return{entities:{...e.entities},resources:{...e.resources,[t.request.key]:{request:t.request,status:Tu.Error,errorResponse:t.errorResponse,timestamp:t.timestamp,statusCode:(r=t.xhr)==null?void 0:r.status,hasCompleted:!0}}}}function Xbe(e,t){var n;const r=ik.getMatchingKeyMap(e,t.keys,(n=t.request)==null?void 0:n.key);return{entities:{...e.entities},resources:{...e.resources,...Object.keys(e.resources).filter(i=>r[i]).reduce((i,a)=>{const o=e.resources[a];return i[a]=Object.assign({},o,{status:Tu.None}),i},{})}}}function Qbe(e=nae,t){return{entities:rae(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 nae={resources:{},entities:{}};function Jbe(e=nae,t){switch(t.type){case ho.API_REQUEST:return Gbe(e,t);case ho.API_RESPONSE:return Ybe(e,t);case ho.API_ERROR:return Kbe(e,t);case ho.INVALIDATE:return Xbe(e,t);case ho.UPDATE:return Qbe(e,t)}return e}const Qa={first(e){return kv(e)},firstFew(e,t){return kv(e,t)},last(e){return xI(e)},lastFew(e,t){return xI(e,t)},max(e,t){return jD(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 N_(e,t)},findWhere(e,t){return Vne(e,t)},where(e,t){return Hne(e,t)},groupBy(e,t){return Kne(e,t)},countBy(e,t){return Xne(e,t)},flatten(e,t){return Jne(e,t)},intersection(...e){return eie(...e)},addOrRemove(e,t){const r=e.indexOf(t);return r===-1?e.push(t):e.splice(r,1),e},addOrRemoveImmutable(e,t){const r=e.indexOf(t),n=Ui.deepClone(e);return r===-1?[...n,t]:[...n.slice(0,r),...n.slice(r+1)]},sortBy(e,t){return Yne(e,t)},chunk(e,t){return rie(e,t)},uniq(e,t){return Xv(e,t)},toObject(e,t){return e.reduce((r,n)=>Object.assign(r,Ui.isObject(n)?{[n[t]]:n}:{[t]:n}),{})},findIndexById(e,t){return e.findIndex(r=>r.id===t.id)},removeItem(e,t){const r=this.findIndex(e,t);return r===-1?e:this.removeItemFromIndex(e,r)},removeItemFromIndex(e,t){return[...e.slice(0,t),...e.slice(t+1)]},findMatchedIdIndex(e,t){return e.findIndex(r=>{var n;return((n=r.id)==null?void 0:n.toString())===t.toString()})},shuffle(e){return Gne(e)}},iae={getStorage(){return window.localStorage?window.localStorage:window.sessionStorage?window.sessionStorage:iae.getMemoryStorage()},getMemoryStorage(){const e=new Map;return{setItem(t,r){e.set(t,r)},getItem(t){return e.get(t)},removeItem(t){e.delete(t)},clear(){e.clear()},get length(){return e.size},key(t){return Array.from(e.values())[t]}}}};var Js=(e=>(e.LocalStorage="localStorage",e.SessionStorage="sessionStorage",e.MemoryStorage="memoryStorage",e))(Js||{});class ok{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=iae.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 Zbe extends ok{static get Instance(){return this.instance||(this.instance=new this({type:"localStorage"}))}}class eTe extends ok{static get Instance(){return this.instance||(this.instance=new this({type:"sessionStorage"}))}}class tTe extends ok{static get Instance(){return this.instance||(this.instance=new this({type:"memoryStorage"}))}}const da=Zbe.Instance,gy=eTe.Instance,TK=tTe.Instance;class rTe extends Ho{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 WW&&t.set(n,{silent:!0}),t instanceof ul&&!(t instanceof WW)&&t.set(n,{silent:!0}),t}get(t,r={},n={}){const{update:i=!1}=n,a=this.viewObjects[t];if(a&&i)return this.updateViewModel(a,r);if(a)return a;const o=this.getLocalData(t,n);return this.set(t,r,o,n)}set(t,r={},n,i){const{ctor:a,storage:o}=i,u=this.mergeData(r,n),s=a?new a(u):new ul(u);return this.viewObjects[t]=s,o&&!n?(this.setLocalData(t,s,null,i),this.setupChangeListeners(t,s,i)):o&&n&&this.setupChangeListeners(t,s,i),s}clear(t){const r=this.viewObjects[t];return r?(this.stopListening(r),r.trigger("destroy"),delete this.viewObjects[t],!0):!1}getLocalData(t,r){const{storage:n}=r;return n?this.getStorageHelper(n.type).get(t):void 0}setLocalData(t,r,n,i){const{storage:a}=i;if(!a||a&&!a.persistProps)return;typeof a.persistProps=="string"&&(a.persistProps=[a.persistProps]);let o;r instanceof ul&&(o=r.pick(a.persistProps)),this.getStorageHelper(a.type).set(t,o)}setupChangeListeners(t,r,n){const{storage:i}=n;!i||i&&!i.persistProps||(typeof i.persistProps=="string"&&(i.persistProps=[i.persistProps]),tt.each(i.persistProps,a=>{this.listenTo(r,`change:${a}`,tt.partial(this.setLocalData,t,tt,tt,n))}))}mergeData(t,r){if(!r)return t;if(tt.isObject(t)&&tt.isObject(r))return tt.extend(t,r);vr.throw(new On("defaultValues and existingData are not of the same datatype and cannot be merged"))}getStorageHelper(t){switch(t){case Js.LocalStorage:return da;case Js.SessionStorage:return gy}}}const aae=rTe.Instance,gi={debounce(e,t,r){return Nne(e,t,r)},throttle(e,t,r){return kne(e,t,r)},isFunction(e){return on(e)},useIdentity(){return k_},memoize(e,t){return Pne(e,t)}},nTe="application:options";var $d=(e=>(e.Inlet="event:inlet",e.Outlet="event:outlet",e))($d||{});const oae={ANALYTICS:"global:analytics"};var sk=(e=>(e.Analytics="AnalyticsService",e.Context="ContextService",e.PageView="PageViewService",e.ProfileApiClient="ProfileApiClient",e))(sk||{});class iTe extends Ho{constructor(t){super(),this.clients={},this.enrichers={},aae.get(nTe).set(t??{})}get name(){return sk.Analytics}registerTransport(t,r){return this.transport=new t(r),this.bindTransportListeners(),this}bindTransportListeners(){this.listenTo(oae.ANALYTICS,$d.Inlet,this.onEvent)}registerClient(t,r){return this.validateConstructor(t),this.clients[t.prototype.name]=t.prototype.name,this.transport.subscribe(new t(r)),this}registerEnricher(t,r){this.validateConstructor(t);const n=new t(r);return this.enrichers[n.name]=n,this.registerMiddleware(Ku(n.enrich,n)),this}hasEnricher(t){return!!this.enrichers[t.prototype.name]}onEvent(t){this.executeMiddleware(t,r=>{this.transport.publish(r)})}validateConstructor(t){const r=t.prototype.name;r||vr.throw(new On(`Classes registered with ${this.name} must have a unique name property.`));const n=i=>gi.isFunction(t.prototype.isType)&&t.prototype.isType(i);(n("BaseAnalyticsClient")||r==="CollectionApiClient")&&this.clients[r]&&vr.throw(new On(`A client class with the name: ${r} has already been registered with ${this.name}`)),n("BaseAnalyticsEnricher")&&this.enrichers[r]&&vr.throw(new On(`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 sae="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";function RK(e,t,r,n){let i,a,o;const u=t||[0],s=(r=r||0)>>>3,c=n===-1?3:0;for(i=0;i<e.length;i+=1)o=i+s,a=o>>>2,u.length<=a&&u.push(0),u[a]|=e[i]<<8*(c+n*(o%4));return{value:u,binLen:8*e.length+r}}function DC(e,t,r){switch(t){case"UTF8":case"UTF16BE":case"UTF16LE":break;default:throw new Error("encoding must be UTF8, UTF16BE, or UTF16LE")}switch(e){case"HEX":return function(n,i,a){return(function(o,u,s,c){let d,h,v,g;if(o.length%2!=0)throw new Error("String of HEX type must be in byte increments");const m=u||[0],y=(s=s||0)>>>3,S=c===-1?3:0;for(d=0;d<o.length;d+=2){if(h=parseInt(o.substr(d,2),16),isNaN(h))throw new Error("String of HEX type contains invalid characters");for(g=(d>>>1)+y,v=g>>>2;m.length<=v;)m.push(0);m[v]|=h<<8*(S+c*(g%4))}return{value:m,binLen:4*o.length+s}})(n,i,a,r)};case"TEXT":return function(n,i,a){return(function(o,u,s,c,d){let h,v,g,m,y,S,w,b,A=0;const R=s||[0],x=(c=c||0)>>>3;if(u==="UTF8")for(w=d===-1?3:0,g=0;g<o.length;g+=1)for(h=o.charCodeAt(g),v=[],128>h?v.push(h):2048>h?(v.push(192|h>>>6),v.push(128|63&h)):55296>h||57344<=h?v.push(224|h>>>12,128|h>>>6&63,128|63&h):(g+=1,h=65536+((1023&h)<<10|1023&o.charCodeAt(g)),v.push(240|h>>>18,128|h>>>12&63,128|h>>>6&63,128|63&h)),m=0;m<v.length;m+=1){for(S=A+x,y=S>>>2;R.length<=y;)R.push(0);R[y]|=v[m]<<8*(w+d*(S%4)),A+=1}else for(w=d===-1?2:0,b=u==="UTF16LE"&&d!==1||u!=="UTF16LE"&&d===1,g=0;g<o.length;g+=1){for(h=o.charCodeAt(g),b===!0&&(m=255&h,h=m<<8|h>>>8),S=A+x,y=S>>>2;R.length<=y;)R.push(0);R[y]|=h<<8*(w+d*(S%4)),A+=2}return{value:R,binLen:8*A+c}})(n,t,i,a,r)};case"B64":return function(n,i,a){return(function(o,u,s,c){let d,h,v,g,m,y,S,w=0;const b=u||[0],A=(s=s||0)>>>3,R=c===-1?3:0,x=o.indexOf("=");if(o.search(/^[a-zA-Z0-9=+/]+$/)===-1)throw new Error("Invalid character in base-64 string");if(o=o.replace(/=/g,""),x!==-1&&x<o.length)throw new Error("Invalid '=' found in base-64 string");for(h=0;h<o.length;h+=4){for(m=o.substr(h,4),g=0,v=0;v<m.length;v+=1)d=sae.indexOf(m.charAt(v)),g|=d<<18-6*v;for(v=0;v<m.length-1;v+=1){for(S=w+A,y=S>>>2;b.length<=y;)b.push(0);b[y]|=(g>>>16-8*v&255)<<8*(R+c*(S%4)),w+=1}}return{value:b,binLen:8*w+s}})(n,i,a,r)};case"BYTES":return function(n,i,a){return(function(o,u,s,c){let d,h,v,g;const m=u||[0],y=(s=s||0)>>>3,S=c===-1?3:0;for(h=0;h<o.length;h+=1)d=o.charCodeAt(h),g=h+y,v=g>>>2,m.length<=v&&m.push(0),m[v]|=d<<8*(S+c*(g%4));return{value:m,binLen:8*o.length+s}})(n,i,a,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(n,i,a){return(function(o,u,s,c){return RK(new Uint8Array(o),u,s,c)})(n,i,a,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(n,i,a){return RK(n,i,a,r)};default:throw new Error("format must be HEX, TEXT, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function xK(e,t,r,n){switch(e){case"HEX":return function(i){return(function(a,o,u,s){let c,d,h="";const v=o/8,g=u===-1?3:0;for(c=0;c<v;c+=1)d=a[c>>>2]>>>8*(g+u*(c%4)),h+="0123456789abcdef".charAt(d>>>4&15)+"0123456789abcdef".charAt(15&d);return s.outputUpper?h.toUpperCase():h})(i,t,r,n)};case"B64":return function(i){return(function(a,o,u,s){let c,d,h,v,g,m="";const y=o/8,S=u===-1?3:0;for(c=0;c<y;c+=3)for(v=c+1<y?a[c+1>>>2]:0,g=c+2<y?a[c+2>>>2]:0,h=(a[c>>>2]>>>8*(S+u*(c%4))&255)<<16|(v>>>8*(S+u*((c+1)%4))&255)<<8|g>>>8*(S+u*((c+2)%4))&255,d=0;d<4;d+=1)m+=8*c+6*d<=o?sae.charAt(h>>>6*(3-d)&63):s.b64Pad;return m})(i,t,r,n)};case"BYTES":return function(i){return(function(a,o,u){let s,c,d="";const h=o/8,v=u===-1?3:0;for(s=0;s<h;s+=1)c=a[s>>>2]>>>8*(v+u*(s%4))&255,d+=String.fromCharCode(c);return d})(i,t,r)};case"ARRAYBUFFER":try{new ArrayBuffer(0)}catch{throw new Error("ARRAYBUFFER not supported by this environment")}return function(i){return(function(a,o,u){let s;const c=o/8,d=new ArrayBuffer(c),h=new Uint8Array(d),v=u===-1?3:0;for(s=0;s<c;s+=1)h[s]=a[s>>>2]>>>8*(v+u*(s%4))&255;return d})(i,t,r)};case"UINT8ARRAY":try{new Uint8Array(0)}catch{throw new Error("UINT8ARRAY not supported by this environment")}return function(i){return(function(a,o,u){let s;const c=o/8,d=u===-1?3:0,h=new Uint8Array(c);for(s=0;s<c;s+=1)h[s]=a[s>>>2]>>>8*(d+u*(s%4))&255;return h})(i,t,r)};default:throw new Error("format must be HEX, B64, BYTES, ARRAYBUFFER, or UINT8ARRAY")}}function CK(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 pd(e,t){return e<<t|e>>>32-t}function AK(e,t,r){return e^t^r}function aTe(e,t,r){return e&t^e&r^t&r}function av(e,t){const r=(65535&e)+(65535&t);return(65535&(e>>>16)+(t>>>16)+(r>>>16))<<16|65535&r}function em(e,t,r,n,i){const a=(65535&e)+(65535&t)+(65535&r)+(65535&n)+(65535&i);return(65535&(e>>>16)+(t>>>16)+(r>>>16)+(n>>>16)+(i>>>16)+(a>>>16))<<16|65535&a}function oTe(e){return[1732584193,4023233417,2562383102,271733878,3285377520]}function uae(e,t){let r,n,i,a,o,u,s;const c=[];for(r=t[0],n=t[1],i=t[2],a=t[3],o=t[4],s=0;s<80;s+=1)c[s]=s<16?e[s]:pd(c[s-3]^c[s-8]^c[s-14]^c[s-16],1),u=s<20?em(pd(r,5),(d=n)&i^~d&a,o,1518500249,c[s]):s<40?em(pd(r,5),AK(n,i,a),o,1859775393,c[s]):s<60?em(pd(r,5),aTe(n,i,a),o,2400959708,c[s]):em(pd(r,5),AK(n,i,a),o,3395469782,c[s]),o=a,a=i,i=pd(n,30),n=r,r=u;var d;return t[0]=av(r,t[0]),t[1]=av(n,t[1]),t[2]=av(i,t[2]),t[3]=av(a,t[3]),t[4]=av(o,t[4]),t}function sTe(e,t,r,n){let i;const a=15+(t+65>>>9<<4),o=t+r;for(;e.length<=a;)e.push(0);for(e[t>>>5]|=128<<24-t%32,e[a]=4294967295&o,e[a-1]=o/4294967296|0,i=0;i<e.length;i+=16)n=uae(e.slice(i,i+16),n);return n}class uTe extends class{constructor(t,r,n){const i=n||{};if(this.t=r,this.i=i.encoding||"UTF8",this.numRounds=i.numRounds||1,isNaN(this.numRounds)||this.numRounds!==parseInt(this.numRounds,10)||1>this.numRounds)throw new Error("numRounds must a integer >= 1");this.s=t,this.o=[],this.h=0,this.u=!1,this.l=0,this.A=!1,this.p=[],this.R=[]}update(t){let r,n=0;const i=this.U>>>5,a=this.T(t,this.o,this.h),o=a.binLen,u=a.value,s=o>>>5;for(r=0;r<s;r+=i)n+this.U<=o&&(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=o%this.U,this.u=!0}getHash(t,r){let n,i,a=this.g;const o=CK(r);if(this.B){if(o.outputLen===-1)throw new Error("Output length must be specified in options");a=o.outputLen}const u=xK(t,a,this.v,o);if(this.A&&this.Y)return u(this.Y(o));for(i=this.H(this.o.slice(),this.h,this.l,this.C(this.F),a),n=1;n<this.numRounds;n+=1)this.B&&a%32!=0&&(i[i.length-1]&=16777215>>>24-a%32),i=this.H(i,a,0,this.I(this.s),a);return 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=DC(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=CK(r);return xK(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=DC(this.t,this.i,this.v),this.m=uae,this.C=function(a){return a.slice()},this.I=oTe,this.H=sTe,this.F=[1732584193,4023233417,2562383102,271733878,3285377520],this.U=512,this.g=160,this.B=!1,i.hmacKey&&this.M((function(a,o,u,s){const c=a+" must include a value and format";if(!o)throw new Error(c);if(o.value===void 0||!o.format)throw new Error(c);return DC(o.format,o.encoding||"UTF8",u)(o.value)})("hmacKey",i.hmacKey,this.v))}}var el=(e=>(e.CvApSoutheast1="cv-ap-southeast-1",e.CvApSoutheast2="cv-ap-southeast-2",e.CvEuWest1="cv-eu-west-1",e.CvNaWest1="cv-na-west-1",e))(el||{});const lTe={systemName:el.CvApSoutheast1},cTe={systemName:el.CvApSoutheast2},fTe={systemName:el.CvEuWest1},dTe={systemName:el.CvNaWest1},hTe={CvApSoutheast1:lTe,CvApSoutheast2:cTe,CvEuWest1:fTe,CvNaWest1:dTe};var lae=(e=>(e.Staff="Staff",e.Learner="Learner",e.Unknown="Unknown",e.System="System",e))(lae||{});const OK="r",Z_="cv:r",e0="cv:r:e",tm="referrer",IK="cv:originalReferrer",kI=28800,PK=["internalReferrer"],cae={getDecodedAttributionData(){const e=da.cacheGet(Z_);if(e&&Object.keys(e).length>0)return e;const t=DK();return t==null?void 0:t.decoded},getEncodedAttributionData(){const e=da.cacheGet(e0);return e!=null&&e.length?e:DK().encoded},getProfileId(){const e=cae.getDecodedAttributionData();return(e==null?void 0:e.profileId)??null}};function DK(){const e=da.cacheGet(Z_),t=da.cacheGet(e0);return uk(e)?{encoded:t,decoded:e}:vTe()}function vTe(){da.cacheRemove(Z_),da.cacheRemove(e0);const e=gTe(),t=mTe(e);if(t)return kK(e,t),{decoded:t,encoded:e};const r={internalReferrer:window.location.origin+window.location.pathname,originalReferrer:pTe()},n=yTe(r);return kK(n,r),{decoded:r,encoded:n}}function uk(e){return!e||typeof e!="object"||Object.keys(e).length<PK.length?!1:PK.every(t=>typeof e[t]=="string")}function pTe(){const e=da.cacheGet(IK);if(e&&typeof e=="string")return e;let t=document.referrer??"";if(window.URLSearchParams){const r=new URLSearchParams(window.location.search),n=r.has(tm)&&r.get(tm);r.has(tm)&&r.get(tm)&&(t=n)}return t&&da.cacheSet(IK,t,kI),t}function gTe(){if(!window.URLSearchParams)return;const e=new URLSearchParams(window.location.search);if(e.has(OK))return e.get(OK)}function mTe(e){if(e)try{const t=atob(e),r=JSON.parse(t);if(!uk(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 yTe(e){if(uk(e))try{return btoa(JSON.stringify(e))}catch{console.error(`R value could not be encoded: ${JSON.stringify(e)}`)}}function kK(e,t){try{da.cacheSet(Z_,t,kI),da.cacheSet(e0,e,kI)}catch{console.error("Could not store attribution data in session storage")}}const NK=3,_Te=5e3,STe=6,kC={};class ETe{constructor(t){this.key=t.toString()}getCount(){return kC[this.key]||0}increment(){kC[this.key]=this.getCount()+1}reset(){delete kC[this.key]}shouldBreak(){return this.getCount()>=STe}}class wTe{constructor(){this.attempt=0}async wait(){await new Promise(t=>setTimeout(t,_Te*Math.pow(2,this.attempt))),this.attempt++}}async function bTe(e,t){const r=new wTe,n=new ETe(e);async function i(){const a=await fetch(e,t);if(a.status>=500&&!n.shouldBreak())throw new Error(`Server error: ${a.status}`);return a.ok&&n.reset(),a}for(let a=1;a<=NK;a++)try{return await i()}catch(o){if(a>=NK||n.shouldBreak())throw o;n.increment(),await r.wait()}}var rm,TTe=new Uint8Array(16);function RTe(){if(!rm&&(rm=typeof crypto<"u"&&crypto.getRandomValues&&crypto.getRandomValues.bind(crypto)||typeof msCrypto<"u"&&typeof msCrypto.getRandomValues=="function"&&msCrypto.getRandomValues.bind(msCrypto),!rm))throw new Error("crypto.getRandomValues() not supported. See https://github.com/uuidjs/uuid#getrandomvalues-not-supported");return rm(TTe)}const xTe=/^(?:[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 lk(e){return typeof e=="string"&&xTe.test(e)}var Ia=[];for(var NC=0;NC<256;++NC)Ia.push((NC+256).toString(16).substr(1));function CTe(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:0,r=(Ia[e[t+0]]+Ia[e[t+1]]+Ia[e[t+2]]+Ia[e[t+3]]+"-"+Ia[e[t+4]]+Ia[e[t+5]]+"-"+Ia[e[t+6]]+Ia[e[t+7]]+"-"+Ia[e[t+8]]+Ia[e[t+9]]+"-"+Ia[e[t+10]]+Ia[e[t+11]]+Ia[e[t+12]]+Ia[e[t+13]]+Ia[e[t+14]]+Ia[e[t+15]]).toLowerCase();if(!lk(r))throw TypeError("Stringified UUID is invalid");return r}function ATe(e,t,r){e=e||{};var n=e.random||(e.rng||RTe)();return n[6]=n[6]&15|64,n[8]=n[8]&63|128,CTe(n)}function OTe(e){if(!lk(e))throw TypeError("Invalid UUID");return parseInt(e.substr(14,1),16)}const LK="cv:session:",MK="cv:window:",ITe=new Date(864e13).getTime(),$K=18e5,PTe=4;function fae(e){if(e===Js.LocalStorage)return da.isAvailable()?da:TK;if(e===Js.SessionStorage)return gy.isAvailable()?gy:TK}function FK(e){return e===!1?ITe:new Date().getTime()+e}function DTe(){return ATe()}function kTe(e){return e?new Date().getTime()>e:!1}function NTe(e){return!(typeof e!="object"||typeof(e==null?void 0:e.id)!="string"||!lk(e.id)||OTe(e.id)!==PTe||typeof(e==null?void 0:e.ttl)!="number"||(e==null?void 0:e.ttl)<=0||isNaN(e==null?void 0:e.ttl))}function jK(e,t,r){const n=fae(r);if(!(n!=null&&n.isAvailable()))return;const i=e+(t||"0");n.remove(i)}function UK(e,t,r,n){const i=fae(r),a=e+(t||"0"),o=i.get(a);if(!NTe(o)||kTe(o==null?void 0:o.ttl)){const s={id:DTe(),ttl:FK(n)};return i.set(a,s),s.id}const u={id:o.id,ttl:FK(n)};return i.set(a,u),o.id}let LC=!1;const qK={getClientSessionData(e){const t=UK(LK,e,Js.LocalStorage,$K),r=UK(MK,e,Js.SessionStorage,LC?!1:$K);return!t&&!r?null:{id:t,windowId:r}},resetClientSession(e){jK(LK,e,Js.LocalStorage),jK(MK,e,Js.SessionStorage)},lockWindowSession(){LC=!0},unlockWindowSession(){LC=!1}},Yc={isObject(e){const t=typeof e;return t==="function"||t==="object"&&!!e},isFunction(e){return typeof e=="function"}},NI={safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r}},cn={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/^(?!.*Edge).*Chrome/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i},Ju="Unknown";function gd(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Ju),{name:e,version:i}}function kc(e,t,r){if(!t)return{name:e,version:Ju};const n=t.exec(r),i=n&&n.length?n[0].trim():Ju;return{name:e,version:i}}function LTe(e,t){const r={name:e,version:null};return cn.win2000.test(t)&&(r.version="2000"),cn.winXP.test(t)&&(r.version="XP"),cn.winVista.test(t)&&(r.version="Vista"),cn.win7.test(t)&&(r.version="7"),cn.win8.test(t)&&(r.version="8"),cn.win81.test(t)&&(r.version="8.1"),cn.win10.test(t)&&(r.version="10"),r.version||(r.version=Ju),r}const VK={getDeviceType(){const e=window.navigator.userAgent;return cn.mobileDevice.test(e)?cn.iphone.test(e)?"iPhone":cn.ipad.test(e)?"iPad":cn.android.test(e)?"Android":cn.blackberry.test(e)?"Blackberry":cn.windowsPhone.test(e)?"Windows Phone":Ju:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return cn.android.test(e)?kc("Android",cn.androidVersion,e):cn.iphone.test(e)||cn.ipad.test(e)?kc("iOS",cn.iosVersion,e):cn.linux.test(e)?kc("Linux",null,e):cn.unix.test(e)?kc("Unix",null,e):cn.mac.test(e)?kc("Macintosh",cn.osxVersion,e):cn.windows.test(e)?LTe("Windows",e):cn.blackberry.test(e)?kc("BlackBerry",cn.blackberryVersion,e):cn.windowsPhone.test(e)?kc("Windows Phone",cn.windowsPhoneVersion,e):{name:Ju,version:Ju}},getBrowser(){const e=window.navigator.userAgent;return cn.chrome.test(e)?gd("Chrome",cn.generalVersion,e):cn.firefox.test(e)?gd("Firefox",cn.generalVersion,e):cn.safari.test(e)?gd("Safari",cn.generalVersion,e):cn.ie.test(e)?gd("Internet Explorer",cn.ieVersion,e):cn.edge.test(e)?gd("Edge",cn.edgeVersion,e):cn.opera.test(e)?gd("Opera",cn.operaVersion,e):{name:Ju,version:Ju}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)}},MTe=28800,BK="cv:utmparams",LI=[["source","utm_source"],["medium","utm_medium"],["campaign","utm_campaign"],["term","utm_term"],["content","utm_content"]],$Te=LI.reduce((e,[t])=>({...e,[t]:t}),{}),dae={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 LI.forEach(r),HK(t)},setUtmParameters(e){if(!e)return null;const t={},r=n=>{$Te[n]&&(t[n]=e[n])};return Object.keys(e).forEach(r),HK(t)},getURLSearchParams(){if(!window.URLSearchParams)return null;const e=new URLSearchParams,t=dae.getUtmParameters();return t?(LI.forEach(([r,n])=>{t[r]&&e.set(n,t[r])}),e):null}};function HK(e){if(Object.keys(e).length)return da.cacheSet(BK,e,MTe),e;const t=da.cacheGet(BK);return t&&typeof t=="object"&&Object.keys(t).length?t:null}const FTe="2.3.0",jTe={version:FTe},UTe="zXJL9nOHxzDlMUDjiP41",zK="unknown";class qTe{constructor(t){this.options=t,this.initialize()}initialize(){this.validateOptions(),this.options.logUtmParameters&&(this.utmParameters=dae.getUtmParameters()),this.options.logAttributionData&&(this.attributionData=cae.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(!Yc.isFunction(this.options.getUser))throw new Error("getUser option is required.")}shouldLog(t){return Yc.isFunction(this.options.shouldLog)?this.options.shouldLog(t):!0}async postData(t){const r=await this.getRegionalUrl(this.options.collectionApiUrls),n=JSON.stringify(t),i={"Content-Type":"application/json",...this.getSignatureHeader(n)};let a=NI.safeUrlConcat(r,"/v1/ingest");Array.isArray(t)&&(a=NI.safeUrlConcat(a,"/bulk"));try{const o=await bTe(a,{method:"POST",mode:"cors",headers:i,body:n});o.ok||this.logError(new Error(`CollectionApiClient failed to log event. Status: ${o.status} ${o.statusText}`),!1,this.getResponseAsObject(o))}catch(o){this.logError(o)}}getResponseAsObject(t){return{headers:t.headers,ok:t.ok,redirected:t.redirected,status:t.status,statusText:t.statusText,type:t.type,url:t.url,body:t.text()}}getSignatureHeader(t){const r=new uTe("SHA-1","TEXT",{hmacKey:{value:UTe,format:"TEXT",encoding:"UTF8"}});return r.update(t),{"cv-analytics-signature":`${this.options.collectionApiClientId}.${r.getHash("B64")}`}}async getRegionalUrl(t){switch((await this.getRegion()).systemName){case el.CvEuWest1:return t.cvEuWest1;case el.CvApSoutheast2:return t.cvApSoutheast2;case el.CvNaWest1:return t.cvNaWest1;case el.CvApSoutheast1:default:return t.cvApSoutheast1}}validateEvent(t){typeof t.type!="string"&&this.logError(new Error("Event type is required."),!0),Yc.isObject(t.actionContext)||this.logError(new Error("Event actionContext is required."),!0),t.actionContext.entity||this.logError(new Error("Event actionContext entity is required."),!0)}async formatData(t){return{type:t.type,data:await this.getEventData(t),metadata:this.getEventMetadata(t)}}async getEventData(t){const r=t.actionContext,n=this.getPlatformMetadata(),i=await this.getUserData(),a=await this.getSessionData(),o={name:this.options.productName,version:this.options.productVersion};this.options.productVariant&&(o.variant=this.options.productVariant);const u={user:i,action:r,platform:n,product:o,session:a};this.utmParameters&&(u.utm=this.utmParameters);const s=this.extractData(t),c=Object.keys(u).map(h=>h.toLowerCase()),d=Object.keys(s).map(h=>h.toLowerCase());return c.forEach(h=>{d.includes(h)&&this.logError(new Error(`${h} is a reserved key.`),!0)}),{...u,...s}}extractData(t){return Yc.isFunction(this.options.formatData)?this.options.formatData(t):{[t.actionContext.entity]:t.data}}async getUserData(){var r,n,i;let t;try{t=await((n=(r=this.options).getProfileId)==null?void 0:n.call(r))}catch(a){this.logError(a)}try{const a=await this.options.getUser();return a!=null&&a.id?{id:a.id,role:((i=a.role)==null?void 0:i.toLowerCase())||zK,userGroup:(a.userGroup??lae.Unknown).toLowerCase(),yearGroup:this.normalizeYearGroup(a.yearGroup),profileId:t,customer:{id:a.customerId,name:a.customerName,customerGuid:a.customerGuid,crmId:a.crmId,country:a.countryCode,region:await this.getRegion(),openCustomer:!1,accessPolicy:a.accessPolicy}}:t?{profileId:t}:void 0}catch(a){this.logError(a)}}async getRegion(){let t=this.options.regionName;try{const r=await this.options.getUser();r!=null&&r.instanceRegion&&(t=r.instanceRegion)}catch(r){this.logError(r)}return t||this.logError(new Error("RegionName is not set."),!0),this.getRegionByName(t.toLowerCase())}async getSessionData(){try{const t=await this.options.getUser();return{...qK.getClientSessionData(t==null?void 0:t.id),authSessionId:t==null?void 0:t.sessionId}}catch(t){return console.error(t),qK.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:VK.getBrowser(),os:VK.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:jTe.version,region:this.getRegionByName(this.options.regionName)},timestamp:new Date().toISOString(),eventVersion:t.eventVersion}}getRegionByName(t){let r;return Object.values(hTe).forEach(n=>{n.systemName===t&&(r=n)}),r}normalizeYearGroup(t){return t?t.toLowerCase().split(" ").join("_"):zK}logError(t,r,...n){if(this.options.logError&&this.options.logError(t,...n),r)throw t}}const jy=class jy extends Ho{constructor(t){super(t)}shouldLog(t){return!0}log(t){}isType(t){return t===jy.type}};jy.type="BaseAnalyticsClient";let MI=jy;class VTe extends MI{get name(){return"DebuggerClient"}shouldLog(){return V_.isDevelopment}log(t){const r=wne(t);for(const n in t){const i=r[n];(i instanceof ul||i instanceof q_)&&(r[n]=i.toJSON())}console.log("Event Debugger: ",r)}}const an={mobileDevice:/Mobi/i,iphone:/iphone/i,ipad:/ipad/i,android:/android/i,blackberry:/blackberry/i,windowsPhone:/windows phone/i,iosVersion:/OS\s+([\d_.-:]+)\s/i,androidVersion:/android\s+([\d_.-\/]+)[\s;:,\)]/i,blackberryVersion:/(blackberry|version)\s?\d*\/([\d.]+)/i,windowsPhoneVersion:/windows\sphone.*?([\d_.-\/]+)[\s;:,\)]/i,mac:/Mac/i,unix:/X11/i,linux:/Linux/i,windows:/Win/i,win2000:/nt 5.0/i,winXP:/nt 5.1/i,winVista:/nt 6.0/i,win7:/nt 6.1/i,win8:/nt 6.2/i,win81:/nt 6.3/i,win10:/nt 10.0/i,osxVersion:/OS\sX\s([\d_.]+)/i,chrome:/(^(?!.*Edge).*Chrome)|(CriOS)/i,safari:/^(?!.*(?:Chrome|Edge)).*Safari/i,edge:/edge/i,ie:/(msie|trident)/i,opera:/(opr|opera)/i,firefox:/firefox/i,generalVersion:/(chrome|firefox|version)\/(\d+.*?)(\s|$)/i,operaVersion:/(opr|opera)\/(\d+).*?(\s|$)/i,ieVersion:/MSIE\s+(\d+).*?/i,edgeVersion:/(edge)\/(\d+).*?(\s|$)/i,tablet:/(tablet|ipad|playbook|silk)|(android(?!.*mobi))/i,mobile:/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Kindle|Silk-Accelerated|(hpw|web)OS|Opera M(obi|ini)/},Zu="Unknown";function md(e,t,r){const n=t.exec(r)||[];let[i]=n;return i||(i=Zu),{browser:e,version:i}}function Nc(e,t,r){if(!t)return{os:e,version:Zu};const n=t.exec(r),i=n&&n.length?n[0].trim():Zu;return{os:e,version:i}}function BTe(e,t){const r={os:e};return an.win2000.test(t)&&(r.version="2000"),an.winXP.test(t)&&(r.version="XP"),an.winVista.test(t)&&(r.version="Vista"),an.win7.test(t)&&(r.version="7"),an.win8.test(t)&&(r.version="8"),an.win81.test(t)&&(r.version="8.1"),an.win10.test(t)&&(r.version="10"),r.version||(r.version=Zu),r}const Nv={getDeviceType(){const e=window.navigator.userAgent;return an.mobileDevice.test(e)?an.iphone.test(e)?"iPhone":an.ipad.test(e)?"iPad":an.android.test(e)?"Android":an.blackberry.test(e)?"Blackberry":an.windowsPhone.test(e)?"Windows Phone":Zu:"Desktop"},getOperatingSystem(){const e=window.navigator.userAgent;return an.android.test(e)?Nc("Android",an.androidVersion,e):an.iphone.test(e)||an.ipad.test(e)||navigator.platform==="MacIntel"&&navigator.maxTouchPoints>1?Nc("iOS",an.iosVersion,e):an.linux.test(e)?Nc("Linux",null,e):an.unix.test(e)?Nc("Unix",null,e):an.mac.test(e)?Nc("Macintosh",an.osxVersion,e):an.windows.test(e)?BTe("Windows",e):an.blackberry.test(e)?Nc("BlackBerry",an.blackberryVersion,e):an.windowsPhone.test(e)?Nc("Windows Phone",an.windowsPhoneVersion,e):{os:Zu,version:Zu}},getBrowser(){const e=window.navigator.userAgent;return an.chrome.test(e)?md("Chrome",an.generalVersion,e):an.firefox.test(e)?md("Firefox",an.generalVersion,e):an.safari.test(e)?md("Safari",an.generalVersion,e):an.ie.test(e)?md("Internet Explorer",an.ieVersion,e):an.edge.test(e)?md("Edge",an.edgeVersion,e):an.opera.test(e)?md("Opera",an.operaVersion,e):{browser:Zu,version:Zu}},isTouchScreen(){return!!("ontouchstart"in window||navigator.maxTouchPoints)},isTabletOrMobile(){return Nv.isTouchScreen()?an.tablet.test(navigator.userAgent)||an.mobile.test(navigator.userAgent):!1},isAndroid(){return Nv.getOperatingSystem().os==="Android"},isIOS(){return Nv.getOperatingSystem().os==="iOS"}};var km={exports:{}},HTe=km.exports,WK;function zTe(){return WK||(WK=1,(function(e,t){(function(r,n){e.exports=n()})(HTe,(function(){var r=1e3,n=6e4,i=36e5,a="millisecond",o="second",u="minute",s="hour",c="day",d="week",h="month",v="quarter",g="year",m="date",y="Invalid Date",S=/^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/,w=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,b={name:"en",weekdays:"Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"),months:"January_February_March_April_May_June_July_August_September_October_November_December".split("_"),ordinal:function(Q){var K=["th","st","nd","rd"],ee=Q%100;return"["+Q+(K[(ee-20)%10]||K[ee]||K[0])+"]"}},A=function(Q,K,ee){var ne=String(Q);return!ne||ne.length>=K?Q:""+Array(K+1-ne.length).join(ee)+Q},R={s:A,z:function(Q){var K=-Q.utcOffset(),ee=Math.abs(K),ne=Math.floor(ee/60),D=ee%60;return(K<=0?"+":"-")+A(ne,2,"0")+":"+A(D,2,"0")},m:function Q(K,ee){if(K.date()<ee.date())return-Q(ee,K);var ne=12*(ee.year()-K.year())+(ee.month()-K.month()),D=K.clone().add(ne,h),I=ee-D<0,L=K.clone().add(ne+(I?-1:1),h);return+(-(ne+(ee-D)/(I?D-L:L-D))||0)},a:function(Q){return Q<0?Math.ceil(Q)||0:Math.floor(Q)},p:function(Q){return{M:h,y:g,w:d,d:c,D:m,h:s,m:u,s:o,ms:a,Q:v}[Q]||String(Q||"").toLowerCase().replace(/s$/,"")},u:function(Q){return Q===void 0}},x="en",O={};O[x]=b;var _="$isDayjsObject",P=function(Q){return Q instanceof B||!(!Q||!Q[_])},N=function Q(K,ee,ne){var D;if(!K)return x;if(typeof K=="string"){var I=K.toLowerCase();O[I]&&(D=I),ee&&(O[I]=ee,D=I);var L=K.split("-");if(!D&&L.length>1)return Q(L[0])}else{var re=K.name;O[re]=K,D=re}return!ne&&D&&(x=D),D||!ne&&x},U=function(Q,K){if(P(Q))return Q.clone();var ee=typeof K=="object"?K:{};return ee.date=Q,ee.args=arguments,new B(ee)},$=R;$.l=N,$.i=P,$.w=function(Q,K){return U(Q,{locale:K.$L,utc:K.$u,x:K.$x,$offset:K.$offset})};var B=(function(){function Q(ee){this.$L=N(ee.locale,null,!0),this.parse(ee),this.$x=this.$x||ee.x||{},this[_]=!0}var K=Q.prototype;return K.parse=function(ee){this.$d=(function(ne){var D=ne.date,I=ne.utc;if(D===null)return new Date(NaN);if($.u(D))return new Date;if(D instanceof Date)return new Date(D);if(typeof D=="string"&&!/Z$/i.test(D)){var L=D.match(S);if(L){var re=L[2]-1||0,te=(L[7]||"0").substring(0,3);return I?new Date(Date.UTC(L[1],re,L[3]||1,L[4]||0,L[5]||0,L[6]||0,te)):new Date(L[1],re,L[3]||1,L[4]||0,L[5]||0,L[6]||0,te)}}return new Date(D)})(ee),this.init()},K.init=function(){var ee=this.$d;this.$y=ee.getFullYear(),this.$M=ee.getMonth(),this.$D=ee.getDate(),this.$W=ee.getDay(),this.$H=ee.getHours(),this.$m=ee.getMinutes(),this.$s=ee.getSeconds(),this.$ms=ee.getMilliseconds()},K.$utils=function(){return $},K.isValid=function(){return this.$d.toString()!==y},K.isSame=function(ee,ne){var D=U(ee);return this.startOf(ne)<=D&&D<=this.endOf(ne)},K.isAfter=function(ee,ne){return U(ee)<this.startOf(ne)},K.isBefore=function(ee,ne){return this.endOf(ne)<U(ee)},K.$g=function(ee,ne,D){return $.u(ee)?this[ne]:this.set(D,ee)},K.unix=function(){return Math.floor(this.valueOf()/1e3)},K.valueOf=function(){return this.$d.getTime()},K.startOf=function(ee,ne){var D=this,I=!!$.u(ne)||ne,L=$.p(ee),re=function(q,H){var ie=$.w(D.$u?Date.UTC(D.$y,H,q):new Date(D.$y,H,q),D);return I?ie:ie.endOf(c)},te=function(q,H){return $.w(D.toDate()[q].apply(D.toDate("s"),(I?[0,0,0,0]:[23,59,59,999]).slice(H)),D)},ce=this.$W,be=this.$M,Ie=this.$D,je="set"+(this.$u?"UTC":"");switch(L){case g:return I?re(1,0):re(31,11);case h:return I?re(1,be):re(0,be+1);case d:var z=this.$locale().weekStart||0,k=(ce<z?ce+7:ce)-z;return re(I?Ie-k:Ie+(6-k),be);case c:case m:return te(je+"Hours",0);case s:return te(je+"Minutes",1);case u:return te(je+"Seconds",2);case o:return te(je+"Milliseconds",3);default:return this.clone()}},K.endOf=function(ee){return this.startOf(ee,!1)},K.$set=function(ee,ne){var D,I=$.p(ee),L="set"+(this.$u?"UTC":""),re=(D={},D[c]=L+"Date",D[m]=L+"Date",D[h]=L+"Month",D[g]=L+"FullYear",D[s]=L+"Hours",D[u]=L+"Minutes",D[o]=L+"Seconds",D[a]=L+"Milliseconds",D)[I],te=I===c?this.$D+(ne-this.$W):ne;if(I===h||I===g){var ce=this.clone().set(m,1);ce.$d[re](te),ce.init(),this.$d=ce.set(m,Math.min(this.$D,ce.daysInMonth())).$d}else re&&this.$d[re](te);return this.init(),this},K.set=function(ee,ne){return this.clone().$set(ee,ne)},K.get=function(ee){return this[$.p(ee)]()},K.add=function(ee,ne){var D,I=this;ee=Number(ee);var L=$.p(ne),re=function(be){var Ie=U(I);return $.w(Ie.date(Ie.date()+Math.round(be*ee)),I)};if(L===h)return this.set(h,this.$M+ee);if(L===g)return this.set(g,this.$y+ee);if(L===c)return re(1);if(L===d)return re(7);var te=(D={},D[u]=n,D[s]=i,D[o]=r,D)[L]||1,ce=this.$d.getTime()+ee*te;return $.w(ce,this)},K.subtract=function(ee,ne){return this.add(-1*ee,ne)},K.format=function(ee){var ne=this,D=this.$locale();if(!this.isValid())return D.invalidDate||y;var I=ee||"YYYY-MM-DDTHH:mm:ssZ",L=$.z(this),re=this.$H,te=this.$m,ce=this.$M,be=D.weekdays,Ie=D.months,je=D.meridiem,z=function(H,ie,V,Z){return H&&(H[ie]||H(ne,I))||V[ie].slice(0,Z)},k=function(H){return $.s(re%12||12,H,"0")},q=je||function(H,ie,V){var Z=H<12?"AM":"PM";return V?Z.toLowerCase():Z};return I.replace(w,(function(H,ie){return ie||(function(V){switch(V){case"YY":return String(ne.$y).slice(-2);case"YYYY":return $.s(ne.$y,4,"0");case"M":return ce+1;case"MM":return $.s(ce+1,2,"0");case"MMM":return z(D.monthsShort,ce,Ie,3);case"MMMM":return z(Ie,ce);case"D":return ne.$D;case"DD":return $.s(ne.$D,2,"0");case"d":return String(ne.$W);case"dd":return z(D.weekdaysMin,ne.$W,be,2);case"ddd":return z(D.weekdaysShort,ne.$W,be,3);case"dddd":return be[ne.$W];case"H":return String(re);case"HH":return $.s(re,2,"0");case"h":return k(1);case"hh":return k(2);case"a":return q(re,te,!0);case"A":return q(re,te,!1);case"m":return String(te);case"mm":return $.s(te,2,"0");case"s":return String(ne.$s);case"ss":return $.s(ne.$s,2,"0");case"SSS":return $.s(ne.$ms,3,"0");case"Z":return L}return null})(H)||L.replace(":","")}))},K.utcOffset=function(){return 15*-Math.round(this.$d.getTimezoneOffset()/15)},K.diff=function(ee,ne,D){var I,L=this,re=$.p(ne),te=U(ee),ce=(te.utcOffset()-this.utcOffset())*n,be=this-te,Ie=function(){return $.m(L,te)};switch(re){case g:I=Ie()/12;break;case h:I=Ie();break;case v:I=Ie()/3;break;case d:I=(be-ce)/6048e5;break;case c:I=(be-ce)/864e5;break;case s:I=be/i;break;case u:I=be/n;break;case o:I=be/r;break;default:I=be}return D?I:$.a(I)},K.daysInMonth=function(){return this.endOf(h).$D},K.$locale=function(){return O[this.$L]},K.locale=function(ee,ne){if(!ee)return this.$L;var D=this.clone(),I=N(ee,ne,!0);return I&&(D.$L=I),D},K.clone=function(){return $.w(this.$d,this)},K.toDate=function(){return new Date(this.valueOf())},K.toJSON=function(){return this.isValid()?this.toISOString():null},K.toISOString=function(){return this.$d.toISOString()},K.toString=function(){return this.$d.toUTCString()},Q})(),Y=B.prototype;return U.prototype=Y,[["$ms",a],["$s",o],["$m",u],["$H",s],["$W",c],["$M",h],["$y",g],["$D",m]].forEach((function(Q){Y[Q[1]]=function(K){return this.$g(K,Q[0],Q[1])}})),U.extend=function(Q,K){return Q.$i||(Q(K,B,U),Q.$i=!0),U},U.locale=N,U.isDayjs=P,U.unix=function(Q){return U(1e3*Q)},U.en=O[x],U.Ls=O,U.p={},U}))})(km)),km.exports}var WTe=zTe();const fr=jn(WTe);var Nm={exports:{}},GTe=Nm.exports,GK;function YTe(){return GK||(GK=1,(function(e,t){(function(r,n){e.exports=n()})(GTe,(function(){return function(r,n){var i=n.prototype,a=i.format;i.format=function(o){var u=this,s=this.$locale();if(!this.isValid())return a.bind(this)(o);var c=this.$utils(),d=(o||"YYYY-MM-DDTHH:mm:ssZ").replace(/\[([^\]]+)]|Q|wo|ww|w|WW|W|zzz|z|gggg|GGGG|Do|X|x|k{1,2}|S/g,(function(h){switch(h){case"Q":return Math.ceil((u.$M+1)/3);case"Do":return s.ordinal(u.$D);case"gggg":return u.weekYear();case"GGGG":return u.isoWeekYear();case"wo":return s.ordinal(u.week(),"W");case"w":case"ww":return c.s(u.week(),h==="w"?1:2,"0");case"W":case"WW":return c.s(u.isoWeek(),h==="W"?1:2,"0");case"k":case"kk":return c.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 a.bind(this)(d)}}}))})(Nm)),Nm.exports}var KTe=YTe();const XTe=jn(KTe);var Lm={exports:{}},QTe=Lm.exports,YK;function JTe(){return YK||(YK=1,(function(e,t){(function(r,n){e.exports=n()})(QTe,(function(){var r={LTS:"h:mm:ss A",LT:"h:mm A",L:"MM/DD/YYYY",LL:"MMMM D, YYYY",LLL:"MMMM D, YYYY h:mm A",LLLL:"dddd, MMMM D, YYYY h:mm A"},n=/(\[[^[]*\])|([-_:/.,()\s]+)|(A|a|YYYY|YY?|MM?M?M?|Do|DD?|hh?|HH?|mm?|ss?|S{1,3}|z|ZZ?)/g,i=/\d\d/,a=/\d\d?/,o=/\d*[^-_:/,()\s\d]+/,u={},s=function(y){return(y=+y)+(y>68?1900:2e3)},c=function(y){return function(S){this[y]=+S}},d=[/[+-]\d\d:?(\d\d)?|Z/,function(y){(this.zone||(this.zone={})).offset=(function(S){if(!S||S==="Z")return 0;var w=S.match(/([+-]|\d\d)/g),b=60*w[1]+(+w[2]||0);return b===0?0:w[0]==="+"?-b:b})(y)}],h=function(y){var S=u[y];return S&&(S.indexOf?S:S.s.concat(S.f))},v=function(y,S){var w,b=u.meridiem;if(b){for(var A=1;A<=24;A+=1)if(y.indexOf(b(A,0,S))>-1){w=A>12;break}}else w=y===(S?"pm":"PM");return w},g={A:[o,function(y){this.afternoon=v(y,!1)}],a:[o,function(y){this.afternoon=v(y,!0)}],S:[/\d/,function(y){this.milliseconds=100*+y}],SS:[i,function(y){this.milliseconds=10*+y}],SSS:[/\d{3}/,function(y){this.milliseconds=+y}],s:[a,c("seconds")],ss:[a,c("seconds")],m:[a,c("minutes")],mm:[a,c("minutes")],H:[a,c("hours")],h:[a,c("hours")],HH:[a,c("hours")],hh:[a,c("hours")],D:[a,c("day")],DD:[i,c("day")],Do:[o,function(y){var S=u.ordinal,w=y.match(/\d+/);if(this.day=w[0],S)for(var b=1;b<=31;b+=1)S(b).replace(/\[|\]/g,"")===y&&(this.day=b)}],M:[a,c("month")],MM:[i,c("month")],MMM:[o,function(y){var S=h("months"),w=(h("monthsShort")||S.map((function(b){return b.slice(0,3)}))).indexOf(y)+1;if(w<1)throw new Error;this.month=w%12||w}],MMMM:[o,function(y){var S=h("months").indexOf(y)+1;if(S<1)throw new Error;this.month=S%12||S}],Y:[/[+-]?\d+/,c("year")],YY:[i,function(y){this.year=s(y)}],YYYY:[/\d{4}/,c("year")],Z:d,ZZ:d};function m(y){var S,w;S=y,w=u&&u.formats;for(var b=(y=S.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g,(function(N,U,$){var B=$&&$.toUpperCase();return U||w[$]||r[$]||w[B].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(Y,Q,K){return Q||K.slice(1)}))}))).match(n),A=b.length,R=0;R<A;R+=1){var x=b[R],O=g[x],_=O&&O[0],P=O&&O[1];b[R]=P?{regex:_,parser:P}:x.replace(/^\[|\]$/g,"")}return function(N){for(var U={},$=0,B=0;$<A;$+=1){var Y=b[$];if(typeof Y=="string")B+=Y.length;else{var Q=Y.regex,K=Y.parser,ee=N.slice(B),ne=Q.exec(ee)[0];K.call(U,ne),N=N.replace(ne,"")}}return(function(D){var I=D.afternoon;if(I!==void 0){var L=D.hours;I?L<12&&(D.hours+=12):L===12&&(D.hours=0),delete D.afternoon}})(U),U}}return function(y,S,w){w.p.customParseFormat=!0,y&&y.parseTwoDigitYear&&(s=y.parseTwoDigitYear);var b=S.prototype,A=b.parse;b.parse=function(R){var x=R.date,O=R.utc,_=R.args;this.$u=O;var P=_[1];if(typeof P=="string"){var N=_[2]===!0,U=_[3]===!0,$=N||U,B=_[2];U&&(B=_[2]),u=this.$locale(),!N&&B&&(u=w.Ls[B]),this.$d=(function(ee,ne,D){try{if(["x","X"].indexOf(ne)>-1)return new Date((ne==="X"?1e3:1)*ee);var I=m(ne)(ee),L=I.year,re=I.month,te=I.day,ce=I.hours,be=I.minutes,Ie=I.seconds,je=I.milliseconds,z=I.zone,k=new Date,q=te||(L||re?1:k.getDate()),H=L||k.getFullYear(),ie=0;L&&!re||(ie=re>0?re-1:k.getMonth());var V=ce||0,Z=be||0,me=Ie||0,fe=je||0;return z?new Date(Date.UTC(H,ie,q,V,Z,me,fe+60*z.offset*1e3)):D?new Date(Date.UTC(H,ie,q,V,Z,me,fe)):new Date(H,ie,q,V,Z,me,fe)}catch{return new Date("")}})(x,P,O),this.init(),B&&B!==!0&&(this.$L=this.locale(B).$L),$&&x!=this.format(P)&&(this.$d=new Date("")),u={}}else if(P instanceof Array)for(var Y=P.length,Q=1;Q<=Y;Q+=1){_[1]=P[Q-1];var K=w.apply(this,_);if(K.isValid()){this.$d=K.$d,this.$L=K.$L,this.init();break}Q===Y&&(this.$d=new Date(""))}else A.call(this,R)}}}))})(Lm)),Lm.exports}var ZTe=JTe();const hae=jn(ZTe);var Mm={exports:{}},eRe=Mm.exports,KK;function tRe(){return KK||(KK=1,(function(e,t){(function(r,n){e.exports=n()})(eRe,(function(){var r,n,i=1e3,a=6e4,o=36e5,u=864e5,s=/\[([^\]]+)]|Y{1,4}|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g,c=31536e6,d=2628e6,h=/^(-|\+)?P(?:([-+]?[0-9,.]*)Y)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)W)?(?:([-+]?[0-9,.]*)D)?(?:T(?:([-+]?[0-9,.]*)H)?(?:([-+]?[0-9,.]*)M)?(?:([-+]?[0-9,.]*)S)?)?$/,v={years:c,months:d,days:u,hours:o,minutes:a,seconds:i,milliseconds:1,weeks:6048e5},g=function(O){return O instanceof R},m=function(O,_,P){return new R(O,P,_.$l)},y=function(O){return n.p(O)+"s"},S=function(O){return O<0},w=function(O){return S(O)?Math.ceil(O):Math.floor(O)},b=function(O){return Math.abs(O)},A=function(O,_){return O?S(O)?{negative:!0,format:""+b(O)+_}:{negative:!1,format:""+O+_}:{negative:!1,format:""}},R=(function(){function O(P,N,U){var $=this;if(this.$d={},this.$l=U,P===void 0&&(this.$ms=0,this.parseFromMilliseconds()),N)return m(P*v[y(N)],this);if(typeof P=="number")return this.$ms=P,this.parseFromMilliseconds(),this;if(typeof P=="object")return Object.keys(P).forEach((function(Q){$.$d[y(Q)]=P[Q]})),this.calMilliseconds(),this;if(typeof P=="string"){var B=P.match(h);if(B){var Y=B.slice(2).map((function(Q){return Q!=null?Number(Q):0}));return this.$d.years=Y[0],this.$d.months=Y[1],this.$d.weeks=Y[2],this.$d.days=Y[3],this.$d.hours=Y[4],this.$d.minutes=Y[5],this.$d.seconds=Y[6],this.calMilliseconds(),this}}return this}var _=O.prototype;return _.calMilliseconds=function(){var P=this;this.$ms=Object.keys(this.$d).reduce((function(N,U){return N+(P.$d[U]||0)*v[U]}),0)},_.parseFromMilliseconds=function(){var P=this.$ms;this.$d.years=w(P/c),P%=c,this.$d.months=w(P/d),P%=d,this.$d.days=w(P/u),P%=u,this.$d.hours=w(P/o),P%=o,this.$d.minutes=w(P/a),P%=a,this.$d.seconds=w(P/i),P%=i,this.$d.milliseconds=P},_.toISOString=function(){var P=A(this.$d.years,"Y"),N=A(this.$d.months,"M"),U=+this.$d.days||0;this.$d.weeks&&(U+=7*this.$d.weeks);var $=A(U,"D"),B=A(this.$d.hours,"H"),Y=A(this.$d.minutes,"M"),Q=this.$d.seconds||0;this.$d.milliseconds&&(Q+=this.$d.milliseconds/1e3,Q=Math.round(1e3*Q)/1e3);var K=A(Q,"S"),ee=P.negative||N.negative||$.negative||B.negative||Y.negative||K.negative,ne=B.format||Y.format||K.format?"T":"",D=(ee?"-":"")+"P"+P.format+N.format+$.format+ne+B.format+Y.format+K.format;return D==="P"||D==="-P"?"P0D":D},_.toJSON=function(){return this.toISOString()},_.format=function(P){var N=P||"YYYY-MM-DDTHH:mm:ss",U={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 N.replace(s,(function($,B){return B||String(U[$])}))},_.as=function(P){return this.$ms/v[y(P)]},_.get=function(P){var N=this.$ms,U=y(P);return U==="milliseconds"?N%=1e3:N=U==="weeks"?w(N/v[U]):this.$d[U],N||0},_.add=function(P,N,U){var $;return $=N?P*v[y(N)]:g(P)?P.$ms:m(P,this).$ms,m(this.$ms+$*(U?-1:1),this)},_.subtract=function(P,N){return this.add(P,N,!0)},_.locale=function(P){var N=this.clone();return N.$l=P,N},_.clone=function(){return m(this.$ms,this)},_.humanize=function(P){return r().add(this.$ms,"ms").locale(this.$l).fromNow(!P)},_.valueOf=function(){return this.asMilliseconds()},_.milliseconds=function(){return this.get("milliseconds")},_.asMilliseconds=function(){return this.as("milliseconds")},_.seconds=function(){return this.get("seconds")},_.asSeconds=function(){return this.as("seconds")},_.minutes=function(){return this.get("minutes")},_.asMinutes=function(){return this.as("minutes")},_.hours=function(){return this.get("hours")},_.asHours=function(){return this.as("hours")},_.days=function(){return this.get("days")},_.asDays=function(){return this.as("days")},_.weeks=function(){return this.get("weeks")},_.asWeeks=function(){return this.as("weeks")},_.months=function(){return this.get("months")},_.asMonths=function(){return this.as("months")},_.years=function(){return this.get("years")},_.asYears=function(){return this.as("years")},O})(),x=function(O,_,P){return O.add(_.years()*P,"y").add(_.months()*P,"M").add(_.days()*P,"d").add(_.hours()*P,"h").add(_.minutes()*P,"m").add(_.seconds()*P,"s").add(_.milliseconds()*P,"ms")};return function(O,_,P){r=P,n=P().$utils(),P.duration=function($,B){var Y=P.locale();return m($,{$l:Y},B)},P.isDuration=g;var N=_.prototype.add,U=_.prototype.subtract;_.prototype.add=function($,B){return g($)?x(this,$,1):N.bind(this)($,B)},_.prototype.subtract=function($,B){return g($)?x(this,$,-1):U.bind(this)($,B)}}}))})(Mm)),Mm.exports}var rRe=tRe();const nRe=jn(rRe);var $m={exports:{}},iRe=$m.exports,XK;function aRe(){return XK||(XK=1,(function(e,t){(function(r,n){e.exports=n()})(iRe,(function(){return function(r,n,i){n.prototype.isBetween=function(a,o,u,s){var c=i(a),d=i(o),h=(s=s||"()")[0]==="(",v=s[1]===")";return(h?this.isAfter(c,u):!this.isBefore(c,u))&&(v?this.isBefore(d,u):!this.isAfter(d,u))||(h?this.isBefore(c,u):!this.isAfter(c,u))&&(v?this.isAfter(d,u):!this.isBefore(d,u))}}}))})($m)),$m.exports}var oRe=aRe();const sRe=jn(oRe);var Fm={exports:{}},uRe=Fm.exports,QK;function lRe(){return QK||(QK=1,(function(e,t){(function(r,n){e.exports=n()})(uRe,(function(){return function(r,n){n.prototype.isSameOrAfter=function(i,a){return this.isSame(i,a)||this.isAfter(i,a)}}}))})(Fm)),Fm.exports}var cRe=lRe();const fRe=jn(cRe);var jm={exports:{}},dRe=jm.exports,JK;function hRe(){return JK||(JK=1,(function(e,t){(function(r,n){e.exports=n()})(dRe,(function(){return function(r,n){n.prototype.isSameOrBefore=function(i,a){return this.isSame(i,a)||this.isBefore(i,a)}}}))})(jm)),jm.exports}var vRe=hRe();const pRe=jn(vRe);var Um={exports:{}},gRe=Um.exports,ZK;function mRe(){return ZK||(ZK=1,(function(e,t){(function(r,n){e.exports=n()})(gRe,(function(){return function(r,n,i){var a=n.prototype,o=function(h){return h&&(h.indexOf?h:h.s)},u=function(h,v,g,m,y){var S=h.name?h:h.$locale(),w=o(S[v]),b=o(S[g]),A=w||b.map((function(x){return x.slice(0,m)}));if(!y)return A;var R=S.weekStart;return A.map((function(x,O){return A[(O+(R||0))%7]}))},s=function(){return i.Ls[i.locale()]},c=function(h,v){return h.formats[v]||(function(g){return g.replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g,(function(m,y,S){return y||S.slice(1)}))})(h.formats[v.toUpperCase()])},d=function(){var h=this;return{months:function(v){return v?v.format("MMMM"):u(h,"months")},monthsShort:function(v){return v?v.format("MMM"):u(h,"monthsShort","months",3)},firstDayOfWeek:function(){return h.$locale().weekStart||0},weekdays:function(v){return v?v.format("dddd"):u(h,"weekdays")},weekdaysMin:function(v){return v?v.format("dd"):u(h,"weekdaysMin","weekdays",2)},weekdaysShort:function(v){return v?v.format("ddd"):u(h,"weekdaysShort","weekdays",3)},longDateFormat:function(v){return c(h.$locale(),v)},meridiem:this.$locale().meridiem,ordinal:this.$locale().ordinal}};a.localeData=function(){return d.bind(this)()},i.localeData=function(){var h=s();return{firstDayOfWeek:function(){return h.weekStart||0},weekdays:function(){return i.weekdays()},weekdaysShort:function(){return i.weekdaysShort()},weekdaysMin:function(){return i.weekdaysMin()},months:function(){return i.months()},monthsShort:function(){return i.monthsShort()},longDateFormat:function(v){return c(h,v)},meridiem:h.meridiem,ordinal:h.ordinal}},i.months=function(){return u(s(),"months")},i.monthsShort=function(){return u(s(),"monthsShort","months",3)},i.weekdays=function(h){return u(s(),"weekdays",null,null,h)},i.weekdaysShort=function(h){return u(s(),"weekdaysShort","weekdays",3,h)},i.weekdaysMin=function(h){return u(s(),"weekdaysMin","weekdays",2,h)}}}))})(Um)),Um.exports}var yRe=mRe();const _Re=jn(yRe);var qm={exports:{}},SRe=qm.exports,eX;function ERe(){return eX||(eX=1,(function(e,t){(function(r,n){e.exports=n()})(SRe,(function(){return function(r,n,i){r=r||{};var a=n.prototype,o={future:"in %s",past:"%s ago",s:"a few seconds",m:"a minute",mm:"%d minutes",h:"an hour",hh:"%d hours",d:"a day",dd:"%d days",M:"a month",MM:"%d months",y:"a year",yy:"%d years"};function u(c,d,h,v){return a.fromToBase(c,d,h,v)}i.en.relativeTime=o,a.fromToBase=function(c,d,h,v,g){for(var m,y,S,w=h.$locale().relativeTime||o,b=r.thresholds||[{l:"s",r:44,d:"second"},{l:"m",r:89},{l:"mm",r:44,d:"minute"},{l:"h",r:89},{l:"hh",r:21,d:"hour"},{l:"d",r:35},{l:"dd",r:25,d:"day"},{l:"M",r:45},{l:"MM",r:10,d:"month"},{l:"y",r:17},{l:"yy",d:"year"}],A=b.length,R=0;R<A;R+=1){var x=b[R];x.d&&(m=v?i(c).diff(h,x.d,!0):h.diff(c,x.d,!0));var O=(r.rounding||Math.round)(Math.abs(m));if(S=m>0,O<=x.r||!x.r){O<=1&&R>0&&(x=b[R-1]);var _=w[x.l];g&&(O=g(""+O)),y=typeof _=="string"?_.replace("%d",O):_(O,d,x.l,S);break}}if(d)return y;var P=S?w.future:w.past;return typeof P=="function"?P(y):P.replace("%s",y)},a.to=function(c,d){return u(c,d,this,!0)},a.from=function(c,d){return u(c,d,this)};var s=function(c){return c.$u?i.utc():i()};a.toNow=function(c){return this.to(s(this),c)},a.fromNow=function(c){return this.from(s(this),c)}}}))})(qm)),qm.exports}var wRe=ERe();const bRe=jn(wRe);var Vm={exports:{}},TRe=Vm.exports,tX;function RRe(){return tX||(tX=1,(function(e,t){(function(r,n){e.exports=n()})(TRe,(function(){var r={year:0,month:1,day:2,hour:3,minute:4,second:5},n={};return function(i,a,o){var u,s=function(v,g,m){m===void 0&&(m={});var y=new Date(v),S=(function(w,b){b===void 0&&(b={});var A=b.timeZoneName||"short",R=w+"|"+A,x=n[R];return x||(x=new Intl.DateTimeFormat("en-US",{hour12:!1,timeZone:w,year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:A}),n[R]=x),x})(g,m);return S.formatToParts(y)},c=function(v,g){for(var m=s(v,g),y=[],S=0;S<m.length;S+=1){var w=m[S],b=w.type,A=w.value,R=r[b];R>=0&&(y[R]=parseInt(A,10))}var x=y[3],O=x===24?0:x,_=y[0]+"-"+y[1]+"-"+y[2]+" "+O+":"+y[4]+":"+y[5]+":000",P=+v;return(o.utc(_).valueOf()-(P-=P%1e3))/6e4},d=a.prototype;d.tz=function(v,g){v===void 0&&(v=u);var m=this.utcOffset(),y=this.toDate(),S=y.toLocaleString("en-US",{timeZone:v}),w=Math.round((y-new Date(S))/1e3/60),b=o(S,{locale:this.$L}).$set("millisecond",this.$ms).utcOffset(15*-Math.round(y.getTimezoneOffset()/15)-w,!0);if(g){var A=b.utcOffset();b=b.add(m-A,"minute")}return b.$x.$timezone=v,b},d.offsetName=function(v){var g=this.$x.$timezone||o.tz.guess(),m=s(this.valueOf(),g,{timeZoneName:v}).find((function(y){return y.type.toLowerCase()==="timezonename"}));return m&&m.value};var h=d.startOf;d.startOf=function(v,g){if(!this.$x||!this.$x.$timezone)return h.call(this,v,g);var m=o(this.format("YYYY-MM-DD HH:mm:ss:SSS"),{locale:this.$L});return h.call(m,v,g).tz(this.$x.$timezone,!0)},o.tz=function(v,g,m){var y=m&&g,S=m||g||u,w=c(+o(),S);if(typeof v!="string")return o(v).tz(S);var b=(function(O,_,P){var N=O-60*_*1e3,U=c(N,P);if(_===U)return[N,_];var $=c(N-=60*(U-_)*1e3,P);return U===$?[N,U]:[O-60*Math.min(U,$)*1e3,Math.max(U,$)]})(o.utc(v,y).valueOf(),w,S),A=b[0],R=b[1],x=o(A).utcOffset(R);return x.$x.$timezone=S,x},o.tz.guess=function(){return Intl.DateTimeFormat().resolvedOptions().timeZone},o.tz.setDefault=function(v){u=v}}}))})(Vm)),Vm.exports}var xRe=RRe();const CRe=jn(xRe);var Bm={exports:{}},ARe=Bm.exports,rX;function ORe(){return rX||(rX=1,(function(e,t){(function(r,n){e.exports=n()})(ARe,(function(){var r="minute",n=/[+-]\d\d(?::?\d\d)?/g,i=/([+-]|\d\d)/g;return function(a,o,u){var s=o.prototype;u.utc=function(y){var S={date:y,utc:!0,args:arguments};return new o(S)},s.utc=function(y){var S=u(this.toDate(),{locale:this.$L,utc:!0});return y?S.add(this.utcOffset(),r):S},s.local=function(){return u(this.toDate(),{locale:this.$L,utc:!1})};var c=s.parse;s.parse=function(y){y.utc&&(this.$u=!0),this.$utils().u(y.$offset)||(this.$offset=y.$offset),c.call(this,y)};var d=s.init;s.init=function(){if(this.$u){var y=this.$d;this.$y=y.getUTCFullYear(),this.$M=y.getUTCMonth(),this.$D=y.getUTCDate(),this.$W=y.getUTCDay(),this.$H=y.getUTCHours(),this.$m=y.getUTCMinutes(),this.$s=y.getUTCSeconds(),this.$ms=y.getUTCMilliseconds()}else d.call(this)};var h=s.utcOffset;s.utcOffset=function(y,S){var w=this.$utils().u;if(w(y))return this.$u?0:w(this.$offset)?h.call(this):this.$offset;if(typeof y=="string"&&(y=(function(x){x===void 0&&(x="");var O=x.match(n);if(!O)return null;var _=(""+O[0]).match(i)||["-",0,0],P=_[0],N=60*+_[1]+ +_[2];return N===0?0:P==="+"?N:-N})(y),y===null))return this;var b=Math.abs(y)<=16?60*y:y,A=this;if(S)return A.$offset=b,A.$u=y===0,A;if(y!==0){var R=this.$u?this.toDate().getTimezoneOffset():-1*this.utcOffset();(A=this.local().add(b+R,r)).$offset=b,A.$x.$localOffset=R}else A=this.utc();return A};var v=s.format;s.format=function(y){var S=y||(this.$u?"YYYY-MM-DDTHH:mm:ss[Z]":"");return v.call(this,S)},s.valueOf=function(){var y=this.$utils().u(this.$offset)?0:this.$offset+(this.$x.$localOffset||this.$d.getTimezoneOffset());return this.$d.valueOf()-6e4*y},s.isUTC=function(){return!!this.$u},s.toISOString=function(){return this.toDate().toISOString()},s.toString=function(){return this.toDate().toUTCString()};var g=s.toDate;s.toDate=function(y){return y==="s"&&this.$offset?u(this.format("YYYY-MM-DD HH:mm:ss:SSS")).toDate():g.call(this)};var m=s.diff;s.diff=function(y,S,w){if(y&&this.$u===y.$u)return m.call(this,y,S,w);var b=this.local(),A=u(y).local();return m.call(b,A,S,w)}}}))})(Bm)),Bm.exports}var IRe=ORe();const PRe=jn(IRe);var Hm={exports:{}},DRe=Hm.exports,nX;function kRe(){return nX||(nX=1,(function(e,t){(function(r,n){e.exports=n()})(DRe,(function(){return function(r,n){n.prototype.weekday=function(i){var a=this.$locale().weekStart||0,o=this.$W,u=(o<a?o+7:o)-a;return this.$utils().u(i)?u:this.subtract(u,"day").add(i,"day")}}}))})(Hm)),Hm.exports}var NRe=kRe();const LRe=jn(NRe);let nm;const MRe={"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"}},vae={getCurrentRegion(){return nm},setCurrentRegion(e){nm=e},updateFormatByRegion(e){var r;return nm&&((r=MRe[e])==null?void 0:r[nm])||e}};fr.extend(XTe);fr.extend(hae);fr.extend(bRe);fr.extend(fRe);fr.extend(sRe);fr.extend(LRe);fr.extend(_Re);fr.extend(pRe);fr.extend(hae);fr.extend(nRe);fr.extend(PRe);fr.extend(CRe);const $Re=/[\[\]]/g;function FRe(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 Cn={add(e,t,r){return fr(e).add(t,r).toDate()},subtract(e,t,r){return fr(e).subtract(t,r).toDate()},format(e,t){return fr(e).format(vae.updateFormatByRegion(t))},formatToISODate(e){return fr(e).format("YYYY-MM-DD")},isValid(e){return fr(e).isValid()},formatIsValid(e,t,r){return fr(e,t,r).isValid()},fromNow(e,t){return fr(e).fromNow(!!t)},convertUTCToLocal(e){let t=e;typeof t=="string"&&(t=new Date(t));const r=t.getHours(),n=t.getMinutes(),i=t.getTimezoneOffset()>0,o=Math.abs(t.getTimezoneOffset())/60,u=Math.floor(o),s=Math.floor((o-u)*60);let c=r+u,d=n+s;return i&&(c=r-u,d=n-s),t.setHours(c),t.setMinutes(d),t},convertDateToUTC(e){return new Date(e.getUTCFullYear(),e.getUTCMonth(),e.getUTCDate(),e.getUTCHours(),e.getUTCMinutes(),e.getUTCSeconds())},isBefore(e,t,r){const n=fr(e);return r?n.isBefore(t,r):n.isBefore(t)},isAfter(e,t,r){const n=fr(e);return r?n.isAfter(t,r):n.isAfter(t)},isSame(e,t,r){return fr(e).isSame(fr(t),r)},isSameOrBefore(e,t,r){return fr(e).isSameOrBefore(fr(t),r)},isToday(e){return fr().isSame(fr(e),"day")},isBetween(e,t,r){return fr(e).isSameOrAfter(fr(t))&&fr(e).isSameOrBefore(fr(r))},timeSince(e,t,r){const n=fr(e);return fr().diff(n,t,r)},startOf(e,t){return fr(e).startOf(t).toDate()},endOf(e,t){return fr(e).endOf(t).toDate()},getTimezoneOffset(){const e=new Date().getTimezoneOffset();if(e===0)return"00:00:00";const t=Math.floor(Math.abs(e/60)),r=Math.abs(e%60),n=t<10?"0"+t:t.toString(),i=r<10?"0"+r:r.toString(),a=`${n}:${i}:00`;return e<0?a:`-${a}`},weekday(e,t){return fr(e).weekday(t).toDate()},getWeekday(e){return fr(e).weekday()},daysInMonth(e){return fr(e).daysInMonth()},get(e,t){return fr(e).get(t)},set(e,t,r){return fr(e).set(t,r).toDate()},diffBetween(e,t,r){return fr(e).diff(fr(t),r)},getLocalDateOrdinal(e){return fr.localeData().ordinal(e).replace($Re,"")},parseDateString(e,t){return e?fr(e,t).toDate():fr().toDate()},getDurationISOString(e,t){return fr.duration(e,t).toISOString()},convertISODuration(e,t){switch(t){case"milliseconds":return fr.duration(e).asMilliseconds();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertISODuration`);break}},convertDurationByUnit(e,t,r){switch(r){case"hours":return fr.duration(e,t).asHours()}},convertTimestampDuration(e,t){const r=FRe(e);switch(t){case"milliseconds":return fr.duration(r).asMilliseconds();case"seconds":return fr.duration(r).asSeconds();case"hours":return fr.duration(r).asHours();default:console.error(`Unsupported unit: ${t}, please added in the DateHelper.convertDurationByUnit`);break}},buildUTCDate(e,t,r){const n=fr().day(e).hour(t).minute(r).utc().toDate();return Cn.convertDateToUTC(n)},buildLocalDateFromUTC(e,t,r){return fr().utc().day(e).hour(t).minute(r).local().toDate()},getUtcISOString(e){return fr(e).utc().toISOString()},formatUtc(e,t){return fr(e).utc().format(t)},formatUtcString(e,t){return fr.utc(e).local().format(t)},getDurationComponentByUnit(e,t,r){switch(r){case"hours":return fr.duration(e,t).hours();case"minutes":return fr.duration(e,t).minutes();case"seconds":return fr.duration(e,t).seconds();default:console.error(`Unsupported unit: ${r}, please added in the DateHelper`);break}},getFirstDayInMonthNumMonthsAgo(e){return fr().startOf("month").subtract(e,"month").format("YYYY-MM-DD")},getLastDayInMonthNumMonthsAgo(e){return fr().endOf("month").subtract(e,"month").format("YYYY-MM-DD")},getUtcTimeByTimezone(e,t,r){return r?fr.utc(e).tz(r).format(t):fr.utc(e).format(t)},getUtcStringByTimezone(e,t){return fr.tz(e,t).utc().toISOString()}},Uy=class Uy extends Ho{enrich(t,r){}isType(t){return t===Uy.type}};Uy.type="BaseAnalyticsEnricher";let $I=Uy;class jRe extends $I{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 Cn.getUtcISOString()}getProductInfo(){return{name:this.productName,version:this.productVersion}}getRequestInfo(){return{referrer:Yn.GetCurrentReferrer(),requestUrl:Yn.GetCurrentUrl()}}getClientInfo(){const t=Nv.getOperatingSystem(),r=Nv.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 URe extends Pf{}class qRe extends URe{get name(){return"EventTransport"}get channelName(){return"event:transport"}publish(t){this.getChannel().trigger($d.Outlet,t)}subscribe(t){const r=t,n=i=>{gi.isFunction(r.shouldLog)&&!r.shouldLog(i)||t.log(i)};on(r.listenTo)?r.listenTo(this.getChannel(),$d.Outlet,n):this.listenTo(this.getChannel(),$d.Outlet,n)}}var Bt=(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))(Bt||{}),xn=(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))(xn||{}),ka=(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))(ka||{}),Zl=(e=>(e.Start="start",e.Complete="complete",e.Save="save",e.Discard="discard",e.Next="next",e.Back="back",e))(Zl||{}),FI=(e=>(e.Single="single",e.Bulk="bulk",e.All="all",e))(FI||{}),ck=(e=>(e.Content="content",e.Quality="quality",e.Duration="duration",e.Reset="reset",e.DateRange="date_range",e.Audience="audience",e))(ck||{}),VRe=(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))(VRe||{}),BRe=(e=>(e.Embedded="embedded",e))(BRe||{}),Fd=(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))(Fd||{}),HRe=(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))(HRe||{}),jI=(e=>(e.FileSelect="file_select",e.DragDrop="drag_drop",e))(jI||{}),zRe=(e=>(e.On="on",e.Off="off",e))(zRe||{}),WRe=(e=>(e.DirectShare="direct_share",e.CopyLink="copy_link",e.CopyEmbedHtml="copy_embed_html",e.PluginEmbed="plugin_embed",e))(WRe||{}),Zv=(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))(Zv||{}),GRe=(e=>(e.SearchTranscript="search_transcript",e.NextResult="next_result",e.PreviousResult="previous_result",e.ResetResults="reset_results",e))(GRe||{}),UI=(e=>(e.FileSelect="file-select",e.DragDrop="drag-drop",e))(UI||{}),Vl=(e=>(e.Video="videos",e.Clip="clips",e.Interactive="interactives",e.Folder="categories",e.Series="series",e.Tags="tags",e.Subjects="subjects",e))(Vl||{}),pae=(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))(pae||{});const Fi={passthrough(e){return e}},Er={allow:()=>!0,restrict:()=>!1},YRe={getShareData(e){var u,s,c,d;const{id:t,search:r,pagePositionIndex:n,shareId:i,shareType:a}=e,o={id:t,search:r,pagePositionIndex:n,shareId:i,shareType:a};return(u=e.video)!=null&&u.id&&(o.video={id:e.video.id}),(s=e.clip)!=null&&s.id&&(o.clip={id:e.clip.id},(c=e.clip.video)!=null&&c.id&&(o.video={id:(d=e.clip.video)==null?void 0:d.id})),e.shareCount!==void 0&&(o.shareCount=e.shareCount),e.embedDetails&&(o.embedDetails=o.embedDetails),o}},xd={getUploadData(e,t){const{entity:r}=t.actionContext;if(r===xn.Video)return xd.formatVideoUpload(e,t);if(r===xn.Resource||r===xn.Subtitle)return xd.formatResourceUpload(e);if(r===xn.Banner||r===xn.Thumbnail||r===xn.MixedMedia)return e;throw new Error("Upload data event not correctly formatted.")},formatVideoUpload(e,t){const{workflowPhase:r}=t.actionContext;if(r===Zl.Start)return xd.getStartVideoUploadData(e);if(r===Zl.Discard)return xd.getDiscardVideoUploadData(e);if(r===Zl.Complete)return xd.getCompleteUploadData(e)},getStartVideoUploadData(e){return!e||!e.length?[]:(e instanceof FileList&&(e=Array.from(e)),e.map(t=>({fileName:t.name,size:t.size,type:t.type,count:e.length})))},getDiscardVideoUploadData(e){const t=r=>{const{type:n,name:i,status:a,cvUpload:o}=r.file,u={fileName:i,count:Array.isArray(e)?e.length:1,type:n,status:a};return r.progress&&(u.progress=r.progress.toFixed(2)),o&&(u.uploadId=o.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:a}=t;return{fileName:r,libraryId:n,folderId:i,autoCaption:a,count:e.length}})},formatResourceUpload(e){const{id:t,name:r}=e,n={id:t,name:r};return Yc.isObject(e.metadata)&&(n.type=e.metadata.type),n}},KRe={[Bt.Navigate]:Er.restrict,[Bt.Click]:Er.allow,[Bt.Search]:Er.allow,[Bt.InstantSearch]:Er.allow,[Bt.Play]:Er.allow,[Bt.Stream]:Er.allow,[Bt.WebPlayerStream]:Er.allow,[Bt.StreamProgress]:Er.allow,[Bt.Rename]:Er.allow,[Bt.Move]:Er.allow,[Bt.Create]:Er.allow,[Bt.Delete]:Er.allow,[Bt.Associate]:Er.allow,[Bt.Dissociate]:Er.allow,[Bt.Filter]:Er.allow,[Bt.Sort]:Er.allow,[Bt.Approve]:Er.allow,[Bt.Reject]:Er.allow,[Bt.Disable]:Er.allow,[Bt.Upload]:Er.allow,[Bt.Download]:Er.allow,[Bt.SetAccess]:Er.allow,[Bt.AddToLocalCache]:Er.restrict,[Bt.Share]:Er.allow,[Bt.Unshare]:Er.allow,[Bt.Edit]:Er.allow,[Bt.Suggest]:Er.allow,[Bt.Favourite]:Er.allow,[Bt.WorkspaceAdd]:Er.allow,[Bt.ResolveWarning]:Er.allow,[Bt.DismissWarning]:Er.allow,[Bt.EditAssoc]:Er.allow,[Bt.Follow]:Er.allow,[Bt.Print]:Er.allow,[Bt.Copy]:Er.allow,[Bt.Activate]:Er.allow,[Bt.VerifyEmail]:Er.allow,[Bt.ChangePassword]:Er.allow,[Bt.Export]:Er.allow,[Bt.SendEmail]:Er.allow,[Bt.Publish]:Er.allow,[Bt.Submit]:Er.allow,[Bt.Complete]:Er.allow,[Bt.Archive]:Er.allow,[Bt.Promote]:Er.allow,[Bt.Demote]:Er.allow,[Bt.BulkAction]:Er.allow,[Bt.Remove]:Er.allow,[Bt.Dismiss]:Er.allow,[Bt.Open]:Er.allow,[Bt.Hide]:Er.allow,[Bt.PageView]:Er.allow,[Bt.Select]:Er.allow,[Bt.SwitchCustomer]:Er.allow,[Bt.Focus]:Er.allow,[Bt.Blur]:Er.allow,[Bt.Hover]:Er.allow,[Bt.Unhover]:Er.allow},XRe={[Bt.Search]:Fi.passthrough,[Bt.InstantSearch]:Fi.passthrough,[Bt.Play]:Fi.passthrough,[Bt.Stream]:Fi.passthrough,[Bt.StreamProgress]:Fi.passthrough,[Bt.Click]:Fi.passthrough,[Bt.Filter]:Fi.passthrough,[Bt.Sort]:Fi.passthrough,[Bt.SetAccess]:Fi.passthrough,[Bt.Approve]:Fi.passthrough,[Bt.Reject]:Fi.passthrough,[Bt.Create]:Fi.passthrough,[Bt.Delete]:Fi.passthrough,[Bt.Rename]:Fi.passthrough,[Bt.Move]:Fi.passthrough,[Bt.Edit]:Fi.passthrough,[Bt.Share]:YRe.getShareData,[Bt.Disable]:Fi.passthrough,[Bt.Suggest]:Fi.passthrough,[Bt.Upload]:xd.getUploadData,[Bt.ResolveWarning]:Fi.passthrough,[Bt.DismissWarning]:Fi.passthrough,[Bt.Follow]:Fi.passthrough,[Bt.Print]:Fi.passthrough,[Bt.Copy]:Fi.passthrough},iX={[Bt.Search]:()=>"search",[Bt.InstantSearch]:()=>"search",[Bt.Filter]:()=>"filter",[Bt.Stream]:()=>xn.Video},aX={user:"target_user",product:"target_product"},QRe={[Bt.StreamProgress]:!0,[Bt.WebPlayerStream]:!0},oX={shouldLog(e){return!!KRe[e.type](e)},formatData(e){const t=XRe[e.type],r=Yc.isFunction(t)?t(e.data,e):e.data;if(QRe[e.type])return r;let n=e.actionContext.entity;return Yc.isFunction(iX[e.type])&&(n=iX[e.type](e)),aX[n]&&(n=aX[n]),{[n]:r}}};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||{});const of={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"}}},Lv={get(e,t){var r;return(r=e==null?void 0:e[t])==null?void 0:r.value},getCustomerSettingsRequest(e,t){return e!=null&&e.isAuthenticated?wu.customerSettings(t==null?void 0:t.success,t==null?void 0:t.error):wu._publicCustomerSettings(t==null?void 0:t.success,t==null?void 0:t.error)},getUserSettingsRequest(e,t){return e!=null&&e.isAuthenticated?wu.userSettings(t==null?void 0:t.success,t==null?void 0:t.error):wu._publicUserSettings(t==null?void 0:t.success,t==null?void 0:t.error)},formatSettings(e){return e.reduce((t,r)=>(t[r.name]=r,t),{})}},sX=[{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 MC=()=>(vr.throw(new On("SettingRequests.setPublicFormatSettings must be called before using public requests in SettingRequests")),null);const wu={setPublicFormatSettings(e){e&&(MC=e)},organisationSettings(e,t,r){return{key:`settings:organisation:${e}`,url:`{gateway}/v1/organisations/${e}/settings`,normalizeOptions:{idAttribute:"name"},formatData:Lv.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=>Qa.first(n),success:t,error:r}},customerSettings(e,t){return{key:"customer:settings",url:"{gateway}/v1/customers/me/settings?(customerSettings)",normalizeOptions:{idAttribute:"name"},formatData:Lv.formatSettings,success:e,error:t}},_publicCustomerSettings(e,t){return{key:"customer:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:MC,success:e,error:t,successResponse:()=>sX}},_publicUserSettings(e,t){return{key:"user:settings",url:"simulated:/api/domain/v3/settings/public",normalizeOptions:{idAttribute:"name"},formatData:MC,success:e,error:t,successResponse:()=>sX}},userSetting(e,t,r){return{key:`settings:user:${e}`,url:`{gateway}/v1/customers/me/settings?type=${e}`,normalizeOptions:{idAttribute:"name"},formatData:n=>Qa.first(n),success:t,error:r}},userSettings(e,t){return{key:"user:settings",url:"{gateway}/v1/users/me/settings?(userSettings)",normalizeOptions:{idAttribute:"name"},formatData:Lv.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:pn.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:pn.PUT,formatData:()=>e,normalizeOptions:{idAttribute:"name"},success:t,error:r,always:n}}};var Id=(e=>(e.Unknown="Unknown",e.Staff="Staff",e.Learner="Learner",e.System="System",e))(Id||{});const JRe=/\/$/,fn={urlBuilder(e,t){const n=Object.entries(t).map(([i,a])=>i&&Array.isArray(a)?a.map(u=>`${i}=${encodeURIComponent(u)}`).join("&"):i&&a!==void 0&&a!==null?`${i}=${encodeURIComponent(a)}`:"").reduce((i,a)=>a?i?`${i}&${a}`:a:i,"");return n?`${e}?${n}`:e},buildFilter(e){const t=[];if(e.limit&&t.push(`limit:${e.limit}`),e.cursor&&t.push(`page:${e.cursor}`),e.before&&t.push(`dateCreated:...${e.before}`),!!t.length)return t.join(",")},makeHttps(e){return typeof e!="string"||e.indexOf("http://")===-1||(e=e.replace("http://","https://")),e},safeUrlConcat(e,t){if(!e)return;let r=e;return e.endsWith("/")||(r+="/"),t&&(r+=t.startsWith("/")?t.slice(1):t),r},removeTrailingSlash(e){if(typeof e=="string")return e.replace(JRe,"")}},gae={customer(e,t,r,n){return{url:fn.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:pn.PUT,data:t,success:r,error:n,invalidationKeys:["year:groups"]}}},ll={LOCALE:"locale",PHRASES:"phrases",TOKEN:"token",PERMISSIONS:"permissions",USER:"currentUser",PRODUCTS:"products"},Wi={currentUser(e,t){return{url:"/api/currentuser",key:"currentuser",normalizeOptions:{namespace:"currentuser"},bootstrapName:ll.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:fn.urlBuilder("{gateway}/v1/users",{id:e}),key:`users:list:${e.join(",")}`,success:t,error:r,formatData:n=>{const i=n.reduce((a,o)=>(a[o.id.toString()]=o,a),{});return e.map(a=>i[a.toString()])}}},getUserIdByQuery(e,t){return{url:`{gateway}/v1/users/ids?${e}`,key:`users:ids:${e}`,success:t}},workspace(e,t){return{url:"/api/domain/v2/me/workspace?query=categorytree",key:"workspace",success:e,error:t}},sendVerificationEmail(e,t,r,n){return{url:"api/account/email",key:"verify:email",type:pn.POST,data:{emailAddress:e},success:t,error:r,always:n,invalidationKeys:["verify:email:status"]}},token(e,t){return{url:"/api/token",key:"token",bootstrapName:ll.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:ll.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:pn.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=Qa.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}}},$C={"Academic Coach":"teacher","Assistant Head Teacher":"kdm","Consortium Leadership":"kdm","Curriculum Coordinator":"teacher","Curriculum Leader":"teacher","Deputy Head Teacher":"kdm","Deputy Principal":"kdm","Digital Technology Coordinator":"teacher","District Leadership":"kdm","e-Learning/ICT Coordinator":"teacher","Head of Department":"teacher","Head of Faculty":"teacher","Head of Key Stage":"teacher","Head of Subject":"teacher","Head Teacher":"kdm",IT:"kdm","IT/LRC":"kdm","e-Learning Coordinator":"kdm","Instructional Technology Specialist":"teacher","Librarian / Teacher Librarian":"teacher",Principal:"kdm","School Leadership":"kdm","Subject Lead":"teacher",Teacher:"teacher","SSO / SLSO":"teacher","Assistant Principal":"kdm","IT / IT Specialist":"kdm","Learning Support":"teacher","Learning Assistant":"teacher","Educational Assistant (EA)":"teacher","Learning Support Teacher / Resource Teacher":"teacher","Department Head / Manager":"teacher","Curriculum Coordinator / Consultant":"teacher","School Counsellor / Guidance Counsellor":"teacher","Vice-Principal":"kdm",Superintendent:"kdm","Director of Education":"kdm","Business Manager":"kdm",Professor:"kdm",Lecturer:"teacher","Course Coordinator / Administrator":"teacher","Digital Learning Manager":"teacher",Tutor:"teacher","Teaching Fellow":"teacher",Librarian:"teacher",Researcher:"teacher","Learning Technologist":"teacher","Teaching Assistant":"teacher"};var Xu=(e=>(e.Disabled="Disabled",e.Active="Active",e.Inactive="Inactive",e))(Xu||{}),Os=(e=>(e.Guest="Guest",e.User="User",e.Admin="Admin",e.SuperAdmin="SuperAdmin",e))(Os||{});const Yl={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 Yl.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=Id.Unknown;break;case 1:t=Id.Staff;break;case 2:t=Id.Learner;break;case 255:t=Id.System;break}return t},getUserStatus(e){let t=e.status;if(typeof t=="number")switch(t){case 0:t=Xu.Disabled;break;case 1:t=Xu.Active;break;case 2:t=Xu.Inactive;break}return t},getUserStatusFromValue(e){if(typeof e=="number")switch(e){case 0:e=Xu.Disabled;break;case 1:e=Xu.Active;break;case 2:e=Xu.Inactive;break}return e},getUserRole(e){var r,n;let t;if("userProfiles"in e&&((n=(r=e.userProfiles)==null?void 0:r.data)!=null&&n[0])&&(t=e.userProfiles.data[0].role),"userProfile"in e&&e.userProfile&&(t=e.userProfile.role),!t)return Os.User;if(typeof t=="number")switch(t){case 16:t=Os.Guest;break;case 32:t=Os.User;break;case 48:t=Os.Admin;break;case 64:t=Os.SuperAdmin;break}return t},getUserRoleFromValue(e){if(!e&&e!==0)return Os.User;if(typeof e=="number")switch(e){case 16:return Os.Guest;case 32:return Os.User;case 48:return Os.Admin;case 64:return Os.SuperAdmin;default:return Os.User}return e},getDisplayName(e){var t,r;return(t=e.metadata)!=null&&t.displayName?(r=e.metadata)==null?void 0:r.displayName:Yl.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?Qa.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 Yl.hasLegacySso(e)||Yl.hasNonLegacySso(e)},getPersonaFromJobTitle(e){if(!e)return"teacher";const t={};for(const n in $C)$C.hasOwnProperty(n)&&(t[n.toLowerCase()]=$C[n]);const r=t[e.toLowerCase()];return r||"teacher"},isKDM(e){return e?Yl.getPersonaFromJobTitle(e)==="kdm":!1},getValidYearGroups(e){return e?e.filter(t=>t.value!==0):[]}},ZRe="staff";async function exe(e){try{return await Xa(e.store,Wi.accessPolicy())}catch{return null}}const mae={async getUser(e){const t=await Xa(e.store,Wi.currentUser());if(!t.isAuthenticated)return null;const r=Xa(e.store,gae.customer(t.customerId)),n=Xa(e.store,Wi.user(t.id)),i=exe(e);return mae.mapCurrentUserToAnalyticsUser(t,await n,await r,await i)},mapCurrentUserToAnalyticsUser(e,t,r,n){var a;const i=Yl.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===Id.Staff?ZRe:(a=t==null?void 0:t.masterYearGroup)==null?void 0:a.name,accessPolicy:n==null?void 0:n.id}}},txe={logError(e,...t){var r;gi.isFunction(trackJs==null?void 0:trackJs.track)&&(t&&gi.isFunction((r=trackJs.console)==null?void 0:r.info)&&trackJs.console.info(...t),trackJs.track(e))}};async function rxe(e,t){const r=await Xa(e.store,of.config()),n=await Xa(e.store,of.version()),i=await Xa(e.store,wu.customerSettings()),a=new iTe;Qs.registerSingleton(a),a.registerTransport(qRe),a.registerClient(VTe),a.registerClient(qTe,{productName:"analytics.web",productVersion:n,productVariant:nxe(i),regionName:r.instanceRegion,collectionApiUrls:r.collectionApiUrls,collectionApiClientId:r.collectionApiClientId,getUser:()=>mae.getUser(e),shouldLog:oX.shouldLog,formatData:oX.formatData,logError:txe.logError}),a.registerEnricher(jRe,{productName:"ClickView Analytics",productVersion:n}),t(e)}function nxe(e){var t;return(t=e[br.HasShareFlowV2])!=null&&t.value?"admins-only":"admins-and-teachers"}var yae=(e=>(e.AU="cv-ap-southeast-1",e.NZ="cv-ap-southeast-2",e.UK="cv-eu-west-1",e.US="cv-na-west-1",e))(yae||{});const ixe={[yae.US]:"en-us"};var Na=(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))(Na||{}),FC,uX;function axe(){if(uX)return FC;uX=1;var e=Function.prototype.toString,t=typeof Reflect=="object"&&Reflect!==null&&Reflect.apply,r,n;if(typeof t=="function"&&typeof Object.defineProperty=="function")try{r=Object.defineProperty({},"length",{get:function(){throw n}}),n={},t(function(){throw 42},null,r)}catch(b){b!==n&&(t=null)}else t=null;var i=/^\s*class\b/,a=function(A){try{var R=e.call(A);return i.test(R)}catch{return!1}},o=function(A){try{return a(A)?!1:(e.call(A),!0)}catch{return!1}},u=Object.prototype.toString,s="[object Object]",c="[object Function]",d="[object GeneratorFunction]",h="[object HTMLAllCollection]",v="[object HTML document.all class]",g="[object HTMLCollection]",m=typeof Symbol=="function"&&!!Symbol.toStringTag,y=!(0 in[,]),S=function(){return!1};if(typeof document=="object"){var w=document.all;u.call(w)===u.call(document.all)&&(S=function(A){if((y||!A)&&(typeof A>"u"||typeof A=="object"))try{var R=u.call(A);return(R===h||R===v||R===g||R===s)&&A("")==null}catch{}return!1})}return FC=t?function(A){if(S(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;try{t(A,null,r)}catch(R){if(R!==n)return!1}return!a(A)&&o(A)}:function(A){if(S(A))return!0;if(!A||typeof A!="function"&&typeof A!="object")return!1;if(m)return o(A);if(a(A))return!1;var R=u.call(A);return R!==c&&R!==d&&!/^\[object HTML/.test(R)?!1:o(A)},FC}var jC,lX;function oxe(){if(lX)return jC;lX=1;var e=axe(),t=Object.prototype.toString,r=Object.prototype.hasOwnProperty,n=function(s,c,d){for(var h=0,v=s.length;h<v;h++)r.call(s,h)&&(d==null?c(s[h],h,s):c.call(d,s[h],h,s))},i=function(s,c,d){for(var h=0,v=s.length;h<v;h++)d==null?c(s.charAt(h),h,s):c.call(d,s.charAt(h),h,s)},a=function(s,c,d){for(var h in s)r.call(s,h)&&(d==null?c(s[h],h,s):c.call(d,s[h],h,s))};function o(u){return t.call(u)==="[object Array]"}return jC=function(s,c,d){if(!e(c))throw new TypeError("iterator must be a function");var h;arguments.length>=3&&(h=d),o(s)?n(s,c,h):typeof s=="string"?i(s,c,h):a(s,c,h)},jC}var UC,cX;function _ae(){if(cX)return UC;cX=1;var e=function(){};return UC=e,UC}var qC,fX;function sxe(){if(fX)return qC;fX=1;var e={}.hasOwnProperty,t=Function.prototype.call;return qC=t.bind?t.bind(e):function(r,n){return t.call(e,r,n)},qC}var VC={exports:{}},BC,dX;function Sae(){return dX||(dX=1,BC=Object),BC}var HC,hX;function uxe(){return hX||(hX=1,HC=Error),HC}var zC,vX;function lxe(){return vX||(vX=1,zC=EvalError),zC}var WC,pX;function cxe(){return pX||(pX=1,WC=RangeError),WC}var GC,gX;function fxe(){return gX||(gX=1,GC=ReferenceError),GC}var YC,mX;function Eae(){return mX||(mX=1,YC=SyntaxError),YC}var KC,yX;function xh(){return yX||(yX=1,KC=TypeError),KC}var XC,_X;function dxe(){return _X||(_X=1,XC=URIError),XC}var QC,SX;function hxe(){return SX||(SX=1,QC=Math.abs),QC}var JC,EX;function vxe(){return EX||(EX=1,JC=Math.floor),JC}var ZC,wX;function pxe(){return wX||(wX=1,ZC=Math.max),ZC}var eA,bX;function gxe(){return bX||(bX=1,eA=Math.min),eA}var tA,TX;function mxe(){return TX||(TX=1,tA=Math.pow),tA}var rA,RX;function yxe(){return RX||(RX=1,rA=Math.round),rA}var nA,xX;function _xe(){return xX||(xX=1,nA=Number.isNaN||function(t){return t!==t}),nA}var iA,CX;function Sxe(){if(CX)return iA;CX=1;var e=_xe();return iA=function(r){return e(r)||r===0?r:r<0?-1:1},iA}var aA,AX;function Exe(){return AX||(AX=1,aA=Object.getOwnPropertyDescriptor),aA}var oA,OX;function t0(){if(OX)return oA;OX=1;var e=Exe();if(e)try{e([],"length")}catch{e=null}return oA=e,oA}var sA,IX;function r0(){if(IX)return sA;IX=1;var e=Object.defineProperty||!1;if(e)try{e({},"a",{value:1})}catch{e=!1}return sA=e,sA}var uA,PX;function wxe(){return PX||(PX=1,uA=function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var t={},r=Symbol("test"),n=Object(r);if(typeof r=="string"||Object.prototype.toString.call(r)!=="[object Symbol]"||Object.prototype.toString.call(n)!=="[object Symbol]")return!1;var i=42;t[r]=i;for(var a in t)return!1;if(typeof Object.keys=="function"&&Object.keys(t).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(t).length!==0)return!1;var o=Object.getOwnPropertySymbols(t);if(o.length!==1||o[0]!==r||!Object.prototype.propertyIsEnumerable.call(t,r))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(t,r);if(u.value!==i||u.enumerable!==!0)return!1}return!0}),uA}var lA,DX;function bxe(){if(DX)return lA;DX=1;var e=typeof Symbol<"u"&&Symbol,t=wxe();return lA=function(){return typeof e!="function"||typeof Symbol!="function"||typeof e("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:t()},lA}var cA,kX;function wae(){return kX||(kX=1,cA=typeof Reflect<"u"&&Reflect.getPrototypeOf||null),cA}var fA,NX;function bae(){if(NX)return fA;NX=1;var e=Sae();return fA=e.getPrototypeOf||null,fA}var dA,LX;function Txe(){if(LX)return dA;LX=1;var e="Function.prototype.bind called on incompatible ",t=Object.prototype.toString,r=Math.max,n="[object Function]",i=function(s,c){for(var d=[],h=0;h<s.length;h+=1)d[h]=s[h];for(var v=0;v<c.length;v+=1)d[v+s.length]=c[v];return d},a=function(s,c){for(var d=[],h=c,v=0;h<s.length;h+=1,v+=1)d[v]=s[h];return d},o=function(u,s){for(var c="",d=0;d<u.length;d+=1)c+=u[d],d+1<u.length&&(c+=s);return c};return dA=function(s){var c=this;if(typeof c!="function"||t.apply(c)!==n)throw new TypeError(e+c);for(var d=a(arguments,1),h,v=function(){if(this instanceof h){var w=c.apply(this,i(d,arguments));return Object(w)===w?w:this}return c.apply(s,i(d,arguments))},g=r(0,c.length-d.length),m=[],y=0;y<g;y++)m[y]="$"+y;if(h=Function("binder","return function ("+o(m,",")+"){ return binder.apply(this,arguments); }")(v),c.prototype){var S=function(){};S.prototype=c.prototype,h.prototype=new S,S.prototype=null}return h},dA}var hA,MX;function Up(){if(MX)return hA;MX=1;var e=Txe();return hA=Function.prototype.bind||e,hA}var vA,$X;function fk(){return $X||($X=1,vA=Function.prototype.call),vA}var pA,FX;function dk(){return FX||(FX=1,pA=Function.prototype.apply),pA}var gA,jX;function Rxe(){return jX||(jX=1,gA=typeof Reflect<"u"&&Reflect&&Reflect.apply),gA}var mA,UX;function Tae(){if(UX)return mA;UX=1;var e=Up(),t=dk(),r=fk(),n=Rxe();return mA=n||e.call(r,t),mA}var yA,qX;function hk(){if(qX)return yA;qX=1;var e=Up(),t=xh(),r=fk(),n=Tae();return yA=function(a){if(a.length<1||typeof a[0]!="function")throw new t("a function is required");return n(e,r,a)},yA}var _A,VX;function xxe(){if(VX)return _A;VX=1;var e=hk(),t=t0(),r;try{r=[].__proto__===Array.prototype}catch(o){if(!o||typeof o!="object"||!("code"in o)||o.code!=="ERR_PROTO_ACCESS")throw o}var n=!!r&&t&&t(Object.prototype,"__proto__"),i=Object,a=i.getPrototypeOf;return _A=n&&typeof n.get=="function"?e([n.get]):typeof a=="function"?function(u){return a(u==null?u:i(u))}:!1,_A}var SA,BX;function Cxe(){if(BX)return SA;BX=1;var e=wae(),t=bae(),r=xxe();return SA=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,SA}var EA,HX;function Axe(){if(HX)return EA;HX=1;var e=Function.prototype.call,t=Object.prototype.hasOwnProperty,r=Up();return EA=r.call(e,t),EA}var wA,zX;function vk(){if(zX)return wA;zX=1;var e,t=Sae(),r=uxe(),n=lxe(),i=cxe(),a=fxe(),o=Eae(),u=xh(),s=dxe(),c=hxe(),d=vxe(),h=pxe(),v=gxe(),g=mxe(),m=yxe(),y=Sxe(),S=Function,w=function(q){try{return S('"use strict"; return ('+q+").constructor;")()}catch{}},b=t0(),A=r0(),R=function(){throw new u},x=b?(function(){try{return arguments.callee,R}catch{try{return b(arguments,"callee").get}catch{return R}}})():R,O=bxe()(),_=Cxe(),P=bae(),N=wae(),U=dk(),$=fk(),B={},Y=typeof Uint8Array>"u"||!_?e:_(Uint8Array),Q={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?e:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?e:ArrayBuffer,"%ArrayIteratorPrototype%":O&&_?_([][Symbol.iterator]()):e,"%AsyncFromSyncIteratorPrototype%":e,"%AsyncFunction%":B,"%AsyncGenerator%":B,"%AsyncGeneratorFunction%":B,"%AsyncIteratorPrototype%":B,"%Atomics%":typeof Atomics>"u"?e:Atomics,"%BigInt%":typeof BigInt>"u"?e:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?e:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?e:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?e:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":r,"%eval%":eval,"%EvalError%":n,"%Float16Array%":typeof Float16Array>"u"?e:Float16Array,"%Float32Array%":typeof Float32Array>"u"?e:Float32Array,"%Float64Array%":typeof Float64Array>"u"?e:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?e:FinalizationRegistry,"%Function%":S,"%GeneratorFunction%":B,"%Int8Array%":typeof Int8Array>"u"?e:Int8Array,"%Int16Array%":typeof Int16Array>"u"?e:Int16Array,"%Int32Array%":typeof Int32Array>"u"?e:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":O&&_?_(_([][Symbol.iterator]())):e,"%JSON%":typeof JSON=="object"?JSON:e,"%Map%":typeof Map>"u"?e:Map,"%MapIteratorPrototype%":typeof Map>"u"||!O||!_?e:_(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":t,"%Object.getOwnPropertyDescriptor%":b,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?e:Promise,"%Proxy%":typeof Proxy>"u"?e:Proxy,"%RangeError%":i,"%ReferenceError%":a,"%Reflect%":typeof Reflect>"u"?e:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?e:Set,"%SetIteratorPrototype%":typeof Set>"u"||!O||!_?e:_(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?e:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":O&&_?_(""[Symbol.iterator]()):e,"%Symbol%":O?Symbol:e,"%SyntaxError%":o,"%ThrowTypeError%":x,"%TypedArray%":Y,"%TypeError%":u,"%Uint8Array%":typeof Uint8Array>"u"?e:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?e:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?e:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?e:Uint32Array,"%URIError%":s,"%WeakMap%":typeof WeakMap>"u"?e:WeakMap,"%WeakRef%":typeof WeakRef>"u"?e:WeakRef,"%WeakSet%":typeof WeakSet>"u"?e:WeakSet,"%Function.prototype.call%":$,"%Function.prototype.apply%":U,"%Object.defineProperty%":A,"%Object.getPrototypeOf%":P,"%Math.abs%":c,"%Math.floor%":d,"%Math.max%":h,"%Math.min%":v,"%Math.pow%":g,"%Math.round%":m,"%Math.sign%":y,"%Reflect.getPrototypeOf%":N};if(_)try{null.error}catch(q){var K=_(_(q));Q["%Error.prototype%"]=K}var ee=function q(H){var ie;if(H==="%AsyncFunction%")ie=w("async function () {}");else if(H==="%GeneratorFunction%")ie=w("function* () {}");else if(H==="%AsyncGeneratorFunction%")ie=w("async function* () {}");else if(H==="%AsyncGenerator%"){var V=q("%AsyncGeneratorFunction%");V&&(ie=V.prototype)}else if(H==="%AsyncIteratorPrototype%"){var Z=q("%AsyncGenerator%");Z&&_&&(ie=_(Z.prototype))}return Q[H]=ie,ie},ne={__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"]},D=Up(),I=Axe(),L=D.call($,Array.prototype.concat),re=D.call(U,Array.prototype.splice),te=D.call($,String.prototype.replace),ce=D.call($,String.prototype.slice),be=D.call($,RegExp.prototype.exec),Ie=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,je=/\\(\\)?/g,z=function(H){var ie=ce(H,0,1),V=ce(H,-1);if(ie==="%"&&V!=="%")throw new o("invalid intrinsic syntax, expected closing `%`");if(V==="%"&&ie!=="%")throw new o("invalid intrinsic syntax, expected opening `%`");var Z=[];return te(H,Ie,function(me,fe,Re,Se){Z[Z.length]=Re?te(Se,je,"$1"):fe||me}),Z},k=function(H,ie){var V=H,Z;if(I(ne,V)&&(Z=ne[V],V="%"+Z[0]+"%"),I(Q,V)){var me=Q[V];if(me===B&&(me=ee(V)),typeof me>"u"&&!ie)throw new u("intrinsic "+H+" exists, but is not available. Please file an issue!");return{alias:Z,name:V,value:me}}throw new o("intrinsic "+H+" does not exist!")};return wA=function(H,ie){if(typeof H!="string"||H.length===0)throw new u("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof ie!="boolean")throw new u('"allowMissing" argument must be a boolean');if(be(/^%?[^%]*%?$/,H)===null)throw new o("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var V=z(H),Z=V.length>0?V[0]:"",me=k("%"+Z+"%",ie),fe=me.name,Re=me.value,Se=!1,Oe=me.alias;Oe&&(Z=Oe[0],re(V,L([0,1],Oe)));for(var Me=1,de=!0;Me<V.length;Me+=1){var Ee=V[Me],_e=ce(Ee,0,1),xe=ce(Ee,-1);if((_e==='"'||_e==="'"||_e==="`"||xe==='"'||xe==="'"||xe==="`")&&_e!==xe)throw new o("property names with quotes must have matching quotes");if((Ee==="constructor"||!de)&&(Se=!0),Z+="."+Ee,fe="%"+Z+"%",I(Q,fe))Re=Q[fe];else if(Re!=null){if(!(Ee in Re)){if(!ie)throw new u("base intrinsic for "+H+" exists, but the property is not available.");return}if(b&&Me+1>=V.length){var ke=b(Re,Ee);de=!!ke,de&&"get"in ke&&!("originalValue"in ke.get)?Re=ke.get:Re=Re[Ee]}else de=I(Re,Ee),Re=Re[Ee];de&&!Se&&(Q[fe]=Re)}}return Re},wA}var bA,WX;function pk(){if(WX)return bA;WX=1;var e=r0(),t=Eae(),r=xh(),n=t0();return bA=function(a,o,u){if(!a||typeof a!="object"&&typeof a!="function")throw new r("`obj` must be an object or a function`");if(typeof o!="string"&&typeof o!="symbol")throw new r("`property` must be a string or a symbol`");if(arguments.length>3&&typeof arguments[3]!="boolean"&&arguments[3]!==null)throw new r("`nonEnumerable`, if provided, must be a boolean or null");if(arguments.length>4&&typeof arguments[4]!="boolean"&&arguments[4]!==null)throw new r("`nonWritable`, if provided, must be a boolean or null");if(arguments.length>5&&typeof arguments[5]!="boolean"&&arguments[5]!==null)throw new r("`nonConfigurable`, if provided, must be a boolean or null");if(arguments.length>6&&typeof arguments[6]!="boolean")throw new r("`loose`, if provided, must be a boolean");var s=arguments.length>3?arguments[3]:null,c=arguments.length>4?arguments[4]:null,d=arguments.length>5?arguments[5]:null,h=arguments.length>6?arguments[6]:!1,v=!!n&&n(a,o);if(e)e(a,o,{configurable:d===null&&v?v.configurable:!d,enumerable:s===null&&v?v.enumerable:!s,value:u,writable:c===null&&v?v.writable:!c});else if(h||!s&&!c&&!d)a[o]=u;else throw new t("This environment does not support defining a property as non-configurable, non-writable, or non-enumerable.")},bA}var TA,GX;function gk(){if(GX)return TA;GX=1;var e=r0(),t=function(){return!!e};return t.hasArrayLengthDefineBug=function(){if(!e)return null;try{return e([],"length",{value:1}).length!==1}catch{return!0}},TA=t,TA}var RA,YX;function Oxe(){if(YX)return RA;YX=1;var e=vk(),t=pk(),r=gk()(),n=t0(),i=xh(),a=e("%Math.floor%");return RA=function(u,s){if(typeof u!="function")throw new i("`fn` is not a function");if(typeof s!="number"||s<0||s>4294967295||a(s)!==s)throw new i("`length` must be a positive 32-bit integer");var c=arguments.length>2&&!!arguments[2],d=!0,h=!0;if("length"in u&&n){var v=n(u,"length");v&&!v.configurable&&(d=!1),v&&!v.writable&&(h=!1)}return(d||h||!c)&&(r?t(u,"length",s,!0,!0):t(u,"length",s)),u},RA}var xA,KX;function Ixe(){if(KX)return xA;KX=1;var e=Up(),t=dk(),r=Tae();return xA=function(){return r(e,t,arguments)},xA}var XX;function Pxe(){return XX||(XX=1,(function(e){var t=Oxe(),r=r0(),n=hk(),i=Ixe();e.exports=function(o){var u=n(arguments),s=o.length-(arguments.length-1);return t(u,1+(s>0?s:0),!0)},r?r(e.exports,"apply",{value:i}):e.exports.apply=i})(VC)),VC.exports}var CA,QX;function Rae(){if(QX)return CA;QX=1;var e=Object.prototype.toString;return CA=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},CA}var AA,JX;function Dxe(){if(JX)return AA;JX=1;var e;if(!Object.keys){var t=Object.prototype.hasOwnProperty,r=Object.prototype.toString,n=Rae(),i=Object.prototype.propertyIsEnumerable,a=!i.call({toString:null},"toString"),o=i.call(function(){},"prototype"),u=["toString","toLocaleString","valueOf","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","constructor"],s=function(v){var g=v.constructor;return g&&g.prototype===v},c={$applicationCache:!0,$console:!0,$external:!0,$frame:!0,$frameElement:!0,$frames:!0,$innerHeight:!0,$innerWidth:!0,$onmozfullscreenchange:!0,$onmozfullscreenerror:!0,$outerHeight:!0,$outerWidth:!0,$pageXOffset:!0,$pageYOffset:!0,$parent:!0,$scrollLeft:!0,$scrollTop:!0,$scrollX:!0,$scrollY:!0,$self:!0,$webkitIndexedDB:!0,$webkitStorageInfo:!0,$window:!0},d=(function(){if(typeof window>"u")return!1;for(var v in window)try{if(!c["$"+v]&&t.call(window,v)&&window[v]!==null&&typeof window[v]=="object")try{s(window[v])}catch{return!0}}catch{return!0}return!1})(),h=function(v){if(typeof window>"u"||!d)return s(v);try{return s(v)}catch{return!1}};e=function(g){var m=g!==null&&typeof g=="object",y=r.call(g)==="[object Function]",S=n(g),w=m&&r.call(g)==="[object String]",b=[];if(!m&&!y&&!S)throw new TypeError("Object.keys called on a non-object");var A=o&&y;if(w&&g.length>0&&!t.call(g,0))for(var R=0;R<g.length;++R)b.push(String(R));if(S&&g.length>0)for(var x=0;x<g.length;++x)b.push(String(x));else for(var O in g)!(A&&O==="prototype")&&t.call(g,O)&&b.push(String(O));if(a)for(var _=h(g),P=0;P<u.length;++P)!(_&&u[P]==="constructor")&&t.call(g,u[P])&&b.push(u[P]);return b}}return AA=e,AA}var OA,ZX;function kxe(){if(ZX)return OA;ZX=1;var e=Array.prototype.slice,t=Rae(),r=Object.keys,n=r?function(o){return r(o)}:Dxe(),i=Object.keys;return n.shim=function(){if(Object.keys){var o=(function(){var u=Object.keys(arguments);return u&&u.length===arguments.length})(1,2);o||(Object.keys=function(s){return t(s)?i(e.call(s)):i(s)})}else Object.keys=n;return Object.keys||n},OA=n,OA}var IA,eQ;function Nxe(){if(eQ)return IA;eQ=1;var e=kxe(),t=typeof Symbol=="function"&&typeof Symbol("foo")=="symbol",r=Object.prototype.toString,n=Array.prototype.concat,i=pk(),a=function(c){return typeof c=="function"&&r.call(c)==="[object Function]"},o=gk()(),u=function(c,d,h,v){if(d in c){if(v===!0){if(c[d]===h)return}else if(!a(v)||!v())return}o?i(c,d,h,!0):i(c,d,h)},s=function(c,d){var h=arguments.length>2?arguments[2]:{},v=e(d);t&&(v=n.call(v,Object.getOwnPropertySymbols(d)));for(var g=0;g<v.length;g+=1)u(c,v[g],d[v[g]],h[v[g]])};return s.supportsDescriptors=!!o,IA=s,IA}var PA,tQ;function xae(){if(tQ)return PA;tQ=1;var e=xh();return PA=function(r){if(r==null)throw new e(arguments.length>0&&arguments[1]||"Cannot call method on "+r);return r},PA}var DA,rQ;function Lxe(){if(rQ)return DA;rQ=1;var e=vk(),t=e("%String%"),r=xh();return DA=function(i){if(typeof i=="symbol")throw new r("Cannot convert a Symbol value to a string");return t(i)},DA}var kA,nQ;function Mxe(){if(nQ)return kA;nQ=1;var e=vk(),t=hk(),r=t([e("%String.prototype.indexOf%")]);return kA=function(i,a){var o=e(i,!!a);return typeof o=="function"&&r(i,".prototype.")>-1?t([o]):o},kA}var NA,iQ;function Cae(){if(iQ)return NA;iQ=1;var e=xae(),t=Lxe(),r=Mxe(),n=r("String.prototype.replace"),i=/^\s$/.test(""),a=i?/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/:/^[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+/,o=i?/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u180E\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/:/[\x09\x0A\x0B\x0C\x0D\x20\xA0\u1680\u2000\u2001\u2002\u2003\u2004\u2005\u2006\u2007\u2008\u2009\u200A\u202F\u205F\u3000\u2028\u2029\uFEFF]+$/;return NA=function(){var s=t(e(this));return n(n(s,a,""),o,"")},NA}var LA,aQ;function Aae(){if(aQ)return LA;aQ=1;var e=Cae(),t="",r="";return LA=function(){return String.prototype.trim&&t.trim()===t&&r.trim()===r&&("_"+r).trim()==="_"+r&&(r+"_").trim()===r+"_"?String.prototype.trim:e},LA}var MA,oQ;function $xe(){if(oQ)return MA;oQ=1;var e=gk()(),t=pk(),r=Aae();return MA=function(){var i=r();return String.prototype.trim!==i&&(e?t(String.prototype,"trim",i,!0):t(String.prototype,"trim",i)),i},MA}var $A,sQ;function Fxe(){if(sQ)return $A;sQ=1;var e=Pxe(),t=Nxe(),r=xae(),n=Cae(),i=Aae(),a=$xe(),o=e(i()),u=function(c){return r(c),o(c)};return t(u,{getPolyfill:i,implementation:n,shim:a}),$A=u,$A}var FA,uQ;function jxe(){if(uQ)return FA;uQ=1;var e=oxe(),t=_ae(),r=sxe(),n=Fxe(),i=function(O){t(!1,O)},a=String.prototype.replace,o=String.prototype.split,u="||||",s=function(x){var O=x%10;return x!==11&&O===1?0:2<=O&&O<=4&&!(x>=12&&x<=14)?1:2},c={arabic:function(x){if(x<3)return x;var O=x%100;return O>=3&&O<=10?3:O>=11?4:5},bosnian_serbian:s,chinese:function(){return 0},croatian:s,french:function(x){return x>1?1:0},german:function(x){return x!==1?1:0},russian:s,lithuanian:function(x){return x%10===1&&x%100!==11?0:x%10>=2&&x%10<=9&&(x%100<11||x%100>19)?1:2},czech:function(x){return x===1?0:x>=2&&x<=4?1:2},polish:function(x){if(x===1)return 0;var O=x%10;return 2<=O&&O<=4&&(x%100<10||x%100>=20)?1:2},icelandic:function(x){return x%10!==1||x%100===11?1:0},slovenian:function(x){var O=x%100;return O===1?0:O===2?1:O===3||O===4?2:3}},d={arabic:["ar"],bosnian_serbian:["bs-Latn-BA","bs-Cyrl-BA","srl-RS","sr-RS"],chinese:["id","id-ID","ja","ko","ko-KR","lo","ms","th","th-TH","zh"],croatian:["hr","hr-HR"],german:["fa","da","de","en","es","fi","el","he","hi-IN","hu","hu-HU","it","nl","no","pt","sv","tr"],french:["fr","tl","pt-br"],russian:["ru","ru-RU"],lithuanian:["lt"],czech:["cs","cs-CZ","sk"],polish:["pl"],icelandic:["is"],slovenian:["sl-SL"]};function h(x){var O={};return e(x,function(_,P){e(_,function(N){O[N]=P})}),O}function v(x){var O=h(d);return O[x]||O[o.call(x,/-/,1)[0]]||O.en}function g(x,O){return c[v(x)](O)}function m(x){return x.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function y(x){var O=x&&x.prefix||"%{",_=x&&x.suffix||"}";if(O===u||_===u)throw new RangeError('"'+u+'" token is reserved for pluralization');return new RegExp(m(O)+"(.*?)"+m(_),"g")}var S=/\$/g,w="$$",b=/%\{(.*?)\}/g;function A(x,O,_,P){if(typeof x!="string")throw new TypeError("Polyglot.transformPhrase expects argument #1 to be string");if(O==null)return x;var N=x,U=P||b,$=typeof O=="number"?{smart_count:O}:O;if($.smart_count!=null&&N){var B=o.call(N,u);N=n(B[g(_||"en",$.smart_count)]||B[0])}return N=a.call(N,U,function(Y,Q){return!r($,Q)||$[Q]==null?Y:a.call($[Q],S,w)}),N}function R(x){var O=x||{};this.phrases={},this.extend(O.phrases||{}),this.currentLocale=O.locale||"en";var _=O.allowMissing?A:null;this.onMissingKey=typeof O.onMissingKey=="function"?O.onMissingKey:_,this.warn=O.warn||i,this.tokenRegex=y(O.interpolation)}return R.prototype.locale=function(x){return x&&(this.currentLocale=x),this.currentLocale},R.prototype.extend=function(x,O){e(x,function(_,P){var N=O?O+"."+P:P;typeof _=="object"?this.extend(_,N):this.phrases[N]=_},this)},R.prototype.unset=function(x,O){typeof x=="string"?delete this.phrases[x]:e(x,function(_,P){var N=O?O+"."+P:P;typeof _=="object"?this.unset(_,N):delete this.phrases[N]},this)},R.prototype.clear=function(){this.phrases={}},R.prototype.replace=function(x){this.clear(),this.extend(x)},R.prototype.t=function(x,O){var _,P,N=O??{};if(typeof this.phrases[x]=="string")_=this.phrases[x];else if(typeof N._=="string")_=N._;else if(this.onMissingKey){var U=this.onMissingKey;P=U(x,N,this.currentLocale,this.tokenRegex)}else this.warn('Missing translation for key: "'+x+'"'),P=x;return typeof _=="string"&&(P=A(_,N,this.currentLocale,this.tokenRegex)),P},R.prototype.has=function(x){return r(this.phrases,x)},R.transformPhrase=function(O,_,P){return A(O,_,P)},FA=R,FA}var Uxe=jxe();const qxe=jn(Uxe),qp={ALERT:"AlertService",LANGUAGE:"LanguageService"};var Vp=Object.freeze||function(e){return e},lQ=Vp(["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"]),cQ=Vp(["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"]),fQ=Vp(["feBlend","feColorMatrix","feComponentTransfer","feComposite","feConvolveMatrix","feDiffuseLighting","feDisplacementMap","feDistantLight","feFlood","feFuncA","feFuncB","feFuncG","feFuncR","feGaussianBlur","feMerge","feMergeNode","feMorphology","feOffset","fePointLight","feSpecularLighting","feSpotLight","feTile","feTurbulence"]),dQ=Vp(["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"]),hQ=Vp(["#text"]),n0=Object.freeze||function(e){return e},vQ=n0(["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"]),jA=n0(["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"]),pQ=n0(["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"]),im=n0(["xlink:href","xml:id","xlink:title","xml:space","xmlns:xlink"]),Vxe=Object.hasOwnProperty,gQ=Object.setPrototypeOf,Bxe=typeof Reflect<"u"&&Reflect,qI=Bxe.apply;qI||(qI=function(t,r,n){return t.apply(r,n)});function ni(e,t){gQ&&gQ(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 UA(e){var t={},r=void 0;for(r in e)qI(Vxe,e,[r])&&(t[r]=e[r]);return t}var Lf=Object.seal||function(e){return e},Hxe=Lf(/\{\{[\s\S]*|[\s\S]*\}\}/gm),zxe=Lf(/<%[\s\S]*|[\s\S]*%>/gm),Wxe=Lf(/^data-[\-\w.\u00B7-\uFFFF]/),Gxe=Lf(/^aria-[\-\w]+$/),Yxe=Lf(/^(?:(?:(?:f|ht)tps?|mailto|tel|callto|cid|xmpp):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i),Kxe=Lf(/^(?:\w+script|data):/i),Xxe=Lf(/[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205f\u3000]/g),Rv=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(e){return typeof e}:function(e){return e&&typeof Symbol=="function"&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e};function gu(e){if(Array.isArray(e)){for(var t=0,r=Array(e.length);t<e.length;t++)r[t]=e[t];return r}else return Array.from(e)}var Qxe=typeof Reflect<"u"&&Reflect,VI=Qxe.apply,Jxe=Array.prototype.slice,mQ=Object.freeze,Zxe=function(){return typeof window>"u"?null:window};VI||(VI=function(t,r,n){return t.apply(r,n)});var eCe=function(t,r){if((typeof t>"u"?"undefined":Rv(t))!=="object"||typeof t.createPolicy!="function")return null;var n=null,i="data-tt-policy-suffix";r.currentScript&&r.currentScript.hasAttribute(i)&&(n=r.currentScript.getAttribute(i));var a="dompurify"+(n?"#"+n:"");try{return t.createPolicy(a,{createHTML:function(u){return u}})}catch{return console.warn("TrustedTypes policy "+a+" could not be created."),null}};function Oae(){var e=arguments.length>0&&arguments[0]!==void 0?arguments[0]:Zxe(),t=function(Ce){return Oae(Ce)};if(t.version="2.0.7",t.removed=[],!e||!e.document||e.document.nodeType!==9)return t.isSupported=!1,t;var r=e.document,n=!1,i=!1,a=e.document,o=e.DocumentFragment,u=e.HTMLTemplateElement,s=e.Node,c=e.NodeFilter,d=e.NamedNodeMap,h=d===void 0?e.NamedNodeMap||e.MozNamedAttrMap:d,v=e.Text,g=e.Comment,m=e.DOMParser,y=e.TrustedTypes;if(typeof u=="function"){var S=a.createElement("template");S.content&&S.content.ownerDocument&&(a=S.content.ownerDocument)}var w=eCe(y,r),b=w?w.createHTML(""):"",A=a,R=A.implementation,x=A.createNodeIterator,O=A.getElementsByTagName,_=A.createDocumentFragment,P=r.importNode,N={};t.isSupported=R&&typeof R.createHTMLDocument<"u"&&a.documentMode!==9;var U=Hxe,$=zxe,B=Wxe,Y=Gxe,Q=Kxe,K=Xxe,ee=Yxe,ne=null,D=ni({},[].concat(gu(lQ),gu(cQ),gu(fQ),gu(dQ),gu(hQ))),I=null,L=ni({},[].concat(gu(vQ),gu(jA),gu(pQ),gu(im))),re=null,te=null,ce=!0,be=!0,Ie=!1,je=!1,z=!1,k=!1,q=!1,H=!1,ie=!1,V=!1,Z=!1,me=!1,fe=!0,Re=!0,Se=!1,Oe={},Me=ni({},["annotation-xml","audio","colgroup","desc","foreignobject","head","iframe","math","mi","mn","mo","ms","mtext","noembed","noframes","plaintext","script","style","svg","template","thead","title","video","xmp"]),de=ni({},["audio","video","img","source","image"]),Ee=null,_e=ni({},["alt","class","for","id","label","name","pattern","placeholder","summary","title","value","style","xmlns"]),xe=null,ke=a.createElement("form"),Le=function(Ce){xe&&xe===Ce||((!Ce||(typeof Ce>"u"?"undefined":Rv(Ce))!=="object")&&(Ce={}),ne="ALLOWED_TAGS"in Ce?ni({},Ce.ALLOWED_TAGS):D,I="ALLOWED_ATTR"in Ce?ni({},Ce.ALLOWED_ATTR):L,Ee="ADD_URI_SAFE_ATTR"in Ce?ni(UA(_e),Ce.ADD_URI_SAFE_ATTR):_e,re="FORBID_TAGS"in Ce?ni({},Ce.FORBID_TAGS):{},te="FORBID_ATTR"in Ce?ni({},Ce.FORBID_ATTR):{},Oe="USE_PROFILES"in Ce?Ce.USE_PROFILES:!1,ce=Ce.ALLOW_ARIA_ATTR!==!1,be=Ce.ALLOW_DATA_ATTR!==!1,Ie=Ce.ALLOW_UNKNOWN_PROTOCOLS||!1,je=Ce.SAFE_FOR_JQUERY||!1,z=Ce.SAFE_FOR_TEMPLATES||!1,k=Ce.WHOLE_DOCUMENT||!1,ie=Ce.RETURN_DOM||!1,V=Ce.RETURN_DOM_FRAGMENT||!1,Z=Ce.RETURN_DOM_IMPORT||!1,me=Ce.RETURN_TRUSTED_TYPE||!1,H=Ce.FORCE_BODY||!1,fe=Ce.SANITIZE_DOM!==!1,Re=Ce.KEEP_CONTENT!==!1,Se=Ce.IN_PLACE||!1,ee=Ce.ALLOWED_URI_REGEXP||ee,z&&(be=!1),V&&(ie=!0),Oe&&(ne=ni({},[].concat(gu(hQ))),I=[],Oe.html===!0&&(ni(ne,lQ),ni(I,vQ)),Oe.svg===!0&&(ni(ne,cQ),ni(I,jA),ni(I,im)),Oe.svgFilters===!0&&(ni(ne,fQ),ni(I,jA),ni(I,im)),Oe.mathMl===!0&&(ni(ne,dQ),ni(I,pQ),ni(I,im))),Ce.ADD_TAGS&&(ne===D&&(ne=UA(ne)),ni(ne,Ce.ADD_TAGS)),Ce.ADD_ATTR&&(I===L&&(I=UA(I)),ni(I,Ce.ADD_ATTR)),Ce.ADD_URI_SAFE_ATTR&&ni(Ee,Ce.ADD_URI_SAFE_ATTR),Re&&(ne["#text"]=!0),k&&ni(ne,["html","head","body"]),ne.table&&(ni(ne,["tbody"]),delete re.tbody),mQ&&mQ(Ce),xe=Ce)},He=function(Ce){t.removed.push({element:Ce});try{Ce.parentNode.removeChild(Ce)}catch{Ce.outerHTML=b}},_t=function(Ce,Ze){try{t.removed.push({attribute:Ze.getAttributeNode(Ce),from:Ze})}catch{t.removed.push({attribute:null,from:Ze})}Ze.removeAttribute(Ce)},jt=function(Ce){var Ze=void 0,ut=void 0;if(H)Ce="<remove></remove>"+Ce;else{var Tt=Ce.match(/^[\s]+/);ut=Tt&&Tt[0],ut&&(Ce=Ce.slice(ut.length))}if(n)try{Ze=new m().parseFromString(Ce,"text/html")}catch{}if(i&&ni(re,["title"]),!Ze||!Ze.documentElement){Ze=R.createHTMLDocument("");var Pt=Ze,rr=Pt.body;rr.parentNode.removeChild(rr.parentNode.firstElementChild),rr.outerHTML=w?w.createHTML(Ce):Ce}return Ce&&ut&&Ze.body.insertBefore(a.createTextNode(ut),Ze.body.childNodes[0]||null),O.call(Ze,k?"html":"body")[0]};t.isSupported&&((function(){try{var xt=jt('<svg><p><textarea><img src="</textarea><img src=x abc=1//">');xt.querySelector("svg img")&&(n=!0)}catch{}})(),(function(){try{var xt=jt("<x/><title></title><img>");/<\/title/.test(xt.querySelector("title").innerHTML)&&(i=!0)}catch{}})());var Lt=function(Ce){return x.call(Ce.ownerDocument||Ce,Ce,c.SHOW_ELEMENT|c.SHOW_COMMENT|c.SHOW_TEXT,function(){return c.FILTER_ACCEPT},!1)},Qe=function(Ce){return Ce instanceof v||Ce instanceof g?!1:typeof Ce.nodeName!="string"||typeof Ce.textContent!="string"||typeof Ce.removeChild!="function"||!(Ce.attributes instanceof h)||typeof Ce.removeAttribute!="function"||typeof Ce.setAttribute!="function"||typeof Ce.namespaceURI!="string"},bt=function(Ce){return(typeof s>"u"?"undefined":Rv(s))==="object"?Ce instanceof s:Ce&&(typeof Ce>"u"?"undefined":Rv(Ce))==="object"&&typeof Ce.nodeType=="number"&&typeof Ce.nodeName=="string"},mt=function(Ce,Ze,ut){N[Ce]&&N[Ce].forEach(function(Tt){Tt.call(t,Ze,ut,xe)})},St=function(Ce){var Ze=void 0;if(mt("beforeSanitizeElements",Ce,null),Qe(Ce))return He(Ce),!0;var ut=Ce.nodeName.toLowerCase();if(mt("uponSanitizeElement",Ce,{tagName:ut,allowedTags:ne}),(ut==="svg"||ut==="math")&&Ce.querySelectorAll("p, br").length!==0)return He(Ce),!0;if(!ne[ut]||re[ut]){if(Re&&!Me[ut]&&typeof Ce.insertAdjacentHTML=="function")try{var Tt=Ce.innerHTML;Ce.insertAdjacentHTML("AfterEnd",w?w.createHTML(Tt):Tt)}catch{}return He(Ce),!0}return ut==="noscript"&&/<\/noscript/i.test(Ce.innerHTML)||ut==="noembed"&&/<\/noembed/i.test(Ce.innerHTML)?(He(Ce),!0):(je&&!Ce.firstElementChild&&(!Ce.content||!Ce.content.firstElementChild)&&/</g.test(Ce.textContent)&&(t.removed.push({element:Ce.cloneNode()}),Ce.innerHTML?Ce.innerHTML=Ce.innerHTML.replace(/</g,"<"):Ce.innerHTML=Ce.textContent.replace(/</g,"<")),z&&Ce.nodeType===3&&(Ze=Ce.textContent,Ze=Ze.replace(U," "),Ze=Ze.replace($," "),Ce.textContent!==Ze&&(t.removed.push({element:Ce.cloneNode()}),Ce.textContent=Ze)),mt("afterSanitizeElements",Ce,null),!1)},yt=function(Ce,Ze,ut){if(fe&&(Ze==="id"||Ze==="name")&&(ut in a||ut in ke))return!1;if(!(be&&B.test(Ze))){if(!(ce&&Y.test(Ze))){if(!I[Ze]||te[Ze])return!1;if(!Ee[Ze]){if(!ee.test(ut.replace(K,""))){if(!((Ze==="src"||Ze==="xlink:href"||Ze==="href")&&Ce!=="script"&&ut.indexOf("data:")===0&&de[Ce])){if(!(Ie&&!Q.test(ut.replace(K,"")))){if(ut)return!1}}}}}}return!0},at=function(Ce){var Ze=void 0,ut=void 0,Tt=void 0,Pt=void 0,rr=void 0;mt("beforeSanitizeAttributes",Ce,null);var _r=Ce.attributes;if(_r){var sr={attrName:"",attrValue:"",keepAttr:!0,allowedAttributes:I};for(rr=_r.length;rr--;){Ze=_r[rr];var mr=Ze,Pr=mr.name,ln=mr.namespaceURI;if(ut=Ze.value.trim(),Tt=Pr.toLowerCase(),sr.attrName=Tt,sr.attrValue=ut,sr.keepAttr=!0,mt("uponSanitizeAttribute",Ce,sr),ut=sr.attrValue,Tt==="name"&&Ce.nodeName==="IMG"&&_r.id)Pt=_r.id,_r=VI(Jxe,_r,[]),_t("id",Ce),_t(Pr,Ce),_r.indexOf(Pt)>rr&&Ce.setAttribute("id",Pt.value);else{if(Ce.nodeName==="INPUT"&&Tt==="type"&&ut==="file"&&sr.keepAttr&&(I[Tt]||!te[Tt]))continue;Pr==="id"&&Ce.setAttribute(Pr,""),_t(Pr,Ce)}if(sr.keepAttr){if(/svg|math/i.test(Ce.namespaceURI)&&new RegExp("</("+Object.keys(Me).join("|")+")","i").test(ut)){_t(Pr,Ce);continue}z&&(ut=ut.replace(U," "),ut=ut.replace($," "));var di=Ce.nodeName.toLowerCase();if(yt(di,Tt,ut))try{ln?Ce.setAttributeNS(ln,Pr,ut):Ce.setAttribute(Pr,ut),t.removed.pop()}catch{}}}mt("afterSanitizeAttributes",Ce,null)}},$t=function xt(Ce){var Ze=void 0,ut=Lt(Ce);for(mt("beforeSanitizeShadowDOM",Ce,null);Ze=ut.nextNode();)mt("uponSanitizeShadowNode",Ze,null),!St(Ze)&&(Ze.content instanceof o&&xt(Ze.content),at(Ze));mt("afterSanitizeShadowDOM",Ce,null)};return t.sanitize=function(xt,Ce){var Ze=void 0,ut=void 0,Tt=void 0,Pt=void 0,rr=void 0;if(xt||(xt="<!-->"),typeof xt!="string"&&!bt(xt)){if(typeof xt.toString!="function")throw new TypeError("toString is not a function");if(xt=xt.toString(),typeof xt!="string")throw new TypeError("dirty is not a string, aborting")}if(!t.isSupported){if(Rv(e.toStaticHTML)==="object"||typeof e.toStaticHTML=="function"){if(typeof xt=="string")return e.toStaticHTML(xt);if(bt(xt))return e.toStaticHTML(xt.outerHTML)}return xt}if(q||Le(Ce),t.removed=[],!Se)if(xt instanceof s)Ze=jt("<!-->"),ut=Ze.ownerDocument.importNode(xt,!0),ut.nodeType===1&&ut.nodeName==="BODY"||ut.nodeName==="HTML"?Ze=ut:Ze.appendChild(ut);else{if(!ie&&!z&&!k&&me&&xt.indexOf("<")===-1)return w?w.createHTML(xt):xt;if(Ze=jt(xt),!Ze)return ie?null:b}Ze&&H&&He(Ze.firstChild);for(var _r=Lt(Se?xt:Ze);Tt=_r.nextNode();)Tt.nodeType===3&&Tt===Pt||St(Tt)||(Tt.content instanceof o&&$t(Tt.content),at(Tt),Pt=Tt);if(Pt=null,Se)return xt;if(ie){if(V)for(rr=_.call(Ze.ownerDocument);Ze.firstChild;)rr.appendChild(Ze.firstChild);else rr=Ze;return Z&&(rr=P.call(r,rr,!0)),rr}var sr=k?Ze.outerHTML:Ze.innerHTML;return z&&(sr=sr.replace(U," "),sr=sr.replace($," ")),w&&me?w.createHTML(sr):sr},t.setConfig=function(xt){Le(xt),q=!0},t.clearConfig=function(){xe=null,q=!1},t.isValidAttribute=function(xt,Ce,Ze){xe||Le({});var ut=xt.toLowerCase(),Tt=Ce.toLowerCase();return yt(ut,Tt,Ze)},t.addHook=function(xt,Ce){typeof Ce=="function"&&(N[xt]=N[xt]||[],N[xt].push(Ce))},t.removeHook=function(xt){N[xt]&&N[xt].pop()},t.removeHooks=function(xt){N[xt]&&(N[xt]=[])},t.removeAllHooks=function(){N={}},t}var BI=Oae();const tCe=/&/g,rCe=/[\W]+/g,nCe=/\s+/g,Pd={escapeExpression(e){const t=/[&<>"'`=]/g,r=/[&<>"'`=]/,n={"&":"&","<":"<",">":">",'"':""","'":"'","`":"`","=":"="};function i(a){return n[a]}if(typeof e!="string"){if(e===null)return"";if(!e)return e+"";e=""+e}return r.test(e)?e.replace(t,i):e},escapeRegExp(e){return e.replace(/[\-\[\]\/\{\}\(\)\*\+\?\.\\\^\$\|]/g,"\\$&")},slugify(e){if(e)return e.toLowerCase().replace(tCe,"and").replace(rCe," ").trim().replace(nCe,"-").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?BI.sanitize(e.toString(),{ADD_ATTR:["target"]}).replace("&","&"):""},removeExtraSpace(e){return e.replace(/\s+/g," ").trim()}};class iCe extends Ho{constructor(){super(...arguments),this.initialized=!1}static get Instance(){return this.instance||(this.instance=new this)}get name(){return qp.LANGUAGE}setConfig(t){this.polyglot=new qxe({locale:t.locale,phrases:t.phrases.rootElement||t.phrases}),this.cache={},this.initialized=!0}isInitialised(){return this.initialized}getPhrase(t,r,n){const i=`${t}.${r}`;if(this.polyglot||vr.throw(new On("LanguageService config must be set.")),!this.polyglot.has(i)){if(!V_.isDevelopment){const d=window.trackJs;return d&&d.console.error(`No phrase set for ${i} in language config`),""}vr.throw(new On(`No phrase set for ${i} in language config.`))}if(!n||Gv(n)){const d=this.cache[i];if(d)return d;const h=this.polyglot.t(i);return this.cache[i]=h,h}const a=M_(n,"smartCount","escapeText"),o={};for(const d in a){let h=Pd.sanitize(a[d]);n.escapeText&&(h=Pd.escapeExpression(h)),o[d]=h}Ld(n.smartCount)&&(o.smart_count=n.smartCount);const u=`${i}:${hc({...o}).join(":")}`,s=this.cache[u];if(s)return s;const c=this.polyglot.t(i,o);return this.cache[u]=c,c}encloseNamespace(t){return(r,n)=>this.getPhrase(t,r,n)}}const gr=iCe.Instance;class Mf extends U_{get name(){return"ErrorPageError"}}const qA="shared.unspecifiedError";class sf extends Mf{constructor(){super(gr.getPhrase(qA,"title"))}get name(){return"UnspecifiedError"}get heading(){return gr.getPhrase(qA,"heading")}get description(){return gr.getPhrase(qA,"description")}get cta(){return!1}}const aCe="modulepreload",oCe=function(e){return"/"+e},yQ={},wn=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){document.getElementsByTagName("link");const o=document.querySelector("meta[property=csp-nonce]"),u=(o==null?void 0:o.nonce)||(o==null?void 0:o.getAttribute("nonce"));i=Promise.allSettled(r.map(s=>{if(s=oCe(s),s in yQ)return;yQ[s]=!0;const c=s.endsWith(".css"),d=c?'[rel="stylesheet"]':"";if(document.querySelector(`link[href="${s}"]${d}`))return;const h=document.createElement("link");if(h.rel=c?"stylesheet":aCe,c||(h.as="script"),h.crossOrigin="",h.href=s,u&&h.setAttribute("nonce",u),document.head.appendChild(h),c)return new Promise((v,g)=>{h.addEventListener("load",v),h.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${s}`)))})}))}function a(o){const u=new Event("vite:preloadError",{cancelable:!0});if(u.payload=o,window.dispatchEvent(u),!u.defaultPrevented)throw o}return i.then(o=>{for(const u of o||[])u.status==="rejected"&&a(u.reason);return t().catch(a)})};var VA={exports:{}},ov={};/**
|
|
119
|
-
* @license React
|
|
120
|
-
* react-jsx-runtime.production.min.js
|
|
121
|
-
*
|
|
122
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
123
|
-
*
|
|
124
|
-
* This source code is licensed under the MIT license found in the
|
|
125
|
-
* LICENSE file in the root directory of this source tree.
|
|
126
|
-
*/var _Q;function sCe(){if(_Q)return ov;_Q=1;var e=zo(),t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(u,s,c){var d,h={},v=null,g=null;c!==void 0&&(v=""+c),s.key!==void 0&&(v=""+s.key),s.ref!==void 0&&(g=s.ref);for(d in s)n.call(s,d)&&!a.hasOwnProperty(d)&&(h[d]=s[d]);if(u&&u.defaultProps)for(d in s=u.defaultProps,s)h[d]===void 0&&(h[d]=s[d]);return{$$typeof:t,type:u,key:v,ref:g,props:h,_owner:i.current}}return ov.Fragment=r,ov.jsx=o,ov.jsxs=o,ov}var SQ;function uCe(){return SQ||(SQ=1,VA.exports=sCe()),VA.exports}var j=uCe();class ou extends swe{onShowAlert(t){if(!this.layoutOptions.options.alertRegion)return super.onShowAlert(t);const{ctor:r,collection:n}=t,i=n?n.toJSON():[],a=o=>$r.Radio.channel($n.ALERT).trigger("remove:alert",o);this.layout.showChildView(this.layoutOptions.options.alertRegion,j.jsx(r,{alerts:i,removeAlert:a}))}}let BA=!1,HA=!1,zA=!1,WA=!0,GA=!0;class lCe extends Ho{get name(){return"LayoutHelper"}shouldHideNav(){return BA}disableNav(){BA=!0}enableNav(){BA=!1}shouldHideHeader(){return HA}disableHeader(){HA=!0}enableHeader(){HA=!1}lockContentWidth(){zA=!0,this.trigger("change:lockContentWidth")}unlockContentWidth(){zA=!1,this.trigger("change:lockContentWidth")}shouldLockContentWidth(){return!!zA}shouldShowSearch(){return GA}enableSearch(){GA=!0}disableSearch(){GA=!1}enableLogoClick(){WA=!0}disableLogoClick(){WA=!1}shouldAllowLogoClick(){return WA}}const mi=new lCe,Ur={CONTENT:"content",POPUP:"popup",ALERT:"alert"},gs={REPORTS_LAYOUT:"ReportsLayout"},dr={CLIPS:"clips:application",DASHBOARD:"dashboard:application",DEFAULT:"default:application",INTERACTIVES:"interactives:application",LOGINS:"logins:application",VIDEOS:"videos:application"};var Lo=(e=>(e.Analytics="analytics",e.LibraryEditor="manage",e.Online="online",e.Primary="lite",e.Exchange="exchange_tv",e.StreamableLearning="streamable_learning",e))(Lo||{});const i0={userProducts(e,t){return{url:"{gateway}/v1/users/me/products",key:"user:products",normalizeOptions:{namespace:"product"},success:e,error:t,bootstrapName:ll.PRODUCTS}}},cCe={Language:"LanguageDataService"},Iae={MixedMediaUpload:"MixedMediaUploadService",Context:"ContextService"},fCe=5,dCe=3;let hCe=class extends Ho{constructor(){super(...arguments),this.routeHistory=[],this.contextHistory=[]}get name(){return Iae.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo($n.SHELL,Fn.ROUTE,this.setContext),this.listenTo($n.SHELL,Fn.ROUTE,this.updateRouteHistory)}setContext(t){var r;Kn.isEqual(t,(r=this.getCurrentContext())==null?void 0:r.appLink)||(this.contextHistory.length>=fCe&&this.contextHistory.shift(),this.contextHistory.push({pageLoad:!this.contextHistory.length,appLink:t}))}getCurrentContext(){if(this.contextHistory.length)return this.contextHistory[this.contextHistory.length-1]}getPreviousContext(){if(!(!this.contextHistory.length||this.contextHistory.length-2<0))return this.contextHistory[this.contextHistory.length-2]}updateRouteHistory(t){var n;Kn.getHref(t)&&(Kn.isEqual(t,(n=this.getCurrentRoute())==null?void 0:n.appLink)||(this.routeHistory.length>=dCe&&this.routeHistory.shift(),this.routeHistory.push({pageLoad:!this.routeHistory.length,appLink:t})))}getCurrentRoute(){if(this.routeHistory.length)return this.routeHistory[this.routeHistory.length-1]}getPreviousRoute(){if(!(!this.routeHistory.length||this.routeHistory.length-2<0))return this.routeHistory[this.routeHistory.length-2]}fromPageLoad(){return this.contextHistory.length===1}_forcePushContext(t){this.setContext(t),this.updateRouteHistory(t)}};const pc=new hCe,Jr={Default:{LOG_IN:"log:in",LOG_OUT:"log:out",ERROR:"error",NOT_FOUND:"not:found",DEV_ERROR:"dev:error",DIALOG_ERROR:"dialog:error",NO_CLASSROOMS_ERROR:"no:classrooms:error",SHARE:"share",GENERATE_REPORT:"generate:report",GIVE_FEEDBACK:"give:feedback",UPLOAD_IMAGE:"upload:image",REMOVE_LOGO:"remove:logo"},Dashboard:{HOME:"index"},Interactives:{HOME:"index",OVERVIEW:"overview",ENGAGEMENT:"engagement",RESULTS:"results",QUESTION_LIST:"question:list",STUDENT_RESULTS:"student:results",GENERATE_REPORT:"generate:report"},Videos:{HOME:"index",VIEWS:"views",OVERVIEW:"overview",ENGAGEMENT:"engagement",TOP_VIDEOS:"top:videos",VIDEO_VIEWS:"video:views",INTERACTIVE_VIEWS:"interactive:views",CLIP_VIEWS:"clip:views"},Clips:{OVERVIEW:"overview",ENGAGEMENT:"engagement"},Logins:{HOME:"index"}},vCe="reportsShared.noAccess",EQ=gr.encloseNamespace(vCe);class pCe extends Mf{constructor(){super("Current user does not have access to analytics")}get name(){return"NoAccessError"}get heading(){return EQ("heading")}get description(){return EQ("body")}get cta(){return!1}}const gCe=[{application:dr.DEFAULT,action:Jr.Default.ERROR},{application:dr.DEFAULT,action:Jr.Default.DEV_ERROR}];function wQ(e,t){pc._forcePushContext(e),mi.disableNav(),mi.disableHeader(),es.routingEnded(),vr.throw(t??new sf)}async function su(e,t){const{appLink:r,shell:n}=e;if(gCe.find(u=>u.application===(r==null?void 0:r.application)&&u.action===(r==null?void 0:r.action))){t(e);return}let i=null;try{i=await Jc(n.store,i0.userProducts())}catch{return wQ(r)}const a=i.some(u=>u.id===Lo.Analytics),o=i.some(u=>u.id===Lo.Primary);if(a&&o){t(e);return}wQ(r,new pCe)}var zn=(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))(zn||{});const Pae={getPrimaryObjectUrl(e,t){let r="";switch(t.typeId){case zn.Video:r=`/videos/${t.id}/${Pd.slugify(t.name)}`;break;case zn.Interactive:r=`/interactive/${t.id}/preview`;break;case zn.Clip:r=`/clips/${t.id}/${Pd.slugify(t.name)}`;break;case zn.Series:r=`/series/${t.id}/${Pd.slugify(t.name)}`;break;case zn.Playlist:r=`/playlists/${t.id}/${Pd.slugify(t.name)}`;break}if(!r)return;const n=new URL(e.url);return n.pathname=r,n.href},getPrimarySearchUrl(e,t){const r=new URL(e.url);return r.pathname="search",r.search=`query=${t}`,r.href},getLiteClassroomsUrl(e){const t=new URL(e.url);return t.pathname="/classrooms",t.href},getSharesUrl(e){const t=new URL(e.url);return t.pathname="/shares",t.href}},mCe="reportsShared.insightsError",YA=gr.encloseNamespace(mCe);class yCe extends Mf{constructor(t){super("Current user is not an admin and has Insights"),this.liteProduct=t}get name(){return"InsightsErrorError"}get heading(){return YA("heading")}get description(){return YA("body")}get cta(){const t=!!this.liteProduct&&Pae.getSharesUrl(this.liteProduct);return t?{url:t,text:YA("cta")}:!1}}const _Ce=[{application:dr.DEFAULT,action:Jr.Default.ERROR},{application:dr.DEFAULT,action:Jr.Default.DEV_ERROR}];function bQ(e,t){pc._forcePushContext(e),mi.disableNav(),mi.disableHeader(),es.routingEnded(),vr.throw(t??new sf)}async function uu(e,t){var i;const{appLink:r,shell:n}=e;if(_Ce.find(a=>a.application===(r==null?void 0:r.application)&&a.action===(r==null?void 0:r.action))){t(e);return}try{const a=Jc(n.store,Wi.permissions()),o=Jc(n.store,i0.userProducts()),u=await Jc(n.store,wu.customerSettings()),s=await a,c=await o;if(s!=null&&s[Na.ViewCustomerAnalytics]){t(e);return}if(!((i=u[br.HasShareFlowV2])!=null&&i.value)){t(e);return}bQ(r,new yCe(c.find(d=>d.id===Lo.Primary)))}catch{bQ(r)}}const uf={classroom(e){return{url:`{gateway}/v1/objects/${e}`,key:`classroom:${e}`}},classroomGroup(e){return{url:`{gateway}/v1/objects/${e}?query=classroom`,key:`classroom:group:${e}:classroom`}},getClassroomsById(e){return e.sort(),{url:`{gateway}/v1/objects?query=${`users[count()]{limit:0}&${e.map(r=>`id=${r}`).join("&")}`}`,key:`classrooms:${e.join(",")}`}},getClassroomGroupsById(e){return e.sort(),{url:`{gateway}/v1/objects?query=${`users[count()]{limit:0}&${e.map(r=>`id=${r}`).join("&")}`}`,key:`classroom:groups:${e.join(",")}`}},userClassrooms(e,t,r,n){return{url:fn.urlBuilder("{gateway}/v1/classrooms",{cursor:e}),key:`user:classrooms${e?`:${e}`:""}`,success:t,error:r,always:n}},getPinnedClassrooms(e,t){return{url:fn.urlBuilder(`{gateway}/v1/objects/${e}/members`,{query:`favouriteClassrooms[favouritedBy{id:${e}},_integrations,enrolments[user]{role:'owner'}]{status:${Xu.Active},customer.id:${t},limit:100,orderby:name}`}),key:"pinned:classrooms",normalize:!1}},getPublished(e,t=""){const r={query:`{orderby:name,status:${Xu.Active}}favouritedBy{id:${e}},_integrations,enrolments[user]{role:'owner'}`};return t&&(r.cursor=t),{url:fn.urlBuilder("{gateway}/v1/classrooms",r),key:`published:classrooms${t?`:${t}`:""}`}}},SCe="reportsShared.noClassrooms",KA=gr.encloseNamespace(SCe);class Dae extends Mf{constructor(t){super("Current user does not have any classrooms"),this.liteProduct=t}get name(){return"NoClassroomsError"}get heading(){return KA("heading")}get description(){return KA("body")}get cta(){const t=!!this.liteProduct&&Pae.getLiteClassroomsUrl(this.liteProduct);return t?{url:t,text:KA("cta")}:!1}}const ECe=[{application:dr.DEFAULT,action:Jr.Default.ERROR},{application:dr.DEFAULT,action:Jr.Default.DEV_ERROR},{application:dr.DEFAULT,action:Jr.Default.NO_CLASSROOMS_ERROR}];function am(e,t){pc._forcePushContext(e),es.routingEnded(),vr.throw(t??new sf)}async function a0(e,t){var u;const{appLink:r,shell:n}=e;if(ECe.find(s=>s.application===(r==null?void 0:r.application)&&s.action===(r==null?void 0:r.action))){t(e);return}let i=null;try{i=await Jc(n.store,Wi.permissions())}catch{return am(r)}if(i!=null&&i[Na.ViewCustomerAnalytics]){t(e);return}let a=null;try{a=await Jc(n.store,uf.userClassrooms(null))}catch{return am(r)}if((u=a==null?void 0:a.data)!=null&&u.length){t(e);return}let o=null;try{o=await Jc(n.store,i0.userProducts())}catch{return am(r)}am(r,new Dae(o.find(s=>s.id===Lo.Primary)))}class wCe extends au{get channelName(){return dr.CLIPS}get appRoutes(){return{"clips/:id/overview(/)":"overview","clips/:id/engagement(/)":"engagement"}}get filters(){return[su,uu,a0]}}class bCe extends ou{get name(){return"Clips Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.CLIPS}static get router(){return wCe}overview(t){wn(async()=>{const{ClipOverviewView:r}=await import("./CpwEUwsc.chunk.js");return{ClipOverviewView:r}},__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])).then(({ClipOverviewView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}engagement(t){wn(async()=>{const{ClipEngagementView:r}=await import("./CFIWZ5KT.chunk.js");return{ClipEngagementView:r}},__vite__mapDeps([37,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,19,20,21,5,22,23,24,9,52,53,1,2,3,6,7,8,30,54,10,11,12,14,15,31,32,28,33,34,35,55])).then(({ClipEngagementView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}}class TCe extends au{get channelName(){return dr.DASHBOARD}get appRoutes(){return{"(/)":"index"}}get filters(){return[su,uu]}}class RCe extends ou{get name(){return"Admin Dashboard Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.DASHBOARD}static get router(){return TCe}index(){wn(async()=>{const{AdminOverviewDashboardView:t}=await import("./BKx5S6xk.chunk.js");return{AdminOverviewDashboardView:t}},__vite__mapDeps([56,14,25,19,20,21,5,22,23,24,9,26,27,28,29,30,31,32,33,34,35,57,58,59,60,11,61,62,3,4,63,13,64,65,66,45,44,48,67,68,69,70])).then(({AdminOverviewDashboardView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}}class xCe extends au{get channelName(){return dr.DASHBOARD}get appRoutes(){return{"(/)":"index"}}get filters(){return[su,uu]}}class CCe extends ou{get name(){return"School Dashboard Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.DASHBOARD}static get router(){return xCe}async index(){const{SchoolAnalyticsDashboardView:t}=await wn(async()=>{const{SchoolAnalyticsDashboardView:r}=await import("./Yi67NERS.chunk.js");return{SchoolAnalyticsDashboardView:r}},__vite__mapDeps([71,34,20,14,72,73,27,74,75,76,64,65,66,21,5,22,77,60,11,62,3,4,63,13,45,44,48,67,68,78,79]));this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))}}class ACe extends au{get channelName(){return dr.DASHBOARD}get appRoutes(){return{"(/)":"index"}}get filters(){return[su,a0,uu]}}class OCe extends ou{get name(){return"Teacher Dashboard Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.DASHBOARD}static get router(){return ACe}index(){wn(async()=>{const{TeacherOverviewDashboardView:t}=await import("./BsFynggy.chunk.js");return{TeacherOverviewDashboardView:t}},__vite__mapDeps([80,14,25,19,20,21,5,22,23,24,9,26,27,28,29,30,57,58,59,60,11,34,61,62,3,4,63,13,64,65,66,45,44,48,67,68,69,81])).then(({TeacherOverviewDashboardView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}}const XA="shared.notFoundError";class kae extends Mf{constructor(){super(gr.getPhrase(XA,"title"))}get name(){return"NotFoundError"}get heading(){return gr.getPhrase(XA,"heading")}get description(){return gr.getPhrase(XA,"description")}}const ICe={uploadBase64Image(e,t,r,n){return{url:`/api/image/upload?type=${e}`,key:"upload:image",data:t,type:pn.POST,success:r,always:n}}},zm={EmptyStates:{Interactives:{StudentInsights:"/images/empty-states/interactives/student-insights-v2.png",NoResponses:"/images/empty-states/interactives/no-responses-v2.png",NoData:"/images/empty-states/interactives/no-data-v2.png",SharedInteractives:"/images/empty-states/interactives/shared-interactives-v2.png",NoQuestions:"/images/empty-states/interactives/no-questions.png"},Shared:{School:"/images/empty-states/logins/school.png",BagQuestionOrange:"/images/empty-states/videos/bag-question-orange.png",PuzzleGroup:"/images/empty-states/videos/puzzle-group.png",Ticket:"/images/empty-states/videos/ticket.png",LoginCount:"/images/empty-states/logins/login-count-v2.png",ViewCount:"/images/empty-states/videos/view-count-v2.png",TypeaheadResults:"/images/empty-states/generic/typeahead-results-v2.png"}},Errors:{SmallAvatar:"/images/error-avatars/small/error-{number}.png",TypeaheadError:"/images/empty-states/generic/typeahead-results-v2.png",NoClassrooms:"/images/errors/no-classrooms.png"}};class PCe extends au{get channelName(){return dr.DEFAULT}get appRoutes(){return{"*path":"catchAllRoutes"}}get appLinks(){return["devError","dialogError","error","notFound","noClassroomsError","share","generateReport","updates","giveFeedback","uploadImage","removeLogo"]}get externalRoutes(){return{"login(/)":"logIn","logout(/)":"logOut"}}get filters(){return[su,a0,uu]}}class DCe extends ou{get name(){return"Default Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.DEFAULT}static get router(){return PCe}catchAllRoutes(){vr.throw(new kae)}async notFound(){const t=$r.Radio.channel("error:view").request("current:error"),{NotFoundView:r}=await wn(async()=>{const{NotFoundView:n}=await import("./B8i2s45X.chunk.js");return{NotFoundView:n}},[]);this.layout.showChildView(Ur.CONTENT,j.jsx(r,{error:t}))}async error(){const t=$r.Radio.channel("error:view").request("current:error"),{ErrorView:r}=await wn(async()=>{const{ErrorView:n}=await Promise.resolve().then(()=>B6e);return{ErrorView:n}},void 0);this.layout.showChildView(Ur.CONTENT,j.jsx(r,{error:t}))}async dialogError(){const t=$r.Radio.channel("error:view").request("current:error");if(!t)return;const{dialogOptions:r}=t,{DialogView:n}=await wn(async()=>{const{DialogView:i}=await import("./DD-2boW1.chunk.js");return{DialogView:i}},[]);this.layout.showChildView(Ur.POPUP,j.jsx(n,{title:r.title,text:r.text,buttons:r.buttons,onDone:t.onDone,onFail:t.onFail,closePopup:()=>this.layout.closePopup()}))}async devError(){const t=$r.Radio.channel("error:view").request("current:error"),{DevErrorView:r}=await wn(async()=>{const{DevErrorView:n}=await import("./DgWHvURU.chunk.js");return{DevErrorView:n}},[]);this.layout.showChildView(Ur.CONTENT,j.jsx(r,{error:t}))}async noClassroomsError(){const t=$r.Radio.channel("error:view").request("current:error"),{NoClassroomsErrorView:r}=await wn(async()=>{const{NoClassroomsErrorView:n}=await import("./DQtbfeRV.chunk.js");return{NoClassroomsErrorView:n}},__vite__mapDeps([82,83]));this.layout.showChildView(Ur.CONTENT,j.jsx(r,{error:t,imageUrl:zm.Errors.NoClassrooms}))}async share(t,r){const{ShareView:n}=await wn(async()=>{const{ShareView:i}=await import("./h4z9gHMh.chunk.js");return{ShareView:i}},__vite__mapDeps([84,85,86,87,88,23,41,42,89,46,63,3,4,5,13,90]));this.layout.showChildView(Ur.POPUP,j.jsx(n,{entityId:t,entityType:r.entityType,closePopup:()=>this.layout.closePopup(),emptyStateImageUrl:zm.EmptyStates.Shared.TypeaheadResults,errorStateImageUrl:zm.Errors.TypeaheadError}))}async generateReport(t){const{GenerateReportView:r}=await wn(async()=>{const{GenerateReportView:n}=await import("./BkcNwg7K.chunk.js").then(i=>i.a);return{GenerateReportView:n}},__vite__mapDeps([12,13]));this.layout.showChildView(Ur.POPUP,j.jsx(r,{type:t.type,closePopup:()=>this.layout.closePopup()}))}async removeLogo(t){const{RemoveLogoView:r}=await wn(async()=>{const{RemoveLogoView:n}=await import("./wND_WD0i.chunk.js");return{RemoveLogoView:n}},__vite__mapDeps([91,13]));this.layout.showChildView(Ur.POPUP,j.jsx(r,{logoId:t.logoId,customerId:t.customerId,closePopup:()=>this.layout.closePopup()}))}async giveFeedback(){const{GiveFeedbackView:t}=await wn(async()=>{const{GiveFeedbackView:r}=await import("./kGI4LAzn.chunk.js");return{GiveFeedbackView:r}},__vite__mapDeps([92,13,87,48,88,23,41,42,89,5,93]));this.layout.showChildView(Ur.POPUP,j.jsx(t,{product:Lo.Analytics,closePopup:()=>this.layout.closePopup()}))}async uploadImage(t){const{ImageUploadView:r}=await wn(async()=>{const{ImageUploadView:n}=await import("./Df8zbYVK.chunk.js");return{ImageUploadView:n}},__vite__mapDeps([94,95]));this.layout.showChildView(Ur.POPUP,j.jsx(r,{getRequest:ICe.uploadBase64Image,imageType:t,popupSize:"lg",closePopup:()=>this.layout.closePopup()}))}}const Bl=or.createContext("unknown");function kCe(){return or.useContext(Bl)}class NCe extends au{get channelName(){return dr.INTERACTIVES}get appRoutes(){return{"interactives(/)":"index","interactives/:id/overview(/)":"overview","interactives/:id/results(/)":"results","interactives/:id/engagement(/)":"engagement","interactives/:id/question-list(/)":"questionList"}}get appLinks(){return["studentResults","generateReport"]}get filters(){return[su,uu]}}class LCe extends ou{get name(){return"Interactives Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.INTERACTIVES}static get router(){return NCe}index(){wn(async()=>{const{SharedInteractivesView:t}=await import("./Ct187YvN.chunk.js");return{SharedInteractivesView:t}},__vite__mapDeps([96,39,40,86,85,87,64,65,66,21,5,22,62,3,4,63,13,45,44,48,67,68,23,97,47,98,78,52,53,99,14,51,11,100])).then(({SharedInteractivesView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Bl.Provider,{value:"interactives",children:j.jsx(t,{})}))})}overview(t){wn(async()=>{const{InteractiveOverviewView:r}=await import("./DykFRaNZ.chunk.js");return{InteractiveOverviewView:r}},__vite__mapDeps([101,102,20,8,9,7,10,11,12,13,14,15,16,17,18,19,21,5,22,23,24,25,26,27,28,29,30,31,32,33,34,35,103,2,3,4,6,85,104,105,49,58,59,106,107,41,108])).then(({InteractiveOverviewView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Bl.Provider,{value:"interactives",children:j.jsx(r,{interactiveMetadataId:t})}))})}engagement(t){wn(async()=>{const{InteractiveEngagementView:r}=await import("./BfkzHBdb.chunk.js");return{InteractiveEngagementView:r}},__vite__mapDeps([109,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,102,20,51,19,21,5,22,23,24,8,9,52,53,7,30,54,10,11,12,14,15,31,32,28,33,34,35,103,2,3,6,85,106,55])).then(({InteractiveEngagementView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Bl.Provider,{value:"interactives",children:j.jsx(r,{interactiveMetadataId:t})}))})}results(t){wn(async()=>{const{InteractiveStudentResultsListView:r}=await import("./DRQ39FRr.chunk.js");return{InteractiveStudentResultsListView:r}},__vite__mapDeps([110,102,20,8,9,52,53,7,10,11,12,13,14,103,2,3,4,5,6,85,104,105,17,49,58,59,111,51,107,39,40,112,113,16,18,41,114])).then(({InteractiveStudentResultsListView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Bl.Provider,{value:"interactives",children:j.jsx(r,{interactiveMetadataId:t})}))})}studentResults(t,r,n){wn(async()=>{const{InteractiveStudentResultsView:i}=await import("./BnqNywwJ.chunk.js");return{InteractiveStudentResultsView:i}},__vite__mapDeps([115,102,20,116,105,17,49,13,45,43,67,117,41,8,9,118])).then(({InteractiveStudentResultsView:i})=>{this.layout.showChildView(Ur.POPUP,j.jsx(Bl.Provider,{value:"interactives",children:j.jsx(i,{userId:t,interactiveId:r,interactionId:n.interactionId,closePopup:()=>this.layout.closePopup()})}))})}questionList(t,r){wn(async()=>{const{InteractiveQuestionListView:n}=await import("./CzF-hI_x.chunk.js");return{InteractiveQuestionListView:n}},__vite__mapDeps([119,116,102,20,105,17,49,13,45,43,67,117,41,113,16,18,39,40,8,9,52,53,7,10,11,12,14,103,2,3,4,5,6,85,111,51,107,120])).then(({InteractiveQuestionListView:n})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(Bl.Provider,{value:"interactives",children:j.jsx(n,{interactiveMetadataId:t,interactionId:r.interactionId})}))})}generateReport(t){wn(async()=>{const{GenerateInteractiveResultsReportView:r}=await import("./CdoC9Mtd.chunk.js");return{GenerateInteractiveResultsReportView:r}},__vite__mapDeps([121,102,20,16,17,18,105,49,13,12,112,113,41,4,114])).then(({GenerateInteractiveResultsReportView:r})=>{this.layout.showChildView(Ur.POPUP,j.jsx(Bl.Provider,{value:"interactives",children:j.jsx(r,{interactiveId:t,closePopup:()=>this.layout.closePopup()})}))})}}class MCe extends au{get channelName(){return dr.LOGINS}get appRoutes(){return{"logins(/)":"index"}}get filters(){return[su,uu]}}class $Ce extends ou{get name(){return"Logins Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.LOGINS}static get router(){return MCe}index(){wn(async()=>{const{LoginOverviewView:t}=await import("./DxJzyDBL.chunk.js");return{LoginOverviewView:t}},__vite__mapDeps([122,10,11,12,13,14,9,26,27,28,29,123,20,30,32,33,124])).then(({LoginOverviewView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}}class FCe extends au{get channelName(){return dr.LOGINS}get appRoutes(){return{"logins(/)":"index"}}get filters(){return[su,uu]}}class jCe extends ou{get name(){return"SchoolLogins Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.LOGINS}static get router(){return FCe}async index(){const{SchoolLoginOverview:t}=await wn(async()=>{const{SchoolLoginOverview:r}=await import("./DYFT7QHy.chunk.js");return{SchoolLoginOverview:r}},__vite__mapDeps([125,10,11,12,13,14,73,27,123,20,126]));this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))}}class UCe extends au{get channelName(){return dr.VIDEOS}get appRoutes(){return{"videos(/)":"index","videos/views(/)":"views","videos/:id/overview(/)":"overview","videos/:id/engagement(/)":"engagement"}}get filters(){return[su,uu]}}class qCe extends ou{get name(){return"Videos Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.VIDEOS}static get router(){return UCe}index(){wn(async()=>{const{CustomerVideoOverviewView:t}=await import("./MaYDtnoS.chunk.js");return{CustomerVideoOverviewView:t}},__vite__mapDeps([127,10,11,12,13,14,25,19,20,21,5,22,23,24,9,26,27,28,29,30,31,32,33,34,35,128,2,3,4,6,124])).then(({CustomerVideoOverviewView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}views(){wn(async()=>{const{CustomerVideoViewsView:t}=await import("./CRWOsqvB.chunk.js");return{CustomerVideoViewsView:t}},__vite__mapDeps([129,9,52,53,99,61,20,30,10,11,12,13,14,128,2,3,4,5,6,130,39,40,62,63,64,65,66,21,22,45,44,48,67,68,131])).then(({CustomerVideoViewsView:t})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))})}overview(t){wn(async()=>{const{VideoOverviewView:r}=await import("./DNTR3iW5.chunk.js");return{VideoOverviewView:r}},__vite__mapDeps([132,133,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])).then(({VideoOverviewView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}engagement(t){wn(async()=>{const{VideoEngagementView:r}=await import("./DTFFRoLz.chunk.js");return{VideoEngagementView:r}},__vite__mapDeps([134,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,19,20,21,5,22,23,24,9,52,53,99,133,2,3,6,7,8,30,54,10,11,12,14,15,31,32,28,33,34,35,55])).then(({VideoEngagementView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}}class VCe extends au{get channelName(){return dr.VIDEOS}get appRoutes(){return{"videos(/)":"index","videos/top(/)":"topVideos","videos/:id/views(/)":"videoViews","interactives/:id/views(/)":"interactiveViews","clips/:id/views(/)":"clipViews","videos/:id/overview":"videoRedirect","videos/:id/engagement":"videoRedirect","clips/:id/overview":"clipRedirect","clips/:id/engagement":"clipRedirect","interactives/:id/overview":"interactiveRedirect","interactives/:id/results":"interactiveRedirect","interactives/:id/engagement":"interactiveRedirect","interactives/:id/question-list":"interactiveRedirect"}}get filters(){return[su,uu]}}class BCe extends ou{get name(){return"School Videos Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.VIDEOS}static get router(){return VCe}async index(){const{SchoolVideoOverviewView:t}=await wn(async()=>{const{SchoolVideoOverviewView:r}=await import("./BJe4D9vd.chunk.js");return{SchoolVideoOverviewView:r}},__vite__mapDeps([135,34,20,10,11,12,13,14,72,73,27,74,75,76,64,65,66,21,5,22,77,136,137,2,3,4,6,138]));this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))}async topVideos(){const{SchoolTopVideosView:t}=await wn(async()=>{const{SchoolTopVideosView:r}=await import("./DZAYXeaL.chunk.js");return{SchoolTopVideosView:r}},__vite__mapDeps([139,78,9,52,53,99,74,20,14,137,2,3,4,5,6,130,39,40,62,63,13,64,65,66,21,22,45,44,48,67,68,131]));this.layout.showChildView(Ur.CONTENT,j.jsx(t,{}))}async videoViews(t){const{SchoolVideoViewsView:r}=await wn(async()=>{const{SchoolVideoViewsView:n}=await import("./CAh5UtFh.chunk.js");return{SchoolVideoViewsView:n}},__vite__mapDeps([140,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,97,65,98,78,74,20,7,8,9,10,11,12,14,72,73,75,136,141]));this.layout.showChildView(Ur.CONTENT,j.jsx(r,{typeId:zn.Video,id:t}))}async interactiveViews(t){const{SchoolVideoViewsView:r}=await wn(async()=>{const{SchoolVideoViewsView:n}=await import("./CAh5UtFh.chunk.js");return{SchoolVideoViewsView:n}},__vite__mapDeps([140,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,97,65,98,78,74,20,7,8,9,10,11,12,14,72,73,75,136,141]));this.layout.showChildView(Ur.CONTENT,j.jsx(r,{typeId:zn.Interactive,id:t}))}async clipViews(t){const{SchoolVideoViewsView:r}=await wn(async()=>{const{SchoolVideoViewsView:n}=await import("./CAh5UtFh.chunk.js");return{SchoolVideoViewsView:n}},__vite__mapDeps([140,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,97,65,98,78,74,20,7,8,9,10,11,12,14,72,73,75,136,141]));this.layout.showChildView(Ur.CONTENT,j.jsx(r,{typeId:zn.Clip,id:t}))}videoRedirect(t,r){Kn.trigger({application:dr.VIDEOS,action:Jr.Videos.VIDEO_VIEWS,args:[t],params:r},{replace:!0})}clipRedirect(t,r){Kn.trigger({application:dr.VIDEOS,action:Jr.Videos.CLIP_VIEWS,args:[t],params:r},{replace:!0})}interactiveRedirect(t,r){Kn.trigger({application:dr.VIDEOS,action:Jr.Videos.INTERACTIVE_VIEWS,args:[t],params:r},{replace:!0})}}class HCe extends au{get channelName(){return dr.VIDEOS}get appRoutes(){return{"videos/:id/overview(/)":"overview","videos/:id/engagement(/)":"engagement"}}get filters(){return[su,a0,uu]}}class zCe extends ou{get name(){return"Videos Application"}get layoutOptions(){return{name:gs.REPORTS_LAYOUT,options:{hideNav:mi.shouldHideNav(),hideHeader:mi.shouldHideHeader(),alertRegion:Ur.ALERT}}}get channelName(){return dr.VIDEOS}static get router(){return HCe}overview(t){wn(async()=>{const{VideoOverviewView:r}=await import("./DNTR3iW5.chunk.js");return{VideoOverviewView:r}},__vite__mapDeps([132,133,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36])).then(({VideoOverviewView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}engagement(t){wn(async()=>{const{VideoEngagementView:r}=await import("./DTFFRoLz.chunk.js");return{VideoEngagementView:r}},__vite__mapDeps([134,38,39,40,41,16,17,18,42,43,44,45,46,47,48,4,13,27,49,50,51,19,20,21,5,22,23,24,9,52,53,99,133,2,3,6,7,8,30,54,10,11,12,14,15,31,32,28,33,34,35,55])).then(({VideoEngagementView:r})=>{this.layout.showChildView(Ur.CONTENT,j.jsx(r,{id:t}))})}}async function WCe(e,t){const r=await Xa(e.store,Wi.currentUser()),n=await Xa(e.store,Wi.permissions()),i=await Xa(e.store,wu.customerSettings());await Xa(e.store,wu.userSettings());try{if(vae.setCurrentRegion(ixe[r.instanceRegion]),e.registerApplication(DCe),!r.isAuthenticated){t(e);return}if(i[br.HasShareFlowV2].value&&n[Na.ViewMyShares]){e.registerApplication(CCe).registerApplication(jCe).registerApplication(BCe),t(e);return}if(e.registerApplication(LCe).registerApplication(bCe),n[Na.ViewCustomerAnalytics]){e.registerApplication(RCe).registerApplication($Ce).registerApplication(qCe),t(e);return}e.registerApplication(OCe).registerApplication(zCe),t(e)}catch{vr.throw(new sf)}}var ep=(e=>(e.Fifo="FifoMemoryCache",e))(ep||{});class GCe extends Ho{constructor(t){super(),this.size=t.size,this.cache={},this.cachedkeys=[],this.store=t.store}get name(){return ep.Fifo}removeCacheKey(t){this.cachedkeys=CI(this.cachedkeys,t)}has(t){return!!this.cache[t]}get(t){return this.cache[t]}set(t,r){(!t||!r)&&vr.throw(new On("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=tie(this.cachedkeys,this.cachedkeys);let a=[];Ja(t,o=>{i[o]&&a.push(o);const u=new RegExp(o,"i"),s=af(i,c=>u.test(c));a.push(...s)}),a.length&&(a=Xv(a),Ja(a,o=>{delete this.cache[o],on(r)&&r(o)}),this.cachedkeys=CI(this.cachedkeys,...a)),!(!this.store||!n)&&this.store.dispatch({type:ho.INVALIDATE,keys:t})}}function YCe(e,t){Qs.registerInstance(GCe,{size:100}),t(e)}var tp=(e=>(e.Ajax="AjaxDataProvider",e.Notifications="NotificationsSignalRDataProvider",e))(tp||{}),Bc=(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))(Bc||{});const KCe={type:Bc.Unknown,message:"",code:0},XCe={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 QCe extends Pf{constructor(t){super(t),dy.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 tp.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=pn.GET);const a=tt.defaults(i,{forceHttps:!1}),o={url:t,method:n,type:n};r&&(o.data=n===pn.POST||n===pn.PUT?JSON.stringify(r):r),a.forceHttps&&(o.url=this.makeHttps(o.url)),a.traditional&&(o.traditional=a.traditional);const u=dy.ajax(o);return tt.keys(this.successMiddleware).length&&u.done(tt.values(this.successMiddleware)),tt.keys(this.errorMiddleware).length&&u.fail(tt.values(this.errorMiddleware)),u}create(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,pn.POST).done((u,s,c)=>i.trigger(a,u,s,c)).fail((u,s,c)=>i.trigger(o,u,s,c))}read(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,pn.GET).done((o,u,s)=>{n.trigger(i,o,u,s)}).fail((o,u,s)=>{n.trigger(a,o,u,s)})}update(t,r,n){const{channel:i,successEvent:a,errorEvent:o}=n;this.base(t,r,pn.PUT).done((u,s,c)=>i.trigger(a,u,s,c)).fail((u,s,c)=>i.trigger(o,u,s,c))}delete(t,r){const{channel:n,successEvent:i,errorEvent:a}=r;this.base(t,null,pn.DELETE).done((o,u,s)=>n.trigger(i,o,u,s)).fail((o,u,s)=>n.trigger(a,o,u,s))}useMiddleware(t,r){this.successMiddleware[t]||(this.successMiddleware[t]=r)}useErrorMiddleware(t,r){this.errorMiddleware[t]||(this.errorMiddleware[t]=r)}parseError(t){const r=t.responseJSON,n=KCe;switch(n.code=t.status,n.message=XCe.parseErrorMessage(this.dataServiceErrorMessageMappings,this.defaultErrorMessageKey,r),t.status){case 400:n.type=Bc.BadRequest;break;case 401:n.type=Bc.Unauthorized;break;case 403:n.type=Bc.Forbidden;break;case 404:n.type=Bc.NotFound;break;case 500:n.type=Bc.InternalServer;break}return n}}function JCe(e,t){Qs.registerInstance(QCe,{dataServiceErrorMessageMappings:{temp:"Error"},defaultErrorMessageKey:"temp"}),t(e)}var Xs=(e=>(e.Success="success",e.Warning="warning",e.Fail="danger",e.Info="info",e.Pending="pending",e))(Xs||{}),ZCe=(e=>(e.Success="Success! 🙌",e.Warning="Whoops...",e.Fail="Oops...",e.Info="FYI",e))(ZCe||{});class eAe extends Ho{constructor(t){super(t)}initialize(){this.alertCollection=new q_,this.listenTo($n.ALERT,"remove:alert",this.removeAlert),this.showAlerts()}get name(){return qp.ALERT}get defaults(){return{maxAlerts:3}}showAlerts(){const t=$r.Radio.channel($n.ALERT);let r={collection:this.alertCollection};this.options.alertViewCtor&&(r=ko({},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=ko({},t,{id:this.generateUniqueAlertId()})),this.alertCollection.push(new ul(t)),this.showAlerts()}clearAllAlerts(){this.alertCollection.reset(null)}success(t){return typeof t=="string"?Ku(()=>this.createAlert(ko({},this.options.defaultSuccessAlert,{message:t})),this):t.useXHR?Ku((r,n)=>this.createAlert(ko({},this.options.defaultSuccessAlert,{message:n})),this):Ku(()=>this.createAlert(ko({},this.options.defaultSuccessAlert,t)),this)}error(t){return typeof t=="string"?Ku(()=>this.createAlert(ko({},this.options.defaultErrorAlert,{message:t})),this):t.useXHR?Ku(r=>this.createAlert(ko({},this.options.defaultErrorAlert,{message:r.message})),this):Ku(()=>this.createAlert(ko({},this.options.defaultErrorAlertIL_DEFAULT,t)),this)}generateUniqueAlertId(){return One("alert_")}}class Nae extends Ho{get defaultProps(){return["dataProvider","cache","bootstrapData","defaultErrorHandler","alertService"]}constructor(t){super(t),Dv(this,"name")||vr.throw(new On("Must provide a name when extending BaseDataService")),Dv(this,"channelName")||vr.throw(new On(`Must provide a channelName for ${Dv(this,"name")}`));const r=[...this.defaultProps,...this.props||[]];this.dataRequestSignatures={},this.mergeOptions(t,r)}getCursors(t){const r=this.cache.get(t);return r?r.cursors:{next:"",previous:""}}clearCacheAndGet(t){const{callback:r,errorCallback:n,eventPrefix:i}=t,{syncEvent:a,errorEvent:o}=this.getEventNames(i),u=this.cache.get(i);if(u&&u.openRequest){const s=d=>{on(n)&&this.stopListening(this.getChannel(),o,n),on(r)&&r(d)},c=()=>{on(r)&&this.stopListening(this.getChannel(),a,r),on(n)&&n()};this.listenToOnce(this.getChannel(),a,s),this.listenToOnce(this.getChannel(),o,c);return}this.cache.remove(t.eventPrefix),this.get(t)}get(t){const{callback:r,errorCallback:n,eventPrefix:i,resource:a,formatData:o,expiryTime:u,successHandler:s,errorHandler:c,bootstrapName:d,invalidateFlight:h}=t,{syncEvent:v,requestEvent:g,successEvent:m,errorEvent:y}=this.getEventNames(i),S=this.getChannel(),w=this.currentTimestamp();this.bootstrapData&&this.bootstrapData[d]&&(this.cacheData(i,this.bootstrapData[d],o,{openRequest:!1,timestamp:w}),delete this.bootstrapData[d]);const b=this.cache.get(i);let A;b&&(A=b.data);const R=b&&b.openRequest,x=this.isExpired(i,u);if(R){const O=P=>{on(n)&&this.stopListening(this.getChannel(),y,n),on(r)&&r(P)},_=()=>{on(r)&&this.stopListening(this.getChannel(),v,r),on(n)&&n()};this.listenToOnce(S,v,O),this.listenToOnce(S,y,_)}if((!this.cache.has(i)||x)&&(S.trigger(g),this.listenToResponse({eventPrefix:i,formatData:o,cacheOptions:{timestamp:w},callback:r,errorCallback:n,successHandler:s,errorHandler:c,invalidateFlight:h}),this.cacheData(i,null,null,{openRequest:!0,timestamp:w}),this.dataProvider.read(a,{channel:this.getTransportChannel(),successEvent:m,errorEvent:y})),A&&on(r)&&!x&&r(A),A)return A}create(t){const{eventPrefix:r,resource:n,data:i,formatData:a,callback:o,errorCallback:u,invalidationKeys:s,successHandler:c,errorHandler:d,invalidateFlight:h}=t,{requestEvent:v,successEvent:g,errorEvent:m}=this.getEventNames(t.eventPrefix),y=this.getChannel(),S=this.getTransportChannel();y.trigger(v),this.listenToResponse({eventPrefix:r,formatData:a,invalidationKeys:s,callback:o,errorCallback:u,successHandler:c,errorHandler:d,invalidateFlight:h}),this.dataProvider.create(n,i,{channel:S,successEvent:g,errorEvent:m})}update(t){const{data:r,callback:n,errorCallback:i,resource:a,formatData:o,eventPrefix:u,invalidationKeys:s,errorHandler:c,successHandler:d,invalidateFlight:h}=t,{requestEvent:v,successEvent:g,errorEvent:m}=this.getEventNames(t.eventPrefix),y=this.getChannel(),S=this.getTransportChannel();y.trigger(v),this.listenToResponse({eventPrefix:u,formatData:o,invalidationKeys:s,callback:n,errorCallback:i,successHandler:d,errorHandler:c,invalidateFlight:h}),this.dataProvider.update(a,r,{channel:S,successEvent:g,errorEvent:m})}delete(t){const{eventPrefix:r,resource:n,callback:i,errorCallback:a,invalidationKeys:o,successHandler:u,errorHandler:s,invalidateFlight:c}=t,{successEvent:d,errorEvent:h}=this.getEventNames(r),v=this.getTransportChannel(),g={noCache:!0,clearCacheKey:!0};this.listenToResponse({eventPrefix:r,invalidationKeys:o,callback:i,errorCallback:a,cacheOptions:g,successHandler:u,errorHandler:s,invalidateFlight:c}),this.dataProvider.delete(n,{channel:v,successEvent:d,errorEvent:h})}listenToResponse(t){const{eventPrefix:r,formatData:n,callback:i,errorCallback:a,successHandler:o,errorHandler:u,invalidationKeys:s,cacheOptions:c={},invalidateFlight:d}=t,{syncEvent:h,successEvent:v,errorEvent:g,successAlertEvent:m,errorAlertEvent:y}=this.getEventNames(r),S=this.getChannel(),w=this.getTransportChannel(),b=this.getAlertChannel();if(on(i)&&this.listenToOnce(S,h,i),on(a)&&this.listenToOnce(S,g,a),this.stopListening(b,m),this.stopListening(b,y),on(o)&&this.listenToOnce(b,m,o),on(u)&&this.listenToOnce(b,y,u),!on(u)&&u!==!1&&on(this.defaultErrorHandler)&&this.listenToOnce(b,y,this.defaultErrorHandler),this.hasRequestSignature(r))return;this.setRequestSignature(r);const A=(x,...O)=>{this.stopListening(S,g,a),b.trigger(m,x,...O);const _=c.noCache?this.formatData(x,n):this.cacheData(r,x,n);c.clearCacheKey&&this.cache.remove(r),S.trigger(h,_),s&&s.length&&this.cache.invalidate(s,P=>S.trigger(`${P}:invalidate`),d)},R=(...x)=>{this.stopListening(S,h,i);const O=this.dataProvider.parseError(...x);b.trigger(y,O),S.trigger(g,O),!c.noCache&&this.cacheData(r,null,null)};this.listenTo(w,v,A),this.listenTo(w,g,R)}cacheData(t,r,n,i={}){const{openRequest:a=!1}=i;let{timestamp:o}=i;o||(o=this.currentTimestamp());const u=this.processPagination(r),s=this.formatData(r,n);return this.cache.set(t,{data:s,timestamp:o,cursors:u,openRequest:a}),s}processPagination(t){if(!t)return;const{pagination:r}=t;if(r){if(r.cursors)return r.cursors;if(!iy(r.offset)&&!iy(r.pageSize))return this.convertOffsetPaginationToCursors(r);if(r.page)return this.convertLegacyPaginationToCursors(r)}}formatData(t,r){return on(r)?r(t):t}chain(){const t=[],r=(a,o)=>{on(a)&&a(o)},n=(a,o)=>{const u=()=>{const s=a.callback;a.callback=c=>{r(s,c),r(t.shift())},this[o](a)};return t.push(u),i},i={func(a){return t.push(()=>{a(t.shift()||(()=>{}))}),i},get(a){return n(a,"get")},create(a){return n(a,"create")},update(a){return n(a,"update")},delete(a){return n(a,"delete")},run(){r(t.shift())}};return i}invalidateCache(t,r=!1){!t||!t.length||this.cache.invalidate(t,n=>this.getChannel().trigger(`${n}:invalidate`),r)}currentTimestamp(){return new Date().valueOf()}isExpired(t,r){if(!r)return!1;const n=this.cache.get(t);if(!n||!n.timestamp)return!0;const i=1e3,a=n.timestamp,o=r*i;return a<this.currentTimestamp()-o}getEventNames(t){return{syncEvent:`${t}:sync`,requestEvent:`${t}:request`,successEvent:`${t}:success`,errorEvent:`${t}:error`,successAlertEvent:`${t}:success:alert`,errorAlertEvent:`${t}:error:alert`}}getTransportChannel(){return $r.Radio.channel(`${this.channelName}:transport`)}getAlertChannel(){return $r.Radio.channel(`${this.channelName}:alert`)}setRequestSignature(t){this.dataRequestSignatures[t]=t}hasRequestSignature(t){return!!this.dataRequestSignatures[t]}convertOffsetPaginationToCursors(t){const{offset:r,pageSize:n,totalItems:i}=t,a=i>0&&r<i&&r+n,o=i>0&&r>0&&Math.max(r-n,0),u={};if(a&&a<i&&(u.next=a.toString()),Ld(o)&&(u.previous=o.toString()),!Gv(u))return u}convertLegacyPaginationToCursors(t){const{page:r,totalPages:n}=t,i=Ld(r)&&r>0&&r<n&&r+1,a=Ld(r)&&r>1&&r-1,o={};if(i&&i<=n&&(o.next=i.toString()),a&&(o.previous=a.toString()),!Gv(o))return o}}const tAe=5;class rAe extends Ho{constructor(){super(...arguments),this.contextHistory=[]}get name(){return sk.Context}static get Instance(){return this.instance||(this.instance=new this)}initialize(){this.listenTo($n.SHELL,Fn.ROUTE,this.setContext)}setContext(t){this.contextHistory.length>=tAe&&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 nAe=new rAe,iAe=pae.V2;class aAe{constructor(t,r,n,i){this.type=t,this.data=r,this.actionContext=n,this.eventVersion=i||iAe}isType(t){return t===this.type}enrich(t,r){this.validateKey(t),this[t]=r}get(t){if(t&&this[t])return this[t]}validateKey(t){(t==="type"||t==="data")&&vr.throw(new On(`${t} is not a valid key`)),this[t]&&vr.throw(new On(`Event already contains an enrichment named ${t}`))}}const oAe={log(e,t,r,n){$r.Radio.channel(oae.ANALYTICS).trigger($d.Inlet,new aAe(e,t,r,n))}};function sAe(){const{appLink:e}=nAe.getCurrentContext();return Ms(e)||vr.throw(new On("Applink does not exist. Check current context.")),cAe(e.application)}function om(e={}){const{location:t,entity:r,workflowPhase:n=null,descriptor:i=null}=e;return t||vr.throw(new On("location must be set.")),r||vr.throw(new On("entity must be set.")),{productArea:e.productArea??sAe(),location:t,entity:r,descriptor:i,workflowPhase:n}}function uAe(e){return!!(fc(e)&&TI(e,t=>Ms(t))||Ms(e))}function lAe(){return Yn.GetCurrentPath()+Yn.GetCurrentQueryString()}function cAe(e){return e.replace(":","-")}const wa={logUserAction(e,t){if(!uAe(e)||!Ms(t))return;const{userAction:r,action:n,eventVersion:i}=wa.buildUserActionEvent(t);oAe.log(r,e,n,i)},mergeOptions(e,t){return Array.isArray(t)||(t=[t]),ko({},e,...t)},buildActionContext(e={}){return om(e)},buildUserActionEvent(e={}){const{actionType:t,eventVersion:r}=e,n=t,i=om(e);return{userAction:n,action:i,eventVersion:r}},buildCurrentLocation(){return lAe()},buildSearchEvent(e,t){return{data:{query:e},action:om({entity:xn.Video,location:ka.SearchBar,descriptor:t})}},buildInstantSearchEvent(e,t,r){let n;r===Vl.Series&&(n=xn.Series),r===Vl.Folder&&(n=xn.Folder),r===Vl.Tags&&(n=xn.Tag),r===Vl.Video&&(n=xn.Video),r===Vl.Clip&&(n=xn.Clip),r===Vl.Interactive&&(n=xn.Interactive),r===Vl.Subjects&&(n=xn.Classification);const i={instant:{},query:e};return t.id&&(i.instant.selectedId=t.id),t.name&&(i.instant.selectedName=t.name),{data:i,action:om({entity:n,location:ka.SearchBar})}},mapInteractionType(e){switch(e){case UI.DragDrop:return jI.DragDrop;case UI.FileSelect:return jI.FileSelect;default:return}}},tl={UPLOAD_COMPLETE:"upload:complete",UPLOAD_SUCCESS:"upload:success",FILES_ADDED:"files:added",UPLOAD_CANCELLED:"upload:cancelled",UNLOCK_NAV:"upload:unlock:nav"};var mk=(e=>(e[e.Permanent=0]="Permanent",e[e.Temporary=1]="Temporary",e))(mk||{});class $f extends U_{constructor(t){super(t),this.dialogOptions||vr.throw(new On("Please provide DialogOptions for your implementation of DialogError"))}get name(){return"DialogError"}onDone(){}onFail(){}}class fAe extends $f{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 dAe=["pdf"],hAe=["doc","docx","dotx","dot","rtf","docm","odt"],vAe=["csv","txt"],pAe=["xlsx"],QA=["jpg","jpeg","png","bmp","gif"],TQ=["3gp","3gpp","asx","avi","divx","flv","m2t","m2ts","m2v","m4v","mkv","mod","mov","mp4","mpe","mpeg","mpg","mts","ogv","qt","ts","vob","webm","wmv"],gAe=["zip"],mAe=["ppt","pps","pptx"],yAe=["srt"],xv={IMAGES:`.${QA.join(",.")}`,VIDEO:`.${TQ.join(",.")}`,MIXED_MEDIA:`.${QA.join(",.")},${TQ.join(",.")}`,RESOURCES:`.${[...hAe,...pAe,...mAe,...dAe,...vAe,...QA,...gAe].join(",.")}`,SUBTITLES:`.${yAe.join(",.")}`},_Ae={LANGUAGE:"language:data:service"},Cv={VIDEO_UPLOAD:"video:upload:service",SUBTITLE_UPLOAD:"subtitle:upload:service",RESOURCE_UPLOAD:"resource:upload:service",MIXED_MEDIA_UPLOAD:"media:upload:service"},SAe={requestUpload(e,t){const r=e.name.split("."),n=t===mk.Permanent?null:Cn.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:pn.POST,data:i}}};var JA={exports:{}},RQ;function EAe(){return RQ||(RQ=1,(function(e,t){(function(n,i){e.exports=i()})(self,function(){return(function(){var r={3099:(function(o){o.exports=function(u){if(typeof u!="function")throw TypeError(String(u)+" is not a function");return u}}),6077:(function(o,u,s){var c=s(111);o.exports=function(d){if(!c(d)&&d!==null)throw TypeError("Can't set "+String(d)+" as a prototype");return d}}),1223:(function(o,u,s){var c=s(5112),d=s(30),h=s(3070),v=c("unscopables"),g=Array.prototype;g[v]==null&&h.f(g,v,{configurable:!0,value:d(null)}),o.exports=function(m){g[v][m]=!0}}),1530:(function(o,u,s){var c=s(8710).charAt;o.exports=function(d,h,v){return h+(v?c(d,h).length:1)}}),5787:(function(o){o.exports=function(u,s,c){if(!(u instanceof s))throw TypeError("Incorrect "+(c?c+" ":"")+"invocation");return u}}),9670:(function(o,u,s){var c=s(111);o.exports=function(d){if(!c(d))throw TypeError(String(d)+" is not an object");return d}}),4019:(function(o){o.exports=typeof ArrayBuffer<"u"&&typeof DataView<"u"}),260:(function(o,u,s){var c=s(4019),d=s(9781),h=s(7854),v=s(111),g=s(6656),m=s(648),y=s(8880),S=s(1320),w=s(3070).f,b=s(9518),A=s(7674),R=s(5112),x=s(9711),O=h.Int8Array,_=O&&O.prototype,P=h.Uint8ClampedArray,N=P&&P.prototype,U=O&&b(O),$=_&&b(_),B=Object.prototype,Y=B.isPrototypeOf,Q=R("toStringTag"),K=x("TYPED_ARRAY_TAG"),ee=c&&!!A&&m(h.opera)!=="Opera",ne=!1,D,I={Int8Array:1,Uint8Array:1,Uint8ClampedArray:1,Int16Array:2,Uint16Array:2,Int32Array:4,Uint32Array:4,Float32Array:4,Float64Array:8},L={BigInt64Array:8,BigUint64Array:8},re=function(k){if(!v(k))return!1;var q=m(k);return q==="DataView"||g(I,q)||g(L,q)},te=function(z){if(!v(z))return!1;var k=m(z);return g(I,k)||g(L,k)},ce=function(z){if(te(z))return z;throw TypeError("Target is not a typed array")},be=function(z){if(A){if(Y.call(U,z))return z}else for(var k in I)if(g(I,D)){var q=h[k];if(q&&(z===q||Y.call(q,z)))return z}throw TypeError("Target is not a typed array constructor")},Ie=function(z,k,q){if(d){if(q)for(var H in I){var ie=h[H];ie&&g(ie.prototype,z)&&delete ie.prototype[z]}(!$[z]||q)&&S($,z,q?k:ee&&_[z]||k)}},je=function(z,k,q){var H,ie;if(d){if(A){if(q)for(H in I)ie=h[H],ie&&g(ie,z)&&delete ie[z];if(!U[z]||q)try{return S(U,z,q?k:ee&&O[z]||k)}catch{}else return}for(H in I)ie=h[H],ie&&(!ie[z]||q)&&S(ie,z,k)}};for(D in I)h[D]||(ee=!1);if((!ee||typeof U!="function"||U===Function.prototype)&&(U=function(){throw TypeError("Incorrect invocation")},ee))for(D in I)h[D]&&A(h[D],U);if((!ee||!$||$===B)&&($=U.prototype,ee))for(D in I)h[D]&&A(h[D].prototype,$);if(ee&&b(N)!==$&&A(N,$),d&&!g($,Q)){ne=!0,w($,Q,{get:function(){return v(this)?this[K]:void 0}});for(D in I)h[D]&&y(h[D],K,D)}o.exports={NATIVE_ARRAY_BUFFER_VIEWS:ee,TYPED_ARRAY_TAG:ne&&K,aTypedArray:ce,aTypedArrayConstructor:be,exportTypedArrayMethod:Ie,exportTypedArrayStaticMethod:je,isView:re,isTypedArray:te,TypedArray:U,TypedArrayPrototype:$}}),3331:(function(o,u,s){var c=s(7854),d=s(9781),h=s(4019),v=s(8880),g=s(2248),m=s(7293),y=s(5787),S=s(9958),w=s(7466),b=s(7067),A=s(1179),R=s(9518),x=s(7674),O=s(8006).f,_=s(3070).f,P=s(1285),N=s(8003),U=s(9909),$=U.get,B=U.set,Y="ArrayBuffer",Q="DataView",K="prototype",ee="Wrong length",ne="Wrong index",D=c[Y],I=D,L=c[Q],re=L&&L[K],te=Object.prototype,ce=c.RangeError,be=A.pack,Ie=A.unpack,je=function(Ee){return[Ee&255]},z=function(Ee){return[Ee&255,Ee>>8&255]},k=function(Ee){return[Ee&255,Ee>>8&255,Ee>>16&255,Ee>>24&255]},q=function(Ee){return Ee[3]<<24|Ee[2]<<16|Ee[1]<<8|Ee[0]},H=function(Ee){return be(Ee,23,4)},ie=function(Ee){return be(Ee,52,8)},V=function(Ee,_e){_(Ee[K],_e,{get:function(){return $(this)[_e]}})},Z=function(Ee,_e,xe,ke){var Le=b(xe),He=$(Ee);if(Le+_e>He.byteLength)throw ce(ne);var _t=$(He.buffer).bytes,jt=Le+He.byteOffset,Lt=_t.slice(jt,jt+_e);return ke?Lt:Lt.reverse()},me=function(Ee,_e,xe,ke,Le,He){var _t=b(xe),jt=$(Ee);if(_t+_e>jt.byteLength)throw ce(ne);for(var Lt=$(jt.buffer).bytes,Qe=_t+jt.byteOffset,bt=ke(+Le),mt=0;mt<_e;mt++)Lt[Qe+mt]=bt[He?mt:_e-mt-1]};if(!h)I=function(_e){y(this,I,Y);var xe=b(_e);B(this,{bytes:P.call(new Array(xe),0),byteLength:xe}),d||(this.byteLength=xe)},L=function(_e,xe,ke){y(this,L,Q),y(_e,I,Q);var Le=$(_e).byteLength,He=S(xe);if(He<0||He>Le)throw ce("Wrong offset");if(ke=ke===void 0?Le-He:w(ke),He+ke>Le)throw ce(ee);B(this,{buffer:_e,byteLength:ke,byteOffset:He}),d||(this.buffer=_e,this.byteLength=ke,this.byteOffset=He)},d&&(V(I,"byteLength"),V(L,"buffer"),V(L,"byteLength"),V(L,"byteOffset")),g(L[K],{getInt8:function(_e){return Z(this,1,_e)[0]<<24>>24},getUint8:function(_e){return Z(this,1,_e)[0]},getInt16:function(_e){var xe=Z(this,2,_e,arguments.length>1?arguments[1]:void 0);return(xe[1]<<8|xe[0])<<16>>16},getUint16:function(_e){var xe=Z(this,2,_e,arguments.length>1?arguments[1]:void 0);return xe[1]<<8|xe[0]},getInt32:function(_e){return q(Z(this,4,_e,arguments.length>1?arguments[1]:void 0))},getUint32:function(_e){return q(Z(this,4,_e,arguments.length>1?arguments[1]:void 0))>>>0},getFloat32:function(_e){return Ie(Z(this,4,_e,arguments.length>1?arguments[1]:void 0),23)},getFloat64:function(_e){return Ie(Z(this,8,_e,arguments.length>1?arguments[1]:void 0),52)},setInt8:function(_e,xe){me(this,1,_e,je,xe)},setUint8:function(_e,xe){me(this,1,_e,je,xe)},setInt16:function(_e,xe){me(this,2,_e,z,xe,arguments.length>2?arguments[2]:void 0)},setUint16:function(_e,xe){me(this,2,_e,z,xe,arguments.length>2?arguments[2]:void 0)},setInt32:function(_e,xe){me(this,4,_e,k,xe,arguments.length>2?arguments[2]:void 0)},setUint32:function(_e,xe){me(this,4,_e,k,xe,arguments.length>2?arguments[2]:void 0)},setFloat32:function(_e,xe){me(this,4,_e,H,xe,arguments.length>2?arguments[2]:void 0)},setFloat64:function(_e,xe){me(this,8,_e,ie,xe,arguments.length>2?arguments[2]:void 0)}});else{if(!m(function(){D(1)})||!m(function(){new D(-1)})||m(function(){return new D,new D(1.5),new D(NaN),D.name!=Y})){I=function(_e){return y(this,I),new D(b(_e))};for(var fe=I[K]=D[K],Re=O(D),Se=0,Oe;Re.length>Se;)(Oe=Re[Se++])in I||v(I,Oe,D[Oe]);fe.constructor=I}x&&R(re)!==te&&x(re,te);var Me=new L(new I(2)),de=re.setInt8;Me.setInt8(0,2147483648),Me.setInt8(1,2147483649),(Me.getInt8(0)||!Me.getInt8(1))&&g(re,{setInt8:function(_e,xe){de.call(this,_e,xe<<24>>24)},setUint8:function(_e,xe){de.call(this,_e,xe<<24>>24)}},{unsafe:!0})}N(I,Y),N(L,Q),o.exports={ArrayBuffer:I,DataView:L}}),1048:(function(o,u,s){var c=s(7908),d=s(1400),h=s(7466),v=Math.min;o.exports=[].copyWithin||function(m,y){var S=c(this),w=h(S.length),b=d(m,w),A=d(y,w),R=arguments.length>2?arguments[2]:void 0,x=v((R===void 0?w:d(R,w))-A,w-b),O=1;for(A<b&&b<A+x&&(O=-1,A+=x-1,b+=x-1);x-- >0;)A in S?S[b]=S[A]:delete S[b],b+=O,A+=O;return S}}),1285:(function(o,u,s){var c=s(7908),d=s(1400),h=s(7466);o.exports=function(g){for(var m=c(this),y=h(m.length),S=arguments.length,w=d(S>1?arguments[1]:void 0,y),b=S>2?arguments[2]:void 0,A=b===void 0?y:d(b,y);A>w;)m[w++]=g;return m}}),8533:(function(o,u,s){var c=s(2092).forEach,d=s(9341),h=d("forEach");o.exports=h?[].forEach:function(g){return c(this,g,arguments.length>1?arguments[1]:void 0)}}),8457:(function(o,u,s){var c=s(9974),d=s(7908),h=s(3411),v=s(7659),g=s(7466),m=s(6135),y=s(1246);o.exports=function(w){var b=d(w),A=typeof this=="function"?this:Array,R=arguments.length,x=R>1?arguments[1]:void 0,O=x!==void 0,_=y(b),P=0,N,U,$,B,Y,Q;if(O&&(x=c(x,R>2?arguments[2]:void 0,2)),_!=null&&!(A==Array&&v(_)))for(B=_.call(b),Y=B.next,U=new A;!($=Y.call(B)).done;P++)Q=O?h(B,x,[$.value,P],!0):$.value,m(U,P,Q);else for(N=g(b.length),U=new A(N);N>P;P++)Q=O?x(b[P],P):b[P],m(U,P,Q);return U.length=P,U}}),1318:(function(o,u,s){var c=s(5656),d=s(7466),h=s(1400),v=function(g){return function(m,y,S){var w=c(m),b=d(w.length),A=h(S,b),R;if(g&&y!=y){for(;b>A;)if(R=w[A++],R!=R)return!0}else for(;b>A;A++)if((g||A in w)&&w[A]===y)return g||A||0;return!g&&-1}};o.exports={includes:v(!0),indexOf:v(!1)}}),2092:(function(o,u,s){var c=s(9974),d=s(8361),h=s(7908),v=s(7466),g=s(5417),m=[].push,y=function(S){var w=S==1,b=S==2,A=S==3,R=S==4,x=S==6,O=S==7,_=S==5||x;return function(P,N,U,$){for(var B=h(P),Y=d(B),Q=c(N,U,3),K=v(Y.length),ee=0,ne=$||g,D=w?ne(P,K):b||O?ne(P,0):void 0,I,L;K>ee;ee++)if((_||ee in Y)&&(I=Y[ee],L=Q(I,ee,B),S))if(w)D[ee]=L;else if(L)switch(S){case 3:return!0;case 5:return I;case 6:return ee;case 2:m.call(D,I)}else switch(S){case 4:return!1;case 7:m.call(D,I)}return x?-1:A||R?R:D}};o.exports={forEach:y(0),map:y(1),filter:y(2),some:y(3),every:y(4),find:y(5),findIndex:y(6),filterOut:y(7)}}),6583:(function(o,u,s){var c=s(5656),d=s(9958),h=s(7466),v=s(9341),g=Math.min,m=[].lastIndexOf,y=!!m&&1/[1].lastIndexOf(1,-0)<0,S=v("lastIndexOf"),w=y||!S;o.exports=w?function(A){if(y)return m.apply(this,arguments)||0;var R=c(this),x=h(R.length),O=x-1;for(arguments.length>1&&(O=g(O,d(arguments[1]))),O<0&&(O=x+O);O>=0;O--)if(O in R&&R[O]===A)return O||0;return-1}:m}),1194:(function(o,u,s){var c=s(7293),d=s(5112),h=s(7392),v=d("species");o.exports=function(g){return h>=51||!c(function(){var m=[],y=m.constructor={};return y[v]=function(){return{foo:1}},m[g](Boolean).foo!==1})}}),9341:(function(o,u,s){var c=s(7293);o.exports=function(d,h){var v=[][d];return!!v&&c(function(){v.call(null,h||function(){throw 1},1)})}}),3671:(function(o,u,s){var c=s(3099),d=s(7908),h=s(8361),v=s(7466),g=function(m){return function(y,S,w,b){c(S);var A=d(y),R=h(A),x=v(A.length),O=m?x-1:0,_=m?-1:1;if(w<2)for(;;){if(O in R){b=R[O],O+=_;break}if(O+=_,m?O<0:x<=O)throw TypeError("Reduce of empty array with no initial value")}for(;m?O>=0:x>O;O+=_)O in R&&(b=S(b,R[O],O,A));return b}};o.exports={left:g(!1),right:g(!0)}}),5417:(function(o,u,s){var c=s(111),d=s(3157),h=s(5112),v=h("species");o.exports=function(g,m){var y;return d(g)&&(y=g.constructor,typeof y=="function"&&(y===Array||d(y.prototype))?y=void 0:c(y)&&(y=y[v],y===null&&(y=void 0))),new(y===void 0?Array:y)(m===0?0:m)}}),3411:(function(o,u,s){var c=s(9670),d=s(9212);o.exports=function(h,v,g,m){try{return m?v(c(g)[0],g[1]):v(g)}catch(y){throw d(h),y}}}),7072:(function(o,u,s){var c=s(5112),d=c("iterator"),h=!1;try{var v=0,g={next:function(){return{done:!!v++}},return:function(){h=!0}};g[d]=function(){return this},Array.from(g,function(){throw 2})}catch{}o.exports=function(m,y){if(!y&&!h)return!1;var S=!1;try{var w={};w[d]=function(){return{next:function(){return{done:S=!0}}}},m(w)}catch{}return S}}),4326:(function(o){var u={}.toString;o.exports=function(s){return u.call(s).slice(8,-1)}}),648:(function(o,u,s){var c=s(1694),d=s(4326),h=s(5112),v=h("toStringTag"),g=d((function(){return arguments})())=="Arguments",m=function(y,S){try{return y[S]}catch{}};o.exports=c?d:function(y){var S,w,b;return y===void 0?"Undefined":y===null?"Null":typeof(w=m(S=Object(y),v))=="string"?w:g?d(S):(b=d(S))=="Object"&&typeof S.callee=="function"?"Arguments":b}}),9920:(function(o,u,s){var c=s(6656),d=s(3887),h=s(1236),v=s(3070);o.exports=function(g,m){for(var y=d(m),S=v.f,w=h.f,b=0;b<y.length;b++){var A=y[b];c(g,A)||S(g,A,w(m,A))}}}),8544:(function(o,u,s){var c=s(7293);o.exports=!c(function(){function d(){}return d.prototype.constructor=null,Object.getPrototypeOf(new d)!==d.prototype})}),4994:(function(o,u,s){var c=s(3383).IteratorPrototype,d=s(30),h=s(9114),v=s(8003),g=s(7497),m=function(){return this};o.exports=function(y,S,w){var b=S+" Iterator";return y.prototype=d(c,{next:h(1,w)}),v(y,b,!1,!0),g[b]=m,y}}),8880:(function(o,u,s){var c=s(9781),d=s(3070),h=s(9114);o.exports=c?function(v,g,m){return d.f(v,g,h(1,m))}:function(v,g,m){return v[g]=m,v}}),9114:(function(o){o.exports=function(u,s){return{enumerable:!(u&1),configurable:!(u&2),writable:!(u&4),value:s}}}),6135:(function(o,u,s){var c=s(7593),d=s(3070),h=s(9114);o.exports=function(v,g,m){var y=c(g);y in v?d.f(v,y,h(0,m)):v[y]=m}}),654:(function(o,u,s){var c=s(2109),d=s(4994),h=s(9518),v=s(7674),g=s(8003),m=s(8880),y=s(1320),S=s(5112),w=s(1913),b=s(7497),A=s(3383),R=A.IteratorPrototype,x=A.BUGGY_SAFARI_ITERATORS,O=S("iterator"),_="keys",P="values",N="entries",U=function(){return this};o.exports=function($,B,Y,Q,K,ee,ne){d(Y,B,Q);var D=function(k){if(k===K&&ce)return ce;if(!x&&k in re)return re[k];switch(k){case _:return function(){return new Y(this,k)};case P:return function(){return new Y(this,k)};case N:return function(){return new Y(this,k)}}return function(){return new Y(this)}},I=B+" Iterator",L=!1,re=$.prototype,te=re[O]||re["@@iterator"]||K&&re[K],ce=!x&&te||D(K),be=B=="Array"&&re.entries||te,Ie,je,z;if(be&&(Ie=h(be.call(new $)),R!==Object.prototype&&Ie.next&&(!w&&h(Ie)!==R&&(v?v(Ie,R):typeof Ie[O]!="function"&&m(Ie,O,U)),g(Ie,I,!0,!0),w&&(b[I]=U))),K==P&&te&&te.name!==P&&(L=!0,ce=function(){return te.call(this)}),(!w||ne)&&re[O]!==ce&&m(re,O,ce),b[B]=ce,K)if(je={values:D(P),keys:ee?ce:D(_),entries:D(N)},ne)for(z in je)(x||L||!(z in re))&&y(re,z,je[z]);else c({target:B,proto:!0,forced:x||L},je);return je}}),9781:(function(o,u,s){var c=s(7293);o.exports=!c(function(){return Object.defineProperty({},1,{get:function(){return 7}})[1]!=7})}),317:(function(o,u,s){var c=s(7854),d=s(111),h=c.document,v=d(h)&&d(h.createElement);o.exports=function(g){return v?h.createElement(g):{}}}),8324:(function(o){o.exports={CSSRuleList:0,CSSStyleDeclaration:0,CSSValueList:0,ClientRectList:0,DOMRectList:0,DOMStringList:0,DOMTokenList:1,DataTransferItemList:0,FileList:0,HTMLAllCollection:0,HTMLCollection:0,HTMLFormElement:0,HTMLSelectElement:0,MediaList:0,MimeTypeArray:0,NamedNodeMap:0,NodeList:1,PaintRequestList:0,Plugin:0,PluginArray:0,SVGLengthList:0,SVGNumberList:0,SVGPathSegList:0,SVGPointList:0,SVGStringList:0,SVGTransformList:0,SourceBufferList:0,StyleSheetList:0,TextTrackCueList:0,TextTrackList:0,TouchList:0}}),8113:(function(o,u,s){var c=s(5005);o.exports=c("navigator","userAgent")||""}),7392:(function(o,u,s){var c=s(7854),d=s(8113),h=c.process,v=h&&h.versions,g=v&&v.v8,m,y;g?(m=g.split("."),y=m[0]+m[1]):d&&(m=d.match(/Edge\/(\d+)/),(!m||m[1]>=74)&&(m=d.match(/Chrome\/(\d+)/),m&&(y=m[1]))),o.exports=y&&+y}),748:(function(o){o.exports=["constructor","hasOwnProperty","isPrototypeOf","propertyIsEnumerable","toLocaleString","toString","valueOf"]}),2109:(function(o,u,s){var c=s(7854),d=s(1236).f,h=s(8880),v=s(1320),g=s(3505),m=s(9920),y=s(4705);o.exports=function(S,w){var b=S.target,A=S.global,R=S.stat,x,O,_,P,N,U;if(A?O=c:R?O=c[b]||g(b,{}):O=(c[b]||{}).prototype,O)for(_ in w){if(N=w[_],S.noTargetGet?(U=d(O,_),P=U&&U.value):P=O[_],x=y(A?_:b+(R?".":"#")+_,S.forced),!x&&P!==void 0){if(typeof N==typeof P)continue;m(N,P)}(S.sham||P&&P.sham)&&h(N,"sham",!0),v(O,_,N,S)}}}),7293:(function(o){o.exports=function(u){try{return!!u()}catch{return!0}}}),7007:(function(o,u,s){s(4916);var c=s(1320),d=s(7293),h=s(5112),v=s(2261),g=s(8880),m=h("species"),y=!d(function(){var R=/./;return R.exec=function(){var x=[];return x.groups={a:"7"},x},"".replace(R,"$<a>")!=="7"}),S=(function(){return"a".replace(/./,"$0")==="$0"})(),w=h("replace"),b=(function(){return/./[w]?/./[w]("a","$0")==="":!1})(),A=!d(function(){var R=/(?:)/,x=R.exec;R.exec=function(){return x.apply(this,arguments)};var O="ab".split(R);return O.length!==2||O[0]!=="a"||O[1]!=="b"});o.exports=function(R,x,O,_){var P=h(R),N=!d(function(){var K={};return K[P]=function(){return 7},""[R](K)!=7}),U=N&&!d(function(){var K=!1,ee=/a/;return R==="split"&&(ee={},ee.constructor={},ee.constructor[m]=function(){return ee},ee.flags="",ee[P]=/./[P]),ee.exec=function(){return K=!0,null},ee[P](""),!K});if(!N||!U||R==="replace"&&!(y&&S&&!b)||R==="split"&&!A){var $=/./[P],B=O(P,""[R],function(K,ee,ne,D,I){return ee.exec===v?N&&!I?{done:!0,value:$.call(ee,ne,D)}:{done:!0,value:K.call(ne,ee,D)}:{done:!1}},{REPLACE_KEEPS_$0:S,REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE:b}),Y=B[0],Q=B[1];c(String.prototype,R,Y),c(RegExp.prototype,P,x==2?function(K,ee){return Q.call(K,this,ee)}:function(K){return Q.call(K,this)})}_&&g(RegExp.prototype[P],"sham",!0)}}),9974:(function(o,u,s){var c=s(3099);o.exports=function(d,h,v){if(c(d),h===void 0)return d;switch(v){case 0:return function(){return d.call(h)};case 1:return function(g){return d.call(h,g)};case 2:return function(g,m){return d.call(h,g,m)};case 3:return function(g,m,y){return d.call(h,g,m,y)}}return function(){return d.apply(h,arguments)}}}),5005:(function(o,u,s){var c=s(857),d=s(7854),h=function(v){return typeof v=="function"?v:void 0};o.exports=function(v,g){return arguments.length<2?h(c[v])||h(d[v]):c[v]&&c[v][g]||d[v]&&d[v][g]}}),1246:(function(o,u,s){var c=s(648),d=s(7497),h=s(5112),v=h("iterator");o.exports=function(g){if(g!=null)return g[v]||g["@@iterator"]||d[c(g)]}}),8554:(function(o,u,s){var c=s(9670),d=s(1246);o.exports=function(h){var v=d(h);if(typeof v!="function")throw TypeError(String(h)+" is not iterable");return c(v.call(h))}}),647:(function(o,u,s){var c=s(7908),d=Math.floor,h="".replace,v=/\$([$&'`]|\d\d?|<[^>]*>)/g,g=/\$([$&'`]|\d\d?)/g;o.exports=function(m,y,S,w,b,A){var R=S+m.length,x=w.length,O=g;return b!==void 0&&(b=c(b),O=v),h.call(A,O,function(_,P){var N;switch(P.charAt(0)){case"$":return"$";case"&":return m;case"`":return y.slice(0,S);case"'":return y.slice(R);case"<":N=b[P.slice(1,-1)];break;default:var U=+P;if(U===0)return _;if(U>x){var $=d(U/10);return $===0?_:$<=x?w[$-1]===void 0?P.charAt(1):w[$-1]+P.charAt(1):_}N=w[U-1]}return N===void 0?"":N})}}),7854:(function(o,u,s){var c=function(d){return d&&d.Math==Math&&d};o.exports=c(typeof globalThis=="object"&&globalThis)||c(typeof window=="object"&&window)||c(typeof self=="object"&&self)||c(typeof s.g=="object"&&s.g)||(function(){return this})()||Function("return this")()}),6656:(function(o){var u={}.hasOwnProperty;o.exports=function(s,c){return u.call(s,c)}}),3501:(function(o){o.exports={}}),490:(function(o,u,s){var c=s(5005);o.exports=c("document","documentElement")}),4664:(function(o,u,s){var c=s(9781),d=s(7293),h=s(317);o.exports=!c&&!d(function(){return Object.defineProperty(h("div"),"a",{get:function(){return 7}}).a!=7})}),1179:(function(o){var u=Math.abs,s=Math.pow,c=Math.floor,d=Math.log,h=Math.LN2,v=function(m,y,S){var w=new Array(S),b=S*8-y-1,A=(1<<b)-1,R=A>>1,x=y===23?s(2,-24)-s(2,-77):0,O=m<0||m===0&&1/m<0?1:0,_=0,P,N,U;for(m=u(m),m!=m||m===1/0?(N=m!=m?1:0,P=A):(P=c(d(m)/h),m*(U=s(2,-P))<1&&(P--,U*=2),P+R>=1?m+=x/U:m+=x*s(2,1-R),m*U>=2&&(P++,U/=2),P+R>=A?(N=0,P=A):P+R>=1?(N=(m*U-1)*s(2,y),P=P+R):(N=m*s(2,R-1)*s(2,y),P=0));y>=8;w[_++]=N&255,N/=256,y-=8);for(P=P<<y|N,b+=y;b>0;w[_++]=P&255,P/=256,b-=8);return w[--_]|=O*128,w},g=function(m,y){var S=m.length,w=S*8-y-1,b=(1<<w)-1,A=b>>1,R=w-7,x=S-1,O=m[x--],_=O&127,P;for(O>>=7;R>0;_=_*256+m[x],x--,R-=8);for(P=_&(1<<-R)-1,_>>=-R,R+=y;R>0;P=P*256+m[x],x--,R-=8);if(_===0)_=1-A;else{if(_===b)return P?NaN:O?-1/0:1/0;P=P+s(2,y),_=_-A}return(O?-1:1)*P*s(2,_-y)};o.exports={pack:v,unpack:g}}),8361:(function(o,u,s){var c=s(7293),d=s(4326),h="".split;o.exports=c(function(){return!Object("z").propertyIsEnumerable(0)})?function(v){return d(v)=="String"?h.call(v,""):Object(v)}:Object}),9587:(function(o,u,s){var c=s(111),d=s(7674);o.exports=function(h,v,g){var m,y;return d&&typeof(m=v.constructor)=="function"&&m!==g&&c(y=m.prototype)&&y!==g.prototype&&d(h,y),h}}),2788:(function(o,u,s){var c=s(5465),d=Function.toString;typeof c.inspectSource!="function"&&(c.inspectSource=function(h){return d.call(h)}),o.exports=c.inspectSource}),9909:(function(o,u,s){var c=s(8536),d=s(7854),h=s(111),v=s(8880),g=s(6656),m=s(5465),y=s(6200),S=s(3501),w=d.WeakMap,b,A,R,x=function(B){return R(B)?A(B):b(B,{})},O=function(B){return function(Y){var Q;if(!h(Y)||(Q=A(Y)).type!==B)throw TypeError("Incompatible receiver, "+B+" required");return Q}};if(c){var _=m.state||(m.state=new w),P=_.get,N=_.has,U=_.set;b=function(B,Y){return Y.facade=B,U.call(_,B,Y),Y},A=function(B){return P.call(_,B)||{}},R=function(B){return N.call(_,B)}}else{var $=y("state");S[$]=!0,b=function(B,Y){return Y.facade=B,v(B,$,Y),Y},A=function(B){return g(B,$)?B[$]:{}},R=function(B){return g(B,$)}}o.exports={set:b,get:A,has:R,enforce:x,getterFor:O}}),7659:(function(o,u,s){var c=s(5112),d=s(7497),h=c("iterator"),v=Array.prototype;o.exports=function(g){return g!==void 0&&(d.Array===g||v[h]===g)}}),3157:(function(o,u,s){var c=s(4326);o.exports=Array.isArray||function(h){return c(h)=="Array"}}),4705:(function(o,u,s){var c=s(7293),d=/#|\.prototype\./,h=function(S,w){var b=g[v(S)];return b==y?!0:b==m?!1:typeof w=="function"?c(w):!!w},v=h.normalize=function(S){return String(S).replace(d,".").toLowerCase()},g=h.data={},m=h.NATIVE="N",y=h.POLYFILL="P";o.exports=h}),111:(function(o){o.exports=function(u){return typeof u=="object"?u!==null:typeof u=="function"}}),1913:(function(o){o.exports=!1}),7850:(function(o,u,s){var c=s(111),d=s(4326),h=s(5112),v=h("match");o.exports=function(g){var m;return c(g)&&((m=g[v])!==void 0?!!m:d(g)=="RegExp")}}),9212:(function(o,u,s){var c=s(9670);o.exports=function(d){var h=d.return;if(h!==void 0)return c(h.call(d)).value}}),3383:(function(o,u,s){var c=s(7293),d=s(9518),h=s(8880),v=s(6656),g=s(5112),m=s(1913),y=g("iterator"),S=!1,w=function(){return this},b,A,R;[].keys&&(R=[].keys(),"next"in R?(A=d(d(R)),A!==Object.prototype&&(b=A)):S=!0);var x=b==null||c(function(){var O={};return b[y].call(O)!==O});x&&(b={}),(!m||x)&&!v(b,y)&&h(b,y,w),o.exports={IteratorPrototype:b,BUGGY_SAFARI_ITERATORS:S}}),7497:(function(o){o.exports={}}),133:(function(o,u,s){var c=s(7293);o.exports=!!Object.getOwnPropertySymbols&&!c(function(){return!String(Symbol())})}),590:(function(o,u,s){var c=s(7293),d=s(5112),h=s(1913),v=d("iterator");o.exports=!c(function(){var g=new URL("b?a=1&b=2&c=3","http://a"),m=g.searchParams,y="";return g.pathname="c%20d",m.forEach(function(S,w){m.delete("b"),y+=w+S}),h&&!g.toJSON||!m.sort||g.href!=="http://a/c%20d?a=1&c=3"||m.get("c")!=="3"||String(new URLSearchParams("?a=1"))!=="a=1"||!m[v]||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"||y!=="a1c3"||new URL("http://x",void 0).host!=="x"})}),8536:(function(o,u,s){var c=s(7854),d=s(2788),h=c.WeakMap;o.exports=typeof h=="function"&&/native code/.test(d(h))}),1574:(function(o,u,s){var c=s(9781),d=s(7293),h=s(1956),v=s(5181),g=s(5296),m=s(7908),y=s(8361),S=Object.assign,w=Object.defineProperty;o.exports=!S||d(function(){if(c&&S({b:1},S(w({},"a",{enumerable:!0,get:function(){w(this,"b",{value:3,enumerable:!1})}}),{b:2})).b!==1)return!0;var b={},A={},R=Symbol(),x="abcdefghijklmnopqrst";return b[R]=7,x.split("").forEach(function(O){A[O]=O}),S({},b)[R]!=7||h(S({},A)).join("")!=x})?function(A,R){for(var x=m(A),O=arguments.length,_=1,P=v.f,N=g.f;O>_;)for(var U=y(arguments[_++]),$=P?h(U).concat(P(U)):h(U),B=$.length,Y=0,Q;B>Y;)Q=$[Y++],(!c||N.call(U,Q))&&(x[Q]=U[Q]);return x}:S}),30:(function(o,u,s){var c=s(9670),d=s(6048),h=s(748),v=s(3501),g=s(490),m=s(317),y=s(6200),S=">",w="<",b="prototype",A="script",R=y("IE_PROTO"),x=function(){},O=function($){return w+A+S+$+w+"/"+A+S},_=function($){$.write(O("")),$.close();var B=$.parentWindow.Object;return $=null,B},P=function(){var $=m("iframe"),B="java"+A+":",Y;return $.style.display="none",g.appendChild($),$.src=String(B),Y=$.contentWindow.document,Y.open(),Y.write(O("document.F=Object")),Y.close(),Y.F},N,U=function(){try{N=document.domain&&new ActiveXObject("htmlfile")}catch{}U=N?_(N):P();for(var $=h.length;$--;)delete U[b][h[$]];return U()};v[R]=!0,o.exports=Object.create||function(B,Y){var Q;return B!==null?(x[b]=c(B),Q=new x,x[b]=null,Q[R]=B):Q=U(),Y===void 0?Q:d(Q,Y)}}),6048:(function(o,u,s){var c=s(9781),d=s(3070),h=s(9670),v=s(1956);o.exports=c?Object.defineProperties:function(m,y){h(m);for(var S=v(y),w=S.length,b=0,A;w>b;)d.f(m,A=S[b++],y[A]);return m}}),3070:(function(o,u,s){var c=s(9781),d=s(4664),h=s(9670),v=s(7593),g=Object.defineProperty;u.f=c?g:function(y,S,w){if(h(y),S=v(S,!0),h(w),d)try{return g(y,S,w)}catch{}if("get"in w||"set"in w)throw TypeError("Accessors not supported");return"value"in w&&(y[S]=w.value),y}}),1236:(function(o,u,s){var c=s(9781),d=s(5296),h=s(9114),v=s(5656),g=s(7593),m=s(6656),y=s(4664),S=Object.getOwnPropertyDescriptor;u.f=c?S:function(b,A){if(b=v(b),A=g(A,!0),y)try{return S(b,A)}catch{}if(m(b,A))return h(!d.f.call(b,A),b[A])}}),8006:(function(o,u,s){var c=s(6324),d=s(748),h=d.concat("length","prototype");u.f=Object.getOwnPropertyNames||function(g){return c(g,h)}}),5181:(function(o,u){u.f=Object.getOwnPropertySymbols}),9518:(function(o,u,s){var c=s(6656),d=s(7908),h=s(6200),v=s(8544),g=h("IE_PROTO"),m=Object.prototype;o.exports=v?Object.getPrototypeOf:function(y){return y=d(y),c(y,g)?y[g]:typeof y.constructor=="function"&&y instanceof y.constructor?y.constructor.prototype:y instanceof Object?m:null}}),6324:(function(o,u,s){var c=s(6656),d=s(5656),h=s(1318).indexOf,v=s(3501);o.exports=function(g,m){var y=d(g),S=0,w=[],b;for(b in y)!c(v,b)&&c(y,b)&&w.push(b);for(;m.length>S;)c(y,b=m[S++])&&(~h(w,b)||w.push(b));return w}}),1956:(function(o,u,s){var c=s(6324),d=s(748);o.exports=Object.keys||function(v){return c(v,d)}}),5296:(function(o,u){var s={}.propertyIsEnumerable,c=Object.getOwnPropertyDescriptor,d=c&&!s.call({1:2},1);u.f=d?function(v){var g=c(this,v);return!!g&&g.enumerable}:s}),7674:(function(o,u,s){var c=s(9670),d=s(6077);o.exports=Object.setPrototypeOf||("__proto__"in{}?(function(){var h=!1,v={},g;try{g=Object.getOwnPropertyDescriptor(Object.prototype,"__proto__").set,g.call(v,[]),h=v instanceof Array}catch{}return function(y,S){return c(y),d(S),h?g.call(y,S):y.__proto__=S,y}})():void 0)}),288:(function(o,u,s){var c=s(1694),d=s(648);o.exports=c?{}.toString:function(){return"[object "+d(this)+"]"}}),3887:(function(o,u,s){var c=s(5005),d=s(8006),h=s(5181),v=s(9670);o.exports=c("Reflect","ownKeys")||function(m){var y=d.f(v(m)),S=h.f;return S?y.concat(S(m)):y}}),857:(function(o,u,s){var c=s(7854);o.exports=c}),2248:(function(o,u,s){var c=s(1320);o.exports=function(d,h,v){for(var g in h)c(d,g,h[g],v);return d}}),1320:(function(o,u,s){var c=s(7854),d=s(8880),h=s(6656),v=s(3505),g=s(2788),m=s(9909),y=m.get,S=m.enforce,w=String(String).split("String");(o.exports=function(b,A,R,x){var O=x?!!x.unsafe:!1,_=x?!!x.enumerable:!1,P=x?!!x.noTargetGet:!1,N;if(typeof R=="function"&&(typeof A=="string"&&!h(R,"name")&&d(R,"name",A),N=S(R),N.source||(N.source=w.join(typeof A=="string"?A:""))),b===c){_?b[A]=R:v(A,R);return}else O?!P&&b[A]&&(_=!0):delete b[A];_?b[A]=R:d(b,A,R)})(Function.prototype,"toString",function(){return typeof this=="function"&&y(this).source||g(this)})}),7651:(function(o,u,s){var c=s(4326),d=s(2261);o.exports=function(h,v){var g=h.exec;if(typeof g=="function"){var m=g.call(h,v);if(typeof m!="object")throw TypeError("RegExp exec method returned something other than an Object or null");return m}if(c(h)!=="RegExp")throw TypeError("RegExp#exec called on incompatible receiver");return d.call(h,v)}}),2261:(function(o,u,s){var c=s(7066),d=s(2999),h=RegExp.prototype.exec,v=String.prototype.replace,g=h,m=(function(){var b=/a/,A=/b*/g;return h.call(b,"a"),h.call(A,"a"),b.lastIndex!==0||A.lastIndex!==0})(),y=d.UNSUPPORTED_Y||d.BROKEN_CARET,S=/()??/.exec("")[1]!==void 0,w=m||S||y;w&&(g=function(A){var R=this,x,O,_,P,N=y&&R.sticky,U=c.call(R),$=R.source,B=0,Y=A;return N&&(U=U.replace("y",""),U.indexOf("g")===-1&&(U+="g"),Y=String(A).slice(R.lastIndex),R.lastIndex>0&&(!R.multiline||R.multiline&&A[R.lastIndex-1]!==`
|
|
127
|
-
`)&&($="(?: "+$+")",Y=" "+Y,B++),O=new RegExp("^(?:"+$+")",U)),S&&(O=new RegExp("^"+$+"$(?!\\s)",U)),m&&(x=R.lastIndex),_=h.call(N?O:R,Y),N?_?(_.input=_.input.slice(B),_[0]=_[0].slice(B),_.index=R.lastIndex,R.lastIndex+=_[0].length):R.lastIndex=0:m&&_&&(R.lastIndex=R.global?_.index+_[0].length:x),S&&_&&_.length>1&&v.call(_[0],O,function(){for(P=1;P<arguments.length-2;P++)arguments[P]===void 0&&(_[P]=void 0)}),_}),o.exports=g}),7066:(function(o,u,s){var c=s(9670);o.exports=function(){var d=c(this),h="";return d.global&&(h+="g"),d.ignoreCase&&(h+="i"),d.multiline&&(h+="m"),d.dotAll&&(h+="s"),d.unicode&&(h+="u"),d.sticky&&(h+="y"),h}}),2999:(function(o,u,s){var c=s(7293);function d(h,v){return RegExp(h,v)}u.UNSUPPORTED_Y=c(function(){var h=d("a","y");return h.lastIndex=2,h.exec("abcd")!=null}),u.BROKEN_CARET=c(function(){var h=d("^r","gy");return h.lastIndex=2,h.exec("str")!=null})}),4488:(function(o){o.exports=function(u){if(u==null)throw TypeError("Can't call method on "+u);return u}}),3505:(function(o,u,s){var c=s(7854),d=s(8880);o.exports=function(h,v){try{d(c,h,v)}catch{c[h]=v}return v}}),6340:(function(o,u,s){var c=s(5005),d=s(3070),h=s(5112),v=s(9781),g=h("species");o.exports=function(m){var y=c(m),S=d.f;v&&y&&!y[g]&&S(y,g,{configurable:!0,get:function(){return this}})}}),8003:(function(o,u,s){var c=s(3070).f,d=s(6656),h=s(5112),v=h("toStringTag");o.exports=function(g,m,y){g&&!d(g=y?g:g.prototype,v)&&c(g,v,{configurable:!0,value:m})}}),6200:(function(o,u,s){var c=s(2309),d=s(9711),h=c("keys");o.exports=function(v){return h[v]||(h[v]=d(v))}}),5465:(function(o,u,s){var c=s(7854),d=s(3505),h="__core-js_shared__",v=c[h]||d(h,{});o.exports=v}),2309:(function(o,u,s){var c=s(1913),d=s(5465);(o.exports=function(h,v){return d[h]||(d[h]=v!==void 0?v:{})})("versions",[]).push({version:"3.9.0",mode:c?"pure":"global",copyright:"© 2021 Denis Pushkarev (zloirock.ru)"})}),6707:(function(o,u,s){var c=s(9670),d=s(3099),h=s(5112),v=h("species");o.exports=function(g,m){var y=c(g).constructor,S;return y===void 0||(S=c(y)[v])==null?m:d(S)}}),8710:(function(o,u,s){var c=s(9958),d=s(4488),h=function(v){return function(g,m){var y=String(d(g)),S=c(m),w=y.length,b,A;return S<0||S>=w?v?"":void 0:(b=y.charCodeAt(S),b<55296||b>56319||S+1===w||(A=y.charCodeAt(S+1))<56320||A>57343?v?y.charAt(S):b:v?y.slice(S,S+2):(b-55296<<10)+(A-56320)+65536)}};o.exports={codeAt:h(!1),charAt:h(!0)}}),3197:(function(o){var u=2147483647,s=36,c=1,d=26,h=38,v=700,g=72,m=128,y="-",S=/[^\0-\u007E]/,w=/[.\u3002\uFF0E\uFF61]/g,b="Overflow: input needs wider integers to process",A=s-c,R=Math.floor,x=String.fromCharCode,O=function(U){for(var $=[],B=0,Y=U.length;B<Y;){var Q=U.charCodeAt(B++);if(Q>=55296&&Q<=56319&&B<Y){var K=U.charCodeAt(B++);(K&64512)==56320?$.push(((Q&1023)<<10)+(K&1023)+65536):($.push(Q),B--)}else $.push(Q)}return $},_=function(U){return U+22+75*(U<26)},P=function(U,$,B){var Y=0;for(U=B?R(U/v):U>>1,U+=R(U/$);U>A*d>>1;Y+=s)U=R(U/A);return R(Y+(A+1)*U/(U+h))},N=function(U){var $=[];U=O(U);var B=U.length,Y=m,Q=0,K=g,ee,ne;for(ee=0;ee<U.length;ee++)ne=U[ee],ne<128&&$.push(x(ne));var D=$.length,I=D;for(D&&$.push(y);I<B;){var L=u;for(ee=0;ee<U.length;ee++)ne=U[ee],ne>=Y&&ne<L&&(L=ne);var re=I+1;if(L-Y>R((u-Q)/re))throw RangeError(b);for(Q+=(L-Y)*re,Y=L,ee=0;ee<U.length;ee++){if(ne=U[ee],ne<Y&&++Q>u)throw RangeError(b);if(ne==Y){for(var te=Q,ce=s;;ce+=s){var be=ce<=K?c:ce>=K+d?d:ce-K;if(te<be)break;var Ie=te-be,je=s-be;$.push(x(_(be+Ie%je))),te=R(Ie/je)}$.push(x(_(te))),K=P(Q,re,I==D),Q=0,++I}}++Q,++Y}return $.join("")};o.exports=function(U){var $=[],B=U.toLowerCase().replace(w,".").split("."),Y,Q;for(Y=0;Y<B.length;Y++)Q=B[Y],$.push(S.test(Q)?"xn--"+N(Q):Q);return $.join(".")}}),6091:(function(o,u,s){var c=s(7293),d=s(1361),h="
";o.exports=function(v){return c(function(){return!!d[v]()||h[v]()!=h||d[v].name!==v})}}),3111:(function(o,u,s){var c=s(4488),d=s(1361),h="["+d+"]",v=RegExp("^"+h+h+"*"),g=RegExp(h+h+"*$"),m=function(y){return function(S){var w=String(c(S));return y&1&&(w=w.replace(v,"")),y&2&&(w=w.replace(g,"")),w}};o.exports={start:m(1),end:m(2),trim:m(3)}}),1400:(function(o,u,s){var c=s(9958),d=Math.max,h=Math.min;o.exports=function(v,g){var m=c(v);return m<0?d(m+g,0):h(m,g)}}),7067:(function(o,u,s){var c=s(9958),d=s(7466);o.exports=function(h){if(h===void 0)return 0;var v=c(h),g=d(v);if(v!==g)throw RangeError("Wrong length or index");return g}}),5656:(function(o,u,s){var c=s(8361),d=s(4488);o.exports=function(h){return c(d(h))}}),9958:(function(o){var u=Math.ceil,s=Math.floor;o.exports=function(c){return isNaN(c=+c)?0:(c>0?s:u)(c)}}),7466:(function(o,u,s){var c=s(9958),d=Math.min;o.exports=function(h){return h>0?d(c(h),9007199254740991):0}}),7908:(function(o,u,s){var c=s(4488);o.exports=function(d){return Object(c(d))}}),4590:(function(o,u,s){var c=s(3002);o.exports=function(d,h){var v=c(d);if(v%h)throw RangeError("Wrong offset");return v}}),3002:(function(o,u,s){var c=s(9958);o.exports=function(d){var h=c(d);if(h<0)throw RangeError("The argument can't be less than 0");return h}}),7593:(function(o,u,s){var c=s(111);o.exports=function(d,h){if(!c(d))return d;var v,g;if(h&&typeof(v=d.toString)=="function"&&!c(g=v.call(d))||typeof(v=d.valueOf)=="function"&&!c(g=v.call(d))||!h&&typeof(v=d.toString)=="function"&&!c(g=v.call(d)))return g;throw TypeError("Can't convert object to primitive value")}}),1694:(function(o,u,s){var c=s(5112),d=c("toStringTag"),h={};h[d]="z",o.exports=String(h)==="[object z]"}),9843:(function(o,u,s){var c=s(2109),d=s(7854),h=s(9781),v=s(3832),g=s(260),m=s(3331),y=s(5787),S=s(9114),w=s(8880),b=s(7466),A=s(7067),R=s(4590),x=s(7593),O=s(6656),_=s(648),P=s(111),N=s(30),U=s(7674),$=s(8006).f,B=s(7321),Y=s(2092).forEach,Q=s(6340),K=s(3070),ee=s(1236),ne=s(9909),D=s(9587),I=ne.get,L=ne.set,re=K.f,te=ee.f,ce=Math.round,be=d.RangeError,Ie=m.ArrayBuffer,je=m.DataView,z=g.NATIVE_ARRAY_BUFFER_VIEWS,k=g.TYPED_ARRAY_TAG,q=g.TypedArray,H=g.TypedArrayPrototype,ie=g.aTypedArrayConstructor,V=g.isTypedArray,Z="BYTES_PER_ELEMENT",me="Wrong length",fe=function(Ee,_e){for(var xe=0,ke=_e.length,Le=new(ie(Ee))(ke);ke>xe;)Le[xe]=_e[xe++];return Le},Re=function(Ee,_e){re(Ee,_e,{get:function(){return I(this)[_e]}})},Se=function(Ee){var _e;return Ee instanceof Ie||(_e=_(Ee))=="ArrayBuffer"||_e=="SharedArrayBuffer"},Oe=function(Ee,_e){return V(Ee)&&typeof _e!="symbol"&&_e in Ee&&String(+_e)==String(_e)},Me=function(_e,xe){return Oe(_e,xe=x(xe,!0))?S(2,_e[xe]):te(_e,xe)},de=function(_e,xe,ke){return Oe(_e,xe=x(xe,!0))&&P(ke)&&O(ke,"value")&&!O(ke,"get")&&!O(ke,"set")&&!ke.configurable&&(!O(ke,"writable")||ke.writable)&&(!O(ke,"enumerable")||ke.enumerable)?(_e[xe]=ke.value,_e):re(_e,xe,ke)};h?(z||(ee.f=Me,K.f=de,Re(H,"buffer"),Re(H,"byteOffset"),Re(H,"byteLength"),Re(H,"length")),c({target:"Object",stat:!0,forced:!z},{getOwnPropertyDescriptor:Me,defineProperty:de}),o.exports=function(Ee,_e,xe){var ke=Ee.match(/\d+$/)[0]/8,Le=Ee+(xe?"Clamped":"")+"Array",He="get"+Ee,_t="set"+Ee,jt=d[Le],Lt=jt,Qe=Lt&&Lt.prototype,bt={},mt=function(at,$t){var xt=I(at);return xt.view[He]($t*ke+xt.byteOffset,!0)},St=function(at,$t,xt){var Ce=I(at);xe&&(xt=(xt=ce(xt))<0?0:xt>255?255:xt&255),Ce.view[_t]($t*ke+Ce.byteOffset,xt,!0)},yt=function(at,$t){re(at,$t,{get:function(){return mt(this,$t)},set:function(xt){return St(this,$t,xt)},enumerable:!0})};z?v&&(Lt=_e(function(at,$t,xt,Ce){return y(at,Lt,Le),D((function(){return P($t)?Se($t)?Ce!==void 0?new jt($t,R(xt,ke),Ce):xt!==void 0?new jt($t,R(xt,ke)):new jt($t):V($t)?fe(Lt,$t):B.call(Lt,$t):new jt(A($t))})(),at,Lt)}),U&&U(Lt,q),Y($(jt),function(at){at in Lt||w(Lt,at,jt[at])}),Lt.prototype=Qe):(Lt=_e(function(at,$t,xt,Ce){y(at,Lt,Le);var Ze=0,ut=0,Tt,Pt,rr;if(!P($t))rr=A($t),Pt=rr*ke,Tt=new Ie(Pt);else if(Se($t)){Tt=$t,ut=R(xt,ke);var _r=$t.byteLength;if(Ce===void 0){if(_r%ke||(Pt=_r-ut,Pt<0))throw be(me)}else if(Pt=b(Ce)*ke,Pt+ut>_r)throw be(me);rr=Pt/ke}else return V($t)?fe(Lt,$t):B.call(Lt,$t);for(L(at,{buffer:Tt,byteOffset:ut,byteLength:Pt,length:rr,view:new je(Tt)});Ze<rr;)yt(at,Ze++)}),U&&U(Lt,q),Qe=Lt.prototype=N(H)),Qe.constructor!==Lt&&w(Qe,"constructor",Lt),k&&w(Qe,k,Le),bt[Le]=Lt,c({global:!0,forced:Lt!=jt,sham:!z},bt),Z in Lt||w(Lt,Z,ke),Z in Qe||w(Qe,Z,ke),Q(Le)}):o.exports=function(){}}),3832:(function(o,u,s){var c=s(7854),d=s(7293),h=s(7072),v=s(260).NATIVE_ARRAY_BUFFER_VIEWS,g=c.ArrayBuffer,m=c.Int8Array;o.exports=!v||!d(function(){m(1)})||!d(function(){new m(-1)})||!h(function(y){new m,new m(null),new m(1.5),new m(y)},!0)||d(function(){return new m(new g(2),1,void 0).length!==1})}),3074:(function(o,u,s){var c=s(260).aTypedArrayConstructor,d=s(6707);o.exports=function(h,v){for(var g=d(h,h.constructor),m=0,y=v.length,S=new(c(g))(y);y>m;)S[m]=v[m++];return S}}),7321:(function(o,u,s){var c=s(7908),d=s(7466),h=s(1246),v=s(7659),g=s(9974),m=s(260).aTypedArrayConstructor;o.exports=function(S){var w=c(S),b=arguments.length,A=b>1?arguments[1]:void 0,R=A!==void 0,x=h(w),O,_,P,N,U,$;if(x!=null&&!v(x))for(U=x.call(w),$=U.next,w=[];!(N=$.call(U)).done;)w.push(N.value);for(R&&b>2&&(A=g(A,arguments[2],2)),_=d(w.length),P=new(m(this))(_),O=0;_>O;O++)P[O]=R?A(w[O],O):w[O];return P}}),9711:(function(o){var u=0,s=Math.random();o.exports=function(c){return"Symbol("+String(c===void 0?"":c)+")_"+(++u+s).toString(36)}}),3307:(function(o,u,s){var c=s(133);o.exports=c&&!Symbol.sham&&typeof Symbol.iterator=="symbol"}),5112:(function(o,u,s){var c=s(7854),d=s(2309),h=s(6656),v=s(9711),g=s(133),m=s(3307),y=d("wks"),S=c.Symbol,w=m?S:S&&S.withoutSetter||v;o.exports=function(b){return h(y,b)||(g&&h(S,b)?y[b]=S[b]:y[b]=w("Symbol."+b)),y[b]}}),1361:(function(o){o.exports=`
|
|
128
|
-
\v\f\r \u2028\u2029\uFEFF`}),8264:(function(o,u,s){var c=s(2109),d=s(7854),h=s(3331),v=s(6340),g="ArrayBuffer",m=h[g],y=d[g];c({global:!0,forced:y!==m},{ArrayBuffer:m}),v(g)}),2222:(function(o,u,s){var c=s(2109),d=s(7293),h=s(3157),v=s(111),g=s(7908),m=s(7466),y=s(6135),S=s(5417),w=s(1194),b=s(5112),A=s(7392),R=b("isConcatSpreadable"),x=9007199254740991,O="Maximum allowed index exceeded",_=A>=51||!d(function(){var $=[];return $[R]=!1,$.concat()[0]!==$}),P=w("concat"),N=function($){if(!v($))return!1;var B=$[R];return B!==void 0?!!B:h($)},U=!_||!P;c({target:"Array",proto:!0,forced:U},{concat:function(B){var Y=g(this),Q=S(Y,0),K=0,ee,ne,D,I,L;for(ee=-1,D=arguments.length;ee<D;ee++)if(L=ee===-1?Y:arguments[ee],N(L)){if(I=m(L.length),K+I>x)throw TypeError(O);for(ne=0;ne<I;ne++,K++)ne in L&&y(Q,K,L[ne])}else{if(K>=x)throw TypeError(O);y(Q,K++,L)}return Q.length=K,Q}})}),7327:(function(o,u,s){var c=s(2109),d=s(2092).filter,h=s(1194),v=h("filter");c({target:"Array",proto:!0,forced:!v},{filter:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})}),2772:(function(o,u,s){var c=s(2109),d=s(1318).indexOf,h=s(9341),v=[].indexOf,g=!!v&&1/[1].indexOf(1,-0)<0,m=h("indexOf");c({target:"Array",proto:!0,forced:g||!m},{indexOf:function(S){return g?v.apply(this,arguments)||0:d(this,S,arguments.length>1?arguments[1]:void 0)}})}),6992:(function(o,u,s){var c=s(5656),d=s(1223),h=s(7497),v=s(9909),g=s(654),m="Array Iterator",y=v.set,S=v.getterFor(m);o.exports=g(Array,"Array",function(w,b){y(this,{type:m,target:c(w),index:0,kind:b})},function(){var w=S(this),b=w.target,A=w.kind,R=w.index++;return!b||R>=b.length?(w.target=void 0,{value:void 0,done:!0}):A=="keys"?{value:R,done:!1}:A=="values"?{value:b[R],done:!1}:{value:[R,b[R]],done:!1}},"values"),h.Arguments=h.Array,d("keys"),d("values"),d("entries")}),1249:(function(o,u,s){var c=s(2109),d=s(2092).map,h=s(1194),v=h("map");c({target:"Array",proto:!0,forced:!v},{map:function(m){return d(this,m,arguments.length>1?arguments[1]:void 0)}})}),7042:(function(o,u,s){var c=s(2109),d=s(111),h=s(3157),v=s(1400),g=s(7466),m=s(5656),y=s(6135),S=s(5112),w=s(1194),b=w("slice"),A=S("species"),R=[].slice,x=Math.max;c({target:"Array",proto:!0,forced:!b},{slice:function(_,P){var N=m(this),U=g(N.length),$=v(_,U),B=v(P===void 0?U:P,U),Y,Q,K;if(h(N)&&(Y=N.constructor,typeof Y=="function"&&(Y===Array||h(Y.prototype))?Y=void 0:d(Y)&&(Y=Y[A],Y===null&&(Y=void 0)),Y===Array||Y===void 0))return R.call(N,$,B);for(Q=new(Y===void 0?Array:Y)(x(B-$,0)),K=0;$<B;$++,K++)$ in N&&y(Q,K,N[$]);return Q.length=K,Q}})}),561:(function(o,u,s){var c=s(2109),d=s(1400),h=s(9958),v=s(7466),g=s(7908),m=s(5417),y=s(6135),S=s(1194),w=S("splice"),b=Math.max,A=Math.min,R=9007199254740991,x="Maximum allowed length exceeded";c({target:"Array",proto:!0,forced:!w},{splice:function(_,P){var N=g(this),U=v(N.length),$=d(_,U),B=arguments.length,Y,Q,K,ee,ne,D;if(B===0?Y=Q=0:B===1?(Y=0,Q=U-$):(Y=B-2,Q=A(b(h(P),0),U-$)),U+Y-Q>R)throw TypeError(x);for(K=m(N,Q),ee=0;ee<Q;ee++)ne=$+ee,ne in N&&y(K,ee,N[ne]);if(K.length=Q,Y<Q){for(ee=$;ee<U-Q;ee++)ne=ee+Q,D=ee+Y,ne in N?N[D]=N[ne]:delete N[D];for(ee=U;ee>U-Q+Y;ee--)delete N[ee-1]}else if(Y>Q)for(ee=U-Q;ee>$;ee--)ne=ee+Q-1,D=ee+Y-1,ne in N?N[D]=N[ne]:delete N[D];for(ee=0;ee<Y;ee++)N[ee+$]=arguments[ee+2];return N.length=U-Q+Y,K}})}),8309:(function(o,u,s){var c=s(9781),d=s(3070).f,h=Function.prototype,v=h.toString,g=/^\s*function ([^ (]*)/,m="name";c&&!(m in h)&&d(h,m,{configurable:!0,get:function(){try{return v.call(this).match(g)[1]}catch{return""}}})}),489:(function(o,u,s){var c=s(2109),d=s(7293),h=s(7908),v=s(9518),g=s(8544),m=d(function(){v(1)});c({target:"Object",stat:!0,forced:m,sham:!g},{getPrototypeOf:function(S){return v(h(S))}})}),1539:(function(o,u,s){var c=s(1694),d=s(1320),h=s(288);c||d(Object.prototype,"toString",h,{unsafe:!0})}),4916:(function(o,u,s){var c=s(2109),d=s(2261);c({target:"RegExp",proto:!0,forced:/./.exec!==d},{exec:d})}),9714:(function(o,u,s){var c=s(1320),d=s(9670),h=s(7293),v=s(7066),g="toString",m=RegExp.prototype,y=m[g],S=h(function(){return y.call({source:"a",flags:"b"})!="/a/b"}),w=y.name!=g;(S||w)&&c(RegExp.prototype,g,function(){var A=d(this),R=String(A.source),x=A.flags,O=String(x===void 0&&A instanceof RegExp&&!("flags"in m)?v.call(A):x);return"/"+R+"/"+O},{unsafe:!0})}),8783:(function(o,u,s){var c=s(8710).charAt,d=s(9909),h=s(654),v="String Iterator",g=d.set,m=d.getterFor(v);h(String,"String",function(y){g(this,{type:v,string:String(y),index:0})},function(){var S=m(this),w=S.string,b=S.index,A;return b>=w.length?{value:void 0,done:!0}:(A=c(w,b),S.index+=A.length,{value:A,done:!1})})}),4723:(function(o,u,s){var c=s(7007),d=s(9670),h=s(7466),v=s(4488),g=s(1530),m=s(7651);c("match",1,function(y,S,w){return[function(A){var R=v(this),x=A==null?void 0:A[y];return x!==void 0?x.call(A,R):new RegExp(A)[y](String(R))},function(b){var A=w(S,b,this);if(A.done)return A.value;var R=d(b),x=String(this);if(!R.global)return m(R,x);var O=R.unicode;R.lastIndex=0;for(var _=[],P=0,N;(N=m(R,x))!==null;){var U=String(N[0]);_[P]=U,U===""&&(R.lastIndex=g(x,h(R.lastIndex),O)),P++}return P===0?null:_}]})}),5306:(function(o,u,s){var c=s(7007),d=s(9670),h=s(7466),v=s(9958),g=s(4488),m=s(1530),y=s(647),S=s(7651),w=Math.max,b=Math.min,A=function(R){return R===void 0?R:String(R)};c("replace",2,function(R,x,O,_){var P=_.REGEXP_REPLACE_SUBSTITUTES_UNDEFINED_CAPTURE,N=_.REPLACE_KEEPS_$0,U=P?"$":"$0";return[function(B,Y){var Q=g(this),K=B==null?void 0:B[R];return K!==void 0?K.call(B,Q,Y):x.call(String(Q),B,Y)},function($,B){if(!P&&N||typeof B=="string"&&B.indexOf(U)===-1){var Y=O(x,$,this,B);if(Y.done)return Y.value}var Q=d($),K=String(this),ee=typeof B=="function";ee||(B=String(B));var ne=Q.global;if(ne){var D=Q.unicode;Q.lastIndex=0}for(var I=[];;){var L=S(Q,K);if(L===null||(I.push(L),!ne))break;var re=String(L[0]);re===""&&(Q.lastIndex=m(K,h(Q.lastIndex),D))}for(var te="",ce=0,be=0;be<I.length;be++){L=I[be];for(var Ie=String(L[0]),je=w(b(v(L.index),K.length),0),z=[],k=1;k<L.length;k++)z.push(A(L[k]));var q=L.groups;if(ee){var H=[Ie].concat(z,je,K);q!==void 0&&H.push(q);var ie=String(B.apply(void 0,H))}else ie=y(Ie,K,je,z,q,B);je>=ce&&(te+=K.slice(ce,je)+ie,ce=je+Ie.length)}return te+K.slice(ce)}]})}),3123:(function(o,u,s){var c=s(7007),d=s(7850),h=s(9670),v=s(4488),g=s(6707),m=s(1530),y=s(7466),S=s(7651),w=s(2261),b=s(7293),A=[].push,R=Math.min,x=4294967295,O=!b(function(){return!RegExp(x,"y")});c("split",2,function(_,P,N){var U;return"abbc".split(/(b)*/)[1]=="c"||"test".split(/(?:)/,-1).length!=4||"ab".split(/(?:ab)*/).length!=2||".".split(/(.?)(.?)/).length!=4||".".split(/()()/).length>1||"".split(/.?/).length?U=function($,B){var Y=String(v(this)),Q=B===void 0?x:B>>>0;if(Q===0)return[];if($===void 0)return[Y];if(!d($))return P.call(Y,$,Q);for(var K=[],ee=($.ignoreCase?"i":"")+($.multiline?"m":"")+($.unicode?"u":"")+($.sticky?"y":""),ne=0,D=new RegExp($.source,ee+"g"),I,L,re;(I=w.call(D,Y))&&(L=D.lastIndex,!(L>ne&&(K.push(Y.slice(ne,I.index)),I.length>1&&I.index<Y.length&&A.apply(K,I.slice(1)),re=I[0].length,ne=L,K.length>=Q)));)D.lastIndex===I.index&&D.lastIndex++;return ne===Y.length?(re||!D.test(""))&&K.push(""):K.push(Y.slice(ne)),K.length>Q?K.slice(0,Q):K}:"0".split(void 0,0).length?U=function($,B){return $===void 0&&B===0?[]:P.call(this,$,B)}:U=P,[function(B,Y){var Q=v(this),K=B==null?void 0:B[_];return K!==void 0?K.call(B,Q,Y):U.call(String(Q),B,Y)},function($,B){var Y=N(U,$,this,B,U!==P);if(Y.done)return Y.value;var Q=h($),K=String(this),ee=g(Q,RegExp),ne=Q.unicode,D=(Q.ignoreCase?"i":"")+(Q.multiline?"m":"")+(Q.unicode?"u":"")+(O?"y":"g"),I=new ee(O?Q:"^(?:"+Q.source+")",D),L=B===void 0?x:B>>>0;if(L===0)return[];if(K.length===0)return S(I,K)===null?[K]:[];for(var re=0,te=0,ce=[];te<K.length;){I.lastIndex=O?te:0;var be=S(I,O?K:K.slice(te)),Ie;if(be===null||(Ie=R(y(I.lastIndex+(O?0:te)),K.length))===re)te=m(K,te,ne);else{if(ce.push(K.slice(re,te)),ce.length===L)return ce;for(var je=1;je<=be.length-1;je++)if(ce.push(be[je]),ce.length===L)return ce;te=re=Ie}}return ce.push(K.slice(re)),ce}]},!O)}),3210:(function(o,u,s){var c=s(2109),d=s(3111).trim,h=s(6091);c({target:"String",proto:!0,forced:h("trim")},{trim:function(){return d(this)}})}),2990:(function(o,u,s){var c=s(260),d=s(1048),h=c.aTypedArray,v=c.exportTypedArrayMethod;v("copyWithin",function(m,y){return d.call(h(this),m,y,arguments.length>2?arguments[2]:void 0)})}),8927:(function(o,u,s){var c=s(260),d=s(2092).every,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("every",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),3105:(function(o,u,s){var c=s(260),d=s(1285),h=c.aTypedArray,v=c.exportTypedArrayMethod;v("fill",function(m){return d.apply(h(this),arguments)})}),5035:(function(o,u,s){var c=s(260),d=s(2092).filter,h=s(3074),v=c.aTypedArray,g=c.exportTypedArrayMethod;g("filter",function(y){var S=d(v(this),y,arguments.length>1?arguments[1]:void 0);return h(this,S)})}),7174:(function(o,u,s){var c=s(260),d=s(2092).findIndex,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("findIndex",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),4345:(function(o,u,s){var c=s(260),d=s(2092).find,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("find",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),2846:(function(o,u,s){var c=s(260),d=s(2092).forEach,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("forEach",function(m){d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),4731:(function(o,u,s){var c=s(260),d=s(1318).includes,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("includes",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),7209:(function(o,u,s){var c=s(260),d=s(1318).indexOf,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("indexOf",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),6319:(function(o,u,s){var c=s(7854),d=s(260),h=s(6992),v=s(5112),g=v("iterator"),m=c.Uint8Array,y=h.values,S=h.keys,w=h.entries,b=d.aTypedArray,A=d.exportTypedArrayMethod,R=m&&m.prototype[g],x=!!R&&(R.name=="values"||R.name==null),O=function(){return y.call(b(this))};A("entries",function(){return w.call(b(this))}),A("keys",function(){return S.call(b(this))}),A("values",O,!x),A(g,O,!x)}),8867:(function(o,u,s){var c=s(260),d=c.aTypedArray,h=c.exportTypedArrayMethod,v=[].join;h("join",function(m){return v.apply(d(this),arguments)})}),7789:(function(o,u,s){var c=s(260),d=s(6583),h=c.aTypedArray,v=c.exportTypedArrayMethod;v("lastIndexOf",function(m){return d.apply(h(this),arguments)})}),3739:(function(o,u,s){var c=s(260),d=s(2092).map,h=s(6707),v=c.aTypedArray,g=c.aTypedArrayConstructor,m=c.exportTypedArrayMethod;m("map",function(S){return d(v(this),S,arguments.length>1?arguments[1]:void 0,function(w,b){return new(g(h(w,w.constructor)))(b)})})}),4483:(function(o,u,s){var c=s(260),d=s(3671).right,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("reduceRight",function(m){return d(h(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})}),9368:(function(o,u,s){var c=s(260),d=s(3671).left,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("reduce",function(m){return d(h(this),m,arguments.length,arguments.length>1?arguments[1]:void 0)})}),2056:(function(o,u,s){var c=s(260),d=c.aTypedArray,h=c.exportTypedArrayMethod,v=Math.floor;h("reverse",function(){for(var m=this,y=d(m).length,S=v(y/2),w=0,b;w<S;)b=m[w],m[w++]=m[--y],m[y]=b;return m})}),3462:(function(o,u,s){var c=s(260),d=s(7466),h=s(4590),v=s(7908),g=s(7293),m=c.aTypedArray,y=c.exportTypedArrayMethod,S=g(function(){new Int8Array(1).set({})});y("set",function(b){m(this);var A=h(arguments.length>1?arguments[1]:void 0,1),R=this.length,x=v(b),O=d(x.length),_=0;if(O+A>R)throw RangeError("Wrong length");for(;_<O;)this[A+_]=x[_++]},S)}),678:(function(o,u,s){var c=s(260),d=s(6707),h=s(7293),v=c.aTypedArray,g=c.aTypedArrayConstructor,m=c.exportTypedArrayMethod,y=[].slice,S=h(function(){new Int8Array(1).slice()});m("slice",function(b,A){for(var R=y.call(v(this),b,A),x=d(this,this.constructor),O=0,_=R.length,P=new(g(x))(_);_>O;)P[O]=R[O++];return P},S)}),7462:(function(o,u,s){var c=s(260),d=s(2092).some,h=c.aTypedArray,v=c.exportTypedArrayMethod;v("some",function(m){return d(h(this),m,arguments.length>1?arguments[1]:void 0)})}),3824:(function(o,u,s){var c=s(260),d=c.aTypedArray,h=c.exportTypedArrayMethod,v=[].sort;h("sort",function(m){return v.call(d(this),m)})}),5021:(function(o,u,s){var c=s(260),d=s(7466),h=s(1400),v=s(6707),g=c.aTypedArray,m=c.exportTypedArrayMethod;m("subarray",function(S,w){var b=g(this),A=b.length,R=h(S,A);return new(v(b,b.constructor))(b.buffer,b.byteOffset+R*b.BYTES_PER_ELEMENT,d((w===void 0?A:h(w,A))-R))})}),2974:(function(o,u,s){var c=s(7854),d=s(260),h=s(7293),v=c.Int8Array,g=d.aTypedArray,m=d.exportTypedArrayMethod,y=[].toLocaleString,S=[].slice,w=!!v&&h(function(){y.call(new v(1))}),b=h(function(){return[1,2].toLocaleString()!=new v([1,2]).toLocaleString()})||!h(function(){v.prototype.toLocaleString.call([1,2])});m("toLocaleString",function(){return y.apply(w?S.call(g(this)):g(this),arguments)},b)}),5016:(function(o,u,s){var c=s(260).exportTypedArrayMethod,d=s(7293),h=s(7854),v=h.Uint8Array,g=v&&v.prototype||{},m=[].toString,y=[].join;d(function(){m.call({})})&&(m=function(){return y.call(this)});var S=g.toString!=m;c("toString",m,S)}),2472:(function(o,u,s){var c=s(9843);c("Uint8",function(d){return function(v,g,m){return d(this,v,g,m)}})}),4747:(function(o,u,s){var c=s(7854),d=s(8324),h=s(8533),v=s(8880);for(var g in d){var m=c[g],y=m&&m.prototype;if(y&&y.forEach!==h)try{v(y,"forEach",h)}catch{y.forEach=h}}}),3948:(function(o,u,s){var c=s(7854),d=s(8324),h=s(6992),v=s(8880),g=s(5112),m=g("iterator"),y=g("toStringTag"),S=h.values;for(var w in d){var b=c[w],A=b&&b.prototype;if(A){if(A[m]!==S)try{v(A,m,S)}catch{A[m]=S}if(A[y]||v(A,y,w),d[w]){for(var R in h)if(A[R]!==h[R])try{v(A,R,h[R])}catch{A[R]=h[R]}}}}}),1637:(function(o,u,s){s(6992);var c=s(2109),d=s(5005),h=s(590),v=s(1320),g=s(2248),m=s(8003),y=s(4994),S=s(9909),w=s(5787),b=s(6656),A=s(9974),R=s(648),x=s(9670),O=s(111),_=s(30),P=s(9114),N=s(8554),U=s(1246),$=s(5112),B=d("fetch"),Y=d("Headers"),Q=$("iterator"),K="URLSearchParams",ee=K+"Iterator",ne=S.set,D=S.getterFor(K),I=S.getterFor(ee),L=/\+/g,re=Array(4),te=function(fe){return re[fe-1]||(re[fe-1]=RegExp("((?:%[\\da-f]{2}){"+fe+"})","gi"))},ce=function(fe){try{return decodeURIComponent(fe)}catch{return fe}},be=function(fe){var Re=fe.replace(L," "),Se=4;try{return decodeURIComponent(Re)}catch{for(;Se;)Re=Re.replace(te(Se--),ce);return Re}},Ie=/[!'()~]|%20/g,je={"!":"%21","'":"%27","(":"%28",")":"%29","~":"%7E","%20":"+"},z=function(fe){return je[fe]},k=function(fe){return encodeURIComponent(fe).replace(Ie,z)},q=function(fe,Re){if(Re)for(var Se=Re.split("&"),Oe=0,Me,de;Oe<Se.length;)Me=Se[Oe++],Me.length&&(de=Me.split("="),fe.push({key:be(de.shift()),value:be(de.join("="))}))},H=function(fe){this.entries.length=0,q(this.entries,fe)},ie=function(fe,Re){if(fe<Re)throw TypeError("Not enough arguments")},V=y(function(Re,Se){ne(this,{type:ee,iterator:N(D(Re).entries),kind:Se})},"Iterator",function(){var Re=I(this),Se=Re.kind,Oe=Re.iterator.next(),Me=Oe.value;return Oe.done||(Oe.value=Se==="keys"?Me.key:Se==="values"?Me.value:[Me.key,Me.value]),Oe}),Z=function(){w(this,Z,K);var Re=arguments.length>0?arguments[0]:void 0,Se=this,Oe=[],Me,de,Ee,_e,xe,ke,Le,He,_t;if(ne(Se,{type:K,entries:Oe,updateURL:function(){},updateSearchParams:H}),Re!==void 0)if(O(Re))if(Me=U(Re),typeof Me=="function")for(de=Me.call(Re),Ee=de.next;!(_e=Ee.call(de)).done;){if(xe=N(x(_e.value)),ke=xe.next,(Le=ke.call(xe)).done||(He=ke.call(xe)).done||!ke.call(xe).done)throw TypeError("Expected sequence with length 2");Oe.push({key:Le.value+"",value:He.value+""})}else for(_t in Re)b(Re,_t)&&Oe.push({key:_t,value:Re[_t]+""});else q(Oe,typeof Re=="string"?Re.charAt(0)==="?"?Re.slice(1):Re:Re+"")},me=Z.prototype;g(me,{append:function(Re,Se){ie(arguments.length,2);var Oe=D(this);Oe.entries.push({key:Re+"",value:Se+""}),Oe.updateURL()},delete:function(fe){ie(arguments.length,1);for(var Re=D(this),Se=Re.entries,Oe=fe+"",Me=0;Me<Se.length;)Se[Me].key===Oe?Se.splice(Me,1):Me++;Re.updateURL()},get:function(Re){ie(arguments.length,1);for(var Se=D(this).entries,Oe=Re+"",Me=0;Me<Se.length;Me++)if(Se[Me].key===Oe)return Se[Me].value;return null},getAll:function(Re){ie(arguments.length,1);for(var Se=D(this).entries,Oe=Re+"",Me=[],de=0;de<Se.length;de++)Se[de].key===Oe&&Me.push(Se[de].value);return Me},has:function(Re){ie(arguments.length,1);for(var Se=D(this).entries,Oe=Re+"",Me=0;Me<Se.length;)if(Se[Me++].key===Oe)return!0;return!1},set:function(Re,Se){ie(arguments.length,1);for(var Oe=D(this),Me=Oe.entries,de=!1,Ee=Re+"",_e=Se+"",xe=0,ke;xe<Me.length;xe++)ke=Me[xe],ke.key===Ee&&(de?Me.splice(xe--,1):(de=!0,ke.value=_e));de||Me.push({key:Ee,value:_e}),Oe.updateURL()},sort:function(){var Re=D(this),Se=Re.entries,Oe=Se.slice(),Me,de,Ee;for(Se.length=0,Ee=0;Ee<Oe.length;Ee++){for(Me=Oe[Ee],de=0;de<Ee;de++)if(Se[de].key>Me.key){Se.splice(de,0,Me);break}de===Ee&&Se.push(Me)}Re.updateURL()},forEach:function(Re){for(var Se=D(this).entries,Oe=A(Re,arguments.length>1?arguments[1]:void 0,3),Me=0,de;Me<Se.length;)de=Se[Me++],Oe(de.value,de.key,this)},keys:function(){return new V(this,"keys")},values:function(){return new V(this,"values")},entries:function(){return new V(this,"entries")}},{enumerable:!0}),v(me,Q,me.entries),v(me,"toString",function(){for(var Re=D(this).entries,Se=[],Oe=0,Me;Oe<Re.length;)Me=Re[Oe++],Se.push(k(Me.key)+"="+k(Me.value));return Se.join("&")},{enumerable:!0}),m(Z,K),c({global:!0,forced:!h},{URLSearchParams:Z}),!h&&typeof B=="function"&&typeof Y=="function"&&c({global:!0,enumerable:!0,forced:!0},{fetch:function(Re){var Se=[Re],Oe,Me,de;return arguments.length>1&&(Oe=arguments[1],O(Oe)&&(Me=Oe.body,R(Me)===K&&(de=Oe.headers?new Y(Oe.headers):new Y,de.has("content-type")||de.set("content-type","application/x-www-form-urlencoded;charset=UTF-8"),Oe=_(Oe,{body:P(0,String(Me)),headers:P(0,de)}))),Se.push(Oe)),B.apply(this,Se)}}),o.exports={URLSearchParams:Z,getState:D}}),285:(function(o,u,s){s(8783);var c=s(2109),d=s(9781),h=s(590),v=s(7854),g=s(6048),m=s(1320),y=s(5787),S=s(6656),w=s(1574),b=s(8457),A=s(8710).codeAt,R=s(3197),x=s(8003),O=s(1637),_=s(9909),P=v.URL,N=O.URLSearchParams,U=O.getState,$=_.set,B=_.getterFor("URL"),Y=Math.floor,Q=Math.pow,K="Invalid authority",ee="Invalid scheme",ne="Invalid host",D="Invalid port",I=/[A-Za-z]/,L=/[\d+-.A-Za-z]/,re=/\d/,te=/^(0x|0X)/,ce=/^[0-7]+$/,be=/^\d+$/,Ie=/^[\dA-Fa-f]+$/,je=/[\u0000\t\u000A\u000D #%/:?@[\\]]/,z=/[\u0000\t\u000A\u000D #/:?@[\\]]/,k=/^[\u0000-\u001F ]+|[\u0000-\u001F ]+$/g,q=/[\t\u000A\u000D]/g,H,ie=function(we,ct){var nt,ft,kt;if(ct.charAt(0)=="["){if(ct.charAt(ct.length-1)!="]"||(nt=Z(ct.slice(1,-1)),!nt))return ne;we.host=nt}else if(_e(we)){if(ct=R(ct),je.test(ct)||(nt=V(ct),nt===null))return ne;we.host=nt}else{if(z.test(ct))return ne;for(nt="",ft=b(ct),kt=0;kt<ft.length;kt++)nt+=de(ft[kt],Re);we.host=nt}},V=function(we){var ct=we.split("."),nt,ft,kt,dt,Yt,Dr,Zr;if(ct.length&&ct[ct.length-1]==""&&ct.pop(),nt=ct.length,nt>4)return we;for(ft=[],kt=0;kt<nt;kt++){if(dt=ct[kt],dt=="")return we;if(Yt=10,dt.length>1&&dt.charAt(0)=="0"&&(Yt=te.test(dt)?16:8,dt=dt.slice(Yt==8?1:2)),dt==="")Dr=0;else{if(!(Yt==10?be:Yt==8?ce:Ie).test(dt))return we;Dr=parseInt(dt,Yt)}ft.push(Dr)}for(kt=0;kt<nt;kt++)if(Dr=ft[kt],kt==nt-1){if(Dr>=Q(256,5-nt))return null}else if(Dr>255)return null;for(Zr=ft.pop(),kt=0;kt<ft.length;kt++)Zr+=ft[kt]*Q(256,3-kt);return Zr},Z=function(we){var ct=[0,0,0,0,0,0,0,0],nt=0,ft=null,kt=0,dt,Yt,Dr,Zr,en,vn,Mt,Kr=function(){return we.charAt(kt)};if(Kr()==":"){if(we.charAt(1)!=":")return;kt+=2,nt++,ft=nt}for(;Kr();){if(nt==8)return;if(Kr()==":"){if(ft!==null)return;kt++,nt++,ft=nt;continue}for(dt=Yt=0;Yt<4&&Ie.test(Kr());)dt=dt*16+parseInt(Kr(),16),kt++,Yt++;if(Kr()=="."){if(Yt==0||(kt-=Yt,nt>6))return;for(Dr=0;Kr();){if(Zr=null,Dr>0)if(Kr()=="."&&Dr<4)kt++;else return;if(!re.test(Kr()))return;for(;re.test(Kr());){if(en=parseInt(Kr(),10),Zr===null)Zr=en;else{if(Zr==0)return;Zr=Zr*10+en}if(Zr>255)return;kt++}ct[nt]=ct[nt]*256+Zr,Dr++,(Dr==2||Dr==4)&&nt++}if(Dr!=4)return;break}else if(Kr()==":"){if(kt++,!Kr())return}else if(Kr())return;ct[nt++]=dt}if(ft!==null)for(vn=nt-ft,nt=7;nt!=0&&vn>0;)Mt=ct[nt],ct[nt--]=ct[ft+vn-1],ct[ft+--vn]=Mt;else if(nt!=8)return;return ct},me=function(we){for(var ct=null,nt=1,ft=null,kt=0,dt=0;dt<8;dt++)we[dt]!==0?(kt>nt&&(ct=ft,nt=kt),ft=null,kt=0):(ft===null&&(ft=dt),++kt);return kt>nt&&(ct=ft,nt=kt),ct},fe=function(we){var ct,nt,ft,kt;if(typeof we=="number"){for(ct=[],nt=0;nt<4;nt++)ct.unshift(we%256),we=Y(we/256);return ct.join(".")}else if(typeof we=="object"){for(ct="",ft=me(we),nt=0;nt<8;nt++)kt&&we[nt]===0||(kt&&(kt=!1),ft===nt?(ct+=nt?":":"::",kt=!0):(ct+=we[nt].toString(16),nt<7&&(ct+=":")));return"["+ct+"]"}return we},Re={},Se=w({},Re,{" ":1,'"':1,"<":1,">":1,"`":1}),Oe=w({},Se,{"#":1,"?":1,"{":1,"}":1}),Me=w({},Oe,{"/":1,":":1,";":1,"=":1,"@":1,"[":1,"\\":1,"]":1,"^":1,"|":1}),de=function(we,ct){var nt=A(we,0);return nt>32&&nt<127&&!S(ct,we)?we:encodeURIComponent(we)},Ee={ftp:21,file:null,http:80,https:443,ws:80,wss:443},_e=function(we){return S(Ee,we.scheme)},xe=function(we){return we.username!=""||we.password!=""},ke=function(we){return!we.host||we.cannotBeABaseURL||we.scheme=="file"},Le=function(we,ct){var nt;return we.length==2&&I.test(we.charAt(0))&&((nt=we.charAt(1))==":"||!ct&&nt=="|")},He=function(we){var ct;return we.length>1&&Le(we.slice(0,2))&&(we.length==2||(ct=we.charAt(2))==="/"||ct==="\\"||ct==="?"||ct==="#")},_t=function(we){var ct=we.path,nt=ct.length;nt&&(we.scheme!="file"||nt!=1||!Le(ct[0],!0))&&ct.pop()},jt=function(we){return we==="."||we.toLowerCase()==="%2e"},Lt=function(we){return we=we.toLowerCase(),we===".."||we==="%2e."||we===".%2e"||we==="%2e%2e"},Qe={},bt={},mt={},St={},yt={},at={},$t={},xt={},Ce={},Ze={},ut={},Tt={},Pt={},rr={},_r={},sr={},mr={},Pr={},ln={},di={},Nn={},Rn=function(we,ct,nt,ft){var kt=nt||Qe,dt=0,Yt="",Dr=!1,Zr=!1,en=!1,vn,Mt,Kr,Ki;for(nt||(we.scheme="",we.username="",we.password="",we.host=null,we.port=null,we.path=[],we.query=null,we.fragment=null,we.cannotBeABaseURL=!1,ct=ct.replace(k,"")),ct=ct.replace(q,""),vn=b(ct);dt<=vn.length;){switch(Mt=vn[dt],kt){case Qe:if(Mt&&I.test(Mt))Yt+=Mt.toLowerCase(),kt=bt;else{if(nt)return ee;kt=mt;continue}break;case bt:if(Mt&&(L.test(Mt)||Mt=="+"||Mt=="-"||Mt=="."))Yt+=Mt.toLowerCase();else if(Mt==":"){if(nt&&(_e(we)!=S(Ee,Yt)||Yt=="file"&&(xe(we)||we.port!==null)||we.scheme=="file"&&!we.host))return;if(we.scheme=Yt,nt){_e(we)&&Ee[we.scheme]==we.port&&(we.port=null);return}Yt="",we.scheme=="file"?kt=rr:_e(we)&&ft&&ft.scheme==we.scheme?kt=St:_e(we)?kt=xt:vn[dt+1]=="/"?(kt=yt,dt++):(we.cannotBeABaseURL=!0,we.path.push(""),kt=ln)}else{if(nt)return ee;Yt="",kt=mt,dt=0;continue}break;case mt:if(!ft||ft.cannotBeABaseURL&&Mt!="#")return ee;if(ft.cannotBeABaseURL&&Mt=="#"){we.scheme=ft.scheme,we.path=ft.path.slice(),we.query=ft.query,we.fragment="",we.cannotBeABaseURL=!0,kt=Nn;break}kt=ft.scheme=="file"?rr:at;continue;case St:if(Mt=="/"&&vn[dt+1]=="/")kt=Ce,dt++;else{kt=at;continue}break;case yt:if(Mt=="/"){kt=Ze;break}else{kt=Pr;continue}case at:if(we.scheme=ft.scheme,Mt==H)we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.query=ft.query;else if(Mt=="/"||Mt=="\\"&&_e(we))kt=$t;else if(Mt=="?")we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.query="",kt=di;else if(Mt=="#")we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.query=ft.query,we.fragment="",kt=Nn;else{we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,we.path=ft.path.slice(),we.path.pop(),kt=Pr;continue}break;case $t:if(_e(we)&&(Mt=="/"||Mt=="\\"))kt=Ce;else if(Mt=="/")kt=Ze;else{we.username=ft.username,we.password=ft.password,we.host=ft.host,we.port=ft.port,kt=Pr;continue}break;case xt:if(kt=Ce,Mt!="/"||Yt.charAt(dt+1)!="/")continue;dt++;break;case Ce:if(Mt!="/"&&Mt!="\\"){kt=Ze;continue}break;case Ze:if(Mt=="@"){Dr&&(Yt="%40"+Yt),Dr=!0,Kr=b(Yt);for(var si=0;si<Kr.length;si++){var va=Kr[si];if(va==":"&&!en){en=!0;continue}var Bi=de(va,Me);en?we.password+=Bi:we.username+=Bi}Yt=""}else if(Mt==H||Mt=="/"||Mt=="?"||Mt=="#"||Mt=="\\"&&_e(we)){if(Dr&&Yt=="")return K;dt-=b(Yt).length+1,Yt="",kt=ut}else Yt+=Mt;break;case ut:case Tt:if(nt&&we.scheme=="file"){kt=sr;continue}else if(Mt==":"&&!Zr){if(Yt=="")return ne;if(Ki=ie(we,Yt),Ki)return Ki;if(Yt="",kt=Pt,nt==Tt)return}else if(Mt==H||Mt=="/"||Mt=="?"||Mt=="#"||Mt=="\\"&&_e(we)){if(_e(we)&&Yt=="")return ne;if(nt&&Yt==""&&(xe(we)||we.port!==null))return;if(Ki=ie(we,Yt),Ki)return Ki;if(Yt="",kt=mr,nt)return;continue}else Mt=="["?Zr=!0:Mt=="]"&&(Zr=!1),Yt+=Mt;break;case Pt:if(re.test(Mt))Yt+=Mt;else if(Mt==H||Mt=="/"||Mt=="?"||Mt=="#"||Mt=="\\"&&_e(we)||nt){if(Yt!=""){var xa=parseInt(Yt,10);if(xa>65535)return D;we.port=_e(we)&&xa===Ee[we.scheme]?null:xa,Yt=""}if(nt)return;kt=mr;continue}else return D;break;case rr:if(we.scheme="file",Mt=="/"||Mt=="\\")kt=_r;else if(ft&&ft.scheme=="file")if(Mt==H)we.host=ft.host,we.path=ft.path.slice(),we.query=ft.query;else if(Mt=="?")we.host=ft.host,we.path=ft.path.slice(),we.query="",kt=di;else if(Mt=="#")we.host=ft.host,we.path=ft.path.slice(),we.query=ft.query,we.fragment="",kt=Nn;else{He(vn.slice(dt).join(""))||(we.host=ft.host,we.path=ft.path.slice(),_t(we)),kt=Pr;continue}else{kt=Pr;continue}break;case _r:if(Mt=="/"||Mt=="\\"){kt=sr;break}ft&&ft.scheme=="file"&&!He(vn.slice(dt).join(""))&&(Le(ft.path[0],!0)?we.path.push(ft.path[0]):we.host=ft.host),kt=Pr;continue;case sr:if(Mt==H||Mt=="/"||Mt=="\\"||Mt=="?"||Mt=="#"){if(!nt&&Le(Yt))kt=Pr;else if(Yt==""){if(we.host="",nt)return;kt=mr}else{if(Ki=ie(we,Yt),Ki)return Ki;if(we.host=="localhost"&&(we.host=""),nt)return;Yt="",kt=mr}continue}else Yt+=Mt;break;case mr:if(_e(we)){if(kt=Pr,Mt!="/"&&Mt!="\\")continue}else if(!nt&&Mt=="?")we.query="",kt=di;else if(!nt&&Mt=="#")we.fragment="",kt=Nn;else if(Mt!=H&&(kt=Pr,Mt!="/"))continue;break;case Pr:if(Mt==H||Mt=="/"||Mt=="\\"&&_e(we)||!nt&&(Mt=="?"||Mt=="#")){if(Lt(Yt)?(_t(we),Mt!="/"&&!(Mt=="\\"&&_e(we))&&we.path.push("")):jt(Yt)?Mt!="/"&&!(Mt=="\\"&&_e(we))&&we.path.push(""):(we.scheme=="file"&&!we.path.length&&Le(Yt)&&(we.host&&(we.host=""),Yt=Yt.charAt(0)+":"),we.path.push(Yt)),Yt="",we.scheme=="file"&&(Mt==H||Mt=="?"||Mt=="#"))for(;we.path.length>1&&we.path[0]==="";)we.path.shift();Mt=="?"?(we.query="",kt=di):Mt=="#"&&(we.fragment="",kt=Nn)}else Yt+=de(Mt,Oe);break;case ln:Mt=="?"?(we.query="",kt=di):Mt=="#"?(we.fragment="",kt=Nn):Mt!=H&&(we.path[0]+=de(Mt,Re));break;case di:!nt&&Mt=="#"?(we.fragment="",kt=Nn):Mt!=H&&(Mt=="'"&&_e(we)?we.query+="%27":Mt=="#"?we.query+="%23":we.query+=de(Mt,Re));break;case Nn:Mt!=H&&(we.fragment+=de(Mt,Se));break}dt++}},En=function(ct){var nt=y(this,En,"URL"),ft=arguments.length>1?arguments[1]:void 0,kt=String(ct),dt=$(nt,{type:"URL"}),Yt,Dr;if(ft!==void 0){if(ft instanceof En)Yt=B(ft);else if(Dr=Rn(Yt={},String(ft)),Dr)throw TypeError(Dr)}if(Dr=Rn(dt,kt,null,Yt),Dr)throw TypeError(Dr);var Zr=dt.searchParams=new N,en=U(Zr);en.updateSearchParams(dt.query),en.updateURL=function(){dt.query=String(Zr)||null},d||(nt.href=Zn.call(nt),nt.origin=Ci.call(nt),nt.protocol=_i.call(nt),nt.username=Vi.call(nt),nt.password=Yi.call(nt),nt.host=Ln.call(nt),nt.hostname=oi.call(nt),nt.port=Di.call(nt),nt.pathname=Ai.call(nt),nt.search=it.call(nt),nt.searchParams=Ft.call(nt),nt.hash=pt.call(nt))},Jn=En.prototype,Zn=function(){var we=B(this),ct=we.scheme,nt=we.username,ft=we.password,kt=we.host,dt=we.port,Yt=we.path,Dr=we.query,Zr=we.fragment,en=ct+":";return kt!==null?(en+="//",xe(we)&&(en+=nt+(ft?":"+ft:"")+"@"),en+=fe(kt),dt!==null&&(en+=":"+dt)):ct=="file"&&(en+="//"),en+=we.cannotBeABaseURL?Yt[0]:Yt.length?"/"+Yt.join("/"):"",Dr!==null&&(en+="?"+Dr),Zr!==null&&(en+="#"+Zr),en},Ci=function(){var we=B(this),ct=we.scheme,nt=we.port;if(ct=="blob")try{return new URL(ct.path[0]).origin}catch{return"null"}return ct=="file"||!_e(we)?"null":ct+"://"+fe(we.host)+(nt!==null?":"+nt:"")},_i=function(){return B(this).scheme+":"},Vi=function(){return B(this).username},Yi=function(){return B(this).password},Ln=function(){var we=B(this),ct=we.host,nt=we.port;return ct===null?"":nt===null?fe(ct):fe(ct)+":"+nt},oi=function(){var we=B(this).host;return we===null?"":fe(we)},Di=function(){var we=B(this).port;return we===null?"":String(we)},Ai=function(){var we=B(this),ct=we.path;return we.cannotBeABaseURL?ct[0]:ct.length?"/"+ct.join("/"):""},it=function(){var we=B(this).query;return we?"?"+we:""},Ft=function(){return B(this).searchParams},pt=function(){var we=B(this).fragment;return we?"#"+we:""},Ke=function(we,ct){return{get:we,set:ct,configurable:!0,enumerable:!0}};if(d&&g(Jn,{href:Ke(Zn,function(we){var ct=B(this),nt=String(we),ft=Rn(ct,nt);if(ft)throw TypeError(ft);U(ct.searchParams).updateSearchParams(ct.query)}),origin:Ke(Ci),protocol:Ke(_i,function(we){var ct=B(this);Rn(ct,String(we)+":",Qe)}),username:Ke(Vi,function(we){var ct=B(this),nt=b(String(we));if(!ke(ct)){ct.username="";for(var ft=0;ft<nt.length;ft++)ct.username+=de(nt[ft],Me)}}),password:Ke(Yi,function(we){var ct=B(this),nt=b(String(we));if(!ke(ct)){ct.password="";for(var ft=0;ft<nt.length;ft++)ct.password+=de(nt[ft],Me)}}),host:Ke(Ln,function(we){var ct=B(this);ct.cannotBeABaseURL||Rn(ct,String(we),ut)}),hostname:Ke(oi,function(we){var ct=B(this);ct.cannotBeABaseURL||Rn(ct,String(we),Tt)}),port:Ke(Di,function(we){var ct=B(this);ke(ct)||(we=String(we),we==""?ct.port=null:Rn(ct,we,Pt))}),pathname:Ke(Ai,function(we){var ct=B(this);ct.cannotBeABaseURL||(ct.path=[],Rn(ct,we+"",mr))}),search:Ke(it,function(we){var ct=B(this);we=String(we),we==""?ct.query=null:(we.charAt(0)=="?"&&(we=we.slice(1)),ct.query="",Rn(ct,we,di)),U(ct.searchParams).updateSearchParams(ct.query)}),searchParams:Ke(Ft),hash:Ke(pt,function(we){var ct=B(this);if(we=String(we),we==""){ct.fragment=null;return}we.charAt(0)=="#"&&(we=we.slice(1)),ct.fragment="",Rn(ct,we,Nn)})}),m(Jn,"toJSON",function(){return Zn.call(this)},{enumerable:!0}),m(Jn,"toString",function(){return Zn.call(this)},{enumerable:!0}),P){var At=P.createObjectURL,pr=P.revokeObjectURL;At&&m(En,"createObjectURL",function(ct){return At.apply(P,arguments)}),pr&&m(En,"revokeObjectURL",function(ct){return pr.apply(P,arguments)})}x(En,"URL"),c({global:!0,forced:!h,sham:!d},{URL:En})})},n={};function i(o){if(n[o])return n[o].exports;var u=n[o]={exports:{}};return r[o](u,u.exports,i),u.exports}(function(){i.d=function(o,u){for(var s in u)i.o(u,s)&&!i.o(o,s)&&Object.defineProperty(o,s,{enumerable:!0,get:u[s]})}})(),(function(){i.g=(function(){if(typeof globalThis=="object")return globalThis;try{return this||new Function("return this")()}catch{if(typeof window=="object")return window}})()})(),(function(){i.o=function(o,u){return Object.prototype.hasOwnProperty.call(o,u)}})(),(function(){i.r=function(o){typeof Symbol<"u"&&Symbol.toStringTag&&Object.defineProperty(o,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(o,"__esModule",{value:!0})}})();var a={};return(function(){i.r(a),i.d(a,{Dropzone:function(){return D},default:function(){return z}}),i(2222),i(7327),i(2772),i(6992),i(1249),i(7042),i(561),i(8264),i(8309),i(489),i(1539),i(4916),i(9714),i(8783),i(4723),i(5306),i(3123),i(3210),i(2472),i(2990),i(8927),i(3105),i(5035),i(4345),i(7174),i(2846),i(4731),i(7209),i(6319),i(8867),i(7789),i(3739),i(9368),i(4483),i(2056),i(3462),i(678),i(7462),i(3824),i(5021),i(2974),i(5016),i(4747),i(3948),i(285);function o(k,q){var H;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(H=u(k))||k&&typeof k.length=="number"){H&&(k=H);var ie=0,V=function(){};return{s:V,n:function(){return ie>=k.length?{done:!0}:{done:!1,value:k[ie++]}},e:function(Se){throw Se},f:V}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
129
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z=!0,me=!1,fe;return{s:function(){H=k[Symbol.iterator]()},n:function(){var Se=H.next();return Z=Se.done,Se},e:function(Se){me=!0,fe=Se},f:function(){try{!Z&&H.return!=null&&H.return()}finally{if(me)throw fe}}}}function u(k,q){if(k){if(typeof k=="string")return s(k,q);var H=Object.prototype.toString.call(k).slice(8,-1);if(H==="Object"&&k.constructor&&(H=k.constructor.name),H==="Map"||H==="Set")return Array.from(k);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return s(k,q)}}function s(k,q){(q==null||q>k.length)&&(q=k.length);for(var H=0,ie=new Array(q);H<q;H++)ie[H]=k[H];return ie}function c(k,q){if(!(k instanceof q))throw new TypeError("Cannot call a class as a function")}function d(k,q){for(var H=0;H<q.length;H++){var ie=q[H];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(k,ie.key,ie)}}function h(k,q,H){return q&&d(k.prototype,q),k}var v=(function(){function k(){c(this,k)}return h(k,[{key:"on",value:(function(H,ie){return this._callbacks=this._callbacks||{},this._callbacks[H]||(this._callbacks[H]=[]),this._callbacks[H].push(ie),this})},{key:"emit",value:function(H){this._callbacks=this._callbacks||{};for(var ie=this._callbacks[H],V=arguments.length,Z=new Array(V>1?V-1:0),me=1;me<V;me++)Z[me-1]=arguments[me];if(ie){var fe=o(ie),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value;Se.apply(this,Z)}}catch(Oe){fe.e(Oe)}finally{fe.f()}}return this.element&&this.element.dispatchEvent(this.makeEvent("dropzone:"+H,{args:Z})),this}},{key:"makeEvent",value:function(H,ie){var V={bubbles:!0,cancelable:!0,detail:ie};if(typeof window.CustomEvent=="function")return new CustomEvent(H,V);var Z=document.createEvent("CustomEvent");return Z.initCustomEvent(H,V.bubbles,V.cancelable,V.detail),Z}},{key:"off",value:function(H,ie){if(!this._callbacks||arguments.length===0)return this._callbacks={},this;var V=this._callbacks[H];if(!V)return this;if(arguments.length===1)return delete this._callbacks[H],this;for(var Z=0;Z<V.length;Z++){var me=V[Z];if(me===ie){V.splice(Z,1);break}}return this}}]),k})(),g='<div class="dz-preview dz-file-preview"> <div class="dz-image"><img data-dz-thumbnail/></div> <div class="dz-details"> <div class="dz-size"><span data-dz-size></span></div> <div class="dz-filename"><span data-dz-name></span></div> </div> <div class="dz-progress"> <span class="dz-upload" data-dz-uploadprogress></span> </div> <div class="dz-error-message"><span data-dz-errormessage></span></div> <div class="dz-success-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Check</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <path d="M23.5,31.8431458 L17.5852419,25.9283877 C16.0248253,24.3679711 13.4910294,24.366835 11.9289322,25.9289322 C10.3700136,27.4878508 10.3665912,30.0234455 11.9283877,31.5852419 L20.4147581,40.0716123 C20.5133999,40.1702541 20.6159315,40.2626649 20.7218615,40.3488435 C22.2835669,41.8725651 24.794234,41.8626202 26.3461564,40.3106978 L43.3106978,23.3461564 C44.8771021,21.7797521 44.8758057,19.2483887 43.3137085,17.6862915 C41.7547899,16.1273729 39.2176035,16.1255422 37.6538436,17.6893022 L23.5,31.8431458 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z" stroke-opacity="0.198794158" stroke="#747474" fill-opacity="0.816519475" fill="#FFFFFF"></path> </g> </svg> </div> <div class="dz-error-mark"> <svg width="54px" height="54px" viewBox="0 0 54 54" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"> <title>Error</title> <g stroke="none" stroke-width="1" fill="none" fill-rule="evenodd"> <g stroke="#747474" stroke-opacity="0.198794158" fill="#FFFFFF" fill-opacity="0.816519475"> <path d="M32.6568542,29 L38.3106978,23.3461564 C39.8771021,21.7797521 39.8758057,19.2483887 38.3137085,17.6862915 C36.7547899,16.1273729 34.2176035,16.1255422 32.6538436,17.6893022 L27,23.3431458 L21.3461564,17.6893022 C19.7823965,16.1255422 17.2452101,16.1273729 15.6862915,17.6862915 C14.1241943,19.2483887 14.1228979,21.7797521 15.6893022,23.3461564 L21.3431458,29 L15.6893022,34.6538436 C14.1228979,36.2202479 14.1241943,38.7516113 15.6862915,40.3137085 C17.2452101,41.8726271 19.7823965,41.8744578 21.3461564,40.3106978 L27,34.6568542 L32.6538436,40.3106978 C34.2176035,41.8744578 36.7547899,41.8726271 38.3137085,40.3137085 C39.8758057,38.7516113 39.8771021,36.2202479 38.3106978,34.6538436 L32.6568542,29 Z M27,53 C41.3594035,53 53,41.3594035 53,27 C53,12.6405965 41.3594035,1 27,1 C12.6405965,1 1,12.6405965 1,27 C1,41.3594035 12.6405965,53 27,53 Z"></path> </g> </g> </svg> </div> </div> ',m=g;function y(k,q){var H;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(H=S(k))||k&&typeof k.length=="number"){H&&(k=H);var ie=0,V=function(){};return{s:V,n:function(){return ie>=k.length?{done:!0}:{done:!1,value:k[ie++]}},e:function(Se){throw Se},f:V}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
130
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z=!0,me=!1,fe;return{s:function(){H=k[Symbol.iterator]()},n:function(){var Se=H.next();return Z=Se.done,Se},e:function(Se){me=!0,fe=Se},f:function(){try{!Z&&H.return!=null&&H.return()}finally{if(me)throw fe}}}}function S(k,q){if(k){if(typeof k=="string")return w(k,q);var H=Object.prototype.toString.call(k).slice(8,-1);if(H==="Object"&&k.constructor&&(H=k.constructor.name),H==="Map"||H==="Set")return Array.from(k);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return w(k,q)}}function w(k,q){(q==null||q>k.length)&&(q=k.length);for(var H=0,ie=new Array(q);H<q;H++)ie[H]=k[H];return ie}var b={url:null,method:"post",withCredentials:!1,timeout:null,parallelUploads:2,uploadMultiple:!1,chunking:!1,forceChunking:!1,chunkSize:2e6,parallelChunkUploads:!1,retryChunks:!1,retryChunksLimit:3,maxFilesize:256,paramName:"file",createImageThumbnails:!0,maxThumbnailFilesize:10,thumbnailWidth:120,thumbnailHeight:120,thumbnailMethod:"crop",resizeWidth:null,resizeHeight:null,resizeMimeType:null,resizeQuality:.8,resizeMethod:"contain",filesizeBase:1e3,maxFiles:null,headers:null,clickable:!0,ignoreHiddenFiles:!0,acceptedFiles:null,acceptedMimeTypes:null,autoProcessQueue:!0,autoQueue:!0,addRemoveLinks:!1,previewsContainer:null,disablePreviews:!1,hiddenInputContainer:"body",capture:null,renameFilename:null,renameFile:null,forceFallback:!1,dictDefaultMessage:"Drop files here to upload",dictFallbackMessage:"Your browser does not support drag'n'drop file uploads.",dictFallbackText:"Please use the fallback form below to upload your files like in the olden days.",dictFileTooBig:"File is too big ({{filesize}}MiB). Max filesize: {{maxFilesize}}MiB.",dictInvalidFileType:"You can't upload files of this type.",dictResponseError:"Server responded with {{statusCode}} code.",dictCancelUpload:"Cancel upload",dictUploadCanceled:"Upload canceled.",dictCancelUploadConfirmation:"Are you sure you want to cancel this upload?",dictRemoveFile:"Remove file",dictRemoveFileConfirmation:null,dictMaxFilesExceeded:"You can not upload any more files.",dictFileSizeUnits:{tb:"TB",gb:"GB",mb:"MB",kb:"KB",b:"b"},init:function(){},params:function(q,H,ie){if(ie)return{dzuuid:ie.file.upload.uuid,dzchunkindex:ie.index,dztotalfilesize:ie.file.size,dzchunksize:this.options.chunkSize,dztotalchunkcount:ie.file.upload.totalChunkCount,dzchunkbyteoffset:ie.index*this.options.chunkSize}},accept:function(q,H){return H()},chunksUploaded:function(q,H){H()},fallback:function(){var q;this.element.className="".concat(this.element.className," dz-browser-not-supported");var H=y(this.element.getElementsByTagName("div")),ie;try{for(H.s();!(ie=H.n()).done;){var V=ie.value;if(/(^| )dz-message($| )/.test(V.className)){q=V,V.className="dz-message";break}}}catch(me){H.e(me)}finally{H.f()}q||(q=D.createElement('<div class="dz-message"><span></span></div>'),this.element.appendChild(q));var Z=q.getElementsByTagName("span")[0];return Z&&(Z.textContent!=null?Z.textContent=this.options.dictFallbackMessage:Z.innerText!=null&&(Z.innerText=this.options.dictFallbackMessage)),this.element.appendChild(this.getFallbackForm())},resize:function(q,H,ie,V){var Z={srcX:0,srcY:0,srcWidth:q.width,srcHeight:q.height},me=q.width/q.height;H==null&&ie==null?(H=Z.srcWidth,ie=Z.srcHeight):H==null?H=ie*me:ie==null&&(ie=H/me),H=Math.min(H,Z.srcWidth),ie=Math.min(ie,Z.srcHeight);var fe=H/ie;if(Z.srcWidth>H||Z.srcHeight>ie)if(V==="crop")me>fe?(Z.srcHeight=q.height,Z.srcWidth=Z.srcHeight*fe):(Z.srcWidth=q.width,Z.srcHeight=Z.srcWidth/fe);else if(V==="contain")me>fe?ie=H/me:H=ie*me;else throw new Error("Unknown resizeMethod '".concat(V,"'"));return Z.srcX=(q.width-Z.srcWidth)/2,Z.srcY=(q.height-Z.srcHeight)/2,Z.trgWidth=H,Z.trgHeight=ie,Z},transformFile:function(q,H){return(this.options.resizeWidth||this.options.resizeHeight)&&q.type.match(/image.*/)?this.resizeImage(q,this.options.resizeWidth,this.options.resizeHeight,this.options.resizeMethod,H):H(q)},previewTemplate:m,drop:function(q){return this.element.classList.remove("dz-drag-hover")},dragstart:function(q){},dragend:function(q){return this.element.classList.remove("dz-drag-hover")},dragenter:function(q){return this.element.classList.add("dz-drag-hover")},dragover:function(q){return this.element.classList.add("dz-drag-hover")},dragleave:function(q){return this.element.classList.remove("dz-drag-hover")},paste:function(q){},reset:function(){return this.element.classList.remove("dz-started")},addedfile:function(q){var H=this;if(this.element===this.previewsContainer&&this.element.classList.add("dz-started"),this.previewsContainer&&!this.options.disablePreviews){q.previewElement=D.createElement(this.options.previewTemplate.trim()),q.previewTemplate=q.previewElement,this.previewsContainer.appendChild(q.previewElement);var ie=y(q.previewElement.querySelectorAll("[data-dz-name]")),V;try{for(ie.s();!(V=ie.n()).done;){var Z=V.value;Z.textContent=q.name}}catch(de){ie.e(de)}finally{ie.f()}var me=y(q.previewElement.querySelectorAll("[data-dz-size]")),fe;try{for(me.s();!(fe=me.n()).done;)Z=fe.value,Z.innerHTML=this.filesize(q.size)}catch(de){me.e(de)}finally{me.f()}this.options.addRemoveLinks&&(q._removeLink=D.createElement('<a class="dz-remove" href="javascript:undefined;" data-dz-remove>'.concat(this.options.dictRemoveFile,"</a>")),q.previewElement.appendChild(q._removeLink));var Re=function(Ee){return Ee.preventDefault(),Ee.stopPropagation(),q.status===D.UPLOADING?D.confirm(H.options.dictCancelUploadConfirmation,function(){return H.removeFile(q)}):H.options.dictRemoveFileConfirmation?D.confirm(H.options.dictRemoveFileConfirmation,function(){return H.removeFile(q)}):H.removeFile(q)},Se=y(q.previewElement.querySelectorAll("[data-dz-remove]")),Oe;try{for(Se.s();!(Oe=Se.n()).done;){var Me=Oe.value;Me.addEventListener("click",Re)}}catch(de){Se.e(de)}finally{Se.f()}}},removedfile:function(q){return q.previewElement!=null&&q.previewElement.parentNode!=null&&q.previewElement.parentNode.removeChild(q.previewElement),this._updateMaxFilesReachedClass()},thumbnail:function(q,H){if(q.previewElement){q.previewElement.classList.remove("dz-file-preview");var ie=y(q.previewElement.querySelectorAll("[data-dz-thumbnail]")),V;try{for(ie.s();!(V=ie.n()).done;){var Z=V.value;Z.alt=q.name,Z.src=H}}catch(me){ie.e(me)}finally{ie.f()}return setTimeout(function(){return q.previewElement.classList.add("dz-image-preview")},1)}},error:function(q,H){if(q.previewElement){q.previewElement.classList.add("dz-error"),typeof H!="string"&&H.error&&(H=H.error);var ie=y(q.previewElement.querySelectorAll("[data-dz-errormessage]")),V;try{for(ie.s();!(V=ie.n()).done;){var Z=V.value;Z.textContent=H}}catch(me){ie.e(me)}finally{ie.f()}}},errormultiple:function(){},processing:function(q){if(q.previewElement&&(q.previewElement.classList.add("dz-processing"),q._removeLink))return q._removeLink.innerHTML=this.options.dictCancelUpload},processingmultiple:function(){},uploadprogress:function(q,H,ie){if(q.previewElement){var V=y(q.previewElement.querySelectorAll("[data-dz-uploadprogress]")),Z;try{for(V.s();!(Z=V.n()).done;){var me=Z.value;me.nodeName==="PROGRESS"?me.value=H:me.style.width="".concat(H,"%")}}catch(fe){V.e(fe)}finally{V.f()}}},totaluploadprogress:function(){},sending:function(){},sendingmultiple:function(){},success:function(q){if(q.previewElement)return q.previewElement.classList.add("dz-success")},successmultiple:function(){},canceled:function(q){return this.emit("error",q,this.options.dictUploadCanceled)},canceledmultiple:function(){},complete:function(q){if(q._removeLink&&(q._removeLink.innerHTML=this.options.dictRemoveFile),q.previewElement)return q.previewElement.classList.add("dz-complete")},completemultiple:function(){},maxfilesexceeded:function(){},maxfilesreached:function(){},queuecomplete:function(){},addedfiles:function(){}},A=b;function R(k){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?R=function(H){return typeof H}:R=function(H){return H&&typeof Symbol=="function"&&H.constructor===Symbol&&H!==Symbol.prototype?"symbol":typeof H},R(k)}function x(k,q){var H;if(typeof Symbol>"u"||k[Symbol.iterator]==null){if(Array.isArray(k)||(H=O(k))||k&&typeof k.length=="number"){H&&(k=H);var ie=0,V=function(){};return{s:V,n:function(){return ie>=k.length?{done:!0}:{done:!1,value:k[ie++]}},e:function(Se){throw Se},f:V}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
131
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Z=!0,me=!1,fe;return{s:function(){H=k[Symbol.iterator]()},n:function(){var Se=H.next();return Z=Se.done,Se},e:function(Se){me=!0,fe=Se},f:function(){try{!Z&&H.return!=null&&H.return()}finally{if(me)throw fe}}}}function O(k,q){if(k){if(typeof k=="string")return _(k,q);var H=Object.prototype.toString.call(k).slice(8,-1);if(H==="Object"&&k.constructor&&(H=k.constructor.name),H==="Map"||H==="Set")return Array.from(k);if(H==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(H))return _(k,q)}}function _(k,q){(q==null||q>k.length)&&(q=k.length);for(var H=0,ie=new Array(q);H<q;H++)ie[H]=k[H];return ie}function P(k,q){if(!(k instanceof q))throw new TypeError("Cannot call a class as a function")}function N(k,q){for(var H=0;H<q.length;H++){var ie=q[H];ie.enumerable=ie.enumerable||!1,ie.configurable=!0,"value"in ie&&(ie.writable=!0),Object.defineProperty(k,ie.key,ie)}}function U(k,q,H){return q&&N(k.prototype,q),H&&N(k,H),k}function $(k,q){if(typeof q!="function"&&q!==null)throw new TypeError("Super expression must either be null or a function");k.prototype=Object.create(q&&q.prototype,{constructor:{value:k,writable:!0,configurable:!0}}),q&&B(k,q)}function B(k,q){return B=Object.setPrototypeOf||function(ie,V){return ie.__proto__=V,ie},B(k,q)}function Y(k){var q=ee();return function(){var ie=ne(k),V;if(q){var Z=ne(this).constructor;V=Reflect.construct(ie,arguments,Z)}else V=ie.apply(this,arguments);return Q(this,V)}}function Q(k,q){return q&&(R(q)==="object"||typeof q=="function")?q:K(k)}function K(k){if(k===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return k}function ee(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function ne(k){return ne=Object.setPrototypeOf?Object.getPrototypeOf:function(H){return H.__proto__||Object.getPrototypeOf(H)},ne(k)}var D=(function(k){$(H,k);var q=Y(H);function H(ie,V){var Z;P(this,H),Z=q.call(this);var me,fe;if(Z.element=ie,Z.version=H.version,Z.clickableElements=[],Z.listeners=[],Z.files=[],typeof Z.element=="string"&&(Z.element=document.querySelector(Z.element)),!Z.element||Z.element.nodeType==null)throw new Error("Invalid dropzone element.");if(Z.element.dropzone)throw new Error("Dropzone already attached.");H.instances.push(K(Z)),Z.element.dropzone=K(Z);var Re=(fe=H.optionsForElement(Z.element))!=null?fe:{};if(Z.options=H.extend({},A,Re,V??{}),Z.options.previewTemplate=Z.options.previewTemplate.replace(/\n*/g,""),Z.options.forceFallback||!H.isBrowserSupported())return Q(Z,Z.options.fallback.call(K(Z)));if(Z.options.url==null&&(Z.options.url=Z.element.getAttribute("action")),!Z.options.url)throw new Error("No URL provided.");if(Z.options.acceptedFiles&&Z.options.acceptedMimeTypes)throw new Error("You can't provide both 'acceptedFiles' and 'acceptedMimeTypes'. 'acceptedMimeTypes' is deprecated.");if(Z.options.uploadMultiple&&Z.options.chunking)throw new Error("You cannot set both: uploadMultiple and chunking.");return Z.options.acceptedMimeTypes&&(Z.options.acceptedFiles=Z.options.acceptedMimeTypes,delete Z.options.acceptedMimeTypes),Z.options.renameFilename!=null&&(Z.options.renameFile=function(Se){return Z.options.renameFilename.call(K(Z),Se.name,Se)}),typeof Z.options.method=="string"&&(Z.options.method=Z.options.method.toUpperCase()),(me=Z.getExistingFallback())&&me.parentNode&&me.parentNode.removeChild(me),Z.options.previewsContainer!==!1&&(Z.options.previewsContainer?Z.previewsContainer=H.getElement(Z.options.previewsContainer,"previewsContainer"):Z.previewsContainer=Z.element),Z.options.clickable&&(Z.options.clickable===!0?Z.clickableElements=[Z.element]:Z.clickableElements=H.getElements(Z.options.clickable,"clickable")),Z.init(),Z}return U(H,[{key:"getAcceptedFiles",value:function(){return this.files.filter(function(V){return V.accepted}).map(function(V){return V})}},{key:"getRejectedFiles",value:function(){return this.files.filter(function(V){return!V.accepted}).map(function(V){return V})}},{key:"getFilesWithStatus",value:function(V){return this.files.filter(function(Z){return Z.status===V}).map(function(Z){return Z})}},{key:"getQueuedFiles",value:function(){return this.getFilesWithStatus(H.QUEUED)}},{key:"getUploadingFiles",value:function(){return this.getFilesWithStatus(H.UPLOADING)}},{key:"getAddedFiles",value:function(){return this.getFilesWithStatus(H.ADDED)}},{key:"getActiveFiles",value:function(){return this.files.filter(function(V){return V.status===H.UPLOADING||V.status===H.QUEUED}).map(function(V){return V})}},{key:"init",value:function(){var V=this;if(this.element.tagName==="form"&&this.element.setAttribute("enctype","multipart/form-data"),this.element.classList.contains("dropzone")&&!this.element.querySelector(".dz-message")&&this.element.appendChild(H.createElement('<div class="dz-default dz-message"><button class="dz-button" type="button">'.concat(this.options.dictDefaultMessage,"</button></div>"))),this.clickableElements.length){var Z=function Me(){V.hiddenFileInput&&V.hiddenFileInput.parentNode.removeChild(V.hiddenFileInput),V.hiddenFileInput=document.createElement("input"),V.hiddenFileInput.setAttribute("type","file"),(V.options.maxFiles===null||V.options.maxFiles>1)&&V.hiddenFileInput.setAttribute("multiple","multiple"),V.hiddenFileInput.className="dz-hidden-input",V.options.acceptedFiles!==null&&V.hiddenFileInput.setAttribute("accept",V.options.acceptedFiles),V.options.capture!==null&&V.hiddenFileInput.setAttribute("capture",V.options.capture),V.hiddenFileInput.setAttribute("tabindex","-1"),V.hiddenFileInput.style.visibility="hidden",V.hiddenFileInput.style.position="absolute",V.hiddenFileInput.style.top="0",V.hiddenFileInput.style.left="0",V.hiddenFileInput.style.height="0",V.hiddenFileInput.style.width="0",H.getElement(V.options.hiddenInputContainer,"hiddenInputContainer").appendChild(V.hiddenFileInput),V.hiddenFileInput.addEventListener("change",function(){var de=V.hiddenFileInput.files;if(de.length){var Ee=x(de),_e;try{for(Ee.s();!(_e=Ee.n()).done;){var xe=_e.value;V.addFile(xe)}}catch(ke){Ee.e(ke)}finally{Ee.f()}}V.emit("addedfiles",de),Me()})};Z()}this.URL=window.URL!==null?window.URL:window.webkitURL;var me=x(this.events),fe;try{for(me.s();!(fe=me.n()).done;){var Re=fe.value;this.on(Re,this.options[Re])}}catch(Me){me.e(Me)}finally{me.f()}this.on("uploadprogress",function(){return V.updateTotalUploadProgress()}),this.on("removedfile",function(){return V.updateTotalUploadProgress()}),this.on("canceled",function(Me){return V.emit("complete",Me)}),this.on("complete",function(Me){if(V.getAddedFiles().length===0&&V.getUploadingFiles().length===0&&V.getQueuedFiles().length===0)return setTimeout(function(){return V.emit("queuecomplete")},0)});var Se=function(de){if(de.dataTransfer.types){for(var Ee=0;Ee<de.dataTransfer.types.length;Ee++)if(de.dataTransfer.types[Ee]==="Files")return!0}return!1},Oe=function(de){if(Se(de))return de.stopPropagation(),de.preventDefault?de.preventDefault():de.returnValue=!1};return this.listeners=[{element:this.element,events:{dragstart:function(de){return V.emit("dragstart",de)},dragenter:function(de){return Oe(de),V.emit("dragenter",de)},dragover:function(de){var Ee;try{Ee=de.dataTransfer.effectAllowed}catch{}return de.dataTransfer.dropEffect=Ee==="move"||Ee==="linkMove"?"move":"copy",Oe(de),V.emit("dragover",de)},dragleave:function(de){return V.emit("dragleave",de)},drop:function(de){return Oe(de),V.drop(de)},dragend:function(de){return V.emit("dragend",de)}}}],this.clickableElements.forEach(function(Me){return V.listeners.push({element:Me,events:{click:function(Ee){return(Me!==V.element||Ee.target===V.element||H.elementInside(Ee.target,V.element.querySelector(".dz-message")))&&V.hiddenFileInput.click(),!0}}})}),this.enable(),this.options.init.call(this)}},{key:"destroy",value:function(){return this.disable(),this.removeAllFiles(!0),this.hiddenFileInput!=null&&this.hiddenFileInput.parentNode&&(this.hiddenFileInput.parentNode.removeChild(this.hiddenFileInput),this.hiddenFileInput=null),delete this.element.dropzone,H.instances.splice(H.instances.indexOf(this),1)}},{key:"updateTotalUploadProgress",value:function(){var V,Z=0,me=0,fe=this.getActiveFiles();if(fe.length){var Re=x(this.getActiveFiles()),Se;try{for(Re.s();!(Se=Re.n()).done;){var Oe=Se.value;Z+=Oe.upload.bytesSent,me+=Oe.upload.total}}catch(Me){Re.e(Me)}finally{Re.f()}V=100*Z/me}else V=100;return this.emit("totaluploadprogress",V,me,Z)}},{key:"_getParamName",value:function(V){return typeof this.options.paramName=="function"?this.options.paramName(V):"".concat(this.options.paramName).concat(this.options.uploadMultiple?"[".concat(V,"]"):"")}},{key:"_renameFile",value:function(V){return typeof this.options.renameFile!="function"?V.name:this.options.renameFile(V)}},{key:"getFallbackForm",value:function(){var V,Z;if(V=this.getExistingFallback())return V;var me='<div class="dz-fallback">';this.options.dictFallbackText&&(me+="<p>".concat(this.options.dictFallbackText,"</p>")),me+='<input type="file" name="'.concat(this._getParamName(0),'" ').concat(this.options.uploadMultiple?'multiple="multiple"':void 0,' /><input type="submit" value="Upload!"></div>');var fe=H.createElement(me);return this.element.tagName!=="FORM"?(Z=H.createElement('<form action="'.concat(this.options.url,'" enctype="multipart/form-data" method="').concat(this.options.method,'"></form>')),Z.appendChild(fe)):(this.element.setAttribute("enctype","multipart/form-data"),this.element.setAttribute("method",this.options.method)),Z??fe}},{key:"getExistingFallback",value:function(){for(var V=function(Oe){var Me=x(Oe),de;try{for(Me.s();!(de=Me.n()).done;){var Ee=de.value;if(/(^| )fallback($| )/.test(Ee.className))return Ee}}catch(_e){Me.e(_e)}finally{Me.f()}},Z=0,me=["div","form"];Z<me.length;Z++){var fe=me[Z],Re;if(Re=V(this.element.getElementsByTagName(fe)))return Re}}},{key:"setupEventListeners",value:function(){return this.listeners.map(function(V){return(function(){var Z=[];for(var me in V.events){var fe=V.events[me];Z.push(V.element.addEventListener(me,fe,!1))}return Z})()})}},{key:"removeEventListeners",value:function(){return this.listeners.map(function(V){return(function(){var Z=[];for(var me in V.events){var fe=V.events[me];Z.push(V.element.removeEventListener(me,fe,!1))}return Z})()})}},{key:"disable",value:function(){var V=this;return this.clickableElements.forEach(function(Z){return Z.classList.remove("dz-clickable")}),this.removeEventListeners(),this.disabled=!0,this.files.map(function(Z){return V.cancelUpload(Z)})}},{key:"enable",value:function(){return delete this.disabled,this.clickableElements.forEach(function(V){return V.classList.add("dz-clickable")}),this.setupEventListeners()}},{key:"filesize",value:function(V){var Z=0,me="b";if(V>0){for(var fe=["tb","gb","mb","kb","b"],Re=0;Re<fe.length;Re++){var Se=fe[Re],Oe=Math.pow(this.options.filesizeBase,4-Re)/10;if(V>=Oe){Z=V/Math.pow(this.options.filesizeBase,4-Re),me=Se;break}}Z=Math.round(10*Z)/10}return"<strong>".concat(Z,"</strong> ").concat(this.options.dictFileSizeUnits[me])}},{key:"_updateMaxFilesReachedClass",value:function(){return this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(this.getAcceptedFiles().length===this.options.maxFiles&&this.emit("maxfilesreached",this.files),this.element.classList.add("dz-max-files-reached")):this.element.classList.remove("dz-max-files-reached")}},{key:"drop",value:function(V){if(V.dataTransfer){this.emit("drop",V);for(var Z=[],me=0;me<V.dataTransfer.files.length;me++)Z[me]=V.dataTransfer.files[me];if(Z.length){var fe=V.dataTransfer.items;fe&&fe.length&&fe[0].webkitGetAsEntry!=null?this._addFilesFromItems(fe):this.handleFiles(Z)}this.emit("addedfiles",Z)}}},{key:"paste",value:function(V){if(Ie(V!=null?V.clipboardData:void 0,function(me){return me.items})!=null){this.emit("paste",V);var Z=V.clipboardData.items;if(Z.length)return this._addFilesFromItems(Z)}}},{key:"handleFiles",value:function(V){var Z=x(V),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;this.addFile(fe)}}catch(Re){Z.e(Re)}finally{Z.f()}}},{key:"_addFilesFromItems",value:function(V){var Z=this;return(function(){var me=[],fe=x(V),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value,Oe;Se.webkitGetAsEntry!=null&&(Oe=Se.webkitGetAsEntry())?Oe.isFile?me.push(Z.addFile(Se.getAsFile())):Oe.isDirectory?me.push(Z._addFilesFromDirectory(Oe,Oe.name)):me.push(void 0):Se.getAsFile!=null&&(Se.kind==null||Se.kind==="file")?me.push(Z.addFile(Se.getAsFile())):me.push(void 0)}}catch(Me){fe.e(Me)}finally{fe.f()}return me})()}},{key:"_addFilesFromDirectory",value:function(V,Z){var me=this,fe=V.createReader(),Re=function(Me){return je(console,"log",function(de){return de.log(Me)})},Se=function Oe(){return fe.readEntries(function(Me){if(Me.length>0){var de=x(Me),Ee;try{for(de.s();!(Ee=de.n()).done;){var _e=Ee.value;_e.isFile?_e.file(function(xe){if(!(me.options.ignoreHiddenFiles&&xe.name.substring(0,1)==="."))return xe.fullPath="".concat(Z,"/").concat(xe.name),me.addFile(xe)}):_e.isDirectory&&me._addFilesFromDirectory(_e,"".concat(Z,"/").concat(_e.name))}}catch(xe){de.e(xe)}finally{de.f()}Oe()}return null},Re)};return Se()}},{key:"accept",value:function(V,Z){this.options.maxFilesize&&V.size>this.options.maxFilesize*1024*1024?Z(this.options.dictFileTooBig.replace("{{filesize}}",Math.round(V.size/1024/10.24)/100).replace("{{maxFilesize}}",this.options.maxFilesize)):H.isValidFile(V,this.options.acceptedFiles)?this.options.maxFiles!=null&&this.getAcceptedFiles().length>=this.options.maxFiles?(Z(this.options.dictMaxFilesExceeded.replace("{{maxFiles}}",this.options.maxFiles)),this.emit("maxfilesexceeded",V)):this.options.accept.call(this,V,Z):Z(this.options.dictInvalidFileType)}},{key:"addFile",value:function(V){var Z=this;V.upload={uuid:H.uuidv4(),progress:0,total:V.size,bytesSent:0,filename:this._renameFile(V)},this.files.push(V),V.status=H.ADDED,this.emit("addedfile",V),this._enqueueThumbnail(V),this.accept(V,function(me){me?(V.accepted=!1,Z._errorProcessing([V],me)):(V.accepted=!0,Z.options.autoQueue&&Z.enqueueFile(V)),Z._updateMaxFilesReachedClass()})}},{key:"enqueueFiles",value:function(V){var Z=x(V),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;this.enqueueFile(fe)}}catch(Re){Z.e(Re)}finally{Z.f()}return null}},{key:"enqueueFile",value:function(V){var Z=this;if(V.status===H.ADDED&&V.accepted===!0){if(V.status=H.QUEUED,this.options.autoProcessQueue)return setTimeout(function(){return Z.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(V){var Z=this;if(this.options.createImageThumbnails&&V.type.match(/image.*/)&&V.size<=this.options.maxThumbnailFilesize*1024*1024)return this._thumbnailQueue.push(V),setTimeout(function(){return Z._processThumbnailQueue()},0)}},{key:"_processThumbnailQueue",value:function(){var V=this;if(!(this._processingThumbnail||this._thumbnailQueue.length===0)){this._processingThumbnail=!0;var Z=this._thumbnailQueue.shift();return this.createThumbnail(Z,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,!0,function(me){return V.emit("thumbnail",Z,me),V._processingThumbnail=!1,V._processThumbnailQueue()})}}},{key:"removeFile",value:function(V){if(V.status===H.UPLOADING&&this.cancelUpload(V),this.files=I(this.files,V),this.emit("removedfile",V),this.files.length===0)return this.emit("reset")}},{key:"removeAllFiles",value:function(V){V==null&&(V=!1);var Z=x(this.files.slice()),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;(fe.status!==H.UPLOADING||V)&&this.removeFile(fe)}}catch(Re){Z.e(Re)}finally{Z.f()}return null}},{key:"resizeImage",value:function(V,Z,me,fe,Re){var Se=this;return this.createThumbnail(V,Z,me,fe,!0,function(Oe,Me){if(Me==null)return Re(V);var de=Se.options.resizeMimeType;de==null&&(de=V.type);var Ee=Me.toDataURL(de,Se.options.resizeQuality);return(de==="image/jpeg"||de==="image/jpg")&&(Ee=ce.restore(V.dataURL,Ee)),Re(H.dataURItoBlob(Ee))})}},{key:"createThumbnail",value:function(V,Z,me,fe,Re,Se){var Oe=this,Me=new FileReader;Me.onload=function(){if(V.dataURL=Me.result,V.type==="image/svg+xml"){Se!=null&&Se(Me.result);return}Oe.createThumbnailFromUrl(V,Z,me,fe,Re,Se)},Me.readAsDataURL(V)}},{key:"displayExistingFile",value:function(V,Z,me,fe){var Re=this,Se=arguments.length>4&&arguments[4]!==void 0?arguments[4]:!0;if(this.emit("addedfile",V),this.emit("complete",V),!Se)this.emit("thumbnail",V,Z),me&&me();else{var Oe=function(de){Re.emit("thumbnail",V,de),me&&me()};V.dataURL=Z,this.createThumbnailFromUrl(V,this.options.thumbnailWidth,this.options.thumbnailHeight,this.options.thumbnailMethod,this.options.fixOrientation,Oe,fe)}}},{key:"createThumbnailFromUrl",value:function(V,Z,me,fe,Re,Se,Oe){var Me=this,de=document.createElement("img");return Oe&&(de.crossOrigin=Oe),Re=getComputedStyle(document.body).imageOrientation=="from-image"?!1:Re,de.onload=function(){var Ee=function(xe){return xe(1)};return typeof EXIF<"u"&&EXIF!==null&&Re&&(Ee=function(xe){return EXIF.getData(de,function(){return xe(EXIF.getTag(this,"Orientation"))})}),Ee(function(_e){V.width=de.width,V.height=de.height;var xe=Me.options.resize.call(Me,V,Z,me,fe),ke=document.createElement("canvas"),Le=ke.getContext("2d");switch(ke.width=xe.trgWidth,ke.height=xe.trgHeight,_e>4&&(ke.width=xe.trgHeight,ke.height=xe.trgWidth),_e){case 2:Le.translate(ke.width,0),Le.scale(-1,1);break;case 3:Le.translate(ke.width,ke.height),Le.rotate(Math.PI);break;case 4:Le.translate(0,ke.height),Le.scale(1,-1);break;case 5:Le.rotate(.5*Math.PI),Le.scale(1,-1);break;case 6:Le.rotate(.5*Math.PI),Le.translate(0,-ke.width);break;case 7:Le.rotate(.5*Math.PI),Le.translate(ke.height,-ke.width),Le.scale(-1,1);break;case 8:Le.rotate(-.5*Math.PI),Le.translate(-ke.height,0);break}te(Le,de,xe.srcX!=null?xe.srcX:0,xe.srcY!=null?xe.srcY:0,xe.srcWidth,xe.srcHeight,xe.trgX!=null?xe.trgX:0,xe.trgY!=null?xe.trgY:0,xe.trgWidth,xe.trgHeight);var He=ke.toDataURL("image/png");if(Se!=null)return Se(He,ke)})},Se!=null&&(de.onerror=Se),de.src=V.dataURL}},{key:"processQueue",value:function(){var V=this.options.parallelUploads,Z=this.getUploadingFiles().length,me=Z;if(!(Z>=V)){var fe=this.getQueuedFiles();if(fe.length>0){if(this.options.uploadMultiple)return this.processFiles(fe.slice(0,V-Z));for(;me<V;){if(!fe.length)return;this.processFile(fe.shift()),me++}}}}},{key:"processFile",value:function(V){return this.processFiles([V])}},{key:"processFiles",value:function(V){var Z=x(V),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;fe.processing=!0,fe.status=H.UPLOADING,this.emit("processing",fe)}}catch(Re){Z.e(Re)}finally{Z.f()}return this.options.uploadMultiple&&this.emit("processingmultiple",V),this.uploadFiles(V)}},{key:"_getFilesWithXhr",value:function(V){return this.files.filter(function(Z){return Z.xhr===V}).map(function(Z){return Z})}},{key:"cancelUpload",value:function(V){if(V.status===H.UPLOADING){var Z=this._getFilesWithXhr(V.xhr),me=x(Z),fe;try{for(me.s();!(fe=me.n()).done;){var Re=fe.value;Re.status=H.CANCELED}}catch(de){me.e(de)}finally{me.f()}typeof V.xhr<"u"&&V.xhr.abort();var Se=x(Z),Oe;try{for(Se.s();!(Oe=Se.n()).done;){var Me=Oe.value;this.emit("canceled",Me)}}catch(de){Se.e(de)}finally{Se.f()}this.options.uploadMultiple&&this.emit("canceledmultiple",Z)}else(V.status===H.ADDED||V.status===H.QUEUED)&&(V.status=H.CANCELED,this.emit("canceled",V),this.options.uploadMultiple&&this.emit("canceledmultiple",[V]));if(this.options.autoProcessQueue)return this.processQueue()}},{key:"resolveOption",value:function(V){if(typeof V=="function"){for(var Z=arguments.length,me=new Array(Z>1?Z-1:0),fe=1;fe<Z;fe++)me[fe-1]=arguments[fe];return V.apply(this,me)}return V}},{key:"uploadFile",value:function(V){return this.uploadFiles([V])}},{key:"uploadFiles",value:function(V){var Z=this;this._transformFiles(V,function(me){if(Z.options.chunking){var fe=me[0];V[0].upload.chunked=Z.options.chunking&&(Z.options.forceChunking||fe.size>Z.options.chunkSize),V[0].upload.totalChunkCount=Math.ceil(fe.size/Z.options.chunkSize)}if(V[0].upload.chunked){var Re=V[0],Se=me[0];Re.upload.chunks=[];var Oe=function(){for(var xe=0;Re.upload.chunks[xe]!==void 0;)xe++;if(!(xe>=Re.upload.totalChunkCount)){var ke=xe*Z.options.chunkSize,Le=Math.min(ke+Z.options.chunkSize,Se.size),He={name:Z._getParamName(0),data:Se.webkitSlice?Se.webkitSlice(ke,Le):Se.slice(ke,Le),filename:Re.upload.filename,chunkIndex:xe};Re.upload.chunks[xe]={file:Re,index:xe,dataBlock:He,status:H.UPLOADING,progress:0,retries:0},Z._uploadData(V,[He])}};if(Re.upload.finishedChunkUpload=function(_e,xe){var ke=!0;_e.status=H.SUCCESS,_e.dataBlock=null,_e.xhr=null;for(var Le=0;Le<Re.upload.totalChunkCount;Le++){if(Re.upload.chunks[Le]===void 0)return Oe();Re.upload.chunks[Le].status!==H.SUCCESS&&(ke=!1)}ke&&Z.options.chunksUploaded(Re,function(){Z._finished(V,xe,null)})},Z.options.parallelChunkUploads)for(var Me=0;Me<Re.upload.totalChunkCount;Me++)Oe();else Oe()}else{for(var de=[],Ee=0;Ee<V.length;Ee++)de[Ee]={name:Z._getParamName(Ee),data:me[Ee],filename:V[Ee].upload.filename};Z._uploadData(V,de)}})}},{key:"_getChunk",value:function(V,Z){for(var me=0;me<V.upload.totalChunkCount;me++)if(V.upload.chunks[me]!==void 0&&V.upload.chunks[me].xhr===Z)return V.upload.chunks[me]}},{key:"_uploadData",value:function(V,Z){var me=this,fe=new XMLHttpRequest,Re=x(V),Se;try{for(Re.s();!(Se=Re.n()).done;){var Oe=Se.value;Oe.xhr=fe}}catch($t){Re.e($t)}finally{Re.f()}V[0].upload.chunked&&(V[0].upload.chunks[Z[0].chunkIndex].xhr=fe);var Me=this.resolveOption(this.options.method,V),de=this.resolveOption(this.options.url,V);fe.open(Me,de,!0);var Ee=this.resolveOption(this.options.timeout,V);Ee&&(fe.timeout=this.resolveOption(this.options.timeout,V)),fe.withCredentials=!!this.options.withCredentials,fe.onload=function($t){me._finishedUploading(V,fe,$t)},fe.ontimeout=function(){me._handleUploadError(V,fe,"Request timedout after ".concat(me.options.timeout/1e3," seconds"))},fe.onerror=function(){me._handleUploadError(V,fe)};var _e=fe.upload!=null?fe.upload:fe;_e.onprogress=function($t){return me._updateFilesUploadProgress(V,fe,$t)};var xe={Accept:"application/json","Cache-Control":"no-cache","X-Requested-With":"XMLHttpRequest"};this.options.headers&&H.extend(xe,this.options.headers);for(var ke in xe){var Le=xe[ke];Le&&fe.setRequestHeader(ke,Le)}var He=new FormData;if(this.options.params){var _t=this.options.params;typeof _t=="function"&&(_t=_t.call(this,V,fe,V[0].upload.chunked?this._getChunk(V[0],fe):null));for(var jt in _t){var Lt=_t[jt];if(Array.isArray(Lt))for(var Qe=0;Qe<Lt.length;Qe++)He.append(jt,Lt[Qe]);else He.append(jt,Lt)}}var bt=x(V),mt;try{for(bt.s();!(mt=bt.n()).done;){var St=mt.value;this.emit("sending",St,fe,He)}}catch($t){bt.e($t)}finally{bt.f()}this.options.uploadMultiple&&this.emit("sendingmultiple",V,fe,He),this._addFormElementData(He);for(var yt=0;yt<Z.length;yt++){var at=Z[yt];He.append(at.name,at.data,at.filename)}this.submitRequest(fe,He,V)}},{key:"_transformFiles",value:function(V,Z){for(var me=this,fe=[],Re=0,Se=function(de){me.options.transformFile.call(me,V[de],function(Ee){fe[de]=Ee,++Re===V.length&&Z(fe)})},Oe=0;Oe<V.length;Oe++)Se(Oe)}},{key:"_addFormElementData",value:function(V){if(this.element.tagName==="FORM"){var Z=x(this.element.querySelectorAll("input, textarea, select, button")),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value,Re=fe.getAttribute("name"),Se=fe.getAttribute("type");if(Se&&(Se=Se.toLowerCase()),!(typeof Re>"u"||Re===null))if(fe.tagName==="SELECT"&&fe.hasAttribute("multiple")){var Oe=x(fe.options,!0),Me;try{for(Oe.s();!(Me=Oe.n()).done;){var de=Me.value;de.selected&&V.append(Re,de.value)}}catch(Ee){Oe.e(Ee)}finally{Oe.f()}}else(!Se||Se!=="checkbox"&&Se!=="radio"||fe.checked)&&V.append(Re,fe.value)}}catch(Ee){Z.e(Ee)}finally{Z.f()}}}},{key:"_updateFilesUploadProgress",value:function(V,Z,me){if(V[0].upload.chunked){var Oe=V[0],Me=this._getChunk(Oe,Z);me?(Me.progress=100*me.loaded/me.total,Me.total=me.total,Me.bytesSent=me.loaded):(Me.progress=100,Me.bytesSent=Me.total),Oe.upload.progress=0,Oe.upload.total=0,Oe.upload.bytesSent=0;for(var de=0;de<Oe.upload.totalChunkCount;de++)Oe.upload.chunks[de]&&typeof Oe.upload.chunks[de].progress<"u"&&(Oe.upload.progress+=Oe.upload.chunks[de].progress,Oe.upload.total+=Oe.upload.chunks[de].total,Oe.upload.bytesSent+=Oe.upload.chunks[de].bytesSent);Oe.upload.progress=Oe.upload.progress/Oe.upload.totalChunkCount,this.emit("uploadprogress",Oe,Oe.upload.progress,Oe.upload.bytesSent)}else{var fe=x(V),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value;Se.upload.total&&Se.upload.bytesSent&&Se.upload.bytesSent==Se.upload.total||(me?(Se.upload.progress=100*me.loaded/me.total,Se.upload.total=me.total,Se.upload.bytesSent=me.loaded):(Se.upload.progress=100,Se.upload.bytesSent=Se.upload.total),this.emit("uploadprogress",Se,Se.upload.progress,Se.upload.bytesSent))}}catch(Ee){fe.e(Ee)}finally{fe.f()}}}},{key:"_finishedUploading",value:function(V,Z,me){var fe;if(V[0].status!==H.CANCELED&&Z.readyState===4){if(Z.responseType!=="arraybuffer"&&Z.responseType!=="blob"&&(fe=Z.responseText,Z.getResponseHeader("content-type")&&~Z.getResponseHeader("content-type").indexOf("application/json")))try{fe=JSON.parse(fe)}catch(Re){me=Re,fe="Invalid JSON response from server."}this._updateFilesUploadProgress(V,Z),200<=Z.status&&Z.status<300?V[0].upload.chunked?V[0].upload.finishedChunkUpload(this._getChunk(V[0],Z),fe):this._finished(V,fe,me):this._handleUploadError(V,Z,fe)}}},{key:"_handleUploadError",value:function(V,Z,me){if(V[0].status!==H.CANCELED){if(V[0].upload.chunked&&this.options.retryChunks){var fe=this._getChunk(V[0],Z);if(fe.retries++<this.options.retryChunksLimit){this._uploadData(V,[fe.dataBlock]);return}else console.warn("Retried this chunk too often. Giving up.")}this._errorProcessing(V,me||this.options.dictResponseError.replace("{{statusCode}}",Z.status),Z)}}},{key:"submitRequest",value:function(V,Z,me){if(V.readyState!=1){console.warn("Cannot send this request because the XMLHttpRequest.readyState is not OPENED.");return}V.send(Z)}},{key:"_finished",value:function(V,Z,me){var fe=x(V),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value;Se.status=H.SUCCESS,this.emit("success",Se,Z,me),this.emit("complete",Se)}}catch(Oe){fe.e(Oe)}finally{fe.f()}if(this.options.uploadMultiple&&(this.emit("successmultiple",V,Z,me),this.emit("completemultiple",V)),this.options.autoProcessQueue)return this.processQueue()}},{key:"_errorProcessing",value:function(V,Z,me){var fe=x(V),Re;try{for(fe.s();!(Re=fe.n()).done;){var Se=Re.value;Se.status=H.ERROR,this.emit("error",Se,Z,me),this.emit("complete",Se)}}catch(Oe){fe.e(Oe)}finally{fe.f()}if(this.options.uploadMultiple&&(this.emit("errormultiple",V,Z,me),this.emit("completemultiple",V)),this.options.autoProcessQueue)return this.processQueue()}}],[{key:"initClass",value:function(){this.prototype.Emitter=v,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(V){for(var Z=arguments.length,me=new Array(Z>1?Z-1:0),fe=1;fe<Z;fe++)me[fe-1]=arguments[fe];for(var Re=0,Se=me;Re<Se.length;Re++){var Oe=Se[Re];for(var Me in Oe){var de=Oe[Me];V[Me]=de}}return V}},{key:"uuidv4",value:function(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(V){var Z=Math.random()*16|0,me=V==="x"?Z:Z&3|8;return me.toString(16)})}}]),H})(v);D.initClass(),D.version="5.9.3",D.options={},D.optionsForElement=function(k){if(k.getAttribute("id"))return D.options[L(k.getAttribute("id"))]},D.instances=[],D.forElement=function(k){if(typeof k=="string"&&(k=document.querySelector(k)),(k!=null?k.dropzone:void 0)==null)throw new Error("No Dropzone found for given element. This is probably because you're trying to access it before Dropzone had the time to initialize. Use the `init` option to setup any additional observers on your Dropzone.");return k.dropzone},D.autoDiscover=!0,D.discover=function(){var k;if(document.querySelectorAll)k=document.querySelectorAll(".dropzone");else{k=[];var q=function(ie){return(function(){var V=[],Z=x(ie),me;try{for(Z.s();!(me=Z.n()).done;){var fe=me.value;/(^| )dropzone($| )/.test(fe.className)?V.push(k.push(fe)):V.push(void 0)}}catch(Re){Z.e(Re)}finally{Z.f()}return V})()};q(document.getElementsByTagName("div")),q(document.getElementsByTagName("form"))}return(function(){var H=[],ie=x(k),V;try{for(ie.s();!(V=ie.n()).done;){var Z=V.value;D.optionsForElement(Z)!==!1?H.push(new D(Z)):H.push(void 0)}}catch(me){ie.e(me)}finally{ie.f()}return H})()},D.blockedBrowsers=[/opera.*(Macintosh|Windows Phone).*version\/12/i],D.isBrowserSupported=function(){var k=!0;if(window.File&&window.FileReader&&window.FileList&&window.Blob&&window.FormData&&document.querySelector)if(!("classList"in document.createElement("a")))k=!1;else{D.blacklistedBrowsers!==void 0&&(D.blockedBrowsers=D.blacklistedBrowsers);var q=x(D.blockedBrowsers),H;try{for(q.s();!(H=q.n()).done;){var ie=H.value;if(ie.test(navigator.userAgent)){k=!1;continue}}}catch(V){q.e(V)}finally{q.f()}}else k=!1;return k},D.dataURItoBlob=function(k){for(var q=atob(k.split(",")[1]),H=k.split(",")[0].split(":")[1].split(";")[0],ie=new ArrayBuffer(q.length),V=new Uint8Array(ie),Z=0,me=q.length,fe=0<=me;fe?Z<=me:Z>=me;fe?Z++:Z--)V[Z]=q.charCodeAt(Z);return new Blob([ie],{type:H})};var I=function(q,H){return q.filter(function(ie){return ie!==H}).map(function(ie){return ie})},L=function(q){return q.replace(/[\-_](\w)/g,function(H){return H.charAt(1).toUpperCase()})};D.createElement=function(k){var q=document.createElement("div");return q.innerHTML=k,q.childNodes[0]},D.elementInside=function(k,q){if(k===q)return!0;for(;k=k.parentNode;)if(k===q)return!0;return!1},D.getElement=function(k,q){var H;if(typeof k=="string"?H=document.querySelector(k):k.nodeType!=null&&(H=k),H==null)throw new Error("Invalid `".concat(q,"` option provided. Please provide a CSS selector or a plain HTML element."));return H},D.getElements=function(k,q){var H,ie;if(k instanceof Array){ie=[];try{var V=x(k,!0),Z;try{for(V.s();!(Z=V.n()).done;)H=Z.value,ie.push(this.getElement(H,q))}catch(Re){V.e(Re)}finally{V.f()}}catch{ie=null}}else if(typeof k=="string"){ie=[];var me=x(document.querySelectorAll(k)),fe;try{for(me.s();!(fe=me.n()).done;)H=fe.value,ie.push(H)}catch(Re){me.e(Re)}finally{me.f()}}else k.nodeType!=null&&(ie=[k]);if(ie==null||!ie.length)throw new Error("Invalid `".concat(q,"` option provided. Please provide a CSS selector, a plain HTML element or a list of those."));return ie},D.confirm=function(k,q,H){if(window.confirm(k))return q();if(H!=null)return H()},D.isValidFile=function(k,q){if(!q)return!0;q=q.split(",");var H=k.type,ie=H.replace(/\/.*$/,""),V=x(q),Z;try{for(V.s();!(Z=V.n()).done;){var me=Z.value;if(me=me.trim(),me.charAt(0)==="."){if(k.name.toLowerCase().indexOf(me.toLowerCase(),k.name.length-me.length)!==-1)return!0}else if(/\/\*$/.test(me)){if(ie===me.replace(/\/.*$/,""))return!0}else if(H===me)return!0}}catch(fe){V.e(fe)}finally{V.f()}return!1},typeof jQuery<"u"&&jQuery!==null&&(jQuery.fn.dropzone=function(k){return this.each(function(){return new D(this,k)})}),D.ADDED="added",D.QUEUED="queued",D.ACCEPTED=D.QUEUED,D.UPLOADING="uploading",D.PROCESSING=D.UPLOADING,D.CANCELED="canceled",D.ERROR="error",D.SUCCESS="success";var re=function(q){q.naturalWidth;var H=q.naturalHeight,ie=document.createElement("canvas");ie.width=1,ie.height=H;var V=ie.getContext("2d");V.drawImage(q,0,0);for(var Z=V.getImageData(1,0,1,H),me=Z.data,fe=0,Re=H,Se=H;Se>fe;){var Oe=me[(Se-1)*4+3];Oe===0?Re=Se:fe=Se,Se=Re+fe>>1}var Me=Se/H;return Me===0?1:Me},te=function(q,H,ie,V,Z,me,fe,Re,Se,Oe){var Me=re(H);return q.drawImage(H,ie,V,Z,me,fe,Re,Se,Oe/Me)},ce=(function(){function k(){P(this,k)}return U(k,null,[{key:"initClass",value:function(){this.KEY_STR="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/="}},{key:"encode64",value:function(H){for(var ie="",V=void 0,Z=void 0,me="",fe=void 0,Re=void 0,Se=void 0,Oe="",Me=0;V=H[Me++],Z=H[Me++],me=H[Me++],fe=V>>2,Re=(V&3)<<4|Z>>4,Se=(Z&15)<<2|me>>6,Oe=me&63,isNaN(Z)?Se=Oe=64:isNaN(me)&&(Oe=64),ie=ie+this.KEY_STR.charAt(fe)+this.KEY_STR.charAt(Re)+this.KEY_STR.charAt(Se)+this.KEY_STR.charAt(Oe),V=Z=me="",fe=Re=Se=Oe="",Me<H.length;);return ie}},{key:"restore",value:function(H,ie){if(!H.match("data:image/jpeg;base64,"))return ie;var V=this.decode64(H.replace("data:image/jpeg;base64,","")),Z=this.slice2Segments(V),me=this.exifManipulation(ie,Z);return"data:image/jpeg;base64,".concat(this.encode64(me))}},{key:"exifManipulation",value:function(H,ie){var V=this.getExifArray(ie),Z=this.insertExif(H,V),me=new Uint8Array(Z);return me}},{key:"getExifArray",value:function(H){for(var ie=void 0,V=0;V<H.length;){if(ie=H[V],ie[0]===255&ie[1]===225)return ie;V++}return[]}},{key:"insertExif",value:function(H,ie){var V=H.replace("data:image/jpeg;base64,",""),Z=this.decode64(V),me=Z.indexOf(255,3),fe=Z.slice(0,me),Re=Z.slice(me),Se=fe;return Se=Se.concat(ie),Se=Se.concat(Re),Se}},{key:"slice2Segments",value:function(H){for(var ie=0,V=[];;){var Z;if(H[ie]===255&H[ie+1]===218)break;if(H[ie]===255&H[ie+1]===216)ie+=2;else{Z=H[ie+2]*256+H[ie+3];var me=ie+Z+2,fe=H.slice(ie,me);V.push(fe),ie=me}if(ie>H.length)break}return V}},{key:"decode64",value:function(H){var ie=void 0,V=void 0,Z="",me=void 0,fe=void 0,Re=void 0,Se="",Oe=0,Me=[],de=/[^A-Za-z0-9\+\/\=]/g;for(de.exec(H)&&console.warn(`There were invalid base64 characters in the input text.
|
|
132
|
-
Valid base64 characters are A-Z, a-z, 0-9, '+', '/',and '='
|
|
133
|
-
Expect errors in decoding.`),H=H.replace(/[^A-Za-z0-9\+\/\=]/g,"");me=this.KEY_STR.indexOf(H.charAt(Oe++)),fe=this.KEY_STR.indexOf(H.charAt(Oe++)),Re=this.KEY_STR.indexOf(H.charAt(Oe++)),Se=this.KEY_STR.indexOf(H.charAt(Oe++)),ie=me<<2|fe>>4,V=(fe&15)<<4|Re>>2,Z=(Re&3)<<6|Se,Me.push(ie),Re!==64&&Me.push(V),Se!==64&&Me.push(Z),ie=V=Z="",me=fe=Re=Se="",Oe<H.length;);return Me}}]),k})();ce.initClass();var be=function(q,H){var ie=!1,V=!0,Z=q.document,me=Z.documentElement,fe=Z.addEventListener?"addEventListener":"attachEvent",Re=Z.addEventListener?"removeEventListener":"detachEvent",Se=Z.addEventListener?"":"on",Oe=function de(Ee){if(!(Ee.type==="readystatechange"&&Z.readyState!=="complete")&&((Ee.type==="load"?q:Z)[Re](Se+Ee.type,de,!1),!ie&&(ie=!0)))return H.call(q,Ee.type||Ee)},Me=function de(){try{me.doScroll("left")}catch{setTimeout(de,50);return}return Oe("poll")};if(Z.readyState!=="complete"){if(Z.createEventObject&&me.doScroll){try{V=!q.frameElement}catch{}V&&Me()}return Z[fe](Se+"DOMContentLoaded",Oe,!1),Z[fe](Se+"readystatechange",Oe,!1),q[fe](Se+"load",Oe,!1)}};D._autoDiscoverFunction=function(){if(D.autoDiscover)return D.discover()},be(window,D._autoDiscoverFunction);function Ie(k,q){return typeof k<"u"&&k!==null?q(k):void 0}function je(k,q,H){if(typeof k<"u"&&k!==null&&typeof k[q]=="function")return H(k,q)}window.Dropzone=D;var z=D})(),a})()})})(JA)),JA.exports}var wAe=EAe();const xQ=jn(wAe),sm="upload.internetConnectivityError";class bAe extends $f{constructor(){super(gr.getPhrase(sm,"title"))}get name(){return"InternetConnectivityError"}get dialogOptions(){return{title:gr.getPhrase(sm,"heading"),text:gr.getPhrase(sm,"body"),buttons:[{text:gr.getPhrase(sm,"okay"),className:"btn btn-outline-dark",success:!0}]}}}class Lae extends U_{get name(){return"AlertError"}}const um="upload.slowInternetError";class TAe extends $f{constructor(){super(gr.getPhrase(um,"title"))}get name(){return"SlowInternetError"}get dialogOptions(){return{title:gr.getPhrase(um,"heading"),text:gr.getPhrase(um,"body"),buttons:[{text:gr.getPhrase(um,"okay"),className:"btn btn-outline-dark",success:!0}]}}}const RAe=[];class CQ extends Ho{constructor(t){super(t),this.slowInternetTimeout={},this.showSlowInternetTimeout=!0}get name(){return"DropzoneWrapper"}initialize(t){const{loggingEnabled:r}=this.options,n=$r.Radio.channel(t.channelName),i=this;this.dropzone=new xQ(document.createElement("div"),{url:(a=>{const o=a[0],{ingestUrl:u}=o.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&&(tt.each(RAe,a=>{this.on(a,(...o)=>{const u=o[0]instanceof File?o[0].name:o[0];console.info(a,u,o)})}),this.on("uploadprogress",(a,o,u)=>{const s=u/a.size*100;n.trigger("progress",i.getId(a),s,u)}),this.on("success",a=>{const o=a.upload.chunks,u=tt.last(o);let s=u.xhr;s||(s=u.file.xhr);const c=JSON.parse(s.response);a.cvUpload.fileId=c.id,n.trigger(tl.UPLOAD_SUCCESS,a,c)}),this.on("error",(a,o,u)=>{if(u&&u.status===0){vr.throw(new bAe);return}a.status!=="canceled"&&vr.throw(new Lae(gr.getPhrase("upload.services","uploadError",{fileName:a.name,message:o.message})))}),this.on("sending",a=>{window.clearTimeout(i.slowInternetTimeout[a.path]),i.showSlowInternetTimeout&&(i.slowInternetTimeout[a.path]=window.setTimeout(()=>{i.showSlowInternetTimeout&&vr.throw(new TAe),i.showSlowInternetTimeout=!1},3e4))}),this.on("complete",a=>window.clearTimeout(i.slowInternetTimeout[a.path])))},params:(a,o,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 xQ.isValidFile(t,r)}}class xAe extends Nae{constructor(){super({dataProvider:Qs.getInstance(tp.Ajax),cache:Qs.getInstance(ep.Fifo),alertService:Qs.getInstance(qp.ALERT)}),this.incrementingUploadId=0}get name(){return"UploadDataService"}get channelName(){return"private:upload:data:service"}requestUploads(t,r,n,i,a){const o=this.chain();Ja(r,u=>{this.incrementingUploadId++,o.create({resource:t,eventPrefix:`request:upload:${this.incrementingUploadId}`,data:this.getFileUploadRequest(u,n),callback:s=>{i(u,s)},errorHandler:this.alertService.error("Something went wrong while we were uploading your video. Please try again.")})}),o.func(()=>{a()}).run()}cancelUpload(t,r,n){this.create({resource:"/api/upload/cancel",eventPrefix:"cancel:upload",data:{uploadId:t,ingestUrl:r},callback:n})}getFileUploadRequest(t,r){const n=t.name.split(".");return{name:n.join("."),extension:n.length>1?n.pop():"",fileSize:t.size,fileLifestyle:r}}onDestroy(){Qs.releaseInstance(tp.Ajax).releaseInstance(ep.Fifo)}}const CAe={0:xv.VIDEO,1:xv.RESOURCES,2:xv.SUBTITLES,3:xv.MIXED_MEDIA},AAe={0:Cv.VIDEO_UPLOAD,1:Cv.RESOURCE_UPLOAD,2:Cv.SUBTITLE_UPLOAD,3:Cv.MIXED_MEDIA_UPLOAD},OAe=1024*1024*4,IAe=1024*1024*1024*50;class PAe extends Ho{initialize(){this.uploadDataService=new xAe,this.progressViewModel=aae.get(`upload:progress:${this.uploadType}`),this.bindListeners()}get channelName(){return AAe[this.uploadType]}get lang(){return"uploadShared.services"}initUploader(t,r){if(this.uploader)return;let n=OAe;t&&n<t&&(n=t),r&&n>r&&(n=r),this.uploader=new CQ({chunkingEnabled:!0,loggingEnabled:!0,chunkSize:n,maxFileSize:IAe,acceptedFiles:this.getAcceptedFiles(),channelName:this.channelName})}bindListeners(){this.listenTo(this.channelName,"progress",this.onProgress),this.listenTo(this.channelName,tl.UPLOAD_SUCCESS,this.onSuccess)}onProgress(t,r,n){const i=this.collection.get(t);i&&(i.set({progress:r>100?100:r,totalUploaded:n}),this.setOverallProgress())}isUploading(){return!!this.getCollection().length}getCollection(){return this.collection?this.collection:(this.collection=new q_,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,a=i>=100,o=()=>{this.progressViewModel.set({progress:a?100:i,done:a})};if(!a){o();return}window.setTimeout(o,2e3)}isValidFile(t){return CQ.isValidFile(t,this.getAcceptedFiles())}addFiles(t,r){if(RI(t,n=>!this.isValidFile(n))){vr.throw(new fAe(gr.getPhrase(this.lang,"invalidFileType")));return}this.requestUploads(t,r)}async requestUploads(t,r){const n=this.isUploading(),i=this.getCollection();for(const o of t){const u=await ak(this.options.store.dispatch,SAe.requestUpload(o,this.fileLifestyle));"minChunkSize"in u&&"maxChunkSize"in u&&this.initUploader(u.minChunkSize,u.maxChunkSize),o.cvUpload={uploadId:u.uploadId,ingestUrl:u.uploadUrl},this.uploader.addFile(o);let s=o.name;this.uploadType===0&&(s=s.replace(/\.[^/.]+$/,""));const c=this.uploader.getId(o);i.add({id:c,file:o,name:s,...this.getAdditionalFileInfo(o,u)},{at:i.length-1})}r&&wa.logUserAction({uploadCount:t.length},r),$r.Radio.channel(this.channelName).trigger(tl.FILES_ADDED,t,n)}addFile(t,r){this.addFiles([t],r)}cancelUpload(t){const r=this.getCollection(),n=r.get(t);if(!n)return;const i=n.get("file");this.uploader.removeFile(i),r.remove(n),this.uploadDataService.cancelUpload(i.cvUpload.uploadId,i.cvUpload.ingestUrl,()=>{wa.logUserAction(n.toJSON(),{entity:xn.Video,actionType:Bt.Upload,workflowPhase:Zl.Discard,descriptor:FI.Single,location:ka.MyUploads}),$r.Radio.channel(this.channelName).trigger(tl.UPLOAD_CANCELLED)}),this.setOverallProgress()}onSuccess(t,r){const n=this.uploader.getId(t),i=this.getCollection().get(n);i.set("fileInfo",r),wa.logUserAction({id:t.cvUpload.uploadId},{entity:xn.Video,actionType:Bt.Upload,workflowPhase:Zl.Complete,descriptor:FI.Single,location:ka.VideoUpload}),$r.Radio.channel(this.channelName).trigger(tl.UPLOAD_COMPLETE,i)}cancelAllUploads(){const t=this.getCollection().map(r=>r.get("id"));Ja(t,r=>this.cancelUpload(r))}getUpload(t){const r=this.uploader.getId(t);return this.getCollection().get(r)}getAcceptedFiles(){return CAe[this.uploadType]}getAdditionalFileInfo(t,r){return{}}}class DAe extends PAe{get uploadType(){return 3}get name(){return Iae.MixedMediaUpload}get fileLifestyle(){return mk.Temporary}}function HI(e,t){return HI=Object.setPrototypeOf?Object.setPrototypeOf.bind():function(r,n){return r.__proto__=n,r},HI(e,t)}function yk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,HI(e,t)}var ZA={exports:{}},eO,AQ;function kAe(){if(AQ)return eO;AQ=1;var e="SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";return eO=e,eO}var tO,OQ;function NAe(){if(OQ)return tO;OQ=1;var e=kAe();function t(){}function r(){}return r.resetWarningCache=t,tO=function(){function n(o,u,s,c,d,h){if(h!==e){var v=new Error("Calling PropTypes validators directly is not supported by the `prop-types` package. Use PropTypes.checkPropTypes() to call them. Read more at http://fb.me/use-check-prop-types");throw v.name="Invariant Violation",v}}n.isRequired=n;function i(){return n}var a={array:n,bigint:n,bool:n,func:n,number:n,object:n,string:n,symbol:n,any:n,arrayOf:i,element:n,elementType:n,instanceOf:i,node:n,objectOf:i,oneOf:i,oneOfType:i,shape:i,exact:i,checkPropTypes:r,resetWarningCache:t};return a.PropTypes=a,a},tO}var IQ;function Ff(){return IQ||(IQ=1,ZA.exports=NAe()()),ZA.exports}var LAe=Ff();const Xr=jn(LAe);function zI(e,t){return e.classList?!!t&&e.classList.contains(t):(" "+(e.className.baseVal||e.className)+" ").indexOf(" "+t+" ")!==-1}function Mae(e,t){e.classList?e.classList.add(t):zI(e,t)||(typeof e.className=="string"?e.className=e.className+" "+t:e.setAttribute("class",(e.className&&e.className.baseVal||"")+" "+t))}function PQ(e,t){return e.replace(new RegExp("(^|\\s)"+t+"(?:\\s|$)","g"),"$1").replace(/\s+/g," ").replace(/^\s*|\s*$/g,"")}function $ae(e,t){e.classList?e.classList.remove(t):typeof e.className=="string"?e.className=PQ(e.className,t):e.setAttribute("class",PQ(e.className&&e.className.baseVal||"",t))}const DQ={disabled:!1},my=or.createContext(null);var Fae=function(t){return t.scrollTop},Av="unmounted",Fc="exited",zl="entering",Hc="entered",WI="exiting",Du=(function(e){yk(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=i,u=o&&!o.isMounting?n.enter:n.appear,s;return a.appearStatus=null,n.in?u?(s=Fc,a.appearStatus=zl):s=Hc:n.unmountOnExit||n.mountOnEnter?s=Av:s=Fc,a.state={status:s},a.nextCallback=null,a}t.getDerivedStateFromProps=function(i,a){var o=i.in;return o&&a.status===Av?{status:Fc}:null};var r=t.prototype;return r.componentDidMount=function(){this.updateStatus(!0,this.appearStatus)},r.componentDidUpdate=function(i){var a=null;if(i!==this.props){var o=this.state.status;this.props.in?o!==zl&&o!==Hc&&(a=zl):(o===zl||o===Hc)&&(a=WI)}this.updateStatus(!1,a)},r.componentWillUnmount=function(){this.cancelNextCallback()},r.getTimeouts=function(){var i=this.props.timeout,a,o,u;return a=o=u=i,i!=null&&typeof i!="number"&&(a=i.exit,o=i.enter,u=i.appear!==void 0?i.appear:o),{exit:a,enter:o,appear:u}},r.updateStatus=function(i,a){if(i===void 0&&(i=!1),a!==null)if(this.cancelNextCallback(),a===zl){if(this.props.unmountOnExit||this.props.mountOnEnter){var o=this.props.nodeRef?this.props.nodeRef.current:Gc.findDOMNode(this);o&&Fae(o)}this.performEnter(i)}else this.performExit();else this.props.unmountOnExit&&this.state.status===Fc&&this.setState({status:Av})},r.performEnter=function(i){var a=this,o=this.props.enter,u=this.context?this.context.isMounting:i,s=this.props.nodeRef?[u]:[Gc.findDOMNode(this),u],c=s[0],d=s[1],h=this.getTimeouts(),v=u?h.appear:h.enter;if(!i&&!o||DQ.disabled){this.safeSetState({status:Hc},function(){a.props.onEntered(c)});return}this.props.onEnter(c,d),this.safeSetState({status:zl},function(){a.props.onEntering(c,d),a.onTransitionEnd(v,function(){a.safeSetState({status:Hc},function(){a.props.onEntered(c,d)})})})},r.performExit=function(){var i=this,a=this.props.exit,o=this.getTimeouts(),u=this.props.nodeRef?void 0:Gc.findDOMNode(this);if(!a||DQ.disabled){this.safeSetState({status:Fc},function(){i.props.onExited(u)});return}this.props.onExit(u),this.safeSetState({status:WI},function(){i.props.onExiting(u),i.onTransitionEnd(o.exit,function(){i.safeSetState({status:Fc},function(){i.props.onExited(u)})})})},r.cancelNextCallback=function(){this.nextCallback!==null&&(this.nextCallback.cancel(),this.nextCallback=null)},r.safeSetState=function(i,a){a=this.setNextCallback(a),this.setState(i,a)},r.setNextCallback=function(i){var a=this,o=!0;return this.nextCallback=function(u){o&&(o=!1,a.nextCallback=null,i(u))},this.nextCallback.cancel=function(){o=!1},this.nextCallback},r.onTransitionEnd=function(i,a){this.setNextCallback(a);var o=this.props.nodeRef?this.props.nodeRef.current:Gc.findDOMNode(this),u=i==null&&!this.props.addEndListener;if(!o||u){setTimeout(this.nextCallback,0);return}if(this.props.addEndListener){var s=this.props.nodeRef?[this.nextCallback]:[o,this.nextCallback],c=s[0],d=s[1];this.props.addEndListener(c,d)}i!=null&&setTimeout(this.nextCallback,i)},r.render=function(){var i=this.state.status;if(i===Av)return null;var a=this.props,o=a.children;a.in,a.mountOnEnter,a.unmountOnExit,a.appear,a.enter,a.exit,a.timeout,a.addEndListener,a.onEnter,a.onEntering,a.onEntered,a.onExit,a.onExiting,a.onExited,a.nodeRef;var u=X_(a,["children","in","mountOnEnter","unmountOnExit","appear","enter","exit","timeout","addEndListener","onEnter","onEntering","onEntered","onExit","onExiting","onExited","nodeRef"]);return or.createElement(my.Provider,{value:null},typeof o=="function"?o(i,u):or.cloneElement(or.Children.only(o),u))},t})(or.Component);Du.contextType=my;Du.propTypes={};function yd(){}Du.defaultProps={in:!1,mountOnEnter:!1,unmountOnExit:!1,appear:!1,enter:!0,exit:!0,onEnter:yd,onEntering:yd,onEntered:yd,onExit:yd,onExiting:yd,onExited:yd};Du.UNMOUNTED=Av;Du.EXITED=Fc;Du.ENTERING=zl;Du.ENTERED=Hc;Du.EXITING=WI;var MAe=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return Mae(t,n)})},rO=function(t,r){return t&&r&&r.split(" ").forEach(function(n){return $ae(t,n)})},_k=(function(e){yk(t,e);function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return n=e.call.apply(e,[this].concat(a))||this,n.appliedClasses={appear:{},enter:{},exit:{}},n.onEnter=function(u,s){var c=n.resolveArguments(u,s),d=c[0],h=c[1];n.removeClasses(d,"exit"),n.addClass(d,h?"appear":"enter","base"),n.props.onEnter&&n.props.onEnter(u,s)},n.onEntering=function(u,s){var c=n.resolveArguments(u,s),d=c[0],h=c[1],v=h?"appear":"enter";n.addClass(d,v,"active"),n.props.onEntering&&n.props.onEntering(u,s)},n.onEntered=function(u,s){var c=n.resolveArguments(u,s),d=c[0],h=c[1],v=h?"appear":"enter";n.removeClasses(d,v),n.addClass(d,v,"done"),n.props.onEntered&&n.props.onEntered(u,s)},n.onExit=function(u){var s=n.resolveArguments(u),c=s[0];n.removeClasses(c,"appear"),n.removeClasses(c,"enter"),n.addClass(c,"exit","base"),n.props.onExit&&n.props.onExit(u)},n.onExiting=function(u){var s=n.resolveArguments(u),c=s[0];n.addClass(c,"exit","active"),n.props.onExiting&&n.props.onExiting(u)},n.onExited=function(u){var s=n.resolveArguments(u),c=s[0];n.removeClasses(c,"exit"),n.addClass(c,"exit","done"),n.props.onExited&&n.props.onExited(u)},n.resolveArguments=function(u,s){return n.props.nodeRef?[n.props.nodeRef.current,u]:[u,s]},n.getClassNames=function(u){var s=n.props.classNames,c=typeof s=="string",d=c&&s?s+"-":"",h=c?""+d+u:s[u],v=c?h+"-active":s[u+"Active"],g=c?h+"-done":s[u+"Done"];return{baseClassName:h,activeClassName:v,doneClassName:g}},n}var r=t.prototype;return r.addClass=function(i,a,o){var u=this.getClassNames(a)[o+"ClassName"],s=this.getClassNames("enter"),c=s.doneClassName;a==="appear"&&o==="done"&&c&&(u+=" "+c),o==="active"&&i&&Fae(i),u&&(this.appliedClasses[a][o]=u,MAe(i,u))},r.removeClasses=function(i,a){var o=this.appliedClasses[a],u=o.base,s=o.active,c=o.done;this.appliedClasses[a]={},u&&rO(i,u),s&&rO(i,s),c&&rO(i,c)},r.render=function(){var i=this.props;i.classNames;var a=X_(i,["classNames"]);return or.createElement(Du,Qv({},a,{onEnter:this.onEnter,onEntered:this.onEntered,onEntering:this.onEntering,onExit:this.onExit,onExiting:this.onExiting,onExited:this.onExited}))},t})(or.Component);_k.defaultProps={classNames:""};_k.propTypes={};function $Ae(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}function Sk(e,t){var r=function(a){return t&&pe.isValidElement(a)?t(a):a},n=Object.create(null);return e&&pe.Children.map(e,function(i){return i}).forEach(function(i){n[i.key]=r(i)}),n}function FAe(e,t){e=e||{},t=t||{};function r(d){return d in t?t[d]:e[d]}var n=Object.create(null),i=[];for(var a in e)a in t?i.length&&(n[a]=i,i=[]):i.push(a);var o,u={};for(var s in t){if(n[s])for(o=0;o<n[s].length;o++){var c=n[s][o];u[n[s][o]]=r(c)}u[s]=r(s)}for(o=0;o<i.length;o++)u[i[o]]=r(i[o]);return u}function Kc(e,t,r){return r[t]!=null?r[t]:e.props[t]}function jAe(e,t){return Sk(e.children,function(r){return pe.cloneElement(r,{onExited:t.bind(null,r),in:!0,appear:Kc(r,"appear",e),enter:Kc(r,"enter",e),exit:Kc(r,"exit",e)})})}function UAe(e,t,r){var n=Sk(e.children),i=FAe(t,n);return Object.keys(i).forEach(function(a){var o=i[a];if(pe.isValidElement(o)){var u=a in t,s=a in n,c=t[a],d=pe.isValidElement(c)&&!c.props.in;s&&(!u||d)?i[a]=pe.cloneElement(o,{onExited:r.bind(null,o),in:!0,exit:Kc(o,"exit",e),enter:Kc(o,"enter",e)}):!s&&u&&!d?i[a]=pe.cloneElement(o,{in:!1}):s&&u&&pe.isValidElement(c)&&(i[a]=pe.cloneElement(o,{onExited:r.bind(null,o),in:c.props.in,exit:Kc(o,"exit",e),enter:Kc(o,"enter",e)}))}}),i}var qAe=Object.values||function(e){return Object.keys(e).map(function(t){return e[t]})},VAe={component:"div",childFactory:function(t){return t}},Ek=(function(e){yk(t,e);function t(n,i){var a;a=e.call(this,n,i)||this;var o=a.handleExited.bind($Ae(a));return a.state={contextValue:{isMounting:!0},handleExited:o,firstRender:!0},a}var r=t.prototype;return r.componentDidMount=function(){this.mounted=!0,this.setState({contextValue:{isMounting:!1}})},r.componentWillUnmount=function(){this.mounted=!1},t.getDerivedStateFromProps=function(i,a){var o=a.children,u=a.handleExited,s=a.firstRender;return{children:s?jAe(i,u):UAe(i,o,u),firstRender:!1}},r.handleExited=function(i,a){var o=Sk(this.props.children);i.key in o||(i.props.onExited&&i.props.onExited(a),this.mounted&&this.setState(function(u){var s=Qv({},u.children);return delete s[i.key],{children:s}}))},r.render=function(){var i=this.props,a=i.component,o=i.childFactory,u=X_(i,["component","childFactory"]),s=this.state.contextValue,c=qAe(this.state.children).map(o);return delete u.appear,delete u.enter,delete u.exit,a===null?or.createElement(my.Provider,{value:s},c):or.createElement(my.Provider,{value:s},or.createElement(a,u,c))},t})(or.Component);Ek.propTypes={};Ek.defaultProps=VAe;function BAe(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M12 3c4.972 0 9 4.028 9 9s-4.028 9-9 9-9-4.028-9-9 4.028-9 9-9m0 1.212c-2.081 0-4.037.809-5.508 2.28A7.74 7.74 0 0 0 4.212 12c0 2.081.809 4.037 2.28 5.508A7.74 7.74 0 0 0 12 19.788c2.081 0 4.037-.809 5.508-2.28A7.74 7.74 0 0 0 19.788 12c0-2.081-.809-4.037-2.28-5.508A7.74 7.74 0 0 0 12 4.212m4.244 4.366a.7.7 0 0 1 .07 1.016l-5.25 5.76a.77.77 0 0 1-1.094.035l-2.25-2.16a.7.7 0 0 1 0-1.018.77.77 0 0 1 1.06 0l1.684 1.616 4.722-5.181a.77.77 0 0 1 1.058-.068"})})}function HAe(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M20 12a8 8 0 1 1-16 0 8 8 0 0 1 16 0m-1 0a7 7 0 1 0-14 0 7 7 0 0 0 14 0m-6.25-.75a.75.75 0 0 0-1.5 0v5a.75.75 0 0 0 1.5 0zm0-3a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0",clipRule:"evenodd"})})}function zAe(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"m13.882 20.807.619 2.935q-.803.17-3.028.258l.176-.008-.175-.004.133-2.997.28.008.154.001a9 9 0 0 0 1.841-.194m-5.888-.75a9 9 0 0 0 2.12.744l-.63 2.933a12 12 0 0 1-2.832-.992zm9.274-.746 1.754 2.436a12 12 0 0 1-2.638 1.433l-1.093-2.793a9 9 0 0 0 1.977-1.076M5.06 17.724A9 9 0 0 0 6.7 19.271l-1.773 2.42a12 12 0 0 1-2.184-2.057zm14.736-1.187 2.592 1.515a12 12 0 0 1-1.828 2.38l-2.137-2.108a9 9 0 0 0 1.373-1.787M3.31 14.344a9 9 0 0 0 .852 2.078L1.55 17.899a12 12 0 0 1-1.138-2.776zm17.661-1.39 2.987.313a12 12 0 0 1-.686 2.92l-2.814-1.046c.261-.7.434-1.434.513-2.187M.135 10.197l2.97.447a9.2 9.2 0 0 0-.056 2.27l-2.988.3Q.02 12.813 0 12l.009-.457q.026-.684.126-1.346m23.299-1.925c.306.937.5 1.924.566 2.947l-2.997.192a9 9 0 0 0-.424-2.208zM1.892 5.532l2.529 1.62a9 9 0 0 0-.967 2.027L.6 8.24c.318-.962.754-1.87 1.291-2.708m19.06-1.548c.668.744 1.245 1.57 1.713 2.464l-2.661 1.39a9 9 0 0 0-1.286-1.849zM5.407 1.976 7.06 4.48a9 9 0 0 0-1.714 1.465l-2.221-2.02a12 12 0 0 1 2.28-1.95m11.503-.937c.923.412 1.784.937 2.566 1.558L17.61 4.946a9 9 0 0 0-1.926-1.168zM10.03.163l.492 2.96a9 9 0 0 0-2.153.643L7.153 1.023C8.058.622 9.023.33 10.03.163M12.013 0l.439.008a12 12 0 0 1 2.541.364L14.25 3.28A9 9 0 0 0 12.012 3z"})})}function WAe(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"m13.026 4.377 8.5 14A1.2 1.2 0 0 1 20.5 20.2h-17a1.2 1.2 0 0 1-1.026-1.823l8.5-14a1.2 1.2 0 0 1 2.052 0M12 18a1 1 0 1 0 0-2 1 1 0 0 0 0 2m.75-3.677V8.677a.69.69 0 0 0-.7-.677c-.387 0-.7.303-.7.677v5.646c0 .374.313.677.7.677s.7-.303.7-.677",fill:"currentColor"})})}const GI=or.forwardRef((e,t)=>{function r(i){if(e.onKeyDown)return e.onKeyDown(i);if(i.key===" "&&i.preventDefault(),i.key==="Enter"||i.key===" "){if(e.disabled||!e.onClick)return;n(i)}}function n(...i){if(!(e.disabled||!e.onClick))return e.onClick(...i)}return j.jsx("div",{...e,ref:t,role:"button",tabIndex:e.tabIndex||0,className:`${e.className?e.className:""} ${e.disabled?"":"cursor-pointer"}`,onKeyDown:r,onClick:n,style:e.style?e.style:{},children:e.children})}),GAe="_appLink_1d1n3_1",YAe={appLink:GAe},os=pe.forwardRef((e,t)=>{const{appLink:r,appLinkOptions:n={},className:i,style:a,children:o,disabled:u,tag:s="a",preventFocus:c}=e;if(!r)return j.jsx("div",{ref:t,className:`${YAe.appLink} ${i||""}`,style:a,children:o});const d=Kn.getHref(r,n)||void 0,v={onClick:g=>{var y;const m=g.metaKey||g.ctrlKey;m||g.preventDefault(),!u&&((y=e.onClick)==null||y.call(e,g),e.analyticsData&&e.analyticsOptions&&wa.logUserAction({href:d,...e.analyticsData},e.analyticsOptions),!m&&(e.openInNewTab?Yn.PageLoad(d,!0):e.forcePageLoad?Yn.PageLoad(d):Kn.trigger(r,n)))},...s==="a"&&{href:d},...e.title?{title:e.title}:{},className:i,style:a,disabled:u,tabIndex:c?-1:0,id:e.id,"aria-label":e.ariaLabel,"aria-labelledby":e.labelledBy,ref:t,role:e.role};return s==="button"||!d?j.jsx(GI,{...v,children:o}):j.jsx(s,{...v,children:o})});var nO={exports:{}};/*!
|
|
134
|
-
Copyright (c) 2018 Jed Watson.
|
|
135
|
-
Licensed under the MIT License (MIT), see
|
|
136
|
-
http://jedwatson.github.io/classnames
|
|
137
|
-
*/var kQ;function KAe(){return kQ||(kQ=1,(function(e){(function(){var t={}.hasOwnProperty;function r(){for(var a="",o=0;o<arguments.length;o++){var u=arguments[o];u&&(a=i(a,n(u)))}return a}function n(a){if(typeof a=="string"||typeof a=="number")return a;if(typeof a!="object")return"";if(Array.isArray(a))return r.apply(null,a);if(a.toString!==Object.prototype.toString&&!a.toString.toString().includes("[native code]"))return a.toString();var o="";for(var u in a)t.call(a,u)&&a[u]&&(o=i(o,u));return o}function i(a,o){return o?a?a+" "+o:a+o:a}e.exports?(r.default=r,e.exports=r):window.classNames=r})()})(nO)),nO.exports}var XAe=KAe();const dn=jn(XAe);var iO,NQ;function QAe(){if(NQ)return iO;NQ=1;var e=function(t,r,n,i,a,o,u,s){if(!t){var c;if(r===void 0)c=new Error("Minified exception occurred; use the non-minified dev environment for the full error message and additional helpful warnings.");else{var d=[n,i,a,o,u,s],h=0;c=new Error(r.replace(/%s/g,function(){return d[h++]})),c.name="Invariant Violation"}throw c.framesToPop=1,c}};return iO=e,iO}var JAe=QAe();const LQ=jn(JAe);function MQ(e){return"default"+e.charAt(0).toUpperCase()+e.substr(1)}function ZAe(e){var t=eOe(e,"string");return typeof t=="symbol"?t:String(t)}function eOe(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 jae(e,t,r){var n=pe.useRef(e!==void 0),i=pe.useState(t),a=i[0],o=i[1],u=e!==void 0,s=n.current;return n.current=u,!u&&s&&a!==t&&o(t),[u?e:a,pe.useCallback(function(c){for(var d=arguments.length,h=new Array(d>1?d-1:0),v=1;v<d;v++)h[v-1]=arguments[v];r&&r.apply(void 0,[c].concat(h)),o(c)},[r])]}function tOe(e,t){return Object.keys(t).reduce(function(r,n){var i,a=r,o=a[MQ(n)],u=a[n],s=X_(a,[MQ(n),n].map(ZAe)),c=t[n],d=jae(u,o,e[c]),h=d[0],v=d[1];return Qv({},s,(i={},i[n]=h,i[c]=v,i))},e)}const rOe=["xxl","xl","lg","md","sm","xs"],nOe="xs",Bp=pe.createContext({prefixes:{},breakpoints:rOe,minBreakpoint:nOe}),{Consumer:$5e,Provider:F5e}=Bp;function In(e,t){const{prefixes:r}=pe.useContext(Bp);return e||r[t]||t}function iOe(){const{breakpoints:e}=pe.useContext(Bp);return e}function aOe(){const{minBreakpoint:e}=pe.useContext(Bp);return e}function o0(){const{dir:e}=pe.useContext(Bp);return e==="rtl"}function Ch(e){return e&&e.ownerDocument||document}function oOe(e){var t=Ch(e);return t&&t.defaultView||window}function sOe(e,t){return oOe(e).getComputedStyle(e,t)}var uOe=/([A-Z])/g;function lOe(e){return e.replace(uOe,"-$1").toLowerCase()}var cOe=/^ms-/;function lm(e){return lOe(e).replace(cOe,"-ms-")}var fOe=/^((translate|rotate|scale)(X|Y|Z|3d)?|matrix(3d)?|perspective|skew(X|Y)?)$/i;function dOe(e){return!!(e&&fOe.test(e))}function Zc(e,t){var r="",n="";if(typeof t=="string")return e.style.getPropertyValue(lm(t))||sOe(e).getPropertyValue(lm(t));Object.keys(t).forEach(function(i){var a=t[i];!a&&a!==0?e.style.removeProperty(lm(i)):dOe(i)?n+=i+"("+a+") ":r+=lm(i)+": "+a+";"}),n&&(r+="transform: "+n+";"),e.style.cssText+=";"+r}function Uae(e){return e.code==="Escape"||e.keyCode===27}function hOe(){const e=pe.version.split(".");return{major:+e[0],minor:+e[1],patch:+e[2]}}function Hp(e){if(!e||typeof e=="function")return null;const{major:t}=hOe();return t>=19?e.props.ref:e.ref}const Ah=!!(typeof window<"u"&&window.document&&window.document.createElement);var YI=!1,KI=!1;try{var aO={get passive(){return YI=!0},get once(){return KI=YI=!0}};Ah&&(window.addEventListener("test",aO,aO),window.removeEventListener("test",aO,!0))}catch{}function wk(e,t,r,n){if(n&&typeof n!="boolean"&&!KI){var i=n.once,a=n.capture,o=r;!KI&&i&&(o=r.__once||function u(s){this.removeEventListener(t,u,a),r.call(this,s)},r.__once=o),e.addEventListener(t,o,YI?n:a)}e.addEventListener(t,r,n)}function XI(e,t,r,n){var i=n&&typeof n!="boolean"?n.capture:n;e.removeEventListener(t,r,i),r.__once&&e.removeEventListener(t,r.__once,i)}function rl(e,t,r,n){return wk(e,t,r,n),function(){XI(e,t,r,n)}}function vOe(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 pOe(e){var t=Zc(e,"transitionDuration")||"",r=t.indexOf("ms")===-1?1e3:1;return parseFloat(t)*r}function gOe(e,t,r){r===void 0&&(r=5);var n=!1,i=setTimeout(function(){n||vOe(e,"transitionend",!0)},t+r),a=rl(e,"transitionend",function(){n=!0},{once:!0});return function(){clearTimeout(i),a()}}function qae(e,t,r,n){r==null&&(r=pOe(e)||0);var i=gOe(e,r,n),a=rl(e,"transitionend",t);return function(){i(),a()}}function $Q(e,t){const r=Zc(e,t)||"",n=r.indexOf("ms")===-1?1e3:1;return parseFloat(r)*n}function mOe(e,t){const r=$Q(e,"transitionDuration"),n=$Q(e,"transitionDelay"),i=qae(e,a=>{a.target===e&&(i(),t(a))},r+n)}function yOe(e){e.offsetHeight}const FQ=e=>!e||typeof e=="function"?e:t=>{e.current=t};function _Oe(e,t){const r=FQ(e),n=FQ(t);return i=>{r&&r(i),n&&n(i)}}function Oh(e,t){return pe.useMemo(()=>_Oe(e,t),[e,t])}function yy(e){return e&&"setState"in e?Gc.findDOMNode(e):e??null}const SOe=or.forwardRef(({onEnter:e,onEntering:t,onEntered:r,onExit:n,onExiting:i,onExited:a,addEndListener:o,children:u,childRef:s,...c},d)=>{const h=pe.useRef(null),v=Oh(h,s),g=O=>{v(yy(O))},m=O=>_=>{O&&h.current&&O(h.current,_)},y=pe.useCallback(m(e),[e]),S=pe.useCallback(m(t),[t]),w=pe.useCallback(m(r),[r]),b=pe.useCallback(m(n),[n]),A=pe.useCallback(m(i),[i]),R=pe.useCallback(m(a),[a]),x=pe.useCallback(m(o),[o]);return j.jsx(Du,{ref:d,...c,onEnter:y,onEntered:w,onEntering:S,onExit:b,onExited:R,onExiting:A,addEndListener:x,nodeRef:h,children:typeof u=="function"?(O,_)=>u(O,{..._,ref:g}):or.cloneElement(u,{ref:g})})});function EOe(e){const t=pe.useRef(e);return pe.useEffect(()=>{t.current=e},[e]),t}function rp(e){const t=EOe(e);return pe.useCallback(function(...r){return t.current&&t.current(...r)},[t])}const wOe=(e=>pe.forwardRef((t,r)=>j.jsx("div",{...t,ref:r,className:dn(t.className,e)})));function QI(){return pe.useState(null)}function bOe(e){const t=pe.useRef(e);return pe.useEffect(()=>{t.current=e},[e]),t}function Ka(e){const t=bOe(e);return pe.useCallback(function(...r){return t.current&&t.current(...r)},[t])}function TOe(e,t,r,n=!1){const i=Ka(r);pe.useEffect(()=>{const a=typeof e=="function"?e():e;return a.addEventListener(t,i,n),()=>a.removeEventListener(t,i,n)},[e])}function Vae(){const e=pe.useRef(!0),t=pe.useRef(()=>e.current);return pe.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function Bae(e){const t=pe.useRef(null);return pe.useEffect(()=>{t.current=e}),t.current}const ROe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",xOe=typeof document<"u",jQ=xOe||ROe?pe.useLayoutEffect:pe.useEffect,COe=["as","disabled"];function AOe(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 OOe(e){return!e||e.trim()==="#"}function bk({tagName:e,disabled:t,href:r,target:n,rel:i,role:a,onClick:o,tabIndex:u=0,type:s}){e||(r!=null||n!=null||i!=null?e="a":e="button");const c={tagName:e};if(e==="button")return[{type:s||"button",disabled:t},c];const d=v=>{if((t||e==="a"&&OOe(r))&&v.preventDefault(),t){v.stopPropagation();return}o==null||o(v)},h=v=>{v.key===" "&&(v.preventDefault(),d(v))};return e==="a"&&(r||(r="#"),t&&(r=void 0)),[{role:a??"button",disabled:void 0,tabIndex:t?void 0:u,href:r,target:e==="a"?n:void 0,"aria-disabled":t||void 0,rel:e==="a"?i:void 0,onClick:d,onKeyDown:h},c]}const Hae=pe.forwardRef((e,t)=>{let{as:r,disabled:n}=e,i=AOe(e,COe);const[a,{tagName:o}]=bk(Object.assign({tagName:r,disabled:n},i));return j.jsx(o,Object.assign({},i,a,{ref:t}))});Hae.displayName="Button";const IOe=["onKeyDown"];function POe(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 DOe(e){return!e||e.trim()==="#"}const zae=pe.forwardRef((e,t)=>{let{onKeyDown:r}=e,n=POe(e,IOe);const[i]=bk(Object.assign({tagName:"a"},n)),a=Ka(o=>{i.onKeyDown(o),r==null||r(o)});return DOe(n.href)||n.role==="button"?j.jsx("a",Object.assign({ref:t},n,i,{onKeyDown:a})):j.jsx("a",Object.assign({ref:t},n,{onKeyDown:r}))});zae.displayName="Anchor";const kOe={[zl]:"show",[Hc]:"show"},np=pe.forwardRef(({className:e,children:t,transitionClasses:r={},onEnter:n,...i},a)=>{const o={in:!1,timeout:300,mountOnEnter:!1,unmountOnExit:!1,appear:!1,...i},u=pe.useCallback((s,c)=>{yOe(s),n==null||n(s,c)},[n]);return j.jsx(SOe,{ref:a,addEndListener:mOe,...o,onEnter:u,childRef:Hp(t),children:(s,c)=>pe.cloneElement(t,{...c,className:dn("fade",e,t.props.className,kOe[s],r[s])})})});np.displayName="Fade";const NOe={"aria-label":Xr.string,onClick:Xr.func,variant:Xr.oneOf(["white"])},Tk=pe.forwardRef(({className:e,variant:t,"aria-label":r="Close",...n},i)=>j.jsx("button",{ref:i,type:"button",className:dn("btn-close",t&&`btn-close-${t}`,e),"aria-label":r,...n}));Tk.displayName="CloseButton";Tk.propTypes=NOe;const s0=pe.forwardRef(({as:e,bsPrefix:t,variant:r="primary",size:n,active:i=!1,disabled:a=!1,className:o,...u},s)=>{const c=In(t,"btn"),[d,{tagName:h}]=bk({tagName:e,disabled:a,...u}),v=h;return j.jsx(v,{...d,...u,ref:s,disabled:a,className:dn(o,c,i&&"active",r&&`${c}-${r}`,n&&`${c}-${n}`,u.href&&a&&"disabled")})});s0.displayName="Button";function LOe(){const e=pe.useRef(!0),t=pe.useRef(()=>e.current);return pe.useEffect(()=>(e.current=!0,()=>{e.current=!1}),[]),t.current}function MOe(e){const t=pe.useRef(e);return t.current=e,t}function Wae(e){const t=MOe(e);pe.useEffect(()=>()=>t.current(),[])}const JI=2**31-1;function Gae(e,t,r){const n=r-Date.now();e.current=n<=JI?setTimeout(t,n):setTimeout(()=>Gae(e,t,r),JI)}function $Oe(){const e=LOe(),t=pe.useRef();return Wae(()=>clearTimeout(t.current)),pe.useMemo(()=>{const r=()=>clearTimeout(t.current);function n(i,a=0){e()&&(r(),a<=JI?t.current=setTimeout(i,a):Gae(t,i,Date.now()+a))}return{set:n,clear:r,handleRef:t}},[])}function FOe(e,t){return pe.Children.toArray(e).some(r=>pe.isValidElement(r)&&r.type===t)}function jOe({as:e,bsPrefix:t,className:r,...n}){t=In(t,"col");const i=iOe(),a=aOe(),o=[],u=[];return i.forEach(s=>{const c=n[s];delete n[s];let d,h,v;typeof c=="object"&&c!=null?{span:d,offset:h,order:v}=c:d=c;const g=s!==a?`-${s}`:"";d&&o.push(d===!0?`${t}${g}`:`${t}${g}-${d}`),v!=null&&u.push(`order${g}-${v}`),h!=null&&u.push(`offset${g}-${h}`)}),[{...n,className:dn(r,...o,...u)},{as:e,bsPrefix:t,spans:o}]}const Yae=pe.forwardRef((e,t)=>{const[{className:r,...n},{as:i="div",bsPrefix:a,spans:o}]=jOe(e);return j.jsx(i,{...n,ref:t,className:dn(r,!o.length&&a)})});Yae.displayName="Col";var UOe=Function.prototype.bind.call(Function.prototype.call,[].slice);function Wl(e,t){return UOe(e.querySelectorAll(t))}function qOe(e,t,r){const n=pe.useRef(e!==void 0),[i,a]=pe.useState(t),o=e!==void 0,u=n.current;return n.current=o,!o&&u&&i!==t&&a(t),[o?e:i,pe.useCallback((...s)=>{const[c,...d]=s;let h=r==null?void 0:r(c,...d);return a(c),h},[r])]}function VOe(){const[,e]=pe.useReducer(t=>t+1,0);return e}const u0=pe.createContext(null);var UQ=Object.prototype.hasOwnProperty;function qQ(e,t,r){for(r of e.keys())if(Mv(r,t))return r}function Mv(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--&&Mv(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=qQ(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=qQ(t,i),!i)||!Mv(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(UQ.call(e,r)&&++n&&!UQ.call(t,r)||!(r in t)||!Mv(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}function BOe(e){const t=Vae();return[e[0],pe.useCallback(r=>{if(t())return e[1](r)},[t,e[1]])]}const HOe=Ap({defaultModifiers:[yD,C_,R_,x_,_D,mD,SD,hD]}),zOe=["enabled","placement","strategy","modifiers"];function WOe(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 GOe={name:"applyStyles",enabled:!1,phase:"afterWrite",fn:()=>{}},YOe={name:"ariaDescribedBy",enabled:!0,phase:"afterWrite",effect:({state:e})=>()=>{const{reference:t,popper:r}=e.elements;if("removeAttribute"in t){const n=(t.getAttribute("aria-describedby")||"").split(",").filter(i=>i.trim()!==r.id);n.length?t.setAttribute("aria-describedby",n.join(",")):t.removeAttribute("aria-describedby")}},fn:({state:e})=>{var t;const{popper:r,reference:n}=e.elements,i=(t=r.getAttribute("role"))==null?void 0:t.toLowerCase();if(r.id&&i==="tooltip"&&"setAttribute"in n){const a=n.getAttribute("aria-describedby");if(a&&a.split(",").indexOf(r.id)!==-1)return;n.setAttribute("aria-describedby",a?`${a},${r.id}`:r.id)}}},KOe=[];function Kae(e,t,r={}){let{enabled:n=!0,placement:i="bottom",strategy:a="absolute",modifiers:o=KOe}=r,u=WOe(r,zOe);const s=pe.useRef(o),c=pe.useRef(),d=pe.useCallback(()=>{var S;(S=c.current)==null||S.update()},[]),h=pe.useCallback(()=>{var S;(S=c.current)==null||S.forceUpdate()},[]),[v,g]=BOe(pe.useState({placement:i,update:d,forceUpdate:h,attributes:{},styles:{popper:{},arrow:{}}})),m=pe.useMemo(()=>({name:"updateStateModifier",enabled:!0,phase:"write",requires:["computeStyles"],fn:({state:S})=>{const w={},b={};Object.keys(S.elements).forEach(A=>{w[A]=S.styles[A],b[A]=S.attributes[A]}),g({state:S,styles:w,attributes:b,update:d,forceUpdate:h,placement:S.placement})}}),[d,h,g]),y=pe.useMemo(()=>(Mv(s.current,o)||(s.current=o),s.current),[o]);return pe.useEffect(()=>{!c.current||!n||c.current.setOptions({placement:i,strategy:a,modifiers:[...y,m,GOe]})},[a,i,m,n,y]),pe.useEffect(()=>{if(!(!n||e==null||t==null))return c.current=HOe(e,t,Object.assign({},u,{placement:i,strategy:a,modifiers:[...y,YOe,m]})),()=>{c.current!=null&&(c.current.destroy(),c.current=void 0,g(S=>Object.assign({},S,{attributes:{},styles:{popper:{}}})))}},[n,e,t]),v}function ip(e,t){if(e.contains)return e.contains(t);if(e.compareDocumentPosition)return e===t||!!(e.compareDocumentPosition(t)&16)}var XOe=_ae();const QOe=jn(XOe),VQ=()=>{};function JOe(e){return e.button===0}function ZOe(e){return!!(e.metaKey||e.altKey||e.ctrlKey||e.shiftKey)}const Wm=e=>e&&("current"in e?e.current:e),BQ={click:"mousedown",mouseup:"mousedown",pointerup:"pointerdown"};function Xae(e,t=VQ,{disabled:r,clickTrigger:n="click"}={}){const i=pe.useRef(!1),a=pe.useRef(!1),o=pe.useCallback(c=>{const d=Wm(e);QOe(!!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||ZOe(c)||!JOe(c)||!!ip(d,c.target)||a.current,a.current=!1},[e]),u=Ka(c=>{const d=Wm(e);d&&ip(d,c.target)?a.current=!0:a.current=!1}),s=Ka(c=>{i.current||t(c)});pe.useEffect(()=>{var c,d;if(r||e==null)return;const h=Ch(Wm(e)),v=h.defaultView||window;let g=(c=v.event)!=null?c:(d=v.parent)==null?void 0:d.event,m=null;BQ[n]&&(m=rl(h,BQ[n],u,!0));const y=rl(h,n,o,!0),S=rl(h,n,b=>{if(b===g){g=void 0;return}s(b)});let w=[];return"ontouchstart"in h.documentElement&&(w=[].slice.call(h.body.children).map(b=>rl(b,"mousemove",VQ))),()=>{m==null||m(),y(),S(),w.forEach(b=>b())}},[e,r,n,o,u,s])}function eIe(e){const t={};return Array.isArray(e)?(e==null||e.forEach(r=>{t[r.name]=r}),t):e||t}function tIe(e={}){return Array.isArray(e)?e:Object.keys(e).map(t=>(e[t].name=t,e[t]))}function Qae({enabled:e,enableEvents:t,placement:r,flip:n,offset:i,fixed:a,containerPadding:o,arrowElement:u,popperConfig:s={}}){var c,d,h,v,g;const m=eIe(s.modifiers);return Object.assign({},s,{placement:r,enabled:e,strategy:a?"fixed":s.strategy,modifiers:tIe(Object.assign({},m,{eventListeners:{enabled:t,options:(c=m.eventListeners)==null?void 0:c.options},preventOverflow:Object.assign({},m.preventOverflow,{options:o?Object.assign({padding:o},(d=m.preventOverflow)==null?void 0:d.options):(h=m.preventOverflow)==null?void 0:h.options}),offset:{options:Object.assign({offset:i},(v=m.offset)==null?void 0:v.options)},arrow:Object.assign({},m.arrow,{enabled:!!u,options:Object.assign({},(g=m.arrow)==null?void 0:g.options,{element:u})}),flip:Object.assign({enabled:!!n},m.flip)}))})}const rIe=["children","usePopper"];function nIe(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 iIe=()=>{};function Jae(e={}){const t=pe.useContext(u0),[r,n]=QI(),i=pe.useRef(!1),{flip:a,offset:o,rootCloseEvent:u,fixed:s=!1,placement:c,popperConfig:d={},enableEventListeners:h=!0,usePopper:v=!!t}=e,g=(t==null?void 0:t.show)==null?!!e.show:t.show;g&&!i.current&&(i.current=!0);const m=O=>{t==null||t.toggle(!1,O)},{placement:y,setMenu:S,menuElement:w,toggleElement:b}=t||{},A=Kae(b,w,Qae({placement:c||y||"bottom-start",enabled:v,enableEvents:h??g,offset:o,flip:a,fixed:s,arrowElement:r,popperConfig:d})),R=Object.assign({ref:S||iIe,"aria-labelledby":b==null?void 0:b.id},A.attributes.popper,{style:A.styles.popper}),x={show:g,placement:y,hasShown:i.current,toggle:t==null?void 0:t.toggle,popper:v?A:null,arrowProps:v?Object.assign({ref:n},A.attributes.arrow,{style:A.styles.arrow}):{}};return Xae(w,m,{clickTrigger:u,disabled:!g}),[R,x]}function Zae(e){let{children:t,usePopper:r=!0}=e,n=nIe(e,rIe);const[i,a]=Jae(Object.assign({},n,{usePopper:r}));return j.jsx(j.Fragment,{children:t(i,a)})}Zae.displayName="DropdownMenu";const eoe={prefix:String(Math.round(Math.random()*1e10)),current:0},toe=or.createContext(eoe),aIe=or.createContext(!1);let oO=new WeakMap;function oIe(e=!1){let t=pe.useContext(toe),r=pe.useRef(null);if(r.current===null&&!e){var n,i;let a=(i=or.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED)===null||i===void 0||(n=i.ReactCurrentOwner)===null||n===void 0?void 0:n.current;if(a){let o=oO.get(a);o==null?oO.set(a,{id:t.current,state:a.memoizedState}):a.memoizedState!==o.state&&(t.current=o.id,oO.delete(a))}r.current=++t.current}return r.current}function sIe(e){let t=pe.useContext(toe),r=oIe(!!e),n=`react-aria${t.prefix}`;return e||`${n}-${r}`}function uIe(e){let t=or.useId(),[r]=pe.useState(hIe()),n=r?"react-aria":`react-aria${eoe.prefix}`;return e||`${n}-${t}`}const lIe=typeof or.useId=="function"?uIe:sIe;function cIe(){return!1}function fIe(){return!0}function dIe(e){return()=>{}}function hIe(){return typeof or.useSyncExternalStore=="function"?or.useSyncExternalStore(dIe,cIe,fIe):pe.useContext(aIe)}const roe=e=>{var t;return((t=e.getAttribute("role"))==null?void 0:t.toLowerCase())==="menu"},HQ=()=>{};function noe(){const e=lIe(),{show:t=!1,toggle:r=HQ,setToggle:n,menuElement:i}=pe.useContext(u0)||{},a=pe.useCallback(u=>{r(!t,u)},[t,r]),o={id:e,ref:n||HQ,onClick:a,"aria-expanded":!!t};return i&&roe(i)&&(o["aria-haspopup"]=!0),[o,{show:t,toggle:r}]}function ioe({children:e}){const[t,r]=noe();return j.jsx(j.Fragment,{children:e(t,r)})}ioe.displayName="DropdownToggle";const ZI=pe.createContext(null),zQ=(e,t=null)=>e!=null?String(e):t||null,aoe=pe.createContext(null);aoe.displayName="NavContext";const vIe="data-rr-ui-";function Rk(e){return`${vIe}${e}`}const pIe=["eventKey","disabled","onClick","active","as"];function gIe(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 ooe({key:e,href:t,active:r,disabled:n,onClick:i}){const a=pe.useContext(ZI),o=pe.useContext(aoe),{activeKey:u}=o||{},s=zQ(e,t),c=r==null&&e!=null?zQ(u)===s:r;return[{onClick:Ka(h=>{n||(i==null||i(h),a&&!h.isPropagationStopped()&&a(s,h))}),"aria-disabled":n||void 0,"aria-selected":c,[Rk("dropdown-item")]:""},{isActive:c}]}const soe=pe.forwardRef((e,t)=>{let{eventKey:r,disabled:n,onClick:i,active:a,as:o=Hae}=e,u=gIe(e,pIe);const[s]=ooe({key:r,href:u.href,disabled:n,onClick:i,active:a});return j.jsx(o,Object.assign({},u,{ref:t},s))});soe.displayName="DropdownItem";const uoe=pe.createContext(Ah?window:void 0);uoe.Provider;function l0(){return pe.useContext(uoe)}function WQ(){const e=VOe(),t=pe.useRef(null),r=pe.useCallback(n=>{t.current=n,e()},[e]);return[t,r]}function zp({defaultShow:e,show:t,onSelect:r,onToggle:n,itemSelector:i=`* [${Rk("dropdown-item")}]`,focusFirstItemOnShow:a,placement:o="bottom-start",children:u}){const s=l0(),[c,d]=qOe(t,e,n),[h,v]=WQ(),g=h.current,[m,y]=WQ(),S=m.current,w=Bae(c),b=pe.useRef(null),A=pe.useRef(!1),R=pe.useContext(ZI),x=pe.useCallback(($,B,Y=B==null?void 0:B.type)=>{d($,{originalEvent:B,source:Y})},[d]),O=Ka(($,B)=>{r==null||r($,B),x(!1,B,"select"),B.isPropagationStopped()||R==null||R($,B)}),_=pe.useMemo(()=>({toggle:x,placement:o,show:c,menuElement:g,toggleElement:S,setMenu:v,setToggle:y}),[x,o,c,g,S,v,y]);g&&w&&!c&&(A.current=g.contains(g.ownerDocument.activeElement));const P=Ka(()=>{S&&S.focus&&S.focus()}),N=Ka(()=>{const $=b.current;let B=a;if(B==null&&(B=h.current&&roe(h.current)?"keyboard":!1),B===!1||B==="keyboard"&&!/^key.+$/.test($))return;const Y=Wl(h.current,i)[0];Y&&Y.focus&&Y.focus()});pe.useEffect(()=>{c?N():A.current&&(A.current=!1,P())},[c,A,P,N]),pe.useEffect(()=>{b.current=null});const U=($,B)=>{if(!h.current)return null;const Y=Wl(h.current,i);let Q=Y.indexOf($)+B;return Q=Math.max(0,Math.min(Q,Y.length)),Y[Q]};return TOe(pe.useCallback(()=>s.document,[s]),"keydown",$=>{var B,Y;const{key:Q}=$,K=$.target,ee=(B=h.current)==null?void 0:B.contains(K),ne=(Y=m.current)==null?void 0:Y.contains(K);if(/input|textarea/i.test(K.tagName)&&(Q===" "||Q!=="Escape"&&ee||Q==="Escape"&&K.type==="search")||!ee&&!ne||Q==="Tab"&&(!h.current||!c))return;b.current=$.type;const I={originalEvent:$,source:$.type};switch(Q){case"ArrowUp":{const L=U(K,-1);L&&L.focus&&L.focus(),$.preventDefault();return}case"ArrowDown":if($.preventDefault(),!c)d(!0,I);else{const L=U(K,1);L&&L.focus&&L.focus()}return;case"Tab":wk(K.ownerDocument,"keyup",L=>{var re;(L.key==="Tab"&&!L.target||!((re=h.current)!=null&&re.contains(L.target)))&&d(!1,I)},{once:!0});break;case"Escape":Q==="Escape"&&($.preventDefault(),$.stopPropagation()),d(!1,I);break}}),j.jsx(ZI.Provider,{value:O,children:j.jsx(u0.Provider,{value:_,children:u})})}zp.displayName="Dropdown";zp.Menu=Zae;zp.Toggle=ioe;zp.Item=soe;const xk=pe.createContext({});xk.displayName="DropdownContext";const loe=pe.forwardRef(({className:e,bsPrefix:t,as:r="hr",role:n="separator",...i},a)=>(t=In(t,"dropdown-divider"),j.jsx(r,{ref:a,className:dn(e,t),role:n,...i})));loe.displayName="DropdownDivider";const coe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",role:n="heading",...i},a)=>(t=In(t,"dropdown-header"),j.jsx(r,{ref:a,className:dn(e,t),role:n,...i})));coe.displayName="DropdownHeader";const foe=pe.forwardRef(({bsPrefix:e,className:t,eventKey:r,disabled:n=!1,onClick:i,active:a,as:o=zae,...u},s)=>{const c=In(e,"dropdown-item"),[d,h]=ooe({key:r,href:u.href,disabled:n,onClick:i,active:a});return j.jsx(o,{...u,...d,ref:s,className:dn(t,c,h.isActive&&"active",n&&"disabled")})});foe.displayName="DropdownItem";const doe=pe.forwardRef(({className:e,bsPrefix:t,as:r="span",...n},i)=>(t=In(t,"dropdown-item-text"),j.jsx(r,{ref:i,className:dn(e,t),...n})));doe.displayName="DropdownItemText";const mIe=typeof globalThis<"u"&&globalThis.navigator&&globalThis.navigator.product==="ReactNative",yIe=typeof document<"u",hoe=yIe||mIe?pe.useLayoutEffect:pe.useEffect,Ck=pe.createContext(null);Ck.displayName="InputGroupContext";const voe=pe.createContext(null);voe.displayName="NavbarContext";function poe(e,t){return e}function goe(e,t,r){const n=r?"top-end":"top-start",i=r?"top-start":"top-end",a=r?"bottom-end":"bottom-start",o=r?"bottom-start":"bottom-end",u=r?"right-start":"left-start",s=r?"right-end":"left-end",c=r?"left-start":"right-start",d=r?"left-end":"right-end";let h=e?o:a;return t==="up"?h=e?i:n:t==="end"?h=e?d:c:t==="start"?h=e?s:u:t==="down-centered"?h="bottom":t==="up-centered"&&(h="top"),h}const moe=pe.forwardRef(({bsPrefix:e,className:t,align:r,rootCloseEvent:n,flip:i=!0,show:a,renderOnMount:o,as:u="div",popperConfig:s,variant:c,...d},h)=>{let v=!1;const g=pe.useContext(voe),m=In(e,"dropdown-menu"),{align:y,drop:S,isRTL:w}=pe.useContext(xk);r=r||y;const b=pe.useContext(Ck),A=[];if(r)if(typeof r=="object"){const $=Object.keys(r);if($.length){const B=$[0],Y=r[B];v=Y==="start",A.push(`${m}-${B}-${Y}`)}}else r==="end"&&(v=!0);const R=goe(v,S,w),[x,{hasShown:O,popper:_,show:P,toggle:N}]=Jae({flip:i,rootCloseEvent:n,show:a,usePopper:!g&&A.length===0,offset:[0,2],popperConfig:s,placement:R});if(x.ref=Oh(poe(h),x.ref),hoe(()=>{P&&(_==null||_.update())},[P]),!O&&!o&&!b)return null;typeof u!="string"&&(x.show=P,x.close=()=>N==null?void 0:N(!1),x.align=r);let U=d.style;return _!=null&&_.placement&&(U={...d.style,...x.style},d["x-placement"]=_.placement),j.jsx(u,{...d,...x,style:U,...(A.length||g)&&{"data-bs-popper":"static"},className:dn(t,m,P&&"show",v&&`${m}-end`,c&&`${m}-${c}`,...A)})});moe.displayName="DropdownMenu";const yoe=pe.forwardRef(({bsPrefix:e,split:t,className:r,childBsPrefix:n,as:i=s0,...a},o)=>{const u=In(e,"dropdown-toggle"),s=pe.useContext(u0);n!==void 0&&(a.bsPrefix=n);const[c]=noe();return c.ref=Oh(c.ref,poe(o)),j.jsx(i,{className:dn(r,u,t&&`${u}-split`,(s==null?void 0:s.show)&&"show"),...c,...a})});yoe.displayName="DropdownToggle";const _oe=pe.forwardRef((e,t)=>{const{bsPrefix:r,drop:n="down",show:i,className:a,align:o="start",onSelect:u,onToggle:s,focusFirstItemOnShow:c,as:d="div",navbar:h,autoClose:v=!0,...g}=tOe(e,{show:"onToggle"}),m=pe.useContext(Ck),y=In(r,"dropdown"),S=o0(),w=_=>v===!1?_==="click":v==="inside"?_!=="rootClose":v==="outside"?_!=="select":!0,b=rp((_,P)=>{var N;!((N=P.originalEvent)==null||(N=N.target)==null)&&N.classList.contains("dropdown-toggle")&&P.source==="mousedown"||(P.originalEvent.currentTarget===document&&(P.source!=="keydown"||P.originalEvent.key==="Escape")&&(P.source="rootClose"),w(P.source)&&(s==null||s(_,P)))}),R=goe(o==="end",n,S),x=pe.useMemo(()=>({align:o,drop:n,isRTL:S}),[o,n,S]),O={down:y,"down-centered":`${y}-center`,up:"dropup","up-centered":"dropup-center dropup",end:"dropend",start:"dropstart"};return j.jsx(xk.Provider,{value:x,children:j.jsx(zp,{placement:R,show:i,onSelect:u,onToggle:b,focusFirstItemOnShow:c,itemSelector:`.${y}-item:not(.disabled):not(:disabled)`,children:m?g.children:j.jsx(d,{...g,ref:t,className:dn(a,i&&"show",O[n])})})})});_oe.displayName="Dropdown";const Zi=Object.assign(_oe,{Toggle:yoe,Menu:moe,Item:foe,ItemText:doe,Divider:loe,Header:coe}),_Ie={type:Xr.string,tooltip:Xr.bool,as:Xr.elementType},c0=pe.forwardRef(({as:e="div",className:t,type:r="valid",tooltip:n=!1,...i},a)=>j.jsx(e,{...i,ref:a,className:dn(t,`${r}-${n?"tooltip":"feedback"}`)}));c0.displayName="Feedback";c0.propTypes=_Ie;const fl=pe.createContext({}),Ak=pe.forwardRef(({id:e,bsPrefix:t,className:r,type:n="checkbox",isValid:i=!1,isInvalid:a=!1,as:o="input",...u},s)=>{const{controlId:c}=pe.useContext(fl);return t=In(t,"form-check-input"),j.jsx(o,{...u,ref:s,type:n,id:e||c,className:dn(r,t,i&&"is-valid",a&&"is-invalid")})});Ak.displayName="FormCheckInput";const _y=pe.forwardRef(({bsPrefix:e,className:t,htmlFor:r,...n},i)=>{const{controlId:a}=pe.useContext(fl);return e=In(e,"form-check-label"),j.jsx("label",{...n,ref:i,htmlFor:r||a,className:dn(t,e)})});_y.displayName="FormCheckLabel";const Soe=pe.forwardRef(({id:e,bsPrefix:t,bsSwitchPrefix:r,inline:n=!1,reverse:i=!1,disabled:a=!1,isValid:o=!1,isInvalid:u=!1,feedbackTooltip:s=!1,feedback:c,feedbackType:d,className:h,style:v,title:g="",type:m="checkbox",label:y,children:S,as:w="input",...b},A)=>{t=In(t,"form-check"),r=In(r,"form-switch");const{controlId:R}=pe.useContext(fl),x=pe.useMemo(()=>({controlId:e||R}),[R,e]),O=!S&&y!=null&&y!==!1||FOe(S,_y),_=j.jsx(Ak,{...b,type:m==="switch"?"checkbox":m,ref:A,isValid:o,isInvalid:u,disabled:a,as:w});return j.jsx(fl.Provider,{value:x,children:j.jsx("div",{style:v,className:dn(h,O&&t,n&&`${t}-inline`,i&&`${t}-reverse`,m==="switch"&&r),children:S||j.jsxs(j.Fragment,{children:[_,O&&j.jsx(_y,{title:g,children:y}),c&&j.jsx(c0,{type:d,tooltip:s,children:c})]})})})});Soe.displayName="FormCheck";const Sy=Object.assign(Soe,{Input:Ak,Label:_y}),Eoe=pe.forwardRef(({bsPrefix:e,type:t,size:r,htmlSize:n,id:i,className:a,isValid:o=!1,isInvalid:u=!1,plaintext:s,readOnly:c,as:d="input",...h},v)=>{const{controlId:g}=pe.useContext(fl);return e=In(e,"form-control"),j.jsx(d,{...h,type:t,size:n,ref:v,readOnly:c,id:i||g,className:dn(a,s?`${e}-plaintext`:e,r&&`${e}-${r}`,t==="color"&&`${e}-color`,o&&"is-valid",u&&"is-invalid")})});Eoe.displayName="FormControl";const SIe=Object.assign(Eoe,{Feedback:c0}),woe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"form-floating"),j.jsx(r,{ref:i,className:dn(e,t),...n})));woe.displayName="FormFloating";const Ok=pe.forwardRef(({controlId:e,as:t="div",...r},n)=>{const i=pe.useMemo(()=>({controlId:e}),[e]);return j.jsx(fl.Provider,{value:i,children:j.jsx(t,{...r,ref:n})})});Ok.displayName="FormGroup";const boe=pe.forwardRef(({as:e="label",bsPrefix:t,column:r=!1,visuallyHidden:n=!1,className:i,htmlFor:a,...o},u)=>{const{controlId:s}=pe.useContext(fl);t=In(t,"form-label");let c="col-form-label";typeof r=="string"&&(c=`${c} ${c}-${r}`);const d=dn(i,t,n&&"visually-hidden",r&&c);return a=a||s,r?j.jsx(Yae,{ref:u,as:"label",className:d,htmlFor:a,...o}):j.jsx(e,{ref:u,className:d,htmlFor:a,...o})});boe.displayName="FormLabel";const Toe=pe.forwardRef(({bsPrefix:e,className:t,id:r,...n},i)=>{const{controlId:a}=pe.useContext(fl);return e=In(e,"form-range"),j.jsx("input",{...n,type:"range",ref:i,className:dn(t,e),id:r||a})});Toe.displayName="FormRange";const Roe=pe.forwardRef(({bsPrefix:e,size:t,htmlSize:r,className:n,isValid:i=!1,isInvalid:a=!1,id:o,...u},s)=>{const{controlId:c}=pe.useContext(fl);return e=In(e,"form-select"),j.jsx("select",{...u,size:r,ref:s,className:dn(n,e,t&&`${e}-${t}`,i&&"is-valid",a&&"is-invalid"),id:o||c})});Roe.displayName="FormSelect";const xoe=pe.forwardRef(({bsPrefix:e,className:t,as:r="small",muted:n,...i},a)=>(e=In(e,"form-text"),j.jsx(r,{...i,ref:a,className:dn(t,e,n&&"text-muted")})));xoe.displayName="FormText";const Coe=pe.forwardRef((e,t)=>j.jsx(Sy,{...e,ref:t,type:"switch"}));Coe.displayName="Switch";const EIe=Object.assign(Coe,{Input:Sy.Input,Label:Sy.Label}),Aoe=pe.forwardRef(({bsPrefix:e,className:t,children:r,controlId:n,label:i,...a},o)=>(e=In(e,"form-floating"),j.jsxs(Ok,{ref:o,className:dn(t,e),controlId:n,...a,children:[r,j.jsx("label",{htmlFor:n,children:i})]})));Aoe.displayName="FloatingLabel";const wIe={_ref:Xr.any,validated:Xr.bool,as:Xr.elementType},Ik=pe.forwardRef(({className:e,validated:t,as:r="form",...n},i)=>j.jsx(r,{...n,ref:i,className:dn(e,t&&"was-validated")}));Ik.displayName="Form";Ik.propTypes=wIe;const bIe=Object.assign(Ik,{Group:Ok,Control:SIe,Floating:woe,Check:Sy,Switch:EIe,Label:boe,Text:xoe,Range:Toe,Select:Roe,FloatingLabel:Aoe}),GQ=e=>!e||typeof e=="function"?e:t=>{e.current=t};function TIe(e,t){const r=GQ(e),n=GQ(t);return i=>{r&&r(i),n&&n(i)}}function f0(e,t){return pe.useMemo(()=>TIe(e,t),[e,t])}var cm;function YQ(e){if((!cm&&cm!==0||e)&&Ah){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),cm=t.offsetWidth-t.clientWidth,document.body.removeChild(t)}return cm}function RIe(){return pe.useState(null)}function sO(e){e===void 0&&(e=Ch());try{var t=e.activeElement;return!t||!t.nodeName?null:t}catch{return e.body}}function xIe(e){const t=pe.useRef(e);return t.current=e,t}function CIe(e){const t=xIe(e);pe.useEffect(()=>()=>t.current(),[])}function AIe(e=document){const t=e.defaultView;return Math.abs(t.innerWidth-e.documentElement.clientWidth)}const KQ=Rk("modal-open");class Pk{constructor({ownerDocument:t,handleContainerOverflow:r=!0,isRTL:n=!1}={}){this.handleContainerOverflow=r,this.isRTL=n,this.modals=[],this.ownerDocument=t}getScrollbarWidth(){return AIe(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(Zc(i,n)||"0",10)+t.scrollBarWidth}px`),i.setAttribute(KQ,""),Zc(i,r)}reset(){[...this.modals].forEach(t=>this.remove(t))}removeContainerStyle(t){const r=this.getElement();r.removeAttribute(KQ),Object.assign(r.style,t.style)}add(t){let r=this.modals.indexOf(t);return r!==-1||(r=this.modals.length,this.modals.push(t),this.setModalAttributes(t),r!==0)||(this.state={scrollBarWidth:this.getScrollbarWidth(),style:{}},this.handleContainerOverflow&&this.setContainerStyle(this.state)),r}remove(t){const r=this.modals.indexOf(t);r!==-1&&(this.modals.splice(r,1),!this.modals.length&&this.handleContainerOverflow&&this.removeContainerStyle(this.state),this.removeModalAttributes(t))}isTopModal(t){return!!this.modals.length&&this.modals[this.modals.length-1]===t}}const uO=(e,t)=>Ah?e==null?(t||Ch()).body:(typeof e=="function"&&(e=e()),e&&"current"in e&&(e=e.current),e&&("nodeType"in e||e.getBoundingClientRect)?e:null):null;function eP(e,t){const r=l0(),[n,i]=pe.useState(()=>uO(e,r==null?void 0:r.document));if(!n){const a=uO(e);a&&i(a)}return pe.useEffect(()=>{},[t,n]),pe.useEffect(()=>{const a=uO(e);a!==n&&i(a)},[e,n]),n}function OIe({children:e,in:t,onExited:r,mountOnEnter:n,unmountOnExit:i}){const a=pe.useRef(null),o=pe.useRef(t),u=Ka(r);pe.useEffect(()=>{t?o.current=!0:u(a.current)},[t,u]);const s=f0(a,Hp(e)),c=pe.cloneElement(e,{ref:s});return t?c:i||!o.current&&n?null:c}const IIe=["onEnter","onEntering","onEntered","onExit","onExiting","onExited","addEndListener","children"];function PIe(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 DIe(e){let{onEnter:t,onEntering:r,onEntered:n,onExit:i,onExiting:a,onExited:o,addEndListener:u,children:s}=e,c=PIe(e,IIe);const d=pe.useRef(null),h=f0(d,Hp(s)),v=R=>x=>{R&&d.current&&R(d.current,x)},g=pe.useCallback(v(t),[t]),m=pe.useCallback(v(r),[r]),y=pe.useCallback(v(n),[n]),S=pe.useCallback(v(i),[i]),w=pe.useCallback(v(a),[a]),b=pe.useCallback(v(o),[o]),A=pe.useCallback(v(u),[u]);return Object.assign({},c,{nodeRef:d},t&&{onEnter:g},r&&{onEntering:m},n&&{onEntered:y},i&&{onExit:S},a&&{onExiting:w},o&&{onExited:b},u&&{addEndListener:A},{children:typeof s=="function"?(R,x)=>s(R,Object.assign({},x,{ref:h})):pe.cloneElement(s,{ref:h})})}const kIe=["component"];function NIe(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 LIe=pe.forwardRef((e,t)=>{let{component:r}=e,n=NIe(e,kIe);const i=DIe(n);return j.jsx(r,Object.assign({ref:t},i))});function MIe({in:e,onTransition:t}){const r=pe.useRef(null),n=pe.useRef(!0),i=Ka(t);return jQ(()=>{if(!r.current)return;let a=!1;return i({in:e,element:r.current,initial:n.current,isStale:()=>a}),()=>{a=!0}},[e,i]),jQ(()=>(n.current=!1,()=>{n.current=!0}),[]),r}function $Ie({children:e,in:t,onExited:r,onEntered:n,transition:i}){const[a,o]=pe.useState(!t);t&&a&&o(!1);const u=MIe({in:!!t,onTransition:c=>{const d=()=>{c.isStale()||(c.in?n==null||n(c.element,c.initial):(o(!0),r==null||r(c.element)))};Promise.resolve(i(c)).then(d,h=>{throw c.in||o(!0),h})}}),s=f0(u,Hp(e));return a&&!t?null:pe.cloneElement(e,{ref:s})}function tP(e,t,r){return e?j.jsx(LIe,Object.assign({},r,{component:e})):t?j.jsx($Ie,Object.assign({},r,{transition:t})):j.jsx(OIe,Object.assign({},r))}const FIe=["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 jIe(e,t){if(e==null)return{};var r={};for(var n in e)if({}.hasOwnProperty.call(e,n)){if(t.indexOf(n)>=0)continue;r[n]=e[n]}return r}let lO;function UIe(e){return lO||(lO=new Pk({ownerDocument:e==null?void 0:e.document})),lO}function qIe(e){const t=l0(),r=e||UIe(t),n=pe.useRef({dialog:null,backdrop:null});return Object.assign(n.current,{add:()=>r.add(n.current),remove:()=>r.remove(n.current),isTopModal:()=>r.isTopModal(n.current),setDialogRef:pe.useCallback(i=>{n.current.dialog=i},[]),setBackdropRef:pe.useCallback(i=>{n.current.backdrop=i},[])})}const Ooe=pe.forwardRef((e,t)=>{let{show:r=!1,role:n="dialog",className:i,style:a,children:o,backdrop:u=!0,keyboard:s=!0,onBackdropClick:c,onEscapeKeyDown:d,transition:h,runTransition:v,backdropTransition:g,runBackdropTransition:m,autoFocus:y=!0,enforceFocus:S=!0,restoreFocus:w=!0,restoreFocusOptions:b,renderDialog:A,renderBackdrop:R=fe=>j.jsx("div",Object.assign({},fe)),manager:x,container:O,onShow:_,onHide:P=()=>{},onExit:N,onExited:U,onExiting:$,onEnter:B,onEntering:Y,onEntered:Q}=e,K=jIe(e,FIe);const ee=l0(),ne=eP(O),D=qIe(x),I=Vae(),L=Bae(r),[re,te]=pe.useState(!r),ce=pe.useRef(null);pe.useImperativeHandle(t,()=>D,[D]),Ah&&!L&&r&&(ce.current=sO(ee==null?void 0:ee.document)),r&&re&&te(!1);const be=Ka(()=>{if(D.add(),H.current=rl(document,"keydown",k),q.current=rl(document,"focus",()=>setTimeout(je),!0),_&&_(),y){var fe,Re;const Se=sO((fe=(Re=D.dialog)==null?void 0:Re.ownerDocument)!=null?fe:ee==null?void 0:ee.document);D.dialog&&Se&&!ip(D.dialog,Se)&&(ce.current=Se,D.dialog.focus())}}),Ie=Ka(()=>{if(D.remove(),H.current==null||H.current(),q.current==null||q.current(),w){var fe;(fe=ce.current)==null||fe.focus==null||fe.focus(b),ce.current=null}});pe.useEffect(()=>{!r||!ne||be()},[r,ne,be]),pe.useEffect(()=>{re&&Ie()},[re,Ie]),CIe(()=>{Ie()});const je=Ka(()=>{if(!S||!I()||!D.isTopModal())return;const fe=sO(ee==null?void 0:ee.document);D.dialog&&fe&&!ip(D.dialog,fe)&&D.dialog.focus()}),z=Ka(fe=>{fe.target===fe.currentTarget&&(c==null||c(fe),u===!0&&P())}),k=Ka(fe=>{s&&Uae(fe)&&D.isTopModal()&&(d==null||d(fe),fe.defaultPrevented||P())}),q=pe.useRef(),H=pe.useRef(),ie=(...fe)=>{te(!0),U==null||U(...fe)};if(!ne)return null;const V=Object.assign({role:n,ref:D.setDialogRef,"aria-modal":n==="dialog"?!0:void 0},K,{style:a,className:i,tabIndex:-1});let Z=A?A(V):j.jsx("div",Object.assign({},V,{children:pe.cloneElement(o,{role:"document"})}));Z=tP(h,v,{unmountOnExit:!0,mountOnEnter:!0,appear:!0,in:!!r,onExit:N,onExiting:$,onExited:ie,onEnter:B,onEntering:Y,onEntered:Q,children:Z});let me=null;return u&&(me=R({ref:D.setBackdropRef,onClick:z}),me=tP(g,m,{in:!!r,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:me})),j.jsx(j.Fragment,{children:Gc.createPortal(j.jsxs(j.Fragment,{children:[me,Z]}),ne)})});Ooe.displayName="Modal";const VIe=Object.assign(Ooe,{Manager:Pk}),_d={FIXED_CONTENT:".fixed-top, .fixed-bottom, .is-fixed, .sticky-top",STICKY_CONTENT:".sticky-top",NAVBAR_TOGGLER:".navbar-toggler"};class BIe extends Pk{adjustAndStore(t,r,n){const i=r.style[t];r.dataset[t]=i,Zc(r,{[t]:`${parseFloat(Zc(r,t))+n}px`})}restore(t,r){const n=r.dataset[t];n!==void 0&&(delete r.dataset[t],Zc(r,{[t]:n}))}setContainerStyle(t){super.setContainerStyle(t);const r=this.getElement();if(Mae(r,"modal-open"),!t.scrollBarWidth)return;const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Wl(r,_d.FIXED_CONTENT).forEach(a=>this.adjustAndStore(n,a,t.scrollBarWidth)),Wl(r,_d.STICKY_CONTENT).forEach(a=>this.adjustAndStore(i,a,-t.scrollBarWidth)),Wl(r,_d.NAVBAR_TOGGLER).forEach(a=>this.adjustAndStore(i,a,t.scrollBarWidth))}removeContainerStyle(t){super.removeContainerStyle(t);const r=this.getElement();$ae(r,"modal-open");const n=this.isRTL?"paddingLeft":"paddingRight",i=this.isRTL?"marginLeft":"marginRight";Wl(r,_d.FIXED_CONTENT).forEach(a=>this.restore(n,a)),Wl(r,_d.STICKY_CONTENT).forEach(a=>this.restore(i,a)),Wl(r,_d.NAVBAR_TOGGLER).forEach(a=>this.restore(i,a))}}let cO;function HIe(e){return cO||(cO=new BIe(e)),cO}const Ioe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"modal-body"),j.jsx(r,{ref:i,className:dn(e,t),...n})));Ioe.displayName="ModalBody";const Poe=pe.createContext({onHide(){}}),Dk=pe.forwardRef(({bsPrefix:e,className:t,contentClassName:r,centered:n,size:i,fullscreen:a,children:o,scrollable:u,...s},c)=>{e=In(e,"modal");const d=`${e}-dialog`,h=typeof a=="string"?`${e}-fullscreen-${a}`:`${e}-fullscreen`;return j.jsx("div",{...s,ref:c,className:dn(d,t,i&&`${e}-${i}`,n&&`${d}-centered`,u&&`${d}-scrollable`,a&&h),children:j.jsx("div",{className:dn(`${e}-content`,r),children:o})})});Dk.displayName="ModalDialog";const Doe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"modal-footer"),j.jsx(r,{ref:i,className:dn(e,t),...n})));Doe.displayName="ModalFooter";const zIe=pe.forwardRef(({closeLabel:e="Close",closeVariant:t,closeButton:r=!1,onHide:n,children:i,...a},o)=>{const u=pe.useContext(Poe),s=rp(()=>{u==null||u.onHide(),n==null||n()});return j.jsxs("div",{ref:o,...a,children:[i,r&&j.jsx(Tk,{"aria-label":e,variant:t,onClick:s})]})}),koe=pe.forwardRef(({bsPrefix:e,className:t,closeLabel:r="Close",closeButton:n=!1,...i},a)=>(e=In(e,"modal-header"),j.jsx(zIe,{ref:a,...i,className:dn(t,e),closeLabel:r,closeButton:n})));koe.displayName="ModalHeader";const WIe=wOe("h4"),Noe=pe.forwardRef(({className:e,bsPrefix:t,as:r=WIe,...n},i)=>(t=In(t,"modal-title"),j.jsx(r,{ref:i,className:dn(e,t),...n})));Noe.displayName="ModalTitle";function GIe(e){return j.jsx(np,{...e,timeout:null})}function YIe(e){return j.jsx(np,{...e,timeout:null})}const Loe=pe.forwardRef(({bsPrefix:e,className:t,style:r,dialogClassName:n,contentClassName:i,children:a,dialogAs:o=Dk,"data-bs-theme":u,"aria-labelledby":s,"aria-describedby":c,"aria-label":d,show:h=!1,animation:v=!0,backdrop:g=!0,keyboard:m=!0,onEscapeKeyDown:y,onShow:S,onHide:w,container:b,autoFocus:A=!0,enforceFocus:R=!0,restoreFocus:x=!0,restoreFocusOptions:O,onEntered:_,onExit:P,onExiting:N,onEnter:U,onEntering:$,onExited:B,backdropClassName:Y,manager:Q,...K},ee)=>{const[ne,D]=pe.useState({}),[I,L]=pe.useState(!1),re=pe.useRef(!1),te=pe.useRef(!1),ce=pe.useRef(null),[be,Ie]=RIe(),je=Oh(ee,Ie),z=rp(w),k=o0();e=In(e,"modal");const q=pe.useMemo(()=>({onHide:z}),[z]);function H(){return Q||HIe({isRTL:k})}function ie(He){if(!Ah)return;const _t=H().getScrollbarWidth()>0,jt=He.scrollHeight>Ch(He).documentElement.clientHeight;D({paddingRight:_t&&!jt?YQ():void 0,paddingLeft:!_t&&jt?YQ():void 0})}const V=rp(()=>{be&&ie(be.dialog)});Wae(()=>{XI(window,"resize",V),ce.current==null||ce.current()});const Z=()=>{re.current=!0},me=He=>{re.current&&be&&He.target===be.dialog&&(te.current=!0),re.current=!1},fe=()=>{L(!0),ce.current=qae(be.dialog,()=>{L(!1)})},Re=He=>{He.target===He.currentTarget&&fe()},Se=He=>{if(g==="static"){Re(He);return}if(te.current||He.target!==He.currentTarget){te.current=!1;return}w==null||w()},Oe=He=>{m?y==null||y(He):(He.preventDefault(),g==="static"&&fe())},Me=(He,_t)=>{He&&ie(He),U==null||U(He,_t)},de=He=>{ce.current==null||ce.current(),P==null||P(He)},Ee=(He,_t)=>{$==null||$(He,_t),wk(window,"resize",V)},_e=He=>{He&&(He.style.display=""),B==null||B(He),XI(window,"resize",V)},xe=pe.useCallback(He=>j.jsx("div",{...He,className:dn(`${e}-backdrop`,Y,!v&&"show")}),[v,Y,e]),ke={...r,...ne};ke.display="block";const Le=He=>j.jsx("div",{role:"dialog",...He,style:ke,className:dn(t,e,I&&`${e}-static`,!v&&"show"),onClick:g?Se:void 0,onMouseUp:me,"data-bs-theme":u,"aria-label":d,"aria-labelledby":s,"aria-describedby":c,children:j.jsx(o,{...K,onMouseDown:Z,className:n,contentClassName:i,children:a})});return j.jsx(Poe.Provider,{value:q,children:j.jsx(VIe,{show:h,ref:je,backdrop:g,container:b,keyboard:!0,autoFocus:A,enforceFocus:R,restoreFocus:x,restoreFocusOptions:O,onEscapeKeyDown:Oe,onShow:S,onHide:w,onEnter:Me,onEntering:Ee,onEntered:_,onExit:de,onExiting:N,onExited:_e,manager:H(),transition:v?GIe:void 0,backdropTransition:v?YIe:void 0,renderBackdrop:xe,renderDialog:Le})})});Loe.displayName="Modal";const fm=Object.assign(Loe,{Body:Ioe,Header:koe,Title:Noe,Footer:Doe,Dialog:Dk,TRANSITION_DURATION:300,BACKDROP_TRANSITION_DURATION:150}),KIe=()=>{};function XIe(e,t,{disabled:r,clickTrigger:n}={}){const i=t||KIe;Xae(e,i,{disabled:r,clickTrigger:n});const a=Ka(o=>{Uae(o)&&i(o)});pe.useEffect(()=>{if(r||e==null)return;const o=Ch(Wm(e));let u=(o.defaultView||window).event;const s=rl(o,"keyup",c=>{if(c===u){u=void 0;return}a(c)});return()=>{s()}},[e,r,a])}const Moe=pe.forwardRef((e,t)=>{const{flip:r,offset:n,placement:i,containerPadding:a,popperConfig:o={},transition:u,runTransition:s}=e,[c,d]=QI(),[h,v]=QI(),g=f0(d,t),m=eP(e.container),y=eP(e.target),[S,w]=pe.useState(!e.show),b=Kae(y,c,Qae({placement:i,enableEvents:!!e.show,containerPadding:a||5,flip:r,offset:n,arrowElement:h,popperConfig:o}));e.show&&S&&w(!1);const A=(...$)=>{w(!0),e.onExited&&e.onExited(...$)},R=e.show||!S;if(XIe(c,e.onHide,{disabled:!e.rootClose||e.rootCloseDisabled,clickTrigger:e.rootCloseEvent}),!R)return null;const{onExit:x,onExiting:O,onEnter:_,onEntering:P,onEntered:N}=e;let U=e.children(Object.assign({},b.attributes.popper,{style:b.styles.popper,ref:g}),{popper:b,placement:i,show:!!e.show,arrowProps:Object.assign({},b.attributes.arrow,{style:b.styles.arrow,ref:v})});return U=tP(u,s,{in:!!e.show,appear:!0,mountOnEnter:!0,unmountOnExit:!0,children:U,onExit:x,onExiting:O,onExited:A,onEnter:_,onEntering:P,onEntered:N}),m?Gc.createPortal(U,m):null});Moe.displayName="Overlay";const $oe=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"popover-header"),j.jsx(r,{ref:i,className:dn(e,t),...n})));$oe.displayName="PopoverHeader";const kk=pe.forwardRef(({className:e,bsPrefix:t,as:r="div",...n},i)=>(t=In(t,"popover-body"),j.jsx(r,{ref:i,className:dn(e,t),...n})));kk.displayName="PopoverBody";function Foe(e,t){let r=e;return e==="left"?r=t?"end":"start":e==="right"&&(r=t?"start":"end"),r}function joe(e="absolute"){return{position:e,top:"0",left:"0",opacity:"0",pointerEvents:"none"}}const QIe=pe.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,body:a,arrowProps:o,hasDoneInitialMeasure:u,popper:s,show:c,...d},h)=>{const v=In(e,"popover"),g=o0(),[m]=(t==null?void 0:t.split("-"))||[],y=Foe(m,g);let S=n;return c&&!u&&(S={...n,...joe(s==null?void 0:s.strategy)}),j.jsxs("div",{ref:h,role:"tooltip",style:S,"x-placement":m,className:dn(r,v,m&&`bs-popover-${y}`),...d,children:[j.jsx("div",{className:"popover-arrow",...o}),a?j.jsx(kk,{children:i}):i]})}),JIe=Object.assign(QIe,{Header:$oe,Body:kk,POPPER_OFFSET:[0,8]}),Uoe=pe.forwardRef(({bsPrefix:e,placement:t="right",className:r,style:n,children:i,arrowProps:a,hasDoneInitialMeasure:o,popper:u,show:s,...c},d)=>{e=In(e,"tooltip");const h=o0(),[v]=(t==null?void 0:t.split("-"))||[],g=Foe(v,h);let m=n;return s&&!o&&(m={...n,...joe(u==null?void 0:u.strategy)}),j.jsxs("div",{ref:d,style:m,role:"tooltip","x-placement":v,className:dn(r,e,`bs-tooltip-${g}`),...c,children:[j.jsx("div",{className:"tooltip-arrow",...a}),j.jsx("div",{className:`${e}-inner`,children:i})]})});Uoe.displayName="Tooltip";const Ey=Object.assign(Uoe,{TOOLTIP_OFFSET:[0,6]});function ZIe(e){const t=pe.useRef(null),r=In(void 0,"popover"),n=In(void 0,"tooltip"),i=pe.useMemo(()=>({name:"offset",options:{offset:()=>{if(e)return e;if(t.current){if(zI(t.current,r))return JIe.POPPER_OFFSET;if(zI(t.current,n))return Ey.TOOLTIP_OFFSET}return[0,0]}}}),[e,r,n]);return[t,[i]]}function ePe(e,t){const{ref:r}=e,{ref:n}=t;e.ref=r.__wrapped||(r.__wrapped=i=>r(yy(i))),t.ref=n.__wrapped||(n.__wrapped=i=>n(yy(i)))}const qoe=pe.forwardRef(({children:e,transition:t=np,popperConfig:r={},rootClose:n=!1,placement:i="top",show:a=!1,...o},u)=>{const s=pe.useRef({}),[c,d]=pe.useState(null),[h,v]=ZIe(o.offset),g=Oh(u,h),m=t===!0?np:t||void 0,y=rp(S=>{d(S),r==null||r.onFirstUpdate==null||r.onFirstUpdate(S)});return hoe(()=>{c&&o.target&&(s.current.scheduleUpdate==null||s.current.scheduleUpdate())},[c,o.target]),pe.useEffect(()=>{a||d(null)},[a]),j.jsx(Moe,{...o,ref:g,popperConfig:{...r,modifiers:v.concat(r.modifiers||[]),onFirstUpdate:y},transition:m,rootClose:n,placement:i,show:a,children:(S,{arrowProps:w,popper:b,show:A})=>{var R;ePe(S,w);const x=b==null?void 0:b.placement,O=Object.assign(s.current,{state:b==null?void 0:b.state,scheduleUpdate:b==null?void 0:b.update,placement:x,outOfBoundaries:(b==null||(R=b.state)==null||(R=R.modifiersData.hide)==null?void 0:R.isReferenceHidden)||!1,strategy:r.strategy}),_=!!c;return typeof e=="function"?e({...S,placement:x,show:A,...!t&&A&&{className:"show"},popper:O,arrowProps:w,hasDoneInitialMeasure:_}):pe.cloneElement(e,{...S,placement:x,arrowProps:w,popper:O,hasDoneInitialMeasure:_,className:dn(e.props.className,!t&&A&&"show"),style:{...e.props.style,...S.style}})}})});qoe.displayName="Overlay";function tPe(e){return e&&typeof e=="object"?e:{show:e,hide:e}}function XQ(e,t,r){const[n]=t,i=n.currentTarget,a=n.relatedTarget||n.nativeEvent[r];(!a||a!==i)&&!ip(i,a)&&e(...t)}Xr.oneOf(["click","hover","focus"]);const rP=({trigger:e=["hover","focus"],overlay:t,children:r,popperConfig:n={},show:i,defaultShow:a=!1,onToggle:o,delay:u,placement:s,flip:c=s&&s.indexOf("auto")!==-1,...d})=>{const h=pe.useRef(null),v=Oh(h,Hp(r)),g=$Oe(),m=pe.useRef(""),[y,S]=jae(i,a,o),w=tPe(u),{onFocus:b,onBlur:A,onClick:R}=typeof r!="function"?pe.Children.only(r).props:{},x=K=>{v(yy(K))},O=pe.useCallback(()=>{if(g.clear(),m.current="show",!w.show){S(!0);return}g.set(()=>{m.current==="show"&&S(!0)},w.show)},[w.show,S,g]),_=pe.useCallback(()=>{if(g.clear(),m.current="hide",!w.hide){S(!1);return}g.set(()=>{m.current==="hide"&&S(!1)},w.hide)},[w.hide,S,g]),P=pe.useCallback((...K)=>{O(),b==null||b(...K)},[O,b]),N=pe.useCallback((...K)=>{_(),A==null||A(...K)},[_,A]),U=pe.useCallback((...K)=>{S(!y),R==null||R(...K)},[R,S,y]),$=pe.useCallback((...K)=>{XQ(O,K,"fromElement")},[O]),B=pe.useCallback((...K)=>{XQ(_,K,"toElement")},[_]),Y=e==null?[]:[].concat(e),Q={ref:x};return Y.indexOf("click")!==-1&&(Q.onClick=U),Y.indexOf("focus")!==-1&&(Q.onFocus=P,Q.onBlur=N),Y.indexOf("hover")!==-1&&(Q.onMouseOver=$,Q.onMouseOut=B),j.jsxs(j.Fragment,{children:[typeof r=="function"?r(Q):pe.cloneElement(r,Q),j.jsx(qoe,{...d,show:y,onHide:_,flip:c,placement:s,popperConfig:n,target:h.current,children:t})]})},Wp=pe.forwardRef(({bsPrefix:e,variant:t,animation:r="border",size:n,as:i="div",className:a,...o},u)=>{e=In(e,"spinner");const s=`${e}-${r}`;return j.jsx(i,{ref:u,...o,className:dn(a,s,n&&`${s}-${n}`,t&&`text-${t}`)})});Wp.displayName="Spinner";var dm={},QQ;function rPe(){if(QQ)return dm;QQ=1;var e=Wie();return dm.createRoot=e.createRoot,dm.hydrateRoot=e.hydrateRoot,dm}var Nk=rPe();const Lk={getRandomInt(e=1e4){return Math.floor(Math.random()*Math.floor(e))}};function nPe(e){const t=pe.useMemo(()=>`${e.type}-${Lk.getRandomInt()}`,[]);return e.title?e.spanHack?j.jsx(rP,{placement:e.placement,overlay:j.jsx(Ey,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:j.jsx("div",{className:`${e.spanHackClassName??"d-flex justify-content-center align-items-center"}`,children:e.children},t)}):j.jsx(rP,{placement:e.placement,overlay:j.jsx(Ey,{id:t,children:e.title}),trigger:e.trigger,delay:e.disable?Number.POSITIVE_INFINITY:void 0,show:e.show,children:j.jsx(pe.Fragment,{children:e.children},t)}):j.jsx(j.Fragment,{children:e.children})}function iPe(e){const[t,r]=pe.useState();return pe.useEffect(()=>{const n=document.createElement("div");Nk.createRoot(n).render(e.markupComponent),window.setTimeout(()=>{r(n.innerHTML)},100)}),j.jsx(rP,{placement:"top",overlay:j.jsx(Ey,{id:e.id,children:j.jsx("div",{dangerouslySetInnerHTML:{__html:t}})}),trigger:["hover","click","focus"],children:j.jsx("div",{children:e.children})})}ec.defaultProps={trigger:["hover","click","focus"],placement:"top",type:"text"};function ec(e){return e.type==="text"?j.jsx(nPe,{...e,type:"text"}):e.type==="markup"?j.jsx(iPe,{...e,type:"markup"}):j.jsx(j.Fragment,{})}var $l={},Lc={};/**
|
|
138
|
-
* @license React
|
|
139
|
-
* react-dom-server-legacy.browser.production.min.js
|
|
140
|
-
*
|
|
141
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
142
|
-
*
|
|
143
|
-
* This source code is licensed under the MIT license found in the
|
|
144
|
-
* LICENSE file in the root directory of this source tree.
|
|
145
|
-
*/var JQ;function aPe(){if(JQ)return Lc;JQ=1;var e=zo();function t(W){for(var ue="https://reactjs.org/docs/error-decoder.html?invariant="+W,Te=1;Te<arguments.length;Te++)ue+="&args[]="+encodeURIComponent(arguments[Te]);return"Minified React error #"+W+"; visit "+ue+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=!1;function n(W,ue){return r&&(r=!1,ue[0]!=="<"&&W.push("<!-- -->")),ue==="<!-- -->"?r=!0:W.push(ue)}var i=Object.prototype.hasOwnProperty,a=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,o={},u={};function s(W){return i.call(u,W)?!0:i.call(o,W)?!1:a.test(W)?u[W]=!0:(o[W]=!0,!1)}function c(W,ue,Te,qe,ht,rt,Ot){this.acceptsBooleans=ue===2||ue===3||ue===4,this.attributeName=qe,this.attributeNamespace=ht,this.mustUseProperty=Te,this.propertyName=W,this.type=ue,this.sanitizeURL=rt,this.removeEmptyString=Ot}var d={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(W){d[W]=new c(W,0,!1,W,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(W){var ue=W[0];d[ue]=new c(ue,1,!1,W[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(W){d[W]=new c(W,2,!1,W.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(W){d[W]=new c(W,2,!1,W,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(W){d[W]=new c(W,3,!1,W.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(W){d[W]=new c(W,3,!0,W,null,!1,!1)}),["capture","download"].forEach(function(W){d[W]=new c(W,4,!1,W,null,!1,!1)}),["cols","rows","size","span"].forEach(function(W){d[W]=new c(W,6,!1,W,null,!1,!1)}),["rowSpan","start"].forEach(function(W){d[W]=new c(W,5,!1,W.toLowerCase(),null,!1,!1)});var h=/[\-:]([a-z])/g;function v(W){return W[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(W){var ue=W.replace(h,v);d[ue]=new c(ue,1,!1,W,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(W){var ue=W.replace(h,v);d[ue]=new c(ue,1,!1,W,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(W){var ue=W.replace(h,v);d[ue]=new c(ue,1,!1,W,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(W){d[W]=new c(W,1,!1,W.toLowerCase(),null,!1,!1)}),d.xlinkHref=new c("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(W){d[W]=new c(W,1,!1,W.toLowerCase(),null,!0,!0)});var g={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},m=["Webkit","ms","Moz","O"];Object.keys(g).forEach(function(W){m.forEach(function(ue){ue=ue+W.charAt(0).toUpperCase()+W.substring(1),g[ue]=g[W]})});var y=/["'&<>]/;function S(W){if(typeof W=="boolean"||typeof W=="number")return""+W;W=""+W;var ue=y.exec(W);if(ue){var Te="",qe,ht=0;for(qe=ue.index;qe<W.length;qe++){switch(W.charCodeAt(qe)){case 34:ue=""";break;case 38:ue="&";break;case 39:ue="'";break;case 60:ue="<";break;case 62:ue=">";break;default:continue}ht!==qe&&(Te+=W.substring(ht,qe)),ht=qe+1,Te+=ue}W=ht!==qe?Te+W.substring(ht,qe):Te}return W}var w=/([A-Z])/g,b=/^ms-/,A=Array.isArray;function R(W,ue){return{insertionMode:W,selectedValue:ue}}function x(W,ue,Te){switch(ue){case"select":return R(1,Te.value!=null?Te.value:Te.defaultValue);case"svg":return R(2,null);case"math":return R(3,null);case"foreignObject":return R(1,null);case"table":return R(4,null);case"thead":case"tbody":case"tfoot":return R(5,null);case"colgroup":return R(7,null);case"tr":return R(6,null)}return 4<=W.insertionMode||W.insertionMode===0?R(1,null):W}function O(W,ue){ue!==""&&W.push(S(ue),"<!-- -->")}var _=new Map;function P(W,ue,Te){if(typeof Te!="object")throw Error(t(62));ue=!0;for(var qe in Te)if(i.call(Te,qe)){var ht=Te[qe];if(ht!=null&&typeof ht!="boolean"&&ht!==""){if(qe.indexOf("--")===0){var rt=S(qe);ht=S((""+ht).trim())}else{rt=qe;var Ot=_.get(rt);Ot!==void 0||(Ot=S(rt.replace(w,"-$1").toLowerCase().replace(b,"-ms-")),_.set(rt,Ot)),rt=Ot,ht=typeof ht=="number"?ht===0||i.call(g,qe)?""+ht:ht+"px":S((""+ht).trim())}ue?(ue=!1,W.push(' style="',rt,":",ht)):W.push(";",rt,":",ht)}}ue||W.push('"')}function N(W,ue,Te,qe){switch(Te){case"style":P(W,ue,qe);return;case"defaultValue":case"defaultChecked":case"innerHTML":case"suppressContentEditableWarning":case"suppressHydrationWarning":return}if(!(2<Te.length)||Te[0]!=="o"&&Te[0]!=="O"||Te[1]!=="n"&&Te[1]!=="N"){if(ue=d.hasOwnProperty(Te)?d[Te]:null,ue!==null){switch(typeof qe){case"function":case"symbol":return;case"boolean":if(!ue.acceptsBooleans)return}switch(Te=ue.attributeName,ue.type){case 3:qe&&W.push(" ",Te,'=""');break;case 4:qe===!0?W.push(" ",Te,'=""'):qe!==!1&&W.push(" ",Te,'="',S(qe),'"');break;case 5:isNaN(qe)||W.push(" ",Te,'="',S(qe),'"');break;case 6:!isNaN(qe)&&1<=qe&&W.push(" ",Te,'="',S(qe),'"');break;default:ue.sanitizeURL&&(qe=""+qe),W.push(" ",Te,'="',S(qe),'"')}}else if(s(Te)){switch(typeof qe){case"function":case"symbol":return;case"boolean":if(ue=Te.toLowerCase().slice(0,5),ue!=="data-"&&ue!=="aria-")return}W.push(" ",Te,'="',S(qe),'"')}}}function U(W,ue,Te){if(ue!=null){if(Te!=null)throw Error(t(60));if(typeof ue!="object"||!("__html"in ue))throw Error(t(61));ue=ue.__html,ue!=null&&W.push(""+ue)}}function $(W){var ue="";return e.Children.forEach(W,function(Te){Te!=null&&(ue+=Te)}),ue}function B(W,ue,Te,qe){W.push(K(Te));var ht=Te=null,rt;for(rt in ue)if(i.call(ue,rt)){var Ot=ue[rt];if(Ot!=null)switch(rt){case"children":Te=Ot;break;case"dangerouslySetInnerHTML":ht=Ot;break;default:N(W,qe,rt,Ot)}}return W.push(">"),U(W,ht,Te),typeof Te=="string"?(W.push(S(Te)),null):Te}var Y=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Q=new Map;function K(W){var ue=Q.get(W);if(ue===void 0){if(!Y.test(W))throw Error(t(65,W));ue="<"+W,Q.set(W,ue)}return ue}function ee(W,ue,Te,qe,ht){switch(ue){case"select":W.push(K("select"));var rt=null,Ot=null;for(Ar in Te)if(i.call(Te,Ar)){var Wt=Te[Ar];if(Wt!=null)switch(Ar){case"children":rt=Wt;break;case"dangerouslySetInnerHTML":Ot=Wt;break;case"defaultValue":case"value":break;default:N(W,qe,Ar,Wt)}}return W.push(">"),U(W,Ot,rt),rt;case"option":Ot=ht.selectedValue,W.push(K("option"));var Jt=Wt=null,wr=null,Ar=null;for(rt in Te)if(i.call(Te,rt)&&(ue=Te[rt],ue!=null))switch(rt){case"children":Wt=ue;break;case"selected":wr=ue;break;case"dangerouslySetInnerHTML":Ar=ue;break;case"value":Jt=ue;default:N(W,qe,rt,ue)}if(Ot!=null)if(Te=Jt!==null?""+Jt:$(Wt),A(Ot)){for(qe=0;qe<Ot.length;qe++)if(""+Ot[qe]===Te){W.push(' selected=""');break}}else""+Ot===Te&&W.push(' selected=""');else wr&&W.push(' selected=""');return W.push(">"),U(W,Ar,Wt),Wt;case"textarea":W.push(K("textarea")),Ar=Ot=rt=null;for(Wt in Te)if(i.call(Te,Wt)&&(Jt=Te[Wt],Jt!=null))switch(Wt){case"children":Ar=Jt;break;case"value":rt=Jt;break;case"defaultValue":Ot=Jt;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:N(W,qe,Wt,Jt)}if(rt===null&&Ot!==null&&(rt=Ot),W.push(">"),Ar!=null){if(rt!=null)throw Error(t(92));if(A(Ar)&&1<Ar.length)throw Error(t(93));rt=""+Ar}return typeof rt=="string"&&rt[0]===`
|
|
146
|
-
`&&W.push(`
|
|
147
|
-
`),rt!==null&&W.push(S(""+rt)),null;case"input":W.push(K("input")),Jt=Ar=Wt=rt=null;for(Ot in Te)if(i.call(Te,Ot)&&(wr=Te[Ot],wr!=null))switch(Ot){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":Jt=wr;break;case"defaultValue":Wt=wr;break;case"checked":Ar=wr;break;case"value":rt=wr;break;default:N(W,qe,Ot,wr)}return Ar!==null?N(W,qe,"checked",Ar):Jt!==null&&N(W,qe,"checked",Jt),rt!==null?N(W,qe,"value",rt):Wt!==null&&N(W,qe,"value",Wt),W.push("/>"),null;case"menuitem":W.push(K("menuitem"));for(var qn in Te)if(i.call(Te,qn)&&(rt=Te[qn],rt!=null))switch(qn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:N(W,qe,qn,rt)}return W.push(">"),null;case"listing":case"pre":W.push(K(ue)),Ot=rt=null;for(Jt in Te)if(i.call(Te,Jt)&&(Wt=Te[Jt],Wt!=null))switch(Jt){case"children":rt=Wt;break;case"dangerouslySetInnerHTML":Ot=Wt;break;default:N(W,qe,Jt,Wt)}if(W.push(">"),Ot!=null){if(rt!=null)throw Error(t(60));if(typeof Ot!="object"||!("__html"in Ot))throw Error(t(61));Te=Ot.__html,Te!=null&&(typeof Te=="string"&&0<Te.length&&Te[0]===`
|
|
148
|
-
`?W.push(`
|
|
149
|
-
`,Te):W.push(""+Te))}return typeof rt=="string"&&rt[0]===`
|
|
150
|
-
`&&W.push(`
|
|
151
|
-
`),rt;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":W.push(K(ue));for(var ki in Te)if(i.call(Te,ki)&&(rt=Te[ki],rt!=null))switch(ki){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,ue));default:N(W,qe,ki,rt)}return W.push("/>"),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return B(W,Te,ue,qe);case"html":return ht.insertionMode===0&&W.push("<!DOCTYPE html>"),B(W,Te,ue,qe);default:if(ue.indexOf("-")===-1&&typeof Te.is!="string")return B(W,Te,ue,qe);W.push(K(ue)),Ot=rt=null;for(wr in Te)if(i.call(Te,wr)&&(Wt=Te[wr],Wt!=null))switch(wr){case"children":rt=Wt;break;case"dangerouslySetInnerHTML":Ot=Wt;break;case"style":P(W,qe,Wt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:s(wr)&&typeof Wt!="function"&&typeof Wt!="symbol"&&W.push(" ",wr,'="',S(Wt),'"')}return W.push(">"),U(W,Ot,rt),rt}}function ne(W,ue,Te){if(n(W,'<!--$?--><template id="'),Te===null)throw Error(t(395));return n(W,Te),n(W,'"></template>')}function D(W,ue,Te,qe){switch(Te.insertionMode){case 0:case 1:return n(W,'<div hidden id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 2:return n(W,'<svg aria-hidden="true" style="display:none" id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 3:return n(W,'<math aria-hidden="true" style="display:none" id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 4:return n(W,'<table hidden id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 5:return n(W,'<table hidden><tbody id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 6:return n(W,'<table hidden><tr id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');case 7:return n(W,'<table hidden><colgroup id="'),n(W,ue.segmentPrefix),ue=qe.toString(16),n(W,ue),n(W,'">');default:throw Error(t(397))}}function I(W,ue){switch(ue.insertionMode){case 0:case 1:return n(W,"</div>");case 2:return n(W,"</svg>");case 3:return n(W,"</math>");case 4:return n(W,"</table>");case 5:return n(W,"</tbody></table>");case 6:return n(W,"</tr></table>");case 7:return n(W,"</colgroup></table>");default:throw Error(t(397))}}function L(W,ue){return ue=ue===void 0?"":ue,{bootstrapChunks:[],startInlineScript:"<script>",placeholderPrefix:ue+"P:",segmentPrefix:ue+"S:",boundaryPrefix:ue+"B:",idPrefix:ue,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1,generateStaticMarkup:W}}var re=Object.assign,te=Symbol.for("react.element"),ce=Symbol.for("react.portal"),be=Symbol.for("react.fragment"),Ie=Symbol.for("react.strict_mode"),je=Symbol.for("react.profiler"),z=Symbol.for("react.provider"),k=Symbol.for("react.context"),q=Symbol.for("react.forward_ref"),H=Symbol.for("react.suspense"),ie=Symbol.for("react.suspense_list"),V=Symbol.for("react.memo"),Z=Symbol.for("react.lazy"),me=Symbol.for("react.scope"),fe=Symbol.for("react.debug_trace_mode"),Re=Symbol.for("react.legacy_hidden"),Se=Symbol.for("react.default_value"),Oe=Symbol.iterator;function Me(W){if(W==null)return null;if(typeof W=="function")return W.displayName||W.name||null;if(typeof W=="string")return W;switch(W){case be:return"Fragment";case ce:return"Portal";case je:return"Profiler";case Ie:return"StrictMode";case H:return"Suspense";case ie:return"SuspenseList"}if(typeof W=="object")switch(W.$$typeof){case k:return(W.displayName||"Context")+".Consumer";case z:return(W._context.displayName||"Context")+".Provider";case q:var ue=W.render;return W=W.displayName,W||(W=ue.displayName||ue.name||"",W=W!==""?"ForwardRef("+W+")":"ForwardRef"),W;case V:return ue=W.displayName||null,ue!==null?ue:Me(W.type)||"Memo";case Z:ue=W._payload,W=W._init;try{return Me(W(ue))}catch{}}return null}var de={};function Ee(W,ue){if(W=W.contextTypes,!W)return de;var Te={},qe;for(qe in W)Te[qe]=ue[qe];return Te}var _e=null;function xe(W,ue){if(W!==ue){W.context._currentValue2=W.parentValue,W=W.parent;var Te=ue.parent;if(W===null){if(Te!==null)throw Error(t(401))}else{if(Te===null)throw Error(t(401));xe(W,Te)}ue.context._currentValue2=ue.value}}function ke(W){W.context._currentValue2=W.parentValue,W=W.parent,W!==null&&ke(W)}function Le(W){var ue=W.parent;ue!==null&&Le(ue),W.context._currentValue2=W.value}function He(W,ue){if(W.context._currentValue2=W.parentValue,W=W.parent,W===null)throw Error(t(402));W.depth===ue.depth?xe(W,ue):He(W,ue)}function _t(W,ue){var Te=ue.parent;if(Te===null)throw Error(t(402));W.depth===Te.depth?xe(W,Te):_t(W,Te),ue.context._currentValue2=ue.value}function jt(W){var ue=_e;ue!==W&&(ue===null?Le(W):W===null?ke(ue):ue.depth===W.depth?xe(ue,W):ue.depth>W.depth?He(ue,W):_t(ue,W),_e=W)}var Lt={isMounted:function(){return!1},enqueueSetState:function(W,ue){W=W._reactInternals,W.queue!==null&&W.queue.push(ue)},enqueueReplaceState:function(W,ue){W=W._reactInternals,W.replace=!0,W.queue=[ue]},enqueueForceUpdate:function(){}};function Qe(W,ue,Te,qe){var ht=W.state!==void 0?W.state:null;W.updater=Lt,W.props=Te,W.state=ht;var rt={queue:[],replace:!1};W._reactInternals=rt;var Ot=ue.contextType;if(W.context=typeof Ot=="object"&&Ot!==null?Ot._currentValue2:qe,Ot=ue.getDerivedStateFromProps,typeof Ot=="function"&&(Ot=Ot(Te,ht),ht=Ot==null?ht:re({},ht,Ot),W.state=ht),typeof ue.getDerivedStateFromProps!="function"&&typeof W.getSnapshotBeforeUpdate!="function"&&(typeof W.UNSAFE_componentWillMount=="function"||typeof W.componentWillMount=="function"))if(ue=W.state,typeof W.componentWillMount=="function"&&W.componentWillMount(),typeof W.UNSAFE_componentWillMount=="function"&&W.UNSAFE_componentWillMount(),ue!==W.state&&Lt.enqueueReplaceState(W,W.state,null),rt.queue!==null&&0<rt.queue.length)if(ue=rt.queue,Ot=rt.replace,rt.queue=null,rt.replace=!1,Ot&&ue.length===1)W.state=ue[0];else{for(rt=Ot?ue[0]:W.state,ht=!0,Ot=Ot?1:0;Ot<ue.length;Ot++){var Wt=ue[Ot];Wt=typeof Wt=="function"?Wt.call(W,rt,Te,qe):Wt,Wt!=null&&(ht?(ht=!1,rt=re({},rt,Wt)):re(rt,Wt))}W.state=rt}else rt.queue=null}var bt={id:1,overflow:""};function mt(W,ue,Te){var qe=W.id;W=W.overflow;var ht=32-St(qe)-1;qe&=~(1<<ht),Te+=1;var rt=32-St(ue)+ht;if(30<rt){var Ot=ht-ht%5;return rt=(qe&(1<<Ot)-1).toString(32),qe>>=Ot,ht-=Ot,{id:1<<32-St(ue)+ht|Te<<ht|qe,overflow:rt+W}}return{id:1<<rt|Te<<ht|qe,overflow:W}}var St=Math.clz32?Math.clz32:$t,yt=Math.log,at=Math.LN2;function $t(W){return W>>>=0,W===0?32:31-(yt(W)/at|0)|0}function xt(W,ue){return W===ue&&(W!==0||1/W===1/ue)||W!==W&&ue!==ue}var Ce=typeof Object.is=="function"?Object.is:xt,Ze=null,ut=null,Tt=null,Pt=null,rr=!1,_r=!1,sr=0,mr=null,Pr=0;function ln(){if(Ze===null)throw Error(t(321));return Ze}function di(){if(0<Pr)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function Nn(){return Pt===null?Tt===null?(rr=!1,Tt=Pt=di()):(rr=!0,Pt=Tt):Pt.next===null?(rr=!1,Pt=Pt.next=di()):(rr=!0,Pt=Pt.next),Pt}function Rn(){ut=Ze=null,_r=!1,Tt=null,Pr=0,Pt=mr=null}function En(W,ue){return typeof ue=="function"?ue(W):ue}function Jn(W,ue,Te){if(Ze=ln(),Pt=Nn(),rr){var qe=Pt.queue;if(ue=qe.dispatch,mr!==null&&(Te=mr.get(qe),Te!==void 0)){mr.delete(qe),qe=Pt.memoizedState;do qe=W(qe,Te.action),Te=Te.next;while(Te!==null);return Pt.memoizedState=qe,[qe,ue]}return[Pt.memoizedState,ue]}return W=W===En?typeof ue=="function"?ue():ue:Te!==void 0?Te(ue):ue,Pt.memoizedState=W,W=Pt.queue={last:null,dispatch:null},W=W.dispatch=Ci.bind(null,Ze,W),[Pt.memoizedState,W]}function Zn(W,ue){if(Ze=ln(),Pt=Nn(),ue=ue===void 0?null:ue,Pt!==null){var Te=Pt.memoizedState;if(Te!==null&&ue!==null){var qe=Te[1];e:if(qe===null)qe=!1;else{for(var ht=0;ht<qe.length&&ht<ue.length;ht++)if(!Ce(ue[ht],qe[ht])){qe=!1;break e}qe=!0}if(qe)return Te[0]}}return W=W(),Pt.memoizedState=[W,ue],W}function Ci(W,ue,Te){if(25<=Pr)throw Error(t(301));if(W===Ze)if(_r=!0,W={action:Te,next:null},mr===null&&(mr=new Map),Te=mr.get(ue),Te===void 0)mr.set(ue,W);else{for(ue=Te;ue.next!==null;)ue=ue.next;ue.next=W}}function _i(){throw Error(t(394))}function Vi(){}var Yi={readContext:function(W){return W._currentValue2},useContext:function(W){return ln(),W._currentValue2},useMemo:Zn,useReducer:Jn,useRef:function(W){Ze=ln(),Pt=Nn();var ue=Pt.memoizedState;return ue===null?(W={current:W},Pt.memoizedState=W):ue},useState:function(W){return Jn(En,W)},useInsertionEffect:Vi,useLayoutEffect:function(){},useCallback:function(W,ue){return Zn(function(){return W},ue)},useImperativeHandle:Vi,useEffect:Vi,useDebugValue:Vi,useDeferredValue:function(W){return ln(),W},useTransition:function(){return ln(),[!1,_i]},useId:function(){var W=ut.treeContext,ue=W.overflow;W=W.id,W=(W&~(1<<32-St(W)-1)).toString(32)+ue;var Te=Ln;if(Te===null)throw Error(t(404));return ue=sr++,W=":"+Te.idPrefix+"R"+W,0<ue&&(W+="H"+ue.toString(32)),W+":"},useMutableSource:function(W,ue){return ln(),ue(W._source)},useSyncExternalStore:function(W,ue,Te){if(Te===void 0)throw Error(t(407));return Te()}},Ln=null,oi=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Di(W){console.error(W)}function Ai(){}function it(W,ue,Te,qe,ht,rt,Ot,Wt,Jt){var wr=[],Ar=new Set;return ue={destination:null,responseState:ue,progressiveChunkSize:qe===void 0?12800:qe,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:Ar,pingedTasks:wr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:ht===void 0?Di:ht,onAllReady:Ai,onShellReady:Ot===void 0?Ai:Ot,onShellError:Ai,onFatalError:Ai},Te=pt(ue,0,null,Te),Te.parentFlushed=!0,W=Ft(ue,W,null,Te,Ar,de,null,bt),wr.push(W),ue}function Ft(W,ue,Te,qe,ht,rt,Ot,Wt){W.allPendingTasks++,Te===null?W.pendingRootTasks++:Te.pendingTasks++;var Jt={node:ue,ping:function(){var wr=W.pingedTasks;wr.push(Jt),wr.length===1&&vn(W)},blockedBoundary:Te,blockedSegment:qe,abortSet:ht,legacyContext:rt,context:Ot,treeContext:Wt};return ht.add(Jt),Jt}function pt(W,ue,Te,qe){return{status:0,id:-1,index:ue,parentFlushed:!1,chunks:[],children:[],formatContext:qe,boundary:Te}}function Ke(W,ue){W=W.onError,W(ue)}function At(W,ue){var Te=W.onShellError;Te(ue),Te=W.onFatalError,Te(ue),W.destination!==null?(W.status=2,W.destination.destroy(ue)):(W.status=1,W.fatalError=ue)}function pr(W,ue,Te,qe,ht){for(Ze={},ut=ue,sr=0,W=Te(qe,ht);_r;)_r=!1,sr=0,Pr+=1,Pt=null,W=Te(qe,ht);return Rn(),W}function we(W,ue,Te,qe){var ht=Te.render(),rt=qe.childContextTypes;if(rt!=null){var Ot=ue.legacyContext;if(typeof Te.getChildContext!="function")qe=Ot;else{Te=Te.getChildContext();for(var Wt in Te)if(!(Wt in rt))throw Error(t(108,Me(qe)||"Unknown",Wt));qe=re({},Ot,Te)}ue.legacyContext=qe,ft(W,ue,ht),ue.legacyContext=Ot}else ft(W,ue,ht)}function ct(W,ue){if(W&&W.defaultProps){ue=re({},ue),W=W.defaultProps;for(var Te in W)ue[Te]===void 0&&(ue[Te]=W[Te]);return ue}return ue}function nt(W,ue,Te,qe,ht){if(typeof Te=="function")if(Te.prototype&&Te.prototype.isReactComponent){ht=Ee(Te,ue.legacyContext);var rt=Te.contextType;rt=new Te(qe,typeof rt=="object"&&rt!==null?rt._currentValue2:ht),Qe(rt,Te,qe,ht),we(W,ue,rt,Te)}else{rt=Ee(Te,ue.legacyContext),ht=pr(W,ue,Te,qe,rt);var Ot=sr!==0;if(typeof ht=="object"&&ht!==null&&typeof ht.render=="function"&&ht.$$typeof===void 0)Qe(ht,Te,qe,rt),we(W,ue,ht,Te);else if(Ot){qe=ue.treeContext,ue.treeContext=mt(qe,1,0);try{ft(W,ue,ht)}finally{ue.treeContext=qe}}else ft(W,ue,ht)}else if(typeof Te=="string")switch(ht=ue.blockedSegment,rt=ee(ht.chunks,Te,qe,W.responseState,ht.formatContext),Ot=ht.formatContext,ht.formatContext=x(Ot,Te,qe),dt(W,ue,rt),ht.formatContext=Ot,Te){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("</",Te,">")}else{switch(Te){case Re:case fe:case Ie:case je:case be:ft(W,ue,qe.children);return;case ie:ft(W,ue,qe.children);return;case me:throw Error(t(343));case H:e:{Te=ue.blockedBoundary,ht=ue.blockedSegment,rt=qe.fallback,qe=qe.children,Ot=new Set;var Wt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:Ot},Jt=pt(W,ht.chunks.length,Wt,ht.formatContext);ht.children.push(Jt);var wr=pt(W,0,null,ht.formatContext);wr.parentFlushed=!0,ue.blockedBoundary=Wt,ue.blockedSegment=wr;try{if(dt(W,ue,qe),wr.status=1,Zr(Wt,wr),Wt.pendingTasks===0)break e}catch(Ar){wr.status=4,Ke(W,Ar),Wt.forceClientRender=!0}finally{ue.blockedBoundary=Te,ue.blockedSegment=ht}ue=Ft(W,rt,Te,Jt,Ot,ue.legacyContext,ue.context,ue.treeContext),W.pingedTasks.push(ue)}return}if(typeof Te=="object"&&Te!==null)switch(Te.$$typeof){case q:if(qe=pr(W,ue,Te.render,qe,ht),sr!==0){Te=ue.treeContext,ue.treeContext=mt(Te,1,0);try{ft(W,ue,qe)}finally{ue.treeContext=Te}}else ft(W,ue,qe);return;case V:Te=Te.type,qe=ct(Te,qe),nt(W,ue,Te,qe,ht);return;case z:if(ht=qe.children,Te=Te._context,qe=qe.value,rt=Te._currentValue2,Te._currentValue2=qe,Ot=_e,_e=qe={parent:Ot,depth:Ot===null?0:Ot.depth+1,context:Te,parentValue:rt,value:qe},ue.context=qe,ft(W,ue,ht),W=_e,W===null)throw Error(t(403));qe=W.parentValue,W.context._currentValue2=qe===Se?W.context._defaultValue:qe,W=_e=W.parent,ue.context=W;return;case k:qe=qe.children,qe=qe(Te._currentValue2),ft(W,ue,qe);return;case Z:ht=Te._init,Te=ht(Te._payload),qe=ct(Te,qe),nt(W,ue,Te,qe,void 0);return}throw Error(t(130,Te==null?Te:typeof Te,""))}}function ft(W,ue,Te){if(ue.node=Te,typeof Te=="object"&&Te!==null){switch(Te.$$typeof){case te:nt(W,ue,Te.type,Te.props,Te.ref);return;case ce:throw Error(t(257));case Z:var qe=Te._init;Te=qe(Te._payload),ft(W,ue,Te);return}if(A(Te)){kt(W,ue,Te);return}if(Te===null||typeof Te!="object"?qe=null:(qe=Oe&&Te[Oe]||Te["@@iterator"],qe=typeof qe=="function"?qe:null),qe&&(qe=qe.call(Te))){if(Te=qe.next(),!Te.done){var ht=[];do ht.push(Te.value),Te=qe.next();while(!Te.done);kt(W,ue,ht)}return}throw W=Object.prototype.toString.call(Te),Error(t(31,W==="[object Object]"?"object with keys {"+Object.keys(Te).join(", ")+"}":W))}typeof Te=="string"?(ue=ue.blockedSegment.chunks,W.responseState.generateStaticMarkup?ue.push(S(Te)):O(ue,Te)):typeof Te=="number"&&(ue=ue.blockedSegment.chunks,Te=""+Te,W.responseState.generateStaticMarkup?ue.push(S(Te)):O(ue,Te))}function kt(W,ue,Te){for(var qe=Te.length,ht=0;ht<qe;ht++){var rt=ue.treeContext;ue.treeContext=mt(rt,qe,ht);try{dt(W,ue,Te[ht])}finally{ue.treeContext=rt}}}function dt(W,ue,Te){var qe=ue.blockedSegment.formatContext,ht=ue.legacyContext,rt=ue.context;try{return ft(W,ue,Te)}catch(Jt){if(Rn(),typeof Jt=="object"&&Jt!==null&&typeof Jt.then=="function"){Te=Jt;var Ot=ue.blockedSegment,Wt=pt(W,Ot.chunks.length,null,Ot.formatContext);Ot.children.push(Wt),W=Ft(W,ue.node,ue.blockedBoundary,Wt,ue.abortSet,ue.legacyContext,ue.context,ue.treeContext).ping,Te.then(W,W),ue.blockedSegment.formatContext=qe,ue.legacyContext=ht,ue.context=rt,jt(rt)}else throw ue.blockedSegment.formatContext=qe,ue.legacyContext=ht,ue.context=rt,jt(rt),Jt}}function Yt(W){var ue=W.blockedBoundary;W=W.blockedSegment,W.status=3,en(this,ue,W)}function Dr(W){var ue=W.blockedBoundary;W.blockedSegment.status=3,ue===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.push(null))):(ue.pendingTasks--,ue.forceClientRender||(ue.forceClientRender=!0,ue.parentFlushed&&this.clientRenderedBoundaries.push(ue)),ue.fallbackAbortableTasks.forEach(Dr,this),ue.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(W=this.onAllReady,W()))}function Zr(W,ue){if(ue.chunks.length===0&&ue.children.length===1&&ue.children[0].boundary===null){var Te=ue.children[0];Te.id=ue.id,Te.parentFlushed=!0,Te.status===1&&Zr(W,Te)}else W.completedSegments.push(ue)}function en(W,ue,Te){if(ue===null){if(Te.parentFlushed){if(W.completedRootSegment!==null)throw Error(t(389));W.completedRootSegment=Te}W.pendingRootTasks--,W.pendingRootTasks===0&&(W.onShellError=Ai,ue=W.onShellReady,ue())}else ue.pendingTasks--,ue.forceClientRender||(ue.pendingTasks===0?(Te.parentFlushed&&Te.status===1&&Zr(ue,Te),ue.parentFlushed&&W.completedBoundaries.push(ue),ue.fallbackAbortableTasks.forEach(Yt,W),ue.fallbackAbortableTasks.clear()):Te.parentFlushed&&Te.status===1&&(Zr(ue,Te),ue.completedSegments.length===1&&ue.parentFlushed&&W.partialBoundaries.push(ue)));W.allPendingTasks--,W.allPendingTasks===0&&(W=W.onAllReady,W())}function vn(W){if(W.status!==2){var ue=_e,Te=oi.current;oi.current=Yi;var qe=Ln;Ln=W.responseState;try{var ht=W.pingedTasks,rt;for(rt=0;rt<ht.length;rt++){var Ot=ht[rt],Wt=W,Jt=Ot.blockedSegment;if(Jt.status===0){jt(Ot.context);try{ft(Wt,Ot,Ot.node),Ot.abortSet.delete(Ot),Jt.status=1,en(Wt,Ot.blockedBoundary,Jt)}catch(Ni){if(Rn(),typeof Ni=="object"&&Ni!==null&&typeof Ni.then=="function"){var wr=Ot.ping;Ni.then(wr,wr)}else{Ot.abortSet.delete(Ot),Jt.status=4;var Ar=Ot.blockedBoundary,qn=Ni;if(Ke(Wt,qn),Ar===null?At(Wt,qn):(Ar.pendingTasks--,Ar.forceClientRender||(Ar.forceClientRender=!0,Ar.parentFlushed&&Wt.clientRenderedBoundaries.push(Ar))),Wt.allPendingTasks--,Wt.allPendingTasks===0){var ki=Wt.onAllReady;ki()}}}finally{}}}ht.splice(0,rt),W.destination!==null&&Bi(W,W.destination)}catch(Ni){Ke(W,Ni),At(W,Ni)}finally{Ln=qe,oi.current=Te,Te===Yi&&jt(ue)}}}function Mt(W,ue,Te){switch(Te.parentFlushed=!0,Te.status){case 0:var qe=Te.id=W.nextSegmentId++;return W=W.responseState,n(ue,'<template id="'),n(ue,W.placeholderPrefix),W=qe.toString(16),n(ue,W),n(ue,'"></template>');case 1:Te.status=2;var ht=!0;qe=Te.chunks;var rt=0;Te=Te.children;for(var Ot=0;Ot<Te.length;Ot++){for(ht=Te[Ot];rt<ht.index;rt++)n(ue,qe[rt]);ht=Kr(W,ue,ht)}for(;rt<qe.length-1;rt++)n(ue,qe[rt]);return rt<qe.length&&(ht=n(ue,qe[rt])),ht;default:throw Error(t(390))}}function Kr(W,ue,Te){var qe=Te.boundary;if(qe===null)return Mt(W,ue,Te);if(qe.parentFlushed=!0,qe.forceClientRender)return W.responseState.generateStaticMarkup||n(ue,"<!--$!-->"),Mt(W,ue,Te),W=W.responseState.generateStaticMarkup?!0:n(ue,"<!--/$-->"),W;if(0<qe.pendingTasks){qe.rootSegmentID=W.nextSegmentId++,0<qe.completedSegments.length&&W.partialBoundaries.push(qe);var ht=W.responseState,rt=ht.nextSuspenseID++;return ht=ht.boundaryPrefix+rt.toString(16),qe=qe.id=ht,ne(ue,W.responseState,qe),Mt(W,ue,Te),n(ue,"<!--/$-->")}if(qe.byteSize>W.progressiveChunkSize)return qe.rootSegmentID=W.nextSegmentId++,W.completedBoundaries.push(qe),ne(ue,W.responseState,qe.id),Mt(W,ue,Te),n(ue,"<!--/$-->");if(W.responseState.generateStaticMarkup||n(ue,"<!--$-->"),Te=qe.completedSegments,Te.length!==1)throw Error(t(391));return Kr(W,ue,Te[0]),W=W.responseState.generateStaticMarkup?!0:n(ue,"<!--/$-->"),W}function Ki(W,ue,Te){return D(ue,W.responseState,Te.formatContext,Te.id),Kr(W,ue,Te),I(ue,Te.formatContext)}function si(W,ue,Te){for(var qe=Te.completedSegments,ht=0;ht<qe.length;ht++)va(W,ue,Te,qe[ht]);if(qe.length=0,W=W.responseState,qe=Te.id,Te=Te.rootSegmentID,n(ue,W.startInlineScript),W.sentCompleteBoundaryFunction?n(ue,'$RC("'):(W.sentCompleteBoundaryFunction=!0,n(ue,'function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("')),qe===null)throw Error(t(395));return Te=Te.toString(16),n(ue,qe),n(ue,'","'),n(ue,W.segmentPrefix),n(ue,Te),n(ue,'")<\/script>')}function va(W,ue,Te,qe){if(qe.status===2)return!0;var ht=qe.id;if(ht===-1){if((qe.id=Te.rootSegmentID)===-1)throw Error(t(392));return Ki(W,ue,qe)}return Ki(W,ue,qe),W=W.responseState,n(ue,W.startInlineScript),W.sentCompleteSegmentFunction?n(ue,'$RS("'):(W.sentCompleteSegmentFunction=!0,n(ue,'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(ue,W.segmentPrefix),ht=ht.toString(16),n(ue,ht),n(ue,'","'),n(ue,W.placeholderPrefix),n(ue,ht),n(ue,'")<\/script>')}function Bi(W,ue){try{var Te=W.completedRootSegment;if(Te!==null&&W.pendingRootTasks===0){Kr(W,ue,Te),W.completedRootSegment=null;var qe=W.responseState.bootstrapChunks;for(Te=0;Te<qe.length-1;Te++)n(ue,qe[Te]);Te<qe.length&&n(ue,qe[Te])}var ht=W.clientRenderedBoundaries,rt;for(rt=0;rt<ht.length;rt++){qe=ue;var Ot=W.responseState,Wt=ht[rt].id;if(n(qe,Ot.startInlineScript),Ot.sentClientRenderFunction?n(qe,'$RX("'):(Ot.sentClientRenderFunction=!0,n(qe,'function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("')),Wt===null)throw Error(t(395));if(n(qe,Wt),!n(qe,'")<\/script>')){W.destination=null,rt++,ht.splice(0,rt);return}}ht.splice(0,rt);var Jt=W.completedBoundaries;for(rt=0;rt<Jt.length;rt++)if(!si(W,ue,Jt[rt])){W.destination=null,rt++,Jt.splice(0,rt);return}Jt.splice(0,rt);var wr=W.partialBoundaries;for(rt=0;rt<wr.length;rt++){var Ar=wr[rt];e:{ht=W,Ot=ue;var qn=Ar.completedSegments;for(Wt=0;Wt<qn.length;Wt++)if(!va(ht,Ot,Ar,qn[Wt])){Wt++,qn.splice(0,Wt);var ki=!1;break e}qn.splice(0,Wt),ki=!0}if(!ki){W.destination=null,rt++,wr.splice(0,rt);return}}wr.splice(0,rt);var Ni=W.completedBoundaries;for(rt=0;rt<Ni.length;rt++)if(!si(W,ue,Ni[rt])){W.destination=null,rt++,Ni.splice(0,rt);return}Ni.splice(0,rt)}finally{W.allPendingTasks===0&&W.pingedTasks.length===0&&W.clientRenderedBoundaries.length===0&&W.completedBoundaries.length===0&&ue.push(null)}}function xa(W){try{var ue=W.abortableTasks;ue.forEach(Dr,W),ue.clear(),W.destination!==null&&Bi(W,W.destination)}catch(Te){Ke(W,Te),At(W,Te)}}function no(){}function qa(W,ue,Te){var qe=!1,ht=null,rt="",Ot={push:function(Jt){return Jt!==null&&(rt+=Jt),!0},destroy:function(Jt){qe=!0,ht=Jt}},Wt=!1;if(W=it(W,L(Te,ue?ue.identifierPrefix:void 0),{insertionMode:1,selectedValue:null},1/0,no,void 0,function(){Wt=!0}),vn(W),xa(W),W.status===1)W.status=2,Ot.destroy(W.fatalError);else if(W.status!==2&&W.destination===null){W.destination=Ot;try{Bi(W,Ot)}catch(Jt){Ke(W,Jt),At(W,Jt)}}if(qe)throw ht;if(!Wt)throw Error(t(426));return rt}return Lc.renderToNodeStream=function(){throw Error(t(207))},Lc.renderToStaticMarkup=function(W,ue){return qa(W,ue,!0)},Lc.renderToStaticNodeStream=function(){throw Error(t(208))},Lc.renderToString=function(W,ue){return qa(W,ue,!1)},Lc.version="18.1.0",Lc}var hm={};/**
|
|
152
|
-
* @license React
|
|
153
|
-
* react-dom-server.browser.production.min.js
|
|
154
|
-
*
|
|
155
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
156
|
-
*
|
|
157
|
-
* This source code is licensed under the MIT license found in the
|
|
158
|
-
* LICENSE file in the root directory of this source tree.
|
|
159
|
-
*/var ZQ;function oPe(){if(ZQ)return hm;ZQ=1;var e=zo();function t(G){for(var se="https://reactjs.org/docs/error-decoder.html?invariant="+G,ge=1;ge<arguments.length;ge++)se+="&args[]="+encodeURIComponent(arguments[ge]);return"Minified React error #"+G+"; visit "+se+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var r=null,n=0;function i(G,se){if(se.length!==0)if(512<se.length)0<n&&(G.enqueue(new Uint8Array(r.buffer,0,n)),r=new Uint8Array(512),n=0),G.enqueue(se);else{var ge=r.length-n;ge<se.length&&(ge===0?G.enqueue(r):(r.set(se.subarray(0,ge),n),G.enqueue(r),se=se.subarray(ge)),r=new Uint8Array(512),n=0),r.set(se,n),n+=se.length}}function a(G,se){return i(G,se),!0}function o(G){r&&0<n&&(G.enqueue(new Uint8Array(r.buffer,0,n)),r=null,n=0)}var u=new TextEncoder;function s(G){return u.encode(G)}function c(G){return u.encode(G)}function d(G,se){typeof G.error=="function"?G.error(se):G.close()}var h=Object.prototype.hasOwnProperty,v=/^[:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD][:A-Z_a-z\u00C0-\u00D6\u00D8-\u00F6\u00F8-\u02FF\u0370-\u037D\u037F-\u1FFF\u200C-\u200D\u2070-\u218F\u2C00-\u2FEF\u3001-\uD7FF\uF900-\uFDCF\uFDF0-\uFFFD\-.0-9\u00B7\u0300-\u036F\u203F-\u2040]*$/,g={},m={};function y(G){return h.call(m,G)?!0:h.call(g,G)?!1:v.test(G)?m[G]=!0:(g[G]=!0,!1)}function S(G,se,ge,$e,Je,et,It){this.acceptsBooleans=se===2||se===3||se===4,this.attributeName=$e,this.attributeNamespace=Je,this.mustUseProperty=ge,this.propertyName=G,this.type=se,this.sanitizeURL=et,this.removeEmptyString=It}var w={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(G){w[G]=new S(G,0,!1,G,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(G){var se=G[0];w[se]=new S(se,1,!1,G[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(G){w[G]=new S(G,2,!1,G.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(G){w[G]=new S(G,2,!1,G,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(G){w[G]=new S(G,3,!1,G.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(G){w[G]=new S(G,3,!0,G,null,!1,!1)}),["capture","download"].forEach(function(G){w[G]=new S(G,4,!1,G,null,!1,!1)}),["cols","rows","size","span"].forEach(function(G){w[G]=new S(G,6,!1,G,null,!1,!1)}),["rowSpan","start"].forEach(function(G){w[G]=new S(G,5,!1,G.toLowerCase(),null,!1,!1)});var b=/[\-:]([a-z])/g;function A(G){return G[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(G){var se=G.replace(b,A);w[se]=new S(se,1,!1,G,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(G){var se=G.replace(b,A);w[se]=new S(se,1,!1,G,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(G){var se=G.replace(b,A);w[se]=new S(se,1,!1,G,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(G){w[G]=new S(G,1,!1,G.toLowerCase(),null,!1,!1)}),w.xlinkHref=new S("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["src","href","action","formAction"].forEach(function(G){w[G]=new S(G,1,!1,G.toLowerCase(),null,!0,!0)});var R={animationIterationCount:!0,aspectRatio:!0,borderImageOutset:!0,borderImageSlice:!0,borderImageWidth:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,columns:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridArea:!0,gridRow:!0,gridRowEnd:!0,gridRowSpan:!0,gridRowStart:!0,gridColumn:!0,gridColumnEnd:!0,gridColumnSpan:!0,gridColumnStart:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,floodOpacity:!0,stopOpacity:!0,strokeDasharray:!0,strokeDashoffset:!0,strokeMiterlimit:!0,strokeOpacity:!0,strokeWidth:!0},x=["Webkit","ms","Moz","O"];Object.keys(R).forEach(function(G){x.forEach(function(se){se=se+G.charAt(0).toUpperCase()+G.substring(1),R[se]=R[G]})});var O=/["'&<>]/;function _(G){if(typeof G=="boolean"||typeof G=="number")return""+G;G=""+G;var se=O.exec(G);if(se){var ge="",$e,Je=0;for($e=se.index;$e<G.length;$e++){switch(G.charCodeAt($e)){case 34:se=""";break;case 38:se="&";break;case 39:se="'";break;case 60:se="<";break;case 62:se=">";break;default:continue}Je!==$e&&(ge+=G.substring(Je,$e)),Je=$e+1,ge+=se}G=Je!==$e?ge+G.substring(Je,$e):ge}return G}var P=/([A-Z])/g,N=/^ms-/,U=Array.isArray,$=c("<script>"),B=c("<\/script>"),Y=c('<script src="'),Q=c('<script type="module" src="'),K=c('" async=""><\/script>'),ee=/(<\/|<)(s)(cript)/gi;function ne(G,se,ge,$e){return""+se+(ge==="s"?"\\u0073":"\\u0053")+$e}function D(G,se,ge,$e,Je){G=G===void 0?"":G,se=se===void 0?$:c('<script nonce="'+_(se)+'">');var et=[];if(ge!==void 0&&et.push(se,s((""+ge).replace(ee,ne)),B),$e!==void 0)for(ge=0;ge<$e.length;ge++)et.push(Y,s(_($e[ge])),K);if(Je!==void 0)for($e=0;$e<Je.length;$e++)et.push(Q,s(_(Je[$e])),K);return{bootstrapChunks:et,startInlineScript:se,placeholderPrefix:c(G+"P:"),segmentPrefix:c(G+"S:"),boundaryPrefix:G+"B:",idPrefix:G,nextSuspenseID:0,sentCompleteSegmentFunction:!1,sentCompleteBoundaryFunction:!1,sentClientRenderFunction:!1}}function I(G,se){return{insertionMode:G,selectedValue:se}}function L(G){return I(G==="http://www.w3.org/2000/svg"?2:G==="http://www.w3.org/1998/Math/MathML"?3:0,null)}function re(G,se,ge){switch(se){case"select":return I(1,ge.value!=null?ge.value:ge.defaultValue);case"svg":return I(2,null);case"math":return I(3,null);case"foreignObject":return I(1,null);case"table":return I(4,null);case"thead":case"tbody":case"tfoot":return I(5,null);case"colgroup":return I(7,null);case"tr":return I(6,null)}return 4<=G.insertionMode||G.insertionMode===0?I(1,null):G}var te=c("<!-- -->"),ce=new Map,be=c(' style="'),Ie=c(":"),je=c(";");function z(G,se,ge){if(typeof ge!="object")throw Error(t(62));se=!0;for(var $e in ge)if(h.call(ge,$e)){var Je=ge[$e];if(Je!=null&&typeof Je!="boolean"&&Je!==""){if($e.indexOf("--")===0){var et=s(_($e));Je=s(_((""+Je).trim()))}else{et=$e;var It=ce.get(et);It!==void 0||(It=c(_(et.replace(P,"-$1").toLowerCase().replace(N,"-ms-"))),ce.set(et,It)),et=It,Je=typeof Je=="number"?Je===0||h.call(R,$e)?s(""+Je):s(Je+"px"):s(_((""+Je).trim()))}se?(se=!1,G.push(be,et,Ie,Je)):G.push(je,et,Ie,Je)}}se||G.push(H)}var k=c(" "),q=c('="'),H=c('"'),ie=c('=""');function V(G,se,ge,$e){switch(ge){case"style":z(G,se,$e);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(se=w.hasOwnProperty(ge)?w[ge]:null,se!==null){switch(typeof $e){case"function":case"symbol":return;case"boolean":if(!se.acceptsBooleans)return}switch(ge=s(se.attributeName),se.type){case 3:$e&&G.push(k,ge,ie);break;case 4:$e===!0?G.push(k,ge,ie):$e!==!1&&G.push(k,ge,q,s(_($e)),H);break;case 5:isNaN($e)||G.push(k,ge,q,s(_($e)),H);break;case 6:!isNaN($e)&&1<=$e&&G.push(k,ge,q,s(_($e)),H);break;default:se.sanitizeURL&&($e=""+$e),G.push(k,ge,q,s(_($e)),H)}}else if(y(ge)){switch(typeof $e){case"function":case"symbol":return;case"boolean":if(se=ge.toLowerCase().slice(0,5),se!=="data-"&&se!=="aria-")return}G.push(k,s(ge),q,s(_($e)),H)}}}var Z=c(">"),me=c("/>");function fe(G,se,ge){if(se!=null){if(ge!=null)throw Error(t(60));if(typeof se!="object"||!("__html"in se))throw Error(t(61));se=se.__html,se!=null&&G.push(s(""+se))}}function Re(G){var se="";return e.Children.forEach(G,function(ge){ge!=null&&(se+=ge)}),se}var Se=c(' selected=""');function Oe(G,se,ge,$e){G.push(_e(ge));var Je=ge=null,et;for(et in se)if(h.call(se,et)){var It=se[et];if(It!=null)switch(et){case"children":ge=It;break;case"dangerouslySetInnerHTML":Je=It;break;default:V(G,$e,et,It)}}return G.push(Z),fe(G,Je,ge),typeof ge=="string"?(G.push(s(_(ge))),null):ge}var Me=c(`
|
|
160
|
-
`),de=/^[a-zA-Z][a-zA-Z:_\.\-\d]*$/,Ee=new Map;function _e(G){var se=Ee.get(G);if(se===void 0){if(!de.test(G))throw Error(t(65,G));se=c("<"+G),Ee.set(G,se)}return se}var xe=c("<!DOCTYPE html>");function ke(G,se,ge,$e,Je){switch(se){case"select":G.push(_e("select"));var et=null,It=null;for(xr in ge)if(h.call(ge,xr)){var Gt=ge[xr];if(Gt!=null)switch(xr){case"children":et=Gt;break;case"dangerouslySetInnerHTML":It=Gt;break;case"defaultValue":case"value":break;default:V(G,$e,xr,Gt)}}return G.push(Z),fe(G,It,et),et;case"option":It=Je.selectedValue,G.push(_e("option"));var yr=Gt=null,Vr=null,xr=null;for(et in ge)if(h.call(ge,et)&&(se=ge[et],se!=null))switch(et){case"children":Gt=se;break;case"selected":Vr=se;break;case"dangerouslySetInnerHTML":xr=se;break;case"value":yr=se;default:V(G,$e,et,se)}if(It!=null)if(ge=yr!==null?""+yr:Re(Gt),U(It)){for($e=0;$e<It.length;$e++)if(""+It[$e]===ge){G.push(Se);break}}else""+It===ge&&G.push(Se);else Vr&&G.push(Se);return G.push(Z),fe(G,xr,Gt),Gt;case"textarea":G.push(_e("textarea")),xr=It=et=null;for(Gt in ge)if(h.call(ge,Gt)&&(yr=ge[Gt],yr!=null))switch(Gt){case"children":xr=yr;break;case"value":et=yr;break;case"defaultValue":It=yr;break;case"dangerouslySetInnerHTML":throw Error(t(91));default:V(G,$e,Gt,yr)}if(et===null&&It!==null&&(et=It),G.push(Z),xr!=null){if(et!=null)throw Error(t(92));if(U(xr)&&1<xr.length)throw Error(t(93));et=""+xr}return typeof et=="string"&&et[0]===`
|
|
161
|
-
`&&G.push(Me),et!==null&&G.push(s(_(""+et))),null;case"input":G.push(_e("input")),yr=xr=Gt=et=null;for(It in ge)if(h.call(ge,It)&&(Vr=ge[It],Vr!=null))switch(It){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,"input"));case"defaultChecked":yr=Vr;break;case"defaultValue":Gt=Vr;break;case"checked":xr=Vr;break;case"value":et=Vr;break;default:V(G,$e,It,Vr)}return xr!==null?V(G,$e,"checked",xr):yr!==null&&V(G,$e,"checked",yr),et!==null?V(G,$e,"value",et):Gt!==null&&V(G,$e,"value",Gt),G.push(me),null;case"menuitem":G.push(_e("menuitem"));for(var Mn in ge)if(h.call(ge,Mn)&&(et=ge[Mn],et!=null))switch(Mn){case"children":case"dangerouslySetInnerHTML":throw Error(t(400));default:V(G,$e,Mn,et)}return G.push(Z),null;case"listing":case"pre":G.push(_e(se)),It=et=null;for(yr in ge)if(h.call(ge,yr)&&(Gt=ge[yr],Gt!=null))switch(yr){case"children":et=Gt;break;case"dangerouslySetInnerHTML":It=Gt;break;default:V(G,$e,yr,Gt)}if(G.push(Z),It!=null){if(et!=null)throw Error(t(60));if(typeof It!="object"||!("__html"in It))throw Error(t(61));ge=It.__html,ge!=null&&(typeof ge=="string"&&0<ge.length&&ge[0]===`
|
|
162
|
-
`?G.push(Me,s(ge)):G.push(s(""+ge)))}return typeof et=="string"&&et[0]===`
|
|
163
|
-
`&&G.push(Me),et;case"area":case"base":case"br":case"col":case"embed":case"hr":case"img":case"keygen":case"link":case"meta":case"param":case"source":case"track":case"wbr":G.push(_e(se));for(var ui in ge)if(h.call(ge,ui)&&(et=ge[ui],et!=null))switch(ui){case"children":case"dangerouslySetInnerHTML":throw Error(t(399,se));default:V(G,$e,ui,et)}return G.push(me),null;case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return Oe(G,ge,se,$e);case"html":return Je.insertionMode===0&&G.push(xe),Oe(G,ge,se,$e);default:if(se.indexOf("-")===-1&&typeof ge.is!="string")return Oe(G,ge,se,$e);G.push(_e(se)),It=et=null;for(Vr in ge)if(h.call(ge,Vr)&&(Gt=ge[Vr],Gt!=null))switch(Vr){case"children":et=Gt;break;case"dangerouslySetInnerHTML":It=Gt;break;case"style":z(G,$e,Gt);break;case"suppressContentEditableWarning":case"suppressHydrationWarning":break;default:y(Vr)&&typeof Gt!="function"&&typeof Gt!="symbol"&&G.push(k,s(Vr),q,s(_(Gt)),H)}return G.push(Z),fe(G,It,et),et}}var Le=c("</"),He=c(">"),_t=c('<template id="'),jt=c('"></template>'),Lt=c("<!--$-->"),Qe=c('<!--$?--><template id="'),bt=c('"></template>'),mt=c("<!--$!-->"),St=c("<!--/$-->");function yt(G,se,ge){if(i(G,Qe),ge===null)throw Error(t(395));return i(G,ge),a(G,bt)}var at=c('<div hidden id="'),$t=c('">'),xt=c("</div>"),Ce=c('<svg aria-hidden="true" style="display:none" id="'),Ze=c('">'),ut=c("</svg>"),Tt=c('<math aria-hidden="true" style="display:none" id="'),Pt=c('">'),rr=c("</math>"),_r=c('<table hidden id="'),sr=c('">'),mr=c("</table>"),Pr=c('<table hidden><tbody id="'),ln=c('">'),di=c("</tbody></table>"),Nn=c('<table hidden><tr id="'),Rn=c('">'),En=c("</tr></table>"),Jn=c('<table hidden><colgroup id="'),Zn=c('">'),Ci=c("</colgroup></table>");function _i(G,se,ge,$e){switch(ge.insertionMode){case 0:case 1:return i(G,at),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,$t);case 2:return i(G,Ce),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,Ze);case 3:return i(G,Tt),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,Pt);case 4:return i(G,_r),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,sr);case 5:return i(G,Pr),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,ln);case 6:return i(G,Nn),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,Rn);case 7:return i(G,Jn),i(G,se.segmentPrefix),i(G,s($e.toString(16))),a(G,Zn);default:throw Error(t(397))}}function Vi(G,se){switch(se.insertionMode){case 0:case 1:return a(G,xt);case 2:return a(G,ut);case 3:return a(G,rr);case 4:return a(G,mr);case 5:return a(G,di);case 6:return a(G,En);case 7:return a(G,Ci);default:throw Error(t(397))}}var Yi=c('function $RS(a,b){a=document.getElementById(a);b=document.getElementById(b);for(a.parentNode.removeChild(a);a.firstChild;)b.parentNode.insertBefore(a.firstChild,b);b.parentNode.removeChild(b)};$RS("'),Ln=c('$RS("'),oi=c('","'),Di=c('")<\/script>'),Ai=c('function $RC(a,b){a=document.getElementById(a);b=document.getElementById(b);b.parentNode.removeChild(b);if(a){a=a.previousSibling;var f=a.parentNode,c=a.nextSibling,e=0;do{if(c&&8===c.nodeType){var d=c.data;if("/$"===d)if(0===e)break;else e--;else"$"!==d&&"$?"!==d&&"$!"!==d||e++}d=c.nextSibling;f.removeChild(c);c=d}while(c);for(;b.firstChild;)f.insertBefore(b.firstChild,c);a.data="$";a._reactRetry&&a._reactRetry()}};$RC("'),it=c('$RC("'),Ft=c('","'),pt=c('")<\/script>'),Ke=c('function $RX(a){if(a=document.getElementById(a))a=a.previousSibling,a.data="$!",a._reactRetry&&a._reactRetry()};$RX("'),At=c('$RX("'),pr=c('")<\/script>'),we=Object.assign,ct=Symbol.for("react.element"),nt=Symbol.for("react.portal"),ft=Symbol.for("react.fragment"),kt=Symbol.for("react.strict_mode"),dt=Symbol.for("react.profiler"),Yt=Symbol.for("react.provider"),Dr=Symbol.for("react.context"),Zr=Symbol.for("react.forward_ref"),en=Symbol.for("react.suspense"),vn=Symbol.for("react.suspense_list"),Mt=Symbol.for("react.memo"),Kr=Symbol.for("react.lazy"),Ki=Symbol.for("react.scope"),si=Symbol.for("react.debug_trace_mode"),va=Symbol.for("react.legacy_hidden"),Bi=Symbol.for("react.default_value"),xa=Symbol.iterator;function no(G){if(G==null)return null;if(typeof G=="function")return G.displayName||G.name||null;if(typeof G=="string")return G;switch(G){case ft:return"Fragment";case nt:return"Portal";case dt:return"Profiler";case kt:return"StrictMode";case en:return"Suspense";case vn:return"SuspenseList"}if(typeof G=="object")switch(G.$$typeof){case Dr:return(G.displayName||"Context")+".Consumer";case Yt:return(G._context.displayName||"Context")+".Provider";case Zr:var se=G.render;return G=G.displayName,G||(G=se.displayName||se.name||"",G=G!==""?"ForwardRef("+G+")":"ForwardRef"),G;case Mt:return se=G.displayName||null,se!==null?se:no(G.type)||"Memo";case Kr:se=G._payload,G=G._init;try{return no(G(se))}catch{}}return null}var qa={};function W(G,se){if(G=G.contextTypes,!G)return qa;var ge={},$e;for($e in G)ge[$e]=se[$e];return ge}var ue=null;function Te(G,se){if(G!==se){G.context._currentValue=G.parentValue,G=G.parent;var ge=se.parent;if(G===null){if(ge!==null)throw Error(t(401))}else{if(ge===null)throw Error(t(401));Te(G,ge)}se.context._currentValue=se.value}}function qe(G){G.context._currentValue=G.parentValue,G=G.parent,G!==null&&qe(G)}function ht(G){var se=G.parent;se!==null&&ht(se),G.context._currentValue=G.value}function rt(G,se){if(G.context._currentValue=G.parentValue,G=G.parent,G===null)throw Error(t(402));G.depth===se.depth?Te(G,se):rt(G,se)}function Ot(G,se){var ge=se.parent;if(ge===null)throw Error(t(402));G.depth===ge.depth?Te(G,ge):Ot(G,ge),se.context._currentValue=se.value}function Wt(G){var se=ue;se!==G&&(se===null?ht(G):G===null?qe(se):se.depth===G.depth?Te(se,G):se.depth>G.depth?rt(se,G):Ot(se,G),ue=G)}var Jt={isMounted:function(){return!1},enqueueSetState:function(G,se){G=G._reactInternals,G.queue!==null&&G.queue.push(se)},enqueueReplaceState:function(G,se){G=G._reactInternals,G.replace=!0,G.queue=[se]},enqueueForceUpdate:function(){}};function wr(G,se,ge,$e){var Je=G.state!==void 0?G.state:null;G.updater=Jt,G.props=ge,G.state=Je;var et={queue:[],replace:!1};G._reactInternals=et;var It=se.contextType;if(G.context=typeof It=="object"&&It!==null?It._currentValue:$e,It=se.getDerivedStateFromProps,typeof It=="function"&&(It=It(ge,Je),Je=It==null?Je:we({},Je,It),G.state=Je),typeof se.getDerivedStateFromProps!="function"&&typeof G.getSnapshotBeforeUpdate!="function"&&(typeof G.UNSAFE_componentWillMount=="function"||typeof G.componentWillMount=="function"))if(se=G.state,typeof G.componentWillMount=="function"&&G.componentWillMount(),typeof G.UNSAFE_componentWillMount=="function"&&G.UNSAFE_componentWillMount(),se!==G.state&&Jt.enqueueReplaceState(G,G.state,null),et.queue!==null&&0<et.queue.length)if(se=et.queue,It=et.replace,et.queue=null,et.replace=!1,It&&se.length===1)G.state=se[0];else{for(et=It?se[0]:G.state,Je=!0,It=It?1:0;It<se.length;It++){var Gt=se[It];Gt=typeof Gt=="function"?Gt.call(G,et,ge,$e):Gt,Gt!=null&&(Je?(Je=!1,et=we({},et,Gt)):we(et,Gt))}G.state=et}else et.queue=null}var Ar={id:1,overflow:""};function qn(G,se,ge){var $e=G.id;G=G.overflow;var Je=32-ki($e)-1;$e&=~(1<<Je),ge+=1;var et=32-ki(se)+Je;if(30<et){var It=Je-Je%5;return et=($e&(1<<It)-1).toString(32),$e>>=It,Je-=It,{id:1<<32-ki(se)+Je|ge<<Je|$e,overflow:et+G}}return{id:1<<et|ge<<Je|$e,overflow:G}}var ki=Math.clz32?Math.clz32:lu,Ni=Math.log,ms=Math.LN2;function lu(G){return G>>>=0,G===0?32:31-(Ni(G)/ms|0)|0}function ys(G,se){return G===se&&(G!==0||1/G===1/se)||G!==G&&se!==se}var io=typeof Object.is=="function"?Object.is:ys,Si=null,Va=null,ao=null,gn=null,pa=!1,Wo=!1,Go=0,ra=null,Us=0;function oo(){if(Si===null)throw Error(t(321));return Si}function _s(){if(0<Us)throw Error(t(312));return{memoizedState:null,queue:null,next:null}}function qs(){return gn===null?ao===null?(pa=!1,ao=gn=_s()):(pa=!0,gn=ao):gn.next===null?(pa=!1,gn=gn.next=_s()):(pa=!0,gn=gn.next),gn}function Nu(){Va=Si=null,Wo=!1,ao=null,Us=0,gn=ra=null}function so(G,se){return typeof se=="function"?se(G):se}function So(G,se,ge){if(Si=oo(),gn=qs(),pa){var $e=gn.queue;if(se=$e.dispatch,ra!==null&&(ge=ra.get($e),ge!==void 0)){ra.delete($e),$e=gn.memoizedState;do $e=G($e,ge.action),ge=ge.next;while(ge!==null);return gn.memoizedState=$e,[$e,se]}return[gn.memoizedState,se]}return G=G===so?typeof se=="function"?se():se:ge!==void 0?ge(se):se,gn.memoizedState=G,G=gn.queue={last:null,dispatch:null},G=G.dispatch=ga.bind(null,Si,G),[gn.memoizedState,G]}function Hi(G,se){if(Si=oo(),gn=qs(),se=se===void 0?null:se,gn!==null){var ge=gn.memoizedState;if(ge!==null&&se!==null){var $e=ge[1];e:if($e===null)$e=!1;else{for(var Je=0;Je<$e.length&&Je<se.length;Je++)if(!io(se[Je],$e[Je])){$e=!1;break e}$e=!0}if($e)return ge[0]}}return G=G(),gn.memoizedState=[G,se],G}function ga(G,se,ge){if(25<=Us)throw Error(t(301));if(G===Si)if(Wo=!0,G={action:ge,next:null},ra===null&&(ra=new Map),ge=ra.get(se),ge===void 0)ra.set(se,G);else{for(se=ge;se.next!==null;)se=se.next;se.next=G}}function Lu(){throw Error(t(394))}function Yo(){}var Ko={readContext:function(G){return G._currentValue},useContext:function(G){return oo(),G._currentValue},useMemo:Hi,useReducer:So,useRef:function(G){Si=oo(),gn=qs();var se=gn.memoizedState;return se===null?(G={current:G},gn.memoizedState=G):se},useState:function(G){return So(so,G)},useInsertionEffect:Yo,useLayoutEffect:function(){},useCallback:function(G,se){return Hi(function(){return G},se)},useImperativeHandle:Yo,useEffect:Yo,useDebugValue:Yo,useDeferredValue:function(G){return oo(),G},useTransition:function(){return oo(),[!1,Lu]},useId:function(){var G=Va.treeContext,se=G.overflow;G=G.id,G=(G&~(1<<32-ki(G)-1)).toString(32)+se;var ge=ma;if(ge===null)throw Error(t(404));return se=Go++,G=":"+ge.idPrefix+"R"+G,0<se&&(G+="H"+se.toString(32)),G+":"},useMutableSource:function(G,se){return oo(),se(G._source)},useSyncExternalStore:function(G,se,ge){if(ge===void 0)throw Error(t(407));return ge()}},ma=null,Vs=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentDispatcher;function Mu(G){console.error(G)}function Li(){}function ya(G,se,ge,$e,Je,et,It,Gt,yr){var Vr=[],xr=new Set;return se={destination:null,responseState:se,progressiveChunkSize:$e===void 0?12800:$e,status:0,fatalError:null,nextSegmentId:0,allPendingTasks:0,pendingRootTasks:0,completedRootSegment:null,abortableTasks:xr,pingedTasks:Vr,clientRenderedBoundaries:[],completedBoundaries:[],partialBoundaries:[],onError:Je===void 0?Mu:Je,onAllReady:et===void 0?Li:et,onShellReady:It===void 0?Li:It,onShellError:Gt===void 0?Li:Gt,onFatalError:yr===void 0?Li:yr},ge=Xo(se,0,null,ge),ge.parentFlushed=!0,G=Eo(se,G,null,ge,xr,qa,null,Ar),Vr.push(G),se}function Eo(G,se,ge,$e,Je,et,It,Gt){G.allPendingTasks++,ge===null?G.pendingRootTasks++:ge.pendingTasks++;var yr={node:se,ping:function(){var Vr=G.pingedTasks;Vr.push(yr),Vr.length===1&&Ct(G)},blockedBoundary:ge,blockedSegment:$e,abortSet:Je,legacyContext:et,context:It,treeContext:Gt};return Je.add(yr),yr}function Xo(G,se,ge,$e){return{status:0,id:-1,index:se,parentFlushed:!1,chunks:[],children:[],formatContext:$e,boundary:ge}}function wo(G,se){G=G.onError,G(se)}function bo(G,se){var ge=G.onShellError;ge(se),ge=G.onFatalError,ge(se),G.destination!==null?(G.status=2,d(G.destination,se)):(G.status=1,G.fatalError=se)}function E(G,se,ge,$e,Je){for(Si={},Va=se,Go=0,G=ge($e,Je);Wo;)Wo=!1,Go=0,Us+=1,gn=null,G=ge($e,Je);return Nu(),G}function C(G,se,ge,$e){var Je=ge.render(),et=$e.childContextTypes;if(et!=null){var It=se.legacyContext;if(typeof ge.getChildContext!="function")$e=It;else{ge=ge.getChildContext();for(var Gt in ge)if(!(Gt in et))throw Error(t(108,no($e)||"Unknown",Gt));$e=we({},It,ge)}se.legacyContext=$e,oe(G,se,Je),se.legacyContext=It}else oe(G,se,Je)}function M(G,se){if(G&&G.defaultProps){se=we({},se),G=G.defaultProps;for(var ge in G)se[ge]===void 0&&(se[ge]=G[ge]);return se}return se}function X(G,se,ge,$e,Je){if(typeof ge=="function")if(ge.prototype&&ge.prototype.isReactComponent){Je=W(ge,se.legacyContext);var et=ge.contextType;et=new ge($e,typeof et=="object"&&et!==null?et._currentValue:Je),wr(et,ge,$e,Je),C(G,se,et,ge)}else{et=W(ge,se.legacyContext),Je=E(G,se,ge,$e,et);var It=Go!==0;if(typeof Je=="object"&&Je!==null&&typeof Je.render=="function"&&Je.$$typeof===void 0)wr(Je,ge,$e,et),C(G,se,Je,ge);else if(It){$e=se.treeContext,se.treeContext=qn($e,1,0);try{oe(G,se,Je)}finally{se.treeContext=$e}}else oe(G,se,Je)}else if(typeof ge=="string")switch(Je=se.blockedSegment,et=ke(Je.chunks,ge,$e,G.responseState,Je.formatContext),It=Je.formatContext,Je.formatContext=re(It,ge,$e),he(G,se,et),Je.formatContext=It,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:Je.chunks.push(Le,s(ge),He)}else{switch(ge){case va:case si:case kt:case dt:case ft:oe(G,se,$e.children);return;case vn:oe(G,se,$e.children);return;case Ki:throw Error(t(343));case en:e:{ge=se.blockedBoundary,Je=se.blockedSegment,et=$e.fallback,$e=$e.children,It=new Set;var Gt={id:null,rootSegmentID:-1,parentFlushed:!1,pendingTasks:0,forceClientRender:!1,completedSegments:[],byteSize:0,fallbackAbortableTasks:It},yr=Xo(G,Je.chunks.length,Gt,Je.formatContext);Je.children.push(yr);var Vr=Xo(G,0,null,Je.formatContext);Vr.parentFlushed=!0,se.blockedBoundary=Gt,se.blockedSegment=Vr;try{if(he(G,se,$e),Vr.status=1,Ge(Gt,Vr),Gt.pendingTasks===0)break e}catch(xr){Vr.status=4,wo(G,xr),Gt.forceClientRender=!0}finally{se.blockedBoundary=ge,se.blockedSegment=Je}se=Eo(G,et,ge,yr,It,se.legacyContext,se.context,se.treeContext),G.pingedTasks.push(se)}return}if(typeof ge=="object"&&ge!==null)switch(ge.$$typeof){case Zr:if($e=E(G,se,ge.render,$e,Je),Go!==0){ge=se.treeContext,se.treeContext=qn(ge,1,0);try{oe(G,se,$e)}finally{se.treeContext=ge}}else oe(G,se,$e);return;case Mt:ge=ge.type,$e=M(ge,$e),X(G,se,ge,$e,Je);return;case Yt:if(Je=$e.children,ge=ge._context,$e=$e.value,et=ge._currentValue,ge._currentValue=$e,It=ue,ue=$e={parent:It,depth:It===null?0:It.depth+1,context:ge,parentValue:et,value:$e},se.context=$e,oe(G,se,Je),G=ue,G===null)throw Error(t(403));$e=G.parentValue,G.context._currentValue=$e===Bi?G.context._defaultValue:$e,G=ue=G.parent,se.context=G;return;case Dr:$e=$e.children,$e=$e(ge._currentValue),oe(G,se,$e);return;case Kr:Je=ge._init,ge=Je(ge._payload),$e=M(ge,$e),X(G,se,ge,$e,void 0);return}throw Error(t(130,ge==null?ge:typeof ge,""))}}function oe(G,se,ge){if(se.node=ge,typeof ge=="object"&&ge!==null){switch(ge.$$typeof){case ct:X(G,se,ge.type,ge.props,ge.ref);return;case nt:throw Error(t(257));case Kr:var $e=ge._init;ge=$e(ge._payload),oe(G,se,ge);return}if(U(ge)){le(G,se,ge);return}if(ge===null||typeof ge!="object"?$e=null:($e=xa&&ge[xa]||ge["@@iterator"],$e=typeof $e=="function"?$e:null),$e&&($e=$e.call(ge))){if(ge=$e.next(),!ge.done){var Je=[];do Je.push(ge.value),ge=$e.next();while(!ge.done);le(G,se,Je)}return}throw se=Object.prototype.toString.call(ge),Error(t(31,se==="[object Object]"?"object with keys {"+Object.keys(ge).join(", ")+"}":se))}typeof ge=="string"?ge!==""&&se.blockedSegment.chunks.push(s(_(ge)),te):typeof ge=="number"&&(G=""+ge,G!==""&&se.blockedSegment.chunks.push(s(_(G)),te))}function le(G,se,ge){for(var $e=ge.length,Je=0;Je<$e;Je++){var et=se.treeContext;se.treeContext=qn(et,$e,Je);try{he(G,se,ge[Je])}finally{se.treeContext=et}}}function he(G,se,ge){var $e=se.blockedSegment.formatContext,Je=se.legacyContext,et=se.context;try{return oe(G,se,ge)}catch(yr){if(Nu(),typeof yr=="object"&&yr!==null&&typeof yr.then=="function"){ge=yr;var It=se.blockedSegment,Gt=Xo(G,It.chunks.length,null,It.formatContext);It.children.push(Gt),G=Eo(G,se.node,se.blockedBoundary,Gt,se.abortSet,se.legacyContext,se.context,se.treeContext).ping,ge.then(G,G),se.blockedSegment.formatContext=$e,se.legacyContext=Je,se.context=et,Wt(et)}else throw se.blockedSegment.formatContext=$e,se.legacyContext=Je,se.context=et,Wt(et),yr}}function Ue(G){var se=G.blockedBoundary;G=G.blockedSegment,G.status=3,wt(this,se,G)}function Ne(G){var se=G.blockedBoundary;G.blockedSegment.status=3,se===null?(this.allPendingTasks--,this.status!==2&&(this.status=2,this.destination!==null&&this.destination.close())):(se.pendingTasks--,se.forceClientRender||(se.forceClientRender=!0,se.parentFlushed&&this.clientRenderedBoundaries.push(se)),se.fallbackAbortableTasks.forEach(Ne,this),se.fallbackAbortableTasks.clear(),this.allPendingTasks--,this.allPendingTasks===0&&(G=this.onAllReady,G()))}function Ge(G,se){if(se.chunks.length===0&&se.children.length===1&&se.children[0].boundary===null){var ge=se.children[0];ge.id=se.id,ge.parentFlushed=!0,ge.status===1&&Ge(G,ge)}else G.completedSegments.push(se)}function wt(G,se,ge){if(se===null){if(ge.parentFlushed){if(G.completedRootSegment!==null)throw Error(t(389));G.completedRootSegment=ge}G.pendingRootTasks--,G.pendingRootTasks===0&&(G.onShellError=Li,se=G.onShellReady,se())}else se.pendingTasks--,se.forceClientRender||(se.pendingTasks===0?(ge.parentFlushed&&ge.status===1&&Ge(se,ge),se.parentFlushed&&G.completedBoundaries.push(se),se.fallbackAbortableTasks.forEach(Ue,G),se.fallbackAbortableTasks.clear()):ge.parentFlushed&&ge.status===1&&(Ge(se,ge),se.completedSegments.length===1&&se.parentFlushed&&G.partialBoundaries.push(se)));G.allPendingTasks--,G.allPendingTasks===0&&(G=G.onAllReady,G())}function Ct(G){if(G.status!==2){var se=ue,ge=Vs.current;Vs.current=Ko;var $e=ma;ma=G.responseState;try{var Je=G.pingedTasks,et;for(et=0;et<Je.length;et++){var It=Je[et],Gt=G,yr=It.blockedSegment;if(yr.status===0){Wt(It.context);try{oe(Gt,It,It.node),It.abortSet.delete(It),yr.status=1,wt(Gt,It.blockedBoundary,yr)}catch(Vn){if(Nu(),typeof Vn=="object"&&Vn!==null&&typeof Vn.then=="function"){var Vr=It.ping;Vn.then(Vr,Vr)}else{It.abortSet.delete(It),yr.status=4;var xr=It.blockedBoundary,Mn=Vn;if(wo(Gt,Mn),xr===null?bo(Gt,Mn):(xr.pendingTasks--,xr.forceClientRender||(xr.forceClientRender=!0,xr.parentFlushed&&Gt.clientRenderedBoundaries.push(xr))),Gt.allPendingTasks--,Gt.allPendingTasks===0){var ui=Gt.onAllReady;ui()}}}finally{}}}Je.splice(0,et),G.destination!==null&&ei(G,G.destination)}catch(Vn){wo(G,Vn),bo(G,Vn)}finally{ma=$e,Vs.current=ge,ge===Ko&&Wt(se)}}}function st(G,se,ge){switch(ge.parentFlushed=!0,ge.status){case 0:var $e=ge.id=G.nextSegmentId++;return G=G.responseState,i(se,_t),i(se,G.placeholderPrefix),G=s($e.toString(16)),i(se,G),a(se,jt);case 1:ge.status=2;var Je=!0;$e=ge.chunks;var et=0;ge=ge.children;for(var It=0;It<ge.length;It++){for(Je=ge[It];et<Je.index;et++)i(se,$e[et]);Je=Vt(G,se,Je)}for(;et<$e.length-1;et++)i(se,$e[et]);return et<$e.length&&(Je=a(se,$e[et])),Je;default:throw Error(t(390))}}function Vt(G,se,ge){var $e=ge.boundary;if($e===null)return st(G,se,ge);if($e.parentFlushed=!0,$e.forceClientRender)a(se,mt),st(G,se,ge);else if(0<$e.pendingTasks){$e.rootSegmentID=G.nextSegmentId++,0<$e.completedSegments.length&&G.partialBoundaries.push($e);var Je=G.responseState,et=Je.nextSuspenseID++;Je=c(Je.boundaryPrefix+et.toString(16)),$e=$e.id=Je,yt(se,G.responseState,$e),st(G,se,ge)}else if($e.byteSize>G.progressiveChunkSize)$e.rootSegmentID=G.nextSegmentId++,G.completedBoundaries.push($e),yt(se,G.responseState,$e.id),st(G,se,ge);else{if(a(se,Lt),ge=$e.completedSegments,ge.length!==1)throw Error(t(391));Vt(G,se,ge[0])}return a(se,St)}function Rr(G,se,ge){return _i(se,G.responseState,ge.formatContext,ge.id),Vt(G,se,ge),Vi(se,ge.formatContext)}function tn(G,se,ge){for(var $e=ge.completedSegments,Je=0;Je<$e.length;Je++)qr(G,se,ge,$e[Je]);if($e.length=0,G=G.responseState,$e=ge.id,ge=ge.rootSegmentID,i(se,G.startInlineScript),G.sentCompleteBoundaryFunction?i(se,it):(G.sentCompleteBoundaryFunction=!0,i(se,Ai)),$e===null)throw Error(t(395));return ge=s(ge.toString(16)),i(se,$e),i(se,Ft),i(se,G.segmentPrefix),i(se,ge),a(se,pt)}function qr(G,se,ge,$e){if($e.status===2)return!0;var Je=$e.id;if(Je===-1){if(($e.id=ge.rootSegmentID)===-1)throw Error(t(392));return Rr(G,se,$e)}return Rr(G,se,$e),G=G.responseState,i(se,G.startInlineScript),G.sentCompleteSegmentFunction?i(se,Ln):(G.sentCompleteSegmentFunction=!0,i(se,Yi)),i(se,G.segmentPrefix),Je=s(Je.toString(16)),i(se,Je),i(se,oi),i(se,G.placeholderPrefix),i(se,Je),a(se,Di)}function ei(G,se){r=new Uint8Array(512),n=0;try{var ge=G.completedRootSegment;if(ge!==null&&G.pendingRootTasks===0){Vt(G,se,ge),G.completedRootSegment=null;var $e=G.responseState.bootstrapChunks;for(ge=0;ge<$e.length-1;ge++)i(se,$e[ge]);ge<$e.length&&a(se,$e[ge])}var Je=G.clientRenderedBoundaries,et;for(et=0;et<Je.length;et++){$e=se;var It=G.responseState,Gt=Je[et].id;if(i($e,It.startInlineScript),It.sentClientRenderFunction?i($e,At):(It.sentClientRenderFunction=!0,i($e,Ke)),Gt===null)throw Error(t(395));i($e,Gt),a($e,pr)}Je.splice(0,et);var yr=G.completedBoundaries;for(et=0;et<yr.length;et++)tn(G,se,yr[et]);yr.splice(0,et),o(se),r=new Uint8Array(512),n=0;var Vr=G.partialBoundaries;for(et=0;et<Vr.length;et++){var xr=Vr[et];e:{Je=G,It=se;var Mn=xr.completedSegments;for(Gt=0;Gt<Mn.length;Gt++)if(!qr(Je,It,xr,Mn[Gt])){Gt++,Mn.splice(0,Gt);var ui=!1;break e}Mn.splice(0,Gt),ui=!0}if(!ui){G.destination=null,et++,Vr.splice(0,et);return}}Vr.splice(0,et);var Vn=G.completedBoundaries;for(et=0;et<Vn.length;et++)tn(G,se,Vn[et]);Vn.splice(0,et)}finally{o(se),G.allPendingTasks===0&&G.pingedTasks.length===0&&G.clientRenderedBoundaries.length===0&&G.completedBoundaries.length===0&&se.close()}}function hi(G){try{var se=G.abortableTasks;se.forEach(Ne,G),se.clear(),G.destination!==null&&ei(G,G.destination)}catch(ge){wo(G,ge),bo(G,ge)}}return hm.renderToReadableStream=function(G,se){return new Promise(function(ge,$e){var Je,et,It=new Promise(function(xr,Mn){et=xr,Je=Mn}),Gt=ya(G,D(se?se.identifierPrefix:void 0,se?se.nonce:void 0,se?se.bootstrapScriptContent:void 0,se?se.bootstrapScripts:void 0,se?se.bootstrapModules:void 0),L(se?se.namespaceURI:void 0),se?se.progressiveChunkSize:void 0,se?se.onError:void 0,et,function(){var xr=new ReadableStream({type:"bytes",pull:function(Mn){if(Gt.status===1)Gt.status=2,d(Mn,Gt.fatalError);else if(Gt.status!==2&&Gt.destination===null){Gt.destination=Mn;try{ei(Gt,Mn)}catch(ui){wo(Gt,ui),bo(Gt,ui)}}},cancel:function(){hi(Gt)}});xr.allReady=It,ge(xr)},function(xr){It.catch(function(){}),$e(xr)},Je);if(se&&se.signal){var yr=se.signal,Vr=function(){hi(Gt),yr.removeEventListener("abort",Vr)};yr.addEventListener("abort",Vr)}Ct(Gt)})},hm.version="18.1.0",hm}var eJ;function sPe(){if(eJ)return $l;eJ=1;var e,t;return e=aPe(),t=oPe(),$l.version=e.version,$l.renderToString=e.renderToString,$l.renderToStaticMarkup=e.renderToStaticMarkup,$l.renderToNodeStream=e.renderToNodeStream,$l.renderToStaticNodeStream=e.renderToStaticNodeStream,$l.renderToReadableStream=t.renderToReadableStream,$l}var uPe=sPe();const lPe={getSvg(e){const t=e;return uPe.renderToStaticMarkup(j.jsx(t,{...this.getCommonSvgProps()}))},getCommonSvgProps(){return{viewBox:"0 0 24 24",role:"img","aria-hidden":"true"}}},cPe="d-inline-block svg-container",fPe="span";var Zs=(e=>(e.Standard="std",e.XXS="xxs",e.ExtraSmall="xs",e.Small="sm",e.Medium="md",e.Large="lg",e.ExtraLarge="xlg",e.XXL="xxlg",e))(Zs||{});function Ri(e){const{svg:t,className:r=cPe,tagName:n=fPe,size:i="std",onClick:a,title:o,tooltipSpanHackClassName:u,tooltipPlacement:s="right",tooltipSpanHack:c=!1,tooltipShow:d}=e,h=n,v={className:`${r} ${i}`,onClick:gi.isFunction(a)?a:null},g=t;return j.jsx(ec,{title:o,placement:s,spanHack:c,spanHackClassName:u,show:d,children:j.jsx(h,{...v,children:j.jsx(g,{...lPe.getCommonSvgProps()})})})}const dPe="_alertItem_i5y1z_1",hPe="_alertBox_i5y1z_11",vPe="_alertList_i5y1z_11",pPe="_icon_i5y1z_28",gPe="_alertContent_i5y1z_32",mPe="_heading_i5y1z_40",Xc={alertItem:dPe,alertBox:hPe,alertList:vPe,icon:pPe,alertContent:gPe,heading:mPe};function yPe(e){const{alert:t,svg:r,svgClassName:n,closeAlert:i}=e,{message:a,heading:o,appLink:u,appLinkText:s,appLinkClassName:c="",extLink:d,extLinkText:h,extLinkClassName:v}=t;return j.jsxs(j.Fragment,{children:[j.jsx("div",{className:`d-inline-block ${Xc.icon}`,children:j.jsx(Ri,{svg:r,className:`svg-container ${n}`})}),j.jsxs("div",{role:t.type===Xs.Fail?"alert":"status",className:`ps-2 d-inline-block ${Xc.alertContent}`,children:[j.jsx("p",{className:`p-0 m-0 pb-1 ${Xc.heading}`,children:o}),j.jsx("p",{className:`p-0 text-break clamp-4 ${Xc.message}`,dangerouslySetInnerHTML:{__html:a}}),!!u&&j.jsx(os,{className:c,appLink:u,children:j.jsx("span",{dangerouslySetInnerHTML:{__html:s}})}),!!d&&h&&j.jsx("a",{href:d,className:v,target:"_blank",children:h})]}),j.jsx("div",{className:"btn-close d-inline-block cursor-pointer",role:"button","aria-label":"Close",onClick:i})]})}const _Pe=e=>{switch(e.type){case Xs.Success:return BAe;case Xs.Fail:case Xs.Warning:return WAe;case Xs.Pending:return zAe;case Xs.Info:default:return HAe}},SPe=e=>e.type===Xs.Pending?"text-info":`text-${e.type}`;Voe.defaultProps={timeout:3e3};function Voe({alert:e,closeAlert:t,timeout:r}){const[n,i]=pe.useState(!0),a=pe.useRef(null);return pe.useEffect(()=>{if(!n){clearTimeout(a.current);return}a.current=window.setTimeout(t,r)},[n]),j.jsx("li",{className:`bg-white mt-2 p-2 show clearfix ${Xc.alertItem}`,onMouseEnter:()=>i(!1),onMouseLeave:()=>i(!0),children:j.jsx(yPe,{alert:e,svg:_Pe(e),svgClassName:SPe(e),closeAlert:t})})}function EPe({alerts:e,removeAlert:t}){return j.jsx("div",{className:Xc.alertBox,children:j.jsx(Ek,{component:"ul",className:`${Xc.alertList} list-unstyled`,children:e&&e.map((r,n)=>j.jsx(_k,{timeout:200,classNames:"alert",children:j.jsx(Voe,{alert:r,closeAlert:()=>t(r.id),timeout:r.timeout})},n))})})}const nP={STANDARD:600},tJ={LOCALE:"locale",PHRASES:"phrases"};class wPe extends Nae{get name(){return cCe.Language}get channelName(){return _Ae.LANGUAGE}getLanguageConfig(t){const r={locale:"",phrases:null};this.get({resource:"/api/locale",eventPrefix:tJ.LOCALE,expiryTime:nP.STANDARD,bootstrapName:ll.LOCALE,callback:n=>{r.locale=n,r.phrases&&on(t)&&t(r)}}),this.get({resource:"/api/phrases",eventPrefix:tJ.PHRASES,expiryTime:nP.STANDARD,bootstrapName:ll.PHRASES,callback:n=>{r.phrases=n,r.locale&&on(t)&&t(r)}})}}const iP={Success:"Success! 🙌",Fail:"Oops..."};async function bPe(e,t){const r={maxAlerts:3,defaultSuccessAlert:{heading:iP.Success,type:Xs.Success},defaultErrorAlert:{heading:iP.Fail,type:Xs.Fail},alertViewCtor:EPe};Qs.registerSingleton(new eAe(r)).registerInstance(DAe,{store:e.store});const n=Qs.getInstance(qp.ALERT),i={cache:ep.Fifo,dataProvider:tp.Ajax,bootstrapData:window.bootstrapData,defaultErrorHandler:n.error({useXHR:!0}),alertService:n};Qs.registerDataService(wPe,i),t(e),delete window.bootstrapData}const vm="shared.chunkLoadError",TPe=/\/([^\s/]+\.css)/,RPe=/\/([^\s/]+\.js)/;class rJ extends $f{constructor(t,r,n){super(gr.getPhrase(vm,"title",{chunkName:r})),this.product="ClickView",this.btnVariant=t,n&&(this.product=n)}get name(){return"ChunkLoadError"}get dialogOptions(){return{title:gr.getPhrase(vm,"heading",{product:this.product}),text:gr.getPhrase(vm,"body"),buttons:[{text:gr.getPhrase(vm,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Yn.Reload()}}function xPe(e,t){window.addEventListener("error",r=>{var u,s;const n=((u=r==null?void 0:r.target)==null?void 0:u.src)||((s=r==null?void 0:r.target)==null?void 0:s.href);if(!n)return;const i=c=>(c==null?void 0:c[1])??"Unknown Chunk",a=n.match(RPe);if(a&&n.includes("/scripts/")&&n.includes(".chunk.js")){vr.throw(new rJ(e,i(a),t));return}const o=n.match(TPe);if(o&&n.includes("/css/")&&n.includes(".chunk.css")){vr.throw(new rJ(e,i(o),t));return}},!0)}const fO="shared.videoNotFoundError";class CPe extends Mf{constructor(){super(gr.getPhrase(fO,"title"))}get name(){return"VideoNotFoundError"}get heading(){return gr.getPhrase(fO,"heading")}get description(){return gr.getPhrase(fO,"description")}}function APe(e){Qs.getInstance(qp.ALERT).createAlert({heading:iP.Fail,type:Xs.Fail,message:e.message})}function nJ(e){$r.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.NOT_FOUND})}function OPe(e){$r.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.NO_CLASSROOMS_ERROR})}function iJ(e){$r.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.ERROR})}function IPe(e){$r.Radio.channel("error:view").replyOnce("current:error",()=>e),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.DIALOG_ERROR})}function PPe(e,t){e.registerErrorHandler($f,IPe).registerErrorHandler(Lae,APe).registerErrorHandler(kae,nJ).registerErrorHandler(sf,iJ).registerErrorHandler(CPe,nJ).registerErrorHandler(Dae,OPe).registerErrorHandler(Mf,iJ),xPe("dark"),t()}class DPe extends gwe{constructor(){super(...arguments),this.regionRoots={},this.isReactComponentRendered={}}isReactComponent(t){return or&&or.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]=Nk.createRoot(i[0])),this.regionRoots[t].render(r),window.setTimeout(()=>n.trigger("show"),0),this.listenToOnce(this,`unmount:${t}`,()=>this.unmountRoot(t)),this.listenToOnce(this,"before:destroy",()=>this.unmountRoot(t)))}unmountRoot(t){this.regionRoots[t]&&(this.regionRoots[t].unmount(),delete this.regionRoots[t])}wrapWithStore(t){return j.jsx(Qie,{store:this.options.store,children:t})}}var dO,aJ;function kPe(){if(aJ)return dO;aJ=1;var e=typeof Element<"u",t=typeof Map=="function",r=typeof Set=="function",n=typeof ArrayBuffer=="function"&&!!ArrayBuffer.isView;function i(a,o){if(a===o)return!0;if(a&&o&&typeof a=="object"&&typeof o=="object"){if(a.constructor!==o.constructor)return!1;var u,s,c;if(Array.isArray(a)){if(u=a.length,u!=o.length)return!1;for(s=u;s--!==0;)if(!i(a[s],o[s]))return!1;return!0}var d;if(t&&a instanceof Map&&o instanceof Map){if(a.size!==o.size)return!1;for(d=a.entries();!(s=d.next()).done;)if(!o.has(s.value[0]))return!1;for(d=a.entries();!(s=d.next()).done;)if(!i(s.value[1],o.get(s.value[0])))return!1;return!0}if(r&&a instanceof Set&&o instanceof Set){if(a.size!==o.size)return!1;for(d=a.entries();!(s=d.next()).done;)if(!o.has(s.value[0]))return!1;return!0}if(n&&ArrayBuffer.isView(a)&&ArrayBuffer.isView(o)){if(u=a.length,u!=o.length)return!1;for(s=u;s--!==0;)if(a[s]!==o[s])return!1;return!0}if(a.constructor===RegExp)return a.source===o.source&&a.flags===o.flags;if(a.valueOf!==Object.prototype.valueOf&&typeof a.valueOf=="function"&&typeof o.valueOf=="function")return a.valueOf()===o.valueOf();if(a.toString!==Object.prototype.toString&&typeof a.toString=="function"&&typeof o.toString=="function")return a.toString()===o.toString();if(c=Object.keys(a),u=c.length,u!==Object.keys(o).length)return!1;for(s=u;s--!==0;)if(!Object.prototype.hasOwnProperty.call(o,c[s]))return!1;if(e&&a instanceof Element)return!1;for(s=u;s--!==0;)if(!((c[s]==="_owner"||c[s]==="__v"||c[s]==="__o")&&a.$$typeof)&&!i(a[c[s]],o[c[s]]))return!1;return!0}return a!==a&&o!==o}return dO=function(o,u){try{return i(o,u)}catch(s){if((s.message||"").match(/stack|recursion/i))return console.warn("react-fast-compare cannot handle circular refs"),!1;throw s}},dO}var NPe=kPe();const LPe=jn(NPe);var hO,oJ;function MPe(){return oJ||(oJ=1,hO=function(t,r,n,i){var a=n?n.call(i,t,r):void 0;if(a!==void 0)return!!a;if(t===r)return!0;if(typeof t!="object"||!t||typeof r!="object"||!r)return!1;var o=Object.keys(t),u=Object.keys(r);if(o.length!==u.length)return!1;for(var s=Object.prototype.hasOwnProperty.bind(r),c=0;c<o.length;c++){var d=o[c];if(!s(d))return!1;var h=t[d],v=r[d];if(a=n?n.call(i,h,v,d):void 0,a===!1||a===void 0&&h!==v)return!1}return!0}),hO}var $Pe=MPe();const FPe=jn($Pe);function Ji(){return Ji=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},Ji.apply(this,arguments)}function Mk(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,aP(e,t)}function aP(e,t){return aP=Object.setPrototypeOf||function(r,n){return r.__proto__=n,r},aP(e,t)}function sJ(e,t){if(e==null)return{};var r,n,i={},a=Object.keys(e);for(n=0;n<a.length;n++)t.indexOf(r=a[n])>=0||(i[r]=e[r]);return i}var jr={BASE:"base",BODY:"body",HEAD:"head",HTML:"html",LINK:"link",META:"meta",NOSCRIPT:"noscript",SCRIPT:"script",STYLE:"style",TITLE:"title",FRAGMENT:"Symbol(react.fragment)"},jPe={rel:["amphtml","canonical","alternate"]},UPe={type:["application/ld+json"]},qPe={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"]},uJ=Object.keys(jr).map(function(e){return jr[e]}),wy={accesskey:"accessKey",charset:"charSet",class:"className",contenteditable:"contentEditable",contextmenu:"contextMenu","http-equiv":"httpEquiv",itemprop:"itemProp",tabindex:"tabIndex"},VPe=Object.keys(wy).reduce(function(e,t){return e[wy[t]]=t,e},{}),jd=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},BPe=function(e){var t=jd(e,jr.TITLE),r=jd(e,"titleTemplate");if(Array.isArray(t)&&(t=t.join("")),r&&t)return r.replace(/%s/g,function(){return t});var n=jd(e,"defaultTitle");return t||n||void 0},HPe=function(e){return jd(e,"onChangeClientState")||function(){}},vO=function(e,t){return t.filter(function(r){return r[e]!==void 0}).map(function(r){return r[e]}).reduce(function(r,n){return Ji({},r,n)},{})},zPe=function(e,t){return t.filter(function(r){return r[jr.BASE]!==void 0}).map(function(r){return r[jr.BASE]}).reverse().reduce(function(r,n){if(!r.length)for(var i=Object.keys(n),a=0;a<i.length;a+=1){var o=i[a].toLowerCase();if(e.indexOf(o)!==-1&&n[o])return r.concat(n)}return r},[])},sv=function(e,t,r){var n={};return r.filter(function(i){return!!Array.isArray(i[e])||(i[e]!==void 0&&console&&typeof console.warn=="function"&&console.warn("Helmet: "+e+' should be of type "Array". Instead found type "'+typeof i[e]+'"'),!1)}).map(function(i){return i[e]}).reverse().reduce(function(i,a){var o={};a.filter(function(h){for(var v,g=Object.keys(h),m=0;m<g.length;m+=1){var y=g[m],S=y.toLowerCase();t.indexOf(S)===-1||v==="rel"&&h[v].toLowerCase()==="canonical"||S==="rel"&&h[S].toLowerCase()==="stylesheet"||(v=S),t.indexOf(y)===-1||y!=="innerHTML"&&y!=="cssText"&&y!=="itemprop"||(v=y)}if(!v||!h[v])return!1;var w=h[v].toLowerCase();return n[v]||(n[v]={}),o[v]||(o[v]={}),!n[v][w]&&(o[v][w]=!0,!0)}).reverse().forEach(function(h){return i.push(h)});for(var u=Object.keys(o),s=0;s<u.length;s+=1){var c=u[s],d=Ji({},n[c],o[c]);n[c]=d}return i},[]).reverse()},WPe=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},Boe=function(e){return Array.isArray(e)?e.join(""):e},pO=function(e,t){return Array.isArray(e)?e.reduce(function(r,n){return(function(i,a){for(var o=Object.keys(i),u=0;u<o.length;u+=1)if(a[o[u]]&&a[o[u]].includes(i[o[u]]))return!0;return!1})(n,t)?r.priority.push(n):r.default.push(n),r},{priority:[],default:[]}):{default:e}},lJ=function(e,t){var r;return Ji({},e,((r={})[t]=void 0,r))},GPe=[jr.NOSCRIPT,jr.SCRIPT,jr.STYLE],gO=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,"'")},cJ=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},"")},fJ=function(e,t){return t===void 0&&(t={}),Object.keys(e).reduce(function(r,n){return r[wy[n]||n]=e[n],r},t)},Gm=function(e,t){return t.map(function(r,n){var i,a=((i={key:n})["data-rh"]=!0,i);return Object.keys(r).forEach(function(o){var u=wy[o]||o;u==="innerHTML"||u==="cssText"?a.dangerouslySetInnerHTML={__html:r.innerHTML||r.cssText}:a[u]=r[o]}),or.createElement(e,a)})},Cs=function(e,t,r){switch(e){case jr.TITLE:return{toComponent:function(){return i=t.titleAttributes,(a={key:n=t.title})["data-rh"]=!0,o=fJ(i,a),[or.createElement(jr.TITLE,o,n)];var n,i,a,o},toString:function(){return(function(n,i,a,o){var u=cJ(a),s=Boe(i);return u?"<"+n+' data-rh="true" '+u+">"+gO(s,o)+"</"+n+">":"<"+n+' data-rh="true">'+gO(s,o)+"</"+n+">"})(e,t.title,t.titleAttributes,r)}};case"bodyAttributes":case"htmlAttributes":return{toComponent:function(){return fJ(t)},toString:function(){return cJ(t)}};default:return{toComponent:function(){return Gm(e,t)},toString:function(){return(function(n,i,a){return i.reduce(function(o,u){var s=Object.keys(u).filter(function(h){return!(h==="innerHTML"||h==="cssText")}).reduce(function(h,v){var g=u[v]===void 0?v:v+'="'+gO(u[v],a)+'"';return h?h+" "+g:g},""),c=u.innerHTML||u.cssText||"",d=GPe.indexOf(n)===-1;return o+"<"+n+' data-rh="true" '+s+(d?"/>":">"+c+"</"+n+">")},"")})(e,t,r)}}}},oP=function(e){var t=e.baseTag,r=e.bodyAttributes,n=e.encode,i=e.htmlAttributes,a=e.noscriptTags,o=e.styleTags,u=e.title,s=u===void 0?"":u,c=e.titleAttributes,d=e.linkTags,h=e.metaTags,v=e.scriptTags,g={toComponent:function(){},toString:function(){return""}};if(e.prioritizeSeoTags){var m=(function(y){var S=y.linkTags,w=y.scriptTags,b=y.encode,A=pO(y.metaTags,qPe),R=pO(S,jPe),x=pO(w,UPe);return{priorityMethods:{toComponent:function(){return[].concat(Gm(jr.META,A.priority),Gm(jr.LINK,R.priority),Gm(jr.SCRIPT,x.priority))},toString:function(){return Cs(jr.META,A.priority,b)+" "+Cs(jr.LINK,R.priority,b)+" "+Cs(jr.SCRIPT,x.priority,b)}},metaTags:A.default,linkTags:R.default,scriptTags:x.default}})(e);g=m.priorityMethods,d=m.linkTags,h=m.metaTags,v=m.scriptTags}return{priority:g,base:Cs(jr.BASE,t,n),bodyAttributes:Cs("bodyAttributes",r,n),htmlAttributes:Cs("htmlAttributes",i,n),link:Cs(jr.LINK,d,n),meta:Cs(jr.META,h,n),noscript:Cs(jr.NOSCRIPT,a,n),script:Cs(jr.SCRIPT,v,n),style:Cs(jr.STYLE,o,n),title:Cs(jr.TITLE,{title:s,titleAttributes:c},n)}},pm=[],sP=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?pm:r.instances},add:function(n){(r.canUseDOM?pm:r.instances).push(n)},remove:function(n){var i=(r.canUseDOM?pm:r.instances).indexOf(n);(r.canUseDOM?pm:r.instances).splice(i,1)}}},this.context=e,this.canUseDOM=t,t||(e.helmet=oP({baseTag:[],bodyAttributes:{},htmlAttributes:{},linkTags:[],metaTags:[],noscriptTags:[],scriptTags:[],styleTags:[],title:"",titleAttributes:{}}))},Hoe=or.createContext({}),YPe=Xr.shape({setHelmet:Xr.func,helmetInstances:Xr.shape({get:Xr.func,add:Xr.func,remove:Xr.func})}),KPe=typeof document<"u",Dd=(function(e){function t(r){var n;return(n=e.call(this,r)||this).helmetData=new sP(n.props.context,t.canUseDOM),n}return Mk(t,e),t.prototype.render=function(){return or.createElement(Hoe.Provider,{value:this.helmetData.value},this.props.children)},t})(pe.Component);Dd.canUseDOM=KPe,Dd.propTypes={context:Xr.shape({helmet:Xr.shape()}),children:Xr.node.isRequired},Dd.defaultProps={context:{}},Dd.displayName="HelmetProvider";var Sd=function(e,t){var r,n=document.head||document.querySelector(jr.HEAD),i=n.querySelectorAll(e+"[data-rh]"),a=[].slice.call(i),o=[];return t&&t.length&&t.forEach(function(u){var s=document.createElement(e);for(var c in u)Object.prototype.hasOwnProperty.call(u,c)&&(c==="innerHTML"?s.innerHTML=u.innerHTML:c==="cssText"?s.styleSheet?s.styleSheet.cssText=u.cssText:s.appendChild(document.createTextNode(u.cssText)):s.setAttribute(c,u[c]===void 0?"":u[c]));s.setAttribute("data-rh","true"),a.some(function(d,h){return r=h,s.isEqualNode(d)})?a.splice(r,1):o.push(s)}),a.forEach(function(u){return u.parentNode.removeChild(u)}),o.forEach(function(u){return n.appendChild(u)}),{oldTags:a,newTags:o}},mO=function(e,t){var r=document.getElementsByTagName(e)[0];if(r){for(var n=r.getAttribute("data-rh"),i=n?n.split(","):[],a=[].concat(i),o=Object.keys(t),u=0;u<o.length;u+=1){var s=o[u],c=t[s]||"";r.getAttribute(s)!==c&&r.setAttribute(s,c),i.indexOf(s)===-1&&i.push(s);var d=a.indexOf(s);d!==-1&&a.splice(d,1)}for(var h=a.length-1;h>=0;h-=1)r.removeAttribute(a[h]);i.length===a.length?r.removeAttribute("data-rh"):r.getAttribute("data-rh")!==o.join(",")&&r.setAttribute("data-rh",o.join(","))}},dJ=function(e,t){var r=e.baseTag,n=e.htmlAttributes,i=e.linkTags,a=e.metaTags,o=e.noscriptTags,u=e.onChangeClientState,s=e.scriptTags,c=e.styleTags,d=e.title,h=e.titleAttributes;mO(jr.BODY,e.bodyAttributes),mO(jr.HTML,n),(function(y,S){y!==void 0&&document.title!==y&&(document.title=Boe(y)),mO(jr.TITLE,S)})(d,h);var v={baseTag:Sd(jr.BASE,r),linkTags:Sd(jr.LINK,i),metaTags:Sd(jr.META,a),noscriptTags:Sd(jr.NOSCRIPT,o),scriptTags:Sd(jr.SCRIPT,s),styleTags:Sd(jr.STYLE,c)},g={},m={};Object.keys(v).forEach(function(y){var S=v[y],w=S.newTags,b=S.oldTags;w.length&&(g[y]=w),b.length&&(m[y]=v[y].oldTags)}),t&&t(),u(e,g,m)},uv=null,by=(function(e){function t(){for(var n,i=arguments.length,a=new Array(i),o=0;o<i;o++)a[o]=arguments[o];return(n=e.call.apply(e,[this].concat(a))||this).rendered=!1,n}Mk(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!FPe(n,this.props)},r.componentDidUpdate=function(){this.emitChange()},r.componentWillUnmount=function(){this.props.context.helmetInstances.remove(this),this.emitChange()},r.emitChange=function(){var n,i,a=this.props.context,o=a.setHelmet,u=null,s=(n=a.helmetInstances.get().map(function(c){var d=Ji({},c.props);return delete d.context,d}),{baseTag:zPe(["href"],n),bodyAttributes:vO("bodyAttributes",n),defer:jd(n,"defer"),encode:jd(n,"encodeSpecialCharacters"),htmlAttributes:vO("htmlAttributes",n),linkTags:sv(jr.LINK,["rel","href"],n),metaTags:sv(jr.META,["name","charset","http-equiv","property","itemprop"],n),noscriptTags:sv(jr.NOSCRIPT,["innerHTML"],n),onChangeClientState:HPe(n),scriptTags:sv(jr.SCRIPT,["src","innerHTML"],n),styleTags:sv(jr.STYLE,["cssText"],n),title:BPe(n),titleAttributes:vO("titleAttributes",n),prioritizeSeoTags:WPe(n,"prioritizeSeoTags")});Dd.canUseDOM?(i=s,uv&&cancelAnimationFrame(uv),i.defer?uv=requestAnimationFrame(function(){dJ(i,function(){uv=null})}):(dJ(i),uv=null)):oP&&(u=oP(s)),o(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})(pe.Component);by.propTypes={context:YPe.isRequired},by.displayName="HelmetDispatcher";var XPe=["children"],QPe=["children"],Ym=(function(e){function t(){return e.apply(this,arguments)||this}Mk(t,e);var r=t.prototype;return r.shouldComponentUpdate=function(n){return!LPe(lJ(this.props,"helmetData"),lJ(n,"helmetData"))},r.mapNestedChildrenToProps=function(n,i){if(!i)return null;switch(n.type){case jr.SCRIPT:case jr.NOSCRIPT:return{innerHTML:i};case jr.STYLE:return{cssText:i};default:throw new Error("<"+n.type+" /> elements are self-closing and can not contain children. Refer to our API for more information.")}},r.flattenArrayTypeChildren=function(n){var i,a=n.child,o=n.arrayTypeChildren;return Ji({},o,((i={})[a.type]=[].concat(o[a.type]||[],[Ji({},n.newChildProps,this.mapNestedChildrenToProps(a,n.nestedChildren))]),i))},r.mapObjectTypeChildren=function(n){var i,a,o=n.child,u=n.newProps,s=n.newChildProps,c=n.nestedChildren;switch(o.type){case jr.TITLE:return Ji({},u,((i={})[o.type]=c,i.titleAttributes=Ji({},s),i));case jr.BODY:return Ji({},u,{bodyAttributes:Ji({},s)});case jr.HTML:return Ji({},u,{htmlAttributes:Ji({},s)});default:return Ji({},u,((a={})[o.type]=Ji({},s),a))}},r.mapArrayTypeChildrenToProps=function(n,i){var a=Ji({},i);return Object.keys(n).forEach(function(o){var u;a=Ji({},a,((u={})[o]=n[o],u))}),a},r.warnOnInvalidChildren=function(n,i){return LQ(uJ.some(function(a){return n.type===a}),typeof n.type=="function"?"You may be attempting to nest <Helmet> components within each other, which is not allowed. Refer to our API for more information.":"Only elements types "+uJ.join(", ")+" are allowed. Helmet does not support rendering <"+n.type+"> elements. Refer to our API for more information."),LQ(!i||typeof i=="string"||Array.isArray(i)&&!i.some(function(a){return typeof a!="string"}),"Helmet expects a string as a child of <"+n.type+">. Did you forget to wrap your children in braces? ( <"+n.type+">{``}</"+n.type+"> ) Refer to our API for more information."),!0},r.mapChildrenToProps=function(n,i){var a=this,o={};return or.Children.forEach(n,function(u){if(u&&u.props){var s=u.props,c=s.children,d=sJ(s,XPe),h=Object.keys(d).reduce(function(g,m){return g[VPe[m]||m]=d[m],g},{}),v=u.type;switch(typeof v=="symbol"?v=v.toString():a.warnOnInvalidChildren(u,c),v){case jr.FRAGMENT:i=a.mapChildrenToProps(c,i);break;case jr.LINK:case jr.META:case jr.NOSCRIPT:case jr.SCRIPT:case jr.STYLE:o=a.flattenArrayTypeChildren({child:u,arrayTypeChildren:o,newChildProps:h,nestedChildren:c});break;default:i=a.mapObjectTypeChildren({child:u,newProps:i,newChildProps:h,nestedChildren:c})}}}),this.mapArrayTypeChildrenToProps(o,i)},r.render=function(){var n=this.props,i=n.children,a=sJ(n,QPe),o=Ji({},a),u=a.helmetData;return i&&(o=this.mapChildrenToProps(i,o)),!u||u instanceof sP||(u=new sP(u.context,u.instances)),u?or.createElement(by,Ji({},o,{context:u.value,helmetData:void 0})):or.createElement(Hoe.Consumer,null,function(s){return or.createElement(by,Ji({},o,{context:s}))})},t})(pe.Component);Ym.propTypes={base:Xr.object,bodyAttributes:Xr.object,children:Xr.oneOfType([Xr.arrayOf(Xr.node),Xr.node]),defaultTitle:Xr.string,defer:Xr.bool,encodeSpecialCharacters:Xr.bool,htmlAttributes:Xr.object,link:Xr.arrayOf(Xr.object),meta:Xr.arrayOf(Xr.object),noscript:Xr.arrayOf(Xr.object),onChangeClientState:Xr.func,script:Xr.arrayOf(Xr.object),style:Xr.arrayOf(Xr.object),title:Xr.string,titleAttributes:Xr.object,titleTemplate:Xr.string,prioritizeSeoTags:Xr.bool,helmetData:Xr.object},Ym.defaultProps={defer:!0,encodeSpecialCharacters:!0,prioritizeSeoTags:!1},Ym.displayName="Helmet";const zoe=or.createContext({setPageMetadata:e=>e,revertPageMetadata:()=>{},hasPageMetadataChanged:()=>!1,setFaq:()=>{},hasProvider:!1});function hJ(e,t){return!Ui.isEqual(e,t)}function JPe(){return or.useContext(zoe)}const ZPe=e=>{const[t,r]=or.useState({}),[n,i]=or.useState({}),[a,o]=or.useState(null),{title:u,description:s,canonicalLink:c,jsonLd:d,allowIndexing:h,hrefLang:v,preload:g}=t;function m(b){hJ(t,n)&&i(t),r(b)}function y(){r(n)}function S(b){return hJ(b,t)}function w(b){o(b)}return j.jsx(zoe.Provider,{value:{setPageMetadata:m,revertPageMetadata:y,hasPageMetadataChanged:S,setFaq:w,hasProvider:!0},children:j.jsxs(Dd,{children:[j.jsxs(Ym,{children:[u&&j.jsx("title",{children:u}),s&&j.jsx("meta",{name:"description",content:s}),c&&j.jsx("link",{rel:"canonical",href:c}),d&&j.jsx("script",{type:"application/ld+json",children:JSON.stringify(d)}),a&&j.jsx("script",{type:"application/ld+json",children:JSON.stringify(a)}),!h&&j.jsx("meta",{name:"robots",content:"noindex"}),v&&(v==null?void 0:v.map((b,A)=>j.jsx("link",{rel:"alternate",hrefLang:b.hrefLang,href:b.canonicalLink},A))),g&&(g==null?void 0:g.map((b,A)=>{const R={};return b.crossorigin&&(R.crossOrigin="true"),b.media&&(R.media=b.media),b.type&&(R.type=b.type),j.jsx("link",{rel:"preload",href:b.href,as:b.as,...R},`preload-${A}`)}))]}),e.children]})})};class yO extends or.Component{constructor(t){super(t),this.currentErrorHandled=!1,this.state={error:null}}static getDerivedStateFromError(t){return{error:t}}componentDidCatch(t,r){this.currentErrorHandled||(this.currentErrorHandled=!0,window.trackJs&&window.trackJs.console.error(t.message,{errorInfo:r}),this.props.throwError&&(vr.throw(new this.props.throwError(t.message)),window.setTimeout(()=>{this.currentErrorHandled=!1,this.setState({error:null})},500)))}render(){const{error:t}=this.state;if(t&&this.props.renderError){const r=this.props.renderError;return j.jsx(r,{})}return t||!this.props.children?j.jsx(j.Fragment,{}):this.props.children}}function ts(e){const[t,r]=pe.useState(window.matchMedia(e).matches);return pe.useEffect(()=>{const n=window.matchMedia(e);n.matches!==t&&r(n.matches);const i=()=>r(n.matches);return n.addListener(i),()=>n.removeListener(i)},[e]),t}const eDe=or.createContext({}),tDe=e=>{const t=ts("(max-width: 575.98px)"),r=ts("(min-width: 576px) and (max-width: 767.98px)"),n=ts("(min-width: 768px) and (max-width: 991.98px)"),i=ts("(min-width: 992px) and (max-width: 1199.98px)"),a=ts("(min-width: 1200px) and (max-width: 1439.98px)"),o=ts("(min-width: 1440px)"),u=or.useMemo(()=>({xs:t,sm:r,md:n,lg:i,xl:a,xxl:o}),[t,r,n,i,a,o]);return j.jsx(eDe.Provider,{value:u,children:e.children})},Woe=pe.createContext(void 0),rDe=({children:e})=>{const[t,r]=pe.useState(),[n,i]=pe.useState(!1),[a,o]=pe.useState(),d={getDataUrlAndResetContext:()=>{const h=t;return r(null),h},setDataUrl:r,imageUploaded:n,getImage:()=>{const h=a;return o(null),i(!1),h},setImage:h=>{o(h),i(!0)}};return j.jsx(Woe.Provider,{value:d,children:e})};var fa=(e=>(e.XS="(max-width: 575px)",e.SM="(min-width: 576px) and (max-width: 767px)",e.MD="(min-width: 768px) and (max-width: 991px)",e.LG="(min-width: 992px)",e.XL="(min-width: 1200px)",e.XXL="(min-width: 1440px)",e.SMDown="(max-width: 576px)",e.MDDown="(max-width: 768px)",e.LGDown="(max-width: 992px)",e.XLDown="(max-width: 1200px)",e))(fa||{});const _O="shared.unspecifiedDialogError";class nDe extends $f{constructor(){super("Unspecified dialog error"),this.btnVariant="dark"}get name(){return"UnspecifiedDialogError"}get dialogOptions(){return{title:gr.getPhrase(_O,"title"),text:gr.getPhrase(_O,"body"),buttons:[{text:gr.getPhrase(_O,"close"),className:`btn btn-${this.btnVariant}`,success:!0}]}}}function iDe(){const e=ts(fa.XS),t=ts(fa.SM),r=ts(fa.MD),n=ts(fa.LG),i=ts(fa.XL),a=ts(fa.XXL);let o=fa.LG;return e&&(o=fa.XS),t&&(o=fa.SM),r&&(o=fa.MD),n&&(o=fa.LG),i&&(o=fa.XL),a&&(o=fa.XXL),o}const aDe="_iconButton_1no8y_1",oDe="_iconWithText_1no8y_5",sDe="_svg_1no8y_9",uDe="_iconOnly_1no8y_21",lDe="_iconBorder_1no8y_30",lv={iconButton:aDe,iconWithText:oDe,svg:sDe,iconOnly:uDe,iconBorder:lDe};function uP(e){let t=`${e.className} ${lv.iconButton}`;pe.Children.toArray(e.children).length?t+=` ${lv.iconWithText}`:!e.showBorder&&!e.customSize&&(t+=` ${lv.iconOnly}`),e.showBorder&&(t+=` ${lv.iconBorder} btn btn-outline-dark me-2`),e.disabled&&(t+=" disabled");const r=j.jsx(Ri,{svg:e.svg,className:`svg-container ${lv.svg}`,size:e.svgSize});function n(a){e.analyticsData&&e.analyticsOptions&&wa.logUserAction(e.analyticsData,e.analyticsOptions),gi.isFunction(e.onClick)&&e.onClick(a)}function i(a){a.preventDefault(),e.analyticsData&&e.analyticsOptions&&wa.logUserAction(e.analyticsData,e.analyticsOptions),gi.isFunction(e.onClick)&&e.onClick(a),Yn.PageLoad(e.href,e.openInNewTab)}return!e.appLink&&!e.href?j.jsxs("button",{type:"button",className:t,"aria-label":e.ariaLabel,onClick:n,disabled:e.disabled,role:e.role,children:[r,e.children]}):e.href?j.jsxs("a",{className:t,href:e.href,onClick:i,"aria-label":e.ariaLabel,role:e.role,children:[r,e.children]}):j.jsxs(os,{appLink:e.appLink,className:t,onClick:e.onClick,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,role:e.role,children:[r,e.children]})}function cDe(e){const t=e.showSpinner?j.jsx(Wp,{as:"span",animation:"border",role:"status",size:"sm"}):e.children;if(e.tooltip&&e.svg){let n=e.className??"";return e.disabled&&!e.appLink&&(n+=" pointer-events-none"),j.jsx(ec,{title:e.tooltip,spanHack:!0,children:j.jsx(uP,{appLink:e.appLink,href:e.href,svg:e.svg,svgSize:e.svgSize,onClick:e.onClick,className:n,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.tooltip,children:t})})}if(e.svg)return j.jsx(uP,{onClick:e.onClick,appLink:e.appLink,href:e.href,svg:e.svg,svgSize:e.svgSize,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,children:t});if(e.tooltip&&e.appLink)return j.jsx(ec,{title:e.tooltip,spanHack:!0,children:j.jsx(os,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.tooltip,children:t})});if(e.appLink)return j.jsx(os,{onClick:e.onClick,appLink:e.appLink,className:e.className,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,openInNewTab:e.openInNewTab,disabled:e.disabled,ariaLabel:e.ariaLabel,children:t});function r(n){e.analyticsData&&e.analyticsOptions&&wa.logUserAction(e.analyticsData,e.analyticsOptions),gi.isFunction(e.onClick)&&e.onClick(n)}return e.tooltip?j.jsx(ec,{title:e.tooltip,spanHack:!0,children:j.jsx("button",{onClick:r,className:`${e.className??""}${e.disabled?" pointer-events-none":""}`,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}):j.jsx("button",{onClick:r,className:e.className,disabled:e.disabled,"aria-label":typeof t=="string"?t:e.ariaLabel,children:t})}const fDe=(e,t,r,n=[])=>{const i=typeof e=="string"?$r.Radio.channel(e):e;pe.useEffect(()=>{if(e)return i.on(t,r),()=>{e&&i.off(t,r)}},n)};function Goe(e){or.useEffect(()=>{e&&t(Kn.getCurrentAppLink(),e)},[e]);function t(n,i){const a=Kn.getHref(n);wa.logUserAction({title:i,url:a,isAddressable:!!a,isError:n.action==="error",appLink:r(n)},{actionType:Bt.PageView,entity:xn.Url,location:ka.Global})}function r(n){var i;return{...n,args:(i=n.args)==null?void 0:i.reduce((a,o,u)=>(a[`arg${u}`]=o,a),{})}}}function dDe(){return j.jsx("div",{className:"text-center p-5",children:j.jsx(Wp,{as:"div",animation:"border",role:"status"})})}Yoe.defaultProps={closeButton:!0,bodyClassName:"",dialogClassName:"",size:"md",closeOnNavigate:!0};function Yoe(e){var n;Goe(e.title);const t=(i,a)=>{!e.closeOnNavigate||!a.isAppRoute||e.closePopup()};fDe($n.SHELL,Fn.ROUTE,t,[e.closePopup]);const r=(n=e.headerButtons)!=null&&n.length?e.headerButtons.map((i,a)=>j.jsx(cDe,{...i},a)):j.jsx(j.Fragment,{});return j.jsxs(fm,{show:!0,onHide:e.closePopup,onEntered:e.onEntered,size:e.size==="md"?null:e.size,contentClassName:e.contentClassName,dialogClassName:e.dialogClassName,centered:e.centered,backdrop:e.backdrop,container:document.getElementById("dialog-region"),restoreFocus:!0,animation:e.animation,children:[!!e.title&&!e.hideTitle&&j.jsxs(fm.Header,{className:"d-flex align-items-center bg-white",closeButton:e.closeButton,children:[j.jsx(fm.Title,{as:"h2",className:"h4 flex-grow-1 text-truncate",children:e.title}),r]}),e.showLoadingSpinner?j.jsx(dDe,{}):j.jsx(fm.Body,{className:e.bodyClassName,children:e.children})]})}var SO,vJ;function hDe(){if(vJ)return SO;vJ=1;var e=Array.isArray,t=Object.keys,r=Object.prototype.hasOwnProperty,n=typeof Element<"u";function i(a,o){if(a===o)return!0;if(a&&o&&typeof a=="object"&&typeof o=="object"){var u=e(a),s=e(o),c,d,h;if(u&&s){if(d=a.length,d!=o.length)return!1;for(c=d;c--!==0;)if(!i(a[c],o[c]))return!1;return!0}if(u!=s)return!1;var v=a instanceof Date,g=o instanceof Date;if(v!=g)return!1;if(v&&g)return a.getTime()==o.getTime();var m=a instanceof RegExp,y=o instanceof RegExp;if(m!=y)return!1;if(m&&y)return a.toString()==o.toString();var S=t(a);if(d=S.length,d!==t(o).length)return!1;for(c=d;c--!==0;)if(!r.call(o,S[c]))return!1;if(n&&a instanceof Element&&o instanceof Element)return a===o;for(c=d;c--!==0;)if(h=S[c],!(h==="_owner"&&a.$$typeof)&&!i(a[h],o[h]))return!1;return!0}return a!==a&&o!==o}return SO=function(o,u){try{return i(o,u)}catch(s){if(s.message&&s.message.match(/stack|recursion/i)||s.number===-2146828260)return console.warn("Warning: react-fast-compare does not handle circular references.",s.name,s.message),!1;throw s}},SO}var vDe=hDe();const Gl=jn(vDe);var pDe=function(t){return gDe(t)&&!mDe(t)};function gDe(e){return!!e&&typeof e=="object"}function mDe(e){var t=Object.prototype.toString.call(e);return t==="[object RegExp]"||t==="[object Date]"||SDe(e)}var yDe=typeof Symbol=="function"&&Symbol.for,_De=yDe?Symbol.for("react.element"):60103;function SDe(e){return e.$$typeof===_De}function EDe(e){return Array.isArray(e)?[]:{}}function Ty(e,t){return t.clone!==!1&&t.isMergeableObject(e)?ap(EDe(e),e,t):e}function wDe(e,t,r){return e.concat(t).map(function(n){return Ty(n,r)})}function bDe(e,t,r){var n={};return r.isMergeableObject(e)&&Object.keys(e).forEach(function(i){n[i]=Ty(e[i],r)}),Object.keys(t).forEach(function(i){!r.isMergeableObject(t[i])||!e[i]?n[i]=Ty(t[i],r):n[i]=ap(e[i],t[i],r)}),n}function ap(e,t,r){r=r||{},r.arrayMerge=r.arrayMerge||wDe,r.isMergeableObject=r.isMergeableObject||pDe;var n=Array.isArray(t),i=Array.isArray(e),a=n===i;return a?n?r.arrayMerge(e,t,r):bDe(e,t,r):Ty(t,r)}ap.all=function(t,r){if(!Array.isArray(t))throw new Error("first argument should be an array");return t.reduce(function(n,i){return ap(n,i,r)},{})};var lP=ap,Koe=typeof globalThis=="object"&&globalThis&&globalThis.Object===Object&&globalThis,TDe=typeof self=="object"&&self&&self.Object===Object&&self,ku=Koe||TDe||Function("return this")(),ac=ku.Symbol,Xoe=Object.prototype,RDe=Xoe.hasOwnProperty,xDe=Xoe.toString,cv=ac?ac.toStringTag:void 0;function CDe(e){var t=RDe.call(e,cv),r=e[cv];try{e[cv]=void 0;var n=!0}catch{}var i=xDe.call(e);return n&&(t?e[cv]=r:delete e[cv]),i}var ADe=Object.prototype,ODe=ADe.toString;function IDe(e){return ODe.call(e)}var PDe="[object Null]",DDe="[object Undefined]",pJ=ac?ac.toStringTag:void 0;function jf(e){return e==null?e===void 0?DDe:PDe:pJ&&pJ in Object(e)?CDe(e):IDe(e)}function Qoe(e,t){return function(r){return e(t(r))}}var $k=Qoe(Object.getPrototypeOf,Object);function Uf(e){return e!=null&&typeof e=="object"}var kDe="[object Object]",NDe=Function.prototype,LDe=Object.prototype,Joe=NDe.toString,MDe=LDe.hasOwnProperty,$De=Joe.call(Object);function gJ(e){if(!Uf(e)||jf(e)!=kDe)return!1;var t=$k(e);if(t===null)return!0;var r=MDe.call(t,"constructor")&&t.constructor;return typeof r=="function"&&r instanceof r&&Joe.call(r)==$De}function FDe(){this.__data__=[],this.size=0}function Zoe(e,t){return e===t||e!==e&&t!==t}function d0(e,t){for(var r=e.length;r--;)if(Zoe(e[r][0],t))return r;return-1}var jDe=Array.prototype,UDe=jDe.splice;function qDe(e){var t=this.__data__,r=d0(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():UDe.call(t,r,1),--this.size,!0}function VDe(e){var t=this.__data__,r=d0(t,e);return r<0?void 0:t[r][1]}function BDe(e){return d0(this.__data__,e)>-1}function HDe(e,t){var r=this.__data__,n=d0(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}function Sl(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])}}Sl.prototype.clear=FDe;Sl.prototype.delete=qDe;Sl.prototype.get=VDe;Sl.prototype.has=BDe;Sl.prototype.set=HDe;function zDe(){this.__data__=new Sl,this.size=0}function WDe(e){var t=this.__data__,r=t.delete(e);return this.size=t.size,r}function GDe(e){return this.__data__.get(e)}function YDe(e){return this.__data__.has(e)}function Gp(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}var KDe="[object AsyncFunction]",XDe="[object Function]",QDe="[object GeneratorFunction]",JDe="[object Proxy]";function ese(e){if(!Gp(e))return!1;var t=jf(e);return t==XDe||t==QDe||t==KDe||t==JDe}var EO=ku["__core-js_shared__"],mJ=(function(){var e=/[^.]+$/.exec(EO&&EO.keys&&EO.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""})();function ZDe(e){return!!mJ&&mJ in e}var eke=Function.prototype,tke=eke.toString;function qf(e){if(e!=null){try{return tke.call(e)}catch{}try{return e+""}catch{}}return""}var rke=/[\\^$.*+?()[\]{}|]/g,nke=/^\[object .+?Constructor\]$/,ike=Function.prototype,ake=Object.prototype,oke=ike.toString,ske=ake.hasOwnProperty,uke=RegExp("^"+oke.call(ske).replace(rke,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function lke(e){if(!Gp(e)||ZDe(e))return!1;var t=ese(e)?uke:nke;return t.test(qf(e))}function cke(e,t){return e==null?void 0:e[t]}function Vf(e,t){var r=cke(e,t);return lke(r)?r:void 0}var op=Vf(ku,"Map"),sp=Vf(Object,"create");function fke(){this.__data__=sp?sp(null):{},this.size=0}function dke(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}var hke="__lodash_hash_undefined__",vke=Object.prototype,pke=vke.hasOwnProperty;function gke(e){var t=this.__data__;if(sp){var r=t[e];return r===hke?void 0:r}return pke.call(t,e)?t[e]:void 0}var mke=Object.prototype,yke=mke.hasOwnProperty;function _ke(e){var t=this.__data__;return sp?t[e]!==void 0:yke.call(t,e)}var Ske="__lodash_hash_undefined__";function Eke(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=sp&&t===void 0?Ske:t,this}function lf(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])}}lf.prototype.clear=fke;lf.prototype.delete=dke;lf.prototype.get=gke;lf.prototype.has=_ke;lf.prototype.set=Eke;function wke(){this.size=0,this.__data__={hash:new lf,map:new(op||Sl),string:new lf}}function bke(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}function h0(e,t){var r=e.__data__;return bke(t)?r[typeof t=="string"?"string":"hash"]:r.map}function Tke(e){var t=h0(this,e).delete(e);return this.size-=t?1:0,t}function Rke(e){return h0(this,e).get(e)}function xke(e){return h0(this,e).has(e)}function Cke(e,t){var r=h0(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}function gc(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])}}gc.prototype.clear=wke;gc.prototype.delete=Tke;gc.prototype.get=Rke;gc.prototype.has=xke;gc.prototype.set=Cke;var Ake=200;function Oke(e,t){var r=this.__data__;if(r instanceof Sl){var n=r.__data__;if(!op||n.length<Ake-1)return n.push([e,t]),this.size=++r.size,this;r=this.__data__=new gc(n)}return r.set(e,t),this.size=r.size,this}function Ih(e){var t=this.__data__=new Sl(e);this.size=t.size}Ih.prototype.clear=zDe;Ih.prototype.delete=WDe;Ih.prototype.get=GDe;Ih.prototype.has=YDe;Ih.prototype.set=Oke;function Ike(e,t){for(var r=-1,n=e==null?0:e.length;++r<n&&t(e[r],r,e)!==!1;);return e}var yJ=(function(){try{var e=Vf(Object,"defineProperty");return e({},"",{}),e}catch{}})();function tse(e,t,r){t=="__proto__"&&yJ?yJ(e,t,{configurable:!0,enumerable:!0,value:r,writable:!0}):e[t]=r}var Pke=Object.prototype,Dke=Pke.hasOwnProperty;function rse(e,t,r){var n=e[t];(!(Dke.call(e,t)&&Zoe(n,r))||r===void 0&&!(t in e))&&tse(e,t,r)}function v0(e,t,r,n){var i=!r;r||(r={});for(var a=-1,o=t.length;++a<o;){var u=t[a],s=void 0;s===void 0&&(s=e[u]),i?tse(r,u,s):rse(r,u,s)}return r}function kke(e,t){for(var r=-1,n=Array(e);++r<e;)n[r]=t(r);return n}var Nke="[object Arguments]";function _J(e){return Uf(e)&&jf(e)==Nke}var nse=Object.prototype,Lke=nse.hasOwnProperty,Mke=nse.propertyIsEnumerable,$ke=_J((function(){return arguments})())?_J:function(e){return Uf(e)&&Lke.call(e,"callee")&&!Mke.call(e,"callee")},Yp=Array.isArray;function Fke(){return!1}var ise=typeof exports=="object"&&exports&&!exports.nodeType&&exports,SJ=ise&&typeof module=="object"&&module&&!module.nodeType&&module,jke=SJ&&SJ.exports===ise,EJ=jke?ku.Buffer:void 0,Uke=EJ?EJ.isBuffer:void 0,ase=Uke||Fke,qke=9007199254740991,Vke=/^(?:0|[1-9]\d*)$/;function Bke(e,t){var r=typeof e;return t=t??qke,!!t&&(r=="number"||r!="symbol"&&Vke.test(e))&&e>-1&&e%1==0&&e<t}var Hke=9007199254740991;function ose(e){return typeof e=="number"&&e>-1&&e%1==0&&e<=Hke}var zke="[object Arguments]",Wke="[object Array]",Gke="[object Boolean]",Yke="[object Date]",Kke="[object Error]",Xke="[object Function]",Qke="[object Map]",Jke="[object Number]",Zke="[object Object]",eNe="[object RegExp]",tNe="[object Set]",rNe="[object String]",nNe="[object WeakMap]",iNe="[object ArrayBuffer]",aNe="[object DataView]",oNe="[object Float32Array]",sNe="[object Float64Array]",uNe="[object Int8Array]",lNe="[object Int16Array]",cNe="[object Int32Array]",fNe="[object Uint8Array]",dNe="[object Uint8ClampedArray]",hNe="[object Uint16Array]",vNe="[object Uint32Array]",Ti={};Ti[oNe]=Ti[sNe]=Ti[uNe]=Ti[lNe]=Ti[cNe]=Ti[fNe]=Ti[dNe]=Ti[hNe]=Ti[vNe]=!0;Ti[zke]=Ti[Wke]=Ti[iNe]=Ti[Gke]=Ti[aNe]=Ti[Yke]=Ti[Kke]=Ti[Xke]=Ti[Qke]=Ti[Jke]=Ti[Zke]=Ti[eNe]=Ti[tNe]=Ti[rNe]=Ti[nNe]=!1;function pNe(e){return Uf(e)&&ose(e.length)&&!!Ti[jf(e)]}function Fk(e){return function(t){return e(t)}}var sse=typeof exports=="object"&&exports&&!exports.nodeType&&exports,$v=sse&&typeof module=="object"&&module&&!module.nodeType&&module,gNe=$v&&$v.exports===sse,wO=gNe&&Koe.process,Kd=(function(){try{var e=$v&&$v.require&&$v.require("util").types;return e||wO&&wO.binding&&wO.binding("util")}catch{}})(),wJ=Kd&&Kd.isTypedArray,mNe=wJ?Fk(wJ):pNe,yNe=Object.prototype,_Ne=yNe.hasOwnProperty;function use(e,t){var r=Yp(e),n=!r&&$ke(e),i=!r&&!n&&ase(e),a=!r&&!n&&!i&&mNe(e),o=r||n||i||a,u=o?kke(e.length,String):[],s=u.length;for(var c in e)(t||_Ne.call(e,c))&&!(o&&(c=="length"||i&&(c=="offset"||c=="parent")||a&&(c=="buffer"||c=="byteLength"||c=="byteOffset")||Bke(c,s)))&&u.push(c);return u}var SNe=Object.prototype;function jk(e){var t=e&&e.constructor,r=typeof t=="function"&&t.prototype||SNe;return e===r}var ENe=Qoe(Object.keys,Object),wNe=Object.prototype,bNe=wNe.hasOwnProperty;function TNe(e){if(!jk(e))return ENe(e);var t=[];for(var r in Object(e))bNe.call(e,r)&&r!="constructor"&&t.push(r);return t}function lse(e){return e!=null&&ose(e.length)&&!ese(e)}function Uk(e){return lse(e)?use(e):TNe(e)}function RNe(e,t){return e&&v0(t,Uk(t),e)}function xNe(e){var t=[];if(e!=null)for(var r in Object(e))t.push(r);return t}var CNe=Object.prototype,ANe=CNe.hasOwnProperty;function ONe(e){if(!Gp(e))return xNe(e);var t=jk(e),r=[];for(var n in e)n=="constructor"&&(t||!ANe.call(e,n))||r.push(n);return r}function qk(e){return lse(e)?use(e,!0):ONe(e)}function INe(e,t){return e&&v0(t,qk(t),e)}var cse=typeof exports=="object"&&exports&&!exports.nodeType&&exports,bJ=cse&&typeof module=="object"&&module&&!module.nodeType&&module,PNe=bJ&&bJ.exports===cse,TJ=PNe?ku.Buffer:void 0,RJ=TJ?TJ.allocUnsafe:void 0;function DNe(e,t){if(t)return e.slice();var r=e.length,n=RJ?RJ(r):new e.constructor(r);return e.copy(n),n}function fse(e,t){var r=-1,n=e.length;for(t||(t=Array(n));++r<n;)t[r]=e[r];return t}function kNe(e,t){for(var r=-1,n=e==null?0:e.length,i=0,a=[];++r<n;){var o=e[r];t(o,r,e)&&(a[i++]=o)}return a}function dse(){return[]}var NNe=Object.prototype,LNe=NNe.propertyIsEnumerable,xJ=Object.getOwnPropertySymbols,Vk=xJ?function(e){return e==null?[]:(e=Object(e),kNe(xJ(e),function(t){return LNe.call(e,t)}))}:dse;function MNe(e,t){return v0(e,Vk(e),t)}function hse(e,t){for(var r=-1,n=t.length,i=e.length;++r<n;)e[i+r]=t[r];return e}var $Ne=Object.getOwnPropertySymbols,vse=$Ne?function(e){for(var t=[];e;)hse(t,Vk(e)),e=$k(e);return t}:dse;function FNe(e,t){return v0(e,vse(e),t)}function pse(e,t,r){var n=t(e);return Yp(e)?n:hse(n,r(e))}function jNe(e){return pse(e,Uk,Vk)}function UNe(e){return pse(e,qk,vse)}var cP=Vf(ku,"DataView"),fP=Vf(ku,"Promise"),dP=Vf(ku,"Set"),hP=Vf(ku,"WeakMap"),CJ="[object Map]",qNe="[object Object]",AJ="[object Promise]",OJ="[object Set]",IJ="[object WeakMap]",PJ="[object DataView]",VNe=qf(cP),BNe=qf(op),HNe=qf(fP),zNe=qf(dP),WNe=qf(hP),Qu=jf;(cP&&Qu(new cP(new ArrayBuffer(1)))!=PJ||op&&Qu(new op)!=CJ||fP&&Qu(fP.resolve())!=AJ||dP&&Qu(new dP)!=OJ||hP&&Qu(new hP)!=IJ)&&(Qu=function(e){var t=jf(e),r=t==qNe?e.constructor:void 0,n=r?qf(r):"";if(n)switch(n){case VNe:return PJ;case BNe:return CJ;case HNe:return AJ;case zNe:return OJ;case WNe:return IJ}return t});var GNe=Object.prototype,YNe=GNe.hasOwnProperty;function KNe(e){var t=e.length,r=new e.constructor(t);return t&&typeof e[0]=="string"&&YNe.call(e,"index")&&(r.index=e.index,r.input=e.input),r}var DJ=ku.Uint8Array;function Bk(e){var t=new e.constructor(e.byteLength);return new DJ(t).set(new DJ(e)),t}function XNe(e,t){var r=t?Bk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.byteLength)}var QNe=/\w*$/;function JNe(e){var t=new e.constructor(e.source,QNe.exec(e));return t.lastIndex=e.lastIndex,t}var kJ=ac?ac.prototype:void 0,NJ=kJ?kJ.valueOf:void 0;function ZNe(e){return NJ?Object(NJ.call(e)):{}}function eLe(e,t){var r=t?Bk(e.buffer):e.buffer;return new e.constructor(r,e.byteOffset,e.length)}var tLe="[object Boolean]",rLe="[object Date]",nLe="[object Map]",iLe="[object Number]",aLe="[object RegExp]",oLe="[object Set]",sLe="[object String]",uLe="[object Symbol]",lLe="[object ArrayBuffer]",cLe="[object DataView]",fLe="[object Float32Array]",dLe="[object Float64Array]",hLe="[object Int8Array]",vLe="[object Int16Array]",pLe="[object Int32Array]",gLe="[object Uint8Array]",mLe="[object Uint8ClampedArray]",yLe="[object Uint16Array]",_Le="[object Uint32Array]";function SLe(e,t,r){var n=e.constructor;switch(t){case lLe:return Bk(e);case tLe:case rLe:return new n(+e);case cLe:return XNe(e,r);case fLe:case dLe:case hLe:case vLe:case pLe:case gLe:case mLe:case yLe:case _Le:return eLe(e,r);case nLe:return new n;case iLe:case sLe:return new n(e);case aLe:return JNe(e);case oLe:return new n;case uLe:return ZNe(e)}}var LJ=Object.create,ELe=(function(){function e(){}return function(t){if(!Gp(t))return{};if(LJ)return LJ(t);e.prototype=t;var r=new e;return e.prototype=void 0,r}})();function wLe(e){return typeof e.constructor=="function"&&!jk(e)?ELe($k(e)):{}}var bLe="[object Map]";function TLe(e){return Uf(e)&&Qu(e)==bLe}var MJ=Kd&&Kd.isMap,RLe=MJ?Fk(MJ):TLe,xLe="[object Set]";function CLe(e){return Uf(e)&&Qu(e)==xLe}var $J=Kd&&Kd.isSet,ALe=$J?Fk($J):CLe,OLe=1,ILe=2,PLe=4,gse="[object Arguments]",DLe="[object Array]",kLe="[object Boolean]",NLe="[object Date]",LLe="[object Error]",mse="[object Function]",MLe="[object GeneratorFunction]",$Le="[object Map]",FLe="[object Number]",yse="[object Object]",jLe="[object RegExp]",ULe="[object Set]",qLe="[object String]",VLe="[object Symbol]",BLe="[object WeakMap]",HLe="[object ArrayBuffer]",zLe="[object DataView]",WLe="[object Float32Array]",GLe="[object Float64Array]",YLe="[object Int8Array]",KLe="[object Int16Array]",XLe="[object Int32Array]",QLe="[object Uint8Array]",JLe="[object Uint8ClampedArray]",ZLe="[object Uint16Array]",eMe="[object Uint32Array]",pi={};pi[gse]=pi[DLe]=pi[HLe]=pi[zLe]=pi[kLe]=pi[NLe]=pi[WLe]=pi[GLe]=pi[YLe]=pi[KLe]=pi[XLe]=pi[$Le]=pi[FLe]=pi[yse]=pi[jLe]=pi[ULe]=pi[qLe]=pi[VLe]=pi[QLe]=pi[JLe]=pi[ZLe]=pi[eMe]=!0;pi[LLe]=pi[mse]=pi[BLe]=!1;function Fv(e,t,r,n,i,a){var o,u=t&OLe,s=t&ILe,c=t&PLe;if(o!==void 0)return o;if(!Gp(e))return e;var d=Yp(e);if(d){if(o=KNe(e),!u)return fse(e,o)}else{var h=Qu(e),v=h==mse||h==MLe;if(ase(e))return DNe(e,u);if(h==yse||h==gse||v&&!i){if(o=s||v?{}:wLe(e),!u)return s?FNe(e,INe(o,e)):MNe(e,RNe(o,e))}else{if(!pi[h])return i?e:{};o=SLe(e,h,u)}}a||(a=new Ih);var g=a.get(e);if(g)return g;a.set(e,o),ALe(e)?e.forEach(function(S){o.add(Fv(S,t,r,S,e,a))}):RLe(e)&&e.forEach(function(S,w){o.set(w,Fv(S,t,r,w,e,a))});var m=c?s?UNe:jNe:s?qk:Uk,y=d?void 0:m(e);return Ike(y||e,function(S,w){y&&(w=S,S=e[w]),rse(o,w,Fv(S,t,r,w,e,a))}),o}var tMe=4;function FJ(e){return Fv(e,tMe)}function _se(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 rMe="[object Symbol]";function Hk(e){return typeof e=="symbol"||Uf(e)&&jf(e)==rMe}var nMe="Expected a function";function zk(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(nMe);var r=function(){var n=arguments,i=t?t.apply(this,n):n[0],a=r.cache;if(a.has(i))return a.get(i);var o=e.apply(this,n);return r.cache=a.set(i,o)||a,o};return r.cache=new(zk.Cache||gc),r}zk.Cache=gc;var iMe=500;function aMe(e){var t=zk(e,function(n){return r.size===iMe&&r.clear(),n}),r=t.cache;return t}var oMe=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,sMe=/\\(\\)?/g,uMe=aMe(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(oMe,function(r,n,i,a){t.push(i?a.replace(sMe,"$1"):n||r)}),t});function lMe(e){if(typeof e=="string"||Hk(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}var jJ=ac?ac.prototype:void 0,UJ=jJ?jJ.toString:void 0;function Sse(e){if(typeof e=="string")return e;if(Yp(e))return _se(e,Sse)+"";if(Hk(e))return UJ?UJ.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}function cMe(e){return e==null?"":Sse(e)}function Ese(e){return Yp(e)?_se(e,lMe):Hk(e)?[e]:fse(uMe(cMe(e)))}var fMe=1,dMe=4;function hMe(e){return Fv(e,fMe|dMe)}function ci(){return ci=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},ci.apply(this,arguments)}function wse(e,t){e.prototype=Object.create(t.prototype),e.prototype.constructor=e,e.__proto__=t}function Xl(e,t){if(e==null)return{};var r={},n=Object.keys(e),i,a;for(a=0;a<n.length;a++)i=n[a],!(t.indexOf(i)>=0)&&(r[i]=e[i]);return r}function qJ(e){if(e===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return e}var VJ=function(t){return Array.isArray(t)&&t.length===0},Ga=function(t){return typeof t=="function"},p0=function(t){return t!==null&&typeof t=="object"},vMe=function(t){return String(Math.floor(Number(t)))===t},bO=function(t){return Object.prototype.toString.call(t)==="[object String]"},bse=function(t){return pe.Children.count(t)===0},TO=function(t){return p0(t)&&Ga(t.then)};function ji(e,t,r,n){n===void 0&&(n=0);for(var i=Ese(t);e&&n<i.length;)e=e[i[n++]];return e===void 0?r:e}function Ru(e,t,r){for(var n=FJ(e),i=n,a=0,o=Ese(t);a<o.length-1;a++){var u=o[a],s=ji(e,o.slice(0,a+1));if(s&&(p0(s)||Array.isArray(s)))i=i[u]=FJ(s);else{var c=o[a+1];i=i[u]=vMe(c)&&Number(c)>=0?[]:{}}}return(a===0?e:i)[o[a]]===r?e:(r===void 0?delete i[o[a]]:i[o[a]]=r,a===0&&r===void 0&&delete n[o[a]],n)}function Tse(e,t,r,n){r===void 0&&(r=new WeakMap),n===void 0&&(n={});for(var i=0,a=Object.keys(e);i<a.length;i++){var o=a[i],u=e[o];p0(u)?r.get(u)||(r.set(u,!0),n[o]=Array.isArray(u)?[]:{},Tse(u,t,r,n[o])):n[o]=t}return n}var Kp=pe.createContext(void 0);Kp.displayName="FormikContext";var pMe=Kp.Provider,gMe=Kp.Consumer;function Wk(){var e=pe.useContext(Kp);return e}function mMe(e,t){switch(t.type){case"SET_VALUES":return ci({},e,{values:t.payload});case"SET_TOUCHED":return ci({},e,{touched:t.payload});case"SET_ERRORS":return Gl(e.errors,t.payload)?e:ci({},e,{errors:t.payload});case"SET_STATUS":return ci({},e,{status:t.payload});case"SET_ISSUBMITTING":return ci({},e,{isSubmitting:t.payload});case"SET_ISVALIDATING":return ci({},e,{isValidating:t.payload});case"SET_FIELD_VALUE":return ci({},e,{values:Ru(e.values,t.payload.field,t.payload.value)});case"SET_FIELD_TOUCHED":return ci({},e,{touched:Ru(e.touched,t.payload.field,t.payload.value)});case"SET_FIELD_ERROR":return ci({},e,{errors:Ru(e.errors,t.payload.field,t.payload.value)});case"RESET_FORM":return ci({},e,t.payload);case"SET_FORMIK_STATE":return t.payload(e);case"SUBMIT_ATTEMPT":return ci({},e,{touched:Tse(e.values,!0),isSubmitting:!0,submitCount:e.submitCount+1});case"SUBMIT_FAILURE":return ci({},e,{isSubmitting:!1});case"SUBMIT_SUCCESS":return ci({},e,{isSubmitting:!1});default:return e}}var Mc={},gm={};function yMe(e){var t=e.validateOnChange,r=t===void 0?!0:t,n=e.validateOnBlur,i=n===void 0?!0:n,a=e.validateOnMount,o=a===void 0?!1:a,u=e.isInitialValid,s=e.enableReinitialize,c=s===void 0?!1:s,d=e.onSubmit,h=Xl(e,["validateOnChange","validateOnBlur","validateOnMount","isInitialValid","enableReinitialize","onSubmit"]),v=ci({validateOnChange:r,validateOnBlur:i,validateOnMount:o,onSubmit:d},h),g=pe.useRef(v.initialValues),m=pe.useRef(v.initialErrors||Mc),y=pe.useRef(v.initialTouched||gm),S=pe.useRef(v.initialStatus),w=pe.useRef(!1),b=pe.useRef({});pe.useEffect(function(){return w.current=!0,function(){w.current=!1}},[]);var A=pe.useReducer(mMe,{values:v.initialValues,errors:v.initialErrors||Mc,touched:v.initialTouched||gm,status:v.initialStatus,isSubmitting:!1,isValidating:!1,submitCount:0}),R=A[0],x=A[1],O=pe.useCallback(function(de,Ee){return new Promise(function(_e,xe){var ke=v.validate(de,Ee);ke==null?_e(Mc):TO(ke)?ke.then(function(Le){_e(Le||Mc)},function(Le){xe(Le)}):_e(ke)})},[v.validate]),_=pe.useCallback(function(de,Ee){var _e=v.validationSchema,xe=Ga(_e)?_e(Ee):_e,ke=Ee&&xe.validateAt?xe.validateAt(Ee,de):SMe(de,xe);return new Promise(function(Le,He){ke.then(function(){Le(Mc)},function(_t){_t.name==="ValidationError"?Le(_Me(_t)):He(_t)})})},[v.validationSchema]),P=pe.useCallback(function(de,Ee){return new Promise(function(_e){return _e(b.current[de].validate(Ee))})},[]),N=pe.useCallback(function(de){var Ee=Object.keys(b.current).filter(function(xe){return Ga(b.current[xe].validate)}),_e=Ee.length>0?Ee.map(function(xe){return P(xe,ji(de,xe))}):[Promise.resolve("DO_NOT_DELETE_YOU_WILL_BE_FIRED")];return Promise.all(_e).then(function(xe){return xe.reduce(function(ke,Le,He){return Le==="DO_NOT_DELETE_YOU_WILL_BE_FIRED"||Le&&(ke=Ru(ke,Ee[He],Le)),ke},{})})},[P]),U=pe.useCallback(function(de){return Promise.all([N(de),v.validationSchema?_(de):{},v.validate?O(de):{}]).then(function(Ee){var _e=Ee[0],xe=Ee[1],ke=Ee[2],Le=lP.all([_e,xe,ke],{arrayMerge:EMe});return Le})},[v.validate,v.validationSchema,N,O,_]),$=As(function(de){return de===void 0&&(de=R.values),x({type:"SET_ISVALIDATING",payload:!0}),U(de).then(function(Ee){return w.current&&(x({type:"SET_ISVALIDATING",payload:!1}),x({type:"SET_ERRORS",payload:Ee})),Ee})});pe.useEffect(function(){o&&w.current===!0&&Gl(g.current,v.initialValues)&&$(g.current)},[o,$]);var B=pe.useCallback(function(de){var Ee=de&&de.values?de.values:g.current,_e=de&&de.errors?de.errors:m.current?m.current:v.initialErrors||{},xe=de&&de.touched?de.touched:y.current?y.current:v.initialTouched||{},ke=de&&de.status?de.status:S.current?S.current:v.initialStatus;g.current=Ee,m.current=_e,y.current=xe,S.current=ke;var Le=function(){x({type:"RESET_FORM",payload:{isSubmitting:!!de&&!!de.isSubmitting,errors:_e,touched:xe,status:ke,values:Ee,isValidating:!!de&&!!de.isValidating,submitCount:de&&de.submitCount&&typeof de.submitCount=="number"?de.submitCount:0}})};if(v.onReset){var He=v.onReset(R.values,ie);TO(He)?He.then(Le):Le()}else Le()},[v.initialErrors,v.initialStatus,v.initialTouched]);pe.useEffect(function(){w.current===!0&&!Gl(g.current,v.initialValues)&&(c&&(g.current=v.initialValues,B()),o&&$(g.current))},[c,v.initialValues,B,o,$]),pe.useEffect(function(){c&&w.current===!0&&!Gl(m.current,v.initialErrors)&&(m.current=v.initialErrors||Mc,x({type:"SET_ERRORS",payload:v.initialErrors||Mc}))},[c,v.initialErrors]),pe.useEffect(function(){c&&w.current===!0&&!Gl(y.current,v.initialTouched)&&(y.current=v.initialTouched||gm,x({type:"SET_TOUCHED",payload:v.initialTouched||gm}))},[c,v.initialTouched]),pe.useEffect(function(){c&&w.current===!0&&!Gl(S.current,v.initialStatus)&&(S.current=v.initialStatus,x({type:"SET_STATUS",payload:v.initialStatus}))},[c,v.initialStatus,v.initialTouched]);var Y=As(function(de){if(b.current[de]&&Ga(b.current[de].validate)){var Ee=ji(R.values,de),_e=b.current[de].validate(Ee);return TO(_e)?(x({type:"SET_ISVALIDATING",payload:!0}),_e.then(function(xe){return xe}).then(function(xe){x({type:"SET_FIELD_ERROR",payload:{field:de,value:xe}}),x({type:"SET_ISVALIDATING",payload:!1})})):(x({type:"SET_FIELD_ERROR",payload:{field:de,value:_e}}),Promise.resolve(_e))}else if(v.validationSchema)return x({type:"SET_ISVALIDATING",payload:!0}),_(R.values,de).then(function(xe){return xe}).then(function(xe){x({type:"SET_FIELD_ERROR",payload:{field:de,value:xe[de]}}),x({type:"SET_ISVALIDATING",payload:!1})});return Promise.resolve()}),Q=pe.useCallback(function(de,Ee){var _e=Ee.validate;b.current[de]={validate:_e}},[]),K=pe.useCallback(function(de){delete b.current[de]},[]),ee=As(function(de,Ee){x({type:"SET_TOUCHED",payload:de});var _e=Ee===void 0?i:Ee;return _e?$(R.values):Promise.resolve()}),ne=pe.useCallback(function(de){x({type:"SET_ERRORS",payload:de})},[]),D=As(function(de,Ee){var _e=Ga(de)?de(R.values):de;x({type:"SET_VALUES",payload:_e});var xe=Ee===void 0?r:Ee;return xe?$(_e):Promise.resolve()}),I=pe.useCallback(function(de,Ee){x({type:"SET_FIELD_ERROR",payload:{field:de,value:Ee}})},[]),L=As(function(de,Ee,_e){x({type:"SET_FIELD_VALUE",payload:{field:de,value:Ee}});var xe=_e===void 0?r:_e;return xe?$(Ru(R.values,de,Ee)):Promise.resolve()}),re=pe.useCallback(function(de,Ee){var _e=Ee,xe=de,ke;if(!bO(de)){de.persist&&de.persist();var Le=de.target?de.target:de.currentTarget,He=Le.type,_t=Le.name,jt=Le.id,Lt=Le.value,Qe=Le.checked;Le.outerHTML;var bt=Le.options,mt=Le.multiple;_e=Ee||_t||jt,xe=/number|range/.test(He)?(ke=parseFloat(Lt),isNaN(ke)?"":ke):/checkbox/.test(He)?bMe(ji(R.values,_e),Qe,Lt):bt&&mt?wMe(bt):Lt}_e&&L(_e,xe)},[L,R.values]),te=As(function(de){if(bO(de))return function(Ee){return re(Ee,de)};re(de)}),ce=As(function(de,Ee,_e){Ee===void 0&&(Ee=!0),x({type:"SET_FIELD_TOUCHED",payload:{field:de,value:Ee}});var xe=_e===void 0?i:_e;return xe?$(R.values):Promise.resolve()}),be=pe.useCallback(function(de,Ee){de.persist&&de.persist();var _e=de.target,xe=_e.name,ke=_e.id;_e.outerHTML;var Le=Ee||xe||ke;ce(Le,!0)},[ce]),Ie=As(function(de){if(bO(de))return function(Ee){return be(Ee,de)};be(de)}),je=pe.useCallback(function(de){Ga(de)?x({type:"SET_FORMIK_STATE",payload:de}):x({type:"SET_FORMIK_STATE",payload:function(){return de}})},[]),z=pe.useCallback(function(de){x({type:"SET_STATUS",payload:de})},[]),k=pe.useCallback(function(de){x({type:"SET_ISSUBMITTING",payload:de})},[]),q=As(function(){return x({type:"SUBMIT_ATTEMPT"}),$().then(function(de){var Ee=de instanceof Error,_e=!Ee&&Object.keys(de).length===0;if(_e){var xe;try{if(xe=V(),xe===void 0)return}catch(ke){throw ke}return Promise.resolve(xe).then(function(ke){return w.current&&x({type:"SUBMIT_SUCCESS"}),ke}).catch(function(ke){if(w.current)throw x({type:"SUBMIT_FAILURE"}),ke})}else if(w.current&&(x({type:"SUBMIT_FAILURE"}),Ee))throw de})}),H=As(function(de){de&&de.preventDefault&&Ga(de.preventDefault)&&de.preventDefault(),de&&de.stopPropagation&&Ga(de.stopPropagation)&&de.stopPropagation(),q().catch(function(Ee){console.warn("Warning: An unhandled error was caught from submitForm()",Ee)})}),ie={resetForm:B,validateForm:$,validateField:Y,setErrors:ne,setFieldError:I,setFieldTouched:ce,setFieldValue:L,setStatus:z,setSubmitting:k,setTouched:ee,setValues:D,setFormikState:je,submitForm:q},V=As(function(){return d(R.values,ie)}),Z=As(function(de){de&&de.preventDefault&&Ga(de.preventDefault)&&de.preventDefault(),de&&de.stopPropagation&&Ga(de.stopPropagation)&&de.stopPropagation(),B()}),me=pe.useCallback(function(de){return{value:ji(R.values,de),error:ji(R.errors,de),touched:!!ji(R.touched,de),initialValue:ji(g.current,de),initialTouched:!!ji(y.current,de),initialError:ji(m.current,de)}},[R.errors,R.touched,R.values]),fe=pe.useCallback(function(de){return{setValue:function(_e,xe){return L(de,_e,xe)},setTouched:function(_e,xe){return ce(de,_e,xe)},setError:function(_e){return I(de,_e)}}},[L,ce,I]),Re=pe.useCallback(function(de){var Ee=p0(de),_e=Ee?de.name:de,xe=ji(R.values,_e),ke={name:_e,value:xe,onChange:te,onBlur:Ie};if(Ee){var Le=de.type,He=de.value,_t=de.as,jt=de.multiple;Le==="checkbox"?He===void 0?ke.checked=!!xe:(ke.checked=!!(Array.isArray(xe)&&~xe.indexOf(He)),ke.value=He):Le==="radio"?(ke.checked=xe===He,ke.value=He):_t==="select"&&jt&&(ke.value=ke.value||[],ke.multiple=!0)}return ke},[Ie,te,R.values]),Se=pe.useMemo(function(){return!Gl(g.current,R.values)},[g.current,R.values]),Oe=pe.useMemo(function(){return typeof u<"u"?Se?R.errors&&Object.keys(R.errors).length===0:u!==!1&&Ga(u)?u(v):u:R.errors&&Object.keys(R.errors).length===0},[u,Se,R.errors,v]),Me=ci({},R,{initialValues:g.current,initialErrors:m.current,initialTouched:y.current,initialStatus:S.current,handleBlur:Ie,handleChange:te,handleReset:Z,handleSubmit:H,resetForm:B,setErrors:ne,setFormikState:je,setFieldTouched:ce,setFieldValue:L,setFieldError:I,setStatus:z,setSubmitting:k,setTouched:ee,setValues:D,submitForm:q,validateForm:$,validateField:Y,isValid:Oe,dirty:Se,unregisterField:K,registerField:Q,getFieldProps:Re,getFieldMeta:me,getFieldHelpers:fe,validateOnBlur:i,validateOnChange:r,validateOnMount:o});return Me}function j5e(e){var t=yMe(e),r=e.component,n=e.children,i=e.render,a=e.innerRef;return pe.useImperativeHandle(a,function(){return t}),pe.createElement(pMe,{value:t},r?pe.createElement(r,t):i?i(t):n?Ga(n)?n(t):bse(n)?null:pe.Children.only(n):null)}function _Me(e){var t={};if(e.inner){if(e.inner.length===0)return Ru(t,e.path,e.message);for(var i=e.inner,r=Array.isArray(i),n=0,i=r?i:i[Symbol.iterator]();;){var a;if(r){if(n>=i.length)break;a=i[n++]}else{if(n=i.next(),n.done)break;a=n.value}var o=a;ji(t,o.path)||(t=Ru(t,o.path,o.message))}}return t}function SMe(e,t,r,n){r===void 0&&(r=!1),n===void 0&&(n={});var i=vP(e);return t[r?"validateSync":"validate"](i,{abortEarly:!1,context:n})}function vP(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||gJ(i)?vP(i):i!==""?i:void 0}):gJ(e[n])?t[n]=vP(e[n]):t[n]=e[n]!==""?e[n]:void 0}return t}function EMe(e,t,r){var n=e.slice();return t.forEach(function(a,o){if(typeof n[o]>"u"){var u=r.clone!==!1,s=u&&r.isMergeableObject(a);n[o]=s?lP(Array.isArray(a)?[]:{},a,r):a}else r.isMergeableObject(a)?n[o]=lP(e[o],a,r):e.indexOf(a)===-1&&n.push(a)}),n}function wMe(e){return Array.from(e).filter(function(t){return t.selected}).map(function(t){return t.value})}function bMe(e,t,r){if(typeof e=="boolean")return!!t;var n=[],i=!1,a=-1;if(Array.isArray(e))n=e,a=e.indexOf(r),i=a>=0;else if(!r||r=="true"||r=="false")return!!t;return t&&r&&!i?n.concat(r):i?n.slice(0,a).concat(n.slice(a+1)):n}var TMe=typeof window<"u"&&typeof window.document<"u"&&typeof window.document.createElement<"u"?pe.useLayoutEffect:pe.useEffect;function As(e){var t=pe.useRef(e);return TMe(function(){t.current=e}),pe.useCallback(function(){for(var r=arguments.length,n=new Array(r),i=0;i<r;i++)n[i]=arguments[i];return t.current.apply(void 0,n)},[])}function U5e(e){var t=e.validate,r=e.name,n=e.render,i=e.children,a=e.as,o=e.component,u=Xl(e,["validate","name","render","children","as","component"]),s=Wk(),c=Xl(s,["validate","validationSchema"]),d=c.registerField,h=c.unregisterField;pe.useEffect(function(){return d(r,{validate:t}),function(){h(r)}},[d,h,r,t]);var v=c.getFieldProps(ci({name:r},u)),g=c.getFieldMeta(r),m={field:v,form:c};if(n)return n(ci({},m,{meta:g}));if(Ga(i))return i(ci({},m,{meta:g}));if(o){if(typeof o=="string"){var y=u.innerRef,S=Xl(u,["innerRef"]);return pe.createElement(o,ci({ref:y},v,S),i)}return pe.createElement(o,ci({field:v,form:c},u),i)}var w=a||"input";if(typeof w=="string"){var b=u.innerRef,A=Xl(u,["innerRef"]);return pe.createElement(w,ci({ref:b},v,A),i)}return pe.createElement(w,ci({},v,u),i)}var RMe=pe.forwardRef(function(e,t){var r=e.action,n=Xl(e,["action"]),i=r??"#",a=Wk(),o=a.handleReset,u=a.handleSubmit;return pe.createElement("form",Object.assign({onSubmit:u,ref:t,onReset:o,action:i},n))});RMe.displayName="Form";function xMe(e){var t=function(i){return pe.createElement(gMe,null,function(a){return pe.createElement(e,Object.assign({},i,{formik:a}))})},r=e.displayName||e.name||e.constructor&&e.constructor.name||"Component";return t.WrappedComponent=e,t.displayName="FormikConnect("+r+")",Sbe(t,e)}var CMe=function(t,r,n){var i=Xd(t),a=i[r];return i.splice(r,1),i.splice(n,0,a),i},AMe=function(t,r,n){var i=Xd(t),a=i[r];return i[r]=i[n],i[n]=a,i},RO=function(t,r,n){var i=Xd(t);return i.splice(r,0,n),i},OMe=function(t,r,n){var i=Xd(t);return i[r]=n,i},Xd=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(ci({},t,{length:r+1}))}else return[]},IMe=(function(e){wse(t,e);function t(n){var i;return i=e.call(this,n)||this,i.updateArrayField=function(a,o,u){var s=i.props,c=s.name,d=s.formik.setFormikState;d(function(h){var v=typeof u=="function"?u:a,g=typeof o=="function"?o:a,m=Ru(h.values,c,a(ji(h.values,c))),y=u?v(ji(h.errors,c)):void 0,S=o?g(ji(h.touched,c)):void 0;return VJ(y)&&(y=void 0),VJ(S)&&(S=void 0),ci({},h,{values:m,errors:u?Ru(h.errors,c,y):h.errors,touched:o?Ru(h.touched,c,S):h.touched})})},i.push=function(a){return i.updateArrayField(function(o){return[].concat(Xd(o),[hMe(a)])},!1,!1)},i.handlePush=function(a){return function(){return i.push(a)}},i.swap=function(a,o){return i.updateArrayField(function(u){return AMe(u,a,o)},!0,!0)},i.handleSwap=function(a,o){return function(){return i.swap(a,o)}},i.move=function(a,o){return i.updateArrayField(function(u){return CMe(u,a,o)},!0,!0)},i.handleMove=function(a,o){return function(){return i.move(a,o)}},i.insert=function(a,o){return i.updateArrayField(function(u){return RO(u,a,o)},function(u){return RO(u,a,null)},function(u){return RO(u,a,null)})},i.handleInsert=function(a,o){return function(){return i.insert(a,o)}},i.replace=function(a,o){return i.updateArrayField(function(u){return OMe(u,a,o)},!1,!1)},i.handleReplace=function(a,o){return function(){return i.replace(a,o)}},i.unshift=function(a){var o=-1;return i.updateArrayField(function(u){var s=u?[a].concat(u):[a];return o<0&&(o=s.length),s},function(u){var s=u?[null].concat(u):[null];return o<0&&(o=s.length),s},function(u){var s=u?[null].concat(u):[null];return o<0&&(o=s.length),s}),o},i.handleUnshift=function(a){return function(){return i.unshift(a)}},i.handleRemove=function(a){return function(){return i.remove(a)}},i.handlePop=function(){return function(){return i.pop()}},i.remove=i.remove.bind(qJ(i)),i.pop=i.pop.bind(qJ(i)),i}var r=t.prototype;return r.componentDidUpdate=function(i){this.props.validateOnChange&&this.props.formik.validateOnChange&&!Gl(ji(i.formik.values,i.name),ji(this.props.formik.values,this.props.name))&&this.props.formik.validateForm(this.props.formik.values)},r.remove=function(i){var a;return this.updateArrayField(function(o){var u=o?Xd(o):[];return a||(a=u[i]),Ga(u.splice)&&u.splice(i,1),u},!0,!0),a},r.pop=function(){var i;return this.updateArrayField(function(a){var o=a;return i||(i=o&&o.pop&&o.pop()),o},!0,!0),i},r.render=function(){var i={push:this.push,pop:this.pop,swap:this.swap,move:this.move,insert:this.insert,replace:this.replace,unshift:this.unshift,remove:this.remove,handlePush:this.handlePush,handlePop:this.handlePop,handleSwap:this.handleSwap,handleMove:this.handleMove,handleInsert:this.handleInsert,handleReplace:this.handleReplace,handleUnshift:this.handleUnshift,handleRemove:this.handleRemove},a=this.props,o=a.component,u=a.render,s=a.children,c=a.name,d=a.formik,h=Xl(d,["validate","validationSchema"]),v=ci({},i,{form:h,name:c});return o?pe.createElement(o,v):u?u(v):s?typeof s=="function"?s(v):bse(s)?null:pe.Children.only(s):null},t})(pe.Component);IMe.defaultProps={validateOnChange:!0};var PMe=(function(e){wse(t,e);function t(){return e.apply(this,arguments)||this}var r=t.prototype;return r.shouldComponentUpdate=function(i){return ji(this.props.formik.errors,this.props.name)!==ji(i.formik.errors,this.props.name)||ji(this.props.formik.touched,this.props.name)!==ji(i.formik.touched,this.props.name)||Object.keys(this.props).length!==Object.keys(i).length},r.render=function(){var i=this.props,a=i.component,o=i.formik,u=i.render,s=i.children,c=i.name,d=Xl(i,["component","formik","render","children","name"]),h=ji(o.touched,c),v=ji(o.errors,c);return h&&v?u?Ga(u)?u(v):null:s?Ga(s)?s(v):null:a?pe.createElement(a,d,v):v:null},t})(pe.Component),q5e=xMe(PMe);const DMe=pe.createContext(""),up=pe.memo(function(e){const{phrase:t,namespace:r,options:n}=e,i=pe.useContext(DMe),a=r||i,o=Object.assign({escapeText:!0},n),u=gr.getPhrase(a,t,o);return j.jsx("span",{dangerouslySetInnerHTML:{__html:u}})},(e,t)=>e.namespace===t.namespace&&e.phrase===t.phrase&&Ui.isEqual(e.options,t.options));function kMe(e){var n;const[t,r]=pe.useState(!1);return pe.useEffect(()=>{var i;if(!e.isValid){r(!1);return}e.dirty||(i=e.initialStatus)!=null&&i.allowInitialSubmit?r(!0):r(!1)},[e.isValid,(n=e.initialStatus)==null?void 0:n.allowInitialSubmit,e.dirty,e.values]),pe.useEffect(()=>{e.isSubmitting&&r(!1)},[e.isSubmitting]),t}function NMe(e){const{showSpinner:t,children:r,style:n,spinnerText:i,...a}=e,o=pe.useRef(null),[{width:u,height:s},c]=pe.useState({}),[d,h]=pe.useState(t);pe.useEffect(()=>{if(!t){c({});return}const g=o.current,m=g.offsetHeight,y=g.offsetWidth;!m||!y||c({width:y,height:m})},[t]),pe.useLayoutEffect(()=>{h(t)},[t]);const v={...n};return u&&(v.width=`${u+1}px`),s&&(v.height=`${s+1}px`),j.jsx(s0,{ref:o,disabled:t,style:v,...a,children:d?j.jsxs(j.Fragment,{children:[j.jsx(Wp,{as:"span",animation:"border",role:"status",size:"sm"}),!!i&&j.jsx("span",{className:"ps-1",children:i})]}):r})}const LMe={info:"custom-toggle-info"};Rse.defaults={floatEnd:!0};function Rse(e){const{on:t,showStateWhenDisabled:r,tooltipText:n,variant:i,floatEnd:a,hideOutline:o,...u}=e;function s(...S){e.disabled||e.onClick(...S)}const c="d-inline-block align-top custom-toggle toggle-option",d=e.disabled?"disabled":"",h=o?"outline-none":"",v=LMe[i]??"",g=a?"float-end":"";let m=t?"on":"";e.disabled&&!r&&(m="");const y=`${c} ${v} ${m} ${d} ${h} ${g}`;return e.tooltipText?j.jsx(ec,{title:n,spanHack:!0,children:j.jsx(GI,{...u,role:"switch","aria-checked":`${t}`,onClick:s,className:y,children:j.jsx("span",{className:"handle"})})}):j.jsx(GI,{...u,role:"switch","aria-checked":t,onClick:s,className:y,children:j.jsx("span",{className:"handle"})})}const xse="shared.popup",ef=e=>j.jsx("div",{className:`d-flex justify-content-end align-items-center border-top pt-3 px-3 mx-n3 undo-changes-btn ${e.className??""}`,children:e.children});function Cse(e){return j.jsx(NMe,{variant:e.variant||"primary",type:e.type||"submit",disabled:e.disabled||e.showSpinner,size:e.size,className:e.className?e.className:"",onClick:()=>{var t;return(t=e.onClick)==null?void 0:t.call(e)},showSpinner:e.showSpinner,spinnerText:e.spinnerText,children:e.text?j.jsx(j.Fragment,{children:e.text}):j.jsx(up,{namespace:xse,phrase:e.isNew?"create":"save"})})}function MMe(e){const t=Wk(),r=kMe(t??{}),n=(t==null?void 0:t.isSubmitting)||e.showSpinner;function i(){return typeof e.disabled=="boolean"?e.disabled:!!t&&!r||n}return j.jsx(Cse,{...e,disabled:i(),showSpinner:n})}const $Me=e=>or.useContext(Kp)?j.jsx(MMe,{...e}):j.jsx(Cse,{...e}),FMe=e=>j.jsx(s0,{onClick:e.onClick,variant:e.variant||"link",size:e.size,className:e.className?e.className:"me-2",children:e.text?e.text:j.jsx(up,{namespace:xse,phrase:"cancel"})}),jMe=e=>j.jsx(bIe.Check,{type:"checkbox",className:e.className??"me-auto",label:e.label,id:e.id,onChange:e.onToggle,checked:e.checked}),UMe=e=>j.jsxs("div",{className:"d-flex align-items-center me-auto",children:[j.jsx(Rse,{on:e.on,onClick:e.onClick,disabled:e.disabled,tooltipText:e.tooltip}),!!e.label&&j.jsx("span",{className:"fw-semibold ms-2",children:e.label})]});ef.Submit=$Me;ef.Cancel=FMe;ef.Checkbox=jMe;ef.Toggle=UMe;const BJ="shared.shared-utils",qMe={render:(e,t={})=>{let r=document.getElementById("dialog-region");r||(r=document.createElement("div"),r.id="dialog-region",document.appendChild(r));const n=Nk.createRoot(r);function i(){var s;if(gi.isFunction((s=t.submitButtonProps)==null?void 0:s.onClick)){const c=t.submitButtonProps.onClick();if(c instanceof Promise){c.then(()=>{n.unmount()});return}}n.unmount()}function a(){var s;gi.isFunction((s=t.cancelButtonProps)==null?void 0:s.onClick)&&t.cancelButtonProps.onClick(),n.unmount()}const o={...t.submitButtonProps?t.submitButtonProps:{},onClick:()=>{i()}},u={...t.cancelButtonProps?t.cancelButtonProps:{},onClick:()=>{a()}};n.render(j.jsxs(Yoe,{title:t.title,closePopup:a,size:t.size,centered:t.centered,bodyClassName:"overflow-hidden",dialogClassName:t.dialogClassName,children:[e,!t.hideButtons&&j.jsxs(ef,{className:t.buttonContainerClassName,children:[t.cancelButtonProps&&j.jsx(ef.Cancel,{...u}),t.submitButtonProps&&j.jsx(ef.Submit,{...o})]})]}))},getDefaultSubmitButton(){return{variant:"dark",text:gr.getPhrase(BJ,"confirm")}},getDefaultCancelButton(){return{variant:"light",text:gr.getPhrase(BJ,"cancel")}}},mm=gr.encloseNamespace("shared.hooks"),VMe=()=>{const[e,t]=or.useState([]),r=$r.Radio.channel($n.SHELL);or.useEffect(()=>(e.find(s=>!s.allowAppLinks)&&r.on(Fn.NAV_IS_LOCKED,a),e.length&&window.addEventListener("beforeunload",o),()=>{r.off(Fn.NAV_IS_LOCKED,a),window.removeEventListener("beforeunload",o)}),[e]),or.useEffect(()=>{function s(){n({id:"upload",title:mm("navLockTitle"),text:mm("navLockBody"),allowAppLinks:!0})}const c=$r.Radio.channel(Cv.VIDEO_UPLOAD);return c.on(tl.FILES_ADDED,s),c.on(tl.UNLOCK_NAV,i),()=>{c.off(tl.FILES_ADDED,s),c.off(tl.UNLOCK_NAV,i)}},[]);function n(s={}){e.find(c=>c.id===s.id)||(s.allowAppLinks||r.trigger(Fn.LOCK_NAV),t([...e,s]))}function i(s){const c=e.filter(d=>d.id!==s);(c.length===0||!c.find(d=>!d.allowAppLinks))&&r.trigger(Fn.UNLOCK_NAV),t(c)}function a(s){var d;if(!e.length)return;const c=e.find(h=>!h.allowAppLinks);if((d=c.appLinkWhitelist)!=null&&d.find(h=>h.action===s.action&&h.application===s.application)){r.trigger(Fn.UNLOCK_NAV),window.setTimeout(()=>{Kn.trigger(s),r.trigger(Fn.LOCK_NAV)},0);return}if(gi.isFunction(c.renderCustomDialog)){c.renderCustomDialog();return}qMe.render(j.jsx("p",{children:c.text}),{title:c.title,submitButtonProps:{onClick:()=>{c.onConfirmUnlock&&c.onConfirmUnlock(),u(s)},variant:"danger",text:mm("discard")},cancelButtonProps:{text:mm("cancel"),variant:"link"}})}function o(s){let c=e.find(d=>d.allowAppLinks);return c||(c=Qa.first(e)),s.returnValue=c.text,c.text}function u(s){r.trigger(Fn.NAV_UNLOCKED_BY_USER),e.forEach(c=>{c.allowAppLinks||i(c.id)}),window.removeEventListener("beforeunload",o),Kn.trigger(s)}return{lock:n,unlock:i}};function BMe(){function e(r){r.key==="Tab"&&(document.body.classList.add("user-is-tabbing"),window.removeEventListener("keydown",e),window.addEventListener("mousedown",t))}function t(){document.body.classList.remove("user-is-tabbing"),window.removeEventListener("mousedown",t),window.addEventListener("keydown",e)}pe.useEffect(()=>(window.addEventListener("keydown",e),()=>window.removeEventListener("keydown",e)),[])}function HMe(){const e=Ii(of.version());return e.data?j.jsx("footer",{className:"text-center text-secondary py-2",children:j.jsxs("small",{children:["2003 - ",new Date().getFullYear()," © ClickView | Version: ",e.data]})}):j.jsx(j.Fragment,{})}var Gk=(e=>(e.UPDATE="UPDATE_VIEW_MODEL",e))(Gk||{});function zMe(e){return e?e===Js.SessionStorage?gy:da:null}const ba=(e,t,r)=>{const n=zMe(r==null?void 0:r.storage);let i=n==null?void 0:n.get(e);const a=Nf(),o=K_(h=>h.viewModelData[e]);(i==="undefined"||i==="null")&&(i=null);function u(){return i!=null}const s=(t!==void 0||u())&&o===void 0;or.useEffect(()=>{if(s){if(u()){c(i);return}c(t);return}},[]);function c(h,v){n&&d(h,v),a({type:Gk.UPDATE,payload:{viewModelKey:e,dataOrKey:h,keyData:v}})}function d(h,v){if(!n)return;const g=n.get(e);if(typeof h=="string"&&v!==void 0){n.set(e,{...g,[h]:v});return}n.set(e,h)}return s?u()?[i,c]:[t,c]:[o??void 0,c]},jv={updateParams(e,t){const{appLink:r}=pc.getCurrentRoute();let n=typeof r.params=="string"?Yn.DeserializeQueryParams(r.params):r.params;t.keysToRemove&&(n=Ui.omit(n,t.keysToRemove));const i=t!=null&&t.merge?{...n,...e}:e,a={...r,params:i};Ui.isEqual(r,a)||Kn.trigger(a,Ui.omit(t,["merge","keysToRemove"]))}},WMe="shared.analyticsUtils",Ya=gr.encloseNamespace(WMe);function HJ(e){const t=Cn.convertDateToUTC(e);return Cn.format(t,"YYYY-MM-DDTHH:mm:ss")}function lp(){return new Date(2021,0,1)}function pP(){return new Date}function Ase(e){return e.find(t=>!!t.default)}function Yk(e,t){return t?e.find(n=>n.name===t):void 0}function Ry(){const e=lp(),t=new Date().getFullYear(),r=t===e.getFullYear();return[{name:Ya("today"),startDate:new Date,endDate:new Date},{name:Ya("thisMonth"),startDate:new Date(t,new Date().getMonth(),1),endDate:new Date},{name:Ya("lastThreeMonths"),startDate:new Date(t,new Date().getMonth()-2,1),endDate:new Date},{name:Ya("lastSixMonths"),startDate:new Date(t,new Date().getMonth()-5,1),endDate:new Date},{name:Ya("lastTwelveMonths"),startDate:new Date(t,new Date().getMonth()-11,1),endDate:new Date,default:!0},{name:Ya("thisYear"),startDate:new Date(t,0,1),endDate:new Date},{name:Ya("lastYear"),startDate:new Date(t-1,0,1),endDate:new Date(t,0,0),disabled:r,tooltip:r?Ya("lastYearDisabled"):""}]}function V5e(){const e=lp(),t=new Date().getFullYear(),r=t===e.getFullYear();return[{name:Ya("today"),startDate:new Date,endDate:new Date},{name:Ya("thisMonth"),startDate:new Date(t,new Date().getMonth(),1),endDate:new Date},{name:Ya("lastThreeMonths"),startDate:new Date(t,new Date().getMonth()-2,1),endDate:new Date},{name:Ya("lastSixMonths"),startDate:new Date(t,new Date().getMonth()-5,1),endDate:new Date},{name:Ya("thisYear"),startDate:new Date(t,0,1),endDate:new Date},{name:Ya("lastYear"),startDate:new Date(t-1,0,1),endDate:new Date(t,0,0),disabled:r,tooltip:r?Ya("lastYearDisabled"):""},{name:Ya("allTime"),startDate:Cn.subtract(new Date,5,"years"),endDate:new Date,default:!0}]}function kd(e){return Cn.format(e,"YYYY-MM-DD")}function Km(e){return e.name?{rangeName:e.name}:{from:kd(e.startDate),to:kd(e.endDate)}}function GMe(e,t){const{to:r,from:n,rangeName:i}=t,a=Yk(e,i);if(a){if(!n&&!r)return a;jv.updateParams(Km(a),{replace:!0,merge:!0,keysToRemove:["from","to"]});return}const o=Ase(e);if(!n||!r||!Cn.isValid(n)||!Cn.isValid(r)){jv.updateParams(Km(o),{replace:!0,merge:!0,keysToRemove:["rangeName"]});return}let u=!0,s=Cn.convertDateToUTC(new Date(n)),c=Cn.convertDateToUTC(new Date(r));Cn.isBefore(s,lp(),"day")&&(s=lp(),u=!1),Cn.isAfter(c,pP(),"day")&&(c=pP(),u=!1),Cn.isAfter(s,c)&&(s=o.startDate,c=o.endDate,u=!1);const d={startDate:s,endDate:c,name:u?i||"custom":""};if(u)return d;jv.updateParams(Km(d),{replace:!0,merge:!0,keysToRemove:["rangeName"]})}function gP(e,t){const r=o=>HJ(Cn.startOf(o,"day")),n=o=>HJ(Cn.endOf(o,"day")),i=Yk(e,t.rangeName);if(i)return{start:r(kd(i.startDate)),end:n(kd(i.endDate))};if(t.from&&t.to)return{start:r(t.from),end:n(t.to)};const a=Ase(e);return{start:r(kd(a.startDate)),end:n(kd(a.endDate))}}function Qd(e){"@babel/helpers - typeof";return Qd=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(t){return typeof t}:function(t){return t&&typeof Symbol=="function"&&t.constructor===Symbol&&t!==Symbol.prototype?"symbol":typeof t},Qd(e)}function Ta(e){if(e===null||e===!0||e===!1)return NaN;var t=Number(e);return isNaN(t)?t:t<0?Math.ceil(t):Math.floor(t)}function Fr(e,t){if(t.length<e)throw new TypeError(e+" argument"+(e>1?"s":"")+" required, but only "+t.length+" present")}function hn(e){Fr(1,arguments);var t=Object.prototype.toString.call(e);return e instanceof Date||Qd(e)==="object"&&t==="[object Date]"?new Date(e.getTime()):typeof e=="number"||t==="[object Number]"?new Date(e):((typeof e=="string"||t==="[object String]")&&typeof console<"u"&&(console.warn("Starting with v2.0.0-beta.1 date-fns doesn't accept strings as date arguments. Please use `parseISO` to parse strings. See: https://github.com/date-fns/date-fns/blob/master/docs/upgradeGuide.md#string-arguments"),console.warn(new Error().stack)),new Date(NaN))}function fo(e,t){Fr(2,arguments);var r=hn(e),n=Ta(t);return isNaN(n)?new Date(NaN):(n&&r.setDate(r.getDate()+n),r)}function eu(e,t){Fr(2,arguments);var r=hn(e),n=Ta(t);if(isNaN(n))return new Date(NaN);if(!n)return r;var i=r.getDate(),a=new Date(r.getTime());a.setMonth(r.getMonth()+n+1,0);var o=a.getDate();return i>=o?a:(r.setFullYear(a.getFullYear(),a.getMonth(),i),r)}function YMe(e,t){Fr(2,arguments);var r=hn(e).getTime(),n=Ta(t);return new Date(r+n)}var KMe={};function mc(){return KMe}function Cu(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=hn(e),g=v.getDay(),m=(g<h?7:0)+g-h;return v.setDate(v.getDate()-m),v.setHours(0,0,0,0),v}function cf(e){return Fr(1,arguments),Cu(e,{weekStartsOn:1})}function XMe(e){Fr(1,arguments);var t=hn(e),r=t.getFullYear(),n=new Date(0);n.setFullYear(r+1,0,4),n.setHours(0,0,0,0);var i=cf(n),a=new Date(0);a.setFullYear(r,0,4),a.setHours(0,0,0,0);var o=cf(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function QMe(e){Fr(1,arguments);var t=XMe(e),r=new Date(0);r.setFullYear(t,0,4),r.setHours(0,0,0,0);var n=cf(r);return n}function cp(e){var t=new Date(Date.UTC(e.getFullYear(),e.getMonth(),e.getDate(),e.getHours(),e.getMinutes(),e.getSeconds(),e.getMilliseconds()));return t.setUTCFullYear(e.getFullYear()),e.getTime()-t.getTime()}function Jd(e){Fr(1,arguments);var t=hn(e);return t.setHours(0,0,0,0),t}var JMe=864e5;function nl(e,t){Fr(2,arguments);var r=Jd(e),n=Jd(t),i=r.getTime()-cp(r),a=n.getTime()-cp(n);return Math.round((i-a)/JMe)}function mP(e,t){Fr(2,arguments);var r=Ta(t),n=r*7;return fo(e,n)}function ZMe(e,t){Fr(2,arguments);var r=Ta(t);return eu(e,r*12)}function e$e(e){Fr(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Qd(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var r;return t.forEach(function(n){var i=hn(n);(r===void 0||r<i||isNaN(Number(i)))&&(r=i)}),r||new Date(NaN)}function t$e(e){Fr(1,arguments);var t;if(e&&typeof e.forEach=="function")t=e;else if(Qd(e)==="object"&&e!==null)t=Array.prototype.slice.call(e);else return new Date(NaN);var r;return t.forEach(function(n){var i=hn(n);(r===void 0||r>i||isNaN(i.getDate()))&&(r=i)}),r||new Date(NaN)}function Mo(e,t){Fr(2,arguments);var r=Jd(e),n=Jd(t);return r.getTime()===n.getTime()}function Kk(e){return Fr(1,arguments),e instanceof Date||Qd(e)==="object"&&Object.prototype.toString.call(e)==="[object Date]"}function r$e(e){if(Fr(1,arguments),!Kk(e)&&typeof e!="number")return!1;var t=hn(e);return!isNaN(Number(t))}function fp(e,t){Fr(2,arguments);var r=hn(e),n=hn(t),i=r.getFullYear()-n.getFullYear(),a=r.getMonth()-n.getMonth();return i*12+a}var n$e=6048e5;function i$e(e,t,r){Fr(2,arguments);var n=Cu(e,r),i=Cu(t,r),a=n.getTime()-cp(n),o=i.getTime()-cp(i);return Math.round((a-o)/n$e)}function Xk(e){Fr(1,arguments);var t=hn(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(23,59,59,999),t}function Fo(e){Fr(1,arguments);var t=hn(e);return t.setDate(1),t.setHours(0,0,0,0),t}function a$e(e){Fr(1,arguments);var t=hn(e),r=new Date(0);return r.setFullYear(t.getFullYear(),0,1),r.setHours(0,0,0,0),r}function Qk(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=hn(e),g=v.getDay(),m=(g<h?-7:0)+6-(g-h);return v.setDate(v.getDate()+m),v.setHours(23,59,59,999),v}function Ose(e){return Fr(1,arguments),Qk(e,{weekStartsOn:1})}function o$e(e,t){Fr(2,arguments);var r=Ta(t);return YMe(e,-r)}var s$e=864e5;function u$e(e){Fr(1,arguments);var t=hn(e),r=t.getTime();t.setUTCMonth(0,1),t.setUTCHours(0,0,0,0);var n=t.getTime(),i=r-n;return Math.floor(i/s$e)+1}function xy(e){Fr(1,arguments);var t=1,r=hn(e),n=r.getUTCDay(),i=(n<t?7:0)+n-t;return r.setUTCDate(r.getUTCDate()-i),r.setUTCHours(0,0,0,0),r}function Ise(e){Fr(1,arguments);var t=hn(e),r=t.getUTCFullYear(),n=new Date(0);n.setUTCFullYear(r+1,0,4),n.setUTCHours(0,0,0,0);var i=xy(n),a=new Date(0);a.setUTCFullYear(r,0,4),a.setUTCHours(0,0,0,0);var o=xy(a);return t.getTime()>=i.getTime()?r+1:t.getTime()>=o.getTime()?r:r-1}function l$e(e){Fr(1,arguments);var t=Ise(e),r=new Date(0);r.setUTCFullYear(t,0,4),r.setUTCHours(0,0,0,0);var n=xy(r);return n}var c$e=6048e5;function f$e(e){Fr(1,arguments);var t=hn(e),r=xy(t).getTime()-l$e(t).getTime();return Math.round(r/c$e)+1}function Cy(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.weekStartsOn)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.weekStartsOn)!==null&&i!==void 0?i:d.weekStartsOn)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.weekStartsOn)!==null&&r!==void 0?r:0);if(!(h>=0&&h<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");var v=hn(e),g=v.getUTCDay(),m=(g<h?7:0)+g-h;return v.setUTCDate(v.getUTCDate()-m),v.setUTCHours(0,0,0,0),v}function Pse(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=hn(e),h=d.getUTCFullYear(),v=mc(),g=Ta((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:v.firstWeekContainsDate)!==null&&n!==void 0?n:(s=v.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setUTCFullYear(h+1,0,g),m.setUTCHours(0,0,0,0);var y=Cy(m,t),S=new Date(0);S.setUTCFullYear(h,0,g),S.setUTCHours(0,0,0,0);var w=Cy(S,t);return d.getTime()>=y.getTime()?h+1:d.getTime()>=w.getTime()?h:h-1}function d$e(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),v=Pse(e,t),g=new Date(0);g.setUTCFullYear(v,0,h),g.setUTCHours(0,0,0,0);var m=Cy(g,t);return m}var h$e=6048e5;function v$e(e,t){Fr(1,arguments);var r=hn(e),n=Cy(r,t).getTime()-d$e(r,t).getTime();return Math.round(n/h$e)+1}function Gn(e,t){for(var r=e<0?"-":"",n=Math.abs(e).toString();n.length<t;)n="0"+n;return r+n}var Fl={y:function(t,r){var n=t.getUTCFullYear(),i=n>0?n:1-n;return Gn(r==="yy"?i%100:i,r.length)},M:function(t,r){var n=t.getUTCMonth();return r==="M"?String(n+1):Gn(n+1,2)},d:function(t,r){return Gn(t.getUTCDate(),r.length)},a:function(t,r){var n=t.getUTCHours()/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.toUpperCase();case"aaa":return n;case"aaaaa":return n[0];case"aaaa":default:return n==="am"?"a.m.":"p.m."}},h:function(t,r){return Gn(t.getUTCHours()%12||12,r.length)},H:function(t,r){return Gn(t.getUTCHours(),r.length)},m:function(t,r){return Gn(t.getUTCMinutes(),r.length)},s:function(t,r){return Gn(t.getUTCSeconds(),r.length)},S:function(t,r){var n=r.length,i=t.getUTCMilliseconds(),a=Math.floor(i*Math.pow(10,n-3));return Gn(a,r.length)}},Ed={midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},p$e={G:function(t,r,n){var i=t.getUTCFullYear()>0?1:0;switch(r){case"G":case"GG":case"GGG":return n.era(i,{width:"abbreviated"});case"GGGGG":return n.era(i,{width:"narrow"});case"GGGG":default:return n.era(i,{width:"wide"})}},y:function(t,r,n){if(r==="yo"){var i=t.getUTCFullYear(),a=i>0?i:1-i;return n.ordinalNumber(a,{unit:"year"})}return Fl.y(t,r)},Y:function(t,r,n,i){var a=Pse(t,i),o=a>0?a:1-a;if(r==="YY"){var u=o%100;return Gn(u,2)}return r==="Yo"?n.ordinalNumber(o,{unit:"year"}):Gn(o,r.length)},R:function(t,r){var n=Ise(t);return Gn(n,r.length)},u:function(t,r){var n=t.getUTCFullYear();return Gn(n,r.length)},Q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"Q":return String(i);case"QQ":return Gn(i,2);case"Qo":return n.ordinalNumber(i,{unit:"quarter"});case"QQQ":return n.quarter(i,{width:"abbreviated",context:"formatting"});case"QQQQQ":return n.quarter(i,{width:"narrow",context:"formatting"});case"QQQQ":default:return n.quarter(i,{width:"wide",context:"formatting"})}},q:function(t,r,n){var i=Math.ceil((t.getUTCMonth()+1)/3);switch(r){case"q":return String(i);case"qq":return Gn(i,2);case"qo":return n.ordinalNumber(i,{unit:"quarter"});case"qqq":return n.quarter(i,{width:"abbreviated",context:"standalone"});case"qqqqq":return n.quarter(i,{width:"narrow",context:"standalone"});case"qqqq":default:return n.quarter(i,{width:"wide",context:"standalone"})}},M:function(t,r,n){var i=t.getUTCMonth();switch(r){case"M":case"MM":return Fl.M(t,r);case"Mo":return n.ordinalNumber(i+1,{unit:"month"});case"MMM":return n.month(i,{width:"abbreviated",context:"formatting"});case"MMMMM":return n.month(i,{width:"narrow",context:"formatting"});case"MMMM":default:return n.month(i,{width:"wide",context:"formatting"})}},L:function(t,r,n){var i=t.getUTCMonth();switch(r){case"L":return String(i+1);case"LL":return Gn(i+1,2);case"Lo":return n.ordinalNumber(i+1,{unit:"month"});case"LLL":return n.month(i,{width:"abbreviated",context:"standalone"});case"LLLLL":return n.month(i,{width:"narrow",context:"standalone"});case"LLLL":default:return n.month(i,{width:"wide",context:"standalone"})}},w:function(t,r,n,i){var a=v$e(t,i);return r==="wo"?n.ordinalNumber(a,{unit:"week"}):Gn(a,r.length)},I:function(t,r,n){var i=f$e(t);return r==="Io"?n.ordinalNumber(i,{unit:"week"}):Gn(i,r.length)},d:function(t,r,n){return r==="do"?n.ordinalNumber(t.getUTCDate(),{unit:"date"}):Fl.d(t,r)},D:function(t,r,n){var i=u$e(t);return r==="Do"?n.ordinalNumber(i,{unit:"dayOfYear"}):Gn(i,r.length)},E:function(t,r,n){var i=t.getUTCDay();switch(r){case"E":case"EE":case"EEE":return n.day(i,{width:"abbreviated",context:"formatting"});case"EEEEE":return n.day(i,{width:"narrow",context:"formatting"});case"EEEEEE":return n.day(i,{width:"short",context:"formatting"});case"EEEE":default:return n.day(i,{width:"wide",context:"formatting"})}},e:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"e":return String(o);case"ee":return Gn(o,2);case"eo":return n.ordinalNumber(o,{unit:"day"});case"eee":return n.day(a,{width:"abbreviated",context:"formatting"});case"eeeee":return n.day(a,{width:"narrow",context:"formatting"});case"eeeeee":return n.day(a,{width:"short",context:"formatting"});case"eeee":default:return n.day(a,{width:"wide",context:"formatting"})}},c:function(t,r,n,i){var a=t.getUTCDay(),o=(a-i.weekStartsOn+8)%7||7;switch(r){case"c":return String(o);case"cc":return Gn(o,r.length);case"co":return n.ordinalNumber(o,{unit:"day"});case"ccc":return n.day(a,{width:"abbreviated",context:"standalone"});case"ccccc":return n.day(a,{width:"narrow",context:"standalone"});case"cccccc":return n.day(a,{width:"short",context:"standalone"});case"cccc":default:return n.day(a,{width:"wide",context:"standalone"})}},i:function(t,r,n){var i=t.getUTCDay(),a=i===0?7:i;switch(r){case"i":return String(a);case"ii":return Gn(a,r.length);case"io":return n.ordinalNumber(a,{unit:"day"});case"iii":return n.day(i,{width:"abbreviated",context:"formatting"});case"iiiii":return n.day(i,{width:"narrow",context:"formatting"});case"iiiiii":return n.day(i,{width:"short",context:"formatting"});case"iiii":default:return n.day(i,{width:"wide",context:"formatting"})}},a:function(t,r,n){var i=t.getUTCHours(),a=i/12>=1?"pm":"am";switch(r){case"a":case"aa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"aaa":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"aaaaa":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"aaaa":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},b:function(t,r,n){var i=t.getUTCHours(),a;switch(i===12?a=Ed.noon:i===0?a=Ed.midnight:a=i/12>=1?"pm":"am",r){case"b":case"bb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"bbb":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"}).toLowerCase();case"bbbbb":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"bbbb":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},B:function(t,r,n){var i=t.getUTCHours(),a;switch(i>=17?a=Ed.evening:i>=12?a=Ed.afternoon:i>=4?a=Ed.morning:a=Ed.night,r){case"B":case"BB":case"BBB":return n.dayPeriod(a,{width:"abbreviated",context:"formatting"});case"BBBBB":return n.dayPeriod(a,{width:"narrow",context:"formatting"});case"BBBB":default:return n.dayPeriod(a,{width:"wide",context:"formatting"})}},h:function(t,r,n){if(r==="ho"){var i=t.getUTCHours()%12;return i===0&&(i=12),n.ordinalNumber(i,{unit:"hour"})}return Fl.h(t,r)},H:function(t,r,n){return r==="Ho"?n.ordinalNumber(t.getUTCHours(),{unit:"hour"}):Fl.H(t,r)},K:function(t,r,n){var i=t.getUTCHours()%12;return r==="Ko"?n.ordinalNumber(i,{unit:"hour"}):Gn(i,r.length)},k:function(t,r,n){var i=t.getUTCHours();return i===0&&(i=24),r==="ko"?n.ordinalNumber(i,{unit:"hour"}):Gn(i,r.length)},m:function(t,r,n){return r==="mo"?n.ordinalNumber(t.getUTCMinutes(),{unit:"minute"}):Fl.m(t,r)},s:function(t,r,n){return r==="so"?n.ordinalNumber(t.getUTCSeconds(),{unit:"second"}):Fl.s(t,r)},S:function(t,r){return Fl.S(t,r)},X:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();if(o===0)return"Z";switch(r){case"X":return WJ(o);case"XXXX":case"XX":return jc(o);case"XXXXX":case"XXX":default:return jc(o,":")}},x:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"x":return WJ(o);case"xxxx":case"xx":return jc(o);case"xxxxx":case"xxx":default:return jc(o,":")}},O:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"O":case"OO":case"OOO":return"GMT"+zJ(o,":");case"OOOO":default:return"GMT"+jc(o,":")}},z:function(t,r,n,i){var a=i._originalDate||t,o=a.getTimezoneOffset();switch(r){case"z":case"zz":case"zzz":return"GMT"+zJ(o,":");case"zzzz":default:return"GMT"+jc(o,":")}},t:function(t,r,n,i){var a=i._originalDate||t,o=Math.floor(a.getTime()/1e3);return Gn(o,r.length)},T:function(t,r,n,i){var a=i._originalDate||t,o=a.getTime();return Gn(o,r.length)}};function zJ(e,t){var r=e>0?"-":"+",n=Math.abs(e),i=Math.floor(n/60),a=n%60;if(a===0)return r+String(i);var o=t;return r+String(i)+o+Gn(a,2)}function WJ(e,t){if(e%60===0){var r=e>0?"-":"+";return r+Gn(Math.abs(e)/60,2)}return jc(e,t)}function jc(e,t){var r=t||"",n=e>0?"-":"+",i=Math.abs(e),a=Gn(Math.floor(i/60),2),o=Gn(i%60,2);return n+a+r+o}var GJ=function(t,r){switch(t){case"P":return r.date({width:"short"});case"PP":return r.date({width:"medium"});case"PPP":return r.date({width:"long"});case"PPPP":default:return r.date({width:"full"})}},Dse=function(t,r){switch(t){case"p":return r.time({width:"short"});case"pp":return r.time({width:"medium"});case"ppp":return r.time({width:"long"});case"pppp":default:return r.time({width:"full"})}},g$e=function(t,r){var n=t.match(/(P+)(p+)?/)||[],i=n[1],a=n[2];if(!a)return GJ(t,r);var o;switch(i){case"P":o=r.dateTime({width:"short"});break;case"PP":o=r.dateTime({width:"medium"});break;case"PPP":o=r.dateTime({width:"long"});break;case"PPPP":default:o=r.dateTime({width:"full"});break}return o.replace("{{date}}",GJ(i,r)).replace("{{time}}",Dse(a,r))},m$e={p:Dse,P:g$e},y$e=["D","DD"],_$e=["YY","YYYY"];function S$e(e){return y$e.indexOf(e)!==-1}function E$e(e){return _$e.indexOf(e)!==-1}function YJ(e,t,r){if(e==="YYYY")throw new RangeError("Use `yyyy` instead of `YYYY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="YY")throw new RangeError("Use `yy` instead of `YY` (in `".concat(t,"`) for formatting years to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="D")throw new RangeError("Use `d` instead of `D` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"));if(e==="DD")throw new RangeError("Use `dd` instead of `DD` (in `".concat(t,"`) for formatting days of the month to the input `").concat(r,"`; see: https://github.com/date-fns/date-fns/blob/master/docs/unicodeTokens.md"))}var w$e={lessThanXSeconds:{one:"less than a second",other:"less than {{count}} seconds"},xSeconds:{one:"1 second",other:"{{count}} seconds"},halfAMinute:"half a minute",lessThanXMinutes:{one:"less than a minute",other:"less than {{count}} minutes"},xMinutes:{one:"1 minute",other:"{{count}} minutes"},aboutXHours:{one:"about 1 hour",other:"about {{count}} hours"},xHours:{one:"1 hour",other:"{{count}} hours"},xDays:{one:"1 day",other:"{{count}} days"},aboutXWeeks:{one:"about 1 week",other:"about {{count}} weeks"},xWeeks:{one:"1 week",other:"{{count}} weeks"},aboutXMonths:{one:"about 1 month",other:"about {{count}} months"},xMonths:{one:"1 month",other:"{{count}} months"},aboutXYears:{one:"about 1 year",other:"about {{count}} years"},xYears:{one:"1 year",other:"{{count}} years"},overXYears:{one:"over 1 year",other:"over {{count}} years"},almostXYears:{one:"almost 1 year",other:"almost {{count}} years"}},b$e=function(t,r,n){var i,a=w$e[t];return typeof a=="string"?i=a:r===1?i=a.one:i=a.other.replace("{{count}}",r.toString()),n!=null&&n.addSuffix?n.comparison&&n.comparison>0?"in "+i:i+" ago":i};function xO(e){return function(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:{},r=t.width?String(t.width):e.defaultWidth,n=e.formats[r]||e.formats[e.defaultWidth];return n}}var T$e={full:"EEEE, MMMM do, y",long:"MMMM do, y",medium:"MMM d, y",short:"MM/dd/yyyy"},R$e={full:"h:mm:ss a zzzz",long:"h:mm:ss a z",medium:"h:mm:ss a",short:"h:mm a"},x$e={full:"{{date}} 'at' {{time}}",long:"{{date}} 'at' {{time}}",medium:"{{date}}, {{time}}",short:"{{date}}, {{time}}"},C$e={date:xO({formats:T$e,defaultWidth:"full"}),time:xO({formats:R$e,defaultWidth:"full"}),dateTime:xO({formats:x$e,defaultWidth:"full"})},A$e={lastWeek:"'last' eeee 'at' p",yesterday:"'yesterday at' p",today:"'today at' p",tomorrow:"'tomorrow at' p",nextWeek:"eeee 'at' p",other:"P"},O$e=function(t,r,n,i){return A$e[t]};function fv(e){return function(t,r){var n=r!=null&&r.context?String(r.context):"standalone",i;if(n==="formatting"&&e.formattingValues){var a=e.defaultFormattingWidth||e.defaultWidth,o=r!=null&&r.width?String(r.width):a;i=e.formattingValues[o]||e.formattingValues[a]}else{var u=e.defaultWidth,s=r!=null&&r.width?String(r.width):e.defaultWidth;i=e.values[s]||e.values[u]}var c=e.argumentCallback?e.argumentCallback(t):t;return i[c]}}var I$e={narrow:["B","A"],abbreviated:["BC","AD"],wide:["Before Christ","Anno Domini"]},P$e={narrow:["1","2","3","4"],abbreviated:["Q1","Q2","Q3","Q4"],wide:["1st quarter","2nd quarter","3rd quarter","4th quarter"]},D$e={narrow:["J","F","M","A","M","J","J","A","S","O","N","D"],abbreviated:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],wide:["January","February","March","April","May","June","July","August","September","October","November","December"]},k$e={narrow:["S","M","T","W","T","F","S"],short:["Su","Mo","Tu","We","Th","Fr","Sa"],abbreviated:["Sun","Mon","Tue","Wed","Thu","Fri","Sat"],wide:["Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday"]},N$e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"morning",afternoon:"afternoon",evening:"evening",night:"night"}},L$e={narrow:{am:"a",pm:"p",midnight:"mi",noon:"n",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},abbreviated:{am:"AM",pm:"PM",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"},wide:{am:"a.m.",pm:"p.m.",midnight:"midnight",noon:"noon",morning:"in the morning",afternoon:"in the afternoon",evening:"in the evening",night:"at night"}},M$e=function(t,r){var n=Number(t),i=n%100;if(i>20||i<10)switch(i%10){case 1:return n+"st";case 2:return n+"nd";case 3:return n+"rd"}return n+"th"},$$e={ordinalNumber:M$e,era:fv({values:I$e,defaultWidth:"wide"}),quarter:fv({values:P$e,defaultWidth:"wide",argumentCallback:function(t){return t-1}}),month:fv({values:D$e,defaultWidth:"wide"}),day:fv({values:k$e,defaultWidth:"wide"}),dayPeriod:fv({values:N$e,defaultWidth:"wide",formattingValues:L$e,defaultFormattingWidth:"wide"})};function dv(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=r.width,i=n&&e.matchPatterns[n]||e.matchPatterns[e.defaultMatchWidth],a=t.match(i);if(!a)return null;var o=a[0],u=n&&e.parsePatterns[n]||e.parsePatterns[e.defaultParseWidth],s=Array.isArray(u)?j$e(u,function(h){return h.test(o)}):F$e(u,function(h){return h.test(o)}),c;c=e.valueCallback?e.valueCallback(s):s,c=r.valueCallback?r.valueCallback(c):c;var d=t.slice(o.length);return{value:c,rest:d}}}function F$e(e,t){for(var r in e)if(e.hasOwnProperty(r)&&t(e[r]))return r}function j$e(e,t){for(var r=0;r<e.length;r++)if(t(e[r]))return r}function U$e(e){return function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},n=t.match(e.matchPattern);if(!n)return null;var i=n[0],a=t.match(e.parsePattern);if(!a)return null;var o=e.valueCallback?e.valueCallback(a[0]):a[0];o=r.valueCallback?r.valueCallback(o):o;var u=t.slice(i.length);return{value:o,rest:u}}}var q$e=/^(\d+)(th|st|nd|rd)?/i,V$e=/\d+/i,B$e={narrow:/^(b|a)/i,abbreviated:/^(b\.?\s?c\.?|b\.?\s?c\.?\s?e\.?|a\.?\s?d\.?|c\.?\s?e\.?)/i,wide:/^(before christ|before common era|anno domini|common era)/i},H$e={any:[/^b/i,/^(a|c)/i]},z$e={narrow:/^[1234]/i,abbreviated:/^q[1234]/i,wide:/^[1234](th|st|nd|rd)? quarter/i},W$e={any:[/1/i,/2/i,/3/i,/4/i]},G$e={narrow:/^[jfmasond]/i,abbreviated:/^(jan|feb|mar|apr|may|jun|jul|aug|sep|oct|nov|dec)/i,wide:/^(january|february|march|april|may|june|july|august|september|october|november|december)/i},Y$e={narrow:[/^j/i,/^f/i,/^m/i,/^a/i,/^m/i,/^j/i,/^j/i,/^a/i,/^s/i,/^o/i,/^n/i,/^d/i],any:[/^ja/i,/^f/i,/^mar/i,/^ap/i,/^may/i,/^jun/i,/^jul/i,/^au/i,/^s/i,/^o/i,/^n/i,/^d/i]},K$e={narrow:/^[smtwf]/i,short:/^(su|mo|tu|we|th|fr|sa)/i,abbreviated:/^(sun|mon|tue|wed|thu|fri|sat)/i,wide:/^(sunday|monday|tuesday|wednesday|thursday|friday|saturday)/i},X$e={narrow:[/^s/i,/^m/i,/^t/i,/^w/i,/^t/i,/^f/i,/^s/i],any:[/^su/i,/^m/i,/^tu/i,/^w/i,/^th/i,/^f/i,/^sa/i]},Q$e={narrow:/^(a|p|mi|n|(in the|at) (morning|afternoon|evening|night))/i,any:/^([ap]\.?\s?m\.?|midnight|noon|(in the|at) (morning|afternoon|evening|night))/i},J$e={any:{am:/^a/i,pm:/^p/i,midnight:/^mi/i,noon:/^no/i,morning:/morning/i,afternoon:/afternoon/i,evening:/evening/i,night:/night/i}},Z$e={ordinalNumber:U$e({matchPattern:q$e,parsePattern:V$e,valueCallback:function(t){return parseInt(t,10)}}),era:dv({matchPatterns:B$e,defaultMatchWidth:"wide",parsePatterns:H$e,defaultParseWidth:"any"}),quarter:dv({matchPatterns:z$e,defaultMatchWidth:"wide",parsePatterns:W$e,defaultParseWidth:"any",valueCallback:function(t){return t+1}}),month:dv({matchPatterns:G$e,defaultMatchWidth:"wide",parsePatterns:Y$e,defaultParseWidth:"any"}),day:dv({matchPatterns:K$e,defaultMatchWidth:"wide",parsePatterns:X$e,defaultParseWidth:"any"}),dayPeriod:dv({matchPatterns:Q$e,defaultMatchWidth:"any",parsePatterns:J$e,defaultParseWidth:"any"})},kse={code:"en-US",formatDistance:b$e,formatLong:C$e,formatRelative:O$e,localize:$$e,match:Z$e,options:{weekStartsOn:0,firstWeekContainsDate:1}},eFe=/[yYQqMLwIdDecihHKkms]o|(\w)\1*|''|'(''|[^'])+('|$)|./g,tFe=/P+p+|P+|p+|''|'(''|[^'])+('|$)|./g,rFe=/^'([^]*?)'?$/,nFe=/''/g,iFe=/[a-zA-Z]/;function Bf(e,t,r){var n,i,a,o,u,s,c,d,h,v,g,m,y,S,w,b,A,R;Fr(2,arguments);var x=String(t),O=mc(),_=(n=(i=r==null?void 0:r.locale)!==null&&i!==void 0?i:O.locale)!==null&&n!==void 0?n:kse,P=Ta((a=(o=(u=(s=r==null?void 0:r.firstWeekContainsDate)!==null&&s!==void 0?s:r==null||(c=r.locale)===null||c===void 0||(d=c.options)===null||d===void 0?void 0:d.firstWeekContainsDate)!==null&&u!==void 0?u:O.firstWeekContainsDate)!==null&&o!==void 0?o:(h=O.locale)===null||h===void 0||(v=h.options)===null||v===void 0?void 0:v.firstWeekContainsDate)!==null&&a!==void 0?a:1);if(!(P>=1&&P<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var N=Ta((g=(m=(y=(S=r==null?void 0:r.weekStartsOn)!==null&&S!==void 0?S:r==null||(w=r.locale)===null||w===void 0||(b=w.options)===null||b===void 0?void 0:b.weekStartsOn)!==null&&y!==void 0?y:O.weekStartsOn)!==null&&m!==void 0?m:(A=O.locale)===null||A===void 0||(R=A.options)===null||R===void 0?void 0:R.weekStartsOn)!==null&&g!==void 0?g:0);if(!(N>=0&&N<=6))throw new RangeError("weekStartsOn must be between 0 and 6 inclusively");if(!_.localize)throw new RangeError("locale must contain localize property");if(!_.formatLong)throw new RangeError("locale must contain formatLong property");var U=hn(e);if(!r$e(U))throw new RangeError("Invalid time value");var $=cp(U),B=o$e(U,$),Y={firstWeekContainsDate:P,weekStartsOn:N,locale:_,_originalDate:U},Q=x.match(tFe).map(function(K){var ee=K[0];if(ee==="p"||ee==="P"){var ne=m$e[ee];return ne(K,_.formatLong)}return K}).join("").match(eFe).map(function(K){if(K==="''")return"'";var ee=K[0];if(ee==="'")return aFe(K);var ne=p$e[ee];if(ne)return!(r!=null&&r.useAdditionalWeekYearTokens)&&E$e(K)&&YJ(K,t,String(e)),!(r!=null&&r.useAdditionalDayOfYearTokens)&&S$e(K)&&YJ(K,t,String(e)),ne(B,K,_.localize,Y);if(ee.match(iFe))throw new RangeError("Format string contains an unescaped latin alphabet character `"+ee+"`");return K}).join("");return Q}function aFe(e){var t=e.match(rFe);return t?t[1].replace(nFe,"'"):e}function oFe(e){Fr(1,arguments);var t=hn(e),r=t.getFullYear(),n=t.getMonth(),i=new Date(0);return i.setFullYear(r,n+1,0),i.setHours(0,0,0,0),i.getDate()}var sFe=6048e5;function uFe(e){Fr(1,arguments);var t=hn(e),r=cf(t).getTime()-QMe(t).getTime();return Math.round(r/sFe)+1}function lFe(e){Fr(1,arguments);var t=hn(e),r=t.getTime();return r}function cFe(e){return Fr(1,arguments),Math.floor(lFe(e)/1e3)}function fFe(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=hn(e),h=d.getFullYear(),v=mc(),g=Ta((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:v.firstWeekContainsDate)!==null&&n!==void 0?n:(s=v.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1);if(!(g>=1&&g<=7))throw new RangeError("firstWeekContainsDate must be between 1 and 7 inclusively");var m=new Date(0);m.setFullYear(h+1,0,g),m.setHours(0,0,0,0);var y=Cu(m,t),S=new Date(0);S.setFullYear(h,0,g),S.setHours(0,0,0,0);var w=Cu(S,t);return d.getTime()>=y.getTime()?h+1:d.getTime()>=w.getTime()?h:h-1}function dFe(e,t){var r,n,i,a,o,u,s,c;Fr(1,arguments);var d=mc(),h=Ta((r=(n=(i=(a=t==null?void 0:t.firstWeekContainsDate)!==null&&a!==void 0?a:t==null||(o=t.locale)===null||o===void 0||(u=o.options)===null||u===void 0?void 0:u.firstWeekContainsDate)!==null&&i!==void 0?i:d.firstWeekContainsDate)!==null&&n!==void 0?n:(s=d.locale)===null||s===void 0||(c=s.options)===null||c===void 0?void 0:c.firstWeekContainsDate)!==null&&r!==void 0?r:1),v=fFe(e,t),g=new Date(0);g.setFullYear(v,0,h),g.setHours(0,0,0,0);var m=Cu(g,t);return m}var hFe=6048e5;function vFe(e,t){Fr(1,arguments);var r=hn(e),n=Cu(r,t).getTime()-dFe(r,t).getTime();return Math.round(n/hFe)+1}function pFe(e){Fr(1,arguments);var t=hn(e),r=t.getMonth();return t.setFullYear(t.getFullYear(),r+1,0),t.setHours(0,0,0,0),t}function gFe(e,t){return Fr(1,arguments),i$e(pFe(e),Fo(e),t)+1}function yP(e,t){Fr(2,arguments);var r=hn(e),n=hn(t);return r.getTime()>n.getTime()}function Nse(e,t){Fr(2,arguments);var r=hn(e),n=hn(t);return r.getTime()<n.getTime()}function Jk(e,t){Fr(2,arguments);var r=hn(e),n=hn(t);return r.getFullYear()===n.getFullYear()&&r.getMonth()===n.getMonth()}function mFe(e,t){Fr(2,arguments);var r=hn(e),n=hn(t);return r.getFullYear()===n.getFullYear()}function CO(e,t){Fr(2,arguments);var r=Ta(t);return fo(e,-r)}function AO(e,t){Fr(2,arguments);var r=hn(e),n=Ta(t),i=r.getFullYear(),a=r.getDate(),o=new Date(0);o.setFullYear(i,n,15),o.setHours(0,0,0,0);var u=oFe(o);return r.setMonth(n,Math.min(a,u)),r}function KJ(e,t){Fr(2,arguments);var r=hn(e),n=Ta(t);return isNaN(r.getTime())?new Date(NaN):(r.setFullYear(n),r)}var zr=function(){return zr=Object.assign||function(t){for(var r,n=1,i=arguments.length;n<i;n++){r=arguments[n];for(var a in r)Object.prototype.hasOwnProperty.call(r,a)&&(t[a]=r[a])}return t},zr.apply(this,arguments)};function yFe(e,t){var r={};for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&t.indexOf(n)<0&&(r[n]=e[n]);if(e!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(e);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(e,n[i])&&(r[n[i]]=e[n[i]]);return r}function Lse(e,t,r){for(var n=0,i=t.length,a;n<i;n++)(a||!(n in t))&&(a||(a=Array.prototype.slice.call(t,0,n)),a[n]=t[n]);return e.concat(a||Array.prototype.slice.call(t))}var Mse={exports:{}},hv={};/**
|
|
164
|
-
* @license React
|
|
165
|
-
* react-jsx-runtime.production.min.js
|
|
166
|
-
*
|
|
167
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
168
|
-
*
|
|
169
|
-
* This source code is licensed under the MIT license found in the
|
|
170
|
-
* LICENSE file in the root directory of this source tree.
|
|
171
|
-
*/var XJ;function _Fe(){if(XJ)return hv;XJ=1;var e=or,t=Symbol.for("react.element"),r=Symbol.for("react.fragment"),n=Object.prototype.hasOwnProperty,i=e.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED.ReactCurrentOwner,a={key:!0,ref:!0,__self:!0,__source:!0};function o(u,s,c){var d,h={},v=null,g=null;c!==void 0&&(v=""+c),s.key!==void 0&&(v=""+s.key),s.ref!==void 0&&(g=s.ref);for(d in s)n.call(s,d)&&!a.hasOwnProperty(d)&&(h[d]=s[d]);if(u&&u.defaultProps)for(d in s=u.defaultProps,s)h[d]===void 0&&(h[d]=s[d]);return{$$typeof:t,type:u,key:v,ref:g,props:h,_owner:i.current}}return hv.Fragment=r,hv.jsx=o,hv.jsxs=o,hv}Mse.exports=_Fe();var Ut=Mse.exports;function Xp(e){return e.mode==="multiple"}function Qp(e){return e.mode==="range"}function g0(e){return e.mode==="single"}var SFe={root:"rdp",multiple_months:"rdp-multiple_months",with_weeknumber:"rdp-with_weeknumber",vhidden:"rdp-vhidden",button_reset:"rdp-button_reset",button:"rdp-button",caption:"rdp-caption",caption_start:"rdp-caption_start",caption_end:"rdp-caption_end",caption_between:"rdp-caption_between",caption_label:"rdp-caption_label",caption_dropdowns:"rdp-caption_dropdowns",dropdown:"rdp-dropdown",dropdown_month:"rdp-dropdown_month",dropdown_year:"rdp-dropdown_year",dropdown_icon:"rdp-dropdown_icon",months:"rdp-months",month:"rdp-month",table:"rdp-table",tbody:"rdp-tbody",tfoot:"rdp-tfoot",head:"rdp-head",head_row:"rdp-head_row",head_cell:"rdp-head_cell",nav:"rdp-nav",nav_button:"rdp-nav_button",nav_button_previous:"rdp-nav_button_previous",nav_button_next:"rdp-nav_button_next",nav_icon:"rdp-nav_icon",row:"rdp-row",weeknumber:"rdp-weeknumber",cell:"rdp-cell",day:"rdp-day",day_today:"rdp-day_today",day_outside:"rdp-day_outside",day_selected:"rdp-day_selected",day_disabled:"rdp-day_disabled",day_hidden:"rdp-day_hidden",day_range_start:"rdp-day_range_start",day_range_end:"rdp-day_range_end",day_range_middle:"rdp-day_range_middle"};function EFe(e,t){return Bf(e,"LLLL y",t)}function wFe(e,t){return Bf(e,"d",t)}function bFe(e,t){return Bf(e,"LLLL",t)}function TFe(e){return"".concat(e)}function RFe(e,t){return Bf(e,"cccccc",t)}function xFe(e,t){return Bf(e,"yyyy",t)}var CFe=Object.freeze({__proto__:null,formatCaption:EFe,formatDay:wFe,formatMonthCaption:bFe,formatWeekNumber:TFe,formatWeekdayName:RFe,formatYearCaption:xFe}),AFe=function(e,t,r){return Bf(e,"do MMMM (EEEE)",r)},OFe=function(){return"Month: "},IFe=function(){return"Go to next month"},PFe=function(){return"Go to previous month"},DFe=function(e,t){return Bf(e,"cccc",t)},kFe=function(e){return"Week n. ".concat(e)},NFe=function(){return"Year: "},LFe=Object.freeze({__proto__:null,labelDay:AFe,labelMonthDropdown:OFe,labelNext:IFe,labelPrevious:PFe,labelWeekNumber:kFe,labelWeekday:DFe,labelYearDropdown:NFe});function MFe(){var e="buttons",t=SFe,r=kse,n={},i={},a=1,o={},u=new Date;return{captionLayout:e,classNames:t,formatters:CFe,labels:LFe,locale:r,modifiersClassNames:n,modifiers:i,numberOfMonths:a,styles:o,today:u,mode:"default"}}function $Fe(e){var t=e.fromYear,r=e.toYear,n=e.fromMonth,i=e.toMonth,a=e.fromDate,o=e.toDate;return n?a=Fo(n):t&&(a=new Date(t,0,1)),i?o=Xk(i):r&&(o=new Date(r,11,31)),{fromDate:a?Jd(a):void 0,toDate:o?Jd(o):void 0}}var $se=pe.createContext(void 0);function FFe(e){var t,r=e.initialProps,n=MFe(),i=$Fe(r),a=i.fromDate,o=i.toDate,u=(t=r.captionLayout)!==null&&t!==void 0?t:n.captionLayout;u!=="buttons"&&(!a||!o)&&(u="buttons");var s;(g0(r)||Xp(r)||Qp(r))&&(s=r.onSelect);var c=zr(zr(zr({},n),r),{captionLayout:u,classNames:zr(zr({},n.classNames),r.classNames),components:zr({},r.components),formatters:zr(zr({},n.formatters),r.formatters),fromDate:a,labels:zr(zr({},n.labels),r.labels),mode:r.mode||n.mode,modifiers:zr(zr({},n.modifiers),r.modifiers),modifiersClassNames:zr(zr({},n.modifiersClassNames),r.modifiersClassNames),onSelect:s,styles:zr(zr({},n.styles),r.styles),toDate:o});return Ut.jsx($se.Provider,{value:c,children:e.children})}function yi(){var e=pe.useContext($se);if(!e)throw new Error("useDayPicker must be used within a DayPickerProvider.");return e}function Fse(e){var t=yi(),r=t.locale,n=t.classNames,i=t.styles,a=t.formatters.formatCaption;return Ut.jsx("div",{className:n.caption_label,style:i.caption_label,"aria-live":"polite",role:"presentation",id:e.id,children:a(e.displayMonth,{locale:r})})}function jFe(e){return Ut.jsx("svg",zr({width:"8px",height:"8px",viewBox:"0 0 120 120","data-testid":"iconDropdown"},e,{children:Ut.jsx("path",{d:"M4.22182541,48.2218254 C8.44222828,44.0014225 15.2388494,43.9273804 19.5496459,47.9996989 L19.7781746,48.2218254 L60,88.443 L100.221825,48.2218254 C104.442228,44.0014225 111.238849,43.9273804 115.549646,47.9996989 L115.778175,48.2218254 C119.998577,52.4422283 120.07262,59.2388494 116.000301,63.5496459 L115.778175,63.7781746 L67.7781746,111.778175 C63.5577717,115.998577 56.7611506,116.07262 52.4503541,112.000301 L52.2218254,111.778175 L4.22182541,63.7781746 C-0.0739418023,59.4824074 -0.0739418023,52.5175926 4.22182541,48.2218254 Z",fill:"currentColor",fillRule:"nonzero"})}))}function jse(e){var t,r,n=e.onChange,i=e.value,a=e.children,o=e.caption,u=e.className,s=e.style,c=yi(),d=(r=(t=c.components)===null||t===void 0?void 0:t.IconDropdown)!==null&&r!==void 0?r:jFe;return Ut.jsxs("div",{className:u,style:s,children:[Ut.jsx("span",{className:c.classNames.vhidden,children:e["aria-label"]}),Ut.jsx("select",{name:e.name,"aria-label":e["aria-label"],className:c.classNames.dropdown,style:c.styles.dropdown,value:i,onChange:n,children:a}),Ut.jsxs("div",{className:c.classNames.caption_label,style:c.styles.caption_label,"aria-hidden":"true",children:[o,Ut.jsx(d,{className:c.classNames.dropdown_icon,style:c.styles.dropdown_icon})]})]})}function UFe(e){var t,r=yi(),n=r.fromDate,i=r.toDate,a=r.styles,o=r.locale,u=r.formatters.formatMonthCaption,s=r.classNames,c=r.components,d=r.labels.labelMonthDropdown;if(!n)return Ut.jsx(Ut.Fragment,{});if(!i)return Ut.jsx(Ut.Fragment,{});var h=[];if(mFe(n,i))for(var v=Fo(n),g=n.getMonth();g<=i.getMonth();g++)h.push(AO(v,g));else for(var v=Fo(new Date),g=0;g<=11;g++)h.push(AO(v,g));var m=function(S){var w=Number(S.target.value),b=AO(Fo(e.displayMonth),w);e.onChange(b)},y=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:jse;return Ut.jsx(y,{name:"months","aria-label":d(),className:s.dropdown_month,style:a.dropdown_month,onChange:m,value:e.displayMonth.getMonth(),caption:u(e.displayMonth,{locale:o}),children:h.map(function(S){return Ut.jsx("option",{value:S.getMonth(),children:u(S,{locale:o})},S.getMonth())})})}function qFe(e){var t,r=e.displayMonth,n=yi(),i=n.fromDate,a=n.toDate,o=n.locale,u=n.styles,s=n.classNames,c=n.components,d=n.formatters.formatYearCaption,h=n.labels.labelYearDropdown,v=[];if(!i)return Ut.jsx(Ut.Fragment,{});if(!a)return Ut.jsx(Ut.Fragment,{});for(var g=i.getFullYear(),m=a.getFullYear(),y=g;y<=m;y++)v.push(KJ(a$e(new Date),y));var S=function(b){var A=KJ(Fo(r),Number(b.target.value));e.onChange(A)},w=(t=c==null?void 0:c.Dropdown)!==null&&t!==void 0?t:jse;return Ut.jsx(w,{name:"years","aria-label":h(),className:s.dropdown_year,style:u.dropdown_year,onChange:S,value:r.getFullYear(),caption:d(r,{locale:o}),children:v.map(function(b){return Ut.jsx("option",{value:b.getFullYear(),children:d(b,{locale:o})},b.getFullYear())})})}function VFe(e,t){var r=pe.useState(e),n=r[0],i=r[1],a=t===void 0?n:t;return[a,i]}function BFe(e){var t=e.month,r=e.defaultMonth,n=e.today,i=t||r||n||new Date,a=e.toDate,o=e.fromDate,u=e.numberOfMonths,s=u===void 0?1:u;if(a&&fp(a,i)<0){var c=-1*(s-1);i=eu(a,c)}return o&&fp(i,o)<0&&(i=o),Fo(i)}function HFe(){var e=yi(),t=BFe(e),r=VFe(t,e.month),n=r[0],i=r[1],a=function(o){var u;if(!e.disableNavigation){var s=Fo(o);i(s),(u=e.onMonthChange)===null||u===void 0||u.call(e,s)}};return[n,a]}function zFe(e,t){for(var r=t.reverseMonths,n=t.numberOfMonths,i=Fo(e),a=Fo(eu(i,n)),o=fp(a,i),u=[],s=0;s<o;s++){var c=eu(i,s);u.push(c)}return r&&(u=u.reverse()),u}function WFe(e,t){if(!t.disableNavigation){var r=t.toDate,n=t.pagedNavigation,i=t.numberOfMonths,a=i===void 0?1:i,o=n?a:1,u=Fo(e);if(!r)return eu(u,o);var s=fp(r,e);if(!(s<a))return eu(u,o)}}function GFe(e,t){if(!t.disableNavigation){var r=t.fromDate,n=t.pagedNavigation,i=t.numberOfMonths,a=i===void 0?1:i,o=n?a:1,u=Fo(e);if(!r)return eu(u,-o);var s=fp(u,r);if(!(s<=0))return eu(u,-o)}}var Use=pe.createContext(void 0);function YFe(e){var t=yi(),r=HFe(),n=r[0],i=r[1],a=zFe(n,t),o=WFe(n,t),u=GFe(n,t),s=function(h){return a.some(function(v){return Jk(h,v)})},c=function(h,v){s(h)||(v&&Nse(h,v)?i(eu(h,1+t.numberOfMonths*-1)):i(h))},d={currentMonth:n,displayMonths:a,goToMonth:i,goToDate:c,previousMonth:u,nextMonth:o,isDateDisplayed:s};return Ut.jsx(Use.Provider,{value:d,children:e.children})}function Jp(){var e=pe.useContext(Use);if(!e)throw new Error("useNavigation must be used within a NavigationProvider");return e}function QJ(e){var t,r=yi(),n=r.classNames,i=r.styles,a=r.components,o=Jp().goToMonth,u=function(d){o(eu(d,e.displayIndex?-e.displayIndex:0))},s=(t=a==null?void 0:a.CaptionLabel)!==null&&t!==void 0?t:Fse,c=Ut.jsx(s,{id:e.id,displayMonth:e.displayMonth});return Ut.jsxs("div",{className:n.caption_dropdowns,style:i.caption_dropdowns,children:[Ut.jsx("div",{className:n.vhidden,children:c}),Ut.jsx(UFe,{onChange:u,displayMonth:e.displayMonth}),Ut.jsx(qFe,{onChange:u,displayMonth:e.displayMonth})]})}function KFe(e){return Ut.jsx("svg",zr({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:Ut.jsx("path",{d:"M69.490332,3.34314575 C72.6145263,0.218951416 77.6798462,0.218951416 80.8040405,3.34314575 C83.8617626,6.40086786 83.9268205,11.3179931 80.9992143,14.4548388 L80.8040405,14.6568542 L35.461,60 L80.8040405,105.343146 C83.8617626,108.400868 83.9268205,113.317993 80.9992143,116.454839 L80.8040405,116.656854 C77.7463184,119.714576 72.8291931,119.779634 69.6923475,116.852028 L69.490332,116.656854 L18.490332,65.6568542 C15.4326099,62.5991321 15.367552,57.6820069 18.2951583,54.5451612 L18.490332,54.3431458 L69.490332,3.34314575 Z",fill:"currentColor",fillRule:"nonzero"})}))}function XFe(e){return Ut.jsx("svg",zr({width:"16px",height:"16px",viewBox:"0 0 120 120"},e,{children:Ut.jsx("path",{d:"M49.8040405,3.34314575 C46.6798462,0.218951416 41.6145263,0.218951416 38.490332,3.34314575 C35.4326099,6.40086786 35.367552,11.3179931 38.2951583,14.4548388 L38.490332,14.6568542 L83.8333725,60 L38.490332,105.343146 C35.4326099,108.400868 35.367552,113.317993 38.2951583,116.454839 L38.490332,116.656854 C41.5480541,119.714576 46.4651794,119.779634 49.602025,116.852028 L49.8040405,116.656854 L100.804041,65.6568542 C103.861763,62.5991321 103.926821,57.6820069 100.999214,54.5451612 L100.804041,54.3431458 L49.8040405,3.34314575 Z",fill:"currentColor"})}))}var Ay=pe.forwardRef(function(e,t){var r=yi(),n=r.classNames,i=r.styles,a=[n.button_reset,n.button];e.className&&a.push(e.className);var o=a.join(" "),u=zr(zr({},i.button_reset),i.button);return e.style&&Object.assign(u,e.style),Ut.jsx("button",zr({},e,{ref:t,type:"button",className:o,style:u}))});function QFe(e){var t,r,n=yi(),i=n.dir,a=n.locale,o=n.classNames,u=n.styles,s=n.labels,c=s.labelPrevious,d=s.labelNext,h=n.components;if(!e.nextMonth&&!e.previousMonth)return Ut.jsx(Ut.Fragment,{});var v=c(e.previousMonth,{locale:a}),g=[o.nav_button,o.nav_button_previous].join(" "),m=d(e.nextMonth,{locale:a}),y=[o.nav_button,o.nav_button_next].join(" "),S=(t=h==null?void 0:h.IconRight)!==null&&t!==void 0?t:XFe,w=(r=h==null?void 0:h.IconLeft)!==null&&r!==void 0?r:KFe;return Ut.jsxs("div",{className:o.nav,style:u.nav,children:[!e.hidePrevious&&Ut.jsx(Ay,{name:"previous-month","aria-label":v,className:g,style:u.nav_button_previous,disabled:!e.previousMonth,onClick:e.onPreviousClick,children:i==="rtl"?Ut.jsx(S,{className:o.nav_icon,style:u.nav_icon}):Ut.jsx(w,{className:o.nav_icon,style:u.nav_icon})}),!e.hideNext&&Ut.jsx(Ay,{name:"next-month","aria-label":m,className:y,style:u.nav_button_next,disabled:!e.nextMonth,onClick:e.onNextClick,children:i==="rtl"?Ut.jsx(w,{className:o.nav_icon,style:u.nav_icon}):Ut.jsx(S,{className:o.nav_icon,style:u.nav_icon})})]})}function JJ(e){var t=yi().numberOfMonths,r=Jp(),n=r.previousMonth,i=r.nextMonth,a=r.goToMonth,o=r.displayMonths,u=o.findIndex(function(m){return Jk(e.displayMonth,m)}),s=u===0,c=u===o.length-1,d=t>1&&(s||!c),h=t>1&&(c||!s),v=function(){n&&a(n)},g=function(){i&&a(i)};return Ut.jsx(QFe,{displayMonth:e.displayMonth,hideNext:d,hidePrevious:h,nextMonth:i,previousMonth:n,onPreviousClick:v,onNextClick:g})}function JFe(e){var t,r=yi(),n=r.classNames,i=r.disableNavigation,a=r.styles,o=r.captionLayout,u=r.components,s=(t=u==null?void 0:u.CaptionLabel)!==null&&t!==void 0?t:Fse,c;return i?c=Ut.jsx(s,{id:e.id,displayMonth:e.displayMonth}):o==="dropdown"?c=Ut.jsx(QJ,{displayMonth:e.displayMonth,id:e.id}):o==="dropdown-buttons"?c=Ut.jsxs(Ut.Fragment,{children:[Ut.jsx(QJ,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id}),Ut.jsx(JJ,{displayMonth:e.displayMonth,displayIndex:e.displayIndex,id:e.id})]}):c=Ut.jsxs(Ut.Fragment,{children:[Ut.jsx(s,{id:e.id,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),Ut.jsx(JJ,{displayMonth:e.displayMonth,id:e.id})]}),Ut.jsx("div",{className:n.caption,style:a.caption,children:c})}function ZFe(e){var t=yi(),r=t.footer,n=t.styles,i=t.classNames.tfoot;return r?Ut.jsx("tfoot",{className:i,style:n.tfoot,children:Ut.jsx("tr",{children:Ut.jsx("td",{colSpan:8,children:r})})}):Ut.jsx(Ut.Fragment,{})}function eje(e,t,r){for(var n=r?cf(new Date):Cu(new Date,{locale:e,weekStartsOn:t}),i=[],a=0;a<7;a++){var o=fo(n,a);i.push(o)}return i}function tje(){var e=yi(),t=e.classNames,r=e.styles,n=e.showWeekNumber,i=e.locale,a=e.weekStartsOn,o=e.ISOWeek,u=e.formatters.formatWeekdayName,s=e.labels.labelWeekday,c=eje(i,a,o);return Ut.jsxs("tr",{style:r.head_row,className:t.head_row,children:[n&&Ut.jsx("td",{style:r.head_cell,className:t.head_cell}),c.map(function(d,h){return Ut.jsx("th",{scope:"col",className:t.head_cell,style:r.head_cell,"aria-label":s(d,{locale:i}),children:u(d,{locale:i})},h)})]})}function rje(){var e,t=yi(),r=t.classNames,n=t.styles,i=t.components,a=(e=i==null?void 0:i.HeadRow)!==null&&e!==void 0?e:tje;return Ut.jsx("thead",{style:n.head,className:r.head,children:Ut.jsx(a,{})})}function nje(e){var t=yi(),r=t.locale,n=t.formatters.formatDay;return Ut.jsx(Ut.Fragment,{children:n(e.date,{locale:r})})}var Zk=pe.createContext(void 0);function ije(e){if(!Xp(e.initialProps)){var t={selected:void 0,modifiers:{disabled:[]}};return Ut.jsx(Zk.Provider,{value:t,children:e.children})}return Ut.jsx(aje,{initialProps:e.initialProps,children:e.children})}function aje(e){var t=e.initialProps,r=e.children,n=t.selected,i=t.min,a=t.max,o=function(c,d,h){var v,g;(v=t.onDayClick)===null||v===void 0||v.call(t,c,d,h);var m=!!(d.selected&&i&&(n==null?void 0:n.length)===i);if(!m){var y=!!(!d.selected&&a&&(n==null?void 0:n.length)===a);if(!y){var S=n?Lse([],n):[];if(d.selected){var w=S.findIndex(function(b){return Mo(c,b)});S.splice(w,1)}else S.push(c);(g=t.onSelect)===null||g===void 0||g.call(t,S,c,d,h)}}},u={disabled:[]};n&&u.disabled.push(function(c){var d=a&&n.length>a-1,h=n.some(function(v){return Mo(v,c)});return!!(d&&!h)});var s={selected:n,onDayClick:o,modifiers:u};return Ut.jsx(Zk.Provider,{value:s,children:r})}function eN(){var e=pe.useContext(Zk);if(!e)throw new Error("useSelectMultiple must be used within a SelectMultipleProvider");return e}function oje(e,t){var r=t||{},n=r.from,i=r.to;return n&&i?Mo(i,e)&&Mo(n,e)?void 0:Mo(i,e)?{from:i,to:void 0}:Mo(n,e)?void 0:yP(n,e)?{from:e,to:i}:{from:n,to:e}:i?yP(e,i)?{from:i,to:e}:{from:e,to:i}:n?Nse(e,n)?{from:e,to:n}:{from:n,to:e}:{from:e,to:void 0}}var tN=pe.createContext(void 0);function sje(e){if(!Qp(e.initialProps)){var t={selected:void 0,modifiers:{range_start:[],range_end:[],range_middle:[],disabled:[]}};return Ut.jsx(tN.Provider,{value:t,children:e.children})}return Ut.jsx(uje,{initialProps:e.initialProps,children:e.children})}function uje(e){var t=e.initialProps,r=e.children,n=t.selected,i=n||{},a=i.from,o=i.to,u=t.min,s=t.max,c=function(g,m,y){var S,w;(S=t.onDayClick)===null||S===void 0||S.call(t,g,m,y);var b=oje(g,n);(w=t.onSelect)===null||w===void 0||w.call(t,b,g,m,y)},d={range_start:[],range_end:[],range_middle:[],disabled:[]};if(a?(d.range_start=[a],o?(d.range_end=[o],Mo(a,o)||(d.range_middle=[{after:a,before:o}])):d.range_end=[a]):o&&(d.range_start=[o],d.range_end=[o]),u&&(a&&!o&&d.disabled.push({after:CO(a,u-1),before:fo(a,u-1)}),a&&o&&d.disabled.push({after:a,before:fo(a,u-1)}),!a&&o&&d.disabled.push({after:CO(o,u-1),before:fo(o,u-1)})),s){if(a&&!o&&(d.disabled.push({before:fo(a,-s+1)}),d.disabled.push({after:fo(a,s-1)})),a&&o){var h=nl(o,a)+1,v=s-h;d.disabled.push({before:CO(a,v)}),d.disabled.push({after:fo(o,v)})}!a&&o&&(d.disabled.push({before:fo(o,-s+1)}),d.disabled.push({after:fo(o,s-1)}))}return Ut.jsx(tN.Provider,{value:{selected:n,onDayClick:c,modifiers:d},children:r})}function rN(){var e=pe.useContext(tN);if(!e)throw new Error("useSelectRange must be used within a SelectRangeProvider");return e}function Xm(e){return Array.isArray(e)?Lse([],e):e!==void 0?[e]:[]}function lje(e){var t={};return Object.entries(e).forEach(function(r){var n=r[0],i=r[1];t[n]=Xm(i)}),t}var tu;(function(e){e.Outside="outside",e.Disabled="disabled",e.Selected="selected",e.Hidden="hidden",e.Today="today",e.RangeStart="range_start",e.RangeEnd="range_end",e.RangeMiddle="range_middle"})(tu||(tu={}));var cje=tu.Selected,Wu=tu.Disabled,fje=tu.Hidden,dje=tu.Today,OO=tu.RangeEnd,IO=tu.RangeMiddle,PO=tu.RangeStart,hje=tu.Outside;function vje(e,t,r){var n,i=(n={},n[cje]=Xm(e.selected),n[Wu]=Xm(e.disabled),n[fje]=Xm(e.hidden),n[dje]=[e.today],n[OO]=[],n[IO]=[],n[PO]=[],n[hje]=[],n);return e.fromDate&&i[Wu].push({before:e.fromDate}),e.toDate&&i[Wu].push({after:e.toDate}),Xp(e)?i[Wu]=i[Wu].concat(t.modifiers[Wu]):Qp(e)&&(i[Wu]=i[Wu].concat(r.modifiers[Wu]),i[PO]=r.modifiers[PO],i[IO]=r.modifiers[IO],i[OO]=r.modifiers[OO]),i}var qse=pe.createContext(void 0);function pje(e){var t=yi(),r=eN(),n=rN(),i=vje(t,r,n),a=lje(t.modifiers),o=zr(zr({},i),a);return Ut.jsx(qse.Provider,{value:o,children:e.children})}function Vse(){var e=pe.useContext(qse);if(!e)throw new Error("useModifiers must be used within a ModifiersProvider");return e}function gje(e){return!!(e&&typeof e=="object"&&"before"in e&&"after"in e)}function mje(e){return!!(e&&typeof e=="object"&&"from"in e)}function yje(e){return!!(e&&typeof e=="object"&&"after"in e)}function _je(e){return!!(e&&typeof e=="object"&&"before"in e)}function Sje(e){return!!(e&&typeof e=="object"&&"dayOfWeek"in e)}function Eje(e,t){var r,n=t.from,i=t.to;if(n&&i){var a=nl(i,n)<0;a&&(r=[i,n],n=r[0],i=r[1]);var o=nl(e,n)>=0&&nl(i,e)>=0;return o}return i?Mo(i,e):n?Mo(n,e):!1}function wje(e){return Kk(e)}function bje(e){return Array.isArray(e)&&e.every(Kk)}function Tje(e,t){return t.some(function(r){if(typeof r=="boolean")return r;if(wje(r))return Mo(e,r);if(bje(r))return r.includes(e);if(mje(r))return Eje(e,r);if(Sje(r))return r.dayOfWeek.includes(e.getDay());if(gje(r)){var n=nl(r.before,e),i=nl(r.after,e),a=n>0,o=i<0,u=yP(r.before,r.after);return u?o&&a:a||o}return yje(r)?nl(e,r.after)>0:_je(r)?nl(r.before,e)>0:typeof r=="function"?r(e):!1})}function nN(e,t,r){var n=Object.keys(t).reduce(function(a,o){var u=t[o];return Tje(e,u)&&a.push(o),a},[]),i={};return n.forEach(function(a){return i[a]=!0}),r&&!Jk(e,r)&&(i.outside=!0),i}function Rje(e,t){for(var r=Fo(e[0]),n=Xk(e[e.length-1]),i,a,o=r;o<=n;){var u=nN(o,t),s=!u.disabled&&!u.hidden;if(!s){o=fo(o,1);continue}if(u.selected)return o;u.today&&!a&&(a=o),i||(i=o),o=fo(o,1)}return a||i}var xje=365;function Bse(e,t){var r=t.moveBy,n=t.direction,i=t.context,a=t.modifiers,o=t.retry,u=o===void 0?{count:0,lastFocused:e}:o,s=i.weekStartsOn,c=i.fromDate,d=i.toDate,h=i.locale,v={day:fo,week:mP,month:eu,year:ZMe,startOfWeek:function(S){return i.ISOWeek?cf(S):Cu(S,{locale:h,weekStartsOn:s})},endOfWeek:function(S){return i.ISOWeek?Ose(S):Qk(S,{locale:h,weekStartsOn:s})}},g=v[r](e,n==="after"?1:-1);n==="before"&&c?g=e$e([c,g]):n==="after"&&d&&(g=t$e([d,g]));var m=!0;if(a){var y=nN(g,a);m=!y.disabled&&!y.hidden}return m?g:u.count>xje?u.lastFocused:Bse(g,{moveBy:r,direction:n,context:i,modifiers:a,retry:zr(zr({},u),{count:u.count+1})})}var Hse=pe.createContext(void 0);function Cje(e){var t=Jp(),r=Vse(),n=pe.useState(),i=n[0],a=n[1],o=pe.useState(),u=o[0],s=o[1],c=Rje(t.displayMonths,r),d=i??(u&&t.isDateDisplayed(u))?u:c,h=function(){s(i),a(void 0)},v=function(S){a(S)},g=yi(),m=function(S,w){if(i){var b=Bse(i,{moveBy:S,direction:w,context:g,modifiers:r});Mo(i,b)||(t.goToDate(b,i),v(b))}},y={focusedDay:i,focusTarget:d,blur:h,focus:v,focusDayAfter:function(){return m("day","after")},focusDayBefore:function(){return m("day","before")},focusWeekAfter:function(){return m("week","after")},focusWeekBefore:function(){return m("week","before")},focusMonthBefore:function(){return m("month","before")},focusMonthAfter:function(){return m("month","after")},focusYearBefore:function(){return m("year","before")},focusYearAfter:function(){return m("year","after")},focusStartOfWeek:function(){return m("startOfWeek","before")},focusEndOfWeek:function(){return m("endOfWeek","after")}};return Ut.jsx(Hse.Provider,{value:y,children:e.children})}function iN(){var e=pe.useContext(Hse);if(!e)throw new Error("useFocusContext must be used within a FocusProvider");return e}function Aje(e,t){var r=Vse(),n=nN(e,r,t);return n}var aN=pe.createContext(void 0);function Oje(e){if(!g0(e.initialProps)){var t={selected:void 0};return Ut.jsx(aN.Provider,{value:t,children:e.children})}return Ut.jsx(Ije,{initialProps:e.initialProps,children:e.children})}function Ije(e){var t=e.initialProps,r=e.children,n=function(a,o,u){var s,c,d;if((s=t.onDayClick)===null||s===void 0||s.call(t,a,o,u),o.selected&&!t.required){(c=t.onSelect)===null||c===void 0||c.call(t,void 0,a,o,u);return}(d=t.onSelect)===null||d===void 0||d.call(t,a,a,o,u)},i={selected:t.selected,onDayClick:n};return Ut.jsx(aN.Provider,{value:i,children:r})}function zse(){var e=pe.useContext(aN);if(!e)throw new Error("useSelectSingle must be used within a SelectSingleProvider");return e}function Pje(e,t){var r=yi(),n=zse(),i=eN(),a=rN(),o=iN(),u=o.focusDayAfter,s=o.focusDayBefore,c=o.focusWeekAfter,d=o.focusWeekBefore,h=o.blur,v=o.focus,g=o.focusMonthBefore,m=o.focusMonthAfter,y=o.focusYearBefore,S=o.focusYearAfter,w=o.focusStartOfWeek,b=o.focusEndOfWeek,A=function(ne){var D,I,L,re;g0(r)?(D=n.onDayClick)===null||D===void 0||D.call(n,e,t,ne):Xp(r)?(I=i.onDayClick)===null||I===void 0||I.call(i,e,t,ne):Qp(r)?(L=a.onDayClick)===null||L===void 0||L.call(a,e,t,ne):(re=r.onDayClick)===null||re===void 0||re.call(r,e,t,ne)},R=function(ne){var D;v(e),(D=r.onDayFocus)===null||D===void 0||D.call(r,e,t,ne)},x=function(ne){var D;h(),(D=r.onDayBlur)===null||D===void 0||D.call(r,e,t,ne)},O=function(ne){var D;(D=r.onDayMouseEnter)===null||D===void 0||D.call(r,e,t,ne)},_=function(ne){var D;(D=r.onDayMouseLeave)===null||D===void 0||D.call(r,e,t,ne)},P=function(ne){var D;(D=r.onDayPointerEnter)===null||D===void 0||D.call(r,e,t,ne)},N=function(ne){var D;(D=r.onDayPointerLeave)===null||D===void 0||D.call(r,e,t,ne)},U=function(ne){var D;(D=r.onDayTouchCancel)===null||D===void 0||D.call(r,e,t,ne)},$=function(ne){var D;(D=r.onDayTouchEnd)===null||D===void 0||D.call(r,e,t,ne)},B=function(ne){var D;(D=r.onDayTouchMove)===null||D===void 0||D.call(r,e,t,ne)},Y=function(ne){var D;(D=r.onDayTouchStart)===null||D===void 0||D.call(r,e,t,ne)},Q=function(ne){var D;(D=r.onDayKeyUp)===null||D===void 0||D.call(r,e,t,ne)},K=function(ne){var D;switch(ne.key){case"ArrowLeft":ne.preventDefault(),ne.stopPropagation(),r.dir==="rtl"?u():s();break;case"ArrowRight":ne.preventDefault(),ne.stopPropagation(),r.dir==="rtl"?s():u();break;case"ArrowDown":ne.preventDefault(),ne.stopPropagation(),c();break;case"ArrowUp":ne.preventDefault(),ne.stopPropagation(),d();break;case"PageUp":ne.preventDefault(),ne.stopPropagation(),ne.shiftKey?y():g();break;case"PageDown":ne.preventDefault(),ne.stopPropagation(),ne.shiftKey?S():m();break;case"Home":ne.preventDefault(),ne.stopPropagation(),w();break;case"End":ne.preventDefault(),ne.stopPropagation(),b();break}(D=r.onDayKeyDown)===null||D===void 0||D.call(r,e,t,ne)},ee={onClick:A,onFocus:R,onBlur:x,onKeyDown:K,onKeyUp:Q,onMouseEnter:O,onMouseLeave:_,onPointerEnter:P,onPointerLeave:N,onTouchCancel:U,onTouchEnd:$,onTouchMove:B,onTouchStart:Y};return ee}function Dje(){var e=yi(),t=zse(),r=eN(),n=rN(),i=g0(e)?t.selected:Xp(e)?r.selected:Qp(e)?n.selected:void 0;return i}function kje(e){return Object.values(tu).includes(e)}function Nje(e,t){var r=[e.classNames.day];return Object.keys(t).forEach(function(n){var i=e.modifiersClassNames[n];if(i)r.push(i);else if(kje(n)){var a=e.classNames["day_".concat(n)];a&&r.push(a)}}),r}function Lje(e,t){var r=zr({},e.styles.day);return Object.keys(t).forEach(function(n){var i;r=zr(zr({},r),(i=e.modifiersStyles)===null||i===void 0?void 0:i[n])}),r}function Mje(e,t,r){var n,i,a,o=yi(),u=iN(),s=Aje(e,t),c=Pje(e,s),d=Dje(),h=!!(o.onDayClick||o.mode!=="default");pe.useEffect(function(){var O;s.outside||u.focusedDay&&h&&Mo(u.focusedDay,e)&&((O=r.current)===null||O===void 0||O.focus())},[u.focusedDay,e,r,h,s.outside]);var v=Nje(o,s).join(" "),g=Lje(o,s),m=!!(s.outside&&!o.showOutsideDays||s.hidden),y=(a=(i=o.components)===null||i===void 0?void 0:i.DayContent)!==null&&a!==void 0?a:nje,S=Ut.jsx(y,{date:e,displayMonth:t,activeModifiers:s}),w={style:g,className:v,children:S,role:"gridcell"},b=u.focusTarget&&Mo(u.focusTarget,e)&&!s.outside,A=u.focusedDay&&Mo(u.focusedDay,e),R=zr(zr(zr({},w),(n={disabled:s.disabled,role:"gridcell"},n["aria-selected"]=s.selected,n.tabIndex=A||b?0:-1,n)),c),x={isButton:h,isHidden:m,activeModifiers:s,selectedDays:d,buttonProps:R,divProps:w};return x}function $je(e){var t=pe.useRef(null),r=Mje(e.date,e.displayMonth,t);return r.isHidden?Ut.jsx("div",{role:"gridcell"}):r.isButton?Ut.jsx(Ay,zr({name:"day",ref:t},r.buttonProps)):Ut.jsx("div",zr({},r.divProps))}function Fje(e){var t=e.number,r=e.dates,n=yi(),i=n.onWeekNumberClick,a=n.styles,o=n.classNames,u=n.locale,s=n.labels.labelWeekNumber,c=n.formatters.formatWeekNumber,d=c(Number(t),{locale:u});if(!i)return Ut.jsx("span",{className:o.weeknumber,style:a.weeknumber,children:d});var h=s(Number(t),{locale:u}),v=function(g){i(t,r,g)};return Ut.jsx(Ay,{name:"week-number","aria-label":h,className:o.weeknumber,style:a.weeknumber,onClick:v,children:d})}function jje(e){var t,r,n=yi(),i=n.styles,a=n.classNames,o=n.showWeekNumber,u=n.components,s=(t=u==null?void 0:u.Day)!==null&&t!==void 0?t:$je,c=(r=u==null?void 0:u.WeekNumber)!==null&&r!==void 0?r:Fje,d;return o&&(d=Ut.jsx("td",{className:a.cell,style:i.cell,children:Ut.jsx(c,{number:e.weekNumber,dates:e.dates})})),Ut.jsxs("tr",{className:a.row,style:i.row,children:[d,e.dates.map(function(h){return Ut.jsx("td",{className:a.cell,style:i.cell,role:"presentation",children:Ut.jsx(s,{displayMonth:e.displayMonth,date:h})},cFe(h))})]})}function ZJ(e,t,r){for(var n=r!=null&&r.ISOWeek?Ose(t):Qk(t,r),i=r!=null&&r.ISOWeek?cf(e):Cu(e,r),a=nl(n,i),o=[],u=0;u<=a;u++)o.push(fo(i,u));var s=o.reduce(function(c,d){var h=r!=null&&r.ISOWeek?uFe(d):vFe(d,r),v=c.find(function(g){return g.weekNumber===h});return v?(v.dates.push(d),c):(c.push({weekNumber:h,dates:[d]}),c)},[]);return s}function Uje(e,t){var r=ZJ(Fo(e),Xk(e),t);if(t!=null&&t.useFixedWeeks){var n=gFe(e,t);if(n<6){var i=r[r.length-1],a=i.dates[i.dates.length-1],o=mP(a,6-n),u=ZJ(mP(a,1),o,t);r.push.apply(r,u)}}return r}function qje(e){var t,r,n,i=yi(),a=i.locale,o=i.classNames,u=i.styles,s=i.hideHead,c=i.fixedWeeks,d=i.components,h=i.weekStartsOn,v=i.firstWeekContainsDate,g=i.ISOWeek,m=Uje(e.displayMonth,{useFixedWeeks:!!c,ISOWeek:g,locale:a,weekStartsOn:h,firstWeekContainsDate:v}),y=(t=d==null?void 0:d.Head)!==null&&t!==void 0?t:rje,S=(r=d==null?void 0:d.Row)!==null&&r!==void 0?r:jje,w=(n=d==null?void 0:d.Footer)!==null&&n!==void 0?n:ZFe;return Ut.jsxs("table",{id:e.id,className:o.table,style:u.table,role:"grid","aria-labelledby":e["aria-labelledby"],children:[!s&&Ut.jsx(y,{}),Ut.jsx("tbody",{className:o.tbody,style:u.tbody,children:m.map(function(b){return Ut.jsx(S,{displayMonth:e.displayMonth,dates:b.dates,weekNumber:b.weekNumber},b.weekNumber)})}),Ut.jsx(w,{displayMonth:e.displayMonth})]})}function Vje(){return!!(typeof window<"u"&&window.document&&window.document.createElement)}var Bje=Vje()?pe.useLayoutEffect:pe.useEffect,DO=!1,Hje=0;function eZ(){return"react-day-picker-".concat(++Hje)}function zje(e){var t,r=e??(DO?eZ():null),n=pe.useState(r),i=n[0],a=n[1];return Bje(function(){i===null&&a(eZ())},[]),pe.useEffect(function(){DO===!1&&(DO=!0)},[]),(t=e??i)!==null&&t!==void 0?t:void 0}function Wje(e){var t,r,n=yi(),i=n.dir,a=n.classNames,o=n.styles,u=n.components,s=Jp().displayMonths,c=zje(n.id?"".concat(n.id,"-").concat(e.displayIndex):void 0),d=n.id?"".concat(n.id,"-grid-").concat(e.displayIndex):void 0,h=[a.month],v=o.month,g=e.displayIndex===0,m=e.displayIndex===s.length-1,y=!g&&!m;i==="rtl"&&(t=[g,m],m=t[0],g=t[1]),g&&(h.push(a.caption_start),v=zr(zr({},v),o.caption_start)),m&&(h.push(a.caption_end),v=zr(zr({},v),o.caption_end)),y&&(h.push(a.caption_between),v=zr(zr({},v),o.caption_between));var S=(r=u==null?void 0:u.Caption)!==null&&r!==void 0?r:JFe;return Ut.jsxs("div",{className:h.join(" "),style:v,children:[Ut.jsx(S,{id:c,displayMonth:e.displayMonth,displayIndex:e.displayIndex}),Ut.jsx(qje,{id:d,"aria-labelledby":c,displayMonth:e.displayMonth})]},e.displayIndex)}function Gje(e){var t=yi(),r=t.classNames,n=t.styles;return Ut.jsx("div",{className:r.months,style:n.months,children:e.children})}function Yje(e){var t,r,n=e.initialProps,i=yi(),a=iN(),o=Jp(),u=pe.useState(!1),s=u[0],c=u[1];pe.useEffect(function(){i.initialFocus&&a.focusTarget&&(s||(a.focus(a.focusTarget),c(!0)))},[i.initialFocus,s,a.focus,a.focusTarget,a]);var d=[i.classNames.root,i.className];i.numberOfMonths>1&&d.push(i.classNames.multiple_months),i.showWeekNumber&&d.push(i.classNames.with_weeknumber);var h=zr(zr({},i.styles.root),i.style),v=Object.keys(n).filter(function(m){return m.startsWith("data-")}).reduce(function(m,y){var S;return zr(zr({},m),(S={},S[y]=n[y],S))},{}),g=(r=(t=n.components)===null||t===void 0?void 0:t.Months)!==null&&r!==void 0?r:Gje;return Ut.jsx("div",zr({className:d.join(" "),style:h,dir:i.dir,id:i.id,nonce:n.nonce,title:n.title,lang:n.lang},v,{children:Ut.jsx(g,{children:o.displayMonths.map(function(m,y){return Ut.jsx(Wje,{displayIndex:y,displayMonth:m},y)})})}))}function Kje(e){var t=e.children,r=yFe(e,["children"]);return Ut.jsx(FFe,{initialProps:r,children:Ut.jsx(YFe,{children:Ut.jsx(Oje,{initialProps:r,children:Ut.jsx(ije,{initialProps:r,children:Ut.jsx(sje,{initialProps:r,children:Ut.jsx(pje,{children:Ut.jsx(Cje,{children:t})})})})})})})}function Xje(e){return Ut.jsx(Kje,zr({},e,{children:Ut.jsx(Yje,{initialProps:e})}))}function Oy(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"m11.959 10.641 4.402-4.296a.964.964 0 0 1 1.358 0 .95.95 0 0 1 0 1.35l-4.403 4.297 4.403 4.378a.95.95 0 0 1 0 1.35.964.964 0 0 1-1.358 0l-4.402-4.378-4.32 4.378a.964.964 0 0 1-1.358 0 .95.95 0 0 1 0-1.35l4.32-4.378-4.32-4.362a.95.95 0 0 1 0-1.35.964.964 0 0 1 1.358 0z",fill:"currentColor"})})}function Qje(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"M16.818 11H4.928C4.417 11 4 11.448 4 12s.416 1 .929 1h11.89l-3.781 4.22a1.11 1.11 0 0 0 0 1.465c.36.403.943.418 1.311.045l.032-.034 5.343-5.963a1.11 1.11 0 0 0 0-1.466l-5.343-5.963a.883.883 0 0 0-1.333 0 1.115 1.115 0 0 0-.01 1.477z",fill:"currentColor"})})}function Jje(e){const t=or.useRef(null),r=or.useRef(null);return or.useEffect(()=>{var n,i;e==="startDate"&&((n=t.current)==null||n.focus()),e==="endDate"&&((i=r.current)==null||i.focus())},[e]),[t,r]}const Zje="_dateInputLabel_42qi7_1",e3e="_dateInput_42qi7_1",ym={dateInputLabel:Zje,dateInput:e3e},t3e="shared.customDateRangeSelector",kO=gr.encloseNamespace(t3e),r3e=2,tZ="DD/MM/YYYY";function n3e(e){const[t,r]=or.useState("startDate"),[n,i]=Jje(t);function a(o){t==="startDate"?(e.setDateRange({startDate:o,endDate:Cn.isAfter(o,e.endDate)?void 0:e.endDate}),r(u=>u==="endDate"?"startDate":"endDate")):(e.setDateRange({startDate:Cn.isAfter(e.startDate,o)?o:e.startDate,endDate:Cn.isAfter(e.startDate,o)?void 0:o}),Cn.isAfter(e.startDate,o)||r(u=>u==="endDate"?"startDate":"endDate"))}return j.jsxs("div",{className:"d-inline-block",children:[j.jsxs("div",{className:"d-flex align-items-center border-bottom p-3",children:[j.jsx("div",{className:"me-auto invisible",children:j.jsx(Ri,{svg:Oy})}),j.jsxs("form",{className:"d-flex align-items-center",children:[j.jsxs("div",{className:"position-relative",children:[j.jsx("strong",{className:ym.dateInputLabel,children:kO("from")}),j.jsx("input",{ref:n,className:`form-control cursor-pointer ${ym.dateInput}`,value:Cn.format(e.startDate,tZ)??"",onChange:()=>{},onFocus:()=>r("startDate")})]}),j.jsx("span",{className:"px-3",children:j.jsx(Ri,{svg:Qje})}),j.jsxs("div",{className:"position-relative",children:[j.jsx("strong",{className:ym.dateInputLabel,children:kO("to")}),j.jsx("input",{ref:i,className:`form-control cursor-pointer ${ym.dateInput}`,value:Cn.format(e.endDate,tZ)??"",onChange:()=>{},onFocus:()=>r("endDate")})]})]}),j.jsx("div",{className:"ms-auto cursor-pointer",children:j.jsx(Ri,{svg:Oy,onClick:e.close})})]}),j.jsx("div",{className:"p-3",children:j.jsx(Xje,{mode:"range",numberOfMonths:r3e,selected:{from:e.startDate,to:e.endDate},onDayClick:a,captionLayout:"dropdown-buttons",fromDate:e.minDate,toDate:e.maxDate,modifiersClassNames:{selected:"my-selected",today:"my-today"},defaultMonth:e.startDate})}),j.jsx("div",{className:"pb-3 px-3 text-end",children:j.jsx("button",{className:"btn btn-outline-dark",onClick:e.onClickApply,children:kO("apply")})})]})}function i3e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M9.2 6h5.6V4.6a.6.6 0 1 1 1.2 0V6h2a1 1 0 0 1 1 1v11a2 2 0 0 1-2 2H7a2 2 0 0 1-2-2V7a1 1 0 0 1 1-1h2V4.6a.6.6 0 0 1 1.2 0zM6 7h12v4H6zm0 0v11a1 1 0 0 0 1 1h10a1 1 0 0 0 1-1V7z"})})}function rZ(e){return j.jsx(Zi.Toggle,{as:"div",id:"date-range-dropdown",className:"no-caret",children:j.jsxs("button",{className:"btn btn-outline-dark d-flex align-items-center pe-5",onClick:()=>{e.toggleDropdown()},children:[j.jsx("span",{children:e.value}),j.jsx("div",{className:"position-absolute translate-middle top-50 end-0 me-n1",children:j.jsx(Ri,{svg:i3e,size:Zs.Standard})})]})})}function Wse(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M16.247 7.341a1 1 0 0 1 1.506 1.318l-7 8a1 1 0 0 1-1.46.048l-3-3a1 1 0 1 1 1.414-1.414l2.244 2.244z",clipRule:"evenodd"})})}function Gse(e){return Cn.isAfter(e,new Date,"day")}function Yse(e){return Gse(e.startDate)}function a3e(e){return`(${Cn.format(e.startDate,"ddd, D MMM")} - ${Cn.format(e.endDate,"ddd, D MMM")})`}function o3e(e){if(!Yse(e))return Gse(e.endDate)?{...e,endDate:new Date}:e}const s3e="_containerWithDynamicRanges_1khvp_1",u3e="_selectedDateRange_1khvp_4",l3e="_rangeList_1khvp_7",Ov={containerWithDynamicRanges:s3e,selectedDateRange:u3e,rangeList:l3e},c3e="shared.presetDateRangeSelector",f3e=gr.encloseNamespace(c3e);function d3e(e){const t="btn btn-link d-flex align-items-center py-1 px-0 text-decoration-none";return e?t+` fw-bold text-info ${Ov.selectedDateRange}`:t+" text-body"}function nZ(e){const t=e.range.name===e.selectedRangeName,r=Yse(e.range)||e.range.disabled,n=()=>j.jsxs("button",{className:d3e(t),onClick:()=>e.onClick(e.range),disabled:r,children:[t&&j.jsx(Ri,{svg:Wse}),j.jsx("span",{className:`${r?"text-secondary":""} ${e.isDynamic?"fw-bold":""}`,children:e.range.name}),!!e.isDynamic&&j.jsxs(j.Fragment,{children:[" ",j.jsx("span",{className:"text-secondary",children:a3e(e.range)})]})]});return e.range.tooltip?j.jsx(ec,{title:e.range.tooltip,placement:"left",spanHack:!0,spanHackClassName:"justify-content-start",children:j.jsx(n,{})}):j.jsx(n,{})}function h3e(e){var i;function t(a){const o=o3e(a);o&&e.setDateRange(o)}const r=!!((i=e.dynamicDateRanges)!=null&&i.length),n=e.selectedRangeName==="custom";return j.jsxs("div",{className:r?`py-3 ${Ov.containerWithDynamicRanges}`:"py-2",children:[j.jsxs("div",{className:"row px-2",children:[j.jsx("div",{className:r?"col-4 pe-2 border-end":"col-12",children:j.jsx("ul",{className:`list-unstyled ${Ov.rangeList}`,children:e.genericDateRanges.map((a,o)=>j.jsx("li",{children:j.jsx(nZ,{range:a,onClick:t,selectedRangeName:e.selectedRangeName})},o))})}),r&&j.jsx("div",{className:"col-8 ps-2",children:j.jsx("ul",{className:`list-unstyled ${Ov.rangeList}`,children:e.dynamicDateRanges.map((a,o)=>j.jsx("li",{children:j.jsx(nZ,{range:a,onClick:t,selectedRangeName:e.selectedRangeName,isDynamic:!0})},o))})})]}),j.jsx("div",{className:"row px-2",children:j.jsx("div",{className:"col-12",children:j.jsx("div",{className:r?"pe-2 text-end":Ov.rangeList,children:j.jsxs("button",{className:`btn btn-link d-flex align-items-center p-0 ${n?"text-info mx-n4":""}`,onClick:e.showCustomRangeSelector,children:[n&&j.jsx(Ri,{svg:Wse}),j.jsx("strong",{children:f3e("customRange")})]})})})})]})}function iZ(e){return e.getFullYear()===new Date().getFullYear()}function aZ(e,t){const r=t?"ddd, D MMM YYYY":"ddd, D MMM";return Cn.format(e,r)}function oZ(e,t,r){const i=Yk(e,t.name)||t;if(!i.startDate||!i.endDate)return"";const a=!iZ(i.startDate)||!iZ(i.endDate),o=`${aZ(i.startDate,a)} - ${aZ(i.endDate,a)}`;return i.name==="custom"?o:`${i.name}${r?"":` (${o})`}`}function v3e(e){const t=GMe(e.dateRangePresets,e.dateRangeQueryParams),[r,n]=or.useState(t),[i,a]=or.useState("none");or.useEffect(()=>{n(t)},[!!t]);function o(c){n(c),s(c)}function u(){a("none"),s(r)}function s(c){a("none"),jv.updateParams(Km(c),{merge:!0,keysToRemove:["rangeName"]}),wa.logUserAction(c,{actionType:Bt.Filter,descriptor:ck.DateRange,location:ka.DateRangeFilter,entity:xn.Filter})}return t?j.jsxs("div",{className:"position-relative",children:[j.jsxs(Zi,{show:i==="preset",onToggle:c=>a(c?"preset":"none"),className:i==="custom"?"d-none":"",children:[j.jsx(rZ,{value:oZ(e.dateRangePresets,t,e.hideRange),hideRange:e.hideRange,toggleDropdown:()=>a(i==="preset"?"none":"preset")}),j.jsx(Zi.Menu,{className:"p-0 text-nowrap",align:"end",children:j.jsx(h3e,{genericDateRanges:e.dateRangePresets,setDateRange:o,showCustomRangeSelector:()=>a("custom"),selectedRangeName:t.name})})]}),j.jsxs(Zi,{show:i==="custom",onToggle:u,className:i==="custom"?"":"d-none",children:[j.jsx(rZ,{value:oZ(e.dateRangePresets,t,e.hideRange),hideRange:e.hideRange}),j.jsx(Zi.Menu,{className:"p-0",align:"end",children:j.jsx(n3e,{startDate:r==null?void 0:r.startDate,endDate:r==null?void 0:r.endDate,setDateRange:n,maxDate:pP(),minDate:lp(),onClickApply:()=>s(r),close:()=>a("none")})})]})]}):j.jsx(j.Fragment,{})}function p3e(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"M12 13.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0 5.5a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3m0-11a1.5 1.5 0 1 1 0-3 1.5 1.5 0 0 1 0 3",fill:"currentColor"})})}const g3e="_dropdownToggle_1jkd1_1",m3e={dropdownToggle:g3e};function y3e(){return j.jsxs(j.Fragment,{children:[j.jsx("div",{style:{padding:"0.53125rem 1rem"},children:j.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"8rem"}})}),j.jsx("div",{style:{padding:"0.53125rem 1rem"},children:j.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"12rem"}})}),j.jsx("div",{style:{padding:"0.53125rem 1rem"},children:j.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"11rem"}})}),j.jsx("div",{style:{padding:"0.53125rem 1rem"},children:j.jsx("div",{className:"partial-loading-background",style:{height:"1.0625rem",width:"9rem"}})})]})}function NO(e){let t="dropdown-item";return e&&(t+=` ${e}`),t}function sZ(e){const t=gi.isFunction(e.action.label)?e.action.label():j.jsx(j.Fragment,{children:e.action.label});if(e.action.appLink)return j.jsxs(os,{appLink:e.action.appLink,onClick:e.action.onClick,className:NO(e.action.className),analyticsData:e.action.analyticsData,analyticsOptions:e.action.analyticsOptions,openInNewTab:e.action.openInNewTab,disabled:e.action.disabled,children:[e.action.svg&&j.jsx(Ri,{svg:e.action.svg,className:"d-inline-block svg-container me-2 align-middle"}),j.jsx("span",{className:"align-middle",children:t})]});function r(n){n.preventDefault(),e.action.analyticsData&&e.action.analyticsOptions&&wa.logUserAction(e.action.analyticsData,e.action.analyticsOptions),gi.isFunction(e.action.onClick)&&e.action.onClick(),e.action.href&&Yn.PageLoad(e.action.href,e.action.openInNewTab)}return e.action.href?j.jsxs("a",{className:NO(e.action.className),onClick:r,href:e.action.href,children:[e.action.svg&&j.jsx(Ri,{svg:e.action.svg,className:"d-inline-block svg-container me-2 align-middle"}),j.jsx("span",{className:"align-middle",children:t})]}):j.jsxs("span",{className:`cursor-pointer ${NO(e.action.className)}`,onClick:r,role:"button",tabIndex:0,onKeyDown:n=>n.key==="Enter"&&r(n),children:[e.action.svg&&j.jsx(Ri,{svg:e.action.svg,className:"d-inline-block svg-container me-2"}),t]})}oN.defaultProps={dropdownToggleClassName:"btn btn-light",dropdownToggleSvgSize:Zs.Small};function oN(e){if(!e.actions||!e.actions.length)return j.jsx(j.Fragment,{});const t=e.actions.some(o=>o.lazyPlaceholder);let r="dropdown";e.className&&(r+=` ${e.className}`);const n=`actions-dropdown-${Lk.getRandomInt()}`;let i=`dropdown-toggle px-0 ${m3e.dropdownToggle}`;e.dropdownToggleClassName&&(i+=` ${e.dropdownToggleClassName}`);let a;return j.jsxs("div",{className:r,children:[j.jsx("button",{className:i,type:"button",id:n,"data-bs-toggle":"dropdown","data-toggle":"dropdown","aria-haspopup":"true","aria-expanded":"false","aria-label":"More actions dropdown",onClick:t?e.fetchMore:null,children:j.jsx(Ri,{svg:p3e,size:e.dropdownToggleSvgSize})}),j.jsx("ul",{className:"dropdown-menu dropdown-menu-end dropdown-menu-right font-size-normal","aria-labelledby":n,children:t?j.jsx(y3e,{}):e.actions.map((o,u)=>{const s=a!==void 0&&a!==o.group;return a=o.group,o.tooltip?j.jsxs("li",{children:[s&&j.jsx("hr",{className:"dropdown-divider",role:"separator"}),j.jsx(ec,{title:o.tooltip,spanHack:!0,children:j.jsx(sZ,{action:o})})]},u):j.jsxs("li",{children:[s&&j.jsx("hr",{className:"dropdown-divider",role:"separator"}),j.jsx(sZ,{action:o})]},u)})})]})}function _3e(...e){if(!e.length)return"";const t=e.filter(r=>!!r);return t.length?t.join(" "):""}var m0=(e=>(e.Small="small",e.Medium="medium",e.Large="large",e))(m0||{}),fi=(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))(fi||{});function S3e(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"m16.837 9.842-1.138-3.678a1.65 1.65 0 0 0-.887-1.01 1.67 1.67 0 0 0-1.348-.02l-1.14.486a.8.8 0 0 1-.647 0l-1.14-.488a1.67 1.67 0 0 0-1.348.021 1.65 1.65 0 0 0-.887 1.01L7.164 9.842a7.17 7.17 0 0 0-3.062 1.85.41.41 0 0 0 .314.683h15.17c.162 0 .31-.094.376-.241a.41.41 0 0 0-.064-.44 7.17 7.17 0 0 0-3.061-1.852M9.094 6.404a.836.836 0 0 1 1.117-.516l1.135.484c.416.181.89.181 1.306 0l1.137-.485a.836.836 0 0 1 1.117.516l.976 3.153a16.17 16.17 0 0 0-7.764 0zm-3.59 5.148c1.455-1.019 3.866-1.645 6.497-1.645a14.5 14.5 0 0 1 4.41.651c.74.229 1.444.563 2.087.994zm9.807 1.645a2.9 2.9 0 0 0-2.508 1.447 1.61 1.61 0 0 0-1.604 0c-.763-1.323-2.425-1.835-3.807-1.173s-2.016 2.272-1.452 3.69a2.93 2.93 0 0 0 3.6 1.704 2.906 2.906 0 0 0 1.968-3.445.88.88 0 0 1 .986 0 2.87 2.87 0 0 0 1.269 3.088 2.91 2.91 0 0 0 3.351-.176c.966-.762 1.341-2.048.935-3.204s-1.505-1.932-2.738-1.93m-6.62 4.936c-1.143 0-2.07-.92-2.07-2.056s.927-2.057 2.07-2.057 2.069.92 2.069 2.057a2.065 2.065 0 0 1-2.07 2.056m6.62 0c-1.142 0-2.069-.92-2.069-2.056s.927-2.057 2.07-2.057 2.068.92 2.068 2.057a2.065 2.065 0 0 1-2.069 2.056",fill:"currentColor"})})}const E3e={[fi.Banners]:"banner",[fi.Thumbnails]:"thumbnail"},uZ={[fi.Banners]:"banners",[fi.Thumbnails]:"thumbnails",[fi.TallPosters]:"tallPosters",[fi.Covers]:"covers",[fi.Avatars]:"avatars"},w3e={categoryMapper:e=>`/v1/category-map/${e}`},Yu={createUrl(e,t){return Yu._createUrl(e,t)},createBannerUrl(e,t,r){return e&&e.url?Yu._createUrl(e.url,r):Yu._createCategoryMappedUrl(t,r)},createResourceImage(e,t,r){return Yu._createUrl(e,{url:t,...r})},Rfc3986EncodeURIComponent(e){return encodeURIComponent(e).replace(/[!'()*]/g,escape)},_createCategoryMappedUrl(e,t){const{fallbackBaseUrl:r,fallbackCategoryName:n,type:i}=e,a=fn.safeUrlConcat(r,`${w3e.categoryMapper(E3e[i])}`),o={name:Yu.Rfc3986EncodeURIComponent(n),...t};return Yu._createUrl(a,o)},_createUrl(e,t){if(!e)return;if(Ui.isEmpty(t))return e;const r=dy.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 ul?r=e.get("url"):typeof e=="string"?r=e:r=e.url,!r))return;const n={size:m0.Small,bgColor:"000",...t};return Yu._createUrl(r,n)},getDisplayImageFromObject(e){var t,r,n,i,a;return"tallPoster"in e&&((t=e.tallPoster)!=null&&t.url)?e.tallPoster:"cover"in e&&((r=e.cover)!=null&&r.url)?e.cover:"thumbnail"in e&&((n=e.thumbnail)!=null&&n.url)?e.thumbnail:"_parentVideo"in e&&((a=(i=e._parentVideo)==null?void 0:i.thumbnail)!=null&&a.url)?e._parentVideo.thumbnail:null},getUrlById(e,t,r,n){uZ[t]||vr.throw(new On(`ImageType:${t} not supported, please add it to 'ImageApiImageTypes'`));const i=fn.safeUrlConcat(e,`v2/${uZ[t]}/${r}`);return fn.urlBuilder(i,{size:n})}},b3e="_avatar_xiggt_1",T3e="_dot_xiggt_11",LO={avatar:b3e,dot:T3e};function R3e(e,t){return t?Yu.createUrl(fn.safeUrlConcat(e,`/v1/profile-images?initials=${t}`),{size:m0.Small}):""}function Kse(e){const t=!e.anonymiseUsers&&e.imageUrl||R3e(e.imageCdnUrl,e.initials);return j.jsxs("div",{className:"position-relative h-100 w-100",children:[e.showAnonymousUser?j.jsx("div",{className:`${LO.avatar} ${(e==null?void 0:e.extraClasses)||""} bg-gray-700 text-light`,children:j.jsx(Ri,{svg:S3e,size:e.anonymousSvgSize||Zs.Large,className:"svg-container w-100 h-100"})}):j.jsx("div",{className:`${LO.avatar} ${(e==null?void 0:e.extraClasses)||""}`,style:{backgroundImage:`url('${t}')`},children:" "}),e.showDot&&j.jsx("div",{className:`${LO.dot} rounded-circle bg-danger`})]})}const x3e={LOCAL_PERMISSIONS:"local:permissions",LOOKING_FOR_INTEGRATION:"looking:for:integration",ANONYMISE_USERS:"anonymise:users"},yc=()=>{const e=Ii(Wi.currentUser()),t=Ii(e.hasCompleted&&Wi.permissions()),[r]=ba(x3e.LOCAL_PERMISSIONS),n=a=>!t.hasCompleted||t.hasError?!1:!a||!(a!=null&&a.length)?!0:Array.isArray(a)?!a.find(o=>!t.data[o]):!!t.data[a],i=a=>(r||vr.throw(new On("Local Permissions should be registered during start up.")),!a||!(a!=null&&a.length)?!0:Array.isArray(a)?!a.find(o=>!r[o]):!!r[a]);return{permissions:t.data,hasPermissions:n,hasLocalPermissions:i,isLoaded:t.hasCompleted}};function lZ(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M13.5 4.5A.5.5 0 0 1 14 4h5.5a.5.5 0 0 1 .5.5V10a.5.5 0 0 1-1 0V5.707l-6.146 6.147a.5.5 0 0 1-.708-.708L18.293 5H14a.5.5 0 0 1-.5-.5M5 7.5A1.5 1.5 0 0 1 6.5 6H9a.5.5 0 0 1 0 1H6.5a.5.5 0 0 0-.5.5v11a.5.5 0 0 0 .5.5h11a.5.5 0 0 0 .5-.5V15a.5.5 0 0 1 1 0v3.5a1.5 1.5 0 0 1-1.5 1.5h-11A1.5 1.5 0 0 1 5 18.5z"})})}function Iy(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.378 5.167a.62.62 0 0 1 .873 0l7.535 7.507a.494.494 0 1 0 .697-.7l-7.536-7.506a1.605 1.605 0 0 0-2.266 0l-7.536 7.506a.494.494 0 1 0 .697.7zM6.206 13.43a.494.494 0 0 0-.987 0v6.077c0 .273.22.494.494.494h4.437a.494.494 0 0 0 .494-.494v-4.42c0-.335.274-.611.616-.611h1.109c.342 0 .616.276.616.611v4.42c0 .273.22.494.493.494h4.438a.494.494 0 0 0 .494-.494V13.43a.494.494 0 0 0-.988 0v5.583h-3.45v-3.926c0-.885-.72-1.599-1.603-1.599h-1.11c-.883 0-1.603.714-1.603 1.6v3.925h-3.45z",clipRule:"evenodd"})})}const C3e="_toggle_1f3ot_1",A3e={toggle:C3e},O3e=4,cZ="shared.customerSelectorItem";function I3e(e){var n;function t(i,a=null){a!==e.currentCustomerId&&(wa.logUserAction({id:e.currentCustomerId,newCustomerId:a},{actionType:Bt.SwitchCustomer,entity:xn.Customer,location:ka.UserOptions}),Yn.PageLoad(r(a)))}function r(i){return i?`/change-customer?customerId=${i}`:"/change-customer"}return!((n=e.customers)!=null&&n.length)||!e.currentCustomerId?j.jsx(j.Fragment,{}):e.customers.length<=1?j.jsx(j.Fragment,{}):e.customers.length>O3e?j.jsx(Zi.Item,{as:"li",onClick:i=>t(),className:"cursor-pointer",children:j.jsxs("div",{className:"d-flex justify-content-between",children:[j.jsx(up,{namespace:cZ,phrase:"title"}),j.jsx(Ri,{svg:Iy,className:"svg-container text-secondary"})]})}):j.jsxs("li",{className:"dropdown-item dropstart cursor-pointer",children:[j.jsxs("div",{className:`dropdown-toggle d-flex justify-content-between ${A3e.toggle}`,"data-bs-toggle":"dropdown","aria-expanded":"false",children:[j.jsx(up,{namespace:cZ,phrase:"title"}),j.jsx(Ri,{svg:Iy,className:"svg-container text-secondary"})]}),j.jsx("ul",{className:"dropdown-menu",children:e.customers.map((i,a)=>{const o=i.id===e.currentCustomerId;return j.jsx(Zi.Item,{as:"li",onClick:u=>t(u,i.id),disabled:o,children:i.name},a)})})]})}const Zp=e=>{const t=Ii(Wi.currentUser()),r=Ii(t.hasCompleted&&Lv.getCustomerSettingsRequest(t.data)),n=Ii(t.hasCompleted&&Lv.getUserSettingsRequest(t.data)),i=Nf(),a=!!r.hasCompleted&&!!n.hasCompleted,o=y=>{var b,A;if(!a||r.hasError||n.hasError)return null;const S=(b=r.data)==null?void 0:b[y];if(S)return S==null?void 0:S.value;const w=(A=n.data)==null?void 0:A[y];return w?w==null?void 0:w.value:null};function u(y,S,w,b,A){return y==="user"?wu.updateUserSetting(S,w,b,A):wu.updateCustomerSetting(S,w,b,A)}const s=(y,S,w,b,A)=>{function R(){wa.logUserAction({name:S.name,value:S.value},{location:e,entity:xn.UserSetting,actionType:Bt.Edit}),w==null||w()}Rh(i,u(y,S,R,b,A))},c=(y,S)=>new Promise((w,b)=>{s(y,S,w,b)}),d=(y,S,w,b)=>s("user",y,S,w,b),h=(y,S,w,b)=>s("customer",y,S,w,b),v=y=>c("user",y),g=y=>c("customer",y);function m(){var y;return(y=t.data)!=null&&y.isAuthenticated?o(br.HasTopicDirectories):!0}return{isLoadingSettings:!a,updateUserSetting:d,updateUserSettingAsync:v,updateCustomerSetting:h,updateCustomerSettingAsync:g,userSettings:n,shareToGoogleClassroom:o(br.ShareToGoogleClassroom),shareToMicrosoftTeams:o(br.ShareToMicrosoftTeams),hasLti:o(br.LTI),defaultPlaybackQuality:o(br.DefaultPlaybackQuality),defaultLocalCachePlaybackQuality:o(br.DefaultLocalCachePlaybackQuality),enableSubtitlesDefault:o(br.EnableSubtitlesDefault),hasCompletedOnboardingV1:o(br.HasCompletedOnboardingV1),hasCompletedOnboardingV2:o(br.HasCompletedOnboardingV2),hasOnboardingV2:o(br.HasNewOnboarding),hasCompletedOnboardingStepCreatePlaylist:o(br.HasCompletedOnboardingStepCreatePlaylist),hasCompletedOnboardingProductTips:o(br.HasCompletedOnboardingProductTips),liteUpgradeTime:o(br.LiteUpgradeTime),liteUpgradeTypeCustomer:o(br.LiteUpgradeTypeCustomer),liteUpgradeTypeUser:o(br.LiteUpgradeTypeUser),hasCompletedUpgradeOnboarding:o(br.HasCompletedUpgradeOnboarding),liteUpgradeFeedback:o(br.LiteUpgradeFeedback),liteUpgradeComplete:o(br.LiteUpgradeComplete),hasNewClassificationView:o(br.HasNewClassificationView),hasCuratedDiscoverDashboards:o(br.HasCuratedDiscoverDashboards),hasSpecialEventCalendar:o(br.HasSpecialEventCalendar),hasLiteSearchDropdown:o(br.HasLiteSearchDropdown),policyEndTime:o(br.PolicyEndTime),bulkOnboardingPreferencesState:o(br.BulkOnboardingPreferencesState),hasOnlineTopics:o(br.Topics),hasPreviewVideos:o(br.PreviewVideos),domainSettings:o(br.DomainSettings),inviteColleague:o(br.InviteColleague),myVideosFolders:o(br.MyVideosFolders),exchangeTvProductOption:o(br.ExchangeTvProductOption),messageFrequencyOption:o(br.MessageFrequencyOption),tvRegion:o(br.TvRegion),hasEnabledViviStudentCasting:o(br.HasEnabledViviStudentCasting),hasEnabledViviPlayback:o(br.HasEnabledViviPlayback),hasEnabledAppleTvPlayback:o(br.HasEnabledAppleTvPlayback),hasDisplayedPresentationSwitcherProductTip:o(br.HasDisplayedPresentationSwitcherProductTip),hasDisplayedTopicsDirectoryTabProductTip:o(br.HasDisplayedTopicsDirectoryTabProductTip),hasDisplayedGiveFeedbackFormProductTip:o(br.HasDisplayedGiveFeedbackFormProductTip),hasDisplayedWhatsNewLinkProductTip:o(br.HasDisplayedWhatsNewLinkProductTip),showExchangeSearchResults:o(br.ShowExchangeSearchResultsUser),shareOverrideRestrictions:o(br.ShareOverrideRestrictions),hasTopicDirectories:m(),hasTopicVideoListFeature:o(br.HasTopicVideoListFeature),hasManageGroupPermissions:o(br.HasManageGrouPermissions),experimentalInteractiveQuestions:o(br.ExperimentalInteractiveQuestions),hasClassrooms:o(br.HasClassrooms),hasNewSearch:o(br.HasNewSearch),hasPlayPageTranscript:o(br.HasPlayPageTranscript),hasShareFlowV2:o(br.HasShareFlowV2)}},Xse=()=>{const{liteUpgradeTypeUser:e,liteUpgradeTypeCustomer:t,liteUpgradeTime:r,liteUpgradeFeedback:n,liteUpgradeComplete:i,hasCompletedUpgradeOnboarding:a,isLoadingSettings:o}=Zp(null),{hasPermissions:u}=yc(),s=e||t,c=pe.useMemo(()=>{if(o||!r)return 0;const m=new Date(r),y=new Date;return Math.max(Cn.diffBetween(m,y,"day"),0)+1},[o,r]),[d,h]=ba("lite:upgrade:feedback:banner",{show:!0},{storage:Js.LocalStorage}),v=!!s;return{isUpgrading:v&&!i,isLoading:o,daysLeft:c,upgradeType:s,hasCompletedOnboarding:a,feedbackStatus:n,showFeedbackBanner:v&&d.show&&!u(Na.StudentExperience),showTvGuide:v,dismissFeedbackBanner:()=>h({show:!1})}};class P3e{static get Instance(){return this.instance||(this.instance=new this)}initialize(t){this.initializeUrl(t)}initializeUrl(t){if(!t.product){vr.throw(new On("ArticleHelper requires a product name"));return}if(this.product=t.product,this.marketingSiteUrl=t.marketingSiteUrl,t.product===Lo.Online){if(!t.onlineSupportSiteUrl){vr.throw(new On("ArticleHelper requires a online support site url"));return}this.supportSiteUrl=t.onlineSupportSiteUrl;return}if(!t.liteSupportSiteUrl){vr.throw(new On("ArticleHelper requires a lite support site url"));return}this.supportSiteUrl=t.liteSupportSiteUrl}validate(){return this.supportSiteUrl?!0:(vr.throw(new On("ArticleHelper was not initialized")),!1)}getArticle(t,r){if(!this.validate())return"";const n=t?`hc/${r}/${t}`:"hc";return fn.safeUrlConcat(this.supportSiteUrl,n)}getOnlineArticle(t,r="articles"){return this.product===Lo.Primary&&vr.throw(new On("ArticleHelper.getOnlineArticle() should not be used in Lite")),this.getArticle(t,r)}getLiteArticle(t,r="articles"){return this.product===Lo.Online&&vr.throw(new On("ArticleHelper.getLiteArticle() should not be used in Online")),this.getArticle(t,r)}getHybridArticle(t,r,n="articles"){return this.product===Lo.Online?this.getOnlineArticle(t,n):this.getLiteArticle(r,n)}getSupportRequestUrl(){return this.validate()?fn.safeUrlConcat(this.supportSiteUrl,"hc/requests/new"):""}getAuthorBlogUrl(t){return!this.marketingSiteUrl||!t?"":fn.safeUrlConcat(this.marketingSiteUrl,`blog/author/${t}`)}}const Py=P3e.Instance,D3e="shared.userOptions",fZ=gr.encloseNamespace(D3e);function k3e(e,t,r){const{hasPermissions:n}=yc(),i=Xse(),a=Qa.sortBy(t,"order");if(e&&(a.push({label:fZ("helpCentre"),order:0,url:Py.getHybridArticle(null,null),analyticsData:{url:Py.getHybridArticle(null,null)},analyticsOptions:{actionType:Bt.Click,entity:xn.Url,descriptor:Fd.ExternalLink,location:ka.UserOptions}}),n(Na.ViewProductBoard)&&!i.isUpgrading&&!r)){const u=fn.safeUrlConcat(e.productBoardUrl,"tabs/23-what-s-new");a.push({label:fZ("whatsNew"),order:0,url:u,analyticsData:{url:u},analyticsOptions:{actionType:Bt.Click,entity:xn.Url,descriptor:Fd.ExternalLink,location:ka.UserOptions}})}const o={main:[],logOut:[]};return a.forEach(u=>{u.section==="logOut"?o.logOut.push(u):o.main.push(u)}),o}function N3e(e,t,r){var c;const n=Ii(Wi.currentUser()),i=Ii(((c=n.data)==null?void 0:c.isAuthenticated)&&i0.userProducts()),a=Xse();if(t||!i.data||a.isLoading)return;const o=[...i.data],u=Array.isArray(e)?e:[e];a.isUpgrading&&!u.includes(Lo.Online)&&u.push(Lo.Online);let s=o.filter(d=>!u.includes(d.id),"order");return typeof r=="function"&&(s=r(s)),Qa.sortBy(s)}const L3e="_avatarContainer_1z0er_1",M3e="_productLogo_1z0er_5",$3e="_counter_1z0er_9",Dy={avatarContainer:L3e,productLogo:M3e,counter:$3e},F3e="shared.userOptions",Uv=gr.encloseNamespace(F3e);function dZ({item:e}){if(e.appLink)return j.jsxs(Zi.Item,{as:os,appLink:e.appLink,openInNewTab:e.openInNewTab,onClick:e.onClick,className:"d-flex align-items-center",analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:[e.counter>0&&j.jsx("div",{className:`${Dy.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),j.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,!!e.openInNewTab&&j.jsx(Ri,{svg:lZ,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&&wa.logUserAction({href:e.url,...e.analyticsData},e.analyticsOptions),Yn.PageLoad(e.url,!0)};return j.jsxs(Zi.Item,{as:"a",href:e.url,target:e.openInNewTab===!1?null:"_blank",className:"d-flex align-items-center",onClick:r=>t(r),children:[e.counter>0&&j.jsx("div",{className:`${Dy.counter} badge bg-danger rounded-pill fw-semibold me-1`,children:e.counter}),j.jsxs("div",{className:"d-flex justify-content-between",children:[e.label,e.openInNewTab!==!1&&j.jsx(Ri,{svg:lZ,className:"svg-container text-secondary"})]})]})}return j.jsx(j.Fragment,{})}const j3e=({appLinks:e,showSignUpForMobile:t})=>j.jsxs(j.Fragment,{children:[j.jsx(os,{appLink:e.signIn,className:"btn btn-link",analyticsOptions:{actionType:Bt.Click,location:ka.TopNav,entity:xn.Url,descriptor:Zv.SignIn},analyticsData:{},children:Uv("signIn")}),j.jsx(os,{appLink:e.signUp,className:_3e("btn btn-dark",!t&&"d-none d-lg-inline-block"),analyticsOptions:{actionType:Bt.Click,location:ka.TopNav,entity:xn.AppLink,workflowPhase:Zl.Start,descriptor:Zv.SignUp},analyticsData:{},tag:"button",children:Uv(t?"signUpForMobile":"signUp")})]}),U3e=({appLinks:e})=>j.jsx(os,{appLink:e.signIn,className:"btn btn-dark d-inline-block",analyticsOptions:{actionType:Bt.Click,location:ka.TopNav,entity:xn.AppLink,workflowPhase:Zl.Start,descriptor:Zv.SignIn},analyticsData:{},children:Uv("signIn")});function q3e(e){var m,y,S,w,b,A;const[t,r]=pe.useState(!1),{hasPermissions:n}=yc(),i=Ii(Wi.currentUser()),a=Ii(((m=i.data)==null?void 0:m.id)&&Wi.user(i.data.id)),o=Ii(of.config()),u=Ii(((y=i.data)==null?void 0:y.isAuthenticated)&&Wi.customers(i.data.id)),s=k3e(o.data,e.additionalItems,e.hideWhatsNew),c=n(Na.GuestExperience),d=e.hideProductList||c,h=N3e(e.productId,d,e.transform);function v(R){r(R),wa.logUserAction({},{actionType:Bt.Click,entity:xn.AppLink,location:ka.UserOptions,descriptor:R?Fd.Open:Fd.Close})}function g(R){wa.logUserAction({id:R.id,name:R.name},{actionType:Bt.Click,entity:xn.Product,location:ka.UserOptions,descriptor:Fd.ExternalLink})}return!i.hasCompleted||i.data.isAuthenticated&&!a.hasCompleted||!o.data?j.jsx(j.Fragment,{}):i.data.isAuthenticated?j.jsxs(Zi,{className:"position-relative",onToggle:v,children:[j.jsx(Zi.Toggle,{id:"userOptions",variant:"","aria-label":"Options menu",className:`${Dy.avatarContainer} no-caret border-0 p-0`,children:j.jsx(Kse,{imageUrl:Yu.createUrl(i.data.avatar,{size:m0.Small}),imageCdnUrl:o.data.imageCdnUrl,initials:Yl.getInitials(i.data.givenName,i.data.familyName),showDot:s.main.some(R=>R.counter>0)})}),j.jsxs(Zi.Menu,{as:"ul",align:"end",children:[j.jsxs(Zi.Item,{as:"div",children:[j.jsxs("div",{className:"m-0 d-flex flex-wrap",children:[j.jsx("strong",{children:i.data.displayName})," ",!c&&j.jsxs("span",{className:"text-secondary",children:["(",i.data.username,")"]})]}),j.jsx("div",{className:"m-0 text-secondary",children:i.data.customerName}),!c&&((S=a.data)==null?void 0:S.masterYearGroup)&&j.jsx("p",{className:"m-0 text-secondary",children:a.data.masterYearGroup.name})]}),j.jsx(I3e,{isParentOpen:t,currentCustomerId:(w=i.data)==null?void 0:w.customerId,customers:(b=u.data)==null?void 0:b.data}),j.jsx(Zi.Divider,{}),s.main.map((R,x)=>j.jsx(dZ,{item:R},x)),j.jsx(Zi.Divider,{}),h==null?void 0:h.map((R,x)=>j.jsxs(Zi.Item,{as:"a",href:R.url,target:"_blank",className:"d-flex align-items-center py-1",onClick:()=>g(R),children:[j.jsx("img",{src:R.imageUrl,className:`${Dy.productLogo} me-2`}),R.name]},x)),!!(h!=null&&h.length)&&j.jsx(Zi.Divider,{}),s.logOut.map((R,x)=>j.jsx(dZ,{item:R},x)),j.jsx(Zi.Item,{as:os,appLink:e.appLinks.signOut,analyticsData:{id:(A=i.data)==null?void 0:A.id},analyticsOptions:{actionType:Bt.Click,location:ka.UserOptions,entity:xn.AppLink,descriptor:Zv.SignOut},children:Uv("signOut")})]})]}):e.displaySignUp?j.jsx(j3e,{...e}):j.jsx(U3e,{...e})}const mo={AUDIENCE_FILTER_SELECTED_COUNT:"audience:filter:selected:count",AUDIENCE_FILTER_SUGGESTIONS:"audience:filter:suggestions",AUDIENCE_QUERY_PARAMS:"audience:query:params",DATE_RANGE_QUERY_PARAMS:"date:range:query:params",HEADER_TITLE:"header:title",HEADER_ACTIONS:"header:actions",LEFT_NAV_STATE:"left:nav:state",ANONYMISE_USERS:"anonymise:users"};var MO={},$O={},vv={exports:{}},Uc={exports:{}},V3e=Uc.exports,hZ;function B3e(){return hZ||(hZ=1,(function(){var e,t,r,n,i,a;typeof performance<"u"&&performance!==null&&performance.now?Uc.exports=function(){return performance.now()}:typeof process<"u"&&process!==null&&process.hrtime?(Uc.exports=function(){return(e()-i)/1e6},t=process.hrtime,e=function(){var o;return o=t(),o[0]*1e9+o[1]},n=e(),a=process.uptime()*1e9,i=n-a):Date.now?(Uc.exports=function(){return Date.now()-r},r=Date.now()):(Uc.exports=function(){return new Date().getTime()-r},r=new Date().getTime())}).call(V3e)),Uc.exports}var vZ;function H3e(){if(vZ)return vv.exports;vZ=1;for(var e=B3e(),t=typeof window>"u"?globalThis:window,r=["moz","webkit"],n="AnimationFrame",i=t["request"+n],a=t["cancel"+n]||t["cancelRequest"+n],o=0;!i&&o<r.length;o++)i=t[r[o]+"Request"+n],a=t[r[o]+"Cancel"+n]||t[r[o]+"CancelRequest"+n];if(!i||!a){var u=0,s=0,c=[],d=1e3/60;i=function(h){if(c.length===0){var v=e(),g=Math.max(0,d-(v-u));u=g+v,setTimeout(function(){var m=c.slice(0);c.length=0;for(var y=0;y<m.length;y++)if(!m[y].cancelled)try{m[y].callback(u)}catch(S){setTimeout(function(){throw S},0)}},Math.round(g))}return c.push({handle:++s,callback:h,cancelled:!1}),s},a=function(h){for(var v=0;v<c.length;v++)c[v].handle===h&&(c[v].cancelled=!0)}}return vv.exports=function(h){return i.call(t,h)},vv.exports.cancel=function(){a.apply(t,arguments)},vv.exports.polyfill=function(h){h||(h=t),h.requestAnimationFrame=i,h.cancelAnimationFrame=a},vv.exports}var pv={exports:{}},FO,pZ;function z3e(){if(pZ)return FO;pZ=1;var e=null,t=["Webkit","Moz","O","ms"];return FO=function(n){e||(e=document.createElement("div"));var i=e.style;if(n in i)return n;for(var a=n.charAt(0).toUpperCase()+n.slice(1),o=t.length;o>=0;o--){var u=t[o]+a;if(u in i)return u}return!1},FO}var jO,gZ;function W3e(){if(gZ)return jO;gZ=1,jO=n;var e=/\s/,t=/(_|-|\.|:)/,r=/([a-z][A-Z]|[A-Z][a-z])/;function n(s){return e.test(s)?s.toLowerCase():t.test(s)?(a(s)||s).toLowerCase():r.test(s)?u(s).toLowerCase():s.toLowerCase()}var i=/[\W_]+(.|$)/g;function a(s){return s.replace(i,function(c,d){return d?" "+d:""})}var o=/(.)([A-Z]+)/g;function u(s){return s.replace(o,function(c,d,h){return d+" "+h.toLowerCase().split("").join(" ")})}return jO}var UO,mZ;function G3e(){if(mZ)return UO;mZ=1;var e=W3e();UO=t;function t(r){return e(r).replace(/[\W_]+(.|$)/g,function(n,i){return i?" "+i:""}).trim()}return UO}var qO,yZ;function Y3e(){if(yZ)return qO;yZ=1;var e=G3e();qO=t;function t(r){return e(r).replace(/\s(\w)/g,function(n,i){return i.toUpperCase()})}return qO}var VO,_Z;function K3e(){if(_Z)return VO;_Z=1;var e={animationIterationCount:!0,boxFlex:!0,boxFlexGroup:!0,boxOrdinalGroup:!0,columnCount:!0,flex:!0,flexGrow:!0,flexPositive:!0,flexShrink:!0,flexNegative:!0,flexOrder:!0,gridRow:!0,gridColumn:!0,fontWeight:!0,lineClamp:!0,lineHeight:!0,opacity:!0,order:!0,orphans:!0,tabSize:!0,widows:!0,zIndex:!0,zoom:!0,fillOpacity:!0,stopOpacity:!0,strokeDashoffset:!0,strokeOpacity:!0,strokeWidth:!0};return VO=function(t,r){return typeof r=="number"&&!e[t]?r+"px":r},VO}var SZ;function Qse(){if(SZ)return pv.exports;SZ=1;var e=z3e(),t=Y3e(),r={float:"cssFloat"},n=K3e();function i(s,c,d){var h=r[c];if(typeof h>"u"&&(h=o(c)),h){if(d===void 0)return s.style[h];s.style[h]=n(h,d)}}function a(s,c){for(var d in c)c.hasOwnProperty(d)&&i(s,d,c[d])}function o(s){var c=t(s),d=e(c);return r[c]=r[s]=r[d]=d,d}function u(){arguments.length===2?typeof arguments[1]=="string"?arguments[0].style.cssText=arguments[1]:a(arguments[0],arguments[1]):i(arguments[0],arguments[1],arguments[2])}return pv.exports=u,pv.exports.set=u,pv.exports.get=function(s,c){return Array.isArray(c)?c.reduce(function(d,h){return d[h]=i(s,h||""),d},{}):i(s,c||"")},pv.exports}var BO={},EZ;function X3e(){return EZ||(EZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return typeof r=="string"}})(BO)),BO}var HO={},wZ;function Q3e(){return wZ||(wZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=a;var t=Qse(),r=n(t);function n(o){return o&&o.__esModule?o:{default:o}}var i=!1;function a(){var o=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;if(o&&i!==!1)return i;if(typeof document<"u"){var u=document.createElement("div");(0,r.default)(u,{width:100,height:100,position:"absolute",top:-9999,overflow:"scroll",MsOverflowStyle:"scrollbar"}),document.body.appendChild(u),i=u.offsetWidth-u.clientWidth,document.body.removeChild(u)}else i=0;return i||0}})(HO)),HO}var zO={},bZ;function J3e(){return bZ||(bZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(){return!1}})(zO)),zO}var WO={},TZ;function Z3e(){return TZ||(TZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=r.clientWidth,i=getComputedStyle(r),a=i.paddingLeft,o=i.paddingRight;return n-parseFloat(a)-parseFloat(o)}})(WO)),WO}var GO={},RZ;function e2e(){return RZ||(RZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){var n=r.clientHeight,i=getComputedStyle(r),a=i.paddingTop,o=i.paddingBottom;return n-parseFloat(a)-parseFloat(o)}})(GO)),GO}var Do={},xZ;function t2e(){return xZ||(xZ=1,Object.defineProperty(Do,"__esModule",{value:!0}),Do.containerStyleDefault={position:"relative",overflow:"hidden",width:"100%",height:"100%"},Do.containerStyleAutoHeight={height:"auto"},Do.viewStyleDefault={position:"absolute",top:0,left:0,right:0,bottom:0,overflow:"scroll",WebkitOverflowScrolling:"touch"},Do.viewStyleAutoHeight={position:"relative",top:void 0,left:void 0,right:void 0,bottom:void 0},Do.viewStyleUniversalInitial={overflow:"hidden",marginRight:0,marginBottom:0},Do.trackHorizontalStyleDefault={position:"absolute",height:6},Do.trackVerticalStyleDefault={position:"absolute",width:6},Do.thumbHorizontalStyleDefault={position:"relative",display:"block",height:"100%"},Do.thumbVerticalStyleDefault={position:"relative",display:"block",width:"100%"},Do.disableSelectStyle={userSelect:"none"},Do.disableSelectStyleReset={userSelect:""}),Do}var jl={},CZ;function r2e(){if(CZ)return jl;CZ=1,Object.defineProperty(jl,"__esModule",{value:!0});var e=Object.assign||function(d){for(var h=1;h<arguments.length;h++){var v=arguments[h];for(var g in v)Object.prototype.hasOwnProperty.call(v,g)&&(d[g]=v[g])}return d};jl.renderViewDefault=a,jl.renderTrackHorizontalDefault=o,jl.renderTrackVerticalDefault=u,jl.renderThumbHorizontalDefault=s,jl.renderThumbVerticalDefault=c;var t=zo(),r=n(t);function n(d){return d&&d.__esModule?d:{default:d}}function i(d,h){var v={};for(var g in d)h.indexOf(g)>=0||Object.prototype.hasOwnProperty.call(d,g)&&(v[g]=d[g]);return v}function a(d){return r.default.createElement("div",d)}function o(d){var h=d.style,v=i(d,["style"]),g=e({},h,{right:2,bottom:2,left:2,borderRadius:3});return r.default.createElement("div",e({style:g},v))}function u(d){var h=d.style,v=i(d,["style"]),g=e({},h,{right:2,bottom:2,top:2,borderRadius:3});return r.default.createElement("div",e({style:g},v))}function s(d){var h=d.style,v=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},v))}function c(d){var h=d.style,v=i(d,["style"]),g=e({},h,{cursor:"pointer",borderRadius:"inherit",backgroundColor:"rgba(0,0,0,.2)"});return r.default.createElement("div",e({style:g},v))}return jl}var AZ;function n2e(){return AZ||(AZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0});var t=Object.assign||function(B){for(var Y=1;Y<arguments.length;Y++){var Q=arguments[Y];for(var K in Q)Object.prototype.hasOwnProperty.call(Q,K)&&(B[K]=Q[K])}return B},r=(function(){function B(Y,Q){for(var K=0;K<Q.length;K++){var ee=Q[K];ee.enumerable=ee.enumerable||!1,ee.configurable=!0,"value"in ee&&(ee.writable=!0),Object.defineProperty(Y,ee.key,ee)}}return function(Y,Q,K){return Q&&B(Y.prototype,Q),K&&B(Y,K),Y}})(),n=H3e(),i=O(n),a=Qse(),o=O(a),u=zo(),s=Ff(),c=O(s),d=X3e(),h=O(d),v=Q3e(),g=O(v),m=J3e(),y=O(m),S=Z3e(),w=O(S),b=e2e(),A=O(b),R=t2e(),x=r2e();function O(B){return B&&B.__esModule?B:{default:B}}function _(B,Y){var Q={};for(var K in B)Y.indexOf(K)>=0||Object.prototype.hasOwnProperty.call(B,K)&&(Q[K]=B[K]);return Q}function P(B,Y){if(!(B instanceof Y))throw new TypeError("Cannot call a class as a function")}function N(B,Y){if(!B)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return Y&&(typeof Y=="object"||typeof Y=="function")?Y:B}function U(B,Y){if(typeof Y!="function"&&Y!==null)throw new TypeError("Super expression must either be null or a function, not "+typeof Y);B.prototype=Object.create(Y&&Y.prototype,{constructor:{value:B,enumerable:!1,writable:!0,configurable:!0}}),Y&&(Object.setPrototypeOf?Object.setPrototypeOf(B,Y):B.__proto__=Y)}var $=(function(B){U(Y,B);function Y(Q){var K;P(this,Y);for(var ee=arguments.length,ne=Array(ee>1?ee-1:0),D=1;D<ee;D++)ne[D-1]=arguments[D];var I=N(this,(K=Y.__proto__||Object.getPrototypeOf(Y)).call.apply(K,[this,Q].concat(ne)));return I.getScrollLeft=I.getScrollLeft.bind(I),I.getScrollTop=I.getScrollTop.bind(I),I.getScrollWidth=I.getScrollWidth.bind(I),I.getScrollHeight=I.getScrollHeight.bind(I),I.getClientWidth=I.getClientWidth.bind(I),I.getClientHeight=I.getClientHeight.bind(I),I.getValues=I.getValues.bind(I),I.getThumbHorizontalWidth=I.getThumbHorizontalWidth.bind(I),I.getThumbVerticalHeight=I.getThumbVerticalHeight.bind(I),I.getScrollLeftForOffset=I.getScrollLeftForOffset.bind(I),I.getScrollTopForOffset=I.getScrollTopForOffset.bind(I),I.scrollLeft=I.scrollLeft.bind(I),I.scrollTop=I.scrollTop.bind(I),I.scrollToLeft=I.scrollToLeft.bind(I),I.scrollToTop=I.scrollToTop.bind(I),I.scrollToRight=I.scrollToRight.bind(I),I.scrollToBottom=I.scrollToBottom.bind(I),I.handleTrackMouseEnter=I.handleTrackMouseEnter.bind(I),I.handleTrackMouseLeave=I.handleTrackMouseLeave.bind(I),I.handleHorizontalTrackMouseDown=I.handleHorizontalTrackMouseDown.bind(I),I.handleVerticalTrackMouseDown=I.handleVerticalTrackMouseDown.bind(I),I.handleHorizontalThumbMouseDown=I.handleHorizontalThumbMouseDown.bind(I),I.handleVerticalThumbMouseDown=I.handleVerticalThumbMouseDown.bind(I),I.handleWindowResize=I.handleWindowResize.bind(I),I.handleScroll=I.handleScroll.bind(I),I.handleDrag=I.handleDrag.bind(I),I.handleDragEnd=I.handleDragEnd.bind(I),I.state={didMountUniversal:!1},I}return r(Y,[{key:"componentDidMount",value:function(){this.addListeners(),this.update(),this.componentDidMountUniversal()}},{key:"componentDidMountUniversal",value:function(){var K=this.props.universal;K&&this.setState({didMountUniversal:!0})}},{key:"componentDidUpdate",value:function(){this.update()}},{key:"componentWillUnmount",value:function(){this.removeListeners(),(0,n.cancel)(this.requestFrame),clearTimeout(this.hideTracksTimeout),clearInterval(this.detectScrollingInterval)}},{key:"getScrollLeft",value:function(){return this.view?this.view.scrollLeft:0}},{key:"getScrollTop",value:function(){return this.view?this.view.scrollTop:0}},{key:"getScrollWidth",value:function(){return this.view?this.view.scrollWidth:0}},{key:"getScrollHeight",value:function(){return this.view?this.view.scrollHeight:0}},{key:"getClientWidth",value:function(){return this.view?this.view.clientWidth:0}},{key:"getClientHeight",value:function(){return this.view?this.view.clientHeight:0}},{key:"getValues",value:function(){var K=this.view||{},ee=K.scrollLeft,ne=ee===void 0?0:ee,D=K.scrollTop,I=D===void 0?0:D,L=K.scrollWidth,re=L===void 0?0:L,te=K.scrollHeight,ce=te===void 0?0:te,be=K.clientWidth,Ie=be===void 0?0:be,je=K.clientHeight,z=je===void 0?0:je;return{left:ne/(re-Ie)||0,top:I/(ce-z)||0,scrollLeft:ne,scrollTop:I,scrollWidth:re,scrollHeight:ce,clientWidth:Ie,clientHeight:z}}},{key:"getThumbHorizontalWidth",value:function(){var K=this.props,ee=K.thumbSize,ne=K.thumbMinSize,D=this.view,I=D.scrollWidth,L=D.clientWidth,re=(0,w.default)(this.trackHorizontal),te=Math.ceil(L/I*re);return re<=te?0:ee||Math.max(te,ne)}},{key:"getThumbVerticalHeight",value:function(){var K=this.props,ee=K.thumbSize,ne=K.thumbMinSize,D=this.view,I=D.scrollHeight,L=D.clientHeight,re=(0,A.default)(this.trackVertical),te=Math.ceil(L/I*re);return re<=te?0:ee||Math.max(te,ne)}},{key:"getScrollLeftForOffset",value:function(K){var ee=this.view,ne=ee.scrollWidth,D=ee.clientWidth,I=(0,w.default)(this.trackHorizontal),L=this.getThumbHorizontalWidth();return K/(I-L)*(ne-D)}},{key:"getScrollTopForOffset",value:function(K){var ee=this.view,ne=ee.scrollHeight,D=ee.clientHeight,I=(0,A.default)(this.trackVertical),L=this.getThumbVerticalHeight();return K/(I-L)*(ne-D)}},{key:"scrollLeft",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollLeft=K)}},{key:"scrollTop",value:function(){var K=arguments.length>0&&arguments[0]!==void 0?arguments[0]:0;this.view&&(this.view.scrollTop=K)}},{key:"scrollToLeft",value:function(){this.view&&(this.view.scrollLeft=0)}},{key:"scrollToTop",value:function(){this.view&&(this.view.scrollTop=0)}},{key:"scrollToRight",value:function(){this.view&&(this.view.scrollLeft=this.view.scrollWidth)}},{key:"scrollToBottom",value:function(){this.view&&(this.view.scrollTop=this.view.scrollHeight)}},{key:"addListeners",value:function(){if(!(typeof document>"u"||!this.view)){var K=this.view,ee=this.trackHorizontal,ne=this.trackVertical,D=this.thumbHorizontal,I=this.thumbVertical;K.addEventListener("scroll",this.handleScroll),(0,g.default)()&&(ee.addEventListener("mouseenter",this.handleTrackMouseEnter),ee.addEventListener("mouseleave",this.handleTrackMouseLeave),ee.addEventListener("mousedown",this.handleHorizontalTrackMouseDown),ne.addEventListener("mouseenter",this.handleTrackMouseEnter),ne.addEventListener("mouseleave",this.handleTrackMouseLeave),ne.addEventListener("mousedown",this.handleVerticalTrackMouseDown),D.addEventListener("mousedown",this.handleHorizontalThumbMouseDown),I.addEventListener("mousedown",this.handleVerticalThumbMouseDown),window.addEventListener("resize",this.handleWindowResize))}}},{key:"removeListeners",value:function(){if(!(typeof document>"u"||!this.view)){var K=this.view,ee=this.trackHorizontal,ne=this.trackVertical,D=this.thumbHorizontal,I=this.thumbVertical;K.removeEventListener("scroll",this.handleScroll),(0,g.default)()&&(ee.removeEventListener("mouseenter",this.handleTrackMouseEnter),ee.removeEventListener("mouseleave",this.handleTrackMouseLeave),ee.removeEventListener("mousedown",this.handleHorizontalTrackMouseDown),ne.removeEventListener("mouseenter",this.handleTrackMouseEnter),ne.removeEventListener("mouseleave",this.handleTrackMouseLeave),ne.removeEventListener("mousedown",this.handleVerticalTrackMouseDown),D.removeEventListener("mousedown",this.handleHorizontalThumbMouseDown),I.removeEventListener("mousedown",this.handleVerticalThumbMouseDown),window.removeEventListener("resize",this.handleWindowResize),this.teardownDragging())}}},{key:"handleScroll",value:function(K){var ee=this,ne=this.props,D=ne.onScroll,I=ne.onScrollFrame;D&&D(K),this.update(function(L){var re=L.scrollLeft,te=L.scrollTop;ee.viewScrollLeft=re,ee.viewScrollTop=te,I&&I(L)}),this.detectScrolling()}},{key:"handleScrollStart",value:function(){var K=this.props.onScrollStart;K&&K(),this.handleScrollStartAutoHide()}},{key:"handleScrollStartAutoHide",value:function(){var K=this.props.autoHide;K&&this.showTracks()}},{key:"handleScrollStop",value:function(){var K=this.props.onScrollStop;K&&K(),this.handleScrollStopAutoHide()}},{key:"handleScrollStopAutoHide",value:function(){var K=this.props.autoHide;K&&this.hideTracks()}},{key:"handleWindowResize",value:function(){(0,g.default)(!1),this.forceUpdate()}},{key:"handleHorizontalTrackMouseDown",value:function(K){K.preventDefault();var ee=K.target,ne=K.clientX,D=ee.getBoundingClientRect(),I=D.left,L=this.getThumbHorizontalWidth(),re=Math.abs(I-ne)-L/2;this.view.scrollLeft=this.getScrollLeftForOffset(re)}},{key:"handleVerticalTrackMouseDown",value:function(K){K.preventDefault();var ee=K.target,ne=K.clientY,D=ee.getBoundingClientRect(),I=D.top,L=this.getThumbVerticalHeight(),re=Math.abs(I-ne)-L/2;this.view.scrollTop=this.getScrollTopForOffset(re)}},{key:"handleHorizontalThumbMouseDown",value:function(K){K.preventDefault(),this.handleDragStart(K);var ee=K.target,ne=K.clientX,D=ee.offsetWidth,I=ee.getBoundingClientRect(),L=I.left;this.prevPageX=D-(ne-L)}},{key:"handleVerticalThumbMouseDown",value:function(K){K.preventDefault(),this.handleDragStart(K);var ee=K.target,ne=K.clientY,D=ee.offsetHeight,I=ee.getBoundingClientRect(),L=I.top;this.prevPageY=D-(ne-L)}},{key:"setupDragging",value:function(){(0,o.default)(document.body,R.disableSelectStyle),document.addEventListener("mousemove",this.handleDrag),document.addEventListener("mouseup",this.handleDragEnd),document.onselectstart=y.default}},{key:"teardownDragging",value:function(){(0,o.default)(document.body,R.disableSelectStyleReset),document.removeEventListener("mousemove",this.handleDrag),document.removeEventListener("mouseup",this.handleDragEnd),document.onselectstart=void 0}},{key:"handleDragStart",value:function(K){this.dragging=!0,K.stopImmediatePropagation(),this.setupDragging()}},{key:"handleDrag",value:function(K){if(this.prevPageX){var ee=K.clientX,ne=this.trackHorizontal.getBoundingClientRect(),D=ne.left,I=this.getThumbHorizontalWidth(),L=I-this.prevPageX,re=-D+ee-L;this.view.scrollLeft=this.getScrollLeftForOffset(re)}if(this.prevPageY){var te=K.clientY,ce=this.trackVertical.getBoundingClientRect(),be=ce.top,Ie=this.getThumbVerticalHeight(),je=Ie-this.prevPageY,z=-be+te-je;this.view.scrollTop=this.getScrollTopForOffset(z)}return!1}},{key:"handleDragEnd",value:function(){this.dragging=!1,this.prevPageX=this.prevPageY=0,this.teardownDragging(),this.handleDragEndAutoHide()}},{key:"handleDragEndAutoHide",value:function(){var K=this.props.autoHide;K&&this.hideTracks()}},{key:"handleTrackMouseEnter",value:function(){this.trackMouseOver=!0,this.handleTrackMouseEnterAutoHide()}},{key:"handleTrackMouseEnterAutoHide",value:function(){var K=this.props.autoHide;K&&this.showTracks()}},{key:"handleTrackMouseLeave",value:function(){this.trackMouseOver=!1,this.handleTrackMouseLeaveAutoHide()}},{key:"handleTrackMouseLeaveAutoHide",value:function(){var K=this.props.autoHide;K&&this.hideTracks()}},{key:"showTracks",value:function(){clearTimeout(this.hideTracksTimeout),(0,o.default)(this.trackHorizontal,{opacity:1}),(0,o.default)(this.trackVertical,{opacity:1})}},{key:"hideTracks",value:function(){var K=this;if(!this.dragging&&!this.scrolling&&!this.trackMouseOver){var ee=this.props.autoHideTimeout;clearTimeout(this.hideTracksTimeout),this.hideTracksTimeout=setTimeout(function(){(0,o.default)(K.trackHorizontal,{opacity:0}),(0,o.default)(K.trackVertical,{opacity:0})},ee)}}},{key:"detectScrolling",value:function(){var K=this;this.scrolling||(this.scrolling=!0,this.handleScrollStart(),this.detectScrollingInterval=setInterval(function(){K.lastViewScrollLeft===K.viewScrollLeft&&K.lastViewScrollTop===K.viewScrollTop&&(clearInterval(K.detectScrollingInterval),K.scrolling=!1,K.handleScrollStop()),K.lastViewScrollLeft=K.viewScrollLeft,K.lastViewScrollTop=K.viewScrollTop},100))}},{key:"raf",value:function(K){var ee=this;this.requestFrame&&i.default.cancel(this.requestFrame),this.requestFrame=(0,i.default)(function(){ee.requestFrame=void 0,K()})}},{key:"update",value:function(K){var ee=this;this.raf(function(){return ee._update(K)})}},{key:"_update",value:function(K){var ee=this.props,ne=ee.onUpdate,D=ee.hideTracksWhenNotNeeded,I=this.getValues();if((0,g.default)()){var L=I.scrollLeft,re=I.clientWidth,te=I.scrollWidth,ce=(0,w.default)(this.trackHorizontal),be=this.getThumbHorizontalWidth(),Ie=L/(te-re)*(ce-be),je={width:be,transform:"translateX("+Ie+"px)"},z=I.scrollTop,k=I.clientHeight,q=I.scrollHeight,H=(0,A.default)(this.trackVertical),ie=this.getThumbVerticalHeight(),V=z/(q-k)*(H-ie),Z={height:ie,transform:"translateY("+V+"px)"};if(D){var me={visibility:te>re?"visible":"hidden"},fe={visibility:q>k?"visible":"hidden"};(0,o.default)(this.trackHorizontal,me),(0,o.default)(this.trackVertical,fe)}(0,o.default)(this.thumbHorizontal,je),(0,o.default)(this.thumbVertical,Z)}ne&&ne(I),typeof K=="function"&&K(I)}},{key:"render",value:function(){var K=this,ee=(0,g.default)(),ne=this.props;ne.onScroll,ne.onScrollFrame,ne.onScrollStart,ne.onScrollStop,ne.onUpdate;var D=ne.renderView,I=ne.renderTrackHorizontal,L=ne.renderTrackVertical,re=ne.renderThumbHorizontal,te=ne.renderThumbVertical,ce=ne.tagName;ne.hideTracksWhenNotNeeded;var be=ne.autoHide;ne.autoHideTimeout;var Ie=ne.autoHideDuration;ne.thumbSize,ne.thumbMinSize;var je=ne.universal,z=ne.autoHeight,k=ne.autoHeightMin,q=ne.autoHeightMax,H=ne.style,ie=ne.children,V=_(ne,["onScroll","onScrollFrame","onScrollStart","onScrollStop","onUpdate","renderView","renderTrackHorizontal","renderTrackVertical","renderThumbHorizontal","renderThumbVertical","tagName","hideTracksWhenNotNeeded","autoHide","autoHideTimeout","autoHideDuration","thumbSize","thumbMinSize","universal","autoHeight","autoHeightMin","autoHeightMax","style","children"]),Z=this.state.didMountUniversal,me=t({},R.containerStyleDefault,z&&t({},R.containerStyleAutoHeight,{minHeight:k,maxHeight:q}),H),fe=t({},R.viewStyleDefault,{marginRight:ee?-ee:0,marginBottom:ee?-ee:0},z&&t({},R.viewStyleAutoHeight,{minHeight:(0,h.default)(k)?"calc("+k+" + "+ee+"px)":k+ee,maxHeight:(0,h.default)(q)?"calc("+q+" + "+ee+"px)":q+ee}),z&&je&&!Z&&{minHeight:k,maxHeight:q},je&&!Z&&R.viewStyleUniversalInitial),Re={transition:"opacity "+Ie+"ms",opacity:0},Se=t({},R.trackHorizontalStyleDefault,be&&Re,(!ee||je&&!Z)&&{display:"none"}),Oe=t({},R.trackVerticalStyleDefault,be&&Re,(!ee||je&&!Z)&&{display:"none"});return(0,u.createElement)(ce,t({},V,{style:me,ref:function(de){K.container=de}}),[(0,u.cloneElement)(D({style:fe}),{key:"view",ref:function(de){K.view=de}},ie),(0,u.cloneElement)(I({style:Se}),{key:"trackHorizontal",ref:function(de){K.trackHorizontal=de}},(0,u.cloneElement)(re({style:R.thumbHorizontalStyleDefault}),{ref:function(de){K.thumbHorizontal=de}})),(0,u.cloneElement)(L({style:Oe}),{key:"trackVertical",ref:function(de){K.trackVertical=de}},(0,u.cloneElement)(te({style:R.thumbVerticalStyleDefault}),{ref:function(de){K.thumbVertical=de}}))])}}]),Y})(u.Component);e.default=$,$.propTypes={onScroll:c.default.func,onScrollFrame:c.default.func,onScrollStart:c.default.func,onScrollStop:c.default.func,onUpdate:c.default.func,renderView:c.default.func,renderTrackHorizontal:c.default.func,renderTrackVertical:c.default.func,renderThumbHorizontal:c.default.func,renderThumbVertical:c.default.func,tagName:c.default.string,thumbSize:c.default.number,thumbMinSize:c.default.number,hideTracksWhenNotNeeded:c.default.bool,autoHide:c.default.bool,autoHideTimeout:c.default.number,autoHideDuration:c.default.number,autoHeight:c.default.bool,autoHeightMin:c.default.oneOfType([c.default.number,c.default.string]),autoHeightMax:c.default.oneOfType([c.default.number,c.default.string]),universal:c.default.bool,style:c.default.object,children:c.default.node},$.defaultProps={renderView:x.renderViewDefault,renderTrackHorizontal:x.renderTrackHorizontalDefault,renderTrackVertical:x.renderTrackVerticalDefault,renderThumbHorizontal:x.renderThumbHorizontalDefault,renderThumbVertical:x.renderThumbVerticalDefault,tagName:"div",thumbMinSize:30,hideTracksWhenNotNeeded:!1,autoHide:!1,autoHideTimeout:1e3,autoHideDuration:200,autoHeight:!1,autoHeightMin:0,autoHeightMax:200,universal:!1}})($O)),$O}var OZ;function i2e(){return OZ||(OZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.Scrollbars=void 0;var t=n2e(),r=n(t);function n(i){return i&&i.__esModule?i:{default:i}}e.default=r.default,e.Scrollbars=r.default})(MO)),MO}var dp=i2e();const a2e=jn(dp);Jse.defaultProps={checked:!1,label:"",className:""};function Jse(e){const{isLabelEllipsis:t}=e,r=pe.useRef(null);return pe.useEffect(()=>{if(r.current){if(e.checked){r.current.indeterminate&&(r.current.indeterminate=!1);return}if(e.indeterminate&&!r.current.indeterminate){r.current.indeterminate=!0;return}!e.indeterminate&&r.current.indeterminate&&(r.current.indeterminate=!1)}},[r.current,e.indeterminate,e.checked]),j.jsxs("div",{className:`form-check pe-2 ${e.className}`,children:[j.jsx("input",{ref:r,type:"checkbox",className:`${e.inputClassName} form-check-input`,id:e.id,name:e.name,checked:e.checked,onChange:e.onChange,disabled:e.disabled,"aria-checked":e.checked,"aria-label":e.ariaLabel}),e.label&&j.jsx("label",{className:"form-check-label cursor-pointer align-top",htmlFor:e.id,children:j.jsx("span",{className:`${t?"clamp-1":""}`,children:e.label})})]})}const o2e="_circle_15nxd_1",s2e="_img_15nxd_6",IZ={circle:o2e,img:s2e};Qm.defaultProps={textVariant:"white"};function Qm(e){return!e.imageUrl&&!e.svg?j.jsx(j.Fragment,{}):e.imageUrl?j.jsx("div",{className:`${IZ.img} rounded-circle h-100 w-100`,style:{backgroundImage:`url(${e.imageUrl})`},children:" "}):j.jsx("div",{className:`${IZ.circle} ${e.variant?`bg-${e.variant}`:""} text-${e.textVariant} rounded-circle h-100 w-100 ${e.svgWrapperClassName??""}`,children:j.jsx(Ri,{svg:e.svg,size:e.svgSize})})}function Zse(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"M11 11V7.002a.999.999 0 1 1 2 0V11h3.998a.999.999 0 1 1 0 2H13v3.998a.999.999 0 1 1-2 0V13H7.002a.999.999 0 1 1 0-2z",fill:"currentColor"})})}function u2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M16.367 7.964c.821-.63 1.453-1.642 1.453-2.78a.486.486 0 0 0-.477-.493h-2.482c-1.264 0-2.367.535-2.933 1.61A4.1 4.1 0 0 0 10.6 4.734a4.16 4.16 0 0 0-1.903-.732c-.263-.02-.689.284-.707.556-.02.272.375.607.637.626.106.01 2.35.231 2.814 2.92-.561-.124-.927-.449-2.3-.449-2.143 0-4.054 1.713-4.054 5.037 0 3.438 2.726 7.31 4.53 7.31 1.73 0 1.63-.506 2.384-.506.758 0 .65.505 2.384.505 1.805 0 4.53-3.868 4.53-7.309 0-2.563-1.114-4.105-2.547-4.727zm-1.506-2.187 1.86-.098c-.222 1.125-1.192 1.65-2.336 1.777l-1.761.198c.221-1.126 1.087-1.816 2.237-1.877m1.69 11.277c-.83 1.286-1.718 1.76-2.167 1.76-.842 0-1.107-.13-1.363-.257-.235-.116-.502-.248-1.02-.248-.519 0-.786.132-1.022.248-.256.127-.52.257-1.363.257-1 0-3.378-2.903-3.378-6.123 0-2.99 1.472-3.852 2.901-3.852 1.367 0 1.491.364 2.384.476.001.314.23.511.477.511.248 0 .478-.198.477-.51.9-.114 1.012-.477 2.384-.477 1.43 0 2.901.863 2.901 3.852 0 1.384-.315 2.974-1.211 4.363"})})}function l2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M15.527 12.013a2.507 2.507 0 1 0 0-5.013 2.507 2.507 0 0 0 0 5.013m0-1.002a1.504 1.504 0 1 1 0-3.008 1.504 1.504 0 0 1 0 3.008m-7.269 1.323a2.256 2.256 0 1 0 0-4.512 2.256 2.256 0 0 0 0 4.512m0-3.51a1.253 1.253 0 1 1 0 2.508 1.253 1.253 0 0 1 0-2.507M4.18 15.35c1.552-2.633 4.699-2.595 6.592-1.46a.502.502 0 0 1-.516.86c-1.588-.952-4.035-.888-5.212 1.11a.25.25 0 0 0 .01.285c.068.098.202.18.372.18h4.587a.501.501 0 1 1 0 1.004H5.426c-.496 0-.938-.242-1.195-.612a1.25 1.25 0 0 1-.051-1.367m9.045-2.03a6 6 0 0 1 2.302-.504c2.344 0 3.865 1.4 4.398 2.859.164.448.044.884-.225 1.19-.26.293-.653.464-1.064.464h-6.217a1.46 1.46 0 0 1-1.068-.457 1.22 1.22 0 0 1-.288-1.172c.351-1.254 1.265-1.978 2.162-2.38m.41.915c-.724.325-1.361.859-1.607 1.736q-.034.119.058.22c.07.075.191.135.333.135h6.217c.142 0 .254-.06.313-.126.048-.055.06-.11.035-.18-.397-1.084-1.556-2.2-3.457-2.2-.386 0-1.16.087-1.892.415",clipRule:"evenodd"})})}function c2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M11.64 16.055a.77.77 0 0 1 .72 0l3.768 1.998-.808-4.602 3.358-3.249-4.626-.654L12 5.35 9.948 9.548l-4.626.654 3.357 3.25-.807 4.601zm-3.75 3.148a.768.768 0 0 1-1.116-.811l.804-4.583-3.344-3.235a.768.768 0 0 1 .426-1.312l4.607-.652 2.043-4.18a.768.768 0 0 1 1.38 0l2.043 4.18 4.607.652a.768.768 0 0 1 .426 1.312l-3.344 3.235.804 4.583a.768.768 0 0 1-1.116.81L12 17.023z",clipRule:"evenodd"})})}var qc=(e=>(e.Pink="colour:0",e.Orange="colour:1",e.Green="colour:2",e.Blue="colour:3",e.Purple="colour:4",e.Indigo="colour:5",e))(qc||{});function f2e(e){switch(e){case qc.Pink:return"pink";case qc.Orange:return"orange";case qc.Green:return"green";case qc.Blue:return"blue";case qc.Purple:return"purple";case qc.Indigo:return"indigo";default:return"pink"}}const d2e="_avatarContainer_hat3w_1",h2e="_cta_hat3w_5",PZ={avatarContainer:d2e,cta:h2e},v2e="shared.audienceFilterItem",p2e=gr.encloseNamespace(v2e),g2e=2;function m2e(e){var r;const t=(r=e.classrooms)==null?void 0:r.data;if(t!=null&&t.length)return t.length<=g2e?e.classrooms.data.map(n=>n.name).join(" • "):p2e("severalClassrooms",{classroom:t[0].name,smartCount:t.length-1})}function y2e(e){var t,r;return e.typeId===zn.User&&((r=(t=e.classrooms)==null?void 0:t.data)!=null&&r.length)?m2e(e):""}function ff(e){var s,c;const t=e.object.typeId===zn.User&&e.object,r=e.object.typeId===zn.Classroom&&e.object,n=e.object.typeId===zn.ClassroomGroup&&e.object;let i=e.object.name;t&&(i+=` ${t.surname}`);const a=y2e(e.object),o="d-flex align-items-center justify-content-center text-white rounded-circle h-100 w-100",u=()=>e.onToggleSelected(!e.selected);return j.jsx("button",{className:"w-100",onClick:u,children:j.jsxs("div",{className:`d-flex align-items-center py-1 ${e.hideCheckbox?"bg-light-hover mx-n3 px-3":""}`,children:[!e.hideCheckbox&&j.jsx(Jse,{id:e.object.id,checked:e.selected,onChange:u}),j.jsxs("div",{className:`${PZ.avatarContainer} cursor-pointer me-2`,children:[!!t&&j.jsx(Kse,{imageUrl:(s=t.avatar)==null?void 0:s.url,imageCdnUrl:e.imageCdnUrl,initials:Yl.getInitials(e.object.name,t.surname)}),!!r&&j.jsx("div",{className:o,children:e.isPinned?j.jsx(Qm,{svg:c2e,variant:"yellow",svgSize:Zs.Large}):j.jsx(Qm,{svg:u2e,variant:"teal",svgSize:Zs.Large})}),!!n&&j.jsx("div",{className:o,children:j.jsx(Qm,{svg:l2e,variant:f2e((c=n.metadata)==null?void 0:c.colour)})})]}),j.jsxs("div",{children:[j.jsx("h4",{className:"text-start font-size-normal fw-normal m-0",children:i}),!!a&&j.jsx("p",{className:"text-secondary m-0",children:a})]}),e.hideCheckbox&&j.jsxs("div",{className:`${PZ.cta} ms-auto text-secondary`,children:[e.selected&&j.jsx(Ri,{svg:Oy}),!e.selected&&j.jsx(Ri,{svg:Zse})]})]})})}const _2e={FILTER_PARAM_PREFIX:"filters."};var YO={},KO,DZ;function S2e(){if(DZ)return KO;DZ=1;function e(t,r){if(t===r)return!0;if(!t||!r)return!1;var n=t.length;if(r.length!==n)return!1;for(var i=0;i<n;i++)if(t[i]!==r[i])return!1;return!0}return KO=e,KO}var XO={},QO,kZ;function E2e(){if(kZ)return QO;kZ=1;var e=(function(){function t(r,n){var i=[],a=!0,o=!1,u=void 0;try{for(var s=r[Symbol.iterator](),c;!(a=(c=s.next()).done)&&(i.push(c.value),!(n&&i.length===n));a=!0);}catch(d){o=!0,u=d}finally{try{!a&&s.return&&s.return()}finally{if(o)throw u}}return i}return function(r,n){if(Array.isArray(r))return r;if(Symbol.iterator in Object(r))return t(r,n);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();return QO=function(t){var r=t.data,n=t.multiSection;function i(c){for(c===null?c=0:c++;c<r.length&&r[c]===0;)c++;return c===r.length?null:c}function a(c){for(c===null?c=r.length-1:c--;c>=0&&r[c]===0;)c--;return c===-1?null:c}function o(c){var d=e(c,2),h=d[0],v=d[1];return n?v===null||v===r[h]-1?(h=i(h),h===null?[null,null]:[h,0]):[h,v+1]:r===0||v===r-1?[null,null]:v===null?[null,0]:[null,v+1]}function u(c){var d=e(c,2),h=d[0],v=d[1];return n?v===null||v===0?(h=a(h),h===null?[null,null]:[h,r[h]-1]):[h,v-1]:r===0||v===0?[null,null]:v===null?[null,r-1]:[null,v-1]}function s(c){return o(c)[1]===null}return{next:o,prev:u,isLast:s}},QO}var _m={exports:{}},JO,NZ;function w2e(){if(NZ)return JO;NZ=1;var e=Object.prototype.propertyIsEnumerable;function t(n){if(n==null)throw new TypeError("Object.assign cannot be called with null or undefined");return Object(n)}function r(n){var i=Object.getOwnPropertyNames(n);return Object.getOwnPropertySymbols&&(i=i.concat(Object.getOwnPropertySymbols(n))),i.filter(function(a){return e.call(n,a)})}return JO=Object.assign||function(n,i){for(var a,o,u=t(n),s=1;s<arguments.length;s++){a=arguments[s],o=r(Object(a));for(var c=0;c<o.length;c++)u[o[c]]=a[o[c]]}return u},JO}var LZ;function b2e(){return LZ||(LZ=1,(function(e,t){Object.defineProperty(t,"__esModule",{value:!0});var r=(function(){function s(c,d){var h=[],v=!0,g=!1,m=void 0;try{for(var y=c[Symbol.iterator](),S;!(v=(S=y.next()).done)&&(h.push(S.value),!(d&&h.length===d));v=!0);}catch(w){g=!0,m=w}finally{try{!v&&y.return&&y.return()}finally{if(g)throw m}}return h}return function(c,d){if(Array.isArray(c))return c;if(Symbol.iterator in Object(c))return s(c,d);throw new TypeError("Invalid attempt to destructure non-iterable instance")}})();function n(s){return s&&s.__esModule?s:{default:s}}function i(s){if(Array.isArray(s)){for(var c=0,d=Array(s.length);c<s.length;c++)d[c]=s[c];return d}else return Array.from(s)}var a=w2e(),o=n(a),u=function(c){return c};t.default=function(s){var c=Array.isArray(s)&&s.length===2?s:[s,null],d=r(c,2),h=d[0],v=d[1];return function(g){for(var m=arguments.length,y=Array(m>1?m-1:0),S=1;S<m;S++)y[S-1]=arguments[S];var w=y.map(function(b){return h[b]}).filter(u);return typeof w[0]=="string"||typeof v=="function"?{key:g,className:v?v.apply(void 0,i(w)):w.join(" ")}:{key:g,style:o.default.apply(void 0,[{}].concat(i(w)))}}},e.exports=t.default})(_m,_m.exports)),_m.exports}var ZO={},eI={},MZ;function sN(){return MZ||(MZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=r;function t(n){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?t=function(a){return typeof a}:t=function(a){return a&&typeof Symbol=="function"&&a.constructor===Symbol&&a!==Symbol.prototype?"symbol":typeof a},t(n)}function r(n,i){var a=arguments.length>2&&arguments[2]!==void 0?arguments[2]:[];if(n===i)return!1;var o=Object.keys(n),u=Object.keys(i);if(o.length!==u.length)return!0;var s={},c,d;for(c=0,d=a.length;c<d;c++)s[a[c]]=!0;for(c=0,d=o.length;c<d;c++){var h=o[c],v=n[h],g=i[h];if(v!==g){if(!s[h]||v===null||g===null||t(v)!=="object"||t(g)!=="object")return!0;var m=Object.keys(v),y=Object.keys(g);if(m.length!==y.length)return!0;for(var S=0,w=m.length;S<w;S++){var b=m[S];if(v[b]!==g[b])return!0}}}return!1}})(eI)),eI}var $Z;function T2e(){return $Z||($Z=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(zo()),r=i(Ff()),n=i(sN());function i(R){return R&&R.__esModule?R:{default:R}}function a(){if(typeof WeakMap!="function")return null;var R=new WeakMap;return a=function(){return R},R}function o(R){if(R&&R.__esModule)return R;if(R===null||u(R)!=="object"&&typeof R!="function")return{default:R};var x=a();if(x&&x.has(R))return x.get(R);var O={},_=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var P in R)if(Object.prototype.hasOwnProperty.call(R,P)){var N=_?Object.getOwnPropertyDescriptor(R,P):null;N&&(N.get||N.set)?Object.defineProperty(O,P,N):O[P]=R[P]}return O.default=R,x&&x.set(R,O),O}function u(R){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function(O){return typeof O}:u=function(O){return O&&typeof Symbol=="function"&&O.constructor===Symbol&&O!==Symbol.prototype?"symbol":typeof O},u(R)}function s(R,x){if(!(R instanceof x))throw new TypeError("Cannot call a class as a function")}function c(R,x){for(var O=0;O<x.length;O++){var _=x[O];_.enumerable=_.enumerable||!1,_.configurable=!0,"value"in _&&(_.writable=!0),Object.defineProperty(R,_.key,_)}}function d(R,x,O){return x&&c(R.prototype,x),R}function h(R){return function(){var x=y(R),O;if(m()){var _=y(this).constructor;O=Reflect.construct(x,arguments,_)}else O=x.apply(this,arguments);return v(this,O)}}function v(R,x){return x&&(u(x)==="object"||typeof x=="function")?x:g(R)}function g(R){if(R===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return R}function m(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function y(R){return y=Object.setPrototypeOf?Object.getPrototypeOf:function(O){return O.__proto__||Object.getPrototypeOf(O)},y(R)}function S(R,x){if(typeof x!="function"&&x!==null)throw new TypeError("Super expression must either be null or a function");R.prototype=Object.create(x&&x.prototype,{constructor:{value:R,writable:!0,configurable:!0}}),x&&w(R,x)}function w(R,x){return w=Object.setPrototypeOf||function(_,P){return _.__proto__=P,_},w(R,x)}function b(R,x,O){return x in R?Object.defineProperty(R,x,{value:O,enumerable:!0,configurable:!0,writable:!0}):R[x]=O,R}var A=(function(R){S(O,R);var x=h(O);function O(){return s(this,O),x.apply(this,arguments)}return d(O,[{key:"shouldComponentUpdate",value:function(P){return(0,n.default)(P,this.props)}},{key:"render",value:function(){var P=this.props,N=P.section,U=P.renderSectionTitle,$=P.theme,B=P.sectionKeyPrefix,Y=U(N);return Y?t.default.createElement("div",$("".concat(B,"title"),"sectionTitle"),Y):null}}]),O})(t.Component);e.default=A,b(A,"propTypes",{section:r.default.any.isRequired,renderSectionTitle:r.default.func.isRequired,theme:r.default.func.isRequired,sectionKeyPrefix:r.default.string.isRequired})})(ZO)),ZO}var tI={},rI={},FZ;function R2e(){return FZ||(FZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(zo()),r=i(Ff()),n=i(sN());function i(N){return N&&N.__esModule?N:{default:N}}function a(){if(typeof WeakMap!="function")return null;var N=new WeakMap;return a=function(){return N},N}function o(N){if(N&&N.__esModule)return N;if(N===null||u(N)!=="object"&&typeof N!="function")return{default:N};var U=a();if(U&&U.has(N))return U.get(N);var $={},B=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var Y in N)if(Object.prototype.hasOwnProperty.call(N,Y)){var Q=B?Object.getOwnPropertyDescriptor(N,Y):null;Q&&(Q.get||Q.set)?Object.defineProperty($,Y,Q):$[Y]=N[Y]}return $.default=N,U&&U.set(N,$),$}function u(N){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?u=function($){return typeof $}:u=function($){return $&&typeof Symbol=="function"&&$.constructor===Symbol&&$!==Symbol.prototype?"symbol":typeof $},u(N)}function s(){return s=Object.assign||function(N){for(var U=1;U<arguments.length;U++){var $=arguments[U];for(var B in $)Object.prototype.hasOwnProperty.call($,B)&&(N[B]=$[B])}return N},s.apply(this,arguments)}function c(N,U){var $=Object.keys(N);if(Object.getOwnPropertySymbols){var B=Object.getOwnPropertySymbols(N);U&&(B=B.filter(function(Y){return Object.getOwnPropertyDescriptor(N,Y).enumerable})),$.push.apply($,B)}return $}function d(N){for(var U=1;U<arguments.length;U++){var $=arguments[U]!=null?arguments[U]:{};U%2?c(Object($),!0).forEach(function(B){_(N,B,$[B])}):Object.getOwnPropertyDescriptors?Object.defineProperties(N,Object.getOwnPropertyDescriptors($)):c(Object($)).forEach(function(B){Object.defineProperty(N,B,Object.getOwnPropertyDescriptor($,B))})}return N}function h(N,U){if(N==null)return{};var $=v(N,U),B,Y;if(Object.getOwnPropertySymbols){var Q=Object.getOwnPropertySymbols(N);for(Y=0;Y<Q.length;Y++)B=Q[Y],!(U.indexOf(B)>=0)&&Object.prototype.propertyIsEnumerable.call(N,B)&&($[B]=N[B])}return $}function v(N,U){if(N==null)return{};var $={},B=Object.keys(N),Y,Q;for(Q=0;Q<B.length;Q++)Y=B[Q],!(U.indexOf(Y)>=0)&&($[Y]=N[Y]);return $}function g(N,U){if(!(N instanceof U))throw new TypeError("Cannot call a class as a function")}function m(N,U){for(var $=0;$<U.length;$++){var B=U[$];B.enumerable=B.enumerable||!1,B.configurable=!0,"value"in B&&(B.writable=!0),Object.defineProperty(N,B.key,B)}}function y(N,U,$){return U&&m(N.prototype,U),N}function S(N){return function(){var U=R(N),$;if(A()){var B=R(this).constructor;$=Reflect.construct(U,arguments,B)}else $=U.apply(this,arguments);return w(this,$)}}function w(N,U){return U&&(u(U)==="object"||typeof U=="function")?U:b(N)}function b(N){if(N===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return N}function A(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function R(N){return R=Object.setPrototypeOf?Object.getPrototypeOf:function($){return $.__proto__||Object.getPrototypeOf($)},R(N)}function x(N,U){if(typeof U!="function"&&U!==null)throw new TypeError("Super expression must either be null or a function");N.prototype=Object.create(U&&U.prototype,{constructor:{value:N,writable:!0,configurable:!0}}),U&&O(N,U)}function O(N,U){return O=Object.setPrototypeOf||function(B,Y){return B.__proto__=Y,B},O(N,U)}function _(N,U,$){return U in N?Object.defineProperty(N,U,{value:$,enumerable:!0,configurable:!0,writable:!0}):N[U]=$,N}var P=(function(N){x($,N);var U=S($);function $(){var B;g(this,$);for(var Y=arguments.length,Q=new Array(Y),K=0;K<Y;K++)Q[K]=arguments[K];return B=U.call.apply(U,[this].concat(Q)),_(b(B),"storeItemReference",function(ee){ee!==null&&(B.item=ee)}),_(b(B),"onMouseEnter",function(ee){var ne=B.props,D=ne.sectionIndex,I=ne.itemIndex;B.props.onMouseEnter(ee,{sectionIndex:D,itemIndex:I})}),_(b(B),"onMouseLeave",function(ee){var ne=B.props,D=ne.sectionIndex,I=ne.itemIndex;B.props.onMouseLeave(ee,{sectionIndex:D,itemIndex:I})}),_(b(B),"onMouseDown",function(ee){var ne=B.props,D=ne.sectionIndex,I=ne.itemIndex;B.props.onMouseDown(ee,{sectionIndex:D,itemIndex:I})}),_(b(B),"onClick",function(ee){var ne=B.props,D=ne.sectionIndex,I=ne.itemIndex;B.props.onClick(ee,{sectionIndex:D,itemIndex:I})}),B}return y($,[{key:"shouldComponentUpdate",value:function(Y){return(0,n.default)(Y,this.props,["renderItemData"])}},{key:"render",value:function(){var Y=this.props,Q=Y.isHighlighted,K=Y.item,ee=Y.renderItem,ne=Y.renderItemData,D=h(Y,["isHighlighted","item","renderItem","renderItemData"]);return delete D.sectionIndex,delete D.itemIndex,typeof D.onMouseEnter=="function"&&(D.onMouseEnter=this.onMouseEnter),typeof D.onMouseLeave=="function"&&(D.onMouseLeave=this.onMouseLeave),typeof D.onMouseDown=="function"&&(D.onMouseDown=this.onMouseDown),typeof D.onClick=="function"&&(D.onClick=this.onClick),t.default.createElement("li",s({role:"option"},D,{ref:this.storeItemReference}),ee(K,d({isHighlighted:Q},ne)))}}]),$})(t.Component);e.default=P,_(P,"propTypes",{sectionIndex:r.default.number,isHighlighted:r.default.bool.isRequired,itemIndex:r.default.number.isRequired,item:r.default.any.isRequired,renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,onMouseEnter:r.default.func,onMouseLeave:r.default.func,onMouseDown:r.default.func,onClick:r.default.func})})(rI)),rI}var jZ;function x2e(){return jZ||(jZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=u(zo()),r=a(Ff()),n=a(R2e()),i=a(sN());function a(P){return P&&P.__esModule?P:{default:P}}function o(){if(typeof WeakMap!="function")return null;var P=new WeakMap;return o=function(){return P},P}function u(P){if(P&&P.__esModule)return P;if(P===null||s(P)!=="object"&&typeof P!="function")return{default:P};var N=o();if(N&&N.has(P))return N.get(P);var U={},$=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var B in P)if(Object.prototype.hasOwnProperty.call(P,B)){var Y=$?Object.getOwnPropertyDescriptor(P,B):null;Y&&(Y.get||Y.set)?Object.defineProperty(U,B,Y):U[B]=P[B]}return U.default=P,N&&N.set(P,U),U}function s(P){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?s=function(U){return typeof U}:s=function(U){return U&&typeof Symbol=="function"&&U.constructor===Symbol&&U!==Symbol.prototype?"symbol":typeof U},s(P)}function c(){return c=Object.assign||function(P){for(var N=1;N<arguments.length;N++){var U=arguments[N];for(var $ in U)Object.prototype.hasOwnProperty.call(U,$)&&(P[$]=U[$])}return P},c.apply(this,arguments)}function d(P,N){var U=Object.keys(P);if(Object.getOwnPropertySymbols){var $=Object.getOwnPropertySymbols(P);N&&($=$.filter(function(B){return Object.getOwnPropertyDescriptor(P,B).enumerable})),U.push.apply(U,$)}return U}function h(P){for(var N=1;N<arguments.length;N++){var U=arguments[N]!=null?arguments[N]:{};N%2?d(Object(U),!0).forEach(function($){O(P,$,U[$])}):Object.getOwnPropertyDescriptors?Object.defineProperties(P,Object.getOwnPropertyDescriptors(U)):d(Object(U)).forEach(function($){Object.defineProperty(P,$,Object.getOwnPropertyDescriptor(U,$))})}return P}function v(P,N){if(!(P instanceof N))throw new TypeError("Cannot call a class as a function")}function g(P,N){for(var U=0;U<N.length;U++){var $=N[U];$.enumerable=$.enumerable||!1,$.configurable=!0,"value"in $&&($.writable=!0),Object.defineProperty(P,$.key,$)}}function m(P,N,U){return N&&g(P.prototype,N),P}function y(P){return function(){var N=A(P),U;if(b()){var $=A(this).constructor;U=Reflect.construct(N,arguments,$)}else U=N.apply(this,arguments);return S(this,U)}}function S(P,N){return N&&(s(N)==="object"||typeof N=="function")?N:w(P)}function w(P){if(P===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return P}function b(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A(P){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(U){return U.__proto__||Object.getPrototypeOf(U)},A(P)}function R(P,N){if(typeof N!="function"&&N!==null)throw new TypeError("Super expression must either be null or a function");P.prototype=Object.create(N&&N.prototype,{constructor:{value:P,writable:!0,configurable:!0}}),N&&x(P,N)}function x(P,N){return x=Object.setPrototypeOf||function($,B){return $.__proto__=B,$},x(P,N)}function O(P,N,U){return N in P?Object.defineProperty(P,N,{value:U,enumerable:!0,configurable:!0,writable:!0}):P[N]=U,P}var _=(function(P){R(U,P);var N=y(U);function U(){var $;v(this,U);for(var B=arguments.length,Y=new Array(B),Q=0;Q<B;Q++)Y[Q]=arguments[Q];return $=N.call.apply(N,[this].concat(Y)),O(w($),"storeHighlightedItemReference",function(K){$.props.onHighlightedItemChange(K===null?null:K.item)}),$}return m(U,[{key:"shouldComponentUpdate",value:function(B){return(0,i.default)(B,this.props,["itemProps"])}},{key:"render",value:function(){var B=this,Y=this.props,Q=Y.items,K=Y.itemProps,ee=Y.renderItem,ne=Y.renderItemData,D=Y.sectionIndex,I=Y.highlightedItemIndex,L=Y.getItemId,re=Y.theme,te=Y.keyPrefix,ce=D===null?te:"".concat(te,"section-").concat(D,"-"),be=typeof K=="function";return t.default.createElement("ul",c({role:"listbox"},re("".concat(ce,"items-list"),"itemsList")),Q.map(function(Ie,je){var z=je===0,k=je===I,q="".concat(ce,"item-").concat(je),H=be?K({sectionIndex:D,itemIndex:je}):K,ie=h({id:L(D,je),"aria-selected":k},re(q,"item",z&&"itemFirst",k&&"itemHighlighted"),{},H);return k&&(ie.ref=B.storeHighlightedItemReference),t.default.createElement(n.default,c({},ie,{sectionIndex:D,isHighlighted:k,itemIndex:je,item:Ie,renderItem:ee,renderItemData:ne}))}))}}]),U})(t.Component);e.default=_,O(_,"propTypes",{items:r.default.array.isRequired,itemProps:r.default.oneOfType([r.default.object,r.default.func]),renderItem:r.default.func.isRequired,renderItemData:r.default.object.isRequired,sectionIndex:r.default.number,highlightedItemIndex:r.default.number,onHighlightedItemChange:r.default.func.isRequired,getItemId:r.default.func.isRequired,theme:r.default.func.isRequired,keyPrefix:r.default.string.isRequired}),O(_,"defaultProps",{sectionIndex:null})})(tI)),tI}var UZ;function C2e(){return UZ||(UZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=c(zo()),r=u(Ff()),n=u(E2e()),i=u(b2e()),a=u(T2e()),o=u(x2e());function u(I){return I&&I.__esModule?I:{default:I}}function s(){if(typeof WeakMap!="function")return null;var I=new WeakMap;return s=function(){return I},I}function c(I){if(I&&I.__esModule)return I;if(I===null||b(I)!=="object"&&typeof I!="function")return{default:I};var L=s();if(L&&L.has(I))return L.get(I);var re={},te=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var ce in I)if(Object.prototype.hasOwnProperty.call(I,ce)){var be=te?Object.getOwnPropertyDescriptor(I,ce):null;be&&(be.get||be.set)?Object.defineProperty(re,ce,be):re[ce]=I[ce]}return re.default=I,L&&L.set(I,re),re}function d(I,L){var re=Object.keys(I);if(Object.getOwnPropertySymbols){var te=Object.getOwnPropertySymbols(I);L&&(te=te.filter(function(ce){return Object.getOwnPropertyDescriptor(I,ce).enumerable})),re.push.apply(re,te)}return re}function h(I){for(var L=1;L<arguments.length;L++){var re=arguments[L]!=null?arguments[L]:{};L%2?d(Object(re),!0).forEach(function(te){Y(I,te,re[te])}):Object.getOwnPropertyDescriptors?Object.defineProperties(I,Object.getOwnPropertyDescriptors(re)):d(Object(re)).forEach(function(te){Object.defineProperty(I,te,Object.getOwnPropertyDescriptor(re,te))})}return I}function v(I,L){return w(I)||S(I,L)||m(I,L)||g()}function g(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
172
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function m(I,L){if(I){if(typeof I=="string")return y(I,L);var re=Object.prototype.toString.call(I).slice(8,-1);if(re==="Object"&&I.constructor&&(re=I.constructor.name),re==="Map"||re==="Set")return Array.from(re);if(re==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(re))return y(I,L)}}function y(I,L){(L==null||L>I.length)&&(L=I.length);for(var re=0,te=new Array(L);re<L;re++)te[re]=I[re];return te}function S(I,L){if(!(typeof Symbol>"u"||!(Symbol.iterator in Object(I)))){var re=[],te=!0,ce=!1,be=void 0;try{for(var Ie=I[Symbol.iterator](),je;!(te=(je=Ie.next()).done)&&(re.push(je.value),!(L&&re.length===L));te=!0);}catch(z){ce=!0,be=z}finally{try{!te&&Ie.return!=null&&Ie.return()}finally{if(ce)throw be}}return re}}function w(I){if(Array.isArray(I))return I}function b(I){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?b=function(re){return typeof re}:b=function(re){return re&&typeof Symbol=="function"&&re.constructor===Symbol&&re!==Symbol.prototype?"symbol":typeof re},b(I)}function A(I,L){if(!(I instanceof L))throw new TypeError("Cannot call a class as a function")}function R(I,L){for(var re=0;re<L.length;re++){var te=L[re];te.enumerable=te.enumerable||!1,te.configurable=!0,"value"in te&&(te.writable=!0),Object.defineProperty(I,te.key,te)}}function x(I,L,re){return L&&R(I.prototype,L),I}function O(I){return function(){var L=U(I),re;if(N()){var te=U(this).constructor;re=Reflect.construct(L,arguments,te)}else re=L.apply(this,arguments);return _(this,re)}}function _(I,L){return L&&(b(L)==="object"||typeof L=="function")?L:P(I)}function P(I){if(I===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return I}function N(){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 U(I){return U=Object.setPrototypeOf?Object.getPrototypeOf:function(re){return re.__proto__||Object.getPrototypeOf(re)},U(I)}function $(I,L){if(typeof L!="function"&&L!==null)throw new TypeError("Super expression must either be null or a function");I.prototype=Object.create(L&&L.prototype,{constructor:{value:I,writable:!0,configurable:!0}}),L&&B(I,L)}function B(I,L){return B=Object.setPrototypeOf||function(te,ce){return te.__proto__=ce,te},B(I,L)}function Y(I,L,re){return L in I?Object.defineProperty(I,L,{value:re,enumerable:!0,configurable:!0,writable:!0}):I[L]=re,I}var Q={},K=function(L){return t.default.createElement("input",L)},ee=function(L){var re=L.containerProps,te=L.children;return t.default.createElement("div",re,te)},ne={container:"react-autowhatever__container",containerOpen:"react-autowhatever__container--open",input:"react-autowhatever__input",inputOpen:"react-autowhatever__input--open",inputFocused:"react-autowhatever__input--focused",itemsContainer:"react-autowhatever__items-container",itemsContainerOpen:"react-autowhatever__items-container--open",itemsList:"react-autowhatever__items-list",item:"react-autowhatever__item",itemFirst:"react-autowhatever__item--first",itemHighlighted:"react-autowhatever__item--highlighted",sectionContainer:"react-autowhatever__section-container",sectionContainerFirst:"react-autowhatever__section-container--first",sectionTitle:"react-autowhatever__section-title"},D=(function(I){$(re,I);var L=O(re);function re(te){var ce;return A(this,re),ce=L.call(this,te),Y(P(ce),"storeInputReference",function(be){be!==null&&(ce.input=be);var Ie=ce.props.inputProps.ref;Ie&&(typeof Ie=="function"?Ie(be):b(Ie)==="object"&&Object.prototype.hasOwnProperty.call(Ie,"current")&&(Ie.current=be))}),Y(P(ce),"storeItemsContainerReference",function(be){be!==null&&(ce.itemsContainer=be)}),Y(P(ce),"onHighlightedItemChange",function(be){ce.highlightedItem=be}),Y(P(ce),"getItemId",function(be,Ie){if(Ie===null)return null;var je=ce.props.id,z=be===null?"":"section-".concat(be);return"react-autowhatever-".concat(je,"-").concat(z,"-item-").concat(Ie)}),Y(P(ce),"onFocus",function(be){var Ie=ce.props.inputProps;ce.setState({isInputFocused:!0}),Ie.onFocus&&Ie.onFocus(be)}),Y(P(ce),"onBlur",function(be){var Ie=ce.props.inputProps;ce.setState({isInputFocused:!1}),Ie.onBlur&&Ie.onBlur(be)}),Y(P(ce),"onKeyDown",function(be){var Ie=ce.props,je=Ie.inputProps,z=Ie.highlightedSectionIndex,k=Ie.highlightedItemIndex,q=be.keyCode;switch(q){case 40:case 38:{var H=q===40?"next":"prev",ie=ce.sectionIterator[H]([z,k]),V=v(ie,2),Z=V[0],me=V[1];je.onKeyDown(be,{newHighlightedSectionIndex:Z,newHighlightedItemIndex:me});break}default:je.onKeyDown(be,{highlightedSectionIndex:z,highlightedItemIndex:k})}}),ce.highlightedItem=null,ce.state={isInputFocused:!1},ce.setSectionsItems(te),ce.setSectionIterator(te),ce.setTheme(te),ce}return x(re,[{key:"componentDidMount",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"UNSAFE_componentWillReceiveProps",value:function(ce){ce.items!==this.props.items&&this.setSectionsItems(ce),(ce.items!==this.props.items||ce.multiSection!==this.props.multiSection)&&this.setSectionIterator(ce),ce.theme!==this.props.theme&&this.setTheme(ce)}},{key:"componentDidUpdate",value:function(){this.ensureHighlightedItemIsVisible()}},{key:"setSectionsItems",value:function(ce){ce.multiSection&&(this.sectionsItems=ce.items.map(function(be){return ce.getSectionItems(be)}),this.sectionsLengths=this.sectionsItems.map(function(be){return be.length}),this.allSectionsAreEmpty=this.sectionsLengths.every(function(be){return be===0}))}},{key:"setSectionIterator",value:function(ce){this.sectionIterator=(0,n.default)({multiSection:ce.multiSection,data:ce.multiSection?this.sectionsLengths:ce.items.length})}},{key:"setTheme",value:function(ce){this.theme=(0,i.default)(ce.theme)}},{key:"renderSections",value:function(){var ce=this;if(this.allSectionsAreEmpty)return null;var be=this.theme,Ie=this.props,je=Ie.id,z=Ie.items,k=Ie.renderItem,q=Ie.renderItemData,H=Ie.renderSectionTitle,ie=Ie.highlightedSectionIndex,V=Ie.highlightedItemIndex,Z=Ie.itemProps;return z.map(function(me,fe){var Re="react-autowhatever-".concat(je,"-"),Se="".concat(Re,"section-").concat(fe,"-"),Oe=fe===0;return t.default.createElement("div",be("".concat(Se,"container"),"sectionContainer",Oe&&"sectionContainerFirst"),t.default.createElement(a.default,{section:me,renderSectionTitle:H,theme:be,sectionKeyPrefix:Se}),t.default.createElement(o.default,{items:ce.sectionsItems[fe],itemProps:Z,renderItem:k,renderItemData:q,sectionIndex:fe,highlightedItemIndex:ie===fe?V:null,onHighlightedItemChange:ce.onHighlightedItemChange,getItemId:ce.getItemId,theme:be,keyPrefix:Re,ref:ce.storeItemsListReference}))})}},{key:"renderItems",value:function(){var ce=this.props.items;if(ce.length===0)return null;var be=this.theme,Ie=this.props,je=Ie.id,z=Ie.renderItem,k=Ie.renderItemData,q=Ie.highlightedSectionIndex,H=Ie.highlightedItemIndex,ie=Ie.itemProps;return t.default.createElement(o.default,{items:ce,itemProps:ie,renderItem:z,renderItemData:k,highlightedItemIndex:q===null?H:null,onHighlightedItemChange:this.onHighlightedItemChange,getItemId:this.getItemId,theme:be,keyPrefix:"react-autowhatever-".concat(je,"-")})}},{key:"ensureHighlightedItemIsVisible",value:function(){var ce=this.highlightedItem;if(ce){var be=this.itemsContainer,Ie=ce.offsetParent===be?ce.offsetTop:ce.offsetTop-be.offsetTop,je=be.scrollTop;Ie<je?je=Ie:Ie+ce.offsetHeight>je+be.offsetHeight&&(je=Ie+ce.offsetHeight-be.offsetHeight),je!==be.scrollTop&&(be.scrollTop=je)}}},{key:"render",value:function(){var ce=this.theme,be=this.props,Ie=be.id,je=be.multiSection,z=be.renderInputComponent,k=be.renderItemsContainer,q=be.highlightedSectionIndex,H=be.highlightedItemIndex,ie=this.state.isInputFocused,V=je?this.renderSections():this.renderItems(),Z=V!==null,me=this.getItemId(q,H),fe="react-autowhatever-".concat(Ie),Re=h({role:"combobox","aria-haspopup":"listbox","aria-owns":fe,"aria-expanded":Z},ce("react-autowhatever-".concat(Ie,"-container"),"container",Z&&"containerOpen"),{},this.props.containerProps),Se=z(h({type:"text",value:"",autoComplete:"off","aria-autocomplete":"list","aria-controls":fe,"aria-activedescendant":me},ce("react-autowhatever-".concat(Ie,"-input"),"input",Z&&"inputOpen",ie&&"inputFocused"),{},this.props.inputProps,{onFocus:this.onFocus,onBlur:this.onBlur,onKeyDown:this.props.inputProps.onKeyDown&&this.onKeyDown,ref:this.storeInputReference})),Oe=k({containerProps:h({id:fe,role:"listbox"},ce("react-autowhatever-".concat(Ie,"-items-container"),"itemsContainer",Z&&"itemsContainerOpen"),{ref:this.storeItemsContainerReference}),children:V});return t.default.createElement("div",Re,Se,Oe)}}]),re})(t.Component);e.default=D,Y(D,"propTypes",{id:r.default.string,multiSection:r.default.bool,renderInputComponent:r.default.func,renderItemsContainer:r.default.func,items:r.default.array.isRequired,renderItem:r.default.func,renderItemData:r.default.object,renderSectionTitle:r.default.func,getSectionItems:r.default.func,containerProps:r.default.object,inputProps:r.default.object,itemProps:r.default.oneOfType([r.default.object,r.default.func]),highlightedSectionIndex:r.default.number,highlightedItemIndex:r.default.number,theme:r.default.oneOfType([r.default.object,r.default.array])}),Y(D,"defaultProps",{id:"1",multiSection:!1,renderInputComponent:K,renderItemsContainer:ee,renderItem:function(){throw new Error("`renderItem` must be provided")},renderItemData:Q,renderSectionTitle:function(){throw new Error("`renderSectionTitle` must be provided")},getSectionItems:function(){throw new Error("`getSectionItems` must be provided")},containerProps:Q,inputProps:Q,itemProps:Q,highlightedSectionIndex:null,highlightedItemIndex:null,theme:ne})})(XO)),XO}var $c={},qZ;function A2e(){if(qZ)return $c;qZ=1,Object.defineProperty($c,"__esModule",{value:!0}),$c.mapToAutowhateverTheme=$c.defaultTheme=void 0;var e={container:"react-autosuggest__container",containerOpen:"react-autosuggest__container--open",input:"react-autosuggest__input",inputOpen:"react-autosuggest__input--open",inputFocused:"react-autosuggest__input--focused",suggestionsContainer:"react-autosuggest__suggestions-container",suggestionsContainerOpen:"react-autosuggest__suggestions-container--open",suggestionsList:"react-autosuggest__suggestions-list",suggestion:"react-autosuggest__suggestion",suggestionFirst:"react-autosuggest__suggestion--first",suggestionHighlighted:"react-autosuggest__suggestion--highlighted",sectionContainer:"react-autosuggest__section-container",sectionContainerFirst:"react-autosuggest__section-container--first",sectionTitle:"react-autosuggest__section-title"};$c.defaultTheme=e;var t=function(n){var i={};for(var a in n)switch(a){case"suggestionsContainer":i.itemsContainer=n[a];break;case"suggestionsContainerOpen":i.itemsContainerOpen=n[a];break;case"suggestion":i.item=n[a];break;case"suggestionFirst":i.itemFirst=n[a];break;case"suggestionHighlighted":i.itemHighlighted=n[a];break;case"suggestionsList":i.itemsList=n[a];break;default:i[a]=n[a]}return i};return $c.mapToAutowhateverTheme=t,$c}var VZ;function O2e(){return VZ||(VZ=1,(function(e){Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(zo()),r=o(Ff()),n=o(S2e()),i=o(C2e()),a=A2e();function o(D){return D&&D.__esModule?D:{default:D}}function u(){if(typeof WeakMap!="function")return null;var D=new WeakMap;return u=function(){return D},D}function s(D){if(D&&D.__esModule)return D;if(D===null||c(D)!=="object"&&typeof D!="function")return{default:D};var I=u();if(I&&I.has(D))return I.get(D);var L={},re=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var te in D)if(Object.prototype.hasOwnProperty.call(D,te)){var ce=re?Object.getOwnPropertyDescriptor(D,te):null;ce&&(ce.get||ce.set)?Object.defineProperty(L,te,ce):L[te]=D[te]}return L.default=D,I&&I.set(D,L),L}function c(D){"@babel/helpers - typeof";return typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?c=function(L){return typeof L}:c=function(L){return L&&typeof Symbol=="function"&&L.constructor===Symbol&&L!==Symbol.prototype?"symbol":typeof L},c(D)}function d(D,I){var L=Object.keys(D);if(Object.getOwnPropertySymbols){var re=Object.getOwnPropertySymbols(D);I&&(re=re.filter(function(te){return Object.getOwnPropertyDescriptor(D,te).enumerable})),L.push.apply(L,re)}return L}function h(D){for(var I=1;I<arguments.length;I++){var L=arguments[I]!=null?arguments[I]:{};I%2?d(Object(L),!0).forEach(function(re){O(D,re,L[re])}):Object.getOwnPropertyDescriptors?Object.defineProperties(D,Object.getOwnPropertyDescriptors(L)):d(Object(L)).forEach(function(re){Object.defineProperty(D,re,Object.getOwnPropertyDescriptor(L,re))})}return D}function v(D,I){if(!(D instanceof I))throw new TypeError("Cannot call a class as a function")}function g(D,I){for(var L=0;L<I.length;L++){var re=I[L];re.enumerable=re.enumerable||!1,re.configurable=!0,"value"in re&&(re.writable=!0),Object.defineProperty(D,re.key,re)}}function m(D,I,L){return I&&g(D.prototype,I),D}function y(D){return function(){var I=A(D),L;if(b()){var re=A(this).constructor;L=Reflect.construct(I,arguments,re)}else L=I.apply(this,arguments);return S(this,L)}}function S(D,I){return I&&(c(I)==="object"||typeof I=="function")?I:w(D)}function w(D){if(D===void 0)throw new ReferenceError("this hasn't been initialised - super() hasn't been called");return D}function b(){if(typeof Reflect>"u"||!Reflect.construct||Reflect.construct.sham)return!1;if(typeof Proxy=="function")return!0;try{return Date.prototype.toString.call(Reflect.construct(Date,[],function(){})),!0}catch{return!1}}function A(D){return A=Object.setPrototypeOf?Object.getPrototypeOf:function(L){return L.__proto__||Object.getPrototypeOf(L)},A(D)}function R(D,I){if(typeof I!="function"&&I!==null)throw new TypeError("Super expression must either be null or a function");D.prototype=Object.create(I&&I.prototype,{constructor:{value:D,writable:!0,configurable:!0}}),I&&x(D,I)}function x(D,I){return x=Object.setPrototypeOf||function(re,te){return re.__proto__=te,re},x(D,I)}function O(D,I,L){return I in D?Object.defineProperty(D,I,{value:L,enumerable:!0,configurable:!0,writable:!0}):D[I]=L,D}var _=function(){return!0},P=function(I){return I.trim().length>0},N=function(I){var L=I.containerProps,re=I.children;return t.default.createElement("div",L,re)},U="suggestions-revealed",$="suggestions-updated",B="suggestion-selected",Y="input-focused",Q="input-changed",K="input-blurred",ee="escape-pressed",ne=(function(D){R(L,D);var I=y(L);function L(re){var te,ce=re.alwaysRenderSuggestions;return v(this,L),te=I.call(this),O(w(te),"onDocumentMouseDown",function(be){te.justClickedOnSuggestionsContainer=!1;for(var Ie=be.detail&&be.detail.target||be.target;Ie!==null&&Ie!==document;){if(Ie.getAttribute&&Ie.getAttribute("data-suggestion-index")!==null)return;if(Ie===te.suggestionsContainer){te.justClickedOnSuggestionsContainer=!0;return}Ie=Ie.parentNode}}),O(w(te),"storeAutowhateverRef",function(be){be!==null&&(te.autowhatever=be)}),O(w(te),"onSuggestionMouseEnter",function(be,Ie){var je=Ie.sectionIndex,z=Ie.itemIndex;te.updateHighlightedSuggestion(je,z),be.target===te.pressedSuggestion&&(te.justSelectedSuggestion=!0),te.justMouseEntered=!0,setTimeout(function(){te.justMouseEntered=!1})}),O(w(te),"highlightFirstSuggestion",function(){te.updateHighlightedSuggestion(te.props.multiSection?0:null,0)}),O(w(te),"onDocumentMouseUp",function(){te.pressedSuggestion&&!te.justSelectedSuggestion&&te.input.focus(),te.pressedSuggestion=null}),O(w(te),"onSuggestionMouseDown",function(be){te.justSelectedSuggestion||(te.justSelectedSuggestion=!0,te.pressedSuggestion=be.target)}),O(w(te),"onSuggestionsClearRequested",function(){var be=te.props.onSuggestionsClearRequested;be&&be()}),O(w(te),"onSuggestionSelected",function(be,Ie){var je=te.props,z=je.alwaysRenderSuggestions,k=je.onSuggestionSelected,q=je.onSuggestionsFetchRequested;k&&k(be,Ie);var H=te.props.shouldKeepSuggestionsOnSelect(Ie.suggestion);z||H?q({value:Ie.suggestionValue,reason:B}):te.onSuggestionsClearRequested(),te.resetHighlightedSuggestion()}),O(w(te),"onSuggestionClick",function(be){var Ie=te.props,je=Ie.alwaysRenderSuggestions,z=Ie.focusInputOnSuggestionClick,k=te.getSuggestionIndices(te.findSuggestionElement(be.target)),q=k.sectionIndex,H=k.suggestionIndex,ie=te.getSuggestion(q,H),V=te.props.getSuggestionValue(ie);te.maybeCallOnChange(be,V,"click"),te.onSuggestionSelected(be,{suggestion:ie,suggestionValue:V,suggestionIndex:H,sectionIndex:q,method:"click"});var Z=te.props.shouldKeepSuggestionsOnSelect(ie);je||Z||te.closeSuggestions(),z===!0?te.input.focus():te.onBlur(),setTimeout(function(){te.justSelectedSuggestion=!1})}),O(w(te),"onBlur",function(){var be=te.props,Ie=be.inputProps,je=be.shouldRenderSuggestions,z=Ie.value,k=Ie.onBlur,q=te.getHighlightedSuggestion(),H=je(z,K);te.setState({isFocused:!1,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!H}),k&&k(te.blurEvent,{highlightedSuggestion:q})}),O(w(te),"onSuggestionMouseLeave",function(be){te.resetHighlightedSuggestion(!1),te.justSelectedSuggestion&&be.target===te.pressedSuggestion&&(te.justSelectedSuggestion=!1)}),O(w(te),"onSuggestionTouchStart",function(){te.justSelectedSuggestion=!0}),O(w(te),"onSuggestionTouchMove",function(){te.justSelectedSuggestion=!1,te.pressedSuggestion=null,te.input.focus()}),O(w(te),"itemProps",function(be){var Ie=be.sectionIndex,je=be.itemIndex;return{"data-section-index":Ie,"data-suggestion-index":je,onMouseEnter:te.onSuggestionMouseEnter,onMouseLeave:te.onSuggestionMouseLeave,onMouseDown:te.onSuggestionMouseDown,onTouchStart:te.onSuggestionTouchStart,onTouchMove:te.onSuggestionTouchMove,onClick:te.onSuggestionClick}}),O(w(te),"renderSuggestionsContainer",function(be){var Ie=be.containerProps,je=be.children,z=te.props.renderSuggestionsContainer;return z({containerProps:Ie,children:je,query:te.getQuery()})}),te.state={isFocused:!1,isCollapsed:!ce,highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null},te.justPressedUpDown=!1,te.justMouseEntered=!1,te.pressedSuggestion=null,te}return m(L,[{key:"componentDidMount",value:function(){document.addEventListener("mousedown",this.onDocumentMouseDown),document.addEventListener("mouseup",this.onDocumentMouseUp),this.input=this.autowhatever.input,this.suggestionsContainer=this.autowhatever.itemsContainer}},{key:"UNSAFE_componentWillReceiveProps",value:function(te){var ce=this.state.highlightedSuggestionIndex===0&&this.props.highlightFirstSuggestion&&!te.highlightFirstSuggestion;(0,n.default)(te.suggestions,this.props.suggestions)?te.highlightFirstSuggestion&&te.suggestions.length>0&&this.justPressedUpDown===!1&&this.justMouseEntered===!1?this.highlightFirstSuggestion():ce&&this.resetHighlightedSuggestion():this.willRenderSuggestions(te,$)?(this.state.isCollapsed&&!this.justSelectedSuggestion&&this.revealSuggestions(),ce&&this.resetHighlightedSuggestion()):this.resetHighlightedSuggestion()}},{key:"componentDidUpdate",value:function(te,ce){var be=this.props,Ie=be.suggestions,je=be.onSuggestionHighlighted,z=be.highlightFirstSuggestion;if(!(0,n.default)(Ie,te.suggestions)&&Ie.length>0&&z){this.highlightFirstSuggestion();return}if(je){var k=this.getHighlightedSuggestion(),q=ce.highlightedSuggestion;k!=q&&je({suggestion:k})}}},{key:"componentWillUnmount",value:function(){document.removeEventListener("mousedown",this.onDocumentMouseDown),document.removeEventListener("mouseup",this.onDocumentMouseUp)}},{key:"updateHighlightedSuggestion",value:function(te,ce,be){var Ie=this;this.setState(function(je){var z=je.valueBeforeUpDown;return ce===null?z=null:z===null&&typeof be<"u"&&(z=be),{highlightedSectionIndex:te,highlightedSuggestionIndex:ce,highlightedSuggestion:ce===null?null:Ie.getSuggestion(te,ce),valueBeforeUpDown:z}})}},{key:"resetHighlightedSuggestion",value:function(){var te=arguments.length>0&&arguments[0]!==void 0?arguments[0]:!0;this.setState(function(ce){var be=ce.valueBeforeUpDown;return{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:te?null:be}})}},{key:"revealSuggestions",value:function(){this.setState({isCollapsed:!1})}},{key:"closeSuggestions",value:function(){this.setState({highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null,valueBeforeUpDown:null,isCollapsed:!0})}},{key:"getSuggestion",value:function(te,ce){var be=this.props,Ie=be.suggestions,je=be.multiSection,z=be.getSectionSuggestions;return je?z(Ie[te])[ce]:Ie[ce]}},{key:"getHighlightedSuggestion",value:function(){var te=this.state,ce=te.highlightedSectionIndex,be=te.highlightedSuggestionIndex;return be===null?null:this.getSuggestion(ce,be)}},{key:"getSuggestionValueByIndex",value:function(te,ce){var be=this.props.getSuggestionValue;return be(this.getSuggestion(te,ce))}},{key:"getSuggestionIndices",value:function(te){var ce=te.getAttribute("data-section-index"),be=te.getAttribute("data-suggestion-index");return{sectionIndex:typeof ce=="string"?parseInt(ce,10):null,suggestionIndex:parseInt(be,10)}}},{key:"findSuggestionElement",value:function(te){var ce=te;do{if(ce.getAttribute&&ce.getAttribute("data-suggestion-index")!==null)return ce;ce=ce.parentNode}while(ce!==null);throw console.error("Clicked element:",te),new Error("Couldn't find suggestion element")}},{key:"maybeCallOnChange",value:function(te,ce,be){var Ie=this.props.inputProps,je=Ie.value,z=Ie.onChange;ce!==je&&z(te,{newValue:ce,method:be})}},{key:"willRenderSuggestions",value:function(te,ce){var be=te.suggestions,Ie=te.inputProps,je=te.shouldRenderSuggestions,z=Ie.value;return be.length>0&&je(z,ce)}},{key:"getQuery",value:function(){var te=this.props.inputProps,ce=te.value,be=this.state.valueBeforeUpDown;return(be===null?ce:be).trim()}},{key:"render",value:function(){var te=this,ce=this.props,be=ce.suggestions,Ie=ce.renderInputComponent,je=ce.onSuggestionsFetchRequested,z=ce.renderSuggestion,k=ce.inputProps,q=ce.multiSection,H=ce.renderSectionTitle,ie=ce.id,V=ce.getSectionSuggestions,Z=ce.theme,me=ce.getSuggestionValue,fe=ce.alwaysRenderSuggestions,Re=ce.highlightFirstSuggestion,Se=ce.containerProps,Oe=this.state,Me=Oe.isFocused,de=Oe.isCollapsed,Ee=Oe.highlightedSectionIndex,_e=Oe.highlightedSuggestionIndex,xe=Oe.valueBeforeUpDown,ke=fe?_:this.props.shouldRenderSuggestions,Le=k.value,He=k.onFocus,_t=k.onKeyDown,jt=this.willRenderSuggestions(this.props,"render"),Lt=fe||Me&&!de&&jt,Qe=Lt?be:[],bt=h({},k,{onFocus:function(yt){if(!te.justSelectedSuggestion&&!te.justClickedOnSuggestionsContainer){var at=ke(Le,Y);te.setState({isFocused:!0,isCollapsed:!at}),He&&He(yt),at&&je({value:Le,reason:Y})}},onBlur:function(yt){if(te.justClickedOnSuggestionsContainer){te.input.focus();return}te.blurEvent=yt,te.justSelectedSuggestion||(te.onBlur(),te.onSuggestionsClearRequested())},onChange:function(yt){var at=yt.target.value,$t=ke(at,Q);te.maybeCallOnChange(yt,at,"type"),te.suggestionsContainer&&(te.suggestionsContainer.scrollTop=0),te.setState(h({},Re?{}:{highlightedSectionIndex:null,highlightedSuggestionIndex:null,highlightedSuggestion:null},{valueBeforeUpDown:null,isCollapsed:!$t})),$t?je({value:at,reason:Q}):te.onSuggestionsClearRequested()},onKeyDown:function(yt,at){var $t=yt.keyCode;switch($t){case 40:case 38:if(de)ke(Le,U)&&(je({value:Le,reason:U}),te.revealSuggestions(),yt.preventDefault());else if(be.length>0){var xt=at.newHighlightedSectionIndex,Ce=at.newHighlightedItemIndex,Ze;Ce===null?Ze=xe===null?Le:xe:Ze=te.getSuggestionValueByIndex(xt,Ce),te.updateHighlightedSuggestion(xt,Ce,Le),te.maybeCallOnChange(yt,Ze,$t===40?"down":"up"),yt.preventDefault()}te.justPressedUpDown=!0,setTimeout(function(){te.justPressedUpDown=!1});break;case 13:{if(yt.keyCode===229)break;var ut=te.getHighlightedSuggestion();if(Lt&&!fe&&te.closeSuggestions(),ut!=null){yt.preventDefault();var Tt=me(ut);te.maybeCallOnChange(yt,Tt,"enter"),te.onSuggestionSelected(yt,{suggestion:ut,suggestionValue:Tt,suggestionIndex:_e,sectionIndex:Ee,method:"enter"}),te.justSelectedSuggestion=!0,setTimeout(function(){te.justSelectedSuggestion=!1})}break}case 27:{Lt&&yt.preventDefault();var Pt=Lt&&!fe;if(xe===null){if(!Pt){var rr="";te.maybeCallOnChange(yt,rr,"escape"),ke(rr,ee)?je({value:rr,reason:ee}):te.onSuggestionsClearRequested()}}else te.maybeCallOnChange(yt,xe,"escape");Pt?(te.onSuggestionsClearRequested(),te.closeSuggestions()):te.resetHighlightedSuggestion();break}}_t&&_t(yt)}}),mt={query:this.getQuery()};return t.default.createElement(i.default,{multiSection:q,items:Qe,renderInputComponent:Ie,renderItemsContainer:this.renderSuggestionsContainer,renderItem:z,renderItemData:mt,renderSectionTitle:H,getSectionItems:V,highlightedSectionIndex:Ee,highlightedItemIndex:_e,containerProps:Se,inputProps:bt,itemProps:this.itemProps,theme:(0,a.mapToAutowhateverTheme)(Z),id:ie,ref:this.storeAutowhateverRef})}}]),L})(t.Component);e.default=ne,O(ne,"propTypes",{suggestions:r.default.array.isRequired,onSuggestionsFetchRequested:function(I,L){var re=I[L];if(typeof re!="function")throw new Error("'onSuggestionsFetchRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsFetchRequestedProp")},onSuggestionsClearRequested:function(I,L){var re=I[L];if(I.alwaysRenderSuggestions===!1&&typeof re!="function")throw new Error("'onSuggestionsClearRequested' must be implemented. See: https://github.com/moroshko/react-autosuggest#onSuggestionsClearRequestedProp")},shouldKeepSuggestionsOnSelect:r.default.func,onSuggestionSelected:r.default.func,onSuggestionHighlighted:r.default.func,renderInputComponent:r.default.func,renderSuggestionsContainer:r.default.func,getSuggestionValue:r.default.func.isRequired,renderSuggestion:r.default.func.isRequired,inputProps:function(I,L){var re=I[L];if(!re)throw new Error("'inputProps' must be passed.");if(!Object.prototype.hasOwnProperty.call(re,"value"))throw new Error("'inputProps' must have 'value'.");if(!Object.prototype.hasOwnProperty.call(re,"onChange"))throw new Error("'inputProps' must have 'onChange'.")},shouldRenderSuggestions:r.default.func,alwaysRenderSuggestions:r.default.bool,multiSection:r.default.bool,renderSectionTitle:function(I,L){var re=I[L];if(I.multiSection===!0&&typeof re!="function")throw new Error("'renderSectionTitle' must be implemented. See: https://github.com/moroshko/react-autosuggest#renderSectionTitleProp")},getSectionSuggestions:function(I,L){var re=I[L];if(I.multiSection===!0&&typeof re!="function")throw new Error("'getSectionSuggestions' must be implemented. See: https://github.com/moroshko/react-autosuggest#getSectionSuggestionsProp")},focusInputOnSuggestionClick:r.default.bool,highlightFirstSuggestion:r.default.bool,theme:r.default.object,id:r.default.string,containerProps:r.default.object}),O(ne,"defaultProps",{renderSuggestionsContainer:N,shouldRenderSuggestions:P,alwaysRenderSuggestions:!1,multiSection:!1,shouldKeepSuggestionsOnSelect:function(){return!1},focusInputOnSuggestionClick:!0,highlightFirstSuggestion:!1,theme:a.defaultTheme,id:"1",containerProps:{}})})(YO)),YO}var nI,BZ;function I2e(){return BZ||(BZ=1,nI=O2e().default),nI}var P2e=I2e();const D2e=jn(P2e);function k2e(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M14.053 14.879a6.28 6.28 0 0 1-3.834 1.294C6.784 16.173 4 13.448 4 10.086S6.784 4 10.219 4c3.434 0 6.218 2.725 6.218 6.086 0 1.59-.622 3.037-1.641 4.12l5.056 4.95a.487.487 0 0 1 0 .699.513.513 0 0 1-.715 0zm1.384-4.793C15.437 7.297 13.121 5 10.22 5S5 7.297 5 10.086s2.316 5.087 5.219 5.087c2.902 0 5.218-2.298 5.218-5.087"})})}const N2e="_inputWithoutHighlight_1gh2d_1",L2e="_suggestionsContainerOpen_1gh2d_5",M2e="_sectionContainer_1gh2d_12",$2e="_suggestionHighlighted_1gh2d_15",F2e="_clearButton_1gh2d_18",j2e="_inputWithLeftIcon_1gh2d_21",U2e="_inputWithRightIcon_1gh2d_24",q2e="_inputWithTwoRightIcons_1gh2d_27",V2e="_iconContainer_1gh2d_30",B2e="_leftIconContainer_1gh2d_35",H2e="_rightIconContainer_1gh2d_38",rs={inputWithoutHighlight:N2e,suggestionsContainerOpen:L2e,sectionContainer:M2e,suggestionHighlighted:$2e,clearButton:F2e,inputWithLeftIcon:j2e,inputWithRightIcon:U2e,inputWithTwoRightIcons:q2e,iconContainer:V2e,leftIconContainer:B2e,rightIconContainer:H2e};function z2e(e,t,r,n,i){let a="form-control text-truncate";return r||(a+=` ${rs.inputWithoutHighlight}`),e==="left"&&(a+=` ${rs.inputWithLeftIcon}`),(e==="right"&&!t||e==="left"&&t||t)&&(a+=` ${rs.inputWithRightIcon}`),e==="right"&&t&&(a+=` ${rs.inputWithTwoRightIcons}`),i==="lg"&&(a+=" form-control-lg"),i==="sm"&&(a+=" form-control-sm"),n&&(a+=` ${n}`),a}function HZ(e){const t="d-inline-block svg-container";return gi.isFunction(e)?t+" cursor-pointer":t}function W2e(e){const{onClickSearchIcon:t,searchIconPlacement:r,showClearInputIcon:n,onClickClearInput:i,highlightOnFocus:a,className:o,formSize:u,...s}=e,c=()=>j.jsx("div",{className:"d-inline-block",children:j.jsx(Ri,{svg:k2e,size:Zs.Standard,onClick:t,className:HZ(t)})}),d=()=>j.jsx("button",{className:`d-inline-block text-secondary ${rs.clearButton}`,onMouseUp:i,children:j.jsx(Ri,{svg:Oy,size:Zs.Standard,className:HZ(i)})});return j.jsxs("div",{className:`position-relative ${rs.inputContainer}`,children:[r==="left"&&j.jsx("div",{className:`${rs.iconContainer} ${rs.leftIconContainer}`,children:j.jsx(c,{})}),j.jsx("input",{className:z2e(r,n,a,o,u),...s}),(r==="right"||!!n)&&j.jsxs("div",{className:`${rs.iconContainer} ${rs.rightIconContainer}`,children:[!!n&&j.jsx(d,{}),r==="right"&&j.jsx(c,{})]})]})}const ky={isNumber(e){return ky.isType(e,"number")},isString(e){return ky.isType(e,"string")},isType(e,t){return typeof e===t}};function Ud(e,t){return{recent:t,local:e,remote:[],generic:[]}}function uN(e,t){return Ui.isObject(e)&&e.hasOwnProperty(t)&&ky.isString(e[t])}function G2e(e,t,r,n){const i=e.trim().toLowerCase();return i.length<n?[]:t.filter(a=>!uN(a,r)||!ky.isString(a[r])?!1:a[r].trim().toLowerCase().includes(i))}function Y2e(e,t,r,n,i,a){const o=gi.isFunction(e)&&e(t);if(o){if(a){DI({resource:o,type:pn.POST,success:r,error:n,headers:i,data:a(t)});return}DI({resource:o,type:pn.GET,success:r,error:n,headers:i})}}function Cd(e,t){e({...Ud([],[]),generic:[{type:t,generic:!0}]})}function zZ(e,t,r){const n=gi.isFunction(t.formatRemoteSuggestions)?t.formatRemoteSuggestions(e):e;if(!n.length&&t.getEmptyStateComponent){Cd(r,"empty");return}r(i=>({...i,remote:n,generic:[]}))}function iI(e,t,r){return({value:n,reason:i})=>{var o;if((((o=e.allowableSuggestionFetchRequestedReasons)==null?void 0:o.includes(i))??!0)&&(n.length||r(),!(n.length<e.activationLength))){if(e.local){const u=gi.isFunction(e.getLocalSuggestions)?e.getLocalSuggestions(n,e.local):G2e(n,e.local,e.valueKey,e.activationLength);if(!u.length&&e.getEmptyStateComponent){Cd(t,"empty");return}t(s=>({...s,local:u,generic:[]}))}if(typeof e.handleFetchSuggestions=="function"){e.replacePreviousRemoteSuggestions?t(u=>({...Ud([],[]),remote:u.remote})):Cd(t,"loading"),e.handleFetchSuggestions(n,u=>zZ(u,e,t),()=>Cd(t,"errored"));return}e.getRemoteUrl&&(e.replacePreviousRemoteSuggestions?t(u=>({...Ud([],[]),remote:u.remote})):Cd(t,"loading"),Y2e(e.getRemoteUrl,n,u=>zZ(u,e,t),()=>{Cd(t,"errored")},e.requestHeaders,e.getRemotePostBody))}}}function K2e(e,t){return uN(t,e)?t[e]:""}function X2e(e,t){return uN(t,e)?j.jsx(j.Fragment,{children:t[e]}):j.jsx(j.Fragment,{})}function Q2e(e){function t(r){r.stopPropagation()}return j.jsx("div",{className:`d-flex justify-content-center cursor-default ${e??""}`,onClick:t,children:j.jsx(Wp,{as:"span",animation:"border",role:"status"})})}function J2e(e,t,r,n,i,a){const o=v=>{const g=e[v];return g?g.map(m=>({...m,suggestionType:v})):[]},u=o("recent"),s=o("local"),c=o("remote"),d=o("generic");if(d.length)return[{data:d,suggestionType:"generic"}];if(gi.isFunction(n))return n([...s,...c,...u]);const h=[];return s!=null&&s.length&&h.push({title:t,data:oI(s,aI("local",i)),suggestionType:"local"}),c!=null&&c.length&&h.push({title:t,data:oI(c,aI("remote",i)),suggestionType:"remote"}),u!=null&&u.length&&h.push({title:r,data:oI(u,aI("recent",i)),suggestionType:"recent"}),typeof a=="function"?a(h):h}function aI(e,t){return typeof t=="number"||typeof t=="boolean"?t:t[e]||!1}function oI(e,t){return typeof t=="boolean"||e.length<=t?e:e.slice(0,t)}function Z2e(e){return e.data}function e4e(e,t){if(e.title)return j.jsx("div",{className:`pb-1 ${t??""}`,children:j.jsx("strong",{children:e.title})})}function t4e(e){return{container:"position-relative",suggestionsContainerOpen:`bg-white py-1 border rounded ${rs.suggestionsContainerOpen}`,suggestionsList:"list-unstyled m-0",suggestion:`${e?"":"cursor-pointer"} py-1 px-2`,suggestionHighlighted:e?"":rs.suggestionHighlighted,sectionContainer:`border-bottom py-1 ${rs.sectionContainer}`}}function r4e(e,t){const r=typeof e=="function"?e(t):e,n=t4e(t);return Object.assign(n,r)}function n4e(e,t,r,n,i){pe.useEffect(()=>{!e||e.current||(e.current={resetQuery:t,setQuery:r,focusInput:n,blurInput:i})},[e==null?void 0:e.current])}function i4e(e){const[t,r]=ba("lite:search:bar:focus",{focus:!1});return pe.useEffect(()=>{!t.focus||!(e!=null&&e.current)||(e.current.focus(),r({focus:!1}))},[t.focus]),{focusSearchBar:()=>r({focus:!0}),shouldFocus:t.focus}}const WZ="shared.searchBar",Gu=gi.isFunction;function a4e(e){return e.renderAsForm?j.jsx("form",{onSubmit:e.onSubmit,children:e.children}):j.jsx("div",{className:"w-100",children:e.children})}eue.defaultProps={valueKey:"name",activationLength:3,suggestionLimit:5,recentSearches:[],initialLocalSuggestions:[],searchIconPlacement:"right",renderAsForm:!0,onSuggestionDependencies:[],shouldUpdateQueryOnSelection:!0,focusInputOnSuggestionClick:!0,resetQueryOnEscape:!0};function eue(e){const t=Ud(e.initialLocalSuggestions,e.recentSearches),[r,n]=pe.useState(e.initialQuery||""),[i,a]=pe.useState(t),o=pe.useMemo(()=>J2e(i,e.suggestionsHeading,e.recentSearchHeading||gr.getPhrase(WZ,"recentSearchesHeading"),e.getSections,e.suggestionLimit,e.transformSections),[i]);pe.useEffect(()=>{Ui.isEqual(t,i)||r&&r.length>=(e==null?void 0:e.activationLength)||a(t)},[t]),pe.useEffect(()=>{typeof e.onSuggestionUpdated=="function"&&e.onSuggestionUpdated(o)},[o]);const u=pe.useRef(null),s=pe.useRef(!1);i4e(u);const[c,d]=pe.useState(e.initialQuery||""),[h,v]=pe.useState("none"),g=ts(fa.XS);pe.useEffect(()=>{!e.resetSuggestionsOnNoActivation||!r||r.length>=e.activationLength||m()},[r]),pe.useEffect(()=>{if(r.length)return;const ee=Ud(e.initialLocalSuggestions,e.recentSearches);a(ee)},[e.initialLocalSuggestions,e.recentSearches]),pe.useEffect(()=>{const ee=e.initialQuery||"";r!==ee&&(n(ee),d(ee))},[e.initialQuery]),pe.useEffect(()=>{!u.current||!e.autoFocusInput||u.current.focus()},[e.autoFocusInput]);const m=()=>{const ee=Ud(e.initialLocalSuggestions,e.recentSearches);a(ee)},y=()=>{n(""),d("")},S=()=>{var ee;(ee=u.current)==null||ee.focus()},w=()=>{var ee;(ee=u.current)==null||ee.blur()};n4e(e.controlsRef,y,n,S,w);const b=(ee,{newValue:ne,method:D})=>{D==="type"&&d(ne),!(D==="escape"&&(v("none"),!(e!=null&&e.resetQueryOnEscape)))&&(["up","down"].includes(D)||(n(ne),Gu(e.onQueryChange)&&e.onQueryChange(ne)))},A=()=>{v("none")},R=ee=>{ee.preventDefault(),Gu(e.onSubmit)&&e.onSubmit(r,u.current),e.clearQueryOnSelect&&y()},x=ee=>{if(ee.key==="Backspace"&&e.onBackspace&&!r){e.onBackspace();return}if(ee.key==="ArrowUp"||ee.key==="ArrowDown"){s.current=!0;return}},O=()=>{y(),e.resetSuggestionsOnClear&&m(),Gu(e.onClickClearInput)&&e.onClickClearInput()},_=({suggestion:ee})=>{if(h==="none"&&!ee)return;s.current&&e.onArrowKeyUpOrDown&&(s.current=!1,e.onArrowKeyUpOrDown()),v(ee?"suggestion":"custom")};function P(ee){return Gu(e.shouldUpdateQueryOnSelection)?e.shouldUpdateQueryOnSelection(ee):e.shouldUpdateQueryOnSelection}const N=pe.useMemo(()=>e.debounceTime?gi.debounce(iI(e,a,m),e.debounceTime):iI(e,a,m),[e.debounceTime,...e.onSuggestionDependencies]);function U(ee){return Gu(e.renderSectionTitle)?e.renderSectionTitle(ee,e.sectionTitleClassName):e4e(ee,e.sectionTitleClassName)}function $(){return Gu(e.renderSuggestionsOnInputFocus)?e.renderSuggestionsOnInputFocus(r):e.renderSuggestionsOnInputFocus}function B(){e.onBlur&&e.onBlur(r)}function Y(){e.onFocus&&e.onFocus(r)}function Q(ee){ee!==null&&!u.current&&(u.current=ee.input)}function K(){return typeof e.alwaysRenderSuggestions=="boolean"?e.alwaysRenderSuggestions:e.alwaysRenderSuggestionsWhenFocused&&r.length>=e.activationLength?document.activeElement===u.current:!1}return j.jsx(a4e,{onSubmit:R,renderAsForm:!!e.renderAsForm,children:j.jsx(D2e,{ref:Q,suggestions:o,onSuggestionsFetchRequested:N,onSuggestionHighlighted:_,onSuggestionsClearRequested:()=>{K()||m()},onSuggestionSelected:(ee,{suggestion:ne})=>{ne.generic||(e.clearQueryOnSelect&&y(),e.onSuggestionSelected(ne,u.current,ee))},getSuggestionValue:ee=>P(ee)?K2e(e.valueKey,ee):r,renderSuggestion:(ee,ne)=>{if(ee.generic){if(ee.type==="empty")return r.length>=e.activationLength&&Gu(e.getEmptyStateComponent)?e.getEmptyStateComponent(r):j.jsx(j.Fragment,{});if(ee.type==="errored"&&Gu(e.getErrorStateComponent)){const D=iI(e,a,m),I=()=>D({value:r,reason:"input-changed"});return e.getErrorStateComponent(I)}if(ee.type==="loading")return Q2e(e.loadingComponentClassName)}return Gu(e.getSuggestionComponent)?e.getSuggestionComponent(ee,ne):X2e(e.valueKey,ee)},renderSuggestionsContainer:ee=>{const{ref:ne,...D}=ee.containerProps;if(!e.customScrollbarProps){const I={suggestions:i,query:r,isDropdownOpen:!!ee.children};return j.jsxs("div",{ref:ne,...D,onMouseOut:A,children:[ee.children,e.getCreateComponent&&e.getCreateComponent({userInput:c,isActive:h==="custom",resetQuery:y,resetSuggestions:m,...I}),e.getFooterComponent&&e.getFooterComponent(I)]})}return j.jsx(a2e,{ref:ne,...e.customScrollbarProps,...D,children:ee.children})},alwaysRenderSuggestions:K(),focusInputOnSuggestionClick:!g&&e.focusInputOnSuggestionClick,inputProps:{id:e.id,name:e.id,"aria-errormessage":`${e.id}Error`,"aria-label":e.label,placeholder:e.placeholder||gr.getPhrase(WZ,"placeholder"),value:r,onChange:b,onKeyDown:x,autoFocus:!!e.autoFocusInput,highlightOnFocus:e.highlightInputOnFocus,onClickSearchIcon:!!e.submitOnClickSearchIcon&&R,searchIconPlacement:e.searchIconPlacement,showClearInputIcon:!!e.showClearInputIcon&&!!r.length,onClickClearInput:O,formSize:e.size,onBlur:B,onFocus:Y,disabled:e.disabled},renderInputComponent:W2e,theme:r4e(e.theme,!!i.generic.length),multiSection:!0,renderSectionTitle:U,getSectionSuggestions:Z2e,...e.renderSuggestionsOnInputFocus?{shouldRenderSuggestions:$}:{}})})}var tue=(e=>(e.Integrations="4407268725529",e.Classrooms="4405362551833",e.MakeInteractive="4405370510873",e.EditSsoAccounts="8202605666073",e.UploadToLibraryEditor="10672936659865",e.AddFromLite="10671345281561",e.ManageSsoYearGroups="14691130889241",e.ContentReview="18525199576601",e.ContentPermissions="14692125209497",e.AccessSettings="27927466562201",e.ContentGuidelines="24133696186009",e.FoxtelFaq="24133519542169",e.ViviIntegration="23826297956377",e.AppleTvIntegration="25832373739929",e.RssFeed="32567445635097",e.ManageGroupPermissions="35407217335705",e.MarcFormatDifferences="48276917260441",e.ExportLibraries="17684275853465",e.StudentSharingGuide="50326395499417",e.Sharing="49512742828953",e))(tue||{});const o4e="shared.audienceFilterSearch",qv=gr.encloseNamespace(o4e);function s4e(e){return j.jsxs("div",{className:"pt-2 text-center",children:[j.jsx("p",{className:"m-0",children:j.jsx("strong",{children:qv("noResults",{query:e.query})})}),!!e.hasClassroomsFeature&&j.jsxs(j.Fragment,{children:[j.jsxs("span",{children:[qv("noResultsSuggestion")," "]}),j.jsx("a",{href:Py.getLiteArticle(tue.Classrooms),target:"_blank",className:"text-info",children:qv("learnMore")})]})]})}function rue(e){function t(r){const n=fn.safeUrlConcat(e.gatewayApiUrl,"v1/search/users"),i=["user","classroom","classroom_group"];return fn.urlBuilder(n,{query:r,index:i,[`${_2e.FILTER_PARAM_PREFIX}customerId`]:e.currentUser.customerId,limit:5})}return j.jsx(eue,{onQueryChange:e.setQuery,getRemoteUrl:t,requestHeaders:{authorization:`Bearer ${e.userToken.value}`},formatRemoteSuggestions:r=>r==null?void 0:r.results,placeholder:qv(e.limitedFeatureSet||!e.hasClassroomsFeature?"placeholderLimited":"placeholder"),suggestionsHeading:qv("searchResults"),alwaysRenderSuggestions:!0,resetSuggestionsOnNoActivation:!0,onSuggestionSelected:()=>{},shouldUpdateQueryOnSelection:!1,getSuggestionComponent:r=>{var i;const n=e.isSelected(r);return j.jsx(ff,{object:r,selected:n,onToggleSelected:()=>e.onSelect({object:r,selected:!n}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:e.hideCheckbox,isPinned:(i=e.isPinned)==null?void 0:i.call(e,r)})},getEmptyStateComponent:r=>j.jsx(s4e,{query:r,hasClassroomsFeature:e.hasClassroomsFeature}),theme:{container:"",suggestionsContainerOpen:"pt-2",suggestion:"",suggestionHighlighted:"",sectionContainer:""},loadingComponentClassName:"pt-2",searchIconPlacement:"left",autoFocusInput:!0,allowableSuggestionFetchRequestedReasons:["input-changed"],debounceTime:200,showClearInputIcon:!0,resetSuggestionsOnClear:!0,onClickClearInput:()=>e.setQuery("")})}const u4e="_menu_1spvf_1",l4e={menu:u4e},c4e="shared.adminAudienceFilterMenu",nue=gr.encloseNamespace(c4e),f4e=500;function _P(e,t){return e?t?e.filter(r=>t.some(n=>n.toString()===r.id.toString())):e:[]}function d4e(e){const[t,r]=or.useState([]);return or.useEffect(()=>{r(_P(t,e))},[e]),[t,r]}function h4e(e){return e.selections.length?j.jsx("ul",{className:"list-unstyled mb-2",children:e.selections.map((t,r)=>j.jsx("li",{children:j.jsx(ff,{object:t,selected:!0,onToggleSelected:()=>e.onSelect({object:t,selected:!1}),imageCdnUrl:e.imageCdnUrl})},r))}):j.jsx(j.Fragment,{})}function v4e(e){return e.selections.length?j.jsxs(j.Fragment,{children:[j.jsx("p",{className:"mb-2",children:j.jsx("strong",{children:nue("suggestions")})}),j.jsx("ul",{className:"list-unstyled m-0",children:e.selections.map((t,r)=>j.jsx("li",{children:j.jsx(ff,{object:t,selected:e.isSelected(t),onToggleSelected:n=>e.onSelect({object:t,selected:n}),imageCdnUrl:e.imageCdnUrl})},r))})]}):j.jsx(j.Fragment,{})}function p4e(e){const[t,r]=d4e(e.selectedIds),n=Qa.uniq([...e.audienceObjects??[],...t],"id"),i=_P(n,e.selectedIds),a=_P(n,e.suggestedIds),o=a.every(s),u=i.filter(g=>!c(g));function s(g){var m;return(m=e.selectedIds)!=null&&m.length?e.selectedIds.some(y=>y.toString()===g.id.toString()):!1}function c(g){var m;return(m=e.suggestedIds)!=null&&m.length?e.suggestedIds.some(y=>y.toString()===g.id.toString()):!1}function d(){e.onSelect(...a.map(g=>({object:g,selected:!0})))}function h(){e.onSelect()}function v(...g){const m=g.filter(S=>S.selected).map(S=>S.object),y=g.filter(S=>!S.selected).map(S=>S.object.id);r(S=>[...S.filter(w=>!y.includes(w.id)),...m]),e.onSelect(...g)}return j.jsx("div",{className:l4e.menu,children:j.jsx(dp.Scrollbars,{autoHeight:!0,autoHeightMax:f4e,children:j.jsxs("div",{className:"px-3",children:[j.jsx(rue,{onSelect:v,isSelected:s,gatewayApiUrl:e.gatewayApiUrl,userToken:e.userToken,imageCdnUrl:e.imageCdnUrl,currentUser:e.currentUser,hasClassroomsFeature:e.hasClassroomsFeature}),(!!i.length||!!a.length)&&j.jsxs(j.Fragment,{children:[j.jsx("button",{className:"btn btn-link text-info p-0 mt-2 mb-1",onClick:o?h:d,children:nue(o?"deselectAll":"selectAll")}),j.jsx(h4e,{selections:u,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl}),j.jsx(v4e,{selections:a,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl,isSelected:s})]})]})})})}const g4e="_menu_1spvf_1",m4e={menu:g4e},y4e="shared.insightsAudienceFilterMenu",Ny=gr.encloseNamespace(y4e),GZ=300;function Jm(e,t){return e?t?e.filter(r=>t.some(n=>n.toString()===r.id.toString())):e:[]}function _4e(e){const[t,r]=or.useState([]);return or.useEffect(()=>{r(Jm(t,e))},[e]),[t,r]}function S4e(e){return j.jsxs(j.Fragment,{children:[j.jsx("p",{className:"mb-2 pt-2 px-3",children:j.jsx("strong",{children:Ny("filteredBy")})}),j.jsx("ul",{className:"list-unstyled px-3 mb-2",children:e.selections.map((t,r)=>j.jsx("li",{children:j.jsx(ff,{object:t,selected:!0,onToggleSelected:()=>e.onSelect({object:t,selected:!1}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:!0,isPinned:e.isPinned(t)})},r))})]})}function E4e(e){var t;return j.jsxs(j.Fragment,{children:[j.jsx("p",{className:"mt-2 mb-2",children:j.jsx("strong",{children:Ny("suggested")})}),j.jsxs("ul",{className:"list-unstyled m-0",children:[(t=e.pinned)==null?void 0:t.map((r,n)=>j.jsx("li",{children:j.jsx(ff,{object:r,selected:e.isSelected(r),onToggleSelected:i=>e.onSelect({object:r,selected:i}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:!0,isPinned:!0})},`pinned-${n}`)),e.selections.map((r,n)=>j.jsx("li",{children:j.jsx(ff,{object:r,selected:e.isSelected(r),onToggleSelected:i=>e.onSelect({object:r,selected:i}),imageCdnUrl:e.imageCdnUrl,hideCheckbox:!0})},`suggestion-${n}`))]})]})}function w4e(e){const[t,r]=_4e(e.selectedIds),n=Qa.uniq([...e.audienceObjects??[],...t],"id"),i=Jm(n,e.selectedIds),a=Jm(n,e.suggestedIds),o=e.pinnedIds?Jm(n,e.pinnedIds):[],[u,s]=or.useState("");function c(y){var S;return(S=e.selectedIds)!=null&&S.length?e.selectedIds.some(w=>w.toString()===y.id.toString()):!1}function d(y){var S;return(S=e.pinnedIds)!=null&&S.length?e.pinnedIds.some(w=>w.toString()===y.id.toString()):!1}function h(){e.onSelect()}function v(...y){const S=y.filter(b=>b.selected).map(b=>b.object),w=y.filter(b=>!b.selected).map(b=>b.object.id);r(b=>[...b.filter(A=>!w.includes(A.id)),...S]),e.onSelect(...y)}const g=a.filter(y=>!c(y)),m=o.filter(y=>!c(y));return j.jsxs("div",{className:m4e.menu,children:[j.jsx(dp.Scrollbars,{autoHeight:!0,autoHeightMax:GZ,children:j.jsxs("div",{className:"p-3",children:[j.jsx(rue,{onSelect:v,isSelected:c,isPinned:d,gatewayApiUrl:e.gatewayApiUrl,userToken:e.userToken,imageCdnUrl:e.imageCdnUrl,currentUser:e.currentUser,limitedFeatureSet:e.limitedFeatureSet,hasClassroomsFeature:e.hasClassroomsFeature,setQuery:s,hideCheckbox:!0}),u.length<3&&(!!g.length||!!m.length)&&j.jsx(E4e,{selections:g,pinned:m,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl,isSelected:c})]})}),!!i.length&&j.jsxs("div",{className:`${a.length?"border-top":""} pb-2`,children:[j.jsx(dp.Scrollbars,{autoHeight:!0,autoHeightMax:GZ,children:j.jsx(S4e,{selections:i,onSelect:e.onSelect,imageCdnUrl:e.imageCdnUrl,deselectAll:h,isPinned:d})}),j.jsxs("div",{className:"d-flex justify-content-between pb-1",children:[j.jsx("button",{className:"btn btn-link p-0 text-secondary px-3",onClick:h,children:Ny("reset")}),j.jsx("button",{className:"btn btn-link p-0 text-info px-3",onClick:e.onClickApply,children:Ny("apply")})]})]})]})}const b4e="_menu_1spvf_1",T4e={menu:b4e},R4e="shared.teacherAudienceFilterMenu",x4e=gr.encloseNamespace(R4e),C4e=500;function A4e(e){function t(a){var o;return(o=e.selectedIds)!=null&&o.length?e.selectedIds.some(u=>u==a.id):!1}function r(){e.onSelect(...e.classrooms.map(a=>({object:a,selected:!0})))}function n(){e.onSelect()}const i=e.classrooms.every(t);return j.jsxs("div",{className:T4e.menu,children:[j.jsx("div",{className:"px-3",children:j.jsx("button",{className:"btn btn-link text-info p-0 mb-1",onClick:i?n:r,children:x4e(i?"deselectAll":"selectAll")})}),j.jsx(dp.Scrollbars,{autoHeight:!0,autoHeightMax:C4e,children:j.jsx("div",{className:"px-3",children:j.jsx("ul",{className:"list-unstyled mb-0",children:e.classrooms.map((a,o)=>j.jsx("li",{children:j.jsx(ff,{object:a,selected:t(a),onToggleSelected:u=>e.onSelect({object:a,selected:u}),imageCdnUrl:e.imageCdnUrl})},o))})})})]})}function YZ(e){const t=Qa.chunk(e??[],25),r=zbe(t.map(i=>Wi.getById(i)));return{users:Qa.flatten(r.data),isLoading:!r.hasCompleted,usersResponse:r}}j_.Ok;function O4e(e,t,r){function n(o){if(o)return gi.isFunction(t)?[...t(o)]:[...o.data]}function i(o){var u,s;if(o)return(s=(u=o.pagination)==null?void 0:u.cursors)==null?void 0:s.next}function a(o){if(o)return o==null?void 0:o.count}return K_(pe.useMemo(()=>o=>{if(!gi.isFunction(e))return;const u=e,s=gi.isFunction(e)&&u();let c=s&&py(o,s),d=c&&c.isFetching,h=c&&c.statusCode,v=c&&c.hasCompleted;const g=v,m=c&&c.shouldFetch,y=n(c&&c.data);let S=i(c&&c.data);const w=a(c&&c.data);for(;S&&(c=py(o,u(S)),d=d||c.isFetching,h=c.statusCode,v=c.hasCompleted,!c.shouldFetch);){const A=n(c.data);A&&y.push(...A);const R=i(c.data);R===S?S=null:S=R}const b={shouldInitialFetch:m,items:y,nextCursor:S,isFetching:d,statusCode:h,hasCompleted:v,hasFirstPageCompleted:g};return typeof w=="number"&&(b.totalItems=w),b},[e]))}function iue(e,t){const r=e,n=t,i=O4e(e&&(a=>r(a).key));return pe.useEffect(()=>{i&&i.shouldInitialFetch&&t&&n()},[i==null?void 0:i.shouldInitialFetch,t]),pe.useEffect(()=>{!i||!i.nextCursor||i.isFetching||!t||n(i.nextCursor)},[i==null?void 0:i.nextCursor,i==null?void 0:i.isFetching,t]),i}var aue=(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))(aue||{});function lN(){var r,n;const e=Ii(Wi.currentUser());return((n=Ii(!!((r=e.data)!=null&&r.isAuthenticated)&&gae.customer(e.data.customerId)).data)==null?void 0:n.customerType)===aue.Tertiary}const I4e="reports.audienceFilter",mu=gr.encloseNamespace(I4e);function P4e(){var c,d;const[e]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),[t]=ba(mo.AUDIENCE_FILTER_SUGGESTIONS,{}),{users:r}=YZ(e.users),{users:n}=YZ(t.users),i=Ii(((c=e.classrooms)==null?void 0:c.length)&&uf.getClassroomsById(e.classrooms)),a=Ii(((d=e.classroomGroups)==null?void 0:d.length)&&uf.getClassroomGroupsById(e.classroomGroups)),o=Qa.uniq([...r??[],...n??[]],"id"),u=i.data??[],s=a.data??[];return[...o,...u,...s]}function D4e(e,t){if(!e.length)return{users:null,classrooms:null,classroomGroups:null};let r={...t};return e.forEach(n=>{let i;switch(n.object.typeId){case zn.User:i="users";break;case zn.Classroom:i="classrooms";break;case zn.ClassroomGroup:i="classroomGroups";break}const a=n.object.id.toString();let o=r[i]??[];n.selected?o.push(a):o=o.filter(u=>u.toString()!==a),r={...r,[i]:Qa.uniq(o)}}),r}function gv(e){const t=[];return Object.keys(e).forEach(r=>{e[r]&&t.push(...e[r])}),t}function k4e(){const[e]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),[t,r]=pe.useState(Ui.deepClone(e));pe.useEffect(()=>{Ui.isEqual(t,e)||r(Ui.deepClone(e))},[e]);function n(...i){r(D4e(i,t))}return[t,n]}function N4e(e){const[t]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),[r]=ba(mo.AUDIENCE_FILTER_SELECTED_COUNT),n=Qa.uniq(t.classrooms??[]),i=Qa.uniq(t.classroomGroups??[]),a=Qa.uniq(t.users??[]),o=!!n.length&&i.length===0&&a.length===0,u=!!i.length&&n.length===0&&a.length===0,s=!!a.length&&n.length===0&&i.length===0,c=!n.length&&!i.length&&!a.length,d=o&&n.length===1,h=u&&i.length===1,v=Ii(d&&uf.classroom(n[0])),g=Ii(h&&uf.classroomGroup(i[0])),m=lN();if(c)return mu(e?m?"everyoneInstitution":"everyoneSchool":"everyone");if(d){if(!v.data)return;if(v.data.typeId===zn.Classroom)return v.data.name}if(h){if(!g.data)return;if(g.data.typeId===zn.ClassroomGroup)return g.data.name}if(o)return mu("classrooms",{smartCount:n.length});if(u)return mu("groups",{smartCount:i.length});if(s)return mu("users",{smartCount:a.length});if(typeof r=="number")return mu("users",{smartCount:r});if(!e)return;const y=[];n.length&&y.push(mu("classrooms",{smartCount:n.length})),i.length&&y.push(mu("groups",{smartCount:i.length})),a.length&&y.push(mu("users",{smartCount:a.length}));const S=y.pop();return`${y.join(", ")} ${mu("and")} ${S}`}function L4e(){const e=Nf(),{hasPermissions:t}=yc(),n=!t(Na.ViewCustomerAnalytics);function i(o){return uf.userClassrooms(o)}function a(o){J_(e)(i(o))}return iue(n&&i,a)}const M4e="_toggle_1any3_1",$4e={toggle:M4e};function F4e(e){const[t]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),[r,n]=k4e(),[i]=ba(mo.AUDIENCE_FILTER_SUGGESTIONS,{}),{hasPermissions:a}=yc(),{hasClassrooms:o,hasShareFlowV2:u}=Zp(null),s=a(Na.ViewCustomerAnalytics),c=u&&a(Na.ViewMyShares),d=P4e(),h=L4e(),v=Ii(of.config()),g=Ii(s&&Wi.token()),m=Ii(s&&Wi.currentUser()),y=N4e(c),[S,w]=or.useState(!1);function b(){R(),w(!1)}function A(P){w(P),!P&&R()}function R(){var P,N,U;jv.updateParams(Ui.deepClone(r),{merge:!0}),wa.logUserAction({users:((P=r==null?void 0:r.users)==null?void 0:P.length)??0,classrooms:((N=r==null?void 0:r.classrooms)==null?void 0:N.length)??0,classroomGroups:((U=r==null?void 0:r.classroomGroups)==null?void 0:U.length)??0},{actionType:Bt.Filter,descriptor:ck.Audience,location:ka.AudienceFilter,entity:xn.Filter})}function x(){var P;return s?!1:!((P=h.items)!=null&&P.length)}const O=s?!!v.data&&!!g.data&&!!m.data:!!v.data&&h.hasCompleted;if(x())return j.jsx(j.Fragment,{});const _=u&&Object.values(t).some(P=>Array.isArray(P)&&P.length>0);return j.jsxs(Zi,{className:e.className??"",onToggle:A,show:S,children:[j.jsx(Zi.Toggle,{id:"audience-filter-toggle",variant:"outline-dark",className:`no-caret ${$4e.toggle} ${_?"bg-dark text-white":""}`,children:y}),j.jsx(Zi.Menu,{className:c?"py-0":"py-2",align:"end",children:c?j.jsx(w4e,{gatewayApiUrl:v.data.gatewayApiUrl,userToken:g.data,audienceObjects:d,selectedIds:gv(r),suggestedIds:gv(i),onSelect:n,imageCdnUrl:v.data.imageCdnUrl,currentUser:m.data,hasClassroomsFeature:o,onClickApply:b}):j.jsxs(j.Fragment,{children:[s&&O&&j.jsx(p4e,{gatewayApiUrl:v.data.gatewayApiUrl,userToken:g.data,audienceObjects:d,selectedIds:gv(r),suggestedIds:gv(i),onSelect:n,imageCdnUrl:v.data.imageCdnUrl,currentUser:m.data,hasClassroomsFeature:o}),!s&&O&&j.jsx(A4e,{classrooms:h.items,selectedIds:gv(r),onSelect:n,imageCdnUrl:v.data.imageCdnUrl})]})})]})}var SP=(e=>(e.Screenrights="screenrights",e.Era="era",e.ClickView="clickview",e))(SP||{}),Ql=(e=>(e[e.Draft=0]="Draft",e[e.Published=1]="Published",e[e.Archived=2]="Archived",e[e.Pending=3]="Pending",e[e.Rejected=4]="Rejected",e[e.Processing=5]="Processing",e))(Ql||{}),$o=(e=>(e.Custom="custom",e.User="year_group",e))($o||{});const ea={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"},j4e={CLASSIFICATION:"banner,cover,tallPoster,pinnedVideos[count()]{limit:0},playlists[count()]{limit:0},series[count()]{limit:0},tags{tagType:curation}",CLASSIFICATION_COLLECTION:"banner,cover,tallPoster",VIDEO:"series,season,_rating,producers,glance,distributors,subjectPresentationAudiences,resources[thumbnail,pdf],tags,productionCompanies,directors,links,thumbnail,interactives[thumbnail,_canBeConsumed,_isClickViewCurated],clips[_canBeConsumed,_isClickViewCurated,_thumbnail],_canBeConsumed,_isClickViewCurated,categories,libraries",VIDEO_COLLECTION:"thumbnail,_rating,series,season,subjectPresentationAudiences,subtitles{limit:1},_canBeConsumed"};var Zd=(e=>(e[e.FilterOut=0]="FilterOut",e[e.StripMetadata=1]="StripMetadata",e))(Zd||{});const KZ={clip(e,t){return{key:`clip:${e}:${t}`,url:fn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:ea.CLIP,permissionFilterOption:t})}},videoClips(e,t,r){return{key:`video:${e}:clips:${t}:${r}`,url:fn.urlBuilder(`{gateway}/v1/objects/${e}/clips`,{query:ea.CLIP_COLLECTION,permissionFilterOption:t,cursor:r})}},clipWithAllInteractives(e,t){return{key:`clip:${e}:${t}:interactives`,url:fn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:`${ea.CLIP},interactives{status:[0,1]}`,permissionFilterOption:t}),normalize:!1}},publicClip(e,t,r,n){return{key:`clip:${e}:public:${t}`,url:fn.urlBuilder(`/api/objects/${e}`,{query:"_parentVideo,_canBeConsumed,_thumbnail",permissionFilterOption:Zd.StripMetadata,shareId:t}),bootstrapName:`shared:object:${e}`,success:r,error:n}},sharedClip(e,t,r,n){return{key:`shared:clip:${e}`,url:fn.urlBuilder(`/api/objects/${e}`,{shareId:t,query:ea.CLIP}),success:r,error:n}},createClip(e,t,r,n,i){return{key:"create:clip",url:`{gateway}/v1/objects/${e}/clips`,data:t,type:pn.POST,invalidationKeys:[`videos:${e}`,"my:videos"],success:r,error:n,always:i}},updateClip(e,t,r,n,i){return{key:"update:clip",url:`{gateway}/v1/objects/${e}`,data:t,type:pn.PUT,success:r,error:n,always:i}},deleteClip(e,t,r,n,i){return{key:"delete:clip",url:`{gateway}/v1/objects/${e}`,type:pn.DELETE,invalidationKeys:[`videos:${t}`,"my:videos","videos"],success:r,error:n,always:i}}},XZ={interactiveMetadata(e,t){return{url:fn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:ea.INTERACTIVE,permissionFilterOption:t}),key:`interactive:metadata:${e}:${t}`}},videoInteractives(e,t,r){return{key:`video:${e}:interactives:${t}:${r}`,url:fn.urlBuilder(`{gateway}/v1/objects/${e}/interactives`,{query:ea.INTERACTIVE_COLLECTION,cursor:r}),publicUrl:fn.urlBuilder(`/api/objects/${e}/interactives`,{query:ea.INTERACTIVE_COLLECTION,cursor:r})}},sharedInteractiveMetadata(e,t,r,n){return{url:fn.urlBuilder(`/api/objects/${e}`,{shareId:t,query:ea.INTERACTIVE}),key:`shared:interactive:metadata:${e}`,success:r,error:n}},publicInteractiveMetadata(e,t,r,n){return{url:fn.urlBuilder(`/api/objects/${e}`,{query:"_parentVideo[_rating],_canBeConsumed,_thumbnail",permissionFilterOption:Zd.StripMetadata,shareId:t}),key:`interactive:metadata:${e}:public:${t}`,bootstrapName:`shared:object:${e}`,success:r,error:n}},interactive(e){return{url:`/api/domain/v1/interactives/${e}`,key:`interactive:${e}`,normalize:!1}},createInteractive(e,t,r){return{url:"/api/domain/v1/interactives",key:"create:interactive",type:pn.POST,invalidationKeys:["my:videos"],data:e,success:t,error:r}},createInteractiveMetadata(e,t,r,n){return{url:`{gateway}/v1/objects/${e}/interactives`,key:"create:interactive:metadata",type:pn.POST,data:t,success:r,error:n}},updateInteractive(e,t,r,n){return{url:`/api/domain/v1/interactives/${e}`,key:"update:interactive",type:pn.PUT,data:t,success:r,error:n,formatData:()=>t,invalidationKeys:[`interactive:${e}`]}},updateInteractiveMetadata(e,t,r,n){return{url:`{gateway}/v1/objects/${e}`,key:"update:interactive:metadata",type:pn.PUT,data:t,success:r,error:n}},interactiveResultSet(e,t){return{url:`/api/domain/v1/analytics/interactives/${e}/metadata/${t}`,key:`interactive:result:set:${e}:${t}`}},copyInteractive(e,t,r){return{url:`/api/domain/v1/interactives/${e}/copy`,key:"copy:interactive",type:pn.POST,invalidationKeys:[`interactive:${e}`,"my:videos"],success:t,error:r}},deleteInteractiveMetadata(e,t,r){return{url:`{gateway}/v1/objects/${e}`,key:"delete:interactive",type:pn.DELETE,invalidationKeys:[`interactive:${e}`,"my:videos","videos"],success:t,error:r}},removeInteractiveMetadata({libraryId:e,categoryId:t,interactiveMetadataId:r}){return{url:fn.urlBuilder(`/api/domain/v1/libraries/${e}/videos`,{categoryId:t,videoIds:r}),key:`remove:interactive:metadata:${r}`,type:pn.DELETE,invalidationKeys:[`interactive:${r}`,"my:videos","videos"]}},contributeToCommunity(e){return{url:`/api/domain/v2/interactives/${e}/contribute`,key:"contribute:interactive",type:pn.POST}},revokefromCommunity(e){return{url:`/api/domain/v2/interactives/${e}/contribute`,key:"contribute:interactive",type:pn.DELETE}},isContributed(e){return{url:`/api/domain/v2/interactives/${e}/contributed`,key:`iscontributed:${e}`,normalize:!1}},updateInteraction(e){return{url:`/api/domain/v1/interactions/bulk/${e.id}`,key:"contribute:interactive",data:e,type:pn.PUT,invalidationKeys:[`interactive:${e.interactiveId}`]}}};var oue=(e=>(e.Series="series",e.Playlist="playlist",e.Widget="widget",e.Folder="category",e.CategoryTree="categoryTree",e))(oue||{}),Ks=(e=>(e.Newest="newest",e.Oldest="oldest",e.RecentlyAdded="recently_added",e.AtoZ="atoz",e.ZtoA="ztoa",e.Series="series",e.ProductionYear="production_year",e))(Ks||{});const U4e=(e,t)=>`${t?`${t}:`:""}video:sort:${e}`,q4e=Ks.RecentlyAdded,V4e={getValidSortTypeFromParam(e){return Object.values(Ks).includes(e)?e:Ks.Newest},getOrSetSortType(e,t,r,n){const i=U4e(e,n);return(t||!da.cacheExists(i))&&da.cacheSet(i,t||r||q4e),t||(t=da.cacheGet(i)),t},getVideoSortParam(e){switch(e){case Ks.AtoZ:return"orderby:name";case Ks.ZtoA:return"orderbydesc:name";case Ks.Newest:return"orderbydesc:datecreated";case Ks.Oldest:return"orderby:datecreated";case Ks.RecentlyAdded:return"orderbydesc:timestamp";case Ks.Series:return"orderby:seriessort";case Ks.ProductionYear:return"orderbydesc:productionyear";default:return}}},mv={sharedVideo:(e,t)=>fn.urlBuilder(`/api/objects/${e}`,{shareId:t,query:ea.VIDEO}),publicVideo:(e,t)=>fn.urlBuilder(`/api/objects/${e}`,{query:"thumbnail,_canBeConsumed,series,season,_rating,libraries{typeId:[17]}",permissionFilterOption:Zd.StripMetadata,shareId:t}),getVideosById:e=>fn.urlBuilder("{gateway}/v1/objects",{"query.video":ea.VIDEO_COLLECTION,"query.clip":ea.CLIP_COLLECTION,"query.interactive":ea.INTERACTIVE_COLLECTION,id:e}),relatedVideos:e=>{const{videoId:t,context:r,collectionId:n,moviesAndTv:i,limit:a}=e,o={videoId:t,limit:a,query:ea.VIDEO_COLLECTION};return r&&(r===oue.Widget?o["context.widgetId"]=n:(o["context.collectionType"]=r,o["context.collectionId"]=n)),i&&(o["context.moviesAndTv"]=!0),fn.urlBuilder("{gateway}/v1/suggestions/related-videos",o)}},QZ={video(e,t){return{url:fn.urlBuilder(`{gateway}/v1/objects/${e}`,{query:ea.VIDEO,permissionFilterOption:t}),publicUrl:fn.urlBuilder(`/api/objects/${e}`,{query:j4e.VIDEO,permissionFilterOption:t}),key:`videos:${e}:${t}`}},publicVideo(e,t,r,n){return{url:mv.publicVideo(e,t),key:`videos:${e}:public:${t}`,bootstrapName:`shared:object:${e}`,success:r,error:n}},sharedVideo(e,t,r,n){return{url:mv.sharedVideo(e,t),key:`shared:video:${e}`,success:r,error:n}},myVideos(e,t){const{VIDEO_COLLECTION:r,CLIP_COLLECTION:n,INTERACTIVE:i}=ea,a=`videos[${r}]{libraries.typeid:${zn.WorkspaceCollection}}`,o=`clips[${n}]`,u=`interactives[${i}]{status:[${Ql.Published},${Ql.Draft}]}`,s={query:`(${a}|${o}|${u}){orderbydesc:id}`,permissionFilterOption:Zd.StripMetadata};return t&&(s.cursor=t),{url:fn.urlBuilder(`{gateway}/v1/objects/${e}/members`,s),key:`my:videos:${t}`}},videos(e,t){return{url:mv.getVideosById(e),key:`videos:by:id:${e.join(",")}`,success:t}},watchHistoryVideos(e,t){return{url:mv.getVideosById(e),key:`watch:history:videos:by:id:${e.join(",")}`,success:t}},updateVideo(e,t,r,n,i){return{key:`update:video:${e}`,url:`{gateway}/v1/objects/${e}`,type:pn.PUT,data:t,success:r,error:n,always:i}},videoRatings(e,t){const r=e.map(n=>`id=${n}`);if(r.length)return{url:`/api/domain/v2/objects?query=rating&${r.join("&")}`,key:`video:ratings:by:id:${e.join(",")}`,normalizeOptions:{namespace:t}}},videoMixinAssocs(e,t){if(e.map(n=>`id=${n}`).length)return{url:fn.urlBuilder("{gateway}/v1/objects",{query:"interactives{limit:100},resources{limit:100},links{limit:100},_hasCurriculumLinks",id:e}),publicUrl:fn.urlBuilder("/api/objects",{query:"interactives{limit:100},resources{limit:100},links{limit:100},_hasCurriculumLinks",id:e}),key:`video:mixin:assocs:${e.join(",")}`,normalizeOptions:{namespace:t}}},getRestrictions(e){const t=e.slice().sort();return{url:`/api/domain/v1/restrictedobjects?objectTypeId=${zn.Video}${t.map(r=>`&objectId=${r}`).join("")}`,key:`restrictions:${t.join(",")}`,normalizeOptions:{namespace:"domain",idAttribute:"objectId"}}},delete(e,t,r){return{url:`{gateway}/v1/objects/${e}`,key:`delete:video:${e}`,type:pn.DELETE,success:t,error:r,invalidationKeys:["videos","search"]}},deleteBulk(e,t,r,n,i){const a=e.map(u=>`videoIds=${u}`).join("&"),o=[`categoryId=${r}`,`${a}`].join("&");return{url:`/api/domain/v1/libraries/${t}/videos?${o}`,key:`delete:bulk:video:${e.join(":")}:${t}:${r}`,type:pn.DELETE,success:n,error:i,invalidationKeys:["videos","search"]}},relatedVideos(e){const{videoId:t,context:r,collectionId:n,moviesAndTv:i}=e;return{url:mv.relatedVideos(e),key:`related:videos:${t}:${r}:${n}:${i}`}},collectionVideos(e,t,r,n,i,a){const o=V4e.getVideoSortParam(t),{VIDEO_COLLECTION:u,CLIP_COLLECTION:s,INTERACTIVE:c}=ea,d=`videos[${u}]`,h=`clips[${s}]`,v=`interactives[${c}]{status:[${Ql.Published},${Ql.Draft}]}`,g={query:`(${d}|${h}|${v})${o?`{${o}}`:""}`,permissionFilterOption:Zd.FilterOut,...r?{cursor:r}:{}},m=["folder","videos",e,r,t].filter(y=>!!y).join(":");return{url:fn.urlBuilder(`{gateway}/v1/objects/${e}/members`,g),key:m,success:n,error:i,always:a}},pointsOfInterest(e,t,r,n,i){const a={query:"{limit:100}",cursor:t};return{url:fn.urlBuilder(`{gateway}/v1/objects/${e}/pointsofinterest`,a),publicUrl:fn.urlBuilder(`/api/objects/${e}/pointsofinterest`,a),key:`pointsofinterest:${e}${t?`:${t}`:""}`,success:r,error:n,always:i}},regionAlternatives(e,t,r,n){return{url:`/api/objects/videos/${e}/region-alternatives`,publicUrl:`/api/objects/videos/${e}/region-alternatives`,key:`video:regionAlternatives:${e}`,normalize:!1,success:t,error:r,always:n}}},B4e="_minHeight_t8ykr_1",H4e="_restrictionBadgeCustom_t8ykr_4",z4e="_restrictionBadgeUser_t8ykr_8",W4e="_streamable_t8ykr_12",JZ={minHeight:B4e,restrictionBadgeCustom:H4e,restrictionBadgeUser:z4e,streamable:W4e};function sue(e){return j.jsx("svg",{...e,children:j.jsx("path",{d:"M9.006 10h6.028c.006-.32.01-.641.002-.974-.016-.663-.077-1.28-.243-1.808-.164-.52-.424-.934-.83-1.223-.407-.292-1.015-.495-1.943-.495s-1.536.203-1.944.495c-.405.29-.665.703-.83 1.223-.166.528-.227 1.145-.242 1.808-.008.333-.004.655.002.974m7.028 0H17a1 1 0 0 1 1 1v8a1 1 0 0 1-1 1H7a1 1 0 0 1-1-1v-8a1 1 0 0 1 1-1h1.006c-.006-.33-.01-.67-.002-.997.016-.696.08-1.424.289-2.085.21-.67.576-1.29 1.202-1.737.623-.445 1.453-.681 2.525-.681s1.902.236 2.525.681c.626.447.99 1.068 1.202 1.737.208.661.272 1.389.288 2.085.008.326.005.667 0 .997m-1.014 1H7v8h10v-8h-1.98",fill:"currentColor"})})}function G4e(e){return j.jsxs("svg",{...e,children:[j.jsx("defs",{children:j.jsx("path",{id:"a",d:"M12 19.059A7.059 7.059 0 1 0 12 4.94a7.059 7.059 0 0 0 0 14.118M12 4a8 8 0 1 1 0 16 8 8 0 0 1 0-16m-.229 2.743a.457.457 0 0 0-.457.457v5.486c0 .147.071.286.191.372l3.174 2.27a.457.457 0 1 0 .532-.744l-2.982-2.133V7.2a.457.457 0 0 0-.458-.457",fill:"currentColor"})}),j.jsxs("g",{fill:"none",fillRule:"evenodd",children:[j.jsx("mask",{id:"b",fill:"#fff",children:j.jsx("use",{href:"#a"})}),j.jsx("use",{fill:"#000",fillRule:"nonzero",href:"#a"}),j.jsx("g",{fill:"#383838",mask:"url(#b)",children:j.jsx("path",{d:"M0 0h24v24H0z",fill:"currentColor"})})]})]})}const Y4e="shared.shared-utils",yv=gr.encloseNamespace(Y4e),K4e={[$o.Custom]:JZ.restrictionBadgeCustom,[$o.User]:JZ.restrictionBadgeUser},X4e={[$o.Custom]:G4e,[$o.User]:sue},Q4e={[$o.Custom]:"restrictionCustom",[$o.User]:"restrictionYearGroup"},ZZ={[$o.Custom]:200,[$o.User]:100},Hl={mapRestrictionToClass(e){var r;if(!((r=e==null?void 0:e.value)!=null&&r.length))return"";const t=Hl.getWeightedRestriction(e.value);return K4e[t.type]},mapRestrictionToSvg(e){var r;if(!((r=e==null?void 0:e.value)!=null&&r.length))return sue;const t=Hl.getWeightedRestriction(e.value);return X4e[t.type]},mapRestrictionToText(e,t){var a;if(!((a=e==null?void 0:e.value)!=null&&a.length)||!(t!=null&&t.length))return"";const r=Hl.getWeightedRestriction(e.value),n=t.find(o=>o.value===r.yearGroup),i=Q4e[r.type];if(r.type===$o.User)return r.yearGroup===null?yv("restrictionStaff"):n?t.length===1?yv("restrictionStudents"):yv(i,{yearGroup:n.name}):"";if(r.type===$o.Custom){const o=Hl.getRestrictionDuration(r);return o?yv(i,{duration:o,smartCount:o}):yv("restrictionCustomLessThanDay",{duration:o,smartCount:1})}return""},getWeightedRestriction(e,t="highest"){if(e!=null&&e.length)return e.length===1?e[0]:e.reduce((r,n)=>{const i=ZZ[r.type],a=ZZ[n.type];return t==="highest"&&i>a||t==="lowest"&&i<a?r:n})},getRestrictionByType(e,t){if(!Hl.hasRestrictions(e))return null;const r=Array.isArray(t)?t:[t],n=e._restrictions.value.filter(i=>r.includes(i.type));return Hl.getWeightedRestriction(n)},getRestrictionDuration(e){if(e.type!==$o.Custom||!e.expiresOn)return;const t=Cn.convertUTCToLocal(e.expiresOn);if(t)return Cn.diffBetween(t,new Date,"day")},hasCustomRestriction(e){return!!Hl.getRestrictionByType(e,[$o.Custom])},hasRestrictions(e){var t,r;return!!((r=(t=e==null?void 0:e._restrictions)==null?void 0:t.value)!=null&&r.length)}},J4e="shared.shared-utils",Oa=gr.encloseNamespace(J4e),un={isVideo(e){return(e==null?void 0:e.typeId)===zn.Video},isClip(e){return(e==null?void 0:e.typeId)===zn.Clip},isInteractive(e){return(e==null?void 0:e.typeId)===zn.Interactive},isVideoTypeArchived(e){return(e==null?void 0:e.status)===Ql.Archived},isVideoType(e){return un.isVideo(e)||un.isInteractive(e)||un.isClip(e)},hasSeries(e){var t;return!!((t=e==null?void 0:e.series)!=null&&t.id)},showVideoGuidance(e){return!e(Na.StudentExperience)},showInteractivesGuidance(e){var r,n;return!e||un.isInteractive(e)?!1:!!(((n=(r=e.interactives)==null?void 0:r.data)==null?void 0:n.length)||0)},showResourcesGuidance(e){var r,n,i,a;return!e||un.isInteractive(e)?!1:!!((((n=(r=e.resources)==null?void 0:r.data)==null?void 0:n.length)||0)+(((a=(i=e.links)==null?void 0:i.data)==null?void 0:a.length)||0))},getVideoProgress(e){var t,r;return e!=null&&e.lastProgressPoint?e==null?void 0:e.lastProgressPoint:(t=e==null?void 0:e._videoProgress)!=null&&t.progress?(r=e==null?void 0:e._videoProgress)==null?void 0:r.progress:0},getThumbnail(e){var t,r,n;if(!e)return null;if(un.isVideo(e))return e.thumbnail;if(e!=null&&e._thumbnail)return e._thumbnail;if(un.isClip(e))return e.thumbnail||((t=e._parentVideo)==null?void 0:t.thumbnail);if(un.isInteractive(e))return((r=e._parentVideo)==null?void 0:r.thumbnail)||((n=e._parentClip)==null?void 0:n.thumbnail)},getDuration(e){var t,r;if(e){if(un.isVideo(e))return e.duration;if(un.isInteractive(e)){if((t=e._parentClip)!=null&&t.id)return(e._parentClip.endTime-e._parentClip.startTime)*1e3;if((r=e._parentVideo)!=null&&r.duration)return e._parentVideo.duration}if(un.isClip(e))return(e.endTime-e.startTime)*1e3}},getAnalyticsEntity(e){if(un.isVideo(e))return xn.Video;if(un.isInteractive(e))return xn.Interactive;if(un.isClip(e))return xn.Clip},getAnalyticsData(e,t={}){var n,i,a,o,u,s;if(un.isVideo(e))return{...t||{},id:e.id,name:e.name};if(un.isClip(e)){const c={...t||{},id:e.id,name:e.name};return(n=e._parentVideo)!=null&&n.id&&(c.video={id:(i=e._parentVideo)==null?void 0:i.id,name:e._parentVideo.name}),c}const r={...t,id:e.id,interactiveId:e.interactiveId,name:e.name,status:e.status,originType:e.originType};return(a=e==null?void 0:e._parentClip)!=null&&a.id&&(r.clip={id:(o=e==null?void 0:e._parentClip)==null?void 0:o.id,name:e==null?void 0:e._parentClip.name}),(u=e==null?void 0:e._parentVideo)!=null&&u.id&&(r.video={id:(s=e==null?void 0:e._parentVideo)==null?void 0:s.id,name:e==null?void 0:e._parentVideo.name}),r},getCanBeConsumed(e){var t,r;return!e||!un.isVideoType(e)?{canNavigate:!1,canConsume:!1}:e._canBeConsumed?{canNavigate:((t=e._canBeConsumed)==null?void 0:t.reason)==="login-required"&&un.isVideo(e)||e._canBeConsumed.value===!0,canConsume:e._canBeConsumed.value,reason:(r=e._canBeConsumed)==null?void 0:r.reason}:{canNavigate:!0,canConsume:!0}},getPrivacyReasoning(e,t=!1){var u;const{canConsume:r,canNavigate:n,reason:i}=un.getCanBeConsumed(e),a=()=>un.isClip(e)?Oa("clipParentDeleted"):un.isInteractive(e)?Oa("interactiveParentDeleted"):Oa("videoDeleted"),o=()=>un.isClip(e)?Oa("clipLoginRequired"):un.isInteractive(e)?Oa("interactiveLoginRequired"):Oa("videoLoginRequired");if(!r&&!n){if(t)return o();switch(i){case"rating-not-allowed":return Oa("ratingNotAllowed");case"video-deleted":return a();case"clickview-private":return Oa("clickViewPrivate");case"private":return Oa("genericCannotAccess");case"login-required":return o();case"restricted-access":{const s=Hl.getWeightedRestriction((u=e._restrictions)==null?void 0:u.value);return(s==null?void 0:s.type)===$o.Custom?Oa("awaitingApproval"):Oa("restrictedAccess")}default:return Oa("genericCannotAccess")}}return un.isInteractive(e)&&e.status===Ql.Draft?Oa("draftInteractive"):""},getTitle(e){if(e.name)return un.isInteractive(e)&&e.status===Ql.Draft?Oa("draftInteractiveTitle",{name:e.name}):e.name;const{canConsume:t,reason:r}=un.getCanBeConsumed(e);return Oa(!t&&r==="private"?"privateVideo":!t&&r==="video-deleted"?"videoUnavailable":"privateVideo")},getParentVideo(e){if(un.isVideo(e))return e;if(un.isClip(e)||un.isInteractive(e))return e._parentVideo},getRating(e){var t,r,n;return un.isVideo(e)?((t=e._rating)==null?void 0:t.value)||e.rating:(n=(r=e==null?void 0:e._parentVideo)==null?void 0:r._rating)==null?void 0:n.value},getVideoRequest(e,t,r){if(r){switch(t){case zn.Video:return QZ.sharedVideo(e,r);case zn.Clip:return KZ.sharedClip(e,r);case zn.Interactive:return XZ.sharedInteractiveMetadata(e,r)}vr.throw(new On("Unsupported master type"))}switch(t){case zn.Video:return QZ.video(e);case zn.Clip:return KZ.clip(e);case zn.Interactive:return XZ.interactiveMetadata(e)}vr.throw(new On("Unsupported master type"))},isBroadcast(e){var t,r;return!!((r=(t=e==null?void 0:e.contentLicences)==null?void 0:t.data)!=null&&r.some(n=>n.systemName===SP.Era||n.systemName===SP.Screenrights))},getReleaseDate(e){return e&&e.dateReleased&&un.isBroadcast(e)?Cn.format(e.dateReleased,"DD/MM/YYYY"):""},canViewOriginalVideo(e){var t,r;return!!((r=(t=e==null?void 0:e._parentVideo)==null?void 0:t._canBeConsumed)!=null&&r.value)},getTrackingCode(e){if(un.isVideo(e))return e.trackingCode;if(un.isClip(e)||un.isInteractive(e))return e._parentVideo.trackingCode},isInExchange(e){var t,r;return!!((r=(t=e==null?void 0:e.libraries)==null?void 0:t.data)!=null&&r.some(n=>n.typeId===zn.ExchangeCollection))},canViewUploadDate(e){return!(!e||!e.dateCreated||!e._isClickViewCurated||e._isClickViewCurated.value)}};function Kl(e,t){return Object.keys(t).map(r=>({application:e,action:t[r]}))}function B5e(e,t){if(un.isVideo(e))return{application:dr.VIDEOS,action:Jr.Videos.OVERVIEW,args:[e.id],params:t};if(un.isInteractive(e))return{application:dr.INTERACTIVES,action:Jr.Interactives.OVERVIEW,args:[e.id],params:t};if(un.isClip(e))return{application:dr.CLIPS,action:Jr.Clips.OVERVIEW,args:[e.id],params:t}}function H5e(e,t){if(un.isVideo(e))return{application:dr.VIDEOS,action:Jr.Videos.VIDEO_VIEWS,args:[e.id],params:t};if(un.isInteractive(e))return{application:dr.VIDEOS,action:Jr.Videos.INTERACTIVE_VIEWS,args:[e.id],params:t};if(un.isClip(e))return{application:dr.VIDEOS,action:Jr.Videos.CLIP_VIEWS,args:[e.id],params:t}}const Z4e=[Jr.Default.SHARE,Jr.Default.GENERATE_REPORT],eUe=[...Kl(dr.DEFAULT,Jr.Default).filter(e=>!Z4e.includes(e.action))];function tUe(){const e=Kn.getCurrentAppLink();return!eUe.some(t=>t.application===e.application&&t.action===e.action)}const rUe={signOut:{application:dr.DEFAULT,action:Jr.Default.LOG_OUT}},nUe="_container_7vmq3_1",iUe="_title_7vmq3_4",eee={container:nUe,title:iUe};function aUe(e){const[t]=ba(mo.HEADER_TITLE),[r]=ba(mo.DATE_RANGE_QUERY_PARAMS,{}),[n]=ba(mo.HEADER_ACTIONS,[]),i=tUe();let a="navbar w-100 pt-3 pe-0 d-flex justify-content-between";return e.className&&(a+=` ${e.className}`),j.jsx("nav",{className:a,children:j.jsxs("div",{className:`${eee.container} px-3 mb-3 ${e.containerFluid?"container-fluid":"container"}`,children:[j.jsx("div",{className:eee.title,children:!!t&&j.jsx("h1",{className:"mb-1",children:t})}),i&&j.jsxs(j.Fragment,{children:[j.jsx(F4e,{className:"me-2"}),j.jsx(v3e,{dateRangeQueryParams:r,dateRangePresets:Ry()})]}),j.jsx(oN,{actions:n,dropdownToggleClassName:"btn btn-outline-dark px-1 ms-2"}),j.jsx("span",{className:"ms-2",children:j.jsx(q3e,{productId:Lo.Analytics,appLinks:rUe})})]})})}var qd=(e=>(e[e.Open=0]="Open",e[e.Collapsed=1]="Collapsed",e[e.Hidden=2]="Hidden",e))(qd||{});const Sm={[fi.Thumbnails]:{width:1280,height:720},[fi.Banners]:{width:1200,height:222},[fi.Covers]:{width:512,height:512},[fi.Posters]:{width:1e3,height:1500},[fi.TallPosters]:{width:1080,height:1920},[fi.HeroBanners]:{width:1920,height:640},[fi.None]:{width:1,height:1},[fi.Avatars]:{width:256,height:256},[fi.Logos]:{width:128,height:128}},EP={onFileSelect(e,t,r,n){if(!t||!t.length)return;if(t.length>1){alert("Please only select one file");return}const i=t[0];if(!i.type.startsWith("image/")){alert("Please select an image file");return}const a=new FileReader;a.addEventListener("load",()=>EP.onReaderLoad(a,e,r,n)),a.readAsDataURL(i)},onReaderLoad(e,t,r,n){const i=new Image;i.src=e.result;const a=(n==null?void 0:n.width)??Sm[t].width,o=(n==null?void 0:n.height)??Sm[t].height;i.addEventListener("load",()=>{EP.isImageValid(t,i,n)&&gi.isFunction(r)?r(i):alert(`Image too small: minimum dimensions are ${a} x ${o}`)})},isImageValid(e,t,r){const n=(r==null?void 0:r.width)??Sm[e].width,i=(r==null?void 0:r.height)??Sm[e].height;return!(n&&t.width<n||i&&t.height<i)},mapImageTypeToString(e){switch(e){case fi.Avatars:return"avatars";case fi.Thumbnails:return"thumbnails";case fi.Logos:return"logos";case fi.Covers:return"covers";case fi.Posters:return"posters";case fi.TallPosters:return"tallposters";case fi.HeroBanners:return"herobanners";case fi.None:default:return""}}},tee={createLogo(e,t){return{key:"upload:logo",url:`api/domain/v2/objects/${e}/logo`,type:pn.POST,data:{fileId:t.id.toString(),fileIdType:t.fileIdType},invalidationKeys:["school:logo"]}},removeLogo(e,t,r,n){return{url:`/api/domain/v2/objects/${e}/logo/${t}`,key:`remove:logo:${t}`,type:pn.DELETE,success:r,error:n,invalidationKeys:["school:logo"]}},logo(e){return{key:"school:logo",url:`{gateway}/v1/objects/${e}/logo`}}};function oUe(){var s;const{setDataUrl:e,getImage:t,imageUploaded:r}=or.useContext(Woe),n=Bbe(),i=Ii(Wi.currentUser()),a=Ii(i.data&&tee.logo(i.data.customerId));or.useEffect(()=>{r&&o()},[r]);async function o(){const c=t();c&&await n(tee.createLogo(i.data.customerId,c))}function u(){Kn.trigger({application:dr.DEFAULT,action:Jr.Default.REMOVE_LOGO,params:{logoId:a.data.id,customerId:i.data.customerId}})}return{schoolLogo:(s=a.data)==null?void 0:s.url,schoolName:i.data.customerName,setDataUrl:e,deleteLogo:u}}const sUe="_uploadContainer_1a9jf_1",uUe="_logo_1a9jf_6",lUe="_actions_1a9jf_10",sI={uploadContainer:sUe,logo:uUe,actions:lUe},uue="reportsShared.schoolLogo",ree=gr.encloseNamespace(uue);function cUe(e){const{schoolLogo:t,schoolName:r,setDataUrl:n,deleteLogo:i}=oUe(),a=lN(),o=or.useRef(null),u=or.useCallback(d=>{d&&(o.current=d)},[]),s=()=>{o.current.value=null,o.current.click()};function c(d){n(d.src),Kn.trigger({application:dr.DEFAULT,action:Jr.Default.UPLOAD_IMAGE,args:[fi.Logos]})}return j.jsxs("div",{className:"d-flex flex-column align-items-center gap-2 m-3",children:[t&&j.jsxs("div",{className:`${sI.logo} ${e.isCollapsed?"w-100 h-100":""} position-relative`,children:[j.jsx("div",{className:`${sI.actions} position-absolute w-100 h-100 rounded`,children:j.jsx(oN,{actions:[{label:ree("uploadImage"),onClick:s},{label:ree("removeImage"),className:"text-danger",onClick:i}],className:`${e.isCollapsed?"w-100 h-100":""} d-flex position-absolute top-0 end-0 opacity-100`,dropdownToggleClassName:`${e.isCollapsed?"opacity-0":""} flex-grow-1 text-white bg-transparent`})}),j.jsx("img",{src:t,className:"rounded bg-white w-100 h-100"})]}),!t&&j.jsx("div",{children:j.jsxs("button",{onClick:s,className:`${sI.uploadContainer} ${e.isCollapsed?"w-fit h-fit":""} d-flex flex-column align-items-center justify-content-center rounded text-white opacity-75 opacity-100-hover`,children:[j.jsx(Ri,{svg:Zse,size:Zs.Large}),!e.isCollapsed&&j.jsx("span",{className:"d-none d-lg-block",children:j.jsx(up,{namespace:uue,phrase:a?"addInstitutionCrest":"addSchoolCrest"})})]})}),r&&!e.isCollapsed&&j.jsx("p",{className:"text-white text-center fw-medium",children:r}),j.jsx("input",{type:"file",className:"file-select d-none",accept:xv.IMAGES,ref:u,onChange:d=>EP.onFileSelect(fi.Logos,d.target.files,c)})]})}const fUe="_leftNavItem_jy8ry_1",dUe="_active_jy8ry_9",nee={leftNavItem:fUe,active:dUe};function hUe(e){let t=`d-flex align-items-center mx-3 my-1 px-1 py-2 rounded ${nee.leftNavItem}`;return e.collapsed&&(t+=" justify-content-center"),e.active&&(t+=` ${nee.active}`),j.jsxs(os,{className:t,appLink:e.appLink,children:[j.jsx(Ri,{svg:e.svg,size:Zs.Large}),!e.collapsed&&j.jsx("span",{className:"ms-2",children:e.name})]})}function vUe(){return j.jsx("svg",{viewBox:"0 0 434 71",children:j.jsxs("g",{children:[j.jsx("path",{fill:"#FFFFFF",d:"M114.44 56.57l3.5 3.5a32.87 32.87 0 0 1-25.16 11.26c-19.63 0-33.62-15.54-33.62-35.16C59.16 16.55 73.16 1 92.78 1a32.31 32.31 0 0 1 24.19 10.4l-3.6 3.3a27.32 27.32 0 0 0-20.59-8.74c-16.91 0-28.39 13.5-28.39 30.21s11.48 30.21 28.39 30.21a28.08 28.08 0 0 0 21.66-9.81zM126.64 1h4.55v70.22h-4.73L126.64 1zm17.3 10.6a3.7 3.7 0 1 1 0 7.4 3.7 3.7 0 0 1 0-7.4zm-2.41 15.07h4.81v44.56h-4.81V26.67zm48 33.15l3.33 3.15a21.8 21.8 0 0 1-17.31 8.61c-12.59 0-21.76-10-21.76-22.22 0-12.22 9.17-22.22 21.76-22.22a21.84 21.84 0 0 1 16.85 8l-3.43 3.06a17.15 17.15 0 0 0-13.42-6.3c-10.09 0-16.76 8.15-16.76 17.5s6.67 17.5 16.76 17.5a17.38 17.38 0 0 0 13.98-7.08zm14.99-9.33v20.74h-4.73V1.01h4.73v47.75l20.74-19.02h6.64l-21.56 19.84L234 71.23h-7.01l-22.47-20.74z"}),j.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 z5e(){return j.jsx("svg",{viewBox:"0 0 41 70",children:j.jsx("g",{children:j.jsx("path",{fill:"#F8981D",d:"M 0 0 41 35 0 70z"})})})}const pUe="_logoContainer_1fstu_1",gUe={logoContainer:pUe},mUe={application:dr.DASHBOARD,action:Jr.Dashboard.HOME};function yUe(e){return e.isNavCollapsed?j.jsx(j.Fragment,{}):j.jsx(os,{appLink:mUe,className:`ms-3 ${gUe.logoContainer}`,children:j.jsx(vUe,{})})}function _Ue(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"nonzero",d:"M19 15.75a.75.75 0 0 1 .102 1.493L19 17.25H5a.75.75 0 0 1-.102-1.493L5 15.75zm0-5a.75.75 0 0 1 .102 1.493L19 12.25H5a.75.75 0 0 1-.102-1.493L5 10.75zm0-5a.75.75 0 0 1 .102 1.493L19 7.25H5a.75.75 0 0 1-.102-1.493L5 5.75z"})})}function SUe(e){return j.jsx("div",{className:"text-light",children:j.jsx(Ri,{svg:_Ue,onClick:e.onClick,className:"svg-container cursor-pointer",size:Zs.Medium})})}function lue(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M14.56 10.33c-.243 0-.472.063-.672.174a1.43 1.43 0 0 0-1.2-.671c-.257 0-.5.07-.71.195a1.42 1.42 0 0 0-1.16-.614q-.226 0-.43.069v-.47h.12c.728 0 1.32-.618 1.32-1.377V4.378c0-.76-.592-1.378-1.32-1.378H7.386c-.727 0-1.32.618-1.32 1.378v3.258c0 .76.593 1.378 1.32 1.378h.12v3.266a1.5 1.5 0 0 0-.262-.217 1.38 1.38 0 0 0-1.03-.2c-.385.017-.729.192-.953.486-.235.309-.316.723-.224 1.137l.664 2.966c.379 2.474 2.228 4.326 2.307 4.404a.5.5 0 0 0 .348.144h5.682a.5.5 0 0 0 .423-.238 10.05 10.05 0 0 0 1.538-5.365L16 11.834c0-.83-.646-1.504-1.44-1.504m-5.992 9.615c-.407-.452-1.607-1.912-1.871-3.676l-.008-.038-.668-2.985c-.022-.1-.01-.186.032-.242q.066-.082.213-.095l.053-.007.062-.007a.53.53 0 0 1 .33.064.45.45 0 0 1 .192.28l.576 2.574c.048.215.22.376.43.403l.04.005a.5.5 0 0 0 .397-.128c.109-.1.17-.244.17-.395V7.317a.44.44 0 0 1 .431-.449.44.44 0 0 1 .43.449v4.945c0 .291.226.527.505.527.28 0 .506-.236.506-.527v-1.344a.44.44 0 0 1 .43-.449.44.44 0 0 1 .43.45v1.403c0 .291.226.527.505.527a.517.517 0 0 0 .505-.527v-.986a.44.44 0 0 1 .43-.449.44.44 0 0 1 .43.45v1.353c0 .292.227.528.506.528s.505-.236.505-.528v-.856a.44.44 0 0 1 .43-.45.44.44 0 0 1 .43.45v3.563a9 9 0 0 1-1.228 4.548zM7.386 7.96a.317.317 0 0 1-.31-.323V4.378c0-.178.14-.323.31-.323h3.122c.17 0 .31.145.31.323v3.258a.317.317 0 0 1-.31.323h-.12v-.642c0-.83-.647-1.504-1.44-1.504-.795 0-1.442.675-1.442 1.504v.642zM14.375 3h3.25C18.383 3 19 3.617 19 4.375v3.25C19 8.383 18.383 9 17.625 9h-3.25A1.376 1.376 0 0 1 13 7.625v-3.25C13 3.617 13.617 3 14.375 3m3.25 4.948a.323.323 0 0 0 .323-.323v-3.25a.323.323 0 0 0-.323-.323h-3.25a.323.323 0 0 0-.323.323v3.25c0 .178.145.323.323.323z",clipRule:"evenodd"})})}function cue(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M20 6.818C20 5.814 19.105 5 18 5H6c-1.105 0-2 .814-2 1.818v7.727c0 1.004.895 1.818 2 1.818h3.91l-.347 1.707H8.5q-.513 0-.513.459 0 .457.513.471h7q.524-.014.524-.471 0-.459-.524-.459h-1.003l-.367-1.707H18c1.105 0 2-.814 2-1.818zm-7.625.227c.207 0 .375.204.375.455v6.363c0 .252-.168.455-.375.455h-.75c-.207 0-.375-.203-.375-.455V7.5c0-.251.168-.455.375-.455zm2.875 2.728c0-.251-.168-.455-.375-.455h-.75c-.207 0-.375.204-.375.455v4.09c0 .252.168.455.375.455h.75c.207 0 .375-.203.375-.455zm-5 1.363c0-.25-.168-.454-.375-.454h-.75c-.207 0-.375.203-.375.454v2.727c0 .252.168.455.375.455h.75c.207 0 .375-.203.375-.455zm2.824 5.227.332 1.706h-2.813l.326-1.706zM6 5.863h12c.552 0 1 .408 1 .91v7.818l-.007.106c-.057.452-.48.803-.993.803H6l-.117-.006C5.386 15.44 5 15.057 5 14.59V6.773l.007-.106c.057-.452.48-.803.993-.803"})})}function EUe(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M19.531 14.544h-2.543v-4.28l.34.155a.467.467 0 0 0 .622-.233.47.47 0 0 0-.233-.621l-5.248-2.386V5.44h1.54c.258 0 .468-.21.468-.468v-.502A.47.47 0 0 0 14.008 4H12a.47.47 0 0 0-.469.469v2.71L6.283 9.565a.469.469 0 1 0 .388.853l.342-.155v4.28H4.469a.47.47 0 0 0-.469.47v4.518c0 .26.21.469.469.469H19.53c.26 0 .469-.21.469-.469v-4.518a.47.47 0 0 0-.469-.47M7.013 19.062H4.937v-3.58h2.075zm6.025 0h-2.075v-2.074h2.075zm3.012-4.05v4.05h-2.075V16.52a.47.47 0 0 0-.469-.469h-3.012a.47.47 0 0 0-.469.469v2.544H7.95V9.837L12 7.997l4.05 1.84zm3.012 4.05h-2.075v-3.58h2.076zM12 10.062a1.977 1.977 0 0 0-1.975 1.975c0 1.089.886 1.975 1.975 1.975 1.09 0 1.975-.886 1.975-1.975 0-1.09-.886-1.975-1.975-1.975m0 3.012a1.039 1.039 0 1 1 1.037-1.037c0 .572-.465 1.037-1.037 1.037"})})}function cN(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",d:"M16.657 16.576a1 1 0 0 1 .143-1.024l.076-.094a6.292 6.292 0 1 0-2.12 1.688l.082-.04a1 1 0 0 1 .834-.022l1.473.631zm1.788 1.126c.355.83-.483 1.669-1.313 1.313l-1.848-.792a7.492 7.492 0 1 1 2.524-2.008z"})})}function fue(e){return j.jsx("svg",{...e,children:j.jsx("path",{fill:"currentColor",fillRule:"evenodd",d:"M5.433 6.767a.444.444 0 0 0-.444.444v9.578c0 .245.199.444.444.444h13.134a.444.444 0 0 0 .445-.444V7.21a.444.444 0 0 0-.445-.444zm13.233-.99c.737 0 1.333.598 1.333 1.334v9.778c0 .736-.596 1.333-1.333 1.333H5.333A1.333 1.333 0 0 1 4 16.89V7.11c0-.736.597-1.333 1.333-1.333zM10.25 9.407a.2.2 0 0 0-.028.101v4.986a.195.195 0 0 0 .297.166l4.079-2.493a.195.195 0 0 0 0-.332l-4.08-2.493a.195.195 0 0 0-.268.065"})})}var Dn=(e=>(e.Dashboard="Dashboard",e.Interactives="Interactives",e.Logins="Logins",e.Videos="Videos",e))(Dn||{});function fN(){const[e]=ba(mo.DATE_RANGE_QUERY_PARAMS),[t]=ba(mo.AUDIENCE_QUERY_PARAMS,{});return{...e,...t}}function dN(){return fN()}function wUe(){const e=fN();return{userId:e.users,groupId:[...e.classrooms??[],...e.classroomGroups??[]],customerId:[],...gP(Ry(),e)}}function bUe(e){const t=Nf(),r=fN(),n=kCe(),i=!e&&!r.classrooms&&n!=="interactives";function a(s){return uf.userClassrooms(s)}function o(s){J_(t)(a(s))}const u=iue(i&&a,o);if(n==="interactives")return{...gP(Ry(),r),groupId:r.classrooms};if(!(i&&!u.hasCompleted))return{groupId:r.classrooms??(u==null?void 0:u.items.map(s=>s.id))??[],customerId:[],...gP(Ry(),r)}}function W5e(){var o;const{hasPermissions:e}=yc(),{hasShareFlowV2:t}=Zp(null),r=Ii(Wi.currentUser()),n=e(Na.ViewCustomerAnalytics),i=wUe(),a=bUe(n);return t?{...i,customerId:(o=r.data)==null?void 0:o.customerId}:n?i:a}const Jl={[Dn.Dashboard]:{application:dr.DASHBOARD,action:Jr.Dashboard.HOME},[Dn.Logins]:{application:dr.LOGINS,action:Jr.Logins.HOME},[Dn.Videos]:{application:dr.VIDEOS,action:Jr.Videos.HOME},[Dn.Interactives]:{application:dr.INTERACTIVES,action:Jr.Interactives.HOME}},TUe={[Dn.Dashboard]:{application:dr.DASHBOARD,action:Jr.Dashboard.HOME},[Dn.Interactives]:{application:dr.INTERACTIVES,action:Jr.Interactives.HOME}},due={[Dn.Dashboard]:Kl(dr.DASHBOARD,Jr.Dashboard),[Dn.Logins]:Kl(dr.LOGINS,Jr.Logins),[Dn.Videos]:[...Kl(dr.VIDEOS,Jr.Videos),...Kl(dr.CLIPS,Jr.Clips)],[Dn.Interactives]:Kl(dr.INTERACTIVES,Jr.Interactives)},RUe={[Dn.Dashboard]:Kl(dr.DASHBOARD,Jr.Dashboard),[Dn.Interactives]:Kl(dr.INTERACTIVES,Jr.Interactives)},xUe="reportsShared.leftNav",Is=gr.encloseNamespace(xUe);function il(e,t){return{...e,params:t}}function hN(e){var i;const[t,r]=pe.useState(null),n=(i=pc.getCurrentRoute())==null?void 0:i.appLink;return pe.useEffect(()=>{let a=null;Object.keys(e).find(o=>{if(a)return;if(e[o].find(s=>s.application===n.application&&s.action===n.action)){a=Dn[o];return}}),r(a)},[n]),t}function CUe(e){const t=dN(),r=hN(due);return[{name:Is("dashboard"),appLink:il(Jl[Dn.Dashboard],t),svg:Iy,collapsed:e,active:r===Dn.Dashboard},{name:Is("logins"),appLink:il(Jl[Dn.Logins],t),svg:cue,collapsed:e,active:r===Dn.Logins},{name:Is("videos"),appLink:il(Jl[Dn.Videos],t),svg:fue,collapsed:e,active:r===Dn.Videos},{name:Is("interactives"),appLink:il(Jl[Dn.Interactives],t),svg:lue,collapsed:e,active:r===Dn.Interactives},{name:Is("giveFeedback"),appLink:{application:dr.DEFAULT,action:Jr.Default.GIVE_FEEDBACK},svg:cN}]}function AUe(e){const t=dN(),r=hN(due),n=lN();return[{name:Is(n?"institutionAnalytics":"schoolAnalytics"),appLink:il(Jl[Dn.Dashboard],t),svg:EUe,collapsed:e,active:r===Dn.Dashboard},{name:Is("logins"),appLink:il(Jl[Dn.Logins],t),svg:cue,collapsed:e,active:r===Dn.Logins},{name:Is("videoViews"),appLink:il(Jl[Dn.Videos],t),svg:fue,collapsed:e,active:r===Dn.Videos},{name:Is("giveFeedback"),appLink:{application:dr.DEFAULT,action:Jr.Default.GIVE_FEEDBACK},svg:cN}]}function OUe(e){const t=dN(),r=hN(RUe);return[{name:Is("dashboard"),appLink:il(TUe[Dn.Dashboard],t),svg:Iy,collapsed:e,active:r===Dn.Dashboard},{name:Is("interactives"),appLink:il(Jl[Dn.Interactives],t),svg:lue,collapsed:e,active:r===Dn.Interactives},{name:Is("giveFeedback"),appLink:{application:dr.DEFAULT,action:Jr.Default.GIVE_FEEDBACK},svg:cN}]}function IUe(e){const{hasPermissions:t}=yc(),{hasShareFlowV2:r}=Zp(null),n=t(Na.ViewMyShares)&&r,i=CUe(e),a=OUe(e),o=AUe(e);return n?o:t(Na.ViewCustomerAnalytics)?i:a}const PUe="_leftNav_4h9jo_1",DUe="_headerHidden_4h9jo_10",kUe="_leftNavCollapsed_4h9jo_13",NUe="_toggleLogoContainer_4h9jo_16",Em={leftNav:PUe,headerHidden:DUe,leftNavCollapsed:kUe,toggleLogoContainer:NUe},LUe="reportsShared.leftNav",MUe=gr.encloseNamespace(LUe);function $Ue(e){const{hasShareFlowV2:t}=Zp(null),r=e.navState===qd.Collapsed,n=IUe(r),{hasPermissions:i,isLoaded:a}=yc();let o=`${Em.leftNav} py-3 d-flex flex-column`;if(r&&(o+=` ${Em.leftNavCollapsed}`),e.headerHidden&&(o+=` ${Em.headerHidden}`),e.navState===qd.Hidden)return j.jsx(j.Fragment,{});const u=i(Na.ViewCustomerAnalytics),s=i(Na.ViewMyShares)&&t;return j.jsxs("nav",{className:o,children:[j.jsxs("div",{className:`d-flex align-items-center mx-3 mb-4 ${r?" justify-content-center":""} ${Em.toggleLogoContainer}`,children:[j.jsx(SUe,{onClick:()=>e.toggleNav(!r)}),j.jsx(yUe,{isNavCollapsed:r})]}),s&&j.jsx(cUe,{isCollapsed:r}),n.map((c,d)=>j.jsx(hUe,{name:c.name,appLink:c.appLink,svg:c.svg,active:c.active,collapsed:r},d)),a&&u&&!r&&j.jsx("div",{className:"mt-auto text-center mb-2",children:j.jsx("span",{className:"border rounded-pill px-2 text-nowrap border-white text-light",children:MUe("adminRole")})})]})}function FUe(e){let t=e.className||"btn btn-dark";if(e.disabled&&(t+=" disabled"),!e.icon){if(e.appLink&&!gi.isFunction(e.onClick)&&!e.disabled)return j.jsx(os,{appLink:e.appLink,className:t,analyticsData:e.analyticsData,analyticsOptions:e.analyticsOptions,children:e.text});const r=()=>{e.disabled||(gi.isFunction(e.onClick)&&e.onClick(),e.appLink&&Kn.trigger(e.appLink),wa.logUserAction(e.analyticsData,e.analyticsOptions))};return e.href&&!e.disabled?j.jsx("a",{className:t,href:e.href,target:e.openInNewTab?"_blank":null,children:e.text}):j.jsx("button",{disabled:e.disabled,onClick:r,className:t,children:e.text})}return j.jsx(uP,{className:t,onClick:e.onClick,appLink:e.appLink,svg:e.icon,href:e.href,openInNewTab:e.openInNewTab,disabled:e.disabled,children:e.text})}const jUe="_image_12gb5_1",UUe="_small_12gb5_6",iee={image:jUe,small:UUe};hue.defaultProps={size:"medium"};function hue(e){return j.jsx("img",{alt:e.altText||"",role:"presentation",src:e.src,className:`${iee.image} ${e.size==="small"?iee.small:""} ${e.className??""}`})}Eu.defaultProps={className:"pt-5"};function Eu(e){return j.jsx("div",{className:`text-center d-flex flex-column align-items-center ${e.className??""}`,children:e.children})}Eu.Image=e=>j.jsx(hue,{...e});Eu.Cta=e=>j.jsx(FUe,{...e});Eu.Heading=e=>j.jsx("h2",{role:"status",className:e.className||"h3",children:e.children});Eu.Info=e=>e.injectHtml?j.jsx("p",{role:"status",className:e.className||"mb-3 w-50",dangerouslySetInnerHTML:{__html:e.children}}):j.jsx("p",{role:"status",className:e.className||"mb-3 w-50",children:e.children});const uI={WELCOME_POPUP_SELECTOR:"welcome-dialog",RESOURCE_ITEM_SELECTOR:"resource-item",GLOBAL_PLAYER_SELECTOR:"global-player"};var Vc=(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))(Vc||{});function qUe(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 VUe={isBot(){if(!window.URLSearchParams)return!1;const e=new URLSearchParams(window.location.search);return(e==null?void 0:e.get("isBot"))==="true"},getCanonicalLink(e={}){const t=Yn.GetCurrentOrigin(),r=(e==null?void 0:e.customAppLink)||Kn.getCurrentAppLink(),n=qUe(r.params,e.allowedParams);let i=Kn.getHref({...r,params:n},{middlewareOptions:{ignorePresentationSlug:e.stripPresentationSlug??!1}});return typeof e.hrefTransformer=="function"&&(i=e.hrefTransformer(i)),fn.safeUrlConcat(t,i)}};function vN(){return{async:!1,breaks:!1,extensions:null,gfm:!0,hooks:null,pedantic:!1,renderer:null,silent:!1,tokenizer:null,walkTokens:null}}let Hf=vN();function vue(e){Hf=e}const Vv={exec:()=>null};function Xn(e,t=""){let r=typeof e=="string"?e:e.source;const n={replace:(i,a)=>{let o=typeof a=="string"?a:a.source;return o=o.replace(vo.caret,"$1"),r=r.replace(i,o),n},getRegex:()=>new RegExp(r,t)};return n}const vo={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")},BUe=/^(?:[ \t]*(?:\n|$))+/,HUe=/^((?: {4}| {0,3}\t)[^\n]+(?:\n(?:[ \t]*(?:\n|$))*)?)+/,zUe=/^ {0,3}(`{3,}(?=[^`\n]*(?:\n|$))|~{3,})([^\n]*)(?:\n|$)(?:|([\s\S]*?)(?:\n|$))(?: {0,3}\1[~`]* *(?=\n|$)|$)/,eg=/^ {0,3}((?:-[\t ]*){3,}|(?:_[ \t]*){3,}|(?:\*[ \t]*){3,})(?:\n+|$)/,WUe=/^ {0,3}(#{1,6})(?=\s|$)(.*)(?:\n+|$)/,pue=/(?:[*+-]|\d{1,9}[.)])/,gue=Xn(/^(?!bull |blockCode|fences|blockquote|heading|html)((?:.|\n(?!\s*?\n|bull |blockCode|fences|blockquote|heading|html))+?)\n {0,3}(=+|-+) *(?:\n+|$)/).replace(/bull/g,pue).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(),pN=/^([^\n]+(?:\n(?!hr|heading|lheading|blockquote|fences|list|html|table| +\n)[^\n]+)*)/,GUe=/^[^\n]+/,gN=/(?!\s*\])(?:\\.|[^\[\]\\])+/,YUe=Xn(/^ {0,3}\[(label)\]: *(?:\n[ \t]*)?([^<\s][^\s]*|<.*?>)(?:(?: +(?:\n[ \t]*)?| *\n[ \t]*)(title))? *(?:\n+|$)/).replace("label",gN).replace("title",/(?:"(?:\\"?|[^"\\])*"|'[^'\n]*(?:\n[^'\n]+)*\n?'|\([^()]*\))/).getRegex(),KUe=Xn(/^( {0,3}bull)([ \t][^\n]+?)?(?:\n|$)/).replace(/bull/g,pue).getRegex(),y0="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",mN=/<!--(?:-?>|[\s\S]*?(?:-->|$))/,XUe=Xn("^ {0,3}(?:<(script|pre|style|textarea)[\\s>][\\s\\S]*?(?:</\\1>[^\\n]*\\n+|$)|comment[^\\n]*(\\n+|$)|<\\?[\\s\\S]*?(?:\\?>\\n*|$)|<![A-Z][\\s\\S]*?(?:>\\n*|$)|<!\\[CDATA\\[[\\s\\S]*?(?:\\]\\]>\\n*|$)|</?(tag)(?: +|\\n|/?>)[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|<(?!script|pre|style|textarea)([a-z][\\w-]*)(?:attribute)*? */?>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$)|</(?!script|pre|style|textarea)[a-z][\\w-]*\\s*>(?=[ \\t]*(?:\\n|$))[\\s\\S]*?(?:(?:\\n[ ]*)+\\n|$))","i").replace("comment",mN).replace("tag",y0).replace("attribute",/ +[a-zA-Z:_][\w.:-]*(?: *= *"[^"\n]*"| *= *'[^'\n]*'| *= *[^\s"'=<>`]+)?/).getRegex(),mue=Xn(pN).replace("hr",eg).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",y0).getRegex(),QUe=Xn(/^( {0,3}> ?(paragraph|[^\n]*)(?:\n|$))+/).replace("paragraph",mue).getRegex(),yN={blockquote:QUe,code:HUe,def:YUe,fences:zUe,heading:WUe,hr:eg,html:XUe,lheading:gue,list:KUe,newline:BUe,paragraph:mue,table:Vv,text:GUe},aee=Xn("^ *([^\\n ].*)\\n {0,3}((?:\\| *)?:?-+:? *(?:\\| *:?-+:? *)*(?:\\| *)?)(?:\\n((?:(?! *\\n|hr|heading|blockquote|code|fences|list|html).*(?:\\n|$))*)\\n*|$)").replace("hr",eg).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",y0).getRegex(),JUe={...yN,table:aee,paragraph:Xn(pN).replace("hr",eg).replace("heading"," {0,3}#{1,6}(?:\\s|$)").replace("|lheading","").replace("table",aee).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",y0).getRegex()},ZUe={...yN,html:Xn(`^ *(?:comment *(?:\\n|\\s*$)|<(tag)[\\s\\S]+?</\\1> *(?:\\n{2,}|\\s*$)|<tag(?:"[^"]*"|'[^']*'|\\s[^'"/>\\s]*)*?/?> *(?:\\n{2,}|\\s*$))`).replace("comment",mN).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:Vv,lheading:/^(.+?)\n {0,3}(=+|-+) *(?:\n+|$)/,paragraph:Xn(pN).replace("hr",eg).replace("heading",` *#{1,6} *[^
|
|
173
|
-
]`).replace("lheading",gue).replace("|table","").replace("blockquote"," {0,3}>").replace("|fences","").replace("|list","").replace("|html","").replace("|tag","").getRegex()},e6e=/^\\([!"#$%&'()*+,\-./:;<=>?@\[\]\\^_`{|}~])/,t6e=/^(`+)([^`]|[^`][\s\S]*?[^`])\1(?!`)/,yue=/^( {2,}|\\)\n(?!\s*$)/,r6e=/^(`+|[^`])(?:(?= {2,}\n)|[\s\S]*?(?:(?=[\\<!\[`*_]|\b_|$)|[^ ](?= {2,}\n)))/,_0=/[\p{P}\p{S}]/u,_N=/[\s\p{P}\p{S}]/u,_ue=/[^\s\p{P}\p{S}]/u,n6e=Xn(/^((?![*_])punctSpace)/,"u").replace(/punctSpace/g,_N).getRegex(),Sue=/(?!~)[\p{P}\p{S}]/u,i6e=/(?!~)[\s\p{P}\p{S}]/u,a6e=/(?:[^\s\p{P}\p{S}]|~)/u,o6e=/\[[^[\]]*?\]\((?:\\.|[^\\\(\)]|\((?:\\.|[^\\\(\)])*\))*\)|`[^`]*?`|<[^<>]*?>/g,Eue=/^(?:\*+(?:((?!\*)punct)|[^\s*]))|^_+(?:((?!_)punct)|([^\s_]))/,s6e=Xn(Eue,"u").replace(/punct/g,_0).getRegex(),u6e=Xn(Eue,"u").replace(/punct/g,Sue).getRegex(),wue="^[^_*]*?__[^_*]*?\\*[^_*]*?(?=__)|[^*]+(?=[^*])|(?!\\*)punct(\\*+)(?=[\\s]|$)|notPunctSpace(\\*+)(?!\\*)(?=punctSpace|$)|(?!\\*)punctSpace(\\*+)(?=notPunctSpace)|[\\s](\\*+)(?!\\*)(?=punct)|(?!\\*)punct(\\*+)(?!\\*)(?=punct)|notPunctSpace(\\*+)(?=notPunctSpace)",l6e=Xn(wue,"gu").replace(/notPunctSpace/g,_ue).replace(/punctSpace/g,_N).replace(/punct/g,_0).getRegex(),c6e=Xn(wue,"gu").replace(/notPunctSpace/g,a6e).replace(/punctSpace/g,i6e).replace(/punct/g,Sue).getRegex(),f6e=Xn("^[^_*]*?\\*\\*[^_*]*?_[^_*]*?(?=\\*\\*)|[^_]+(?=[^_])|(?!_)punct(_+)(?=[\\s]|$)|notPunctSpace(_+)(?!_)(?=punctSpace|$)|(?!_)punctSpace(_+)(?=notPunctSpace)|[\\s](_+)(?!_)(?=punct)|(?!_)punct(_+)(?!_)(?=punct)","gu").replace(/notPunctSpace/g,_ue).replace(/punctSpace/g,_N).replace(/punct/g,_0).getRegex(),d6e=Xn(/\\(punct)/,"gu").replace(/punct/g,_0).getRegex(),h6e=Xn(/^<(scheme:[^\s\x00-\x1f<>]*|email)>/).replace("scheme",/[a-zA-Z][a-zA-Z0-9+.-]{1,31}/).replace("email",/[a-zA-Z0-9.!#$%&'*+/=?^_`{|}~-]+(@)[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?(?:\.[a-zA-Z0-9](?:[a-zA-Z0-9-]{0,61}[a-zA-Z0-9])?)+(?![-_])/).getRegex(),v6e=Xn(mN).replace("(?:-->|$)","-->").getRegex(),p6e=Xn("^comment|^</[a-zA-Z][\\w:-]*\\s*>|^<[a-zA-Z][\\w-]*(?:attribute)*?\\s*/?>|^<\\?[\\s\\S]*?\\?>|^<![a-zA-Z]+\\s[\\s\\S]*?>|^<!\\[CDATA\\[[\\s\\S]*?\\]\\]>").replace("comment",v6e).replace("attribute",/\s+[a-zA-Z:_][\w.:-]*(?:\s*=\s*"[^"]*"|\s*=\s*'[^']*'|\s*=\s*[^\s"'=<>`]+)?/).getRegex(),Ly=/(?:\[(?:\\.|[^\[\]\\])*\]|\\.|`[^`]*`|[^\[\]\\`])*?/,g6e=Xn(/^!?\[(label)\]\(\s*(href)(?:\s+(title))?\s*\)/).replace("label",Ly).replace("href",/<(?:\\.|[^\n<>\\])+>|[^\s\x00-\x1f]*/).replace("title",/"(?:\\"?|[^"\\])*"|'(?:\\'?|[^'\\])*'|\((?:\\\)?|[^)\\])*\)/).getRegex(),bue=Xn(/^!?\[(label)\]\[(ref)\]/).replace("label",Ly).replace("ref",gN).getRegex(),Tue=Xn(/^!?\[(ref)\](?:\[\])?/).replace("ref",gN).getRegex(),m6e=Xn("reflink|nolink(?!\\()","g").replace("reflink",bue).replace("nolink",Tue).getRegex(),SN={_backpedal:Vv,anyPunctuation:d6e,autolink:h6e,blockSkip:o6e,br:yue,code:t6e,del:Vv,emStrongLDelim:s6e,emStrongRDelimAst:l6e,emStrongRDelimUnd:f6e,escape:e6e,link:g6e,nolink:Tue,punctuation:n6e,reflink:bue,reflinkSearch:m6e,tag:p6e,text:r6e,url:Vv},y6e={...SN,link:Xn(/^!?\[(label)\]\((.*?)\)/).replace("label",Ly).getRegex(),reflink:Xn(/^!?\[(label)\]\s*\[([^\]]*)\]/).replace("label",Ly).getRegex()},wP={...SN,emStrongRDelimAst:c6e,emStrongLDelim:u6e,url:Xn(/^((?:ftp|https?):\/\/|www\.)(?:[a-zA-Z0-9\-]+\.?)+[^\s<]*|^email/,"i").replace("email",/[A-Za-z0-9._+-]+(@)[a-zA-Z0-9-_]+(?:\.[a-zA-Z0-9-_]*[a-zA-Z0-9])+(?![-_])/).getRegex(),_backpedal:/(?:[^?!.,:;*_'"~()&]+|\([^)]*\)|&(?![a-zA-Z0-9]+;$)|[?!.,:;*_'"~)]+(?!$))+/,del:/^(~~?)(?=[^\s~])((?:\\.|[^\\])*?(?:\\.|[^\s~\\]))\1(?=[^~]|$)/,text:/^([`~]+|[^`~])(?:(?= {2,}\n)|(?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)|[\s\S]*?(?:(?=[\\<!\[`*~_]|\b_|https?:\/\/|ftp:\/\/|www\.|$)|[^ ](?= {2,}\n)|[^a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-](?=[a-zA-Z0-9.!#$%&'*+\/=?_`{\|}~-]+@)))/},_6e={...wP,br:Xn(yue).replace("{2,}","*").getRegex(),text:Xn(wP.text).replace("\\b_","\\b_| {2,}\\n").replace(/\{2,\}/g,"*").getRegex()},wm={normal:yN,gfm:JUe,pedantic:ZUe},_v={normal:SN,gfm:wP,breaks:_6e,pedantic:y6e},S6e={"&":"&","<":"<",">":">",'"':""","'":"'"},oee=e=>S6e[e];function _u(e,t){if(t){if(vo.escapeTest.test(e))return e.replace(vo.escapeReplace,oee)}else if(vo.escapeTestNoEncode.test(e))return e.replace(vo.escapeReplaceNoEncode,oee);return e}function see(e){try{e=encodeURI(e).replace(vo.percentDecode,"%")}catch{return null}return e}function uee(e,t){var a;const r=e.replace(vo.findPipe,(o,u,s)=>{let c=!1,d=u;for(;--d>=0&&s[d]==="\\";)c=!c;return c?"|":" |"}),n=r.split(vo.splitPipe);let i=0;if(n[0].trim()||n.shift(),n.length>0&&!((a=n.at(-1))!=null&&a.trim())&&n.pop(),t)if(n.length>t)n.splice(t);else for(;n.length<t;)n.push("");for(;i<n.length;i++)n[i]=n[i].trim().replace(vo.slashPipe,"|");return n}function Sv(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 E6e(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 lee(e,t,r,n,i){const a=t.href,o=t.title||null,u=e[1].replace(i.other.outputLinkReplace,"$1");if(e[0].charAt(0)!=="!"){n.state.inLink=!0;const s={type:"link",raw:r,href:a,title:o,text:u,tokens:n.inlineTokens(u)};return n.state.inLink=!1,s}return{type:"image",raw:r,href:a,title:o,text:u}}function w6e(e,t,r){const n=e.match(r.other.indentCodeCompensation);if(n===null)return t;const i=n[1];return t.split(`
|
|
174
|
-
`).map(a=>{const o=a.match(r.other.beginningSpace);if(o===null)return a;const[u]=o;return u.length>=i.length?a.slice(i.length):a}).join(`
|
|
175
|
-
`)}class My{constructor(t){li(this,"options");li(this,"rules");li(this,"lexer");this.options=t||Hf}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:Sv(n,`
|
|
176
|
-
`)}}}fences(t){const r=this.rules.block.fences.exec(t);if(r){const n=r[0],i=w6e(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=Sv(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:Sv(r[0],`
|
|
177
|
-
`)}}blockquote(t){const r=this.rules.block.blockquote.exec(t);if(r){let n=Sv(r[0],`
|
|
178
|
-
`).split(`
|
|
179
|
-
`),i="",a="";const o=[];for(;n.length>0;){let u=!1;const s=[];let c;for(c=0;c<n.length;c++)if(this.rules.other.blockquoteStart.test(n[c]))s.push(n[c]),u=!0;else if(!u)s.push(n[c]);else break;n=n.slice(c);const d=s.join(`
|
|
180
|
-
`),h=d.replace(this.rules.other.blockquoteSetextReplace,`
|
|
181
|
-
$1`).replace(this.rules.other.blockquoteSetextReplace2,"");i=i?`${i}
|
|
182
|
-
${d}`:d,a=a?`${a}
|
|
183
|
-
${h}`:h;const v=this.lexer.state.top;if(this.lexer.state.top=!0,this.lexer.blockTokens(h,o,!0),this.lexer.state.top=v,n.length===0)break;const g=o.at(-1);if((g==null?void 0:g.type)==="code")break;if((g==null?void 0:g.type)==="blockquote"){const m=g,y=m.raw+`
|
|
184
|
-
`+n.join(`
|
|
185
|
-
`),S=this.blockquote(y);o[o.length-1]=S,i=i.substring(0,i.length-m.raw.length)+S.raw,a=a.substring(0,a.length-m.text.length)+S.text;break}else if((g==null?void 0:g.type)==="list"){const m=g,y=m.raw+`
|
|
186
|
-
`+n.join(`
|
|
187
|
-
`),S=this.list(y);o[o.length-1]=S,i=i.substring(0,i.length-g.raw.length)+S.raw,a=a.substring(0,a.length-m.raw.length)+S.raw,n=y.substring(o.at(-1).raw.length).split(`
|
|
188
|
-
`);continue}}return{type:"blockquote",raw:i,tokens:o,text:a}}}list(t){let r=this.rules.block.list.exec(t);if(r){let n=r[1].trim();const i=n.length>1,a={type:"list",raw:"",ordered:i,start:i?+n.slice(0,-1):"",loose:!1,items:[]};n=i?`\\d{1,9}\\${n.slice(-1)}`:`\\${n}`,this.options.pedantic&&(n=i?n:"[*+-]");const o=this.rules.other.listItemRegex(n);let u=!1;for(;t;){let c=!1,d="",h="";if(!(r=o.exec(t))||this.rules.block.hr.test(t))break;d=r[0],t=t.substring(d.length);let v=r[2].split(`
|
|
189
|
-
`,1)[0].replace(this.rules.other.listReplaceTabs,b=>" ".repeat(3*b.length)),g=t.split(`
|
|
190
|
-
`,1)[0],m=!v.trim(),y=0;if(this.options.pedantic?(y=2,h=v.trimStart()):m?y=r[1].length+1:(y=r[2].search(this.rules.other.nonSpaceChar),y=y>4?1:y,h=v.slice(y),y+=r[1].length),m&&this.rules.other.blankLine.test(g)&&(d+=g+`
|
|
191
|
-
`,t=t.substring(g.length+1),c=!0),!c){const b=this.rules.other.nextBulletRegex(y),A=this.rules.other.hrRegex(y),R=this.rules.other.fencesBeginRegex(y),x=this.rules.other.headingBeginRegex(y),O=this.rules.other.htmlBeginRegex(y);for(;t;){const _=t.split(`
|
|
192
|
-
`,1)[0];let P;if(g=_,this.options.pedantic?(g=g.replace(this.rules.other.listReplaceNesting," "),P=g):P=g.replace(this.rules.other.tabCharGlobal," "),R.test(g)||x.test(g)||O.test(g)||b.test(g)||A.test(g))break;if(P.search(this.rules.other.nonSpaceChar)>=y||!g.trim())h+=`
|
|
193
|
-
`+P.slice(y);else{if(m||v.replace(this.rules.other.tabCharGlobal," ").search(this.rules.other.nonSpaceChar)>=4||R.test(v)||x.test(v)||A.test(v))break;h+=`
|
|
194
|
-
`+g}!m&&!g.trim()&&(m=!0),d+=_+`
|
|
195
|
-
`,t=t.substring(_.length+1),v=P.slice(y)}}a.loose||(u?a.loose=!0:this.rules.other.doubleBlankLine.test(d)&&(u=!0));let S=null,w;this.options.gfm&&(S=this.rules.other.listIsTask.exec(h),S&&(w=S[0]!=="[ ] ",h=h.replace(this.rules.other.listReplaceTask,""))),a.items.push({type:"list_item",raw:d,task:!!S,checked:w,loose:!1,text:h,tokens:[]}),a.raw+=d}const s=a.items.at(-1);if(s)s.raw=s.raw.trimEnd(),s.text=s.text.trimEnd();else return;a.raw=a.raw.trimEnd();for(let c=0;c<a.items.length;c++)if(this.lexer.state.top=!1,a.items[c].tokens=this.lexer.blockTokens(a.items[c].text,[]),!a.loose){const d=a.items[c].tokens.filter(v=>v.type==="space"),h=d.length>0&&d.some(v=>this.rules.other.anyLine.test(v.raw));a.loose=h}if(a.loose)for(let c=0;c<a.items.length;c++)a.items[c].loose=!0;return a}}html(t){const r=this.rules.block.html.exec(t);if(r)return{type:"html",block:!0,raw:r[0],pre:r[1]==="pre"||r[1]==="script"||r[1]==="style",text:r[0]}}def(t){const r=this.rules.block.def.exec(t);if(r){const n=r[1].toLowerCase().replace(this.rules.other.multipleSpaceGlobal," "),i=r[2]?r[2].replace(this.rules.other.hrefBrackets,"$1").replace(this.rules.inline.anyPunctuation,"$1"):"",a=r[3]?r[3].substring(1,r[3].length-1).replace(this.rules.inline.anyPunctuation,"$1"):r[3];return{type:"def",tag:n,raw:r[0],href:i,title:a}}}table(t){var u;const r=this.rules.block.table.exec(t);if(!r||!this.rules.other.tableDelimiter.test(r[2]))return;const n=uee(r[1]),i=r[2].replace(this.rules.other.tableAlignChars,"").split("|"),a=(u=r[3])!=null&&u.trim()?r[3].replace(this.rules.other.tableRowBlankLine,"").split(`
|
|
196
|
-
`):[],o={type:"table",raw:r[0],header:[],align:[],rows:[]};if(n.length===i.length){for(const s of i)this.rules.other.tableAlignRight.test(s)?o.align.push("right"):this.rules.other.tableAlignCenter.test(s)?o.align.push("center"):this.rules.other.tableAlignLeft.test(s)?o.align.push("left"):o.align.push(null);for(let s=0;s<n.length;s++)o.header.push({text:n[s],tokens:this.lexer.inline(n[s]),header:!0,align:o.align[s]});for(const s of a)o.rows.push(uee(s,o.header.length).map((c,d)=>({text:c,tokens:this.lexer.inline(c),header:!1,align:o.align[d]})));return o}}lheading(t){const r=this.rules.block.lheading.exec(t);if(r)return{type:"heading",raw:r[0],depth:r[2].charAt(0)==="="?1:2,text:r[1],tokens:this.lexer.inline(r[1])}}paragraph(t){const r=this.rules.block.paragraph.exec(t);if(r){const n=r[1].charAt(r[1].length-1)===`
|
|
197
|
-
`?r[1].slice(0,-1):r[1];return{type:"paragraph",raw:r[0],text:n,tokens:this.lexer.inline(n)}}}text(t){const r=this.rules.block.text.exec(t);if(r)return{type:"text",raw:r[0],text:r[0],tokens:this.lexer.inline(r[0])}}escape(t){const r=this.rules.inline.escape.exec(t);if(r)return{type:"escape",raw:r[0],text:r[1]}}tag(t){const r=this.rules.inline.tag.exec(t);if(r)return!this.lexer.state.inLink&&this.rules.other.startATag.test(r[0])?this.lexer.state.inLink=!0:this.lexer.state.inLink&&this.rules.other.endATag.test(r[0])&&(this.lexer.state.inLink=!1),!this.lexer.state.inRawBlock&&this.rules.other.startPreScriptTag.test(r[0])?this.lexer.state.inRawBlock=!0:this.lexer.state.inRawBlock&&this.rules.other.endPreScriptTag.test(r[0])&&(this.lexer.state.inRawBlock=!1),{type:"html",raw:r[0],inLink:this.lexer.state.inLink,inRawBlock:this.lexer.state.inRawBlock,block:!1,text:r[0]}}link(t){const r=this.rules.inline.link.exec(t);if(r){const n=r[2].trim();if(!this.options.pedantic&&this.rules.other.startAngleBracket.test(n)){if(!this.rules.other.endAngleBracket.test(n))return;const o=Sv(n.slice(0,-1),"\\");if((n.length-o.length)%2===0)return}else{const o=E6e(r[2],"()");if(o>-1){const s=(r[0].indexOf("!")===0?5:4)+r[1].length+o;r[2]=r[2].substring(0,o),r[0]=r[0].substring(0,s).trim(),r[3]=""}}let i=r[2],a="";if(this.options.pedantic){const o=this.rules.other.pedanticHrefTitle.exec(i);o&&(i=o[1],a=o[3])}else a=r[3]?r[3].slice(1,-1):"";return i=i.trim(),this.rules.other.startAngleBracket.test(i)&&(this.options.pedantic&&!this.rules.other.endAngleBracket.test(n)?i=i.slice(1):i=i.slice(1,-1)),lee(r,{href:i&&i.replace(this.rules.inline.anyPunctuation,"$1"),title:a&&a.replace(this.rules.inline.anyPunctuation,"$1")},r[0],this.lexer,this.rules)}}reflink(t,r){let n;if((n=this.rules.inline.reflink.exec(t))||(n=this.rules.inline.nolink.exec(t))){const i=(n[2]||n[1]).replace(this.rules.other.multipleSpaceGlobal," "),a=r[i.toLowerCase()];if(!a){const o=n[0].charAt(0);return{type:"text",raw:o,text:o}}return lee(n,a,n[0],this.lexer,this.rules)}}emStrong(t,r,n=""){let i=this.rules.inline.emStrongLDelim.exec(t);if(!i||i[3]&&n.match(this.rules.other.unicodeAlphaNumeric))return;if(!(i[1]||i[2]||"")||!n||this.rules.inline.punctuation.exec(n)){const o=[...i[0]].length-1;let u,s,c=o,d=0;const h=i[0][0]==="*"?this.rules.inline.emStrongRDelimAst:this.rules.inline.emStrongRDelimUnd;for(h.lastIndex=0,r=r.slice(-1*t.length+o);(i=h.exec(r))!=null;){if(u=i[1]||i[2]||i[3]||i[4]||i[5]||i[6],!u)continue;if(s=[...u].length,i[3]||i[4]){c+=s;continue}else if((i[5]||i[6])&&o%3&&!((o+s)%3)){d+=s;continue}if(c-=s,c>0)continue;s=Math.min(s,s+c+d);const v=[...i[0]][0].length,g=t.slice(0,o+i.index+v+s);if(Math.min(o,s)%2){const y=g.slice(1,-1);return{type:"em",raw:g,text:y,tokens:this.lexer.inlineTokens(y)}}const m=g.slice(2,-2);return{type:"strong",raw:g,text:m,tokens:this.lexer.inlineTokens(m)}}}}codespan(t){const r=this.rules.inline.code.exec(t);if(r){let n=r[2].replace(this.rules.other.newLineCharGlobal," ");const i=this.rules.other.nonSpaceChar.test(n),a=this.rules.other.startingSpaceChar.test(n)&&this.rules.other.endingSpaceChar.test(n);return i&&a&&(n=n.substring(1,n.length-1)),{type:"codespan",raw:r[0],text:n}}}br(t){const r=this.rules.inline.br.exec(t);if(r)return{type:"br",raw:r[0]}}del(t){const r=this.rules.inline.del.exec(t);if(r)return{type:"del",raw:r[0],text:r[2],tokens:this.lexer.inlineTokens(r[2])}}autolink(t){const r=this.rules.inline.autolink.exec(t);if(r){let n,i;return r[2]==="@"?(n=r[1],i="mailto:"+n):(n=r[1],i=n),{type:"link",raw:r[0],text:n,href:i,tokens:[{type:"text",raw:n,text:n}]}}}url(t){var n;let r;if(r=this.rules.inline.url.exec(t)){let i,a;if(r[2]==="@")i=r[0],a="mailto:"+i;else{let o;do o=r[0],r[0]=((n=this.rules.inline._backpedal.exec(r[0]))==null?void 0:n[0])??"";while(o!==r[0]);i=r[0],r[1]==="www."?a="http://"+r[0]:a=r[0]}return{type:"link",raw:r[0],text:i,href:a,tokens:[{type:"text",raw:i,text:i}]}}}inlineText(t){const r=this.rules.inline.text.exec(t);if(r){const n=this.lexer.state.inRawBlock;return{type:"text",raw:r[0],text:r[0],escaped:n}}}}class Ps{constructor(t){li(this,"tokens");li(this,"options");li(this,"state");li(this,"tokenizer");li(this,"inlineQueue");this.tokens=[],this.tokens.links=Object.create(null),this.options=t||Hf,this.options.tokenizer=this.options.tokenizer||new My,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:vo,block:wm.normal,inline:_v.normal};this.options.pedantic?(r.block=wm.pedantic,r.inline=_v.pedantic):this.options.gfm&&(r.block=wm.gfm,this.options.breaks?r.inline=_v.breaks:r.inline=_v.gfm),this.tokenizer.rules=r}static get rules(){return{block:wm,inline:_v}}static lex(t,r){return new Ps(r).lex(t)}static lexInline(t,r){return new Ps(r).inlineTokens(t)}lex(t){t=t.replace(vo.carriageReturn,`
|
|
198
|
-
`),this.blockTokens(t,this.tokens);for(let r=0;r<this.inlineQueue.length;r++){const n=this.inlineQueue[r];this.inlineTokens(n.src,n.tokens)}return this.inlineQueue=[],this.tokens}blockTokens(t,r=[],n=!1){var i,a,o;for(this.options.pedantic&&(t=t.replace(vo.tabCharGlobal," ").replace(vo.spaceLine,""));t;){let u;if((a=(i=this.options.extensions)==null?void 0:i.block)!=null&&a.some(c=>(u=c.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 c=r.at(-1);u.raw.length===1&&c!==void 0?c.raw+=`
|
|
199
|
-
`:r.push(u);continue}if(u=this.tokenizer.code(t)){t=t.substring(u.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
|
|
200
|
-
`+u.raw,c.text+=`
|
|
201
|
-
`+u.text,this.inlineQueue.at(-1).src=c.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 c=r.at(-1);(c==null?void 0:c.type)==="paragraph"||(c==null?void 0:c.type)==="text"?(c.raw+=`
|
|
202
|
-
`+u.raw,c.text+=`
|
|
203
|
-
`+u.raw,this.inlineQueue.at(-1).src=c.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 s=t;if((o=this.options.extensions)!=null&&o.startBlock){let c=1/0;const d=t.slice(1);let h;this.options.extensions.startBlock.forEach(v=>{h=v.call({lexer:this},d),typeof h=="number"&&h>=0&&(c=Math.min(c,h))}),c<1/0&&c>=0&&(s=t.substring(0,c+1))}if(this.state.top&&(u=this.tokenizer.paragraph(s))){const c=r.at(-1);n&&(c==null?void 0:c.type)==="paragraph"?(c.raw+=`
|
|
204
|
-
`+u.raw,c.text+=`
|
|
205
|
-
`+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(u),n=s.length!==t.length,t=t.substring(u.raw.length);continue}if(u=this.tokenizer.text(t)){t=t.substring(u.raw.length);const c=r.at(-1);(c==null?void 0:c.type)==="text"?(c.raw+=`
|
|
206
|
-
`+u.raw,c.text+=`
|
|
207
|
-
`+u.text,this.inlineQueue.pop(),this.inlineQueue.at(-1).src=c.text):r.push(u);continue}if(t){const c="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(c);break}else throw new Error(c)}}return this.state.top=!0,r}inline(t,r=[]){return this.inlineQueue.push({src:t,tokens:r}),r}inlineTokens(t,r=[]){var u,s,c;let n=t,i=null;if(this.tokens.links){const d=Object.keys(this.tokens.links);if(d.length>0)for(;(i=this.tokenizer.rules.inline.reflinkSearch.exec(n))!=null;)d.includes(i[0].slice(i[0].lastIndexOf("[")+1,-1))&&(n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.reflinkSearch.lastIndex))}for(;(i=this.tokenizer.rules.inline.blockSkip.exec(n))!=null;)n=n.slice(0,i.index)+"["+"a".repeat(i[0].length-2)+"]"+n.slice(this.tokenizer.rules.inline.blockSkip.lastIndex);for(;(i=this.tokenizer.rules.inline.anyPunctuation.exec(n))!=null;)n=n.slice(0,i.index)+"++"+n.slice(this.tokenizer.rules.inline.anyPunctuation.lastIndex);let a=!1,o="";for(;t;){a||(o=""),a=!1;let d;if((s=(u=this.options.extensions)==null?void 0:u.inline)!=null&&s.some(v=>(d=v.call({lexer:this},t,r))?(t=t.substring(d.raw.length),r.push(d),!0):!1))continue;if(d=this.tokenizer.escape(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.tag(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.link(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.reflink(t,this.tokens.links)){t=t.substring(d.raw.length);const v=r.at(-1);d.type==="text"&&(v==null?void 0:v.type)==="text"?(v.raw+=d.raw,v.text+=d.text):r.push(d);continue}if(d=this.tokenizer.emStrong(t,n,o)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.codespan(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.br(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.del(t)){t=t.substring(d.raw.length),r.push(d);continue}if(d=this.tokenizer.autolink(t)){t=t.substring(d.raw.length),r.push(d);continue}if(!this.state.inLink&&(d=this.tokenizer.url(t))){t=t.substring(d.raw.length),r.push(d);continue}let h=t;if((c=this.options.extensions)!=null&&c.startInline){let v=1/0;const g=t.slice(1);let m;this.options.extensions.startInline.forEach(y=>{m=y.call({lexer:this},g),typeof m=="number"&&m>=0&&(v=Math.min(v,m))}),v<1/0&&v>=0&&(h=t.substring(0,v+1))}if(d=this.tokenizer.inlineText(h)){t=t.substring(d.raw.length),d.raw.slice(-1)!=="_"&&(o=d.raw.slice(-1)),a=!0;const v=r.at(-1);(v==null?void 0:v.type)==="text"?(v.raw+=d.raw,v.text+=d.text):r.push(d);continue}if(t){const v="Infinite loop on byte: "+t.charCodeAt(0);if(this.options.silent){console.error(v);break}else throw new Error(v)}}return r}}class $y{constructor(t){li(this,"options");li(this,"parser");this.options=t||Hf}space(t){return""}code({text:t,lang:r,escaped:n}){var o;const i=(o=(r||"").match(vo.notSpaceStart))==null?void 0:o[0],a=t.replace(vo.endingNewline,"")+`
|
|
208
|
-
`;return i?'<pre><code class="language-'+_u(i)+'">'+(n?a:_u(a,!0))+`</code></pre>
|
|
209
|
-
`:"<pre><code>"+(n?a:_u(a,!0))+`</code></pre>
|
|
210
|
-
`}blockquote({tokens:t}){return`<blockquote>
|
|
211
|
-
${this.parser.parse(t)}</blockquote>
|
|
212
|
-
`}html({text:t}){return t}heading({tokens:t,depth:r}){return`<h${r}>${this.parser.parseInline(t)}</h${r}>
|
|
213
|
-
`}hr(t){return`<hr>
|
|
214
|
-
`}list(t){const r=t.ordered,n=t.start;let i="";for(let u=0;u<t.items.length;u++){const s=t.items[u];i+=this.listitem(s)}const a=r?"ol":"ul",o=r&&n!==1?' start="'+n+'"':"";return"<"+a+o+`>
|
|
215
|
-
`+i+"</"+a+`>
|
|
216
|
-
`}listitem(t){var n;let r="";if(t.task){const i=this.checkbox({checked:!!t.checked});t.loose?((n=t.tokens[0])==null?void 0:n.type)==="paragraph"?(t.tokens[0].text=i+" "+t.tokens[0].text,t.tokens[0].tokens&&t.tokens[0].tokens.length>0&&t.tokens[0].tokens[0].type==="text"&&(t.tokens[0].tokens[0].text=i+" "+_u(t.tokens[0].tokens[0].text),t.tokens[0].tokens[0].escaped=!0)):t.tokens.unshift({type:"text",raw:i+" ",text:i+" ",escaped:!0}):r+=i+" "}return r+=this.parser.parse(t.tokens,!!t.loose),`<li>${r}</li>
|
|
217
|
-
`}checkbox({checked:t}){return"<input "+(t?'checked="" ':"")+'disabled="" type="checkbox">'}paragraph({tokens:t}){return`<p>${this.parser.parseInline(t)}</p>
|
|
218
|
-
`}table(t){let r="",n="";for(let a=0;a<t.header.length;a++)n+=this.tablecell(t.header[a]);r+=this.tablerow({text:n});let i="";for(let a=0;a<t.rows.length;a++){const o=t.rows[a];n="";for(let u=0;u<o.length;u++)n+=this.tablecell(o[u]);i+=this.tablerow({text:n})}return i&&(i=`<tbody>${i}</tbody>`),`<table>
|
|
219
|
-
<thead>
|
|
220
|
-
`+r+`</thead>
|
|
221
|
-
`+i+`</table>
|
|
222
|
-
`}tablerow({text:t}){return`<tr>
|
|
223
|
-
${t}</tr>
|
|
224
|
-
`}tablecell(t){const r=this.parser.parseInline(t.tokens),n=t.header?"th":"td";return(t.align?`<${n} align="${t.align}">`:`<${n}>`)+r+`</${n}>
|
|
225
|
-
`}strong({tokens:t}){return`<strong>${this.parser.parseInline(t)}</strong>`}em({tokens:t}){return`<em>${this.parser.parseInline(t)}</em>`}codespan({text:t}){return`<code>${_u(t,!0)}</code>`}br(t){return"<br>"}del({tokens:t}){return`<del>${this.parser.parseInline(t)}</del>`}link({href:t,title:r,tokens:n}){const i=this.parser.parseInline(n),a=see(t);if(a===null)return i;t=a;let o='<a href="'+t+'"';return r&&(o+=' title="'+_u(r)+'"'),o+=">"+i+"</a>",o}image({href:t,title:r,text:n}){const i=see(t);if(i===null)return _u(n);t=i;let a=`<img src="${t}" alt="${n}"`;return r&&(a+=` title="${_u(r)}"`),a+=">",a}text(t){return"tokens"in t&&t.tokens?this.parser.parseInline(t.tokens):"escaped"in t&&t.escaped?t.text:_u(t.text)}}class EN{strong({text:t}){return t}em({text:t}){return t}codespan({text:t}){return t}del({text:t}){return t}html({text:t}){return t}text({text:t}){return t}link({text:t}){return""+t}image({text:t}){return""+t}br(){return""}}class Ds{constructor(t){li(this,"options");li(this,"renderer");li(this,"textRenderer");this.options=t||Hf,this.options.renderer=this.options.renderer||new $y,this.renderer=this.options.renderer,this.renderer.options=this.options,this.renderer.parser=this,this.textRenderer=new EN}static parse(t,r){return new Ds(r).parse(t)}static parseInline(t,r){return new Ds(r).parseInline(t)}parse(t,r=!0){var i,a;let n="";for(let o=0;o<t.length;o++){const u=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[u.type]){const c=u,d=this.options.extensions.renderers[c.type].call({parser:this},c);if(d!==!1||!["space","hr","heading","code","table","blockquote","list","html","paragraph","text"].includes(c.type)){n+=d||"";continue}}const s=u;switch(s.type){case"space":{n+=this.renderer.space(s);continue}case"hr":{n+=this.renderer.hr(s);continue}case"heading":{n+=this.renderer.heading(s);continue}case"code":{n+=this.renderer.code(s);continue}case"table":{n+=this.renderer.table(s);continue}case"blockquote":{n+=this.renderer.blockquote(s);continue}case"list":{n+=this.renderer.list(s);continue}case"html":{n+=this.renderer.html(s);continue}case"paragraph":{n+=this.renderer.paragraph(s);continue}case"text":{let c=s,d=this.renderer.text(c);for(;o+1<t.length&&t[o+1].type==="text";)c=t[++o],d+=`
|
|
226
|
-
`+this.renderer.text(c);r?n+=this.renderer.paragraph({type:"paragraph",raw:d,text:d,tokens:[{type:"text",raw:d,text:d,escaped:!0}]}):n+=d;continue}default:{const c='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}parseInline(t,r=this.renderer){var i,a;let n="";for(let o=0;o<t.length;o++){const u=t[o];if((a=(i=this.options.extensions)==null?void 0:i.renderers)!=null&&a[u.type]){const c=this.options.extensions.renderers[u.type].call({parser:this},u);if(c!==!1||!["escape","html","link","image","strong","em","codespan","br","del","text"].includes(u.type)){n+=c||"";continue}}const s=u;switch(s.type){case"escape":{n+=r.text(s);break}case"html":{n+=r.html(s);break}case"link":{n+=r.link(s);break}case"image":{n+=r.image(s);break}case"strong":{n+=r.strong(s);break}case"em":{n+=r.em(s);break}case"codespan":{n+=r.codespan(s);break}case"br":{n+=r.br(s);break}case"del":{n+=r.del(s);break}case"text":{n+=r.text(s);break}default:{const c='Token with "'+s.type+'" type was not found.';if(this.options.silent)return console.error(c),"";throw new Error(c)}}}return n}}class Bv{constructor(t){li(this,"options");li(this,"block");this.options=t||Hf}preprocess(t){return t}postprocess(t){return t}processAllTokens(t){return t}provideLexer(){return this.block?Ps.lex:Ps.lexInline}provideParser(){return this.block?Ds.parse:Ds.parseInline}}li(Bv,"passThroughHooks",new Set(["preprocess","postprocess","processAllTokens"]));class Rue{constructor(...t){li(this,"defaults",vN());li(this,"options",this.setOptions);li(this,"parse",this.parseMarkdown(!0));li(this,"parseInline",this.parseMarkdown(!1));li(this,"Parser",Ds);li(this,"Renderer",$y);li(this,"TextRenderer",EN);li(this,"Lexer",Ps);li(this,"Tokenizer",My);li(this,"Hooks",Bv);this.use(...t)}walkTokens(t,r){var i,a;let n=[];for(const o of t)switch(n=n.concat(r.call(this,o)),o.type){case"table":{const u=o;for(const s of u.header)n=n.concat(this.walkTokens(s.tokens,r));for(const s of u.rows)for(const c of s)n=n.concat(this.walkTokens(c.tokens,r));break}case"list":{const u=o;n=n.concat(this.walkTokens(u.items,r));break}default:{const u=o;(a=(i=this.defaults.extensions)==null?void 0:i.childTokens)!=null&&a[u.type]?this.defaults.extensions.childTokens[u.type].forEach(s=>{const c=u[s].flat(1/0);n=n.concat(this.walkTokens(c,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(a=>{if(!a.name)throw new Error("extension name required");if("renderer"in a){const o=r.renderers[a.name];o?r.renderers[a.name]=function(...u){let s=a.renderer.apply(this,u);return s===!1&&(s=o.apply(this,u)),s}:r.renderers[a.name]=a.renderer}if("tokenizer"in a){if(!a.level||a.level!=="block"&&a.level!=="inline")throw new Error("extension level must be 'block' or 'inline'");const o=r[a.level];o?o.unshift(a.tokenizer):r[a.level]=[a.tokenizer],a.start&&(a.level==="block"?r.startBlock?r.startBlock.push(a.start):r.startBlock=[a.start]:a.level==="inline"&&(r.startInline?r.startInline.push(a.start):r.startInline=[a.start]))}"childTokens"in a&&a.childTokens&&(r.childTokens[a.name]=a.childTokens)}),i.extensions=r),n.renderer){const a=this.defaults.renderer||new $y(this.defaults);for(const o in n.renderer){if(!(o in a))throw new Error(`renderer '${o}' does not exist`);if(["options","parser"].includes(o))continue;const u=o,s=n.renderer[u],c=a[u];a[u]=(...d)=>{let h=s.apply(a,d);return h===!1&&(h=c.apply(a,d)),h||""}}i.renderer=a}if(n.tokenizer){const a=this.defaults.tokenizer||new My(this.defaults);for(const o in n.tokenizer){if(!(o in a))throw new Error(`tokenizer '${o}' does not exist`);if(["options","rules","lexer"].includes(o))continue;const u=o,s=n.tokenizer[u],c=a[u];a[u]=(...d)=>{let h=s.apply(a,d);return h===!1&&(h=c.apply(a,d)),h}}i.tokenizer=a}if(n.hooks){const a=this.defaults.hooks||new Bv;for(const o in n.hooks){if(!(o in a))throw new Error(`hook '${o}' does not exist`);if(["options","block"].includes(o))continue;const u=o,s=n.hooks[u],c=a[u];Bv.passThroughHooks.has(o)?a[u]=d=>{if(this.defaults.async)return Promise.resolve(s.call(a,d)).then(v=>c.call(a,v));const h=s.call(a,d);return c.call(a,h)}:a[u]=(...d)=>{let h=s.apply(a,d);return h===!1&&(h=c.apply(a,d)),h}}i.hooks=a}if(n.walkTokens){const a=this.defaults.walkTokens,o=n.walkTokens;i.walkTokens=function(u){let s=[];return s.push(o.call(this,u)),a&&(s=s.concat(a.call(this,u))),s}}this.defaults={...this.defaults,...i}}),this}setOptions(t){return this.defaults={...this.defaults,...t},this}lexer(t,r){return Ps.lex(t,r??this.defaults)}parser(t,r){return Ds.parse(t,r??this.defaults)}parseMarkdown(t){return(n,i)=>{const a={...i},o={...this.defaults,...a},u=this.onError(!!o.silent,!!o.async);if(this.defaults.async===!0&&a.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"));o.hooks&&(o.hooks.options=o,o.hooks.block=t);const s=o.hooks?o.hooks.provideLexer():t?Ps.lex:Ps.lexInline,c=o.hooks?o.hooks.provideParser():t?Ds.parse:Ds.parseInline;if(o.async)return Promise.resolve(o.hooks?o.hooks.preprocess(n):n).then(d=>s(d,o)).then(d=>o.hooks?o.hooks.processAllTokens(d):d).then(d=>o.walkTokens?Promise.all(this.walkTokens(d,o.walkTokens)).then(()=>d):d).then(d=>c(d,o)).then(d=>o.hooks?o.hooks.postprocess(d):d).catch(u);try{o.hooks&&(n=o.hooks.preprocess(n));let d=s(n,o);o.hooks&&(d=o.hooks.processAllTokens(d)),o.walkTokens&&this.walkTokens(d,o.walkTokens);let h=c(d,o);return o.hooks&&(h=o.hooks.postprocess(h)),h}catch(d){return u(d)}}}onError(t,r){return n=>{if(n.message+=`
|
|
227
|
-
Please report this to https://github.com/markedjs/marked.`,t){const i="<p>An error occurred:</p><pre>"+_u(n.message+"",!0)+"</pre>";return r?Promise.resolve(i):i}if(r)return Promise.reject(n);throw n}}}const df=new Rue;function ii(e,t){return df.parse(e,t)}ii.options=ii.setOptions=function(e){return df.setOptions(e),ii.defaults=df.defaults,vue(ii.defaults),ii};ii.getDefaults=vN;ii.defaults=Hf;ii.use=function(...e){return df.use(...e),ii.defaults=df.defaults,vue(ii.defaults),ii};ii.walkTokens=function(e,t){return df.walkTokens(e,t)};ii.parseInline=df.parseInline;ii.Parser=Ds;ii.parser=Ds.parse;ii.Renderer=$y;ii.TextRenderer=EN;ii.Lexer=Ps;ii.lexer=Ps.lex;ii.Tokenizer=My;ii.Hooks=Bv;ii.parse=ii;ii.options;ii.setOptions;ii.use;ii.walkTokens;ii.parseInline;Ds.parse;Ps.lex;const b6e="_container_1hbtl_1",T6e={container:b6e},cee="markdown-link",bP=new Rue;let Ev;const fee=/^(\${1,2})(?!\$)((?:\\.|[^\\\n])*?(?:\\.|[^\\\n\$]))\1(?=[\s?!\.,:?!。,:]|$)/,R6e=/^(\${1,2})\n((?:\\[^]|[^\\])+?)\n\1(?:\n|$)/;bP.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(fee))return t;r=r.substring(t+1).replace(/^\$+/,"")}},tokenizer:e=>{const t=e.match(fee);if(t)return{type:"inlineKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Ev?Ev.renderToString(e.text,{displayMode:e.displayMode}):e.text},{name:"blockKatex",level:"block",tokenizer:e=>{const t=e.match(R6e);if(t)return{type:"blockKatex",raw:t[0],text:t[2].trim(),displayMode:t[1].length===2}},renderer:e=>Ev?Ev.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 wn(async()=>{const{katex:r}=await import("./Cmu1J2M7.chunk.js");return{katex:r}},__vite__mapDeps([142,143]));Ev=t}}});const xue={isLink(e){return e.classList.contains(cee)},async parse(e,t){if(!e)return"";const r=await bP.parse(e,{renderer:xue.getRenderer(t)});return BI.sanitize(r)},async toPlainText(e){if(!e)return"";const t=await this.parse(e,{focusableLinks:!1});return BI.sanitize(t,{ALLOWED_TAGS:[],KEEP_CONTENT:!0}).replace(/\s+/g," ").trim()},getRenderer(e){const t=new bP.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 ${cee}" ${i}>${n}</a>`},t},getContainerClass(){return T6e.container}},x6e="shared.shared-utils",Fy=gr.encloseNamespace(x6e),C6e=70,lI=160,A6e=/^(.*)\s/,dee="pageTitle",hee="pageDescription",cI="YYYY-MM-DD",wd={AU:"au",ENGLAND:"gb",US:"us"},O6e={[wd.AU]:Vc.AU,[wd.ENGLAND]:Vc.UK,[wd.US]:Vc.US,[Vc.AU]:wd.AU,[Vc.UK]:wd.ENGLAND,[Vc.US]:wd.US};function vee(e){return e?e.substring(0,e.length-3)+"...":""}function I6e(e,t){return e?e.substring(0,t):""}function P6e(e,t,r){if(!e)return"";const n=t-r;if(e.length<=n)return e;const i=e.slice(0,n),a=i.match(A6e);return a?a[1]:i}function Ul({title:e,phraseContext:t,product:r}){var a;if(!e)return"";if(!t)return Fy(dee,{title:e,product:r});const n=((a=t.phraseHandler(t.titlePhrase,{value:""}))==null?void 0:a.length)??0,i=C6e-n;return e.length>=i?Fy(dee,{title:e,product:r}):t.phraseHandler(t.titlePhrase,{title:e})}function ql({title:e,description:t,phraseContext:r}){var s,c;const n=vee(I6e(t||e,lI));if(!r)return Fy(hee,{description:n});const i=((s=r.phraseHandler(r.descriptionPhrase,{title:"",description:""}))==null?void 0:s.length)??0,a=lI-i;if((e==null?void 0:e.length)>=a)return Fy(hee,{description:n});const o=((c=r.phraseHandler(r.descriptionPhrase,{title:e,description:""}))==null?void 0:c.length)??0,u=vee(P6e(t,lI,o));return r.phraseHandler(r.descriptionPhrase,{title:e,description:u})}function D6e(e,t){return(e==null?void 0:e.reduce((r,n)=>{var a,o;const i=(a=O6e[n.contentRegion])==null?void 0:a.toUpperCase();return((o=n.id)==null?void 0:o.toString())!==(t==null?void 0:t.toString())||!i?r:[...r,{"@type":"Place",name:i}]},[]))??[]}function k6e(e,t){const r=e!=null&&e.datePublished?Cn.format(e==null?void 0:e.datePublished,cI):Cn.format(e==null?void 0:e.dateCreated,cI),n=t!=null&&t.dateModified?Cn.format(t==null?void 0:t.dateModified,cI):"";return{"@context":"https://schema.org","@type":"WebPage",name:e==null?void 0:e.name,description:e==null?void 0:e.description,url:VUe.getCanonicalLink(),publisher:{"@type":"Organization",name:"ClickView"},datePublished:r,dateModified:n}}function N6e(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:Cn.getDurationISOString(e==null?void 0:e.duration,"milliseconds"),hasPart:[{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${uI.GLOBAL_PLAYER_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${uI.RESOURCE_ITEM_SELECTOR}`},{"@type":"WebPageElement",isAccessibleForFree:!1,cssSelector:`.${uI.WELCOME_POPUP_SELECTOR}`}],requiresSubscription:!0,isAccessibleForFree:!1,regionsAllowed:D6e(r,e==null?void 0:e.id),potentialAction:{"@type":"WatchAction",actionAccessibilityRequirement:{"@type":"ActionAccessSpecification",requiresSubscription:!0}}}}async function L6e(e,t){const r=[];for(const i of e){const a=await xue.toPlainText(i.answer);r.push({"@type":"Question",name:i.question,acceptedAnswer:{"@type":"Answer",text:a}})}const n={"@context":"https://schema.org","@type":"FAQPage",mainEntity:r};return t&&(n.name=t),n}let yu="ClickView";const M6e={setProduct(e){yu=e},getDefaultMetadata(e){const{title:t,description:r,canonicalLink:n,phraseContext:i,allowIndexing:a,hrefLang:o,product:u,preload:s}=e;return{title:Ul({title:t,phraseContext:i,product:u||yu}),description:ql({title:t,description:r,phraseContext:i}),canonicalLink:n,allowIndexing:a,hrefLang:o,preload:s,_helperUsed:!0}},getVideoMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,regionAlternatives:o,product:u}=e;return{title:Ul({title:t==null?void 0:t.name,phraseContext:n,product:u||yu}),description:ql({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),jsonLd:N6e(t,r,o),canonicalLink:r,allowIndexing:i,hrefLang:a,_helperUsed:!0}},getClipMetadata(e){var o;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:Ul({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:ql({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((o=t==null?void 0:t._parentVideo)==null?void 0:o.description),phraseContext:n}),canonicalLink:r,allowIndexing:i}},getInteractiveMetadata(e){var o;const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:Ul({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:ql({title:t==null?void 0:t.name,description:(t==null?void 0:t.description)||((o=t==null?void 0:t._parentVideo)==null?void 0:o.description),phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getPlaylistMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:Ul({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:ql({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getSeriesMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,product:a}=e;return{title:Ul({title:t==null?void 0:t.name,phraseContext:n,product:a||yu}),description:ql({title:t==null?void 0:t.name,description:t==null?void 0:t.description,phraseContext:n}),canonicalLink:r,allowIndexing:i,_helperUsed:!0}},getClassificationMetadata(e){const{content:{classification:t,dashboard:r},canonicalLink:n,phraseContext:i,allowIndexing:a,hrefLang:o,product:u}=e;function s(){var d,h,v,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.title?`${(g=(v=t.externalMetadata)==null?void 0:v.seo)==null?void 0:g.title} | ${u||yu}`:Ul({title:t==null?void 0:t.name,phraseContext:i,product:u||yu})}function c(){var d,h,v,g;return(h=(d=t==null?void 0:t.externalMetadata)==null?void 0:d.seo)!=null&&h.description?(g=(v=t.externalMetadata)==null?void 0:v.seo)==null?void 0:g.description:ql({title:t==null?void 0:t.name,phraseContext:i})}return{title:s(),description:c(),canonicalLink:n,allowIndexing:a,jsonLd:r&&k6e(t,r),hrefLang:o,_helperUsed:!0}},getDiscoverMetadata(e){const{content:t,canonicalLink:r,phraseContext:n,allowIndexing:i,hrefLang:a,product:o}=e;return{title:Ul({title:t==null?void 0:t.name,phraseContext:n,product:o||yu}),description:ql({title:t==null?void 0:t.name,phraseContext:n}),canonicalLink:r,allowIndexing:i,hrefLang:a,_helperUsed:!0}},async buildFaqJsonLd(e,t){return await L6e(e,t)}};function $6e(e){let t=e;t._helperUsed||(t=M6e.getDefaultMetadata(t)),Goe(t.title);const r=JPe();if(!r.hasProvider)throw vr.throw(new On("PageMetadataContext must exist in your application to use this hook"));pe.useEffect(()=>{!t||e._isPopupUp||r.hasPageMetadataChanged(t)&&r.setPageMetadata(t)})}const F6e="_container_2feax_1",j6e={container:F6e},U6e="reportsDefault.error",pee=gr.encloseNamespace(U6e),q6e=33,V6e={application:dr.DASHBOARD,action:Jr.Dashboard.HOME};function Cue(e){var i,a,o,u,s,c,d,h,v;$6e({title:((i=e.error)==null?void 0:i.heading)||pee("defaultPageTitle")});const[t]=pe.useState(Lk.getRandomInt(q6e)+1),r=e.imageUrl??zm.Errors.SmallAvatar.replace("{number}",t.toString()),n=((a=e.error)==null?void 0:a.cta)!==!1&&((u=(o=e.error)==null?void 0:o.cta)!=null&&u.appLink?(s=e.error)==null?void 0:s.cta.appLink:!((d=(c=e.error)==null?void 0:c.cta)!=null&&d.url)&&V6e);return e.error?j.jsxs(Eu,{className:`bg-white ${j6e.container}`,children:[j.jsx(Eu.Image,{src:r}),j.jsx(Eu.Heading,{children:e.error.heading}),!!e.error.description&&j.jsx(Eu.Info,{children:e.error.description}),e.error.cta!==!1&&j.jsx(Eu.Cta,{text:((h=e.error.cta)==null?void 0:h.text)??pee("goHome"),className:`btn btn-dark ${e.error.description?"mt-n2":""}`,appLink:n,href:(v=e.error.cta)==null?void 0:v.url})]}):j.jsx(j.Fragment,{})}const B6e=Object.freeze(Object.defineProperty({__proto__:null,ErrorView:Cue},Symbol.toStringTag,{value:"Module"})),H6e="_content_19qzp_1",z6e="_collapsedNavHeader_19qzp_4",W6e="_collapsedNavContent_19qzp_5",G6e="_openNavHeader_19qzp_8",Y6e="_openNavContent_19qzp_9",K6e="_mask_19qzp_12",X6e="_alertContainer_19qzp_15",Q6e="_lockedWidth_19qzp_21",Su={content:H6e,collapsedNavHeader:z6e,collapsedNavContent:W6e,openNavHeader:G6e,openNavContent:Y6e,mask:K6e,alertContainer:X6e,lockedWidth:Q6e};function J6e(e,t,r){const n=e?qd.Collapsed:qd.Open;return r?{state:qd.Hidden,showMask:!1}:t?{state:n,showMask:!e,contentClass:Su.collapsedNavContent,headerClass:Su.collapsedNavHeader}:{state:n,showMask:!1,contentClass:e?Su.collapsedNavContent:Su.openNavContent,headerClass:e?Su.collapsedNavHeader:Su.openNavHeader}}function Z6e(e){const[t,r]=ba(mo.LEFT_NAV_STATE,e.state);return or.useEffect(()=>{r(e.state)},[e.state]),t}function e5e(e){const[t,r]=or.useState(e);return or.useEffect(()=>{r(e)},[e]),[t,r]}function t5e(){const{appLink:e}=pc.getCurrentRoute(),t=Ui.isObject(e.params)?e.params:{},{from:r,to:n,rangeName:i}=t,[a,o]=ba(mo.DATE_RANGE_QUERY_PARAMS,{}),u={};r&&(u.from=r),n&&(u.to=n),i&&(u.rangeName=i),or.useEffect(()=>{Ui.isEqual(a,u)||o(u)},[a,u])}function r5e(){const{appLink:e}=pc.getCurrentRoute(),t=Ui.isObject(e.params)?e.params:{},[r,n]=ba(mo.AUDIENCE_QUERY_PARAMS,{}),i=o=>{const u=t[o];if(u)return Array.isArray(u)?u:[u]},a={users:i("users"),classrooms:i("classrooms"),classroomGroups:i("classroomGroups")};or.useEffect(()=>{Ui.isEqual(r,a)||n(a)},[r,a])}function n5e(e){VMe(),BMe(),t5e(),r5e();const t=iDe(),r=t===fa.XS,n=t===fa.SM,i=t===fa.XXL,a=!i&&t!==fa.XL,[o,u]=e5e(!i),s=J6e(o,r||n,!!e.hideNav),c=Z6e(s);let d=`${a?"container-fluid":"container"} px-3`;return e.hideHeader&&(d+=" pt-5"),pe.useEffect(()=>{document.body.style.overflowY="scroll"},[]),j.jsx(yO,{renderError:()=>Cue({error:new sf}),children:j.jsxs("div",{className:Su.lockedWidth,children:[!e.hideHeader&&j.jsx(aUe,{className:s.headerClass,containerFluid:a}),j.jsx($Ue,{navState:c,toggleNav:u,headerHidden:e.hideHeader}),j.jsx("div",{className:`${Su.content} ${s.contentClass??""}`,children:j.jsxs("div",{className:d,children:[j.jsx(yO,{throwError:sf,children:e.contentChild}),j.jsx(HMe,{})]})}),j.jsx(yO,{throwError:nDe,children:e.popupChild}),s.showMask&&j.jsx("div",{className:`modal-backdrop show ${Su.mask}`}),!!e.alertChild&&j.jsx("div",{className:Su.alertContainer,children:e.alertChild})]})})}function i5e(e){return j.jsx(Qie,{store:e.store,children:j.jsx(ZPe,{children:j.jsx(tDe,{children:j.jsx(rDe,{children:j.jsx(n5e,{...e})})})})})}class a5e extends DPe{constructor(t){super(t),this.childComponents={}}get name(){return"ReportsLayoutView"}get title(){return!1}get template(){return()=>'<div id="dialog-region"></div><div class="layout-region"></div>'}static getCacheKey(){return gs.REPORTS_LAYOUT}regions(){return{layout:{el:".layout-region",replaceEl:!0}}}getChildComponents(){return{contentChild:this.childComponents[Ur.CONTENT],popupChild:this.childComponents[Ur.POPUP],alertChild:this.childComponents[Ur.ALERT],store:this.options.store,hideNav:this.options.hideNav,hideHeader:this.options.hideHeader}}unsetRegion(t){delete this.childComponents[t],this.renderLayout()}closePopup(){this.unsetRegion(Ur.POPUP)}showChildView(t,r){this.childComponents[t]=r,this.renderLayout()}renderLayout(){super.showChildView("layout",j.jsx(i5e,{...this.getChildComponents()}))}}function o5e(e,t){e.registerLayout(gs.REPORTS_LAYOUT,a5e),t(e)}function s5e(e,t,r){V_.setUpVariables({isDevelopment:!1}),r(e,t)}function u5e(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 Ad;typeof self<"u"?Ad=self:typeof window<"u"?Ad=window:typeof globalThis<"u"?Ad=globalThis:typeof module<"u"?Ad=module:Ad=Function("return this")();var gee=u5e(Ad),fI=function(){return Math.random().toString(36).substring(7).split("").join(".")},Hv={INIT:"@@redux/INIT"+fI(),REPLACE:"@@redux/REPLACE"+fI(),PROBE_UNKNOWN_ACTION:function(){return"@@redux/PROBE_UNKNOWN_ACTION"+fI()}};function l5e(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 Aue(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(Aue)(e,t)}if(typeof e!="function")throw new Error("Expected the reducer to be a function.");var i=e,a=t,o=[],u=o,s=!1;function c(){u===o&&(u=o.slice())}function d(){if(s)throw new Error("You may not call store.getState() while the reducer is executing. The reducer has already received the state as an argument. Pass it down from the top reducer instead of reading it from the store.");return a}function h(y){if(typeof y!="function")throw new Error("Expected the listener to be a function.");if(s)throw new Error("You may not call store.subscribe() while the reducer is executing. If you would like to be notified after the store has been updated, subscribe from a component and invoke store.getState() in the callback to access the latest state. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");var S=!0;return c(),u.push(y),function(){if(S){if(s)throw new Error("You may not unsubscribe from a store listener while the reducer is executing. See https://redux.js.org/api-reference/store#subscribe(listener) for more details.");S=!1,c();var b=u.indexOf(y);u.splice(b,1)}}}function v(y){if(!l5e(y))throw new Error("Actions must be plain objects. Use custom middleware for async actions.");if(typeof y.type>"u")throw new Error('Actions may not have an undefined "type" property. Have you misspelled a constant?');if(s)throw new Error("Reducers may not dispatch actions.");try{s=!0,a=i(a,y)}finally{s=!1}for(var S=o=u,w=0;w<S.length;w++){var b=S[w];b()}return y}function g(y){if(typeof y!="function")throw new Error("Expected the nextReducer to be a function.");i=y,v({type:Hv.REPLACE})}function m(){var y,S=h;return y={subscribe:function(b){if(typeof b!="object"||b===null)throw new TypeError("Expected the observer to be an object.");function A(){b.next&&b.next(d())}A();var R=S(A);return{unsubscribe:R}}},y[gee]=function(){return this},y}return v({type:Hv.INIT}),n={dispatch:v,subscribe:h,getState:d,replaceReducer:g},n[gee]=m,n}function c5e(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 f5e(e){Object.keys(e).forEach(function(t){var r=e[t],n=r(void 0,{type:Hv.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:Hv.PROBE_UNKNOWN_ACTION()})>"u")throw new Error('Reducer "'+t+'" returned undefined when probed with a random type. '+("Don't try to handle "+Hv.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 d5e(e){for(var t=Object.keys(e),r={},n=0;n<t.length;n++){var i=t[n];typeof e[i]=="function"&&(r[i]=e[i])}var a=Object.keys(r),o;try{f5e(r)}catch(u){o=u}return function(s,c){if(s===void 0&&(s={}),o)throw o;for(var d=!1,h={},v=0;v<a.length;v++){var g=a[v],m=r[g],y=s[g],S=m(y,c);if(typeof S>"u"){var w=c5e(g,c);throw new Error(w)}h[g]=S,d=d||S!==y}return d?h:s}}function h5e(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function mee(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 v5e(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?mee(r,!0).forEach(function(n){h5e(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):mee(r).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function p5e(){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 g5e(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return function(n){return function(){var i=n.apply(void 0,arguments),a=function(){throw new Error("Dispatching while constructing your middleware is not allowed. Other middleware would not be applied to this dispatch.")},o={getState:i.getState,dispatch:function(){return a.apply(void 0,arguments)}},u=t.map(function(s){return s(o)});return a=p5e.apply(void 0,u)(i.dispatch),v5e({},i,{dispatch:a})}}}function m5e(e){const{authenticationError:t}=e;return function(){return n=>i=>{var o;const a=i;if(i.type===ho.API_ERROR&&t&&((o=a==null?void 0:a.xhr)==null?void 0:o.status)===j_.Unauthorized)return vr.throw(new t("dark"));if(i.type!==ho.API_RESPONSE){n(i);return}n(i)}}}function y5e(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 _5e(e={},t){switch(t.type){case Gk.UPDATE:return y5e(e,t)}return e}const bm="shared.authentication";class S5e extends $f{constructor(t){super(gr.getPhrase(bm,"title")),this.btnVariant=t}get name(){return"AuthenticationError"}get dialogOptions(){return{title:gr.getPhrase(bm,"heading"),text:gr.getPhrase(bm,"body"),buttons:[{text:gr.getPhrase(bm,"reload"),className:`btn btn-${this.btnVariant}`,success:!0}]}}onDone(){Yn.Reload()}}const Vd={hasTokenExpired(e){return typeof(e==null?void 0:e.localTTL)!="number"?!1:new Date().getTime()>e.localTTL},getToken(e,t){var a,o,u,s;const r=py(e.getState(),ll.TOKEN),n=Vd.hasTokenExpired(r.data);if((r.shouldFetch||n)&&!r.isFetching){Rh(e.dispatch,t);return}if(r.isFetching){let c=!1;const d=e.subscribe(()=>{d(),!c&&(c=!0,Vd.getToken(e,t))});return}r.hasError?((a=t.error)==null||a.call(t,{status:r.statusCode,getResponseHeader:null}),(o=t.always)==null||o.call(t)):((u=t.success)==null||u.call(t,r.data),(s=t.always)==null||s.call(t))},async getTokenAsync(e){const t=Oue.getToken();return t||new Promise((r,n)=>{const i=o=>r(o),a=o=>n(o);Vd.getToken(e,Wi.token(i,a))})}},E5e=oa.Router.prototype._routeToRegExp("share/embed/:id(/)"),w5e=oa.Router.prototype._routeToRegExp("videos/embed/:id(/)"),Oue={applyToken(e){const t=pc.getCurrentRoute().appLink,r=Kn.getHref({...t,params:{...typeof t.params=="object"?t.params:{},embedToken:e==null?void 0:e.value,localTTL:e==null?void 0:e.localTTL,a:!0}});Yn.PageLoad(r)},getToken(){const e=oa.history.getFragment(Yn.GetCurrentPath()),t=E5e.test(e),r=w5e.test(e);if(!t&&!r||!window.URLSearchParams)return null;const n=new URLSearchParams(window.location.search),i=n.get("embedToken"),a=parseInt(n.get("localTTL"));if(!i||!a)return null;const o={value:i,localTTL:isNaN(a)?null:a};return Vd.hasTokenExpired(o)?null:o}};function b5e(){const e=Oue.getToken();return e?function(r,n){if(!r.resource.startsWith("/"))return n(r);Vd.hasTokenExpired(e)||(r.headers={...r.headers??{},authorization:`Bearer ${e.value}`}),n(r)}:(t,r)=>r(t)}const yee={"{gateway}":"gatewayApiUrl","{image}":"imageCdnUrl","{integrations}":"integrationsApiUrl","{player}":"playerApiUrl"};function T5e(e){return async function(r,n){const i=Object.keys(yee).find(o=>r.resource.startsWith(o));if(!i)return n(r);function a(o,u){const s=o[yee[i]],c={...r,resource:NI.safeUrlConcat(s,r.resource.split(`${i}/`)[1])};u!=null&&u.value&&(c.headers={...c.headers??{},authorization:`Bearer ${u.value}`}),n(c)}try{const o=await Xa(e,of.config());if(!(await Xa(e,Wi.currentUser())).isAuthenticated){a(o);return}const s=await Vd.getTokenAsync(e);a(o,s)}catch{n(r)}}}const _ee=/\(([^()]*)\)/g;function R5e(e,t){return function(n,i){i({...n,resource:n.resource.replace(e,t)})}}function x5e(e,t){function r(n){return function(a){const o=t[a];if(typeof o=="string"){n.useAsync(R5e(a,o));return}o&&n.useAsync(o)}}return function(i,a){var v;const o=new Md,u=new Md,s={resource:i.resource,store:e},c={resource:null,store:e},d=(v=i.data)==null?void 0:v.ogql;if(decodeURIComponent(i.resource).replace(_ee,r(o)),d){const g=JSON.stringify(i.data.ogql);c.resource=g,g.replace(_ee,r(u))}o.goAsync(s,g=>{u.goAsync(c,m=>{a({...i,resource:g.resource,data:d?{...i.data,ogql:JSON.parse(m.resource)}:i.data})})})}}function C5e(e,t){return function(n){const i=new Md;i.useAsync(T5e(e.store)),i.useAsync(x5e(e.store,t)),i.useAsync(b5e()),i.goAsync(n,a=>{DI(a)})}}const A5e=[br.ShareToGoogleClassroom,br.ShareToMicrosoftTeams,br.ShareOverrideRestrictions,br.HasClassrooms,br.HasShareFlowV2];function O5e(e){return function(r,n){const i=A5e.map(o=>`type=${o}`).join("&"),a=r.resource.replace(e,i);n({...r,resource:a})}}const I5e={[ea.CLIP]:"_parentVideo",[ea.CLIP_COLLECTION]:"_parentVideo[_rating],_thumbnail",[ea.INTERACTIVE]:"_parentClip,_parentVideo",[ea.INTERACTIVE_COLLECTION]:"_parentVideo[_rating],_parentClip,_thumbnail",[ea.VIDEO_COLLECTION]:"thumbnail,series","(customerSettings)":O5e("(customerSettings)"),"(userSettings)":""};function P5e(e,t){const r=d5e({flightData:Jbe,viewModelData:_5e}),n=Wbe({fetchData:C5e(e,I5e),bootstrappedData:window.bootstrapData||{},defaultCacheDuration:nP.STANDARD}),i=m5e({authenticationError:S5e});function a(u){e.registerStore(u),t(),delete window.bootstrapData}const o=Aue(r,g5e(n,i));a(o)}async function D5e(e,t){try{const r=await ak(e.store.dispatch,of.config());Py.initialize({product:Lo.Primary,liteSupportSiteUrl:r.liteSupportSiteUrl}),t(e)}catch{t(e)}}const See={locale(){return{url:"/api/locale",key:"locale",bootstrapName:ll.LOCALE}},phrases(){return{url:"/api/phrases",key:"phrases",bootstrapName:ll.PHRASES}}};async function k5e(e,t){let r;try{r=Xa(e.store,See.phrases());const n=Xa(e.store,See.locale());gr.setConfig({locale:await n,phrases:await r})}catch(n){console.error(n)}finally{t(e)}}const wN=new _we({region:"#app",layoutService:new mwe({})});wN.addInitializationStep(P5e).addInitializationStep(k5e).addInitializationStep(WCe).addInitializationStep(YCe).addInitializationStep(JCe).addInitializationStep(bPe).addInitializationStep(rxe).addInitializationStep(o5e).addInitializationStep(PPe).addInitializationStep(D5e);wN.addStartUpStep(s5e);wN.start();export{WRe as $,Jr as A,dn as B,of as C,Zi as D,Pae as E,gi as F,zae as G,tOe as H,m0 as I,np as J,rp as K,gr as L,Tk as M,lZ as N,Eu as O,Na as P,zo as Q,Lk as R,a2e as S,up as T,Wi as U,mo as V,Jse as W,DMe as X,_3e as Y,wa as Z,pae as _,$6e as a,r1e as a$,Bt as a0,ef as a1,GI as a2,Zs as a3,Wse as a4,ec as a5,bIe as a6,uP as a7,Js as a8,x3e as a9,xQ as aA,xv as aB,Os as aC,yae as aD,jn as aE,Xr as aF,X2e as aG,G2e as aH,Lo as aI,fDe as aJ,$r as aK,Cv as aL,i0 as aM,Yn as aN,Iae as aO,tl as aP,Qm as aQ,f2e as aR,l2e as aS,u2e as aT,Kse as aU,Yl as aV,zn as aW,Zse as aX,k2e as aY,eue as aZ,Y1e as a_,Oy as aa,Hl as ab,RMe as ac,Zp as ad,Wp as ae,Xu as af,Id as ag,Ui as ah,Wk as ai,Rse as aj,br as ak,Nf as al,gae as am,Rh as an,J_ as ao,Xs as ap,ZCe as aq,Bbe as ar,tee as as,ka as at,Zl as au,xn as av,pn as aw,$f as ax,txe as ay,vr as az,yc as b,BAe as b$,Th as b0,i1e as b1,Mie as b2,K1e as b3,$1e as b4,Fp as b5,bh as b6,z1e as b7,QD as b8,z_ as b9,S3e as bA,cDe as bB,oN as bC,Cn as bD,Vbe as bE,zm as bF,da as bG,On as bH,Ql as bI,Zd as bJ,ea as bK,V4e as bL,j4e as bM,KZ as bN,XZ as bO,G4e as bP,WAe as bQ,Kn as bR,pc as bS,NMe as bT,mi as bU,gP as bV,V5e as bW,$n as bX,jv as bY,j_ as bZ,qMe as b_,v1e as ba,ek as bb,jie as bc,Die as bd,R1e as be,Aie as bf,y1e as bg,Qwe as bh,Lie as bi,o1e as bj,jp as bk,Q1e as bl,q1e as bm,X1e as bn,kie as bo,G1e as bp,ji as bq,HAe as br,q5e as bs,U5e as bt,j5e as bu,Woe as bv,Sm as bw,sue as bx,Yu as by,fi as bz,ba as c,JIe as c0,rP as c1,Fd as c2,Nv as c3,z5e as c4,JZ as c5,Yae as c6,iOe as c7,aOe as c8,ts as c9,lde as cA,Mde as cB,jde as cC,Ite as cD,bpe as cE,Ope as cF,Ece as cG,ufe as cH,ZP as cI,Xhe as cJ,rve as cK,CPe as cL,Mf as cM,Py as cN,tue as cO,sf as cP,zbe as cQ,Qje as cR,kae as cS,Ld as cT,Qs as cU,qp as cV,fa as ca,O4e as cb,II as cc,HI as cd,L5e as ce,Qv as cf,qK as cg,qTe as ch,oX as ci,BRe as cj,yk as ck,$Ae as cl,VRe as cm,zRe as cn,Ape as co,U_ as cp,BI as cq,Gie as cr,HRe as cs,GRe as ct,Nk as cu,el as cv,uPe as cw,fce as cx,ice as cy,Jy as cz,dN as d,W5e as e,YZ as f,dr as g,Ri as h,os as i,j,H5e as k,un as l,QZ as m,lN as n,dp as o,or as p,B5e as q,pe as r,fn as s,Cue as t,Ii as u,Qa as v,Yoe as w,Pd as x,In as y,wOe as z};
|
|
228
|
-
//# sourceMappingURL=app-BqRx5tK8.js.map
|