@citolab/qti-components 7.0.8 → 7.0.9-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/cdn/chunks/chunk-3AHQU35T.js +1 -0
- package/cdn/chunks/chunk-4AGTWY6I.js +1 -0
- package/cdn/{chunk-A536ZOJJ.js → chunks/chunk-6EIGTAJQ.js} +2 -4
- package/cdn/chunks/chunk-6UEXCXHG.js +17 -0
- package/cdn/chunks/chunk-BJL2ZC5L.js +1 -0
- package/cdn/chunks/chunk-FB3WTNRH.js +8 -0
- package/cdn/chunks/chunk-GCKESRQG.js +1 -0
- package/{dist/chunks/chunk-NZQKGIJP.js → cdn/chunks/chunk-GVU44M3E.js} +6 -8
- package/cdn/chunks/{chunk-SATSEEWJ.js → chunk-I3HQJPKA.js} +84 -84
- package/cdn/chunks/chunk-IKDNYCM7.js +1 -0
- package/cdn/chunks/chunk-KDO3T66B.js +1 -0
- package/cdn/chunks/{chunk-T2KKTMAT.js → chunk-KGVJXME7.js} +84 -84
- package/cdn/chunks/chunk-KQPTKMFJ.js +1 -0
- package/cdn/chunks/{chunk-4ILXLVT5.js → chunk-LCKLXCUP.js} +6 -18
- package/cdn/chunks/chunk-M5PPZ5M3.js +59 -0
- package/cdn/chunks/chunk-O5MMIBRR.js +10 -0
- package/cdn/chunks/chunk-OEXGDZO2.js +8 -0
- package/cdn/chunks/{chunk-RXKI3AO4.js → chunk-R45JL2ZY.js} +1 -1
- package/cdn/chunks/chunk-W2VSEYLY.js +8 -0
- package/cdn/chunks/chunk-WYDU2FBY.js +8 -0
- package/cdn/chunks/chunk-X7T7HK65.js +8 -0
- package/cdn/chunks/{chunk-X2KBNXRO.js → chunk-YIYKK4RV.js} +1 -1
- package/cdn/exports/computed.context.js +1 -0
- package/cdn/exports/config.context.js +1 -0
- package/cdn/exports/qti-assessment-item.context.js +1 -1
- package/cdn/exports/qti-condition-expression.js +1 -1
- package/cdn/exports/qti-expression.js +1 -1
- package/cdn/exports/session.context.js +1 -0
- package/cdn/exports/test.context.js +1 -0
- package/cdn/index.global.js +1 -1
- package/cdn/index.js +1 -1
- package/cdn/qti-components/index.js +1 -1
- package/cdn/qti-item/core/index.js +1 -1
- package/cdn/qti-test/components/index.js +1 -1
- package/cdn/qti-test/components/test-container.js +1 -3549
- package/cdn/qti-test/components/test-end-attempt.js +1 -1
- package/cdn/qti-test/components/test-item-link.js +1 -1
- package/cdn/qti-test/components/test-navigation.js +1 -0
- package/cdn/qti-test/components/test-next.js +1 -1
- package/cdn/qti-test/components/test-paging-buttons-stamp.js +1 -1
- package/cdn/qti-test/components/test-prev.js +1 -1
- package/cdn/qti-test/components/test-show-correct-response.js +1 -1
- package/cdn/qti-test/components/test-view.js +1 -1
- package/cdn/qti-test/core/index.js +1 -1
- package/dist/chunks/chunk-3A4IOMBQ.js +8 -0
- package/dist/chunks/chunk-3A4IOMBQ.js.map +1 -0
- package/dist/{chunk-2CHF3TMY.js → chunks/chunk-6MW3J6OM.js} +112 -4
- package/dist/chunks/chunk-6MW3J6OM.js.map +1 -0
- package/dist/chunks/chunk-CBYNKDSF.js +1 -0
- package/dist/chunks/{chunk-WWN5AD6V.js → chunk-CHINL5UJ.js} +12 -7
- package/dist/chunks/chunk-CHINL5UJ.js.map +1 -0
- package/dist/chunks/{chunk-W4272Q5U.js → chunk-CWCYTL3F.js} +18 -8
- package/dist/chunks/chunk-CWCYTL3F.js.map +1 -0
- package/dist/chunks/{chunk-GQ5P3NWC.js → chunk-FZVLLSCM.js} +18 -8
- package/dist/chunks/chunk-FZVLLSCM.js.map +1 -0
- package/dist/chunks/chunk-GNCPECOC.js +45 -0
- package/dist/chunks/chunk-GNCPECOC.js.map +1 -0
- package/dist/chunks/{chunk-YOXF6JPS.js → chunk-GRYVMG5Q.js} +135 -193
- package/dist/chunks/chunk-GRYVMG5Q.js.map +1 -0
- package/dist/chunks/{chunk-BPHQLJWE.js → chunk-I7HVKMDI.js} +2 -2
- package/dist/chunks/chunk-I7HVKMDI.js.map +1 -0
- package/dist/chunks/chunk-J4MM4JXS.js +8 -0
- package/dist/chunks/chunk-J4MM4JXS.js.map +1 -0
- package/dist/chunks/{chunk-FV7HWK54.js → chunk-JUAS2TVR.js} +1 -1
- package/dist/chunks/chunk-JUAS2TVR.js.map +1 -0
- package/dist/chunks/chunk-K6EUKFNW.js +43 -0
- package/dist/chunks/chunk-K6EUKFNW.js.map +1 -0
- package/dist/chunks/chunk-LZ7UIV5O.js +91 -0
- package/dist/chunks/chunk-LZ7UIV5O.js.map +1 -0
- package/dist/chunks/{chunk-J2SHENRN.js → chunk-MDWBTFKL.js} +100 -5
- package/dist/chunks/chunk-MDWBTFKL.js.map +1 -0
- package/dist/chunks/{chunk-KOEILLVS.js → chunk-NJNQOQUU.js} +1 -1
- package/dist/chunks/chunk-NJNQOQUU.js.map +1 -0
- package/dist/chunks/{chunk-E4TWZ2DL.js → chunk-NPHDN2TQ.js} +139 -113
- package/dist/chunks/chunk-NPHDN2TQ.js.map +1 -0
- package/dist/chunks/chunk-ODLYMQOS.js +8 -0
- package/dist/chunks/chunk-ODLYMQOS.js.map +1 -0
- package/dist/chunks/{chunk-XSI6FXGD.js → chunk-OOQLWOYU.js} +2 -2
- package/dist/chunks/{chunk-NHA53UTY.js → chunk-PR6AZWRP.js} +3 -6
- package/dist/chunks/chunk-PR6AZWRP.js.map +1 -0
- package/dist/chunks/chunk-QAA6MWGE.js +170 -0
- package/dist/chunks/chunk-QAA6MWGE.js.map +1 -0
- package/dist/chunks/chunk-QTH3WLGY.js +8 -0
- package/dist/chunks/chunk-QTH3WLGY.js.map +1 -0
- package/dist/chunks/{chunk-DLUJN2FW.js → chunk-W7ZXKJ5O.js} +1 -1
- package/dist/chunks/chunk-W7ZXKJ5O.js.map +1 -0
- package/dist/chunks/{chunk-OIRWOI3E.js → chunk-WRHEO7NG.js} +1 -1
- package/dist/chunks/chunk-WRHEO7NG.js.map +1 -0
- package/dist/chunks/chunk-WXART76T.js +95 -0
- package/dist/chunks/chunk-WXART76T.js.map +1 -0
- package/dist/exports/computed.context.d.ts +30 -0
- package/dist/exports/computed.context.js +8 -0
- package/dist/exports/config.context.d.ts +8 -0
- package/dist/exports/config.context.js +8 -0
- package/dist/exports/interaction.js +1 -1
- package/dist/exports/item.context.d.ts +2 -2
- package/dist/exports/item.context.js +1 -1
- package/dist/exports/qti-assessment-item.context.js +1 -1
- package/dist/exports/qti-condition-expression.js +3 -3
- package/dist/exports/qti-expression.js +2 -2
- package/dist/exports/session.context.d.ts +12 -0
- package/dist/exports/session.context.js +8 -0
- package/dist/exports/test.context.d.ts +16 -0
- package/dist/exports/test.context.js +8 -0
- package/dist/index.d.ts +9 -4
- package/dist/index.js +58 -55
- package/dist/qti-components/index.d.ts +2 -2
- package/dist/qti-components/index.js +7 -7
- package/dist/qti-components-jsx.d.ts +112 -86
- package/dist/qti-item/core/index.js +2 -3
- package/dist/qti-loader/index.d.ts +1 -1
- package/dist/qti-loader/index.js +1 -1
- package/dist/{qti-response-declaration-Di9CsqiJ.d.ts → qti-response-declaration-CyOeVboh.d.ts} +2 -2
- package/dist/qti-test/components/index.d.ts +10 -4
- package/dist/qti-test/components/index.js +28 -19
- package/dist/qti-test/components/test-container.d.ts +3 -1
- package/dist/qti-test/components/test-container.js +6 -3778
- package/dist/qti-test/components/test-container.js.map +1 -1
- package/dist/qti-test/components/test-end-attempt.d.ts +4 -11
- package/dist/qti-test/components/test-end-attempt.js +3 -5
- package/dist/qti-test/components/test-item-link.d.ts +2 -11
- package/dist/qti-test/components/test-item-link.js +1 -5
- package/dist/qti-test/components/test-navigation.d.ts +35 -0
- package/dist/qti-test/components/test-navigation.js +12 -0
- package/dist/qti-test/components/test-navigation.js.map +1 -0
- package/dist/qti-test/components/test-next.d.ts +12 -12
- package/dist/qti-test/components/test-next.js +4 -4
- package/dist/qti-test/components/test-paging-buttons-stamp.d.ts +8 -15
- package/dist/qti-test/components/test-paging-buttons-stamp.js +2 -5
- package/dist/qti-test/components/test-prev.d.ts +11 -12
- package/dist/qti-test/components/test-prev.js +4 -4
- package/dist/qti-test/components/test-show-correct-response.d.ts +4 -11
- package/dist/qti-test/components/test-show-correct-response.js +3 -5
- package/dist/qti-test/components/test-view.d.ts +3 -12
- package/dist/qti-test/components/test-view.js +2 -4
- package/dist/qti-test/core/index.d.ts +18 -48
- package/dist/qti-test/core/index.js +7 -12
- package/dist/{test.context-C2LBA3w4.d.ts → qti-test-part-zX9tOUbA.d.ts} +17 -33
- package/dist/vscode.html-custom-data.json +33 -30
- package/package.json +20 -19
- package/cdn/chunk-4DFVJE2A.js +0 -48
- package/cdn/chunk-4I75QSIL.js +0 -8
- package/cdn/chunk-5WCOPF7O.js +0 -73
- package/cdn/chunk-66PERJA3.js +0 -939
- package/cdn/chunk-6WNSQ7U6.js +0 -939
- package/cdn/chunk-AT2C24P4.js +0 -8
- package/cdn/chunk-BLKKKK6C.js +0 -11
- package/cdn/chunk-DC2R556M.js +0 -5
- package/cdn/chunk-GALSGMIP.js +0 -5
- package/cdn/chunk-IXSX4SJX.js +0 -1
- package/cdn/chunk-KYOTSBCX.js +0 -1
- package/cdn/chunk-L4TDHAKL.js +0 -24
- package/cdn/chunk-LVW3MHTI.js +0 -23
- package/cdn/chunk-M6AATWPS.js +0 -59
- package/cdn/chunk-MFWSHIPH.js +0 -17
- package/cdn/chunk-QGKK4T2J.js +0 -8
- package/cdn/chunk-ROXN2HIJ.js +0 -8
- package/cdn/chunk-SQDSHH6N.js +0 -3539
- package/cdn/chunk-TJMODUN5.js +0 -8
- package/cdn/chunk-VI2WKTN4.js +0 -1
- package/cdn/chunk-Z6SKK5ZX.js +0 -8
- package/cdn/chunks/chunk-3GO57DNP.js +0 -0
- package/cdn/chunks/chunk-3V6LA7B3.js +0 -8
- package/cdn/chunks/chunk-4PEUIMDK.js +0 -8
- package/cdn/chunks/chunk-4WXQYE2P.js +0 -8
- package/cdn/chunks/chunk-5P7CTN7Q.js +0 -11
- package/cdn/chunks/chunk-5X76K77R.js +0 -8
- package/cdn/chunks/chunk-6MCYE7P5.js +0 -1
- package/cdn/chunks/chunk-6PW2L463.js +0 -0
- package/cdn/chunks/chunk-6S4CDN3T.js +0 -43
- package/cdn/chunks/chunk-76VGZJCP.js +0 -934
- package/cdn/chunks/chunk-7RBGYKOX.js +0 -5
- package/cdn/chunks/chunk-7XYBFL7U.js +0 -934
- package/cdn/chunks/chunk-AJJJAZWM.js +0 -1
- package/cdn/chunks/chunk-ANDPD7F2.js +0 -5
- package/cdn/chunks/chunk-ARHBUT6F.js +0 -5
- package/cdn/chunks/chunk-AUHO2E7V.js +0 -934
- package/cdn/chunks/chunk-CZ3CSGCE.js +0 -934
- package/cdn/chunks/chunk-D3GR6AUG.js +0 -43
- package/cdn/chunks/chunk-DZCKF45D.js +0 -5
- package/cdn/chunks/chunk-EFU4L43Q.js +0 -8
- package/cdn/chunks/chunk-FM5C34DM.js +0 -934
- package/cdn/chunks/chunk-FRS2J3OS.js +0 -59
- package/cdn/chunks/chunk-GMK2YRB2.js +0 -934
- package/cdn/chunks/chunk-H2V2RXUW.js +0 -11
- package/cdn/chunks/chunk-HUMOYGEM.js +0 -43
- package/cdn/chunks/chunk-IMJOPCFR.js +0 -1
- package/cdn/chunks/chunk-IQZ7AOCQ.js +0 -8
- package/cdn/chunks/chunk-J3JSSCM6.js +0 -5
- package/cdn/chunks/chunk-KHLUVO6Y.js +0 -8
- package/cdn/chunks/chunk-LARBLB7K.js +0 -8
- package/cdn/chunks/chunk-LNFCEHB3.js +0 -934
- package/cdn/chunks/chunk-MJMONWKB.js +0 -3539
- package/cdn/chunks/chunk-N5OHGRGG.js +0 -8
- package/cdn/chunks/chunk-NDHSIO2G.js +0 -8
- package/cdn/chunks/chunk-NRY3WHJD.js +0 -5
- package/cdn/chunks/chunk-PKT2SJQD.js +0 -8
- package/cdn/chunks/chunk-PPWEIKLT.js +0 -1
- package/cdn/chunks/chunk-PT523RSK.js +0 -8
- package/cdn/chunks/chunk-QD3NT5PG.js +0 -934
- package/cdn/chunks/chunk-QTK4CPHP.js +0 -8
- package/cdn/chunks/chunk-QV6I5NVQ.js +0 -8
- package/cdn/chunks/chunk-R33OODNX.js +0 -1
- package/cdn/chunks/chunk-RIXTWE2H.js +0 -8
- package/cdn/chunks/chunk-ROZIP5LG.js +0 -8
- package/cdn/chunks/chunk-RPZVSBLM.js +0 -8
- package/cdn/chunks/chunk-SXM25YH3.js +0 -934
- package/cdn/chunks/chunk-TEYXRLTI.js +0 -8
- package/cdn/chunks/chunk-TQBDBMWL.js +0 -5
- package/cdn/chunks/chunk-TV3SPOLH.js +0 -8
- package/cdn/chunks/chunk-TVDTF6P6.js +0 -934
- package/cdn/chunks/chunk-U2TE6TOV.js +0 -934
- package/cdn/chunks/chunk-W5Y3ZU2W.js +0 -5
- package/cdn/chunks/chunk-WPGJ54IP.js +0 -1
- package/cdn/chunks/chunk-YHWMZAZD.js +0 -43
- package/cdn/chunks/chunk-YVZ742ID.js +0 -934
- package/cdn/chunks/chunk-YWH4TGMA.js +0 -5
- package/cdn/chunks/chunk-YXR6KSZI.js +0 -11
- package/cdn/qti-components/index.global.js +0 -226
- package/cdn/qti-item/components/index.global.js +0 -149
- package/cdn/qti-item/components/index.js +0 -3549
- package/cdn/qti-item/components/item-container.global.js +0 -149
- package/cdn/qti-item/components/item-container.js +0 -3549
- package/cdn/qti-item/core/index.global.js +0 -149
- package/cdn/qti-item/index.global.js +0 -149
- package/cdn/qti-item/index.js +0 -3549
- package/cdn/qti-item/qti-item.global.js +0 -114
- package/cdn/qti-item/qti-item.js +0 -1
- package/cdn/qti-loader/index.global.js +0 -1
- package/cdn/qti-test/components/index.global.js +0 -207
- package/cdn/qti-test/components/styles.global.js +0 -44
- package/cdn/qti-test/components/test-component.abstract.global.js +0 -170
- package/cdn/qti-test/components/test-component.abstract.js +0 -1
- package/cdn/qti-test/components/test-container.global.js +0 -149
- package/cdn/qti-test/components/test-item-link.global.js +0 -170
- package/cdn/qti-test/components/test-next.global.js +0 -170
- package/cdn/qti-test/components/test-next.spec.css +0 -1
- package/cdn/qti-test/components/test-next.spec.global.js +0 -64
- package/cdn/qti-test/components/test-next.spec.js +0 -713
- package/cdn/qti-test/components/test-paging-buttons-stamp.global.js +0 -207
- package/cdn/qti-test/components/test-prev.global.js +0 -170
- package/cdn/qti-test/components/test-view.global.js +0 -170
- package/cdn/qti-test/context/index.global.js +0 -58
- package/cdn/qti-test/context/index.js +0 -1
- package/cdn/qti-test/context/test.context.global.js +0 -58
- package/cdn/qti-test/context/test.context.js +0 -1
- package/cdn/qti-test/core/index.global.js +0 -205
- package/cdn/qti-test/index.global.js +0 -242
- package/cdn/qti-test/index.js +0 -3598
- package/cdn/qti-test/mixins/index.global.js +0 -1
- package/cdn/qti-test/mixins/index.js +0 -23
- package/cdn/qti-test/mixins/test-loader.mixin.global.js +0 -1
- package/cdn/qti-test/mixins/test-loader.mixin.js +0 -23
- package/cdn/qti-test/mixins/test-navigation.mixin.global.js +0 -1
- package/cdn/qti-test/mixins/test-navigation.mixin.js +0 -1
- package/cdn/qti-test/mixins/test-view.mixin.global.js +0 -1
- package/cdn/qti-test/mixins/test-view.mixin.js +0 -1
- package/cdn/qti-test/qti-assessment-test/index.global.js +0 -170
- package/cdn/qti-test/qti-assessment-test/index.js +0 -1
- package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.global.js +0 -170
- package/cdn/qti-test/qti-assessment-test/qti-assessment-item-ref.js +0 -1
- package/cdn/qti-test/qti-assessment-test/qti-assessment-section.global.js +0 -170
- package/cdn/qti-test/qti-assessment-test/qti-assessment-section.js +0 -1
- package/cdn/qti-test/qti-assessment-test/qti-assessment-test.global.js +0 -170
- package/cdn/qti-test/qti-assessment-test/qti-assessment-test.js +0 -1
- package/cdn/qti-test/qti-assessment-test/qti-test-part.global.js +0 -114
- package/cdn/qti-test/qti-assessment-test/qti-test-part.js +0 -1
- package/cdn/qti-test/qti-test.global.js +0 -170
- package/cdn/qti-test/qti-test.js +0 -23
- package/cdn/qti-test/test-base.global.js +0 -170
- package/cdn/qti-test/test-base.js +0 -1
- package/cdn/qti-transformers/index.global.js +0 -1
- package/dist/chunk-2CHF3TMY.js.map +0 -1
- package/dist/chunk-2LWLX7WV.js +0 -6307
- package/dist/chunk-2LWLX7WV.js.map +0 -1
- package/dist/chunk-2OA7E3E7.js +0 -294
- package/dist/chunk-2OA7E3E7.js.map +0 -1
- package/dist/chunk-3G364JZC.js +0 -72
- package/dist/chunk-3G364JZC.js.map +0 -1
- package/dist/chunk-44VE5POH.js +0 -55
- package/dist/chunk-4YG2FPKK.js +0 -31
- package/dist/chunk-4YG2FPKK.js.map +0 -1
- package/dist/chunk-6TUE644E.js +0 -569
- package/dist/chunk-6TUE644E.js.map +0 -1
- package/dist/chunk-6ZMD232X.js +0 -78
- package/dist/chunk-6ZMD232X.js.map +0 -1
- package/dist/chunk-AYRSHIHA.js +0 -50
- package/dist/chunk-AYRSHIHA.js.map +0 -1
- package/dist/chunk-BN32D5J2.js +0 -43
- package/dist/chunk-BN32D5J2.js.map +0 -1
- package/dist/chunk-CJRXRBRQ.js +0 -50
- package/dist/chunk-CJRXRBRQ.js.map +0 -1
- package/dist/chunk-GPJ6WTE5.js +0 -118
- package/dist/chunk-GPJ6WTE5.js.map +0 -1
- package/dist/chunk-KAUHKHPH.js +0 -50
- package/dist/chunk-KAUHKHPH.js.map +0 -1
- package/dist/chunk-MAC76UNI.js +0 -1
- package/dist/chunk-QYN5S4EM.js +0 -107
- package/dist/chunk-QYN5S4EM.js.map +0 -1
- package/dist/chunk-UB5K44DB.js +0 -30
- package/dist/chunk-UB5K44DB.js.map +0 -1
- package/dist/chunk-UJTJIU3C.js +0 -43
- package/dist/chunk-UJTJIU3C.js.map +0 -1
- package/dist/chunk-XVQZ5JI5.js +0 -50
- package/dist/chunk-XVQZ5JI5.js.map +0 -1
- package/dist/chunk-XW3PQRKW.js +0 -6306
- package/dist/chunk-XW3PQRKW.js.map +0 -1
- package/dist/chunk-YQ7EXOAK.js +0 -10
- package/dist/chunk-YQ7EXOAK.js.map +0 -1
- package/dist/chunks/chunk-2V6LQV2K.js +0 -50
- package/dist/chunks/chunk-2V6LQV2K.js.map +0 -1
- package/dist/chunks/chunk-3EU75IUF.js +0 -118
- package/dist/chunks/chunk-3EU75IUF.js.map +0 -1
- package/dist/chunks/chunk-3QQFMVDS.js +0 -118
- package/dist/chunks/chunk-3QQFMVDS.js.map +0 -1
- package/dist/chunks/chunk-4GNVYCBN.js +0 -627
- package/dist/chunks/chunk-4GNVYCBN.js.map +0 -1
- package/dist/chunks/chunk-4MQV5IRV.js +0 -59
- package/dist/chunks/chunk-4MQV5IRV.js.map +0 -1
- package/dist/chunks/chunk-4WVLWWYJ.js +0 -50
- package/dist/chunks/chunk-4WVLWWYJ.js.map +0 -1
- package/dist/chunks/chunk-5KVGRLYT.js +0 -10
- package/dist/chunks/chunk-5KVGRLYT.js.map +0 -1
- package/dist/chunks/chunk-5PCD2B62.js +0 -6091
- package/dist/chunks/chunk-5PCD2B62.js.map +0 -1
- package/dist/chunks/chunk-5RTLOB3Q.js +0 -59
- package/dist/chunks/chunk-5RTLOB3Q.js.map +0 -1
- package/dist/chunks/chunk-6JXR63MH.js +0 -50
- package/dist/chunks/chunk-6JXR63MH.js.map +0 -1
- package/dist/chunks/chunk-6PAEJQSQ.js +0 -6058
- package/dist/chunks/chunk-6PAEJQSQ.js.map +0 -1
- package/dist/chunks/chunk-6QT4LIPL.js +0 -623
- package/dist/chunks/chunk-6QT4LIPL.js.map +0 -1
- package/dist/chunks/chunk-7QMCKYDR.js +0 -43
- package/dist/chunks/chunk-7QMCKYDR.js.map +0 -1
- package/dist/chunks/chunk-A24F75DB.js +0 -72
- package/dist/chunks/chunk-A24F75DB.js.map +0 -1
- package/dist/chunks/chunk-AUWATZ65.js +0 -10
- package/dist/chunks/chunk-AUWATZ65.js.map +0 -1
- package/dist/chunks/chunk-AXTEKPP5.js +0 -6084
- package/dist/chunks/chunk-AXTEKPP5.js.map +0 -1
- package/dist/chunks/chunk-B6MJCAOF.js +0 -6063
- package/dist/chunks/chunk-B6MJCAOF.js.map +0 -1
- package/dist/chunks/chunk-BJ2JLJIJ.js +0 -623
- package/dist/chunks/chunk-BJ2JLJIJ.js.map +0 -1
- package/dist/chunks/chunk-BPHQLJWE.js.map +0 -1
- package/dist/chunks/chunk-CD3E4M5Y.js +0 -107
- package/dist/chunks/chunk-CD3E4M5Y.js.map +0 -1
- package/dist/chunks/chunk-CEXAR7BF.js +0 -52
- package/dist/chunks/chunk-CEXAR7BF.js.map +0 -1
- package/dist/chunks/chunk-CWYAQA25.js +0 -6067
- package/dist/chunks/chunk-CWYAQA25.js.map +0 -1
- package/dist/chunks/chunk-D3QX5N57.js +0 -6117
- package/dist/chunks/chunk-D3QX5N57.js.map +0 -1
- package/dist/chunks/chunk-DLUJN2FW.js.map +0 -1
- package/dist/chunks/chunk-DNHDFXTV.js +0 -59
- package/dist/chunks/chunk-DNHDFXTV.js.map +0 -1
- package/dist/chunks/chunk-E4TWZ2DL.js.map +0 -1
- package/dist/chunks/chunk-FV7HWK54.js.map +0 -1
- package/dist/chunks/chunk-GQ5P3NWC.js.map +0 -1
- package/dist/chunks/chunk-GSWZT6N2.js +0 -50
- package/dist/chunks/chunk-GSWZT6N2.js.map +0 -1
- package/dist/chunks/chunk-HHVRU3AJ.js +0 -107
- package/dist/chunks/chunk-HHVRU3AJ.js.map +0 -1
- package/dist/chunks/chunk-HOTNM5DT.js +0 -1
- package/dist/chunks/chunk-IWG66KQQ.js +0 -107
- package/dist/chunks/chunk-IWG66KQQ.js.map +0 -1
- package/dist/chunks/chunk-J2SHENRN.js.map +0 -1
- package/dist/chunks/chunk-K6ATVWMP.js +0 -6091
- package/dist/chunks/chunk-K6ATVWMP.js.map +0 -1
- package/dist/chunks/chunk-KOEILLVS.js.map +0 -1
- package/dist/chunks/chunk-KYAIMBP5.js +0 -78
- package/dist/chunks/chunk-KYAIMBP5.js.map +0 -1
- package/dist/chunks/chunk-LNISKMIL.js +0 -6063
- package/dist/chunks/chunk-LNISKMIL.js.map +0 -1
- package/dist/chunks/chunk-LNKJEW5E.js +0 -627
- package/dist/chunks/chunk-LNKJEW5E.js.map +0 -1
- package/dist/chunks/chunk-LXJA3VP2.js +0 -72
- package/dist/chunks/chunk-LXJA3VP2.js.map +0 -1
- package/dist/chunks/chunk-MLT7V47R.js +0 -100
- package/dist/chunks/chunk-MLT7V47R.js.map +0 -1
- package/dist/chunks/chunk-N5FPZNMX.js +0 -43
- package/dist/chunks/chunk-N5FPZNMX.js.map +0 -1
- package/dist/chunks/chunk-NHA53UTY.js.map +0 -1
- package/dist/chunks/chunk-NZQKGIJP.js.map +0 -1
- package/dist/chunks/chunk-O6WEZVEM.js +0 -43
- package/dist/chunks/chunk-O6WEZVEM.js.map +0 -1
- package/dist/chunks/chunk-OIRWOI3E.js.map +0 -1
- package/dist/chunks/chunk-PWOY6REC.js +0 -6064
- package/dist/chunks/chunk-PWOY6REC.js.map +0 -1
- package/dist/chunks/chunk-QJELKGWM.js +0 -6061
- package/dist/chunks/chunk-QJELKGWM.js.map +0 -1
- package/dist/chunks/chunk-QUB54PXZ.js +0 -50
- package/dist/chunks/chunk-QUB54PXZ.js.map +0 -1
- package/dist/chunks/chunk-RX3BRYYI.js +0 -59
- package/dist/chunks/chunk-RX3BRYYI.js.map +0 -1
- package/dist/chunks/chunk-UEEMM6H2.js +0 -6090
- package/dist/chunks/chunk-UEEMM6H2.js.map +0 -1
- package/dist/chunks/chunk-UFYWCLXF.js +0 -10
- package/dist/chunks/chunk-UFYWCLXF.js.map +0 -1
- package/dist/chunks/chunk-UN2IFSGC.js +0 -1
- package/dist/chunks/chunk-VAPB5TN4.js +0 -46
- package/dist/chunks/chunk-VAPB5TN4.js.map +0 -1
- package/dist/chunks/chunk-VBF3GCZK.js +0 -50
- package/dist/chunks/chunk-VBF3GCZK.js.map +0 -1
- package/dist/chunks/chunk-W4272Q5U.js.map +0 -1
- package/dist/chunks/chunk-WWN5AD6V.js.map +0 -1
- package/dist/chunks/chunk-X226BX2U.js +0 -78
- package/dist/chunks/chunk-X226BX2U.js.map +0 -1
- package/dist/chunks/chunk-XCHS3RTZ.js +0 -107
- package/dist/chunks/chunk-XCHS3RTZ.js.map +0 -1
- package/dist/chunks/chunk-YFC3BVN2.js +0 -78
- package/dist/chunks/chunk-YFC3BVN2.js.map +0 -1
- package/dist/chunks/chunk-YOXF6JPS.js.map +0 -1
- package/dist/chunks/chunk-YQB6YLNW.js +0 -78
- package/dist/chunks/chunk-YQB6YLNW.js.map +0 -1
- package/dist/chunks/chunk-Z5THRO6Z.js +0 -46
- package/dist/chunks/chunk-Z5THRO6Z.js.map +0 -1
- package/dist/chunks/chunk-ZHAJ3CMP.js +0 -6091
- package/dist/chunks/chunk-ZHAJ3CMP.js.map +0 -1
- package/dist/chunks/chunk-ZPNJ2HP5.js +0 -71
- package/dist/chunks/chunk-ZPNJ2HP5.js.map +0 -1
- package/dist/chunks/chunk-ZQXZ6PK7.js +0 -649
- package/dist/chunks/chunk-ZQXZ6PK7.js.map +0 -1
- package/dist/custom-element-eslint-rules.js +0 -337
- package/dist/custom-elements.json +0 -27158
- package/dist/loader/index.d.ts +0 -20
- package/dist/loader/index.js +0 -310
- package/dist/loader/index.js.map +0 -1
- package/dist/qti-components/index.cjs +0 -6773
- package/dist/qti-components/index.cjs.map +0 -1
- package/dist/qti-components/index.d.cts +0 -150
- package/dist/qti-item/components/index.d.ts +0 -3
- package/dist/qti-item/components/index.js +0 -3856
- package/dist/qti-item/components/index.js.map +0 -1
- package/dist/qti-item/components/item-container.d.ts +0 -40
- package/dist/qti-item/components/item-container.js +0 -3856
- package/dist/qti-item/components/item-container.js.map +0 -1
- package/dist/qti-item/index.cjs +0 -89
- package/dist/qti-item/index.cjs.map +0 -1
- package/dist/qti-item/index.d.cts +0 -24
- package/dist/qti-item/index.d.ts +0 -4
- package/dist/qti-item/index.js +0 -3869
- package/dist/qti-item/index.js.map +0 -1
- package/dist/qti-item/qti-item.d.ts +0 -25
- package/dist/qti-item/qti-item.js +0 -26
- package/dist/qti-item/qti-item.js.map +0 -1
- package/dist/qti-loader/index.cjs +0 -332
- package/dist/qti-loader/index.cjs.map +0 -1
- package/dist/qti-loader/index.d.cts +0 -20
- package/dist/qti-response-declaration-DAeBp8HH.d.ts +0 -1008
- package/dist/qti-response-declaration-ucAqd0qK.d.ts +0 -1034
- package/dist/qti-simple-choice-3M44uWiN.d.ts +0 -1153
- package/dist/qti-simple-choice-B5GnzbqW.d.ts +0 -1080
- package/dist/qti-simple-choice-BOLF9wXz.d.ts +0 -1170
- package/dist/qti-simple-choice-BeixIkA0.d.ts +0 -1088
- package/dist/qti-simple-choice-BiEjEO6s.d.ts +0 -1152
- package/dist/qti-simple-choice-Bo_ikO6H.d.ts +0 -1198
- package/dist/qti-simple-choice-C0CcrtK5.d.ts +0 -1169
- package/dist/qti-simple-choice-Cgh1-Jbr.d.cts +0 -1185
- package/dist/qti-simple-choice-Cgh1-Jbr.d.ts +0 -1185
- package/dist/qti-simple-choice-Cn5y-Ta8.d.ts +0 -1158
- package/dist/qti-simple-choice-D0GiMrqD.d.ts +0 -1168
- package/dist/qti-simple-choice-DxWcdKHi.d.ts +0 -1158
- package/dist/qti-simple-choice-R_LxBTp8.d.ts +0 -1158
- package/dist/qti-simple-choice-hAIyfF0z.d.ts +0 -1114
- package/dist/qti-simple-choice-o4rje1RA.d.ts +0 -1176
- package/dist/qti-simple-choice-v2GxpPNh.d.ts +0 -1181
- package/dist/qti-test/components/test-component.abstract.d.ts +0 -26
- package/dist/qti-test/components/test-component.abstract.js +0 -11
- package/dist/qti-test/components/test-next.spec.css +0 -2481
- package/dist/qti-test/components/test-next.spec.css.map +0 -1
- package/dist/qti-test/components/test-next.spec.d.ts +0 -13
- package/dist/qti-test/components/test-next.spec.js +0 -45904
- package/dist/qti-test/components/test-next.spec.js.map +0 -1
- package/dist/qti-test/context/index.d.ts +0 -6
- package/dist/qti-test/context/index.js +0 -9
- package/dist/qti-test/context/index.js.map +0 -1
- package/dist/qti-test/context/test.context.d.ts +0 -6
- package/dist/qti-test/context/test.context.js +0 -9
- package/dist/qti-test/context/test.context.js.map +0 -1
- package/dist/qti-test/index.cjs +0 -4823
- package/dist/qti-test/index.cjs.map +0 -1
- package/dist/qti-test/index.d.cts +0 -304
- package/dist/qti-test/index.d.ts +0 -14
- package/dist/qti-test/index.js +0 -4746
- package/dist/qti-test/index.js.map +0 -1
- package/dist/qti-test/mixins/index.d.ts +0 -8
- package/dist/qti-test/mixins/index.js +0 -350
- package/dist/qti-test/mixins/index.js.map +0 -1
- package/dist/qti-test/mixins/test-loader.mixin.d.ts +0 -8
- package/dist/qti-test/mixins/test-loader.mixin.js +0 -240
- package/dist/qti-test/mixins/test-loader.mixin.js.map +0 -1
- package/dist/qti-test/mixins/test-navigation.mixin.d.ts +0 -22
- package/dist/qti-test/mixins/test-navigation.mixin.js +0 -64
- package/dist/qti-test/mixins/test-navigation.mixin.js.map +0 -1
- package/dist/qti-test/mixins/test-view.mixin.d.ts +0 -6
- package/dist/qti-test/mixins/test-view.mixin.js +0 -50
- package/dist/qti-test/mixins/test-view.mixin.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/index.d.ts +0 -6
- package/dist/qti-test/qti-assessment-test/index.js +0 -221
- package/dist/qti-test/qti-assessment-test/index.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.d.ts +0 -6
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js +0 -85
- package/dist/qti-test/qti-assessment-test/qti-assessment-item-ref.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.d.ts +0 -6
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.js +0 -73
- package/dist/qti-test/qti-assessment-test/qti-assessment-section.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.d.ts +0 -6
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.js +0 -54
- package/dist/qti-test/qti-assessment-test/qti-assessment-test.js.map +0 -1
- package/dist/qti-test/qti-assessment-test/qti-test-part.d.ts +0 -19
- package/dist/qti-test/qti-assessment-test/qti-test-part.js +0 -62
- package/dist/qti-test/qti-assessment-test/qti-test-part.js.map +0 -1
- package/dist/qti-test/qti-test.d.ts +0 -68
- package/dist/qti-test/qti-test.js +0 -500
- package/dist/qti-test/qti-test.js.map +0 -1
- package/dist/qti-test/test-base.d.ts +0 -6
- package/dist/qti-test/test-base.js +0 -137
- package/dist/qti-test/test-base.js.map +0 -1
- package/dist/qti-transformers/index.cjs +0 -316
- package/dist/qti-transformers/index.cjs.map +0 -1
- package/dist/qti-transformers/index.d.cts +0 -75
- package/dist/test-base-BJwG9Ie8.d.ts +0 -109
- package/dist/test.context-Bx-606B3.d.ts +0 -99
- package/dist/test.context-CB5V4xJz.d.ts +0 -99
- package/dist/test.context-CaENAJNk.d.ts +0 -101
- package/dist/test.context-CmsDQ8k2.d.ts +0 -99
- package/dist/transformers/index.d.ts +0 -76
- package/dist/transformers/index.js +0 -293
- package/dist/transformers/index.js.map +0 -1
- /package/cdn/{chunk-22HAPLRD.js → chunks/chunk-MTNLMWSG.js} +0 -0
- /package/dist/{chunk-44VE5POH.js.map → chunks/chunk-CBYNKDSF.js.map} +0 -0
- /package/dist/chunks/{chunk-XSI6FXGD.js.map → chunk-OOQLWOYU.js.map} +0 -0
- /package/dist/{chunk-MAC76UNI.js.map → exports/computed.context.js.map} +0 -0
- /package/dist/{chunks/chunk-HOTNM5DT.js.map → exports/config.context.js.map} +0 -0
- /package/dist/{chunks/chunk-UN2IFSGC.js.map → exports/session.context.js.map} +0 -0
- /package/dist/{qti-test/components/test-component.abstract.js.map → exports/test.context.js.map} +0 -0
|
@@ -1,713 +0,0 @@
|
|
|
1
|
-
import"../../chunk-DC2R556M.js";import"../../chunk-6WNSQ7U6.js";import"../../chunk-GALSGMIP.js";import"../../chunk-SQDSHH6N.js";import"../../chunk-L4TDHAKL.js";import"../../chunk-LVW3MHTI.js";import"../../chunk-22HAPLRD.js";import"../../chunk-4I75QSIL.js";import"../../chunk-QGKK4T2J.js";import"../../chunk-A536ZOJJ.js";import"../../chunk-ROXN2HIJ.js";import"../../chunk-BLKKKK6C.js";import"../../chunk-MFWSHIPH.js";import"../../chunk-KYOTSBCX.js";import"../../chunk-IXSX4SJX.js";import"../../chunk-M6AATWPS.js";import"../../chunk-5WCOPF7O.js";import{d as O0,i as P0}from"../../chunk-4DFVJE2A.js";import{a as It,b as se,c as RF,d as Sl,f as At}from"../../chunk-VI2WKTN4.js";var sm=se((R1e,$2)=>{"use strict";var im=Object.defineProperty,j4=Object.getOwnPropertyDescriptor,F4=Object.getOwnPropertyNames,k4=Object.prototype.hasOwnProperty,L4=(e,t)=>{for(var r in t)im(e,r,{get:t[r],enumerable:!0})},$4=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of F4(t))!k4.call(e,o)&&o!==r&&im(e,o,{get:()=>t[o],enumerable:!(n=j4(t,o))||n.enumerable});return e},U4=e=>$4(im({},"__esModule",{value:!0}),e),L2={};L4(L2,{global:()=>H4});$2.exports=U4(L2);var H4=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})()});var Vt=se((T1e,z2)=>{"use strict";var z4=Object.create,rs=Object.defineProperty,V4=Object.getOwnPropertyDescriptor,G4=Object.getOwnPropertyNames,W4=Object.getPrototypeOf,Y4=Object.prototype.hasOwnProperty,Er=(e,t)=>rs(e,"name",{value:t,configurable:!0}),K4=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),J4=(e,t)=>{for(var r in t)rs(e,r,{get:t[r],enumerable:!0})},U2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of G4(t))!Y4.call(e,o)&&o!==r&&rs(e,o,{get:()=>t[o],enumerable:!(n=V4(t,o))||n.enumerable});return e},X4=(e,t,r)=>(r=e!=null?z4(W4(e)):{},U2(t||!e||!e.__esModule?rs(r,"default",{value:e,enumerable:!0}):r,e)),Q4=e=>U2(rs({},"__esModule",{value:!0}),e),Z4=K4((e,t)=>{"use strict";var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=Er((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=Er((p,h,m,y)=>{if(h&&typeof h=="object"||typeof h=="function")for(let b of o(h))!i.call(p,b)&&b!==m&&r(p,b,{get:Er(()=>h[b],"get"),enumerable:!(y=n(h,b))||y.enumerable});return p},"__copyProps"),u=Er(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),c={};s(c,{global:Er(()=>d,"global")}),t.exports=u(c);var d=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),H2={};J4(H2,{deprecate:()=>n$,logger:()=>Gl,once:()=>cr,pretty:()=>Br});z2.exports=Q4(H2);var e$=X4(Z4(),1),{LOGLEVEL:t$}=e$.global,In={trace:1,debug:2,info:3,warn:4,error:5,silent:10},r$=t$,la=In[r$]||In.info,Gl={trace:Er((e,...t)=>{la<=In.trace&&console.trace(e,...t)},"trace"),debug:Er((e,...t)=>{la<=In.debug&&console.debug(e,...t)},"debug"),info:Er((e,...t)=>{la<=In.info&&console.info(e,...t)},"info"),warn:Er((e,...t)=>{la<=In.warn&&console.warn(e,...t)},"warn"),error:Er((e,...t)=>{la<=In.error&&console.error(e,...t)},"error"),log:Er((e,...t)=>{la<In.silent&&console.log(e,...t)},"log")},lm=new Set,cr=Er(e=>(t,...r)=>{if(!lm.has(t))return lm.add(t),Gl[e](t,...r)},"once");cr.clear=()=>lm.clear();cr.trace=cr("trace");cr.debug=cr("debug");cr.info=cr("info");cr.warn=cr("warn");cr.error=cr("error");cr.log=cr("log");var n$=cr("warn"),Br=Er(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,i;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));i=n.exec(t[0]);)r.push(i[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}Gl[e].apply(Gl,r)},"pretty");Br.trace=Br("trace");Br.debug=Br("debug");Br.info=Br("info");Br.warn=Br("warn");Br.error=Br("error")});var um=se((x1e,V2)=>{V2.exports=Vt()});var Xr=se((q1e,W2)=>{"use strict";var cm=Object.defineProperty,o$=Object.getOwnPropertyDescriptor,a$=Object.getOwnPropertyNames,i$=Object.prototype.hasOwnProperty,s$=(e,t)=>{for(var r in t)cm(e,r,{get:t[r],enumerable:!0})},l$=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of a$(t))!i$.call(e,o)&&o!==r&&cm(e,o,{get:()=>t[o],enumerable:!(n=o$(t,o))||n.enumerable});return e},u$=e=>l$(cm({},"__esModule",{value:!0}),e),G2={};s$(G2,{ARGTYPES_INFO_REQUEST:()=>c9,ARGTYPES_INFO_RESPONSE:()=>d9,CHANNEL_CREATED:()=>p$,CHANNEL_WS_DISCONNECT:()=>d$,CONFIG_ERROR:()=>f$,CREATE_NEW_STORYFILE_REQUEST:()=>h$,CREATE_NEW_STORYFILE_RESPONSE:()=>m$,CURRENT_STORY_WAS_SET:()=>y$,DOCS_PREPARED:()=>g$,DOCS_RENDERED:()=>b$,FILE_COMPONENT_SEARCH_REQUEST:()=>v$,FILE_COMPONENT_SEARCH_RESPONSE:()=>E$,FORCE_REMOUNT:()=>_$,FORCE_RE_RENDER:()=>w$,GLOBALS_UPDATED:()=>S$,NAVIGATE_URL:()=>A$,PLAY_FUNCTION_THREW_EXCEPTION:()=>C$,PRELOAD_ENTRIES:()=>T$,PREVIEW_BUILDER_PROGRESS:()=>x$,PREVIEW_KEYDOWN:()=>q$,REGISTER_SUBSCRIPTION:()=>O$,REQUEST_WHATS_NEW_DATA:()=>n9,RESET_STORY_ARGS:()=>P$,RESULT_WHATS_NEW_DATA:()=>o9,SAVE_STORY_REQUEST:()=>l9,SAVE_STORY_RESPONSE:()=>u9,SELECT_STORY:()=>D$,SET_CONFIG:()=>I$,SET_CURRENT_STORY:()=>M$,SET_FILTER:()=>N$,SET_GLOBALS:()=>B$,SET_INDEX:()=>j$,SET_STORIES:()=>F$,SET_WHATS_NEW_CACHE:()=>a9,SHARED_STATE_CHANGED:()=>k$,SHARED_STATE_SET:()=>L$,STORIES_COLLAPSE_ALL:()=>$$,STORIES_EXPAND_ALL:()=>U$,STORY_ARGS_UPDATED:()=>H$,STORY_CHANGED:()=>z$,STORY_ERRORED:()=>V$,STORY_INDEX_INVALIDATED:()=>G$,STORY_MISSING:()=>W$,STORY_PREPARED:()=>Y$,STORY_RENDERED:()=>J$,STORY_RENDER_PHASE_CHANGED:()=>K$,STORY_SPECIFIED:()=>X$,STORY_THREW_EXCEPTION:()=>Q$,STORY_UNCHANGED:()=>Z$,TELEMETRY_ERROR:()=>s9,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>y9,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>g9,TESTING_MODULE_CRASH_REPORT:()=>p9,TESTING_MODULE_PROGRESS_REPORT:()=>f9,TESTING_MODULE_RUN_ALL_REQUEST:()=>m9,TESTING_MODULE_RUN_REQUEST:()=>h9,TESTING_MODULE_WATCH_MODE_REQUEST:()=>b9,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>i9,UNHANDLED_ERRORS_WHILE_PLAYING:()=>R$,UPDATE_GLOBALS:()=>e9,UPDATE_QUERY_PARAMS:()=>t9,UPDATE_STORY_ARGS:()=>r9,default:()=>c$});W2.exports=u$(G2);var dm=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e.TESTING_MODULE_WATCH_MODE_REQUEST="testingModuleWatchModeRequest",e))(dm||{}),c$=dm,{CHANNEL_WS_DISCONNECT:d$,CHANNEL_CREATED:p$,CONFIG_ERROR:f$,CREATE_NEW_STORYFILE_REQUEST:h$,CREATE_NEW_STORYFILE_RESPONSE:m$,CURRENT_STORY_WAS_SET:y$,DOCS_PREPARED:g$,DOCS_RENDERED:b$,FILE_COMPONENT_SEARCH_REQUEST:v$,FILE_COMPONENT_SEARCH_RESPONSE:E$,FORCE_RE_RENDER:w$,FORCE_REMOUNT:_$,GLOBALS_UPDATED:S$,NAVIGATE_URL:A$,PLAY_FUNCTION_THREW_EXCEPTION:C$,UNHANDLED_ERRORS_WHILE_PLAYING:R$,PRELOAD_ENTRIES:T$,PREVIEW_BUILDER_PROGRESS:x$,PREVIEW_KEYDOWN:q$,REGISTER_SUBSCRIPTION:O$,RESET_STORY_ARGS:P$,SELECT_STORY:D$,SET_CONFIG:I$,SET_CURRENT_STORY:M$,SET_FILTER:N$,SET_GLOBALS:B$,SET_INDEX:j$,SET_STORIES:F$,SHARED_STATE_CHANGED:k$,SHARED_STATE_SET:L$,STORIES_COLLAPSE_ALL:$$,STORIES_EXPAND_ALL:U$,STORY_ARGS_UPDATED:H$,STORY_CHANGED:z$,STORY_ERRORED:V$,STORY_INDEX_INVALIDATED:G$,STORY_MISSING:W$,STORY_PREPARED:Y$,STORY_RENDER_PHASE_CHANGED:K$,STORY_RENDERED:J$,STORY_SPECIFIED:X$,STORY_THREW_EXCEPTION:Q$,STORY_UNCHANGED:Z$,UPDATE_GLOBALS:e9,UPDATE_QUERY_PARAMS:t9,UPDATE_STORY_ARGS:r9,REQUEST_WHATS_NEW_DATA:n9,RESULT_WHATS_NEW_DATA:o9,SET_WHATS_NEW_CACHE:a9,TOGGLE_WHATS_NEW_NOTIFICATIONS:i9,TELEMETRY_ERROR:s9,SAVE_STORY_REQUEST:l9,SAVE_STORY_RESPONSE:u9,ARGTYPES_INFO_REQUEST:c9,ARGTYPES_INFO_RESPONSE:d9,TESTING_MODULE_CRASH_REPORT:p9,TESTING_MODULE_PROGRESS_REPORT:f9,TESTING_MODULE_RUN_REQUEST:h9,TESTING_MODULE_RUN_ALL_REQUEST:m9,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:y9,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:g9,TESTING_MODULE_WATCH_MODE_REQUEST:b9}=dm});var K2=se((O1e,Y2)=>{Y2.exports=Xr()});var J2=se((exports,module)=>{"use strict";var Ce=Object.create,q=Object.defineProperty,Ae=Object.getOwnPropertyDescriptor,xe=Object.getOwnPropertyNames,Ie=Object.getPrototypeOf,je=Object.prototype.hasOwnProperty,a=(e,t)=>q(e,"name",{value:t,configurable:!0}),z=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Te=(e,t)=>{for(var r in t)q(e,r,{get:t[r],enumerable:!0})},ie=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of xe(t))!je.call(e,o)&&o!==r&&q(e,o,{get:()=>t[o],enumerable:!(n=Ae(t,o))||n.enumerable});return e},j=(e,t,r)=>(r=e!=null?Ce(Ie(e)):{},ie(t||!e||!e.__esModule?q(r,"default",{value:e,enumerable:!0}):r,e)),Me=e=>ie(q({},"__esModule",{value:!0}),e),Z=z((e,t)=>{"use strict";var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=a((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=a((p,h,m,y)=>{if(h&&typeof h=="object"||typeof h=="function")for(let b of o(h))!i.call(p,b)&&b!==m&&r(p,b,{get:a(()=>h[b],"get"),enumerable:!(y=n(h,b))||y.enumerable});return p},"__copyProps"),u=a(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),c={};s(c,{global:a(()=>d,"global")}),t.exports=u(c);var d=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),ue=z((e,t)=>{function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}a(r,"Similar"),r.prototype.get=function(n){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,n))return this.lastItem.val;if(o=this.indexOf(n),o>=0)return this.lastItem=this.list[o],this.list[o].val},r.prototype.set=function(n,o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,n)?(this.lastItem.val=o,this):(i=this.indexOf(n),i>=0?(this.lastItem=this.list[i],this.list[i].val=o,this):(this.lastItem={key:n,val:o},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(n){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,n)&&(this.lastItem=void 0),o=this.indexOf(n),o>=0)return this.size--,this.list.splice(o,1)[0]},r.prototype.has=function(n){var o;return this.lastItem&&this.isEqual(this.lastItem.key,n)?!0:(o=this.indexOf(n),o>=0?(this.lastItem=this.list[o],!0):!1)},r.prototype.forEach=function(n,o){var i;for(i=0;i<this.size;i++)n.call(o||this,this.list[i].val,this.list[i].key,this)},r.prototype.indexOf=function(n){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,n))return o;return-1},r.prototype.isEqual=function(n,o){return n===o||n!==n&&o!==o},t.exports=r}),pe=z((e,t)=>{t.exports=function(r){if(typeof Map!="function"||r){var n=ue();return new n}else return new Map}}),he=z((e,t)=>{var r=pe();t.exports=function(s){var l=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),u=[];return function(c){var d=a(function(){var p=l,h,m,y=arguments.length-1,b=Array(y+1),E=!0,g;if((d.numArgs||d.numArgs===0)&&d.numArgs!==y+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(g=0;g<y;g++){if(b[g]={cacheItem:p,arg:arguments[g]},p.has(arguments[g])){p=p.get(arguments[g]);continue}E=!1,h=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),p.set(arguments[g],h),p=h}return E&&(p.has(arguments[y])?m=p.get(arguments[y]):E=!1),E||(m=c.apply(null,arguments),p.set(arguments[y],m)),s>0&&(b[y]={cacheItem:p,arg:arguments[y]},E?n(u,b):u.push(b),u.length>s&&o(u.shift())),d.wasMemoized=E,d.numArgs=y+1,m},"memoizerific");return d.limit=s,d.wasMemoized=!1,d.cache=l,d.lru=u,d}};function n(s,l){var u=s.length,c=l.length,d,p,h;for(p=0;p<u;p++){for(d=!0,h=0;h<c;h++)if(!i(s[p][h].arg,l[h].arg)){d=!1;break}if(d)break}s.push(s.splice(p,1)[0])}a(n,"moveToMostRecentLru");function o(s){var l=s.length,u=s[l-1],c,d;for(u.cacheItem.delete(u.arg),d=l-2;d>=0&&(u=s[d],c=u.cacheItem.get(u.arg),!c||!c.size);d--)u.cacheItem.delete(u.arg)}a(o,"removeCachedResult");function i(s,l){return s===l||s!==s&&l!==l}a(i,"isEqual")}),ee=z((exports,module)=>{"use strict";var __create=Object.create,__defProp=Object.defineProperty,__getOwnPropDesc=Object.getOwnPropertyDescriptor,__getOwnPropNames=Object.getOwnPropertyNames,__getProtoOf=Object.getPrototypeOf,__hasOwnProp=Object.prototype.hasOwnProperty,__commonJS=a((e,t)=>a(function(){return t||(0,e[__getOwnPropNames(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),__export=a((e,t)=>{for(var r in t)__defProp(e,r,{get:t[r],enumerable:!0})},"__export"),__copyProps=a((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of __getOwnPropNames(t))!__hasOwnProp.call(e,o)&&o!==r&&__defProp(e,o,{get:a(()=>t[o],"get"),enumerable:!(n=__getOwnPropDesc(t,o))||n.enumerable});return e},"__copyProps"),__toESM=a((e,t,r)=>(r=e!=null?__create(__getProtoOf(e)):{},__copyProps(t||!e||!e.__esModule?__defProp(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),__toCommonJS=a(e=>__copyProps(__defProp({},"__esModule",{value:!0}),e),"__toCommonJS"),require_shams=__commonJS({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=a(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),require_has_symbols=__commonJS({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=require_shams();t.exports=a(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),require_implementation=__commonJS({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=a(function(s){var l=this;if(typeof l!="function"||o.call(l)!==i)throw new TypeError(r+l);for(var u=n.call(arguments,1),c,d=a(function(){if(this instanceof c){var b=l.apply(this,u.concat(n.call(arguments)));return Object(b)===b?b:this}else return l.apply(s,u.concat(n.call(arguments)))},"binder"),p=Math.max(0,l.length-u.length),h=[],m=0;m<p;m++)h.push("$"+m);if(c=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this,arguments); }")(d),l.prototype){var y=a(function(){},"Empty2");y.prototype=l.prototype,c.prototype=new y,y.prototype=null}return c},"bind")}}),require_function_bind=__commonJS({"node_modules/function-bind/index.js"(e,t){"use strict";var r=require_implementation();t.exports=Function.prototype.bind||r}}),require_src=__commonJS({"node_modules/has/src/index.js"(e,t){"use strict";var r=require_function_bind();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),require_get_intrinsic=__commonJS({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,n=SyntaxError,o=Function,i=TypeError,s=a(function(Y){try{return o('"use strict"; return ('+Y+").constructor;")()}catch{}},"getEvalledConstructor"),l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var u=a(function(){throw new i},"throwTypeError"),c=l?function(){try{return arguments.callee,u}catch{try{return l(arguments,"callee").get}catch{return u}}}():u,d=require_has_symbols()(),p=Object.getPrototypeOf||function(Y){return Y.__proto__},h={},m=typeof Uint8Array>"u"?r:p(Uint8Array),y={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!d?r:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!d?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":m,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},b=a(function Y(K){var _;if(K==="%AsyncFunction%")_=s("async function () {}");else if(K==="%GeneratorFunction%")_=s("function* () {}");else if(K==="%AsyncGeneratorFunction%")_=s("async function* () {}");else if(K==="%AsyncGenerator%"){var P=Y("%AsyncGeneratorFunction%");P&&(_=P.prototype)}else if(K==="%AsyncIteratorPrototype%"){var N=Y("%AsyncGenerator%");N&&(_=p(N.prototype))}return y[K]=_,_},"doEval2"),E={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=require_function_bind(),w=require_src(),O=g.call(Function.call,Array.prototype.concat),A=g.call(Function.apply,Array.prototype.splice),S=g.call(Function.call,String.prototype.replace),T=g.call(Function.call,String.prototype.slice),C=g.call(Function.call,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,W=a(function(Y){var K=T(Y,0,1),_=T(Y,-1);if(K==="%"&&_!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(_==="%"&&K!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var P=[];return S(Y,x,function(N,le,ce,Re){P[P.length]=ce?S(Re,I,"$1"):le||N}),P},"stringToPath3"),X=a(function(Y,K){var _=Y,P;if(w(E,_)&&(P=E[_],_="%"+P[0]+"%"),w(y,_)){var N=y[_];if(N===h&&(N=b(_)),typeof N>"u"&&!K)throw new i("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:P,name:_,value:N}}throw new n("intrinsic "+Y+" does not exist!")},"getBaseIntrinsic2");t.exports=a(function(Y,K){if(typeof Y!="string"||Y.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof K!="boolean")throw new i('"allowMissing" argument must be a boolean');if(C(/^%?[^%]*%?$/,Y)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var _=W(Y),P=_.length>0?_[0]:"",N=X("%"+P+"%",K),le=N.name,ce=N.value,Re=!1,Ne=N.alias;Ne&&(P=Ne[0],A(_,O([0,1],Ne)));for(var De=1,ye=!0;De<_.length;De+=1){var de=_[De],Ee=T(de,0,1),qe=T(de,-1);if((Ee==='"'||Ee==="'"||Ee==="`"||qe==='"'||qe==="'"||qe==="`")&&Ee!==qe)throw new n("property names with quotes must have matching quotes");if((de==="constructor"||!ye)&&(Re=!0),P+="."+de,le="%"+P+"%",w(y,le))ce=y[le];else if(ce!=null){if(!(de in ce)){if(!K)throw new i("base intrinsic for "+Y+" exists, but the property is not available.");return}if(l&&De+1>=_.length){var Le=l(ce,de);ye=!!Le,ye&&"get"in Le&&!("originalValue"in Le.get)?ce=Le.get:ce=ce[de]}else ye=w(ce,de),ce=ce[de];ye&&!Re&&(y[le]=ce)}}return ce},"GetIntrinsic")}}),require_call_bind=__commonJS({"node_modules/call-bind/index.js"(e,t){"use strict";var r=require_function_bind(),n=require_get_intrinsic(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,o),l=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=a(function(p){var h=s(r,i,arguments);if(l&&u){var m=l(h,"length");m.configurable&&u(h,"length",{value:1+c(0,p.length-(arguments.length-1))})}return h},"callBind");var d=a(function(){return s(r,o,arguments)},"applyBind2");u?u(t.exports,"apply",{value:d}):t.exports.apply=d}}),require_callBound=__commonJS({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=require_get_intrinsic(),n=require_call_bind(),o=n(r("String.prototype.indexOf"));t.exports=a(function(i,s){var l=r(i,!!s);return typeof l=="function"&&o(i,".prototype.")>-1?n(l):l},"callBoundIntrinsic")}}),require_shams2=__commonJS({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=require_shams();t.exports=a(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),require_is_regex=__commonJS({"node_modules/is-regex/index.js"(e,t){"use strict";var r=require_callBound(),n=require_shams2()(),o,i,s,l;n&&(o=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),s={},u=a(function(){throw s},"throwRegexMarker"),l={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=u));var u,c=r("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=a(n?function(h){if(!h||typeof h!="object")return!1;var m=d(h,"lastIndex"),y=m&&o(m,"value");if(!y)return!1;try{i(h,l)}catch(b){return b===s}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:c(h)===p},"isRegex")}}),require_is_function=__commonJS({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}a(n,"isFunction3")}}),require_is_symbol=__commonJS({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=require_has_symbols()();n?(o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,s=a(function(l){return typeof l.valueOf()!="symbol"?!1:i.test(o.call(l))},"isRealSymbolObject"),t.exports=a(function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}},"isSymbol3")):t.exports=a(function(l){return!1},"isSymbol3");var o,i,s}}),src_exports={};__export(src_exports,{isJSON:a(()=>isJSON,"isJSON"),parse:a(()=>parse,"parse"),replacer:a(()=>replacer,"replacer"),reviver:a(()=>reviver2,"reviver"),stringify:a(()=>stringify,"stringify")}),module.exports=__toCommonJS(src_exports);var import_is_regex=__toESM(require_is_regex()),import_is_function=__toESM(require_is_function()),import_is_symbol=__toESM(require_is_symbol());function isObject(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}a(isObject,"isObject");var freeGlobal=typeof global=="object"&&global&&global.Object===Object&&global,freeGlobal_default=freeGlobal,freeSelf=typeof self=="object"&&self&&self.Object===Object&&self,root2=freeGlobal_default||freeSelf||Function("return this")(),root_default=root2,Symbol2=root_default.Symbol,Symbol_default=Symbol2,objectProto=Object.prototype,hasOwnProperty=objectProto.hasOwnProperty,nativeObjectToString=objectProto.toString,symToStringTag=Symbol_default?Symbol_default.toStringTag:void 0;function getRawTag(e){var t=hasOwnProperty.call(e,symToStringTag),r=e[symToStringTag];try{e[symToStringTag]=void 0;var n=!0}catch{}var o=nativeObjectToString.call(e);return n&&(t?e[symToStringTag]=r:delete e[symToStringTag]),o}a(getRawTag,"getRawTag");var getRawTag_default=getRawTag,objectProto2=Object.prototype,nativeObjectToString2=objectProto2.toString;function objectToString(e){return nativeObjectToString2.call(e)}a(objectToString,"objectToString");var objectToString_default=objectToString,nullTag="[object Null]",undefinedTag="[object Undefined]",symToStringTag2=Symbol_default?Symbol_default.toStringTag:void 0;function baseGetTag(e){return e==null?e===void 0?undefinedTag:nullTag:symToStringTag2&&symToStringTag2 in Object(e)?getRawTag_default(e):objectToString_default(e)}a(baseGetTag,"baseGetTag");var baseGetTag_default=baseGetTag;function isObjectLike(e){return e!=null&&typeof e=="object"}a(isObjectLike,"isObjectLike");var isObjectLike_default=isObjectLike,symbolTag="[object Symbol]";function isSymbol(e){return typeof e=="symbol"||isObjectLike_default(e)&&baseGetTag_default(e)==symbolTag}a(isSymbol,"isSymbol");var isSymbol_default=isSymbol;function arrayMap(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}a(arrayMap,"arrayMap");var arrayMap_default=arrayMap,isArray=Array.isArray,isArray_default=isArray,INFINITY=1/0,symbolProto=Symbol_default?Symbol_default.prototype:void 0,symbolToString=symbolProto?symbolProto.toString:void 0;function baseToString(e){if(typeof e=="string")return e;if(isArray_default(e))return arrayMap_default(e,baseToString)+"";if(isSymbol_default(e))return symbolToString?symbolToString.call(e):"";var t=e+"";return t=="0"&&1/e==-INFINITY?"-0":t}a(baseToString,"baseToString");var baseToString_default=baseToString;function isObject2(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}a(isObject2,"isObject2");var isObject_default=isObject2,asyncTag="[object AsyncFunction]",funcTag="[object Function]",genTag="[object GeneratorFunction]",proxyTag="[object Proxy]";function isFunction(e){if(!isObject_default(e))return!1;var t=baseGetTag_default(e);return t==funcTag||t==genTag||t==asyncTag||t==proxyTag}a(isFunction,"isFunction");var isFunction_default=isFunction,coreJsData=root_default["__core-js_shared__"],coreJsData_default=coreJsData,maskSrcKey=function(){var e=/[^.]+$/.exec(coreJsData_default&&coreJsData_default.keys&&coreJsData_default.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function isMasked(e){return!!maskSrcKey&&maskSrcKey in e}a(isMasked,"isMasked");var isMasked_default=isMasked,funcProto=Function.prototype,funcToString=funcProto.toString;function toSource(e){if(e!=null){try{return funcToString.call(e)}catch{}try{return e+""}catch{}}return""}a(toSource,"toSource");var toSource_default=toSource,reRegExpChar=/[\\^$.*+?()[\]{}|]/g,reIsHostCtor=/^\[object .+?Constructor\]$/,funcProto2=Function.prototype,objectProto3=Object.prototype,funcToString2=funcProto2.toString,hasOwnProperty2=objectProto3.hasOwnProperty,reIsNative=RegExp("^"+funcToString2.call(hasOwnProperty2).replace(reRegExpChar,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function baseIsNative(e){if(!isObject_default(e)||isMasked_default(e))return!1;var t=isFunction_default(e)?reIsNative:reIsHostCtor;return t.test(toSource_default(e))}a(baseIsNative,"baseIsNative");var baseIsNative_default=baseIsNative;function getValue(e,t){return e?.[t]}a(getValue,"getValue");var getValue_default=getValue;function getNative(e,t){var r=getValue_default(e,t);return baseIsNative_default(r)?r:void 0}a(getNative,"getNative");var getNative_default=getNative;function eq(e,t){return e===t||e!==e&&t!==t}a(eq,"eq");var eq_default=eq,reIsDeepProp=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,reIsPlainProp=/^\w*$/;function isKey(e,t){if(isArray_default(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||isSymbol_default(e)?!0:reIsPlainProp.test(e)||!reIsDeepProp.test(e)||t!=null&&e in Object(t)}a(isKey,"isKey");var isKey_default=isKey,nativeCreate=getNative_default(Object,"create"),nativeCreate_default=nativeCreate;function hashClear(){this.__data__=nativeCreate_default?nativeCreate_default(null):{},this.size=0}a(hashClear,"hashClear");var hashClear_default=hashClear;function hashDelete(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}a(hashDelete,"hashDelete");var hashDelete_default=hashDelete,HASH_UNDEFINED="__lodash_hash_undefined__",objectProto4=Object.prototype,hasOwnProperty3=objectProto4.hasOwnProperty;function hashGet(e){var t=this.__data__;if(nativeCreate_default){var r=t[e];return r===HASH_UNDEFINED?void 0:r}return hasOwnProperty3.call(t,e)?t[e]:void 0}a(hashGet,"hashGet");var hashGet_default=hashGet,objectProto5=Object.prototype,hasOwnProperty4=objectProto5.hasOwnProperty;function hashHas(e){var t=this.__data__;return nativeCreate_default?t[e]!==void 0:hasOwnProperty4.call(t,e)}a(hashHas,"hashHas");var hashHas_default=hashHas,HASH_UNDEFINED2="__lodash_hash_undefined__";function hashSet(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=nativeCreate_default&&t===void 0?HASH_UNDEFINED2:t,this}a(hashSet,"hashSet");var hashSet_default=hashSet;function Hash(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])}}a(Hash,"Hash"),Hash.prototype.clear=hashClear_default,Hash.prototype.delete=hashDelete_default,Hash.prototype.get=hashGet_default,Hash.prototype.has=hashHas_default,Hash.prototype.set=hashSet_default;var Hash_default=Hash;function listCacheClear(){this.__data__=[],this.size=0}a(listCacheClear,"listCacheClear");var listCacheClear_default=listCacheClear;function assocIndexOf(e,t){for(var r=e.length;r--;)if(eq_default(e[r][0],t))return r;return-1}a(assocIndexOf,"assocIndexOf");var assocIndexOf_default=assocIndexOf,arrayProto=Array.prototype,splice=arrayProto.splice;function listCacheDelete(e){var t=this.__data__,r=assocIndexOf_default(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():splice.call(t,r,1),--this.size,!0}a(listCacheDelete,"listCacheDelete");var listCacheDelete_default=listCacheDelete;function listCacheGet(e){var t=this.__data__,r=assocIndexOf_default(t,e);return r<0?void 0:t[r][1]}a(listCacheGet,"listCacheGet");var listCacheGet_default=listCacheGet;function listCacheHas(e){return assocIndexOf_default(this.__data__,e)>-1}a(listCacheHas,"listCacheHas");var listCacheHas_default=listCacheHas;function listCacheSet(e,t){var r=this.__data__,n=assocIndexOf_default(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}a(listCacheSet,"listCacheSet");var listCacheSet_default=listCacheSet;function ListCache(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])}}a(ListCache,"ListCache"),ListCache.prototype.clear=listCacheClear_default,ListCache.prototype.delete=listCacheDelete_default,ListCache.prototype.get=listCacheGet_default,ListCache.prototype.has=listCacheHas_default,ListCache.prototype.set=listCacheSet_default;var ListCache_default=ListCache,Map2=getNative_default(root_default,"Map"),Map_default=Map2;function mapCacheClear(){this.size=0,this.__data__={hash:new Hash_default,map:new(Map_default||ListCache_default),string:new Hash_default}}a(mapCacheClear,"mapCacheClear");var mapCacheClear_default=mapCacheClear;function isKeyable(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}a(isKeyable,"isKeyable");var isKeyable_default=isKeyable;function getMapData(e,t){var r=e.__data__;return isKeyable_default(t)?r[typeof t=="string"?"string":"hash"]:r.map}a(getMapData,"getMapData");var getMapData_default=getMapData;function mapCacheDelete(e){var t=getMapData_default(this,e).delete(e);return this.size-=t?1:0,t}a(mapCacheDelete,"mapCacheDelete");var mapCacheDelete_default=mapCacheDelete;function mapCacheGet(e){return getMapData_default(this,e).get(e)}a(mapCacheGet,"mapCacheGet");var mapCacheGet_default=mapCacheGet;function mapCacheHas(e){return getMapData_default(this,e).has(e)}a(mapCacheHas,"mapCacheHas");var mapCacheHas_default=mapCacheHas;function mapCacheSet(e,t){var r=getMapData_default(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}a(mapCacheSet,"mapCacheSet");var mapCacheSet_default=mapCacheSet;function MapCache(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])}}a(MapCache,"MapCache"),MapCache.prototype.clear=mapCacheClear_default,MapCache.prototype.delete=mapCacheDelete_default,MapCache.prototype.get=mapCacheGet_default,MapCache.prototype.has=mapCacheHas_default,MapCache.prototype.set=mapCacheSet_default;var MapCache_default=MapCache,FUNC_ERROR_TEXT="Expected a function";function memoize(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(FUNC_ERROR_TEXT);var r=a(function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s},"memoized");return r.cache=new(memoize.Cache||MapCache_default),r}a(memoize,"memoize"),memoize.Cache=MapCache_default;var memoize_default=memoize,MAX_MEMOIZE_SIZE=500;function memoizeCapped(e){var t=memoize_default(e,function(n){return r.size===MAX_MEMOIZE_SIZE&&r.clear(),n}),r=t.cache;return t}a(memoizeCapped,"memoizeCapped");var memoizeCapped_default=memoizeCapped,rePropName=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,reEscapeChar=/\\(\\)?/g,stringToPath=memoizeCapped_default(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(rePropName,function(r,n,o,i){t.push(o?i.replace(reEscapeChar,"$1"):n||r)}),t}),stringToPath_default=stringToPath;function toString(e){return e==null?"":baseToString_default(e)}a(toString,"toString");var toString_default=toString;function castPath(e,t){return isArray_default(e)?e:isKey_default(e,t)?[e]:stringToPath_default(toString_default(e))}a(castPath,"castPath");var castPath_default=castPath,INFINITY2=1/0;function toKey(e){if(typeof e=="string"||isSymbol_default(e))return e;var t=e+"";return t=="0"&&1/e==-INFINITY2?"-0":t}a(toKey,"toKey");var toKey_default=toKey;function baseGet(e,t){t=castPath_default(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[toKey_default(t[r++])];return r&&r==n?e:void 0}a(baseGet,"baseGet");var baseGet_default=baseGet;function get(e,t,r){var n=e==null?void 0:baseGet_default(e,t);return n===void 0?r:n}a(get,"get");var get_default=get,import_memoizerific=__toESM(he()),eventProperties=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],customEventSpecificProperties=["detail"];function extractEventHiddenProperties(e){let t=eventProperties.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&customEventSpecificProperties.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}a(extractEventHiddenProperties,"extractEventHiddenProperties");var isObject3=isObject,removeCodeComments=a(e=>{let t=null,r=!1,n=!1,o=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;s<e.length;s+=1)!t&&!r&&!n&&!o?e[s]==='"'||e[s]==="'"||e[s]==="`"?t=e[s]:e[s]==="/"&&e[s+1]==="*"?r=!0:e[s]==="/"&&e[s+1]==="/"?n=!0:e[s]==="/"&&e[s+1]!=="/"&&(o=!0):(t&&(e[s]===t&&e[s-1]!=="\\"||e[s]===`
|
|
2
|
-
`&&t!=="`")&&(t=null),o&&(e[s]==="/"&&e[s-1]!=="\\"||e[s]===`
|
|
3
|
-
`)&&(o=!1),r&&e[s-1]==="/"&&e[s-2]==="*"&&(r=!1),n&&e[s]===`
|
|
4
|
-
`&&(n=!1)),!r&&!n&&(i+=e[s]);else i=e;return i},"removeCodeComments"),cleanCode=(0,import_memoizerific.default)(1e4)(e=>removeCodeComments(e).replace(/\n\s*/g,"").trim()),convertShorthandMethods=a(function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},"convertShorthandMethods2"),dateFormat=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,isJSON=a(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function convertUnconventionalData(e){if(!isObject3(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=extractEventHiddenProperties(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}a(convertUnconventionalData,"convertUnconventionalData");var replacer=a(function(e){let t,r,n,o;return a(function(i,s){try{if(i==="")return o=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return dateFormat.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,import_is_regex.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,import_is_function.default)(s)){if(!e.allowFunction)return;let{name:c}=s,d=s.toString();return d.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${cleanCode(convertShorthandMethods(i,d))}`}if((0,import_is_symbol.default)(s)){if(!e.allowSymbol)return;let c=Symbol.keyFor(s);return c!==void 0?`_gsymbol_${c}`:`_symbol_${s.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!e.allowClass)return;let u=t.get(s);if(!u){let c=Array.isArray(s)?s:convertUnconventionalData(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&e.allowClass)try{Object.assign(c,{"_constructor-name_":s.constructor.name})}catch{}return o.push(i),n.unshift(c),t.set(s,JSON.stringify(o)),s!==c&&r.set(s,c),c}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),reviver2=a(function reviver(options){let refs=[],root;return a(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=isJSON(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=get_default(root,n)})),key==="_constructor-name_")return value;if(isObject3(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(isObject3(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=a((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:a(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),defaultOptions={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},stringify=a((e,t={})=>{let r={...defaultOptions,...t};return JSON.stringify(convertUnconventionalData(e),replacer(r),t.space)},"stringify"),mutator=a(()=>{let e=new Map;return a(function t(r){isObject3(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),parse=a((e,t={})=>{let r={...defaultOptions,...t},n=JSON.parse(e,reviver2(r));return mutator()(n),n},"parse")}),Xe={};Te(Xe,{Channel:()=>R,PostMessageTransport:()=>$,WebsocketTransport:()=>L,createBrowserChannel:()=>Ze,default:()=>Ye});module.exports=Me(Xe);var be=j(Z(),1),He=a(e=>e.transports!==void 0,"isMulti"),Ue=a(()=>Math.random().toString(16).slice(2),"generateRandomId"),ua,R=(ua=class{constructor(t={}){this.sender=Ue(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,He(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let i=a(()=>{this.transports.forEach(s=>{s.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(i):i()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=a((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}},a(ua,"Channel"),ua),v=j(Z(),1),D=Vt(),Je=j(Xr(),1),k=j(ee(),1),We=process.env.NODE_ENV==="production",te="Invariant failed";function G(e,t){if(!e){if(We)throw new Error(te);var r=typeof t=="function"?t():t,n=r?"".concat(te,": ").concat(r):te;throw new Error(n)}}a(G,"invariant");var _e=Vt(),ge=a(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(i=>{try{return i.contentWindow?.location.origin===e.source.location.origin&&i.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let s=i.getAttribute("src"),l;try{if(!s)return!1;({origin:l}=new URL(s,document.location.toString()))}catch{return!1}return l===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){let{protocol:i,host:s,pathname:l}=new URL(o,document.location.toString());return`${i}//${s}${l}`}return n.length>0&&_e.logger.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:re,location:ne}=v.global,me="storybook-channel",Be={allowFunction:!1,maxDepth:25},ca,$=(ca=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof v.global?.addEventListener=="function"&&v.global.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:c,allowClass:d,maxDepth:p,space:h,lazyEval:m}=r||{},y=Object.fromEntries(Object.entries({allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:c,allowClass:d,maxDepth:p,space:h,lazyEval:m}).filter(([O,A])=>typeof A<"u")),b={...Be,...v.global.CHANNEL_OPTIONS||{},...y},E=this.getFrames(n),g=new URLSearchParams(ne?.search||""),w=(0,k.stringify)({key:me,event:t,refId:g.get("refId")},b);return E.length?(this.buffer.length&&this.flush(),E.forEach(O=>{try{O.postMessage(w,"*")}catch{D.logger.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((O,A)=>{this.buffer.push({event:t,resolve:O,reject:A})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(re.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r?.length?r:this.getCurrentFrames()}return v.global&&v.global.parent&&v.global.parent!==v.global.self?[v.global.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(re.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):v.global&&v.global.parent?[v.global.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(re.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):v.global&&v.global.parent?[v.global.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:i}=typeof r=="string"&&(0,k.isJSON)(r)?(0,k.parse)(r,v.global.CHANNEL_OPTIONS||{}):r;if(n===me){let s=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(Je).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(i&&(o.refId=i),o.source=this.config.page==="preview"?t.origin:ge(t),!o.source){D.pretty.error(`${s} received ${l} but was unable to determine the source of the event`);return}let u=`${s} received ${l} (${r.length})`;D.pretty.debug(ne.origin!==o.source?u:`${u} <span style="color: gray">(on ${ne.origin} from ${o.source})</span>`,...o.args),G(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){D.logger.error(r)}}},a(ca,"PostMessageTransport"),ca),oe=j(Z(),1),ve=j(Xr(),1),H=j(ee(),1),{WebSocket:Ke}=oe.global,da,L=(da=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.socket=new Ke(t),this.socket.onopen=()=>{this.isReady=!0,this.flush()},this.socket.onmessage=({data:o})=>{let i=typeof o=="string"&&(0,H.isJSON)(o)?(0,H.parse)(o):o;G(this.handler,"WebsocketTransport handler should be set"),this.handler(i)},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=()=>{G(this.handler,"WebsocketTransport handler should be set"),this.handler({type:ve.CHANNEL_WS_DISCONNECT,args:[],from:n||"preview"})}}setHandler(t){this.handler=t}send(t){this.isReady?this.sendNow(t):this.sendLater(t)}sendLater(t){this.buffer.push(t)}sendNow(t){let r=(0,H.stringify)(t,{maxDepth:15,allowFunction:!1,...oe.global.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}},a(da,"WebsocketTransport"),da),{CONFIG_TYPE:Ve}=be.global,Ye=R;function Ze({page:e,extraTransports:t=[]}){let r=[new $({page:e}),...t];if(Ve==="DEVELOPMENT"){let n=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:i}=window.location,s=`${n}://${o}:${i}/storybook-server-channel`;r.push(new L({url:s,onError:a(()=>{},"onError"),page:e}))}return new R({transports:r})}a(Ze,"createBrowserChannel")});var Mn=se((P1e,ew)=>{"use strict";var v9=Object.create,ns=Object.defineProperty,E9=Object.getOwnPropertyDescriptor,w9=Object.getOwnPropertyNames,_9=Object.getPrototypeOf,S9=Object.prototype.hasOwnProperty,Pt=(e,t)=>ns(e,"name",{value:t,configurable:!0}),A9=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),C9=(e,t)=>{for(var r in t)ns(e,r,{get:t[r],enumerable:!0})},X2=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of w9(t))!S9.call(e,o)&&o!==r&&ns(e,o,{get:()=>t[o],enumerable:!(n=E9(t,o))||n.enumerable});return e},R9=(e,t,r)=>(r=e!=null?v9(_9(e)):{},X2(t||!e||!e.__esModule?ns(r,"default",{value:e,enumerable:!0}):r,e)),T9=e=>X2(ns({},"__esModule",{value:!0}),e),x9=A9(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var s=i.reduce(function(c,d){var p=d.match(/\n([\t ]+|(?!\s).)/g);return p?c.concat(p.map(function(h){var m,y;return(y=(m=h.match(/[\t ]/g))===null||m===void 0?void 0:m.length)!==null&&y!==void 0?y:0})):c},[]);if(s.length){var l=new RegExp(`
|
|
5
|
-
[ ]{`+Math.min.apply(Math,s)+"}","g");i=i.map(function(c){return c.replace(l,`
|
|
6
|
-
`)})}i[0]=i[0].replace(/^\r?\n/,"");var u=i[0];return n.forEach(function(c,d){var p=u.match(/(?:^|\n)( *)$/),h=p?p[1]:"",m=c;typeof c=="string"&&c.includes(`
|
|
7
|
-
`)&&(m=String(c).split(`
|
|
8
|
-
`).map(function(y,b){return b===0?y:""+h+y}).join(`
|
|
9
|
-
`)),u+=m+i[d+1]}),u}Pt(t,"dedent"),e.dedent=t,e.default=t}),Q2={};C9(Q2,{CalledExtractOnStoreError:()=>P9,CalledPreviewMethodBeforeInitializationError:()=>I9,Category:()=>Z2,EmptyIndexError:()=>B9,ImplicitActionsDuringRendering:()=>O9,MdxFileWithNoCsfReferencesError:()=>N9,MissingRenderToCanvasError:()=>D9,MissingStoryAfterHmrError:()=>q9,MissingStoryFromCsfFileError:()=>F9,MountMustBeDestructuredError:()=>L9,NextJsSharpError:()=>H9,NextjsRouterMocksNotAvailable:()=>z9,NoRenderFunctionError:()=>$9,NoStoryMatchError:()=>j9,NoStoryMountedError:()=>U9,StoryIndexFetchError:()=>M9,StoryStoreAccessedBeforeInitializationError:()=>k9,UnknownArgTypesError:()=>V9,UnsupportedViewportDimensionError:()=>G9});ew.exports=T9(Q2);var Gt=R9(x9(),1);function pm({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}Pt(pm,"parseErrorCode");var qo,Wt=(qo=class extends Error{constructor(t){super(qo.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return pm({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${pm({code:r,category:n})}`:typeof t=="string"?i=t:Array.isArray(t)&&(i=`
|
|
10
|
-
${t.map(s=>` - ${s}`).join(`
|
|
11
|
-
`)}`),`${o}${i!=null?`
|
|
12
|
-
|
|
13
|
-
More info: ${i}
|
|
14
|
-
`:""}`}},Pt(qo,"StorybookError"),qo),Z2=(e=>(e.BLOCKS="BLOCKS",e.DOCS_TOOLS="DOCS-TOOLS",e.PREVIEW_CLIENT_LOGGER="PREVIEW_CLIENT-LOGGER",e.PREVIEW_CHANNELS="PREVIEW_CHANNELS",e.PREVIEW_CORE_EVENTS="PREVIEW_CORE-EVENTS",e.PREVIEW_INSTRUMENTER="PREVIEW_INSTRUMENTER",e.PREVIEW_API="PREVIEW_API",e.PREVIEW_REACT_DOM_SHIM="PREVIEW_REACT-DOM-SHIM",e.PREVIEW_ROUTER="PREVIEW_ROUTER",e.PREVIEW_THEMING="PREVIEW_THEMING",e.RENDERER_HTML="RENDERER_HTML",e.RENDERER_PREACT="RENDERER_PREACT",e.RENDERER_REACT="RENDERER_REACT",e.RENDERER_SERVER="RENDERER_SERVER",e.RENDERER_SVELTE="RENDERER_SVELTE",e.RENDERER_VUE="RENDERER_VUE",e.RENDERER_VUE3="RENDERER_VUE3",e.RENDERER_WEB_COMPONENTS="RENDERER_WEB-COMPONENTS",e.FRAMEWORK_NEXTJS="FRAMEWORK_NEXTJS",e.ADDON_VITEST="ADDON_VITEST",e))(Z2||{}),pa,q9=(pa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:1,message:Gt.dedent`
|
|
15
|
-
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
16
|
-
- Did you just rename a story?
|
|
17
|
-
- Did you remove it from your CSF file?
|
|
18
|
-
- Are you sure a story with the id '${t.storyId}' exists?
|
|
19
|
-
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
20
|
-
- Also check the browser console and terminal for potential error messages.`}),this.data=t}},Pt(pa,"MissingStoryAfterHmrError"),pa),fa,O9=(fa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:Gt.dedent`
|
|
21
|
-
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
22
|
-
${t.deprecated?`
|
|
23
|
-
This is deprecated and won't work in Storybook 8 anymore.
|
|
24
|
-
`:""}
|
|
25
|
-
Please provide an explicit spy to your args like this:
|
|
26
|
-
import { fn } from '@storybook/test';
|
|
27
|
-
...
|
|
28
|
-
args: {
|
|
29
|
-
${t.name}: fn()
|
|
30
|
-
}`}),this.data=t}},Pt(fa,"ImplicitActionsDuringRendering"),fa),ha,P9=(ha=class extends Wt{constructor(){super({category:"PREVIEW_API",code:3,message:Gt.dedent`
|
|
31
|
-
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
32
|
-
|
|
33
|
-
You probably meant to call \`await preview.extract()\` which does the above for you.`})}},Pt(ha,"CalledExtractOnStoreError"),ha),ma,D9=(ma=class extends Wt{constructor(){super({category:"PREVIEW_API",code:4,message:Gt.dedent`
|
|
34
|
-
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
35
|
-
|
|
36
|
-
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}},Pt(ma,"MissingRenderToCanvasError"),ma),ya,I9=(ya=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:5,message:Gt.dedent`
|
|
37
|
-
Called \`Preview.${t.methodName}()\` before initialization.
|
|
38
|
-
|
|
39
|
-
The preview needs to load the story index before most methods can be called. If you want
|
|
40
|
-
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
41
|
-
|
|
42
|
-
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
43
|
-
do the above.`}),this.data=t}},Pt(ya,"CalledPreviewMethodBeforeInitializationError"),ya),ga,M9=(ga=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:6,message:Gt.dedent`
|
|
44
|
-
Error fetching \`/index.json\`:
|
|
45
|
-
|
|
46
|
-
${t.text}
|
|
47
|
-
|
|
48
|
-
If you are in development, this likely indicates a problem with your Storybook process,
|
|
49
|
-
check the terminal for errors.
|
|
50
|
-
|
|
51
|
-
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
52
|
-
build.`}),this.data=t}},Pt(ga,"StoryIndexFetchError"),ga),ba,N9=(ba=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:7,message:Gt.dedent`
|
|
53
|
-
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
54
|
-
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
55
|
-
|
|
56
|
-
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
57
|
-
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}},Pt(ba,"MdxFileWithNoCsfReferencesError"),ba),va,B9=(va=class extends Wt{constructor(){super({category:"PREVIEW_API",code:8,message:Gt.dedent`
|
|
58
|
-
Couldn't find any stories in your Storybook.
|
|
59
|
-
|
|
60
|
-
- Please check your stories field of your main.js config: does it match correctly?
|
|
61
|
-
- Also check the browser console and terminal for error messages.`})}},Pt(va,"EmptyIndexError"),va),Ea,j9=(Ea=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:9,message:Gt.dedent`
|
|
62
|
-
Couldn't find story matching '${t.storySpecifier}'.
|
|
63
|
-
|
|
64
|
-
- Are you sure a story with that id exists?
|
|
65
|
-
- Please check your stories field of your main.js config.
|
|
66
|
-
- Also check the browser console and terminal for error messages.`}),this.data=t}},Pt(Ea,"NoStoryMatchError"),Ea),wa,F9=(wa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:10,message:Gt.dedent`
|
|
67
|
-
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
68
|
-
|
|
69
|
-
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
70
|
-
we didn't find the story. Possible reasons:
|
|
71
|
-
- You are using a custom story indexer that is misbehaving.
|
|
72
|
-
- You have a custom file loader that is removing or renaming exports.
|
|
73
|
-
|
|
74
|
-
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}},Pt(wa,"MissingStoryFromCsfFileError"),wa),_a,k9=(_a=class extends Wt{constructor(){super({category:"PREVIEW_API",code:11,message:Gt.dedent`
|
|
75
|
-
Cannot access the Story Store until the index is ready.
|
|
76
|
-
|
|
77
|
-
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
78
|
-
remove access to the store entirely`})}},Pt(_a,"StoryStoreAccessedBeforeInitializationError"),_a),Sa,L9=(Sa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:12,message:Gt.dedent`
|
|
79
|
-
Incorrect use of mount in the play function.
|
|
80
|
-
|
|
81
|
-
To use mount in the play function, you must satisfy the following two requirements:
|
|
82
|
-
|
|
83
|
-
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
84
|
-
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
85
|
-
|
|
86
|
-
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
87
|
-
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
88
|
-
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
89
|
-
|
|
90
|
-
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
91
|
-
|
|
92
|
-
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
|
93
|
-
|
|
94
|
-
Received the following play function:
|
|
95
|
-
${t.playFunction}`}),this.data=t}},Pt(Sa,"MountMustBeDestructuredError"),Sa),Aa,$9=(Aa=class extends Wt{constructor(t){super({category:"PREVIEW_API",code:14,message:Gt.dedent`
|
|
96
|
-
No render function available for storyId '${t.id}'
|
|
97
|
-
`}),this.data=t}},Pt(Aa,"NoRenderFunctionError"),Aa),Ca,U9=(Ca=class extends Wt{constructor(){super({category:"PREVIEW_API",code:15,message:Gt.dedent`
|
|
98
|
-
No component is mounted in your story.
|
|
99
|
-
|
|
100
|
-
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
101
|
-
|
|
102
|
-
For example:
|
|
103
|
-
|
|
104
|
-
async play({ mount, canvasElement }) {
|
|
105
|
-
// 👈 mount should be called: await mount();
|
|
106
|
-
const canvas = within(canvasElement);
|
|
107
|
-
const button = await canvas.findByRole('button');
|
|
108
|
-
await userEvent.click(button);
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
Make sure to either remove it or call mount in your play function.
|
|
112
|
-
`})}},Pt(Ca,"NoStoryMountedError"),Ca),Ra,H9=(Ra=class extends Wt{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:Gt.dedent`
|
|
113
|
-
You are importing avif images, but you don't have sharp installed.
|
|
114
|
-
|
|
115
|
-
You have to install sharp in order to use image optimization features in Next.js.
|
|
116
|
-
`})}},Pt(Ra,"NextJsSharpError"),Ra),Ta,z9=(Ta=class extends Wt{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:Gt.dedent`
|
|
117
|
-
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
118
|
-
`}),this.data=t}},Pt(Ta,"NextjsRouterMocksNotAvailable"),Ta),xa,V9=(xa=class extends Wt{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:Gt.dedent`
|
|
119
|
-
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
120
|
-
${JSON.stringify(t.type,null,2)}
|
|
121
|
-
|
|
122
|
-
Storybook will fall back to use a generic type description instead.
|
|
123
|
-
|
|
124
|
-
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
125
|
-
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
126
|
-
`}),this.data=t}},Pt(xa,"UnknownArgTypesError"),xa),qa,G9=(qa=class extends Wt{constructor(t){super({category:"ADDON_VITEST",code:1,message:Gt.dedent`
|
|
127
|
-
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
128
|
-
|
|
129
|
-
The Storybook plugin only supports values in the following units:
|
|
130
|
-
- px, vh, vw, em, rem and %.
|
|
131
|
-
|
|
132
|
-
You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
|
|
133
|
-
`}),this.data=t}},Pt(qa,"UnsupportedViewportDimensionError"),qa)});var Oa=se(Nn=>{"use strict";var W9=Object.create,ow=Object.defineProperty,Y9=Object.getOwnPropertyDescriptor,K9=Object.getOwnPropertyNames,J9=Object.getPrototypeOf,X9=Object.prototype.hasOwnProperty,Q9=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Z9=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of K9(t))!X9.call(e,o)&&o!==r&&ow(e,o,{get:()=>t[o],enumerable:!(n=Y9(t,o))||n.enumerable});return e},e6=(e,t,r)=>(r=e!=null?W9(J9(e)):{},Z9(t||!e||!e.__esModule?ow(r,"default",{value:e,enumerable:!0}):r,e)),t6=Q9(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return function s(l,u,c){var d,p,h,m=t.call(l),y=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),m!=y||(d=n(l),p=n(u),d.length!=p.length||d.some(function(b){return!s(l[b],u[b],c)})))return!1;switch(m.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":d=l.entries(),p=u.entries();do if(!s((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!s(l[h],u[h],c)))return!1;return!0;case"Object":return s(r(l),r(u),c);default:return!1}}(o,i,[])}}()});function r6(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,o)=>`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}var tw=e6(t6()),aw=e=>e.map(t=>typeof t<"u").filter(Boolean).length,n6=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(aw([r,n,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,tw.isEqual)(t,n);if(typeof o<"u")return!(0,tw.isEqual)(t,o);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},o6=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(aw([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return n6(e.if,i)},iw=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),rw=(e,t)=>{let r=iw(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},a6=(e,t)=>`${rw(e,"kind")}${t?`--${rw(t,"name")}`:""}`,i6=e=>r6(e);function nw(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function s6(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||nw(e,t))&&(!r||!nw(e,r))}var l6=(e,{rootSeparator:t,groupSeparator:r})=>{let[n,o]=e.split(t,2),i=(o||e).split(r).filter(s=>!!s);return{root:o?n:null,groups:i}},u6=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};Nn.combineTags=u6;Nn.includeConditionalArg=o6;Nn.isExportStory=s6;Nn.parseKind=l6;Nn.sanitize=iw;Nn.storyNameFromExport=i6;Nn.toId=a6});var N_=se((I1e,M_)=>{"use strict";var c6=Object.create,ls=Object.defineProperty,d6=Object.getOwnPropertyDescriptor,p6=Object.getOwnPropertyNames,f6=Object.getPrototypeOf,h6=Object.prototype.hasOwnProperty,M=(e,t)=>ls(e,"name",{value:t,configurable:!0}),Dt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),m6=(e,t)=>{for(var r in t)ls(e,r,{get:t[r],enumerable:!0})},xw=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of p6(t))!h6.call(e,o)&&o!==r&&ls(e,o,{get:()=>t[o],enumerable:!(n=d6(t,o))||n.enumerable});return e},bt=(e,t,r)=>(r=e!=null?c6(f6(e)):{},xw(t||!e||!e.__esModule?ls(r,"default",{value:e,enumerable:!0}):r,e)),y6=e=>xw(ls({},"__esModule",{value:!0}),e),Zr=Dt((e,t)=>{"use strict";var r=Object.defineProperty,n=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,s=M((p,h)=>{for(var m in h)r(p,m,{get:h[m],enumerable:!0})},"__export"),l=M((p,h,m,y)=>{if(h&&typeof h=="object"||typeof h=="function")for(let b of o(h))!i.call(p,b)&&b!==m&&r(p,b,{get:M(()=>h[b],"get"),enumerable:!(y=n(h,b))||y.enumerable});return p},"__copyProps"),u=M(p=>l(r({},"__esModule",{value:!0}),p),"__toCommonJS"),c={};s(c,{global:M(()=>d,"global")}),t.exports=u(c);var d=(()=>{let p;return typeof window<"u"?p=window:typeof globalThis<"u"?p=globalThis:typeof global<"u"?p=global:typeof self<"u"?p=self:p={},p})()}),g6=Dt((e,t)=>{function r(){return this.list=[],this.lastItem=void 0,this.size=0,this}M(r,"Similar"),r.prototype.get=function(n){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,n))return this.lastItem.val;if(o=this.indexOf(n),o>=0)return this.lastItem=this.list[o],this.list[o].val},r.prototype.set=function(n,o){var i;return this.lastItem&&this.isEqual(this.lastItem.key,n)?(this.lastItem.val=o,this):(i=this.indexOf(n),i>=0?(this.lastItem=this.list[i],this.list[i].val=o,this):(this.lastItem={key:n,val:o},this.list.push(this.lastItem),this.size++,this))},r.prototype.delete=function(n){var o;if(this.lastItem&&this.isEqual(this.lastItem.key,n)&&(this.lastItem=void 0),o=this.indexOf(n),o>=0)return this.size--,this.list.splice(o,1)[0]},r.prototype.has=function(n){var o;return this.lastItem&&this.isEqual(this.lastItem.key,n)?!0:(o=this.indexOf(n),o>=0?(this.lastItem=this.list[o],!0):!1)},r.prototype.forEach=function(n,o){var i;for(i=0;i<this.size;i++)n.call(o||this,this.list[i].val,this.list[i].key,this)},r.prototype.indexOf=function(n){var o;for(o=0;o<this.size;o++)if(this.isEqual(this.list[o].key,n))return o;return-1},r.prototype.isEqual=function(n,o){return n===o||n!==n&&o!==o},t.exports=r}),b6=Dt((e,t)=>{t.exports=function(r){if(typeof Map!="function"||r){var n=g6();return new n}else return new Map}}),qw=Dt((e,t)=>{var r=b6();t.exports=function(s){var l=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),u=[];return function(c){var d=M(function(){var p=l,h,m,y=arguments.length-1,b=Array(y+1),E=!0,g;if((d.numArgs||d.numArgs===0)&&d.numArgs!==y+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(g=0;g<y;g++){if(b[g]={cacheItem:p,arg:arguments[g]},p.has(arguments[g])){p=p.get(arguments[g]);continue}E=!1,h=new r(process.env.FORCE_SIMILAR_INSTEAD_OF_MAP==="true"),p.set(arguments[g],h),p=h}return E&&(p.has(arguments[y])?m=p.get(arguments[y]):E=!1),E||(m=c.apply(null,arguments),p.set(arguments[y],m)),s>0&&(b[y]={cacheItem:p,arg:arguments[y]},E?n(u,b):u.push(b),u.length>s&&o(u.shift())),d.wasMemoized=E,d.numArgs=y+1,m},"memoizerific");return d.limit=s,d.wasMemoized=!1,d.cache=l,d.lru=u,d}};function n(s,l){var u=s.length,c=l.length,d,p,h;for(p=0;p<u;p++){for(d=!0,h=0;h<c;h++)if(!i(s[p][h].arg,l[h].arg)){d=!1;break}if(d)break}s.push(s.splice(p,1)[0])}M(n,"moveToMostRecentLru");function o(s){var l=s.length,u=s[l-1],c,d;for(u.cacheItem.delete(u.arg),d=l-2;d>=0&&(u=s[d],c=u.cacheItem.get(u.arg),!c||!c.size);d--)u.cacheItem.delete(u.arg)}M(o,"removeCachedResult");function i(s,l){return s===l||s!==s&&l!==l}M(i,"isEqual")}),en=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.dedent=void 0;function t(r){for(var n=[],o=1;o<arguments.length;o++)n[o-1]=arguments[o];var i=Array.from(typeof r=="string"?[r]:r);i[i.length-1]=i[i.length-1].replace(/\r?\n([\t ]*)$/,"");var s=i.reduce(function(c,d){var p=d.match(/\n([\t ]+|(?!\s).)/g);return p?c.concat(p.map(function(h){var m,y;return(y=(m=h.match(/[\t ]/g))===null||m===void 0?void 0:m.length)!==null&&y!==void 0?y:0})):c},[]);if(s.length){var l=new RegExp(`
|
|
134
|
-
[ ]{`+Math.min.apply(Math,s)+"}","g");i=i.map(function(c){return c.replace(l,`
|
|
135
|
-
`)})}i[0]=i[0].replace(/^\r?\n/,"");var u=i[0];return n.forEach(function(c,d){var p=u.match(/(?:^|\n)( *)$/),h=p?p[1]:"",m=c;typeof c=="string"&&c.includes(`
|
|
136
|
-
`)&&(m=String(c).split(`
|
|
137
|
-
`).map(function(y,b){return b===0?y:""+h+y}).join(`
|
|
138
|
-
`)),u+=m+i[d+1]}),u}M(t,"dedent"),e.dedent=t,e.default=t}),Ow=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let i=o.length;if(i===0)return"";let s="",l=0,u=0;e:for(;u<i;u++){let c=o.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(l<u&&(s+=o.slice(l,u)),l=u+1,s+=t[c]),++u===i)break e;c=o.charCodeAt(u)}if(l<u&&(s+=o.slice(l,u)),c<2048){l=u+1,s+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,s+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=i)throw new Error("URI malformed");let d=o.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|d),s+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?o:l<i?s+o.slice(l):s}M(n,"encodeString")}),Nm=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=Ow(),r=M(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=M(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=M(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),Pw=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=Nm(),r=Ow();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}M(n,"isPrototypeKey");function o(p,h,m,y,b){if(n(h))return p;let E=p[h];return typeof E=="object"&&E!==null?E:!y&&(b||typeof m=="number"||typeof m=="string"&&m*0===0&&m.indexOf(".")===-1)?p[h]=[]:p[h]={}}M(o,"getDeepObject");var i=20,s="[]",l="[",u="]",c=".";function d(p,h,m=0,y,b){let{nestingSyntax:E=t.defaultOptions.nestingSyntax,arrayRepeat:g=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:w=t.defaultOptions.arrayRepeatSyntax,nesting:O=t.defaultOptions.nesting,delimiter:A=t.defaultOptions.delimiter,valueSerializer:S=t.defaultOptions.valueSerializer,shouldSerializeObject:T=t.defaultOptions.shouldSerializeObject}=h,C=typeof A=="number"?String.fromCharCode(A):A,x=b===!0&&g,I=E==="dot"||E==="js"&&!b;if(m>i)return"";let W="",X=!0,Y=!1;for(let K in p){let _=p[K],P;y?(P=y,x?w==="bracket"&&(P+=s):I?(P+=c,P+=K):(P+=l,P+=K,P+=u)):P=K,X||(W+=C),typeof _=="object"&&_!==null&&!T(_)?(Y=_.pop!==void 0,(O||g&&Y)&&(W+=d(_,h,m+1,P,Y))):(W+=(0,r.encodeString)(P),W+="=",W+=S(_,K)),X&&(X=!1)}return W}M(d,"stringifyObject")}),v6=Dt((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var c=u.indexOf("%");if(c===-1)return u;for(var d=u.length,p="",h=0,m=0,y=c,b=r;c>-1&&c<d;){var E=l(u[c+1],4),g=l(u[c+2],0),w=E|g,O=o[w];if(b=o[256+b+O],m=m<<6|w&o[364+O],b===r)p+=u.slice(h,y),p+=m<=65535?String.fromCharCode(m):String.fromCharCode(55232+(m>>10),56320+(m&1023)),m=0,h=c+3,c=y=u.indexOf("%",h);else{if(b===n)return null;if(c+=3,c<d&&u.charCodeAt(c)===37)continue;return null}}return p+u.slice(h)}M(i,"decodeURIComponent");var s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,c){var d=s[u];return d===void 0?255:d<<c}M(l,"hexCodeToInt"),t.exports=i}),E6=Dt(e=>{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=Pw(),n=Nm(),o=t(v6()),i=M(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var s=M(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=s;var l=/\+/g,u=M(function(){},"Empty");u.prototype=Object.create(null);function c(p,h,m,y,b){let E=p.substring(h,m);return y&&(E=E.replace(l," ")),b&&(E=(0,o.default)(E)||E),E}M(c,"computeKeySlice");function d(p,h){let{valueDeserializer:m=n.defaultOptions.valueDeserializer,keyDeserializer:y=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:b=n.defaultOptions.arrayRepeatSyntax,nesting:E=n.defaultOptions.nesting,arrayRepeat:g=n.defaultOptions.arrayRepeat,nestingSyntax:w=n.defaultOptions.nestingSyntax,delimiter:O=n.defaultOptions.delimiter}=h??{},A=typeof O=="string"?O.charCodeAt(0):O,S=w==="js",T=new u;if(typeof p!="string")return T;let C=p.length,x="",I=-1,W=-1,X=-1,Y=T,K,_="",P="",N=!1,le=!1,ce=!1,Re=!1,Ne=!1,De=!1,ye=!1,de=0,Ee=-1,qe=-1,Le=-1;for(let Fe=0;Fe<C+1;Fe++){if(de=Fe!==C?p.charCodeAt(Fe):A,de===A){if(ye=W>I,ye||(W=Fe),X!==W-1&&(P=c(p,X+1,Ee>-1?Ee:W,ce,N),_=y(P),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S&&Ne,S&&De))),ye||_!==""){ye&&(x=p.slice(W+1,Fe),Re&&(x=x.replace(l," ")),le&&(x=(0,o.default)(x)||x));let Ge=m(x,_);if(g){let dt=Y[_];dt===void 0?Ee>-1?Y[_]=[Ge]:Y[_]=Ge:dt.pop?dt.push(Ge):Y[_]=[dt,Ge]}else Y[_]=Ge}x="",I=Fe,W=Fe,N=!1,le=!1,ce=!1,Re=!1,Ne=!1,De=!1,Ee=-1,X=Fe,Y=T,K=void 0,_=""}else de===93?(g&&b==="bracket"&&Le===91&&(Ee=qe),E&&(w==="index"||S)&&W<=I&&(X!==qe&&(P=c(p,X+1,Fe,ce,N),_=y(P),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,void 0,S)),K=_,ce=!1,N=!1),X=Fe,De=!0,Ne=!1)):de===46?E&&(w==="dot"||S)&&W<=I&&(X!==qe&&(P=c(p,X+1,Fe,ce,N),_=y(P),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S)),K=_,ce=!1,N=!1),Ne=!0,De=!1,X=Fe):de===91?E&&(w==="index"||S)&&W<=I&&(X!==qe&&(P=c(p,X+1,Fe,ce,N),_=y(P),S&&K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S)),K=_,ce=!1,N=!1,Ne=!1,De=!0),X=Fe):de===61?W<=I?W=Fe:le=!0:de===43?W>I?Re=!0:ce=!0:de===37&&(W>I?le=!0:N=!0);qe=Fe,Le=de}return T}M(d,"parse")}),w6=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=Pw();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}M(r,"stringify")}),Bm=Dt(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(s,l);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:M(function(){return s[l]},"get")}),Object.defineProperty(i,u,c)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),r=e&&e.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=E6();Object.defineProperty(e,"parse",{enumerable:!0,get:M(function(){return n.parse},"get")});var o=w6();Object.defineProperty(e,"stringify",{enumerable:!0,get:M(function(){return o.stringify},"get")}),r(Nm(),e)}),Dw=Dt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
139
|
-
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),_6=Dt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),Iw=Dt((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),S6=Dt((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),A6=Dt(e=>{"use strict";var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(S6()),n=String.fromCodePoint||function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function o(i){return i>=55296&&i<=57343||i>1114111?"\uFFFD":(i in r.default&&(i=r.default[i]),n(i))}M(o,"decodeCodePoint"),e.default=o}),sw=Dt(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(Dw()),n=t(_6()),o=t(Iw()),i=t(A6()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(d){var p=c(d);return function(h){return String(h).replace(s,p)}}M(l,"getStrictDecoder");var u=M(function(d,p){return d<p?1:-1},"sorter");e.decodeHTML=function(){for(var d=Object.keys(n.default).sort(u),p=Object.keys(r.default).sort(u),h=0,m=0;h<p.length;h++)d[m]===p[h]?(p[h]+=";?",m++):p[h]+=";";var y=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),b=c(r.default);function E(g){return g.substr(-1)!==";"&&(g+=";"),b(g)}return M(E,"replacer"),function(g){return String(g).replace(y,E)}}();function c(d){return M(function(p){if(p.charAt(1)==="#"){var h=p.charAt(2);return h==="X"||h==="x"?i.default(parseInt(p.substr(3),16)):i.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p},"replace")}M(c,"getReplacer")}),lw=Dt(e=>{"use strict";var t=e&&e.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(Iw()),n=u(r.default),o=c(n);e.encodeXML=g(n);var i=t(Dw()),s=u(i.default),l=c(s);e.encodeHTML=m(s,l),e.encodeNonAsciiHTML=g(s);function u(w){return Object.keys(w).sort().reduce(function(O,A){return O[w[A]]="&"+A+";",O},{})}M(u,"getInverseObj");function c(w){for(var O=[],A=[],S=0,T=Object.keys(w);S<T.length;S++){var C=T[S];C.length===1?O.push("\\"+C):A.push(C)}O.sort();for(var x=0;x<O.length-1;x++){for(var I=x;I<O.length-1&&O[I].charCodeAt(1)+1===O[I+1].charCodeAt(1);)I+=1;var W=1+I-x;W<3||O.splice(x,W,O[x]+"-"+O[I])}return A.unshift("["+O.join("")+"]"),new RegExp(A.join("|"),"g")}M(c,"getInverseReplacer");var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?function(w){return w.codePointAt(0)}:function(w){return(w.charCodeAt(0)-55296)*1024+w.charCodeAt(1)-56320+65536};function h(w){return"&#x"+(w.length>1?p(w):w.charCodeAt(0)).toString(16).toUpperCase()+";"}M(h,"singleCharReplacer");function m(w,O){return function(A){return A.replace(O,function(S){return w[S]}).replace(d,h)}}M(m,"getInverse");var y=new RegExp(o.source+"|"+d.source,"g");function b(w){return w.replace(y,h)}M(b,"escape"),e.escape=b;function E(w){return w.replace(o,h)}M(E,"escapeUTF8"),e.escapeUTF8=E;function g(w){return function(O){return O.replace(y,function(A){return w[A]||h(A)})}}M(g,"getASCIIEncoder")}),C6=Dt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=sw(),r=lw();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}M(n,"decode"),e.decode=n;function o(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}M(o,"decodeStrict"),e.decodeStrict=o;function i(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}M(i,"encode"),e.encode=i;var s=lw();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:M(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:M(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:M(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:M(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:M(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:M(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:M(function(){return s.encodeHTML},"get")});var l=sw();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:M(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:M(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:M(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:M(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:M(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:M(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:M(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:M(function(){return l.decodeXML},"get")})}),R6=Dt((e,t)=>{"use strict";function r(_,P){if(!(_ instanceof P))throw new TypeError("Cannot call a class as a function")}M(r,"_classCallCheck");function n(_,P){for(var N=0;N<P.length;N++){var le=P[N];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(_,le.key,le)}}M(n,"_defineProperties");function o(_,P,N){return P&&n(_.prototype,P),N&&n(_,N),_}M(o,"_createClass");function i(_,P){var N=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!N){if(Array.isArray(_)||(N=s(_))||P&&_&&typeof _.length=="number"){N&&(_=N);var le=0,ce=M(function(){},"F");return{s:ce,n:M(function(){return le>=_.length?{done:!0}:{done:!1,value:_[le++]}},"n"),e:M(function(ye){throw ye},"e"),f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
140
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Re=!0,Ne=!1,De;return{s:M(function(){N=N.call(_)},"s"),n:M(function(){var ye=N.next();return Re=ye.done,ye},"n"),e:M(function(ye){Ne=!0,De=ye},"e"),f:M(function(){try{!Re&&N.return!=null&&N.return()}finally{if(Ne)throw De}},"f")}}M(i,"_createForOfIteratorHelper");function s(_,P){if(_){if(typeof _=="string")return l(_,P);var N=Object.prototype.toString.call(_).slice(8,-1);if(N==="Object"&&_.constructor&&(N=_.constructor.name),N==="Map"||N==="Set")return Array.from(_);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return l(_,P)}}M(s,"_unsupportedIterableToArray");function l(_,P){(P==null||P>_.length)&&(P=_.length);for(var N=0,le=new Array(P);N<P;N++)le[N]=_[N];return le}M(l,"_arrayLikeToArray");var u=C6(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var _={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return w(0,5).forEach(function(P){w(0,5).forEach(function(N){w(0,5).forEach(function(le){return p(P,N,le,_)})})}),w(0,23).forEach(function(P){var N=P+232,le=h(P*10+8);_[N]="#"+le+le+le}),_}M(d,"getDefaultColors");function p(_,P,N,le){var ce=16+_*36+P*6+N,Re=_>0?_*40+55:0,Ne=P>0?P*40+55:0,De=N>0?N*40+55:0;le[ce]=m([Re,Ne,De])}M(p,"setStyleColor");function h(_){for(var P=_.toString(16);P.length<2;)P="0"+P;return P}M(h,"toHexString");function m(_){var P=[],N=i(_),le;try{for(N.s();!(le=N.n()).done;){var ce=le.value;P.push(h(ce))}}catch(Re){N.e(Re)}finally{N.f()}return"#"+P.join("")}M(m,"toColorHexString");function y(_,P,N,le){var ce;return P==="text"?ce=S(N,le):P==="display"?ce=E(_,N,le):P==="xterm256Foreground"?ce=x(_,le.colors[N]):P==="xterm256Background"?ce=I(_,le.colors[N]):P==="rgb"&&(ce=b(_,N)),ce}M(y,"generateOutput");function b(_,P){P=P.substring(2).slice(0,-1);var N=+P.substr(0,2),le=P.substring(5).split(";"),ce=le.map(function(Re){return("0"+Number(Re).toString(16)).substr(-2)}).join("");return C(_,(N===38?"color:#":"background-color:#")+ce)}M(b,"handleRgb");function E(_,P,N){P=parseInt(P,10);var le={"-1":M(function(){return"<br/>"},"_"),0:M(function(){return _.length&&g(_)},"_"),1:M(function(){return T(_,"b")},"_"),3:M(function(){return T(_,"i")},"_"),4:M(function(){return T(_,"u")},"_"),8:M(function(){return C(_,"display:none")},"_"),9:M(function(){return T(_,"strike")},"_"),22:M(function(){return C(_,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:M(function(){return W(_,"i")},"_"),24:M(function(){return W(_,"u")},"_"),39:M(function(){return x(_,N.fg)},"_"),49:M(function(){return I(_,N.bg)},"_"),53:M(function(){return C(_,"text-decoration:overline")},"_")},ce;return le[P]?ce=le[P]():4<P&&P<7?ce=T(_,"blink"):29<P&&P<38?ce=x(_,N.colors[P-30]):39<P&&P<48?ce=I(_,N.colors[P-40]):89<P&&P<98?ce=x(_,N.colors[8+(P-90)]):99<P&&P<108&&(ce=I(_,N.colors[8+(P-100)])),ce}M(E,"handleDisplay");function g(_){var P=_.slice(0);return _.length=0,P.reverse().map(function(N){return"</"+N+">"}).join("")}M(g,"resetStyles");function w(_,P){for(var N=[],le=_;le<=P;le++)N.push(le);return N}M(w,"range");function O(_){return function(P){return(_===null||P.category!==_)&&_!=="all"}}M(O,"notCategory");function A(_){_=parseInt(_,10);var P=null;return _===0?P="all":_===1?P="bold":2<_&&_<5?P="underline":4<_&&_<7?P="blink":_===8?P="hide":_===9?P="strike":29<_&&_<38||_===39||89<_&&_<98?P="foreground-color":(39<_&&_<48||_===49||99<_&&_<108)&&(P="background-color"),P}M(A,"categoryForCode");function S(_,P){return P.escapeXML?u.encodeXML(_):_}M(S,"pushText");function T(_,P,N){return N||(N=""),_.push(P),"<".concat(P).concat(N?' style="'.concat(N,'"'):"",">")}M(T,"pushTag");function C(_,P){return T(_,"span",P)}M(C,"pushStyle");function x(_,P){return T(_,"span","color:"+P)}M(x,"pushForegroundColor");function I(_,P){return T(_,"span","background-color:"+P)}M(I,"pushBackgroundColor");function W(_,P){var N;if(_.slice(-1)[0]===P&&(N=_.pop()),N)return"</"+P+">"}M(W,"closeTag");function X(_,P,N){var le=!1,ce=3;function Re(){return""}M(Re,"remove");function Ne(Se,$e){return N("xterm256Foreground",$e),""}M(Ne,"removeXterm256Foreground");function De(Se,$e){return N("xterm256Background",$e),""}M(De,"removeXterm256Background");function ye(Se){return P.newline?N("display",-1):N("text",Se),""}M(ye,"newline");function de(Se,$e){le=!0,$e.trim().length===0&&($e="0"),$e=$e.trimRight(";").split(";");var tt=i($e),Ut;try{for(tt.s();!(Ut=tt.n()).done;){var $i=Ut.value;N("display",$i)}}catch(Ui){tt.e(Ui)}finally{tt.f()}return""}M(de,"ansiMess");function Ee(Se){return N("text",Se),""}M(Ee,"realText");function qe(Se){return N("rgb",Se),""}M(qe,"rgb");var Le=[{pattern:/^\x08+/,sub:Re},{pattern:/^\x1b\[[012]?K/,sub:Re},{pattern:/^\x1b\[\(B/,sub:Re},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:qe},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Ne},{pattern:/^\x1b\[48;5;(\d+)m/,sub:De},{pattern:/^\n/,sub:ye},{pattern:/^\r+\n/,sub:ye},{pattern:/^\r/,sub:ye},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:de},{pattern:/^\x1b\[\d?J/,sub:Re},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Re},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Re},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ee}];function Fe(Se,$e){$e>ce&&le||(le=!1,_=_.replace(Se.pattern,Se.sub))}M(Fe,"process");var Ge=[],dt=_,Q=dt.length;e:for(;Q>0;){for(var ke=0,ze=0,et=Le.length;ze<et;ke=++ze){var J=Le[ke];if(Fe(J,ke),_.length!==Q){Q=_.length;continue e}}if(_.length===Q)break;Ge.push(0),Q=_.length}return Ge}M(X,"tokenize");function Y(_,P,N){return P!=="text"&&(_=_.filter(O(A(N))),_.push({token:P,data:N,category:A(N)})),_}M(Y,"updateStickyStack");var K=function(){function _(P){r(this,_),P=P||{},P.colors&&(P.colors=Object.assign({},c.colors,P.colors)),this.options=Object.assign({},c,P),this.stack=[],this.stickyStack=[]}return M(_,"Filter"),o(_,[{key:"toHtml",value:M(function(P){var N=this;P=typeof P=="string"?[P]:P;var le=this.stack,ce=this.options,Re=[];return this.stickyStack.forEach(function(Ne){var De=y(le,Ne.token,Ne.data,ce);De&&Re.push(De)}),X(P.join(""),ce,function(Ne,De){var ye=y(le,Ne,De,ce);ye&&Re.push(ye),ce.stream&&(N.stickyStack=Y(N.stickyStack,Ne,De))}),le.length&&Re.push(g(le)),Re.join("")},"toHtml")}]),_}();t.exports=K}),Mw={};m6(Mw,{DocsContext:()=>ey,HooksContext:()=>Fm,Preview:()=>g_,PreviewWeb:()=>m8,PreviewWithSelection:()=>S_,StoryStore:()=>h_,UrlStore:()=>q_,WebView:()=>P_,addons:()=>kn,applyHooks:()=>Bw,combineArgs:()=>Ql,combineParameters:()=>Ln,composeConfigs:()=>Qa,composeStepRunners:()=>Qm,composeStories:()=>d_,composeStory:()=>Zm,createPlaywrightTest:()=>p_,decorateStory:()=>Vm,defaultDecorateStory:()=>Wm,filterArgTypes:()=>s_,inferControls:()=>Xm,makeDecorator:()=>P6,mockChannel:()=>jm,normalizeStory:()=>ou,prepareMeta:()=>Ym,prepareStory:()=>au,sanitizeStoryContextUpdate:()=>Gm,setDefaultProjectAnnotations:()=>l_,setProjectAnnotations:()=>c_,simulateDOMContentLoaded:()=>ru,simulatePageLoad:()=>I_,sortStoriesV7:()=>zU,useArgs:()=>Vw,useCallback:()=>Ja,useChannel:()=>Hw,useEffect:()=>Hm,useGlobals:()=>Gw,useMemo:()=>Fw,useParameter:()=>zw,useReducer:()=>Uw,useRef:()=>kw,useState:()=>$w,useStoryContext:()=>cs,userOrAutoTitle:()=>LU,userOrAutoTitleFromSpecifier:()=>y_});M_.exports=y6(Mw);var fm=bt(Zr(),1),T6=J2();function jm(){let e={setHandler:M(()=>{},"setHandler"),send:M(()=>{},"send")};return new T6.Channel({transport:e})}M(jm,"mockChannel");var Ma,x6=(Ma=class{constructor(){this.getChannel=M(()=>{if(!this.channel){let t=jm();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=M(()=>this.promise,"ready"),this.hasChannel=M(()=>!!this.channel,"hasChannel"),this.setChannel=M(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}},M(Ma,"AddonStore"),Ma),hm="__STORYBOOK_ADDONS_PREVIEW";function Nw(){return fm.global[hm]||(fm.global[hm]=new x6),fm.global[hm]}M(Nw,"getAddonsStore");var kn=Nw(),Yl=bt(Zr(),1),as=Vt(),Ka=Xr(),Na,Fm=(Na=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=M(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),kn.getChannel().on(Ka.STORY_RENDERED,this.renderListener)}removeRenderListeners(){kn.getChannel().removeListener(Ka.STORY_RENDERED,this.renderListener)}},M(Na,"HooksContext"),Na);function Sm(e){let t=M((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,s=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=Yl.global.STORYBOOK_HOOKS_CONTEXT;Yl.global.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(Yl.global.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=s,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}M(Sm,"hookify");var mm=0,q6=25,Bw=M(e=>(t,r)=>{let n=e(Sm(t),r.map(o=>Sm(o)));return o=>{let{hooks:i}=o;i.prevMountedDecorators??(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let s=n(o);for(mm=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=n(o),mm+=1,mm>q6)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},"applyHooks"),O6=M((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),km=M(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Lm(){return Yl.global.STORYBOOK_HOOKS_CONTEXT||null}M(Lm,"getHooksContextOrNull");function nu(){let e=Lm();if(e==null)throw km();return e}M(nu,"getHooksContextOrThrow");function jw(e,t,r){let n=nu();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&as.logger.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&as.logger.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&as.logger.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&as.logger.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
141
|
-
Previous: ${o.deps}
|
|
142
|
-
Incoming: ${r}`),(r==null||o.deps==null||!O6(r,o.deps))&&(t(o),o.deps=r),o}throw km()}M(jw,"useHook");function us(e,t,r){let{memoizedState:n}=jw(e,o=>{o.memoizedState=t()},r);return n}M(us,"useMemoLike");function Fw(e,t){return us("useMemo",e,t)}M(Fw,"useMemo");function Ja(e,t){return us("useCallback",()=>e,t)}M(Ja,"useCallback");function $m(e,t){return us(e,()=>({current:t}),[])}M($m,"useRefLike");function kw(e){return $m("useRef",e)}M(kw,"useRef");function Lw(){let e=Lm();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{kn.getChannel().emit(Ka.FORCE_RE_RENDER)}catch{as.logger.warn("State updates of Storybook preview hooks work only in browser")}}M(Lw,"triggerUpdate");function Um(e,t){let r=$m(e,typeof t=="function"?t():t),n=M(o=>{r.current=typeof o=="function"?o(r.current):o,Lw()},"setState");return[r.current,n]}M(Um,"useStateLike");function $w(e){return Um("useState",e)}M($w,"useState");function Uw(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=Um("useReducer",n);return[o,M(s=>i(l=>e(l,s)),"dispatch")]}M(Uw,"useReducer");function Hm(e,t){let r=nu(),n=us("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}M(Hm,"useEffect");function Hw(e,t=[]){let r=kn.getChannel();return Hm(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Ja(r.emit.bind(r),[r])}M(Hw,"useChannel");function cs(){let{currentContext:e}=nu();if(e==null)throw km();return e}M(cs,"useStoryContext");function zw(e,t){let{parameters:r}=cs();if(e)return r[e]??t}M(zw,"useParameter");function Vw(){let e=kn.getChannel(),{id:t,args:r}=cs(),n=Ja(i=>e.emit(Ka.UPDATE_STORY_ARGS,{storyId:t,updatedArgs:i}),[e,t]),o=Ja(i=>e.emit(Ka.RESET_STORY_ARGS,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}M(Vw,"useArgs");function Gw(){let e=kn.getChannel(),{globals:t}=cs(),r=Ja(n=>e.emit(Ka.UPDATE_GLOBALS,{globals:n}),[e]);return[t,r]}M(Gw,"useGlobals");var P6=M(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let o=M(i=>(s,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!i&&!u?s(l):r(s,l,{options:i,parameters:u})},"decorator");return(...i)=>typeof i[0]=="function"?o()(...i):(...s)=>{if(s.length>1)return i.length>1?o(i)(...s):o(...i)(...s);throw new Error(`Passing stories directly into ${e}() is not allowed,
|
|
143
|
-
instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator"),uw=Vt(),cw=Mn();function Ww(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[i,s]=n[o];t(s,i)||(r[i]=s)}return r}M(Ww,"omitBy");function Yw(e,t){let r={};for(let n=0;n<t.length;n++){let o=t[n];Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}M(Yw,"pick");function Kw(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[i,s]=n[o];t(s,i)&&(r[i]=s)}return r}M(Kw,"pickBy");function jr(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(e.toString()!=="[object Object]")return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}M(jr,"isPlainObject");function Do(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];r[i]=t(s,i,e)}return r}M(Do,"mapValues");var D6="[object RegExp]",I6="[object String]",M6="[object Number]",N6="[object Boolean]",dw="[object Arguments]",B6="[object Symbol]",j6="[object Date]",F6="[object Map]",k6="[object Set]",L6="[object Array]",$6="[object Function]",U6="[object ArrayBuffer]",ym="[object Object]",H6="[object Error]",z6="[object DataView]",V6="[object Uint8Array]",G6="[object Uint8ClampedArray]",W6="[object Uint16Array]",Y6="[object Uint32Array]",K6="[object BigUint64Array]",J6="[object Int8Array]",X6="[object Int16Array]",Q6="[object Int32Array]",Z6="[object BigInt64Array]",eU="[object Float32Array]",tU="[object Float64Array]";function Am(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}M(Am,"getSymbols");function Cm(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}M(Cm,"getTag");function Jw(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Qr(e,t)}return Qr(e,t)}M(Jw,"isEqual");function Qr(e,t,r){if(Object.is(e,t))return!0;let n=Cm(e),o=Cm(t);if(n===dw&&(n=ym),o===dw&&(o=ym),n!==o)return!1;switch(n){case I6:return e.toString()===t.toString();case M6:{let l=e.valueOf(),u=t.valueOf();return l===u||Number.isNaN(l)&&Number.isNaN(u)}case N6:case j6:case B6:return Object.is(e.valueOf(),t.valueOf());case D6:return e.source===t.source&&e.flags===t.flags;case $6:return e===t}r=r??new Map;let i=r.get(e),s=r.get(t);if(i!=null&&s!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(n){case F6:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!Qr(u,t.get(l),r))return!1;return!0}case k6:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let c=0;c<l.length;c++){let d=l[c],p=u.findIndex(h=>Qr(d,h,r));if(p===-1)return!1;u.splice(p,1)}return!0}case L6:case V6:case G6:case W6:case Y6:case K6:case J6:case X6:case Q6:case Z6:case eU:case tU:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!Qr(e[l],t[l],r))return!1;return!0}case U6:return e.byteLength!==t.byteLength?!1:Qr(new Uint8Array(e),new Uint8Array(t),r);case z6:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Qr(e.buffer,t.buffer,r);case H6:return e.name===t.name&&e.message===t.message;case ym:{if(!(Qr(e.constructor,t.constructor,r)||jr(e)&&jr(t)))return!1;let l=[...Object.keys(e),...Am(e)],u=[...Object.keys(t),...Am(t)];if(l.length!==u.length)return!1;for(let c=0;c<l.length;c++){let d=l[c],p=e[d];if(!Object.prototype.hasOwnProperty.call(t,d))return!1;let h=t[d];if(!Qr(p,h,r))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}M(Qr,"areObjectsEqual");var gm=bt(qw(),1),bm=Vt(),pw=bt(en(),1),Da=Symbol("incompatible"),Rm=M((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?Da:e.reduce((n,o,i)=>{let s=Rm(o,{type:r.value});return s!==Da&&(n[i]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?Da:Object.entries(e).reduce((n,[o,i])=>{let s=Rm(i,{type:r.value[o]});return s===Da?n:Object.assign(n,{[o]:s})},{});default:return Da}},"map"),rU=M((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=Rm(o,t[n]);return i===Da?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),Ql=M((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Ql(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!jr(e)||!jr(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Ql(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),nU=M((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(M(i,"allowArg"),!o)return i();if(!Array.isArray(o))return bm.once.error(pw.dedent`
|
|
144
|
-
Invalid argType: '${n}.options' should be an array.
|
|
145
|
-
|
|
146
|
-
More info: https://storybook.js.org/docs/api/arg-types
|
|
147
|
-
`),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return bm.once.error(pw.dedent`
|
|
148
|
-
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
149
|
-
|
|
150
|
-
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
151
|
-
`),i();let s=Array.isArray(e[n]),l=s&&e[n].findIndex(p=>!o.includes(p)),u=s&&l===-1;if(e[n]===void 0||o.includes(e[n])||u)return i();let c=s?`${n}[${l}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return bm.once.warn(`Received illegal value for '${c}'. Supported options: ${d}`),r},{}),"validateOptions"),is=Symbol("Deeply equal"),Zl=M((e,t)=>{if(typeof e!=typeof t)return t;if(Jw(e,t))return is;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let s=Zl(e[i],o);return s!==is&&(n[i]=s),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return jr(e)&&jr(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Zl(e?.[n],t?.[n]);return o===is?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),Xw="UNTARGETED";function Qw({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=Xw}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}M(Qw,"groupArgsByTarget");function Zw(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}M(Zw,"deleteUndefined");var Ba,oU=(Ba=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Zl(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==is&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=nU(r,t.argTypes);this.argsByStoryId[t.id]=Ql(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=rU(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=Zw({...this.argsByStoryId[t],...r})}},M(Ba,"ArgsStore"),Ba),aU=Vt(),e_=M((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),ja,iU=(ja=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Zl(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=e_(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==is&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:aU.logger.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}},M(ja,"GlobalsStore"),ja),sU=Mn(),lU=bt(qw(),1),uU=(0,lU.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),Fa,cU=(Fa=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:n,title:o}=t;return r.find(i=>i.name===n&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new sU.MissingStoryAfterHmrError({storyId:t});return r}importPathToEntry(t){return uU(this.entries)[t]}},M(Fa,"StoryIndexStore"),Fa),dU=M(e=>typeof e=="string"?{name:e}:e,"normalizeType"),pU=M(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),fU=M((e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=dU(r)),n?i.control=pU(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),eu=M(e=>Do(e,fU),"normalizeInputTypes"),fw=Oa(),hw=Vt(),hU=bt(en(),1),Lt=M(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),mU=hU.dedent`
|
|
152
|
-
CSF .story annotations deprecated; annotate story functions directly:
|
|
153
|
-
- StoryFn.story.name => StoryFn.storyName
|
|
154
|
-
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
155
|
-
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
156
|
-
`;function ou(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(hw.logger.debug("deprecated story",i),(0,hw.deprecate)(mU));let s=(0,fw.storyNameFromExport)(e),l=typeof n!="function"&&n.name||n.storyName||i?.name||s,u=[...Lt(n.decorators),...Lt(i?.decorators)],c={...i?.parameters,...n.parameters},d={...i?.args,...n.args},p={...i?.argTypes,...n.argTypes},h=[...Lt(n.loaders),...Lt(i?.loaders)],m=[...Lt(n.beforeEach),...Lt(i?.beforeEach)],{render:y,play:b,tags:E=[],globals:g={}}=n,w=c.__id||(0,fw.toId)(r.id,s);return{moduleExport:t,id:w,name:l,tags:E,decorators:u,parameters:c,args:d,argTypes:eu(p),loaders:h,beforeEach:m,globals:g,...y&&{render:y},...o&&{userStoryFn:o},...b&&{play:b}}}M(ou,"normalizeStory");var yU=Oa(),t_=Vt(),gU=Oa();function zm(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:(0,gU.sanitize)(n||t),...e,title:t,...o&&{argTypes:eu(o)},parameters:{fileName:r,...e.parameters}}}M(zm,"normalizeComponentAnnotations");var bU=M(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&t_.logger.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),vU=M(e=>{let{options:t}=e;t?.storySort&&t_.logger.error("The storySort option parameter can only be set globally")},"checkStorySort"),mw=M(e=>{e&&(bU(e),vU(e))},"checkDisallowedParameters");function r_(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,s=zm(n,r,t);mw(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(i).forEach(u=>{if((0,yU.isExportStory)(u,s)){let c=ou(u,i[u],s);mw(c.parameters),l.stories[c.id]=c}}),l}M(r_,"processCSFFile");var n_=Oa(),Kl=bt(Zr(),1),EU=bt(Zr(),1),wU=Mn();function o_(e){return e!=null&&a_(e).includes("mount")}M(o_,"mountDestructured");function a_(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=Tm(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?Tm(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}M(a_,"getUsedProps");function Tm(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r[r.length-1])r.pop();else if(!r.length&&e[i]===","){let s=e.substring(n,i).trim();s&&t.push(s),n=i+1}let o=e.substring(n).trim();return o&&t.push(o),t}M(Tm,"splitByComma");function Vm(e,t,r){let n=r(e);return o=>t(n,o)}M(Vm,"decorateStory");function Gm({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:s,initialArgs:l,argTypes:u,...c}={}){return c}M(Gm,"sanitizeStoryContextUpdate");function Wm(e,t){let r={},n=M(i=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...Gm(s)},i(r.value)},"bindWithContext"),o=t.reduce((i,s)=>Vm(i,s,n),e);return i=>(r.value=i,o(i))}M(Wm,"defaultDecorateStory");var Ln=M((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,l])=>{let u=o[s];Array.isArray(l)||typeof u>"u"?o[s]=l:jr(l)&&jr(u)?t[s]=!0:typeof l<"u"&&(o[s]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>jr(s))?n[o]=Ln(...i):n[o]=i[i.length-1]}),n},"combineParameters");function au(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},s=Km(e,t,r),l=M(async S=>{let T={};for(let C of[..."__STORYBOOK_TEST_LOADERS__"in Kl.global&&Array.isArray(Kl.global.__STORYBOOK_TEST_LOADERS__)?[Kl.global.__STORYBOOK_TEST_LOADERS__]:[],Lt(r.loaders),Lt(t.loaders),Lt(e.loaders)]){if(S.abortSignal.aborted)return T;let x=await Promise.all(C.map(I=>I(S)));Object.assign(T,...x)}return T},"applyLoaders"),u=M(async S=>{let T=new Array;for(let C of[...Lt(r.beforeEach),...Lt(t.beforeEach),...Lt(e.beforeEach)]){if(S.abortSignal.aborted)return T;let x=await C(S);x&&T.push(x)}return T},"applyBeforeEach"),c=M(S=>S.originalStoryFn(S.args,S),"undecoratedStoryFn"),{applyDecorators:d=Wm,runStep:p}=r,h=[...Lt(e?.decorators),...Lt(t?.decorators),...Lt(r?.decorators)],m=e?.userStoryFn||e?.render||t.render||r.render,y=Bw(d)(c,h),b=M(S=>y(S),"unboundStoryFn"),E=e?.play??t?.play,g=o_(E);if(!m&&!g)throw new wU.NoRenderFunctionError({id:o});let w=M(S=>async()=>(await S.renderToCanvas(),S.canvas),"defaultMount"),O=e.mount??t.mount??r.mount??w,A=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:o,name:i,story:i,originalStoryFn:m,undecoratedStoryFn:c,unboundStoryFn:b,applyLoaders:l,applyBeforeEach:u,playFunction:E,runStep:p,mount:O,testingLibraryRender:A,renderToCanvas:r.renderToCanvas,usesMount:g}}M(au,"prepareStory");function Ym(e,t,r){return{...Km(void 0,e,t),moduleExport:r}}M(Ym,"prepareMeta");function Km(e,t,r){let n=["dev","test"],o=EU.global.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],i=(0,n_.combineTags)(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),s=Ln(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=Ln(r.argTypes,t.argTypes,e?.argTypes);if(e){let g=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=g&&g.length>0}let d={...r.args,...t.args,...e?.args},p={...t.globals,...e?.globals},h={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:i,parameters:s,initialArgs:d,argTypes:c,storyGlobals:p};h.argTypes=l.reduce((g,w)=>w({...h,argTypes:g}),h.argTypes);let m={...d};h.initialArgs=u.reduce((g,w)=>({...g,...w({...h,initialArgs:g})}),m);let{name:y,story:b,...E}=h;return E}M(Km,"preparePartialAnnotations");function Jm(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(Kl.global.FEATURES?.argTypeTargetsV7){let i=Qw(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[Xw]||{}}}let n=Object.entries(r.args).reduce((i,[s,l])=>{if(!r.argTypes[s]?.mapping)return i[s]=l,i;let u=M(c=>{let d=r.argTypes[s].mapping;return d&&c in d?d[c]:c},"mappingFn");return i[s]=Array.isArray(l)?l.map(u):u(l),i},{}),o=Object.entries(n).reduce((i,[s,l])=>{let u=r.argTypes[s]||{};return(0,n_.includeConditionalArg)(u,n,r.globals)&&(i[s]=l),i},{});return{...r,unmappedArgs:t,args:o}}M(Jm,"prepareContext");var _U=Vt(),SU=bt(en(),1),AU=Vt(),CU=bt(en(),1),xm=M((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(AU.logger.warn(CU.dedent`
|
|
157
|
-
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
158
|
-
|
|
159
|
-
Consider using the mapping feature or fully custom args:
|
|
160
|
-
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
161
|
-
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
162
|
-
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?xm(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Do(e,o=>xm(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),i_=M(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=Do(n,(s,l)=>({name:l,type:xm(s,`${t}.${l}`,new Set)})),i=Do(r,(s,l)=>({name:l}));return Ln(o,i,r)},"inferArgTypes");i_.secondPass=!0;var RU=Vt(),yw=M((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),s_=M((e,t,r)=>!t&&!r?e:e&&Kw(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||yw(i,t))&&(!r||!yw(i,r))}),"filterArgTypes"),TU=M((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&RU.logger.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:i}=n;return{control:{type:i?.length<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),Xm=M(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let s=s_(t,n,o),l=Do(s,(u,c)=>u?.type&&TU(u,c.toString(),i));return Ln(l,s)},"inferControls");Xm.secondPass=!0;function tu({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:i,globals:s,initialGlobals:l,...u}){return s&&Object.keys(s).length>0&&(0,_U.deprecate)(SU.dedent`
|
|
163
|
-
The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0.
|
|
164
|
-
Please use 'initialGlobals' instead. Learn more:
|
|
165
|
-
|
|
166
|
-
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals
|
|
167
|
-
`),{...e&&{argTypes:eu(e)},...t&&{globalTypes:eu(t)},decorators:Lt(n),loaders:Lt(o),beforeEach:Lt(i),argTypesEnhancers:[...r||[],i_,Xm],initialGlobals:Ln(l,s),...u}}M(tu,"normalizeProjectAnnotations");var xU=bt(Zr(),1),qU=M(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function Qm(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}M(Qm,"composeStepRunners");function Xa(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}M(Xa,"getField");function Bn(e,t,r={}){return Xa(e,t).reduce((n,o)=>{let i=Lt(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}M(Bn,"getArrayField");function Ia(e,t){return Object.assign({},...Xa(e,t))}M(Ia,"getObjectField");function Oo(e,t){return Xa(e,t).pop()}M(Oo,"getSingletonField");function Qa(e){let t=Bn(e,"argTypesEnhancers"),r=Xa(e,"runStep"),n=Bn(e,"beforeAll");return{parameters:Ln(...Xa(e,"parameters")),decorators:Bn(e,"decorators",{reverseFileOrder:!(xU.global.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Ia(e,"args"),argsEnhancers:Bn(e,"argsEnhancers"),argTypes:Ia(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:Ia(e,"globals"),initialGlobals:Ia(e,"initialGlobals"),globalTypes:Ia(e,"globalTypes"),loaders:Bn(e,"loaders"),beforeAll:qU(n),beforeEach:Bn(e,"beforeEach"),render:Oo(e,"render"),renderToCanvas:Oo(e,"renderToCanvas"),renderToDOM:Oo(e,"renderToDOM"),applyDecorators:Oo(e,"applyDecorators"),runStep:Qm(r),tags:Bn(e,"tags"),mount:Oo(e,"mount"),testingLibraryRender:Oo(e,"testingLibraryRender")}}M(Qa,"composeConfigs");var OU=Oa(),PU=Mn(),DU=bt(en(),1);function l_(e){globalThis.defaultProjectAnnotations=e}M(l_,"setDefaultProjectAnnotations");var IU="ComposedStory",MU="Unnamed Story";function u_(e){return e?Qa([e]):{}}M(u_,"extractAnnotation");function c_(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Qa(t.map(u_)),Qa([globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{}])}M(c_,"setProjectAnnotations");var jn=[];function Zm(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??IU;let i=zm(t),s=o||e.storyName||e.story?.name||e.name||MU,l=ou(s,e,i),u=tu(Qa([n&&Object.keys(n).length>0?n:globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{},r??{}])),c=au(l,i,u),d={...e_(u.globalTypes),...u.initialGlobals,...c.storyGlobals},p=M(()=>{let E=Jm({hooks:new Fm,globals:d,args:{...c.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:M((g,w)=>c.runStep(g,w,E),"step"),canvasElement:null,canvas:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return E.context=E,c.renderToCanvas&&(E.renderToCanvas=async()=>{let g=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:M(()=>{},"showMain"),showError:M(w=>{throw new Error(`${w.title}
|
|
168
|
-
${w.description}`)},"showError"),showException:M(w=>{throw w},"showException"),forceRemount:!0,storyContext:E,storyFn:M(()=>c.unboundStoryFn(E),"storyFn"),unboundStoryFn:c.unboundStoryFn},E.canvasElement);g&&jn.push(g)}),E.mount=c.mount(E),E},"initializeContext"),h,m=M(async E=>{let g=p();return g.canvasElement??(g.canvasElement=globalThis?.document?.body),h&&(g.loaded=h.loaded),Object.assign(g,E),c.playFunction(g)},"play"),y=M(E=>{let g=p();return Object.assign(g,E),f_(c,g)},"run"),b=c.playFunction?m:void 0;return Object.assign(M(function(E){let g=p();return h&&(g.loaded=h.loaded),g.args={...g.initialArgs,...E},c.unboundStoryFn(g)},"storyFn"),{id:c.id,storyName:s,load:M(async()=>{for(let g of[...jn].reverse())await g();jn.length=0;let E=p();E.loaded=await c.applyLoaders(E),jn.push(...(await c.applyBeforeEach(E)).filter(Boolean)),h=E},"load"),globals:d,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:b,run:y,tags:c.tags})}M(Zm,"composeStory");var NU=M((e,t,r,n)=>Zm(e,t,r,{},n),"defaultComposeStory");function d_(e,t,r=NU){let{default:n,__esModule:o,__namedExportsOrder:i,...s}=e;return Object.entries(s).reduce((l,[u,c])=>(0,OU.isExportStory)(u,n)?Object.assign(l,{[u]:r(c,n,t,u)}):l,{})}M(d_,"composeStories");function p_(e){return e.extend({mount:M(async({mount:t,page:r},n)=>{await n(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(DU.dedent`
|
|
169
|
-
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
170
|
-
Please use JSX format for your components such as:
|
|
171
|
-
|
|
172
|
-
instead of:
|
|
173
|
-
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
174
|
-
|
|
175
|
-
do:
|
|
176
|
-
await mount(<MyComponent foo="bar"/>)
|
|
177
|
-
|
|
178
|
-
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
179
|
-
`);await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l);return("__pw_type"in u?u.type:u)?.load?.()},o);let s=await t(o,...i);return await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l),c="__pw_type"in u?u.type:u,d=document.querySelector("#root");return c?.play?.({canvasElement:d})},o),s})},"mount")})}M(p_,"createPlaywrightTest");async function f_(e,t){for(let o of[...jn].reverse())await o();if(jn.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,jn.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;jn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&r&&(n||(t.mount=async()=>{throw new PU.MountMustBeDestructuredError({playFunction:r.toString()})}),await r(t))}M(f_,"runStory");function qm(e,t){return Ww(Yw(e,t),r=>r===void 0)}M(qm,"picky");var gw=1e3,BU=1e4,ka,h_=(ka=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=M(()=>{let s=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:Do(s.stories,u=>{let{importPath:c}=this.storyIndex.entries[u.id];return{...qm(u,["id","name","title"]),importPath:c,kind:u.title,story:u.name,parameters:{...qm(u.parameters,l),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new cU(t),this.projectAnnotations=tu(n);let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new oU,this.userGlobals=new iU({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,gm.default)(gw)(r_),this.prepareMetaWithCache=(0,gm.default)(gw)(Ym),this.prepareStoryWithCache=(0,gm.default)(BU)(au)}setProjectAnnotations(t){this.projectAnnotations=tu(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new cw.MissingStoryFromCsfFileError({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(n,o,this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new Fm,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...n.map(s=>{let l=this.storyIndex.importPathToEntry(s);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals;return Jm({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new cw.CalledExtractOnStoreError;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:i,importPath:s}])=>{if(i==="docs")return n;let l=r[s],u=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[o]=Object.entries(u).reduce((c,[d,p])=>d==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[d]:p.slice().sort()}):Object.assign(c,{[d]:p}),{args:u.initialArgs})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return(0,uw.deprecate)("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if((0,uw.deprecate)("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:M(i=>{let s={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:M((l,u)=>o.runStep(l,u,s),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...s,...i})},"storyFn")}}},M(ka,"StoryStore"),ka),jU=Vt();function m_(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}M(m_,"slash");var FU=bt(en(),1),kU=M(e=>{if(e.length===0)return e;let t=e[e.length-1],r=t?.replace(/(?:[.](?:story|stories))?([.][^.]+)$/i,"");if(e.length===1)return[r];let n=e[e.length-2];return r&&n&&r.toLowerCase()===n.toLowerCase()?[...e.slice(0,-2),r]:r&&(/^(story|stories)([.][^.]+)$/i.test(t)||/^index$/i.test(r))?e.slice(0,-1):[...e.slice(0,-1),r]},"sanitize");function Om(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}M(Om,"pathJoin");var y_=M((e,t,r)=>{let{directory:n,importPathMatcher:o,titlePrefix:i=""}=t||{};typeof e=="number"&&jU.once.warn(FU.dedent`
|
|
180
|
-
CSF Auto-title received a numeric fileName. This typically happens when
|
|
181
|
-
webpack is mis-configured in production mode. To force webpack to produce
|
|
182
|
-
filenames, set optimization.moduleIds = "named" in your webpack config.
|
|
183
|
-
`);let s=m_(String(e));if(o.exec(s)){if(!r){let l=s.replace(n,""),u=Om([i,l]).split("/");return u=kU(u),u.join("/")}return i?Om([i,r]):r}},"userOrAutoTitleFromSpecifier"),LU=M((e,t,r)=>{for(let n=0;n<t.length;n+=1){let o=y_(e,t[n],r);if(o)return o}return r||void 0},"userOrAutoTitle"),$U=bt(en(),1),bw=/\s*\/\s*/,UU=M((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",o=e.order||[],i=t.title.trim().split(bw),s=r.title.trim().split(bw);e.includeNames&&(i.push(t.name),s.push(r.name));let l=0;for(;i[l]||s[l];){if(!i[l])return-1;if(!s[l])return 1;let u=i[l],c=s[l];if(u!==c){let p=o.indexOf(u),h=o.indexOf(c),m=o.indexOf("*");return p!==-1||h!==-1?(p===-1&&(m!==-1?p=m:p=o.length),h===-1&&(m!==-1?h=m:h=o.length),p-h):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let d=o.indexOf(u);d===-1&&(d=o.indexOf("*")),o=d!==-1&&Array.isArray(o[d+1])?o[d+1]:[],l+=1}return 0},"storySort"),HU=M((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=UU(t),e.sort(n)}else e.sort((n,o)=>r.indexOf(n.importPath)-r.indexOf(o.importPath));return e},"sortStoriesCommon"),zU=M((e,t,r)=>{try{return HU(e,t,r)}catch(n){throw new Error($U.dedent`
|
|
184
|
-
Error sorting stories with sort parameter ${t}:
|
|
185
|
-
|
|
186
|
-
> ${n.message}
|
|
187
|
-
|
|
188
|
-
Are you using a V6-style sort function in V7 mode?
|
|
189
|
-
|
|
190
|
-
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
|
|
191
|
-
`)}},"sortStoriesV7"),VU=bt(Zr(),1),vm=Vt(),mr=Xr(),Rr=Mn(),os=Xr(),vw=Mn(),iu=new Error("prepareAborted"),{AbortController:Ew}=globalThis;function Pm(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}M(Pm,"serializeError");var La,Dm=(La=class{constructor(t,r,n,o,i,s,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=i,this.viewMode=s,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=M(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new Ew,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(os.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(os.STORY_RENDER_PHASE_CHANGED,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),iu}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:s,title:l,name:u,tags:c,applyLoaders:d,applyBeforeEach:p,unboundStoryFn:h,playFunction:m,runStep:y}=o;r&&!t&&(this.cancelRender(),this.abortController=new Ew);let b=this.abortController.signal,E=!1,g=o.usesMount;try{let w={...this.storyContext(),viewMode:this.viewMode,abortSignal:b,canvasElement:n,loaded:{},step:M((x,I)=>y(x,I,w),"step"),context:null,canvas:{},renderToCanvas:M(async()=>{let x=await this.renderToScreen(O,n);this.teardownRender=x||(()=>{}),E=!0},"renderToCanvas"),mount:M(async(...x)=>{this.callbacks.showStoryDuringRender?.();let I=null;return await this.runPhase(b,"rendering",async()=>{I=await o.mount(w)(...x)}),g&&await this.runPhase(b,"playing"),I},"mount")};w.context=w;let O={componentId:s,title:l,kind:l,id:i,name:u,story:u,tags:c,...this.callbacks,showError:M(x=>(this.phase="errored",this.callbacks.showError(x)),"showError"),showException:M(x=>(this.phase="errored",this.callbacks.showException(x)),"showException"),forceRemount:r||this.notYetRendered,storyContext:w,storyFn:M(()=>h(w),"storyFn"),unboundStoryFn:h};if(await this.runPhase(b,"loading",async()=>{w.loaded=await d(w)}),b.aborted)return;let A=await p(w);if(this.store.addCleanupCallbacks(o,A),this.checkIfAborted(b)||(!E&&!g&&await w.mount(),this.notYetRendered=!1,b.aborted))return;let S=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,T=new Set,C=M(x=>T.add("error"in x?x.error:x.reason),"onError");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window.addEventListener("error",C),window.addEventListener("unhandledrejection",C),this.disableKeyListeners=!0;try{if(g?await m(w):(w.mount=async()=>{throw new vw.MountMustBeDestructuredError({playFunction:m.toString()})},await this.runPhase(b,"playing",async()=>m(w))),!E)throw new vw.NoStoryMountedError;this.checkIfAborted(b),!S&&T.size>0?await this.runPhase(b,"errored"):await this.runPhase(b,"played")}catch(x){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(b,"errored",async()=>{this.channel.emit(os.PLAY_FUNCTION_THREW_EXCEPTION,Pm(x))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw x;console.error(x)}if(!S&&T.size>0&&this.channel.emit(os.UNHANDLED_ERRORS_WHILE_PLAYING,Array.from(T).map(Pm)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",C),window.removeEventListener("error",C),b.aborted)return}await this.runPhase(b,"completed",async()=>this.channel.emit(os.STORY_RENDERED,i))}catch(w){this.phase="errored",this.callbacks.showException(w)}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}},M(La,"StoryRender"),La),{fetch:GU}=VU.global,WU="./index.json",$a,g_=($a=class{constructor(t,r,n=kn.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,s)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=s}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:M((t,r)=>{if(this.storyStoreValue)return(0,vm.deprecate)("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new Rr.StoryStoreAccessedBeforeInitializationError},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(mr.STORY_INDEX_INVALIDATED,this.onStoryIndexChanged.bind(this)),this.channel.on(mr.UPDATE_GLOBALS,this.onUpdateGlobals.bind(this)),this.channel.on(mr.UPDATE_STORY_ARGS,this.onUpdateArgs.bind(this)),this.channel.on(mr.ARGTYPES_INFO_REQUEST,this.onRequestArgTypesInfo.bind(this)),this.channel.on(mr.RESET_STORY_ARGS,this.onResetArgs.bind(this)),this.channel.on(mr.FORCE_RE_RENDER,this.onForceReRender.bind(this)),this.channel.on(mr.FORCE_REMOUNT,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new Rr.MissingRenderToCanvasError;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await GU(WU);if(t.status===200)return t.json();throw new Rr.StoryIndexFetchError({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new h_(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(mr.SET_GLOBALS,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:i,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(mr.GLOBALS_UPDATED,{initialGlobals:n,userGlobals:i,storyGlobals:o,globals:s})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(mr.GLOBALS_UPDATED,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(mr.STORY_ARGS_UPDATED,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(mr.ARGTYPES_INFO_RESPONSE,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(mr.ARGTYPES_INFO_RESPONSE,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"onResetArgs"});let n=this.storyRenders.find(i=>i.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,s)=>(i[s]=n.initialArgs[s],i),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"renderStoryToElement"});let i=new Dm(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new Rr.CalledPreviewMethodBeforeInitializationError({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,vm.logger.error(t),vm.logger.error(r),this.channel.emit(mr.CONFIG_ERROR,r)}},M($a,"Preview"),$a),YU=bt(Zr(),1),Wl=Vt(),kt=Xr(),Pa=Mn(),KU=process.env.NODE_ENV==="production",Em="Invariant failed";function Jl(e,t){if(!e){if(KU)throw new Error(Em);var r=typeof t=="function"?t():t,n=r?"".concat(Em,": ").concat(r):Em;throw new Error(n)}}M(Jl,"invariant");var JU=Xr(),XU=bt(en(),1),Ua,ey=(Ua=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=M(i=>{let s=this.nameToStoryId.get(i);if(s)return s;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=M(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=M(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=M(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let s=this.storyIdToCSFFile.get(i);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:s})},"storyById"),this.getStoryContext=M(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=M(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,s)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(XU.dedent`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}.
|
|
192
|
-
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
193
|
-
- ... or vice versa?
|
|
194
|
-
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}},M(Ua,"DocsContext"),Ua),Ha,ww=(Ha=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw iu;let{importPath:n,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,n,o),s=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new ey(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:s}=i,l=M(async()=>{try{await s(n,o,t),this.channel.emit(JU.DOCS_RENDERED,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}},M(Ha,"CsfDocsRender"),Ha),QU=Xr(),za,_w=(za=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw iu;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new ey(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},s=await o.renderer(),{render:l}=s,u=M(async()=>{try{await l(n,i,t),this.channel.emit(QU.DOCS_RENDERED,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(s.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}},M(za,"MdxDocsRender"),za),ZU=globalThis;function b_(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}M(b_,"focusInInput");var v_="attached-mdx",e8="unattached-mdx";function E_({tags:e}){return e?.includes(e8)||e?.includes(v_)}M(E_,"isMdxEntry");function Xl(e){return e.type==="story"}M(Xl,"isStoryRender");function w_(e){return e.type==="docs"}M(w_,"isDocsRender");function __(e){return w_(e)&&e.subtype==="csf"}M(__,"isCsfDocsRender");var Va,S_=(Va=class extends g_{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),ZU.onkeydown=this.onKeydown.bind(this),this.channel.on(kt.SET_CURRENT_STORY,this.onSetCurrentStory.bind(this)),this.channel.on(kt.UPDATE_QUERY_PARAMS,this.onUpdateQueryParams.bind(this)),this.channel.on(kt.PRELOAD_ENTRIES,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new Pa.CalledPreviewMethodBeforeInitializationError({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new Pa.CalledPreviewMethodBeforeInitializationError({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new Pa.EmptyIndexError):this.renderStoryLoadingException(t,new Pa.NoStoryMatchError({storySpecifier:t.toString()}));return}let{id:o,type:i}=n;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(kt.STORY_SPECIFIED,this.selectionStore.selection),this.channel.emit(kt.CURRENT_STORY_WAS_SET,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!b_(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}=t;this.channel.emit(kt.PREVIEW_KEYDOWN,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(kt.CURRENT_STORY_WAS_SET,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Dm&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof _w||this.currentRender instanceof ww)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new Pa.CalledPreviewMethodBeforeInitializationError({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(h){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,h);return}let s=this.currentSelection?.storyId!==o,l=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new Dm(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):E_(i)?u=new _w(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new ww(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(h){d&&await this.teardownRender(d),h!==iu&&this.renderStoryLoadingException(o,h);return}let p=!s&&d&&!u.isEqual(d);if(t&&Xl(u)&&(Jl(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),d&&!d.torndown&&!s&&!p&&!l){this.currentRender=d,this.channel.emit(kt.STORY_UNCHANGED,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:l}),c&&(s||l)&&this.channel.emit(kt.STORY_CHANGED,o),Xl(u)){Jl(!!u.story);let{parameters:h,initialArgs:m,argTypes:y,unmappedArgs:b,initialGlobals:E,userGlobals:g,storyGlobals:w,globals:O}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(kt.STORY_PREPARED,{id:o,parameters:h,initialArgs:m,argTypes:y,args:b}),this.channel.emit(kt.GLOBALS_UPDATED,{userGlobals:g,storyGlobals:w,globals:O,initialGlobals:E})}else{let{parameters:h}=this.storyStoreValue.projectAnnotations,{initialGlobals:m,globals:y}=this.storyStoreValue.userGlobals;if(this.channel.emit(kt.GLOBALS_UPDATED,{globals:y,initialGlobals:m,storyGlobals:{},userGlobals:y}),__(u)||u.entry.tags?.includes(v_)){if(!u.csfFiles)throw new Pa.MdxFileWithNoCsfReferencesError({storyId:o});({parameters:h}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(kt.DOCS_PREPARED,{id:o,parameters:h})}Xl(u)?(Jl(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:M(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:M(()=>this.view.showMain(),"showMain"),showError:M(r=>this.renderError(t,r),"showError"),showException:M(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(kt.STORY_MISSING)}renderStoryLoadingException(t,r){Wl.logger.error(r),this.view.showErrorDisplay(r),this.channel.emit(kt.STORY_MISSING,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:i}=r;this.channel.emit(kt.STORY_THREW_EXCEPTION,{name:n,message:o,stack:i}),this.channel.emit(kt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),Wl.logger.error(`Error rendering story '${t}':`),Wl.logger.error(r)}renderError(t,{title:r,description:n}){Wl.logger.error(`Error rendering story ${r}: ${n}`),this.channel.emit(kt.STORY_ERRORED,{title:r,description:n}),this.channel.emit(kt.STORY_RENDER_PHASE_CHANGED,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}},M(Va,"PreviewWithSelection"),Va),t8=bt(Zr(),1),Im=bt(Bm(),1),r8=Vt(),n8=bt(Bm(),1),o8=bt(en(),1),Sw=/^[a-zA-Z0-9 _-]*$/,A_=/^-?[0-9]+(\.[0-9]+)?$/,a8=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,C_=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Mm=M((e="",t)=>e===null||e===""||!Sw.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?Sw.test(t)||A_.test(t)||a8.test(t)||C_.test(t):Array.isArray(t)?t.every(r=>Mm(e,r)):jr(t)?Object.entries(t).every(([r,n])=>Mm(r,n)):!1,"validateArgs"),i8={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(C_);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return A_.test(e)?Number(e):e}},Aw=M(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,n8.parse)(t.join(";"),i8)).reduce((r,[n,o])=>Mm(n,o)?Object.assign(r,{[n]:o}):(r8.once.warn(o8.dedent`
|
|
195
|
-
Omitted potentially unsafe URL args.
|
|
196
|
-
|
|
197
|
-
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
198
|
-
`),r),{})},"parseArgsParam"),{history:R_,document:Fn}=t8.global;function T_(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}M(T_,"pathToId");var x_=M(({selection:e,extraParams:t})=>{let r=Fn?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...s}=(0,Im.parse)(r);return`?${(0,Im.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),s8=M(e=>{if(!e)return;let t=x_({selection:e}),{hash:r=""}=Fn.location;Fn.title=e.storyId,R_.replaceState({},"",`${Fn.location.pathname}${t}${r}`)},"setPath"),l8=M(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),ss=M(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return ss(e[0]);if(l8(e))return ss(Object.values(e).filter(Boolean))}},"getFirstString"),u8=M(()=>{if(typeof Fn<"u"){let e=Fn.location.search.slice(1),t=(0,Im.parse)(e),r=typeof t.args=="string"?Aw(t.args):void 0,n=typeof t.globals=="string"?Aw(t.globals):void 0,o=ss(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=ss(t.path),s=i?T_(i):ss(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),Ga,q_=(Ga=class{constructor(){this.selectionSpecifier=u8()}setSelection(t){this.selection=t,s8(this.selection)}setQueryParams(t){let r=x_({extraParams:t}),{hash:n=""}=Fn.location;R_.replaceState({},"",`${Fn.location.pathname}${r}${n}`)}},M(Ga,"UrlStore"),Ga),c8=bt(Zr(),1),d8=Vt(),p8=bt(R6(),1),f8=bt(Bm(),1),h8=bt(en(),1),{document:tr}=c8.global,Cw=100,O_=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(O_||{}),wm={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},_m={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},Rw=new p8.default({escapeXML:!0}),Wa,P_=(Wa=class{constructor(){if(this.testing=!1,typeof tr<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,f8.parse)(tr.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),tr.documentElement.scrollTop=0,tr.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return tr.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),tr.documentElement.scrollTop=0,tr.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return tr.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){tr.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=_m[t];tr.body.classList.remove(this.currentLayoutClass),tr.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){_m[t]||d8.logger.warn(h8.dedent`
|
|
199
|
-
The desired layout: ${t} is not a valid option.
|
|
200
|
-
The possible options are: ${Object.keys(_m).join(", ")}, none.
|
|
201
|
-
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(O_).forEach(r=>{r===t?tr.body.classList.add(wm[r]):tr.body.classList.remove(wm[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,i=t.split(`
|
|
202
|
-
`);i.length>1&&([n]=i,o=i.slice(1).join(`
|
|
203
|
-
`).replace(/^\n/,"")),tr.getElementById("error-message").innerHTML=Rw.toHtml(n),tr.getElementById("error-stack").innerHTML=Rw.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),Cw)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),Cw)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){tr.body.classList.add(wm.MAIN)}},M(Wa,"WebView"),Wa),Ya,m8=(Ya=class extends S_{constructor(t,r){super(t,r,new q_,new P_),this.importFn=t,this.getProjectAnnotations=r,YU.global.__STORYBOOK_PREVIEW__=this}},M(Ya,"PreviewWeb"),Ya),y8=bt(Zr(),1),{document:Po}=y8.global,g8=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],b8="script",Tw="scripts-root";function ru(){let e=Po.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Po.dispatchEvent(e)}M(ru,"simulateDOMContentLoaded");function D_(e,t,r){let n=Po.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):Po.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}M(D_,"insertScript");function ty(e,t,r=0){e[r](()=>{r++,r===e.length?t():ty(e,t,r)})}M(ty,"insertScriptsSequentially");function I_(e){let t=Po.getElementById(Tw);t?t.innerHTML="":(t=Po.createElement("div"),t.id=Tw,Po.body.appendChild(t));let r=Array.from(e.querySelectorAll(b8));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||g8.includes(i))&&n.push(s=>D_(o,s,t))}),n.length&&ty(n,ru,void 0)}else ru()}M(I_,"simulatePageLoad")});var j_=se((M1e,B_)=>{B_.exports=N_()});var Oy=se((N1e,pA)=>{"use strict";var vy=Object.defineProperty,v8=Object.getOwnPropertyDescriptor,E8=Object.getOwnPropertyNames,w8=Object.prototype.hasOwnProperty,_8=(e,t)=>{for(var r in t)vy(e,r,{get:t[r],enumerable:!0})},S8=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of E8(t))!w8.call(e,o)&&o!==r&&vy(e,o,{get:()=>t[o],enumerable:!(n=v8(t,o))||n.enumerable});return e},A8=e=>S8(vy({},"__esModule",{value:!0}),e),TS={};_8(TS,{CallStates:()=>dA,EVENTS:()=>tn,instrument:()=>bz});pA.exports=A8(TS);var C8=um(),su=K2(),R8=j_(),dr=sm(),T8={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},x8=Object.entries(T8);function Ey(e){return String(e)}Ey.open="";Ey.close="";function q8(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function O8(e=!1){let t=q8(e),r=(s,l,u,c)=>{let d="",p=0;do d+=s.substring(p,c)+u,p=c+l.length,c=s.indexOf(l,p);while(~c);return d+s.substring(p)},n=(s,l,u=s)=>{let c=d=>{let p=String(d),h=p.indexOf(l,s.length);return~h?s+r(p,l,u,h)+l:s+p+l};return c.open=s,c.close=l,c},o={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,l]of x8)o[s]=t?n(i(l[0]),i(l[1]),l[2]):Ey;return o}var P8=It("tty"),fn=O8((0,P8.isatty)(1));function D8(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function pu(e,t,r,n,o,i,s=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let d=r+t.indent;for(;!c.done;){if(l+=d,u++===t.maxWidth){l+="\u2026";break}let p=i(c.value[0],t,d,n,o),h=i(c.value[1],t,d,n,o);l+=p+s+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function wy(e,t,r,n,o,i){let s="",l=0,u=e.next();if(!u.done){s+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(s+=c,l++===t.maxWidth){s+="\u2026";break}s+=i(u.value,t,c,n,o),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function du(e,t,r,n,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let c=r+t.indent;for(let d=0;d<u;d++){if(s+=c,d===t.maxWidth){s+="\u2026";break}(l(e)||d in e)&&(s+=i(l(e)?e.getInt8(d):e[d],t,c,n,o)),d<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function _y(e,t,r,n,o,i){let s="",l=D8(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let d=l[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);s+=`${u+p}: ${h}`,c<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var I8=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,ry=" ",M8=(e,t,r,n,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+ry}[${du(e.sample,t,r,n,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+ry}{${_y(e.sample,t,r,n,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+ry+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},N8=e=>e&&e.$$typeof===I8,B8={serialize:M8,test:N8},j8=" ",xS=new Set(["DOMStringMap","NamedNodeMap"]),F8=/^(?:HTML\w*Collection|NodeList)$/;function k8(e){return xS.has(e)||F8.test(e)}var L8=e=>e&&e.constructor&&!!e.constructor.name&&k8(e.constructor.name);function $8(e){return e.constructor.name==="NamedNodeMap"}var U8=(e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+j8)+(xS.has(s)?`{${_y($8(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)}}`:`[${du([...e],t,r,n,o,i)}]`)},H8={serialize:U8,test:L8};function qS(e){return e.replaceAll("<","<").replaceAll(">",">")}function Sy(e,t,r,n,o,i,s){let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.includes(`
|
|
204
|
-
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function Ay(e,t,r,n,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?OS(s,t):i(s,t,r,n,o))).join("")}function OS(e,t){let r=t.colors.content;return r.open+qS(e)+r.close}function z8(e,t){let r=t.colors.comment;return`${r.open}<!--${qS(e)}-->${r.close}`}function Cy(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function Ry(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var V8=1,PS=3,DS=8,IS=11,G8=/^(?:(?:HTML|SVG)\w*)?Element$/;function W8(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function Y8(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||W8(e);return r===V8&&(G8.test(t)||o)||r===PS&&t==="Text"||r===DS&&t==="Comment"||r===IS&&t==="DocumentFragment"}var K8=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&Y8(e)};function J8(e){return e.nodeType===PS}function X8(e){return e.nodeType===DS}function ny(e){return e.nodeType===IS}var Q8=(e,t,r,n,o,i)=>{if(J8(e))return OS(e.data,t);if(X8(e))return z8(e.data,t);let s=ny(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?Ry(s,t):Cy(s,Sy(ny(e)?[]:Array.from(e.attributes,l=>l.name).sort(),ny(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),Ay(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},Z8={serialize:Q8,test:K8},eH="@@__IMMUTABLE_ITERABLE__@@",tH="@@__IMMUTABLE_LIST__@@",rH="@@__IMMUTABLE_KEYED__@@",nH="@@__IMMUTABLE_MAP__@@",F_="@@__IMMUTABLE_ORDERED__@@",oH="@@__IMMUTABLE_RECORD__@@",aH="@@__IMMUTABLE_SEQ__@@",iH="@@__IMMUTABLE_SET__@@",sH="@@__IMMUTABLE_STACK__@@",ri=e=>`Immutable.${e}`,fu=e=>`[${e}]`,ps=" ",k_="\u2026";function lH(e,t,r,n,o,i,s){return++n>t.maxDepth?fu(ri(s)):`${ri(s)+ps}{${pu(e.entries(),t,r,n,o,i)}}`}function uH(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function cH(e,t,r,n,o,i){let s=ri(e._name||"Record");return++n>t.maxDepth?fu(s):`${s+ps}{${pu(uH(e),t,r,n,o,i)}}`}function dH(e,t,r,n,o,i){let s=ri("Seq");return++n>t.maxDepth?fu(s):e[rH]?`${s+ps}{${e._iter||e._object?pu(e.entries(),t,r,n,o,i):k_}}`:`${s+ps}[${e._iter||e._array||e._collection||e._iterable?wy(e.values(),t,r,n,o,i):k_}]`}function oy(e,t,r,n,o,i,s){return++n>t.maxDepth?fu(ri(s)):`${ri(s)+ps}[${wy(e.values(),t,r,n,o,i)}]`}var pH=(e,t,r,n,o,i)=>e[nH]?lH(e,t,r,n,o,i,e[F_]?"OrderedMap":"Map"):e[tH]?oy(e,t,r,n,o,i,"List"):e[iH]?oy(e,t,r,n,o,i,e[F_]?"OrderedSet":"Set"):e[sH]?oy(e,t,r,n,o,i,"Stack"):e[aH]?dH(e,t,r,n,o,i):cH(e,t,r,n,o,i),fH=e=>e&&(e[eH]===!0||e[oH]===!0),hH={serialize:pH,test:fH},ay={exports:{}},ut={},L_;function mH(){if(L_)return ut;L_=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function b(E){if(typeof E=="object"&&E!==null){var g=E.$$typeof;switch(g){case e:switch(E=E.type,E){case r:case o:case n:case c:case d:return E;default:switch(E=E&&E.$$typeof,E){case l:case s:case u:case h:case p:case i:return E;default:return g}}case t:return g}}}return ut.ContextConsumer=s,ut.ContextProvider=i,ut.Element=e,ut.ForwardRef=u,ut.Fragment=r,ut.Lazy=h,ut.Memo=p,ut.Portal=t,ut.Profiler=o,ut.StrictMode=n,ut.Suspense=c,ut.SuspenseList=d,ut.isAsyncMode=function(){return!1},ut.isConcurrentMode=function(){return!1},ut.isContextConsumer=function(E){return b(E)===s},ut.isContextProvider=function(E){return b(E)===i},ut.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},ut.isForwardRef=function(E){return b(E)===u},ut.isFragment=function(E){return b(E)===r},ut.isLazy=function(E){return b(E)===h},ut.isMemo=function(E){return b(E)===p},ut.isPortal=function(E){return b(E)===t},ut.isProfiler=function(E){return b(E)===o},ut.isStrictMode=function(E){return b(E)===n},ut.isSuspense=function(E){return b(E)===c},ut.isSuspenseList=function(E){return b(E)===d},ut.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===o||E===n||E===c||E===d||E===m||typeof E=="object"&&E!==null&&(E.$$typeof===h||E.$$typeof===p||E.$$typeof===i||E.$$typeof===s||E.$$typeof===u||E.$$typeof===y||E.getModuleId!==void 0)},ut.typeOf=b,ut}var pt={},$_;function yH(){return $_||($_=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y=!1,b=!1,E=!1,g=!1,w=!1,O;O=Symbol.for("react.module.reference");function A(J){return!!(typeof J=="string"||typeof J=="function"||J===r||J===o||w||J===n||J===c||J===d||g||J===m||y||b||E||typeof J=="object"&&J!==null&&(J.$$typeof===h||J.$$typeof===p||J.$$typeof===i||J.$$typeof===s||J.$$typeof===u||J.$$typeof===O||J.getModuleId!==void 0))}function S(J){if(typeof J=="object"&&J!==null){var Se=J.$$typeof;switch(Se){case e:var $e=J.type;switch($e){case r:case o:case n:case c:case d:return $e;default:var tt=$e&&$e.$$typeof;switch(tt){case l:case s:case u:case h:case p:case i:return tt;default:return Se}}case t:return Se}}}var T=s,C=i,x=e,I=u,W=r,X=h,Y=p,K=t,_=o,P=n,N=c,le=d,ce=!1,Re=!1;function Ne(J){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function De(J){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(J){return S(J)===s}function de(J){return S(J)===i}function Ee(J){return typeof J=="object"&&J!==null&&J.$$typeof===e}function qe(J){return S(J)===u}function Le(J){return S(J)===r}function Fe(J){return S(J)===h}function Ge(J){return S(J)===p}function dt(J){return S(J)===t}function Q(J){return S(J)===o}function ke(J){return S(J)===n}function ze(J){return S(J)===c}function et(J){return S(J)===d}pt.ContextConsumer=T,pt.ContextProvider=C,pt.Element=x,pt.ForwardRef=I,pt.Fragment=W,pt.Lazy=X,pt.Memo=Y,pt.Portal=K,pt.Profiler=_,pt.StrictMode=P,pt.Suspense=N,pt.SuspenseList=le,pt.isAsyncMode=Ne,pt.isConcurrentMode=De,pt.isContextConsumer=ye,pt.isContextProvider=de,pt.isElement=Ee,pt.isForwardRef=qe,pt.isFragment=Le,pt.isLazy=Fe,pt.isMemo=Ge,pt.isPortal=dt,pt.isProfiler=Q,pt.isStrictMode=ke,pt.isSuspense=ze,pt.isSuspenseList=et,pt.isValidElementType=A,pt.typeOf=S}()),pt}var U_;function gH(){return U_||(U_=1,process.env.NODE_ENV==="production"?ay.exports=mH():ay.exports=yH()),ay.exports}var Io=gH();function MS(e,t=[]){if(Array.isArray(e))for(let r of e)MS(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function H_(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Io.isFragment(e))return"React.Fragment";if(Io.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Io.isContextProvider(e))return"Context.Provider";if(Io.isContextConsumer(e))return"Context.Consumer";if(Io.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Io.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function bH(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var vH=(e,t,r,n,o,i)=>++n>t.maxDepth?Ry(H_(e),t):Cy(H_(e),Sy(bH(e),e.props,t,r+t.indent,n,o,i),Ay(MS(e.props.children),t,r+t.indent,n,o,i),t,r),EH=e=>e!=null&&Io.isElement(e),wH={serialize:vH,test:EH},_H=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function SH(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var AH=(e,t,r,n,o,i)=>++n>t.maxDepth?Ry(e.type,t):Cy(e.type,e.props?Sy(SH(e),e.props,t,r+t.indent,n,o,i):"",e.children?Ay(e.children,t,r+t.indent,n,o,i):"",t,r),CH=e=>e&&e.$$typeof===_H,RH={serialize:AH,test:CH},NS=Object.prototype.toString,TH=Date.prototype.toISOString,xH=Error.prototype.toString,z_=RegExp.prototype.toString;function iy(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function qH(e){return typeof window<"u"&&e===window}var OH=/^Symbol\((.*)\)(.*)$/,PH=/\n/g,BS=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function DH(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function IH(e){return Object.is(e,-0)?"-0":String(e)}function MH(e){return`${e}n`}function V_(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function G_(e){return String(e).replace(OH,"Symbol($1)")}function W_(e){return`[${xH.call(e)}]`}function jS(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return IH(e);if(o==="bigint")return MH(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return V_(e,t);if(o==="symbol")return G_(e);let i=NS.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?V_(e,t):i==="[object Symbol]"?G_(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":TH.call(e):i==="[object Error]"?W_(e):i==="[object RegExp]"?r?z_.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):z_.call(e):e instanceof Error?W_(e):null}function FS(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return $n(e.toJSON(),t,r,n,o,!0);let u=NS.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${du(e,t,r,n,o,$n)}]`:DH(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${du(e,t,r,n,o,$n)}]`:u==="[object Map]"?s?"[Map]":`Map {${pu(e.entries(),t,r,n,o,$n," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${wy(e.values(),t,r,n,o,$n)}}`:s||qH(e)?`[${iy(e)}]`:`${l||!t.printBasicPrototype&&iy(e)==="Object"?"":`${iy(e)} `}{${_y(e,t,r,n,o,$n)}}`}function NH(e){return e.serialize!=null}function kS(e,t,r,n,o,i){let s;try{s=NH(e)?e.serialize(t,r,n,o,i,$n):e.print(t,l=>$n(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replaceAll(PH,`
|
|
205
|
-
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new BS(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function LS(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new BS(n.message,n.stack)}return null}function $n(e,t,r,n,o,i){let s=LS(t.plugins,e);if(s!==null)return kS(s,e,t,r,n,o);let l=jS(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:FS(e,t,r,n,o,i)}var Ty={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},$S=Object.keys(Ty),Fr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Ty};function BH(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Fr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function jH(){return $S.reduce((e,t)=>{let r=Ty[t],n=r&&fn[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function FH(){return $S.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function US(e){return e?.printFunctionName??Fr.printFunctionName}function HS(e){return e?.escapeRegex??Fr.escapeRegex}function zS(e){return e?.escapeString??Fr.escapeString}function Y_(e){return{callToJSON:e?.callToJSON??Fr.callToJSON,colors:e?.highlight?jH():FH(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Fr.compareKeys,escapeRegex:HS(e),escapeString:zS(e),indent:e?.min?"":kH(e?.indent??Fr.indent),maxDepth:e?.maxDepth??Fr.maxDepth,maxWidth:e?.maxWidth??Fr.maxWidth,min:e?.min??Fr.min,plugins:e?.plugins??Fr.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:US(e),spacingInner:e?.min?" ":`
|
|
206
|
-
`,spacingOuter:e?.min?"":`
|
|
207
|
-
`}}function kH(e){return Array.from({length:e+1}).join(" ")}function rn(e,t){if(t&&(BH(t),t.plugins)){let n=LS(t.plugins,e);if(n!==null)return kS(n,e,Y_(t),"",0,[])}let r=jS(e,US(t),HS(t),zS(t));return r!==null?r:FS(e,Y_(t),"",0,[])}var VS={AsymmetricMatcher:B8,DOMCollection:H8,DOMElement:Z8,Immutable:hH,ReactElement:wH,ReactTestComponent:RH},K_={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},LH={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ni="\u2026";function $H(e,t){let r=K_[LH[t]]||K_[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function UH({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:d,stylize:c};return p.colors&&(p.stylize=$H),p}function HH(e){return e>="\uD800"&&e<="\uDBFF"}function Un(e,t,r=ni){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&HH(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function kr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let c=0;c<o;c+=1){let d=c+1===e.length,p=c+2===e.length;u=`${ni}(${e.length-c})`;let h=e[c];t.truncate=i-s.length-(d?0:n.length);let m=l||r(h,t)+(d?"":n),y=s.length+m.length,b=y+u.length;if(d&&y>i&&s.length+u.length<=i||!d&&!p&&b>i||(l=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&b>i&&y+l.length>i))break;if(s+=m,!d&&!p&&y+l.length>=i){u=`${ni}(${e.length-c-1})`;break}u=""}return`${s}${u}`}function zH(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function fs([e,t],r){return r.truncate-=2,typeof e=="string"?e=zH(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function VH(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=kr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=kr(r.map(i=>[i,e[i]]),t,fs)),`[ ${n}${o?`, ${o}`:""} ]`}var GH=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function pn(e,t){let r=GH(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(Un(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${ni}(${e.length-e[s]+1})`;break}o+=l}let i="";return n.length&&(i=kr(n.map(s=>[s,e[s]]),t,fs)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function WH(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${Un(n[1],t.truncate-o.length-1)}`,"date")}function J_(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${Un(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function YH([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function KH(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function JH(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${kr(KH(e),t,YH)} }`)}var XH=Number.isNaN||(e=>e!==e);function X_(e,t){return XH(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(Un(String(e),t.truncate),"number")}function Q_(e,t){let r=Un(e.toString(),t.truncate-1);return r!==ni&&(r+="n"),t.stylize(r,"bigint")}function QH(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${Un(o,n)}/${r}`,"regexp")}function ZH(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function e7(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${kr(ZH(e),t)} }`)}var Z_=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),t7={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},r7=16,n7=4;function o7(e){return t7[e]||`\\u${`0000${e.charCodeAt(0).toString(r7)}`.slice(-n7)}`}function eS(e,t){return Z_.test(e)&&(e=e.replace(Z_,o7)),t.stylize(`'${Un(e,t.truncate-2)}'`,"string")}function tS(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var GS=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(GS=(n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var a7=GS;function cu(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=kr(r.map(l=>[l,e[l]]),t,fs),i=kr(n.map(l=>[l,e[l]]),t,fs);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}var sy=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function i7(e,t){let r="";return sy&&sy in e&&(r=e[sy]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${cu(e,t)}`}function s7(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${kr(e,t)} ]`)}var l7=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function u7(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>l7.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=Un(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=kr(r.map(s=>[s,e[s]]),t,fs);return`${n}${o}${i?` { ${i} }`:""}`}function c7([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function py(e,t){return kr(e,t,WS,`
|
|
208
|
-
`)}function WS(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=kr(r.map(d=>[d,e.getAttribute(d)]),t,c7," ")),t.truncate-=l.length;let u=t.truncate,c=py(e.children,t);return c&&c.length>u&&(c=`${ni}(${e.children.length})`),`${o}${l}${i}${c}${s}`}var d7=typeof Symbol=="function"&&typeof Symbol.for=="function",ly=d7?Symbol.for("chai/inspect"):"@@chai/inspect",Za=!1;try{let e=It("util");Za=e.inspect?e.inspect.custom:!1}catch{Za=!1}var rS=new WeakMap,nS={},oS={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:X_,Number:X_,bigint:Q_,BigInt:Q_,string:eS,String:eS,function:J_,Function:J_,symbol:tS,Symbol:tS,Array:VH,Date:WH,Map:JH,Set:e7,RegExp:QH,Promise:a7,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:s7,Int8Array:pn,Uint8Array:pn,Uint8ClampedArray:pn,Int16Array:pn,Uint16Array:pn,Int32Array:pn,Uint32Array:pn,Float32Array:pn,Float64Array:pn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:u7,HTMLCollection:py,NodeList:py},p7=(e,t,r)=>ly in e&&typeof e[ly]=="function"?e[ly](t):Za&&Za in e&&typeof e[Za]=="function"?e[Za](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&rS.has(e.constructor)?rS.get(e.constructor)(e,t):nS[r]?nS[r](e,t):"",f7=Object.prototype.toString;function fy(e,t={}){let r=UH(t,fy),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=f7.call(e).slice(8,-1)),o in oS)return oS[o](e,r);if(n&&e){let s=p7(e,r,o);if(s)return typeof s=="string"?s:fy(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?cu(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?WS(e,r):"constructor"in e?e.constructor!==Object?i7(e,r):cu(e,r):e===Object(e)?cu(e,r):r.stylize(String(e),o)}var{AsymmetricMatcher:h7,DOMCollection:m7,DOMElement:y7,Immutable:g7,ReactElement:b7,ReactTestComponent:v7}=VS,aS=[v7,b7,y7,m7,g7,h7];function hs(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=rn(e,{maxDepth:t,escapeString:!1,plugins:aS,...n})}catch{i=rn(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:aS,...n})}return i.length>=o&&t>1?hs(e,Math.floor(t/2)):i}var E7=/%[sdjifoOc%]/g;function w7(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(ds(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(E7,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?ds(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return ds(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ds(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${ds(i)}`;return o}function ds(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),fy(e,t)}function _7(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}function S7(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function hy(e){return Object.prototype.toString.apply(e).slice(8,-1)}function A7(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function YS(e){let t=new Set;return S7(e)?[]:(A7(e,t),Array.from(t))}var KS={forceWritable:!1};function iS(e,t=KS){return my(e,new WeakMap,t)}function my(e,t,r=KS){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array.from({length:n=e.length}),t.set(e,o);n--;)o[n]=my(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=YS(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=my(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}function sS(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var rr=-1,Xt=1,Tt=0,Ct=class{constructor(e,t){At(this,0);At(this,1);this[0]=e,this[1]=t}},C7=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},JS=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},lS=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},R7=function(e){let t=!1,r=[],n=0,o=null,i=0,s=0,l=0,u=0,c=0;for(;i<e.length;)e[i][0]===Tt?(r[n++]=i,s=u,l=c,u=0,c=0,o=e[i][1]):(e[i][0]===Xt?u+=e[i][1].length:c+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new Ct(rr,o)),e[r[n-1]+1][0]=Xt,n--,n--,i=n>0?r[n-1]:-1,s=0,l=0,u=0,c=0,o=null,t=!0)),i++;for(t&&XS(e),q7(e),i=1;i<e.length;){if(e[i-1][0]===rr&&e[i][0]===Xt){let d=e[i-1][1],p=e[i][1],h=lS(d,p),m=lS(p,d);h>=m?(h>=d.length/2||h>=p.length/2)&&(e.splice(i,0,new Ct(Tt,p.substring(0,h))),e[i-1][1]=d.substring(0,d.length-h),e[i+1][1]=p.substring(h),i++):(m>=d.length/2||m>=p.length/2)&&(e.splice(i,0,new Ct(Tt,d.substring(0,m))),e[i-1][0]=Xt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=rr,e[i+1][1]=d.substring(m),i++),i++}i++}},uS=/[^a-z0-9]/i,cS=/\s/,dS=/[\r\n]/,T7=/\n\r?\n$/,x7=/^\r?\n\r?\n/;function q7(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===Tt&&e[t+1][0]===Tt){let r=e[t-1][1],n=e[t][1],o=e[t+1][1],i=JS(r,n);if(i){let d=n.substring(n.length-i);r=r.substring(0,r.length-i),n=d+n.substring(0,n.length-i),o=d+o}let s=r,l=n,u=o,c=lu(r,n)+lu(n,o);for(;n.charAt(0)===o.charAt(0);){r+=n.charAt(0),n=n.substring(1)+o.charAt(0),o=o.substring(1);let d=lu(r,n)+lu(n,o);d>=c&&(c=d,s=r,l=n,u=o)}e[t-1][1]!==s&&(s?e[t-1][1]=s:(e.splice(t-1,1),t--),e[t][1]=l,u?e[t+1][1]=u:(e.splice(t+1,1),t--))}t++}}function XS(e){e.push(new Ct(Tt,""));let t=0,r=0,n=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Xt:n++,i+=e[t][1],t++;break;case rr:r++,o+=e[t][1],t++;break;case Tt:r+n>1?(r!==0&&n!==0&&(s=C7(i,o),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===Tt?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new Ct(Tt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=JS(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Ct(rr,o)),t++),i.length&&(e.splice(t,0,new Ct(Xt,i)),t++),t++):t!==0&&e[t-1][0]===Tt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===Tt&&e[t+1][0]===Tt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&XS(e)}function lu(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),o=r.match(uS),i=n.match(uS),s=o&&r.match(cS),l=i&&n.match(cS),u=s&&r.match(dS),c=l&&n.match(dS),d=u&&e.match(T7),p=c&&t.match(x7);return d||p?5:u||c?4:o&&!s&&l?3:s||l?2:o||i?1:0}var QS="Compared values have no visual difference.",O7="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",uu={},pS;function P7(){if(pS)return uu;pS=1,Object.defineProperty(uu,"__esModule",{value:!0}),uu.default=h;let e="diff-sequences",t=0,r=(m,y,b,E,g)=>{let w=0;for(;m<y&&b<E&&g(m,b);)m+=1,b+=1,w+=1;return w},n=(m,y,b,E,g)=>{let w=0;for(;m<=y&&b<=E&&g(y,E);)y-=1,E-=1,w+=1;return w},o=(m,y,b,E,g,w,O)=>{let A=0,S=-m,T=w[A],C=T;w[A]+=r(T+1,y,E+T-S+1,b,g);let x=m<O?m:O;for(A+=1,S+=2;A<=x;A+=1,S+=2){if(A!==m&&C<w[A])T=w[A];else if(T=C+1,y<=T)return A-1;C=w[A],w[A]=T+r(T+1,y,E+T-S+1,b,g)}return O},i=(m,y,b,E,g,w,O)=>{let A=0,S=m,T=w[A],C=T;w[A]-=n(y,T-1,b,E+T-S-1,g);let x=m<O?m:O;for(A+=1,S-=2;A<=x;A+=1,S-=2){if(A!==m&&w[A]<C)T=w[A];else if(T=C-1,T<y)return A-1;C=w[A],w[A]=T-n(y,T-1,b,E+T-S-1,g)}return O},s=(m,y,b,E,g,w,O,A,S,T,C)=>{let x=E-y,I=b-y,W=g-E-I,X=-W-(m-1),Y=-W+(m-1),K=t,_=m<A?m:A;for(let P=0,N=-m;P<=_;P+=1,N+=2){let le=P===0||P!==m&&K<O[P],ce=le?O[P]:K,Re=le?ce:ce+1,Ne=x+Re-N,De=r(Re+1,b,Ne+1,g,w),ye=Re+De;if(K=O[P],O[P]=ye,X<=N&&N<=Y){let de=(m-1-(N+W))/2;if(de<=T&&S[de]-1<=ye){let Ee=x+ce-(le?N+1:N-1),qe=n(y,ce,E,Ee,w),Le=ce-qe,Fe=Ee-qe,Ge=Le+1,dt=Fe+1;C.nChangePreceding=m-1,m-1===Ge+dt-y-E?(C.aEndPreceding=y,C.bEndPreceding=E):(C.aEndPreceding=Ge,C.bEndPreceding=dt),C.nCommonPreceding=qe,qe!==0&&(C.aCommonPreceding=Ge,C.bCommonPreceding=dt),C.nCommonFollowing=De,De!==0&&(C.aCommonFollowing=Re+1,C.bCommonFollowing=Ne+1);let Q=ye+1,ke=Ne+De+1;return C.nChangeFollowing=m-1,m-1===b+g-Q-ke?(C.aStartFollowing=b,C.bStartFollowing=g):(C.aStartFollowing=Q,C.bStartFollowing=ke),!0}}}return!1},l=(m,y,b,E,g,w,O,A,S,T,C)=>{let x=g-b,I=b-y,W=g-E-I,X=W-m,Y=W+m,K=t,_=m<T?m:T;for(let P=0,N=m;P<=_;P+=1,N-=2){let le=P===0||P!==m&&S[P]<K,ce=le?S[P]:K,Re=le?ce:ce-1,Ne=x+Re-N,De=n(y,Re-1,E,Ne-1,w),ye=Re-De;if(K=S[P],S[P]=ye,X<=N&&N<=Y){let de=(m+(N-W))/2;if(de<=A&&ye-1<=O[de]){let Ee=Ne-De;if(C.nChangePreceding=m,m===ye+Ee-y-E?(C.aEndPreceding=y,C.bEndPreceding=E):(C.aEndPreceding=ye,C.bEndPreceding=Ee),C.nCommonPreceding=De,De!==0&&(C.aCommonPreceding=ye,C.bCommonPreceding=Ee),C.nChangeFollowing=m-1,m===1)C.nCommonFollowing=0,C.aStartFollowing=b,C.bStartFollowing=g;else{let qe=x+ce-(le?N-1:N+1),Le=r(ce,b,qe,g,w);C.nCommonFollowing=Le,Le!==0&&(C.aCommonFollowing=ce,C.bCommonFollowing=qe);let Fe=ce+Le,Ge=qe+Le;m-1===b+g-Fe-Ge?(C.aStartFollowing=b,C.bStartFollowing=g):(C.aStartFollowing=Fe,C.bStartFollowing=Ge)}return!0}}}return!1},u=(m,y,b,E,g,w,O,A,S)=>{let T=E-y,C=g-b,x=b-y,I=g-E,W=I-x,X=x,Y=x;if(O[0]=y-1,A[0]=b,W%2===0){let K=(m||W)/2,_=(x+I)/2;for(let P=1;P<=_;P+=1)if(X=o(P,b,g,T,w,O,X),P<K)Y=i(P,y,E,C,w,A,Y);else if(l(P,y,b,E,g,w,O,X,A,Y,S))return}else{let K=((m||W)+1)/2,_=(x+I+1)/2,P=1;for(X=o(P,b,g,T,w,O,X),P+=1;P<=_;P+=1)if(Y=i(P-1,y,E,C,w,A,Y),P<K)X=o(P,b,g,T,w,O,X);else if(s(P,y,b,E,g,w,O,X,A,Y,S))return}throw new Error(`${e}: no overlap aStart=${y} aEnd=${b} bStart=${E} bEnd=${g}`)},c=(m,y,b,E,g,w,O,A,S,T)=>{if(g-E<b-y){if(w=!w,w&&O.length===1){let{foundSubsequence:de,isCommon:Ee}=O[0];O[1]={foundSubsequence:(qe,Le,Fe)=>{de(qe,Fe,Le)},isCommon:(qe,Le)=>Ee(Le,qe)}}let De=y,ye=b;y=E,b=g,E=De,g=ye}let{foundSubsequence:C,isCommon:x}=O[w?1:0];u(m,y,b,E,g,x,A,S,T);let{nChangePreceding:I,aEndPreceding:W,bEndPreceding:X,nCommonPreceding:Y,aCommonPreceding:K,bCommonPreceding:_,nCommonFollowing:P,aCommonFollowing:N,bCommonFollowing:le,nChangeFollowing:ce,aStartFollowing:Re,bStartFollowing:Ne}=T;y<W&&E<X&&c(I,y,W,E,X,w,O,A,S,T),Y!==0&&C(Y,K,_),P!==0&&C(P,N,le),Re<b&&Ne<g&&c(ce,Re,b,Ne,g,w,O,A,S,T)},d=(m,y)=>{if(typeof y!="number")throw new TypeError(`${e}: ${m} typeof ${typeof y} is not a number`);if(!Number.isSafeInteger(y))throw new RangeError(`${e}: ${m} value ${y} is not a safe integer`);if(y<0)throw new RangeError(`${e}: ${m} value ${y} is a negative integer`)},p=(m,y)=>{let b=typeof y;if(b!=="function")throw new TypeError(`${e}: ${m} typeof ${b} is not a function`)};function h(m,y,b,E){d("aLength",m),d("bLength",y),p("isCommon",b),p("foundSubsequence",E);let g=r(0,m,0,y,b);if(g!==0&&E(g,0,0),m!==g||y!==g){let w=g,O=g,A=n(w,m-1,O,y-1,b),S=m-A,T=y-A,C=g+A;m!==C&&y!==C&&c(0,w,S,O,T,!1,[{foundSubsequence:E,isCommon:b}],[t],[t],{aCommonFollowing:t,aCommonPreceding:t,aEndPreceding:t,aStartFollowing:t,bCommonFollowing:t,bCommonPreceding:t,bEndPreceding:t,bStartFollowing:t,nChangeFollowing:t,nChangePreceding:t,nCommonFollowing:t,nCommonPreceding:t}),A!==0&&E(A,S,T)}}return uu}var D7=P7(),ZS=_7(D7);function I7(e,t){return e.replace(/\s+$/,r=>t(r))}function xy(e,t,r,n,o,i){return e.length!==0?r(`${n} ${I7(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function eA(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return xy(e,t,r,n,o,i)}function tA(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return xy(e,t,r,n,o,i)}function rA(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return xy(e,t,r,n,o,i)}function fS(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function M7(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(A!==u)if(A===0)u>n&&(i-=u-n,s=!0);else if(u===r){let S=u-A;S>n&&(i-=S-n,s=!0)}else{let S=u-A;S>o&&(i-=S-o,l+=1)}for(;u!==r&&e[u][0]!==Tt;)u+=1}let c=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let d=i-1,p=[],h=0;c&&p.push("");let m=0,y=0,b=0,E=0,g=A=>{let S=p.length;p.push(rA(A,S===0||S===d,t)),b+=1,E+=1},w=A=>{let S=p.length;p.push(eA(A,S===0||S===d,t)),b+=1},O=A=>{let S=p.length;p.push(tA(A,S===0||S===d,t)),E+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===Tt;)u+=1;if(A!==u)if(A===0){u>n&&(A=u-n,m=A,y=A,b=m,E=y);for(let S=A;S!==u;S+=1)g(e[S][1])}else if(u===r){let S=u-A>n?A+n:u;for(let T=A;T!==S;T+=1)g(e[T][1])}else{let S=u-A;if(S>o){let T=A+n;for(let x=A;x!==T;x+=1)g(e[x][1]);p[h]=fS(m,b,y,E,t),h=p.length,p.push("");let C=S-o;m=b+C,y=E+C,b=m,E=y;for(let x=u-n;x!==u;x+=1)g(e[x][1])}else for(let T=A;T!==u;T+=1)g(e[T][1])}for(;u!==r&&e[u][0]===rr;)w(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Xt;)O(e[u][1]),u+=1}return c&&(p[h]=fS(m,b,y,E,t)),p.join(`
|
|
209
|
-
`)}function N7(e,t){return e.map((r,n,o)=>{let i=r[1],s=n===0||n===o.length-1;switch(r[0]){case rr:return eA(i,s,t);case Xt:return tA(i,s,t);default:return rA(i,s,t)}}).join(`
|
|
210
|
-
`)}var uy=e=>e,nA=5,B7=0;function j7(){return{aAnnotation:"Expected",aColor:fn.green,aIndicator:"-",bAnnotation:"Received",bColor:fn.red,bIndicator:"+",changeColor:fn.inverse,changeLineTrailingSpaceColor:uy,commonColor:fn.dim,commonIndicator:" ",commonLineTrailingSpaceColor:uy,compareKeys:void 0,contextLines:nA,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:fn.yellow,truncateThreshold:B7,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:uy}}function F7(e){return e&&typeof e=="function"?e:void 0}function k7(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:nA}function Mo(e={}){return{...j7(),...e,compareKeys:F7(e.compareKeys),contextLines:k7(e.contextLines)}}function ei(e){return e.length===1&&e[0].length===0}function L7(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case rr:t+=1;break;case Xt:r+=1;break}}),{a:t,b:r}}function $7({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let c="",d="";if(s){let m=String(u.a),y=String(u.b),b=n.length-e.length,E=" ".repeat(Math.max(0,b)),g=" ".repeat(Math.max(0,-b)),w=y.length-m.length,O=" ".repeat(Math.max(0,w)),A=" ".repeat(Math.max(0,-w));c=`${E} ${r} ${O}${m}`,d=`${g} ${i} ${A}${y}`}let p=`${r} ${e}${c}`,h=`${i} ${n}${d}`;return`${t(p)}
|
|
211
|
-
${o(h)}
|
|
212
|
-
|
|
213
|
-
`}function qy(e,t,r){return $7(r,L7(e))+(r.expand?N7(e,r):M7(e,r))+(t?r.truncateAnnotationColor(`
|
|
214
|
-
${r.truncateAnnotation}`):"")}function hu(e,t,r){let n=Mo(r),[o,i]=oA(ei(e)?[]:e,ei(t)?[]:t,n);return qy(o,i,n)}function U7(e,t,r,n,o){if(ei(e)&&ei(r)&&(e=[],r=[]),ei(t)&&ei(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return hu(e,t,o);let[i,s]=oA(r,n,o),l=0,u=0;return i.forEach(c=>{switch(c[0]){case rr:c[1]=e[l],l+=1;break;case Xt:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),qy(i,s,Mo(o))}function oA(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,s=n?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(h,m)=>e[h]===t[m],c=[],d=0,p=0;for(ZS(i,s,u,(h,m,y)=>{for(;d!==m;d+=1)c.push(new Ct(rr,e[d]));for(;p!==y;p+=1)c.push(new Ct(Xt,t[p]));for(;h!==0;h-=1,d+=1,p+=1)c.push(new Ct(Tt,t[p]))});d!==i;d+=1)c.push(new Ct(rr,e[d]));for(;p!==s;p+=1)c.push(new Ct(Xt,t[p]));return[c,l]}function hS(e){return e.includes(`\r
|
|
215
|
-
`)?`\r
|
|
216
|
-
`:`
|
|
217
|
-
`}function H7(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,s=t.length;if(n){let h=e.includes(`
|
|
218
|
-
`),m=t.includes(`
|
|
219
|
-
`),y=hS(e),b=hS(t),E=h?`${e.split(y,o).join(y)}
|
|
220
|
-
`:e,g=m?`${t.split(b,o).join(b)}
|
|
221
|
-
`:t;i=E.length,s=g.length}let l=i!==e.length||s!==t.length,u=(h,m)=>e[h]===t[m],c=0,d=0,p=[];return ZS(i,s,u,(h,m,y)=>{c!==m&&p.push(new Ct(rr,e.slice(c,m))),d!==y&&p.push(new Ct(Xt,t.slice(d,y))),c=m+h,d=y+h,p.push(new Ct(Tt,t.slice(y,d)))}),c!==i&&p.push(new Ct(rr,e.slice(c))),d!==s&&p.push(new Ct(Xt,t.slice(d))),[p,l]}function z7(e,t,r){return t.reduce((n,o)=>n+(o[0]===Tt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var mS=class{constructor(e,t){At(this,"op");At(this,"line");At(this,"lines");At(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Ct(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Ct(this.op,z7(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Ct(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
222
|
-
`)){let r=t.split(`
|
|
223
|
-
`),n=r.length-1;r.forEach((o,i)=>{i<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},V7=class{constructor(e,t){At(this,"deleteBuffer");At(this,"insertBuffer");At(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
224
|
-
`)){let n=r.split(`
|
|
225
|
-
`),o=n.length-1;n.forEach((i,s)=>{if(s===0){let l=new Ct(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<o?this.pushDiffCommonLine(new Ct(t,i)):i.length!==0&&this.pushDiffChangeLines(new Ct(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function G7(e,t){let r=new mS(rr,t),n=new mS(Xt,t),o=new V7(r,n);return e.forEach(i=>{switch(i[0]){case rr:r.align(i);break;case Xt:n.align(i);break;default:o.align(i)}}),o.getLines()}function W7(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===Tt&&(o!==r||n[1]!==`
|
|
226
|
-
`))}return e.some(r=>r[0]===Tt)}function Y7(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
227
|
-
`)||t.includes(`
|
|
228
|
-
`),[o,i]=aA(n?`${e}
|
|
229
|
-
`:e,n?`${t}
|
|
230
|
-
`:t,!0,r);if(W7(o,n)){let s=Mo(r),l=G7(o,s.changeColor);return qy(l,i,s)}}return hu(e.split(`
|
|
231
|
-
`),t.split(`
|
|
232
|
-
`),r)}function aA(e,t,r,n){let[o,i]=H7(e,t,n);return r&&R7(o),[o,i]}function yy(e,t){let{commonColor:r}=Mo(t);return r(e)}var{AsymmetricMatcher:K7,DOMCollection:J7,DOMElement:X7,Immutable:Q7,ReactElement:Z7,ReactTestComponent:ez}=VS,iA=[ez,Z7,X7,J7,Q7,K7],gy={plugins:iA},sA={callToJSON:!1,maxDepth:10,plugins:iA};function tz(e,t,r){if(Object.is(e,t))return"";let n=sS(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==sS(t)){let{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:c,bColor:d,bIndicator:p}=Mo(r),h=by(sA,r),m=rn(e,h),y=rn(t,h),b=`${l(`${u} ${s}:`)}
|
|
233
|
-
${m}`,E=`${d(`${p} ${c}:`)}
|
|
234
|
-
${y}`;return`${b}
|
|
235
|
-
|
|
236
|
-
${E}`}if(!i)switch(n){case"string":return hu(e.split(`
|
|
237
|
-
`),t.split(`
|
|
238
|
-
`),r);case"boolean":case"number":return rz(e,t,r);case"map":return cy(yS(e),yS(t),r);case"set":return cy(gS(e),gS(t),r);default:return cy(e,t,r)}}function rz(e,t,r){let n=rn(e,gy),o=rn(t,gy);return n===o?"":hu(n.split(`
|
|
239
|
-
`),o.split(`
|
|
240
|
-
`),r)}function yS(e){return new Map(Array.from(e.entries()).sort())}function gS(e){return new Set(Array.from(e.values()).sort())}function cy(e,t,r){let n,o=!1;try{let s=by(gy,r);n=bS(e,t,s,r)}catch{o=!0}let i=yy(QS,r);if(n===void 0||n===i){let s=by(sA,r);n=bS(e,t,s,r),n!==i&&!o&&(n=`${yy(O7,r)}
|
|
241
|
-
|
|
242
|
-
${n}`)}return n}function by(e,t){let{compareKeys:r}=Mo(t);return{...e,compareKeys:r}}function bS(e,t,r,n){let o={...r,indent:0},i=rn(e,o),s=rn(t,o);if(i===s)return yy(QS,n);{let l=rn(e,r),u=rn(t,r);return U7(l.split(`
|
|
243
|
-
`),u.split(`
|
|
244
|
-
`),i.split(`
|
|
245
|
-
`),s.split(`
|
|
246
|
-
`),n)}}var vS=2e4;function ES(e){return hy(e)==="Object"&&typeof e.asymmetricMatch=="function"}function wS(e,t){let r=hy(e),n=hy(t);return r===n&&(r==="Object"||r==="Array")}function nz(e,t,r){let{aAnnotation:n,bAnnotation:o}=Mo(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=vS&&t.length<=vS&&e!==t){if(e.includes(`
|
|
247
|
-
`)||t.includes(`
|
|
248
|
-
`))return Y7(t,e,r);let[c]=aA(t,e,!0),d=c.some(y=>y[0]===Tt),p=oz(n,o),h=p(n)+sz(_S(c,rr,d)),m=p(o)+iz(_S(c,Xt,d));return`${h}
|
|
249
|
-
${m}`}let i=iS(e,{forceWritable:!0}),s=iS(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=lA(i,s);return tz(l,u,r)}function lA(e,t,r=new WeakSet,n=new WeakSet){return wS(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),YS(t).forEach(o=>{let i=t[o],s=e[o];if(ES(i))i.asymmetricMatch(s)&&(e[o]=i);else if(ES(s))s.asymmetricMatch(i)&&(t[o]=s);else if(wS(s,i)){let l=lA(s,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function oz(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var az="\xB7";function uA(e){return e.replace(/\s+$/gm,t=>az.repeat(t.length))}function iz(e){return fn.red(uA(hs(e)))}function sz(e){return fn.green(uA(hs(e)))}function _S(e,t,r){return e.reduce((n,o)=>n+(o[0]===Tt?o[1]:o[0]===t?r?fn.inverse(o[1]):o[1]:""),"")}var lz="@@__IMMUTABLE_RECORD__@@",uz="@@__IMMUTABLE_ITERABLE__@@";function cz(e){return e&&(e[uz]||e[lz])}var dz=Object.getPrototypeOf({});function SS(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function ti(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(cz(e))return ti(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${w7(e.sample)}`;if(typeof e.toJSON=="function")return ti(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=ti(n,t)}catch(i){r[o]=SS(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==dz;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=ti(e[o],t)}catch(i){delete r[o],r[o]=SS(i)}}),n=Object.getPrototypeOf(n);return r}}function pz(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function cA(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=nz(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=hs(n.expected,10)),typeof n.actual!="string"&&(n.actual=hs(n.actual,10));try{typeof n.message=="string"&&(n.message=pz(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=cA(n.cause,t,r))}catch{}try{return ti(n)}catch(o){return ti(new Error(`Failed to fully serialize error: ${o?.message}
|
|
250
|
-
Inner error message: ${n?.message}`))}}var dA=(e=>(e.DONE="done",e.ERROR="error",e.ACTIVE="active",e.WAITING="waiting",e))(dA||{}),tn={CALL:"storybook/instrumenter/call",SYNC:"storybook/instrumenter/sync",START:"storybook/instrumenter/start",BACK:"storybook/instrumenter/back",GOTO:"storybook/instrumenter/goto",NEXT:"storybook/instrumenter/next",END:"storybook/instrumenter/end"},AS={start:!1,back:!1,goto:!1,next:!1,end:!1},fz=new Error("This function ran after the play function completed. Did you forget to `await` it?"),CS=e=>Object.prototype.toString.call(e)==="[object Object]",hz=e=>Object.prototype.toString.call(e)==="[object Module]",mz=e=>{if(!CS(e)&&!hz(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!CS(t)},yz=e=>{try{return new e.constructor}catch{return{}}},dy=()=>({renderPhase:void 0,isDebugging:!1,isPlaying:!1,isLocked:!1,cursor:0,calls:[],shadowCalls:[],callRefsByResult:new Map,chainedCallIds:new Set,ancestors:[],playUntil:void 0,resolvers:{},syncTimeout:void 0}),RS=(e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(o=>o.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,o])=>o.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},gz=class{constructor(){this.initialized=!1,this.channel=R8.addons.getChannel(),this.state=dr.global.window?.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{};let e=({storyId:s,isPlaying:l=!0,isDebugging:u=!1})=>{let c=this.getState(s);this.setState(s,{...dy(),...RS(c,u),shadowCalls:u?c.shadowCalls:[],chainedCallIds:u?c.chainedCallIds:new Set,playUntil:u?c.playUntil:void 0,isPlaying:l,isDebugging:u}),this.sync(s)};this.channel.on(su.FORCE_REMOUNT,e),this.channel.on(su.STORY_RENDER_PHASE_CHANGED,({storyId:s,newPhase:l})=>{let{isDebugging:u}=this.getState(s);this.setState(s,{renderPhase:l}),l==="preparing"&&u&&e({storyId:s}),l==="playing"&&e({storyId:s,isDebugging:u}),l==="played"&&this.setState(s,{isLocked:!1,isPlaying:!1,isDebugging:!1}),l==="errored"&&this.setState(s,{isLocked:!1,isPlaying:!1})}),this.channel.on(su.SET_CURRENT_STORY,()=>{this.initialized?this.cleanup():this.initialized=!0});let t=({storyId:s,playUntil:l})=>{this.getState(s).isDebugging||this.setState(s,({calls:c})=>({calls:[],shadowCalls:c.map(d=>({...d,status:"waiting"})),isDebugging:!0}));let u=this.getLog(s);this.setState(s,({shadowCalls:c})=>{if(l||!u.length)return{playUntil:l};let d=c.findIndex(p=>p.id===u[0].callId);return{playUntil:c.slice(0,d).filter(p=>p.interceptable&&!p.ancestors.length).slice(-1)[0]?.id}}),this.channel.emit(su.FORCE_REMOUNT,{storyId:s,isDebugging:!0})},r=({storyId:s})=>{let l=this.getLog(s).filter(c=>!c.ancestors.length),u=l.reduceRight((c,d,p)=>c>=0||d.status==="waiting"?c:p,-1);t({storyId:s,playUntil:l[u-1]?.callId})},n=({storyId:s,callId:l})=>{let{calls:u,shadowCalls:c,resolvers:d}=this.getState(s),p=u.find(({id:m})=>m===l),h=c.find(({id:m})=>m===l);if(!p&&h&&Object.values(d).length>0){let m=this.getLog(s).find(y=>y.status==="waiting")?.callId;h.id!==m&&this.setState(s,{playUntil:h.id}),Object.values(d).forEach(y=>y())}else t({storyId:s,playUntil:l})},o=({storyId:s})=>{let{resolvers:l}=this.getState(s);if(Object.values(l).length>0)Object.values(l).forEach(u=>u());else{let u=this.getLog(s).find(c=>c.status==="waiting")?.callId;u?t({storyId:s,playUntil:u}):i({storyId:s})}},i=({storyId:s})=>{this.setState(s,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(s).resolvers).forEach(l=>l())};this.channel.on(tn.START,t),this.channel.on(tn.BACK,r),this.channel.on(tn.GOTO,n),this.channel.on(tn.NEXT,o),this.channel.on(tn.END,i)}getState(e){return this.state[e]||dy()}setState(e,t){let r=this.getState(e),n=typeof t=="function"?t(r):t;this.state={...this.state,[e]:{...r,...n}},dr.global.window?.parent&&(dr.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}cleanup(){this.state=Object.entries(this.state).reduce((t,[r,n])=>{let o=RS(n);return o&&(t[r]=Object.assign(dy(),o)),t},{});let e={controlStates:AS,logItems:[]};this.channel.emit(tn.SYNC,e),dr.global.window?.parent&&(dr.global.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state)}getLog(e){let{calls:t,shadowCalls:r}=this.getState(e),n=[...r];t.forEach((i,s)=>{n[s]=i});let o=new Set;return n.reduceRight((i,s)=>(s.args.forEach(l=>{l?.__callId__&&o.add(l.__callId__)}),s.path.forEach(l=>{l.__callId__&&o.add(l.__callId__)}),(s.interceptable||s.exception)&&!o.has(s.id)&&(i.unshift({callId:s.id,status:s.status,ancestors:s.ancestors}),o.add(s.id)),i),[])}instrument(e,t,r=0){if(!mz(e))return e;let{mutate:n=!1,path:o=[]}=t,i=t.getKeys?t.getKeys(e,r):Object.keys(e);return r+=1,i.reduce((s,l)=>{let u=vz(e,l);if(typeof u?.get=="function"){let d=()=>u?.get?.bind(e)?.();return Object.defineProperty(s,l,{get:()=>this.instrument(d(),{...t,path:o.concat(l)},r)}),s}let c=e[l];return typeof c!="function"?(s[l]=this.instrument(c,{...t,path:o.concat(l)},r),s):"__originalFn__"in c&&typeof c.__originalFn__=="function"?(s[l]=c,s):(s[l]=(...d)=>this.track(l,c,e,d,t),s[l].__originalFn__=c,Object.defineProperty(s[l],"name",{value:l,writable:!1}),Object.keys(c).length>0&&Object.assign(s[l],this.instrument({...c},{...t,path:o.concat(l)},r)),s)},n?e:yz(e))}track(e,t,r,n,o){let i=n?.[0]?.__storyId__||dr.global.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:s,ancestors:l}=this.getState(i);this.setState(i,{cursor:s+1});let u=`${l.slice(-1)[0]||i} [${s}] ${e}`,{path:c=[],intercept:d=!1,retain:p=!1}=o,h=typeof d=="function"?d(e,c):d,m={id:u,cursor:s,storyId:i,ancestors:l,path:c,method:e,args:n,interceptable:h,retain:p},y=(h&&!l.length?this.intercept:this.invoke).call(this,t,r,m,o);return this.instrument(y,{...o,mutate:!0,path:[{__callId__:m.id}]})}intercept(e,t,r,n){let{chainedCallIds:o,isDebugging:i,playUntil:s}=this.getState(r.storyId),l=o.has(r.id);return!i||l||s?(s===r.id&&this.setState(r.storyId,{playUntil:void 0}),this.invoke(e,t,r,n)):new Promise(u=>{this.setState(r.storyId,({resolvers:c})=>({isLocked:!1,resolvers:{...c,[r.id]:u}}))}).then(()=>(this.setState(r.storyId,u=>{let{[r.id]:c,...d}=u.resolvers;return{isLocked:!0,resolvers:d}}),this.invoke(e,t,r,n)))}invoke(e,t,r,n){let{callRefsByResult:o,renderPhase:i}=this.getState(r.storyId),s=25,l=(d,p,h)=>{if(h.includes(d))return"[Circular]";if(h=[...h,d],p>s)return"...";if(o.has(d))return o.get(d);if(d instanceof Array)return d.map(m=>l(m,++p,h));if(d instanceof Date)return{__date__:{value:d.toISOString()}};if(d instanceof Error){let{name:m,message:y,stack:b}=d;return{__error__:{name:m,message:y,stack:b}}}if(d instanceof RegExp){let{flags:m,source:y}=d;return{__regexp__:{flags:m,source:y}}}if(d instanceof dr.global.window?.HTMLElement){let{prefix:m,localName:y,id:b,classList:E,innerText:g}=d,w=Array.from(E);return{__element__:{prefix:m,localName:y,id:b,classNames:w,innerText:g}}}return typeof d=="function"?{__function__:{name:"getMockName"in d?d.getMockName():d.name}}:typeof d=="symbol"?{__symbol__:{description:d.description}}:typeof d=="object"&&d?.constructor?.name&&d?.constructor?.name!=="Object"?{__class__:{name:d.constructor.name}}:Object.prototype.toString.call(d)==="[object Object]"?Object.fromEntries(Object.entries(d).map(([m,y])=>[m,l(y,++p,h)])):d},u={...r,args:r.args.map(d=>l(d,0,[]))};r.path.forEach(d=>{d?.__callId__&&this.setState(r.storyId,({chainedCallIds:p})=>({chainedCallIds:new Set(Array.from(p).concat(d.__callId__))}))});let c=d=>{if(d instanceof Error){let{name:p,message:h,stack:m,callId:y=r.id}=d,{showDiff:b=void 0,diff:E=void 0,actual:g=void 0,expected:w=void 0}=d.name==="AssertionError"?cA(d):d,O={name:p,message:h,stack:m,callId:y,showDiff:b,diff:E,actual:g,expected:w};if(this.update({...u,status:"error",exception:O}),this.setState(r.storyId,A=>({callRefsByResult:new Map([...Array.from(A.callRefsByResult.entries()),[d,{__callId__:r.id,retain:r.retain}]])})),r.ancestors.length)throw Object.prototype.hasOwnProperty.call(d,"callId")||Object.defineProperty(d,"callId",{value:r.id}),d}throw d};try{if(i==="played"&&!r.retain)throw fz;let d=(n.getArgs?n.getArgs(r,this.getState(r.storyId)):r.args).map(h=>typeof h!="function"||Object.keys(h).length?h:(...m)=>{let{cursor:y,ancestors:b}=this.getState(r.storyId);this.setState(r.storyId,{cursor:0,ancestors:[...b,r.id]});let E=()=>this.setState(r.storyId,{cursor:y,ancestors:b}),g=!1;try{let w=h(...m);return w instanceof Promise?(g=!0,w.finally(E)):w}finally{g||E()}}),p=e.apply(t,d);return p&&["object","function","symbol"].includes(typeof p)&&this.setState(r.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[p,{__callId__:r.id,retain:r.retain}]])})),this.update({...u,status:p instanceof Promise?"active":"done"}),p instanceof Promise?p.then(h=>(this.update({...u,status:"done"}),h),c):p}catch(d){return c(d)}}update(e){this.channel.emit(tn.CALL,e),this.setState(e.storyId,({calls:t})=>{let r=t.concat(e).reduce((n,o)=>Object.assign(n,{[o.id]:o}),{});return{calls:Object.values(r).sort((n,o)=>n.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(e.storyId)}sync(e){let t=()=>{let{isLocked:r,isPlaying:n}=this.getState(e),o=this.getLog(e),i=o.filter(({ancestors:c})=>!c.length).find(c=>c.status==="waiting")?.callId,s=o.some(c=>c.status==="active");if(r||s||o.length===0){let c={controlStates:AS,logItems:o};this.channel.emit(tn.SYNC,c);return}let l=o.some(c=>c.status==="done"||c.status==="error"),u={controlStates:{start:l,back:l,goto:!0,next:n,end:n},logItems:o,pausedAt:i};this.channel.emit(tn.SYNC,u)};this.setState(e,({syncTimeout:r})=>(clearTimeout(r),{syncTimeout:setTimeout(t,0)}))}};function bz(e,t={}){try{let r=!1,n=!1;return dr.global.window?.location?.search?.includes("instrument=true")?r=!0:dr.global.window?.location?.search?.includes("instrument=false")&&(n=!0),dr.global.window?.parent===dr.global.window&&!r||n?e:(dr.global.window&&!dr.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(dr.global.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new gz),(dr.global.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return C8.once.warn(r),e}}function vz(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}});var IP=se((X1e,jo)=>{"use strict";var Ez=Object.create,Ku=Object.defineProperty,wz=Object.getOwnPropertyDescriptor,ER=Object.getOwnPropertyNames,_z=Object.getPrototypeOf,Sz=Object.prototype.hasOwnProperty,F=(e,t)=>function(){return t||(0,e[ER(e)[0]])((t={exports:{}}).exports,t),t.exports},Ju=(e,t)=>{for(var r in t)Ku(e,r,{get:t[r],enumerable:!0})},wR=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of ER(t))!Sz.call(e,o)&&o!==r&&Ku(e,o,{get:()=>t[o],enumerable:!(n=wz(t,o))||n.enumerable});return e},Sr=(e,t,r)=>(r=e!=null?Ez(_z(e)):{},wR(t||!e||!e.__esModule?Ku(r,"default",{value:e,enumerable:!0}):r,e)),Az=e=>wR(Ku({},"__esModule",{value:!0}),e),Cz=F({"../../node_modules/min-indent/index.js"(e,t){"use strict";t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((o,i)=>Math.min(o,i.length),1/0):0}}}),Rz=F({"../../node_modules/strip-indent/index.js"(e,t){"use strict";var r=Cz();t.exports=n=>{let o=r(n);if(o===0)return n;let i=new RegExp(`^[ \\t]{${o}}`,"gm");return n.replace(i,"")}}}),Tz=F({"../../node_modules/indent-string/index.js"(e,t){"use strict";t.exports=(r,n=1,o)=>{if(o={indent:" ",includeEmptyLines:!1,...o},typeof r!="string")throw new TypeError(`Expected \`input\` to be a \`string\`, got \`${typeof r}\``);if(typeof n!="number")throw new TypeError(`Expected \`count\` to be a \`number\`, got \`${typeof n}\``);if(typeof o.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof o.indent}\``);if(n===0)return r;let i=o.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(i,o.indent.repeat(n))}}}),_R=F({"../../node_modules/redent/index.js"(e,t){"use strict";var r=Rz(),n=Tz();t.exports=(o,i=0,s)=>n(r(o),i,s)}}),xz=F({"../../node_modules/aria-query/lib/util/iteratorProxy.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,o=0,i={"@@iterator":function(){return i},next:function(){if(o<n.length){var s=n[o];return o=o+1,{done:!1,value:s}}else return{done:!0}}};return i}var r=t;e.default=r}}),Us=F({"../../node_modules/aria-query/lib/util/iterationDecorator.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=o;var t=r(xz());function r(i){return i&&i.__esModule?i:{default:i}}function n(i){"@babel/helpers - typeof";return n=typeof Symbol=="function"&&typeof Symbol.iterator=="symbol"?function(s){return typeof s}:function(s){return s&&typeof Symbol=="function"&&s.constructor===Symbol&&s!==Symbol.prototype?"symbol":typeof s},n(i)}function o(i,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(i,Symbol.iterator,{value:t.default.bind(s)}),i}}}),qz=F({"../../node_modules/aria-query/lib/ariaPropsMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Us());function r(m){return m&&m.__esModule?m:{default:m}}function n(m,y){return s(m)||i(m,y)||u(m,y)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
251
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,y){var b=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(b!=null){var E=[],g=!0,w=!1,O,A;try{for(b=b.call(m);!(g=(O=b.next()).done)&&(E.push(O.value),!(y&&E.length===y));g=!0);}catch(S){w=!0,A=S}finally{try{!g&&b.return!=null&&b.return()}finally{if(w)throw A}}return E}}function s(m){if(Array.isArray(m))return m}function l(m,y){var b=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!b){if(Array.isArray(m)||(b=u(m))||y&&m&&typeof m.length=="number"){b&&(m=b);var E=0,g=function(){};return{s:g,n:function(){return E>=m.length?{done:!0}:{done:!1,value:m[E++]}},e:function(S){throw S},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
252
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,O=!1,A;return{s:function(){b=b.call(m)},n:function(){var S=b.next();return w=S.done,S},e:function(S){O=!0,A=S},f:function(){try{!w&&b.return!=null&&b.return()}finally{if(O)throw A}}}}function u(m,y){if(m){if(typeof m=="string")return c(m,y);var b=Object.prototype.toString.call(m).slice(8,-1);if(b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set")return Array.from(m);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(m,y)}}function c(m,y){(y==null||y>m.length)&&(y=m.length);for(var b=0,E=new Array(y);b<y;b++)E[b]=m[b];return E}var d=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],p={entries:function(){return d},forEach:function(m){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(d),E;try{for(b.s();!(E=b.n()).done;){var g=n(E.value,2),w=g[0],O=g[1];m.call(y,O,w,d)}}catch(A){b.e(A)}finally{b.f()}},get:function(m){var y=d.find(function(b){return b[0]===m});return y&&y[1]},has:function(m){return!!p.get(m)},keys:function(){return d.map(function(m){var y=n(m,1),b=y[0];return b})},values:function(){return d.map(function(m){var y=n(m,2),b=y[1];return b})}},h=(0,t.default)(p,p.entries());e.default=h}}),Oz=F({"../../node_modules/aria-query/lib/domMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Us());function r(m){return m&&m.__esModule?m:{default:m}}function n(m,y){return s(m)||i(m,y)||u(m,y)||o()}function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
253
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function i(m,y){var b=m==null?null:typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(b!=null){var E=[],g=!0,w=!1,O,A;try{for(b=b.call(m);!(g=(O=b.next()).done)&&(E.push(O.value),!(y&&E.length===y));g=!0);}catch(S){w=!0,A=S}finally{try{!g&&b.return!=null&&b.return()}finally{if(w)throw A}}return E}}function s(m){if(Array.isArray(m))return m}function l(m,y){var b=typeof Symbol<"u"&&m[Symbol.iterator]||m["@@iterator"];if(!b){if(Array.isArray(m)||(b=u(m))||y&&m&&typeof m.length=="number"){b&&(m=b);var E=0,g=function(){};return{s:g,n:function(){return E>=m.length?{done:!0}:{done:!1,value:m[E++]}},e:function(S){throw S},f:g}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
254
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var w=!0,O=!1,A;return{s:function(){b=b.call(m)},n:function(){var S=b.next();return w=S.done,S},e:function(S){O=!0,A=S},f:function(){try{!w&&b.return!=null&&b.return()}finally{if(O)throw A}}}}function u(m,y){if(m){if(typeof m=="string")return c(m,y);var b=Object.prototype.toString.call(m).slice(8,-1);if(b==="Object"&&m.constructor&&(b=m.constructor.name),b==="Map"||b==="Set")return Array.from(m);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(m,y)}}function c(m,y){(y==null||y>m.length)&&(y=m.length);for(var b=0,E=new Array(y);b<y;b++)E[b]=m[b];return E}var d=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],p={entries:function(){return d},forEach:function(m){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(d),E;try{for(b.s();!(E=b.n()).done;){var g=n(E.value,2),w=g[0],O=g[1];m.call(y,O,w,d)}}catch(A){b.e(A)}finally{b.f()}},get:function(m){var y=d.find(function(b){return b[0]===m});return y&&y[1]},has:function(m){return!!p.get(m)},keys:function(){return d.map(function(m){var y=n(m,1),b=y[0];return b})},values:function(){return d.map(function(m){var y=n(m,2),b=y[1];return b})}},h=(0,t.default)(p,p.entries());e.default=h}}),Pz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/commandRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Dz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/compositeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Iz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/inputRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},r=t;e.default=r}}),Mz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/landmarkRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Nz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/rangeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Bz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/roletypeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),jz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Fz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/sectionheadRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),kz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/selectRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},r=t;e.default=r}}),Lz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/structureRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),$z=F({"../../node_modules/aria-query/lib/etc/roles/abstract/widgetRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),Uz=F({"../../node_modules/aria-query/lib/etc/roles/abstract/windowRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},r=t;e.default=r}}),Hz=F({"../../node_modules/aria-query/lib/etc/roles/ariaAbstractRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=m(Pz()),r=m(Dz()),n=m(Iz()),o=m(Mz()),i=m(Nz()),s=m(Bz()),l=m(jz()),u=m(Fz()),c=m(kz()),d=m(Lz()),p=m($z()),h=m(Uz());function m(E){return E&&E.__esModule?E:{default:E}}var y=[["command",t.default],["composite",r.default],["input",n.default],["landmark",o.default],["range",i.default],["roletype",s.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",d.default],["widget",p.default],["window",h.default]],b=y;e.default=b}}),zz=F({"../../node_modules/aria-query/lib/etc/roles/literal/alertRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Vz=F({"../../node_modules/aria-query/lib/etc/roles/literal/alertdialogRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},r=t;e.default=r}}),Gz=F({"../../node_modules/aria-query/lib/etc/roles/literal/applicationRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),Wz=F({"../../node_modules/aria-query/lib/etc/roles/literal/articleRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),Yz=F({"../../node_modules/aria-query/lib/etc/roles/literal/bannerRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),Kz=F({"../../node_modules/aria-query/lib/etc/roles/literal/blockquoteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Jz=F({"../../node_modules/aria-query/lib/etc/roles/literal/buttonRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),Xz=F({"../../node_modules/aria-query/lib/etc/roles/literal/captionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Qz=F({"../../node_modules/aria-query/lib/etc/roles/literal/cellRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),Zz=F({"../../node_modules/aria-query/lib/etc/roles/literal/checkboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),eV=F({"../../node_modules/aria-query/lib/etc/roles/literal/codeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),tV=F({"../../node_modules/aria-query/lib/etc/roles/literal/columnheaderRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),rV=F({"../../node_modules/aria-query/lib/etc/roles/literal/comboboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),nV=F({"../../node_modules/aria-query/lib/etc/roles/literal/complementaryRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),oV=F({"../../node_modules/aria-query/lib/etc/roles/literal/contentinfoRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),aV=F({"../../node_modules/aria-query/lib/etc/roles/literal/definitionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),iV=F({"../../node_modules/aria-query/lib/etc/roles/literal/deletionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),sV=F({"../../node_modules/aria-query/lib/etc/roles/literal/dialogRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},r=t;e.default=r}}),lV=F({"../../node_modules/aria-query/lib/etc/roles/literal/directoryRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),uV=F({"../../node_modules/aria-query/lib/etc/roles/literal/documentRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),cV=F({"../../node_modules/aria-query/lib/etc/roles/literal/emphasisRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),dV=F({"../../node_modules/aria-query/lib/etc/roles/literal/feedRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},r=t;e.default=r}}),pV=F({"../../node_modules/aria-query/lib/etc/roles/literal/figureRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fV=F({"../../node_modules/aria-query/lib/etc/roles/literal/formRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),hV=F({"../../node_modules/aria-query/lib/etc/roles/literal/genericRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),mV=F({"../../node_modules/aria-query/lib/etc/roles/literal/gridRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},r=t;e.default=r}}),yV=F({"../../node_modules/aria-query/lib/etc/roles/literal/gridcellRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},r=t;e.default=r}}),gV=F({"../../node_modules/aria-query/lib/etc/roles/literal/groupRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),bV=F({"../../node_modules/aria-query/lib/etc/roles/literal/headingRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),vV=F({"../../node_modules/aria-query/lib/etc/roles/literal/imgRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),EV=F({"../../node_modules/aria-query/lib/etc/roles/literal/insertionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wV=F({"../../node_modules/aria-query/lib/etc/roles/literal/linkRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),_V=F({"../../node_modules/aria-query/lib/etc/roles/literal/listRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),SV=F({"../../node_modules/aria-query/lib/etc/roles/literal/listboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),AV=F({"../../node_modules/aria-query/lib/etc/roles/literal/listitemRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),CV=F({"../../node_modules/aria-query/lib/etc/roles/literal/logRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),RV=F({"../../node_modules/aria-query/lib/etc/roles/literal/mainRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),TV=F({"../../node_modules/aria-query/lib/etc/roles/literal/markRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),xV=F({"../../node_modules/aria-query/lib/etc/roles/literal/marqueeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),qV=F({"../../node_modules/aria-query/lib/etc/roles/literal/mathRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),OV=F({"../../node_modules/aria-query/lib/etc/roles/literal/menuRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),PV=F({"../../node_modules/aria-query/lib/etc/roles/literal/menubarRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},r=t;e.default=r}}),DV=F({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},r=t;e.default=r}}),IV=F({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemcheckboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},r=t;e.default=r}}),MV=F({"../../node_modules/aria-query/lib/etc/roles/literal/menuitemradioRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},r=t;e.default=r}}),NV=F({"../../node_modules/aria-query/lib/etc/roles/literal/meterRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},r=t;e.default=r}}),BV=F({"../../node_modules/aria-query/lib/etc/roles/literal/navigationRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),jV=F({"../../node_modules/aria-query/lib/etc/roles/literal/noneRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},r=t;e.default=r}}),FV=F({"../../node_modules/aria-query/lib/etc/roles/literal/noteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),kV=F({"../../node_modules/aria-query/lib/etc/roles/literal/optionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),LV=F({"../../node_modules/aria-query/lib/etc/roles/literal/paragraphRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),$V=F({"../../node_modules/aria-query/lib/etc/roles/literal/presentationRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),UV=F({"../../node_modules/aria-query/lib/etc/roles/literal/progressbarRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),HV=F({"../../node_modules/aria-query/lib/etc/roles/literal/radioRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),zV=F({"../../node_modules/aria-query/lib/etc/roles/literal/radiogroupRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),VV=F({"../../node_modules/aria-query/lib/etc/roles/literal/regionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),GV=F({"../../node_modules/aria-query/lib/etc/roles/literal/rowRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},r=t;e.default=r}}),WV=F({"../../node_modules/aria-query/lib/etc/roles/literal/rowgroupRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),YV=F({"../../node_modules/aria-query/lib/etc/roles/literal/rowheaderRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},r=t;e.default=r}}),KV=F({"../../node_modules/aria-query/lib/etc/roles/literal/scrollbarRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},r=t;e.default=r}}),JV=F({"../../node_modules/aria-query/lib/etc/roles/literal/searchRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),XV=F({"../../node_modules/aria-query/lib/etc/roles/literal/searchboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},r=t;e.default=r}}),QV=F({"../../node_modules/aria-query/lib/etc/roles/literal/separatorRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},r=t;e.default=r}}),ZV=F({"../../node_modules/aria-query/lib/etc/roles/literal/sliderRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),eG=F({"../../node_modules/aria-query/lib/etc/roles/literal/spinbuttonRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},r=t;e.default=r}}),tG=F({"../../node_modules/aria-query/lib/etc/roles/literal/statusRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),rG=F({"../../node_modules/aria-query/lib/etc/roles/literal/strongRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),nG=F({"../../node_modules/aria-query/lib/etc/roles/literal/subscriptRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),oG=F({"../../node_modules/aria-query/lib/etc/roles/literal/superscriptRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),aG=F({"../../node_modules/aria-query/lib/etc/roles/literal/switchRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},r=t;e.default=r}}),iG=F({"../../node_modules/aria-query/lib/etc/roles/literal/tabRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},r=t;e.default=r}}),sG=F({"../../node_modules/aria-query/lib/etc/roles/literal/tableRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),lG=F({"../../node_modules/aria-query/lib/etc/roles/literal/tablistRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},r=t;e.default=r}}),uG=F({"../../node_modules/aria-query/lib/etc/roles/literal/tabpanelRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),cG=F({"../../node_modules/aria-query/lib/etc/roles/literal/termRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),dG=F({"../../node_modules/aria-query/lib/etc/roles/literal/textboxRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},r=t;e.default=r}}),pG=F({"../../node_modules/aria-query/lib/etc/roles/literal/timeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),fG=F({"../../node_modules/aria-query/lib/etc/roles/literal/timerRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},r=t;e.default=r}}),hG=F({"../../node_modules/aria-query/lib/etc/roles/literal/toolbarRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),mG=F({"../../node_modules/aria-query/lib/etc/roles/literal/tooltipRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),yG=F({"../../node_modules/aria-query/lib/etc/roles/literal/treeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},r=t;e.default=r}}),gG=F({"../../node_modules/aria-query/lib/etc/roles/literal/treegridRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},r=t;e.default=r}}),bG=F({"../../node_modules/aria-query/lib/etc/roles/literal/treeitemRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},r=t;e.default=r}}),vG=F({"../../node_modules/aria-query/lib/etc/roles/ariaLiteralRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Oe(zz()),r=Oe(Vz()),n=Oe(Gz()),o=Oe(Wz()),i=Oe(Yz()),s=Oe(Kz()),l=Oe(Jz()),u=Oe(Xz()),c=Oe(Qz()),d=Oe(Zz()),p=Oe(eV()),h=Oe(tV()),m=Oe(rV()),y=Oe(nV()),b=Oe(oV()),E=Oe(aV()),g=Oe(iV()),w=Oe(sV()),O=Oe(lV()),A=Oe(uV()),S=Oe(cV()),T=Oe(dV()),C=Oe(pV()),x=Oe(fV()),I=Oe(hV()),W=Oe(mV()),X=Oe(yV()),Y=Oe(gV()),K=Oe(bV()),_=Oe(vV()),P=Oe(EV()),N=Oe(wV()),le=Oe(_V()),ce=Oe(SV()),Re=Oe(AV()),Ne=Oe(CV()),De=Oe(RV()),ye=Oe(TV()),de=Oe(xV()),Ee=Oe(qV()),qe=Oe(OV()),Le=Oe(PV()),Fe=Oe(DV()),Ge=Oe(IV()),dt=Oe(MV()),Q=Oe(NV()),ke=Oe(BV()),ze=Oe(jV()),et=Oe(FV()),J=Oe(kV()),Se=Oe(LV()),$e=Oe($V()),tt=Oe(UV()),Ut=Oe(HV()),$i=Oe(zV()),Ui=Oe(VV()),Xj=Oe(GV()),Qj=Oe(WV()),Zj=Oe(YV()),eF=Oe(KV()),tF=Oe(JV()),rF=Oe(XV()),nF=Oe(QV()),oF=Oe(ZV()),aF=Oe(eG()),iF=Oe(tG()),sF=Oe(rG()),lF=Oe(nG()),uF=Oe(oG()),cF=Oe(aG()),dF=Oe(iG()),pF=Oe(sG()),fF=Oe(lG()),hF=Oe(uG()),mF=Oe(cG()),yF=Oe(dG()),gF=Oe(pG()),bF=Oe(fG()),vF=Oe(hG()),EF=Oe(mG()),wF=Oe(yG()),_F=Oe(gG()),SF=Oe(bG());function Oe(_l){return _l&&_l.__esModule?_l:{default:_l}}var AF=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",o.default],["banner",i.default],["blockquote",s.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",d.default],["code",p.default],["columnheader",h.default],["combobox",m.default],["complementary",y.default],["contentinfo",b.default],["definition",E.default],["deletion",g.default],["dialog",w.default],["directory",O.default],["document",A.default],["emphasis",S.default],["feed",T.default],["figure",C.default],["form",x.default],["generic",I.default],["grid",W.default],["gridcell",X.default],["group",Y.default],["heading",K.default],["img",_.default],["insertion",P.default],["link",N.default],["list",le.default],["listbox",ce.default],["listitem",Re.default],["log",Ne.default],["main",De.default],["mark",ye.default],["marquee",de.default],["math",Ee.default],["menu",qe.default],["menubar",Le.default],["menuitem",Fe.default],["menuitemcheckbox",Ge.default],["menuitemradio",dt.default],["meter",Q.default],["navigation",ke.default],["none",ze.default],["note",et.default],["option",J.default],["paragraph",Se.default],["presentation",$e.default],["progressbar",tt.default],["radio",Ut.default],["radiogroup",$i.default],["region",Ui.default],["row",Xj.default],["rowgroup",Qj.default],["rowheader",Zj.default],["scrollbar",eF.default],["search",tF.default],["searchbox",rF.default],["separator",nF.default],["slider",oF.default],["spinbutton",aF.default],["status",iF.default],["strong",sF.default],["subscript",lF.default],["superscript",uF.default],["switch",cF.default],["tab",dF.default],["table",pF.default],["tablist",fF.default],["tabpanel",hF.default],["term",mF.default],["textbox",yF.default],["time",gF.default],["timer",bF.default],["toolbar",vF.default],["tooltip",EF.default],["tree",wF.default],["treegrid",_F.default],["treeitem",SF.default]],CF=AF;e.default=CF}}),EG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docAbstractRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),wG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docAcknowledgmentsRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),_G=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docAfterwordRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),SG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docAppendixRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),AG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docBacklinkRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),CG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docBiblioentryRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),RG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliographyRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),TG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docBibliorefRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),xG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docChapterRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),qG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docColophonRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),OG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docConclusionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),PG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docCoverRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),DG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),IG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docCreditsRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),MG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docDedicationRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),NG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnoteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},r=t;e.default=r}}),BG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docEndnotesRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),jG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpigraphRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),FG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docEpilogueRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),kG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docErrataRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),LG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docExampleRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),$G=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docFootnoteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),UG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docForewordRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),HG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossaryRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),zG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docGlossrefRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),VG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docIndexRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),GG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docIntroductionRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),WG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoterefRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},r=t;e.default=r}}),YG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docNoticeRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),KG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagebreakRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},r=t;e.default=r}}),JG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPagelistRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),XG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPartRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),QG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrefaceRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),ZG=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPrologueRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},r=t;e.default=r}}),eW=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docPullquoteRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},r=t;e.default=r}}),tW=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docQnaRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},r=t;e.default=r}}),rW=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docSubtitleRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},r=t;e.default=r}}),nW=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docTipRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},r=t;e.default=r}}),oW=F({"../../node_modules/aria-query/lib/etc/roles/dpub/docTocRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},r=t;e.default=r}}),aW=F({"../../node_modules/aria-query/lib/etc/roles/ariaDpubRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=Ee(EG()),r=Ee(wG()),n=Ee(_G()),o=Ee(SG()),i=Ee(AG()),s=Ee(CG()),l=Ee(RG()),u=Ee(TG()),c=Ee(xG()),d=Ee(qG()),p=Ee(OG()),h=Ee(PG()),m=Ee(DG()),y=Ee(IG()),b=Ee(MG()),E=Ee(NG()),g=Ee(BG()),w=Ee(jG()),O=Ee(FG()),A=Ee(kG()),S=Ee(LG()),T=Ee($G()),C=Ee(UG()),x=Ee(HG()),I=Ee(zG()),W=Ee(VG()),X=Ee(GG()),Y=Ee(WG()),K=Ee(YG()),_=Ee(KG()),P=Ee(JG()),N=Ee(XG()),le=Ee(QG()),ce=Ee(ZG()),Re=Ee(eW()),Ne=Ee(tW()),De=Ee(rW()),ye=Ee(nW()),de=Ee(oW());function Ee(Fe){return Fe&&Fe.__esModule?Fe:{default:Fe}}var qe=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",o.default],["doc-backlink",i.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",d.default],["doc-conclusion",p.default],["doc-cover",h.default],["doc-credit",m.default],["doc-credits",y.default],["doc-dedication",b.default],["doc-endnote",E.default],["doc-endnotes",g.default],["doc-epigraph",w.default],["doc-epilogue",O.default],["doc-errata",A.default],["doc-example",S.default],["doc-footnote",T.default],["doc-foreword",C.default],["doc-glossary",x.default],["doc-glossref",I.default],["doc-index",W.default],["doc-introduction",X.default],["doc-noteref",Y.default],["doc-notice",K.default],["doc-pagebreak",_.default],["doc-pagelist",P.default],["doc-part",N.default],["doc-preface",le.default],["doc-prologue",ce.default],["doc-pullquote",Re.default],["doc-qna",Ne.default],["doc-subtitle",De.default],["doc-tip",ye.default],["doc-toc",de.default]],Le=qe;e.default=Le}}),iW=F({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsDocumentRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},r=t;e.default=r}}),sW=F({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsObjectRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},r=t;e.default=r}}),lW=F({"../../node_modules/aria-query/lib/etc/roles/graphics/graphicsSymbolRole.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},r=t;e.default=r}}),uW=F({"../../node_modules/aria-query/lib/etc/roles/ariaGraphicsRoles.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=o(iW()),r=o(sW()),n=o(lW());function o(l){return l&&l.__esModule?l:{default:l}}var i=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],s=i;e.default=s}}),Yg=F({"../../node_modules/aria-query/lib/rolesMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(Hz()),r=s(vG()),n=s(aW()),o=s(uW()),i=s(Us());function s(w){return w&&w.__esModule?w:{default:w}}function l(w,O,A){return O in w?Object.defineProperty(w,O,{value:A,enumerable:!0,configurable:!0,writable:!0}):w[O]=A,w}function u(w,O){var A=typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(!A){if(Array.isArray(w)||(A=p(w))||O&&w&&typeof w.length=="number"){A&&(w=A);var S=0,T=function(){};return{s:T,n:function(){return S>=w.length?{done:!0}:{done:!1,value:w[S++]}},e:function(W){throw W},f:T}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
255
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var C=!0,x=!1,I;return{s:function(){A=A.call(w)},n:function(){var W=A.next();return C=W.done,W},e:function(W){x=!0,I=W},f:function(){try{!C&&A.return!=null&&A.return()}finally{if(x)throw I}}}}function c(w,O){return y(w)||m(w,O)||p(w,O)||d()}function d(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
256
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function p(w,O){if(w){if(typeof w=="string")return h(w,O);var A=Object.prototype.toString.call(w).slice(8,-1);if(A==="Object"&&w.constructor&&(A=w.constructor.name),A==="Map"||A==="Set")return Array.from(w);if(A==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(A))return h(w,O)}}function h(w,O){(O==null||O>w.length)&&(O=w.length);for(var A=0,S=new Array(O);A<O;A++)S[A]=w[A];return S}function m(w,O){var A=w==null?null:typeof Symbol<"u"&&w[Symbol.iterator]||w["@@iterator"];if(A!=null){var S=[],T=!0,C=!1,x,I;try{for(A=A.call(w);!(T=(x=A.next()).done)&&(S.push(x.value),!(O&&S.length===O));T=!0);}catch(W){C=!0,I=W}finally{try{!T&&A.return!=null&&A.return()}finally{if(C)throw I}}return S}}function y(w){if(Array.isArray(w))return w}var b=[].concat(t.default,r.default,n.default,o.default);b.forEach(function(w){var O=c(w,2),A=O[1],S=u(A.superClass),T;try{for(S.s();!(T=S.n()).done;){var C=T.value,x=u(C),I;try{var W=function(){var X=I.value,Y=b.find(function(le){var ce=c(le,1),Re=ce[0];return Re===X});if(Y)for(var K=Y[1],_=0,P=Object.keys(K.props);_<P.length;_++){var N=P[_];Object.prototype.hasOwnProperty.call(A.props,N)||Object.assign(A.props,l({},N,K.props[N]))}};for(x.s();!(I=x.n()).done;)W()}catch(X){x.e(X)}finally{x.f()}}}catch(X){S.e(X)}finally{S.f()}});var E={entries:function(){return b},forEach:function(w){var O=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,A=u(b),S;try{for(A.s();!(S=A.n()).done;){var T=c(S.value,2),C=T[0],x=T[1];w.call(O,x,C,b)}}catch(I){A.e(I)}finally{A.f()}},get:function(w){var O=b.find(function(A){return A[0]===w});return O&&O[1]},has:function(w){return!!E.get(w)},keys:function(){return b.map(function(w){var O=c(w,1),A=O[0];return A})},values:function(){return b.map(function(w){var O=c(w,2),A=O[1];return A})}},g=(0,i.default)(E,E.entries());e.default=g}}),cW=F({"../../node_modules/dequal/lite/index.js"(e){"use strict";var t=Object.prototype.hasOwnProperty;function r(n,o){var i,s;if(n===o)return!0;if(n&&o&&(i=n.constructor)===o.constructor){if(i===Date)return n.getTime()===o.getTime();if(i===RegExp)return n.toString()===o.toString();if(i===Array){if((s=n.length)===o.length)for(;s--&&r(n[s],o[s]););return s===-1}if(!i||typeof n=="object"){s=0;for(i in n)if(t.call(n,i)&&++s&&!t.call(o,i)||!(i in o)||!r(n[i],o[i]))return!1;return Object.keys(o).length===s}}return n!==n&&o!==o}e.dequal=r}}),dW=F({"../../node_modules/aria-query/lib/elementRoleMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=cW(),r=o(Us()),n=o(Yg());function o(T){return T&&T.__esModule?T:{default:T}}function i(T,C){return u(T)||l(T,C)||d(T,C)||s()}function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
257
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function l(T,C){var x=T==null?null:typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(x!=null){var I=[],W=!0,X=!1,Y,K;try{for(x=x.call(T);!(W=(Y=x.next()).done)&&(I.push(Y.value),!(C&&I.length===C));W=!0);}catch(_){X=!0,K=_}finally{try{!W&&x.return!=null&&x.return()}finally{if(X)throw K}}return I}}function u(T){if(Array.isArray(T))return T}function c(T,C){var x=typeof Symbol<"u"&&T[Symbol.iterator]||T["@@iterator"];if(!x){if(Array.isArray(T)||(x=d(T))||C&&T&&typeof T.length=="number"){x&&(T=x);var I=0,W=function(){};return{s:W,n:function(){return I>=T.length?{done:!0}:{done:!1,value:T[I++]}},e:function(_){throw _},f:W}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
258
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var X=!0,Y=!1,K;return{s:function(){x=x.call(T)},n:function(){var _=x.next();return X=_.done,_},e:function(_){Y=!0,K=_},f:function(){try{!X&&x.return!=null&&x.return()}finally{if(Y)throw K}}}}function d(T,C){if(T){if(typeof T=="string")return p(T,C);var x=Object.prototype.toString.call(T).slice(8,-1);if(x==="Object"&&T.constructor&&(x=T.constructor.name),x==="Map"||x==="Set")return Array.from(T);if(x==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(x))return p(T,C)}}function p(T,C){(C==null||C>T.length)&&(C=T.length);for(var x=0,I=new Array(C);x<C;x++)I[x]=T[x];return I}var h=[],m=n.default.keys();for(O=0;O<m.length;O++)if(y=m[O],b=n.default.get(y),b)for(E=[].concat(b.baseConcepts,b.relatedConcepts),w=0;w<E.length;w++)g=E[w],g.module==="HTML"&&function(){var T=g.concept;if(T){var C=h.find(function(X){return(0,t.dequal)(X,T)}),x;C?x=C[1]:x=[];for(var I=!0,W=0;W<x.length;W++)if(x[W]===y){I=!1;break}I&&x.push(y),h.push([T,x])}}();var y,b,E,g,w,O,A={entries:function(){return h},forEach:function(T){var C=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,x=c(h),I;try{for(x.s();!(I=x.n()).done;){var W=i(I.value,2),X=W[0],Y=W[1];T.call(C,Y,X,h)}}catch(K){x.e(K)}finally{x.f()}},get:function(T){var C=h.find(function(x){return T.name===x[0].name&&(0,t.dequal)(T.attributes,x[0].attributes)});return C&&C[1]},has:function(T){return!!A.get(T)},keys:function(){return h.map(function(T){var C=i(T,1),x=C[0];return x})},values:function(){return h.map(function(T){var C=i(T,2),x=C[1];return x})}},S=(0,r.default)(A,A.entries());e.default=S}}),pW=F({"../../node_modules/aria-query/lib/roleElementMap.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Us()),r=n(Yg());function n(C){return C&&C.__esModule?C:{default:C}}function o(C,x){return l(C)||s(C,x)||c(C,x)||i()}function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
259
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function s(C,x){var I=C==null?null:typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(I!=null){var W=[],X=!0,Y=!1,K,_;try{for(I=I.call(C);!(X=(K=I.next()).done)&&(W.push(K.value),!(x&&W.length===x));X=!0);}catch(P){Y=!0,_=P}finally{try{!X&&I.return!=null&&I.return()}finally{if(Y)throw _}}return W}}function l(C){if(Array.isArray(C))return C}function u(C,x){var I=typeof Symbol<"u"&&C[Symbol.iterator]||C["@@iterator"];if(!I){if(Array.isArray(C)||(I=c(C))||x&&C&&typeof C.length=="number"){I&&(C=I);var W=0,X=function(){};return{s:X,n:function(){return W>=C.length?{done:!0}:{done:!1,value:C[W++]}},e:function(P){throw P},f:X}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
260
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Y=!0,K=!1,_;return{s:function(){I=I.call(C)},n:function(){var P=I.next();return Y=P.done,P},e:function(P){K=!0,_=P},f:function(){try{!Y&&I.return!=null&&I.return()}finally{if(K)throw _}}}}function c(C,x){if(C){if(typeof C=="string")return d(C,x);var I=Object.prototype.toString.call(C).slice(8,-1);if(I==="Object"&&C.constructor&&(I=C.constructor.name),I==="Map"||I==="Set")return Array.from(C);if(I==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(I))return d(C,x)}}function d(C,x){(x==null||x>C.length)&&(x=C.length);for(var I=0,W=new Array(x);I<x;I++)W[I]=C[I];return W}var p=[],h=r.default.keys();for(A=0;A<h.length;A++)if(m=h[A],y=r.default.get(m),b=[],y){for(E=[].concat(y.baseConcepts,y.relatedConcepts),O=0;O<E.length;O++)g=E[O],g.module==="HTML"&&(w=g.concept,w!=null&&b.push(w));b.length>0&&p.push([m,b])}var m,y,b,E,g,w,O,A,S={entries:function(){return p},forEach:function(C){var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,I=u(p),W;try{for(I.s();!(W=I.n()).done;){var X=o(W.value,2),Y=X[0],K=X[1];C.call(x,K,Y,p)}}catch(_){I.e(_)}finally{I.f()}},get:function(C){var x=p.find(function(I){return I[0]===C});return x&&x[1]},has:function(C){return!!S.get(C)},keys:function(){return p.map(function(C){var x=o(C,1),I=x[0];return I})},values:function(){return p.map(function(C){var x=o(C,2),I=x[1];return I})}},T=(0,t.default)(S,S.entries());e.default=T}}),Kg=F({"../../node_modules/aria-query/lib/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(qz()),r=s(Oz()),n=s(Yg()),o=s(dW()),i=s(pW());function s(h){return h&&h.__esModule?h:{default:h}}var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var d=o.default;e.elementRoles=d;var p=i.default;e.roleElements=p}}),fW=F({"../../node_modules/color-name/index.js"(e,t){"use strict";t.exports={aliceblue:[240,248,255],antiquewhite:[250,235,215],aqua:[0,255,255],aquamarine:[127,255,212],azure:[240,255,255],beige:[245,245,220],bisque:[255,228,196],black:[0,0,0],blanchedalmond:[255,235,205],blue:[0,0,255],blueviolet:[138,43,226],brown:[165,42,42],burlywood:[222,184,135],cadetblue:[95,158,160],chartreuse:[127,255,0],chocolate:[210,105,30],coral:[255,127,80],cornflowerblue:[100,149,237],cornsilk:[255,248,220],crimson:[220,20,60],cyan:[0,255,255],darkblue:[0,0,139],darkcyan:[0,139,139],darkgoldenrod:[184,134,11],darkgray:[169,169,169],darkgreen:[0,100,0],darkgrey:[169,169,169],darkkhaki:[189,183,107],darkmagenta:[139,0,139],darkolivegreen:[85,107,47],darkorange:[255,140,0],darkorchid:[153,50,204],darkred:[139,0,0],darksalmon:[233,150,122],darkseagreen:[143,188,143],darkslateblue:[72,61,139],darkslategray:[47,79,79],darkslategrey:[47,79,79],darkturquoise:[0,206,209],darkviolet:[148,0,211],deeppink:[255,20,147],deepskyblue:[0,191,255],dimgray:[105,105,105],dimgrey:[105,105,105],dodgerblue:[30,144,255],firebrick:[178,34,34],floralwhite:[255,250,240],forestgreen:[34,139,34],fuchsia:[255,0,255],gainsboro:[220,220,220],ghostwhite:[248,248,255],gold:[255,215,0],goldenrod:[218,165,32],gray:[128,128,128],green:[0,128,0],greenyellow:[173,255,47],grey:[128,128,128],honeydew:[240,255,240],hotpink:[255,105,180],indianred:[205,92,92],indigo:[75,0,130],ivory:[255,255,240],khaki:[240,230,140],lavender:[230,230,250],lavenderblush:[255,240,245],lawngreen:[124,252,0],lemonchiffon:[255,250,205],lightblue:[173,216,230],lightcoral:[240,128,128],lightcyan:[224,255,255],lightgoldenrodyellow:[250,250,210],lightgray:[211,211,211],lightgreen:[144,238,144],lightgrey:[211,211,211],lightpink:[255,182,193],lightsalmon:[255,160,122],lightseagreen:[32,178,170],lightskyblue:[135,206,250],lightslategray:[119,136,153],lightslategrey:[119,136,153],lightsteelblue:[176,196,222],lightyellow:[255,255,224],lime:[0,255,0],limegreen:[50,205,50],linen:[250,240,230],magenta:[255,0,255],maroon:[128,0,0],mediumaquamarine:[102,205,170],mediumblue:[0,0,205],mediumorchid:[186,85,211],mediumpurple:[147,112,219],mediumseagreen:[60,179,113],mediumslateblue:[123,104,238],mediumspringgreen:[0,250,154],mediumturquoise:[72,209,204],mediumvioletred:[199,21,133],midnightblue:[25,25,112],mintcream:[245,255,250],mistyrose:[255,228,225],moccasin:[255,228,181],navajowhite:[255,222,173],navy:[0,0,128],oldlace:[253,245,230],olive:[128,128,0],olivedrab:[107,142,35],orange:[255,165,0],orangered:[255,69,0],orchid:[218,112,214],palegoldenrod:[238,232,170],palegreen:[152,251,152],paleturquoise:[175,238,238],palevioletred:[219,112,147],papayawhip:[255,239,213],peachpuff:[255,218,185],peru:[205,133,63],pink:[255,192,203],plum:[221,160,221],powderblue:[176,224,230],purple:[128,0,128],rebeccapurple:[102,51,153],red:[255,0,0],rosybrown:[188,143,143],royalblue:[65,105,225],saddlebrown:[139,69,19],salmon:[250,128,114],sandybrown:[244,164,96],seagreen:[46,139,87],seashell:[255,245,238],sienna:[160,82,45],silver:[192,192,192],skyblue:[135,206,235],slateblue:[106,90,205],slategray:[112,128,144],slategrey:[112,128,144],snow:[255,250,250],springgreen:[0,255,127],steelblue:[70,130,180],tan:[210,180,140],teal:[0,128,128],thistle:[216,191,216],tomato:[255,99,71],turquoise:[64,224,208],violet:[238,130,238],wheat:[245,222,179],white:[255,255,255],whitesmoke:[245,245,245],yellow:[255,255,0],yellowgreen:[154,205,50]}}}),SR=F({"../../node_modules/color-convert/conversions.js"(e,t){"use strict";var r=fW(),n={};for(let s of Object.keys(r))n[r[s]]=s;var o={rgb:{channels:3,labels:"rgb"},hsl:{channels:3,labels:"hsl"},hsv:{channels:3,labels:"hsv"},hwb:{channels:3,labels:"hwb"},cmyk:{channels:4,labels:"cmyk"},xyz:{channels:3,labels:"xyz"},lab:{channels:3,labels:"lab"},lch:{channels:3,labels:"lch"},hex:{channels:1,labels:["hex"]},keyword:{channels:1,labels:["keyword"]},ansi16:{channels:1,labels:["ansi16"]},ansi256:{channels:1,labels:["ansi256"]},hcg:{channels:3,labels:["h","c","g"]},apple:{channels:3,labels:["r16","g16","b16"]},gray:{channels:1,labels:["gray"]}};t.exports=o;for(let s of Object.keys(o)){if(!("channels"in o[s]))throw new Error("missing channels property: "+s);if(!("labels"in o[s]))throw new Error("missing channel labels property: "+s);if(o[s].labels.length!==o[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:l,labels:u}=o[s];delete o[s].channels,delete o[s].labels,Object.defineProperty(o[s],"channels",{value:l}),Object.defineProperty(o[s],"labels",{value:u})}o.rgb.hsl=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255,d=Math.min(l,u,c),p=Math.max(l,u,c),h=p-d,m,y;p===d?m=0:l===p?m=(u-c)/h:u===p?m=2+(c-l)/h:c===p&&(m=4+(l-u)/h),m=Math.min(m*60,360),m<0&&(m+=360);let b=(d+p)/2;return p===d?y=0:b<=.5?y=h/(p+d):y=h/(2-p-d),[m,y*100,b*100]},o.rgb.hsv=function(s){let l,u,c,d,p,h=s[0]/255,m=s[1]/255,y=s[2]/255,b=Math.max(h,m,y),E=b-Math.min(h,m,y),g=function(w){return(b-w)/6/E+1/2};return E===0?(d=0,p=0):(p=E/b,l=g(h),u=g(m),c=g(y),h===b?d=c-u:m===b?d=1/3+l-c:y===b&&(d=2/3+u-l),d<0?d+=1:d>1&&(d-=1)),[d*360,p*100,b*100]},o.rgb.hwb=function(s){let l=s[0],u=s[1],c=s[2],d=o.rgb.hsl(s)[0],p=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[d,p*100,c*100]},o.rgb.cmyk=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255,d=Math.min(1-l,1-u,1-c),p=(1-l-d)/(1-d)||0,h=(1-u-d)/(1-d)||0,m=(1-c-d)/(1-d)||0;return[p*100,h*100,m*100,d*100]};function i(s,l){return(s[0]-l[0])**2+(s[1]-l[1])**2+(s[2]-l[2])**2}o.rgb.keyword=function(s){let l=n[s];if(l)return l;let u=1/0,c;for(let d of Object.keys(r)){let p=r[d],h=i(s,p);h<u&&(u=h,c=d)}return c},o.keyword.rgb=function(s){return r[s]},o.rgb.xyz=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255;l=l>.04045?((l+.055)/1.055)**2.4:l/12.92,u=u>.04045?((u+.055)/1.055)**2.4:u/12.92,c=c>.04045?((c+.055)/1.055)**2.4:c/12.92;let d=l*.4124+u*.3576+c*.1805,p=l*.2126+u*.7152+c*.0722,h=l*.0193+u*.1192+c*.9505;return[d*100,p*100,h*100]},o.rgb.lab=function(s){let l=o.rgb.xyz(s),u=l[0],c=l[1],d=l[2];u/=95.047,c/=100,d/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,d=d>.008856?d**(1/3):7.787*d+16/116;let p=116*c-16,h=500*(u-c),m=200*(c-d);return[p,h,m]},o.hsl.rgb=function(s){let l=s[0]/360,u=s[1]/100,c=s[2]/100,d,p,h;if(u===0)return h=c*255,[h,h,h];c<.5?d=c*(1+u):d=c+u-c*u;let m=2*c-d,y=[0,0,0];for(let b=0;b<3;b++)p=l+1/3*-(b-1),p<0&&p++,p>1&&p--,6*p<1?h=m+(d-m)*6*p:2*p<1?h=d:3*p<2?h=m+(d-m)*(2/3-p)*6:h=m,y[b]=h*255;return y},o.hsl.hsv=function(s){let l=s[0],u=s[1]/100,c=s[2]/100,d=u,p=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,d*=p<=1?p:2-p;let h=(c+u)/2,m=c===0?2*d/(p+d):2*u/(c+u);return[l,m*100,h*100]},o.hsv.rgb=function(s){let l=s[0]/60,u=s[1]/100,c=s[2]/100,d=Math.floor(l)%6,p=l-Math.floor(l),h=255*c*(1-u),m=255*c*(1-u*p),y=255*c*(1-u*(1-p));switch(c*=255,d){case 0:return[c,y,h];case 1:return[m,c,h];case 2:return[h,c,y];case 3:return[h,m,c];case 4:return[y,h,c];case 5:return[c,h,m]}},o.hsv.hsl=function(s){let l=s[0],u=s[1]/100,c=s[2]/100,d=Math.max(c,.01),p,h;h=(2-u)*c;let m=(2-u)*d;return p=u*d,p/=m<=1?m:2-m,p=p||0,h/=2,[l,p*100,h*100]},o.hwb.rgb=function(s){let l=s[0]/360,u=s[1]/100,c=s[2]/100,d=u+c,p;d>1&&(u/=d,c/=d);let h=Math.floor(6*l),m=1-c;p=6*l-h,h&1&&(p=1-p);let y=u+p*(m-u),b,E,g;switch(h){default:case 6:case 0:b=m,E=y,g=u;break;case 1:b=y,E=m,g=u;break;case 2:b=u,E=m,g=y;break;case 3:b=u,E=y,g=m;break;case 4:b=y,E=u,g=m;break;case 5:b=m,E=u,g=y;break}return[b*255,E*255,g*255]},o.cmyk.rgb=function(s){let l=s[0]/100,u=s[1]/100,c=s[2]/100,d=s[3]/100,p=1-Math.min(1,l*(1-d)+d),h=1-Math.min(1,u*(1-d)+d),m=1-Math.min(1,c*(1-d)+d);return[p*255,h*255,m*255]},o.xyz.rgb=function(s){let l=s[0]/100,u=s[1]/100,c=s[2]/100,d,p,h;return d=l*3.2406+u*-1.5372+c*-.4986,p=l*-.9689+u*1.8758+c*.0415,h=l*.0557+u*-.204+c*1.057,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,h=h>.0031308?1.055*h**(1/2.4)-.055:h*12.92,d=Math.min(Math.max(0,d),1),p=Math.min(Math.max(0,p),1),h=Math.min(Math.max(0,h),1),[d*255,p*255,h*255]},o.xyz.lab=function(s){let l=s[0],u=s[1],c=s[2];l/=95.047,u/=100,c/=108.883,l=l>.008856?l**(1/3):7.787*l+16/116,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116;let d=116*u-16,p=500*(l-u),h=200*(u-c);return[d,p,h]},o.lab.xyz=function(s){let l=s[0],u=s[1],c=s[2],d,p,h;p=(l+16)/116,d=u/500+p,h=p-c/200;let m=p**3,y=d**3,b=h**3;return p=m>.008856?m:(p-16/116)/7.787,d=y>.008856?y:(d-16/116)/7.787,h=b>.008856?b:(h-16/116)/7.787,d*=95.047,p*=100,h*=108.883,[d,p,h]},o.lab.lch=function(s){let l=s[0],u=s[1],c=s[2],d;d=Math.atan2(c,u)*360/2/Math.PI,d<0&&(d+=360);let p=Math.sqrt(u*u+c*c);return[l,p,d]},o.lch.lab=function(s){let l=s[0],u=s[1],c=s[2]/360*2*Math.PI,d=u*Math.cos(c),p=u*Math.sin(c);return[l,d,p]},o.rgb.ansi16=function(s,l=null){let[u,c,d]=s,p=l===null?o.rgb.hsv(s)[2]:l;if(p=Math.round(p/50),p===0)return 30;let h=30+(Math.round(d/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return p===2&&(h+=60),h},o.hsv.ansi16=function(s){return o.rgb.ansi16(o.hsv.rgb(s),s[2])},o.rgb.ansi256=function(s){let l=s[0],u=s[1],c=s[2];return l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5)},o.ansi16.rgb=function(s){let l=s%10;if(l===0||l===7)return s>50&&(l+=3.5),l=l/10.5*255,[l,l,l];let u=(~~(s>50)+1)*.5,c=(l&1)*u*255,d=(l>>1&1)*u*255,p=(l>>2&1)*u*255;return[c,d,p]},o.ansi256.rgb=function(s){if(s>=232){let p=(s-232)*10+8;return[p,p,p]}s-=16;let l,u=Math.floor(s/36)/5*255,c=Math.floor((l=s%36)/6)/5*255,d=l%6/5*255;return[u,c,d]},o.rgb.hex=function(s){let l=(((Math.round(s[0])&255)<<16)+((Math.round(s[1])&255)<<8)+(Math.round(s[2])&255)).toString(16).toUpperCase();return"000000".substring(l.length)+l},o.hex.rgb=function(s){let l=s.toString(16).match(/[a-f0-9]{6}|[a-f0-9]{3}/i);if(!l)return[0,0,0];let u=l[0];l[0].length===3&&(u=u.split("").map(m=>m+m).join(""));let c=parseInt(u,16),d=c>>16&255,p=c>>8&255,h=c&255;return[d,p,h]},o.rgb.hcg=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255,d=Math.max(Math.max(l,u),c),p=Math.min(Math.min(l,u),c),h=d-p,m,y;return h<1?m=p/(1-h):m=0,h<=0?y=0:d===l?y=(u-c)/h%6:d===u?y=2+(c-l)/h:y=4+(l-u)/h,y/=6,y%=1,[y*360,h*100,m*100]},o.hsl.hcg=function(s){let l=s[1]/100,u=s[2]/100,c=u<.5?2*l*u:2*l*(1-u),d=0;return c<1&&(d=(u-.5*c)/(1-c)),[s[0],c*100,d*100]},o.hsv.hcg=function(s){let l=s[1]/100,u=s[2]/100,c=l*u,d=0;return c<1&&(d=(u-c)/(1-c)),[s[0],c*100,d*100]},o.hcg.rgb=function(s){let l=s[0]/360,u=s[1]/100,c=s[2]/100;if(u===0)return[c*255,c*255,c*255];let d=[0,0,0],p=l%1*6,h=p%1,m=1-h,y=0;switch(Math.floor(p)){case 0:d[0]=1,d[1]=h,d[2]=0;break;case 1:d[0]=m,d[1]=1,d[2]=0;break;case 2:d[0]=0,d[1]=1,d[2]=h;break;case 3:d[0]=0,d[1]=m,d[2]=1;break;case 4:d[0]=h,d[1]=0,d[2]=1;break;default:d[0]=1,d[1]=0,d[2]=m}return y=(1-u)*c,[(u*d[0]+y)*255,(u*d[1]+y)*255,(u*d[2]+y)*255]},o.hcg.hsv=function(s){let l=s[1]/100,u=s[2]/100,c=l+u*(1-l),d=0;return c>0&&(d=l/c),[s[0],d*100,c*100]},o.hcg.hsl=function(s){let l=s[1]/100,u=s[2]/100*(1-l)+.5*l,c=0;return u>0&&u<.5?c=l/(2*u):u>=.5&&u<1&&(c=l/(2*(1-u))),[s[0],c*100,u*100]},o.hcg.hwb=function(s){let l=s[1]/100,u=s[2]/100,c=l+u*(1-l);return[s[0],(c-l)*100,(1-c)*100]},o.hwb.hcg=function(s){let l=s[1]/100,u=1-s[2]/100,c=u-l,d=0;return c<1&&(d=(u-c)/(1-c)),[s[0],c*100,d*100]},o.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},o.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},o.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},o.gray.hsl=function(s){return[0,0,s[0]]},o.gray.hsv=o.gray.hsl,o.gray.hwb=function(s){return[0,100,s[0]]},o.gray.cmyk=function(s){return[0,0,0,s[0]]},o.gray.lab=function(s){return[s[0],0,0]},o.gray.hex=function(s){let l=Math.round(s[0]/100*255)&255,u=((l<<16)+(l<<8)+l).toString(16).toUpperCase();return"000000".substring(u.length)+u},o.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}}),hW=F({"../../node_modules/color-convert/route.js"(e,t){"use strict";var r=SR();function n(){let l={},u=Object.keys(r);for(let c=u.length,d=0;d<c;d++)l[u[d]]={distance:-1,parent:null};return l}function o(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let d=c.pop(),p=Object.keys(r[d]);for(let h=p.length,m=0;m<h;m++){let y=p[m],b=u[y];b.distance===-1&&(b.distance=u[d].distance+1,b.parent=d,c.unshift(y))}}return u}function i(l,u){return function(c){return u(l(c))}}function s(l,u){let c=[u[l].parent,l],d=r[u[l].parent][l],p=u[l].parent;for(;u[p].parent;)c.unshift(u[p].parent),d=i(r[u[p].parent][p],d),p=u[p].parent;return d.conversion=c,d}t.exports=function(l){let u=o(l),c={},d=Object.keys(u);for(let p=d.length,h=0;h<p;h++){let m=d[h];u[m].parent!==null&&(c[m]=s(m,u))}return c}}}),mW=F({"../../node_modules/color-convert/index.js"(e,t){"use strict";var r=SR(),n=hW(),o={},i=Object.keys(r);function s(u){let c=function(...d){let p=d[0];return p==null?p:(p.length>1&&(d=p),u(d))};return"conversion"in u&&(c.conversion=u.conversion),c}function l(u){let c=function(...d){let p=d[0];if(p==null)return p;p.length>1&&(d=p);let h=u(d);if(typeof h=="object")for(let m=h.length,y=0;y<m;y++)h[y]=Math.round(h[y]);return h};return"conversion"in u&&(c.conversion=u.conversion),c}i.forEach(u=>{o[u]={},Object.defineProperty(o[u],"channels",{value:r[u].channels}),Object.defineProperty(o[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(d=>{let p=c[d];o[u][d]=l(p),o[u][d].raw=s(p)})}),t.exports=o}}),yW=F({"../../node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(p,h)=>(...m)=>`\x1B[${p(...m)+h}m`,n=(p,h)=>(...m)=>{let y=p(...m);return`\x1B[${38+h};5;${y}m`},o=(p,h)=>(...m)=>{let y=p(...m);return`\x1B[${38+h};2;${y[0]};${y[1]};${y[2]}m`},i=p=>p,s=(p,h,m)=>[p,h,m],l=(p,h,m)=>{Object.defineProperty(p,h,{get:()=>{let y=m();return Object.defineProperty(p,h,{value:y,enumerable:!0,configurable:!0}),y},enumerable:!0,configurable:!0})},u,c=(p,h,m,y)=>{u===void 0&&(u=mW());let b=y?10:0,E={};for(let[g,w]of Object.entries(u)){let O=g==="ansi16"?"ansi":g;g===h?E[O]=p(m,b):typeof w=="object"&&(E[O]=p(w[h],b))}return E};function d(){let p=new Map,h={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};h.color.gray=h.color.blackBright,h.bgColor.bgGray=h.bgColor.bgBlackBright,h.color.grey=h.color.blackBright,h.bgColor.bgGrey=h.bgColor.bgBlackBright;for(let[m,y]of Object.entries(h)){for(let[b,E]of Object.entries(y))h[b]={open:`\x1B[${E[0]}m`,close:`\x1B[${E[1]}m`},y[b]=h[b],p.set(E[0],E[1]);Object.defineProperty(h,m,{value:y,enumerable:!1})}return Object.defineProperty(h,"codes",{value:p,enumerable:!1}),h.color.close="\x1B[39m",h.bgColor.close="\x1B[49m",l(h.color,"ansi",()=>c(r,"ansi16",i,!1)),l(h.color,"ansi256",()=>c(n,"ansi256",i,!1)),l(h.color,"ansi16m",()=>c(o,"rgb",s,!1)),l(h.bgColor,"ansi",()=>c(r,"ansi16",i,!0)),l(h.bgColor,"ansi256",()=>c(n,"ansi256",i,!0)),l(h.bgColor,"ansi16m",()=>c(o,"rgb",s,!0)),h}Object.defineProperty(t,"exports",{enumerable:!0,get:d})}}),gW=F({"../../node_modules/has-flag/index.js"(e,t){"use strict";t.exports=(r,n=process.argv)=>{let o=r.startsWith("-")?"":r.length===1?"-":"--",i=n.indexOf(o+r),s=n.indexOf("--");return i!==-1&&(s===-1||i<s)}}}),bW=F({"../../node_modules/supports-color/index.js"(e,t){"use strict";var r=It("os"),n=It("tty"),o=gW(),{env:i}=process,s;o("no-color")||o("no-colors")||o("color=false")||o("color=never")?s=0:(o("color")||o("colors")||o("color=true")||o("color=always"))&&(s=1),"FORCE_COLOR"in i&&(i.FORCE_COLOR==="true"?s=1:i.FORCE_COLOR==="false"?s=0:s=i.FORCE_COLOR.length===0?1:Math.min(parseInt(i.FORCE_COLOR,10),3));function l(d){return d===0?!1:{level:d,hasBasic:!0,has256:d>=2,has16m:d>=3}}function u(d,p){if(s===0)return 0;if(o("color=16m")||o("color=full")||o("color=truecolor"))return 3;if(o("color=256"))return 2;if(d&&!p&&s===void 0)return 0;let h=s||0;if(i.TERM==="dumb")return h;if(process.platform==="win32"){let m=r.release().split(".");return Number(m[0])>=10&&Number(m[2])>=10586?Number(m[2])>=14931?3:2:1}if("CI"in i)return["TRAVIS","CIRCLECI","APPVEYOR","GITLAB_CI","GITHUB_ACTIONS","BUILDKITE"].some(m=>m in i)||i.CI_NAME==="codeship"?1:h;if("TEAMCITY_VERSION"in i)return/^(9\.(0*[1-9]\d*)\.|\d{2,}\.)/.test(i.TEAMCITY_VERSION)?1:0;if(i.COLORTERM==="truecolor")return 3;if("TERM_PROGRAM"in i){let m=parseInt((i.TERM_PROGRAM_VERSION||"").split(".")[0],10);switch(i.TERM_PROGRAM){case"iTerm.app":return m>=3?3:2;case"Apple_Terminal":return 2}}return/-256(color)?$/i.test(i.TERM)?2:/^screen|^xterm|^vt100|^vt220|^rxvt|color|ansi|cygwin|linux/i.test(i.TERM)||"COLORTERM"in i?1:h}function c(d){let p=u(d,d&&d.isTTY);return l(p)}t.exports={supportsColor:c,stdout:l(u(!0,n.isatty(1))),stderr:l(u(!0,n.isatty(2)))}}}),vW=F({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/util.js"(e,t){"use strict";var r=(o,i,s)=>{let l=o.indexOf(i);if(l===-1)return o;let u=i.length,c=0,d="";do d+=o.substr(c,l-c)+i+s,c=l+u,l=o.indexOf(i,c);while(l!==-1);return d+=o.substr(c),d},n=(o,i,s,l)=>{let u=0,c="";do{let d=o[l-1]==="\r";c+=o.substr(u,(d?l-1:l)-u)+i+(d?`\r
|
|
261
|
-
`:`
|
|
262
|
-
`)+s,u=l+1,l=o.indexOf(`
|
|
263
|
-
`,u)}while(l!==-1);return c+=o.substr(u),c};t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}}),EW=F({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/templates.js"(e,t){"use strict";var r=/(?:\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.))|(?:\{(~)?(\w+(?:\([^)]*\))?(?:\.\w+(?:\([^)]*\))?)*)(?:[ \t]|(?=\r?\n)))|(\})|((?:.|[\r\n\f])+?)/gi,n=/(?:^|\.)(\w+)(?:\(([^)]*)\))?/g,o=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,i=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["n",`
|
|
264
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(p){let h=p[0]==="u",m=p[1]==="{";return h&&!m&&p.length===5||p[0]==="x"&&p.length===3?String.fromCharCode(parseInt(p.slice(1),16)):h&&m?String.fromCodePoint(parseInt(p.slice(2,-1),16)):s.get(p)||p}function u(p,h){let m=[],y=h.trim().split(/\s*,\s*/g),b;for(let E of y){let g=Number(E);if(!Number.isNaN(g))m.push(g);else if(b=E.match(o))m.push(b[2].replace(i,(w,O,A)=>O?l(O):A));else throw new Error(`Invalid Chalk template style argument: ${E} (in style '${p}')`)}return m}function c(p){n.lastIndex=0;let h=[],m;for(;(m=n.exec(p))!==null;){let y=m[1];if(m[2]){let b=u(y,m[2]);h.push([y].concat(b))}else h.push([y])}return h}function d(p,h){let m={};for(let b of h)for(let E of b.styles)m[E[0]]=b.inverse?null:E.slice(1);let y=p;for(let[b,E]of Object.entries(m))if(Array.isArray(E)){if(!(b in y))throw new Error(`Unknown Chalk style: ${b}`);y=E.length>0?y[b](...E):y[b]}return y}t.exports=(p,h)=>{let m=[],y=[],b=[];if(h.replace(r,(E,g,w,O,A,S)=>{if(g)b.push(l(g));else if(O){let T=b.join("");b=[],y.push(m.length===0?T:d(p,m)(T)),m.push({inverse:w,styles:c(O)})}else if(A){if(m.length===0)throw new Error("Found extraneous } in Chalk template literal");y.push(d(p,m)(b.join(""))),b=[],m.pop()}else b.push(S)}),y.push(b.join("")),m.length>0){let E=`Chalk template literal is missing ${m.length} closing bracket${m.length===1?"":"s"} (\`}\`)`;throw new Error(E)}return y.join("")}}}),AR=F({"../../node_modules/@testing-library/jest-dom/node_modules/chalk/source/index.js"(e,t){"use strict";var r=yW(),{stdout:n,stderr:o}=bW(),{stringReplaceAll:i,stringEncaseCRLFWithFirstIndex:s}=vW(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=(S,T={})=>{if(T.level>3||T.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let C=n?n.level:0;S.level=T.level===void 0?C:T.level},d=class{constructor(S){return p(S)}},p=S=>{let T={};return c(T,S),T.template=(...C)=>O(T.template,...C),Object.setPrototypeOf(T,h.prototype),Object.setPrototypeOf(T.template,T),T.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},T.template.Instance=d,T.template};function h(S){return p(S)}for(let[S,T]of Object.entries(r))u[S]={get(){let C=E(this,b(T.open,T.close,this._styler),this._isEmpty);return Object.defineProperty(this,S,{value:C}),C}};u.visible={get(){let S=E(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:S}),S}};var m=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let S of m)u[S]={get(){let{level:T}=this;return function(...C){let x=b(r.color[l[T]][S](...C),r.color.close,this._styler);return E(this,x,this._isEmpty)}}};for(let S of m){let T="bg"+S[0].toUpperCase()+S.slice(1);u[T]={get(){let{level:C}=this;return function(...x){let I=b(r.bgColor[l[C]][S](...x),r.bgColor.close,this._styler);return E(this,I,this._isEmpty)}}}}var y=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(S){this._generator.level=S}}}),b=(S,T,C)=>{let x,I;return C===void 0?(x=S,I=T):(x=C.openAll+S,I=T+C.closeAll),{open:S,close:T,openAll:x,closeAll:I,parent:C}},E=(S,T,C)=>{let x=(...I)=>g(x,I.length===1?""+I[0]:I.join(" "));return x.__proto__=y,x._generator=S,x._styler=T,x._isEmpty=C,x},g=(S,T)=>{if(S.level<=0||!T)return S._isEmpty?"":T;let C=S._styler;if(C===void 0)return T;let{openAll:x,closeAll:I}=C;if(T.indexOf("\x1B")!==-1)for(;C!==void 0;)T=i(T,C.close,C.open),C=C.parent;let W=T.indexOf(`
|
|
265
|
-
`);return W!==-1&&(T=s(T,I,x,W)),x+T+I},w,O=(S,...T)=>{let[C]=T;if(!Array.isArray(C))return T.join(" ");let x=T.slice(1),I=[C.raw[0]];for(let W=1;W<C.length;W++)I.push(String(x[W-1]).replace(/[{}\\]/g,"\\$&"),String(C.raw[W]));return w===void 0&&(w=EW()),w(S,I.join(""))};Object.defineProperties(h.prototype,u);var A=h();A.supportsColor=n,A.stderr=h({level:o?o.level:0}),A.stderr.supportsColor=o,A.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=A}}),wW=F({"../../node_modules/lodash/_listCacheClear.js"(e,t){"use strict";function r(){this.__data__=[],this.size=0}t.exports=r}}),CR=F({"../../node_modules/lodash/eq.js"(e,t){"use strict";function r(n,o){return n===o||n!==n&&o!==o}t.exports=r}}),Xu=F({"../../node_modules/lodash/_assocIndexOf.js"(e,t){"use strict";var r=CR();function n(o,i){for(var s=o.length;s--;)if(r(o[s][0],i))return s;return-1}t.exports=n}}),_W=F({"../../node_modules/lodash/_listCacheDelete.js"(e,t){"use strict";var r=Xu(),n=Array.prototype,o=n.splice;function i(s){var l=this.__data__,u=r(l,s);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():o.call(l,u,1),--this.size,!0}t.exports=i}}),SW=F({"../../node_modules/lodash/_listCacheGet.js"(e,t){"use strict";var r=Xu();function n(o){var i=this.__data__,s=r(i,o);return s<0?void 0:i[s][1]}t.exports=n}}),AW=F({"../../node_modules/lodash/_listCacheHas.js"(e,t){"use strict";var r=Xu();function n(o){return r(this.__data__,o)>-1}t.exports=n}}),CW=F({"../../node_modules/lodash/_listCacheSet.js"(e,t){"use strict";var r=Xu();function n(o,i){var s=this.__data__,l=r(s,o);return l<0?(++this.size,s.push([o,i])):s[l][1]=i,this}t.exports=n}}),Qu=F({"../../node_modules/lodash/_ListCache.js"(e,t){"use strict";var r=wW(),n=_W(),o=SW(),i=AW(),s=CW();function l(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),RW=F({"../../node_modules/lodash/_stackClear.js"(e,t){"use strict";var r=Qu();function n(){this.__data__=new r,this.size=0}t.exports=n}}),TW=F({"../../node_modules/lodash/_stackDelete.js"(e,t){"use strict";function r(n){var o=this.__data__,i=o.delete(n);return this.size=o.size,i}t.exports=r}}),xW=F({"../../node_modules/lodash/_stackGet.js"(e,t){"use strict";function r(n){return this.__data__.get(n)}t.exports=r}}),qW=F({"../../node_modules/lodash/_stackHas.js"(e,t){"use strict";function r(n){return this.__data__.has(n)}t.exports=r}}),RR=F({"../../node_modules/lodash/_freeGlobal.js"(e,t){"use strict";var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}}),wn=F({"../../node_modules/lodash/_root.js"(e,t){"use strict";var r=RR(),n=typeof self=="object"&&self&&self.Object===Object&&self,o=r||n||Function("return this")();t.exports=o}}),Jg=F({"../../node_modules/lodash/_Symbol.js"(e,t){"use strict";var r=wn(),n=r.Symbol;t.exports=n}}),OW=F({"../../node_modules/lodash/_getRawTag.js"(e,t){"use strict";var r=Jg(),n=Object.prototype,o=n.hasOwnProperty,i=n.toString,s=r?r.toStringTag:void 0;function l(u){var c=o.call(u,s),d=u[s];try{u[s]=void 0;var p=!0}catch{}var h=i.call(u);return p&&(c?u[s]=d:delete u[s]),h}t.exports=l}}),PW=F({"../../node_modules/lodash/_objectToString.js"(e,t){"use strict";var r=Object.prototype,n=r.toString;function o(i){return n.call(i)}t.exports=o}}),Zu=F({"../../node_modules/lodash/_baseGetTag.js"(e,t){"use strict";var r=Jg(),n=OW(),o=PW(),i="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?s:i:l&&l in Object(c)?n(c):o(c)}t.exports=u}}),TR=F({"../../node_modules/lodash/isObject.js"(e,t){"use strict";function r(n){var o=typeof n;return n!=null&&(o=="object"||o=="function")}t.exports=r}}),xR=F({"../../node_modules/lodash/isFunction.js"(e,t){"use strict";var r=Zu(),n=TR(),o="[object AsyncFunction]",i="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var d=r(c);return d==i||d==s||d==o||d==l}t.exports=u}}),DW=F({"../../node_modules/lodash/_coreJsData.js"(e,t){"use strict";var r=wn(),n=r["__core-js_shared__"];t.exports=n}}),IW=F({"../../node_modules/lodash/_isMasked.js"(e,t){"use strict";var r=DW(),n=function(){var i=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return i?"Symbol(src)_1."+i:""}();function o(i){return!!n&&n in i}t.exports=o}}),qR=F({"../../node_modules/lodash/_toSource.js"(e,t){"use strict";var r=Function.prototype,n=r.toString;function o(i){if(i!=null){try{return n.call(i)}catch{}try{return i+""}catch{}}return""}t.exports=o}}),MW=F({"../../node_modules/lodash/_baseIsNative.js"(e,t){"use strict";var r=xR(),n=IW(),o=TR(),i=qR(),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,d=u.toString,p=c.hasOwnProperty,h=RegExp("^"+d.call(p).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function m(y){if(!o(y)||n(y))return!1;var b=r(y)?h:l;return b.test(i(y))}t.exports=m}}),NW=F({"../../node_modules/lodash/_getValue.js"(e,t){"use strict";function r(n,o){return n?.[o]}t.exports=r}}),Ti=F({"../../node_modules/lodash/_getNative.js"(e,t){"use strict";var r=MW(),n=NW();function o(i,s){var l=n(i,s);return r(l)?l:void 0}t.exports=o}}),Xg=F({"../../node_modules/lodash/_Map.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"Map");t.exports=o}}),ec=F({"../../node_modules/lodash/_nativeCreate.js"(e,t){"use strict";var r=Ti(),n=r(Object,"create");t.exports=n}}),BW=F({"../../node_modules/lodash/_hashClear.js"(e,t){"use strict";var r=ec();function n(){this.__data__=r?r(null):{},this.size=0}t.exports=n}}),jW=F({"../../node_modules/lodash/_hashDelete.js"(e,t){"use strict";function r(n){var o=this.has(n)&&delete this.__data__[n];return this.size-=o?1:0,o}t.exports=r}}),FW=F({"../../node_modules/lodash/_hashGet.js"(e,t){"use strict";var r=ec(),n="__lodash_hash_undefined__",o=Object.prototype,i=o.hasOwnProperty;function s(l){var u=this.__data__;if(r){var c=u[l];return c===n?void 0:c}return i.call(u,l)?u[l]:void 0}t.exports=s}}),kW=F({"../../node_modules/lodash/_hashHas.js"(e,t){"use strict";var r=ec(),n=Object.prototype,o=n.hasOwnProperty;function i(s){var l=this.__data__;return r?l[s]!==void 0:o.call(l,s)}t.exports=i}}),LW=F({"../../node_modules/lodash/_hashSet.js"(e,t){"use strict";var r=ec(),n="__lodash_hash_undefined__";function o(i,s){var l=this.__data__;return this.size+=this.has(i)?0:1,l[i]=r&&s===void 0?n:s,this}t.exports=o}}),$W=F({"../../node_modules/lodash/_Hash.js"(e,t){"use strict";var r=BW(),n=jW(),o=FW(),i=kW(),s=LW();function l(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),UW=F({"../../node_modules/lodash/_mapCacheClear.js"(e,t){"use strict";var r=$W(),n=Qu(),o=Xg();function i(){this.size=0,this.__data__={hash:new r,map:new(o||n),string:new r}}t.exports=i}}),HW=F({"../../node_modules/lodash/_isKeyable.js"(e,t){"use strict";function r(n){var o=typeof n;return o=="string"||o=="number"||o=="symbol"||o=="boolean"?n!=="__proto__":n===null}t.exports=r}}),tc=F({"../../node_modules/lodash/_getMapData.js"(e,t){"use strict";var r=HW();function n(o,i){var s=o.__data__;return r(i)?s[typeof i=="string"?"string":"hash"]:s.map}t.exports=n}}),zW=F({"../../node_modules/lodash/_mapCacheDelete.js"(e,t){"use strict";var r=tc();function n(o){var i=r(this,o).delete(o);return this.size-=i?1:0,i}t.exports=n}}),VW=F({"../../node_modules/lodash/_mapCacheGet.js"(e,t){"use strict";var r=tc();function n(o){return r(this,o).get(o)}t.exports=n}}),GW=F({"../../node_modules/lodash/_mapCacheHas.js"(e,t){"use strict";var r=tc();function n(o){return r(this,o).has(o)}t.exports=n}}),WW=F({"../../node_modules/lodash/_mapCacheSet.js"(e,t){"use strict";var r=tc();function n(o,i){var s=r(this,o),l=s.size;return s.set(o,i),this.size+=s.size==l?0:1,this}t.exports=n}}),OR=F({"../../node_modules/lodash/_MapCache.js"(e,t){"use strict";var r=UW(),n=zW(),o=VW(),i=GW(),s=WW();function l(u){var c=-1,d=u==null?0:u.length;for(this.clear();++c<d;){var p=u[c];this.set(p[0],p[1])}}l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=o,l.prototype.has=i,l.prototype.set=s,t.exports=l}}),YW=F({"../../node_modules/lodash/_stackSet.js"(e,t){"use strict";var r=Qu(),n=Xg(),o=OR(),i=200;function s(l,u){var c=this.__data__;if(c instanceof r){var d=c.__data__;if(!n||d.length<i-1)return d.push([l,u]),this.size=++c.size,this;c=this.__data__=new o(d)}return c.set(l,u),this.size=c.size,this}t.exports=s}}),KW=F({"../../node_modules/lodash/_Stack.js"(e,t){"use strict";var r=Qu(),n=RW(),o=TW(),i=xW(),s=qW(),l=YW();function u(c){var d=this.__data__=new r(c);this.size=d.size}u.prototype.clear=n,u.prototype.delete=o,u.prototype.get=i,u.prototype.has=s,u.prototype.set=l,t.exports=u}}),JW=F({"../../node_modules/lodash/_setCacheAdd.js"(e,t){"use strict";var r="__lodash_hash_undefined__";function n(o){return this.__data__.set(o,r),this}t.exports=n}}),XW=F({"../../node_modules/lodash/_setCacheHas.js"(e,t){"use strict";function r(n){return this.__data__.has(n)}t.exports=r}}),QW=F({"../../node_modules/lodash/_SetCache.js"(e,t){"use strict";var r=OR(),n=JW(),o=XW();function i(s){var l=-1,u=s==null?0:s.length;for(this.__data__=new r;++l<u;)this.add(s[l])}i.prototype.add=i.prototype.push=n,i.prototype.has=o,t.exports=i}}),ZW=F({"../../node_modules/lodash/_arraySome.js"(e,t){"use strict";function r(n,o){for(var i=-1,s=n==null?0:n.length;++i<s;)if(o(n[i],i,n))return!0;return!1}t.exports=r}}),eY=F({"../../node_modules/lodash/_cacheHas.js"(e,t){"use strict";function r(n,o){return n.has(o)}t.exports=r}}),PR=F({"../../node_modules/lodash/_equalArrays.js"(e,t){"use strict";var r=QW(),n=ZW(),o=eY(),i=1,s=2;function l(u,c,d,p,h,m){var y=d&i,b=u.length,E=c.length;if(b!=E&&!(y&&E>b))return!1;var g=m.get(u),w=m.get(c);if(g&&w)return g==c&&w==u;var O=-1,A=!0,S=d&s?new r:void 0;for(m.set(u,c),m.set(c,u);++O<b;){var T=u[O],C=c[O];if(p)var x=y?p(C,T,O,c,u,m):p(T,C,O,u,c,m);if(x!==void 0){if(x)continue;A=!1;break}if(S){if(!n(c,function(I,W){if(!o(S,W)&&(T===I||h(T,I,d,p,m)))return S.push(W)})){A=!1;break}}else if(!(T===C||h(T,C,d,p,m))){A=!1;break}}return m.delete(u),m.delete(c),A}t.exports=l}}),tY=F({"../../node_modules/lodash/_Uint8Array.js"(e,t){"use strict";var r=wn(),n=r.Uint8Array;t.exports=n}}),rY=F({"../../node_modules/lodash/_mapToArray.js"(e,t){"use strict";function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s,l){i[++o]=[l,s]}),i}t.exports=r}}),nY=F({"../../node_modules/lodash/_setToArray.js"(e,t){"use strict";function r(n){var o=-1,i=Array(n.size);return n.forEach(function(s){i[++o]=s}),i}t.exports=r}}),oY=F({"../../node_modules/lodash/_equalByTag.js"(e,t){"use strict";var r=Jg(),n=tY(),o=CR(),i=PR(),s=rY(),l=nY(),u=1,c=2,d="[object Boolean]",p="[object Date]",h="[object Error]",m="[object Map]",y="[object Number]",b="[object RegExp]",E="[object Set]",g="[object String]",w="[object Symbol]",O="[object ArrayBuffer]",A="[object DataView]",S=r?r.prototype:void 0,T=S?S.valueOf:void 0;function C(x,I,W,X,Y,K,_){switch(W){case A:if(x.byteLength!=I.byteLength||x.byteOffset!=I.byteOffset)return!1;x=x.buffer,I=I.buffer;case O:return!(x.byteLength!=I.byteLength||!K(new n(x),new n(I)));case d:case p:case y:return o(+x,+I);case h:return x.name==I.name&&x.message==I.message;case b:case g:return x==I+"";case m:var P=s;case E:var N=X&u;if(P||(P=l),x.size!=I.size&&!N)return!1;var le=_.get(x);if(le)return le==I;X|=c,_.set(x,I);var ce=i(P(x),P(I),X,Y,K,_);return _.delete(x),ce;case w:if(T)return T.call(x)==T.call(I)}return!1}t.exports=C}}),aY=F({"../../node_modules/lodash/_arrayPush.js"(e,t){"use strict";function r(n,o){for(var i=-1,s=o.length,l=n.length;++i<s;)n[l+i]=o[i];return n}t.exports=r}}),Qg=F({"../../node_modules/lodash/isArray.js"(e,t){"use strict";var r=Array.isArray;t.exports=r}}),iY=F({"../../node_modules/lodash/_baseGetAllKeys.js"(e,t){"use strict";var r=aY(),n=Qg();function o(i,s,l){var u=s(i);return n(i)?u:r(u,l(i))}t.exports=o}}),sY=F({"../../node_modules/lodash/_arrayFilter.js"(e,t){"use strict";function r(n,o){for(var i=-1,s=n==null?0:n.length,l=0,u=[];++i<s;){var c=n[i];o(c,i,n)&&(u[l++]=c)}return u}t.exports=r}}),lY=F({"../../node_modules/lodash/stubArray.js"(e,t){"use strict";function r(){return[]}t.exports=r}}),uY=F({"../../node_modules/lodash/_getSymbols.js"(e,t){"use strict";var r=sY(),n=lY(),o=Object.prototype,i=o.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(u){return u==null?[]:(u=Object(u),r(s(u),function(c){return i.call(u,c)}))}:n;t.exports=l}}),cY=F({"../../node_modules/lodash/_baseTimes.js"(e,t){"use strict";function r(n,o){for(var i=-1,s=Array(n);++i<n;)s[i]=o(i);return s}t.exports=r}}),rc=F({"../../node_modules/lodash/isObjectLike.js"(e,t){"use strict";function r(n){return n!=null&&typeof n=="object"}t.exports=r}}),dY=F({"../../node_modules/lodash/_baseIsArguments.js"(e,t){"use strict";var r=Zu(),n=rc(),o="[object Arguments]";function i(s){return n(s)&&r(s)==o}t.exports=i}}),pY=F({"../../node_modules/lodash/isArguments.js"(e,t){"use strict";var r=dY(),n=rc(),o=Object.prototype,i=o.hasOwnProperty,s=o.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&i.call(u,"callee")&&!s.call(u,"callee")};t.exports=l}}),fY=F({"../../node_modules/lodash/stubFalse.js"(e,t){"use strict";function r(){return!1}t.exports=r}}),DR=F({"../../node_modules/lodash/isBuffer.js"(e,t){"use strict";var r=wn(),n=fY(),o=typeof e=="object"&&e&&!e.nodeType&&e,i=o&&typeof t=="object"&&t&&!t.nodeType&&t,s=i&&i.exports===o,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c}}),hY=F({"../../node_modules/lodash/_isIndex.js"(e,t){"use strict";var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function o(i,s){var l=typeof i;return s=s??r,!!s&&(l=="number"||l!="symbol"&&n.test(i))&&i>-1&&i%1==0&&i<s}t.exports=o}}),IR=F({"../../node_modules/lodash/isLength.js"(e,t){"use strict";var r=9007199254740991;function n(o){return typeof o=="number"&&o>-1&&o%1==0&&o<=r}t.exports=n}}),mY=F({"../../node_modules/lodash/_baseIsTypedArray.js"(e,t){"use strict";var r=Zu(),n=IR(),o=rc(),i="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",d="[object Function]",p="[object Map]",h="[object Number]",m="[object Object]",y="[object RegExp]",b="[object Set]",E="[object String]",g="[object WeakMap]",w="[object ArrayBuffer]",O="[object DataView]",A="[object Float32Array]",S="[object Float64Array]",T="[object Int8Array]",C="[object Int16Array]",x="[object Int32Array]",I="[object Uint8Array]",W="[object Uint8ClampedArray]",X="[object Uint16Array]",Y="[object Uint32Array]",K={};K[A]=K[S]=K[T]=K[C]=K[x]=K[I]=K[W]=K[X]=K[Y]=!0,K[i]=K[s]=K[w]=K[l]=K[O]=K[u]=K[c]=K[d]=K[p]=K[h]=K[m]=K[y]=K[b]=K[E]=K[g]=!1;function _(P){return o(P)&&n(P.length)&&!!K[r(P)]}t.exports=_}}),yY=F({"../../node_modules/lodash/_baseUnary.js"(e,t){"use strict";function r(n){return function(o){return n(o)}}t.exports=r}}),gY=F({"../../node_modules/lodash/_nodeUtil.js"(e,t){"use strict";var r=RR(),n=typeof e=="object"&&e&&!e.nodeType&&e,o=n&&typeof t=="object"&&t&&!t.nodeType&&t,i=o&&o.exports===n,s=i&&r.process,l=function(){try{var u=o&&o.require&&o.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();t.exports=l}}),MR=F({"../../node_modules/lodash/isTypedArray.js"(e,t){"use strict";var r=mY(),n=yY(),o=gY(),i=o&&o.isTypedArray,s=i?n(i):r;t.exports=s}}),bY=F({"../../node_modules/lodash/_arrayLikeKeys.js"(e,t){"use strict";var r=cY(),n=pY(),o=Qg(),i=DR(),s=hY(),l=MR(),u=Object.prototype,c=u.hasOwnProperty;function d(p,h){var m=o(p),y=!m&&n(p),b=!m&&!y&&i(p),E=!m&&!y&&!b&&l(p),g=m||y||b||E,w=g?r(p.length,String):[],O=w.length;for(var A in p)(h||c.call(p,A))&&!(g&&(A=="length"||b&&(A=="offset"||A=="parent")||E&&(A=="buffer"||A=="byteLength"||A=="byteOffset")||s(A,O)))&&w.push(A);return w}t.exports=d}}),vY=F({"../../node_modules/lodash/_isPrototype.js"(e,t){"use strict";var r=Object.prototype;function n(o){var i=o&&o.constructor,s=typeof i=="function"&&i.prototype||r;return o===s}t.exports=n}}),EY=F({"../../node_modules/lodash/_overArg.js"(e,t){"use strict";function r(n,o){return function(i){return n(o(i))}}t.exports=r}}),wY=F({"../../node_modules/lodash/_nativeKeys.js"(e,t){"use strict";var r=EY(),n=r(Object.keys,Object);t.exports=n}}),_Y=F({"../../node_modules/lodash/_baseKeys.js"(e,t){"use strict";var r=vY(),n=wY(),o=Object.prototype,i=o.hasOwnProperty;function s(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))i.call(l,c)&&c!="constructor"&&u.push(c);return u}t.exports=s}}),SY=F({"../../node_modules/lodash/isArrayLike.js"(e,t){"use strict";var r=xR(),n=IR();function o(i){return i!=null&&n(i.length)&&!r(i)}t.exports=o}}),AY=F({"../../node_modules/lodash/keys.js"(e,t){"use strict";var r=bY(),n=_Y(),o=SY();function i(s){return o(s)?r(s):n(s)}t.exports=i}}),CY=F({"../../node_modules/lodash/_getAllKeys.js"(e,t){"use strict";var r=iY(),n=uY(),o=AY();function i(s){return r(s,o,n)}t.exports=i}}),RY=F({"../../node_modules/lodash/_equalObjects.js"(e,t){"use strict";var r=CY(),n=1,o=Object.prototype,i=o.hasOwnProperty;function s(l,u,c,d,p,h){var m=c&n,y=r(l),b=y.length,E=r(u),g=E.length;if(b!=g&&!m)return!1;for(var w=b;w--;){var O=y[w];if(!(m?O in u:i.call(u,O)))return!1}var A=h.get(l),S=h.get(u);if(A&&S)return A==u&&S==l;var T=!0;h.set(l,u),h.set(u,l);for(var C=m;++w<b;){O=y[w];var x=l[O],I=u[O];if(d)var W=m?d(I,x,O,u,l,h):d(x,I,O,l,u,h);if(!(W===void 0?x===I||p(x,I,c,d,h):W)){T=!1;break}C||(C=O=="constructor")}if(T&&!C){var X=l.constructor,Y=u.constructor;X!=Y&&"constructor"in l&&"constructor"in u&&!(typeof X=="function"&&X instanceof X&&typeof Y=="function"&&Y instanceof Y)&&(T=!1)}return h.delete(l),h.delete(u),T}t.exports=s}}),TY=F({"../../node_modules/lodash/_DataView.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"DataView");t.exports=o}}),xY=F({"../../node_modules/lodash/_Promise.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"Promise");t.exports=o}}),qY=F({"../../node_modules/lodash/_Set.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"Set");t.exports=o}}),OY=F({"../../node_modules/lodash/_WeakMap.js"(e,t){"use strict";var r=Ti(),n=wn(),o=r(n,"WeakMap");t.exports=o}}),PY=F({"../../node_modules/lodash/_getTag.js"(e,t){"use strict";var r=TY(),n=Xg(),o=xY(),i=qY(),s=OY(),l=Zu(),u=qR(),c="[object Map]",d="[object Object]",p="[object Promise]",h="[object Set]",m="[object WeakMap]",y="[object DataView]",b=u(r),E=u(n),g=u(o),w=u(i),O=u(s),A=l;(r&&A(new r(new ArrayBuffer(1)))!=y||n&&A(new n)!=c||o&&A(o.resolve())!=p||i&&A(new i)!=h||s&&A(new s)!=m)&&(A=function(S){var T=l(S),C=T==d?S.constructor:void 0,x=C?u(C):"";if(x)switch(x){case b:return y;case E:return c;case g:return p;case w:return h;case O:return m}return T}),t.exports=A}}),DY=F({"../../node_modules/lodash/_baseIsEqualDeep.js"(e,t){"use strict";var r=KW(),n=PR(),o=oY(),i=RY(),s=PY(),l=Qg(),u=DR(),c=MR(),d=1,p="[object Arguments]",h="[object Array]",m="[object Object]",y=Object.prototype,b=y.hasOwnProperty;function E(g,w,O,A,S,T){var C=l(g),x=l(w),I=C?h:s(g),W=x?h:s(w);I=I==p?m:I,W=W==p?m:W;var X=I==m,Y=W==m,K=I==W;if(K&&u(g)){if(!u(w))return!1;C=!0,X=!1}if(K&&!X)return T||(T=new r),C||c(g)?n(g,w,O,A,S,T):o(g,w,I,O,A,S,T);if(!(O&d)){var _=X&&b.call(g,"__wrapped__"),P=Y&&b.call(w,"__wrapped__");if(_||P){var N=_?g.value():g,le=P?w.value():w;return T||(T=new r),S(N,le,O,A,T)}}return K?(T||(T=new r),i(g,w,O,A,S,T)):!1}t.exports=E}}),IY=F({"../../node_modules/lodash/_baseIsEqual.js"(e,t){"use strict";var r=DY(),n=rc();function o(i,s,l,u,c){return i===s?!0:i==null||s==null||!n(i)&&!n(s)?i!==i&&s!==s:r(i,s,l,u,o,c)}t.exports=o}}),NR=F({"../../node_modules/lodash/isEqualWith.js"(e,t){"use strict";var r=IY();function n(o,i,s){s=typeof s=="function"?s:void 0;var l=s?s(o,i):void 0;return l===void 0?r(o,i,void 0,s):!!l}t.exports=n}}),BR=F({"../../node_modules/css.escape/css.escape.js"(e,t){"use strict";(function(r,n){typeof e=="object"?t.exports=n(r):typeof define=="function"&&define.amd?define([],n.bind(r,r)):n(r)})(typeof global<"u"?global:e,function(r){if(r.CSS&&r.CSS.escape)return r.CSS.escape;var n=function(o){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var i=String(o),s=i.length,l=-1,u,c="",d=i.charCodeAt(0);++l<s;){if(u=i.charCodeAt(l),u==0){c+="\uFFFD";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&d==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&s==1&&u==45){c+="\\"+i.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=i.charAt(l);continue}c+="\\"+i.charAt(l)}return c};return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}}),jR=F({"../../node_modules/pretty-format/node_modules/ansi-styles/index.js"(e,t){"use strict";var r=(i=0)=>s=>`\x1B[${38+i};5;${s}m`,n=(i=0)=>(s,l,u)=>`\x1B[${38+i};2;${s};${l};${u}m`;function o(){let i=new Map,s={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};s.color.gray=s.color.blackBright,s.bgColor.bgGray=s.bgColor.bgBlackBright,s.color.grey=s.color.blackBright,s.bgColor.bgGrey=s.bgColor.bgBlackBright;for(let[l,u]of Object.entries(s)){for(let[c,d]of Object.entries(u))s[c]={open:`\x1B[${d[0]}m`,close:`\x1B[${d[1]}m`},u[c]=s[c],i.set(d[0],d[1]);Object.defineProperty(s,l,{value:u,enumerable:!1})}return Object.defineProperty(s,"codes",{value:i,enumerable:!1}),s.color.close="\x1B[39m",s.bgColor.close="\x1B[49m",s.color.ansi256=r(),s.color.ansi16m=n(),s.bgColor.ansi256=r(10),s.bgColor.ansi16m=n(10),Object.defineProperties(s,{rgbToAnsi256:{value:(l,u,c)=>l===u&&u===c?l<8?16:l>248?231:Math.round((l-8)/247*24)+232:16+36*Math.round(l/255*5)+6*Math.round(u/255*5)+Math.round(c/255*5),enumerable:!1},hexToRgb:{value:l=>{let u=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(l.toString(16));if(!u)return[0,0,0];let{colorString:c}=u.groups;c.length===3&&(c=c.split("").map(p=>p+p).join(""));let d=Number.parseInt(c,16);return[d>>16&255,d>>8&255,d&255]},enumerable:!1},hexToAnsi256:{value:l=>s.rgbToAnsi256(...s.hexToRgb(l)),enumerable:!1}}),s}Object.defineProperty(t,"exports",{enumerable:!0,get:o})}}),nc=F({"../../node_modules/pretty-format/build/collections.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=o,e.printObjectProperties=i;var t=(s,l)=>{let u=Object.keys(s).sort(l);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(s).forEach(c=>{Object.getOwnPropertyDescriptor(s,c).enumerable&&u.push(c)}),u};function r(s,l,u,c,d,p,h=": "){let m="",y=s.next();if(!y.done){m+=l.spacingOuter;let b=u+l.indent;for(;!y.done;){let E=p(y.value[0],l,b,c,d),g=p(y.value[1],l,b,c,d);m+=b+E+h+g,y=s.next(),y.done?l.min||(m+=","):m+=","+l.spacingInner}m+=l.spacingOuter+u}return m}function n(s,l,u,c,d,p){let h="",m=s.next();if(!m.done){h+=l.spacingOuter;let y=u+l.indent;for(;!m.done;)h+=y+p(m.value,l,y,c,d),m=s.next(),m.done?l.min||(h+=","):h+=","+l.spacingInner;h+=l.spacingOuter+u}return h}function o(s,l,u,c,d,p){let h="";if(s.length){h+=l.spacingOuter;let m=u+l.indent;for(let y=0;y<s.length;y++)h+=m,y in s&&(h+=p(s[y],l,m,c,d)),y<s.length-1?h+=","+l.spacingInner:l.min||(h+=",");h+=l.spacingOuter+u}return h}function i(s,l,u,c,d,p){let h="",m=t(s,l.compareKeys);if(m.length){h+=l.spacingOuter;let y=u+l.indent;for(let b=0;b<m.length;b++){let E=m[b],g=p(E,l,y,c,d),w=p(s[E],l,y,c,d);h+=y+g+": "+w,b<m.length-1?h+=","+l.spacingInner:l.min||(h+=",")}h+=l.spacingOuter+u}return h}}}),MY=F({"../../node_modules/pretty-format/build/plugins/AsymmetricMatcher.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=nc(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,i=" ",s=(d,p,h,m,y,b)=>{let E=d.toString();return E==="ArrayContaining"||E==="ArrayNotContaining"?++m>p.maxDepth?"["+E+"]":E+i+"["+(0,t.printListItems)(d.sample,p,h,m,y,b)+"]":E==="ObjectContaining"||E==="ObjectNotContaining"?++m>p.maxDepth?"["+E+"]":E+i+"{"+(0,t.printObjectProperties)(d.sample,p,h,m,y,b)+"}":E==="StringMatching"||E==="StringNotMatching"||E==="StringContaining"||E==="StringNotContaining"?E+i+b(d.sample,p,h,m,y):d.toAsymmetricMatcher()};e.serialize=s;var l=d=>d&&d.$$typeof===o;e.test=l;var u={serialize:s,test:l},c=u;e.default=c}}),NY=F({"../../node_modules/pretty-format/node_modules/ansi-regex/index.js"(e,t){"use strict";t.exports=({onlyFirst:r=!1}={})=>{let n=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(n,r?void 0:"g")}}}),BY=F({"../../node_modules/pretty-format/build/plugins/ConvertAnsi.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(NY()),r=n(jR());function n(c){return c&&c.__esModule?c:{default:c}}var o=c=>c.replace((0,t.default)(),d=>{switch(d){case r.default.red.close:case r.default.green.close:case r.default.cyan.close:case r.default.gray.close:case r.default.white.close:case r.default.yellow.close:case r.default.bgRed.close:case r.default.bgGreen.close:case r.default.bgYellow.close:case r.default.inverse.close:case r.default.dim.close:case r.default.bold.close:case r.default.reset.open:case r.default.reset.close:return"</>";case r.default.red.open:return"<red>";case r.default.green.open:return"<green>";case r.default.cyan.open:return"<cyan>";case r.default.gray.open:return"<gray>";case r.default.white.open:return"<white>";case r.default.yellow.open:return"<yellow>";case r.default.bgRed.open:return"<bgRed>";case r.default.bgGreen.open:return"<bgGreen>";case r.default.bgYellow.open:return"<bgYellow>";case r.default.inverse.open:return"<inverse>";case r.default.dim.open:return"<dim>";case r.default.bold.open:return"<bold>";default:return""}}),i=c=>typeof c=="string"&&!!c.match((0,t.default)());e.test=i;var s=(c,d,p,h,m,y)=>y(o(c),d,p,h,m);e.serialize=s;var l={serialize:s,test:i},u=l;e.default=u}}),jY=F({"../../node_modules/pretty-format/build/plugins/DOMCollection.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=nc(),r=" ",n=["DOMStringMap","NamedNodeMap"],o=/^(HTML\w*Collection|NodeList)$/,i=p=>n.indexOf(p)!==-1||o.test(p),s=p=>p&&p.constructor&&!!p.constructor.name&&i(p.constructor.name);e.test=s;var l=p=>p.constructor.name==="NamedNodeMap",u=(p,h,m,y,b,E)=>{let g=p.constructor.name;return++y>h.maxDepth?"["+g+"]":(h.min?"":g+r)+(n.indexOf(g)!==-1?"{"+(0,t.printObjectProperties)(l(p)?Array.from(p).reduce((w,O)=>(w[O.name]=O.value,w),{}):{...p},h,m,y,b,E)+"}":"["+(0,t.printListItems)(Array.from(p),h,m,y,b,E)+"]")};e.serialize=u;var c={serialize:u,test:s},d=c;e.default=d}}),FY=F({"../../node_modules/pretty-format/build/plugins/lib/escapeHTML.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}}}),Zg=F({"../../node_modules/pretty-format/build/plugins/lib/markup.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(FY());function r(c){return c&&c.__esModule?c:{default:c}}var n=(c,d,p,h,m,y,b)=>{let E=h+p.indent,g=p.colors;return c.map(w=>{let O=d[w],A=b(O,p,E,m,y);return typeof O!="string"&&(A.indexOf(`
|
|
266
|
-
`)!==-1&&(A=p.spacingOuter+E+A+p.spacingOuter+h),A="{"+A+"}"),p.spacingInner+h+g.prop.open+w+g.prop.close+"="+g.value.open+A+g.value.close}).join("")};e.printProps=n;var o=(c,d,p,h,m,y)=>c.map(b=>d.spacingOuter+p+(typeof b=="string"?i(b,d):y(b,d,p,h,m))).join("");e.printChildren=o;var i=(c,d)=>{let p=d.colors.content;return p.open+(0,t.default)(c)+p.close};e.printText=i;var s=(c,d)=>{let p=d.colors.comment;return p.open+"<!--"+(0,t.default)(c)+"-->"+p.close};e.printComment=s;var l=(c,d,p,h,m)=>{let y=h.colors.tag;return y.open+"<"+c+(d&&y.close+d+h.spacingOuter+m+y.open)+(p?">"+y.close+p+h.spacingOuter+m+y.open+"</"+c:(d&&!h.min?"":" ")+"/")+">"+y.close};e.printElement=l;var u=(c,d)=>{let p=d.colors.tag;return p.open+"<"+c+p.close+" \u2026"+p.open+" />"+p.close};e.printElementAsLeaf=u}}),kY=F({"../../node_modules/pretty-format/build/plugins/DOMElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Zg(),r=1,n=3,o=8,i=11,s=/^((HTML|SVG)\w*)?Element$/,l=E=>{try{return typeof E.hasAttribute=="function"&&E.hasAttribute("is")}catch{return!1}},u=E=>{let g=E.constructor.name,{nodeType:w,tagName:O}=E,A=typeof O=="string"&&O.includes("-")||l(E);return w===r&&(s.test(g)||A)||w===n&&g==="Text"||w===o&&g==="Comment"||w===i&&g==="DocumentFragment"},c=E=>{var g;return(E==null||(g=E.constructor)===null||g===void 0?void 0:g.name)&&u(E)};e.test=c;function d(E){return E.nodeType===n}function p(E){return E.nodeType===o}function h(E){return E.nodeType===i}var m=(E,g,w,O,A,S)=>{if(d(E))return(0,t.printText)(E.data,g);if(p(E))return(0,t.printComment)(E.data,g);let T=h(E)?"DocumentFragment":E.tagName.toLowerCase();return++O>g.maxDepth?(0,t.printElementAsLeaf)(T,g):(0,t.printElement)(T,(0,t.printProps)(h(E)?[]:Array.from(E.attributes).map(C=>C.name).sort(),h(E)?{}:Array.from(E.attributes).reduce((C,x)=>(C[x.name]=x.value,C),{}),g,w+g.indent,O,A,S),(0,t.printChildren)(Array.prototype.slice.call(E.childNodes||E.children),g,w+g.indent,O,A,S),g,w)};e.serialize=m;var y={serialize:m,test:c},b=y;e.default=b}}),LY=F({"../../node_modules/pretty-format/build/plugins/Immutable.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=nc(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",o="@@__IMMUTABLE_KEYED__@@",i="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",d="@@__IMMUTABLE_STACK__@@",p=x=>"Immutable."+x,h=x=>"["+x+"]",m=" ",y="\u2026",b=(x,I,W,X,Y,K,_)=>++X>I.maxDepth?h(p(_)):p(_)+m+"{"+(0,t.printIteratorEntries)(x.entries(),I,W,X,Y,K)+"}";function E(x){let I=0;return{next(){if(I<x._keys.length){let W=x._keys[I++];return{done:!1,value:[W,x.get(W)]}}return{done:!0,value:void 0}}}}var g=(x,I,W,X,Y,K)=>{let _=p(x._name||"Record");return++X>I.maxDepth?h(_):_+m+"{"+(0,t.printIteratorEntries)(E(x),I,W,X,Y,K)+"}"},w=(x,I,W,X,Y,K)=>{let _=p("Seq");return++X>I.maxDepth?h(_):x[o]?_+m+"{"+(x._iter||x._object?(0,t.printIteratorEntries)(x.entries(),I,W,X,Y,K):y)+"}":_+m+"["+(x._iter||x._array||x._collection||x._iterable?(0,t.printIteratorValues)(x.values(),I,W,X,Y,K):y)+"]"},O=(x,I,W,X,Y,K,_)=>++X>I.maxDepth?h(p(_)):p(_)+m+"["+(0,t.printIteratorValues)(x.values(),I,W,X,Y,K)+"]",A=(x,I,W,X,Y,K)=>x[i]?b(x,I,W,X,Y,K,x[s]?"OrderedMap":"Map"):x[n]?O(x,I,W,X,Y,K,"List"):x[c]?O(x,I,W,X,Y,K,x[s]?"OrderedSet":"Set"):x[d]?O(x,I,W,X,Y,K,"Stack"):x[u]?w(x,I,W,X,Y,K):g(x,I,W,X,Y,K);e.serialize=A;var S=x=>x&&(x[r]===!0||x[l]===!0);e.test=S;var T={serialize:A,test:S},C=T;e.default=C}}),$Y=F({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.production.min.js"(e){"use strict";var t=60103,r=60106,n=60107,o=60108,i=60114,s=60109,l=60110,u=60112,c=60113,d=60120,p=60115,h=60116,m=60121,y=60122,b=60117,E=60129,g=60131;typeof Symbol=="function"&&Symbol.for&&(w=Symbol.for,t=w("react.element"),r=w("react.portal"),n=w("react.fragment"),o=w("react.strict_mode"),i=w("react.profiler"),s=w("react.provider"),l=w("react.context"),u=w("react.forward_ref"),c=w("react.suspense"),d=w("react.suspense_list"),p=w("react.memo"),h=w("react.lazy"),m=w("react.block"),y=w("react.server.block"),b=w("react.fundamental"),E=w("react.debug_trace_mode"),g=w("react.legacy_hidden"));var w;function O(_){if(typeof _=="object"&&_!==null){var P=_.$$typeof;switch(P){case t:switch(_=_.type,_){case n:case i:case o:case c:case d:return _;default:switch(_=_&&_.$$typeof,_){case l:case u:case h:case p:case s:return _;default:return P}}case r:return P}}}var A=s,S=t,T=u,C=n,x=h,I=p,W=r,X=i,Y=o,K=c;e.ContextConsumer=l,e.ContextProvider=A,e.Element=S,e.ForwardRef=T,e.Fragment=C,e.Lazy=x,e.Memo=I,e.Portal=W,e.Profiler=X,e.StrictMode=Y,e.Suspense=K,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(_){return O(_)===l},e.isContextProvider=function(_){return O(_)===s},e.isElement=function(_){return typeof _=="object"&&_!==null&&_.$$typeof===t},e.isForwardRef=function(_){return O(_)===u},e.isFragment=function(_){return O(_)===n},e.isLazy=function(_){return O(_)===h},e.isMemo=function(_){return O(_)===p},e.isPortal=function(_){return O(_)===r},e.isProfiler=function(_){return O(_)===i},e.isStrictMode=function(_){return O(_)===o},e.isSuspense=function(_){return O(_)===c},e.isValidElementType=function(_){return typeof _=="string"||typeof _=="function"||_===n||_===i||_===E||_===o||_===c||_===d||_===g||typeof _=="object"&&_!==null&&(_.$$typeof===h||_.$$typeof===p||_.$$typeof===s||_.$$typeof===l||_.$$typeof===u||_.$$typeof===b||_.$$typeof===m||_[0]===y)},e.typeOf=O}}),UY=F({"../../node_modules/pretty-format/node_modules/react-is/cjs/react-is.development.js"(e){"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var t=60103,r=60106,n=60107,o=60108,i=60114,s=60109,l=60110,u=60112,c=60113,d=60120,p=60115,h=60116,m=60121,y=60122,b=60117,E=60119,g=60128,w=60129,O=60130,A=60131;if(typeof Symbol=="function"&&Symbol.for){var S=Symbol.for;t=S("react.element"),r=S("react.portal"),n=S("react.fragment"),o=S("react.strict_mode"),i=S("react.profiler"),s=S("react.provider"),l=S("react.context"),u=S("react.forward_ref"),c=S("react.suspense"),d=S("react.suspense_list"),p=S("react.memo"),h=S("react.lazy"),m=S("react.block"),y=S("react.server.block"),b=S("react.fundamental"),E=S("react.scope"),g=S("react.opaque.id"),w=S("react.debug_trace_mode"),O=S("react.offscreen"),A=S("react.legacy_hidden")}var T=!1;function C(Se){return!!(typeof Se=="string"||typeof Se=="function"||Se===n||Se===i||Se===w||Se===o||Se===c||Se===d||Se===A||T||typeof Se=="object"&&Se!==null&&(Se.$$typeof===h||Se.$$typeof===p||Se.$$typeof===s||Se.$$typeof===l||Se.$$typeof===u||Se.$$typeof===b||Se.$$typeof===m||Se[0]===y))}function x(Se){if(typeof Se=="object"&&Se!==null){var $e=Se.$$typeof;switch($e){case t:var tt=Se.type;switch(tt){case n:case i:case o:case c:case d:return tt;default:var Ut=tt&&tt.$$typeof;switch(Ut){case l:case u:case h:case p:case s:return Ut;default:return $e}}case r:return $e}}}var I=l,W=s,X=t,Y=u,K=n,_=h,P=p,N=r,le=i,ce=o,Re=c,Ne=!1,De=!1;function ye(Se){return Ne||(Ne=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(Se){return De||(De=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function Ee(Se){return x(Se)===l}function qe(Se){return x(Se)===s}function Le(Se){return typeof Se=="object"&&Se!==null&&Se.$$typeof===t}function Fe(Se){return x(Se)===u}function Ge(Se){return x(Se)===n}function dt(Se){return x(Se)===h}function Q(Se){return x(Se)===p}function ke(Se){return x(Se)===r}function ze(Se){return x(Se)===i}function et(Se){return x(Se)===o}function J(Se){return x(Se)===c}e.ContextConsumer=I,e.ContextProvider=W,e.Element=X,e.ForwardRef=Y,e.Fragment=K,e.Lazy=_,e.Memo=P,e.Portal=N,e.Profiler=le,e.StrictMode=ce,e.Suspense=Re,e.isAsyncMode=ye,e.isConcurrentMode=de,e.isContextConsumer=Ee,e.isContextProvider=qe,e.isElement=Le,e.isForwardRef=Fe,e.isFragment=Ge,e.isLazy=dt,e.isMemo=Q,e.isPortal=ke,e.isProfiler=ze,e.isStrictMode=et,e.isSuspense=J,e.isValidElementType=C,e.typeOf=x}()}}),HY=F({"../../node_modules/pretty-format/node_modules/react-is/index.js"(e,t){"use strict";process.env.NODE_ENV==="production"?t.exports=$Y():t.exports=UY()}}),zY=F({"../../node_modules/pretty-format/build/plugins/ReactElement.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=o(HY()),r=Zg();function n(h){if(typeof WeakMap!="function")return null;var m=new WeakMap,y=new WeakMap;return(n=function(b){return b?y:m})(h)}function o(h,m){if(!m&&h&&h.__esModule)return h;if(h===null||typeof h!="object"&&typeof h!="function")return{default:h};var y=n(m);if(y&&y.has(h))return y.get(h);var b={},E=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var g in h)if(g!=="default"&&Object.prototype.hasOwnProperty.call(h,g)){var w=E?Object.getOwnPropertyDescriptor(h,g):null;w&&(w.get||w.set)?Object.defineProperty(b,g,w):b[g]=h[g]}return b.default=h,y&&y.set(h,b),b}var i=(h,m=[])=>(Array.isArray(h)?h.forEach(y=>{i(y,m)}):h!=null&&h!==!1&&m.push(h),m),s=h=>{let m=h.type;if(typeof m=="string")return m;if(typeof m=="function")return m.displayName||m.name||"Unknown";if(t.isFragment(h))return"React.Fragment";if(t.isSuspense(h))return"React.Suspense";if(typeof m=="object"&&m!==null){if(t.isContextProvider(h))return"Context.Provider";if(t.isContextConsumer(h))return"Context.Consumer";if(t.isForwardRef(h)){if(m.displayName)return m.displayName;let y=m.render.displayName||m.render.name||"";return y!==""?"ForwardRef("+y+")":"ForwardRef"}if(t.isMemo(h)){let y=m.displayName||m.type.displayName||m.type.name||"";return y!==""?"Memo("+y+")":"Memo"}}return"UNDEFINED"},l=h=>{let{props:m}=h;return Object.keys(m).filter(y=>y!=="children"&&m[y]!==void 0).sort()},u=(h,m,y,b,E,g)=>++b>m.maxDepth?(0,r.printElementAsLeaf)(s(h),m):(0,r.printElement)(s(h),(0,r.printProps)(l(h),h.props,m,y+m.indent,b,E,g),(0,r.printChildren)(i(h.props.children),m,y+m.indent,b,E,g),m,y);e.serialize=u;var c=h=>h!=null&&t.isElement(h);e.test=c;var d={serialize:u,test:c},p=d;e.default=p}}),VY=F({"../../node_modules/pretty-format/build/plugins/ReactTestComponent.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Zg(),r=function(){return typeof globalThis<"u"?globalThis:typeof r<"u"?r:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),n=r["jest-symbol-do-not-touch"]||r.Symbol,o=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,i=d=>{let{props:p}=d;return p?Object.keys(p).filter(h=>p[h]!==void 0).sort():[]},s=(d,p,h,m,y,b)=>++m>p.maxDepth?(0,t.printElementAsLeaf)(d.type,p):(0,t.printElement)(d.type,d.props?(0,t.printProps)(i(d),d.props,p,h+p.indent,m,y,b):"",d.children?(0,t.printChildren)(d.children,p,h+p.indent,m,y,b):"",p,h);e.serialize=s;var l=d=>d&&d.$$typeof===o;e.test=l;var u={serialize:s,test:l},c=u;e.default=c}}),GY=F({"../../node_modules/pretty-format/build/index.js"(e){"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=Fe,e.plugins=void 0;var t=d(jR()),r=nc(),n=d(MY()),o=d(BY()),i=d(jY()),s=d(kY()),l=d(LY()),u=d(zY()),c=d(VY());function d(Q){return Q&&Q.__esModule?Q:{default:Q}}var p=Object.prototype.toString,h=Date.prototype.toISOString,m=Error.prototype.toString,y=RegExp.prototype.toString,b=Q=>typeof Q.constructor=="function"&&Q.constructor.name||"Object",E=Q=>typeof window<"u"&&Q===window,g=/^Symbol\((.*)\)(.*)$/,w=/\n/gi,O=class extends Error{constructor(Q,ke){super(Q),this.stack=ke,this.name=this.constructor.name}};function A(Q){return Q==="[object Array]"||Q==="[object ArrayBuffer]"||Q==="[object DataView]"||Q==="[object Float32Array]"||Q==="[object Float64Array]"||Q==="[object Int8Array]"||Q==="[object Int16Array]"||Q==="[object Int32Array]"||Q==="[object Uint8Array]"||Q==="[object Uint8ClampedArray]"||Q==="[object Uint16Array]"||Q==="[object Uint32Array]"}function S(Q){return Object.is(Q,-0)?"-0":String(Q)}function T(Q){return`${Q}n`}function C(Q,ke){return ke?"[Function "+(Q.name||"anonymous")+"]":"[Function]"}function x(Q){return String(Q).replace(g,"Symbol($1)")}function I(Q){return"["+m.call(Q)+"]"}function W(Q,ke,ze,et){if(Q===!0||Q===!1)return""+Q;if(Q===void 0)return"undefined";if(Q===null)return"null";let J=typeof Q;if(J==="number")return S(Q);if(J==="bigint")return T(Q);if(J==="string")return et?'"'+Q.replace(/"|\\/g,"\\$&")+'"':'"'+Q+'"';if(J==="function")return C(Q,ke);if(J==="symbol")return x(Q);let Se=p.call(Q);return Se==="[object WeakMap]"?"WeakMap {}":Se==="[object WeakSet]"?"WeakSet {}":Se==="[object Function]"||Se==="[object GeneratorFunction]"?C(Q,ke):Se==="[object Symbol]"?x(Q):Se==="[object Date]"?isNaN(+Q)?"Date { NaN }":h.call(Q):Se==="[object Error]"?I(Q):Se==="[object RegExp]"?ze?y.call(Q).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):y.call(Q):Q instanceof Error?I(Q):null}function X(Q,ke,ze,et,J,Se){if(J.indexOf(Q)!==-1)return"[Circular]";J=J.slice(),J.push(Q);let $e=++et>ke.maxDepth,tt=ke.min;if(ke.callToJSON&&!$e&&Q.toJSON&&typeof Q.toJSON=="function"&&!Se)return P(Q.toJSON(),ke,ze,et,J,!0);let Ut=p.call(Q);return Ut==="[object Arguments]"?$e?"[Arguments]":(tt?"":"Arguments ")+"["+(0,r.printListItems)(Q,ke,ze,et,J,P)+"]":A(Ut)?$e?"["+Q.constructor.name+"]":(tt||!ke.printBasicPrototype&&Q.constructor.name==="Array"?"":Q.constructor.name+" ")+"["+(0,r.printListItems)(Q,ke,ze,et,J,P)+"]":Ut==="[object Map]"?$e?"[Map]":"Map {"+(0,r.printIteratorEntries)(Q.entries(),ke,ze,et,J,P," => ")+"}":Ut==="[object Set]"?$e?"[Set]":"Set {"+(0,r.printIteratorValues)(Q.values(),ke,ze,et,J,P)+"}":$e||E(Q)?"["+b(Q)+"]":(tt||!ke.printBasicPrototype&&b(Q)==="Object"?"":b(Q)+" ")+"{"+(0,r.printObjectProperties)(Q,ke,ze,et,J,P)+"}"}function Y(Q){return Q.serialize!=null}function K(Q,ke,ze,et,J,Se){let $e;try{$e=Y(Q)?Q.serialize(ke,ze,et,J,Se,P):Q.print(ke,tt=>P(tt,ze,et,J,Se),tt=>{let Ut=et+ze.indent;return Ut+tt.replace(w,`
|
|
267
|
-
`+Ut)},{edgeSpacing:ze.spacingOuter,min:ze.min,spacing:ze.spacingInner},ze.colors)}catch(tt){throw new O(tt.message,tt.stack)}if(typeof $e!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof $e}".`);return $e}function _(Q,ke){for(let ze=0;ze<Q.length;ze++)try{if(Q[ze].test(ke))return Q[ze]}catch(et){throw new O(et.message,et.stack)}return null}function P(Q,ke,ze,et,J,Se){let $e=_(ke.plugins,Q);if($e!==null)return K($e,Q,ke,ze,et,J);let tt=W(Q,ke.printFunctionName,ke.escapeRegex,ke.escapeString);return tt!==null?tt:X(Q,ke,ze,et,J,Se)}var N={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},le=Object.keys(N),ce={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:N};e.DEFAULT_OPTIONS=ce;function Re(Q){if(Object.keys(Q).forEach(ke=>{if(!ce.hasOwnProperty(ke))throw new Error(`pretty-format: Unknown option "${ke}".`)}),Q.min&&Q.indent!==void 0&&Q.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(Q.theme!==void 0){if(Q.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof Q.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof Q.theme}".`)}}var Ne=Q=>le.reduce((ke,ze)=>{let et=Q.theme&&Q.theme[ze]!==void 0?Q.theme[ze]:N[ze],J=et&&t.default[et];if(J&&typeof J.close=="string"&&typeof J.open=="string")ke[ze]=J;else throw new Error(`pretty-format: Option "theme" has a key "${ze}" whose value "${et}" is undefined in ansi-styles.`);return ke},Object.create(null)),De=()=>le.reduce((Q,ke)=>(Q[ke]={close:"",open:""},Q),Object.create(null)),ye=Q=>Q&&Q.printFunctionName!==void 0?Q.printFunctionName:ce.printFunctionName,de=Q=>Q&&Q.escapeRegex!==void 0?Q.escapeRegex:ce.escapeRegex,Ee=Q=>Q&&Q.escapeString!==void 0?Q.escapeString:ce.escapeString,qe=Q=>{var ke;return{callToJSON:Q&&Q.callToJSON!==void 0?Q.callToJSON:ce.callToJSON,colors:Q&&Q.highlight?Ne(Q):De(),compareKeys:Q&&typeof Q.compareKeys=="function"?Q.compareKeys:ce.compareKeys,escapeRegex:de(Q),escapeString:Ee(Q),indent:Q&&Q.min?"":Le(Q&&Q.indent!==void 0?Q.indent:ce.indent),maxDepth:Q&&Q.maxDepth!==void 0?Q.maxDepth:ce.maxDepth,min:Q&&Q.min!==void 0?Q.min:ce.min,plugins:Q&&Q.plugins!==void 0?Q.plugins:ce.plugins,printBasicPrototype:(ke=Q?.printBasicPrototype)!==null&&ke!==void 0?ke:!0,printFunctionName:ye(Q),spacingInner:Q&&Q.min?" ":`
|
|
268
|
-
`,spacingOuter:Q&&Q.min?"":`
|
|
269
|
-
`}};function Le(Q){return new Array(Q+1).join(" ")}function Fe(Q,ke){if(ke&&(Re(ke),ke.plugins)){let et=_(ke.plugins,Q);if(et!==null)return K(et,Q,qe(ke),"",0,[])}let ze=W(Q,ye(ke),de(ke),Ee(ke));return ze!==null?ze:X(Q,qe(ke),"",0,[])}var Ge={AsymmetricMatcher:n.default,ConvertAnsi:o.default,DOMCollection:i.default,DOMElement:s.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=Ge;var dt=Fe;e.default=dt}}),WY=F({"../../node_modules/lz-string/libs/lz-string.js"(e,t){"use strict";var r=function(){var n=String.fromCharCode,o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function l(c,d){if(!s[c]){s[c]={};for(var p=0;p<c.length;p++)s[c][c.charAt(p)]=p}return s[c][d]}var u={compressToBase64:function(c){if(c==null)return"";var d=u._compress(c,6,function(p){return o.charAt(p)});switch(d.length%4){default:case 0:return d;case 1:return d+"===";case 2:return d+"==";case 3:return d+"="}},decompressFromBase64:function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(d){return l(o,c.charAt(d))})},compressToUTF16:function(c){return c==null?"":u._compress(c,15,function(d){return n(d+32)})+" "},decompressFromUTF16:function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(d){return c.charCodeAt(d)-32})},compressToUint8Array:function(c){for(var d=u.compress(c),p=new Uint8Array(d.length*2),h=0,m=d.length;h<m;h++){var y=d.charCodeAt(h);p[h*2]=y>>>8,p[h*2+1]=y%256}return p},decompressFromUint8Array:function(c){if(c==null)return u.decompress(c);for(var d=new Array(c.length/2),p=0,h=d.length;p<h;p++)d[p]=c[p*2]*256+c[p*2+1];var m=[];return d.forEach(function(y){m.push(n(y))}),u.decompress(m.join(""))},compressToEncodedURIComponent:function(c){return c==null?"":u._compress(c,6,function(d){return i.charAt(d)})},decompressFromEncodedURIComponent:function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(d){return l(i,c.charAt(d))}))},compress:function(c){return u._compress(c,16,function(d){return n(d)})},_compress:function(c,d,p){if(c==null)return"";var h,m,y={},b={},E="",g="",w="",O=2,A=3,S=2,T=[],C=0,x=0,I;for(I=0;I<c.length;I+=1)if(E=c.charAt(I),Object.prototype.hasOwnProperty.call(y,E)||(y[E]=A++,b[E]=!0),g=w+E,Object.prototype.hasOwnProperty.call(y,g))w=g;else{if(Object.prototype.hasOwnProperty.call(b,w)){if(w.charCodeAt(0)<256){for(h=0;h<S;h++)C=C<<1,x==d-1?(x=0,T.push(p(C)),C=0):x++;for(m=w.charCodeAt(0),h=0;h<8;h++)C=C<<1|m&1,x==d-1?(x=0,T.push(p(C)),C=0):x++,m=m>>1}else{for(m=1,h=0;h<S;h++)C=C<<1|m,x==d-1?(x=0,T.push(p(C)),C=0):x++,m=0;for(m=w.charCodeAt(0),h=0;h<16;h++)C=C<<1|m&1,x==d-1?(x=0,T.push(p(C)),C=0):x++,m=m>>1}O--,O==0&&(O=Math.pow(2,S),S++),delete b[w]}else for(m=y[w],h=0;h<S;h++)C=C<<1|m&1,x==d-1?(x=0,T.push(p(C)),C=0):x++,m=m>>1;O--,O==0&&(O=Math.pow(2,S),S++),y[g]=A++,w=String(E)}if(w!==""){if(Object.prototype.hasOwnProperty.call(b,w)){if(w.charCodeAt(0)<256){for(h=0;h<S;h++)C=C<<1,x==d-1?(x=0,T.push(p(C)),C=0):x++;for(m=w.charCodeAt(0),h=0;h<8;h++)C=C<<1|m&1,x==d-1?(x=0,T.push(p(C)),C=0):x++,m=m>>1}else{for(m=1,h=0;h<S;h++)C=C<<1|m,x==d-1?(x=0,T.push(p(C)),C=0):x++,m=0;for(m=w.charCodeAt(0),h=0;h<16;h++)C=C<<1|m&1,x==d-1?(x=0,T.push(p(C)),C=0):x++,m=m>>1}O--,O==0&&(O=Math.pow(2,S),S++),delete b[w]}else for(m=y[w],h=0;h<S;h++)C=C<<1|m&1,x==d-1?(x=0,T.push(p(C)),C=0):x++,m=m>>1;O--,O==0&&(O=Math.pow(2,S),S++)}for(m=2,h=0;h<S;h++)C=C<<1|m&1,x==d-1?(x=0,T.push(p(C)),C=0):x++,m=m>>1;for(;;)if(C=C<<1,x==d-1){T.push(p(C));break}else x++;return T.join("")},decompress:function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(d){return c.charCodeAt(d)})},_decompress:function(c,d,p){var h=[],m,y=4,b=4,E=3,g="",w=[],O,A,S,T,C,x,I,W={val:p(0),position:d,index:1};for(O=0;O<3;O+=1)h[O]=O;for(S=0,C=Math.pow(2,2),x=1;x!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*x,x<<=1;switch(m=S){case 0:for(S=0,C=Math.pow(2,8),x=1;x!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*x,x<<=1;I=n(S);break;case 1:for(S=0,C=Math.pow(2,16),x=1;x!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*x,x<<=1;I=n(S);break;case 2:return""}for(h[3]=I,A=I,w.push(I);;){if(W.index>c)return"";for(S=0,C=Math.pow(2,E),x=1;x!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*x,x<<=1;switch(I=S){case 0:for(S=0,C=Math.pow(2,8),x=1;x!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*x,x<<=1;h[b++]=n(S),I=b-1,y--;break;case 1:for(S=0,C=Math.pow(2,16),x=1;x!=C;)T=W.val&W.position,W.position>>=1,W.position==0&&(W.position=d,W.val=p(W.index++)),S|=(T>0?1:0)*x,x<<=1;h[b++]=n(S),I=b-1,y--;break;case 2:return w.join("")}if(y==0&&(y=Math.pow(2,E),E++),h[I])g=h[I];else if(I===b)g=A+A.charAt(0);else return null;w.push(g),h[b++]=A+g.charAt(0),y--,A=g,y==0&&(y=Math.pow(2,E),E++)}}};return u}();typeof define=="function"&&define.amd?define(function(){return r}):typeof t<"u"&&t!=null?t.exports=r:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return r})}}),FR={};Ju(FR,{buildQueries:()=>gae,clearAllMocks:()=>Sq,configure:()=>bae,createEvent:()=>vae,expect:()=>Nie,findAllByAltText:()=>wae,findAllByDisplayValue:()=>_ae,findAllByLabelText:()=>Sae,findAllByPlaceholderText:()=>Aae,findAllByRole:()=>Cae,findAllByTestId:()=>Rae,findAllByText:()=>Tae,findAllByTitle:()=>xae,findByAltText:()=>qae,findByDisplayValue:()=>Oae,findByLabelText:()=>Pae,findByPlaceholderText:()=>Dae,findByRole:()=>Iae,findByTestId:()=>Mae,findByText:()=>Nae,findByTitle:()=>Bae,fireEvent:()=>Eae,fn:()=>wq,getAllByAltText:()=>jae,getAllByDisplayValue:()=>Fae,getAllByLabelText:()=>kae,getAllByPlaceholderText:()=>Lae,getAllByRole:()=>$ae,getAllByTestId:()=>Uae,getAllByText:()=>Hae,getAllByTitle:()=>zae,getByAltText:()=>Vae,getByDisplayValue:()=>Gae,getByLabelText:()=>Wae,getByPlaceholderText:()=>Yae,getByRole:()=>Kae,getByTestId:()=>Jae,getByText:()=>Xae,getByTitle:()=>Qae,getConfig:()=>Zae,getDefaultNormalizer:()=>eie,getElementError:()=>tie,getNodeText:()=>rie,getQueriesForElement:()=>nie,getRoles:()=>oie,getSuggestedQuery:()=>aie,isInaccessible:()=>iie,isMockFunction:()=>Yb,logDOM:()=>sie,logRoles:()=>lie,mocked:()=>Hee,mocks:()=>Ys,onMockCall:()=>Eq,prettyDOM:()=>uie,prettyFormat:()=>Iie,queries:()=>cie,queryAllByAltText:()=>die,queryAllByAttribute:()=>pie,queryAllByDisplayValue:()=>fie,queryAllByLabelText:()=>hie,queryAllByPlaceholderText:()=>mie,queryAllByRole:()=>yie,queryAllByTestId:()=>gie,queryAllByText:()=>bie,queryAllByTitle:()=>vie,queryByAltText:()=>Eie,queryByAttribute:()=>wie,queryByDisplayValue:()=>_ie,queryByLabelText:()=>Sie,queryByPlaceholderText:()=>Aie,queryByRole:()=>Cie,queryByTestId:()=>Rie,queryByText:()=>Tie,queryByTitle:()=>xie,queryHelpers:()=>qie,resetAllMocks:()=>Aq,restoreAllMocks:()=>Cq,screen:()=>Oie,spyOn:()=>Uee,traverseArgs:()=>Yu,userEvent:()=>Mie,waitFor:()=>Pie,waitForElementToBeRemoved:()=>Die,within:()=>DP});jo.exports=Az(FR);var kR=sm(),YY=Oy(),LR=Object.defineProperty,KY=Object.getOwnPropertyNames,fe=(e,t)=>LR(e,"name",{value:t,configurable:!0}),JY=(e,t)=>function(){return t||(0,e[KY(e)[0]])((t={exports:{}}).exports,t),t.exports},eb=(e,t)=>{for(var r in t)LR(e,r,{get:t[r],enumerable:!0})},XY=JY({"(disabled):util"(){}}),on={};eb(on,{addChainableMethod:()=>pb,addLengthGuard:()=>Vs,addMethod:()=>ub,addProperty:()=>lb,checkError:()=>wr,compareByInspect:()=>Du,eql:()=>pT,expectTypes:()=>WR,flag:()=>Qe,getActual:()=>ac,getMessage:()=>nb,getName:()=>sc,getOperator:()=>yb,getOwnEnumerableProperties:()=>mb,getOwnEnumerablePropertySymbols:()=>hb,getPathInfo:()=>sb,hasProperty:()=>ic,inspect:()=>it,isNaN:()=>Iu,isProxyEnabled:()=>zs,isRegExp:()=>Mu,objDisplay:()=>Fo,overwriteChainableMethod:()=>fb,overwriteMethod:()=>db,overwriteProperty:()=>cb,proxify:()=>xi,test:()=>tb,transferFlags:()=>zr,type:()=>vt});var wr={};eb(wr,{compatibleConstructor:()=>HR,compatibleInstance:()=>UR,compatibleMessage:()=>zR,getConstructorName:()=>VR,getMessage:()=>GR});function oc(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}fe(oc,"isErrorInstance");function $R(e){return Object.prototype.toString.call(e)==="[object RegExp]"}fe($R,"isRegExp");function UR(e,t){return oc(t)&&e===t}fe(UR,"compatibleInstance");function HR(e,t){return oc(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}fe(HR,"compatibleConstructor");function zR(e,t){let r=typeof e=="string"?e:e.message;return $R(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}fe(zR,"compatibleMessage");function VR(e){let t=e;return oc(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}fe(VR,"getConstructorName");function GR(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}fe(GR,"getMessage");function Qe(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}fe(Qe,"flag");function tb(e,t){var r=Qe(e,"negate"),n=t[0];return r?!n:n}fe(tb,"test");function vt(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}fe(vt,"type");var QY="captureStackTrace"in Error,$o,ht=($o=class extends Error{constructor(r="Unspecified AssertionError",n,o){super(r);At(this,"message");this.message=r,QY&&Error.captureStackTrace(this,o||$o);for(let i in n)i in this||(this[i]=n[i])}get name(){return"AssertionError"}get ok(){return!1}toJSON(r){return{...this,name:this.name,message:this.message,ok:!1,stack:r!==!1?this.stack:void 0}}},fe($o,"AssertionError"),$o);function WR(e,t){var r=Qe(e,"message"),n=Qe(e,"ssfi");r=r?r+": ":"",e=Qe(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var o=t.map(function(s,l){var u=~["a","e","i","o","u"].indexOf(s.charAt(0))?"an":"a",c=t.length>1&&l===t.length-1?"or ":"";return c+u+" "+s}).join(", "),i=vt(e).toLowerCase();if(!t.some(function(s){return i===s}))throw new ht(r+"object tested must be "+o+", but "+i+" given",void 0,n)}fe(WR,"expectTypes");function ac(e,t){return t.length>4?t[4]:e._obj}fe(ac,"getActual");var fA={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},ZY={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},hi="\u2026";function YR(e,t){let r=fA[ZY[t]]||fA[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}fe(YR,"colorise");function KR({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:d,stylize:c};return p.colors&&(p.stylize=YR),p}fe(KR,"normaliseOptions");function _n(e,t,r=hi){e=String(e);let n=r.length,o=e.length;return n>t&&o>n?r:o>t&&o>n?`${e.slice(0,t-n)}${r}`:e}fe(_n,"truncate");function Or(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let c=0;c<o;c+=1){let d=c+1===e.length,p=c+2===e.length;u=`${hi}(${e.length-c})`;let h=e[c];t.truncate=i-s.length-(d?0:n.length);let m=l||r(h,t)+(d?"":n),y=s.length+m.length,b=y+u.length;if(d&&y>i&&s.length+u.length<=i||!d&&!p&&b>i||(l=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&b>i&&y+l.length>i))break;if(s+=m,!d&&!p&&y+l.length>=i){u=`${hi}(${e.length-c-1})`;break}u=""}return`${s}${u}`}fe(Or,"inspectList");function JR(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}fe(JR,"quoteComplexKey");function mi([e,t],r){return r.truncate-=2,typeof e=="string"?e=JR(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}fe(mi,"inspectProperty");function XR(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Or(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Or(r.map(i=>[i,e[i]]),t,mi)),`[ ${n}${o?`, ${o}`:""} ]`}fe(XR,"inspectArray");var eK=fe(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function nn(e,t){let r=eK(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(_n(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${hi}(${e.length-e[s]+1})`;break}o+=l}let i="";return n.length&&(i=Or(n.map(s=>[s,e[s]]),t,mi)),`${r}[ ${o}${i?`, ${i}`:""} ]`}fe(nn,"inspectTypedArray");function QR(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${_n(n[1],t.truncate-o.length-1)}`,"date")}fe(QR,"inspectDate");function Xy(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${_n(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}fe(Xy,"inspectFunction");function ZR([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}fe(ZR,"inspectMapEntry");function eT(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}fe(eT,"mapToEntries");function tT(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Or(eT(e),t,ZR)} }`)}fe(tT,"inspectMap");var tK=Number.isNaN||(e=>e!==e);function Qy(e,t){return tK(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(_n(String(e),t.truncate),"number")}fe(Qy,"inspectNumber");function Zy(e,t){let r=_n(e.toString(),t.truncate-1);return r!==hi&&(r+="n"),t.stylize(r,"bigint")}fe(Zy,"inspectBigInt");function rT(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${_n(o,n)}/${r}`,"regexp")}fe(rT,"inspectRegExp");function nT(e){let t=[];return e.forEach(r=>{t.push(r)}),t}fe(nT,"arrayFromSet");function oT(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Or(nT(e),t)} }`)}fe(oT,"inspectSet");var hA=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),rK={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},nK=16,oK=4;function aT(e){return rK[e]||`\\u${`0000${e.charCodeAt(0).toString(nK)}`.slice(-oK)}`}fe(aT,"escape");function eg(e,t){return hA.test(e)&&(e=e.replace(hA,aT)),t.stylize(`'${_n(e,t.truncate-2)}'`,"string")}fe(eg,"inspectString");function tg(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}fe(tg,"inspectSymbol");var iT=fe(()=>"Promise{\u2026}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(iT=fe((n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`},"getPromiseValue"))}catch{}var aK=iT;function ws(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=Or(r.map(l=>[l,e[l]]),t,mi),i=Or(n.map(l=>[l,e[l]]),t,mi);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}fe(ws,"inspectObject");var Py=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function sT(e,t){let r="";return Py&&Py in e&&(r=e[Py]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ws(e,t)}`}fe(sT,"inspectClass");function lT(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Or(e,t)} ]`)}fe(lT,"inspectArguments");var iK=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function uT(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>iK.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=_n(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Or(r.map(s=>[s,e[s]]),t,mi);return`${n}${o}${i?` { ${i} }`:""}`}fe(uT,"inspectObject");function cT([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}fe(cT,"inspectAttribute");function qu(e,t){return Or(e,t,rb,`
|
|
270
|
-
`)}fe(qu,"inspectHTMLCollection");function rb(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Or(r.map(d=>[d,e.getAttribute(d)]),t,cT," ")),t.truncate-=l.length;let u=t.truncate,c=qu(e.children,t);return c&&c.length>u&&(c=`${hi}(${e.children.length})`),`${o}${l}${i}${c}${s}`}fe(rb,"inspectHTML");var sK=typeof Symbol=="function"&&typeof Symbol.for=="function",Dy=sK?Symbol.for("chai/inspect"):"@@chai/inspect",ai=!1;try{let e=XY();ai=e.inspect?e.inspect.custom:!1}catch{ai=!1}var mA=new WeakMap,yA={},gA={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:Qy,Number:Qy,bigint:Zy,BigInt:Zy,string:eg,String:eg,function:Xy,Function:Xy,symbol:tg,Symbol:tg,Array:XR,Date:QR,Map:tT,Set:oT,RegExp:rT,Promise:aK,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:lT,Int8Array:nn,Uint8Array:nn,Uint8ClampedArray:nn,Int16Array:nn,Uint16Array:nn,Int32Array:nn,Uint32Array:nn,Float32Array:nn,Float64Array:nn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:uT,HTMLCollection:qu,NodeList:qu},lK=fe((e,t,r)=>Dy in e&&typeof e[Dy]=="function"?e[Dy](t):ai&&ai in e&&typeof e[ai]=="function"?e[ai](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&mA.has(e.constructor)?mA.get(e.constructor)(e,t):yA[r]?yA[r](e,t):"","inspectCustom"),uK=Object.prototype.toString;function Ou(e,t={}){let r=KR(t,Ou),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=uK.call(e).slice(8,-1)),o in gA)return gA[o](e,r);if(n&&e){let s=lK(e,r,o);if(s)return typeof s=="string"?s:Ou(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?ws(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?rb(e,r):"constructor"in e?e.constructor!==Object?sT(e,r):ws(e,r):e===Object(e)?ws(e,r):r.stylize(String(e),o)}fe(Ou,"inspect");var yr={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function it(e,t,r,n){var o={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:yr.truncateThreshold?yr.truncateThreshold:1/0};return Ou(e,o)}fe(it,"inspect");function Fo(e){var t=it(e),r=Object.prototype.toString.call(e);if(yr.truncateThreshold&&t.length>=yr.truncateThreshold){if(r==="[object Function]")return!e.name||e.name===""?"[Function]":"[Function: "+e.name+"]";if(r==="[object Array]")return"[ Array("+e.length+") ]";if(r==="[object Object]"){var n=Object.keys(e),o=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+o+") }"}else return t}else return t}fe(Fo,"objDisplay");function nb(e,t){var r=Qe(e,"negate"),n=Qe(e,"object"),o=t[3],i=ac(e,t),s=r?t[2]:t[1],l=Qe(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return Fo(n)}).replace(/#\{act\}/g,function(){return Fo(i)}).replace(/#\{exp\}/g,function(){return Fo(o)}),l?l+": "+s:s}fe(nb,"getMessage");function zr(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));t.__flags||(t.__flags=Object.create(null)),r=arguments.length===3?r:!0;for(var o in n)(r||o!=="object"&&o!=="ssfi"&&o!=="lockSsfi"&&o!="message")&&(t.__flags[o]=n[o])}fe(zr,"transferFlags");function rg(e){if(typeof e>"u")return"undefined";if(e===null)return"null";let t=e[Symbol.toStringTag];return typeof t=="string"?t:Object.prototype.toString.call(e).slice(8,-1)}fe(rg,"type");function ob(){this._key="chai/deep-eql__"+Math.random()+Date.now()}fe(ob,"FakeMap");ob.prototype={get:fe(function(e){return e[this._key]},"get"),set:fe(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set")};var dT=typeof WeakMap=="function"?WeakMap:ob;function ng(e,t,r){if(!r||Uo(e)||Uo(t))return null;var n=r.get(e);if(n){var o=n.get(t);if(typeof o=="boolean")return o}return null}fe(ng,"memoizeCompare");function gs(e,t,r,n){if(!(!r||Uo(e)||Uo(t))){var o=r.get(e);o?o.set(t,n):(o=new dT,o.set(t,n),r.set(e,o))}}fe(gs,"memoizeSet");var pT=Hs;function Hs(e,t,r){if(r&&r.comparator)return og(e,t,r);var n=ab(e,t);return n!==null?n:og(e,t,r)}fe(Hs,"deepEqual");function ab(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:Uo(e)||Uo(t)?!1:null}fe(ab,"simpleEqual");function og(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new dT;var n=r&&r.comparator,o=ng(e,t,r.memoize);if(o!==null)return o;var i=ng(t,e,r.memoize);if(i!==null)return i;if(n){var s=n(e,t);if(s===!1||s===!0)return gs(e,t,r.memoize,s),s;var l=ab(e,t);if(l!==null)return l}var u=rg(e);if(u!==rg(t))return gs(e,t,r.memoize,!1),!1;gs(e,t,r.memoize,!0);var c=fT(e,t,u,r);return gs(e,t,r.memoize,c),c}fe(og,"extensiveDeepEqual");function fT(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return Hs(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return ib(e,t,["name","message","code"],n);case"Arguments":case"Int8Array":case"Uint8Array":case"Uint8ClampedArray":case"Int16Array":case"Uint16Array":case"Int32Array":case"Uint32Array":case"Float32Array":case"Float64Array":case"Array":return Jn(e,t,n);case"RegExp":return hT(e,t);case"Generator":return mT(e,t,n);case"DataView":return Jn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Jn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return ag(e,t,n);case"Map":return ag(e,t,n);case"Temporal.PlainDate":case"Temporal.PlainTime":case"Temporal.PlainDateTime":case"Temporal.Instant":case"Temporal.ZonedDateTime":case"Temporal.PlainYearMonth":case"Temporal.PlainMonthDay":return e.equals(t);case"Temporal.Duration":return e.total("nanoseconds")===t.total("nanoseconds");case"Temporal.TimeZone":case"Temporal.Calendar":return e.toString()===t.toString();default:return gT(e,t,n)}}fe(fT,"extensiveDeepEqualByType");function hT(e,t){return e.toString()===t.toString()}fe(hT,"regexpEqual");function ag(e,t,r){if(e.size!==t.size)return!1;if(e.size===0)return!0;var n=[],o=[];return e.forEach(fe(function(i,s){n.push([i,s])},"gatherEntries")),t.forEach(fe(function(i,s){o.push([i,s])},"gatherEntries")),Jn(n.sort(),o.sort(),r)}fe(ag,"entriesEqual");function Jn(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var o=-1;++o<n;)if(Hs(e[o],t[o],r)===!1)return!1;return!0}fe(Jn,"iterableEqual");function mT(e,t,r){return Jn(Pu(e),Pu(t),r)}fe(mT,"generatorEqual");function yT(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}fe(yT,"hasIteratorFunction");function ig(e){if(yT(e))try{return Pu(e[Symbol.iterator]())}catch{return[]}return[]}fe(ig,"getIteratorEntries");function Pu(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}fe(Pu,"getGeneratorEntries");function sg(e){var t=[];for(var r in e)t.push(r);return t}fe(sg,"getEnumerableKeys");function lg(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var o=r[n];Object.getOwnPropertyDescriptor(e,o).enumerable&&t.push(o)}return t}fe(lg,"getEnumerableSymbols");function ib(e,t,r,n){var o=r.length;if(o===0)return!0;for(var i=0;i<o;i+=1)if(Hs(e[r[i]],t[r[i]],n)===!1)return!1;return!0}fe(ib,"keysEqual");function gT(e,t,r){var n=sg(e),o=sg(t),i=lg(e),s=lg(t);if(n=n.concat(i),o=o.concat(s),n.length&&n.length===o.length)return Jn(ug(n).sort(),ug(o).sort())===!1?!1:ib(e,t,n,r);var l=ig(e),u=ig(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),Jn(l,u,r)):n.length===0&&l.length===0&&o.length===0&&u.length===0}fe(gT,"objectEqual");function Uo(e){return e===null||typeof e!="object"}fe(Uo,"isPrimitive");function ug(e){return e.map(fe(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"))}fe(ug,"mapSymbols");function ic(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}fe(ic,"hasProperty");function bT(e){return e.replace(/([^\\])\[/g,"$1.[").match(/(\\\.|[^.]+?)+/g).map(t=>{if(t==="constructor"||t==="__proto__"||t==="prototype")return{};let r=/^\[(\d+)\]$/.exec(t),n=null;return r?n={i:parseFloat(r[1])}:n={p:t.replace(/\\([.[\]])/g,"$1")},n})}fe(bT,"parsePath");function cg(e,t,r){let n=e,o=null;r=typeof r>"u"?t.length:r;for(let i=0;i<r;i++){let s=t[i];n&&(typeof s.p>"u"?n=n[s.i]:n=n[s.p],i===r-1&&(o=n))}return o}fe(cg,"internalGetPathValue");function sb(e,t){let r=bT(t),n=r[r.length-1],o={parent:r.length>1?cg(e,r,r.length-1):e,name:n.p||n.i,value:cg(e,r)};return o.exists=ic(o.parent,o.name),o}fe(sb,"getPathInfo");function V(e,t,r,n){return Qe(this,"ssfi",r||V),Qe(this,"lockSsfi",n),Qe(this,"object",e),Qe(this,"message",t),Qe(this,"eql",yr.deepEqual||pT),xi(this)}fe(V,"Assertion");Object.defineProperty(V,"includeStack",{get:function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),yr.includeStack},set:function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),yr.includeStack=e}});Object.defineProperty(V,"showDiff",{get:function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),yr.showDiff},set:function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),yr.showDiff=e}});V.addProperty=function(e,t){lb(this.prototype,e,t)};V.addMethod=function(e,t){ub(this.prototype,e,t)};V.addChainableMethod=function(e,t,r){pb(this.prototype,e,t,r)};V.overwriteProperty=function(e,t){cb(this.prototype,e,t)};V.overwriteMethod=function(e,t){db(this.prototype,e,t)};V.overwriteChainableMethod=function(e,t,r){fb(this.prototype,e,t,r)};V.prototype.assert=function(e,t,r,n,o,i){var s=tb(this,arguments);if(i!==!1&&(i=!0),n===void 0&&o===void 0&&(i=!1),yr.showDiff!==!0&&(i=!1),!s){t=nb(this,arguments);var l=ac(this,arguments),u={actual:l,expected:n,showDiff:i},c=yb(this,arguments);throw c&&(u.operator=c),new ht(t,u,yr.includeStack?this.assert:Qe(this,"ssfi"))}};Object.defineProperty(V.prototype,"_obj",{get:function(){return Qe(this,"object")},set:function(e){Qe(this,"object",e)}});function zs(){return yr.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}fe(zs,"isProxyEnabled");function lb(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:fe(function n(){!zs()&&!Qe(this,"lockSsfi")&&Qe(this,"ssfi",n);var o=r.call(this);if(o!==void 0)return o;var i=new V;return zr(this,i),i},"propertyGetter"),configurable:!0})}fe(lb,"addProperty");var cK=Object.getOwnPropertyDescriptor(function(){},"length");function Vs(e,t,r){return cK.configurable&&Object.defineProperty(e,"length",{get:function(){throw Error(r?"Invalid Chai property: "+t+'.length. Due to a compatibility issue, "length" cannot directly follow "'+t+'". Use "'+t+'.lengthOf" instead.':"Invalid Chai property: "+t+'.length. See docs for proper usage of "'+t+'".')}}),e}fe(Vs,"addLengthGuard");function vT(e){var t=Object.getOwnPropertyNames(e);function r(o){t.indexOf(o)===-1&&t.push(o)}fe(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}fe(vT,"getProperties");var bA=["__flags","__methods","_obj","assert"];function xi(e,t){return zs()?new Proxy(e,{get:fe(function r(n,o){if(typeof o=="string"&&yr.proxyExcludedKeys.indexOf(o)===-1&&!Reflect.has(n,o)){if(t)throw Error("Invalid Chai property: "+t+"."+o+'. See docs for proper usage of "'+t+'".');var i=null,s=4;throw vT(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&bA.indexOf(l)===-1){var u=ET(o,l,s);u<s&&(i=l,s=u)}}),Error(i!==null?"Invalid Chai property: "+o+'. Did you mean "'+i+'"?':"Invalid Chai property: "+o)}return bA.indexOf(o)===-1&&!Qe(n,"lockSsfi")&&Qe(n,"ssfi",r),Reflect.get(n,o)},"proxyGetter")}):e}fe(xi,"proxify");function ET(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;for(var n=[],o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(var i=0;i<t.length;i++)n[0][i]=i;for(var o=1;o<=e.length;o++)for(var s=e.charCodeAt(o-1),i=1;i<=t.length;i++){if(Math.abs(o-i)>=r){n[o][i]=r;continue}n[o][i]=Math.min(n[o-1][i]+1,n[o][i-1]+1,n[o-1][i-1]+(s===t.charCodeAt(i-1)?0:1))}return n[e.length][t.length]}fe(ET,"stringDistanceCapped");function ub(e,t,r){var n=fe(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",n);var o=r.apply(this,arguments);if(o!==void 0)return o;var i=new V;return zr(this,i),i},"methodWrapper");Vs(n,t,!1),e[t]=xi(n,t)}fe(ub,"addMethod");function cb(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),o=fe(function(){},"_super");n&&typeof n.get=="function"&&(o=n.get),Object.defineProperty(e,t,{get:fe(function i(){!zs()&&!Qe(this,"lockSsfi")&&Qe(this,"ssfi",i);var s=Qe(this,"lockSsfi");Qe(this,"lockSsfi",!0);var l=r(o).call(this);if(Qe(this,"lockSsfi",s),l!==void 0)return l;var u=new V;return zr(this,u),u},"overwritingPropertyGetter"),configurable:!0})}fe(cb,"overwriteProperty");function db(e,t,r){var n=e[t],o=fe(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(o=n);var i=fe(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",i);var s=Qe(this,"lockSsfi");Qe(this,"lockSsfi",!0);var l=r(o).apply(this,arguments);if(Qe(this,"lockSsfi",s),l!==void 0)return l;var u=new V;return zr(this,u),u},"overwritingMethodWrapper");Vs(i,t,!1),e[t]=xi(i,t)}fe(db,"overwriteMethod");var dK=typeof Object.setPrototypeOf=="function",vA=fe(function(){},"testFn"),pK=Object.getOwnPropertyNames(vA).filter(function(e){var t=Object.getOwnPropertyDescriptor(vA,e);return typeof t!="object"?!0:!t.configurable}),fK=Function.prototype.call,hK=Function.prototype.apply;function pb(e,t,r,n){typeof n!="function"&&(n=fe(function(){},"chainingBehavior"));var o={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=o,Object.defineProperty(e,t,{get:fe(function(){o.chainingBehavior.call(this);var i=fe(function(){Qe(this,"lockSsfi")||Qe(this,"ssfi",i);var u=o.method.apply(this,arguments);if(u!==void 0)return u;var c=new V;return zr(this,c),c},"chainableMethodWrapper");if(Vs(i,t,!0),dK){var s=Object.create(this);s.call=fK,s.apply=hK,Object.setPrototypeOf(i,s)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(pK.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(i,u,c)}})}return zr(this,i),xi(i)},"chainableMethodGetter"),configurable:!0})}fe(pb,"addChainableMethod");function fb(e,t,r,n){var o=e.__methods[t],i=o.chainingBehavior;o.chainingBehavior=fe(function(){var l=n(i).call(this);if(l!==void 0)return l;var u=new V;return zr(this,u),u},"overwritingChainableMethodGetter");var s=o.method;o.method=fe(function(){var l=r(s).apply(this,arguments);if(l!==void 0)return l;var u=new V;return zr(this,u),u},"overwritingChainableMethodWrapper")}fe(fb,"overwriteChainableMethod");function Du(e,t){return it(e)<it(t)?-1:1}fe(Du,"compareByInspect");function hb(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}fe(hb,"getOwnEnumerablePropertySymbols");function mb(e){return Object.keys(e).concat(hb(e))}fe(mb,"getOwnEnumerableProperties");function wT(e){return e!==e}fe(wT,"_isNaN");var Iu=Number.isNaN||wT;function _T(e){var t=vt(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}fe(_T,"isObjectType");function yb(e,t){var r=Qe(e,"operator"),n=Qe(e,"negate"),o=t[3],i=n?t[2]:t[1];if(r)return r;if(typeof i=="function"&&(i=i()),i=i||"",!!i&&!/\shave\s/.test(i)){var s=_T(o);return/\snot\s/.test(i)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}fe(yb,"getOperator");function sc(e){return e.name}fe(sc,"getName");function Mu(e){return Object.prototype.toString.call(e)==="[object RegExp]"}fe(Mu,"isRegExp");var{flag:ae}=on;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){V.addProperty(e)});V.addProperty("not",function(){ae(this,"negate",!0)});V.addProperty("deep",function(){ae(this,"deep",!0)});V.addProperty("nested",function(){ae(this,"nested",!0)});V.addProperty("own",function(){ae(this,"own",!0)});V.addProperty("ordered",function(){ae(this,"ordered",!0)});V.addProperty("any",function(){ae(this,"any",!0),ae(this,"all",!1)});V.addProperty("all",function(){ae(this,"all",!0),ae(this,"any",!1)});var EA={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function gb(e,t){t&&ae(this,"message",t),e=e.toLowerCase();var r=ae(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let o=vt(r).toLowerCase();EA.function.includes(e)?this.assert(EA[e].includes(o),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===o,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}fe(gb,"an");V.addChainableMethod("an",gb);V.addChainableMethod("a",gb);function ST(e,t){return Iu(e)&&Iu(t)||e===t}fe(ST,"SameValueZero");function Gs(){ae(this,"contains",!0)}fe(Gs,"includeChainingBehavior");function Ws(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=vt(r).toLowerCase(),o=ae(this,"message"),i=ae(this,"negate"),s=ae(this,"ssfi"),l=ae(this,"deep"),u=l?"deep ":"",c=l?ae(this,"eql"):ST;o=o?o+": ":"";var d=!1;switch(n){case"string":d=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new ht(o+"unable to use .deep.include with WeakSet",void 0,s);d=r.has(e);break;case"map":r.forEach(function(y){d=d||c(y,e)});break;case"set":l?r.forEach(function(y){d=d||c(y,e)}):d=r.has(e);break;case"array":l?d=r.some(function(y){return c(y,e)}):d=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new ht(o+"the given combination of arguments ("+n+" and "+vt(e).toLowerCase()+") is invalid for this assertion. You can use an array, a map, an object, a set, a string, or a weakset instead of a "+vt(e).toLowerCase(),void 0,s);var p=Object.keys(e),h=null,m=0;if(p.forEach(function(y){var b=new V(r);if(zr(this,b,!0),ae(b,"lockSsfi",!0),!i||p.length===1){b.property(y,e[y]);return}try{b.property(y,e[y])}catch(E){if(!wr.compatibleConstructor(E,ht))throw E;h===null&&(h=E),m++}},this),i&&p.length>1&&m===p.length)throw h;return}this.assert(d,"expected #{this} to "+u+"include "+it(e),"expected #{this} to not "+u+"include "+it(e))}fe(Ws,"include");V.addChainableMethod("include",Ws,Gs);V.addChainableMethod("contain",Ws,Gs);V.addChainableMethod("contains",Ws,Gs);V.addChainableMethod("includes",Ws,Gs);V.addProperty("ok",function(){this.assert(ae(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});V.addProperty("true",function(){this.assert(ae(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!ae(this,"negate"))});V.addProperty("callable",function(){let e=ae(this,"object"),t=ae(this,"ssfi"),r=ae(this,"message"),n=r?`${r}: `:"",o=ae(this,"negate"),i=o?`${n}expected ${it(e)} not to be a callable function`:`${n}expected ${it(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(vt(e));if(s&&o||!s&&!o)throw new ht(i,void 0,t)});V.addProperty("false",function(){this.assert(ae(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!ae(this,"negate"))});V.addProperty("null",function(){this.assert(ae(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});V.addProperty("undefined",function(){this.assert(ae(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});V.addProperty("NaN",function(){this.assert(Iu(ae(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function bb(){var e=ae(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}fe(bb,"assertExist");V.addProperty("exist",bb);V.addProperty("exists",bb);V.addProperty("empty",function(){var e=ae(this,"object"),t=ae(this,"ssfi"),r=ae(this,"message"),n;switch(r=r?r+": ":"",vt(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new ht(r+".empty was passed a weak collection",void 0,t);case"function":var o=r+".empty was passed a function "+sc(e);throw new ht(o.trim(),void 0,t);default:if(e!==Object(e))throw new ht(r+".empty was passed non-string primitive "+it(e),void 0,t);n=Object.keys(e).length}this.assert(n===0,"expected #{this} to be empty","expected #{this} not to be empty")});function vb(){var e=ae(this,"object"),t=vt(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}fe(vb,"checkArguments");V.addProperty("arguments",vb);V.addProperty("Arguments",vb);function lc(e,t){t&&ae(this,"message",t);var r=ae(this,"object");if(ae(this,"deep")){var n=ae(this,"lockSsfi");ae(this,"lockSsfi",!0),this.eql(e),ae(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}fe(lc,"assertEqual");V.addMethod("equal",lc);V.addMethod("equals",lc);V.addMethod("eq",lc);function Eb(e,t){t&&ae(this,"message",t);var r=ae(this,"eql");this.assert(r(e,ae(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}fe(Eb,"assertEql");V.addMethod("eql",Eb);V.addMethod("eqls",Eb);function uc(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"doLength"),o=ae(this,"message"),i=o?o+": ":"",s=ae(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to above must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to above must be a number";else if(!n&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new ht(c,void 0,s);if(n){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m>e,"expected #{this} to have a "+h+" above #{exp} but got #{act}","expected #{this} to not have a "+h+" above #{exp}",e,m)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}fe(uc,"assertAbove");V.addMethod("above",uc);V.addMethod("gt",uc);V.addMethod("greaterThan",uc);function cc(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"doLength"),o=ae(this,"message"),i=o?o+": ":"",s=ae(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to least must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to least must be a number";else if(!n&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new ht(c,void 0,s);if(n){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m>=e,"expected #{this} to have a "+h+" at least #{exp} but got #{act}","expected #{this} to have a "+h+" below #{exp}",e,m)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}fe(cc,"assertLeast");V.addMethod("least",cc);V.addMethod("gte",cc);V.addMethod("greaterThanOrEqual",cc);function dc(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"doLength"),o=ae(this,"message"),i=o?o+": ":"",s=ae(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to below must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to below must be a number";else if(!n&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new ht(c,void 0,s);if(n){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m<e,"expected #{this} to have a "+h+" below #{exp} but got #{act}","expected #{this} to not have a "+h+" below #{exp}",e,m)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}fe(dc,"assertBelow");V.addMethod("below",dc);V.addMethod("lt",dc);V.addMethod("lessThan",dc);function pc(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"doLength"),o=ae(this,"message"),i=o?o+": ":"",s=ae(this,"ssfi"),l=vt(r).toLowerCase(),u=vt(e).toLowerCase(),c,d=!0;if(n&&l!=="map"&&l!=="set"&&new V(r,o,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=i+"the argument to most must be a date";else if(u!=="number"&&(n||l==="number"))c=i+"the argument to most must be a number";else if(!n&&l!=="date"&&l!=="number"){var p=l==="string"?"'"+r+"'":r;c=i+"expected "+p+" to be a number or a date"}else d=!1;if(d)throw new ht(c,void 0,s);if(n){var h="length",m;l==="map"||l==="set"?(h="size",m=r.size):m=r.length,this.assert(m<=e,"expected #{this} to have a "+h+" at most #{exp} but got #{act}","expected #{this} to have a "+h+" above #{exp}",e,m)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}fe(pc,"assertMost");V.addMethod("most",pc);V.addMethod("lte",pc);V.addMethod("lessThanOrEqual",pc);V.addMethod("within",function(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"doLength"),i=ae(this,"message"),s=i?i+": ":"",l=ae(this,"ssfi"),u=vt(n).toLowerCase(),c=vt(e).toLowerCase(),d=vt(t).toLowerCase(),p,h=!0,m=c==="date"&&d==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(o&&u!=="map"&&u!=="set"&&new V(n,i,l,!0).to.have.property("length"),!o&&u==="date"&&(c!=="date"||d!=="date"))p=s+"the arguments to within must be dates";else if((c!=="number"||d!=="number")&&(o||u==="number"))p=s+"the arguments to within must be numbers";else if(!o&&u!=="date"&&u!=="number"){var y=u==="string"?"'"+n+"'":n;p=s+"expected "+y+" to be a number or a date"}else h=!1;if(h)throw new ht(p,void 0,l);if(o){var b="length",E;u==="map"||u==="set"?(b="size",E=n.size):E=n.length,this.assert(E>=e&&E<=t,"expected #{this} to have a "+b+" within "+m,"expected #{this} to not have a "+b+" within "+m)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+m,"expected #{this} to not be within "+m)});function wb(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"ssfi"),o=ae(this,"message");try{var i=r instanceof e}catch(l){throw l instanceof TypeError?(o=o?o+": ":"",new ht(o+"The instanceof assertion needs a constructor but "+vt(e)+" was given.",void 0,n)):l}var s=sc(e);s==null&&(s="an unnamed constructor"),this.assert(i,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}fe(wb,"assertInstanceOf");V.addMethod("instanceof",wb);V.addMethod("instanceOf",wb);function _b(e,t,r){r&&ae(this,"message",r);var n=ae(this,"nested"),o=ae(this,"own"),i=ae(this,"message"),s=ae(this,"object"),l=ae(this,"ssfi"),u=typeof e;if(i=i?i+": ":"",n){if(u!=="string")throw new ht(i+"the argument to property must be a string when using nested syntax",void 0,l)}else if(u!=="string"&&u!=="number"&&u!=="symbol")throw new ht(i+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&o)throw new ht(i+'The "nested" and "own" flags cannot be combined.',void 0,l);if(s==null)throw new ht(i+"Target cannot be null or undefined.",void 0,l);var c=ae(this,"deep"),d=ae(this,"negate"),p=n?sb(s,e):null,h=n?p.value:s[e],m=c?ae(this,"eql"):(E,g)=>E===g,y="";c&&(y+="deep "),o&&(y+="own "),n&&(y+="nested "),y+="property ";var b;o?b=Object.prototype.hasOwnProperty.call(s,e):n?b=p.exists:b=ic(s,e),(!d||arguments.length===1)&&this.assert(b,"expected #{this} to have "+y+it(e),"expected #{this} to not have "+y+it(e)),arguments.length>1&&this.assert(b&&m(t,h),"expected #{this} to have "+y+it(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+y+it(e)+" of #{act}",t,h),ae(this,"object",h)}fe(_b,"assertProperty");V.addMethod("property",_b);function Sb(e,t,r){ae(this,"own",!0),_b.apply(this,arguments)}fe(Sb,"assertOwnProperty");V.addMethod("ownProperty",Sb);V.addMethod("haveOwnProperty",Sb);function Ab(e,t,r){typeof t=="string"&&(r=t,t=null),r&&ae(this,"message",r);var n=ae(this,"object"),o=Object.getOwnPropertyDescriptor(Object(n),e),i=ae(this,"eql");o&&t?this.assert(i(t,o),"expected the own property descriptor for "+it(e)+" on #{this} to match "+it(t)+", got "+it(o),"expected the own property descriptor for "+it(e)+" on #{this} to not match "+it(t),t,o,!0):this.assert(o,"expected #{this} to have an own property descriptor for "+it(e),"expected #{this} to not have an own property descriptor for "+it(e)),ae(this,"object",o)}fe(Ab,"assertOwnPropertyDescriptor");V.addMethod("ownPropertyDescriptor",Ab);V.addMethod("haveOwnPropertyDescriptor",Ab);function Cb(){ae(this,"doLength",!0)}fe(Cb,"assertLengthChain");function Rb(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=vt(r).toLowerCase(),o=ae(this,"message"),i=ae(this,"ssfi"),s="length",l;switch(n){case"map":case"set":s="size",l=r.size;break;default:new V(r,o,i,!0).to.have.property("length"),l=r.length}this.assert(l==e,"expected #{this} to have a "+s+" of #{exp} but got #{act}","expected #{this} to not have a "+s+" of #{act}",e,l)}fe(Rb,"assertLength");V.addChainableMethod("length",Rb,Cb);V.addChainableMethod("lengthOf",Rb,Cb);function Tb(e,t){t&&ae(this,"message",t);var r=ae(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}fe(Tb,"assertMatch");V.addMethod("match",Tb);V.addMethod("matches",Tb);V.addMethod("string",function(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"message"),o=ae(this,"ssfi");new V(r,n,o,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+it(e),"expected #{this} to not contain "+it(e))});function xb(e){var t=ae(this,"object"),r=vt(t),n=vt(e),o=ae(this,"ssfi"),i=ae(this,"deep"),s,l="",u,c=!0,d=ae(this,"message");d=d?d+": ":"";var p=d+"when testing keys against an object or an array you must give a single Array|Object|String argument or multiple String arguments";if(r==="Map"||r==="Set")l=i?"deeply ":"",u=[],t.forEach(function(w,O){u.push(O)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=mb(t),n){case"Array":if(arguments.length>1)throw new ht(p,void 0,o);break;case"Object":if(arguments.length>1)throw new ht(p,void 0,o);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(w){return typeof w=="symbol"?w:String(w)})}if(!e.length)throw new ht(d+"keys required",void 0,o);var h=e.length,m=ae(this,"any"),y=ae(this,"all"),b=e,E=i?ae(this,"eql"):(w,O)=>w===O;if(!m&&!y&&(y=!0),m&&(c=b.some(function(w){return u.some(function(O){return E(w,O)})})),y&&(c=b.every(function(w){return u.some(function(O){return E(w,O)})}),ae(this,"contains")||(c=c&&e.length==u.length)),h>1){e=e.map(function(w){return it(w)});var g=e.pop();y&&(s=e.join(", ")+", and "+g),m&&(s=e.join(", ")+", or "+g)}else s=it(e[0]);s=(h>1?"keys ":"key ")+s,s=(ae(this,"contains")?"contain ":"have ")+s,this.assert(c,"expected #{this} to "+l+s,"expected #{this} to not "+l+s,b.slice(0).sort(Du),u.sort(Du),!0)}fe(xb,"assertKeys");V.addMethod("keys",xb);V.addMethod("key",xb);function fc(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"ssfi"),i=ae(this,"message"),s=ae(this,"negate")||!1;new V(n,i,o,!0).is.a("function"),(Mu(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(w){u=!0,l=w}var c=e===void 0&&t===void 0,d=!!(e&&t),p=!1,h=!1;if(c||!c&&!s){var m="an error";e instanceof Error?m="#{exp}":e&&(m=wr.getConstructorName(e));let w=l;if(l instanceof Error)w=l.toString();else if(typeof l=="string")w=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{w=wr.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+m,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),w)}if(e&&l){if(e instanceof Error){var y=wr.compatibleInstance(l,e);y===s&&(d&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l&&!s?" but #{act} was thrown":""),e.toString(),l.toString()))}var b=wr.compatibleConstructor(l,e);b===s&&(d&&s?p=!0:this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&wr.getConstructorName(e),l instanceof Error?l.toString():l&&wr.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var E="including";Mu(t)&&(E="matching");var g=wr.compatibleMessage(l,t);g===s&&(d&&s?h=!0:this.assert(s,"expected #{this} to throw error "+E+" #{exp} but got #{act}","expected #{this} to throw error not "+E+" #{exp}",t,wr.getMessage(l)))}p&&h&&this.assert(s,"expected #{this} to throw #{exp} but #{act} was thrown","expected #{this} to not throw #{exp}"+(l?" but #{act} was thrown":""),e instanceof Error?e.toString():e&&wr.getConstructorName(e),l instanceof Error?l.toString():l&&wr.getConstructorName(l)),ae(this,"object",l)}fe(fc,"assertThrows");V.addMethod("throw",fc);V.addMethod("throws",fc);V.addMethod("Throw",fc);function qb(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"itself"),o=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof o=="function","expected #{this} to respond to "+it(e),"expected #{this} to not respond to "+it(e))}fe(qb,"respondTo");V.addMethod("respondTo",qb);V.addMethod("respondsTo",qb);V.addProperty("itself",function(){ae(this,"itself",!0)});function Ob(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Fo(e),"expected #{this} to not satisfy"+Fo(e),!ae(this,"negate"),n)}fe(Ob,"satisfy");V.addMethod("satisfy",Ob);V.addMethod("satisfies",Ob);function Pb(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"message"),i=ae(this,"ssfi");if(new V(n,o,i,!0).is.a("number"),typeof e!="number"||typeof t!="number"){o=o?o+": ":"";var s=t===void 0?", and a delta is required":"";throw new ht(o+"the arguments to closeTo or approximately must be numbers"+s,void 0,i)}this.assert(Math.abs(n-e)<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}fe(Pb,"closeTo");V.addMethod("closeTo",Pb);V.addMethod("approximately",Pb);function AT(e,t,r,n,o){let i=Array.from(t),s=Array.from(e);if(!n){if(s.length!==i.length)return!1;i=i.slice()}return s.every(function(l,u){if(o)return r?r(l,i[u]):l===i[u];if(!r){var c=i.indexOf(l);return c===-1?!1:(n||i.splice(c,1),!0)}return i.some(function(d,p){return r(l,d)?(n||i.splice(p,1),!0):!1})})}fe(AT,"isSubsetOf");V.addMethod("members",function(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"message"),o=ae(this,"ssfi");new V(r,n,o,!0).to.be.iterable,new V(e,n,o,!0).to.be.iterable;var i=ae(this,"contains"),s=ae(this,"ordered"),l,u,c;i?(l=s?"an ordered superset":"a superset",u="expected #{this} to be "+l+" of #{exp}",c="expected #{this} to not be "+l+" of #{exp}"):(l=s?"ordered members":"members",u="expected #{this} to have the same "+l+" as #{exp}",c="expected #{this} to not have the same "+l+" as #{exp}");var d=ae(this,"deep")?ae(this,"eql"):void 0;this.assert(AT(e,r,d,i,s),u,c,e,r,!0)});V.addProperty("iterable",function(e){e&&ae(this,"message",e);var t=ae(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function CT(e,t){t&&ae(this,"message",t);var r=ae(this,"object"),n=ae(this,"message"),o=ae(this,"ssfi"),i=ae(this,"contains"),s=ae(this,"deep"),l=ae(this,"eql");new V(e,n,o,!0).to.be.an("array"),i?this.assert(e.some(function(u){return r.indexOf(u)>-1}),"expected #{this} to contain one of #{exp}","expected #{this} to not contain one of #{exp}",e,r):s?this.assert(e.some(function(u){return l(r,u)}),"expected #{this} to deeply equal one of #{exp}","expected #{this} to deeply equal one of #{exp}",e,r):this.assert(e.indexOf(r)>-1,"expected #{this} to be one of #{exp}","expected #{this} to not be one of #{exp}",e,r)}fe(CT,"oneOf");V.addMethod("oneOf",CT);function Db(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"message"),i=ae(this,"ssfi");new V(n,o,i,!0).is.a("function");var s;t?(new V(e,o,i,!0).to.have.property(t),s=e[t]):(new V(e,o,i,!0).is.a("function"),s=e()),n();var l=t==null?e():e[t],u=t==null?s:"."+t;ae(this,"deltaMsgObj",u),ae(this,"initialDeltaValue",s),ae(this,"finalDeltaValue",l),ae(this,"deltaBehavior","change"),ae(this,"realDelta",l!==s),this.assert(s!==l,"expected "+u+" to change","expected "+u+" to not change")}fe(Db,"assertChanges");V.addMethod("change",Db);V.addMethod("changes",Db);function Ib(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"message"),i=ae(this,"ssfi");new V(n,o,i,!0).is.a("function");var s;t?(new V(e,o,i,!0).to.have.property(t),s=e[t]):(new V(e,o,i,!0).is.a("function"),s=e()),new V(s,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?s:"."+t;ae(this,"deltaMsgObj",u),ae(this,"initialDeltaValue",s),ae(this,"finalDeltaValue",l),ae(this,"deltaBehavior","increase"),ae(this,"realDelta",l-s),this.assert(l-s>0,"expected "+u+" to increase","expected "+u+" to not increase")}fe(Ib,"assertIncreases");V.addMethod("increase",Ib);V.addMethod("increases",Ib);function Mb(e,t,r){r&&ae(this,"message",r);var n=ae(this,"object"),o=ae(this,"message"),i=ae(this,"ssfi");new V(n,o,i,!0).is.a("function");var s;t?(new V(e,o,i,!0).to.have.property(t),s=e[t]):(new V(e,o,i,!0).is.a("function"),s=e()),new V(s,o,i,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?s:"."+t;ae(this,"deltaMsgObj",u),ae(this,"initialDeltaValue",s),ae(this,"finalDeltaValue",l),ae(this,"deltaBehavior","decrease"),ae(this,"realDelta",s-l),this.assert(l-s<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}fe(Mb,"assertDecreases");V.addMethod("decrease",Mb);V.addMethod("decreases",Mb);function RT(e,t){t&&ae(this,"message",t);var r=ae(this,"deltaMsgObj"),n=ae(this,"initialDeltaValue"),o=ae(this,"finalDeltaValue"),i=ae(this,"deltaBehavior"),s=ae(this,"realDelta"),l;i==="change"?l=Math.abs(o-n)===Math.abs(e):l=s===Math.abs(e),this.assert(l,"expected "+r+" to "+i+" by "+e,"expected "+r+" to not "+i+" by "+e)}fe(RT,"assertDelta");V.addMethod("by",RT);V.addProperty("extensible",function(){var e=ae(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});V.addProperty("sealed",function(){var e=ae(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});V.addProperty("frozen",function(){var e=ae(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});V.addProperty("finite",function(e){var t=ae(this,"object");this.assert(typeof t=="number"&&isFinite(t),"expected #{this} to be a finite number","expected #{this} to not be a finite number")});function ko(e,t){return new V(e,t)}fe(ko,"expect");ko.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new ht(r,{actual:e,expected:t,operator:n},ko.fail)};var TT={};eb(TT,{Should:()=>yK,should:()=>mK});function Nb(){function e(){return this instanceof String||this instanceof Number||this instanceof Boolean||typeof Symbol=="function"&&this instanceof Symbol||typeof BigInt=="function"&&this instanceof BigInt?new V(this.valueOf(),null,e):new V(this,null,e)}fe(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}fe(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,o,i,s){throw arguments.length<2&&(i=n,n=void 0),i=i||"should.fail()",new ht(i,{actual:n,expected:o,operator:s},r.fail)},r.equal=function(n,o,i){new V(n,i).to.equal(o)},r.Throw=function(n,o,i,s){new V(n,s).to.Throw(o,i)},r.exist=function(n,o){new V(n,o).to.exist},r.not={},r.not.equal=function(n,o,i){new V(n,i).to.not.equal(o)},r.not.Throw=function(n,o,i,s){new V(n,s).to.not.Throw(o,i)},r.not.exist=function(n,o){new V(n,o).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}fe(Nb,"loadShould");var mK=Nb,yK=Nb;function U(e,t){var r=new V(null,null,U,!0);r.assert(e,t,"[ negation message unavailable ]")}fe(U,"assert");U.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new ht(r,{actual:e,expected:t,operator:n},U.fail)};U.isOk=function(e,t){new V(e,t,U.isOk,!0).is.ok};U.isNotOk=function(e,t){new V(e,t,U.isNotOk,!0).is.not.ok};U.equal=function(e,t,r){var n=new V(e,r,U.equal,!0);n.assert(t==Qe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};U.notEqual=function(e,t,r){var n=new V(e,r,U.notEqual,!0);n.assert(t!=Qe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};U.strictEqual=function(e,t,r){new V(e,r,U.strictEqual,!0).to.equal(t)};U.notStrictEqual=function(e,t,r){new V(e,r,U.notStrictEqual,!0).to.not.equal(t)};U.deepEqual=U.deepStrictEqual=function(e,t,r){new V(e,r,U.deepEqual,!0).to.eql(t)};U.notDeepEqual=function(e,t,r){new V(e,r,U.notDeepEqual,!0).to.not.eql(t)};U.isAbove=function(e,t,r){new V(e,r,U.isAbove,!0).to.be.above(t)};U.isAtLeast=function(e,t,r){new V(e,r,U.isAtLeast,!0).to.be.least(t)};U.isBelow=function(e,t,r){new V(e,r,U.isBelow,!0).to.be.below(t)};U.isAtMost=function(e,t,r){new V(e,r,U.isAtMost,!0).to.be.most(t)};U.isTrue=function(e,t){new V(e,t,U.isTrue,!0).is.true};U.isNotTrue=function(e,t){new V(e,t,U.isNotTrue,!0).to.not.equal(!0)};U.isFalse=function(e,t){new V(e,t,U.isFalse,!0).is.false};U.isNotFalse=function(e,t){new V(e,t,U.isNotFalse,!0).to.not.equal(!1)};U.isNull=function(e,t){new V(e,t,U.isNull,!0).to.equal(null)};U.isNotNull=function(e,t){new V(e,t,U.isNotNull,!0).to.not.equal(null)};U.isNaN=function(e,t){new V(e,t,U.isNaN,!0).to.be.NaN};U.isNotNaN=function(e,t){new V(e,t,U.isNotNaN,!0).not.to.be.NaN};U.exists=function(e,t){new V(e,t,U.exists,!0).to.exist};U.notExists=function(e,t){new V(e,t,U.notExists,!0).to.not.exist};U.isUndefined=function(e,t){new V(e,t,U.isUndefined,!0).to.equal(void 0)};U.isDefined=function(e,t){new V(e,t,U.isDefined,!0).to.not.equal(void 0)};U.isCallable=function(e,t){new V(e,t,U.isCallable,!0).is.callable};U.isNotCallable=function(e,t){new V(e,t,U.isNotCallable,!0).is.not.callable};U.isObject=function(e,t){new V(e,t,U.isObject,!0).to.be.a("object")};U.isNotObject=function(e,t){new V(e,t,U.isNotObject,!0).to.not.be.a("object")};U.isArray=function(e,t){new V(e,t,U.isArray,!0).to.be.an("array")};U.isNotArray=function(e,t){new V(e,t,U.isNotArray,!0).to.not.be.an("array")};U.isString=function(e,t){new V(e,t,U.isString,!0).to.be.a("string")};U.isNotString=function(e,t){new V(e,t,U.isNotString,!0).to.not.be.a("string")};U.isNumber=function(e,t){new V(e,t,U.isNumber,!0).to.be.a("number")};U.isNotNumber=function(e,t){new V(e,t,U.isNotNumber,!0).to.not.be.a("number")};U.isFinite=function(e,t){new V(e,t,U.isFinite,!0).to.be.finite};U.isBoolean=function(e,t){new V(e,t,U.isBoolean,!0).to.be.a("boolean")};U.isNotBoolean=function(e,t){new V(e,t,U.isNotBoolean,!0).to.not.be.a("boolean")};U.typeOf=function(e,t,r){new V(e,r,U.typeOf,!0).to.be.a(t)};U.notTypeOf=function(e,t,r){new V(e,r,U.notTypeOf,!0).to.not.be.a(t)};U.instanceOf=function(e,t,r){new V(e,r,U.instanceOf,!0).to.be.instanceOf(t)};U.notInstanceOf=function(e,t,r){new V(e,r,U.notInstanceOf,!0).to.not.be.instanceOf(t)};U.include=function(e,t,r){new V(e,r,U.include,!0).include(t)};U.notInclude=function(e,t,r){new V(e,r,U.notInclude,!0).not.include(t)};U.deepInclude=function(e,t,r){new V(e,r,U.deepInclude,!0).deep.include(t)};U.notDeepInclude=function(e,t,r){new V(e,r,U.notDeepInclude,!0).not.deep.include(t)};U.nestedInclude=function(e,t,r){new V(e,r,U.nestedInclude,!0).nested.include(t)};U.notNestedInclude=function(e,t,r){new V(e,r,U.notNestedInclude,!0).not.nested.include(t)};U.deepNestedInclude=function(e,t,r){new V(e,r,U.deepNestedInclude,!0).deep.nested.include(t)};U.notDeepNestedInclude=function(e,t,r){new V(e,r,U.notDeepNestedInclude,!0).not.deep.nested.include(t)};U.ownInclude=function(e,t,r){new V(e,r,U.ownInclude,!0).own.include(t)};U.notOwnInclude=function(e,t,r){new V(e,r,U.notOwnInclude,!0).not.own.include(t)};U.deepOwnInclude=function(e,t,r){new V(e,r,U.deepOwnInclude,!0).deep.own.include(t)};U.notDeepOwnInclude=function(e,t,r){new V(e,r,U.notDeepOwnInclude,!0).not.deep.own.include(t)};U.match=function(e,t,r){new V(e,r,U.match,!0).to.match(t)};U.notMatch=function(e,t,r){new V(e,r,U.notMatch,!0).to.not.match(t)};U.property=function(e,t,r){new V(e,r,U.property,!0).to.have.property(t)};U.notProperty=function(e,t,r){new V(e,r,U.notProperty,!0).to.not.have.property(t)};U.propertyVal=function(e,t,r,n){new V(e,n,U.propertyVal,!0).to.have.property(t,r)};U.notPropertyVal=function(e,t,r,n){new V(e,n,U.notPropertyVal,!0).to.not.have.property(t,r)};U.deepPropertyVal=function(e,t,r,n){new V(e,n,U.deepPropertyVal,!0).to.have.deep.property(t,r)};U.notDeepPropertyVal=function(e,t,r,n){new V(e,n,U.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};U.ownProperty=function(e,t,r){new V(e,r,U.ownProperty,!0).to.have.own.property(t)};U.notOwnProperty=function(e,t,r){new V(e,r,U.notOwnProperty,!0).to.not.have.own.property(t)};U.ownPropertyVal=function(e,t,r,n){new V(e,n,U.ownPropertyVal,!0).to.have.own.property(t,r)};U.notOwnPropertyVal=function(e,t,r,n){new V(e,n,U.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};U.deepOwnPropertyVal=function(e,t,r,n){new V(e,n,U.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};U.notDeepOwnPropertyVal=function(e,t,r,n){new V(e,n,U.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};U.nestedProperty=function(e,t,r){new V(e,r,U.nestedProperty,!0).to.have.nested.property(t)};U.notNestedProperty=function(e,t,r){new V(e,r,U.notNestedProperty,!0).to.not.have.nested.property(t)};U.nestedPropertyVal=function(e,t,r,n){new V(e,n,U.nestedPropertyVal,!0).to.have.nested.property(t,r)};U.notNestedPropertyVal=function(e,t,r,n){new V(e,n,U.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};U.deepNestedPropertyVal=function(e,t,r,n){new V(e,n,U.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};U.notDeepNestedPropertyVal=function(e,t,r,n){new V(e,n,U.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};U.lengthOf=function(e,t,r){new V(e,r,U.lengthOf,!0).to.have.lengthOf(t)};U.hasAnyKeys=function(e,t,r){new V(e,r,U.hasAnyKeys,!0).to.have.any.keys(t)};U.hasAllKeys=function(e,t,r){new V(e,r,U.hasAllKeys,!0).to.have.all.keys(t)};U.containsAllKeys=function(e,t,r){new V(e,r,U.containsAllKeys,!0).to.contain.all.keys(t)};U.doesNotHaveAnyKeys=function(e,t,r){new V(e,r,U.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};U.doesNotHaveAllKeys=function(e,t,r){new V(e,r,U.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};U.hasAnyDeepKeys=function(e,t,r){new V(e,r,U.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};U.hasAllDeepKeys=function(e,t,r){new V(e,r,U.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};U.containsAllDeepKeys=function(e,t,r){new V(e,r,U.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};U.doesNotHaveAnyDeepKeys=function(e,t,r){new V(e,r,U.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};U.doesNotHaveAllDeepKeys=function(e,t,r){new V(e,r,U.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};U.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var o=new V(e,n,U.throws,!0).to.throw(t,r);return Qe(o,"object")};U.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new V(e,n,U.doesNotThrow,!0).to.not.throw(t,r)};U.operator=function(e,t,r,n){var o;switch(t){case"==":o=e==r;break;case"===":o=e===r;break;case">":o=e>r;break;case">=":o=e>=r;break;case"<":o=e<r;break;case"<=":o=e<=r;break;case"!=":o=e!=r;break;case"!==":o=e!==r;break;default:throw n=n&&n+": ",new ht(n+'Invalid operator "'+t+'"',void 0,U.operator)}var i=new V(o,n,U.operator,!0);i.assert(Qe(i,"object")===!0,"expected "+it(e)+" to be "+t+" "+it(r),"expected "+it(e)+" to not be "+t+" "+it(r))};U.closeTo=function(e,t,r,n){new V(e,n,U.closeTo,!0).to.be.closeTo(t,r)};U.approximately=function(e,t,r,n){new V(e,n,U.approximately,!0).to.be.approximately(t,r)};U.sameMembers=function(e,t,r){new V(e,r,U.sameMembers,!0).to.have.same.members(t)};U.notSameMembers=function(e,t,r){new V(e,r,U.notSameMembers,!0).to.not.have.same.members(t)};U.sameDeepMembers=function(e,t,r){new V(e,r,U.sameDeepMembers,!0).to.have.same.deep.members(t)};U.notSameDeepMembers=function(e,t,r){new V(e,r,U.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};U.sameOrderedMembers=function(e,t,r){new V(e,r,U.sameOrderedMembers,!0).to.have.same.ordered.members(t)};U.notSameOrderedMembers=function(e,t,r){new V(e,r,U.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};U.sameDeepOrderedMembers=function(e,t,r){new V(e,r,U.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};U.notSameDeepOrderedMembers=function(e,t,r){new V(e,r,U.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};U.includeMembers=function(e,t,r){new V(e,r,U.includeMembers,!0).to.include.members(t)};U.notIncludeMembers=function(e,t,r){new V(e,r,U.notIncludeMembers,!0).to.not.include.members(t)};U.includeDeepMembers=function(e,t,r){new V(e,r,U.includeDeepMembers,!0).to.include.deep.members(t)};U.notIncludeDeepMembers=function(e,t,r){new V(e,r,U.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};U.includeOrderedMembers=function(e,t,r){new V(e,r,U.includeOrderedMembers,!0).to.include.ordered.members(t)};U.notIncludeOrderedMembers=function(e,t,r){new V(e,r,U.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};U.includeDeepOrderedMembers=function(e,t,r){new V(e,r,U.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};U.notIncludeDeepOrderedMembers=function(e,t,r){new V(e,r,U.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};U.oneOf=function(e,t,r){new V(e,r,U.oneOf,!0).to.be.oneOf(t)};U.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${it(e)} to be an iterable`:`expected ${it(e)} to be an iterable`,new ht(t,void 0,U.isIterable)};U.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.changes,!0).to.change(t,r)};U.changesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.changesBy,!0).to.change(t,r).by(n)};U.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.doesNotChange,!0).to.not.change(t,r)};U.changesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.changesButNotBy,!0).to.change(t,r).but.not.by(n)};U.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.increases,!0).to.increase(t,r)};U.increasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.increasesBy,!0).to.increase(t,r).by(n)};U.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.doesNotIncrease,!0).to.not.increase(t,r)};U.increasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};U.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.decreases,!0).to.decrease(t,r)};U.decreasesBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.decreasesBy,!0).to.decrease(t,r).by(n)};U.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new V(e,n,U.doesNotDecrease,!0).to.not.decrease(t,r)};U.doesNotDecreaseBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);return new V(e,o,U.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};U.decreasesButNotBy=function(e,t,r,n,o){if(arguments.length===4&&typeof t=="function"){var i=n;n=r,o=i}else arguments.length===3&&(n=r,r=null);new V(e,o,U.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};U.ifError=function(e){if(e)throw e};U.isExtensible=function(e,t){new V(e,t,U.isExtensible,!0).to.be.extensible};U.isNotExtensible=function(e,t){new V(e,t,U.isNotExtensible,!0).to.not.be.extensible};U.isSealed=function(e,t){new V(e,t,U.isSealed,!0).to.be.sealed};U.isNotSealed=function(e,t){new V(e,t,U.isNotSealed,!0).to.not.be.sealed};U.isFrozen=function(e,t){new V(e,t,U.isFrozen,!0).to.be.frozen};U.isNotFrozen=function(e,t){new V(e,t,U.isNotFrozen,!0).to.not.be.frozen};U.isEmpty=function(e,t){new V(e,t,U.isEmpty,!0).to.be.empty};U.isNotEmpty=function(e,t){new V(e,t,U.isNotEmpty,!0).to.not.be.empty};fe(function e(t,r){return U[r]=U[t],e},"alias")("isOk","ok")("isNotOk","notOk")("throws","throw")("throws","Throw")("isExtensible","extensible")("isNotExtensible","notExtensible")("isSealed","sealed")("isNotSealed","notSealed")("isFrozen","frozen")("isNotFrozen","notFrozen")("isEmpty","empty")("isNotEmpty","notEmpty")("isCallable","isFunction")("isNotCallable","isNotFunction");var wA=[];function _s(e){let t={AssertionError:ht,util:on,config:yr,expect:ko,assert:U,Assertion:V,...TT};return~wA.indexOf(e)||(e(t,on),wA.push(e)),t}fe(_s,"use");var xT={};Ju(xT,{toBeChecked:()=>yx,toBeDisabled:()=>lx,toBeEmpty:()=>WT,toBeEmptyDOMElement:()=>YT,toBeEnabled:()=>ux,toBeInTheDOM:()=>fg,toBeInTheDocument:()=>GT,toBeInvalid:()=>px,toBePartiallyChecked:()=>bx,toBeRequired:()=>cx,toBeValid:()=>fx,toBeVisible:()=>nx,toContainElement:()=>hg,toContainHTML:()=>KT,toHaveAccessibleDescription:()=>mg,toHaveAccessibleErrorMessage:()=>XT,toHaveAccessibleName:()=>gg,toHaveAttribute:()=>QT,toHaveClass:()=>ZT,toHaveDescription:()=>vx,toHaveDisplayValue:()=>mx,toHaveErrorMessage:()=>Ex,toHaveFocus:()=>ex,toHaveFormValues:()=>tx,toHaveRole:()=>yg,toHaveStyle:()=>bg,toHaveTextContent:()=>JT,toHaveValue:()=>hx});var _A=Sr(_R(),1);function qT(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}function Bb(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}var OT={};qT(OT);Bb(OT,"default",()=>PT);var PT=class extends Error{constructor(e,t,r,n,o){super(e+":"+r+":"+n+": "+t),this.reason=t,this.filename=e,this.line=r,this.column=n,this.source=o}},DT={};qT(DT);Bb(DT,"default",()=>IT);var IT=class{constructor(e,t,r){this.start=e,this.end=t,this.source=r}},gK={};Bb(gK,"CssTypes",()=>Nt);var Nt;(function(e){e.stylesheet="stylesheet",e.rule="rule",e.declaration="declaration",e.comment="comment",e.container="container",e.charset="charset",e.document="document",e.customMedia="custom-media",e.fontFace="font-face",e.host="host",e.import="import",e.keyframes="keyframes",e.keyframe="keyframe",e.layer="layer",e.media="media",e.namespace="namespace",e.page="page",e.startingStyle="starting-style",e.supports="supports"})(Nt||(Nt={}));var Iy=/\/\*[^]*?(?:\*\/|$)/g,bK=(e,t)=>{t=t||{};let r=1,n=1;function o(ye){let de=ye.match(/\n/g);de&&(r+=de.length);let Ee=ye.lastIndexOf(`
|
|
271
|
-
`);n=~Ee?ye.length-Ee:n+ye.length}function i(){let ye={line:r,column:n};return function(de){return de.position=new IT(ye,{line:r,column:n},t?.source||""),m(),de}}let s=[];function l(ye){let de=new PT(t?.source||"",ye,r,n,e);if(t?.silent)s.push(de);else throw de}function u(){let ye=p();return{type:Nt.stylesheet,stylesheet:{source:t?.source,rules:ye,parsingErrors:s}}}function c(){return h(/^{\s*/)}function d(){return h(/^}/)}function p(){let ye,de=[];for(m(),y(de);e.length&&e.charAt(0)!=="}"&&(ye=Ne()||De());)ye&&(de.push(ye),y(de));return de}function h(ye){let de=ye.exec(e);if(!de)return;let Ee=de[0];return o(Ee),e=e.slice(Ee.length),de}function m(){h(/^\s*/)}function y(ye){let de;for(ye=ye||[];de=b();)de&&ye.push(de);return ye}function b(){let ye=i();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let de=h(/^\/\*[^]*?\*\//);return de?ye({type:Nt.comment,comment:de[0].slice(2,-2)}):l("End of comment missing")}function E(ye,de,Ee){let qe=de+1,Le=!1,Fe=ye.indexOf(")",qe);for(;!Le&&Fe!==-1;){let Ge=ye.indexOf("(",qe);Ge!==-1&&Ge<Fe?(qe=E(ye,Ge+1,Ee+1)+1,Fe=ye.indexOf(")",qe)):Le=!0}return Le&&Fe!==-1?Fe:-1}function g(){let ye=h(/^([^{]+)/);if(!ye)return;let de=Tr(ye[0]).replace(Iy,"");if(de.indexOf(",")===-1)return[de];let Ee=0,qe=de.indexOf("(",Ee);for(;qe!==-1;){let Le=E(de,qe,0);if(Le===-1)break;Ee=Le+1,de=de.substring(0,qe)+de.substring(qe,Le).replace(/,/g,"\u200C")+de.substring(Le),qe=de.indexOf("(",Ee)}return de=de.replace(/("|')(?:\\\1|.)*?\1/g,Le=>Le.replace(/,/g,"\u200C")),de.split(",").map(Le=>Tr(Le.replace(/\u200C/g,",")))}function w(){let ye=i(),de=h(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!de)return;let Ee=Tr(de[0]);if(!h(/^:\s*/))return l("property missing ':'");let qe=h(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/),Le=ye({type:Nt.declaration,property:Ee.replace(Iy,""),value:qe?Tr(qe[0]).replace(Iy,""):""});return h(/^[;\s]*/),Le}function O(){let ye=[];if(!c())return l("missing '{'");y(ye);let de;for(;de=w();)de&&(ye.push(de),y(ye));return d()?ye:l("missing '}'")}function A(){let ye,de=[],Ee=i();for(;ye=h(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)de.push(ye[1]),h(/^,\s*/);if(de.length)return Ee({type:Nt.keyframe,values:de,declarations:O()||[]})}function S(){let ye=i(),de=h(/^@([-\w]+)?keyframes\s*/);if(!de)return;let Ee=de[1],qe=h(/^([-\w]+)\s*/);if(!qe)return l("@keyframes missing name");let Le=qe[1];if(!c())return l("@keyframes missing '{'");let Fe,Ge=y();for(;Fe=A();)Ge.push(Fe),Ge=Ge.concat(y());return d()?ye({type:Nt.keyframes,name:Le,vendor:Ee,keyframes:Ge}):l("@keyframes missing '}'")}function T(){let ye=i(),de=h(/^@supports *([^{]+)/);if(!de)return;let Ee=Tr(de[1]);if(!c())return l("@supports missing '{'");let qe=y().concat(p());return d()?ye({type:Nt.supports,supports:Ee,rules:qe}):l("@supports missing '}'")}function C(){let ye=i();if(!h(/^@host\s*/))return;if(!c())return l("@host missing '{'");let de=y().concat(p());return d()?ye({type:Nt.host,rules:de}):l("@host missing '}'")}function x(){let ye=i(),de=h(/^@container *([^{]+)/);if(!de)return;let Ee=Tr(de[1]);if(!c())return l("@container missing '{'");let qe=y().concat(p());return d()?ye({type:Nt.container,container:Ee,rules:qe}):l("@container missing '}'")}function I(){let ye=i(),de=h(/^@layer *([^{;@]+)/);if(!de)return;let Ee=Tr(de[1]);if(!c())return h(/^[;\s]*/),ye({type:Nt.layer,layer:Ee});let qe=y().concat(p());return d()?ye({type:Nt.layer,layer:Ee,rules:qe}):l("@layer missing '}'")}function W(){let ye=i(),de=h(/^@media *([^{]+)/);if(!de)return;let Ee=Tr(de[1]);if(!c())return l("@media missing '{'");let qe=y().concat(p());return d()?ye({type:Nt.media,media:Ee,rules:qe}):l("@media missing '}'")}function X(){let ye=i(),de=h(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(de)return ye({type:Nt.customMedia,name:Tr(de[1]),media:Tr(de[2])})}function Y(){let ye=i();if(!h(/^@page */))return;let de=g()||[];if(!c())return l("@page missing '{'");let Ee=y(),qe;for(;qe=w();)Ee.push(qe),Ee=Ee.concat(y());return d()?ye({type:Nt.page,selectors:de,declarations:Ee}):l("@page missing '}'")}function K(){let ye=i(),de=h(/^@([-\w]+)?document *([^{]+)/);if(!de)return;let Ee=Tr(de[1]),qe=Tr(de[2]);if(!c())return l("@document missing '{'");let Le=y().concat(p());return d()?ye({type:Nt.document,document:qe,vendor:Ee,rules:Le}):l("@document missing '}'")}function _(){let ye=i();if(!h(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let de=y(),Ee;for(;Ee=w();)de.push(Ee),de=de.concat(y());return d()?ye({type:Nt.fontFace,declarations:de}):l("@font-face missing '}'")}function P(){let ye=i();if(!h(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let de=y().concat(p());return d()?ye({type:Nt.startingStyle,rules:de}):l("@starting-style missing '}'")}let N=Re("import"),le=Re("charset"),ce=Re("namespace");function Re(ye){let de=new RegExp("^@"+ye+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let Ee=i(),qe=h(de);if(!qe)return;let Le={type:ye};return Le[ye]=qe[1].trim(),Ee(Le)}}function Ne(){if(e[0]==="@")return S()||W()||X()||T()||N()||le()||ce()||K()||Y()||C()||_()||x()||P()||I()}function De(){let ye=i(),de=g();return de?(y(),ye({type:Nt.rule,selectors:de,declarations:O()||[]})):l("selector missing")}return dg(u())};function Tr(e){return e?e.trim():""}function dg(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let o in e){let i=e[o];Array.isArray(i)?i.forEach(s=>{dg(s,n)}):i&&typeof i=="object"&&dg(i,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}var vK=bK,EK=vK,wK=Object.prototype.toString;function SA(e){return typeof e=="function"||wK.call(e)==="[object Function]"}function _K(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var SK=Math.pow(2,53)-1;function AK(e){var t=_K(e);return Math.min(Math.max(t,0),SK)}function $r(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!SA(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=AK(n.length),i=SA(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function Rs(e){"@babel/helpers - typeof";return Rs=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},Rs(e)}function CK(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function AA(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,MT(n.key),n)}}function RK(e,t,r){return t&&AA(e.prototype,t),r&&AA(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function TK(e,t,r){return t=MT(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function MT(e){var t=xK(e,"string");return Rs(t)==="symbol"?t:String(t)}function xK(e,t){if(Rs(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Rs(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var qK=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];CK(this,e),TK(this,"items",void 0),this.items=t}return RK(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),OK=typeof Set>"u"?Set:qK;function ir(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var PK={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},DK={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),none:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function IK(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-description","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=DK[t])!==null&&n!==void 0&&n.has(r))})}function NT(e,t){return IK(e,t)}function MK(e){var t=BK(e);if(t===null||pg.indexOf(t)!==-1){var r=NK(e);if(pg.indexOf(t||"")===-1||NT(e,r||""))return r}return t}function NK(e){var t=PK[ir(e)];if(t!==void 0)return t;switch(ir(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!NT(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function BK(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}var pg=["presentation","none"];function _t(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function BT(e){return _t(e)&&ir(e)==="caption"}function wu(e){return _t(e)&&ir(e)==="input"}function jK(e){return _t(e)&&ir(e)==="optgroup"}function FK(e){return _t(e)&&ir(e)==="select"}function kK(e){return _t(e)&&ir(e)==="table"}function LK(e){return _t(e)&&ir(e)==="textarea"}function $K(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function UK(e){return _t(e)&&ir(e)==="fieldset"}function HK(e){return _t(e)&&ir(e)==="legend"}function zK(e){return _t(e)&&ir(e)==="slot"}function VK(e){return _t(e)&&e.ownerSVGElement!==void 0}function GK(e){return _t(e)&&ir(e)==="svg"}function WK(e){return VK(e)&&ir(e)==="title"}function Nu(e,t){if(_t(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function yn(e,t){return _t(e)?t.indexOf(MK(e))!==-1:!1}function YK(e){return e.trim().replace(/\s\s+/g," ")}function KK(e,t){if(!_t(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function JK(e){return yn(e,["button","combobox","listbox","textbox"])||jT(e,"range")}function jT(e,t){if(!_t(e))return!1;switch(t){case"range":return yn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function CA(e,t){var r=$r(e.querySelectorAll(t));return Nu(e,"aria-owns").forEach(function(n){r.push.apply(r,$r(n.querySelectorAll(t)))}),r}function XK(e){return FK(e)?e.selectedOptions||CA(e,"[selected]"):CA(e,'[aria-selected="true"]')}function QK(e){return yn(e,pg)}function ZK(e){return BT(e)}function eJ(e){return yn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function tJ(e){return!1}function rJ(e){return wu(e)||LK(e)?e.value:e.textContent||""}function RA(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function FT(e){var t=ir(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function kT(e){if(FT(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&_t(r)){var n=kT(r);n!==null&&(t=n)}}),t}function nJ(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):kT(e)}function oJ(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return $r(t);if(!FT(e))return null;var r=e.ownerDocument;return $r(r.querySelectorAll("label")).filter(function(n){return nJ(n)===e})}function aJ(e){var t=e.assignedNodes();return t.length===0?$r(e.childNodes):t}function LT(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new OK,n=$K(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,d=t.hidden,p=d===void 0?!1:d;function h(g,w){var O="";if(_t(g)&&l){var A=c(g,"::before"),S=RA(A);O="".concat(S," ").concat(O)}var T=zK(g)?aJ(g):$r(g.childNodes).concat(Nu(g,"aria-owns"));if(T.forEach(function(I){var W=E(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=_t(I)?c(I).getPropertyValue("display"):"inline",Y=X!=="inline"?" ":"";O+="".concat(Y).concat(W).concat(Y)}),_t(g)&&l){var C=c(g,"::after"),x=RA(C);O="".concat(O," ").concat(x)}return O.trim()}function m(g,w){var O=g.getAttributeNode(w);return O!==null&&!r.has(O)&&O.value.trim()!==""?(r.add(O),O.value):null}function y(g){return _t(g)?m(g,"title"):null}function b(g){if(!_t(g))return null;if(UK(g)){r.add(g);for(var w=$r(g.childNodes),O=0;O<w.length;O+=1){var A=w[O];if(HK(A))return E(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(kK(g)){r.add(g);for(var S=$r(g.childNodes),T=0;T<S.length;T+=1){var C=S[T];if(BT(C))return E(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(GK(g)){r.add(g);for(var x=$r(g.childNodes),I=0;I<x.length;I+=1){var W=x[I];if(WK(W))return W.textContent}return null}else if(ir(g)==="img"||ir(g)==="area"){var X=m(g,"alt");if(X!==null)return X}else if(jK(g)){var Y=m(g,"label");if(Y!==null)return Y}if(wu(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var K=m(g,"value");if(K!==null)return K;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var _=oJ(g);if(_!==null&&_.length!==0)return r.add(g),$r(_).map(function(ce){return E(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if(wu(g)&&g.type==="image"){var P=m(g,"alt");if(P!==null)return P;var N=m(g,"title");return N!==null?N:"Submit Query"}if(yn(g,["button"])){var le=h(g,{isEmbeddedInLabel:!1,isReferenced:!1});if(le!=="")return le}return null}function E(g,w){if(r.has(g))return"";if(!p&&KK(g,c)&&!w.isReferenced)return r.add(g),"";var O=_t(g)?g.getAttributeNode("aria-labelledby"):null,A=O!==null&&!r.has(O)?Nu(g,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&A.length>0)return r.add(O),A.map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var S=w.recursion&&JK(g)&&i==="name";if(!S){var T=(_t(g)&&g.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(g),T;if(!QK(g)){var C=b(g);if(C!==null)return r.add(g),C}}if(yn(g,["menu"]))return r.add(g),"";if(S||w.isEmbeddedInLabel||w.isReferenced){if(yn(g,["combobox","listbox"])){r.add(g);var x=XK(g);return x.length===0?wu(g)?g.value:"":$r(x).map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(jT(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(yn(g,["textbox"]))return r.add(g),rJ(g)}if(eJ(g)||_t(g)&&w.isReferenced||ZK(g)||tJ(g)){var I=h(g,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(I!=="")return r.add(g),I}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(w.recursion)return r.add(g),h(g,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var W=y(g);return W!==null?(r.add(g),W):(r.add(g),"")}return YK(E(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Ts(e){"@babel/helpers - typeof";return Ts=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},Ts(e)}function TA(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function xA(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?TA(Object(r),!0).forEach(function(n){iJ(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):TA(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function iJ(e,t,r){return t=sJ(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function sJ(e){var t=lJ(e,"string");return Ts(t)==="symbol"?t:String(t)}function lJ(e,t){if(Ts(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ts(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function uJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Nu(e,"aria-describedby").map(function(i){return LT(i,xA(xA({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var o=e.getAttribute("title");r=o===null?"":o}return r}function cJ(e){return yn(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}function dJ(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return cJ(e)?"":LT(e,t)}var jb=Sr(Kg(),1),pJ=Sr(AR(),1),$T=Sr(NR(),1),fJ=Sr(BR(),1),UT=class extends Error{constructor(e,t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r);let o="";try{o=n.utils.printWithType("Received",t,n.utils.printReceived)}catch{}this.message=[n.utils.matcherHint(`${n.isNot?".not":""}.${r.name}`,"received",""),"",`${n.utils.RECEIVED_COLOR("received")} value must ${e}.`,o].join(`
|
|
272
|
-
`)}},qA=class extends UT{constructor(...e){super("be an HTMLElement or an SVGElement",...e)}},OA=class extends UT{constructor(...e){super("be a Node",...e)}};function HT(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}function hJ(e,...t){HT(e,OA,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new OA(e,...t)}function mt(e,...t){HT(e,qA,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new qA(e,...t)}var mJ=class extends Error{constructor(e,t,r){super(),Error.captureStackTrace&&Error.captureStackTrace(this,t),this.message=[e.message,"",r.utils.RECEIVED_COLOR("Failing css:"),r.utils.RECEIVED_COLOR(`${e.css}`)].join(`
|
|
273
|
-
`)}};function yJ(e,...t){let r=EK(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:o}=r.parsingErrors[0];throw new mJ({css:e,message:`Syntax error parsing expected css: ${n} on line: ${o}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:o,value:i})=>Object.assign(n,{[o]:i}),{})}function PA(e,t){return typeof t=="string"?t:e.utils.stringify(t)}function or(e,t,r,n,o,i){return[`${t}
|
|
274
|
-
`,`${r}:
|
|
275
|
-
${e.utils.EXPECTED_COLOR((0,_A.default)(PA(e,n),2))}`,`${o}:
|
|
276
|
-
${e.utils.RECEIVED_COLOR((0,_A.default)(PA(e,i),2))}`].join(`
|
|
277
|
-
`)}function gJ(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}function hc(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}function mc(e){return e.replace(/\s+/g," ").trim()}function Xn(e){return e.tagName&&e.tagName.toLowerCase()}function bJ({multiple:e,options:t}){let r=[...t].filter(n=>n.selected);if(e)return[...r].map(n=>n.value);if(r.length!==0)return r[0].value}function vJ(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}var EJ=["meter","progressbar","slider","spinbutton"];function wJ(e){if(EJ.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}function zT(e){if(e)switch(e.tagName.toLowerCase()){case"input":return vJ(e);case"select":return bJ(e);default:return e.value??wJ(e)}}function _J(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}function VT(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}function fg(e,t){return hc("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&mt(e,fg,this),t&&mt(t,fg,this),{pass:t?t.contains(e):!!e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
278
|
-
`)}}function GT(e){(e!==null||!this.isNot)&&mt(e,GT,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,n=()=>"element could not be found in the document";return{pass:t,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
279
|
-
`)}}function WT(e){return hc("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),mt(e,WT,this),{pass:e.innerHTML==="",message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
280
|
-
`)}}function YT(e){return mt(e,YT,this),{pass:SJ(e),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
281
|
-
`)}}function SJ(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}function hg(e,t){return mt(e,hg,this),t!==null&&mt(t,hg,this),{pass:e.contains(t),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainElement`,"element","element"),"",this.utils.RECEIVED_COLOR(`${this.utils.stringify(e.cloneNode(!1))} ${this.isNot?"contains:":"does not contain:"} ${this.utils.stringify(t&&t.cloneNode(!1))}
|
|
282
|
-
`)].join(`
|
|
283
|
-
`)}}function AJ(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}function KT(e,t){if(mt(e,KT,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(AJ(e,t)),message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
284
|
-
`)}}function JT(e,t,r={normalizeWhitespace:!0}){hJ(e,JT,this);let n=r.normalizeWhitespace?mc(e.textContent):e.textContent.replace(/\u00a0/g," "),o=n!==""&&t==="";return{pass:!o&&gJ(n,t),message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),o?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${i} have text content`,t,"Received",n)}}}function mg(e,t){mt(e,mg,this);let r=uJ(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.${mg.name}`,"element",""),`Expected element ${i} have accessible description`,t,"Received",r)}}}var ms="aria-invalid",CJ=["false"];function XT(e,t){mt(e,XT,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",o=e.getAttribute("aria-errormessage");if(o&&/\s+/.test(o))return{pass:!1,message:()=>or(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${o}"`)};let i=e.getAttribute(ms);if(!e.hasAttribute(ms)||CJ.includes(i))return{pass:!1,message:()=>or(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${ms}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${ms}="${e.getAttribute(ms)}`:null)};let s=mc(e.ownerDocument.getElementById(o)?.textContent??"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:()=>or(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",s)}}var RJ=qJ(jb.elementRoles);function yg(e,t){mt(e,yg,this);let r=TJ(e);return{pass:r.some(n=>n===t),message:()=>{let n=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.${yg.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))}}}function TJ(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):xJ(e)}function xJ(e){for(let{match:t,roles:r}of RJ)if(t(e))return[...r];return[]}function qJ(e){function t({name:s,attributes:l}){return`${s}${l.map(({name:u,value:c,constraints:d=[]})=>d.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}function r({attributes:s=[]}){return s.length}function n({specificity:s},{specificity:l}){return l-s}function o(s){let{attributes:l=[]}=s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...s,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}function gg(e,t){mt(e,gg,this);let r=dJ(e),n=arguments.length===1,o=!1;return n?o=r!=="":o=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:o,message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.${gg.name}`,"element",""),`Expected element ${i} have accessible name`,t,"Received",r)}}}function DA(e,t,r){return r===void 0?t:`${t}=${e(r)}`}function OJ(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}function QT(e,t,r){mt(e,QT,this);let n=r!==void 0,o=e.hasAttribute(t),i=e.getAttribute(t);return{pass:n?o&&this.equals(i,r):o,message:()=>{let s=this.isNot?"not to":"to",l=o?DA(this.utils.stringify,t,i):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:OJ(this.utils.stringify,t,r)});return or(this,u,`Expected the element ${s} have attribute`,DA(this.utils.stringify,t,r),"Received",l)}}}function PJ(e){let t=e.pop(),r,n;return typeof t=="object"&&!(t instanceof RegExp)?(r=e,n=t):(r=e.concat(t),n={exact:!1}),{expectedClassNames:r,options:n}}function IA(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}function MA(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}function ZT(e,...t){mt(e,ZT,this);let{expectedClassNames:r,options:n}=PJ(t),o=IA(e.getAttribute("class")),i=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?IA(u):u),[]),s=i.some(l=>l instanceof RegExp);if(n.exact&&s)throw new Error("Exact option does not support RegExp expected class names");return n.exact?{pass:MA(i,o)&&i.length===o.length,message:()=>{let l=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,i.join(" "),"Received",o.join(" "))}}:i.length>0?{pass:MA(i,o),message:()=>{let l=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(i.join(" "))),`Expected the element ${l} have class`,i.join(" "),"Received",o.join(" "))}}:{pass:this.isNot?o.length>0:!1,message:()=>this.isNot?or(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",o.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
285
|
-
`)}}function DJ(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(o=>{n.style[o]=t[o],r[o]=n.style[o]}),r}function IJ(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let o=r.startsWith("--"),i=[r];return o||i.push(r.toLowerCase()),i.some(s=>t[s]===n||t.getPropertyValue(s)===n)})}function NA(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
286
|
-
`)}function MJ(e,t,r){let n=Array.from(r).filter(o=>t[o]!==void 0).reduce((o,i)=>Object.assign(o,{[i]:r.getPropertyValue(i)}),{});return e(NA(t),NA(n)).replace(`${pJ.default.red("+ Received")}
|
|
287
|
-
`,"")}function bg(e,t){mt(e,bg,this);let r=typeof t=="object"?t:yJ(t,bg,this),{getComputedStyle:n}=e.ownerDocument.defaultView,o=DJ(e.ownerDocument,r),i=n(e);return{pass:IJ(o,i),message:()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),MJ(this.utils.diff,o,i)].join(`
|
|
288
|
-
|
|
289
|
-
`)}}}function ex(e){return mt(e,ex,this),{pass:e.ownerDocument.activeElement===e,message:()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toHaveFocus`,"element",""),"",...this.isNot?["Received element is focused:",` ${this.utils.printReceived(e)}`]:["Expected element with focus:",` ${this.utils.printExpected(e)}`,"Received element with focus:",` ${this.utils.printReceived(e.ownerDocument.activeElement)}`]].join(`
|
|
290
|
-
`)}}function NJ(e){let t=[...new Set(e.map(r=>r.type))];if(t.length!==1)throw new Error("Multiple form elements with the same name must be of the same type");switch(t[0]){case"radio":{let r=e.find(n=>n.checked);return r?r.value:void 0}case"checkbox":return e.filter(r=>r.checked).map(r=>r.value);default:return e.map(r=>r.value)}}function BJ(e,t){let r=[...e.querySelectorAll(`[name="${(0,fJ.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return zT(r[0]);default:return NJ(r)}}function jJ(e){return/\[\]$/.test(e)?e.slice(0,-2):e}function FJ(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[jJ(r)]:BJ(e,r)}),{})}function tx(e,t){if(mt(e,tx,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=FJ(e);return{pass:Object.entries(t).every(([n,o])=>(0,$T.default)(r[n],o,VT)),message:()=>{let n=this.isNot?"not to":"to",o=`${this.isNot?".not":""}.toHaveFormValues`,i=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,l)=>({...s,[l]:r[l]}),{});return[this.utils.matcherHint(o,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,i)].join(`
|
|
291
|
-
|
|
292
|
-
`)}}}function kJ(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:o}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&o!=="0"&&o!==0}function LJ(e,t){let r;return t?r=e.nodeName==="DETAILS"&&t.nodeName!=="SUMMARY"?e.hasAttribute("open"):!0:r=e.nodeName==="DETAILS"?e.hasAttribute("open"):!0,!e.hasAttribute("hidden")&&r}function rx(e,t){return kJ(e)&&LJ(e,t)&&(!e.parentElement||rx(e.parentElement,e))}function nx(e){mt(e,nx,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&rx(e);return{pass:r,message:()=>{let n=r?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeVisible`,"element",""),"",`Received element ${n} visible${t?"":" (element is not in the document)"}:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
293
|
-
`)}}}var $J=["fieldset","input","select","optgroup","option","button","textarea"];function UJ(e,t){return Xn(e)==="legend"&&Xn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>Xn(r)==="legend"))}function HJ(e,t){return ax(t)&&!UJ(e,t)}function zJ(e){return e.includes("-")}function ox(e){let t=Xn(e);return $J.includes(t)||zJ(t)}function ax(e){return ox(e)&&e.hasAttribute("disabled")}function ix(e){let t=e.parentElement;return!!t&&(HJ(e,t)||ix(t))}function sx(e){return ox(e)&&(ax(e)||ix(e))}function lx(e){mt(e,lx,this);let t=sx(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeDisabled`,"element",""),"",`Received element ${r} disabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
294
|
-
`)}}}function ux(e){mt(e,ux,this);let t=!sx(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEnabled`,"element",""),"",`Received element ${r} enabled:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
295
|
-
`)}}}var VJ=["select","textarea"],GJ=["input","select","textarea"],WJ=["color","hidden","range","submit","image","reset"],YJ=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function KJ(e){return VJ.includes(Xn(e))&&e.hasAttribute("required")}function JJ(e){return Xn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!WJ.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}function XJ(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(GJ.includes(Xn(e))||e.hasAttribute("role")&&YJ.includes(e.getAttribute("role")))}function cx(e){mt(e,cx,this);let t=KJ(e)||JJ(e)||XJ(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeRequired`,"element",""),"",`Received element ${r} required:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
296
|
-
`)}}}var QJ=["form","input","select","textarea"];function ZJ(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}function eX(e){return QJ.includes(Xn(e))}function dx(e){let t=ZJ(e);return eX(e)?t||!e.checkValidity():t}function px(e){mt(e,px,this);let t=dx(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInvalid`,"element",""),"",`Received element ${r} currently invalid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
297
|
-
`)}}}function fx(e){mt(e,fx,this);let t=!dx(e);return{pass:t,message:()=>{let r=t?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeValid`,"element",""),"",`Received element ${r} currently valid:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
298
|
-
`)}}}function hx(e,t){if(mt(e,hx,this),e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type))throw new Error("input with type=checkbox or type=radio cannot be used with .toHaveValue(). Use .toBeChecked() for type=checkbox or .toHaveFormValues() instead");let r=zT(e),n=t!==void 0,o=t,i=r;return t==r&&t!==r&&(o=`${t} (${typeof t})`,i=`${r} (${typeof r})`),{pass:n?(0,$T.default)(r,t,VT):!!r,message:()=>{let s=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return or(this,l,`Expected the element ${s} have value`,n?o:"(any)","Received",i)}}}function mx(e,t){mt(e,mx,this);let r=e.tagName.toLowerCase();if(!["select","input","textarea"].includes(r))throw new Error(".toHaveDisplayValue() currently supports only input, textarea or select elements, try with another matcher instead.");if(r==="input"&&["radio","checkbox"].includes(e.type))throw new Error(`.toHaveDisplayValue() currently does not support input[type="${e.type}"], try with another matcher instead.`);let n=tX(r,e),o=rX(t),i=o.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,s=i===n.length,l=i===o.length;return{pass:s&&l,message:()=>or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n)}}function tX(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}function rX(e){return e instanceof Array?e:[e]}function yx(e){mt(e,yx,this);let t=()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),r=()=>gx(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked"));if(!t()&&!r())return{pass:!1,message:()=>`only inputs with type="checkbox" or type="radio" or elements with ${nX()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`};let n=()=>t()?e.checked:e.getAttribute("aria-checked")==="true";return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${o} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
299
|
-
`)}}}function nX(){return _J(oX().map(e=>`role="${e}"`),{lastWordConnector:" or "})}function oX(){return jb.roles.keys().filter(gx)}function gx(e){return jb.roles.get(e)?.props["aria-checked"]!==void 0}function bx(e){mt(e,bx,this);let t=()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox",r=()=>e.getAttribute("role")==="checkbox";if(!t()&&!r())return{pass:!1,message:()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead'};let n=()=>{let o=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||o};return{pass:n(),message:()=>{let o=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${o} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
300
|
-
`)}}}function vx(e,t){hc("toHaveDescription","Please use toHaveAccessibleDescription."),mt(e,vx,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,s=n.map(l=>i.getElementById(l)).filter(Boolean);o=mc(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${i} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}function Ex(e,t){if(hc("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),mt(e,Ex,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let i=this.isNot?".not":"";return{pass:!1,message:()=>or(this,this.utils.matcherHint(`${i}.toHaveErrorMessage`,"element",""),"Expected the element to have invalid state indicated by",'aria-invalid="true"',"Received",e.hasAttribute("aria-invalid")?`aria-invalid="${e.getAttribute("aria-invalid")}"`:this.utils.printReceived(""))}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),o="";if(n.length>0){let i=e.ownerDocument,s=n.map(l=>i.getElementById(l)).filter(Boolean);o=mc(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(o):this.equals(o,t):!!o,message:()=>{let i=this.isNot?"not to":"to";return or(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${i} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(o))}}}var U1e=Sr(_R(),1),H1e=Sr(Kg(),1),z1e=Sr(AR(),1),V1e=Sr(NR(),1),G1e=Sr(BR(),1);function hn(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}function _u(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function aX(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}function vg(e){return Object.prototype.toString.apply(e).slice(8,-1)}function iX(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}function wx(e){let t=new Set;return aX(e)?[]:(iX(e,t),Array.from(t))}var _x={forceWritable:!1};function BA(e,t=_x){return Eg(e,new WeakMap,t)}function Eg(e,t,r=_x){let n,o;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(o=Array(n=e.length),t.set(e,o);n--;)o[n]=Eg(e[n],t,r);return o}if(Object.prototype.toString.call(e)==="[object Object]"){o=Object.create(Object.getPrototypeOf(e)),t.set(e,o);let i=wx(e);for(let s of i){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=Eg(e[s],t,r);r.forceWritable?Object.defineProperty(o,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(o,s,{...l,get(){return u}}):Object.defineProperty(o,s,{...l,value:u})}return o}return e}var jA={bold:["1","22"],dim:["2","22"],italic:["3","23"],underline:["4","24"],inverse:["7","27"],hidden:["8","28"],strike:["9","29"],black:["30","39"],red:["31","39"],green:["32","39"],yellow:["33","39"],blue:["34","39"],magenta:["35","39"],cyan:["36","39"],white:["37","39"],brightblack:["30;1","39"],brightred:["31;1","39"],brightgreen:["32;1","39"],brightyellow:["33;1","39"],brightblue:["34;1","39"],brightmagenta:["35;1","39"],brightcyan:["36;1","39"],brightwhite:["37;1","39"],grey:["90","39"]},sX={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},yi="\u2026";function lX(e,t){let r=jA[sX[t]]||jA[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}function uX({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:o=!1,maxArrayLength:i=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},d){let p={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!o,maxArrayLength:Number(i),breakLength:Number(s),truncate:Number(u),seen:l,inspect:d,stylize:c};return p.colors&&(p.stylize=lX),p}function cX(e){return e>="\uD800"&&e<="\uDBFF"}function to(e,t,r=yi){e=String(e);let n=r.length,o=e.length;if(n>t&&o>n)return r;if(o>t&&o>n){let i=t-n;return i>0&&cX(e[i-1])&&(i=i-1),`${e.slice(0,i)}${r}`}return e}function Vr(e,t,r,n=", "){r=r||t.inspect;let o=e.length;if(o===0)return"";let i=t.truncate,s="",l="",u="";for(let c=0;c<o;c+=1){let d=c+1===e.length,p=c+2===e.length;u=`${yi}(${e.length-c})`;let h=e[c];t.truncate=i-s.length-(d?0:n.length);let m=l||r(h,t)+(d?"":n),y=s.length+m.length,b=y+u.length;if(d&&y>i&&s.length+u.length<=i||!d&&!p&&b>i||(l=d?"":r(e[c+1],t)+(p?"":n),!d&&p&&b>i&&y+l.length>i))break;if(s+=m,!d&&!p&&y+l.length>=i){u=`${yi}(${e.length-c-1})`;break}u=""}return`${s}${u}`}function dX(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}function xs([e,t],r){return r.truncate-=2,typeof e=="string"?e=dX(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}function pX(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Vr(e,t);t.truncate-=n.length;let o="";return r.length&&(o=Vr(r.map(i=>[i,e[i]]),t,xs)),`[ ${n}${o?`, ${o}`:""} ]`}var fX=e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name;function mn(e,t){let r=fX(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let o="";for(let s=0;s<e.length;s++){let l=`${t.stylize(to(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){o+=`${yi}(${e.length-e[s]+1})`;break}o+=l}let i="";return n.length&&(i=Vr(n.map(s=>[s,e[s]]),t,xs)),`${r}[ ${o}${i?`, ${i}`:""} ]`}function hX(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),o=n[0];return t.stylize(`${o}T${to(n[1],t.truncate-o.length-1)}`,"date")}function FA(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${to(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}function mX([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}function yX(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}function gX(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Vr(yX(e),t,mX)} }`)}var bX=Number.isNaN||(e=>e!==e);function kA(e,t){return bX(e)?t.stylize("NaN","number"):e===1/0?t.stylize("Infinity","number"):e===-1/0?t.stylize("-Infinity","number"):e===0?t.stylize(1/e===1/0?"+0":"-0","number"):t.stylize(to(String(e),t.truncate),"number")}function LA(e,t){let r=to(e.toString(),t.truncate-1);return r!==yi&&(r+="n"),t.stylize(r,"bigint")}function vX(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),o=e.source;return t.stylize(`/${to(o,n)}/${r}`,"regexp")}function EX(e){let t=[];return e.forEach(r=>{t.push(r)}),t}function wX(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Vr(EX(e),t)} }`)}var $A=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),_X={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},SX=16,AX=4;function CX(e){return _X[e]||`\\u${`0000${e.charCodeAt(0).toString(SX)}`.slice(-AX)}`}function UA(e,t){return $A.test(e)&&(e=e.replace($A,CX)),t.stylize(`'${to(e,t.truncate-2)}'`,"string")}function HA(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}var Sx=()=>"Promise{\u2026}";try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(Sx=(n,o)=>{let[i,s]=e(n);return i===t?"Promise{<pending>}":`Promise${i===r?"!":""}{${o.inspect(s,o)}}`})}catch{}var RX=Sx;function Su(e,t){let r=Object.getOwnPropertyNames(e),n=Object.getOwnPropertySymbols?Object.getOwnPropertySymbols(e):[];if(r.length===0&&n.length===0)return"{}";if(t.truncate-=4,t.seen=t.seen||[],t.seen.indexOf(e)>=0)return"[Circular]";t.seen.push(e);let o=Vr(r.map(l=>[l,e[l]]),t,xs),i=Vr(n.map(l=>[l,e[l]]),t,xs);t.seen.pop();let s="";return o&&i&&(s=", "),`{ ${o}${s}${i} }`}var My=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function TX(e,t){let r="";return My&&My in e&&(r=e[My]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Su(e,t)}`}function xX(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Vr(e,t)} ]`)}var qX=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description"];function OX(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>qX.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let o="";typeof e.message=="string"?o=to(e.message,t.truncate):r.unshift("message"),o=o?`: ${o}`:"",t.truncate-=o.length+5;let i=Vr(r.map(s=>[s,e[s]]),t,xs);return`${n}${o}${i?` { ${i} }`:""}`}function PX([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}function wg(e,t){return Vr(e,t,Ax,`
|
|
301
|
-
`)}function Ax(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),o=t.stylize(`<${n}`,"special"),i=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Vr(r.map(d=>[d,e.getAttribute(d)]),t,PX," ")),t.truncate-=l.length;let u=t.truncate,c=wg(e.children,t);return c&&c.length>u&&(c=`${yi}(${e.children.length})`),`${o}${l}${i}${c}${s}`}var DX=typeof Symbol=="function"&&typeof Symbol.for=="function",Ny=DX?Symbol.for("chai/inspect"):"@@chai/inspect",ii=!1;try{let e=It("util");ii=e.inspect?e.inspect.custom:!1}catch{ii=!1}var zA=new WeakMap,VA={},GA={undefined:(e,t)=>t.stylize("undefined","undefined"),null:(e,t)=>t.stylize("null","null"),boolean:(e,t)=>t.stylize(String(e),"boolean"),Boolean:(e,t)=>t.stylize(String(e),"boolean"),number:kA,Number:kA,bigint:LA,BigInt:LA,string:UA,String:UA,function:FA,Function:FA,symbol:HA,Symbol:HA,Array:pX,Date:hX,Map:gX,Set:wX,RegExp:vX,Promise:RX,WeakSet:(e,t)=>t.stylize("WeakSet{\u2026}","special"),WeakMap:(e,t)=>t.stylize("WeakMap{\u2026}","special"),Arguments:xX,Int8Array:mn,Uint8Array:mn,Uint8ClampedArray:mn,Int16Array:mn,Uint16Array:mn,Int32Array:mn,Uint32Array:mn,Float32Array:mn,Float64Array:mn,Generator:()=>"",DataView:()=>"",ArrayBuffer:()=>"",Error:OX,HTMLCollection:wg,NodeList:wg},IX=(e,t,r)=>Ny in e&&typeof e[Ny]=="function"?e[Ny](t):ii&&ii in e&&typeof e[ii]=="function"?e[ii](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&zA.has(e.constructor)?zA.get(e.constructor)(e,t):VA[r]?VA[r](e,t):"",MX=Object.prototype.toString;function _g(e,t={}){let r=uX(t,_g),{customInspect:n}=r,o=e===null?"null":typeof e;if(o==="object"&&(o=MX.call(e).slice(8,-1)),o in GA)return GA[o](e,r);if(n&&e){let s=IX(e,r,o);if(s)return typeof s=="string"?s:_g(s,r)}let i=e?Object.getPrototypeOf(e):!1;return i===Object.prototype||i===null?Su(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Ax(e,r):"constructor"in e?e.constructor!==Object?TX(e,r):Su(e,r):e===Object(e)?Su(e,r):r.stylize(String(e),o)}var NX={reset:[0,0],bold:[1,22,"\x1B[22m\x1B[1m"],dim:[2,22,"\x1B[22m\x1B[2m"],italic:[3,23],underline:[4,24],inverse:[7,27],hidden:[8,28],strikethrough:[9,29],black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],gray:[90,39],bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]},BX=Object.entries(NX);function Fb(e){return String(e)}Fb.open="";Fb.close="";function jX(e=!1){let t=typeof process<"u"?process:void 0,r=t?.env||{},n=t?.argv||[];return!("NO_COLOR"in r||n.includes("--no-color"))&&("FORCE_COLOR"in r||n.includes("--color")||t?.platform==="win32"||e&&r.TERM!=="dumb"||"CI"in r)||typeof window<"u"&&!!window.chrome}function FX(e=!1){let t=jX(e),r=(s,l,u,c)=>{let d="",p=0;do d+=s.substring(p,c)+u,p=c+l.length,c=s.indexOf(l,p);while(~c);return d+s.substring(p)},n=(s,l,u=s)=>{let c=d=>{let p=String(d),h=p.indexOf(l,s.length);return~h?s+r(p,l,u,h)+l:s+p+l};return c.open=s,c.close=l,c},o={isColorSupported:t},i=s=>`\x1B[${s}m`;for(let[s,l]of BX)o[s]=t?n(i(l[0]),i(l[1]),l[2]):Fb;return o}var kX=It("tty"),xt=FX((0,kX.isatty)(1));function LX(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let o of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,o).enumerable&&n.push(o);return n}function yc(e,t,r,n,o,i,s=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let d=r+t.indent;for(;!c.done;){if(l+=d,u++===t.maxWidth){l+="\u2026";break}let p=i(c.value[0],t,d,n,o),h=i(c.value[1],t,d,n,o);l+=p+s+h,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}function kb(e,t,r,n,o,i){let s="",l=0,u=e.next();if(!u.done){s+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){if(s+=c,l++===t.maxWidth){s+="\u2026";break}s+=i(u.value,t,c,n,o),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}function Bu(e,t,r,n,o,i){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=c=>c instanceof DataView,u=l(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let c=r+t.indent;for(let d=0;d<u;d++){if(s+=c,d===t.maxWidth){s+="\u2026";break}(l(e)||d in e)&&(s+=i(l(e)?e.getInt8(d):e[d],t,c,n,o)),d<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}function Lb(e,t,r,n,o,i){let s="",l=LX(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let d=l[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);s+=`${u+p}: ${h}`,c<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}var $X=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,By=" ",UX=(e,t,r,n,o,i)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+By}[${Bu(e.sample,t,r,n,o,i)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+By}{${Lb(e.sample,t,r,n,o,i)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+By+i(e.sample,t,r,n,o);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},HX=e=>e&&e.$$typeof===$X,zX={serialize:UX,test:HX},VX=" ",Cx=new Set(["DOMStringMap","NamedNodeMap"]),GX=/^(?:HTML\w*Collection|NodeList)$/;function WX(e){return Cx.has(e)||GX.test(e)}var YX=e=>e&&e.constructor&&!!e.constructor.name&&WX(e.constructor.name);function KX(e){return e.constructor.name==="NamedNodeMap"}var JX=(e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+VX)+(Cx.has(s)?`{${Lb(KX(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)}}`:`[${Bu([...e],t,r,n,o,i)}]`)},XX={serialize:JX,test:YX};function Rx(e){return e.replaceAll("<","<").replaceAll(">",">")}function $b(e,t,r,n,o,i,s){let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.includes(`
|
|
302
|
-
`)&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p=`{${p}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${p}${u.value.close}`}).join("")}function Ub(e,t,r,n,o,i){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?Tx(s,t):i(s,t,r,n,o))).join("")}function Tx(e,t){let r=t.colors.content;return r.open+Rx(e)+r.close}function QX(e,t){let r=t.colors.comment;return`${r.open}<!--${Rx(e)}-->${r.close}`}function Hb(e,t,r,n,o){let i=n.colors.tag;return`${i.open}<${e}${t&&i.close+t+n.spacingOuter+o+i.open}${r?`>${i.close}${r}${n.spacingOuter}${o}${i.open}</${e}`:`${t&&!n.min?"":" "}/`}>${i.close}`}function zb(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} \u2026${r.open} />${r.close}`}var ZX=1,xx=3,qx=8,Ox=11,eQ=/^(?:(?:HTML|SVG)\w*)?Element$/;function tQ(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}function rQ(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||tQ(e);return r===ZX&&(eQ.test(t)||o)||r===xx&&t==="Text"||r===qx&&t==="Comment"||r===Ox&&t==="DocumentFragment"}var nQ=e=>{var t;return((t=e?.constructor)==null?void 0:t.name)&&rQ(e)};function oQ(e){return e.nodeType===xx}function aQ(e){return e.nodeType===qx}function jy(e){return e.nodeType===Ox}var iQ=(e,t,r,n,o,i)=>{if(oQ(e))return Tx(e.data,t);if(aQ(e))return QX(e.data,t);let s=jy(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?zb(s,t):Hb(s,$b(jy(e)?[]:Array.from(e.attributes,l=>l.name).sort(),jy(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),Ub(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)},sQ={serialize:iQ,test:nQ},lQ="@@__IMMUTABLE_ITERABLE__@@",uQ="@@__IMMUTABLE_LIST__@@",cQ="@@__IMMUTABLE_KEYED__@@",dQ="@@__IMMUTABLE_MAP__@@",WA="@@__IMMUTABLE_ORDERED__@@",pQ="@@__IMMUTABLE_RECORD__@@",fQ="@@__IMMUTABLE_SEQ__@@",hQ="@@__IMMUTABLE_SET__@@",mQ="@@__IMMUTABLE_STACK__@@",gi=e=>`Immutable.${e}`,gc=e=>`[${e}]`,qs=" ",YA="\u2026";function yQ(e,t,r,n,o,i,s){return++n>t.maxDepth?gc(gi(s)):`${gi(s)+qs}{${yc(e.entries(),t,r,n,o,i)}}`}function gQ(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}function bQ(e,t,r,n,o,i){let s=gi(e._name||"Record");return++n>t.maxDepth?gc(s):`${s+qs}{${yc(gQ(e),t,r,n,o,i)}}`}function vQ(e,t,r,n,o,i){let s=gi("Seq");return++n>t.maxDepth?gc(s):e[cQ]?`${s+qs}{${e._iter||e._object?yc(e.entries(),t,r,n,o,i):YA}}`:`${s+qs}[${e._iter||e._array||e._collection||e._iterable?kb(e.values(),t,r,n,o,i):YA}]`}function Fy(e,t,r,n,o,i,s){return++n>t.maxDepth?gc(gi(s)):`${gi(s)+qs}[${kb(e.values(),t,r,n,o,i)}]`}var EQ=(e,t,r,n,o,i)=>e[dQ]?yQ(e,t,r,n,o,i,e[WA]?"OrderedMap":"Map"):e[uQ]?Fy(e,t,r,n,o,i,"List"):e[hQ]?Fy(e,t,r,n,o,i,e[WA]?"OrderedSet":"Set"):e[mQ]?Fy(e,t,r,n,o,i,"Stack"):e[fQ]?vQ(e,t,r,n,o,i):bQ(e,t,r,n,o,i),wQ=e=>e&&(e[lQ]===!0||e[pQ]===!0),_Q={serialize:EQ,test:wQ},Sg={exports:{}},ct={},KA;function SQ(){if(KA)return ct;KA=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function b(E){if(typeof E=="object"&&E!==null){var g=E.$$typeof;switch(g){case e:switch(E=E.type,E){case r:case o:case n:case c:case d:return E;default:switch(E=E&&E.$$typeof,E){case l:case s:case u:case h:case p:case i:return E;default:return g}}case t:return g}}}return ct.ContextConsumer=s,ct.ContextProvider=i,ct.Element=e,ct.ForwardRef=u,ct.Fragment=r,ct.Lazy=h,ct.Memo=p,ct.Portal=t,ct.Profiler=o,ct.StrictMode=n,ct.Suspense=c,ct.SuspenseList=d,ct.isAsyncMode=function(){return!1},ct.isConcurrentMode=function(){return!1},ct.isContextConsumer=function(E){return b(E)===s},ct.isContextProvider=function(E){return b(E)===i},ct.isElement=function(E){return typeof E=="object"&&E!==null&&E.$$typeof===e},ct.isForwardRef=function(E){return b(E)===u},ct.isFragment=function(E){return b(E)===r},ct.isLazy=function(E){return b(E)===h},ct.isMemo=function(E){return b(E)===p},ct.isPortal=function(E){return b(E)===t},ct.isProfiler=function(E){return b(E)===o},ct.isStrictMode=function(E){return b(E)===n},ct.isSuspense=function(E){return b(E)===c},ct.isSuspenseList=function(E){return b(E)===d},ct.isValidElementType=function(E){return typeof E=="string"||typeof E=="function"||E===r||E===o||E===n||E===c||E===d||E===m||typeof E=="object"&&E!==null&&(E.$$typeof===h||E.$$typeof===p||E.$$typeof===i||E.$$typeof===s||E.$$typeof===u||E.$$typeof===y||E.getModuleId!==void 0)},ct.typeOf=b,ct}var ft={},JA;function AQ(){return JA||(JA=1,process.env.NODE_ENV!=="production"&&function(){var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),o=Symbol.for("react.profiler"),i=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),d=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),h=Symbol.for("react.lazy"),m=Symbol.for("react.offscreen"),y=!1,b=!1,E=!1,g=!1,w=!1,O;O=Symbol.for("react.module.reference");function A(J){return!!(typeof J=="string"||typeof J=="function"||J===r||J===o||w||J===n||J===c||J===d||g||J===m||y||b||E||typeof J=="object"&&J!==null&&(J.$$typeof===h||J.$$typeof===p||J.$$typeof===i||J.$$typeof===s||J.$$typeof===u||J.$$typeof===O||J.getModuleId!==void 0))}function S(J){if(typeof J=="object"&&J!==null){var Se=J.$$typeof;switch(Se){case e:var $e=J.type;switch($e){case r:case o:case n:case c:case d:return $e;default:var tt=$e&&$e.$$typeof;switch(tt){case l:case s:case u:case h:case p:case i:return tt;default:return Se}}case t:return Se}}}var T=s,C=i,x=e,I=u,W=r,X=h,Y=p,K=t,_=o,P=n,N=c,le=d,ce=!1,Re=!1;function Ne(J){return ce||(ce=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function De(J){return Re||(Re=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(J){return S(J)===s}function de(J){return S(J)===i}function Ee(J){return typeof J=="object"&&J!==null&&J.$$typeof===e}function qe(J){return S(J)===u}function Le(J){return S(J)===r}function Fe(J){return S(J)===h}function Ge(J){return S(J)===p}function dt(J){return S(J)===t}function Q(J){return S(J)===o}function ke(J){return S(J)===n}function ze(J){return S(J)===c}function et(J){return S(J)===d}ft.ContextConsumer=T,ft.ContextProvider=C,ft.Element=x,ft.ForwardRef=I,ft.Fragment=W,ft.Lazy=X,ft.Memo=Y,ft.Portal=K,ft.Profiler=_,ft.StrictMode=P,ft.Suspense=N,ft.SuspenseList=le,ft.isAsyncMode=Ne,ft.isConcurrentMode=De,ft.isContextConsumer=ye,ft.isContextProvider=de,ft.isElement=Ee,ft.isForwardRef=qe,ft.isFragment=Le,ft.isLazy=Fe,ft.isMemo=Ge,ft.isPortal=dt,ft.isProfiler=Q,ft.isStrictMode=ke,ft.isSuspense=ze,ft.isSuspenseList=et,ft.isValidElementType=A,ft.typeOf=S}()),ft}process.env.NODE_ENV==="production"?Sg.exports=SQ():Sg.exports=AQ();var Bo=Sg.exports;function Px(e,t=[]){if(Array.isArray(e))for(let r of e)Px(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}function XA(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Bo.isFragment(e))return"React.Fragment";if(Bo.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Bo.isContextProvider(e))return"Context.Provider";if(Bo.isContextConsumer(e))return"Context.Consumer";if(Bo.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(Bo.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}function CQ(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}var RQ=(e,t,r,n,o,i)=>++n>t.maxDepth?zb(XA(e),t):Hb(XA(e),$b(CQ(e),e.props,t,r+t.indent,n,o,i),Ub(Px(e.props.children),t,r+t.indent,n,o,i),t,r),TQ=e=>e!=null&&Bo.isElement(e),xQ={serialize:RQ,test:TQ},qQ=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function OQ(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}var PQ=(e,t,r,n,o,i)=>++n>t.maxDepth?zb(e.type,t):Hb(e.type,e.props?$b(OQ(e),e.props,t,r+t.indent,n,o,i):"",e.children?Ub(e.children,t,r+t.indent,n,o,i):"",t,r),DQ=e=>e&&e.$$typeof===qQ,IQ={serialize:PQ,test:DQ},Dx=Object.prototype.toString,MQ=Date.prototype.toISOString,NQ=Error.prototype.toString,QA=RegExp.prototype.toString;function ky(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}function BQ(e){return typeof window<"u"&&e===window}var jQ=/^Symbol\((.*)\)(.*)$/,FQ=/\n/g,Ix=class extends Error{constructor(e,t){super(e),this.stack=t,this.name=this.constructor.name}};function kQ(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function LQ(e){return Object.is(e,-0)?"-0":String(e)}function $Q(e){return`${e}n`}function ZA(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}function eC(e){return String(e).replace(jQ,"Symbol($1)")}function tC(e){return`[${NQ.call(e)}]`}function Mx(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return LQ(e);if(o==="bigint")return $Q(e);if(o==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(o==="function")return ZA(e,t);if(o==="symbol")return eC(e);let i=Dx.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?ZA(e,t):i==="[object Symbol]"?eC(e):i==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":MQ.call(e):i==="[object Error]"?tC(e):i==="[object RegExp]"?r?QA.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):QA.call(e):e instanceof Error?tC(e):null}function Nx(e,t,r,n,o,i){if(o.includes(e))return"[Circular]";o=[...o],o.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return Yn(e.toJSON(),t,r,n,o,!0);let u=Dx.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${Bu(e,t,r,n,o,Yn)}]`:kQ(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${Bu(e,t,r,n,o,Yn)}]`:u==="[object Map]"?s?"[Map]":`Map {${yc(e.entries(),t,r,n,o,Yn," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${kb(e.values(),t,r,n,o,Yn)}}`:s||BQ(e)?`[${ky(e)}]`:`${l||!t.printBasicPrototype&&ky(e)==="Object"?"":`${ky(e)} `}{${Lb(e,t,r,n,o,Yn)}}`}function UQ(e){return e.serialize!=null}function Bx(e,t,r,n,o,i){let s;try{s=UQ(e)?e.serialize(t,r,n,o,i,Yn):e.print(t,l=>Yn(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replaceAll(FQ,`
|
|
303
|
-
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Ix(l.message,l.stack)}if(typeof s!="string")throw new TypeError(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function jx(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new Ix(n.message,n.stack)}return null}function Yn(e,t,r,n,o,i){let s=jx(t.plugins,e);if(s!==null)return Bx(s,e,t,r,n,o);let l=Mx(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Nx(e,t,r,n,o,i)}var Vb={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},Fx=Object.keys(Vb),Lr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:Number.POSITIVE_INFINITY,maxWidth:Number.POSITIVE_INFINITY,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Vb};function HQ(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Lr,t))throw new Error(`pretty-format: Unknown option "${t}".`);if(e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.')}function zQ(){return Fx.reduce((e,t)=>{let r=Vb[t],n=r&&xt[r];if(n&&typeof n.close=="string"&&typeof n.open=="string")e[t]=n;else throw new Error(`pretty-format: Option "theme" has a key "${t}" whose value "${r}" is undefined in ansi-styles.`);return e},Object.create(null))}function VQ(){return Fx.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}function kx(e){return e?.printFunctionName??Lr.printFunctionName}function Lx(e){return e?.escapeRegex??Lr.escapeRegex}function $x(e){return e?.escapeString??Lr.escapeString}function rC(e){return{callToJSON:e?.callToJSON??Lr.callToJSON,colors:e?.highlight?zQ():VQ(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Lr.compareKeys,escapeRegex:Lx(e),escapeString:$x(e),indent:e?.min?"":GQ(e?.indent??Lr.indent),maxDepth:e?.maxDepth??Lr.maxDepth,maxWidth:e?.maxWidth??Lr.maxWidth,min:e?.min??Lr.min,plugins:e?.plugins??Lr.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:kx(e),spacingInner:e?.min?" ":`
|
|
304
|
-
`,spacingOuter:e?.min?"":`
|
|
305
|
-
`}}function GQ(e){return Array.from({length:e+1}).join(" ")}function an(e,t){if(t&&(HQ(t),t.plugins)){let n=jx(t.plugins,e);if(n!==null)return Bx(n,e,rC(t),"",0,[])}let r=Mx(e,kx(t),Lx(t),$x(t));return r!==null?r:Nx(e,rC(t),"",0,[])}var Ux={AsymmetricMatcher:zX,DOMCollection:XX,DOMElement:sQ,Immutable:_Q,ReactElement:xQ,ReactTestComponent:IQ},{AsymmetricMatcher:WQ,DOMCollection:YQ,DOMElement:KQ,Immutable:JQ,ReactElement:XQ,ReactTestComponent:QQ}=Ux,nC=[QQ,XQ,KQ,YQ,JQ,WQ];function Pr(e,t=10,{maxLength:r,...n}={}){let o=r??1e4,i;try{i=an(e,{maxDepth:t,escapeString:!1,plugins:nC,...n})}catch{i=an(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:nC,...n})}return i.length>=o&&t>1?Pr(e,Math.floor(t/2)):i}var ZQ=/%[sdjifoOc%]/g;function eZ(...e){if(typeof e[0]!="string"){let i=[];for(let s=0;s<e.length;s++)i.push(ys(e[s],{depth:0,colors:!1}));return i.join(" ")}let t=e.length,r=1,n=e[0],o=String(n).replace(ZQ,i=>{if(i==="%%")return"%";if(r>=t)return i;switch(i){case"%s":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:typeof s=="number"&&s===0&&1/s<0?"-0":typeof s=="object"&&s!==null?ys(s,{depth:0,colors:!1}):String(s)}case"%d":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number(s).toString()}case"%i":{let s=e[r++];return typeof s=="bigint"?`${s.toString()}n`:Number.parseInt(String(s)).toString()}case"%f":return Number.parseFloat(String(e[r++])).toString();case"%o":return ys(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ys(e[r++]);case"%c":return r++,"";case"%j":try{return JSON.stringify(e[r++])}catch(s){let l=s.message;if(l.includes("circular structure")||l.includes("cyclic structures")||l.includes("cyclic object"))return"[Circular]";throw s}default:return i}});for(let i=e[r];r<t;i=e[++r])i===null||typeof i!="object"?o+=` ${i}`:o+=` ${ys(i)}`;return o}function ys(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),_g(e,t)}var W1e=Symbol("vitest:SAFE_TIMERS"),tZ,rZ,nZ,oZ,aZ,iZ,sZ,Hx,lZ,uZ,cZ,dZ,pZ,fZ,hZ,mZ,yZ,gZ,bZ;pZ=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu;dZ=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y;tZ=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu;hZ=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y;cZ=/(?:0[xX][\da-fA-F](?:_?[\da-fA-F])*|0[oO][0-7](?:_?[0-7])*|0[bB][01](?:_?[01])*)n?|0n|[1-9](?:_?\d)*n|(?:(?:0(?!\d)|0\d*[89]\d*|[1-9](?:_?\d)*)(?:\.(?:\d(?:_?\d)*)?)?|\.\d(?:_?\d)*)(?:[eE][+-]?\d(?:_?\d)*)?|0[0-7]+/y;mZ=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y;bZ=/[\t\v\f\ufeff\p{Zs}]+/yu;Hx=/\r?\n|[\r\u2028\u2029]/y;lZ=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y;fZ=/\/\/.*/y;nZ=/[<>.:={}]|\/(?![\/*])/y;rZ=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu;oZ=/(['"])(?:(?!\1)[^])*(\1)?/y;aZ=/[^<>{}]+/y;gZ=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/;yZ=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/;iZ=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/;sZ=/^(?:return|throw|yield)$/;uZ=RegExp(Hx.source);var zx={keyword:["break","case","catch","continue","debugger","default","do","else","finally","for","function","if","return","switch","throw","try","var","const","while","with","new","this","super","class","extends","export","import","null","true","false","in","instanceof","typeof","void","delete"],strict:["implements","interface","let","package","private","protected","public","static","yield"]},Y1e=new Set(zx.keyword),K1e=new Set(zx.strict);function oC(e){if(e===void 0)return"undefined";if(e===null)return"null";if(Array.isArray(e))return"array";if(typeof e=="boolean")return"boolean";if(typeof e=="function")return"function";if(typeof e=="number")return"number";if(typeof e=="string")return"string";if(typeof e=="bigint")return"bigint";if(typeof e=="object"){if(e!=null){if(e.constructor===RegExp)return"regexp";if(e.constructor===Map)return"map";if(e.constructor===Set)return"set";if(e.constructor===Date)return"date"}return"object"}else if(typeof e=="symbol")return"symbol";throw new Error(`value of unknown type: ${e}`)}var ar=-1,Qt=1,qt=0,Rt=class{constructor(e,t){At(this,0);At(this,1);this[0]=e,this[1]=t}},vZ=function(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(i,o)===t.substring(i,o)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},Vx=function(e,t){if(!e||!t||e.charAt(e.length-1)!==t.charAt(t.length-1))return 0;let r=0,n=Math.min(e.length,t.length),o=n,i=0;for(;r<o;)e.substring(e.length-o,e.length-i)===t.substring(t.length-o,t.length-i)?(r=o,i=r):n=o,o=Math.floor((n-r)/2+r);return o},aC=function(e,t){let r=e.length,n=t.length;if(r===0||n===0)return 0;r>n?e=e.substring(r-n):r<n&&(t=t.substring(0,r));let o=Math.min(r,n);if(e===t)return o;let i=0,s=1;for(;;){let l=e.substring(o-s),u=t.indexOf(l);if(u===-1)return i;s+=u,(u===0||e.substring(o-s)===t.substring(0,s))&&(i=s,s++)}},EZ=function(e){let t=!1,r=[],n=0,o=null,i=0,s=0,l=0,u=0,c=0;for(;i<e.length;)e[i][0]===qt?(r[n++]=i,s=u,l=c,u=0,c=0,o=e[i][1]):(e[i][0]===Qt?u+=e[i][1].length:c+=e[i][1].length,o&&o.length<=Math.max(s,l)&&o.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new Rt(ar,o)),e[r[n-1]+1][0]=Qt,n--,n--,i=n>0?r[n-1]:-1,s=0,l=0,u=0,c=0,o=null,t=!0)),i++;for(t&&Gx(e),SZ(e),i=1;i<e.length;){if(e[i-1][0]===ar&&e[i][0]===Qt){let d=e[i-1][1],p=e[i][1],h=aC(d,p),m=aC(p,d);h>=m?(h>=d.length/2||h>=p.length/2)&&(e.splice(i,0,new Rt(qt,p.substring(0,h))),e[i-1][1]=d.substring(0,d.length-h),e[i+1][1]=p.substring(h),i++):(m>=d.length/2||m>=p.length/2)&&(e.splice(i,0,new Rt(qt,d.substring(0,m))),e[i-1][0]=Qt,e[i-1][1]=p.substring(0,p.length-m),e[i+1][0]=ar,e[i+1][1]=d.substring(m),i++),i++}i++}},iC=/[^a-z0-9]/i,sC=/\s/,lC=/[\r\n]/,wZ=/\n\r?\n$/,_Z=/^\r?\n\r?\n/;function SZ(e){function t(n,o){if(!n||!o)return 6;let i=n.charAt(n.length-1),s=o.charAt(0),l=i.match(iC),u=s.match(iC),c=l&&i.match(sC),d=u&&s.match(sC),p=c&&i.match(lC),h=d&&s.match(lC),m=p&&n.match(wZ),y=h&&o.match(_Z);return m||y?5:p||h?4:l&&!c&&d?3:c||d?2:l||u?1:0}let r=1;for(;r<e.length-1;){if(e[r-1][0]===qt&&e[r+1][0]===qt){let n=e[r-1][1],o=e[r][1],i=e[r+1][1],s=Vx(n,o);if(s){let p=o.substring(o.length-s);n=n.substring(0,n.length-s),o=p+o.substring(0,o.length-s),i=p+i}let l=n,u=o,c=i,d=t(n,o)+t(o,i);for(;o.charAt(0)===i.charAt(0);){n+=o.charAt(0),o=o.substring(1)+i.charAt(0),i=i.substring(1);let p=t(n,o)+t(o,i);p>=d&&(d=p,l=n,u=o,c=i)}e[r-1][1]!==l&&(l?e[r-1][1]=l:(e.splice(r-1,1),r--),e[r][1]=u,c?e[r+1][1]=c:(e.splice(r+1,1),r--))}r++}}function Gx(e){e.push(new Rt(qt,""));let t=0,r=0,n=0,o="",i="",s;for(;t<e.length;)switch(e[t][0]){case Qt:n++,i+=e[t][1],t++;break;case ar:r++,o+=e[t][1],t++;break;case qt:r+n>1?(r!==0&&n!==0&&(s=vZ(i,o),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===qt?e[t-r-n-1][1]+=i.substring(0,s):(e.splice(0,0,new Rt(qt,i.substring(0,s))),t++),i=i.substring(s),o=o.substring(s)),s=Vx(i,o),s!==0&&(e[t][1]=i.substring(i.length-s)+e[t][1],i=i.substring(0,i.length-s),o=o.substring(0,o.length-s))),t-=r+n,e.splice(t,r+n),o.length&&(e.splice(t,0,new Rt(ar,o)),t++),i.length&&(e.splice(t,0,new Rt(Qt,i)),t++),t++):t!==0&&e[t-1][0]===qt?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,o="",i="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===qt&&e[t+1][0]===qt&&(e[t][1].substring(e[t][1].length-e[t-1][1].length)===e[t-1][1]?(e[t][1]=e[t-1][1]+e[t][1].substring(0,e[t][1].length-e[t-1][1].length),e[t+1][1]=e[t-1][1]+e[t+1][1],e.splice(t-1,1),l=!0):e[t][1].substring(0,e[t+1][1].length)===e[t+1][1]&&(e[t-1][1]+=e[t+1][1],e[t][1]=e[t][1].substring(e[t+1][1].length)+e[t+1][1],e.splice(t+1,1),l=!0)),t++;l&&Gx(e)}var Wx="Compared values have no visual difference.",AZ="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",Yx={};Object.defineProperty(Yx,"__esModule",{value:!0});var Kx=Yx.default=xZ,Ss="diff-sequences",nr=0,Os=(e,t,r,n,o)=>{let i=0;for(;e<t&&r<n&&o(e,r);)e+=1,r+=1,i+=1;return i},Ps=(e,t,r,n,o)=>{let i=0;for(;e<=t&&r<=n&&o(t,n);)t-=1,n-=1,i+=1;return i},Ly=(e,t,r,n,o,i,s)=>{let l=0,u=-e,c=i[l],d=c;i[l]+=Os(c+1,t,n+c-u+1,r,o);let p=e<s?e:s;for(l+=1,u+=2;l<=p;l+=1,u+=2){if(l!==e&&d<i[l])c=i[l];else if(c=d+1,t<=c)return l-1;d=i[l],i[l]=c+Os(c+1,t,n+c-u+1,r,o)}return s},uC=(e,t,r,n,o,i,s)=>{let l=0,u=e,c=i[l],d=c;i[l]-=Ps(t,c-1,r,n+c-u-1,o);let p=e<s?e:s;for(l+=1,u-=2;l<=p;l+=1,u-=2){if(l!==e&&i[l]<d)c=i[l];else if(c=d-1,c<t)return l-1;d=i[l],i[l]=c-Ps(t,c-1,r,n+c-u-1,o)}return s},CZ=(e,t,r,n,o,i,s,l,u,c,d)=>{let p=n-t,h=r-t,m=o-n-h,y=-m-(e-1),b=-m+(e-1),E=nr,g=e<l?e:l;for(let w=0,O=-e;w<=g;w+=1,O+=2){let A=w===0||w!==e&&E<s[w],S=A?s[w]:E,T=A?S:S+1,C=p+T-O,x=Os(T+1,r,C+1,o,i),I=T+x;if(E=s[w],s[w]=I,y<=O&&O<=b){let W=(e-1-(O+m))/2;if(W<=c&&u[W]-1<=I){let X=p+S-(A?O+1:O-1),Y=Ps(t,S,n,X,i),K=S-Y,_=X-Y,P=K+1,N=_+1;d.nChangePreceding=e-1,e-1===P+N-t-n?(d.aEndPreceding=t,d.bEndPreceding=n):(d.aEndPreceding=P,d.bEndPreceding=N),d.nCommonPreceding=Y,Y!==0&&(d.aCommonPreceding=P,d.bCommonPreceding=N),d.nCommonFollowing=x,x!==0&&(d.aCommonFollowing=T+1,d.bCommonFollowing=C+1);let le=I+1,ce=C+x+1;return d.nChangeFollowing=e-1,e-1===r+o-le-ce?(d.aStartFollowing=r,d.bStartFollowing=o):(d.aStartFollowing=le,d.bStartFollowing=ce),!0}}}return!1},RZ=(e,t,r,n,o,i,s,l,u,c,d)=>{let p=o-r,h=r-t,m=o-n-h,y=m-e,b=m+e,E=nr,g=e<c?e:c;for(let w=0,O=e;w<=g;w+=1,O-=2){let A=w===0||w!==e&&u[w]<E,S=A?u[w]:E,T=A?S:S-1,C=p+T-O,x=Ps(t,T-1,n,C-1,i),I=T-x;if(E=u[w],u[w]=I,y<=O&&O<=b){let W=(e+(O-m))/2;if(W<=l&&I-1<=s[W]){let X=C-x;if(d.nChangePreceding=e,e===I+X-t-n?(d.aEndPreceding=t,d.bEndPreceding=n):(d.aEndPreceding=I,d.bEndPreceding=X),d.nCommonPreceding=x,x!==0&&(d.aCommonPreceding=I,d.bCommonPreceding=X),d.nChangeFollowing=e-1,e===1)d.nCommonFollowing=0,d.aStartFollowing=r,d.bStartFollowing=o;else{let Y=p+S-(A?O-1:O+1),K=Os(S,r,Y,o,i);d.nCommonFollowing=K,K!==0&&(d.aCommonFollowing=S,d.bCommonFollowing=Y);let _=S+K,P=Y+K;e-1===r+o-_-P?(d.aStartFollowing=r,d.bStartFollowing=o):(d.aStartFollowing=_,d.bStartFollowing=P)}return!0}}}return!1},TZ=(e,t,r,n,o,i,s,l,u)=>{let c=n-t,d=o-r,p=r-t,h=o-n,m=h-p,y=p,b=p;if(s[0]=t-1,l[0]=r,m%2===0){let E=(e||m)/2,g=(p+h)/2;for(let w=1;w<=g;w+=1)if(y=Ly(w,r,o,c,i,s,y),w<E)b=uC(w,t,n,d,i,l,b);else if(RZ(w,t,r,n,o,i,s,y,l,b,u))return}else{let E=((e||m)+1)/2,g=(p+h+1)/2,w=1;for(y=Ly(w,r,o,c,i,s,y),w+=1;w<=g;w+=1)if(b=uC(w-1,t,n,d,i,l,b),w<E)y=Ly(w,r,o,c,i,s,y);else if(CZ(w,t,r,n,o,i,s,y,l,b,u))return}throw new Error(`${Ss}: no overlap aStart=${t} aEnd=${r} bStart=${n} bEnd=${o}`)},Ag=(e,t,r,n,o,i,s,l,u,c)=>{if(o-n<r-t){if(i=!i,i&&s.length===1){let{foundSubsequence:W,isCommon:X}=s[0];s[1]={foundSubsequence:(Y,K,_)=>{W(Y,_,K)},isCommon:(Y,K)=>X(K,Y)}}let x=t,I=r;t=n,r=o,n=x,o=I}let{foundSubsequence:d,isCommon:p}=s[i?1:0];TZ(e,t,r,n,o,p,l,u,c);let{nChangePreceding:h,aEndPreceding:m,bEndPreceding:y,nCommonPreceding:b,aCommonPreceding:E,bCommonPreceding:g,nCommonFollowing:w,aCommonFollowing:O,bCommonFollowing:A,nChangeFollowing:S,aStartFollowing:T,bStartFollowing:C}=c;t<m&&n<y&&Ag(h,t,m,n,y,i,s,l,u,c),b!==0&&d(b,E,g),w!==0&&d(w,O,A),T<r&&C<o&&Ag(S,T,r,C,o,i,s,l,u,c)},cC=(e,t)=>{if(typeof t!="number")throw new TypeError(`${Ss}: ${e} typeof ${typeof t} is not a number`);if(!Number.isSafeInteger(t))throw new RangeError(`${Ss}: ${e} value ${t} is not a safe integer`);if(t<0)throw new RangeError(`${Ss}: ${e} value ${t} is a negative integer`)},dC=(e,t)=>{let r=typeof t;if(r!=="function")throw new TypeError(`${Ss}: ${e} typeof ${r} is not a function`)};function xZ(e,t,r,n){cC("aLength",e),cC("bLength",t),dC("isCommon",r),dC("foundSubsequence",n);let o=Os(0,e,0,t,r);if(o!==0&&n(o,0,0),e!==o||t!==o){let i=o,s=o,l=Ps(i,e-1,s,t-1,r),u=e-l,c=t-l,d=o+l;e!==d&&t!==d&&Ag(0,i,u,s,c,!1,[{foundSubsequence:n,isCommon:r}],[nr],[nr],{aCommonFollowing:nr,aCommonPreceding:nr,aEndPreceding:nr,aStartFollowing:nr,bCommonFollowing:nr,bCommonPreceding:nr,bEndPreceding:nr,bStartFollowing:nr,nChangeFollowing:nr,nChangePreceding:nr,nCommonFollowing:nr,nCommonPreceding:nr}),l!==0&&n(l,u,c)}}function qZ(e,t){return e.replace(/\s+$/,r=>t(r))}function Gb(e,t,r,n,o,i){return e.length!==0?r(`${n} ${qZ(e,o)}`):n!==" "?r(n):t&&i.length!==0?r(`${n} ${i}`):""}function Jx(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Gb(e,t,r,n,o,i)}function Xx(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Gb(e,t,r,n,o,i)}function Qx(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:o,emptyFirstOrLastLinePlaceholder:i}){return Gb(e,t,r,n,o,i)}function pC(e,t,r,n,{patchColor:o}){return o(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}function OZ(e,t){let r=e.length,n=t.contextLines,o=n+n,i=r,s=!1,l=0,u=0;for(;u!==r;){let A=u;for(;u!==r&&e[u][0]===qt;)u+=1;if(A!==u)if(A===0)u>n&&(i-=u-n,s=!0);else if(u===r){let S=u-A;S>n&&(i-=S-n,s=!0)}else{let S=u-A;S>o&&(i-=S-o,l+=1)}for(;u!==r&&e[u][0]!==qt;)u+=1}let c=l!==0||s;l!==0?i+=l+1:s&&(i+=1);let d=i-1,p=[],h=0;c&&p.push("");let m=0,y=0,b=0,E=0,g=A=>{let S=p.length;p.push(Qx(A,S===0||S===d,t)),b+=1,E+=1},w=A=>{let S=p.length;p.push(Jx(A,S===0||S===d,t)),b+=1},O=A=>{let S=p.length;p.push(Xx(A,S===0||S===d,t)),E+=1};for(u=0;u!==r;){let A=u;for(;u!==r&&e[u][0]===qt;)u+=1;if(A!==u)if(A===0){u>n&&(A=u-n,m=A,y=A,b=m,E=y);for(let S=A;S!==u;S+=1)g(e[S][1])}else if(u===r){let S=u-A>n?A+n:u;for(let T=A;T!==S;T+=1)g(e[T][1])}else{let S=u-A;if(S>o){let T=A+n;for(let x=A;x!==T;x+=1)g(e[x][1]);p[h]=pC(m,b,y,E,t),h=p.length,p.push("");let C=S-o;m=b+C,y=E+C,b=m,E=y;for(let x=u-n;x!==u;x+=1)g(e[x][1])}else for(let T=A;T!==u;T+=1)g(e[T][1])}for(;u!==r&&e[u][0]===ar;)w(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Qt;)O(e[u][1]),u+=1}return c&&(p[h]=pC(m,b,y,E,t)),p.join(`
|
|
306
|
-
`)}function PZ(e,t){return e.map((r,n,o)=>{let i=r[1],s=n===0||n===o.length-1;switch(r[0]){case ar:return Jx(i,s,t);case Qt:return Xx(i,s,t);default:return Qx(i,s,t)}}).join(`
|
|
307
|
-
`)}var $y=e=>e,Zx=5,DZ=0;function IZ(){return{aAnnotation:"Expected",aColor:xt.green,aIndicator:"-",bAnnotation:"Received",bColor:xt.red,bIndicator:"+",changeColor:xt.inverse,changeLineTrailingSpaceColor:$y,commonColor:xt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:$y,compareKeys:void 0,contextLines:Zx,emptyFirstOrLastLinePlaceholder:"",expand:!0,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:xt.yellow,truncateThreshold:DZ,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:$y}}function MZ(e){return e&&typeof e=="function"?e:void 0}function NZ(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:Zx}function Go(e={}){return{...IZ(),...e,compareKeys:MZ(e.compareKeys),contextLines:NZ(e.contextLines)}}function si(e){return e.length===1&&e[0].length===0}function BZ(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case ar:t+=1;break;case Qt:r+=1;break}}),{a:t,b:r}}function jZ({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:o,bIndicator:i,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let c="",d="";if(s){let m=String(u.a),y=String(u.b),b=n.length-e.length,E=" ".repeat(Math.max(0,b)),g=" ".repeat(Math.max(0,-b)),w=y.length-m.length,O=" ".repeat(Math.max(0,w)),A=" ".repeat(Math.max(0,-w));c=`${E} ${r} ${O}${m}`,d=`${g} ${i} ${A}${y}`}let p=`${r} ${e}${c}`,h=`${i} ${n}${d}`;return`${t(p)}
|
|
308
|
-
${o(h)}
|
|
309
|
-
|
|
310
|
-
`}function Wb(e,t,r){return jZ(r,BZ(e))+(r.expand?PZ(e,r):OZ(e,r))+(t?r.truncateAnnotationColor(`
|
|
311
|
-
${r.truncateAnnotation}`):"")}function bc(e,t,r){let n=Go(r),[o,i]=tq(si(e)?[]:e,si(t)?[]:t,n);return Wb(o,i,n)}function FZ(e,t,r,n,o){if(si(e)&&si(r)&&(e=[],r=[]),si(t)&&si(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return bc(e,t,o);let[i,s]=tq(r,n,o),l=0,u=0;return i.forEach(c=>{switch(c[0]){case ar:c[1]=e[l],l+=1;break;case Qt:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Wb(i,s,Go(o))}function tq(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=n?Math.min(e.length,o):e.length,s=n?Math.min(t.length,o):t.length,l=i!==e.length||s!==t.length,u=(h,m)=>e[h]===t[m],c=[],d=0,p=0;for(Kx(i,s,u,(h,m,y)=>{for(;d!==m;d+=1)c.push(new Rt(ar,e[d]));for(;p!==y;p+=1)c.push(new Rt(Qt,t[p]));for(;h!==0;h-=1,d+=1,p+=1)c.push(new Rt(qt,t[p]))});d!==i;d+=1)c.push(new Rt(ar,e[d]));for(;p!==s;p+=1)c.push(new Rt(Qt,t[p]));return[c,l]}function fC(e){return e.includes(`\r
|
|
312
|
-
`)?`\r
|
|
313
|
-
`:`
|
|
314
|
-
`}function kZ(e,t,r){let n=r?.truncateThreshold??!1,o=Math.max(Math.floor(r?.truncateThreshold??0),0),i=e.length,s=t.length;if(n){let h=e.includes(`
|
|
315
|
-
`),m=t.includes(`
|
|
316
|
-
`),y=fC(e),b=fC(t),E=h?`${e.split(y,o).join(y)}
|
|
317
|
-
`:e,g=m?`${t.split(b,o).join(b)}
|
|
318
|
-
`:t;i=E.length,s=g.length}let l=i!==e.length||s!==t.length,u=(h,m)=>e[h]===t[m],c=0,d=0,p=[];return Kx(i,s,u,(h,m,y)=>{c!==m&&p.push(new Rt(ar,e.slice(c,m))),d!==y&&p.push(new Rt(Qt,t.slice(d,y))),c=m+h,d=y+h,p.push(new Rt(qt,t.slice(y,d)))}),c!==i&&p.push(new Rt(ar,e.slice(c))),d!==s&&p.push(new Rt(Qt,t.slice(d))),[p,l]}function LZ(e,t,r){return t.reduce((n,o)=>n+(o[0]===qt?o[1]:o[0]===e&&o[1].length!==0?r(o[1]):""),"")}var hC=class{constructor(e,t){At(this,"op");At(this,"line");At(this,"lines");At(this,"changeColor");this.op=e,this.line=[],this.lines=[],this.changeColor=t}pushSubstring(e){this.pushDiff(new Rt(this.op,e))}pushLine(){this.lines.push(this.line.length!==1?new Rt(this.op,LZ(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new Rt(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(e){this.line.push(e)}align(e){let t=e[1];if(t.includes(`
|
|
319
|
-
`)){let r=t.split(`
|
|
320
|
-
`),n=r.length-1;r.forEach((o,i)=>{i<n?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(e)}moveLinesTo(e){this.isLineEmpty()||this.pushLine(),e.push(...this.lines),this.lines.length=0}},$Z=class{constructor(e,t){At(this,"deleteBuffer");At(this,"insertBuffer");At(this,"lines");this.deleteBuffer=e,this.insertBuffer=t,this.lines=[]}pushDiffCommonLine(e){this.lines.push(e)}pushDiffChangeLines(e){let t=e[1].length===0;(!t||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(e),(!t||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(e)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(e){let t=e[0],r=e[1];if(r.includes(`
|
|
321
|
-
`)){let n=r.split(`
|
|
322
|
-
`),o=n.length-1;n.forEach((i,s)=>{if(s===0){let l=new Rt(t,i);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(l)):(this.pushDiffChangeLines(l),this.flushChangeLines())}else s<o?this.pushDiffCommonLine(new Rt(t,i)):i.length!==0&&this.pushDiffChangeLines(new Rt(t,i))})}else this.pushDiffChangeLines(e)}getLines(){return this.flushChangeLines(),this.lines}};function UZ(e,t){let r=new hC(ar,t),n=new hC(Qt,t),o=new $Z(r,n);return e.forEach(i=>{switch(i[0]){case ar:r.align(i);break;case Qt:n.align(i);break;default:o.align(i)}}),o.getLines()}function HZ(e,t){if(t){let r=e.length-1;return e.some((n,o)=>n[0]===qt&&(o!==r||n[1]!==`
|
|
323
|
-
`))}return e.some(r=>r[0]===qt)}function zZ(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
324
|
-
`)||t.includes(`
|
|
325
|
-
`),[o,i]=rq(n?`${e}
|
|
326
|
-
`:e,n?`${t}
|
|
327
|
-
`:t,!0,r);if(HZ(o,n)){let s=Go(r),l=UZ(o,s.changeColor);return Wb(l,i,s)}}return bc(e.split(`
|
|
328
|
-
`),t.split(`
|
|
329
|
-
`),r)}function rq(e,t,r,n){let[o,i]=kZ(e,t,n);return r&&EZ(o),[o,i]}function Cg(e,t){let{commonColor:r}=Go(t);return r(e)}var{AsymmetricMatcher:VZ,DOMCollection:GZ,DOMElement:WZ,Immutable:YZ,ReactElement:KZ,ReactTestComponent:JZ}=Ux,nq=[JZ,KZ,WZ,GZ,YZ,VZ],Rg={plugins:nq},oq={callToJSON:!1,maxDepth:10,plugins:nq};function bi(e,t,r){if(Object.is(e,t))return"";let n=oC(e),o=n,i=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;o=e.getExpectedType(),i=o==="string"}if(o!==oC(t)){let{aAnnotation:s,aColor:l,aIndicator:u,bAnnotation:c,bColor:d,bIndicator:p}=Go(r),h=Tg(oq,r),m=an(e,h),y=an(t,h),b=`${l(`${u} ${s}:`)}
|
|
330
|
-
${m}`,E=`${d(`${p} ${c}:`)}
|
|
331
|
-
${y}`;return`${b}
|
|
332
|
-
|
|
333
|
-
${E}`}if(!i)switch(n){case"string":return bc(e.split(`
|
|
334
|
-
`),t.split(`
|
|
335
|
-
`),r);case"boolean":case"number":return XZ(e,t,r);case"map":return Uy(mC(e),mC(t),r);case"set":return Uy(yC(e),yC(t),r);default:return Uy(e,t,r)}}function XZ(e,t,r){let n=an(e,Rg),o=an(t,Rg);return n===o?"":bc(n.split(`
|
|
336
|
-
`),o.split(`
|
|
337
|
-
`),r)}function mC(e){return new Map(Array.from(e.entries()).sort())}function yC(e){return new Set(Array.from(e.values()).sort())}function Uy(e,t,r){let n,o=!1;try{let s=Tg(Rg,r);n=gC(e,t,s,r)}catch{o=!0}let i=Cg(Wx,r);if(n===void 0||n===i){let s=Tg(oq,r);n=gC(e,t,s,r),n!==i&&!o&&(n=`${Cg(AZ,r)}
|
|
338
|
-
|
|
339
|
-
${n}`)}return n}function Tg(e,t){let{compareKeys:r}=Go(t);return{...e,compareKeys:r}}function gC(e,t,r,n){let o={...r,indent:0},i=an(e,o),s=an(t,o);if(i===s)return Cg(Wx,n);{let l=an(e,r),u=an(t,r);return FZ(l.split(`
|
|
340
|
-
`),u.split(`
|
|
341
|
-
`),i.split(`
|
|
342
|
-
`),s.split(`
|
|
343
|
-
`),n)}}var bC=2e4;function vC(e){return vg(e)==="Object"&&typeof e.asymmetricMatch=="function"}function EC(e,t){let r=vg(e),n=vg(t);return r===n&&(r==="Object"||r==="Array")}function aq(e,t,r){let{aAnnotation:n,bAnnotation:o}=Go(r);if(typeof e=="string"&&typeof t=="string"&&e.length>0&&t.length>0&&e.length<=bC&&t.length<=bC&&e!==t){if(e.includes(`
|
|
344
|
-
`)||t.includes(`
|
|
345
|
-
`))return zZ(t,e,r);let[c]=rq(t,e,!0),d=c.some(y=>y[0]===qt),p=QZ(n,o),h=p(n)+tee(wC(c,ar,d)),m=p(o)+eee(wC(c,Qt,d));return`${h}
|
|
346
|
-
${m}`}let i=BA(e,{forceWritable:!0}),s=BA(t,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=iq(i,s);return bi(l,u,r)}function iq(e,t,r=new WeakSet,n=new WeakSet){return EC(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),wx(t).forEach(o=>{let i=t[o],s=e[o];if(vC(i))i.asymmetricMatch(s)&&(e[o]=i);else if(vC(s))s.asymmetricMatch(i)&&(t[o]=s);else if(EC(s,i)){let l=iq(s,i,r,n);e[o]=l.replacedActual,t[o]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}function QZ(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}var ZZ="\xB7";function sq(e){return e.replace(/\s+$/gm,t=>ZZ.repeat(t.length))}function eee(e){return xt.red(sq(Pr(e)))}function tee(e){return xt.green(sq(Pr(e)))}function wC(e,t,r){return e.reduce((n,o)=>n+(o[0]===qt?o[1]:o[0]===t?r?xt.inverse(o[1]):o[1]:""),"")}function Au(e,t){if(!e)throw new Error(t)}function li(e,t){return typeof t===e}function ree(e){return e instanceof Promise}function xg(e,t,r){Object.defineProperty(e,t,r)}function di(e,t,r){Object.defineProperty(e,t,{value:r})}var As=Symbol.for("tinyspy:spy"),nee=new Set,oee=e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},aee=e=>(xg(e,As,{value:{reset:()=>oee(e[As])}}),e[As]),ju=e=>e[As]||aee(e);function iee(e){Au(li("function",e)||li("undefined",e),"cannot spy on a non-function value");let t=function(...n){let o=ju(t);o.called=!0,o.callCount++,o.calls.push(n);let i=o.next.shift();if(i){o.results.push(i);let[d,p]=i;if(d==="ok")return p;throw p}let s,l="ok",u=o.results.length;if(o.impl)try{new.target?s=Reflect.construct(o.impl,n,new.target):s=o.impl.apply(this,n),l="ok"}catch(d){throw s=d,l="error",o.results.push([l,d]),d}let c=[l,s];return ree(s)&&s.then(d=>o.resolves[u]=["ok",d],d=>o.resolves[u]=["error",d]),o.results.push(c),s};di(t,"_isMockFunction",!0),di(t,"length",e?e.length:0),di(t,"name",e&&e.name||"spy");let r=ju(t);return r.reset(),r.impl=e,t}var _C=(e,t)=>Object.getOwnPropertyDescriptor(e,t),SC=(e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)};function lq(e,t,r){Au(!li("undefined",e),"spyOn could not find an object to spy upon"),Au(li("object",e)||li("function",e),"cannot spyOn on a primitive value");let[n,o]=(()=>{if(!li("object",t))return[t,"value"];if("getter"in t&&"setter"in t)throw new Error("cannot spy on both getter and setter");if("getter"in t)return[t.getter,"get"];if("setter"in t)return[t.setter,"set"];throw new Error("specify getter or setter to spy on")})(),i=_C(e,n),s=Object.getPrototypeOf(e),l=s&&_C(s,n),u=i||l;Au(u||n in e,`${String(n)} does not exist`);let c=!1;o==="value"&&u&&!u.value&&u.get&&(o="get",c=!0,r=u.get());let d;u?d=u[o]:o!=="value"?d=()=>e[n]:d=e[n],r||(r=d);let p=iee(r);o==="value"&&SC(p,d);let h=b=>{let{value:E,...g}=u||{configurable:!0,writable:!0};o!=="value"&&delete g.writable,g[o]=b,xg(e,n,g)},m=()=>u?xg(e,n,u):h(d),y=p[As];return di(y,"restore",m),di(y,"getOriginal",()=>c?d():d),di(y,"willCall",b=>(y.impl=b,p)),h(c?()=>(SC(p,r),p):p),nee.add(p),p}var Ys=new Set;function Yb(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}function see(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,o=lq(e,n);return uq(o)}var lee=0;function uq(e){let t=e,r,n=[],o=[],i=[],s=ju(e),l={get calls(){return s.calls},get contexts(){return o},get instances(){return n},get invocationCallOrder(){return i},get results(){return s.results.map(([m,y])=>({type:m==="error"?"throw":"return",value:y}))},get settledResults(){return s.resolves.map(([m,y])=>({type:m==="error"?"rejected":"fulfilled",value:y}))},get lastCall(){return s.calls[s.calls.length-1]}},u=[],c=!1;function d(...m){return n.push(this),o.push(this),i.push(++lee),(c?r:u.shift()||r||s.getOriginal()||(()=>{})).apply(this,m)}let p=t.name;t.getMockName=()=>p||"vi.fn()",t.mockName=m=>(p=m,t),t.mockClear=()=>(s.reset(),n=[],o=[],i=[],t),t.mockReset=()=>(t.mockClear(),r=()=>{},u=[],t),t.mockRestore=()=>(t.mockReset(),s.restore(),r=void 0,t),t.getMockImplementation=()=>r,t.mockImplementation=m=>(r=m,s.willCall(d),t),t.mockImplementationOnce=m=>(u.push(m),t);function h(m,y){let b=r;r=m,s.willCall(d),c=!0;let E=()=>{r=b,c=!1},g=y();return g instanceof Promise?g.then(()=>(E(),t)):(E(),t)}return t.withImplementation=h,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=m=>t.mockImplementation(()=>m),t.mockReturnValueOnce=m=>t.mockImplementationOnce(()=>m),t.mockResolvedValue=m=>t.mockImplementation(()=>Promise.resolve(m)),t.mockResolvedValueOnce=m=>t.mockImplementationOnce(()=>Promise.resolve(m)),t.mockRejectedValue=m=>t.mockImplementation(()=>Promise.reject(m)),t.mockRejectedValueOnce=m=>t.mockImplementationOnce(()=>Promise.reject(m)),Object.defineProperty(t,"mock",{get:()=>l}),s.willCall(d),Ys.add(t),t}function AC(e){let t=uq(lq({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}var uee="@@__IMMUTABLE_RECORD__@@",cee="@@__IMMUTABLE_ITERABLE__@@";function dee(e){return e&&(e[cee]||e[uee])}var pee=Object.getPrototypeOf({});function CC(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}function ui(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(dee(e))return ui(e.toJSON(),t);if(e instanceof Promise||e.constructor&&e.constructor.prototype==="AsyncFunction")return"Promise";if(typeof Element<"u"&&e instanceof Element)return e.tagName;if(typeof e.asymmetricMatch=="function")return`${e.toString()} ${eZ(e.sample)}`;if(typeof e.toJSON=="function")return ui(e.toJSON(),t);if(t.has(e))return t.get(e);if(Array.isArray(e)){let r=new Array(e.length);return t.set(e,r),e.forEach((n,o)=>{try{r[o]=ui(n,t)}catch(i){r[o]=CC(i)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==pee;)Object.getOwnPropertyNames(n).forEach(o=>{if(!(o in r))try{r[o]=ui(e[o],t)}catch(i){delete r[o],r[o]=CC(i)}}),n=Object.getPrototypeOf(n);return r}}function fee(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}function cq(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;n.stack&&(n.stackStr=String(n.stack)),n.name&&(n.nameStr=String(n.name)),(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=aq(n.actual,n.expected,{...t,...n.diffOptions})),typeof n.expected!="string"&&(n.expected=Pr(n.expected,10)),typeof n.actual!="string"&&(n.actual=Pr(n.actual,10));try{typeof n.message=="string"&&(n.message=fee(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=cq(n.cause,t,r))}catch{}try{return ui(n)}catch(o){return ui(new Error(`Failed to fully serialize error: ${o?.message}
|
|
347
|
-
Inner error message: ${n?.message}`))}}var Ds=Symbol.for("matchers-object"),Is=Symbol.for("$$jest-matchers-object-storybook"),Kb=Symbol.for("expect-global"),qg=Symbol.for("asymmetric-matchers-object");if(!Object.prototype.hasOwnProperty.call(globalThis,Ds)){let e=new WeakMap;Object.defineProperty(globalThis,Ds,{get:()=>e})}if(!Object.prototype.hasOwnProperty.call(globalThis,Is)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Is,{configurable:!0,get:()=>({state:globalThis[Ds].get(globalThis[Kb]),matchers:e,customEqualityTesters:t})})}if(!Object.prototype.hasOwnProperty.call(globalThis,qg)){let e=Object.create(null);Object.defineProperty(globalThis,qg,{get:()=>e})}function Fu(e){return globalThis[Ds].get(e)}function Hy(e,t){let r=globalThis[Ds],n=r.get(t)||{};Object.assign(n,e),r.set(t,n)}var ku=xt.green,Jb=xt.red,hee=xt.inverse,mee=xt.bold,Wn=xt.dim;function yee(e,t="received",r="expected",n={}){let{comment:o="",isDirectExpectCall:i=!1,isNot:s=!1,promise:l="",secondArgument:u="",expectedColor:c=ku,receivedColor:d=Jb,secondArgumentColor:p=ku}=n,h="",m="expect";return!i&&t!==""&&(h+=Wn(`${m}(`)+d(t),m=")"),l!==""&&(h+=Wn(`${m}.`)+l,m=""),s&&(h+=`${Wn(`${m}.`)}not`,m=""),e.includes(".")?m+=e:(h+=Wn(`${m}.`)+e,m=""),r===""?m+="()":(h+=Wn(`${m}(`)+c(r),u&&(h+=Wn(", ")+p(u)),m=")"),o!==""&&(m+=` // ${o}`),m!==""&&(h+=Wn(m)),h}var gee="\xB7";function dq(e){return e.replace(/\s+$/gm,t=>gee.repeat(t.length))}function bee(e){return Jb(dq(Pr(e)))}function vee(e){return ku(dq(Pr(e)))}function pq(){return{EXPECTED_COLOR:ku,RECEIVED_COLOR:Jb,INVERTED_COLOR:hee,BOLD_WEIGHT:mee,DIM_COLOR:Wn,diff:bi,matcherHint:yee,printReceived:bee,printExpected:vee,printDiffOrStringify:aq}}function Xb(){return globalThis[Is].customEqualityTesters}function st(e,t,r,n){return r=r||[],fq(e,t,[],[],r,n?hq:wee)}var J1e=Function.prototype.toString;function RC(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&Hr("Function",e.asymmetricMatch)}function Eee(e,t){let r=RC(e),n=RC(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}function fq(e,t,r,n,o,i){let s=!0,l=Eee(e,t);if(l!==void 0)return l;let u={equals:st};for(let y=0;y<o.length;y++){let b=o[y].call(u,e,t,o);if(b!==void 0)return b}if(e instanceof Error&&t instanceof Error)return e.message===t.message;if(typeof URL=="function"&&e instanceof URL&&t instanceof URL)return e.href===t.href;if(Object.is(e,t))return!0;if(e===null||t===null)return e===t;let c=Object.prototype.toString.call(e);if(c!==Object.prototype.toString.call(t))return!1;switch(c){case"[object Boolean]":case"[object String]":case"[object Number]":return typeof e!=typeof t?!1:typeof e!="object"&&typeof t!="object"?Object.is(e,t):Object.is(e.valueOf(),t.valueOf());case"[object Date]":{let y=+e,b=+t;return y===b||Number.isNaN(y)&&Number.isNaN(b)}case"[object RegExp]":return e.source===t.source&&e.flags===t.flags}if(typeof e!="object"||typeof t!="object")return!1;if(xC(e)&&xC(t))return e.isEqualNode(t);let d=r.length;for(;d--;){if(r[d]===e)return n[d]===t;if(n[d]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;let p=TC(e,i),h,m=p.length;if(TC(t,i).length!==m)return!1;for(;m--;)if(h=p[m],s=i(t,h)&&fq(e[h],t[h],r,n,o,i),!s)return!1;return r.pop(),n.pop(),s}function TC(e,t){let r=[];for(let n in e)t(e,n)&&r.push(n);return r.concat(Object.getOwnPropertySymbols(e).filter(n=>Object.getOwnPropertyDescriptor(e,n).enumerable))}function wee(e,t){return hq(e,t)&&e[t]!==void 0}function hq(e,t){return Object.prototype.hasOwnProperty.call(e,t)}function Hr(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}function xC(e){return e!==null&&typeof e=="object"&&"nodeType"in e&&typeof e.nodeType=="number"&&"nodeName"in e&&typeof e.nodeName=="string"&&"isEqualNode"in e&&typeof e.isEqualNode=="function"}var mq="@@__IMMUTABLE_KEYED__@@",yq="@@__IMMUTABLE_SET__@@",_ee="@@__IMMUTABLE_LIST__@@",vc="@@__IMMUTABLE_ORDERED__@@",See="@@__IMMUTABLE_RECORD__@@";function Aee(e){return!!(e&&e[mq]&&!e[vc])}function Cee(e){return!!(e&&e[yq]&&!e[vc])}function Ec(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}function Ree(e){return!!(e&&Ec(e)&&e[_ee])}function Tee(e){return!!(e&&Ec(e)&&e[mq]&&e[vc])}function xee(e){return!!(e&&Ec(e)&&e[yq]&&e[vc])}function qee(e){return!!(e&&Ec(e)&&e[See])}var gq=Symbol.iterator;function qC(e){return!!(e!=null&&e[gq])}function _r(e,t,r=[],n=[],o=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!qC(e)||!qC(t))return;if(e.constructor!==t.constructor)return!1;let i=n.length;for(;i--;)if(n[i]===e)return o[i]===t;n.push(e),o.push(t);let s=[...r.filter(c=>c!==_r),l];function l(c,d){return _r(c,d,[...r],[...n],[...o])}if(e.size!==void 0){if(e.size!==t.size)return!1;if(Hr("Set",e)||Cee(e)){let c=!0;for(let d of e)if(!t.has(d)){let p=!1;for(let h of t)st(d,h,s)===!0&&(p=!0);if(p===!1){c=!1;break}}return n.pop(),o.pop(),c}else if(Hr("Map",e)||Aee(e)){let c=!0;for(let d of e)if(!t.has(d[0])||!st(d[1],t.get(d[0]),s)){let p=!1;for(let h of t){let m=st(d[0],h[0],s),y=!1;m===!0&&(y=st(d[1],h[1],s)),y===!0&&(p=!0)}if(p===!1){c=!1;break}}return n.pop(),o.pop(),c}}let u=t[gq]();for(let c of e){let d=u.next();if(d.done||!st(c,d.value,s))return!1}if(!u.next().done)return!1;if(!Ree(e)&&!Tee(e)&&!xee(e)&&!qee(e)){let c=Object.entries(e),d=Object.entries(t);if(!st(c,d))return!1}return n.pop(),o.pop(),!0}function Qb(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||Qb(Object.getPrototypeOf(e),t)}function Oee(e){return _u(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}function Ks(e,t,r=[]){let n=r.filter(i=>i!==Ks),o=(i=new WeakMap)=>(s,l)=>{if(Oee(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(i.has(l[u]))return st(s[u],l[u],n);i.set(l[u],!0)}let c=s!=null&&Qb(s,u)&&st(s[u],l[u],[...n,o(i)]);return i.delete(l[u]),c})};return o()(e,t)}function OC(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}function PC(e,t){let r=e,n=t;if(!(e instanceof DataView&&t instanceof DataView)){if(!(e instanceof ArrayBuffer)||!(t instanceof ArrayBuffer))return;try{r=new DataView(e),n=new DataView(t)}catch{return}}if(r.byteLength!==n.byteLength)return!1;for(let o=0;o<r.byteLength;o++)if(r.getUint8(o)!==n.getUint8(o))return!1;return!0}function Og(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),o=Object.keys(t),i=r.filter(s=>s!==Og);return st(e,t,i,!0)&&st(n,o)}function Pee(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
348
|
-
|
|
349
|
-
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
350
|
-
|
|
351
|
-
Expected: ${t}
|
|
352
|
-
Received: serializes to the same string
|
|
353
|
-
`:n}function Dee(e,t){return`${t} ${e}${t===1?"":"s"}`}function zy(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))==null?void 0:r.enumerable})]}function Iee(e,t,r=[]){let n=0,o=(i=new WeakMap)=>(s,l)=>{if(Array.isArray(s)){if(Array.isArray(l)&&l.length===s.length)return l.map((u,c)=>o(i)(s[c],u))}else{if(s instanceof Date)return s;if(_u(s)&&_u(l)){if(st(s,l,[...r,_r,Ks]))return l;let u={};i.set(s,u);for(let c of zy(s))Qb(l,c)?u[c]=i.has(s[c])?i.get(s[c]):o(i)(s[c],l[c]):i.has(s[c])||(n+=1,_u(s[c])&&(n+=zy(s[c]).length),o(i)(s[c],l[c]));if(zy(u).length>0)return u}}return s};return{subset:o()(e,t),stripped:n}}var ro=class{constructor(e,t=!1){At(this,"$$typeof",Symbol.for("jest.asymmetricMatcher"));this.sample=e,this.inverse=t}getMatcherContext(e){return{...Fu(e||globalThis[Kb]),equals:st,isNot:this.inverse,customTesters:Xb(),utils:{...pq(),diff:bi,stringify:Pr,iterableEquality:_r,subsetEquality:Ks}}}[Symbol.for("chai/inspect")](e){let t=Pr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{\u2026}`}},DC=class extends ro{constructor(e,t=!1){if(!Hr("String",e))throw new Error("Expected is not a string");super(e,t)}asymmetricMatch(e){let t=Hr("String",e)&&e.includes(this.sample);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}},Mee=class extends ro{asymmetricMatch(e){return e!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}},IC=class extends ro{constructor(e,t=!1){super(e,t)}getPrototype(e){return Object.getPrototypeOf?Object.getPrototypeOf(e):e.constructor.prototype===e?null:e.constructor.prototype}hasProperty(e,t){return e?Object.prototype.hasOwnProperty.call(e,t)?!0:this.hasProperty(this.getPrototype(e),t):!1}asymmetricMatch(e){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let t=!0,r=this.getMatcherContext();for(let n in this.sample)if(!this.hasProperty(e,n)||!st(this.sample[n],e[n],r.customTesters)){t=!1;break}return this.inverse?!t:t}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}},MC=class extends ro{constructor(e,t=!1){super(e,t)}asymmetricMatch(e){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let t=this.getMatcherContext(),r=this.sample.length===0||Array.isArray(e)&&this.sample.every(n=>e.some(o=>st(n,o,t.customTesters)));return this.inverse?!r:r}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}},Nee=class extends ro{constructor(e){if(typeof e>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(e)}fnNameFor(e){if(e.name)return e.name;let t=Function.prototype.toString.call(e).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return t?t[1]:"<anonymous>"}asymmetricMatch(e){return this.sample===String?typeof e=="string"||e instanceof String:this.sample===Number?typeof e=="number"||e instanceof Number:this.sample===Function?typeof e=="function"||e instanceof Function:this.sample===Boolean?typeof e=="boolean"||e instanceof Boolean:this.sample===BigInt?typeof e=="bigint"||e instanceof BigInt:this.sample===Symbol?typeof e=="symbol"||e instanceof Symbol:this.sample===Object?typeof e=="object":e instanceof this.sample}toString(){return"Any"}getExpectedType(){return this.sample===String?"string":this.sample===Number?"number":this.sample===Function?"function":this.sample===Object?"object":this.sample===Boolean?"boolean":this.fnNameFor(this.sample)}toAsymmetricMatcher(){return`Any<${this.fnNameFor(this.sample)}>`}},NC=class extends ro{constructor(e,t=!1){if(!Hr("String",e)&&!Hr("RegExp",e))throw new Error("Expected is not a String or a RegExp");super(new RegExp(e),t)}asymmetricMatch(e){let t=Hr("String",e)&&this.sample.test(e);return this.inverse?!t:t}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}},BC=class extends ro{constructor(t,r=2,n=!1){if(!Hr("Number",t))throw new Error("Expected is not a Number");if(!Hr("Number",r))throw new Error("Precision is not a Number");super(t);At(this,"precision");this.inverse=n,this.precision=r}asymmetricMatch(t){if(!Hr("Number",t))return!1;let r=!1;return t===Number.POSITIVE_INFINITY&&this.sample===Number.POSITIVE_INFINITY||t===Number.NEGATIVE_INFINITY&&this.sample===Number.NEGATIVE_INFINITY?r=!0:r=Math.abs(this.sample-t)<10**-this.precision/2,this.inverse?!r:r}toString(){return`Number${this.inverse?"Not":""}CloseTo`}getExpectedType(){return"number"}toAsymmetricMatcher(){return[this.toString(),this.sample,`(${Dee("digit",this.precision)})`].join(" ")}},Bee=(e,t)=>{t.addMethod(e.expect,"anything",()=>new Mee),t.addMethod(e.expect,"any",r=>new Nee(r)),t.addMethod(e.expect,"stringContaining",r=>new DC(r)),t.addMethod(e.expect,"objectContaining",r=>new IC(r)),t.addMethod(e.expect,"arrayContaining",r=>new MC(r)),t.addMethod(e.expect,"stringMatching",r=>new NC(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new BC(r,n)),e.expect.not={stringContaining:r=>new DC(r,!0),objectContaining:r=>new IC(r,!0),arrayContaining:r=>new MC(r,!0),stringMatching:r=>new NC(r,!0),closeTo:(r,n)=>new BC(r,n,!0)}};function jC(e,t){return e&&t instanceof Promise&&(t=t.finally(()=>{let r=e.promises.indexOf(t);r!==-1&&e.promises.splice(r,1)}),e.promises||(e.promises=[]),e.promises.push(t)),t}function bq(e,t){return function(...r){var n;if(!e.flag(this,"soft"))return t.apply(this,r);let o=e.flag(this,"vitest-test");if(!o)throw new Error("expect.soft() can only be used inside a test");try{return t.apply(this,r)}catch(i){o.result||(o.result={state:"fail"}),o.result.state="fail",(n=o.result).errors||(n.errors=[]),o.result.errors.push(cq(i))}}}var jee=(e,t)=>{let{AssertionError:r}=e,n=Xb();function o(d,p){let h=m=>{let y=bq(t,p);t.addMethod(e.Assertion.prototype,m,y),t.addMethod(globalThis[Is].matchers,m,y)};Array.isArray(d)?d.forEach(m=>h(m)):h(d)}["throw","throws","Throw"].forEach(d=>{t.overwriteMethod(e.Assertion.prototype,d,p=>function(...h){let m=t.flag(this,"promise"),y=t.flag(this,"object"),b=t.flag(this,"negate");if(m==="rejects")t.flag(this,"object",()=>{throw y});else if(m==="resolves"&&typeof y!="function"){if(b)return;{let E=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(E,g,t.flag(this,"ssfi"))}}p.apply(this,h)})}),o("withTest",function(d){return t.flag(this,"vitest-test",d),this}),o("toEqual",function(d){let p=t.flag(this,"object"),h=st(p,d,[...n,_r]);return this.assert(h,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",d,p)}),o("toStrictEqual",function(d){let p=t.flag(this,"object"),h=st(p,d,[...n,_r,OC,Og,PC],!0);return this.assert(h,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",d,p)}),o("toBe",function(d){let p=this._obj,h=Object.is(p,d),m="";return h||(st(p,d,[...n,_r,OC,Og,PC],!0)?m="toStrictEqual":st(p,d,[...n,_r])&&(m="toEqual")),this.assert(h,Pee(m),"expected #{this} not to be #{exp} // Object.is equality",d,p)}),o("toMatchObject",function(d){let p=this._obj,h=st(p,d,[...n,_r,Ks]),m=t.flag(this,"negate"),{subset:y,stripped:b}=Iee(p,d);if(h&&m||!h&&!m){let E=t.getMessage(this,[h,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",d,y,!1]),g=b===0?E:`${E}
|
|
354
|
-
(${b} matching ${b===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:d,actual:y})}}),o("toMatch",function(d){let p=this._obj;if(typeof p!="string")throw new TypeError(`.toMatch() expects to receive a string, but got ${typeof p}`);return this.assert(typeof d=="string"?p.includes(d):p.match(d),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",d,p)}),o("toContain",function(d){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(d instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof d}`);return this.assert(p.contains(d),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",d,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){hn(d,"class name",["string"]);let h=t.flag(this,"negate")?p.value.replace(d,"").trim():`${p.value} ${d}`;return this.assert(p.contains(d),`expected "${p.value}" to contain "${d}"`,`expected "${p.value}" not to contain "${d}"`,h,p.value)}return typeof p=="string"&&typeof d=="string"?this.assert(p.includes(d),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",d,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(d))}),o("toContainEqual",function(d){let p=t.flag(this,"object"),h=Array.from(p).findIndex(m=>st(m,d,n));this.assert(h!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",d)}),o("toBeTruthy",function(){let d=t.flag(this,"object");this.assert(!!d,"expected #{this} to be truthy","expected #{this} to not be truthy",d,!1)}),o("toBeFalsy",function(){let d=t.flag(this,"object");this.assert(!d,"expected #{this} to be falsy","expected #{this} to not be falsy",d,!1)}),o("toBeGreaterThan",function(d){let p=this._obj;return hn(p,"actual",["number","bigint"]),hn(d,"expected",["number","bigint"]),this.assert(p>d,`expected ${p} to be greater than ${d}`,`expected ${p} to be not greater than ${d}`,p,d,!1)}),o("toBeGreaterThanOrEqual",function(d){let p=this._obj;return hn(p,"actual",["number","bigint"]),hn(d,"expected",["number","bigint"]),this.assert(p>=d,`expected ${p} to be greater than or equal to ${d}`,`expected ${p} to be not greater than or equal to ${d}`,p,d,!1)}),o("toBeLessThan",function(d){let p=this._obj;return hn(p,"actual",["number","bigint"]),hn(d,"expected",["number","bigint"]),this.assert(p<d,`expected ${p} to be less than ${d}`,`expected ${p} to be not less than ${d}`,p,d,!1)}),o("toBeLessThanOrEqual",function(d){let p=this._obj;return hn(p,"actual",["number","bigint"]),hn(d,"expected",["number","bigint"]),this.assert(p<=d,`expected ${p} to be less than or equal to ${d}`,`expected ${p} to be not less than or equal to ${d}`,p,d,!1)}),o("toBeNaN",function(){return this.be.NaN}),o("toBeUndefined",function(){return this.be.undefined}),o("toBeNull",function(){return this.be.null}),o("toBeDefined",function(){let d=t.flag(this,"negate");return t.flag(this,"negate",!1),d?this.be.undefined:this.not.be.undefined}),o("toBeTypeOf",function(d){let p=typeof this._obj,h=d===p;return this.assert(h,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",d,p)}),o("toBeInstanceOf",function(d){return this.instanceOf(d)}),o("toHaveLength",function(d){return this.have.length(d)}),o("toHaveProperty",function(...d){Array.isArray(d[0])&&(d[0]=d[0].map(O=>String(O).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[h,m]=d,y=()=>Object.prototype.hasOwnProperty.call(p,h)?{value:p[h],exists:!0}:t.getPathInfo(p,h),{value:b,exists:E}=y(),g=E&&(d.length===1||st(m,b,n)),w=d.length===1?"":` with value ${t.objDisplay(m)}`;return this.assert(g,`expected #{this} to have property "${h}"${w}`,`expected #{this} to not have property "${h}"${w}`,m,E?b:void 0)}),o("toBeCloseTo",function(d,p=2){let h=this._obj,m=!1,y=0,b=0;return d===Number.POSITIVE_INFINITY&&h===Number.POSITIVE_INFINITY||d===Number.NEGATIVE_INFINITY&&h===Number.NEGATIVE_INFINITY?m=!0:(y=10**-p/2,b=Math.abs(h-d),m=b<y),this.assert(m,`expected #{this} to be close to #{exp}, received difference is ${b}, but expected ${y}`,`expected #{this} to not be close to #{exp}, received difference is ${b}, but expected ${y}`,d,h,!1)});let i=d=>{if(!Yb(d._obj))throw new TypeError(`${t.inspect(d._obj)} is not a spy or a call to a spy!`)},s=d=>(i(d),d._obj),l=d=>{let p=d%10,h=d%100;return p===1&&h!==11?`${d}st`:p===2&&h!==12?`${d}nd`:p===3&&h!==13?`${d}rd`:`${d}th`},u=(d,p,h)=>(d.mock.calls&&(p+=xt.gray(`
|
|
355
|
-
|
|
356
|
-
Received:
|
|
357
|
-
|
|
358
|
-
${d.mock.calls.map((m,y)=>{let b=xt.bold(` ${l(y+1)} ${d.getMockName()} call:
|
|
359
|
-
|
|
360
|
-
`);return h?b+=bi(h,m,{omitAnnotationLines:!0}):b+=Pr(m).split(`
|
|
361
|
-
`).map(E=>` ${E}`).join(`
|
|
362
|
-
`),b+=`
|
|
363
|
-
`,b}).join(`
|
|
364
|
-
`)}`)),p+=xt.gray(`
|
|
365
|
-
|
|
366
|
-
Number of calls: ${xt.bold(d.mock.calls.length)}
|
|
367
|
-
`),p),c=(d,p,h,m)=>(h+=xt.gray(`
|
|
368
|
-
|
|
369
|
-
Received:
|
|
370
|
-
|
|
371
|
-
${p.map((y,b)=>{let E=xt.bold(` ${l(b+1)} ${d.getMockName()} call return:
|
|
372
|
-
|
|
373
|
-
`);return m?E+=bi(m,y.value,{omitAnnotationLines:!0}):E+=Pr(y).split(`
|
|
374
|
-
`).map(g=>` ${g}`).join(`
|
|
375
|
-
`),E+=`
|
|
376
|
-
`,E}).join(`
|
|
377
|
-
`)}`),h+=xt.gray(`
|
|
378
|
-
|
|
379
|
-
Number of calls: ${xt.bold(d.mock.calls.length)}
|
|
380
|
-
`),h);o(["toHaveBeenCalledTimes","toBeCalledTimes"],function(d){let p=s(this),h=p.getMockName(),m=p.mock.calls.length;return this.assert(m===d,`expected "${h}" to be called #{exp} times, but got ${m} times`,`expected "${h}" to not be called #{exp} times`,d,m,!1)}),o("toHaveBeenCalledOnce",function(){let d=s(this),p=d.getMockName(),h=d.mock.calls.length;return this.assert(h===1,`expected "${p}" to be called once, but got ${h} times`,`expected "${p}" to not be called once`,1,h,!1)}),o(["toHaveBeenCalled","toBeCalled"],function(){let d=s(this),p=d.getMockName(),h=d.mock.calls.length,m=h>0,y=t.flag(this,"negate"),b=t.getMessage(this,[m,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${h} times`,!0,m]);if(m&&y&&(b=u(d,b)),m&&y||!m&&!y)throw new r(b)}),o(["toHaveBeenCalledWith","toBeCalledWith"],function(...d){let p=s(this),h=p.getMockName(),m=p.mock.calls.some(E=>st(E,d,[...n,_r])),y=t.flag(this,"negate"),b=t.getMessage(this,[m,`expected "${h}" to be called with arguments: #{exp}`,`expected "${h}" to not be called with arguments: #{exp}`,d]);if(m&&y||!m&&!y)throw new r(u(p,b,d))}),o(["toHaveBeenNthCalledWith","nthCalledWith"],function(d,...p){let h=s(this),m=h.getMockName(),y=h.mock.calls[d-1],b=h.mock.calls.length,E=d<=b;this.assert(st(y,p,[...n,_r]),`expected ${l(d)} "${m}" call to have been called with #{exp}${E?"":`, but called only ${b} times`}`,`expected ${l(d)} "${m}" call to not have been called with #{exp}`,p,y,E)}),o(["toHaveBeenLastCalledWith","lastCalledWith"],function(...d){let p=s(this),h=p.getMockName(),m=p.mock.calls[p.mock.calls.length-1];this.assert(st(m,d,[...n,_r]),`expected last "${h}" call to have been called with #{exp}`,`expected last "${h}" call to not have been called with #{exp}`,d,m)}),o(["toThrow","toThrowError"],function(d){if(typeof d=="string"||typeof d>"u"||d instanceof RegExp)return this.throws(d);let p=this._obj,h=t.flag(this,"promise"),m=t.flag(this,"negate"),y=null;if(h==="rejects")y=p;else if(h==="resolves"&&typeof p!="function"){if(m)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",E={showDiff:!1};throw new r(b,E,t.flag(this,"ssfi"))}}else{let b=!1;try{p()}catch(E){b=!0,y=E}if(!b&&!m){let E=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(E,g,t.flag(this,"ssfi"))}}if(typeof d=="function"){let b=d.name||d.prototype.constructor.name;return this.assert(y&&y instanceof d,`expected error to be instance of ${b}`,`expected error not to be instance of ${b}`,d,y)}if(d instanceof Error)return this.assert(y&&d.message===y.message,`expected error to have message: ${d.message}`,`expected error not to have message: ${d.message}`,d.message,y&&y.message);if(typeof d=="object"&&"asymmetricMatch"in d&&typeof d.asymmetricMatch=="function"){let b=d;return this.assert(y&&b.asymmetricMatch(y),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",b,y)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof d}"`)}),[{name:"toHaveResolved",condition:d=>d.mock.settledResults.length>0&&d.mock.settledResults.some(({type:p})=>p==="fulfilled"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:d=>d.mock.calls.length>0&&d.mock.results.some(({type:p})=>p!=="throw"),action:"called"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(){let m=s(this),y=m.getMockName(),b=p(m);this.assert(b,`expected "${y}" to be successfully ${h} at least once`,`expected "${y}" to not be successfully ${h}`,b,!b,!1)})}),[{name:"toHaveResolvedTimes",condition:(d,p)=>d.mock.settledResults.reduce((h,{type:m})=>m==="fulfilled"?++h:h,0)===p,action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:(d,p)=>d.mock.results.reduce((h,{type:m})=>m==="throw"?h:++h,0)===p,action:"called"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(m){let y=s(this),b=y.getMockName(),E=p(y,m);this.assert(E,`expected "${b}" to be successfully ${h} ${m} times`,`expected "${b}" to not be successfully ${h} ${m} times`,`expected resolved times: ${m}`,`received resolved times: ${E}`,!1)})}),[{name:"toHaveResolvedWith",condition:(d,p)=>d.mock.settledResults.some(({type:h,value:m})=>h==="fulfilled"&&st(p,m)),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:(d,p)=>d.mock.results.some(({type:h,value:m})=>h==="return"&&st(p,m)),action:"return"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(m){let y=s(this),b=p(y,m),E=t.flag(this,"negate");if(b&&E||!b&&!E){let g=y.getMockName(),w=t.getMessage(this,[b,`expected "${g}" to ${h} with: #{exp} at least once`,`expected "${g}" to not ${h} with: #{exp}`,m]),O=h==="return"?y.mock.results:y.mock.settledResults;throw new r(c(y,O,w,m))}})}),[{name:"toHaveLastResolvedWith",condition:(d,p)=>{let h=d.mock.settledResults[d.mock.settledResults.length-1];return h&&h.type==="fulfilled"&&st(h.value,p)},action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:(d,p)=>{let h=d.mock.results[d.mock.results.length-1];return h&&h.type==="return"&&st(h.value,p)},action:"return"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(m){let y=s(this),b=h==="return"?y.mock.results:y.mock.settledResults,E=b[b.length-1],g=y.getMockName();this.assert(p(y,m),`expected last "${g}" call to ${h} #{exp}`,`expected last "${g}" call to not ${h} #{exp}`,m,E?.value)})}),[{name:"toHaveNthResolvedWith",condition:(d,p,h)=>{let m=d.mock.settledResults[p-1];return m&&m.type==="fulfilled"&&st(m.value,h)},action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:(d,p,h)=>{let m=d.mock.results[p-1];return m&&m.type==="return"&&st(m.value,h)},action:"return"}].forEach(({name:d,condition:p,action:h})=>{o(d,function(m,y){let b=s(this),E=b.getMockName(),g=(h==="return"?b.mock.results:b.mock.settledResults)[m-1],w=`${l(m)} call`;this.assert(p(b,m,y),`expected ${w} "${E}" call to ${h} #{exp}`,`expected ${w} "${E}" call to not ${h} #{exp}`,y,g?.value)})}),o("toSatisfy",function(d,p){return this.be.satisfy(d,p)}),o("withContext",function(d){for(let p in d)t.flag(this,p,d[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",function(){let d=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",d);let p=t.flag(this,"vitest-test"),h=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof h?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof h}'.`);let m=new Proxy(this,{get:(y,b,E)=>{let g=Reflect.get(y,b,E);return typeof g!="function"?g instanceof e.Assertion?m:g:async(...w)=>{let O=h.then(A=>(t.flag(this,"object",A),g.call(this,...w)),A=>{let S=new r(`promise rejected "${t.inspect(A)}" instead of resolving`,{showDiff:!1});throw S.cause=A,S.stack=d.stack.replace(d.message,S.message),S});return jC(p,O)}}});return m}),t.addProperty(e.Assertion.prototype,"rejects",function(){let d=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",d);let p=t.flag(this,"vitest-test"),h=t.flag(this,"object"),m=typeof h=="function"?h():h;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof m?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof m}'.`);let y=new Proxy(this,{get:(b,E,g)=>{let w=Reflect.get(b,E,g);return typeof w!="function"?w instanceof e.Assertion?y:w:async(...O)=>{let A=m.then(S=>{let T=new r(`promise resolved "${t.inspect(S)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:S});throw T.stack=d.stack.replace(d.message,T.message),T},S=>(t.flag(this,"object",S),w.call(this,...O)));return jC(p,A)}}});return y})};function Fee(e,t){let r=e._obj,n=on.flag(e,"negate"),o=on.flag(e,"promise")||"",i={...pq(),diff:bi,stringify:Pr,iterableEquality:_r,subsetEquality:Ks};return{state:{...Fu(t),customTesters:Xb(),isNot:n,utils:i,promise:o,equals:st,suppressedErrors:[],soft:on.flag(e,"soft"),poll:on.flag(e,"poll")},isNot:n,obj:r}}var FC=class extends Error{constructor(e,t,r){super(e),this.actual=t,this.expected=r}};function kee(e,t,r){return(n,o)=>{Object.entries(r).forEach(([i,s])=>{function l(...p){let{state:h,isNot:m,obj:y}=Fee(this,t),b=s.call(h,y,...p);if(b&&typeof b=="object"&&b instanceof Promise)return b.then(({pass:A,message:S,actual:T,expected:C})=>{if(A&&m||!A&&!m)throw new FC(S(),T,C)});let{pass:E,message:g,actual:w,expected:O}=b;if(E&&m||!E&&!m)throw new FC(g(),w,O)}let u=bq(o,l);o.addMethod(globalThis[Is].matchers,i,u),o.addMethod(e.Assertion.prototype,i,u);class c extends ro{constructor(h=!1,...m){super(m,h)}asymmetricMatch(h){let{pass:m}=s.call(this.getMatcherContext(t),h,...this.sample);return this.inverse?!m:m}toString(){return`${this.inverse?"not.":""}${i}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(String).join(", ")}>`}}let d=(...p)=>new c(!1,...p);Object.defineProperty(t,i,{configurable:!0,enumerable:!0,value:d,writable:!0}),Object.defineProperty(t.not,i,{configurable:!0,enumerable:!0,value:(...p)=>new c(!0,...p),writable:!0}),Object.defineProperty(globalThis[qg],i,{configurable:!0,enumerable:!0,value:d,writable:!0})})}}var Lee=(e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{_s(kee(e,r,n))})};function $ee(){_s(Lee),_s(jee),_s(Bee);let e=(n,o)=>{let{assertionCalls:i}=Fu(e);return Hy({assertionCalls:i+1,soft:!1},e),ko(n,o)};Object.assign(e,ko),e.getState=()=>Fu(e),e.setState=n=>Hy(n,e),e.extend=n=>ko.extend(e,n),e.soft=(...n)=>{let o=e(...n);return e.setState({soft:!0}),o},e.unreachable=n=>{U.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let o=()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`);"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(o(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:o})}function r(){let n=new Error("expected any number of assertion, but got none");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(n,r),e.setState({isExpectingAssertions:!0,isExpectingAssertionsError:n})}return Hy({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),on.addMethod(e,"assertions",t),on.addMethod(e,"hasAssertions",r),e.extend(xT),e}var vq=$ee();Object.defineProperty(globalThis,Kb,{value:vq,writable:!0,configurable:!0});var Pg=new Set;function Eq(e){return Pg.add(e),()=>void Pg.delete(e)}var Uee=(...e)=>{let t=see(...e);return _q(t)};function wq(e){let t=e?AC(e):AC();return _q(t)}function _q(e){let t=kC(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>kC(r(n)),t}function kC(e){let t=ju(e),r=t.impl;return t.willCall(function(...n){return Pg.forEach(o=>o(e,n)),r?.apply(this,n)}),e}function Sq(){Ys.forEach(e=>e.mockClear())}function Aq(){Ys.forEach(e=>e.mockReset())}function Cq(){Ys.forEach(e=>e.mockRestore())}function Hee(e,t={}){return e}var Rq={};Ju(Rq,{buildQueries:()=>An,configure:()=>ere,createEvent:()=>Ru,findAllByAltText:()=>OO,findAllByDisplayValue:()=>AO,findAllByLabelText:()=>nO,findAllByPlaceholderText:()=>pO,findAllByRole:()=>HO,findAllByTestId:()=>KO,findAllByText:()=>bO,findAllByTitle:()=>BO,findByAltText:()=>PO,findByDisplayValue:()=>CO,findByLabelText:()=>oO,findByPlaceholderText:()=>fO,findByRole:()=>zO,findByTestId:()=>JO,findByText:()=>vO,findByTitle:()=>jO,fireEvent:()=>Fs,getAllByAltText:()=>xO,getAllByDisplayValue:()=>_O,getAllByLabelText:()=>aO,getAllByPlaceholderText:()=>cO,getAllByRole:()=>$O,getAllByTestId:()=>WO,getAllByText:()=>yO,getAllByTitle:()=>MO,getByAltText:()=>qO,getByDisplayValue:()=>SO,getByLabelText:()=>iO,getByPlaceholderText:()=>dO,getByRole:()=>UO,getByTestId:()=>YO,getByText:()=>gO,getByTitle:()=>NO,getConfig:()=>at,getDefaultNormalizer:()=>ov,getElementError:()=>_c,getMultipleElementsFoundError:()=>Sc,getNodeText:()=>Js,getQueriesForElement:()=>$g,getRoles:()=>Jq,getSuggestedQuery:()=>$u,isInaccessible:()=>wc,logDOM:()=>Dg,logRoles:()=>are,makeFindQuery:()=>Ei,makeGetAllQuery:()=>sv,makeSingleQuery:()=>vi,prettyDOM:()=>Bs,prettyFormat:()=>Zb,queries:()=>Uu,queryAllByAltText:()=>RO,queryAllByAttribute:()=>Yo,queryAllByDisplayValue:()=>EO,queryAllByLabelText:()=>sO,queryAllByPlaceholderText:()=>lO,queryAllByRole:()=>kO,queryAllByTestId:()=>VO,queryAllByText:()=>hO,queryAllByTitle:()=>DO,queryByAltText:()=>TO,queryByAttribute:()=>Qq,queryByDisplayValue:()=>wO,queryByLabelText:()=>tO,queryByPlaceholderText:()=>uO,queryByRole:()=>LO,queryByTestId:()=>GO,queryByText:()=>mO,queryByTitle:()=>IO,queryHelpers:()=>vre,screen:()=>Wre,waitFor:()=>iv,waitForElementToBeRemoved:()=>Lre,within:()=>$g,wrapAllByQueryWithSuggestion:()=>gr,wrapSingleQueryWithSuggestion:()=>Qn});var Zb=Sr(GY()),zee=Object.prototype.toString;function LC(e){return typeof e=="function"||zee.call(e)==="[object Function]"}function Vee(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var Gee=Math.pow(2,53)-1;function Wee(e){var t=Vee(e);return Math.min(Math.max(t,0),Gee)}function Ur(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!LC(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=Wee(n.length),i=LC(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function Ms(e){"@babel/helpers - typeof";return Ms=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},Ms(e)}function Yee(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function $C(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,Tq(n.key),n)}}function Kee(e,t,r){return t&&$C(e.prototype,t),r&&$C(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Jee(e,t,r){return t=Tq(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Tq(e){var t=Xee(e,"string");return Ms(t)==="symbol"?t:String(t)}function Xee(e,t){if(Ms(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ms(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Qee=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Yee(this,e),Jee(this,"items",void 0),this.items=t}return Kee(e,[{key:"add",value:function(t){return this.has(t)===!1&&this.items.push(t),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length}},{key:"forEach",value:function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})}},{key:"has",value:function(t){return this.items.indexOf(t)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),Zee=typeof Set>"u"?Set:Qee;function sr(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var ete={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},tte={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function rte(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=tte[t])!==null&&n!==void 0&&n.has(r))})}function xq(e,t){return rte(e,t)}function nte(e){var t=ate(e);if(t===null||t==="presentation"){var r=ote(e);if(t!=="presentation"||xq(e,r||""))return r}return t}function ote(e){var t=ete[sr(e)];if(t!==void 0)return t;switch(sr(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!xq(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function ate(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function St(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function qq(e){return St(e)&&sr(e)==="caption"}function Cu(e){return St(e)&&sr(e)==="input"}function ite(e){return St(e)&&sr(e)==="optgroup"}function ste(e){return St(e)&&sr(e)==="select"}function lte(e){return St(e)&&sr(e)==="table"}function ute(e){return St(e)&&sr(e)==="textarea"}function cte(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function dte(e){return St(e)&&sr(e)==="fieldset"}function pte(e){return St(e)&&sr(e)==="legend"}function fte(e){return St(e)&&sr(e)==="slot"}function hte(e){return St(e)&&e.ownerSVGElement!==void 0}function mte(e){return St(e)&&sr(e)==="svg"}function yte(e){return hte(e)&&sr(e)==="title"}function Lu(e,t){if(St(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function gn(e,t){return St(e)?t.indexOf(nte(e))!==-1:!1}function gte(e){return e.trim().replace(/\s\s+/g," ")}function bte(e,t){if(!St(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function vte(e){return gn(e,["button","combobox","listbox","textbox"])||Oq(e,"range")}function Oq(e,t){if(!St(e))return!1;switch(t){case"range":return gn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function UC(e,t){var r=Ur(e.querySelectorAll(t));return Lu(e,"aria-owns").forEach(function(n){r.push.apply(r,Ur(n.querySelectorAll(t)))}),r}function Ete(e){return ste(e)?e.selectedOptions||UC(e,"[selected]"):UC(e,'[aria-selected="true"]')}function wte(e){return gn(e,["none","presentation"])}function _te(e){return qq(e)}function Ste(e){return gn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function Ate(e){return!1}function Cte(e){return Cu(e)||ute(e)?e.value:e.textContent||""}function HC(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function Pq(e){var t=sr(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function Dq(e){if(Pq(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&St(r)){var n=Dq(r);n!==null&&(t=n)}}),t}function Rte(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Dq(e)}function Tte(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ur(t);if(!Pq(e))return null;var r=e.ownerDocument;return Ur(r.querySelectorAll("label")).filter(function(n){return Rte(n)===e})}function xte(e){var t=e.assignedNodes();return t.length===0?Ur(e.childNodes):t}function Iq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new Zee,n=cte(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,d=t.hidden,p=d===void 0?!1:d;function h(g,w){var O="";if(St(g)&&l){var A=c(g,"::before"),S=HC(A);O="".concat(S," ").concat(O)}var T=fte(g)?xte(g):Ur(g.childNodes).concat(Lu(g,"aria-owns"));if(T.forEach(function(I){var W=E(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=St(I)?c(I).getPropertyValue("display"):"inline",Y=X!=="inline"?" ":"";O+="".concat(Y).concat(W).concat(Y)}),St(g)&&l){var C=c(g,"::after"),x=HC(C);O="".concat(O," ").concat(x)}return O.trim()}function m(g,w){var O=g.getAttributeNode(w);return O!==null&&!r.has(O)&&O.value.trim()!==""?(r.add(O),O.value):null}function y(g){return St(g)?m(g,"title"):null}function b(g){if(!St(g))return null;if(dte(g)){r.add(g);for(var w=Ur(g.childNodes),O=0;O<w.length;O+=1){var A=w[O];if(pte(A))return E(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(lte(g)){r.add(g);for(var S=Ur(g.childNodes),T=0;T<S.length;T+=1){var C=S[T];if(qq(C))return E(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(mte(g)){r.add(g);for(var x=Ur(g.childNodes),I=0;I<x.length;I+=1){var W=x[I];if(yte(W))return W.textContent}return null}else if(sr(g)==="img"||sr(g)==="area"){var X=m(g,"alt");if(X!==null)return X}else if(ite(g)){var Y=m(g,"label");if(Y!==null)return Y}if(Cu(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var K=m(g,"value");if(K!==null)return K;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var _=Tte(g);if(_!==null&&_.length!==0)return r.add(g),Ur(_).map(function(ce){return E(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if(Cu(g)&&g.type==="image"){var P=m(g,"alt");if(P!==null)return P;var N=m(g,"title");return N!==null?N:"Submit Query"}if(gn(g,["button"])){var le=h(g,{isEmbeddedInLabel:!1,isReferenced:!1});if(le!=="")return le}return null}function E(g,w){if(r.has(g))return"";if(!p&&bte(g,c)&&!w.isReferenced)return r.add(g),"";var O=St(g)?g.getAttributeNode("aria-labelledby"):null,A=O!==null&&!r.has(O)?Lu(g,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&A.length>0)return r.add(O),A.map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var S=w.recursion&&vte(g)&&i==="name";if(!S){var T=(St(g)&&g.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(g),T;if(!wte(g)){var C=b(g);if(C!==null)return r.add(g),C}}if(gn(g,["menu"]))return r.add(g),"";if(S||w.isEmbeddedInLabel||w.isReferenced){if(gn(g,["combobox","listbox"])){r.add(g);var x=Ete(g);return x.length===0?Cu(g)?g.value:"":Ur(x).map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(Oq(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(gn(g,["textbox"]))return r.add(g),Cte(g)}if(Ste(g)||St(g)&&w.isReferenced||_te(g)||Ate(g)){var I=h(g,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(I!=="")return r.add(g),I}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(w.recursion)return r.add(g),h(g,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var W=y(g);return W!==null?(r.add(g),W):(r.add(g),"")}return gte(E(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function Ns(e){"@babel/helpers - typeof";return Ns=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},Ns(e)}function zC(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function VC(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?zC(Object(r),!0).forEach(function(n){qte(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):zC(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function qte(e,t,r){return t=Ote(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Ote(e){var t=Pte(e,"string");return Ns(t)==="symbol"?t:String(t)}function Pte(e,t){if(Ns(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ns(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function Mq(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Lu(e,"aria-describedby").map(function(o){return Iq(o,VC(VC({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Dte(e){return gn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function ev(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Dte(e)?"":Iq(e,t)}var xr=Sr(Kg()),Ite=Sr(WY());function Nq(e){return e.replace(/</g,"<").replace(/>/g,">")}var Mte=(e,t,r,n,o,i,s)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
|
|
381
|
-
`)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},Nte=3,Bte=(e,t,r,n,o,i)=>e.map(s=>{let l=typeof s=="string"?Bq(s,t):i(s,t,r,n,o);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==Nte?"":t.spacingOuter+r+l}).join(""),Bq=(e,t)=>{let r=t.colors.content;return r.open+Nq(e)+r.close},jte=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+Nq(e)+"-->"+r.close},Fte=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},kte=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},Lte=1,jq=3,Fq=8,kq=11,$te=/^((HTML|SVG)\w*)?Element$/,Lq=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},Ute=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===Lte&&($te.test(t)||Lq(e))||r===jq&&t==="Text"||r===Fq&&t==="Comment"||r===kq&&t==="DocumentFragment"};function Hte(e){return e.nodeType===jq}function zte(e){return e.nodeType===Fq}function Vy(e){return e.nodeType===kq}function Vte(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Lq(t))&&Ute(t)},serialize:(t,r,n,o,i,s)=>{if(Hte(t))return Bq(t.data,r);if(zte(t))return jte(t.data,r);let l=Vy(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?kte(l,r):Fte(l,Mte(Vy(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Vy(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,o,i,s),Bte(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,s),r,n)}}}var $q=null,tv=null,rv=null;try{let e=jo&&jo.require;tv=e.call(jo,"fs").readFileSync,rv=e.call(jo,"@babel/code-frame").codeFrameColumns,$q=e.call(jo,"chalk")}catch{}function Gte(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,s,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=tv(i,"utf-8")}catch{return""}let c=rv(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return $q.dim(n)+`
|
|
382
|
-
`+c+`
|
|
383
|
-
`}function Wte(){if(!tv||!rv)return"";let e=new Error().stack.split(`
|
|
384
|
-
`).slice(1).find(t=>!t.includes("node_modules/"));return Gte(e)}var Uq=3;function Gy(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function nv(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function Hq(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Sn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var Yte=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:Kte}=Zb.plugins,Jte=1,Xte=8;function Qte(e){return e.nodeType!==Xte&&(e.nodeType!==Jte||!e.matches(at().defaultIgnore))}function Bs(e,t,r){if(r===void 0&&(r={}),e||(e=nv().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=Qte,...i}=r,s=Zb.format(e,{plugins:[Vte(o),Kte],printFunctionName:!1,highlight:Yte(),...i});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}var Dg=function(){let e=Wte();console.log(e?Bs(...arguments)+`
|
|
385
|
-
|
|
386
|
-
`+e:Bs(...arguments))},Lo={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Bs(t),n=new Error([e,"Ignored nodes: comments, "+Lo.defaultIgnore+`
|
|
387
|
-
`+r].filter(Boolean).join(`
|
|
388
|
-
|
|
389
|
-
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Zte(e){try{return Lo._disableExpensiveErrorDiagnostics=!0,e()}finally{Lo._disableExpensiveErrorDiagnostics=!1}}function ere(e){typeof e=="function"&&(e=e(Lo)),Lo={...Lo,...e}}function at(){return Lo}var tre=["button","meter","output","progress","select","textarea","input"];function zq(e){return tre.includes(e.nodeName.toLowerCase())?"":e.nodeType===Uq?e.textContent:Array.from(e.childNodes).map(t=>zq(t)).join("")}function Ig(e){let t;return e.tagName.toLowerCase()==="label"?t=zq(e):t=e.value||e.textContent,t}function Vq(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!rre(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function rre(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function Gq(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(s=>{let l=e.querySelector('[id="'+s+'"]');return l?{content:Ig(l),formControl:null}:{content:"",formControl:null}}):Array.from(Vq(t)).map(s=>{let l=Ig(s),u=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}function Wq(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function qi(e,t,r,n){if(typeof e!="string")return!1;Wq(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):Yq(r,o)}function vn(e,t,r,n){if(typeof e!="string")return!1;Wq(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?Yq(r,o):o===String(r)}function ov(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function Wo(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return ov({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function Yq(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function Js(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Uq&&!!t.textContent).map(t=>t.textContent).join("")}var nre=ore(xr.elementRoles);function Kq(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function wc(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Kq}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let n=e;for(;n;){if(r(n))return!0;n=n.parentElement}return!1}function av(e){for(let{match:t,roles:r}of nre)if(t(e))return[...r];return[]}function ore(e){function t(s){let{name:l,attributes:u}=s;return""+l+u.map(c=>{let{name:d,value:p,constraints:h=[]}=c,m=h.indexOf("undefined")!==-1,y=h.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':m?":not(["+d+"])":y?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}function r(s){let{attributes:l=[]}=s;return l.length}function n(s,l){let{specificity:u}=s,{specificity:c}=l;return c-u}function o(s){let{attributes:l=[]}=s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...s,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}function Jq(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,s)=>[...i,...n(s)],[])]}return n(e).filter(o=>r===!1?wc(o)===!1:!0).reduce((o,i)=>{let s=[];return i.hasAttribute("role")?s=i.getAttribute("role").split(" ").slice(0,1):s=av(i),s.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},o)},{})}function Xq(e,t){let{hidden:r,includeDescription:n}=t,o=Jq(e,{hidden:r});return Object.entries(o).filter(i=>{let[s]=i;return s!=="generic"}).map(i=>{let[s,l]=i,u="-".repeat(50),c=l.map(d=>{let p='Name "'+ev(d,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements})+`":
|
|
390
|
-
`,h=Bs(d.cloneNode(!1));if(n){let m='Description "'+Mq(d,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements})+`":
|
|
391
|
-
`;return""+p+m+h}return""+p+h}).join(`
|
|
392
|
-
|
|
393
|
-
`);return s+`:
|
|
394
|
-
|
|
395
|
-
`+c+`
|
|
396
|
-
|
|
397
|
-
`+u}).join(`
|
|
398
|
-
`)}var are=function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(Xq(e,{hidden:r}))};function ire(e){return e.tagName==="OPTION"?e.selected:Xs(e,"aria-selected")}function sre(e){return e.getAttribute("aria-busy")==="true"}function lre(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:Xs(e,"aria-checked")}function ure(e){return Xs(e,"aria-pressed")}function cre(e){var t,r;return(t=(r=Xs(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function dre(e){return Xs(e,"aria-expanded")}function Xs(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function pre(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function fre(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function hre(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function mre(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function yre(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var GC=ov();function gre(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function WC(e){return new RegExp(gre(e.toLowerCase()),"i")}function Hn(e,t,r,n){let{variant:o,name:i}=n,s="",l={},u=[["Role","TestId"].includes(e)?r:WC(r)];i&&(l.name=WC(i)),e==="Role"&&wc(t)&&(l.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
399
|
-
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
400
|
-
`),Object.keys(l).length>0&&u.push(l);let c=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:o,warning:s,toString(){s&&console.warn(s);let[d,p]=u;return d=typeof d=="string"?"'"+d+"'":d,p=p?", { "+Object.entries(p).map(h=>{let[m,y]=h;return m+": "+y}).join(", ")+" }":"",c+"("+d+p+")"}}}function zn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function $u(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(at().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=av(e))==null?void 0:o[0];if(i!=="generic"&&zn("Role",r,i))return Hn("Role",e,i,{variant:t,name:ev(e,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements})});let s=Gq(document,e).map(h=>h.content).join(" ");if(zn("LabelText",r,s))return Hn("LabelText",e,s,{variant:t});let l=e.getAttribute("placeholder");if(zn("PlaceholderText",r,l))return Hn("PlaceholderText",e,l,{variant:t});let u=GC(Js(e));if(zn("Text",r,u))return Hn("Text",e,u,{variant:t});if(zn("DisplayValue",r,e.value))return Hn("DisplayValue",e,GC(e.value),{variant:t});let c=e.getAttribute("alt");if(zn("AltText",r,c))return Hn("AltText",e,c,{variant:t});let d=e.getAttribute("title");if(zn("Title",r,d))return Hn("Title",e,d,{variant:t});let p=e.getAttribute(at().testIdAttribute);if(zn("TestId",r,p))return Hn("TestId",e,p,{variant:t})}function mu(e,t){e.stack=t.stack.replace(t.message,e.message)}function bre(e,t){let{container:r=nv(),timeout:n=at().asyncUtilTimeout,showOriginalStackTrace:o=at().showOriginalStackTrace,stackTraceError:i,interval:s=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:at().getElementError(c.message,r).message}),c),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,d)=>{let p,h,m,y=!1,b="idle",E=setTimeout(S,n),g=Gy();if(g){let{unstable_advanceTimersWrapper:T}=at();for(A();!y;){if(!Gy()){let C=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||mu(C,i),d(C);return}if(await T(async()=>{jest.advanceTimersByTime(s)}),y)break;A()}}else{try{Sn(r)}catch(C){d(C);return}h=setInterval(O,s);let{MutationObserver:T}=Hq(r);m=new T(O),m.observe(r,u),A()}function w(T,C){y=!0,clearTimeout(E),g||(clearInterval(h),m.disconnect()),T?d(T):c(C)}function O(){if(Gy()){let T=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||mu(T,i),d(T)}else return A()}function A(){if(b!=="pending")try{let T=Zte(e);typeof T?.then=="function"?(b="pending",T.then(C=>{b="resolved",w(null,C)},C=>{b="rejected",p=C})):w(null,T)}catch(T){p=T}}function S(){let T;p?(T=p,!o&&T.name==="TestingLibraryElementError"&&mu(T,i)):(T=new Error("Timed out in waitFor."),o||mu(T,i)),w(l(T),null)}})}function iv(e,t){let r=new Error("STACK_TRACE_MESSAGE");return at().asyncWrapper(()=>bre(e,{stackTraceError:r,...t}))}function _c(e,t){return at().getElementError(e,t)}function Sc(e,t){return _c(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function Yo(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=n===void 0?{}:n,u=o?vn:qi,c=Wo({collapseWhitespace:i,trim:s,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>u(d.getAttribute(e),d,r,c))}function Qq(e,t,r,n){let o=Yo(e,t,r,n);if(o.length>1)throw Sc("Found multiple elements by ["+e+"="+r+"]",t);return o[0]||null}function vi(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(s.length>1){let l=s.map(u=>_c(null,u).message).join(`
|
|
401
|
-
|
|
402
|
-
`);throw Sc(t(r,...o)+`
|
|
403
|
-
|
|
404
|
-
Here are the matching elements:
|
|
405
|
-
|
|
406
|
-
`+l,r)}return s[0]||null}}function Zq(e,t){return at().getElementError(`A better query is available, try this:
|
|
407
|
-
`+e.toString()+`
|
|
408
|
-
`,t)}function sv(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(!s.length)throw at().getElementError(t(r,...o),r);return s}}function Ei(e){return(t,r,n,o)=>iv(()=>e(t,r,n),{container:t,...o})}var Qn=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=at().throwSuggestions}={}]=i.slice(-1);if(l&&u){let c=$u(l,r);if(c&&!t.endsWith(c.queryName))throw Zq(c.toString(),n)}return l},gr=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=at().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){let c=[...new Set(l.map(d=>{var p;return(p=$u(d,r))==null?void 0:p.toString()}))];if(c.length===1&&!t.endsWith($u(l[0],r).queryName))throw Zq(c[0],n)}return l};function An(e,t,r){let n=Qn(vi(e,t),e.name,"query"),o=sv(e,r),i=vi(o,t),s=Qn(i,e.name,"get"),l=gr(o,e.name.replace("query","get"),"getAll"),u=Ei(gr(o,e.name,"findAll")),c=Ei(Qn(i,e.name,"find"));return[n,l,s,u,c]}var vre=Object.freeze({__proto__:null,getElementError:_c,wrapAllByQueryWithSuggestion:gr,wrapSingleQueryWithSuggestion:Qn,getMultipleElementsFoundError:Sc,queryAllByAttribute:Yo,queryByAttribute:Qq,makeSingleQuery:vi,makeGetAllQuery:sv,makeFindQuery:Ei,buildQueries:An});function Ere(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Ig(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var wre=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:s}=r===void 0?{}:r,l=n?vn:qi,u=Wo({collapseWhitespace:i,trim:o,normalizer:s});return Ere(e).filter(c=>{let{node:d,textToMatch:p}=c;return l(p,d,t,u)}).map(c=>{let{node:d}=c;return d})},js=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=r===void 0?{}:r;Sn(e);let u=o?vn:qi,c=Wo({collapseWhitespace:i,trim:s,normalizer:l}),d=Array.from(e.querySelectorAll("*")).filter(p=>Vq(p).length||p.hasAttribute("aria-labelledby")).reduce((p,h)=>{let m=Gq(e,h,{selector:n});m.filter(b=>!!b.formControl).forEach(b=>{u(b.content,b.formControl,t,c)&&b.formControl&&p.push(b.formControl)});let y=m.filter(b=>!!b.content).map(b=>b.content);return u(y.join(" "),h,t,c)&&p.push(h),y.length>1&&y.forEach((b,E)=>{u(b,h,t,c)&&p.push(h);let g=[...y];g.splice(E,1),g.length>1&&u(g.join(" "),h,t,c)&&p.push(h)}),p},[]).concat(Yo("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(d)).filter(p=>p.matches(n))},Ho=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let i=js(e,t,...n);if(!i.length){let s=wre(e,t,...n);if(s.length){let l=s.map(u=>_re(e,u)).filter(u=>!!u);throw l.length?at().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
409
|
-
|
|
410
|
-
`),e):at().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw at().getElementError("Unable to find a label with the text of: "+t,e)}return i};function _re(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var eO=(e,t)=>"Found multiple elements with the text of: "+t,tO=Qn(vi(js,eO),js.name,"query"),rO=vi(Ho,eO),nO=Ei(gr(Ho,Ho.name,"findAll")),oO=Ei(Qn(rO,Ho.name,"find")),aO=gr(Ho,Ho.name,"getAll"),iO=Qn(rO,Ho.name,"get"),sO=gr(js,js.name,"queryAll"),Mg=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Sn(t[0]),Yo("placeholder",...t)},Sre=(e,t)=>"Found multiple elements with the placeholder text of: "+t,Are=(e,t)=>"Unable to find an element with the placeholder text of: "+t,lO=gr(Mg,Mg.name,"queryAll"),[uO,cO,dO,pO,fO]=An(Mg,Sre,Are),Ng=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,ignore:l=at().defaultIgnore,normalizer:u}=r===void 0?{}:r;Sn(e);let c=o?vn:qi,d=Wo({collapseWhitespace:i,trim:s,normalizer:u}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(h=>!l||!h.matches(l)).filter(h=>c(Js(h),h,t,d))},Cre=(e,t)=>"Found multiple elements with the text: "+t,Rre=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:s}=r,l=Wo({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),u=l!==t.toString(),c=(s??"*")!=="*";return"Unable to find an element with the text: "+(u?l+" (normalized from '"+t+"')":t)+(c?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},hO=gr(Ng,Ng.name,"queryAll"),[mO,yO,gO,bO,vO]=An(Ng,Cre,Rre),Bg=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Sn(e);let l=n?vn:qi,u=Wo({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(d=>d.selected).some(d=>l(Js(d),d,t,u)):l(c.value,c,t,u))},Tre=(e,t)=>"Found multiple elements with the display value: "+t+".",xre=(e,t)=>"Unable to find an element with the display value: "+t+".",EO=gr(Bg,Bg.name,"queryAll"),[wO,_O,SO,AO,CO]=An(Bg,Tre,xre),qre=/^(img|input|area|.+-.+)$/i,jg=function(e,t,r){return r===void 0&&(r={}),Sn(e),Yo("alt",e,t,r).filter(n=>qre.test(n.tagName))},Ore=(e,t)=>"Found multiple elements with the alt text: "+t,Pre=(e,t)=>"Unable to find an element with the alt text: "+t,RO=gr(jg,jg.name,"queryAll"),[TO,xO,qO,OO,PO]=An(jg,Ore,Pre),Dre=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},Fg=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Sn(e);let l=n?vn:qi,u=Wo({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||Dre(c)&&l(Js(c),c,t,u))},Ire=(e,t)=>"Found multiple elements with the title: "+t+".",Mre=(e,t)=>"Unable to find an element with the title: "+t+".",DO=gr(Fg,Fg.name,"queryAll"),[IO,MO,NO,BO,jO]=An(Fg,Ire,Mre),kg=function(e,t,r){let{hidden:n=at().defaultHidden,name:o,description:i,queryFallbacks:s=!1,selected:l,busy:u,checked:c,pressed:d,current:p,level:h,expanded:m,value:{now:y,min:b,max:E,text:g}={}}=r===void 0?{}:r;if(Sn(e),l!==void 0){var w;if(((w=xr.roles.get(t))==null?void 0:w.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var O;if(((O=xr.roles.get(t))==null?void 0:O.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var A;if(((A=xr.roles.get(t))==null?void 0:A.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var S;if(((S=xr.roles.get(t))==null?void 0:S.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var T;if(((T=xr.roles.get(t))==null?void 0:T.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(y!==void 0){var C;if(((C=xr.roles.get(t))==null?void 0:C.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var x;if(((x=xr.roles.get(t))==null?void 0:x.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var I;if(((I=xr.roles.get(t))==null?void 0:I.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(g!==void 0){var W;if(((W=xr.roles.get(t))==null?void 0:W.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(m!==void 0){var X;if(((X=xr.roles.get(t))==null?void 0:X.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let Y=new WeakMap;function K(_){return Y.has(_)||Y.set(_,Kq(_)),Y.get(_)}return Array.from(e.querySelectorAll(Nre(t))).filter(_=>{if(_.hasAttribute("role")){let P=_.getAttribute("role");if(s)return P.split(" ").filter(Boolean).some(le=>le===t);let[N]=P.split(" ");return N===t}return av(_).some(P=>P===t)}).filter(_=>{if(l!==void 0)return l===ire(_);if(u!==void 0)return u===sre(_);if(c!==void 0)return c===lre(_);if(d!==void 0)return d===ure(_);if(p!==void 0)return p===cre(_);if(m!==void 0)return m===dre(_);if(h!==void 0)return h===pre(_);if(y!==void 0||E!==void 0||b!==void 0||g!==void 0){let N=!0;if(y!==void 0&&N&&(N=y===fre(_)),E!==void 0&&N&&(N=E===hre(_)),b!==void 0&&N&&(N=b===mre(_)),g!==void 0){var P;N&&(N=vn((P=yre(_))!=null?P:null,_,g,le=>le))}return N}return!0}).filter(_=>o===void 0?!0:vn(ev(_,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements}),_,o,P=>P)).filter(_=>i===void 0?!0:vn(Mq(_,{computedStyleSupportsPseudoElements:at().computedStyleSupportsPseudoElements}),_,i,P=>P)).filter(_=>n===!1?wc(_,{isSubtreeInaccessible:K})===!1:!0)};function Nre(e){var t;let r='*[role~="'+e+'"]',n=(t=xr.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:s}=i;return s}));return[r].concat(Array.from(o)).join(",")}var FO=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},Bre=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+FO(n)},jre=function(e,t,r){let{hidden:n=at().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(at()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+FO(o);let s="";Array.from(e.children).forEach(d=>{s+=Xq(d,{hidden:n,includeDescription:i!==void 0})});let l;s.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
|
|
411
|
-
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
412
|
-
|
|
413
|
-
`+s.replace(/\n/g,`
|
|
414
|
-
`).replace(/\n\s\s\n/g,`
|
|
415
|
-
|
|
416
|
-
`)+`
|
|
417
|
-
`).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";let c="";return i===void 0?c="":typeof i=="string"?c=' and description "'+i+'"':c=" and description `"+i+"`",(`
|
|
418
|
-
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
|
|
419
|
-
|
|
420
|
-
`+l).trim()},kO=gr(kg,kg.name,"queryAll"),[LO,$O,UO,HO,zO]=An(kg,Bre,jre),lv=()=>at().testIdAttribute,Lg=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Sn(t[0]),Yo(lv(),...t)},Fre=(e,t)=>"Found multiple elements by: ["+lv()+'="'+t+'"]',kre=(e,t)=>"Unable to find an element by: ["+lv()+'="'+t+'"]',VO=gr(Lg,Lg.name,"queryAll"),[GO,WO,YO,KO,JO]=An(Lg,Fre,kre),Uu=Object.freeze({__proto__:null,queryAllByLabelText:sO,queryByLabelText:tO,getAllByLabelText:aO,getByLabelText:iO,findAllByLabelText:nO,findByLabelText:oO,queryByPlaceholderText:uO,queryAllByPlaceholderText:lO,getByPlaceholderText:dO,getAllByPlaceholderText:cO,findAllByPlaceholderText:pO,findByPlaceholderText:fO,queryByText:mO,queryAllByText:hO,getByText:gO,getAllByText:yO,findAllByText:bO,findByText:vO,queryByDisplayValue:wO,queryAllByDisplayValue:EO,getByDisplayValue:SO,getAllByDisplayValue:_O,findAllByDisplayValue:AO,findByDisplayValue:CO,queryByAltText:TO,queryAllByAltText:RO,getByAltText:qO,getAllByAltText:xO,findAllByAltText:OO,findByAltText:PO,queryByTitle:IO,queryAllByTitle:DO,getByTitle:NO,getAllByTitle:MO,findAllByTitle:BO,findByTitle:jO,queryByRole:LO,queryAllByRole:kO,getAllByRole:$O,getByRole:UO,findAllByRole:HO,findByRole:zO,queryByTestId:GO,queryAllByTestId:VO,getByTestId:YO,getAllByTestId:WO,findAllByTestId:KO,findByTestId:JO});function $g(e,t,r){return t===void 0&&(t=Uu),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var XO=e=>!e||Array.isArray(e)&&!e.length;function YC(e){if(XO(e))throw new Error("The element(s) given to waitForElementToBeRemoved are already removed. waitForElementToBeRemoved requires that the element(s) exist(s) before waiting for removal.")}async function Lre(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){YC(e);let n=(Array.isArray(e)?e:[e]).map(o=>{let i=o.parentElement;if(i===null)return()=>null;for(;i.parentElement;)i=i.parentElement;return()=>i.contains(o)?o:null});e=()=>n.map(o=>o()).filter(Boolean)}return YC(e()),iv(()=>{let n;try{n=e()}catch(o){if(o.name==="TestingLibraryElementError")return;throw o}if(!XO(n))throw r},t)}var KC={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},JC={doubleClick:"dblClick"};function Fs(e,t){return at().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Ru(e,t,r,n){let{EventType:o="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...i,...r},{target:{value:l,files:u,...c}={}}=s;l!==void 0&&$re(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let d=Hq(t),p=d[o]||d.Event,h;if(typeof p=="function")h=new p(e,s);else{h=d.document.createEvent(o);let{bubbles:m,cancelable:y,detail:b,...E}=s;h.initEvent(e,m,y,b),Object.keys(E).forEach(g=>{h[g]=E[g]})}return["dataTransfer","clipboardData"].forEach(m=>{let y=s[m];typeof y=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(h,m,{value:Object.getOwnPropertyNames(y).reduce((b,E)=>(Object.defineProperty(b,E,{value:y[E]}),b),new d.DataTransfer)}):Object.defineProperty(h,m,{value:y}))}),h}Object.keys(KC).forEach(e=>{let{EventType:t,defaultInit:r}=KC[e],n=e.toLowerCase();Ru[e]=(o,i)=>Ru(n,o,i,{EventType:t,defaultInit:r}),Fs[e]=(o,i)=>Fs(o,Ru[e](o,i))});function $re(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(JC).forEach(e=>{let t=JC[e];Fs[e]=function(){return Fs[t](...arguments)}});function Ure(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
421
|
-
`)}function Hre(e){return Ite.default.compressToEncodedURIComponent(Ure(e))}function zre(e){return"https://testing-playground.com/#markup="+Hre(e)}var Vre=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Dg(n,t,r)):Dg(e,t,r),Gre=function(e){if(e===void 0&&(e=nv().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=zre(e.innerHTML);return console.log(`Open this URL in your browser
|
|
422
|
-
|
|
423
|
-
`+t),t},XC={debug:Vre,logTestingPlaygroundURL:Gre},Wre=typeof document<"u"&&document.body?$g(document.body,Uu,XC):Object.keys(Uu).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),XC);function rt(e,t,r){return e.namespaceURI&&e.namespaceURI!=="http://www.w3.org/1999/xhtml"||(t=Array.isArray(t)?t:[t],!t.includes(e.tagName.toLowerCase()))?!1:r?Object.entries(r).every(([n,o])=>e[n]===o):!0}var Ug;(function(e){e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio"})(Ug||(Ug={}));function QO(e){return rt(e,"button")||rt(e,"input")&&e.type in Ug}function sn(e){var t;if(Yre(e)&&e.defaultView)return e.defaultView;if(!((t=e.ownerDocument)===null||t===void 0)&&t.defaultView)return e.ownerDocument.defaultView;throw new Error(`Could not determine window of node. Node was ${Kre(e)}`)}function Yre(e){return e.nodeType===9}function Kre(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}function ZO(e,t){return new Promise((r,n)=>{let o=new t;o.onerror=n,o.onabort=n,o.onload=()=>{r(String(o.result))},o.readAsText(e)})}function uv(e,t){let r={...t,length:t.length,item:n=>r[n],[Symbol.iterator]:function*(){for(let n=0;n<r.length;n++)yield r[n]}};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}function Kn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var eP=class{getAsFile(){return this.file}getAsString(e){typeof this.data=="string"&&e(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(e,t){Kn(this,"kind",void 0),Kn(this,"type",void 0),Kn(this,"file",null),Kn(this,"data",void 0),typeof e=="string"?(this.kind="string",this.type=String(t),this.data=e):(this.kind="file",this.type=e.type,this.file=e)}},Jre=class extends Array{add(...e){let t=new eP(e[0],e[1]);return this.push(t),t}clear(){this.splice(0,this.length)}remove(e){this.splice(e,1)}};function yu(e,t){let[r,n]=e.split("/"),o=!n||n==="*";return i=>t?i.type===(o?r:e):o?i.type.startsWith(`${r}/`):i.type===r}function Xre(e){return new class{getData(t){var r;let n=(r=this.items.find(yu(t,!0)))!==null&&r!==void 0?r:this.items.find(yu(t,!1)),o="";return n?.getAsString(i=>{o=i}),o}setData(t,r){let n=this.items.findIndex(yu(t,!0)),o=new eP(r,t);n>=0?this.items.splice(n,1,o):this.items.push(o)}clearData(t){if(t){let r=this.items.findIndex(yu(t,!0));r>=0&&this.items.remove(r)}else this.items.clear()}get types(){let t=[];return this.files.length&&t.push("Files"),this.items.forEach(r=>t.push(r.type)),Object.freeze(t),t}setDragImage(){}constructor(){Kn(this,"dropEffect","none"),Kn(this,"effectAllowed","uninitialized"),Kn(this,"items",new Jre),Kn(this,"files",uv(e,[]))}}}function cv(e,t=[]){let r=typeof e.DataTransfer>"u"?Xre(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:()=>uv(e,t)}),r}function Qre(e,t){if(t.kind==="file")return t.getAsFile();let r="";return t.getAsString(n=>{r=n}),new e.Blob([r],{type:t.type})}function tP(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function rP(e,...t){let r=Object.fromEntries(t.map(n=>[typeof n=="string"?"text/plain":n.type,Promise.resolve(n)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(r):new class{get types(){return Array.from(Object.keys(this.data))}async getType(n){let o=await this.data[n];if(!o)throw new Error(`${n} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:n})}constructor(n){tP(this,"data",void 0),this.data=n}}(r)}var wi=Symbol("Manage ClipboardSub");function QC(e,t){return Object.assign(new class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let r="";for(let n of this.items){let o=n.types.includes("text/plain")?"text/plain":n.types.find(i=>i.startsWith("text/"));o&&(r+=await n.getType(o).then(i=>ZO(i,e.FileReader)))}return r}async write(r){this.items=r}async writeText(r){this.items=[rP(e,r)]}constructor(...r){super(...r),tP(this,"items",[])}},{[wi]:t})}function dv(e){return!!e?.[wi]}function Zre(e){if(dv(e.navigator.clipboard))return e.navigator.clipboard[wi];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:()=>{r=QC(e,n)},detachClipboardStub:()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})}};return r=QC(e,n),Object.defineProperty(e.navigator,"clipboard",{get:()=>r,configurable:!0}),r[wi]}function ene(e){dv(e.navigator.clipboard)&&e.navigator.clipboard[wi].resetClipboardStub()}function tne(e){dv(e.navigator.clipboard)&&e.navigator.clipboard[wi].detachClipboardStub()}async function rne(e){let t=e.defaultView,r=t?.navigator.clipboard,n=r&&await r.read();if(!n)throw new Error("The Clipboard API is unavailable.");let o=cv(t);for(let i of n)for(let s of i.types)o.setData(s,await i.getType(s).then(l=>ZO(l,t.FileReader)));return o}async function nP(e,t){let r=sn(e),n=r.navigator.clipboard,o=[];for(let i=0;i<t.items.length;i++){let s=t.items[i],l=Qre(r,s);o.push(rP(r,l))}if(!(n&&await n.write(o).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}var Hu=globalThis;typeof Hu.afterEach=="function"&&Hu.afterEach(()=>ene(globalThis.window));typeof Hu.afterAll=="function"&&Hu.afterAll(()=>tne(globalThis.window));function zo(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}function ks(e){let t=nne(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}function nne(e){return e.nodeType===1?e:e.parentElement}function _i(e){return oP(e)&&!e.readOnly||zo(e)}var Hg;(function(e){e.text="text",e.date="date",e["datetime-local"]="datetime-local",e.email="email",e.month="month",e.number="number",e.password="password",e.search="search",e.tel="tel",e.time="time",e.url="url",e.week="week"})(Hg||(Hg={}));function oP(e){return rt(e,"textarea")||rt(e,"input")&&e.type in Hg}var zg;(function(e){e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url"})(zg||(zg={}));function one(e){var t;let r=(t=e.getAttribute("maxlength"))!==null&&t!==void 0?t:"";return/^\d+$/.test(r)&&Number(r)>=0?Number(r):void 0}function ane(e){return rt(e,"textarea")||rt(e,"input")&&e.type in zg}var aP=["input:not([type=hidden]):not([disabled])","button:not([disabled])","select:not([disabled])","textarea:not([disabled])",'[contenteditable=""]','[contenteditable="true"]',"a[href]","[tabindex]:not([disabled])"].join(", ");function pv(e){return e.matches(aP)}var zu;(function(e){e["{"]="}",e["["]="]"})(zu||(zu={}));function iP(e,t){let r=0,n=e[r]in zu?e[r]:"";r+=n.length;let o=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:o,...o===""?ine(e,r,t):sne(e,r,o,t)}}function ine(e,t,r){let n=e[t];return sP(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}function sne(e,t,r,n){var o,i;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(o=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||o===void 0?void 0:o[0];sP(u,e,t,n),t+=u.length;var c;let d=(c=(i=e.slice(t).match(/^>\d+/))===null||i===void 0?void 0:i[0])!==null&&c!==void 0?c:"";t+=d.length;let p=e[t]==="/"||!d&&e[t]===">"?e[t]:"";t+=p.length;let h=zu[r],m=e[t]===h?h:"";if(!m)throw new Error(lP([!d&&"repeat modifier",!p&&"release modifier",`"${h}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=m.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:d?Math.max(Number(d.substr(1)),1):1,releaseSelf:lne(p,d)}}function sP(e,t,r,n){if(!e)throw new Error(lP("key descriptor",t[r],t,n))}function lne(e,t){if(e)return e==="/";if(t)return!1}function lP(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
424
|
-
See ${n==="pointer"?"https://testing-library.com/docs/user-event/pointer#pressing-a-button-or-touching-the-screen":"https://testing-library.com/docs/user-event/keyboard"}
|
|
425
|
-
for more information about how userEvent parses your input.`}function une(e){return new e.constructor(e.type,e)}var pr;(function(e){e[e.Trigger=2]="Trigger",e[e.Call=1]="Call"})(pr||(pr={}));function bs(e,t){e.levelRefs[t]={}}function gu(e,t){return e.levelRefs[t]}var pi;(function(e){e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never"})(pi||(pi={}));function En(e){for(let r=e;r;r=r.parentElement)if(rt(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(rt(r,"fieldset")){var t;if(r.hasAttribute("disabled")&&!(!((t=r.querySelector(":scope > legend"))===null||t===void 0)&&t.contains(e)))return!0}else if(r.tagName.includes("-")&&r.constructor.formAssociated&&r.hasAttribute("disabled"))return!0;return!1}function Ac(e){let t=e.activeElement;return t?.shadowRoot?Ac(t.shadowRoot):En(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}function Wy(e){var t;return(t=Ac(e))!==null&&t!==void 0?t:e.body}function cne(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}function ln(e){return uP(e)&&oP(e)}function dne(e){return uP(e)&&QO(e)}function uP(e){return e.nodeType===1}function pne(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&ln(e)){let n=ks(t.focusNode);if(n){if(!t.isCollapsed){var r;let o=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(o,0,o,0)}}else t.setBaseAndExtent(e,0,e,0)}}function Si(e,t){return at().eventWrapper(e)}function Zn(e){let t=cne(e,pv),r=Ac(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Si(t?()=>t.focus():()=>r?.blur()),pne(t??e.ownerDocument.body))}function fne(e){!pv(e)||Ac(e.ownerDocument)!==e||Si(()=>e.blur())}var eo={};eo.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),o=n&&rt(n,"label")&&n.control;if(o)return()=>{pv(o)&&Zn(o),r.dispatchEvent(o,une(e))};if(rt(t,"input",{type:"file"}))return()=>{fne(t),t.dispatchEvent(new(sn(t)).Event("fileDialog")),Zn(t)}};var Ai=Symbol("Displayed value in UI"),bn=Symbol("Displayed selection in UI"),Vu=Symbol("Initial value to compare on blur");function hne(e){return typeof e=="object"&&Ai in e}function mne(e){return!!e&&typeof e=="object"&&bn in e}function yne(e,t){e[Vu]===void 0&&(e[Vu]=e.value),e[Ai]=t,e.value=Object.assign(new String(t),{[Ai]:!0})}function un(e){return e[Ai]===void 0?e.value:String(e[Ai])}function fv(e){e[Ai]=void 0}function cP(e){e[Vu]=void 0}function gne(e){return e[Vu]}function bne(e,t){e[bn]=t}function Oi(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let o=un(e).length,i=p=>Math.max(0,Math.min(o,p)),s=n==="replace"||e[bn]===void 0?i(r):e[bn].anchorOffset,l=i(t),u=Math.min(s,l),c=Math.max(s,l);if(e[bn]={anchorOffset:s,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let d=Object.assign(new Number(u),{[bn]:!0});try{e.setSelectionRange(d,c)}catch{}}function Ls(e){var t,r,n;let o=(n=e[bn])!==null&&n!==void 0?n:{anchorOffset:(t=e.selectionStart)!==null&&t!==void 0?t:0,focusOffset:(r=e.selectionEnd)!==null&&r!==void 0?r:0};return{...o,startOffset:Math.min(o.anchorOffset,o.focusOffset),endOffset:Math.max(o.anchorOffset,o.focusOffset)}}function vne(e){return!!e[bn]}function Tu(e){e[bn]=void 0}var Gu=globalThis.parseInt;function Ene(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=Gu(t[0],10),n=Gu(t[1],10);if(r>=3||r===2&&n>=4){let o;return r>=3?o=1:o=2,ZC(t,o)}return e.length===2?e:ZC(t,2)}function ZC(e,t){let r=e.slice(0,t),n=Math.min(Gu(r,10),23),o=e.slice(t),i=Gu(o,10),s=Math.min(i,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}function dP(e,t){let r=e.cloneNode();return r.value=t,r.value===t}function pP(e,t,r,n){if(xu(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let o=eR(e,t,r);if(o){if(xu(o))return{node:o,offset:r>0?Math.min(1,o.nodeValue.length):Math.max(o.nodeValue.length-1,0)};if(rt(o,"br")){let i=eR(o,void 0,r);return i?xu(i)?{node:i,offset:r>0?0:i.nodeValue.length}:r<0&&rt(i,"br")?{node:o.parentNode,offset:bu(o)}:{node:i.parentNode,offset:bu(i)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:o.parentNode,offset:bu(o)}:void 0}else return{node:o.parentNode,offset:bu(o)+(r>0?1:0)}}}function eR(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&hv(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),_ne(e,r===1?"next":"previous",wne)}function wne(e){if(xu(e))return!0;if(hv(e)){if(rt(e,["input","textarea"]))return e.type!=="hidden";if(rt(e,"br"))return!0}return!1}function bu(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}function hv(e){return e.nodeType===1}function xu(e){return e.nodeType===3}function _ne(e,t,r){for(;;){var n;let o=e[`${t}Sibling`];if(o){if(e=Sne(o,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!hv(e.parentNode)||!zo(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}function Sne(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}var $s=Symbol("Track programmatic changes for React workaround");function Ane(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&sn(e).REACT_VERSION===17}function Cne(e){Ane(e)&&(e[$s]={previousValue:String(e.value),tracked:[]})}function Rne(e,t){var r,n;(n=e[$s])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[$s]||(fv(e),Oi(e,{focusOffset:t.length}))}function Tne(e,t){var r;let n=e[$s];if(e[$s]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let o=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;o||fv(e),vne(e)&&Oi(e,{focusOffset:o?t:e.value.length})}function fP(e){let t=xne(e);if(t&&ln(t))return{type:"input",selection:Ls(t)};let r=t?.ownerDocument.getSelection();return{type:ks(e)&&r?.anchorNode&&ks(r.anchorNode)?"contenteditable":"default",selection:r}}function xne(e){return e.nodeType===1?e:e.parentElement}function qne(e){let t=fP(e);if(t.type==="input")return t.selection;if(t.type==="contenteditable"){var r;return(r=t.selection)===null||r===void 0?void 0:r.getRangeAt(0)}}function Vo({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var o,i;if(fP(e).type==="input")return Oi(e,{anchorOffset:n,focusOffset:t});(i=r.ownerDocument)===null||i===void 0||(o=i.getSelection())===null||o===void 0||o.setBaseAndExtent(r,n,e,t)}function hP(e){return rt(e,"input")&&["date","time"].includes(e.type)}function Ci(e,t,r,n="insertText"){let o=qne(t);o&&(!hP(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in o?One(e,t,o,r,n):Pne(e,t,o,r,n)))}function One(e,t,r,n,o){let i=!1;if(!r.collapsed)i=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(o)){let s=pP(r.startContainer,r.startOffset,o==="deleteContentBackward"?-1:1,o);if(s){i=!0;let l=r.cloneRange();l.comparePoint(s.node,s.offset)<0?l.setStart(s.node,s.offset):l.setEnd(s.node,s.offset),l.deleteContents()}}if(n)if(r.endContainer.nodeType===3){let s=r.endOffset;r.endContainer.insertData(s,n),r.setStart(r.endContainer,s+n.length),r.setEnd(r.endContainer,s+n.length)}else{let s=t.ownerDocument.createTextNode(n);r.insertNode(s),r.setStart(s,n.length),r.setEnd(s,n.length)}(i||n)&&e.dispatchUIEvent(t,"input",{inputType:o})}function Pne(e,t,r,n,o){let i=n;if(ane(t)){let c=one(t);if(c!==void 0&&n.length>0){let d=c-t.value.length;if(d>0)i=n.substring(0,d);else return}}let{newValue:s,newOffset:l,oldValue:u}=Dne(i,t,r,o);s===u&&l===r.startOffset&&l===r.endOffset||rt(t,"input",{type:"number"})&&!Ine(s)||(yne(t,s),Vo({focusNode:t,anchorOffset:l,focusOffset:l}),hP(t)?dP(t,s)&&(tR(e,t,l,{}),e.dispatchUIEvent(t,"change"),cP(t)):tR(e,t,l,{data:n,inputType:o}))}function Dne(e,t,{startOffset:r,endOffset:n},o){let i=un(t),s=Math.max(0,r===n&&o==="deleteContentBackward"?r-1:r),l=i.substring(0,s),u=Math.min(i.length,r===n&&o==="deleteContentForward"?r+1:n),c=i.substring(u,i.length),d=`${l}${e}${c}`,p=s+e.length;if(rt(t,"input",{type:"time"})){let h=Ene(d);h!==""&&dP(t,h)&&(d=h,p=h.length)}return{oldValue:i,newValue:d,newOffset:p}}function tR(e,t,r,n){e.dispatchUIEvent(t,"input",n),Tne(t,r)}function Ine(e){var t,r;let n=e.split("e",2);return!(/[^\d.\-e]/.test(e)||Number((t=e.match(/-/g))===null||t===void 0?void 0:t.length)>2||Number((r=e.match(/\./g))===null||r===void 0?void 0:r.length)>1||n[1]&&!/^-?\d*$/.test(n[1]))}eo.cut=(e,t,r)=>()=>{_i(t)&&Ci(r,t,"","deleteByCut")};function Mne(e){return e?zo(e)?e.textContent:un(e):null}function Nne(e){let t=sn(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:o}=t.getComputedStyle(r);if(n==="none"||o==="hidden")return!1}return!0}function Bne(e,t){let r=e.ownerDocument,n=r.querySelectorAll(aP),o=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||En(u)));Number(e.getAttribute("tabindex"))>=0&&o.sort((u,c)=>{let d=Number(u.getAttribute("tabindex")),p=Number(c.getAttribute("tabindex"));return d===p?0:d===0?1:p===0?-1:d-p});let i={},s=[r.body],l=rt(e,"input",{type:"radio"})?e.name:void 0;o.forEach(u=>{let c=u;if(rt(c,"input",{type:"radio"})&&c.name){if(c===e){s.push(c);return}else if(c.name===l)return;if(c.checked){s=s.filter(d=>!rt(d,"input",{type:"radio",name:c.name})),s.push(c),i[c.name]=c;return}if(typeof i[c.name]<"u")return}s.push(c)});for(let u=s.findIndex(c=>c===e);;)if(u+=t?-1:1,u===s.length?u=0:u===-1&&(u=s.length-1),s[u]===e||s[u]===r.body||Nne(s[u]))return s[u]}function rR(e,t){if(ln(e)){let r=Ls(e);Vo({focusNode:e,focusOffset:r.startOffset===r.endOffset?r.focusOffset+t:t<0?r.startOffset:r.endOffset})}else{let r=e.ownerDocument.getSelection();if(!r?.focusNode)return;if(r.isCollapsed){let n=pP(r.focusNode,r.focusOffset,t);n&&Vo({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}function mP(e){if(ln(e))return Vo({focusNode:e,anchorOffset:0,focusOffset:un(e).length});var t;let r=(t=ks(e))!==null&&t!==void 0?t:e.ownerDocument.body;Vo({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}function jne(e){if(ln(e))return Ls(e).startOffset===0&&Ls(e).endOffset===un(e).length;var t;let r=(t=ks(e))!==null&&t!==void 0?t:e.ownerDocument.body,n=e.ownerDocument.getSelection();return n?.anchorNode===r&&n.focusNode===r&&n.anchorOffset===0&&n.focusOffset===r.childNodes.length}function vs(e,t,r){var n;if(ln(e))return Vo({focusNode:e,anchorOffset:t,focusOffset:r});if(zo(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Vo({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}function vu(e,t,r){let n=sn(t),o=Array.from(t.ownerDocument.querySelectorAll(t.name?`input[type="radio"][name="${n.CSS.escape(t.name)}"]`:'input[type="radio"][name=""], input[type="radio"]:not([name])'));for(let i=o.findIndex(s=>s===t)+r;;i+=r){if(o[i]||(i=r>0?0:o.length-1),o[i]===t)return;En(o[i])||(Zn(o[i]),e.dispatchUIEvent(o[i],"click"))}}eo.keydown=(e,t,r)=>{var n,o;return(o=(n=nR[e.key])===null||n===void 0?void 0:n.call(nR,e,t,r))!==null&&o!==void 0?o:Fne(e,t,r)};var nR={ArrowDown:(e,t,r)=>{if(rt(t,"input",{type:"radio"}))return()=>vu(r,t,-1)},ArrowLeft:(e,t,r)=>rt(t,"input",{type:"radio"})?()=>vu(r,t,-1):()=>rR(t,-1),ArrowRight:(e,t,r)=>rt(t,"input",{type:"radio"})?()=>vu(r,t,1):()=>rR(t,1),ArrowUp:(e,t,r)=>{if(rt(t,"input",{type:"radio"}))return()=>vu(r,t,1)},Backspace:(e,t,r)=>{if(_i(t))return()=>{Ci(r,t,"","deleteContentBackward")}},Delete:(e,t,r)=>{if(_i(t))return()=>{Ci(r,t,"","deleteContentForward")}},End:(e,t)=>{if(rt(t,["input","textarea"])||zo(t))return()=>{var r,n;let o=(n=(r=Mne(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;vs(t,o,o)}},Home:(e,t)=>{if(rt(t,["input","textarea"])||zo(t))return()=>{vs(t,0,0)}},PageDown:(e,t)=>{if(rt(t,["input"]))return()=>{let r=un(t).length;vs(t,r,r)}},PageUp:(e,t)=>{if(rt(t,["input"]))return()=>{vs(t,0,0)}},Tab:(e,t,r)=>()=>{let n=Bne(t,r.system.keyboard.modifiers.Shift);Zn(n),ln(n)&&Oi(n,{anchorOffset:0,focusOffset:n.value.length})}},Fne=(e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>mP(t)};eo.keypress=(e,t,r)=>{if(e.key==="Enter"){if(rt(t,"button")||rt(t,"input")&&kne.includes(t.type)||rt(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(rt(t,"input")){let n=t.form,o=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return o?()=>r.dispatchUIEvent(o,"click"):n&&Lne.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(_i(t)){let n=e.key==="Enter"?zo(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",o=e.key==="Enter"?`
|
|
426
|
-
`:e.key;return()=>Ci(r,t,o,n)}};var kne=["button","color","file","image","reset","submit"],Lne=["email","month","password","search","tel","text","url","week"];eo.keyup=(e,t,r)=>{var n;return(n=oR[e.key])===null||n===void 0?void 0:n.call(oR,e,t,r)};var oR={" ":(e,t,r)=>{if(QO(t))return()=>r.dispatchUIEvent(t,"click")}};eo.paste=(e,t,r)=>{if(_i(t))return()=>{var n;let o=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");o&&Ci(r,t,o,"insertFromPaste")}};var yP={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},click:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},contextmenu:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblclick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keydown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keypress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyup:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},mousedown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseenter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseleave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mousemove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseout:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseover:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseup:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerover:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerenter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerdown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointermove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerup:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointercancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerout:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerleave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}}};function gP(e){return yP[e].EventType}var $ne=["MouseEvent","PointerEvent"];function Une(e){return $ne.includes(gP(e))}function Hne(e){return gP(e)==="KeyboardEvent"}var zne={ClipboardEvent:[Gne],Event:[],InputEvent:[Eu,Wne],MouseEvent:[Eu,Yy,aR],PointerEvent:[Eu,Yy,aR,Kne],KeyboardEvent:[Eu,Yy,Yne]};function bP(e,t,r){let n=sn(t),{EventType:o,defaultInit:i}=yP[e],s=new(Vne(n))[o](e,i);return zne[o].forEach(l=>l(s,r??{})),s}function Vne(e){var t;let r=(t=e.Event)!==null&&t!==void 0?t:class{};var n;let o=(n=e.AnimationEvent)!==null&&n!==void 0?n:class extends r{};var i;let s=(i=e.ClipboardEvent)!==null&&i!==void 0?i:class extends r{};var l;let u=(l=e.PopStateEvent)!==null&&l!==void 0?l:class extends r{};var c;let d=(c=e.ProgressEvent)!==null&&c!==void 0?c:class extends r{};var p;let h=(p=e.TransitionEvent)!==null&&p!==void 0?p:class extends r{};var m;let y=(m=e.UIEvent)!==null&&m!==void 0?m:class extends r{};var b;let E=(b=e.CompositionEvent)!==null&&b!==void 0?b:class extends y{};var g;let w=(g=e.FocusEvent)!==null&&g!==void 0?g:class extends y{};var O;let A=(O=e.InputEvent)!==null&&O!==void 0?O:class extends y{};var S;let T=(S=e.KeyboardEvent)!==null&&S!==void 0?S:class extends y{};var C;let x=(C=e.MouseEvent)!==null&&C!==void 0?C:class extends y{};var I;let W=(I=e.DragEvent)!==null&&I!==void 0?I:class extends x{};var X;let Y=(X=e.PointerEvent)!==null&&X!==void 0?X:class extends x{};var K;let _=(K=e.TouchEvent)!==null&&K!==void 0?K:class extends y{};return{Event:r,AnimationEvent:o,ClipboardEvent:s,PopStateEvent:u,ProgressEvent:d,TransitionEvent:h,UIEvent:y,CompositionEvent:E,FocusEvent:w,InputEvent:A,KeyboardEvent:T,MouseEvent:x,DragEvent:W,PointerEvent:Y,TouchEvent:_}}function Ko(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:()=>n??null})}function Yt(e){return Number(e??0)}function Gne(e,{clipboardData:t}){Ko(e,{clipboardData:t})}function Wne(e,{data:t,inputType:r,isComposing:n}){Ko(e,{data:t,isComposing:!!n,inputType:String(r)})}function Eu(e,{view:t,detail:r}){Ko(e,{view:t,detail:Yt(r??0)})}function Yy(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:o,modifierAltGraph:i,modifierCapsLock:s,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:d,modifierSymbol:p,modifierSymbolLock:h}){Ko(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!o,getModifierState(m){return!!{Alt:t,AltGraph:i,CapsLock:s,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:d,Shift:o,Symbol:p,SymbolLock:h}[m]}})}function Yne(e,{key:t,code:r,location:n,repeat:o,isComposing:i,charCode:s}){Ko(e,{key:String(t),code:String(r),location:Yt(n),repeat:!!o,isComposing:!!i,charCode:s})}function aR(e,{x:t,y:r,screenX:n,screenY:o,clientX:i=t,clientY:s=r,button:l,buttons:u,relatedTarget:c}){Ko(e,{screenX:Yt(n),screenY:Yt(o),clientX:Yt(i),x:Yt(i),clientY:Yt(s),y:Yt(s),button:Yt(l),buttons:Yt(u),relatedTarget:c})}function Kne(e,{pointerId:t,width:r,height:n,pressure:o,tangentialPressure:i,tiltX:s,tiltY:l,twist:u,pointerType:c,isPrimary:d}){Ko(e,{pointerId:Yt(t),width:Yt(r),height:Yt(n),pressure:Yt(o),tangentialPressure:Yt(i),tiltX:Yt(s),tiltY:Yt(l),twist:Yt(u),pointerType:String(c),isPrimary:!!d})}function Jne(e,t,r,n=!1){(Une(t)||Hne(t))&&(r={...r,...this.system.getUIEventModifiers()});let o=bP(t,e,r);return vP.call(this,e,o,n)}function vP(e,t,r=!1){var n;let o=t.type,i=r?()=>{}:(n=eo[o])===null||n===void 0?void 0:n.call(eo,t,e,this);if(i){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:()=>s}),Object.defineProperty(t,"preventDefault",{value:()=>{s=t.cancelable}}),Si(()=>e.dispatchEvent(t)),s||i(),!s}return Si(()=>e.dispatchEvent(t))}function Xne(e,t,r){let n=bP(t,e,r);Si(()=>e.dispatchEvent(n))}var Ky=Symbol("Interceptor for programmatical calls");function ci(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),o=Object.getOwnPropertyDescriptor(e,t),i=n?.set?"set":"value";if(typeof n?.[i]!="function"||n[i][Ky])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...l){let{applyNative:u=!1,realArgs:c,then:d}=r.call(this,...l),p=(!u&&o||n)[i];i==="set"?p.call(this,c):p.call(this,...c),d?.()}s[Ky]=Ky,Object.defineProperty(e,t,{...o??n,[i]:s})}function Qne(e){ci(e,"value",function(t){let r=hne(t);return r&&Cne(this),{applyNative:!!r,realArgs:Zne(this,t),then:r?void 0:()=>Rne(this,String(t))}})}function Zne(e,t){return rt(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}function eoe(e){ci(e,"setSelectionRange",function(t,...r){let n=mne(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:()=>n?void 0:Tu(e)}}),ci(e,"selectionStart",function(t){return{realArgs:t,then:()=>Tu(e)}}),ci(e,"selectionEnd",function(t){return{realArgs:t,then:()=>Tu(e)}}),ci(e,"select",function(){return{realArgs:[],then:()=>bne(e,{anchorOffset:0,focusOffset:un(e).length})}})}function toe(e){ci(e,"setRangeText",function(...t){return{realArgs:t,then:()=>{fv(e),Tu(e)}}})}var fi=Symbol("Node prepared with document state workarounds");function EP(e){e[fi]||(e.addEventListener("focus",t=>{let r=t.target;iR(r)},{capture:!0,passive:!0}),e.activeElement&&iR(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=gne(r);n!==void 0&&(r.value!==n&&Xne(r,"change"),cP(r))},{capture:!0,passive:!0}),e[fi]=fi)}function iR(e){e[fi]||(rt(e,["input","textarea"])&&(Qne(e),eoe(e),toe(e)),e[fi]=fi)}function roe(e){return noe(e)?e:e.ownerDocument}function noe(e){return e.nodeType===9}function Ri(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}function oi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var qr;(function(e){e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD"})(qr||(qr={}));var ooe=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function sR(e){return ooe.includes(e)}var aoe=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function lR(e){return aoe.includes(e)}var ioe=class{isKeyPressed(e){return!!this.pressed[String(e.code)]}getPressedKeys(){return Object.values(this.pressed).map(e=>e.keyDef)}async keydown(e,t){var r,n,o;let i=String(t.key),s=String(t.code),l=Wy(e.config.document);this.setKeydownTarget(l);var u;(u=(r=this.pressed)[n=s])!==null&&u!==void 0||(r[n]={keyDef:t,unpreventedDefault:!1}),sR(i)&&(this.modifiers[i]=!0);let c=e.dispatchUIEvent(l,"keydown",{key:i,code:s});lR(i)&&!this.modifiers[i]&&(this.modifiers[i]=!0,this.modifierLockStart[i]=!0),(o=this.pressed[s]).unpreventedDefault||(o.unpreventedDefault=c),c&&this.hasKeyPress(i)&&e.dispatchUIEvent(Wy(e.config.document),"keypress",{key:i,code:s,charCode:t.key==="Enter"?13:String(t.key).charCodeAt(0)})}async keyup(e,t){let r=String(t.key),n=String(t.code),o=this.pressed[n].unpreventedDefault;delete this.pressed[n],sR(r)&&!Object.values(this.pressed).find(i=>i.keyDef.key===r)&&(this.modifiers[r]=!1),e.dispatchUIEvent(Wy(e.config.document),"keyup",{key:r,code:n},!o),lR(r)&&this.modifiers[r]&&(this.modifierLockStart[r]?this.modifierLockStart[r]=!1:this.modifiers[r]=!1)}setKeydownTarget(e){e!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=e}hasKeyPress(e){return(e.length===1||e==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(e){oi(this,"system",void 0),oi(this,"modifiers",{Alt:!1,AltGraph:!1,CapsLock:!1,Control:!1,Fn:!1,FnLock:!1,Meta:!1,NumLock:!1,ScrollLock:!1,Shift:!1,Symbol:!1,SymbolLock:!1}),oi(this,"pressed",{}),oi(this,"carryChar",""),oi(this,"lastKeydownTarget",void 0),oi(this,"modifierLockStart",{}),this.system=e}},soe=[..."0123456789".split("").map(e=>({code:`Digit${e}`,key:e})),...")!@#$%^&*(".split("").map((e,t)=>({code:`Digit${t}`,key:e,shiftKey:!0})),..."abcdefghijklmnopqrstuvwxyz".split("").map(e=>({code:`Key${e.toUpperCase()}`,key:e})),..."ABCDEFGHIJKLMNOPQRSTUVWXYZ".split("").map(e=>({code:`Key${e}`,key:e,shiftKey:!0})),{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:qr.LEFT},{code:"AltRight",key:"Alt",location:qr.RIGHT},{code:"ShiftLeft",key:"Shift",location:qr.LEFT},{code:"ShiftRight",key:"Shift",location:qr.RIGHT},{code:"ControlLeft",key:"Control",location:qr.LEFT},{code:"ControlRight",key:"Control",location:qr.RIGHT},{code:"MetaLeft",key:"Meta",location:qr.LEFT},{code:"MetaRight",key:"Meta",location:qr.RIGHT},{code:"OSLeft",key:"OS",location:qr.LEFT},{code:"OSRight",key:"OS",location:qr.RIGHT},{code:"Tab",key:"Tab"},{code:"CapsLock",key:"CapsLock"},{code:"Backspace",key:"Backspace"},{code:"Enter",key:"Enter"},{code:"Escape",key:"Escape"},{code:"ArrowUp",key:"ArrowUp"},{code:"ArrowDown",key:"ArrowDown"},{code:"ArrowLeft",key:"ArrowLeft"},{code:"ArrowRight",key:"ArrowRight"},{code:"Home",key:"Home"},{code:"End",key:"End"},{code:"Delete",key:"Delete"},{code:"PageUp",key:"PageUp"},{code:"PageDown",key:"PageDown"},{code:"Fn",key:"Fn"},{code:"Symbol",key:"Symbol"},{code:"AltRight",key:"AltGraph"}],loe=[{name:"MouseLeft",pointerType:"mouse",button:"primary"},{name:"MouseRight",pointerType:"mouse",button:"secondary"},{name:"MouseMiddle",pointerType:"mouse",button:"auxiliary"},{name:"TouchA",pointerType:"touch"},{name:"TouchB",pointerType:"touch"},{name:"TouchC",pointerType:"touch"}];function uoe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var wP=class{getButtons(){let e=0;for(let t of Object.keys(this.pressed))e|=2**Number(t);return e}down(e){let t=Vg(e.button);if(t in this.pressed){this.pressed[t].push(e);return}return this.pressed[t]=[e],t}up(e){let t=Vg(e.button);if(t in this.pressed&&(this.pressed[t]=this.pressed[t].filter(r=>r.name!==e.name),this.pressed[t].length===0))return delete this.pressed[t],t}constructor(){uoe(this,"pressed",{})}},uR={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function Vg(e=0){return e in uR?uR[e]:Number(e)}var cR={1:2,2:1};function dR(e){return e=Vg(e),e in cR?cR[e]:e}function coe(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var doe=class{get countPressed(){return this.pressedKeys.size}isPressed(e){return this.pressedKeys.has(e.name)}addPressed(e){return this.pressedKeys.add(e.name)}removePressed(e){return this.pressedKeys.delete(e.name)}constructor(){coe(this,"pressedKeys",new Set)}};function Cs(e,t){let r=[];for(let i=e;i;i=i.parentElement)r.push(i);let n=[];for(let i=t;i;i=i.parentElement)n.push(i);let o=0;for(;!(o>=r.length||o>=n.length||r[r.length-1-o]!==n[n.length-1-o]);o++);return[r.slice(0,r.length-o),n.slice(0,n.length-o),n.slice(n.length-o)]}function Gg({target:e,node:t,offset:r}){return ln(e)?{node:e,offset:r??un(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:_P(e,r)}function _P(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,o=t===void 0?-1:1;for(;t===void 0?n>=(r?Math.max(e.childNodes.length-1,0):0):n<=e.childNodes.length;){if(t&&n===e.childNodes.length)throw new Error("The given offset is out of bounds.");let i=e.childNodes.item(n),s=String(i.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(i.nodeType===1)return _P(i,t,!1);if(i.nodeType===3)return{node:i,offset:t??i.nodeValue.length}}n+=o}return{node:e,offset:e.childNodes.length}}function poe({document:e,target:t,clickCount:r,node:n,offset:o}){if(dne(t))return;let i=ln(t),s=String(i?un(t):t.textContent),[l,u]=n?[o,o]:foe(s,o,r);if(i)return Oi(t,{anchorOffset:l??s.length,focusOffset:u??s.length}),{node:t,start:l??0,end:u??s.length};{let{node:c,offset:d}=Gg({target:t,node:n,offset:l}),{node:p,offset:h}=Gg({target:t,node:n,offset:u}),m=t.ownerDocument.createRange();try{m.setStart(c,d),m.setEnd(p,h)}catch{throw new Error("The given offset is out of bounds.")}let y=e.getSelection();return y?.removeAllRanges(),y?.addRange(m.cloneRange()),m}}function foe(e,t,r){if(r%3===1||e.length===0)return[t,t];let n=t??e.length;return r%3===2?[n-e.substr(0,t).match(/(\w+|\s+|\W)?$/)[0].length,t===void 0?t:t+e.substr(t).match(/^(\w+|\s+|\W)?/)[0].length]:[n-e.substr(0,t).match(/[^\r\n]*$/)[0].length,t===void 0?t:t+e.substr(t).match(/^[^\r\n]*/)[0].length]}function hoe(e,{document:t,target:r,node:n,offset:o}){let i=Gg({target:r,node:n,offset:o});if("node"in e){if(i.node===e.node){let s=i.offset<e.start?e.end:e.start,l=i.offset>e.end||i.offset<e.start?i.offset:e.end;Oi(e.node,{anchorOffset:s,focusOffset:l})}}else{let s=e.cloneRange(),l=s.comparePoint(i.node,i.offset);l<0?s.setStart(i.node,i.offset):l>0&&s.setEnd(i.node,i.offset);let u=t.getSelection();u?.removeAllRanges(),u?.addRange(s.cloneRange())}}function SP(e,t){var r,n,o,i,s,l,u,c;return e.target!==t.target||((r=e.coords)===null||r===void 0?void 0:r.x)!==((n=t.coords)===null||n===void 0?void 0:n.y)||((o=e.coords)===null||o===void 0?void 0:o.y)!==((i=t.coords)===null||i===void 0?void 0:i.y)||((s=e.caret)===null||s===void 0?void 0:s.node)!==((l=t.caret)===null||l===void 0?void 0:l.node)||((u=e.caret)===null||u===void 0?void 0:u.offset)!==((c=t.caret)===null||c===void 0?void 0:c.offset)}function No(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var moe=class{move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!SP(r,t))return;let o=this.getTarget(e),i=this.getEventInit("mousemove"),[s,l]=Cs(n,o);return{leave:()=>{n!==o&&(e.dispatchUIEvent(n,"mouseout",i),s.forEach(u=>e.dispatchUIEvent(u,"mouseleave",i)))},enter:()=>{n!==o&&(e.dispatchUIEvent(o,"mouseover",i),l.forEach(u=>e.dispatchUIEvent(u,"mouseenter",i)))},move:()=>{e.dispatchUIEvent(o,"mousemove",i),this.modifySelecting(e)}}}down(e,t,r){let n=this.buttons.down(t);if(n===void 0)return;let o=this.getTarget(e);this.buttonDownTarget[n]=o;let i=En(o),s=this.getEventInit("mousedown",t.button);(i||e.dispatchUIEvent(o,"mousedown",s))&&(this.startSelecting(e,s.detail),Zn(o)),!i&&dR(t.button)===2&&e.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",t.button,r))}up(e,t,r){let n=this.buttons.up(t);if(n===void 0)return;let o=this.getTarget(e);if(!En(o)){e.dispatchUIEvent(o,"mouseup",this.getEventInit("mouseup",t.button)),this.endSelecting();let i=Cs(this.buttonDownTarget[n],o)[2][0];if(i){let s=this.getEventInit("click",t.button,r);s.detail&&(e.dispatchUIEvent(i,s.button===0?"click":"auxclick",s),s.button===0&&s.detail===2&&e.dispatchUIEvent(i,"dblclick",{...this.getEventInit("dblclick",t.button),detail:s.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(e,t,r){let n={...this.position.coords};return r&&(n.pointerId=r.pointerId,n.pointerType=r.pointerType,n.isPrimary=r.isPrimary),n.button=dR(t),n.buttons=this.buttons.getButtons(),e==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):e==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(e==="click"||e==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}startSelecting(e,t){var r,n;this.selecting=poe({document:e.config.document,target:this.getTarget(e),node:(r=this.position.caret)===null||r===void 0?void 0:r.node,offset:(n=this.position.caret)===null||n===void 0?void 0:n.offset,clickCount:t})}modifySelecting(e){var t,r;this.selecting&&hoe(this.selecting,{document:e.config.document,target:this.getTarget(e),node:(t=this.position.caret)===null||t===void 0?void 0:t.node,offset:(r=this.position.caret)===null||r===void 0?void 0:r.offset})}endSelecting(){this.selecting=void 0}constructor(){No(this,"position",{}),No(this,"buttons",new wP),No(this,"selecting",void 0),No(this,"buttonDownTarget",{}),No(this,"clickCount",new class{incOnClick(e){let t=this.down[e]===void 0?void 0:Number(this.down[e])+1;return this.count=this.count[e]===void 0?{}:{[e]:Number(this.count[e])+1},t}getOnDown(e){var t;this.down={[e]:(t=this.count[e])!==null&&t!==void 0?t:0};var r;return this.count={[e]:(r=this.count[e])!==null&&r!==void 0?r:0},Number(this.count[e])+1}getOnUp(e){return this.down[e]===void 0?void 0:Number(this.down[e])+1}reset(){this.count={}}constructor(){No(this,"down",{}),No(this,"count",{})}})}};function Wu(e,t){var r;return((r=AP(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}function yoe(e){let t=sn(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let o=t.getComputedStyle(r).pointerEvents;if(o&&!["inherit","unset"].includes(o))return{pointerEvents:o,tree:n}}}var pR=Symbol("Last check for pointer-events");function AP(e,t){let r=t[pR];if(!(e.config.pointerEventsCheck!==pi.Never&&(!r||fR(e.config.pointerEventsCheck,pi.EachApiCall)&&r[pr.Call]!==gu(e,pr.Call)||fR(e.config.pointerEventsCheck,pi.EachTrigger)&&r[pr.Trigger]!==gu(e,pr.Trigger))))return r?.result;let n=yoe(t);return t[pR]={[pr.Call]:gu(e,pr.Call),[pr.Trigger]:gu(e,pr.Trigger),result:n},n}function Es(e,t){let r=AP(e,t);if(r?.pointerEvents==="none")throw new Error([`Unable to perform pointer interaction as the element ${r.tree.length>1?"inherits":"has"} \`pointer-events: none\`:`,"",goe(r.tree)].join(`
|
|
427
|
-
`))}function goe(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,boe(t),e.length>1&&r===0&&" <-- This element declared `pointer-events: none`",e.length>1&&r===e.length-1&&" <-- Asserted pointer events here"].filter(Boolean).join("")).join(`
|
|
428
|
-
`)}function boe(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,o;r=(o=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||o===void 0||(n=o.textContent)===null||n===void 0?void 0:n.trim()}else if(rt(e,["button","input","meter","output","progress","select","textarea"])&&!((t=e.labels)===null||t===void 0)&&t.length)r=Array.from(e.labels).map(s=>{var l;return(l=s.textContent)===null||l===void 0?void 0:l.trim()}).join("|");else if(rt(e,"button")){var i;r=(i=e.textContent)===null||i===void 0?void 0:i.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}\u2026`),r?`(label=${r})`:""}function fR(e,t){return(e&t)>0}function Vn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var hR=class{init(e,t){this.position=t;let r=this.getTarget(e),[,n]=Cs(null,r),o=this.getEventInit();return Es(e,r),e.dispatchUIEvent(r,"pointerover",o),n.forEach(i=>e.dispatchUIEvent(i,"pointerenter",o)),this}move(e,t){let r=this.position,n=this.getTarget(e);if(this.position=t,!SP(r,t))return;let o=this.getTarget(e),i=this.getEventInit(),[s,l]=Cs(n,o);return{leave:()=>{Wu(e,n)&&n!==o&&(e.dispatchUIEvent(n,"pointerout",i),s.forEach(u=>e.dispatchUIEvent(u,"pointerleave",i)))},enter:()=>{Es(e,o),n!==o&&(e.dispatchUIEvent(o,"pointerover",i),l.forEach(u=>e.dispatchUIEvent(u,"pointerenter",i)))},move:()=>{e.dispatchUIEvent(o,"pointermove",i)}}}down(e,t){if(this.isDown)return;let r=this.getTarget(e);Es(e,r),this.isDown=!0,this.isPrevented=!e.dispatchUIEvent(r,"pointerdown",this.getEventInit())}up(e,t){if(!this.isDown)return;let r=this.getTarget(e);Es(e,r),this.isDown=!1,e.dispatchUIEvent(r,"pointerup",this.getEventInit())}release(e){let t=this.getTarget(e),[r]=Cs(t,null),n=this.getEventInit();Wu(e,t)&&(e.dispatchUIEvent(t,"pointerout",n),r.forEach(o=>e.dispatchUIEvent(o,"pointerleave",n))),this.isCancelled=!0}getTarget(e){var t;return(t=this.position.target)!==null&&t!==void 0?t:e.config.document.body}getEventInit(){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary}}constructor({pointerId:e,pointerType:t,isPrimary:r}){Vn(this,"pointerId",void 0),Vn(this,"pointerType",void 0),Vn(this,"isPrimary",void 0),Vn(this,"isMultitouch",!1),Vn(this,"isCancelled",!1),Vn(this,"isDown",!1),Vn(this,"isPrevented",!1),Vn(this,"position",{}),this.pointerId=e,this.pointerType=t,this.isPrimary=r,this.isMultitouch=!r}};function Gn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var voe=class{isKeyPressed(e){return this.devices.get(e.pointerType).isPressed(e)}async press(e,t,r){let n=this.getPointerName(t),o=t.pointerType==="touch"?this.pointers.new(n,t).init(e,r):this.pointers.get(n);o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),this.devices.get(t.pointerType).addPressed(t),this.buttons.down(t),o.down(e,t),o.pointerType!=="touch"&&!o.isPrevented&&this.mouse.down(e,t,o)}async move(e,t,r){let n=this.pointers.get(t),o=n.move(e,r),i=n.pointerType==="touch"||n.isPrevented&&n.isDown?void 0:this.mouse.move(e,r);o?.leave(),i?.leave(),o?.enter(),i?.enter(),o?.move(),i?.move()}async release(e,t,r){let n=this.devices.get(t.pointerType);n.removePressed(t),this.buttons.up(t);let o=this.pointers.get(this.getPointerName(t));if(o.position=r,o.pointerType!=="touch"&&(this.mouse.position=r),n.countPressed===0&&o.up(e,t),o.pointerType==="touch"&&o.release(e),!o.isPrevented){if(o.pointerType==="touch"&&!o.isMultitouch){let i=this.mouse.move(e,o.position);i?.leave(),i?.enter(),i?.move(),this.mouse.down(e,t,o)}if(!o.isMultitouch){let i=this.mouse.move(e,o.position);i?.leave(),i?.enter(),i?.move(),this.mouse.up(e,t,o)}}}getPointerName(e){return e.pointerType==="touch"?e.name:e.pointerType}getPreviousPosition(e){return this.pointers.has(e)?this.pointers.get(e).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(e){var t;return(t=this.mouse.position.target)!==null&&t!==void 0?t:e.config.document.body}setMousePosition(e){this.mouse.position=e,this.pointers.get("mouse").position=e}constructor(e){Gn(this,"system",void 0),Gn(this,"mouse",void 0),Gn(this,"buttons",void 0),Gn(this,"devices",new class{get(t){var r,n,o;return(o=(r=this.registry)[n=t])!==null&&o!==void 0||(r[n]=new doe),this.registry[t]}constructor(){Gn(this,"registry",{})}}),Gn(this,"pointers",new class{new(t,r){let n=r.pointerType!=="touch"||!Object.values(this.registry).some(o=>o.pointerType==="touch"&&!o.isCancelled);return n||Object.values(this.registry).forEach(o=>{o.pointerType===r.pointerType&&!o.isCancelled&&(o.isMultitouch=!0)}),this.registry[t]=new hR({pointerId:this.nextId++,pointerType:r.pointerType,isPrimary:n}),this.registry[t]}get(t){if(!this.has(t))throw new Error(`Trying to access pointer "${t}" which does not exist.`);return this.registry[t]}has(t){return t in this.registry}constructor(){Gn(this,"registry",{mouse:new hR({pointerId:1,pointerType:"mouse",isPrimary:!0})}),Gn(this,"nextId",2)}}),this.system=e,this.buttons=new wP,this.mouse=new moe}};function mR(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}var CP=class{getUIEventModifiers(){return{altKey:this.keyboard.modifiers.Alt,ctrlKey:this.keyboard.modifiers.Control,metaKey:this.keyboard.modifiers.Meta,shiftKey:this.keyboard.modifiers.Shift,modifierAltGraph:this.keyboard.modifiers.AltGraph,modifierCapsLock:this.keyboard.modifiers.CapsLock,modifierFn:this.keyboard.modifiers.Fn,modifierFnLock:this.keyboard.modifiers.FnLock,modifierNumLock:this.keyboard.modifiers.NumLock,modifierScrollLock:this.keyboard.modifiers.ScrollLock,modifierSymbol:this.keyboard.modifiers.Symbol,modifierSymbolLock:this.keyboard.modifiers.SymbolLock}}constructor(){mR(this,"keyboard",new ioe(this)),mR(this,"pointer",new voe(this))}};async function Eoe(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}async function woe(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}async function _oe(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}async function Soe(e){return this.pointer({target:e})}async function Aoe(e){return Es(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}async function Coe({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}function Roe(e,t){let r=[];do{let{type:o,descriptor:i,consumedLength:s,releasePrevious:l,releaseSelf:u=!0,repeat:c}=iP(t,"keyboard");var n;let d=(n=e.find(p=>{if(o==="["){var h;return((h=p.code)===null||h===void 0?void 0:h.toLowerCase())===i.toLowerCase()}else if(o==="{"){var m;return((m=p.key)===null||m===void 0?void 0:m.toLowerCase())===i.toLowerCase()}return p.key===i}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[o==="["?"code":"key"]:i};r.push({keyDef:d,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(s)}while(t);return r}async function Toe(e){let t=Roe(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await Ri(this.config),await xoe(this,t[r])}async function xoe(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:o}){let{system:i}=e;if(i.keyboard.isKeyPressed(t)&&await i.keyboard.keyup(e,t),!r){for(let s=1;s<=o;s++)await i.keyboard.keydown(e,t),s<o&&await Ri(e.config);n&&await i.keyboard.keyup(e,t)}}async function qoe(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}function RP(e){let t=ln(e)?{"text/plain":Ooe(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=cv(sn(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}function Ooe(e){let t=Ls(e);return un(e).substring(t.startOffset,t.endOffset)}async function Poe(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=RP(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await nP(e,n),n}async function Doe(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=RP(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await nP(r.ownerDocument,n),n}async function Ioe(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var o;let i=(o=typeof e=="string"?Moe(t,e):e)!==null&&o!==void 0?o:await rne(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:i})}function Moe(e,t){let r=cv(sn(e));return r.setData("text",t),r}function yR(e,t){let r=[];do{let{descriptor:n,consumedLength:o,releasePrevious:i,releaseSelf:s=!0}=iP(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:i,releaseSelf:s}),t=t.slice(o)}while(t);return r}async function Noe(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...yR(t,n)):"keys"in n?r.push(...yR(t,n.keys).map(o=>({...n,...o}))):r.push(n)});for(let n=0;n<r.length;n++)await Ri(this.config),await Boe(this,r[n]);this.system.pointer.resetClickCount()}async function Boe(e,t){var r,n;let o="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",i=e.system.pointer.getPreviousPosition(o);var s,l,u,c;let d={target:(s=t.target)!==null&&s!==void 0?s:joe(e,i),coords:(l=t.coords)!==null&&l!==void 0?l:i?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:gR(t)||i==null||(r=i.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:gR(t)||i==null||(n=i.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(bs(e,pr.Trigger),await e.system.pointer.release(e,t.keyDef,d)),t.releasePrevious||(bs(e,pr.Trigger),await e.system.pointer.press(e,t.keyDef,d),t.releaseSelf&&(bs(e,pr.Trigger),await e.system.pointer.release(e,t.keyDef,d)))):(bs(e,pr.Trigger),await e.system.pointer.move(e,o,d))}function gR(e){var t,r;return!!((r=(t=e.target)!==null&&t!==void 0?t:e.node)!==null&&r!==void 0?r:e.offset!==void 0)}function joe(e,t){if(!t)throw new Error("This pointer has no previous position. Provide a target property!");var r;return(r=t.target)!==null&&r!==void 0?r:e.config.document.body}async function Foe(e){if(!_i(e)||En(e))throw new Error("clear()` is only supported on editable elements.");if(Zn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(mP(e),!jne(e))throw new Error("The element content to be cleared could not be selected.");Ci(this,e,"","deleteContentBackward")}async function koe(e,t){return TP.call(this,!0,e,t)}async function Loe(e,t){return TP.call(this,!1,e,t)}async function TP(e,t,r){if(!e&&!t.multiple)throw at().getElementError("Unable to deselect an option in a non-multiple select. Use selectOptions to change the selection instead.",t);let n=Array.isArray(r)?r:[r],o=Array.from(t.querySelectorAll('option, [role="option"]')),i=n.map(l=>{if(typeof l!="string"&&o.includes(l))return l;{let u=o.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw at().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!En(l));if(En(t)||!i.length)return;let s=l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")};if(rt(t,"select"))if(t.multiple)for(let l of i){let u=this.config.pointerEventsCheck===0?!0:Wu(this,l);u&&(this.dispatchUIEvent(l,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(l,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(l,"pointermove"),this.dispatchUIEvent(l,"mousemove"),this.dispatchUIEvent(l,"pointerdown"),this.dispatchUIEvent(l,"mousedown")),Zn(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),s(l),u&&this.dispatchUIEvent(l,"click"),await Ri(this.config)}else if(i.length===1){let l=this.config.pointerEventsCheck===0?!0:Wu(this,t);l?await this.click(t):Zn(t),s(i[0]),l&&(this.dispatchUIEvent(t,"pointerover"),this.dispatchUIEvent(t,"pointerenter"),this.dispatchUIEvent(t,"mouseover"),this.dispatchUIEvent(t,"mouseenter"),this.dispatchUIEvent(t,"pointerup"),this.dispatchUIEvent(t,"mouseup"),this.dispatchUIEvent(t,"click")),await Ri(this.config)}else throw at().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of i)await this.click(l),await this.unhover(l);else throw at().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}async function $oe(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:o,initialSelectionEnd:i}={}){e.disabled||(r||await this.click(e),o!==void 0&&vs(e,o,i??o),await this.keyboard(t),n||await qoe(this))}var bR=Symbol("files and value properties are mocked");function Jy(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}function Uoe(e,t){var r;(r=e[bR])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),o=Object.getOwnPropertyDescriptor(e,"value"),i=Object.getOwnPropertyDescriptor(e,"files");function s(){Jy(e,"type",n),Jy(e,"value",o),Jy(e,"files",i)}e[bR]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:()=>t},value:{configurable:!0,get:()=>t.length?`C:\\fakepath\\${t[0].name}`:"",set(l){if(l==="")s();else{var u;o==null||(u=o.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:()=>"file",set(l){l!=="file"&&(s(),e.type=l)}}})}async function Hoe(e,t){let r=rt(e,"label")?e.control:e;if(!r||!rt(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(En(e))return;let n=(Array.isArray(t)?t:[t]).filter(i=>!this.config.applyAccept||zoe(i,r.accept)).slice(0,r.multiple?void 0:1),o=()=>{var i;n.length===((i=r.files)===null||i===void 0?void 0:i.length)&&n.every((s,l)=>{var u;return s===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(Uoe(r,uv(sn(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))};r.addEventListener("fileDialog",o),await this.click(e),r.removeEventListener("fileDialog",o)}function zoe(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return t.split(",").some(n=>n.startsWith(".")?e.name.endsWith(n):r.includes(n)?e.type.startsWith(n.substr(0,n.length-1)):e.type===n)}var vR={click:Eoe,dblClick:woe,tripleClick:_oe,hover:Soe,unhover:Aoe,tab:Coe,keyboard:Toe,copy:Poe,cut:Doe,paste:Ioe,pointer:Noe,clear:Foe,deselectOptions:Loe,selectOptions:koe,type:$oe,upload:Hoe};function Voe(e){return at().asyncWrapper(e)}var xP={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:soe,pointerMap:loe,pointerEventsCheck:pi.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:()=>Promise.resolve()},Goe={...xP,writeToClipboard:!0};function qP(e={},t=Goe,r){let n=Joe(e,r,t);return{...t,...e,document:n}}function Woe(e={}){let t=qP(e);EP(t.document);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return Zre(n),mv(t).api}function lr({keyboardState:e,pointerState:t,...r}={},n){let o=qP(r,xP,n);EP(o.document);var i;let s=(i=t??e)!==null&&i!==void 0?i:new CP;return{api:mv(o,s).api,system:s}}function Yoe(e){return mv({...this.config,...e},this.system).api}function Koe(e,t){function r(...n){return bs(e,pr.Call),Voe(()=>t.apply(e,n).then(async o=>(await Ri(e.config),o)))}return Object.defineProperty(r,"name",{get:()=>t.name}),r}function mv(e,t=new CP){let r={};return Object.assign(r,{config:e,dispatchEvent:vP.bind(r),dispatchUIEvent:Jne.bind(r),system:t,levelRefs:{},...vR}),{instance:r,api:{...Object.fromEntries(Object.entries(vR).map(([n,o])=>[n,Koe(r,o)])),setup:Yoe.bind(r)}}}function Joe(e,t,r){var n,o;return(o=(n=e.document)!==null&&n!==void 0?n:t&&roe(t))!==null&&o!==void 0?o:r.document}var OP={};Ju(OP,{clear:()=>Xoe,click:()=>Qoe,copy:()=>Zoe,cut:()=>eae,dblClick:()=>tae,deselectOptions:()=>rae,hover:()=>nae,keyboard:()=>oae,paste:()=>iae,pointer:()=>aae,selectOptions:()=>sae,tab:()=>pae,tripleClick:()=>lae,type:()=>uae,unhover:()=>cae,upload:()=>dae});function Xoe(e){return lr().api.clear(e)}function Qoe(e,t={}){return lr(t,e).api.click(e)}function Zoe(e={}){return lr(e).api.copy()}function eae(e={}){return lr(e).api.cut()}function tae(e,t={}){return lr(t).api.dblClick(e)}function rae(e,t,r={}){return lr(r).api.deselectOptions(e,t)}function nae(e,t={}){return lr(t).api.hover(e)}async function oae(e,t={}){let{api:r,system:n}=lr(t);return r.keyboard(e).then(()=>n)}async function aae(e,t={}){let{api:r,system:n}=lr(t);return r.pointer(e).then(()=>n)}function iae(e,t){return lr(t).api.paste(e)}function sae(e,t,r={}){return lr(r).api.selectOptions(e,t)}function lae(e,t={}){return lr(t).api.tripleClick(e)}function uae(e,t,r={}){return lr(r,e).api.type(e,t,r)}function cae(e,t={}){let{api:r,system:n}=lr(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}function dae(e,t,r={}){return lr(r).api.upload(e,t)}function pae(e={}){return lr().api.tab(e)}var fae={...OP,setup:Woe},hae=um(),PP=Oy();function mae(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
|
|
429
|
-
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
|
|
430
|
-
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,u){var c=s.match(/(?:^|\n)( *)$/),d=c?c[1]:"",p=l;typeof l=="string"&&l.includes(`
|
|
431
|
-
`)&&(p=String(l).split(`
|
|
432
|
-
`).map(function(h,m){return m===0?h:""+d+h}).join(`
|
|
433
|
-
`)),s+=p+n[u+1]}),s}var yae=mae,Wg=(0,PP.instrument)({...Rq},{intercept:(e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor")});Wg.screen=new Proxy(Wg.screen,{get(e,t,r){return hae.once.warn(yae`
|
|
434
|
-
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
435
|
-
More info: https://storybook.js.org/docs/essentials/interactions
|
|
436
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:gae,configure:bae,createEvent:vae,fireEvent:Eae,findAllByAltText:wae,findAllByDisplayValue:_ae,findAllByLabelText:Sae,findAllByPlaceholderText:Aae,findAllByRole:Cae,findAllByTestId:Rae,findAllByText:Tae,findAllByTitle:xae,findByAltText:qae,findByDisplayValue:Oae,findByLabelText:Pae,findByPlaceholderText:Dae,findByRole:Iae,findByTestId:Mae,findByText:Nae,findByTitle:Bae,getAllByAltText:jae,getAllByDisplayValue:Fae,getAllByLabelText:kae,getAllByPlaceholderText:Lae,getAllByRole:$ae,getAllByTestId:Uae,getAllByText:Hae,getAllByTitle:zae,getByAltText:Vae,getByDisplayValue:Gae,getByLabelText:Wae,getByPlaceholderText:Yae,getByRole:Kae,getByTestId:Jae,getByText:Xae,getByTitle:Qae,getConfig:Zae,getDefaultNormalizer:eie,getElementError:tie,getNodeText:rie,getQueriesForElement:nie,getRoles:oie,getSuggestedQuery:aie,isInaccessible:iie,logDOM:sie,logRoles:lie,prettyDOM:uie,queries:cie,queryAllByAltText:die,queryAllByAttribute:pie,queryAllByDisplayValue:fie,queryAllByLabelText:hie,queryAllByPlaceholderText:mie,queryAllByRole:yie,queryAllByTestId:gie,queryAllByText:bie,queryAllByTitle:vie,queryByAltText:Eie,queryByAttribute:wie,queryByDisplayValue:_ie,queryByLabelText:Sie,queryByPlaceholderText:Aie,queryByRole:Cie,queryByTestId:Rie,queryByText:Tie,queryByTitle:xie,queryHelpers:qie,screen:Oie,waitFor:Pie,waitForElementToBeRemoved:Die,within:DP,prettyFormat:Iie}=Wg,{userEvent:Mie}=(0,PP.instrument)({userEvent:fae},{intercept:!0}),{expect:Nie}=(0,YY.instrument)({expect:vq},{getKeys:(e,t)=>{let r=["assert","__methods","__flags","_obj"];if(e.constructor===V){let n=Object.keys(Object.getPrototypeOf(e)).filter(o=>!r.includes(o));return t>2?n:[...n,"not"]}return Object.keys(e)},intercept:e=>e!=="expect"}),Bie=({parameters:e})=>{e?.test?.mockReset===!0?Aq():e?.test?.clearMocks===!0?Sq():e?.test?.restoreMocks!==!1&&Cq()},Yu=(e,t=0,r)=>{if(t>5||e==null)return e;if(Yb(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=wq(e);return r&&n.mockName(r),n}if(Array.isArray(e))return t++,e.map(n=>Yu(n,t));if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,o]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=Yu(o,t,n));return e}return e},jie=({initialArgs:e})=>{Yu(e)},Fie=e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=DP(e.canvasElement))};kR.global.__STORYBOOK_TEST_LOADERS__=[Bie,jie,Fie];kR.global.__STORYBOOK_TEST_ON_MOCK_CALL__=Eq});var yv=se((J2e,BP)=>{"use strict";var MP=(e=0)=>t=>`\x1B[${38+e};5;${t}m`,NP=(e=0)=>(t,r,n)=>`\x1B[${38+e};2;${t};${r};${n}m`;function kie(){let e=new Map,t={modifier:{reset:[0,0],bold:[1,22],dim:[2,22],italic:[3,23],underline:[4,24],overline:[53,55],inverse:[7,27],hidden:[8,28],strikethrough:[9,29]},color:{black:[30,39],red:[31,39],green:[32,39],yellow:[33,39],blue:[34,39],magenta:[35,39],cyan:[36,39],white:[37,39],blackBright:[90,39],redBright:[91,39],greenBright:[92,39],yellowBright:[93,39],blueBright:[94,39],magentaBright:[95,39],cyanBright:[96,39],whiteBright:[97,39]},bgColor:{bgBlack:[40,49],bgRed:[41,49],bgGreen:[42,49],bgYellow:[43,49],bgBlue:[44,49],bgMagenta:[45,49],bgCyan:[46,49],bgWhite:[47,49],bgBlackBright:[100,49],bgRedBright:[101,49],bgGreenBright:[102,49],bgYellowBright:[103,49],bgBlueBright:[104,49],bgMagentaBright:[105,49],bgCyanBright:[106,49],bgWhiteBright:[107,49]}};t.color.gray=t.color.blackBright,t.bgColor.bgGray=t.bgColor.bgBlackBright,t.color.grey=t.color.blackBright,t.bgColor.bgGrey=t.bgColor.bgBlackBright;for(let[r,n]of Object.entries(t)){for(let[o,i]of Object.entries(n))t[o]={open:`\x1B[${i[0]}m`,close:`\x1B[${i[1]}m`},n[o]=t[o],e.set(i[0],i[1]);Object.defineProperty(t,r,{value:n,enumerable:!1})}return Object.defineProperty(t,"codes",{value:e,enumerable:!1}),t.color.close="\x1B[39m",t.bgColor.close="\x1B[49m",t.color.ansi256=MP(),t.color.ansi16m=NP(),t.bgColor.ansi256=MP(10),t.bgColor.ansi16m=NP(10),Object.defineProperties(t,{rgbToAnsi256:{value:(r,n,o)=>r===n&&n===o?r<8?16:r>248?231:Math.round((r-8)/247*24)+232:16+36*Math.round(r/255*5)+6*Math.round(n/255*5)+Math.round(o/255*5),enumerable:!1},hexToRgb:{value:r=>{let n=/(?<colorString>[a-f\d]{6}|[a-f\d]{3})/i.exec(r.toString(16));if(!n)return[0,0,0];let{colorString:o}=n.groups;o.length===3&&(o=o.split("").map(s=>s+s).join(""));let i=Number.parseInt(o,16);return[i>>16&255,i>>8&255,i&255]},enumerable:!1},hexToAnsi256:{value:r=>t.rgbToAnsi256(...t.hexToRgb(r)),enumerable:!1}}),t}Object.defineProperty(BP,"exports",{enumerable:!0,get:kie})});var Qs=se(Pi=>{"use strict";Object.defineProperty(Pi,"__esModule",{value:!0});Pi.printIteratorEntries=$ie;Pi.printIteratorValues=Uie;Pi.printListItems=Hie;Pi.printObjectProperties=zie;var Lie=(e,t)=>{let r=Object.keys(e).sort(t);return Object.getOwnPropertySymbols&&Object.getOwnPropertySymbols(e).forEach(n=>{Object.getOwnPropertyDescriptor(e,n).enumerable&&r.push(n)}),r};function $ie(e,t,r,n,o,i,s=": "){let l="",u=e.next();if(!u.done){l+=t.spacingOuter;let c=r+t.indent;for(;!u.done;){let d=i(u.value[0],t,c,n,o),p=i(u.value[1],t,c,n,o);l+=c+d+s+p,u=e.next(),u.done?t.min||(l+=","):l+=","+t.spacingInner}l+=t.spacingOuter+r}return l}function Uie(e,t,r,n,o,i){let s="",l=e.next();if(!l.done){s+=t.spacingOuter;let u=r+t.indent;for(;!l.done;)s+=u+i(l.value,t,u,n,o),l=e.next(),l.done?t.min||(s+=","):s+=","+t.spacingInner;s+=t.spacingOuter+r}return s}function Hie(e,t,r,n,o,i){let s="";if(e.length){s+=t.spacingOuter;let l=r+t.indent;for(let u=0;u<e.length;u++)s+=l,u in e&&(s+=i(e[u],t,l,n,o)),u<e.length-1?s+=","+t.spacingInner:t.min||(s+=",");s+=t.spacingOuter+r}return s}function zie(e,t,r,n,o,i){let s="",l=Lie(e,t.compareKeys);if(l.length){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let d=l[c],p=i(d,t,u,n,o),h=i(e[d],t,u,n,o);s+=u+p+": "+h,c<l.length-1?s+=","+t.spacingInner:t.min||(s+=",")}s+=t.spacingOuter+r}return s}});var LP=se(no=>{"use strict";Object.defineProperty(no,"__esModule",{value:!0});no.test=no.serialize=no.default=void 0;var jP=Qs(),Rc=function(){return typeof globalThis<"u"?globalThis:typeof Rc<"u"?Rc:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),gv=Rc["jest-symbol-do-not-touch"]||Rc.Symbol,Vie=typeof gv=="function"&&gv.for?gv.for("jest.asymmetricMatcher"):1267621,Cc=" ",FP=(e,t,r,n,o,i)=>{let s=e.toString();return s==="ArrayContaining"||s==="ArrayNotContaining"?++n>t.maxDepth?"["+s+"]":s+Cc+"["+(0,jP.printListItems)(e.sample,t,r,n,o,i)+"]":s==="ObjectContaining"||s==="ObjectNotContaining"?++n>t.maxDepth?"["+s+"]":s+Cc+"{"+(0,jP.printObjectProperties)(e.sample,t,r,n,o,i)+"}":s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining"?s+Cc+i(e.sample,t,r,n,o):e.toAsymmetricMatcher()};no.serialize=FP;var kP=e=>e&&e.$$typeof===Vie;no.test=kP;var Gie={serialize:FP,test:kP},Wie=Gie;no.default=Wie});var UP=se((Z2e,$P)=>{"use strict";$P.exports=({onlyFirst:e=!1}={})=>{let t=["[\\u001B\\u009B][[\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]+)*|[a-zA-Z\\d]+(?:;[-a-zA-Z\\d\\/#&.:=?%@~_]*)*)?\\u0007)","(?:(?:\\d{1,4}(?:;\\d{0,4})*)?[\\dA-PR-TZcf-ntqry=><~]))"].join("|");return new RegExp(t,e?void 0:"g")}});var WP=se(oo=>{"use strict";Object.defineProperty(oo,"__esModule",{value:!0});oo.test=oo.serialize=oo.default=void 0;var HP=zP(UP()),Et=zP(yv());function zP(e){return e&&e.__esModule?e:{default:e}}var Yie=e=>e.replace((0,HP.default)(),t=>{switch(t){case Et.default.red.close:case Et.default.green.close:case Et.default.cyan.close:case Et.default.gray.close:case Et.default.white.close:case Et.default.yellow.close:case Et.default.bgRed.close:case Et.default.bgGreen.close:case Et.default.bgYellow.close:case Et.default.inverse.close:case Et.default.dim.close:case Et.default.bold.close:case Et.default.reset.open:case Et.default.reset.close:return"</>";case Et.default.red.open:return"<red>";case Et.default.green.open:return"<green>";case Et.default.cyan.open:return"<cyan>";case Et.default.gray.open:return"<gray>";case Et.default.white.open:return"<white>";case Et.default.yellow.open:return"<yellow>";case Et.default.bgRed.open:return"<bgRed>";case Et.default.bgGreen.open:return"<bgGreen>";case Et.default.bgYellow.open:return"<bgYellow>";case Et.default.inverse.open:return"<inverse>";case Et.default.dim.open:return"<dim>";case Et.default.bold.open:return"<bold>";default:return""}}),VP=e=>typeof e=="string"&&!!e.match((0,HP.default)());oo.test=VP;var GP=(e,t,r,n,o,i)=>i(Yie(e),t,r,n,o);oo.serialize=GP;var Kie={serialize:GP,test:VP},Jie=Kie;oo.default=Jie});var QP=se(ao=>{"use strict";Object.defineProperty(ao,"__esModule",{value:!0});ao.test=ao.serialize=ao.default=void 0;var YP=Qs(),Xie=" ",KP=["DOMStringMap","NamedNodeMap"],Qie=/^(HTML\w*Collection|NodeList)$/,Zie=e=>KP.indexOf(e)!==-1||Qie.test(e),JP=e=>e&&e.constructor&&!!e.constructor.name&&Zie(e.constructor.name);ao.test=JP;var ese=e=>e.constructor.name==="NamedNodeMap",XP=(e,t,r,n,o,i)=>{let s=e.constructor.name;return++n>t.maxDepth?"["+s+"]":(t.min?"":s+Xie)+(KP.indexOf(s)!==-1?"{"+(0,YP.printObjectProperties)(ese(e)?Array.from(e).reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,o,i)+"}":"["+(0,YP.printListItems)(Array.from(e),t,r,n,o,i)+"]")};ao.serialize=XP;var tse={serialize:XP,test:JP},rse=tse;ao.default=rse});var ZP=se(bv=>{"use strict";Object.defineProperty(bv,"__esModule",{value:!0});bv.default=nse;function nse(e){return e.replace(/</g,"<").replace(/>/g,">")}});var Tc=se(br=>{"use strict";Object.defineProperty(br,"__esModule",{value:!0});br.printText=br.printProps=br.printElementAsLeaf=br.printElement=br.printComment=br.printChildren=void 0;var eD=ose(ZP());function ose(e){return e&&e.__esModule?e:{default:e}}var ase=(e,t,r,n,o,i,s)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
|
|
437
|
-
`)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")};br.printProps=ase;var ise=(e,t,r,n,o,i)=>e.map(s=>t.spacingOuter+r+(typeof s=="string"?tD(s,t):i(s,t,r,n,o))).join("");br.printChildren=ise;var tD=(e,t)=>{let r=t.colors.content;return r.open+(0,eD.default)(e)+r.close};br.printText=tD;var sse=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+(0,eD.default)(e)+"-->"+r.close};br.printComment=sse;var lse=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close};br.printElement=lse;var use=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close};br.printElementAsLeaf=use});var sD=se(io=>{"use strict";Object.defineProperty(io,"__esModule",{value:!0});io.test=io.serialize=io.default=void 0;var Di=Tc(),cse=1,rD=3,nD=8,oD=11,dse=/^((HTML|SVG)\w*)?Element$/,pse=e=>{try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}},fse=e=>{let t=e.constructor.name,{nodeType:r,tagName:n}=e,o=typeof n=="string"&&n.includes("-")||pse(e);return r===cse&&(dse.test(t)||o)||r===rD&&t==="Text"||r===nD&&t==="Comment"||r===oD&&t==="DocumentFragment"},aD=e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&fse(e)};io.test=aD;function hse(e){return e.nodeType===rD}function mse(e){return e.nodeType===nD}function vv(e){return e.nodeType===oD}var iD=(e,t,r,n,o,i)=>{if(hse(e))return(0,Di.printText)(e.data,t);if(mse(e))return(0,Di.printComment)(e.data,t);let s=vv(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?(0,Di.printElementAsLeaf)(s,t):(0,Di.printElement)(s,(0,Di.printProps)(vv(e)?[]:Array.from(e.attributes).map(l=>l.name).sort(),vv(e)?{}:Array.from(e.attributes).reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,o,i),(0,Di.printChildren)(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,o,i),t,r)};io.serialize=iD;var yse={serialize:iD,test:aD},gse=yse;io.default=gse});var pD=se(so=>{"use strict";Object.defineProperty(so,"__esModule",{value:!0});so.test=so.serialize=so.default=void 0;var Zs=Qs(),bse="@@__IMMUTABLE_ITERABLE__@@",vse="@@__IMMUTABLE_LIST__@@",Ese="@@__IMMUTABLE_KEYED__@@",wse="@@__IMMUTABLE_MAP__@@",lD="@@__IMMUTABLE_ORDERED__@@",_se="@@__IMMUTABLE_RECORD__@@",Sse="@@__IMMUTABLE_SEQ__@@",Ase="@@__IMMUTABLE_SET__@@",Cse="@@__IMMUTABLE_STACK__@@",Ii=e=>"Immutable."+e,xc=e=>"["+e+"]",el=" ",uD="\u2026",Rse=(e,t,r,n,o,i,s)=>++n>t.maxDepth?xc(Ii(s)):Ii(s)+el+"{"+(0,Zs.printIteratorEntries)(e.entries(),t,r,n,o,i)+"}";function Tse(e){let t=0;return{next(){if(t<e._keys.length){let r=e._keys[t++];return{done:!1,value:[r,e.get(r)]}}return{done:!0,value:void 0}}}}var xse=(e,t,r,n,o,i)=>{let s=Ii(e._name||"Record");return++n>t.maxDepth?xc(s):s+el+"{"+(0,Zs.printIteratorEntries)(Tse(e),t,r,n,o,i)+"}"},qse=(e,t,r,n,o,i)=>{let s=Ii("Seq");return++n>t.maxDepth?xc(s):e[Ese]?s+el+"{"+(e._iter||e._object?(0,Zs.printIteratorEntries)(e.entries(),t,r,n,o,i):uD)+"}":s+el+"["+(e._iter||e._array||e._collection||e._iterable?(0,Zs.printIteratorValues)(e.values(),t,r,n,o,i):uD)+"]"},Ev=(e,t,r,n,o,i,s)=>++n>t.maxDepth?xc(Ii(s)):Ii(s)+el+"["+(0,Zs.printIteratorValues)(e.values(),t,r,n,o,i)+"]",cD=(e,t,r,n,o,i)=>e[wse]?Rse(e,t,r,n,o,i,e[lD]?"OrderedMap":"Map"):e[vse]?Ev(e,t,r,n,o,i,"List"):e[Ase]?Ev(e,t,r,n,o,i,e[lD]?"OrderedSet":"Set"):e[Cse]?Ev(e,t,r,n,o,i,"Stack"):e[Sse]?qse(e,t,r,n,o,i):xse(e,t,r,n,o,i);so.serialize=cD;var dD=e=>e&&(e[bse]===!0||e[_se]===!0);so.test=dD;var Ose={serialize:cD,test:dD},Pse=Ose;so.default=Pse});var bD=se(yt=>{"use strict";var qc=60103,Oc=60106,tl=60107,rl=60108,nl=60114,ol=60109,al=60110,il=60112,sl=60113,wv=60120,ll=60115,ul=60116,fD=60121,hD=60122,mD=60117,yD=60129,gD=60131;typeof Symbol=="function"&&Symbol.for&&(Kt=Symbol.for,qc=Kt("react.element"),Oc=Kt("react.portal"),tl=Kt("react.fragment"),rl=Kt("react.strict_mode"),nl=Kt("react.profiler"),ol=Kt("react.provider"),al=Kt("react.context"),il=Kt("react.forward_ref"),sl=Kt("react.suspense"),wv=Kt("react.suspense_list"),ll=Kt("react.memo"),ul=Kt("react.lazy"),fD=Kt("react.block"),hD=Kt("react.server.block"),mD=Kt("react.fundamental"),yD=Kt("react.debug_trace_mode"),gD=Kt("react.legacy_hidden"));var Kt;function Gr(e){if(typeof e=="object"&&e!==null){var t=e.$$typeof;switch(t){case qc:switch(e=e.type,e){case tl:case nl:case rl:case sl:case wv:return e;default:switch(e=e&&e.$$typeof,e){case al:case il:case ul:case ll:case ol:return e;default:return t}}case Oc:return t}}}var Dse=ol,Ise=qc,Mse=il,Nse=tl,Bse=ul,jse=ll,Fse=Oc,kse=nl,Lse=rl,$se=sl;yt.ContextConsumer=al;yt.ContextProvider=Dse;yt.Element=Ise;yt.ForwardRef=Mse;yt.Fragment=Nse;yt.Lazy=Bse;yt.Memo=jse;yt.Portal=Fse;yt.Profiler=kse;yt.StrictMode=Lse;yt.Suspense=$se;yt.isAsyncMode=function(){return!1};yt.isConcurrentMode=function(){return!1};yt.isContextConsumer=function(e){return Gr(e)===al};yt.isContextProvider=function(e){return Gr(e)===ol};yt.isElement=function(e){return typeof e=="object"&&e!==null&&e.$$typeof===qc};yt.isForwardRef=function(e){return Gr(e)===il};yt.isFragment=function(e){return Gr(e)===tl};yt.isLazy=function(e){return Gr(e)===ul};yt.isMemo=function(e){return Gr(e)===ll};yt.isPortal=function(e){return Gr(e)===Oc};yt.isProfiler=function(e){return Gr(e)===nl};yt.isStrictMode=function(e){return Gr(e)===rl};yt.isSuspense=function(e){return Gr(e)===sl};yt.isValidElementType=function(e){return typeof e=="string"||typeof e=="function"||e===tl||e===nl||e===yD||e===rl||e===sl||e===wv||e===gD||typeof e=="object"&&e!==null&&(e.$$typeof===ul||e.$$typeof===ll||e.$$typeof===ol||e.$$typeof===al||e.$$typeof===il||e.$$typeof===mD||e.$$typeof===fD||e[0]===hD)};yt.typeOf=Gr});var vD=se(gt=>{"use strict";process.env.NODE_ENV!=="production"&&function(){"use strict";var e=60103,t=60106,r=60107,n=60108,o=60114,i=60109,s=60110,l=60112,u=60113,c=60120,d=60115,p=60116,h=60121,m=60122,y=60117,b=60119,E=60128,g=60129,w=60130,O=60131;if(typeof Symbol=="function"&&Symbol.for){var A=Symbol.for;e=A("react.element"),t=A("react.portal"),r=A("react.fragment"),n=A("react.strict_mode"),o=A("react.profiler"),i=A("react.provider"),s=A("react.context"),l=A("react.forward_ref"),u=A("react.suspense"),c=A("react.suspense_list"),d=A("react.memo"),p=A("react.lazy"),h=A("react.block"),m=A("react.server.block"),y=A("react.fundamental"),b=A("react.scope"),E=A("react.opaque.id"),g=A("react.debug_trace_mode"),w=A("react.offscreen"),O=A("react.legacy_hidden")}var S=!1;function T(J){return!!(typeof J=="string"||typeof J=="function"||J===r||J===o||J===g||J===n||J===u||J===c||J===O||S||typeof J=="object"&&J!==null&&(J.$$typeof===p||J.$$typeof===d||J.$$typeof===i||J.$$typeof===s||J.$$typeof===l||J.$$typeof===y||J.$$typeof===h||J[0]===m))}function C(J){if(typeof J=="object"&&J!==null){var Se=J.$$typeof;switch(Se){case e:var $e=J.type;switch($e){case r:case o:case n:case u:case c:return $e;default:var tt=$e&&$e.$$typeof;switch(tt){case s:case l:case p:case d:case i:return tt;default:return Se}}case t:return Se}}}var x=s,I=i,W=e,X=l,Y=r,K=p,_=d,P=t,N=o,le=n,ce=u,Re=!1,Ne=!1;function De(J){return Re||(Re=!0,console.warn("The ReactIs.isAsyncMode() alias has been deprecated, and will be removed in React 18+.")),!1}function ye(J){return Ne||(Ne=!0,console.warn("The ReactIs.isConcurrentMode() alias has been deprecated, and will be removed in React 18+.")),!1}function de(J){return C(J)===s}function Ee(J){return C(J)===i}function qe(J){return typeof J=="object"&&J!==null&&J.$$typeof===e}function Le(J){return C(J)===l}function Fe(J){return C(J)===r}function Ge(J){return C(J)===p}function dt(J){return C(J)===d}function Q(J){return C(J)===t}function ke(J){return C(J)===o}function ze(J){return C(J)===n}function et(J){return C(J)===u}gt.ContextConsumer=x,gt.ContextProvider=I,gt.Element=W,gt.ForwardRef=X,gt.Fragment=Y,gt.Lazy=K,gt.Memo=_,gt.Portal=P,gt.Profiler=N,gt.StrictMode=le,gt.Suspense=ce,gt.isAsyncMode=De,gt.isConcurrentMode=ye,gt.isContextConsumer=de,gt.isContextProvider=Ee,gt.isElement=qe,gt.isForwardRef=Le,gt.isFragment=Fe,gt.isLazy=Ge,gt.isMemo=dt,gt.isPortal=Q,gt.isProfiler=ke,gt.isStrictMode=ze,gt.isSuspense=et,gt.isValidElementType=T,gt.typeOf=C}()});var ED=se((lwe,_v)=>{"use strict";process.env.NODE_ENV==="production"?_v.exports=bD():_v.exports=vD()});var RD=se(lo=>{"use strict";Object.defineProperty(lo,"__esModule",{value:!0});lo.test=lo.serialize=lo.default=void 0;var Jo=Use(ED()),Pc=Tc();function _D(e){if(typeof WeakMap!="function")return null;var t=new WeakMap,r=new WeakMap;return(_D=function(n){return n?r:t})(e)}function Use(e,t){if(!t&&e&&e.__esModule)return e;if(e===null||typeof e!="object"&&typeof e!="function")return{default:e};var r=_D(t);if(r&&r.has(e))return r.get(e);var n={},o=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var i in e)if(i!=="default"&&Object.prototype.hasOwnProperty.call(e,i)){var s=o?Object.getOwnPropertyDescriptor(e,i):null;s&&(s.get||s.set)?Object.defineProperty(n,i,s):n[i]=e[i]}return n.default=e,r&&r.set(e,n),n}var SD=(e,t=[])=>(Array.isArray(e)?e.forEach(r=>{SD(r,t)}):e!=null&&e!==!1&&t.push(e),t),wD=e=>{let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(Jo.isFragment(e))return"React.Fragment";if(Jo.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(Jo.isContextProvider(e))return"Context.Provider";if(Jo.isContextConsumer(e))return"Context.Consumer";if(Jo.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r!==""?"ForwardRef("+r+")":"ForwardRef"}if(Jo.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r!==""?"Memo("+r+")":"Memo"}}return"UNDEFINED"},Hse=e=>{let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()},AD=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Pc.printElementAsLeaf)(wD(e),t):(0,Pc.printElement)(wD(e),(0,Pc.printProps)(Hse(e),e.props,t,r+t.indent,n,o,i),(0,Pc.printChildren)(SD(e.props.children),t,r+t.indent,n,o,i),t,r);lo.serialize=AD;var CD=e=>e!=null&&Jo.isElement(e);lo.test=CD;var zse={serialize:AD,test:CD},Vse=zse;lo.default=Vse});var qD=se(uo=>{"use strict";Object.defineProperty(uo,"__esModule",{value:!0});uo.test=uo.serialize=uo.default=void 0;var Dc=Tc(),Ic=function(){return typeof globalThis<"u"?globalThis:typeof Ic<"u"?Ic:typeof self<"u"?self:typeof window<"u"?window:Function("return this")()}(),Sv=Ic["jest-symbol-do-not-touch"]||Ic.Symbol,Gse=typeof Sv=="function"&&Sv.for?Sv.for("react.test.json"):245830487,Wse=e=>{let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]},TD=(e,t,r,n,o,i)=>++n>t.maxDepth?(0,Dc.printElementAsLeaf)(e.type,t):(0,Dc.printElement)(e.type,e.props?(0,Dc.printProps)(Wse(e),e.props,t,r+t.indent,n,o,i):"",e.children?(0,Dc.printChildren)(e.children,t,r+t.indent,n,o,i):"",t,r);uo.serialize=TD;var xD=e=>e&&e.$$typeof===Gse;uo.test=xD;var Yse={serialize:TD,test:xD},Kse=Yse;uo.default=Kse});var VD=se(Cn=>{"use strict";Object.defineProperty(Cn,"__esModule",{value:!0});Cn.default=Cn.DEFAULT_OPTIONS=void 0;Cn.format=zD;Cn.plugins=void 0;var Jse=po(yv()),cl=Qs(),Xse=po(LP()),Qse=po(WP()),Zse=po(QP()),ele=po(sD()),tle=po(pD()),rle=po(RD()),nle=po(qD());function po(e){return e&&e.__esModule?e:{default:e}}var ND=Object.prototype.toString,ole=Date.prototype.toISOString,ale=Error.prototype.toString,OD=RegExp.prototype.toString,Av=e=>typeof e.constructor=="function"&&e.constructor.name||"Object",ile=e=>typeof window<"u"&&e===window,sle=/^Symbol\((.*)\)(.*)$/,lle=/\n/gi,Mc=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};function ule(e){return e==="[object Array]"||e==="[object ArrayBuffer]"||e==="[object DataView]"||e==="[object Float32Array]"||e==="[object Float64Array]"||e==="[object Int8Array]"||e==="[object Int16Array]"||e==="[object Int32Array]"||e==="[object Uint8Array]"||e==="[object Uint8ClampedArray]"||e==="[object Uint16Array]"||e==="[object Uint32Array]"}function cle(e){return Object.is(e,-0)?"-0":String(e)}function dle(e){return`${e}n`}function PD(e,t){return t?"[Function "+(e.name||"anonymous")+"]":"[Function]"}function DD(e){return String(e).replace(sle,"Symbol($1)")}function ID(e){return"["+ale.call(e)+"]"}function BD(e,t,r,n){if(e===!0||e===!1)return""+e;if(e===void 0)return"undefined";if(e===null)return"null";let o=typeof e;if(o==="number")return cle(e);if(o==="bigint")return dle(e);if(o==="string")return n?'"'+e.replace(/"|\\/g,"\\$&")+'"':'"'+e+'"';if(o==="function")return PD(e,t);if(o==="symbol")return DD(e);let i=ND.call(e);return i==="[object WeakMap]"?"WeakMap {}":i==="[object WeakSet]"?"WeakSet {}":i==="[object Function]"||i==="[object GeneratorFunction]"?PD(e,t):i==="[object Symbol]"?DD(e):i==="[object Date]"?isNaN(+e)?"Date { NaN }":ole.call(e):i==="[object Error]"?ID(e):i==="[object RegExp]"?r?OD.call(e).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):OD.call(e):e instanceof Error?ID(e):null}function jD(e,t,r,n,o,i){if(o.indexOf(e)!==-1)return"[Circular]";o=o.slice(),o.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!i)return co(e.toJSON(),t,r,n,o,!0);let u=ND.call(e);return u==="[object Arguments]"?s?"[Arguments]":(l?"":"Arguments ")+"["+(0,cl.printListItems)(e,t,r,n,o,co)+"]":ule(u)?s?"["+e.constructor.name+"]":(l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":e.constructor.name+" ")+"["+(0,cl.printListItems)(e,t,r,n,o,co)+"]":u==="[object Map]"?s?"[Map]":"Map {"+(0,cl.printIteratorEntries)(e.entries(),t,r,n,o,co," => ")+"}":u==="[object Set]"?s?"[Set]":"Set {"+(0,cl.printIteratorValues)(e.values(),t,r,n,o,co)+"}":s||ile(e)?"["+Av(e)+"]":(l||!t.printBasicPrototype&&Av(e)==="Object"?"":Av(e)+" ")+"{"+(0,cl.printObjectProperties)(e,t,r,n,o,co)+"}"}function ple(e){return e.serialize!=null}function FD(e,t,r,n,o,i){let s;try{s=ple(e)?e.serialize(t,r,n,o,i,co):e.print(t,l=>co(l,r,n,o,i),l=>{let u=n+r.indent;return u+l.replace(lle,`
|
|
438
|
-
`+u)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new Mc(l.message,l.stack)}if(typeof s!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof s}".`);return s}function kD(e,t){for(let r=0;r<e.length;r++)try{if(e[r].test(t))return e[r]}catch(n){throw new Mc(n.message,n.stack)}return null}function co(e,t,r,n,o,i){let s=kD(t.plugins,e);if(s!==null)return FD(s,e,t,r,n,o);let l=BD(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:jD(e,t,r,n,o,i)}var Cv={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},LD=Object.keys(Cv),Wr={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:Cv};Cn.DEFAULT_OPTIONS=Wr;function fle(e){if(Object.keys(e).forEach(t=>{if(!Wr.hasOwnProperty(t))throw new Error(`pretty-format: Unknown option "${t}".`)}),e.min&&e.indent!==void 0&&e.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(e.theme!==void 0){if(e.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof e.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof e.theme}".`)}}var hle=e=>LD.reduce((t,r)=>{let n=e.theme&&e.theme[r]!==void 0?e.theme[r]:Cv[r],o=n&&Jse.default[n];if(o&&typeof o.close=="string"&&typeof o.open=="string")t[r]=o;else throw new Error(`pretty-format: Option "theme" has a key "${r}" whose value "${n}" is undefined in ansi-styles.`);return t},Object.create(null)),mle=()=>LD.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null)),$D=e=>e&&e.printFunctionName!==void 0?e.printFunctionName:Wr.printFunctionName,UD=e=>e&&e.escapeRegex!==void 0?e.escapeRegex:Wr.escapeRegex,HD=e=>e&&e.escapeString!==void 0?e.escapeString:Wr.escapeString,MD=e=>{var t;return{callToJSON:e&&e.callToJSON!==void 0?e.callToJSON:Wr.callToJSON,colors:e&&e.highlight?hle(e):mle(),compareKeys:e&&typeof e.compareKeys=="function"?e.compareKeys:Wr.compareKeys,escapeRegex:UD(e),escapeString:HD(e),indent:e&&e.min?"":yle(e&&e.indent!==void 0?e.indent:Wr.indent),maxDepth:e&&e.maxDepth!==void 0?e.maxDepth:Wr.maxDepth,min:e&&e.min!==void 0?e.min:Wr.min,plugins:e&&e.plugins!==void 0?e.plugins:Wr.plugins,printBasicPrototype:(t=e?.printBasicPrototype)!==null&&t!==void 0?t:!0,printFunctionName:$D(e),spacingInner:e&&e.min?" ":`
|
|
439
|
-
`,spacingOuter:e&&e.min?"":`
|
|
440
|
-
`}};function yle(e){return new Array(e+1).join(" ")}function zD(e,t){if(t&&(fle(t),t.plugins)){let n=kD(t.plugins,e);if(n!==null)return FD(n,e,MD(t),"",0,[])}let r=BD(e,$D(t),UD(t),HD(t));return r!==null?r:jD(e,MD(t),"",0,[])}var gle={AsymmetricMatcher:Xse.default,ConvertAnsi:Qse.default,DOMCollection:Zse.default,DOMElement:ele.default,Immutable:tle.default,ReactElement:rle.default,ReactTestComponent:nle.default};Cn.plugins=gle;var ble=zD;Cn.default=ble});var hI=se(Fc=>{"use strict";Object.defineProperty(Fc,"__esModule",{value:!0});Fc.default=void 0;function Jle(){var e=this,t=0,r={"@@iterator":function(){return r},next:function(){if(t<e.length){var o=e[t];return t=t+1,{done:!1,value:o}}else return{done:!0}}};return r}var Xle=Jle;Fc.default=Xle});var Ni=se(xv=>{"use strict";Object.defineProperty(xv,"__esModule",{value:!0});xv.default=eue;var Qle=Zle(hI());function Zle(e){return e&&e.__esModule?e:{default:e}}function Tv(e){"@babel/helpers - typeof";return Tv=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},Tv(e)}function eue(e,t){return typeof Symbol=="function"&&Tv(Symbol.iterator)==="symbol"&&Object.defineProperty(e,Symbol.iterator,{value:Qle.default.bind(t)}),e}});var gI=se(kc=>{"use strict";Object.defineProperty(kc,"__esModule",{value:!0});kc.default=void 0;var tue=rue(Ni());function rue(e){return e&&e.__esModule?e:{default:e}}function qv(e,t){return aue(e)||oue(e,t)||yI(e,t)||nue()}function nue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
441
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function oue(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function aue(e){if(Array.isArray(e))return e}function iue(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=yI(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
442
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function yI(e,t){if(e){if(typeof e=="string")return mI(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return mI(e,t)}}function mI(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Bi=[["aria-activedescendant",{type:"id"}],["aria-atomic",{type:"boolean"}],["aria-autocomplete",{type:"token",values:["inline","list","both","none"]}],["aria-braillelabel",{type:"string"}],["aria-brailleroledescription",{type:"string"}],["aria-busy",{type:"boolean"}],["aria-checked",{type:"tristate"}],["aria-colcount",{type:"integer"}],["aria-colindex",{type:"integer"}],["aria-colspan",{type:"integer"}],["aria-controls",{type:"idlist"}],["aria-current",{type:"token",values:["page","step","location","date","time",!0,!1]}],["aria-describedby",{type:"idlist"}],["aria-description",{type:"string"}],["aria-details",{type:"id"}],["aria-disabled",{type:"boolean"}],["aria-dropeffect",{type:"tokenlist",values:["copy","execute","link","move","none","popup"]}],["aria-errormessage",{type:"id"}],["aria-expanded",{type:"boolean",allowundefined:!0}],["aria-flowto",{type:"idlist"}],["aria-grabbed",{type:"boolean",allowundefined:!0}],["aria-haspopup",{type:"token",values:[!1,!0,"menu","listbox","tree","grid","dialog"]}],["aria-hidden",{type:"boolean",allowundefined:!0}],["aria-invalid",{type:"token",values:["grammar",!1,"spelling",!0]}],["aria-keyshortcuts",{type:"string"}],["aria-label",{type:"string"}],["aria-labelledby",{type:"idlist"}],["aria-level",{type:"integer"}],["aria-live",{type:"token",values:["assertive","off","polite"]}],["aria-modal",{type:"boolean"}],["aria-multiline",{type:"boolean"}],["aria-multiselectable",{type:"boolean"}],["aria-orientation",{type:"token",values:["vertical","undefined","horizontal"]}],["aria-owns",{type:"idlist"}],["aria-placeholder",{type:"string"}],["aria-posinset",{type:"integer"}],["aria-pressed",{type:"tristate"}],["aria-readonly",{type:"boolean"}],["aria-relevant",{type:"tokenlist",values:["additions","all","removals","text"]}],["aria-required",{type:"boolean"}],["aria-roledescription",{type:"string"}],["aria-rowcount",{type:"integer"}],["aria-rowindex",{type:"integer"}],["aria-rowspan",{type:"integer"}],["aria-selected",{type:"boolean",allowundefined:!0}],["aria-setsize",{type:"integer"}],["aria-sort",{type:"token",values:["ascending","descending","none","other"]}],["aria-valuemax",{type:"number"}],["aria-valuemin",{type:"number"}],["aria-valuenow",{type:"number"}],["aria-valuetext",{type:"string"}]],Ov={entries:function(){return Bi},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=iue(Bi),o;try{for(n.s();!(o=n.n()).done;){var i=qv(o.value,2),s=i[0],l=i[1];t.call(r,l,s,Bi)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=Bi.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Ov.get(t)},keys:function(){return Bi.map(function(t){var r=qv(t,1),n=r[0];return n})},values:function(){return Bi.map(function(t){var r=qv(t,2),n=r[1];return n})}},sue=(0,tue.default)(Ov,Ov.entries());kc.default=sue});var EI=se(Lc=>{"use strict";Object.defineProperty(Lc,"__esModule",{value:!0});Lc.default=void 0;var lue=uue(Ni());function uue(e){return e&&e.__esModule?e:{default:e}}function Pv(e,t){return pue(e)||due(e,t)||vI(e,t)||cue()}function cue(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
443
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function due(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function pue(e){if(Array.isArray(e))return e}function fue(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=vI(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
444
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function vI(e,t){if(e){if(typeof e=="string")return bI(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return bI(e,t)}}function bI(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ji=[["a",{reserved:!1}],["abbr",{reserved:!1}],["acronym",{reserved:!1}],["address",{reserved:!1}],["applet",{reserved:!1}],["area",{reserved:!1}],["article",{reserved:!1}],["aside",{reserved:!1}],["audio",{reserved:!1}],["b",{reserved:!1}],["base",{reserved:!0}],["bdi",{reserved:!1}],["bdo",{reserved:!1}],["big",{reserved:!1}],["blink",{reserved:!1}],["blockquote",{reserved:!1}],["body",{reserved:!1}],["br",{reserved:!1}],["button",{reserved:!1}],["canvas",{reserved:!1}],["caption",{reserved:!1}],["center",{reserved:!1}],["cite",{reserved:!1}],["code",{reserved:!1}],["col",{reserved:!0}],["colgroup",{reserved:!0}],["content",{reserved:!1}],["data",{reserved:!1}],["datalist",{reserved:!1}],["dd",{reserved:!1}],["del",{reserved:!1}],["details",{reserved:!1}],["dfn",{reserved:!1}],["dialog",{reserved:!1}],["dir",{reserved:!1}],["div",{reserved:!1}],["dl",{reserved:!1}],["dt",{reserved:!1}],["em",{reserved:!1}],["embed",{reserved:!1}],["fieldset",{reserved:!1}],["figcaption",{reserved:!1}],["figure",{reserved:!1}],["font",{reserved:!1}],["footer",{reserved:!1}],["form",{reserved:!1}],["frame",{reserved:!1}],["frameset",{reserved:!1}],["h1",{reserved:!1}],["h2",{reserved:!1}],["h3",{reserved:!1}],["h4",{reserved:!1}],["h5",{reserved:!1}],["h6",{reserved:!1}],["head",{reserved:!0}],["header",{reserved:!1}],["hgroup",{reserved:!1}],["hr",{reserved:!1}],["html",{reserved:!0}],["i",{reserved:!1}],["iframe",{reserved:!1}],["img",{reserved:!1}],["input",{reserved:!1}],["ins",{reserved:!1}],["kbd",{reserved:!1}],["keygen",{reserved:!1}],["label",{reserved:!1}],["legend",{reserved:!1}],["li",{reserved:!1}],["link",{reserved:!0}],["main",{reserved:!1}],["map",{reserved:!1}],["mark",{reserved:!1}],["marquee",{reserved:!1}],["menu",{reserved:!1}],["menuitem",{reserved:!1}],["meta",{reserved:!0}],["meter",{reserved:!1}],["nav",{reserved:!1}],["noembed",{reserved:!0}],["noscript",{reserved:!0}],["object",{reserved:!1}],["ol",{reserved:!1}],["optgroup",{reserved:!1}],["option",{reserved:!1}],["output",{reserved:!1}],["p",{reserved:!1}],["param",{reserved:!0}],["picture",{reserved:!0}],["pre",{reserved:!1}],["progress",{reserved:!1}],["q",{reserved:!1}],["rp",{reserved:!1}],["rt",{reserved:!1}],["rtc",{reserved:!1}],["ruby",{reserved:!1}],["s",{reserved:!1}],["samp",{reserved:!1}],["script",{reserved:!0}],["section",{reserved:!1}],["select",{reserved:!1}],["small",{reserved:!1}],["source",{reserved:!0}],["spacer",{reserved:!1}],["span",{reserved:!1}],["strike",{reserved:!1}],["strong",{reserved:!1}],["style",{reserved:!0}],["sub",{reserved:!1}],["summary",{reserved:!1}],["sup",{reserved:!1}],["table",{reserved:!1}],["tbody",{reserved:!1}],["td",{reserved:!1}],["textarea",{reserved:!1}],["tfoot",{reserved:!1}],["th",{reserved:!1}],["thead",{reserved:!1}],["time",{reserved:!1}],["title",{reserved:!0}],["tr",{reserved:!1}],["track",{reserved:!0}],["tt",{reserved:!1}],["u",{reserved:!1}],["ul",{reserved:!1}],["var",{reserved:!1}],["video",{reserved:!1}],["wbr",{reserved:!1}],["xmp",{reserved:!1}]],Dv={entries:function(){return ji},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=fue(ji),o;try{for(n.s();!(o=n.n()).done;){var i=Pv(o.value,2),s=i[0],l=i[1];t.call(r,l,s,ji)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=ji.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Dv.get(t)},keys:function(){return ji.map(function(t){var r=Pv(t,1),n=r[0];return n})},values:function(){return ji.map(function(t){var r=Pv(t,2),n=r[1];return n})}},hue=(0,lue.default)(Dv,Dv.entries());Lc.default=hue});var wI=se($c=>{"use strict";Object.defineProperty($c,"__esModule",{value:!0});$c.default=void 0;var mue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},yue=mue;$c.default=yue});var _I=se(Uc=>{"use strict";Object.defineProperty(Uc,"__esModule",{value:!0});Uc.default=void 0;var gue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},bue=gue;Uc.default=bue});var SI=se(Hc=>{"use strict";Object.defineProperty(Hc,"__esModule",{value:!0});Hc.default=void 0;var vue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null},relatedConcepts:[{concept:{name:"input"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget"]]},Eue=vue;Hc.default=Eue});var AI=se(zc=>{"use strict";Object.defineProperty(zc,"__esModule",{value:!0});zc.default=void 0;var wue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_ue=wue;zc.default=_ue});var CI=se(Vc=>{"use strict";Object.defineProperty(Vc,"__esModule",{value:!0});Vc.default=void 0;var Sue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuemax":null,"aria-valuemin":null,"aria-valuenow":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Aue=Sue;Vc.default=Aue});var RI=se(Gc=>{"use strict";Object.defineProperty(Gc,"__esModule",{value:!0});Gc.default=void 0;var Cue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{"aria-atomic":null,"aria-busy":null,"aria-controls":null,"aria-current":null,"aria-describedby":null,"aria-details":null,"aria-dropeffect":null,"aria-flowto":null,"aria-grabbed":null,"aria-hidden":null,"aria-keyshortcuts":null,"aria-label":null,"aria-labelledby":null,"aria-live":null,"aria-owns":null,"aria-relevant":null,"aria-roledescription":null},relatedConcepts:[{concept:{name:"role"},module:"XHTML"},{concept:{name:"type"},module:"Dublin Core"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},Rue=Cue;Gc.default=Rue});var TI=se(Wc=>{"use strict";Object.defineProperty(Wc,"__esModule",{value:!0});Wc.default=void 0;var Tue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"frontmatter"},module:"DTB"},{concept:{name:"level"},module:"DTB"},{concept:{name:"level"},module:"SMIL"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},xue=Tue;Wc.default=xue});var xI=se(Yc=>{"use strict";Object.defineProperty(Yc,"__esModule",{value:!0});Yc.default=void 0;var que={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Oue=que;Yc.default=Oue});var qI=se(Kc=>{"use strict";Object.defineProperty(Kc,"__esModule",{value:!0});Kc.default=void 0;var Pue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","group"]]},Due=Pue;Kc.default=Due});var OI=se(Jc=>{"use strict";Object.defineProperty(Jc,"__esModule",{value:!0});Jc.default=void 0;var Iue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Mue=Iue;Jc.default=Mue});var PI=se(Xc=>{"use strict";Object.defineProperty(Xc,"__esModule",{value:!0});Xc.default=void 0;var Nue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Bue=Nue;Xc.default=Bue});var DI=se(Qc=>{"use strict";Object.defineProperty(Qc,"__esModule",{value:!0});Qc.default=void 0;var jue={abstract:!0,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-modal":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype"]]},Fue=jue;Qc.default=Fue});var II=se(Zc=>{"use strict";Object.defineProperty(Zc,"__esModule",{value:!0});Zc.default=void 0;var kue=Dr(wI()),Lue=Dr(_I()),$ue=Dr(SI()),Uue=Dr(AI()),Hue=Dr(CI()),zue=Dr(RI()),Vue=Dr(TI()),Gue=Dr(xI()),Wue=Dr(qI()),Yue=Dr(OI()),Kue=Dr(PI()),Jue=Dr(DI());function Dr(e){return e&&e.__esModule?e:{default:e}}var Xue=[["command",kue.default],["composite",Lue.default],["input",$ue.default],["landmark",Uue.default],["range",Hue.default],["roletype",zue.default],["section",Vue.default],["sectionhead",Gue.default],["select",Wue.default],["structure",Yue.default],["widget",Kue.default],["window",Jue.default]],Que=Xue;Zc.default=Que});var MI=se(ed=>{"use strict";Object.defineProperty(ed,"__esModule",{value:!0});ed.default=void 0;var Zue={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"assertive"},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ece=Zue;ed.default=ece});var NI=se(td=>{"use strict";Object.defineProperty(td,"__esModule",{value:!0});td.default=void 0;var tce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"alert"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","alert"],["roletype","window","dialog"]]},rce=tce;td.default=rce});var BI=se(rd=>{"use strict";Object.defineProperty(rd,"__esModule",{value:!0});rd.default=void 0;var nce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},oce=nce;rd.default=oce});var jI=se(nd=>{"use strict";Object.defineProperty(nd,"__esModule",{value:!0});nd.default=void 0;var ace={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"article"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},ice=ace;nd.default=ice});var FI=se(od=>{"use strict";Object.defineProperty(od,"__esModule",{value:!0});od.default=void 0;var sce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"header"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},lce=sce;od.default=lce});var kI=se(ad=>{"use strict";Object.defineProperty(ad,"__esModule",{value:!0});ad.default=void 0;var uce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"blockquote"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},cce=uce;ad.default=cce});var LI=se(id=>{"use strict";Object.defineProperty(id,"__esModule",{value:!0});id.default=void 0;var dce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-pressed":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"button"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"image"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"reset"}],name:"input"},module:"HTML"},{concept:{attributes:[{name:"type",value:"submit"}],name:"input"},module:"HTML"},{concept:{name:"button"},module:"HTML"},{concept:{name:"trigger"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},pce=dce;id.default=pce});var $I=se(sd=>{"use strict";Object.defineProperty(sd,"__esModule",{value:!0});sd.default=void 0;var fce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"caption"},module:"HTML"}],requireContextRole:["figure","grid","table"],requiredContextRole:["figure","grid","table"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hce=fce;sd.default=hce});var UI=se(ld=>{"use strict";Object.defineProperty(ld,"__esModule",{value:!0});ld.default=void 0;var mce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-colspan":null,"aria-rowindex":null,"aria-rowspan":null},relatedConcepts:[{concept:{constraints:["ancestor table element has table role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yce=mce;ld.default=yce});var HI=se(ud=>{"use strict";Object.defineProperty(ud,"__esModule",{value:!0});ud.default=void 0;var gce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"checkbox"}],name:"input"},module:"HTML"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},bce=gce;ud.default=bce});var zI=se(cd=>{"use strict";Object.defineProperty(cd,"__esModule",{value:!0});cd.default=void 0;var vce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"code"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ece=vce;cd.default=Ece});var VI=se(dd=>{"use strict";Object.defineProperty(dd,"__esModule",{value:!0});dd.default=void 0;var wce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"col"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"colgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},_ce=wce;dd.default=_ce});var GI=se(pd=>{"use strict";Object.defineProperty(pd,"__esModule",{value:!0});pd.default=void 0;var Sce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-expanded":"false","aria-haspopup":"listbox"},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"email"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"search"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"tel"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"text"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"list"},{name:"type",value:"url"}],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"multiple"},{constraints:["undefined"],name:"size"}],constraints:["the multiple attribute is not set and the size attribute does not have a value greater than 1"],name:"select"},module:"HTML"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-expanded":"false"},superClass:[["roletype","widget","input"]]},Ace=Sce;pd.default=Ace});var WI=se(fd=>{"use strict";Object.defineProperty(fd,"__esModule",{value:!0});fd.default=void 0;var Cce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-label"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],constraints:["scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"aside"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Rce=Cce;fd.default=Rce});var YI=se(hd=>{"use strict";Object.defineProperty(hd,"__esModule",{value:!0});hd.default=void 0;var Tce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{constraints:["scoped to the body element"],name:"footer"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},xce=Tce;hd.default=xce});var KI=se(md=>{"use strict";Object.defineProperty(md,"__esModule",{value:!0});md.default=void 0;var qce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dd"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Oce=qce;md.default=Oce});var JI=se(yd=>{"use strict";Object.defineProperty(yd,"__esModule",{value:!0});yd.default=void 0;var Pce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"del"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Dce=Pce;yd.default=Dce});var XI=se(gd=>{"use strict";Object.defineProperty(gd,"__esModule",{value:!0});gd.default=void 0;var Ice={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dialog"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","window"]]},Mce=Ice;gd.default=Mce});var QI=se(bd=>{"use strict";Object.defineProperty(bd,"__esModule",{value:!0});bd.default=void 0;var Nce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{module:"DAISY Guide"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Bce=Nce;bd.default=Bce});var ZI=se(vd=>{"use strict";Object.defineProperty(vd,"__esModule",{value:!0});vd.default=void 0;var jce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"Device Independence Delivery Unit"}},{concept:{name:"html"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Fce=jce;vd.default=Fce});var eM=se(Ed=>{"use strict";Object.defineProperty(Ed,"__esModule",{value:!0});Ed.default=void 0;var kce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"em"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Lce=kce;Ed.default=Lce});var tM=se(wd=>{"use strict";Object.defineProperty(wd,"__esModule",{value:!0});wd.default=void 0;var $ce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["article"]],requiredProps:{},superClass:[["roletype","structure","section","list"]]},Uce=$ce;wd.default=Uce});var rM=se(_d=>{"use strict";Object.defineProperty(_d,"__esModule",{value:!0});_d.default=void 0;var Hce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"figure"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},zce=Hce;_d.default=zce});var nM=se(Sd=>{"use strict";Object.defineProperty(Sd,"__esModule",{value:!0});Sd.default=void 0;var Vce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"form"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"name"}],name:"form"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Gce=Vce;Sd.default=Gce});var oM=se(Ad=>{"use strict";Object.defineProperty(Ad,"__esModule",{value:!0});Ad.default=void 0;var Wce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"a"},module:"HTML"},{concept:{name:"area"},module:"HTML"},{concept:{name:"aside"},module:"HTML"},{concept:{name:"b"},module:"HTML"},{concept:{name:"bdo"},module:"HTML"},{concept:{name:"body"},module:"HTML"},{concept:{name:"data"},module:"HTML"},{concept:{name:"div"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"footer"},module:"HTML"},{concept:{constraints:["scoped to the main element","scoped to a sectioning content element","scoped to a sectioning root element other than body"],name:"header"},module:"HTML"},{concept:{name:"hgroup"},module:"HTML"},{concept:{name:"i"},module:"HTML"},{concept:{name:"pre"},module:"HTML"},{concept:{name:"q"},module:"HTML"},{concept:{name:"samp"},module:"HTML"},{concept:{name:"section"},module:"HTML"},{concept:{name:"small"},module:"HTML"},{concept:{name:"span"},module:"HTML"},{concept:{name:"u"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Yce=Wce;Ad.default=Yce});var aM=se(Cd=>{"use strict";Object.defineProperty(Cd,"__esModule",{value:!0});Cd.default=void 0;var Kce={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-multiselectable":null,"aria-readonly":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","structure","section","table"]]},Jce=Kce;Cd.default=Jce});var iM=se(Rd=>{"use strict";Object.defineProperty(Rd,"__esModule",{value:!0});Rd.default=void 0;var Xce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-selected":null},relatedConcepts:[{concept:{constraints:["ancestor table element has grid role","ancestor table element has treegrid role"],name:"td"},module:"HTML"}],requireContextRole:["row"],requiredContextRole:["row"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","widget"]]},Qce=Xce;Rd.default=Qce});var sM=se(Td=>{"use strict";Object.defineProperty(Td,"__esModule",{value:!0});Td.default=void 0;var Zce={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-disabled":null},relatedConcepts:[{concept:{name:"details"},module:"HTML"},{concept:{name:"fieldset"},module:"HTML"},{concept:{name:"optgroup"},module:"HTML"},{concept:{name:"address"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ede=Zce;Td.default=ede});var lM=se(xd=>{"use strict";Object.defineProperty(xd,"__esModule",{value:!0});xd.default=void 0;var tde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-level":"2"},relatedConcepts:[{concept:{name:"h1"},module:"HTML"},{concept:{name:"h2"},module:"HTML"},{concept:{name:"h3"},module:"HTML"},{concept:{name:"h4"},module:"HTML"},{concept:{name:"h5"},module:"HTML"},{concept:{name:"h6"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-level":"2"},superClass:[["roletype","structure","sectionhead"]]},rde=tde;xd.default=rde});var uM=se(qd=>{"use strict";Object.defineProperty(qd,"__esModule",{value:!0});qd.default=void 0;var nde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"alt"}],name:"img"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"alt"}],name:"img"},module:"HTML"},{concept:{name:"imggroup"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ode=nde;qd.default=ode});var cM=se(Od=>{"use strict";Object.defineProperty(Od,"__esModule",{value:!0});Od.default=void 0;var ade={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"ins"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ide=ade;Od.default=ide});var dM=se(Pd=>{"use strict";Object.defineProperty(Pd,"__esModule",{value:!0});Pd.default=void 0;var sde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"href"}],name:"a"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"href"}],name:"area"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},lde=sde;Pd.default=lde});var pM=se(Dd=>{"use strict";Object.defineProperty(Dd,"__esModule",{value:!0});Dd.default=void 0;var ude={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menu"},module:"HTML"},{concept:{name:"ol"},module:"HTML"},{concept:{name:"ul"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["listitem"]],requiredProps:{},superClass:[["roletype","structure","section"]]},cde=ude;Dd.default=cde});var fM=se(Id=>{"use strict";Object.defineProperty(Id,"__esModule",{value:!0});Id.default=void 0;var dde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-invalid":null,"aria-multiselectable":null,"aria-readonly":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[{concept:{attributes:[{constraints:[">1"],name:"size"}],constraints:["the size attribute value is greater than 1"],name:"select"},module:"HTML"},{concept:{attributes:[{name:"multiple"}],name:"select"},module:"HTML"},{concept:{name:"datalist"},module:"HTML"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["option","group"],["option"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},pde=dde;Id.default=pde});var hM=se(Md=>{"use strict";Object.defineProperty(Md,"__esModule",{value:!0});Md.default=void 0;var fde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{constraints:["direct descendant of ol","direct descendant of ul","direct descendant of menu"],name:"li"},module:"HTML"},{concept:{name:"item"},module:"XForms"}],requireContextRole:["directory","list"],requiredContextRole:["directory","list"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},hde=fde;Md.default=hde});var mM=se(Nd=>{"use strict";Object.defineProperty(Nd,"__esModule",{value:!0});Nd.default=void 0;var mde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-live":"polite"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},yde=mde;Nd.default=yde});var yM=se(Bd=>{"use strict";Object.defineProperty(Bd,"__esModule",{value:!0});Bd.default=void 0;var gde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"main"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},bde=gde;Bd.default=bde});var gM=se(jd=>{"use strict";Object.defineProperty(jd,"__esModule",{value:!0});jd.default=void 0;var vde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:[],props:{"aria-braillelabel":null,"aria-brailleroledescription":null,"aria-description":null},relatedConcepts:[{concept:{name:"mark"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ede=vde;jd.default=Ede});var bM=se(Fd=>{"use strict";Object.defineProperty(Fd,"__esModule",{value:!0});Fd.default=void 0;var wde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_de=wde;Fd.default=_de});var vM=se(kd=>{"use strict";Object.defineProperty(kd,"__esModule",{value:!0});kd.default=void 0;var Sde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"math"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ade=Sde;kd.default=Ade});var EM=se(Ld=>{"use strict";Object.defineProperty(Ld,"__esModule",{value:!0});Ld.default=void 0;var Cde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"vertical"},relatedConcepts:[{concept:{name:"MENU"},module:"JAPI"},{concept:{name:"list"},module:"ARIA"},{concept:{name:"select"},module:"XForms"},{concept:{name:"sidebar"},module:"DTB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},Rde=Cde;Ld.default=Rde});var wM=se($d=>{"use strict";Object.defineProperty($d,"__esModule",{value:!0});$d.default=void 0;var Tde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"toolbar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["menuitem","group"],["menuitemradio","group"],["menuitemcheckbox","group"],["menuitem"],["menuitemcheckbox"],["menuitemradio"]],requiredProps:{},superClass:[["roletype","widget","composite","select","menu"],["roletype","structure","section","group","select","menu"]]},xde=Tde;$d.default=xde});var _M=se(Ud=>{"use strict";Object.defineProperty(Ud,"__esModule",{value:!0});Ud.default=void 0;var qde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"MENU_ITEM"},module:"JAPI"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command"]]},Ode=qde;Ud.default=Ode});var SM=se(Hd=>{"use strict";Object.defineProperty(Hd,"__esModule",{value:!0});Hd.default=void 0;var Pde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"],["roletype","widget","command","menuitem"]]},Dde=Pde;Hd.default=Dde});var AM=se(zd=>{"use strict";Object.defineProperty(zd,"__esModule",{value:!0});zd.default=void 0;var Ide={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"menuitem"},module:"ARIA"}],requireContextRole:["group","menu","menubar"],requiredContextRole:["group","menu","menubar"],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox","menuitemcheckbox"],["roletype","widget","command","menuitem","menuitemcheckbox"],["roletype","widget","input","radio"]]},Mde=Ide;zd.default=Mde});var CM=se(Vd=>{"use strict";Object.defineProperty(Vd,"__esModule",{value:!0});Vd.default=void 0;var Nde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null,"aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{name:"meter"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","structure","range"]]},Bde=Nde;Vd.default=Bde});var RM=se(Gd=>{"use strict";Object.defineProperty(Gd,"__esModule",{value:!0});Gd.default=void 0;var jde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"nav"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Fde=jde;Gd.default=Fde});var TM=se(Wd=>{"use strict";Object.defineProperty(Wd,"__esModule",{value:!0});Wd.default=void 0;var kde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:[],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[]},Lde=kde;Wd.default=Lde});var xM=se(Yd=>{"use strict";Object.defineProperty(Yd,"__esModule",{value:!0});Yd.default=void 0;var $de={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ude=$de;Yd.default=Ude});var qM=se(Kd=>{"use strict";Object.defineProperty(Kd,"__esModule",{value:!0});Kd.default=void 0;var Hde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[{concept:{name:"item"},module:"XForms"},{concept:{name:"listitem"},module:"ARIA"},{concept:{name:"option"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-selected":"false"},superClass:[["roletype","widget","input"]]},zde=Hde;Kd.default=zde});var OM=se(Jd=>{"use strict";Object.defineProperty(Jd,"__esModule",{value:!0});Jd.default=void 0;var Vde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"p"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Gde=Vde;Jd.default=Gde});var PM=se(Xd=>{"use strict";Object.defineProperty(Xd,"__esModule",{value:!0});Xd.default=void 0;var Wde={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{attributes:[{name:"alt",value:""}],name:"img"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},Yde=Wde;Xd.default=Yde});var DM=se(Qd=>{"use strict";Object.defineProperty(Qd,"__esModule",{value:!0});Qd.default=void 0;var Kde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-valuetext":null},relatedConcepts:[{concept:{name:"progress"},module:"HTML"},{concept:{name:"status"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","range"],["roletype","widget"]]},Jde=Kde;Qd.default=Jde});var IM=se(Zd=>{"use strict";Object.defineProperty(Zd,"__esModule",{value:!0});Zd.default=void 0;var Xde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-checked":null,"aria-posinset":null,"aria-setsize":null},relatedConcepts:[{concept:{attributes:[{name:"type",value:"radio"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input"]]},Qde=Xde;Zd.default=Qde});var MM=se(ep=>{"use strict";Object.defineProperty(ep,"__esModule",{value:!0});ep.default=void 0;var Zde={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{name:"list"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["radio"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},epe=Zde;ep.default=epe});var NM=se(tp=>{"use strict";Object.defineProperty(tp,"__esModule",{value:!0});tp.default=void 0;var tpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["set"],name:"aria-label"}],name:"section"},module:"HTML"},{concept:{attributes:[{constraints:["set"],name:"aria-labelledby"}],name:"section"},module:"HTML"},{concept:{name:"Device Independence Glossart perceivable unit"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},rpe=tpe;tp.default=rpe});var BM=se(rp=>{"use strict";Object.defineProperty(rp,"__esModule",{value:!0});rp.default=void 0;var npe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-colindex":null,"aria-expanded":null,"aria-level":null,"aria-posinset":null,"aria-rowindex":null,"aria-selected":null,"aria-setsize":null},relatedConcepts:[{concept:{name:"tr"},module:"HTML"}],requireContextRole:["grid","rowgroup","table","treegrid"],requiredContextRole:["grid","rowgroup","table","treegrid"],requiredOwnedElements:[["cell"],["columnheader"],["gridcell"],["rowheader"]],requiredProps:{},superClass:[["roletype","structure","section","group"],["roletype","widget"]]},ope=npe;rp.default=ope});var jM=se(np=>{"use strict";Object.defineProperty(np,"__esModule",{value:!0});np.default=void 0;var ape={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"tbody"},module:"HTML"},{concept:{name:"tfoot"},module:"HTML"},{concept:{name:"thead"},module:"HTML"}],requireContextRole:["grid","table","treegrid"],requiredContextRole:["grid","table","treegrid"],requiredOwnedElements:[["row"]],requiredProps:{},superClass:[["roletype","structure"]]},ipe=ape;np.default=ipe});var FM=se(op=>{"use strict";Object.defineProperty(op,"__esModule",{value:!0});op.default=void 0;var spe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-sort":null},relatedConcepts:[{concept:{attributes:[{name:"scope",value:"row"}],name:"th"},module:"HTML"},{concept:{attributes:[{name:"scope",value:"rowgroup"}],name:"th"},module:"HTML"}],requireContextRole:["row","rowgroup"],requiredContextRole:["row","rowgroup"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","cell"],["roletype","structure","section","cell","gridcell"],["roletype","widget","gridcell"],["roletype","structure","sectionhead"]]},lpe=spe;op.default=lpe});var kM=se(ap=>{"use strict";Object.defineProperty(ap,"__esModule",{value:!0});ap.default=void 0;var upe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-valuetext":null,"aria-orientation":"vertical","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-controls":null,"aria-valuenow":null},superClass:[["roletype","structure","range"],["roletype","widget"]]},cpe=upe;ap.default=cpe});var LM=se(ip=>{"use strict";Object.defineProperty(ip,"__esModule",{value:!0});ip.default=void 0;var dpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},ppe=dpe;ip.default=ppe});var $M=se(sp=>{"use strict";Object.defineProperty(sp,"__esModule",{value:!0});sp.default=void 0;var fpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"search"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input","textbox"]]},hpe=fpe;sp.default=hpe});var UM=se(lp=>{"use strict";Object.defineProperty(lp,"__esModule",{value:!0});lp.default=void 0;var mpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0","aria-valuenow":null,"aria-valuetext":null},relatedConcepts:[{concept:{name:"hr"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure"]]},ype=mpe;lp.default=ype});var HM=se(up=>{"use strict";Object.defineProperty(up,"__esModule",{value:!0});up.default=void 0;var gpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-readonly":null,"aria-valuetext":null,"aria-orientation":"horizontal","aria-valuemax":"100","aria-valuemin":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"range"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-valuenow":null},superClass:[["roletype","widget","input"],["roletype","structure","range"]]},bpe=gpe;up.default=bpe});var zM=se(cp=>{"use strict";Object.defineProperty(cp,"__esModule",{value:!0});cp.default=void 0;var vpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-readonly":null,"aria-required":null,"aria-valuetext":null,"aria-valuenow":"0"},relatedConcepts:[{concept:{attributes:[{name:"type",value:"number"}],name:"input"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","composite"],["roletype","widget","input"],["roletype","structure","range"]]},Epe=vpe;cp.default=Epe});var VM=se(dp=>{"use strict";Object.defineProperty(dp,"__esModule",{value:!0});dp.default=void 0;var wpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-atomic":"true","aria-live":"polite"},relatedConcepts:[{concept:{name:"output"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},_pe=wpe;dp.default=_pe});var GM=se(pp=>{"use strict";Object.defineProperty(pp,"__esModule",{value:!0});pp.default=void 0;var Spe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"strong"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Ape=Spe;pp.default=Ape});var WM=se(fp=>{"use strict";Object.defineProperty(fp,"__esModule",{value:!0});fp.default=void 0;var Cpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sub"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Rpe=Cpe;fp.default=Rpe});var YM=se(hp=>{"use strict";Object.defineProperty(hp,"__esModule",{value:!0});hp.default=void 0;var Tpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["prohibited"],prohibitedProps:["aria-label","aria-labelledby"],props:{},relatedConcepts:[{concept:{name:"sup"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},xpe=Tpe;hp.default=xpe});var KM=se(mp=>{"use strict";Object.defineProperty(mp,"__esModule",{value:!0});mp.default=void 0;var qpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"button"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{"aria-checked":null},superClass:[["roletype","widget","input","checkbox"]]},Ope=qpe;mp.default=Ope});var JM=se(yp=>{"use strict";Object.defineProperty(yp,"__esModule",{value:!0});yp.default=void 0;var Ppe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!0,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-disabled":null,"aria-expanded":null,"aria-haspopup":null,"aria-posinset":null,"aria-setsize":null,"aria-selected":"false"},relatedConcepts:[],requireContextRole:["tablist"],requiredContextRole:["tablist"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"],["roletype","widget"]]},Dpe=Ppe;yp.default=Dpe});var XM=se(gp=>{"use strict";Object.defineProperty(gp,"__esModule",{value:!0});gp.default=void 0;var Ipe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-colcount":null,"aria-rowcount":null},relatedConcepts:[{concept:{name:"table"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","structure","section"]]},Mpe=Ipe;gp.default=Mpe});var QM=se(bp=>{"use strict";Object.defineProperty(bp,"__esModule",{value:!0});bp.default=void 0;var Npe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-level":null,"aria-multiselectable":null,"aria-orientation":"horizontal"},relatedConcepts:[{module:"DAISY",concept:{name:"guide"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["tab"]],requiredProps:{},superClass:[["roletype","widget","composite"]]},Bpe=Npe;bp.default=Bpe});var ZM=se(vp=>{"use strict";Object.defineProperty(vp,"__esModule",{value:!0});vp.default=void 0;var jpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Fpe=jpe;vp.default=Fpe});var eN=se(Ep=>{"use strict";Object.defineProperty(Ep,"__esModule",{value:!0});Ep.default=void 0;var kpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"dfn"},module:"HTML"},{concept:{name:"dt"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Lpe=kpe;Ep.default=Lpe});var tN=se(wp=>{"use strict";Object.defineProperty(wp,"__esModule",{value:!0});wp.default=void 0;var $pe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-activedescendant":null,"aria-autocomplete":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null,"aria-multiline":null,"aria-placeholder":null,"aria-readonly":null,"aria-required":null},relatedConcepts:[{concept:{attributes:[{constraints:["undefined"],name:"type"},{constraints:["undefined"],name:"list"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"email"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"tel"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"text"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{attributes:[{constraints:["undefined"],name:"list"},{name:"type",value:"url"}],constraints:["the list attribute is not set"],name:"input"},module:"HTML"},{concept:{name:"input"},module:"XForms"},{concept:{name:"textarea"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","input"]]},Upe=$pe;wp.default=Upe});var rN=se(_p=>{"use strict";Object.defineProperty(_p,"__esModule",{value:!0});_p.default=void 0;var Hpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"time"},module:"HTML"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},zpe=Hpe;_p.default=zpe});var nN=se(Sp=>{"use strict";Object.defineProperty(Sp,"__esModule",{value:!0});Sp.default=void 0;var Vpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","status"]]},Gpe=Vpe;Sp.default=Gpe});var oN=se(Ap=>{"use strict";Object.defineProperty(Ap,"__esModule",{value:!0});Ap.default=void 0;var Wpe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-orientation":"horizontal"},relatedConcepts:[{concept:{name:"menubar"},module:"ARIA"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},Ype=Wpe;Ap.default=Ype});var aN=se(Cp=>{"use strict";Object.defineProperty(Cp,"__esModule",{value:!0});Cp.default=void 0;var Kpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Jpe=Kpe;Cp.default=Jpe});var iN=se(Rp=>{"use strict";Object.defineProperty(Rp,"__esModule",{value:!0});Rp.default=void 0;var Xpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null,"aria-multiselectable":null,"aria-required":null,"aria-orientation":"vertical"},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["treeitem","group"],["treeitem"]],requiredProps:{},superClass:[["roletype","widget","composite","select"],["roletype","structure","section","group","select"]]},Qpe=Xpe;Rp.default=Qpe});var sN=se(Tp=>{"use strict";Object.defineProperty(Tp,"__esModule",{value:!0});Tp.default=void 0;var Zpe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["row"],["row","rowgroup"]],requiredProps:{},superClass:[["roletype","widget","composite","grid"],["roletype","structure","section","table","grid"],["roletype","widget","composite","select","tree"],["roletype","structure","section","group","select","tree"]]},efe=Zpe;Tp.default=efe});var lN=se(xp=>{"use strict";Object.defineProperty(xp,"__esModule",{value:!0});xp.default=void 0;var tfe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-expanded":null,"aria-haspopup":null},relatedConcepts:[],requireContextRole:["group","tree"],requiredContextRole:["group","tree"],requiredOwnedElements:[],requiredProps:{"aria-selected":null},superClass:[["roletype","structure","section","listitem"],["roletype","widget","input","option"]]},rfe=tfe;xp.default=rfe});var uN=se(qp=>{"use strict";Object.defineProperty(qp,"__esModule",{value:!0});qp.default=void 0;var nfe=Pe(MI()),ofe=Pe(NI()),afe=Pe(BI()),ife=Pe(jI()),sfe=Pe(FI()),lfe=Pe(kI()),ufe=Pe(LI()),cfe=Pe($I()),dfe=Pe(UI()),pfe=Pe(HI()),ffe=Pe(zI()),hfe=Pe(VI()),mfe=Pe(GI()),yfe=Pe(WI()),gfe=Pe(YI()),bfe=Pe(KI()),vfe=Pe(JI()),Efe=Pe(XI()),wfe=Pe(QI()),_fe=Pe(ZI()),Sfe=Pe(eM()),Afe=Pe(tM()),Cfe=Pe(rM()),Rfe=Pe(nM()),Tfe=Pe(oM()),xfe=Pe(aM()),qfe=Pe(iM()),Ofe=Pe(sM()),Pfe=Pe(lM()),Dfe=Pe(uM()),Ife=Pe(cM()),Mfe=Pe(dM()),Nfe=Pe(pM()),Bfe=Pe(fM()),jfe=Pe(hM()),Ffe=Pe(mM()),kfe=Pe(yM()),Lfe=Pe(gM()),$fe=Pe(bM()),Ufe=Pe(vM()),Hfe=Pe(EM()),zfe=Pe(wM()),Vfe=Pe(_M()),Gfe=Pe(SM()),Wfe=Pe(AM()),Yfe=Pe(CM()),Kfe=Pe(RM()),Jfe=Pe(TM()),Xfe=Pe(xM()),Qfe=Pe(qM()),Zfe=Pe(OM()),ehe=Pe(PM()),the=Pe(DM()),rhe=Pe(IM()),nhe=Pe(MM()),ohe=Pe(NM()),ahe=Pe(BM()),ihe=Pe(jM()),she=Pe(FM()),lhe=Pe(kM()),uhe=Pe(LM()),che=Pe($M()),dhe=Pe(UM()),phe=Pe(HM()),fhe=Pe(zM()),hhe=Pe(VM()),mhe=Pe(GM()),yhe=Pe(WM()),ghe=Pe(YM()),bhe=Pe(KM()),vhe=Pe(JM()),Ehe=Pe(XM()),whe=Pe(QM()),_he=Pe(ZM()),She=Pe(eN()),Ahe=Pe(tN()),Che=Pe(rN()),Rhe=Pe(nN()),The=Pe(oN()),xhe=Pe(aN()),qhe=Pe(iN()),Ohe=Pe(sN()),Phe=Pe(lN());function Pe(e){return e&&e.__esModule?e:{default:e}}var Dhe=[["alert",nfe.default],["alertdialog",ofe.default],["application",afe.default],["article",ife.default],["banner",sfe.default],["blockquote",lfe.default],["button",ufe.default],["caption",cfe.default],["cell",dfe.default],["checkbox",pfe.default],["code",ffe.default],["columnheader",hfe.default],["combobox",mfe.default],["complementary",yfe.default],["contentinfo",gfe.default],["definition",bfe.default],["deletion",vfe.default],["dialog",Efe.default],["directory",wfe.default],["document",_fe.default],["emphasis",Sfe.default],["feed",Afe.default],["figure",Cfe.default],["form",Rfe.default],["generic",Tfe.default],["grid",xfe.default],["gridcell",qfe.default],["group",Ofe.default],["heading",Pfe.default],["img",Dfe.default],["insertion",Ife.default],["link",Mfe.default],["list",Nfe.default],["listbox",Bfe.default],["listitem",jfe.default],["log",Ffe.default],["main",kfe.default],["mark",Lfe.default],["marquee",$fe.default],["math",Ufe.default],["menu",Hfe.default],["menubar",zfe.default],["menuitem",Vfe.default],["menuitemcheckbox",Gfe.default],["menuitemradio",Wfe.default],["meter",Yfe.default],["navigation",Kfe.default],["none",Jfe.default],["note",Xfe.default],["option",Qfe.default],["paragraph",Zfe.default],["presentation",ehe.default],["progressbar",the.default],["radio",rhe.default],["radiogroup",nhe.default],["region",ohe.default],["row",ahe.default],["rowgroup",ihe.default],["rowheader",she.default],["scrollbar",lhe.default],["search",uhe.default],["searchbox",che.default],["separator",dhe.default],["slider",phe.default],["spinbutton",fhe.default],["status",hhe.default],["strong",mhe.default],["subscript",yhe.default],["superscript",ghe.default],["switch",bhe.default],["tab",vhe.default],["table",Ehe.default],["tablist",whe.default],["tabpanel",_he.default],["term",She.default],["textbox",Ahe.default],["time",Che.default],["timer",Rhe.default],["toolbar",The.default],["tooltip",xhe.default],["tree",qhe.default],["treegrid",Ohe.default],["treeitem",Phe.default]],Ihe=Dhe;qp.default=Ihe});var cN=se(Op=>{"use strict";Object.defineProperty(Op,"__esModule",{value:!0});Op.default=void 0;var Mhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"abstract [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Nhe=Mhe;Op.default=Nhe});var dN=se(Pp=>{"use strict";Object.defineProperty(Pp,"__esModule",{value:!0});Pp.default=void 0;var Bhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"acknowledgments [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},jhe=Bhe;Pp.default=jhe});var pN=se(Dp=>{"use strict";Object.defineProperty(Dp,"__esModule",{value:!0});Dp.default=void 0;var Fhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"afterword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},khe=Fhe;Dp.default=khe});var fN=se(Ip=>{"use strict";Object.defineProperty(Ip,"__esModule",{value:!0});Ip.default=void 0;var Lhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"appendix [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},$he=Lhe;Ip.default=$he});var hN=se(Mp=>{"use strict";Object.defineProperty(Mp,"__esModule",{value:!0});Mp.default=void 0;var Uhe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"referrer [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Hhe=Uhe;Mp.default=Hhe});var mN=se(Np=>{"use strict";Object.defineProperty(Np,"__esModule",{value:!0});Np.default=void 0;var zhe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"EPUB biblioentry [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-bibliography"],requiredContextRole:["doc-bibliography"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},Vhe=zhe;Np.default=Vhe});var yN=se(Bp=>{"use strict";Object.defineProperty(Bp,"__esModule",{value:!0});Bp.default=void 0;var Ghe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"bibliography [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-biblioentry"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Whe=Ghe;Bp.default=Whe});var gN=se(jp=>{"use strict";Object.defineProperty(jp,"__esModule",{value:!0});jp.default=void 0;var Yhe={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"biblioref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Khe=Yhe;jp.default=Khe});var bN=se(Fp=>{"use strict";Object.defineProperty(Fp,"__esModule",{value:!0});Fp.default=void 0;var Jhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"chapter [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Xhe=Jhe;Fp.default=Xhe});var vN=se(kp=>{"use strict";Object.defineProperty(kp,"__esModule",{value:!0});kp.default=void 0;var Qhe={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"colophon [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Zhe=Qhe;kp.default=Zhe});var EN=se(Lp=>{"use strict";Object.defineProperty(Lp,"__esModule",{value:!0});Lp.default=void 0;var eme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"conclusion [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},tme=eme;Lp.default=tme});var wN=se($p=>{"use strict";Object.defineProperty($p,"__esModule",{value:!0});$p.default=void 0;var rme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"cover [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},nme=rme;$p.default=nme});var _N=se(Up=>{"use strict";Object.defineProperty(Up,"__esModule",{value:!0});Up.default=void 0;var ome={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credit [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ame=ome;Up.default=ame});var SN=se(Hp=>{"use strict";Object.defineProperty(Hp,"__esModule",{value:!0});Hp.default=void 0;var ime={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"credits [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},sme=ime;Hp.default=sme});var AN=se(zp=>{"use strict";Object.defineProperty(zp,"__esModule",{value:!0});zp.default=void 0;var lme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"dedication [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},ume=lme;zp.default=ume});var CN=se(Vp=>{"use strict";Object.defineProperty(Vp,"__esModule",{value:!0});Vp.default=void 0;var cme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:["doc-endnotes"],requiredContextRole:["doc-endnotes"],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","listitem"]]},dme=cme;Vp.default=dme});var RN=se(Gp=>{"use strict";Object.defineProperty(Gp,"__esModule",{value:!0});Gp.default=void 0;var pme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"rearnotes [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["doc-endnote"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},fme=pme;Gp.default=fme});var TN=se(Wp=>{"use strict";Object.defineProperty(Wp,"__esModule",{value:!0});Wp.default=void 0;var hme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epigraph [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},mme=hme;Wp.default=mme});var xN=se(Yp=>{"use strict";Object.defineProperty(Yp,"__esModule",{value:!0});Yp.default=void 0;var yme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"epilogue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},gme=yme;Yp.default=gme});var qN=se(Kp=>{"use strict";Object.defineProperty(Kp,"__esModule",{value:!0});Kp.default=void 0;var bme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"errata [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},vme=bme;Kp.default=vme});var ON=se(Jp=>{"use strict";Object.defineProperty(Jp,"__esModule",{value:!0});Jp.default=void 0;var Eme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},wme=Eme;Jp.default=wme});var PN=se(Xp=>{"use strict";Object.defineProperty(Xp,"__esModule",{value:!0});Xp.default=void 0;var _me={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"footnote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Sme=_me;Xp.default=Sme});var DN=se(Qp=>{"use strict";Object.defineProperty(Qp,"__esModule",{value:!0});Qp.default=void 0;var Ame={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"foreword [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Cme=Ame;Qp.default=Cme});var IN=se(Zp=>{"use strict";Object.defineProperty(Zp,"__esModule",{value:!0});Zp.default=void 0;var Rme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossary [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[["definition"],["term"]],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Tme=Rme;Zp.default=Tme});var MN=se(ef=>{"use strict";Object.defineProperty(ef,"__esModule",{value:!0});ef.default=void 0;var xme={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"glossref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},qme=xme;ef.default=qme});var NN=se(tf=>{"use strict";Object.defineProperty(tf,"__esModule",{value:!0});tf.default=void 0;var Ome={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"index [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},Pme=Ome;tf.default=Pme});var BN=se(rf=>{"use strict";Object.defineProperty(rf,"__esModule",{value:!0});rf.default=void 0;var Dme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"introduction [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Ime=Dme;rf.default=Ime});var jN=se(nf=>{"use strict";Object.defineProperty(nf,"__esModule",{value:!0});nf.default=void 0;var Mme={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"noteref [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","widget","command","link"]]},Nme=Mme;nf.default=Nme});var FN=se(of=>{"use strict";Object.defineProperty(of,"__esModule",{value:!0});of.default=void 0;var Bme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"notice [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},jme=Bme;of.default=jme});var kN=se(af=>{"use strict";Object.defineProperty(af,"__esModule",{value:!0});af.default=void 0;var Fme={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"pagebreak [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","separator"]]},kme=Fme;af.default=kme});var LN=se(sf=>{"use strict";Object.defineProperty(sf,"__esModule",{value:!0});sf.default=void 0;var Lme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"page-list [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},$me=Lme;sf.default=$me});var $N=se(lf=>{"use strict";Object.defineProperty(lf,"__esModule",{value:!0});lf.default=void 0;var Ume={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"part [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Hme=Ume;lf.default=Hme});var UN=se(uf=>{"use strict";Object.defineProperty(uf,"__esModule",{value:!0});uf.default=void 0;var zme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"preface [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Vme=zme;uf.default=Vme});var HN=se(cf=>{"use strict";Object.defineProperty(cf,"__esModule",{value:!0});cf.default=void 0;var Gme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"prologue [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark"]]},Wme=Gme;cf.default=Wme});var zN=se(df=>{"use strict";Object.defineProperty(df,"__esModule",{value:!0});df.default=void 0;var Yme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{},relatedConcepts:[{concept:{name:"pullquote [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["none"]]},Kme=Yme;df.default=Kme});var VN=se(pf=>{"use strict";Object.defineProperty(pf,"__esModule",{value:!0});pf.default=void 0;var Jme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"qna [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]},Xme=Jme;pf.default=Xme});var GN=se(ff=>{"use strict";Object.defineProperty(ff,"__esModule",{value:!0});ff.default=void 0;var Qme={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"subtitle [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","sectionhead"]]},Zme=Qme;ff.default=Zme});var WN=se(hf=>{"use strict";Object.defineProperty(hf,"__esModule",{value:!0});hf.default=void 0;var eye={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"help [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","note"]]},tye=eye;hf.default=tye});var YN=se(mf=>{"use strict";Object.defineProperty(mf,"__esModule",{value:!0});mf.default=void 0;var rye={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{concept:{name:"toc [EPUB-SSV]"},module:"EPUB"}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","landmark","navigation"]]},nye=rye;mf.default=nye});var KN=se(yf=>{"use strict";Object.defineProperty(yf,"__esModule",{value:!0});yf.default=void 0;var oye=nt(cN()),aye=nt(dN()),iye=nt(pN()),sye=nt(fN()),lye=nt(hN()),uye=nt(mN()),cye=nt(yN()),dye=nt(gN()),pye=nt(bN()),fye=nt(vN()),hye=nt(EN()),mye=nt(wN()),yye=nt(_N()),gye=nt(SN()),bye=nt(AN()),vye=nt(CN()),Eye=nt(RN()),wye=nt(TN()),_ye=nt(xN()),Sye=nt(qN()),Aye=nt(ON()),Cye=nt(PN()),Rye=nt(DN()),Tye=nt(IN()),xye=nt(MN()),qye=nt(NN()),Oye=nt(BN()),Pye=nt(jN()),Dye=nt(FN()),Iye=nt(kN()),Mye=nt(LN()),Nye=nt($N()),Bye=nt(UN()),jye=nt(HN()),Fye=nt(zN()),kye=nt(VN()),Lye=nt(GN()),$ye=nt(WN()),Uye=nt(YN());function nt(e){return e&&e.__esModule?e:{default:e}}var Hye=[["doc-abstract",oye.default],["doc-acknowledgments",aye.default],["doc-afterword",iye.default],["doc-appendix",sye.default],["doc-backlink",lye.default],["doc-biblioentry",uye.default],["doc-bibliography",cye.default],["doc-biblioref",dye.default],["doc-chapter",pye.default],["doc-colophon",fye.default],["doc-conclusion",hye.default],["doc-cover",mye.default],["doc-credit",yye.default],["doc-credits",gye.default],["doc-dedication",bye.default],["doc-endnote",vye.default],["doc-endnotes",Eye.default],["doc-epigraph",wye.default],["doc-epilogue",_ye.default],["doc-errata",Sye.default],["doc-example",Aye.default],["doc-footnote",Cye.default],["doc-foreword",Rye.default],["doc-glossary",Tye.default],["doc-glossref",xye.default],["doc-index",qye.default],["doc-introduction",Oye.default],["doc-noteref",Pye.default],["doc-notice",Dye.default],["doc-pagebreak",Iye.default],["doc-pagelist",Mye.default],["doc-part",Nye.default],["doc-preface",Bye.default],["doc-prologue",jye.default],["doc-pullquote",Fye.default],["doc-qna",kye.default],["doc-subtitle",Lye.default],["doc-tip",$ye.default],["doc-toc",Uye.default]],zye=Hye;yf.default=zye});var JN=se(gf=>{"use strict";Object.defineProperty(gf,"__esModule",{value:!0});gf.default=void 0;var Vye={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!1,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-object"}},{module:"ARIA",concept:{name:"img"}},{module:"ARIA",concept:{name:"article"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","document"]]},Gye=Vye;gf.default=Gye});var XN=se(bf=>{"use strict";Object.defineProperty(bf,"__esModule",{value:!0});bf.default=void 0;var Wye={abstract:!1,accessibleNameRequired:!1,baseConcepts:[],childrenPresentational:!1,nameFrom:["author","contents"],prohibitedProps:[],props:{"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[{module:"GRAPHICS",concept:{name:"graphics-document"}},{module:"ARIA",concept:{name:"group"}},{module:"ARIA",concept:{name:"img"}},{module:"GRAPHICS",concept:{name:"graphics-symbol"}}],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","group"]]},Yye=Wye;bf.default=Yye});var QN=se(vf=>{"use strict";Object.defineProperty(vf,"__esModule",{value:!0});vf.default=void 0;var Kye={abstract:!1,accessibleNameRequired:!0,baseConcepts:[],childrenPresentational:!0,nameFrom:["author"],prohibitedProps:[],props:{"aria-disabled":null,"aria-errormessage":null,"aria-expanded":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section","img"]]},Jye=Kye;vf.default=Jye});var ZN=se(Ef=>{"use strict";Object.defineProperty(Ef,"__esModule",{value:!0});Ef.default=void 0;var Xye=Iv(JN()),Qye=Iv(XN()),Zye=Iv(QN());function Iv(e){return e&&e.__esModule?e:{default:e}}var ege=[["graphics-document",Xye.default],["graphics-object",Qye.default],["graphics-symbol",Zye.default]],tge=ege;Ef.default=tge});var _f=se(wf=>{"use strict";Object.defineProperty(wf,"__esModule",{value:!0});wf.default=void 0;var rge=yl(II()),nge=yl(uN()),oge=yl(KN()),age=yl(ZN()),ige=yl(Ni());function yl(e){return e&&e.__esModule?e:{default:e}}function sge(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Mv(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=tB(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
445
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function ml(e,t){return cge(e)||uge(e,t)||tB(e,t)||lge()}function lge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
446
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function tB(e,t){if(e){if(typeof e=="string")return eB(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return eB(e,t)}}function eB(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}function uge(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function cge(e){if(Array.isArray(e))return e}var fo=[].concat(rge.default,nge.default,oge.default,age.default);fo.forEach(function(e){var t=ml(e,2),r=t[1],n=Mv(r.superClass),o;try{for(n.s();!(o=n.n()).done;){var i=o.value,s=Mv(i),l;try{var u=function(){var d=l.value,p=fo.find(function(E){var g=ml(E,1),w=g[0];return w===d});if(p)for(var h=p[1],m=0,y=Object.keys(h.props);m<y.length;m++){var b=y[m];Object.prototype.hasOwnProperty.call(r.props,b)||Object.assign(r.props,sge({},b,h.props[b]))}};for(s.s();!(l=s.n()).done;)u()}catch(c){s.e(c)}finally{s.f()}}}catch(c){n.e(c)}finally{n.f()}});var Nv={entries:function(){return fo},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=Mv(fo),o;try{for(n.s();!(o=n.n()).done;){var i=ml(o.value,2),s=i[0],l=i[1];t.call(r,l,s,fo)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=fo.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Nv.get(t)},keys:function(){return fo.map(function(t){var r=ml(t,1),n=r[0];return n})},values:function(){return fo.map(function(t){var r=ml(t,2),n=r[1];return n})}},dge=(0,ige.default)(Nv,Nv.entries());wf.default=dge});var oB=se(nB=>{var rB=Object.prototype.hasOwnProperty;function Bv(e,t){var r,n;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--&&Bv(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(rB.call(e,r)&&++n&&!rB.call(t,r)||!(r in t)||!Bv(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}nB.dequal=Bv});var dB=se(Tf=>{"use strict";Object.defineProperty(Tf,"__esModule",{value:!0});Tf.default=void 0;var sB=oB(),pge=uB(Ni()),lB=uB(_f());function uB(e){return e&&e.__esModule?e:{default:e}}function jv(e,t){return mge(e)||hge(e,t)||cB(e,t)||fge()}function fge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
447
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function hge(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function mge(e){if(Array.isArray(e))return e}function yge(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=cB(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
448
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function cB(e,t){if(e){if(typeof e=="string")return aB(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return aB(e,t)}}function aB(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var ho=[],iB=lB.default.keys();for(Sf=0;Sf<iB.length;Sf++)if(Af=iB[Sf],Cf=lB.default.get(Af),Cf)for(Fv=[].concat(Cf.baseConcepts,Cf.relatedConcepts),Rf=0;Rf<Fv.length;Rf++)kv=Fv[Rf],kv.module==="HTML"&&function(){var e=kv.concept;if(e){var t=ho.find(function(i){return(0,sB.dequal)(i,e)}),r;t?r=t[1]:r=[];for(var n=!0,o=0;o<r.length;o++)if(r[o]===Af){n=!1;break}n&&r.push(Af),ho.push([e,r])}}();var Af,Cf,Fv,kv,Rf,Sf,Lv={entries:function(){return ho},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=yge(ho),o;try{for(n.s();!(o=n.n()).done;){var i=jv(o.value,2),s=i[0],l=i[1];t.call(r,l,s,ho)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=ho.find(function(n){return t.name===n[0].name&&(0,sB.dequal)(t.attributes,n[0].attributes)});return r&&r[1]},has:function(t){return!!Lv.get(t)},keys:function(){return ho.map(function(t){var r=jv(t,1),n=r[0];return n})},values:function(){return ho.map(function(t){var r=jv(t,2),n=r[1];return n})}},gge=(0,pge.default)(Lv,Lv.entries());Tf.default=gge});var gB=se(Df=>{"use strict";Object.defineProperty(Df,"__esModule",{value:!0});Df.default=void 0;var bge=mB(Ni()),hB=mB(_f());function mB(e){return e&&e.__esModule?e:{default:e}}function $v(e,t){return wge(e)||Ege(e,t)||yB(e,t)||vge()}function vge(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
449
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}function Ege(e,t){var r=e==null?null:typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(r!=null){var n=[],o=!0,i=!1,s,l;try{for(r=r.call(e);!(o=(s=r.next()).done)&&(n.push(s.value),!(t&&n.length===t));o=!0);}catch(u){i=!0,l=u}finally{try{!o&&r.return!=null&&r.return()}finally{if(i)throw l}}return n}}function wge(e){if(Array.isArray(e))return e}function _ge(e,t){var r=typeof Symbol<"u"&&e[Symbol.iterator]||e["@@iterator"];if(!r){if(Array.isArray(e)||(r=yB(e))||t&&e&&typeof e.length=="number"){r&&(e=r);var n=0,o=function(){};return{s:o,n:function(){return n>=e.length?{done:!0}:{done:!1,value:e[n++]}},e:function(c){throw c},f:o}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
450
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var i=!0,s=!1,l;return{s:function(){r=r.call(e)},n:function(){var c=r.next();return i=c.done,c},e:function(c){s=!0,l=c},f:function(){try{!i&&r.return!=null&&r.return()}finally{if(s)throw l}}}}function yB(e,t){if(e){if(typeof e=="string")return pB(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if(r==="Object"&&e.constructor&&(r=e.constructor.name),r==="Map"||r==="Set")return Array.from(e);if(r==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return pB(e,t)}}function pB(e,t){(t==null||t>e.length)&&(t=e.length);for(var r=0,n=new Array(t);r<t;r++)n[r]=e[r];return n}var Xo=[],fB=hB.default.keys();for(xf=0;xf<fB.length;xf++)if(Uv=fB[xf],qf=hB.default.get(Uv),Of=[],qf){for(Hv=[].concat(qf.baseConcepts,qf.relatedConcepts),Pf=0;Pf<Hv.length;Pf++)zv=Hv[Pf],zv.module==="HTML"&&(Vv=zv.concept,Vv!=null&&Of.push(Vv));Of.length>0&&Xo.push([Uv,Of])}var Uv,qf,Of,Hv,zv,Vv,Pf,xf,Gv={entries:function(){return Xo},forEach:function(t){var r=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,n=_ge(Xo),o;try{for(n.s();!(o=n.n()).done;){var i=$v(o.value,2),s=i[0],l=i[1];t.call(r,l,s,Xo)}}catch(u){n.e(u)}finally{n.f()}},get:function(t){var r=Xo.find(function(n){return n[0]===t});return r&&r[1]},has:function(t){return!!Gv.get(t)},keys:function(){return Xo.map(function(t){var r=$v(t,1),n=r[0];return n})},values:function(){return Xo.map(function(t){var r=$v(t,2),n=r[1];return n})}},Sge=(0,bge.default)(Gv,Gv.entries());Df.default=Sge});var bB=se(Ir=>{"use strict";Object.defineProperty(Ir,"__esModule",{value:!0});Ir.roles=Ir.roleElements=Ir.elementRoles=Ir.dom=Ir.aria=void 0;var Age=gl(gI()),Cge=gl(EI()),Rge=gl(_f()),Tge=gl(dB()),xge=gl(gB());function gl(e){return e&&e.__esModule?e:{default:e}}var qge=Age.default;Ir.aria=qge;var Oge=Cge.default;Ir.dom=Oge;var Pge=Rge.default;Ir.roles=Pge;var Dge=Tge.default;Ir.elementRoles=Dge;var Ige=xge.default;Ir.roleElements=Ige});var vB=se((_Ae,If)=>{var Wv=function(){var e=String.fromCharCode,t="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",r="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",n={};function o(s,l){if(!n[s]){n[s]={};for(var u=0;u<s.length;u++)n[s][s.charAt(u)]=u}return n[s][l]}var i={compressToBase64:function(s){if(s==null)return"";var l=i._compress(s,6,function(u){return t.charAt(u)});switch(l.length%4){default:case 0:return l;case 1:return l+"===";case 2:return l+"==";case 3:return l+"="}},decompressFromBase64:function(s){return s==null?"":s==""?null:i._decompress(s.length,32,function(l){return o(t,s.charAt(l))})},compressToUTF16:function(s){return s==null?"":i._compress(s,15,function(l){return e(l+32)})+" "},decompressFromUTF16:function(s){return s==null?"":s==""?null:i._decompress(s.length,16384,function(l){return s.charCodeAt(l)-32})},compressToUint8Array:function(s){for(var l=i.compress(s),u=new Uint8Array(l.length*2),c=0,d=l.length;c<d;c++){var p=l.charCodeAt(c);u[c*2]=p>>>8,u[c*2+1]=p%256}return u},decompressFromUint8Array:function(s){if(s==null)return i.decompress(s);for(var l=new Array(s.length/2),u=0,c=l.length;u<c;u++)l[u]=s[u*2]*256+s[u*2+1];var d=[];return l.forEach(function(p){d.push(e(p))}),i.decompress(d.join(""))},compressToEncodedURIComponent:function(s){return s==null?"":i._compress(s,6,function(l){return r.charAt(l)})},decompressFromEncodedURIComponent:function(s){return s==null?"":s==""?null:(s=s.replace(/ /g,"+"),i._decompress(s.length,32,function(l){return o(r,s.charAt(l))}))},compress:function(s){return i._compress(s,16,function(l){return e(l)})},_compress:function(s,l,u){if(s==null)return"";var c,d,p={},h={},m="",y="",b="",E=2,g=3,w=2,O=[],A=0,S=0,T;for(T=0;T<s.length;T+=1)if(m=s.charAt(T),Object.prototype.hasOwnProperty.call(p,m)||(p[m]=g++,h[m]=!0),y=b+m,Object.prototype.hasOwnProperty.call(p,y))b=y;else{if(Object.prototype.hasOwnProperty.call(h,b)){if(b.charCodeAt(0)<256){for(c=0;c<w;c++)A=A<<1,S==l-1?(S=0,O.push(u(A)),A=0):S++;for(d=b.charCodeAt(0),c=0;c<8;c++)A=A<<1|d&1,S==l-1?(S=0,O.push(u(A)),A=0):S++,d=d>>1}else{for(d=1,c=0;c<w;c++)A=A<<1|d,S==l-1?(S=0,O.push(u(A)),A=0):S++,d=0;for(d=b.charCodeAt(0),c=0;c<16;c++)A=A<<1|d&1,S==l-1?(S=0,O.push(u(A)),A=0):S++,d=d>>1}E--,E==0&&(E=Math.pow(2,w),w++),delete h[b]}else for(d=p[b],c=0;c<w;c++)A=A<<1|d&1,S==l-1?(S=0,O.push(u(A)),A=0):S++,d=d>>1;E--,E==0&&(E=Math.pow(2,w),w++),p[y]=g++,b=String(m)}if(b!==""){if(Object.prototype.hasOwnProperty.call(h,b)){if(b.charCodeAt(0)<256){for(c=0;c<w;c++)A=A<<1,S==l-1?(S=0,O.push(u(A)),A=0):S++;for(d=b.charCodeAt(0),c=0;c<8;c++)A=A<<1|d&1,S==l-1?(S=0,O.push(u(A)),A=0):S++,d=d>>1}else{for(d=1,c=0;c<w;c++)A=A<<1|d,S==l-1?(S=0,O.push(u(A)),A=0):S++,d=0;for(d=b.charCodeAt(0),c=0;c<16;c++)A=A<<1|d&1,S==l-1?(S=0,O.push(u(A)),A=0):S++,d=d>>1}E--,E==0&&(E=Math.pow(2,w),w++),delete h[b]}else for(d=p[b],c=0;c<w;c++)A=A<<1|d&1,S==l-1?(S=0,O.push(u(A)),A=0):S++,d=d>>1;E--,E==0&&(E=Math.pow(2,w),w++)}for(d=2,c=0;c<w;c++)A=A<<1|d&1,S==l-1?(S=0,O.push(u(A)),A=0):S++,d=d>>1;for(;;)if(A=A<<1,S==l-1){O.push(u(A));break}else S++;return O.join("")},decompress:function(s){return s==null?"":s==""?null:i._decompress(s.length,32768,function(l){return s.charCodeAt(l)})},_decompress:function(s,l,u){var c=[],d,p=4,h=4,m=3,y="",b=[],E,g,w,O,A,S,T,C={val:u(0),position:l,index:1};for(E=0;E<3;E+=1)c[E]=E;for(w=0,A=Math.pow(2,2),S=1;S!=A;)O=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(O>0?1:0)*S,S<<=1;switch(d=w){case 0:for(w=0,A=Math.pow(2,8),S=1;S!=A;)O=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(O>0?1:0)*S,S<<=1;T=e(w);break;case 1:for(w=0,A=Math.pow(2,16),S=1;S!=A;)O=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(O>0?1:0)*S,S<<=1;T=e(w);break;case 2:return""}for(c[3]=T,g=T,b.push(T);;){if(C.index>s)return"";for(w=0,A=Math.pow(2,m),S=1;S!=A;)O=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(O>0?1:0)*S,S<<=1;switch(T=w){case 0:for(w=0,A=Math.pow(2,8),S=1;S!=A;)O=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(O>0?1:0)*S,S<<=1;c[h++]=e(w),T=h-1,p--;break;case 1:for(w=0,A=Math.pow(2,16),S=1;S!=A;)O=C.val&C.position,C.position>>=1,C.position==0&&(C.position=l,C.val=u(C.index++)),w|=(O>0?1:0)*S,S<<=1;c[h++]=e(w),T=h-1,p--;break;case 2:return b.join("")}if(p==0&&(p=Math.pow(2,m),m++),c[T])y=c[T];else if(T===h)y=g+g.charAt(0);else return null;b.push(y),c[h++]=g+y.charAt(0),p--,g=y,p==0&&(p=Math.pow(2,m),m++)}}};return i}();typeof define=="function"&&define.amd?define(function(){return Wv}):typeof If<"u"&&If!=null?If.exports=Wv:typeof angular<"u"&&angular!=null&&angular.module("LZString",[]).factory("LZString",function(){return Wv})});var TF=Object.defineProperty,xn=(e,t)=>TF(e,"name",{value:t,configurable:!0}),xF=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),{LOGLEVEL:qF}=xF,qn={trace:1,debug:2,info:3,warn:4,error:5,silent:10},OF=qF,ta=qn[OF]||qn.info,ot={trace:xn((e,...t)=>{ta<=qn.trace&&console.trace(e,...t)},"trace"),debug:xn((e,...t)=>{ta<=qn.debug&&console.debug(e,...t)},"debug"),info:xn((e,...t)=>{ta<=qn.info&&console.info(e,...t)},"info"),warn:xn((e,...t)=>{ta<=qn.warn&&console.warn(e,...t)},"warn"),error:xn((e,...t)=>{ta<=qn.error&&console.error(e,...t)},"error"),log:xn((e,...t)=>{ta<qn.silent&&console.log(e,...t)},"log")},zf=new Set,Mt=xn(e=>(t,...r)=>{if(!zf.has(t))return zf.add(t),ot[e](t,...r)},"once");Mt.clear=()=>zf.clear();Mt.trace=Mt("trace");Mt.debug=Mt("debug");Mt.info=Mt("info");Mt.warn=Mt("warn");Mt.error=Mt("error");Mt.log=Mt("log");var dn=Mt("warn"),vr=xn(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,o=/<\/span>/gi,i;for(r.push(t[0].replace(n,"%c").replace(o,"%c"));i=n.exec(t[0]);)r.push(i[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}ot[e].apply(ot,r)},"pretty");vr.trace=vr("trace");vr.debug=vr("debug");vr.info=vr("info");vr.warn=vr("warn");vr.error=vr("error");var Tl={};RF(Tl,{ARGTYPES_INFO_REQUEST:()=>dh,ARGTYPES_INFO_RESPONSE:()=>Rl,CHANNEL_CREATED:()=>DF,CHANNEL_WS_DISCONNECT:()=>Gf,CONFIG_ERROR:()=>Wf,CREATE_NEW_STORYFILE_REQUEST:()=>IF,CREATE_NEW_STORYFILE_RESPONSE:()=>MF,CURRENT_STORY_WAS_SET:()=>Al,DOCS_PREPARED:()=>Yf,DOCS_RENDERED:()=>Hi,FILE_COMPONENT_SEARCH_REQUEST:()=>NF,FILE_COMPONENT_SEARCH_RESPONSE:()=>BF,FORCE_REMOUNT:()=>Kf,FORCE_RE_RENDER:()=>zi,GLOBALS_UPDATED:()=>vo,NAVIGATE_URL:()=>jF,PLAY_FUNCTION_THREW_EXCEPTION:()=>Jf,PRELOAD_ENTRIES:()=>Qf,PREVIEW_BUILDER_PROGRESS:()=>FF,PREVIEW_KEYDOWN:()=>Zf,REGISTER_SUBSCRIPTION:()=>kF,REQUEST_WHATS_NEW_DATA:()=>KF,RESET_STORY_ARGS:()=>Vi,RESULT_WHATS_NEW_DATA:()=>JF,SAVE_STORY_REQUEST:()=>ek,SAVE_STORY_RESPONSE:()=>tk,SELECT_STORY:()=>LF,SET_CONFIG:()=>$F,SET_CURRENT_STORY:()=>eh,SET_FILTER:()=>UF,SET_GLOBALS:()=>th,SET_INDEX:()=>HF,SET_STORIES:()=>zF,SET_WHATS_NEW_CACHE:()=>XF,SHARED_STATE_CHANGED:()=>VF,SHARED_STATE_SET:()=>GF,STORIES_COLLAPSE_ALL:()=>WF,STORIES_EXPAND_ALL:()=>YF,STORY_ARGS_UPDATED:()=>rh,STORY_CHANGED:()=>nh,STORY_ERRORED:()=>oh,STORY_INDEX_INVALIDATED:()=>ah,STORY_MISSING:()=>Cl,STORY_PREPARED:()=>ih,STORY_RENDERED:()=>ra,STORY_RENDER_PHASE_CHANGED:()=>Eo,STORY_SPECIFIED:()=>sh,STORY_THREW_EXCEPTION:()=>lh,STORY_UNCHANGED:()=>uh,TELEMETRY_ERROR:()=>ZF,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:()=>ik,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:()=>sk,TESTING_MODULE_CRASH_REPORT:()=>rk,TESTING_MODULE_PROGRESS_REPORT:()=>nk,TESTING_MODULE_RUN_ALL_REQUEST:()=>ak,TESTING_MODULE_RUN_REQUEST:()=>ok,TESTING_MODULE_WATCH_MODE_REQUEST:()=>lk,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>QF,UNHANDLED_ERRORS_WHILE_PLAYING:()=>Xf,UPDATE_GLOBALS:()=>Gi,UPDATE_QUERY_PARAMS:()=>ch,UPDATE_STORY_ARGS:()=>Wi,default:()=>PF});var Vf=(e=>(e.CHANNEL_WS_DISCONNECT="channelWSDisconnect",e.CHANNEL_CREATED="channelCreated",e.CONFIG_ERROR="configError",e.STORY_INDEX_INVALIDATED="storyIndexInvalidated",e.STORY_SPECIFIED="storySpecified",e.SET_CONFIG="setConfig",e.SET_STORIES="setStories",e.SET_INDEX="setIndex",e.SET_CURRENT_STORY="setCurrentStory",e.CURRENT_STORY_WAS_SET="currentStoryWasSet",e.FORCE_RE_RENDER="forceReRender",e.FORCE_REMOUNT="forceRemount",e.PRELOAD_ENTRIES="preloadStories",e.STORY_PREPARED="storyPrepared",e.DOCS_PREPARED="docsPrepared",e.STORY_CHANGED="storyChanged",e.STORY_UNCHANGED="storyUnchanged",e.STORY_RENDERED="storyRendered",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.PLAY_FUNCTION_THREW_EXCEPTION="playFunctionThrewException",e.UNHANDLED_ERRORS_WHILE_PLAYING="unhandledErrorsWhilePlaying",e.UPDATE_STORY_ARGS="updateStoryArgs",e.STORY_ARGS_UPDATED="storyArgsUpdated",e.RESET_STORY_ARGS="resetStoryArgs",e.SET_FILTER="setFilter",e.SET_GLOBALS="setGlobals",e.UPDATE_GLOBALS="updateGlobals",e.GLOBALS_UPDATED="globalsUpdated",e.REGISTER_SUBSCRIPTION="registerSubscription",e.PREVIEW_KEYDOWN="previewKeydown",e.PREVIEW_BUILDER_PROGRESS="preview_builder_progress",e.SELECT_STORY="selectStory",e.STORIES_COLLAPSE_ALL="storiesCollapseAll",e.STORIES_EXPAND_ALL="storiesExpandAll",e.DOCS_RENDERED="docsRendered",e.SHARED_STATE_CHANGED="sharedStateChanged",e.SHARED_STATE_SET="sharedStateSet",e.NAVIGATE_URL="navigateUrl",e.UPDATE_QUERY_PARAMS="updateQueryParams",e.REQUEST_WHATS_NEW_DATA="requestWhatsNewData",e.RESULT_WHATS_NEW_DATA="resultWhatsNewData",e.SET_WHATS_NEW_CACHE="setWhatsNewCache",e.TOGGLE_WHATS_NEW_NOTIFICATIONS="toggleWhatsNewNotifications",e.TELEMETRY_ERROR="telemetryError",e.FILE_COMPONENT_SEARCH_REQUEST="fileComponentSearchRequest",e.FILE_COMPONENT_SEARCH_RESPONSE="fileComponentSearchResponse",e.SAVE_STORY_REQUEST="saveStoryRequest",e.SAVE_STORY_RESPONSE="saveStoryResponse",e.ARGTYPES_INFO_REQUEST="argtypesInfoRequest",e.ARGTYPES_INFO_RESPONSE="argtypesInfoResponse",e.CREATE_NEW_STORYFILE_REQUEST="createNewStoryfileRequest",e.CREATE_NEW_STORYFILE_RESPONSE="createNewStoryfileResponse",e.TESTING_MODULE_CRASH_REPORT="testingModuleCrashReport",e.TESTING_MODULE_PROGRESS_REPORT="testingModuleProgressReport",e.TESTING_MODULE_RUN_REQUEST="testingModuleRunRequest",e.TESTING_MODULE_RUN_ALL_REQUEST="testingModuleRunAllRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_REQUEST="testingModuleCancelTestRunRequest",e.TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE="testingModuleCancelTestRunResponse",e.TESTING_MODULE_WATCH_MODE_REQUEST="testingModuleWatchModeRequest",e))(Vf||{}),PF=Vf,{CHANNEL_WS_DISCONNECT:Gf,CHANNEL_CREATED:DF,CONFIG_ERROR:Wf,CREATE_NEW_STORYFILE_REQUEST:IF,CREATE_NEW_STORYFILE_RESPONSE:MF,CURRENT_STORY_WAS_SET:Al,DOCS_PREPARED:Yf,DOCS_RENDERED:Hi,FILE_COMPONENT_SEARCH_REQUEST:NF,FILE_COMPONENT_SEARCH_RESPONSE:BF,FORCE_RE_RENDER:zi,FORCE_REMOUNT:Kf,GLOBALS_UPDATED:vo,NAVIGATE_URL:jF,PLAY_FUNCTION_THREW_EXCEPTION:Jf,UNHANDLED_ERRORS_WHILE_PLAYING:Xf,PRELOAD_ENTRIES:Qf,PREVIEW_BUILDER_PROGRESS:FF,PREVIEW_KEYDOWN:Zf,REGISTER_SUBSCRIPTION:kF,RESET_STORY_ARGS:Vi,SELECT_STORY:LF,SET_CONFIG:$F,SET_CURRENT_STORY:eh,SET_FILTER:UF,SET_GLOBALS:th,SET_INDEX:HF,SET_STORIES:zF,SHARED_STATE_CHANGED:VF,SHARED_STATE_SET:GF,STORIES_COLLAPSE_ALL:WF,STORIES_EXPAND_ALL:YF,STORY_ARGS_UPDATED:rh,STORY_CHANGED:nh,STORY_ERRORED:oh,STORY_INDEX_INVALIDATED:ah,STORY_MISSING:Cl,STORY_PREPARED:ih,STORY_RENDER_PHASE_CHANGED:Eo,STORY_RENDERED:ra,STORY_SPECIFIED:sh,STORY_THREW_EXCEPTION:lh,STORY_UNCHANGED:uh,UPDATE_GLOBALS:Gi,UPDATE_QUERY_PARAMS:ch,UPDATE_STORY_ARGS:Wi,REQUEST_WHATS_NEW_DATA:KF,RESULT_WHATS_NEW_DATA:JF,SET_WHATS_NEW_CACHE:XF,TOGGLE_WHATS_NEW_NOTIFICATIONS:QF,TELEMETRY_ERROR:ZF,SAVE_STORY_REQUEST:ek,SAVE_STORY_RESPONSE:tk,ARGTYPES_INFO_REQUEST:dh,ARGTYPES_INFO_RESPONSE:Rl,TESTING_MODULE_CRASH_REPORT:rk,TESTING_MODULE_PROGRESS_REPORT:nk,TESTING_MODULE_RUN_REQUEST:ok,TESTING_MODULE_RUN_ALL_REQUEST:ak,TESTING_MODULE_CANCEL_TEST_RUN_REQUEST:ik,TESTING_MODULE_CANCEL_TEST_RUN_RESPONSE:sk,TESTING_MODULE_WATCH_MODE_REQUEST:lk}=Vf;var uk=Object.create,yh=Object.defineProperty,ck=Object.getOwnPropertyDescriptor,dk=Object.getOwnPropertyNames,pk=Object.getPrototypeOf,fk=Object.prototype.hasOwnProperty,we=(e,t)=>yh(e,"name",{value:t,configurable:!0}),xl=(e=>typeof It<"u"?It:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof It<"u"?It:t)[r]}):e)(function(e){if(typeof It<"u")return It.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),hk=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),mk=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of dk(t))!fk.call(e,o)&&o!==r&&yh(e,o,{get:()=>t[o],enumerable:!(n=ck(t,o))||n.enumerable});return e},yk=(e,t,r)=>(r=e!=null?uk(pk(e)):{},mk(t||!e||!e.__esModule?yh(r,"default",{value:e,enumerable:!0}):r,e)),gk=hk((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return we(function i(s,l,u){function c(h,m){if(!l[h]){if(!s[h]){var y=typeof xl=="function"&&xl;if(!m&&y)return y(h,!0);if(d)return d(h,!0);var b=new Error("Cannot find module '"+h+"'");throw b.code="MODULE_NOT_FOUND",b}var E=l[h]={exports:{}};s[h][0].call(E.exports,function(g){var w=s[h][1][g];return c(w||g)},E,E.exports,i,s,l,u)}return l[h].exports}we(c,"s");for(var d=typeof xl=="function"&&xl,p=0;p<u.length;p++)c(u[p]);return c},"e")({1:[function(i,s,l){s.exports=function(u){if(typeof Map!="function"||u){var c=i("./similar");return new c}else return new Map}},{"./similar":2}],2:[function(i,s,l){function u(){return this.list=[],this.lastItem=void 0,this.size=0,this}we(u,"Similar"),u.prototype.get=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c))return this.lastItem.val;if(d=this.indexOf(c),d>=0)return this.lastItem=this.list[d],this.list[d].val},u.prototype.set=function(c,d){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=d,this):(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],this.list[p].val=d,this):(this.lastItem={key:c,val:d},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),d=this.indexOf(c),d>=0)return this.size--,this.list.splice(d,1)[0]},u.prototype.has=function(c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],!0):!1)},u.prototype.forEach=function(c,d){var p;for(p=0;p<this.size;p++)c.call(d||this,this.list[p].val,this.list[p].key,this)},u.prototype.indexOf=function(c){var d;for(d=0;d<this.size;d++)if(this.isEqual(this.list[d].key,c))return d;return-1},u.prototype.isEqual=function(c,d){return c===d||c!==c&&d!==d},s.exports=u},{}],3:[function(i,s,l){var u=i("map-or-similar");s.exports=function(h){var m=new u(!1),y=[];return function(b){var E=we(function(){var g=m,w,O,A=arguments.length-1,S=Array(A+1),T=!0,C;if((E.numArgs||E.numArgs===0)&&E.numArgs!==A+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(C=0;C<A;C++){if(S[C]={cacheItem:g,arg:arguments[C]},g.has(arguments[C])){g=g.get(arguments[C]);continue}T=!1,w=new u(!1),g.set(arguments[C],w),g=w}return T&&(g.has(arguments[A])?O=g.get(arguments[A]):T=!1),T||(O=b.apply(null,arguments),g.set(arguments[A],O)),h>0&&(S[A]={cacheItem:g,arg:arguments[A]},T?c(y,S):y.push(S),y.length>h&&d(y.shift())),E.wasMemoized=T,E.numArgs=A+1,O},"memoizerific");return E.limit=h,E.wasMemoized=!1,E.cache=m,E.lru=y,E}};function c(h,m){var y=h.length,b=m.length,E,g,w;for(g=0;g<y;g++){for(E=!0,w=0;w<b;w++)if(!p(h[g][w].arg,m[w].arg)){E=!1;break}if(E)break}h.push(h.splice(g,1)[0])}we(c,"moveToMostRecentLru");function d(h){var m=h.length,y=h[m-1],b,E;for(y.cacheItem.delete(y.arg),E=m-2;E>=0&&(y=h[E],b=y.cacheItem.get(y.arg),!b||!b.size);E--)y.cacheItem.delete(y.arg)}we(d,"removeCachedResult");function p(h,m){return h===m||h!==h&&m!==m}we(p,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),Bt=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})(),bk=we(e=>e.transports!==void 0,"isMulti"),vk=we(()=>Math.random().toString(16).slice(2),"generateRandomId"),F0=class{constructor(t={}){this.sender=vk(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,bk(t)?(this.transports=t.transports||[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})):this.transports=t.transport?[t.transport]:[],this.transports.forEach(r=>{r.setHandler(n=>this.handleEvent(n))})}get hasTransport(){return this.transports.length>0}addListener(t,r){this.events[t]=this.events[t]||[],this.events[t].push(r)}emit(t,...r){let n={type:t,args:r,from:this.sender},o={};r.length>=1&&r[0]&&r[0].options&&(o=r[0].options);let i=we(()=>{this.transports.forEach(s=>{s.send(n,o)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(i):i()}last(t){return this.data[t]}eventNames(){return Object.keys(this.events)}listenerCount(t){let r=this.listeners(t);return r?r.length:0}listeners(t){return this.events[t]||void 0}once(t,r){let n=this.onceListener(t,r);this.addListener(t,n)}removeAllListeners(t){t?this.events[t]&&delete this.events[t]:this.events={}}removeListener(t,r){let n=this.listeners(t);n&&(this.events[t]=n.filter(o=>o!==r))}on(t,r){this.addListener(t,r)}off(t,r){this.removeListener(t,r)}handleEvent(t){let r=this.listeners(t.type);r&&r.length&&r.forEach(n=>{n.apply(t,t.args)}),this.data[t.type]=t.args}onceListener(t,r){let n=we((...o)=>(this.removeListener(t,n),r(...o)),"onceListener");return n}};we(F0,"Channel");var Pl=F0,Ek=Object.create,k0=Object.defineProperty,wk=Object.getOwnPropertyDescriptor,L0=Object.getOwnPropertyNames,_k=Object.getPrototypeOf,Sk=Object.prototype.hasOwnProperty,Cr=we((e,t)=>we(function(){return t||(0,e[L0(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),Ak=we((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of L0(t))!Sk.call(e,o)&&o!==r&&k0(e,o,{get:we(()=>t[o],"get"),enumerable:!(n=wk(t,o))||n.enumerable});return e},"__copyProps"),gh=we((e,t,r)=>(r=e!=null?Ek(_k(e)):{},Ak(t||!e||!e.__esModule?k0(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),Ck=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],Rk=["detail"];function $0(e){let t=Ck.filter(r=>e[r]!==void 0).reduce((r,n)=>({...r,[n]:e[n]}),{});return e instanceof CustomEvent&&Rk.filter(r=>e[r]!==void 0).forEach(r=>{t[r]=e[r]}),t}we($0,"extractEventHiddenProperties");var Tk=yk(gk(),1),U0=Cr({"node_modules/has-symbols/shams.js"(e,t){"use strict";t.exports=we(function(){if(typeof Symbol!="function"||typeof Object.getOwnPropertySymbols!="function")return!1;if(typeof Symbol.iterator=="symbol")return!0;var r={},n=Symbol("test"),o=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(o)!=="[object Symbol]")return!1;var i=42;r[n]=i;for(n in r)return!1;if(typeof Object.keys=="function"&&Object.keys(r).length!==0||typeof Object.getOwnPropertyNames=="function"&&Object.getOwnPropertyNames(r).length!==0)return!1;var s=Object.getOwnPropertySymbols(r);if(s.length!==1||s[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var l=Object.getOwnPropertyDescriptor(r,n);if(l.value!==i||l.enumerable!==!0)return!1}return!0},"hasSymbols")}}),H0=Cr({"node_modules/has-symbols/index.js"(e,t){"use strict";var r=typeof Symbol<"u"&&Symbol,n=U0();t.exports=we(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),xk=Cr({"node_modules/function-bind/implementation.js"(e,t){"use strict";var r="Function.prototype.bind called on incompatible ",n=Array.prototype.slice,o=Object.prototype.toString,i="[object Function]";t.exports=we(function(s){var l=this;if(typeof l!="function"||o.call(l)!==i)throw new TypeError(r+l);for(var u=n.call(arguments,1),c,d=we(function(){if(this instanceof c){var b=l.apply(this,u.concat(n.call(arguments)));return Object(b)===b?b:this}else return l.apply(s,u.concat(n.call(arguments)))},"binder"),p=Math.max(0,l.length-u.length),h=[],m=0;m<p;m++)h.push("$"+m);if(c=Function("binder","return function ("+h.join(",")+"){ return binder.apply(this,arguments); }")(d),l.prototype){var y=we(function(){},"Empty2");y.prototype=l.prototype,c.prototype=new y,y.prototype=null}return c},"bind")}}),bh=Cr({"node_modules/function-bind/index.js"(e,t){"use strict";var r=xk();t.exports=Function.prototype.bind||r}}),qk=Cr({"node_modules/has/src/index.js"(e,t){"use strict";var r=bh();t.exports=r.call(Function.call,Object.prototype.hasOwnProperty)}}),z0=Cr({"node_modules/get-intrinsic/index.js"(e,t){"use strict";var r,n=SyntaxError,o=Function,i=TypeError,s=we(function(Y){try{return o('"use strict"; return ('+Y+").constructor;")()}catch{}},"getEvalledConstructor"),l=Object.getOwnPropertyDescriptor;if(l)try{l({},"")}catch{l=null}var u=we(function(){throw new i},"throwTypeError"),c=l?function(){try{return arguments.callee,u}catch{try{return l(arguments,"callee").get}catch{return u}}}():u,d=H0()(),p=Object.getPrototypeOf||function(Y){return Y.__proto__},h={},m=typeof Uint8Array>"u"?r:p(Uint8Array),y={"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":d?p([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":h,"%AsyncGenerator%":h,"%AsyncGeneratorFunction%":h,"%AsyncIteratorPrototype%":h,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":Error,"%eval%":eval,"%EvalError%":EvalError,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":o,"%GeneratorFunction%":h,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":d?p(p([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!d?r:p(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":Object,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":RangeError,"%ReferenceError%":ReferenceError,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!d?r:p(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":d?p(""[Symbol.iterator]()):r,"%Symbol%":d?Symbol:r,"%SyntaxError%":n,"%ThrowTypeError%":c,"%TypedArray%":m,"%TypeError%":i,"%Uint8Array%":typeof Uint8Array>"u"?r:Uint8Array,"%Uint8ClampedArray%":typeof Uint8ClampedArray>"u"?r:Uint8ClampedArray,"%Uint16Array%":typeof Uint16Array>"u"?r:Uint16Array,"%Uint32Array%":typeof Uint32Array>"u"?r:Uint32Array,"%URIError%":URIError,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet},b=we(function Y(K){var _;if(K==="%AsyncFunction%")_=s("async function () {}");else if(K==="%GeneratorFunction%")_=s("function* () {}");else if(K==="%AsyncGeneratorFunction%")_=s("async function* () {}");else if(K==="%AsyncGenerator%"){var P=Y("%AsyncGeneratorFunction%");P&&(_=P.prototype)}else if(K==="%AsyncIteratorPrototype%"){var N=Y("%AsyncGenerator%");N&&(_=p(N.prototype))}return y[K]=_,_},"doEval2"),E={"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},g=bh(),w=qk(),O=g.call(Function.call,Array.prototype.concat),A=g.call(Function.apply,Array.prototype.splice),S=g.call(Function.call,String.prototype.replace),T=g.call(Function.call,String.prototype.slice),C=g.call(Function.call,RegExp.prototype.exec),x=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,I=/\\(\\)?/g,W=we(function(Y){var K=T(Y,0,1),_=T(Y,-1);if(K==="%"&&_!=="%")throw new n("invalid intrinsic syntax, expected closing `%`");if(_==="%"&&K!=="%")throw new n("invalid intrinsic syntax, expected opening `%`");var P=[];return S(Y,x,function(N,le,ce,Re){P[P.length]=ce?S(Re,I,"$1"):le||N}),P},"stringToPath3"),X=we(function(Y,K){var _=Y,P;if(w(E,_)&&(P=E[_],_="%"+P[0]+"%"),w(y,_)){var N=y[_];if(N===h&&(N=b(_)),typeof N>"u"&&!K)throw new i("intrinsic "+Y+" exists, but is not available. Please file an issue!");return{alias:P,name:_,value:N}}throw new n("intrinsic "+Y+" does not exist!")},"getBaseIntrinsic2");t.exports=we(function(Y,K){if(typeof Y!="string"||Y.length===0)throw new i("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof K!="boolean")throw new i('"allowMissing" argument must be a boolean');if(C(/^%?[^%]*%?$/,Y)===null)throw new n("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var _=W(Y),P=_.length>0?_[0]:"",N=X("%"+P+"%",K),le=N.name,ce=N.value,Re=!1,Ne=N.alias;Ne&&(P=Ne[0],A(_,O([0,1],Ne)));for(var De=1,ye=!0;De<_.length;De+=1){var de=_[De],Ee=T(de,0,1),qe=T(de,-1);if((Ee==='"'||Ee==="'"||Ee==="`"||qe==='"'||qe==="'"||qe==="`")&&Ee!==qe)throw new n("property names with quotes must have matching quotes");if((de==="constructor"||!ye)&&(Re=!0),P+="."+de,le="%"+P+"%",w(y,le))ce=y[le];else if(ce!=null){if(!(de in ce)){if(!K)throw new i("base intrinsic for "+Y+" exists, but the property is not available.");return}if(l&&De+1>=_.length){var Le=l(ce,de);ye=!!Le,ye&&"get"in Le&&!("originalValue"in Le.get)?ce=Le.get:ce=ce[de]}else ye=w(ce,de),ce=ce[de];ye&&!Re&&(y[le]=ce)}}return ce},"GetIntrinsic")}}),Ok=Cr({"node_modules/call-bind/index.js"(e,t){"use strict";var r=bh(),n=z0(),o=n("%Function.prototype.apply%"),i=n("%Function.prototype.call%"),s=n("%Reflect.apply%",!0)||r.call(i,o),l=n("%Object.getOwnPropertyDescriptor%",!0),u=n("%Object.defineProperty%",!0),c=n("%Math.max%");if(u)try{u({},"a",{value:1})}catch{u=null}t.exports=we(function(p){var h=s(r,i,arguments);if(l&&u){var m=l(h,"length");m.configurable&&u(h,"length",{value:1+c(0,p.length-(arguments.length-1))})}return h},"callBind");var d=we(function(){return s(r,o,arguments)},"applyBind2");u?u(t.exports,"apply",{value:d}):t.exports.apply=d}}),Pk=Cr({"node_modules/call-bind/callBound.js"(e,t){"use strict";var r=z0(),n=Ok(),o=n(r("String.prototype.indexOf"));t.exports=we(function(i,s){var l=r(i,!!s);return typeof l=="function"&&o(i,".prototype.")>-1?n(l):l},"callBoundIntrinsic")}}),Dk=Cr({"node_modules/has-tostringtag/shams.js"(e,t){"use strict";var r=U0();t.exports=we(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),Ik=Cr({"node_modules/is-regex/index.js"(e,t){"use strict";var r=Pk(),n=Dk()(),o,i,s,l;n&&(o=r("Object.prototype.hasOwnProperty"),i=r("RegExp.prototype.exec"),s={},u=we(function(){throw s},"throwRegexMarker"),l={toString:u,valueOf:u},typeof Symbol.toPrimitive=="symbol"&&(l[Symbol.toPrimitive]=u));var u,c=r("Object.prototype.toString"),d=Object.getOwnPropertyDescriptor,p="[object RegExp]";t.exports=we(n?function(h){if(!h||typeof h!="object")return!1;var m=d(h,"lastIndex"),y=m&&o(m,"value");if(!y)return!1;try{i(h,l)}catch(b){return b===s}}:function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:c(h)===p},"isRegex")}}),Mk=Cr({"node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(o){if(!o)return!1;var i=r.call(o);return i==="[object Function]"||typeof o=="function"&&i!=="[object RegExp]"||typeof window<"u"&&(o===window.setTimeout||o===window.alert||o===window.confirm||o===window.prompt)}we(n,"isFunction3")}}),Nk=Cr({"node_modules/is-symbol/index.js"(e,t){"use strict";var r=Object.prototype.toString,n=H0()();n?(o=Symbol.prototype.toString,i=/^Symbol\(.*\)$/,s=we(function(l){return typeof l.valueOf()!="symbol"?!1:i.test(o.call(l))},"isRealSymbolObject"),t.exports=we(function(l){if(typeof l=="symbol")return!0;if(r.call(l)!=="[object Symbol]")return!1;try{return s(l)}catch{return!1}},"isSymbol3")):t.exports=we(function(l){return!1},"isSymbol3");var o,i,s}}),Bk=gh(Ik()),jk=gh(Mk()),Fk=gh(Nk());function V0(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}we(V0,"isObject");var kk=typeof global=="object"&&global&&global.Object===Object&&global,Lk=kk,$k=typeof self=="object"&&self&&self.Object===Object&&self,Uk=Lk||$k||Function("return this")(),vh=Uk,Hk=vh.Symbol,na=Hk,G0=Object.prototype,zk=G0.hasOwnProperty,Vk=G0.toString,Yi=na?na.toStringTag:void 0;function W0(e){var t=zk.call(e,Yi),r=e[Yi];try{e[Yi]=void 0;var n=!0}catch{}var o=Vk.call(e);return n&&(t?e[Yi]=r:delete e[Yi]),o}we(W0,"getRawTag");var Gk=W0,Wk=Object.prototype,Yk=Wk.toString;function Y0(e){return Yk.call(e)}we(Y0,"objectToString");var Kk=Y0,Jk="[object Null]",Xk="[object Undefined]",D0=na?na.toStringTag:void 0;function K0(e){return e==null?e===void 0?Xk:Jk:D0&&D0 in Object(e)?Gk(e):Kk(e)}we(K0,"baseGetTag");var J0=K0;function X0(e){return e!=null&&typeof e=="object"}we(X0,"isObjectLike");var Qk=X0,Zk="[object Symbol]";function Q0(e){return typeof e=="symbol"||Qk(e)&&J0(e)==Zk}we(Q0,"isSymbol");var Eh=Q0;function Z0(e,t){for(var r=-1,n=e==null?0:e.length,o=Array(n);++r<n;)o[r]=t(e[r],r,e);return o}we(Z0,"arrayMap");var eL=Z0,tL=Array.isArray,wh=tL,rL=1/0,I0=na?na.prototype:void 0,M0=I0?I0.toString:void 0;function _h(e){if(typeof e=="string")return e;if(wh(e))return eL(e,_h)+"";if(Eh(e))return M0?M0.call(e):"";var t=e+"";return t=="0"&&1/e==-rL?"-0":t}we(_h,"baseToString");var nL=_h;function eE(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}we(eE,"isObject2");var tE=eE,oL="[object AsyncFunction]",aL="[object Function]",iL="[object GeneratorFunction]",sL="[object Proxy]";function rE(e){if(!tE(e))return!1;var t=J0(e);return t==aL||t==iL||t==oL||t==sL}we(rE,"isFunction");var lL=rE,uL=vh["__core-js_shared__"],ph=uL,N0=function(){var e=/[^.]+$/.exec(ph&&ph.keys&&ph.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function nE(e){return!!N0&&N0 in e}we(nE,"isMasked");var cL=nE,dL=Function.prototype,pL=dL.toString;function oE(e){if(e!=null){try{return pL.call(e)}catch{}try{return e+""}catch{}}return""}we(oE,"toSource");var fL=oE,hL=/[\\^$.*+?()[\]{}|]/g,mL=/^\[object .+?Constructor\]$/,yL=Function.prototype,gL=Object.prototype,bL=yL.toString,vL=gL.hasOwnProperty,EL=RegExp("^"+bL.call(vL).replace(hL,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function aE(e){if(!tE(e)||cL(e))return!1;var t=lL(e)?EL:mL;return t.test(fL(e))}we(aE,"baseIsNative");var wL=aE;function iE(e,t){return e?.[t]}we(iE,"getValue");var _L=iE;function sE(e,t){var r=_L(e,t);return wL(r)?r:void 0}we(sE,"getNative");var lE=sE;function uE(e,t){return e===t||e!==e&&t!==t}we(uE,"eq");var SL=uE,AL=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,CL=/^\w*$/;function cE(e,t){if(wh(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||Eh(e)?!0:CL.test(e)||!AL.test(e)||t!=null&&e in Object(t)}we(cE,"isKey");var RL=cE,TL=lE(Object,"create"),Ki=TL;function dE(){this.__data__=Ki?Ki(null):{},this.size=0}we(dE,"hashClear");var xL=dE;function pE(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}we(pE,"hashDelete");var qL=pE,OL="__lodash_hash_undefined__",PL=Object.prototype,DL=PL.hasOwnProperty;function fE(e){var t=this.__data__;if(Ki){var r=t[e];return r===OL?void 0:r}return DL.call(t,e)?t[e]:void 0}we(fE,"hashGet");var IL=fE,ML=Object.prototype,NL=ML.hasOwnProperty;function hE(e){var t=this.__data__;return Ki?t[e]!==void 0:NL.call(t,e)}we(hE,"hashHas");var BL=hE,jL="__lodash_hash_undefined__";function mE(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=Ki&&t===void 0?jL:t,this}we(mE,"hashSet");var FL=mE;function wo(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])}}we(wo,"Hash");wo.prototype.clear=xL;wo.prototype.delete=qL;wo.prototype.get=IL;wo.prototype.has=BL;wo.prototype.set=FL;var B0=wo;function yE(){this.__data__=[],this.size=0}we(yE,"listCacheClear");var kL=yE;function gE(e,t){for(var r=e.length;r--;)if(SL(e[r][0],t))return r;return-1}we(gE,"assocIndexOf");var Dl=gE,LL=Array.prototype,$L=LL.splice;function bE(e){var t=this.__data__,r=Dl(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():$L.call(t,r,1),--this.size,!0}we(bE,"listCacheDelete");var UL=bE;function vE(e){var t=this.__data__,r=Dl(t,e);return r<0?void 0:t[r][1]}we(vE,"listCacheGet");var HL=vE;function EE(e){return Dl(this.__data__,e)>-1}we(EE,"listCacheHas");var zL=EE;function wE(e,t){var r=this.__data__,n=Dl(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}we(wE,"listCacheSet");var VL=wE;function _o(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])}}we(_o,"ListCache");_o.prototype.clear=kL;_o.prototype.delete=UL;_o.prototype.get=HL;_o.prototype.has=zL;_o.prototype.set=VL;var GL=_o,WL=lE(vh,"Map"),YL=WL;function _E(){this.size=0,this.__data__={hash:new B0,map:new(YL||GL),string:new B0}}we(_E,"mapCacheClear");var KL=_E;function SE(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}we(SE,"isKeyable");var JL=SE;function AE(e,t){var r=e.__data__;return JL(t)?r[typeof t=="string"?"string":"hash"]:r.map}we(AE,"getMapData");var Il=AE;function CE(e){var t=Il(this,e).delete(e);return this.size-=t?1:0,t}we(CE,"mapCacheDelete");var XL=CE;function RE(e){return Il(this,e).get(e)}we(RE,"mapCacheGet");var QL=RE;function TE(e){return Il(this,e).has(e)}we(TE,"mapCacheHas");var ZL=TE;function xE(e,t){var r=Il(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}we(xE,"mapCacheSet");var e5=xE;function So(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])}}we(So,"MapCache");So.prototype.clear=KL;So.prototype.delete=XL;So.prototype.get=QL;So.prototype.has=ZL;So.prototype.set=e5;var qE=So,t5="Expected a function";function Ml(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(t5);var r=we(function(){var n=arguments,o=t?t.apply(this,n):n[0],i=r.cache;if(i.has(o))return i.get(o);var s=e.apply(this,n);return r.cache=i.set(o,s)||i,s},"memoized");return r.cache=new(Ml.Cache||qE),r}we(Ml,"memoize");Ml.Cache=qE;var r5=Ml,n5=500;function OE(e){var t=r5(e,function(n){return r.size===n5&&r.clear(),n}),r=t.cache;return t}we(OE,"memoizeCapped");var o5=OE,a5=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,i5=/\\(\\)?/g,s5=o5(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(a5,function(r,n,o,i){t.push(o?i.replace(i5,"$1"):n||r)}),t}),l5=s5;function PE(e){return e==null?"":nL(e)}we(PE,"toString");var u5=PE;function DE(e,t){return wh(e)?e:RL(e,t)?[e]:l5(u5(e))}we(DE,"castPath");var c5=DE,d5=1/0;function IE(e){if(typeof e=="string"||Eh(e))return e;var t=e+"";return t=="0"&&1/e==-d5?"-0":t}we(IE,"toKey");var p5=IE;function ME(e,t){t=c5(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[p5(t[r++])];return r&&r==n?e:void 0}we(ME,"baseGet");var f5=ME;function NE(e,t,r){var n=e==null?void 0:f5(e,t);return n===void 0?r:n}we(NE,"get");var h5=NE,ql=V0,m5=we(e=>{let t=null,r=!1,n=!1,o=!1,i="";if(e.indexOf("//")>=0||e.indexOf("/*")>=0)for(let s=0;s<e.length;s+=1)!t&&!r&&!n&&!o?e[s]==='"'||e[s]==="'"||e[s]==="`"?t=e[s]:e[s]==="/"&&e[s+1]==="*"?r=!0:e[s]==="/"&&e[s+1]==="/"?n=!0:e[s]==="/"&&e[s+1]!=="/"&&(o=!0):(t&&(e[s]===t&&e[s-1]!=="\\"||e[s]===`
|
|
451
|
-
`&&t!=="`")&&(t=null),o&&(e[s]==="/"&&e[s-1]!=="\\"||e[s]===`
|
|
452
|
-
`)&&(o=!1),r&&e[s-1]==="/"&&e[s-2]==="*"&&(r=!1),n&&e[s]===`
|
|
453
|
-
`&&(n=!1)),!r&&!n&&(i+=e[s]);else i=e;return i},"removeCodeComments"),y5=(0,Tk.default)(1e4)(e=>m5(e).replace(/\n\s*/g,"").trim()),g5=we(function(e,t){let r=t.slice(0,t.indexOf("{")),n=t.slice(t.indexOf("{"));if(r.includes("=>")||r.includes("function"))return t;let o=r;return o=o.replace(e,"function"),o+n},"convertShorthandMethods2"),b5=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,Sh=we(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function Ah(e){if(!ql(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=$0(t),r=!0),t=Object.keys(t).reduce((n,o)=>{try{t[o]&&t[o].toJSON,n[o]=t[o]}catch{r=!0}return n},{}),r?t:e}we(Ah,"convertUnconventionalData");var v5=we(function(e){let t,r,n,o;return we(function(i,s){try{if(i==="")return o=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),o.pop();if(typeof s=="boolean")return s;if(s===void 0)return e.allowUndefined?"_undefined_":void 0;if(s===null)return null;if(typeof s=="number")return s===-1/0?"_-Infinity_":s===1/0?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return b5.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,Bk.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,jk.default)(s)){if(!e.allowFunction)return;let{name:c}=s,d=s.toString();return d.match(/(\[native code\]|WEBPACK_IMPORTED_MODULE|__webpack_exports__|__webpack_require__)/)?`_function_${c}|${(()=>{}).toString()}`:`_function_${c}|${y5(g5(i,d))}`}if((0,Fk.default)(s)){if(!e.allowSymbol)return;let c=Symbol.keyFor(s);return c!==void 0?`_gsymbol_${c}`:`_symbol_${s.toString().slice(7,-1)}`}if(n.length>=e.maxDepth)return Array.isArray(s)?`[Array(${s.length})]`:"[Object]";if(s===this)return`_duplicate_${JSON.stringify(o)}`;if(s instanceof Error&&e.allowError)return{__isConvertedError__:!0,errorProperties:{...s.cause?{cause:s.cause}:{},...s,name:s.name,message:s.message,stack:s.stack,"_constructor-name_":s.constructor.name}};if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&!e.allowClass)return;let u=t.get(s);if(!u){let c=Array.isArray(s)?s:Ah(s);if(s.constructor&&s.constructor.name&&s.constructor.name!=="Object"&&!Array.isArray(s)&&e.allowClass)try{Object.assign(c,{"_constructor-name_":s.constructor.name})}catch{}return o.push(i),n.unshift(c),t.set(s,JSON.stringify(o)),s!==c&&r.set(s,c),c}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),E5=we(function reviver(options){let refs=[],root;return we(function revive(key,value){if(key===""&&(root=value,refs.forEach(({target:e,container:t,replacement:r})=>{let n=Sh(r)?JSON.parse(r):r.split(".");n.length===0?t[e]=root:t[e]=h5(root,n)})),key==="_constructor-name_")return value;if(ql(value)&&value.__isConvertedError__){let{message:e,...t}=value.errorProperties,r=new Error(e);return Object.assign(r,t),r}if(ql(value)&&value["_constructor-name_"]&&options.allowFunction){let e=value["_constructor-name_"];if(e!=="Object"){let t=new Function(`return function ${e.replace(/[^a-zA-Z0-9$_]+/g,"")}(){}`)();Object.setPrototypeOf(value,new t)}return delete value["_constructor-name_"],value}if(typeof value=="string"&&value.startsWith("_function_")&&options.allowFunction){let[,name,source]=value.match(/_function_([^|]*)\|(.*)/)||[],sourceSanitized=source.replace(/[(\(\))|\\| |\]|`]*$/,"");if(!options.lazyEval)return eval(`(${sourceSanitized})`);let result=we((...args)=>{let f=eval(`(${sourceSanitized})`);return f(...args)},"result");return Object.defineProperty(result,"toString",{value:we(()=>sourceSanitized,"value")}),Object.defineProperty(result,"name",{value:name}),result}if(typeof value=="string"&&value.startsWith("_regexp_")&&options.allowRegExp){let[,e,t]=value.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(t,e)}return typeof value=="string"&&value.startsWith("_date_")&&options.allowDate?new Date(value.replace("_date_","")):typeof value=="string"&&value.startsWith("_duplicate_")?(refs.push({target:key,container:this,replacement:value.replace(/^_duplicate_/,"")}),null):typeof value=="string"&&value.startsWith("_symbol_")&&options.allowSymbol?Symbol(value.replace("_symbol_","")):typeof value=="string"&&value.startsWith("_gsymbol_")&&options.allowSymbol?Symbol.for(value.replace("_gsymbol_","")):typeof value=="string"&&value==="_-Infinity_"?-1/0:typeof value=="string"&&value==="_Infinity_"?1/0:typeof value=="string"&&value==="_NaN_"?NaN:typeof value=="string"&&value.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(value.replace("_bigint_","")):value},"revive")},"reviver"),BE={maxDepth:10,space:void 0,allowFunction:!0,allowRegExp:!0,allowDate:!0,allowClass:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0,lazyEval:!0},jE=we((e,t={})=>{let r={...BE,...t};return JSON.stringify(Ah(e),v5(r),t.space)},"stringify"),w5=we(()=>{let e=new Map;return we(function t(r){ql(r)&&Object.entries(r).forEach(([n,o])=>{o==="_undefined_"?r[n]=void 0:e.get(o)||(e.set(o,!0),t(o))}),Array.isArray(r)&&r.forEach((n,o)=>{n==="_undefined_"?(e.set(n,!0),r[o]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),FE=we((e,t={})=>{let r={...BE,...t},n=JSON.parse(e,E5(r));return w5()(n),n},"parse"),_5=!1,fh="Invariant failed";function Ol(e,t){if(!e){if(_5)throw new Error(fh);var r=typeof t=="function"?t():t,n=r?"".concat(fh,": ").concat(r):fh;throw new Error(n)}}we(Ol,"invariant");var S5=we(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(i=>{try{return i.contentWindow?.location.origin===e.source.location.origin&&i.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return i.contentWindow===e.source}catch{}let s=i.getAttribute("src"),l;try{if(!s)return!1;({origin:l}=new URL(s,document.location.toString()))}catch{return!1}return l===e.origin}),o=r?.getAttribute("src");if(o&&n.length===0){let{protocol:i,host:s,pathname:l}=new URL(o,document.location.toString());return`${i}//${s}${l}`}return n.length>0&&ot.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:hh,location:mh}=Bt,j0="storybook-channel",A5={allowFunction:!1,maxDepth:25},kE=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof Bt?.addEventListener=="function"&&Bt.addEventListener("message",this.handleEvent.bind(this),!1),t.page!=="manager"&&t.page!=="preview")throw new Error(`postmsg-channel: "config.page" cannot be "${t.page}"`)}setHandler(t){this.handler=(...r)=>{t.apply(this,r),!this.connected&&this.getLocalFrame().length&&(this.flush(),this.connected=!0)}}send(t,r){let{target:n,allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:c,allowClass:d,maxDepth:p,space:h,lazyEval:m}=r||{},y=Object.fromEntries(Object.entries({allowRegExp:o,allowFunction:i,allowSymbol:s,allowDate:l,allowError:u,allowUndefined:c,allowClass:d,maxDepth:p,space:h,lazyEval:m}).filter(([O,A])=>typeof A<"u")),b={...A5,...Bt.CHANNEL_OPTIONS||{},...y},E=this.getFrames(n),g=new URLSearchParams(mh?.search||""),w=jE({key:j0,event:t,refId:g.get("refId")},b);return E.length?(this.buffer.length&&this.flush(),E.forEach(O=>{try{O.postMessage(w,"*")}catch{ot.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((O,A)=>{this.buffer.push({event:t,resolve:O,reject:A})})}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>{this.send(r.event).then(r.resolve).catch(r.reject)})}getFrames(t){if(this.config.page==="manager"){let r=Array.from(hh.querySelectorAll("iframe[data-is-storybook][data-is-loaded]")).flatMap(n=>{try{return n.contentWindow&&n.dataset.isStorybook!==void 0&&n.id===t?[n.contentWindow]:[]}catch{return[]}});return r?.length?r:this.getCurrentFrames()}return Bt&&Bt.parent&&Bt.parent!==Bt.self?[Bt.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(hh.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Bt&&Bt.parent?[Bt.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(hh.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):Bt&&Bt.parent?[Bt.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:o,refId:i}=typeof r=="string"&&Sh(r)?FE(r,Bt.CHANNEL_OPTIONS||{}):r;if(n===j0){let s=this.config.page==="manager"?'<span style="color: #37D5D3; background: black"> manager </span>':'<span style="color: #1EA7FD; background: black"> preview </span>',l=Object.values(Tl).includes(o.type)?`<span style="color: #FF4785">${o.type}</span>`:`<span style="color: #FFAE00">${o.type}</span>`;if(i&&(o.refId=i),o.source=this.config.page==="preview"?t.origin:S5(t),!o.source){vr.error(`${s} received ${l} but was unable to determine the source of the event`);return}let u=`${s} received ${l} (${r.length})`;vr.debug(mh.origin!==o.source?u:`${u} <span style="color: gray">(on ${mh.origin} from ${o.source})</span>`,...o.args),Ol(this.handler,"ChannelHandler should be set"),this.handler(o)}}catch(r){ot.error(r)}}};we(kE,"PostMessageTransport");var C5=kE,{WebSocket:R5}=Bt,LE=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.socket=new R5(t),this.socket.onopen=()=>{this.isReady=!0,this.flush()},this.socket.onmessage=({data:o})=>{let i=typeof o=="string"&&Sh(o)?FE(o):o;Ol(this.handler,"WebsocketTransport handler should be set"),this.handler(i)},this.socket.onerror=o=>{r&&r(o)},this.socket.onclose=()=>{Ol(this.handler,"WebsocketTransport handler should be set"),this.handler({type:Gf,args:[],from:n||"preview"})}}setHandler(t){this.handler=t}send(t){this.isReady?this.sendNow(t):this.sendLater(t)}sendLater(t){this.buffer.push(t)}sendNow(t){let r=jE(t,{maxDepth:15,allowFunction:!1,...Bt.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};we(LE,"WebsocketTransport");var T5=LE,{CONFIG_TYPE:x5}=Bt,lEe=Pl;function q5({page:e,extraTransports:t=[]}){let r=[new C5({page:e}),...t];if(x5==="DEVELOPMENT"){let n=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:i}=window.location,s=`${n}://${o}:${i}/storybook-server-channel`;r.push(new T5({url:s,onError:we(()=>{},"onError"),page:e}))}return new Pl({transports:r})}we(q5,"createBrowserChannel");var O5=Object.defineProperty,Ot=(e,t)=>O5(e,"name",{value:t,configurable:!0});function jt(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
|
|
454
|
-
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
|
|
455
|
-
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,u){var c=s.match(/(?:^|\n)( *)$/),d=c?c[1]:"",p=l;typeof l=="string"&&l.includes(`
|
|
456
|
-
`)&&(p=String(l).split(`
|
|
457
|
-
`).map(function(h,m){return m===0?h:""+d+h}).join(`
|
|
458
|
-
`)),s+=p+n[u+1]}),s}Ot(jt,"dedent");function Ch({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}Ot(Ch,"parseErrorCode");var $E=class UE extends Error{constructor(t){super(UE.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Ch({code:this.code,category:this.category})}get name(){let t=this.constructor.name;return`${this.fullErrorCode} (${t})`}static getFullMessage({documentation:t,code:r,category:n,message:o}){let i;return t===!0?i=`https://storybook.js.org/error/${Ch({code:r,category:n})}`:typeof t=="string"?i=t:Array.isArray(t)&&(i=`
|
|
459
|
-
${t.map(s=>` - ${s}`).join(`
|
|
460
|
-
`)}`),`${o}${i!=null?`
|
|
461
|
-
|
|
462
|
-
More info: ${i}
|
|
463
|
-
`:""}`}};Ot($E,"StorybookError");var Ht=$E;var HE=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:1,message:jt`
|
|
464
|
-
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
465
|
-
- Did you just rename a story?
|
|
466
|
-
- Did you remove it from your CSF file?
|
|
467
|
-
- Are you sure a story with the id '${t.storyId}' exists?
|
|
468
|
-
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
469
|
-
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};Ot(HE,"MissingStoryAfterHmrError");var zE=HE,P5=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:2,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#using-implicit-actions-during-rendering-is-deprecated-for-example-in-the-play-function",message:jt`
|
|
470
|
-
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
471
|
-
${t.deprecated?`
|
|
472
|
-
This is deprecated and won't work in Storybook 8 anymore.
|
|
473
|
-
`:""}
|
|
474
|
-
Please provide an explicit spy to your args like this:
|
|
475
|
-
import { fn } from '@storybook/test';
|
|
476
|
-
...
|
|
477
|
-
args: {
|
|
478
|
-
${t.name}: fn()
|
|
479
|
-
}`}),this.data=t}};Ot(P5,"ImplicitActionsDuringRendering");var VE=class extends Ht{constructor(){super({category:"PREVIEW_API",code:3,message:jt`
|
|
480
|
-
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
481
|
-
|
|
482
|
-
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};Ot(VE,"CalledExtractOnStoreError");var GE=VE,WE=class extends Ht{constructor(){super({category:"PREVIEW_API",code:4,message:jt`
|
|
483
|
-
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
484
|
-
|
|
485
|
-
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};Ot(WE,"MissingRenderToCanvasError");var YE=WE,KE=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:5,message:jt`
|
|
486
|
-
Called \`Preview.${t.methodName}()\` before initialization.
|
|
487
|
-
|
|
488
|
-
The preview needs to load the story index before most methods can be called. If you want
|
|
489
|
-
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
490
|
-
|
|
491
|
-
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
492
|
-
do the above.`}),this.data=t}};Ot(KE,"CalledPreviewMethodBeforeInitializationError");var hr=KE,JE=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:6,message:jt`
|
|
493
|
-
Error fetching \`/index.json\`:
|
|
494
|
-
|
|
495
|
-
${t.text}
|
|
496
|
-
|
|
497
|
-
If you are in development, this likely indicates a problem with your Storybook process,
|
|
498
|
-
check the terminal for errors.
|
|
499
|
-
|
|
500
|
-
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
501
|
-
build.`}),this.data=t}};Ot(JE,"StoryIndexFetchError");var XE=JE,QE=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:7,message:jt`
|
|
502
|
-
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
503
|
-
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
504
|
-
|
|
505
|
-
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
506
|
-
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};Ot(QE,"MdxFileWithNoCsfReferencesError");var ZE=QE,e1=class extends Ht{constructor(){super({category:"PREVIEW_API",code:8,message:jt`
|
|
507
|
-
Couldn't find any stories in your Storybook.
|
|
508
|
-
|
|
509
|
-
- Please check your stories field of your main.js config: does it match correctly?
|
|
510
|
-
- Also check the browser console and terminal for error messages.`})}};Ot(e1,"EmptyIndexError");var t1=e1,r1=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:9,message:jt`
|
|
511
|
-
Couldn't find story matching '${t.storySpecifier}'.
|
|
512
|
-
|
|
513
|
-
- Are you sure a story with that id exists?
|
|
514
|
-
- Please check your stories field of your main.js config.
|
|
515
|
-
- Also check the browser console and terminal for error messages.`}),this.data=t}};Ot(r1,"NoStoryMatchError");var n1=r1,o1=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:10,message:jt`
|
|
516
|
-
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
517
|
-
|
|
518
|
-
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
519
|
-
we didn't find the story. Possible reasons:
|
|
520
|
-
- You are using a custom story indexer that is misbehaving.
|
|
521
|
-
- You have a custom file loader that is removing or renaming exports.
|
|
522
|
-
|
|
523
|
-
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};Ot(o1,"MissingStoryFromCsfFileError");var a1=o1,i1=class extends Ht{constructor(){super({category:"PREVIEW_API",code:11,message:jt`
|
|
524
|
-
Cannot access the Story Store until the index is ready.
|
|
525
|
-
|
|
526
|
-
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
527
|
-
remove access to the store entirely`})}};Ot(i1,"StoryStoreAccessedBeforeInitializationError");var s1=i1,l1=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:12,message:jt`
|
|
528
|
-
Incorrect use of mount in the play function.
|
|
529
|
-
|
|
530
|
-
To use mount in the play function, you must satisfy the following two requirements:
|
|
531
|
-
|
|
532
|
-
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
533
|
-
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
534
|
-
|
|
535
|
-
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
536
|
-
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
537
|
-
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
538
|
-
|
|
539
|
-
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
540
|
-
|
|
541
|
-
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
|
542
|
-
|
|
543
|
-
Received the following play function:
|
|
544
|
-
${t.playFunction}`}),this.data=t}};Ot(l1,"MountMustBeDestructuredError");var Nl=l1,u1=class extends Ht{constructor(t){super({category:"PREVIEW_API",code:14,message:jt`
|
|
545
|
-
No render function available for storyId '${t.id}'
|
|
546
|
-
`}),this.data=t}};Ot(u1,"NoRenderFunctionError");var c1=u1,d1=class extends Ht{constructor(){super({category:"PREVIEW_API",code:15,message:jt`
|
|
547
|
-
No component is mounted in your story.
|
|
548
|
-
|
|
549
|
-
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
550
|
-
|
|
551
|
-
For example:
|
|
552
|
-
|
|
553
|
-
async play({ mount, canvasElement }) {
|
|
554
|
-
// 👈 mount should be called: await mount();
|
|
555
|
-
const canvas = within(canvasElement);
|
|
556
|
-
const button = await canvas.findByRole('button');
|
|
557
|
-
await userEvent.click(button);
|
|
558
|
-
};
|
|
559
|
-
|
|
560
|
-
Make sure to either remove it or call mount in your play function.
|
|
561
|
-
`})}};Ot(d1,"NoStoryMountedError");var p1=d1,D5=class extends Ht{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:jt`
|
|
562
|
-
You are importing avif images, but you don't have sharp installed.
|
|
563
|
-
|
|
564
|
-
You have to install sharp in order to use image optimization features in Next.js.
|
|
565
|
-
`})}};Ot(D5,"NextJsSharpError");var I5=class extends Ht{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:jt`
|
|
566
|
-
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
567
|
-
`}),this.data=t}};Ot(I5,"NextjsRouterMocksNotAvailable");var M5=class extends Ht{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:jt`
|
|
568
|
-
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
569
|
-
${JSON.stringify(t.type,null,2)}
|
|
570
|
-
|
|
571
|
-
Storybook will fall back to use a generic type description instead.
|
|
572
|
-
|
|
573
|
-
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
574
|
-
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
575
|
-
`}),this.data=t}};Ot(M5,"UnknownArgTypesError");var N5=class extends Ht{constructor(t){super({category:"ADDON_VITEST",code:1,message:jt`
|
|
576
|
-
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
577
|
-
|
|
578
|
-
The Storybook plugin only supports values in the following units:
|
|
579
|
-
- px, vh, vw, em, rem and %.
|
|
580
|
-
|
|
581
|
-
You can either change the viewport for this story to use one of the supported units or skip the test by adding '!test' to the story's tags per https://storybook.js.org/docs/writing-stories/tags
|
|
582
|
-
`}),this.data=t}};Ot(N5,"UnsupportedViewportDimensionError");var B5=Object.create,y1=Object.defineProperty,j5=Object.getOwnPropertyDescriptor,F5=Object.getOwnPropertyNames,k5=Object.getPrototypeOf,L5=Object.prototype.hasOwnProperty,$5=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),U5=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of F5(t))!L5.call(e,o)&&o!==r&&y1(e,o,{get:()=>t[o],enumerable:!(n=j5(t,o))||n.enumerable});return e},H5=(e,t,r)=>(r=e!=null?B5(k5(e)):{},U5(t||!e||!e.__esModule?y1(r,"default",{value:e,enumerable:!0}):r,e)),z5=$5(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(o){return Object.keys(o).concat(Object.getOwnPropertySymbols(o))}:Object.keys;return function(o,i){return function s(l,u,c){var d,p,h,m=t.call(l),y=t.call(u);if(l===u)return!0;if(l==null||u==null)return!1;if(c.indexOf(l)>-1&&c.indexOf(u)>-1)return!0;if(c.push(l,u),m!=y||(d=n(l),p=n(u),d.length!=p.length||d.some(function(b){return!s(l[b],u[b],c)})))return!1;switch(m.slice(8,-1)){case"Symbol":return l.valueOf()==u.valueOf();case"Date":case"Number":return+l==+u||+l!=+l&&+u!=+u;case"RegExp":case"Function":case"String":case"Boolean":return""+l==""+u;case"Set":case"Map":d=l.entries(),p=u.entries();do if(!s((h=d.next()).value,p.next().value,c))return!1;while(!h.done);return!0;case"ArrayBuffer":l=new Uint8Array(l),u=new Uint8Array(u);case"DataView":l=new Uint8Array(l.buffer),u=new Uint8Array(u.buffer);case"Float32Array":case"Float64Array":case"Int8Array":case"Int16Array":case"Int32Array":case"Uint8Array":case"Uint16Array":case"Uint32Array":case"Uint8ClampedArray":case"Arguments":case"Array":if(l.length!=u.length)return!1;for(h=0;h<l.length;h++)if((h in l||h in u)&&(h in l!=h in u||!s(l[h],u[h],c)))return!1;return!0;case"Object":return s(r(l),r(u),c);default:return!1}}(o,i,[])}}()});function V5(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,o)=>`${r} ${n}${o}`).replace(/([a-z])([A-Z])/g,(t,r,n)=>`${r} ${n}`).replace(/([a-z])([0-9])/gi,(t,r,n)=>`${r} ${n}`).replace(/([0-9])([a-z])/gi,(t,r,n)=>`${r} ${n}`).replace(/(\s|^)(\w)/g,(t,r,n)=>`${r}${n.toUpperCase()}`).replace(/ +/g," ").trim()}var f1=H5(z5()),g1=e=>e.map(t=>typeof t<"u").filter(Boolean).length,G5=(e,t)=>{let{exists:r,eq:n,neq:o,truthy:i}=e;if(g1([r,n,o,i])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:o})}`);if(typeof n<"u")return(0,f1.isEqual)(t,n);if(typeof o<"u")return!(0,f1.isEqual)(t,o);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof i>"u"||i?!!t:!t},b1=(e,t,r)=>{if(!e.if)return!0;let{arg:n,global:o}=e.if;if(g1([n,o])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:o})}`);let i=n?t[n]:r[o];return G5(e.if,i)},Rh=e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),h1=(e,t)=>{let r=Rh(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},v1=(e,t)=>`${h1(e,"kind")}${t?`--${h1(t,"name")}`:""}`,E1=e=>V5(e);function m1(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}function Bl(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||m1(e,t))&&(!r||!m1(e,r))}var w1=(...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)};var W5=Object.create,Wh=Object.defineProperty,Y5=Object.getOwnPropertyDescriptor,K5=Object.getOwnPropertyNames,J5=Object.getPrototypeOf,X5=Object.prototype.hasOwnProperty,B=(e,t)=>Wh(e,"name",{value:t,configurable:!0}),jl=(e=>typeof It<"u"?It:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof It<"u"?It:t)[r]}):e)(function(e){if(typeof It<"u")return It.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),Jt=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Q5=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let o of K5(t))!X5.call(e,o)&&o!==r&&Wh(e,o,{get:()=>t[o],enumerable:!(n=Y5(t,o))||n.enumerable});return e},sa=(e,t,r)=>(r=e!=null?W5(J5(e)):{},Q5(t||!e||!e.__esModule?Wh(r,"default",{value:e,enumerable:!0}):r,e)),B1=Jt((e,t)=>{(function(r){if(typeof e=="object"&&typeof t<"u")t.exports=r();else if(typeof define=="function"&&define.amd)define([],r);else{var n;typeof window<"u"?n=window:typeof global<"u"?n=global:typeof self<"u"?n=self:n=this,n.memoizerific=r()}})(function(){var r,n,o;return B(function i(s,l,u){function c(h,m){if(!l[h]){if(!s[h]){var y=typeof jl=="function"&&jl;if(!m&&y)return y(h,!0);if(d)return d(h,!0);var b=new Error("Cannot find module '"+h+"'");throw b.code="MODULE_NOT_FOUND",b}var E=l[h]={exports:{}};s[h][0].call(E.exports,function(g){var w=s[h][1][g];return c(w||g)},E,E.exports,i,s,l,u)}return l[h].exports}B(c,"s");for(var d=typeof jl=="function"&&jl,p=0;p<u.length;p++)c(u[p]);return c},"e")({1:[function(i,s,l){s.exports=function(u){if(typeof Map!="function"||u){var c=i("./similar");return new c}else return new Map}},{"./similar":2}],2:[function(i,s,l){function u(){return this.list=[],this.lastItem=void 0,this.size=0,this}B(u,"Similar"),u.prototype.get=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c))return this.lastItem.val;if(d=this.indexOf(c),d>=0)return this.lastItem=this.list[d],this.list[d].val},u.prototype.set=function(c,d){var p;return this.lastItem&&this.isEqual(this.lastItem.key,c)?(this.lastItem.val=d,this):(p=this.indexOf(c),p>=0?(this.lastItem=this.list[p],this.list[p].val=d,this):(this.lastItem={key:c,val:d},this.list.push(this.lastItem),this.size++,this))},u.prototype.delete=function(c){var d;if(this.lastItem&&this.isEqual(this.lastItem.key,c)&&(this.lastItem=void 0),d=this.indexOf(c),d>=0)return this.size--,this.list.splice(d,1)[0]},u.prototype.has=function(c){var d;return this.lastItem&&this.isEqual(this.lastItem.key,c)?!0:(d=this.indexOf(c),d>=0?(this.lastItem=this.list[d],!0):!1)},u.prototype.forEach=function(c,d){var p;for(p=0;p<this.size;p++)c.call(d||this,this.list[p].val,this.list[p].key,this)},u.prototype.indexOf=function(c){var d;for(d=0;d<this.size;d++)if(this.isEqual(this.list[d].key,c))return d;return-1},u.prototype.isEqual=function(c,d){return c===d||c!==c&&d!==d},s.exports=u},{}],3:[function(i,s,l){var u=i("map-or-similar");s.exports=function(h){var m=new u(!1),y=[];return function(b){var E=B(function(){var g=m,w,O,A=arguments.length-1,S=Array(A+1),T=!0,C;if((E.numArgs||E.numArgs===0)&&E.numArgs!==A+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(C=0;C<A;C++){if(S[C]={cacheItem:g,arg:arguments[C]},g.has(arguments[C])){g=g.get(arguments[C]);continue}T=!1,w=new u(!1),g.set(arguments[C],w),g=w}return T&&(g.has(arguments[A])?O=g.get(arguments[A]):T=!1),T||(O=b.apply(null,arguments),g.set(arguments[A],O)),h>0&&(S[A]={cacheItem:g,arg:arguments[A]},T?c(y,S):y.push(S),y.length>h&&d(y.shift())),E.wasMemoized=T,E.numArgs=A+1,O},"memoizerific");return E.limit=h,E.wasMemoized=!1,E.cache=m,E.lru=y,E}};function c(h,m){var y=h.length,b=m.length,E,g,w;for(g=0;g<y;g++){for(E=!0,w=0;w<b;w++)if(!p(h[g][w].arg,m[w].arg)){E=!1;break}if(E)break}h.push(h.splice(g,1)[0])}B(c,"moveToMostRecentLru");function d(h){var m=h.length,y=h[m-1],b,E;for(y.cacheItem.delete(y.arg),E=m-2;E>=0&&(y=h[E],b=y.cacheItem.get(y.arg),!b||!b.size);E--)y.cacheItem.delete(y.arg)}B(d,"removeCachedResult");function p(h,m){return h===m||h!==h&&m!==m}B(p,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),j1=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(o,i)=>"%"+((i<16?"0":"")+i.toString(16)).toUpperCase()),r=new Int8Array([0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,0,0,0,0,0,1,1,1,1,0,0,1,1,0,1,1,1,1,1,1,1,1,1,1,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,0,1,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,0,0,0,1,0]);function n(o){let i=o.length;if(i===0)return"";let s="",l=0,u=0;e:for(;u<i;u++){let c=o.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(l<u&&(s+=o.slice(l,u)),l=u+1,s+=t[c]),++u===i)break e;c=o.charCodeAt(u)}if(l<u&&(s+=o.slice(l,u)),c<2048){l=u+1,s+=t[192|c>>6]+t[128|c&63];continue}if(c<55296||c>=57344){l=u+1,s+=t[224|c>>12]+t[128|c>>6&63]+t[128|c&63];continue}if(++u,u>=i)throw new Error("URI malformed");let d=o.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|d),s+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?o:l<i?s+o.slice(l):s}B(n,"encodeString")}),Yh=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=j1(),r=B(i=>{switch(typeof i){case"string":return(0,t.encodeString)(i);case"bigint":case"boolean":return""+i;case"number":if(Number.isFinite(i))return i<1e21?""+i:(0,t.encodeString)(""+i);break}return i instanceof Date?(0,t.encodeString)(i.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=B(i=>i instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var o=B(i=>i,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:o,valueSerializer:e.defaultValueSerializer,keyDeserializer:o,shouldSerializeObject:e.defaultShouldSerializeObject}}),F1=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=o,e.stringifyObject=d;var t=Yh(),r=j1();function n(p){return p==="__proto__"||p==="constructor"||p==="prototype"}B(n,"isPrototypeKey");function o(p,h,m,y,b){if(n(h))return p;let E=p[h];return typeof E=="object"&&E!==null?E:!y&&(b||typeof m=="number"||typeof m=="string"&&m*0===0&&m.indexOf(".")===-1)?p[h]=[]:p[h]={}}B(o,"getDeepObject");var i=20,s="[]",l="[",u="]",c=".";function d(p,h,m=0,y,b){let{nestingSyntax:E=t.defaultOptions.nestingSyntax,arrayRepeat:g=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:w=t.defaultOptions.arrayRepeatSyntax,nesting:O=t.defaultOptions.nesting,delimiter:A=t.defaultOptions.delimiter,valueSerializer:S=t.defaultOptions.valueSerializer,shouldSerializeObject:T=t.defaultOptions.shouldSerializeObject}=h,C=typeof A=="number"?String.fromCharCode(A):A,x=b===!0&&g,I=E==="dot"||E==="js"&&!b;if(m>i)return"";let W="",X=!0,Y=!1;for(let K in p){let _=p[K],P;y?(P=y,x?w==="bracket"&&(P+=s):I?(P+=c,P+=K):(P+=l,P+=K,P+=u)):P=K,X||(W+=C),typeof _=="object"&&_!==null&&!T(_)?(Y=_.pop!==void 0,(O||g&&Y)&&(W+=d(_,h,m+1,P,Y))):(W+=(0,r.encodeString)(P),W+="=",W+=S(_,K)),X&&(X=!1)}return W}B(d,"stringifyObject")}),Z5=Jt((e,t)=>{"use strict";var r=12,n=0,o=[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,1,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,2,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,3,4,4,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,5,6,7,7,7,7,7,7,7,7,7,7,7,7,8,7,7,10,9,9,9,11,4,4,4,4,4,4,4,4,4,4,4,0,0,0,0,0,0,0,0,0,0,0,0,12,0,0,0,0,24,36,48,60,72,84,96,0,12,12,12,0,0,0,0,0,0,0,0,0,0,0,24,0,0,0,0,0,0,0,0,0,24,24,24,0,0,0,0,0,0,0,0,0,24,24,0,0,0,0,0,0,0,0,0,0,48,48,48,0,0,0,0,0,0,0,0,0,0,48,48,0,0,0,0,0,0,0,0,0,48,0,0,0,0,0,0,0,0,0,0,127,63,63,63,0,31,15,15,15,7,7,7];function i(u){var c=u.indexOf("%");if(c===-1)return u;for(var d=u.length,p="",h=0,m=0,y=c,b=r;c>-1&&c<d;){var E=l(u[c+1],4),g=l(u[c+2],0),w=E|g,O=o[w];if(b=o[256+b+O],m=m<<6|w&o[364+O],b===r)p+=u.slice(h,y),p+=m<=65535?String.fromCharCode(m):String.fromCharCode(55232+(m>>10),56320+(m&1023)),m=0,h=c+3,c=y=u.indexOf("%",h);else{if(b===n)return null;if(c+=3,c<d&&u.charCodeAt(c)===37)continue;return null}}return p+u.slice(h)}B(i,"decodeURIComponent");var s={0:0,1:1,2:2,3:3,4:4,5:5,6:6,7:7,8:8,9:9,a:10,A:10,b:11,B:11,c:12,C:12,d:13,D:13,e:14,E:14,f:15,F:15};function l(u,c){var d=s[u];return d===void 0?255:d<<c}B(l,"hexCodeToInt"),t.exports=i}),e3=Jt(e=>{"use strict";var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=d;var r=F1(),n=Yh(),o=t(Z5()),i=B(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberKeyDeserializer");e.numberKeyDeserializer=i;var s=B(p=>{let h=Number(p);return Number.isNaN(h)?p:h},"numberValueDeserializer");e.numberValueDeserializer=s;var l=/\+/g,u=B(function(){},"Empty");u.prototype=Object.create(null);function c(p,h,m,y,b){let E=p.substring(h,m);return y&&(E=E.replace(l," ")),b&&(E=(0,o.default)(E)||E),E}B(c,"computeKeySlice");function d(p,h){let{valueDeserializer:m=n.defaultOptions.valueDeserializer,keyDeserializer:y=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:b=n.defaultOptions.arrayRepeatSyntax,nesting:E=n.defaultOptions.nesting,arrayRepeat:g=n.defaultOptions.arrayRepeat,nestingSyntax:w=n.defaultOptions.nestingSyntax,delimiter:O=n.defaultOptions.delimiter}=h??{},A=typeof O=="string"?O.charCodeAt(0):O,S=w==="js",T=new u;if(typeof p!="string")return T;let C=p.length,x="",I=-1,W=-1,X=-1,Y=T,K,_="",P="",N=!1,le=!1,ce=!1,Re=!1,Ne=!1,De=!1,ye=!1,de=0,Ee=-1,qe=-1,Le=-1;for(let Fe=0;Fe<C+1;Fe++){if(de=Fe!==C?p.charCodeAt(Fe):A,de===A){if(ye=W>I,ye||(W=Fe),X!==W-1&&(P=c(p,X+1,Ee>-1?Ee:W,ce,N),_=y(P),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S&&Ne,S&&De))),ye||_!==""){ye&&(x=p.slice(W+1,Fe),Re&&(x=x.replace(l," ")),le&&(x=(0,o.default)(x)||x));let Ge=m(x,_);if(g){let dt=Y[_];dt===void 0?Ee>-1?Y[_]=[Ge]:Y[_]=Ge:dt.pop?dt.push(Ge):Y[_]=[dt,Ge]}else Y[_]=Ge}x="",I=Fe,W=Fe,N=!1,le=!1,ce=!1,Re=!1,Ne=!1,De=!1,Ee=-1,X=Fe,Y=T,K=void 0,_=""}else de===93?(g&&b==="bracket"&&Le===91&&(Ee=qe),E&&(w==="index"||S)&&W<=I&&(X!==qe&&(P=c(p,X+1,Fe,ce,N),_=y(P),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,void 0,S)),K=_,ce=!1,N=!1),X=Fe,De=!0,Ne=!1)):de===46?E&&(w==="dot"||S)&&W<=I&&(X!==qe&&(P=c(p,X+1,Fe,ce,N),_=y(P),K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S)),K=_,ce=!1,N=!1),Ne=!0,De=!1,X=Fe):de===91?E&&(w==="index"||S)&&W<=I&&(X!==qe&&(P=c(p,X+1,Fe,ce,N),_=y(P),S&&K!==void 0&&(Y=(0,r.getDeepObject)(Y,K,_,S)),K=_,ce=!1,N=!1,Ne=!1,De=!0),X=Fe):de===61?W<=I?W=Fe:le=!0:de===43?W>I?Re=!0:ce=!0:de===37&&(W>I?le=!0:N=!0);qe=Fe,Le=de}return T}B(d,"parse")}),t3=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=F1();function r(n,o){if(n===null||typeof n!="object")return"";let i=o??{};return(0,t.stringifyObject)(n,i)}B(r,"stringify")}),Kh=Jt(e=>{"use strict";var t=e&&e.__createBinding||(Object.create?function(i,s,l,u){u===void 0&&(u=l);var c=Object.getOwnPropertyDescriptor(s,l);(!c||("get"in c?!s.__esModule:c.writable||c.configurable))&&(c={enumerable:!0,get:B(function(){return s[l]},"get")}),Object.defineProperty(i,u,c)}:function(i,s,l,u){u===void 0&&(u=l),i[u]=s[l]}),r=e&&e.__exportStar||function(i,s){for(var l in i)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,i,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=e3();Object.defineProperty(e,"parse",{enumerable:!0,get:B(function(){return n.parse},"get")});var o=t3();Object.defineProperty(e,"stringify",{enumerable:!0,get:B(function(){return o.stringify},"get")}),r(Yh(),e)}),k1=Jt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Abreve:"\u0102",abreve:"\u0103",ac:"\u223E",acd:"\u223F",acE:"\u223E\u0333",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",Acy:"\u0410",acy:"\u0430",AElig:"\xC6",aelig:"\xE6",af:"\u2061",Afr:"\u{1D504}",afr:"\u{1D51E}",Agrave:"\xC0",agrave:"\xE0",alefsym:"\u2135",aleph:"\u2135",Alpha:"\u0391",alpha:"\u03B1",Amacr:"\u0100",amacr:"\u0101",amalg:"\u2A3F",amp:"&",AMP:"&",andand:"\u2A55",And:"\u2A53",and:"\u2227",andd:"\u2A5C",andslope:"\u2A58",andv:"\u2A5A",ang:"\u2220",ange:"\u29A4",angle:"\u2220",angmsdaa:"\u29A8",angmsdab:"\u29A9",angmsdac:"\u29AA",angmsdad:"\u29AB",angmsdae:"\u29AC",angmsdaf:"\u29AD",angmsdag:"\u29AE",angmsdah:"\u29AF",angmsd:"\u2221",angrt:"\u221F",angrtvb:"\u22BE",angrtvbd:"\u299D",angsph:"\u2222",angst:"\xC5",angzarr:"\u237C",Aogon:"\u0104",aogon:"\u0105",Aopf:"\u{1D538}",aopf:"\u{1D552}",apacir:"\u2A6F",ap:"\u2248",apE:"\u2A70",ape:"\u224A",apid:"\u224B",apos:"'",ApplyFunction:"\u2061",approx:"\u2248",approxeq:"\u224A",Aring:"\xC5",aring:"\xE5",Ascr:"\u{1D49C}",ascr:"\u{1D4B6}",Assign:"\u2254",ast:"*",asymp:"\u2248",asympeq:"\u224D",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",awconint:"\u2233",awint:"\u2A11",backcong:"\u224C",backepsilon:"\u03F6",backprime:"\u2035",backsim:"\u223D",backsimeq:"\u22CD",Backslash:"\u2216",Barv:"\u2AE7",barvee:"\u22BD",barwed:"\u2305",Barwed:"\u2306",barwedge:"\u2305",bbrk:"\u23B5",bbrktbrk:"\u23B6",bcong:"\u224C",Bcy:"\u0411",bcy:"\u0431",bdquo:"\u201E",becaus:"\u2235",because:"\u2235",Because:"\u2235",bemptyv:"\u29B0",bepsi:"\u03F6",bernou:"\u212C",Bernoullis:"\u212C",Beta:"\u0392",beta:"\u03B2",beth:"\u2136",between:"\u226C",Bfr:"\u{1D505}",bfr:"\u{1D51F}",bigcap:"\u22C2",bigcirc:"\u25EF",bigcup:"\u22C3",bigodot:"\u2A00",bigoplus:"\u2A01",bigotimes:"\u2A02",bigsqcup:"\u2A06",bigstar:"\u2605",bigtriangledown:"\u25BD",bigtriangleup:"\u25B3",biguplus:"\u2A04",bigvee:"\u22C1",bigwedge:"\u22C0",bkarow:"\u290D",blacklozenge:"\u29EB",blacksquare:"\u25AA",blacktriangle:"\u25B4",blacktriangledown:"\u25BE",blacktriangleleft:"\u25C2",blacktriangleright:"\u25B8",blank:"\u2423",blk12:"\u2592",blk14:"\u2591",blk34:"\u2593",block:"\u2588",bne:"=\u20E5",bnequiv:"\u2261\u20E5",bNot:"\u2AED",bnot:"\u2310",Bopf:"\u{1D539}",bopf:"\u{1D553}",bot:"\u22A5",bottom:"\u22A5",bowtie:"\u22C8",boxbox:"\u29C9",boxdl:"\u2510",boxdL:"\u2555",boxDl:"\u2556",boxDL:"\u2557",boxdr:"\u250C",boxdR:"\u2552",boxDr:"\u2553",boxDR:"\u2554",boxh:"\u2500",boxH:"\u2550",boxhd:"\u252C",boxHd:"\u2564",boxhD:"\u2565",boxHD:"\u2566",boxhu:"\u2534",boxHu:"\u2567",boxhU:"\u2568",boxHU:"\u2569",boxminus:"\u229F",boxplus:"\u229E",boxtimes:"\u22A0",boxul:"\u2518",boxuL:"\u255B",boxUl:"\u255C",boxUL:"\u255D",boxur:"\u2514",boxuR:"\u2558",boxUr:"\u2559",boxUR:"\u255A",boxv:"\u2502",boxV:"\u2551",boxvh:"\u253C",boxvH:"\u256A",boxVh:"\u256B",boxVH:"\u256C",boxvl:"\u2524",boxvL:"\u2561",boxVl:"\u2562",boxVL:"\u2563",boxvr:"\u251C",boxvR:"\u255E",boxVr:"\u255F",boxVR:"\u2560",bprime:"\u2035",breve:"\u02D8",Breve:"\u02D8",brvbar:"\xA6",bscr:"\u{1D4B7}",Bscr:"\u212C",bsemi:"\u204F",bsim:"\u223D",bsime:"\u22CD",bsolb:"\u29C5",bsol:"\\",bsolhsub:"\u27C8",bull:"\u2022",bullet:"\u2022",bump:"\u224E",bumpE:"\u2AAE",bumpe:"\u224F",Bumpeq:"\u224E",bumpeq:"\u224F",Cacute:"\u0106",cacute:"\u0107",capand:"\u2A44",capbrcup:"\u2A49",capcap:"\u2A4B",cap:"\u2229",Cap:"\u22D2",capcup:"\u2A47",capdot:"\u2A40",CapitalDifferentialD:"\u2145",caps:"\u2229\uFE00",caret:"\u2041",caron:"\u02C7",Cayleys:"\u212D",ccaps:"\u2A4D",Ccaron:"\u010C",ccaron:"\u010D",Ccedil:"\xC7",ccedil:"\xE7",Ccirc:"\u0108",ccirc:"\u0109",Cconint:"\u2230",ccups:"\u2A4C",ccupssm:"\u2A50",Cdot:"\u010A",cdot:"\u010B",cedil:"\xB8",Cedilla:"\xB8",cemptyv:"\u29B2",cent:"\xA2",centerdot:"\xB7",CenterDot:"\xB7",cfr:"\u{1D520}",Cfr:"\u212D",CHcy:"\u0427",chcy:"\u0447",check:"\u2713",checkmark:"\u2713",Chi:"\u03A7",chi:"\u03C7",circ:"\u02C6",circeq:"\u2257",circlearrowleft:"\u21BA",circlearrowright:"\u21BB",circledast:"\u229B",circledcirc:"\u229A",circleddash:"\u229D",CircleDot:"\u2299",circledR:"\xAE",circledS:"\u24C8",CircleMinus:"\u2296",CirclePlus:"\u2295",CircleTimes:"\u2297",cir:"\u25CB",cirE:"\u29C3",cire:"\u2257",cirfnint:"\u2A10",cirmid:"\u2AEF",cirscir:"\u29C2",ClockwiseContourIntegral:"\u2232",CloseCurlyDoubleQuote:"\u201D",CloseCurlyQuote:"\u2019",clubs:"\u2663",clubsuit:"\u2663",colon:":",Colon:"\u2237",Colone:"\u2A74",colone:"\u2254",coloneq:"\u2254",comma:",",commat:"@",comp:"\u2201",compfn:"\u2218",complement:"\u2201",complexes:"\u2102",cong:"\u2245",congdot:"\u2A6D",Congruent:"\u2261",conint:"\u222E",Conint:"\u222F",ContourIntegral:"\u222E",copf:"\u{1D554}",Copf:"\u2102",coprod:"\u2210",Coproduct:"\u2210",copy:"\xA9",COPY:"\xA9",copysr:"\u2117",CounterClockwiseContourIntegral:"\u2233",crarr:"\u21B5",cross:"\u2717",Cross:"\u2A2F",Cscr:"\u{1D49E}",cscr:"\u{1D4B8}",csub:"\u2ACF",csube:"\u2AD1",csup:"\u2AD0",csupe:"\u2AD2",ctdot:"\u22EF",cudarrl:"\u2938",cudarrr:"\u2935",cuepr:"\u22DE",cuesc:"\u22DF",cularr:"\u21B6",cularrp:"\u293D",cupbrcap:"\u2A48",cupcap:"\u2A46",CupCap:"\u224D",cup:"\u222A",Cup:"\u22D3",cupcup:"\u2A4A",cupdot:"\u228D",cupor:"\u2A45",cups:"\u222A\uFE00",curarr:"\u21B7",curarrm:"\u293C",curlyeqprec:"\u22DE",curlyeqsucc:"\u22DF",curlyvee:"\u22CE",curlywedge:"\u22CF",curren:"\xA4",curvearrowleft:"\u21B6",curvearrowright:"\u21B7",cuvee:"\u22CE",cuwed:"\u22CF",cwconint:"\u2232",cwint:"\u2231",cylcty:"\u232D",dagger:"\u2020",Dagger:"\u2021",daleth:"\u2138",darr:"\u2193",Darr:"\u21A1",dArr:"\u21D3",dash:"\u2010",Dashv:"\u2AE4",dashv:"\u22A3",dbkarow:"\u290F",dblac:"\u02DD",Dcaron:"\u010E",dcaron:"\u010F",Dcy:"\u0414",dcy:"\u0434",ddagger:"\u2021",ddarr:"\u21CA",DD:"\u2145",dd:"\u2146",DDotrahd:"\u2911",ddotseq:"\u2A77",deg:"\xB0",Del:"\u2207",Delta:"\u0394",delta:"\u03B4",demptyv:"\u29B1",dfisht:"\u297F",Dfr:"\u{1D507}",dfr:"\u{1D521}",dHar:"\u2965",dharl:"\u21C3",dharr:"\u21C2",DiacriticalAcute:"\xB4",DiacriticalDot:"\u02D9",DiacriticalDoubleAcute:"\u02DD",DiacriticalGrave:"`",DiacriticalTilde:"\u02DC",diam:"\u22C4",diamond:"\u22C4",Diamond:"\u22C4",diamondsuit:"\u2666",diams:"\u2666",die:"\xA8",DifferentialD:"\u2146",digamma:"\u03DD",disin:"\u22F2",div:"\xF7",divide:"\xF7",divideontimes:"\u22C7",divonx:"\u22C7",DJcy:"\u0402",djcy:"\u0452",dlcorn:"\u231E",dlcrop:"\u230D",dollar:"$",Dopf:"\u{1D53B}",dopf:"\u{1D555}",Dot:"\xA8",dot:"\u02D9",DotDot:"\u20DC",doteq:"\u2250",doteqdot:"\u2251",DotEqual:"\u2250",dotminus:"\u2238",dotplus:"\u2214",dotsquare:"\u22A1",doublebarwedge:"\u2306",DoubleContourIntegral:"\u222F",DoubleDot:"\xA8",DoubleDownArrow:"\u21D3",DoubleLeftArrow:"\u21D0",DoubleLeftRightArrow:"\u21D4",DoubleLeftTee:"\u2AE4",DoubleLongLeftArrow:"\u27F8",DoubleLongLeftRightArrow:"\u27FA",DoubleLongRightArrow:"\u27F9",DoubleRightArrow:"\u21D2",DoubleRightTee:"\u22A8",DoubleUpArrow:"\u21D1",DoubleUpDownArrow:"\u21D5",DoubleVerticalBar:"\u2225",DownArrowBar:"\u2913",downarrow:"\u2193",DownArrow:"\u2193",Downarrow:"\u21D3",DownArrowUpArrow:"\u21F5",DownBreve:"\u0311",downdownarrows:"\u21CA",downharpoonleft:"\u21C3",downharpoonright:"\u21C2",DownLeftRightVector:"\u2950",DownLeftTeeVector:"\u295E",DownLeftVectorBar:"\u2956",DownLeftVector:"\u21BD",DownRightTeeVector:"\u295F",DownRightVectorBar:"\u2957",DownRightVector:"\u21C1",DownTeeArrow:"\u21A7",DownTee:"\u22A4",drbkarow:"\u2910",drcorn:"\u231F",drcrop:"\u230C",Dscr:"\u{1D49F}",dscr:"\u{1D4B9}",DScy:"\u0405",dscy:"\u0455",dsol:"\u29F6",Dstrok:"\u0110",dstrok:"\u0111",dtdot:"\u22F1",dtri:"\u25BF",dtrif:"\u25BE",duarr:"\u21F5",duhar:"\u296F",dwangle:"\u29A6",DZcy:"\u040F",dzcy:"\u045F",dzigrarr:"\u27FF",Eacute:"\xC9",eacute:"\xE9",easter:"\u2A6E",Ecaron:"\u011A",ecaron:"\u011B",Ecirc:"\xCA",ecirc:"\xEA",ecir:"\u2256",ecolon:"\u2255",Ecy:"\u042D",ecy:"\u044D",eDDot:"\u2A77",Edot:"\u0116",edot:"\u0117",eDot:"\u2251",ee:"\u2147",efDot:"\u2252",Efr:"\u{1D508}",efr:"\u{1D522}",eg:"\u2A9A",Egrave:"\xC8",egrave:"\xE8",egs:"\u2A96",egsdot:"\u2A98",el:"\u2A99",Element:"\u2208",elinters:"\u23E7",ell:"\u2113",els:"\u2A95",elsdot:"\u2A97",Emacr:"\u0112",emacr:"\u0113",empty:"\u2205",emptyset:"\u2205",EmptySmallSquare:"\u25FB",emptyv:"\u2205",EmptyVerySmallSquare:"\u25AB",emsp13:"\u2004",emsp14:"\u2005",emsp:"\u2003",ENG:"\u014A",eng:"\u014B",ensp:"\u2002",Eogon:"\u0118",eogon:"\u0119",Eopf:"\u{1D53C}",eopf:"\u{1D556}",epar:"\u22D5",eparsl:"\u29E3",eplus:"\u2A71",epsi:"\u03B5",Epsilon:"\u0395",epsilon:"\u03B5",epsiv:"\u03F5",eqcirc:"\u2256",eqcolon:"\u2255",eqsim:"\u2242",eqslantgtr:"\u2A96",eqslantless:"\u2A95",Equal:"\u2A75",equals:"=",EqualTilde:"\u2242",equest:"\u225F",Equilibrium:"\u21CC",equiv:"\u2261",equivDD:"\u2A78",eqvparsl:"\u29E5",erarr:"\u2971",erDot:"\u2253",escr:"\u212F",Escr:"\u2130",esdot:"\u2250",Esim:"\u2A73",esim:"\u2242",Eta:"\u0397",eta:"\u03B7",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",euro:"\u20AC",excl:"!",exist:"\u2203",Exists:"\u2203",expectation:"\u2130",exponentiale:"\u2147",ExponentialE:"\u2147",fallingdotseq:"\u2252",Fcy:"\u0424",fcy:"\u0444",female:"\u2640",ffilig:"\uFB03",fflig:"\uFB00",ffllig:"\uFB04",Ffr:"\u{1D509}",ffr:"\u{1D523}",filig:"\uFB01",FilledSmallSquare:"\u25FC",FilledVerySmallSquare:"\u25AA",fjlig:"fj",flat:"\u266D",fllig:"\uFB02",fltns:"\u25B1",fnof:"\u0192",Fopf:"\u{1D53D}",fopf:"\u{1D557}",forall:"\u2200",ForAll:"\u2200",fork:"\u22D4",forkv:"\u2AD9",Fouriertrf:"\u2131",fpartint:"\u2A0D",frac12:"\xBD",frac13:"\u2153",frac14:"\xBC",frac15:"\u2155",frac16:"\u2159",frac18:"\u215B",frac23:"\u2154",frac25:"\u2156",frac34:"\xBE",frac35:"\u2157",frac38:"\u215C",frac45:"\u2158",frac56:"\u215A",frac58:"\u215D",frac78:"\u215E",frasl:"\u2044",frown:"\u2322",fscr:"\u{1D4BB}",Fscr:"\u2131",gacute:"\u01F5",Gamma:"\u0393",gamma:"\u03B3",Gammad:"\u03DC",gammad:"\u03DD",gap:"\u2A86",Gbreve:"\u011E",gbreve:"\u011F",Gcedil:"\u0122",Gcirc:"\u011C",gcirc:"\u011D",Gcy:"\u0413",gcy:"\u0433",Gdot:"\u0120",gdot:"\u0121",ge:"\u2265",gE:"\u2267",gEl:"\u2A8C",gel:"\u22DB",geq:"\u2265",geqq:"\u2267",geqslant:"\u2A7E",gescc:"\u2AA9",ges:"\u2A7E",gesdot:"\u2A80",gesdoto:"\u2A82",gesdotol:"\u2A84",gesl:"\u22DB\uFE00",gesles:"\u2A94",Gfr:"\u{1D50A}",gfr:"\u{1D524}",gg:"\u226B",Gg:"\u22D9",ggg:"\u22D9",gimel:"\u2137",GJcy:"\u0403",gjcy:"\u0453",gla:"\u2AA5",gl:"\u2277",glE:"\u2A92",glj:"\u2AA4",gnap:"\u2A8A",gnapprox:"\u2A8A",gne:"\u2A88",gnE:"\u2269",gneq:"\u2A88",gneqq:"\u2269",gnsim:"\u22E7",Gopf:"\u{1D53E}",gopf:"\u{1D558}",grave:"`",GreaterEqual:"\u2265",GreaterEqualLess:"\u22DB",GreaterFullEqual:"\u2267",GreaterGreater:"\u2AA2",GreaterLess:"\u2277",GreaterSlantEqual:"\u2A7E",GreaterTilde:"\u2273",Gscr:"\u{1D4A2}",gscr:"\u210A",gsim:"\u2273",gsime:"\u2A8E",gsiml:"\u2A90",gtcc:"\u2AA7",gtcir:"\u2A7A",gt:">",GT:">",Gt:"\u226B",gtdot:"\u22D7",gtlPar:"\u2995",gtquest:"\u2A7C",gtrapprox:"\u2A86",gtrarr:"\u2978",gtrdot:"\u22D7",gtreqless:"\u22DB",gtreqqless:"\u2A8C",gtrless:"\u2277",gtrsim:"\u2273",gvertneqq:"\u2269\uFE00",gvnE:"\u2269\uFE00",Hacek:"\u02C7",hairsp:"\u200A",half:"\xBD",hamilt:"\u210B",HARDcy:"\u042A",hardcy:"\u044A",harrcir:"\u2948",harr:"\u2194",hArr:"\u21D4",harrw:"\u21AD",Hat:"^",hbar:"\u210F",Hcirc:"\u0124",hcirc:"\u0125",hearts:"\u2665",heartsuit:"\u2665",hellip:"\u2026",hercon:"\u22B9",hfr:"\u{1D525}",Hfr:"\u210C",HilbertSpace:"\u210B",hksearow:"\u2925",hkswarow:"\u2926",hoarr:"\u21FF",homtht:"\u223B",hookleftarrow:"\u21A9",hookrightarrow:"\u21AA",hopf:"\u{1D559}",Hopf:"\u210D",horbar:"\u2015",HorizontalLine:"\u2500",hscr:"\u{1D4BD}",Hscr:"\u210B",hslash:"\u210F",Hstrok:"\u0126",hstrok:"\u0127",HumpDownHump:"\u224E",HumpEqual:"\u224F",hybull:"\u2043",hyphen:"\u2010",Iacute:"\xCD",iacute:"\xED",ic:"\u2063",Icirc:"\xCE",icirc:"\xEE",Icy:"\u0418",icy:"\u0438",Idot:"\u0130",IEcy:"\u0415",iecy:"\u0435",iexcl:"\xA1",iff:"\u21D4",ifr:"\u{1D526}",Ifr:"\u2111",Igrave:"\xCC",igrave:"\xEC",ii:"\u2148",iiiint:"\u2A0C",iiint:"\u222D",iinfin:"\u29DC",iiota:"\u2129",IJlig:"\u0132",ijlig:"\u0133",Imacr:"\u012A",imacr:"\u012B",image:"\u2111",ImaginaryI:"\u2148",imagline:"\u2110",imagpart:"\u2111",imath:"\u0131",Im:"\u2111",imof:"\u22B7",imped:"\u01B5",Implies:"\u21D2",incare:"\u2105",in:"\u2208",infin:"\u221E",infintie:"\u29DD",inodot:"\u0131",intcal:"\u22BA",int:"\u222B",Int:"\u222C",integers:"\u2124",Integral:"\u222B",intercal:"\u22BA",Intersection:"\u22C2",intlarhk:"\u2A17",intprod:"\u2A3C",InvisibleComma:"\u2063",InvisibleTimes:"\u2062",IOcy:"\u0401",iocy:"\u0451",Iogon:"\u012E",iogon:"\u012F",Iopf:"\u{1D540}",iopf:"\u{1D55A}",Iota:"\u0399",iota:"\u03B9",iprod:"\u2A3C",iquest:"\xBF",iscr:"\u{1D4BE}",Iscr:"\u2110",isin:"\u2208",isindot:"\u22F5",isinE:"\u22F9",isins:"\u22F4",isinsv:"\u22F3",isinv:"\u2208",it:"\u2062",Itilde:"\u0128",itilde:"\u0129",Iukcy:"\u0406",iukcy:"\u0456",Iuml:"\xCF",iuml:"\xEF",Jcirc:"\u0134",jcirc:"\u0135",Jcy:"\u0419",jcy:"\u0439",Jfr:"\u{1D50D}",jfr:"\u{1D527}",jmath:"\u0237",Jopf:"\u{1D541}",jopf:"\u{1D55B}",Jscr:"\u{1D4A5}",jscr:"\u{1D4BF}",Jsercy:"\u0408",jsercy:"\u0458",Jukcy:"\u0404",jukcy:"\u0454",Kappa:"\u039A",kappa:"\u03BA",kappav:"\u03F0",Kcedil:"\u0136",kcedil:"\u0137",Kcy:"\u041A",kcy:"\u043A",Kfr:"\u{1D50E}",kfr:"\u{1D528}",kgreen:"\u0138",KHcy:"\u0425",khcy:"\u0445",KJcy:"\u040C",kjcy:"\u045C",Kopf:"\u{1D542}",kopf:"\u{1D55C}",Kscr:"\u{1D4A6}",kscr:"\u{1D4C0}",lAarr:"\u21DA",Lacute:"\u0139",lacute:"\u013A",laemptyv:"\u29B4",lagran:"\u2112",Lambda:"\u039B",lambda:"\u03BB",lang:"\u27E8",Lang:"\u27EA",langd:"\u2991",langle:"\u27E8",lap:"\u2A85",Laplacetrf:"\u2112",laquo:"\xAB",larrb:"\u21E4",larrbfs:"\u291F",larr:"\u2190",Larr:"\u219E",lArr:"\u21D0",larrfs:"\u291D",larrhk:"\u21A9",larrlp:"\u21AB",larrpl:"\u2939",larrsim:"\u2973",larrtl:"\u21A2",latail:"\u2919",lAtail:"\u291B",lat:"\u2AAB",late:"\u2AAD",lates:"\u2AAD\uFE00",lbarr:"\u290C",lBarr:"\u290E",lbbrk:"\u2772",lbrace:"{",lbrack:"[",lbrke:"\u298B",lbrksld:"\u298F",lbrkslu:"\u298D",Lcaron:"\u013D",lcaron:"\u013E",Lcedil:"\u013B",lcedil:"\u013C",lceil:"\u2308",lcub:"{",Lcy:"\u041B",lcy:"\u043B",ldca:"\u2936",ldquo:"\u201C",ldquor:"\u201E",ldrdhar:"\u2967",ldrushar:"\u294B",ldsh:"\u21B2",le:"\u2264",lE:"\u2266",LeftAngleBracket:"\u27E8",LeftArrowBar:"\u21E4",leftarrow:"\u2190",LeftArrow:"\u2190",Leftarrow:"\u21D0",LeftArrowRightArrow:"\u21C6",leftarrowtail:"\u21A2",LeftCeiling:"\u2308",LeftDoubleBracket:"\u27E6",LeftDownTeeVector:"\u2961",LeftDownVectorBar:"\u2959",LeftDownVector:"\u21C3",LeftFloor:"\u230A",leftharpoondown:"\u21BD",leftharpoonup:"\u21BC",leftleftarrows:"\u21C7",leftrightarrow:"\u2194",LeftRightArrow:"\u2194",Leftrightarrow:"\u21D4",leftrightarrows:"\u21C6",leftrightharpoons:"\u21CB",leftrightsquigarrow:"\u21AD",LeftRightVector:"\u294E",LeftTeeArrow:"\u21A4",LeftTee:"\u22A3",LeftTeeVector:"\u295A",leftthreetimes:"\u22CB",LeftTriangleBar:"\u29CF",LeftTriangle:"\u22B2",LeftTriangleEqual:"\u22B4",LeftUpDownVector:"\u2951",LeftUpTeeVector:"\u2960",LeftUpVectorBar:"\u2958",LeftUpVector:"\u21BF",LeftVectorBar:"\u2952",LeftVector:"\u21BC",lEg:"\u2A8B",leg:"\u22DA",leq:"\u2264",leqq:"\u2266",leqslant:"\u2A7D",lescc:"\u2AA8",les:"\u2A7D",lesdot:"\u2A7F",lesdoto:"\u2A81",lesdotor:"\u2A83",lesg:"\u22DA\uFE00",lesges:"\u2A93",lessapprox:"\u2A85",lessdot:"\u22D6",lesseqgtr:"\u22DA",lesseqqgtr:"\u2A8B",LessEqualGreater:"\u22DA",LessFullEqual:"\u2266",LessGreater:"\u2276",lessgtr:"\u2276",LessLess:"\u2AA1",lesssim:"\u2272",LessSlantEqual:"\u2A7D",LessTilde:"\u2272",lfisht:"\u297C",lfloor:"\u230A",Lfr:"\u{1D50F}",lfr:"\u{1D529}",lg:"\u2276",lgE:"\u2A91",lHar:"\u2962",lhard:"\u21BD",lharu:"\u21BC",lharul:"\u296A",lhblk:"\u2584",LJcy:"\u0409",ljcy:"\u0459",llarr:"\u21C7",ll:"\u226A",Ll:"\u22D8",llcorner:"\u231E",Lleftarrow:"\u21DA",llhard:"\u296B",lltri:"\u25FA",Lmidot:"\u013F",lmidot:"\u0140",lmoustache:"\u23B0",lmoust:"\u23B0",lnap:"\u2A89",lnapprox:"\u2A89",lne:"\u2A87",lnE:"\u2268",lneq:"\u2A87",lneqq:"\u2268",lnsim:"\u22E6",loang:"\u27EC",loarr:"\u21FD",lobrk:"\u27E6",longleftarrow:"\u27F5",LongLeftArrow:"\u27F5",Longleftarrow:"\u27F8",longleftrightarrow:"\u27F7",LongLeftRightArrow:"\u27F7",Longleftrightarrow:"\u27FA",longmapsto:"\u27FC",longrightarrow:"\u27F6",LongRightArrow:"\u27F6",Longrightarrow:"\u27F9",looparrowleft:"\u21AB",looparrowright:"\u21AC",lopar:"\u2985",Lopf:"\u{1D543}",lopf:"\u{1D55D}",loplus:"\u2A2D",lotimes:"\u2A34",lowast:"\u2217",lowbar:"_",LowerLeftArrow:"\u2199",LowerRightArrow:"\u2198",loz:"\u25CA",lozenge:"\u25CA",lozf:"\u29EB",lpar:"(",lparlt:"\u2993",lrarr:"\u21C6",lrcorner:"\u231F",lrhar:"\u21CB",lrhard:"\u296D",lrm:"\u200E",lrtri:"\u22BF",lsaquo:"\u2039",lscr:"\u{1D4C1}",Lscr:"\u2112",lsh:"\u21B0",Lsh:"\u21B0",lsim:"\u2272",lsime:"\u2A8D",lsimg:"\u2A8F",lsqb:"[",lsquo:"\u2018",lsquor:"\u201A",Lstrok:"\u0141",lstrok:"\u0142",ltcc:"\u2AA6",ltcir:"\u2A79",lt:"<",LT:"<",Lt:"\u226A",ltdot:"\u22D6",lthree:"\u22CB",ltimes:"\u22C9",ltlarr:"\u2976",ltquest:"\u2A7B",ltri:"\u25C3",ltrie:"\u22B4",ltrif:"\u25C2",ltrPar:"\u2996",lurdshar:"\u294A",luruhar:"\u2966",lvertneqq:"\u2268\uFE00",lvnE:"\u2268\uFE00",macr:"\xAF",male:"\u2642",malt:"\u2720",maltese:"\u2720",Map:"\u2905",map:"\u21A6",mapsto:"\u21A6",mapstodown:"\u21A7",mapstoleft:"\u21A4",mapstoup:"\u21A5",marker:"\u25AE",mcomma:"\u2A29",Mcy:"\u041C",mcy:"\u043C",mdash:"\u2014",mDDot:"\u223A",measuredangle:"\u2221",MediumSpace:"\u205F",Mellintrf:"\u2133",Mfr:"\u{1D510}",mfr:"\u{1D52A}",mho:"\u2127",micro:"\xB5",midast:"*",midcir:"\u2AF0",mid:"\u2223",middot:"\xB7",minusb:"\u229F",minus:"\u2212",minusd:"\u2238",minusdu:"\u2A2A",MinusPlus:"\u2213",mlcp:"\u2ADB",mldr:"\u2026",mnplus:"\u2213",models:"\u22A7",Mopf:"\u{1D544}",mopf:"\u{1D55E}",mp:"\u2213",mscr:"\u{1D4C2}",Mscr:"\u2133",mstpos:"\u223E",Mu:"\u039C",mu:"\u03BC",multimap:"\u22B8",mumap:"\u22B8",nabla:"\u2207",Nacute:"\u0143",nacute:"\u0144",nang:"\u2220\u20D2",nap:"\u2249",napE:"\u2A70\u0338",napid:"\u224B\u0338",napos:"\u0149",napprox:"\u2249",natural:"\u266E",naturals:"\u2115",natur:"\u266E",nbsp:"\xA0",nbump:"\u224E\u0338",nbumpe:"\u224F\u0338",ncap:"\u2A43",Ncaron:"\u0147",ncaron:"\u0148",Ncedil:"\u0145",ncedil:"\u0146",ncong:"\u2247",ncongdot:"\u2A6D\u0338",ncup:"\u2A42",Ncy:"\u041D",ncy:"\u043D",ndash:"\u2013",nearhk:"\u2924",nearr:"\u2197",neArr:"\u21D7",nearrow:"\u2197",ne:"\u2260",nedot:"\u2250\u0338",NegativeMediumSpace:"\u200B",NegativeThickSpace:"\u200B",NegativeThinSpace:"\u200B",NegativeVeryThinSpace:"\u200B",nequiv:"\u2262",nesear:"\u2928",nesim:"\u2242\u0338",NestedGreaterGreater:"\u226B",NestedLessLess:"\u226A",NewLine:`
|
|
583
|
-
`,nexist:"\u2204",nexists:"\u2204",Nfr:"\u{1D511}",nfr:"\u{1D52B}",ngE:"\u2267\u0338",nge:"\u2271",ngeq:"\u2271",ngeqq:"\u2267\u0338",ngeqslant:"\u2A7E\u0338",nges:"\u2A7E\u0338",nGg:"\u22D9\u0338",ngsim:"\u2275",nGt:"\u226B\u20D2",ngt:"\u226F",ngtr:"\u226F",nGtv:"\u226B\u0338",nharr:"\u21AE",nhArr:"\u21CE",nhpar:"\u2AF2",ni:"\u220B",nis:"\u22FC",nisd:"\u22FA",niv:"\u220B",NJcy:"\u040A",njcy:"\u045A",nlarr:"\u219A",nlArr:"\u21CD",nldr:"\u2025",nlE:"\u2266\u0338",nle:"\u2270",nleftarrow:"\u219A",nLeftarrow:"\u21CD",nleftrightarrow:"\u21AE",nLeftrightarrow:"\u21CE",nleq:"\u2270",nleqq:"\u2266\u0338",nleqslant:"\u2A7D\u0338",nles:"\u2A7D\u0338",nless:"\u226E",nLl:"\u22D8\u0338",nlsim:"\u2274",nLt:"\u226A\u20D2",nlt:"\u226E",nltri:"\u22EA",nltrie:"\u22EC",nLtv:"\u226A\u0338",nmid:"\u2224",NoBreak:"\u2060",NonBreakingSpace:"\xA0",nopf:"\u{1D55F}",Nopf:"\u2115",Not:"\u2AEC",not:"\xAC",NotCongruent:"\u2262",NotCupCap:"\u226D",NotDoubleVerticalBar:"\u2226",NotElement:"\u2209",NotEqual:"\u2260",NotEqualTilde:"\u2242\u0338",NotExists:"\u2204",NotGreater:"\u226F",NotGreaterEqual:"\u2271",NotGreaterFullEqual:"\u2267\u0338",NotGreaterGreater:"\u226B\u0338",NotGreaterLess:"\u2279",NotGreaterSlantEqual:"\u2A7E\u0338",NotGreaterTilde:"\u2275",NotHumpDownHump:"\u224E\u0338",NotHumpEqual:"\u224F\u0338",notin:"\u2209",notindot:"\u22F5\u0338",notinE:"\u22F9\u0338",notinva:"\u2209",notinvb:"\u22F7",notinvc:"\u22F6",NotLeftTriangleBar:"\u29CF\u0338",NotLeftTriangle:"\u22EA",NotLeftTriangleEqual:"\u22EC",NotLess:"\u226E",NotLessEqual:"\u2270",NotLessGreater:"\u2278",NotLessLess:"\u226A\u0338",NotLessSlantEqual:"\u2A7D\u0338",NotLessTilde:"\u2274",NotNestedGreaterGreater:"\u2AA2\u0338",NotNestedLessLess:"\u2AA1\u0338",notni:"\u220C",notniva:"\u220C",notnivb:"\u22FE",notnivc:"\u22FD",NotPrecedes:"\u2280",NotPrecedesEqual:"\u2AAF\u0338",NotPrecedesSlantEqual:"\u22E0",NotReverseElement:"\u220C",NotRightTriangleBar:"\u29D0\u0338",NotRightTriangle:"\u22EB",NotRightTriangleEqual:"\u22ED",NotSquareSubset:"\u228F\u0338",NotSquareSubsetEqual:"\u22E2",NotSquareSuperset:"\u2290\u0338",NotSquareSupersetEqual:"\u22E3",NotSubset:"\u2282\u20D2",NotSubsetEqual:"\u2288",NotSucceeds:"\u2281",NotSucceedsEqual:"\u2AB0\u0338",NotSucceedsSlantEqual:"\u22E1",NotSucceedsTilde:"\u227F\u0338",NotSuperset:"\u2283\u20D2",NotSupersetEqual:"\u2289",NotTilde:"\u2241",NotTildeEqual:"\u2244",NotTildeFullEqual:"\u2247",NotTildeTilde:"\u2249",NotVerticalBar:"\u2224",nparallel:"\u2226",npar:"\u2226",nparsl:"\u2AFD\u20E5",npart:"\u2202\u0338",npolint:"\u2A14",npr:"\u2280",nprcue:"\u22E0",nprec:"\u2280",npreceq:"\u2AAF\u0338",npre:"\u2AAF\u0338",nrarrc:"\u2933\u0338",nrarr:"\u219B",nrArr:"\u21CF",nrarrw:"\u219D\u0338",nrightarrow:"\u219B",nRightarrow:"\u21CF",nrtri:"\u22EB",nrtrie:"\u22ED",nsc:"\u2281",nsccue:"\u22E1",nsce:"\u2AB0\u0338",Nscr:"\u{1D4A9}",nscr:"\u{1D4C3}",nshortmid:"\u2224",nshortparallel:"\u2226",nsim:"\u2241",nsime:"\u2244",nsimeq:"\u2244",nsmid:"\u2224",nspar:"\u2226",nsqsube:"\u22E2",nsqsupe:"\u22E3",nsub:"\u2284",nsubE:"\u2AC5\u0338",nsube:"\u2288",nsubset:"\u2282\u20D2",nsubseteq:"\u2288",nsubseteqq:"\u2AC5\u0338",nsucc:"\u2281",nsucceq:"\u2AB0\u0338",nsup:"\u2285",nsupE:"\u2AC6\u0338",nsupe:"\u2289",nsupset:"\u2283\u20D2",nsupseteq:"\u2289",nsupseteqq:"\u2AC6\u0338",ntgl:"\u2279",Ntilde:"\xD1",ntilde:"\xF1",ntlg:"\u2278",ntriangleleft:"\u22EA",ntrianglelefteq:"\u22EC",ntriangleright:"\u22EB",ntrianglerighteq:"\u22ED",Nu:"\u039D",nu:"\u03BD",num:"#",numero:"\u2116",numsp:"\u2007",nvap:"\u224D\u20D2",nvdash:"\u22AC",nvDash:"\u22AD",nVdash:"\u22AE",nVDash:"\u22AF",nvge:"\u2265\u20D2",nvgt:">\u20D2",nvHarr:"\u2904",nvinfin:"\u29DE",nvlArr:"\u2902",nvle:"\u2264\u20D2",nvlt:"<\u20D2",nvltrie:"\u22B4\u20D2",nvrArr:"\u2903",nvrtrie:"\u22B5\u20D2",nvsim:"\u223C\u20D2",nwarhk:"\u2923",nwarr:"\u2196",nwArr:"\u21D6",nwarrow:"\u2196",nwnear:"\u2927",Oacute:"\xD3",oacute:"\xF3",oast:"\u229B",Ocirc:"\xD4",ocirc:"\xF4",ocir:"\u229A",Ocy:"\u041E",ocy:"\u043E",odash:"\u229D",Odblac:"\u0150",odblac:"\u0151",odiv:"\u2A38",odot:"\u2299",odsold:"\u29BC",OElig:"\u0152",oelig:"\u0153",ofcir:"\u29BF",Ofr:"\u{1D512}",ofr:"\u{1D52C}",ogon:"\u02DB",Ograve:"\xD2",ograve:"\xF2",ogt:"\u29C1",ohbar:"\u29B5",ohm:"\u03A9",oint:"\u222E",olarr:"\u21BA",olcir:"\u29BE",olcross:"\u29BB",oline:"\u203E",olt:"\u29C0",Omacr:"\u014C",omacr:"\u014D",Omega:"\u03A9",omega:"\u03C9",Omicron:"\u039F",omicron:"\u03BF",omid:"\u29B6",ominus:"\u2296",Oopf:"\u{1D546}",oopf:"\u{1D560}",opar:"\u29B7",OpenCurlyDoubleQuote:"\u201C",OpenCurlyQuote:"\u2018",operp:"\u29B9",oplus:"\u2295",orarr:"\u21BB",Or:"\u2A54",or:"\u2228",ord:"\u2A5D",order:"\u2134",orderof:"\u2134",ordf:"\xAA",ordm:"\xBA",origof:"\u22B6",oror:"\u2A56",orslope:"\u2A57",orv:"\u2A5B",oS:"\u24C8",Oscr:"\u{1D4AA}",oscr:"\u2134",Oslash:"\xD8",oslash:"\xF8",osol:"\u2298",Otilde:"\xD5",otilde:"\xF5",otimesas:"\u2A36",Otimes:"\u2A37",otimes:"\u2297",Ouml:"\xD6",ouml:"\xF6",ovbar:"\u233D",OverBar:"\u203E",OverBrace:"\u23DE",OverBracket:"\u23B4",OverParenthesis:"\u23DC",para:"\xB6",parallel:"\u2225",par:"\u2225",parsim:"\u2AF3",parsl:"\u2AFD",part:"\u2202",PartialD:"\u2202",Pcy:"\u041F",pcy:"\u043F",percnt:"%",period:".",permil:"\u2030",perp:"\u22A5",pertenk:"\u2031",Pfr:"\u{1D513}",pfr:"\u{1D52D}",Phi:"\u03A6",phi:"\u03C6",phiv:"\u03D5",phmmat:"\u2133",phone:"\u260E",Pi:"\u03A0",pi:"\u03C0",pitchfork:"\u22D4",piv:"\u03D6",planck:"\u210F",planckh:"\u210E",plankv:"\u210F",plusacir:"\u2A23",plusb:"\u229E",pluscir:"\u2A22",plus:"+",plusdo:"\u2214",plusdu:"\u2A25",pluse:"\u2A72",PlusMinus:"\xB1",plusmn:"\xB1",plussim:"\u2A26",plustwo:"\u2A27",pm:"\xB1",Poincareplane:"\u210C",pointint:"\u2A15",popf:"\u{1D561}",Popf:"\u2119",pound:"\xA3",prap:"\u2AB7",Pr:"\u2ABB",pr:"\u227A",prcue:"\u227C",precapprox:"\u2AB7",prec:"\u227A",preccurlyeq:"\u227C",Precedes:"\u227A",PrecedesEqual:"\u2AAF",PrecedesSlantEqual:"\u227C",PrecedesTilde:"\u227E",preceq:"\u2AAF",precnapprox:"\u2AB9",precneqq:"\u2AB5",precnsim:"\u22E8",pre:"\u2AAF",prE:"\u2AB3",precsim:"\u227E",prime:"\u2032",Prime:"\u2033",primes:"\u2119",prnap:"\u2AB9",prnE:"\u2AB5",prnsim:"\u22E8",prod:"\u220F",Product:"\u220F",profalar:"\u232E",profline:"\u2312",profsurf:"\u2313",prop:"\u221D",Proportional:"\u221D",Proportion:"\u2237",propto:"\u221D",prsim:"\u227E",prurel:"\u22B0",Pscr:"\u{1D4AB}",pscr:"\u{1D4C5}",Psi:"\u03A8",psi:"\u03C8",puncsp:"\u2008",Qfr:"\u{1D514}",qfr:"\u{1D52E}",qint:"\u2A0C",qopf:"\u{1D562}",Qopf:"\u211A",qprime:"\u2057",Qscr:"\u{1D4AC}",qscr:"\u{1D4C6}",quaternions:"\u210D",quatint:"\u2A16",quest:"?",questeq:"\u225F",quot:'"',QUOT:'"',rAarr:"\u21DB",race:"\u223D\u0331",Racute:"\u0154",racute:"\u0155",radic:"\u221A",raemptyv:"\u29B3",rang:"\u27E9",Rang:"\u27EB",rangd:"\u2992",range:"\u29A5",rangle:"\u27E9",raquo:"\xBB",rarrap:"\u2975",rarrb:"\u21E5",rarrbfs:"\u2920",rarrc:"\u2933",rarr:"\u2192",Rarr:"\u21A0",rArr:"\u21D2",rarrfs:"\u291E",rarrhk:"\u21AA",rarrlp:"\u21AC",rarrpl:"\u2945",rarrsim:"\u2974",Rarrtl:"\u2916",rarrtl:"\u21A3",rarrw:"\u219D",ratail:"\u291A",rAtail:"\u291C",ratio:"\u2236",rationals:"\u211A",rbarr:"\u290D",rBarr:"\u290F",RBarr:"\u2910",rbbrk:"\u2773",rbrace:"}",rbrack:"]",rbrke:"\u298C",rbrksld:"\u298E",rbrkslu:"\u2990",Rcaron:"\u0158",rcaron:"\u0159",Rcedil:"\u0156",rcedil:"\u0157",rceil:"\u2309",rcub:"}",Rcy:"\u0420",rcy:"\u0440",rdca:"\u2937",rdldhar:"\u2969",rdquo:"\u201D",rdquor:"\u201D",rdsh:"\u21B3",real:"\u211C",realine:"\u211B",realpart:"\u211C",reals:"\u211D",Re:"\u211C",rect:"\u25AD",reg:"\xAE",REG:"\xAE",ReverseElement:"\u220B",ReverseEquilibrium:"\u21CB",ReverseUpEquilibrium:"\u296F",rfisht:"\u297D",rfloor:"\u230B",rfr:"\u{1D52F}",Rfr:"\u211C",rHar:"\u2964",rhard:"\u21C1",rharu:"\u21C0",rharul:"\u296C",Rho:"\u03A1",rho:"\u03C1",rhov:"\u03F1",RightAngleBracket:"\u27E9",RightArrowBar:"\u21E5",rightarrow:"\u2192",RightArrow:"\u2192",Rightarrow:"\u21D2",RightArrowLeftArrow:"\u21C4",rightarrowtail:"\u21A3",RightCeiling:"\u2309",RightDoubleBracket:"\u27E7",RightDownTeeVector:"\u295D",RightDownVectorBar:"\u2955",RightDownVector:"\u21C2",RightFloor:"\u230B",rightharpoondown:"\u21C1",rightharpoonup:"\u21C0",rightleftarrows:"\u21C4",rightleftharpoons:"\u21CC",rightrightarrows:"\u21C9",rightsquigarrow:"\u219D",RightTeeArrow:"\u21A6",RightTee:"\u22A2",RightTeeVector:"\u295B",rightthreetimes:"\u22CC",RightTriangleBar:"\u29D0",RightTriangle:"\u22B3",RightTriangleEqual:"\u22B5",RightUpDownVector:"\u294F",RightUpTeeVector:"\u295C",RightUpVectorBar:"\u2954",RightUpVector:"\u21BE",RightVectorBar:"\u2953",RightVector:"\u21C0",ring:"\u02DA",risingdotseq:"\u2253",rlarr:"\u21C4",rlhar:"\u21CC",rlm:"\u200F",rmoustache:"\u23B1",rmoust:"\u23B1",rnmid:"\u2AEE",roang:"\u27ED",roarr:"\u21FE",robrk:"\u27E7",ropar:"\u2986",ropf:"\u{1D563}",Ropf:"\u211D",roplus:"\u2A2E",rotimes:"\u2A35",RoundImplies:"\u2970",rpar:")",rpargt:"\u2994",rppolint:"\u2A12",rrarr:"\u21C9",Rrightarrow:"\u21DB",rsaquo:"\u203A",rscr:"\u{1D4C7}",Rscr:"\u211B",rsh:"\u21B1",Rsh:"\u21B1",rsqb:"]",rsquo:"\u2019",rsquor:"\u2019",rthree:"\u22CC",rtimes:"\u22CA",rtri:"\u25B9",rtrie:"\u22B5",rtrif:"\u25B8",rtriltri:"\u29CE",RuleDelayed:"\u29F4",ruluhar:"\u2968",rx:"\u211E",Sacute:"\u015A",sacute:"\u015B",sbquo:"\u201A",scap:"\u2AB8",Scaron:"\u0160",scaron:"\u0161",Sc:"\u2ABC",sc:"\u227B",sccue:"\u227D",sce:"\u2AB0",scE:"\u2AB4",Scedil:"\u015E",scedil:"\u015F",Scirc:"\u015C",scirc:"\u015D",scnap:"\u2ABA",scnE:"\u2AB6",scnsim:"\u22E9",scpolint:"\u2A13",scsim:"\u227F",Scy:"\u0421",scy:"\u0441",sdotb:"\u22A1",sdot:"\u22C5",sdote:"\u2A66",searhk:"\u2925",searr:"\u2198",seArr:"\u21D8",searrow:"\u2198",sect:"\xA7",semi:";",seswar:"\u2929",setminus:"\u2216",setmn:"\u2216",sext:"\u2736",Sfr:"\u{1D516}",sfr:"\u{1D530}",sfrown:"\u2322",sharp:"\u266F",SHCHcy:"\u0429",shchcy:"\u0449",SHcy:"\u0428",shcy:"\u0448",ShortDownArrow:"\u2193",ShortLeftArrow:"\u2190",shortmid:"\u2223",shortparallel:"\u2225",ShortRightArrow:"\u2192",ShortUpArrow:"\u2191",shy:"\xAD",Sigma:"\u03A3",sigma:"\u03C3",sigmaf:"\u03C2",sigmav:"\u03C2",sim:"\u223C",simdot:"\u2A6A",sime:"\u2243",simeq:"\u2243",simg:"\u2A9E",simgE:"\u2AA0",siml:"\u2A9D",simlE:"\u2A9F",simne:"\u2246",simplus:"\u2A24",simrarr:"\u2972",slarr:"\u2190",SmallCircle:"\u2218",smallsetminus:"\u2216",smashp:"\u2A33",smeparsl:"\u29E4",smid:"\u2223",smile:"\u2323",smt:"\u2AAA",smte:"\u2AAC",smtes:"\u2AAC\uFE00",SOFTcy:"\u042C",softcy:"\u044C",solbar:"\u233F",solb:"\u29C4",sol:"/",Sopf:"\u{1D54A}",sopf:"\u{1D564}",spades:"\u2660",spadesuit:"\u2660",spar:"\u2225",sqcap:"\u2293",sqcaps:"\u2293\uFE00",sqcup:"\u2294",sqcups:"\u2294\uFE00",Sqrt:"\u221A",sqsub:"\u228F",sqsube:"\u2291",sqsubset:"\u228F",sqsubseteq:"\u2291",sqsup:"\u2290",sqsupe:"\u2292",sqsupset:"\u2290",sqsupseteq:"\u2292",square:"\u25A1",Square:"\u25A1",SquareIntersection:"\u2293",SquareSubset:"\u228F",SquareSubsetEqual:"\u2291",SquareSuperset:"\u2290",SquareSupersetEqual:"\u2292",SquareUnion:"\u2294",squarf:"\u25AA",squ:"\u25A1",squf:"\u25AA",srarr:"\u2192",Sscr:"\u{1D4AE}",sscr:"\u{1D4C8}",ssetmn:"\u2216",ssmile:"\u2323",sstarf:"\u22C6",Star:"\u22C6",star:"\u2606",starf:"\u2605",straightepsilon:"\u03F5",straightphi:"\u03D5",strns:"\xAF",sub:"\u2282",Sub:"\u22D0",subdot:"\u2ABD",subE:"\u2AC5",sube:"\u2286",subedot:"\u2AC3",submult:"\u2AC1",subnE:"\u2ACB",subne:"\u228A",subplus:"\u2ABF",subrarr:"\u2979",subset:"\u2282",Subset:"\u22D0",subseteq:"\u2286",subseteqq:"\u2AC5",SubsetEqual:"\u2286",subsetneq:"\u228A",subsetneqq:"\u2ACB",subsim:"\u2AC7",subsub:"\u2AD5",subsup:"\u2AD3",succapprox:"\u2AB8",succ:"\u227B",succcurlyeq:"\u227D",Succeeds:"\u227B",SucceedsEqual:"\u2AB0",SucceedsSlantEqual:"\u227D",SucceedsTilde:"\u227F",succeq:"\u2AB0",succnapprox:"\u2ABA",succneqq:"\u2AB6",succnsim:"\u22E9",succsim:"\u227F",SuchThat:"\u220B",sum:"\u2211",Sum:"\u2211",sung:"\u266A",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",sup:"\u2283",Sup:"\u22D1",supdot:"\u2ABE",supdsub:"\u2AD8",supE:"\u2AC6",supe:"\u2287",supedot:"\u2AC4",Superset:"\u2283",SupersetEqual:"\u2287",suphsol:"\u27C9",suphsub:"\u2AD7",suplarr:"\u297B",supmult:"\u2AC2",supnE:"\u2ACC",supne:"\u228B",supplus:"\u2AC0",supset:"\u2283",Supset:"\u22D1",supseteq:"\u2287",supseteqq:"\u2AC6",supsetneq:"\u228B",supsetneqq:"\u2ACC",supsim:"\u2AC8",supsub:"\u2AD4",supsup:"\u2AD6",swarhk:"\u2926",swarr:"\u2199",swArr:"\u21D9",swarrow:"\u2199",swnwar:"\u292A",szlig:"\xDF",Tab:" ",target:"\u2316",Tau:"\u03A4",tau:"\u03C4",tbrk:"\u23B4",Tcaron:"\u0164",tcaron:"\u0165",Tcedil:"\u0162",tcedil:"\u0163",Tcy:"\u0422",tcy:"\u0442",tdot:"\u20DB",telrec:"\u2315",Tfr:"\u{1D517}",tfr:"\u{1D531}",there4:"\u2234",therefore:"\u2234",Therefore:"\u2234",Theta:"\u0398",theta:"\u03B8",thetasym:"\u03D1",thetav:"\u03D1",thickapprox:"\u2248",thicksim:"\u223C",ThickSpace:"\u205F\u200A",ThinSpace:"\u2009",thinsp:"\u2009",thkap:"\u2248",thksim:"\u223C",THORN:"\xDE",thorn:"\xFE",tilde:"\u02DC",Tilde:"\u223C",TildeEqual:"\u2243",TildeFullEqual:"\u2245",TildeTilde:"\u2248",timesbar:"\u2A31",timesb:"\u22A0",times:"\xD7",timesd:"\u2A30",tint:"\u222D",toea:"\u2928",topbot:"\u2336",topcir:"\u2AF1",top:"\u22A4",Topf:"\u{1D54B}",topf:"\u{1D565}",topfork:"\u2ADA",tosa:"\u2929",tprime:"\u2034",trade:"\u2122",TRADE:"\u2122",triangle:"\u25B5",triangledown:"\u25BF",triangleleft:"\u25C3",trianglelefteq:"\u22B4",triangleq:"\u225C",triangleright:"\u25B9",trianglerighteq:"\u22B5",tridot:"\u25EC",trie:"\u225C",triminus:"\u2A3A",TripleDot:"\u20DB",triplus:"\u2A39",trisb:"\u29CD",tritime:"\u2A3B",trpezium:"\u23E2",Tscr:"\u{1D4AF}",tscr:"\u{1D4C9}",TScy:"\u0426",tscy:"\u0446",TSHcy:"\u040B",tshcy:"\u045B",Tstrok:"\u0166",tstrok:"\u0167",twixt:"\u226C",twoheadleftarrow:"\u219E",twoheadrightarrow:"\u21A0",Uacute:"\xDA",uacute:"\xFA",uarr:"\u2191",Uarr:"\u219F",uArr:"\u21D1",Uarrocir:"\u2949",Ubrcy:"\u040E",ubrcy:"\u045E",Ubreve:"\u016C",ubreve:"\u016D",Ucirc:"\xDB",ucirc:"\xFB",Ucy:"\u0423",ucy:"\u0443",udarr:"\u21C5",Udblac:"\u0170",udblac:"\u0171",udhar:"\u296E",ufisht:"\u297E",Ufr:"\u{1D518}",ufr:"\u{1D532}",Ugrave:"\xD9",ugrave:"\xF9",uHar:"\u2963",uharl:"\u21BF",uharr:"\u21BE",uhblk:"\u2580",ulcorn:"\u231C",ulcorner:"\u231C",ulcrop:"\u230F",ultri:"\u25F8",Umacr:"\u016A",umacr:"\u016B",uml:"\xA8",UnderBar:"_",UnderBrace:"\u23DF",UnderBracket:"\u23B5",UnderParenthesis:"\u23DD",Union:"\u22C3",UnionPlus:"\u228E",Uogon:"\u0172",uogon:"\u0173",Uopf:"\u{1D54C}",uopf:"\u{1D566}",UpArrowBar:"\u2912",uparrow:"\u2191",UpArrow:"\u2191",Uparrow:"\u21D1",UpArrowDownArrow:"\u21C5",updownarrow:"\u2195",UpDownArrow:"\u2195",Updownarrow:"\u21D5",UpEquilibrium:"\u296E",upharpoonleft:"\u21BF",upharpoonright:"\u21BE",uplus:"\u228E",UpperLeftArrow:"\u2196",UpperRightArrow:"\u2197",upsi:"\u03C5",Upsi:"\u03D2",upsih:"\u03D2",Upsilon:"\u03A5",upsilon:"\u03C5",UpTeeArrow:"\u21A5",UpTee:"\u22A5",upuparrows:"\u21C8",urcorn:"\u231D",urcorner:"\u231D",urcrop:"\u230E",Uring:"\u016E",uring:"\u016F",urtri:"\u25F9",Uscr:"\u{1D4B0}",uscr:"\u{1D4CA}",utdot:"\u22F0",Utilde:"\u0168",utilde:"\u0169",utri:"\u25B5",utrif:"\u25B4",uuarr:"\u21C8",Uuml:"\xDC",uuml:"\xFC",uwangle:"\u29A7",vangrt:"\u299C",varepsilon:"\u03F5",varkappa:"\u03F0",varnothing:"\u2205",varphi:"\u03D5",varpi:"\u03D6",varpropto:"\u221D",varr:"\u2195",vArr:"\u21D5",varrho:"\u03F1",varsigma:"\u03C2",varsubsetneq:"\u228A\uFE00",varsubsetneqq:"\u2ACB\uFE00",varsupsetneq:"\u228B\uFE00",varsupsetneqq:"\u2ACC\uFE00",vartheta:"\u03D1",vartriangleleft:"\u22B2",vartriangleright:"\u22B3",vBar:"\u2AE8",Vbar:"\u2AEB",vBarv:"\u2AE9",Vcy:"\u0412",vcy:"\u0432",vdash:"\u22A2",vDash:"\u22A8",Vdash:"\u22A9",VDash:"\u22AB",Vdashl:"\u2AE6",veebar:"\u22BB",vee:"\u2228",Vee:"\u22C1",veeeq:"\u225A",vellip:"\u22EE",verbar:"|",Verbar:"\u2016",vert:"|",Vert:"\u2016",VerticalBar:"\u2223",VerticalLine:"|",VerticalSeparator:"\u2758",VerticalTilde:"\u2240",VeryThinSpace:"\u200A",Vfr:"\u{1D519}",vfr:"\u{1D533}",vltri:"\u22B2",vnsub:"\u2282\u20D2",vnsup:"\u2283\u20D2",Vopf:"\u{1D54D}",vopf:"\u{1D567}",vprop:"\u221D",vrtri:"\u22B3",Vscr:"\u{1D4B1}",vscr:"\u{1D4CB}",vsubnE:"\u2ACB\uFE00",vsubne:"\u228A\uFE00",vsupnE:"\u2ACC\uFE00",vsupne:"\u228B\uFE00",Vvdash:"\u22AA",vzigzag:"\u299A",Wcirc:"\u0174",wcirc:"\u0175",wedbar:"\u2A5F",wedge:"\u2227",Wedge:"\u22C0",wedgeq:"\u2259",weierp:"\u2118",Wfr:"\u{1D51A}",wfr:"\u{1D534}",Wopf:"\u{1D54E}",wopf:"\u{1D568}",wp:"\u2118",wr:"\u2240",wreath:"\u2240",Wscr:"\u{1D4B2}",wscr:"\u{1D4CC}",xcap:"\u22C2",xcirc:"\u25EF",xcup:"\u22C3",xdtri:"\u25BD",Xfr:"\u{1D51B}",xfr:"\u{1D535}",xharr:"\u27F7",xhArr:"\u27FA",Xi:"\u039E",xi:"\u03BE",xlarr:"\u27F5",xlArr:"\u27F8",xmap:"\u27FC",xnis:"\u22FB",xodot:"\u2A00",Xopf:"\u{1D54F}",xopf:"\u{1D569}",xoplus:"\u2A01",xotime:"\u2A02",xrarr:"\u27F6",xrArr:"\u27F9",Xscr:"\u{1D4B3}",xscr:"\u{1D4CD}",xsqcup:"\u2A06",xuplus:"\u2A04",xutri:"\u25B3",xvee:"\u22C1",xwedge:"\u22C0",Yacute:"\xDD",yacute:"\xFD",YAcy:"\u042F",yacy:"\u044F",Ycirc:"\u0176",ycirc:"\u0177",Ycy:"\u042B",ycy:"\u044B",yen:"\xA5",Yfr:"\u{1D51C}",yfr:"\u{1D536}",YIcy:"\u0407",yicy:"\u0457",Yopf:"\u{1D550}",yopf:"\u{1D56A}",Yscr:"\u{1D4B4}",yscr:"\u{1D4CE}",YUcy:"\u042E",yucy:"\u044E",yuml:"\xFF",Yuml:"\u0178",Zacute:"\u0179",zacute:"\u017A",Zcaron:"\u017D",zcaron:"\u017E",Zcy:"\u0417",zcy:"\u0437",Zdot:"\u017B",zdot:"\u017C",zeetrf:"\u2128",ZeroWidthSpace:"\u200B",Zeta:"\u0396",zeta:"\u03B6",zfr:"\u{1D537}",Zfr:"\u2128",ZHcy:"\u0416",zhcy:"\u0436",zigrarr:"\u21DD",zopf:"\u{1D56B}",Zopf:"\u2124",Zscr:"\u{1D4B5}",zscr:"\u{1D4CF}",zwj:"\u200D",zwnj:"\u200C"}}),r3=Jt((e,t)=>{t.exports={Aacute:"\xC1",aacute:"\xE1",Acirc:"\xC2",acirc:"\xE2",acute:"\xB4",AElig:"\xC6",aelig:"\xE6",Agrave:"\xC0",agrave:"\xE0",amp:"&",AMP:"&",Aring:"\xC5",aring:"\xE5",Atilde:"\xC3",atilde:"\xE3",Auml:"\xC4",auml:"\xE4",brvbar:"\xA6",Ccedil:"\xC7",ccedil:"\xE7",cedil:"\xB8",cent:"\xA2",copy:"\xA9",COPY:"\xA9",curren:"\xA4",deg:"\xB0",divide:"\xF7",Eacute:"\xC9",eacute:"\xE9",Ecirc:"\xCA",ecirc:"\xEA",Egrave:"\xC8",egrave:"\xE8",ETH:"\xD0",eth:"\xF0",Euml:"\xCB",euml:"\xEB",frac12:"\xBD",frac14:"\xBC",frac34:"\xBE",gt:">",GT:">",Iacute:"\xCD",iacute:"\xED",Icirc:"\xCE",icirc:"\xEE",iexcl:"\xA1",Igrave:"\xCC",igrave:"\xEC",iquest:"\xBF",Iuml:"\xCF",iuml:"\xEF",laquo:"\xAB",lt:"<",LT:"<",macr:"\xAF",micro:"\xB5",middot:"\xB7",nbsp:"\xA0",not:"\xAC",Ntilde:"\xD1",ntilde:"\xF1",Oacute:"\xD3",oacute:"\xF3",Ocirc:"\xD4",ocirc:"\xF4",Ograve:"\xD2",ograve:"\xF2",ordf:"\xAA",ordm:"\xBA",Oslash:"\xD8",oslash:"\xF8",Otilde:"\xD5",otilde:"\xF5",Ouml:"\xD6",ouml:"\xF6",para:"\xB6",plusmn:"\xB1",pound:"\xA3",quot:'"',QUOT:'"',raquo:"\xBB",reg:"\xAE",REG:"\xAE",sect:"\xA7",shy:"\xAD",sup1:"\xB9",sup2:"\xB2",sup3:"\xB3",szlig:"\xDF",THORN:"\xDE",thorn:"\xFE",times:"\xD7",Uacute:"\xDA",uacute:"\xFA",Ucirc:"\xDB",ucirc:"\xFB",Ugrave:"\xD9",ugrave:"\xF9",uml:"\xA8",Uuml:"\xDC",uuml:"\xFC",Yacute:"\xDD",yacute:"\xFD",yen:"\xA5",yuml:"\xFF"}}),L1=Jt((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),n3=Jt((e,t)=>{t.exports={0:65533,128:8364,130:8218,131:402,132:8222,133:8230,134:8224,135:8225,136:710,137:8240,138:352,139:8249,140:338,142:381,145:8216,146:8217,147:8220,148:8221,149:8226,150:8211,151:8212,152:732,153:8482,154:353,155:8250,156:339,158:382,159:376}}),o3=Jt(e=>{"use strict";var t=e&&e.__importDefault||function(i){return i&&i.__esModule?i:{default:i}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(n3()),n=String.fromCodePoint||function(i){var s="";return i>65535&&(i-=65536,s+=String.fromCharCode(i>>>10&1023|55296),i=56320|i&1023),s+=String.fromCharCode(i),s};function o(i){return i>=55296&&i<=57343||i>1114111?"\uFFFD":(i in r.default&&(i=r.default[i]),n(i))}B(o,"decodeCodePoint"),e.default=o}),_1=Jt(e=>{"use strict";var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(k1()),n=t(r3()),o=t(L1()),i=t(o3()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(o.default),e.decodeHTMLStrict=l(r.default);function l(d){var p=c(d);return function(h){return String(h).replace(s,p)}}B(l,"getStrictDecoder");var u=B(function(d,p){return d<p?1:-1},"sorter");e.decodeHTML=function(){for(var d=Object.keys(n.default).sort(u),p=Object.keys(r.default).sort(u),h=0,m=0;h<p.length;h++)d[m]===p[h]?(p[h]+=";?",m++):p[h]+=";";var y=new RegExp("&(?:"+p.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),b=c(r.default);function E(g){return g.substr(-1)!==";"&&(g+=";"),b(g)}return B(E,"replacer"),function(g){return String(g).replace(y,E)}}();function c(d){return B(function(p){if(p.charAt(1)==="#"){var h=p.charAt(2);return h==="X"||h==="x"?i.default(parseInt(p.substr(3),16)):i.default(parseInt(p.substr(2),10))}return d[p.slice(1,-1)]||p},"replace")}B(c,"getReplacer")}),S1=Jt(e=>{"use strict";var t=e&&e.__importDefault||function(w){return w&&w.__esModule?w:{default:w}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(L1()),n=u(r.default),o=c(n);e.encodeXML=g(n);var i=t(k1()),s=u(i.default),l=c(s);e.encodeHTML=m(s,l),e.encodeNonAsciiHTML=g(s);function u(w){return Object.keys(w).sort().reduce(function(O,A){return O[w[A]]="&"+A+";",O},{})}B(u,"getInverseObj");function c(w){for(var O=[],A=[],S=0,T=Object.keys(w);S<T.length;S++){var C=T[S];C.length===1?O.push("\\"+C):A.push(C)}O.sort();for(var x=0;x<O.length-1;x++){for(var I=x;I<O.length-1&&O[I].charCodeAt(1)+1===O[I+1].charCodeAt(1);)I+=1;var W=1+I-x;W<3||O.splice(x,W,O[x]+"-"+O[I])}return A.unshift("["+O.join("")+"]"),new RegExp(A.join("|"),"g")}B(c,"getInverseReplacer");var d=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,p=String.prototype.codePointAt!=null?function(w){return w.codePointAt(0)}:function(w){return(w.charCodeAt(0)-55296)*1024+w.charCodeAt(1)-56320+65536};function h(w){return"&#x"+(w.length>1?p(w):w.charCodeAt(0)).toString(16).toUpperCase()+";"}B(h,"singleCharReplacer");function m(w,O){return function(A){return A.replace(O,function(S){return w[S]}).replace(d,h)}}B(m,"getInverse");var y=new RegExp(o.source+"|"+d.source,"g");function b(w){return w.replace(y,h)}B(b,"escape"),e.escape=b;function E(w){return w.replace(o,h)}B(E,"escapeUTF8"),e.escapeUTF8=E;function g(w){return function(O){return O.replace(y,function(A){return w[A]||h(A)})}}B(g,"getASCIIEncoder")}),a3=Jt(e=>{"use strict";Object.defineProperty(e,"__esModule",{value:!0}),e.decodeXMLStrict=e.decodeHTML5Strict=e.decodeHTML4Strict=e.decodeHTML5=e.decodeHTML4=e.decodeHTMLStrict=e.decodeHTML=e.decodeXML=e.encodeHTML5=e.encodeHTML4=e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=e.encode=e.decodeStrict=e.decode=void 0;var t=_1(),r=S1();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}B(n,"decode"),e.decode=n;function o(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}B(o,"decodeStrict"),e.decodeStrict=o;function i(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}B(i,"encode"),e.encode=i;var s=S1();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:B(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:B(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:B(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:B(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:B(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:B(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:B(function(){return s.encodeHTML},"get")});var l=_1();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:B(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:B(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:B(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:B(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:B(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:B(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:B(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:B(function(){return l.decodeXML},"get")})}),i3=Jt((e,t)=>{"use strict";function r(_,P){if(!(_ instanceof P))throw new TypeError("Cannot call a class as a function")}B(r,"_classCallCheck");function n(_,P){for(var N=0;N<P.length;N++){var le=P[N];le.enumerable=le.enumerable||!1,le.configurable=!0,"value"in le&&(le.writable=!0),Object.defineProperty(_,le.key,le)}}B(n,"_defineProperties");function o(_,P,N){return P&&n(_.prototype,P),N&&n(_,N),_}B(o,"_createClass");function i(_,P){var N=typeof Symbol<"u"&&_[Symbol.iterator]||_["@@iterator"];if(!N){if(Array.isArray(_)||(N=s(_))||P&&_&&typeof _.length=="number"){N&&(_=N);var le=0,ce=B(function(){},"F");return{s:ce,n:B(function(){return le>=_.length?{done:!0}:{done:!1,value:_[le++]}},"n"),e:B(function(ye){throw ye},"e"),f:ce}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
584
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var Re=!0,Ne=!1,De;return{s:B(function(){N=N.call(_)},"s"),n:B(function(){var ye=N.next();return Re=ye.done,ye},"n"),e:B(function(ye){Ne=!0,De=ye},"e"),f:B(function(){try{!Re&&N.return!=null&&N.return()}finally{if(Ne)throw De}},"f")}}B(i,"_createForOfIteratorHelper");function s(_,P){if(_){if(typeof _=="string")return l(_,P);var N=Object.prototype.toString.call(_).slice(8,-1);if(N==="Object"&&_.constructor&&(N=_.constructor.name),N==="Map"||N==="Set")return Array.from(_);if(N==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(N))return l(_,P)}}B(s,"_unsupportedIterableToArray");function l(_,P){(P==null||P>_.length)&&(P=_.length);for(var N=0,le=new Array(P);N<P;N++)le[N]=_[N];return le}B(l,"_arrayLikeToArray");var u=a3(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:d()};function d(){var _={0:"#000",1:"#A00",2:"#0A0",3:"#A50",4:"#00A",5:"#A0A",6:"#0AA",7:"#AAA",8:"#555",9:"#F55",10:"#5F5",11:"#FF5",12:"#55F",13:"#F5F",14:"#5FF",15:"#FFF"};return w(0,5).forEach(function(P){w(0,5).forEach(function(N){w(0,5).forEach(function(le){return p(P,N,le,_)})})}),w(0,23).forEach(function(P){var N=P+232,le=h(P*10+8);_[N]="#"+le+le+le}),_}B(d,"getDefaultColors");function p(_,P,N,le){var ce=16+_*36+P*6+N,Re=_>0?_*40+55:0,Ne=P>0?P*40+55:0,De=N>0?N*40+55:0;le[ce]=m([Re,Ne,De])}B(p,"setStyleColor");function h(_){for(var P=_.toString(16);P.length<2;)P="0"+P;return P}B(h,"toHexString");function m(_){var P=[],N=i(_),le;try{for(N.s();!(le=N.n()).done;){var ce=le.value;P.push(h(ce))}}catch(Re){N.e(Re)}finally{N.f()}return"#"+P.join("")}B(m,"toColorHexString");function y(_,P,N,le){var ce;return P==="text"?ce=S(N,le):P==="display"?ce=E(_,N,le):P==="xterm256Foreground"?ce=x(_,le.colors[N]):P==="xterm256Background"?ce=I(_,le.colors[N]):P==="rgb"&&(ce=b(_,N)),ce}B(y,"generateOutput");function b(_,P){P=P.substring(2).slice(0,-1);var N=+P.substr(0,2),le=P.substring(5).split(";"),ce=le.map(function(Re){return("0"+Number(Re).toString(16)).substr(-2)}).join("");return C(_,(N===38?"color:#":"background-color:#")+ce)}B(b,"handleRgb");function E(_,P,N){P=parseInt(P,10);var le={"-1":B(function(){return"<br/>"},"_"),0:B(function(){return _.length&&g(_)},"_"),1:B(function(){return T(_,"b")},"_"),3:B(function(){return T(_,"i")},"_"),4:B(function(){return T(_,"u")},"_"),8:B(function(){return C(_,"display:none")},"_"),9:B(function(){return T(_,"strike")},"_"),22:B(function(){return C(_,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:B(function(){return W(_,"i")},"_"),24:B(function(){return W(_,"u")},"_"),39:B(function(){return x(_,N.fg)},"_"),49:B(function(){return I(_,N.bg)},"_"),53:B(function(){return C(_,"text-decoration:overline")},"_")},ce;return le[P]?ce=le[P]():4<P&&P<7?ce=T(_,"blink"):29<P&&P<38?ce=x(_,N.colors[P-30]):39<P&&P<48?ce=I(_,N.colors[P-40]):89<P&&P<98?ce=x(_,N.colors[8+(P-90)]):99<P&&P<108&&(ce=I(_,N.colors[8+(P-100)])),ce}B(E,"handleDisplay");function g(_){var P=_.slice(0);return _.length=0,P.reverse().map(function(N){return"</"+N+">"}).join("")}B(g,"resetStyles");function w(_,P){for(var N=[],le=_;le<=P;le++)N.push(le);return N}B(w,"range");function O(_){return function(P){return(_===null||P.category!==_)&&_!=="all"}}B(O,"notCategory");function A(_){_=parseInt(_,10);var P=null;return _===0?P="all":_===1?P="bold":2<_&&_<5?P="underline":4<_&&_<7?P="blink":_===8?P="hide":_===9?P="strike":29<_&&_<38||_===39||89<_&&_<98?P="foreground-color":(39<_&&_<48||_===49||99<_&&_<108)&&(P="background-color"),P}B(A,"categoryForCode");function S(_,P){return P.escapeXML?u.encodeXML(_):_}B(S,"pushText");function T(_,P,N){return N||(N=""),_.push(P),"<".concat(P).concat(N?' style="'.concat(N,'"'):"",">")}B(T,"pushTag");function C(_,P){return T(_,"span",P)}B(C,"pushStyle");function x(_,P){return T(_,"span","color:"+P)}B(x,"pushForegroundColor");function I(_,P){return T(_,"span","background-color:"+P)}B(I,"pushBackgroundColor");function W(_,P){var N;if(_.slice(-1)[0]===P&&(N=_.pop()),N)return"</"+P+">"}B(W,"closeTag");function X(_,P,N){var le=!1,ce=3;function Re(){return""}B(Re,"remove");function Ne(Se,$e){return N("xterm256Foreground",$e),""}B(Ne,"removeXterm256Foreground");function De(Se,$e){return N("xterm256Background",$e),""}B(De,"removeXterm256Background");function ye(Se){return P.newline?N("display",-1):N("text",Se),""}B(ye,"newline");function de(Se,$e){le=!0,$e.trim().length===0&&($e="0"),$e=$e.trimRight(";").split(";");var tt=i($e),Ut;try{for(tt.s();!(Ut=tt.n()).done;){var $i=Ut.value;N("display",$i)}}catch(Ui){tt.e(Ui)}finally{tt.f()}return""}B(de,"ansiMess");function Ee(Se){return N("text",Se),""}B(Ee,"realText");function qe(Se){return N("rgb",Se),""}B(qe,"rgb");var Le=[{pattern:/^\x08+/,sub:Re},{pattern:/^\x1b\[[012]?K/,sub:Re},{pattern:/^\x1b\[\(B/,sub:Re},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:qe},{pattern:/^\x1b\[38;5;(\d+)m/,sub:Ne},{pattern:/^\x1b\[48;5;(\d+)m/,sub:De},{pattern:/^\n/,sub:ye},{pattern:/^\r+\n/,sub:ye},{pattern:/^\r/,sub:ye},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:de},{pattern:/^\x1b\[\d?J/,sub:Re},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:Re},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:Re},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:Ee}];function Fe(Se,$e){$e>ce&&le||(le=!1,_=_.replace(Se.pattern,Se.sub))}B(Fe,"process");var Ge=[],dt=_,Q=dt.length;e:for(;Q>0;){for(var ke=0,ze=0,et=Le.length;ze<et;ke=++ze){var J=Le[ke];if(Fe(J,ke),_.length!==Q){Q=_.length;continue e}}if(_.length===Q)break;Ge.push(0),Q=_.length}return Ge}B(X,"tokenize");function Y(_,P,N){return P!=="text"&&(_=_.filter(O(A(N))),_.push({token:P,data:N,category:A(N)})),_}B(Y,"updateStickyStack");var K=function(){function _(P){r(this,_),P=P||{},P.colors&&(P.colors=Object.assign({},c.colors,P.colors)),this.options=Object.assign({},c,P),this.stack=[],this.stickyStack=[]}return B(_,"Filter"),o(_,[{key:"toHtml",value:B(function(P){var N=this;P=typeof P=="string"?[P]:P;var le=this.stack,ce=this.options,Re=[];return this.stickyStack.forEach(function(Ne){var De=y(le,Ne.token,Ne.data,ce);De&&Re.push(De)}),X(P.join(""),ce,function(Ne,De){var ye=y(le,Ne,De,ce);ye&&Re.push(ye),ce.stream&&(N.stickyStack=Y(N.stickyStack,Ne,De))}),le.length&&Re.push(g(le)),Re.join("")},"toHtml")}]),_}();t.exports=K}),zt=(()=>{let e;return typeof window<"u"?e=window:typeof globalThis<"u"?e=globalThis:typeof global<"u"?e=global:typeof self<"u"?e=self:e={},e})();function $1(){let e={setHandler:B(()=>{},"setHandler"),send:B(()=>{},"send")};return new Pl({transport:e})}B($1,"mockChannel");var U1=class{constructor(){this.getChannel=B(()=>{if(!this.channel){let t=$1();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=B(()=>this.promise,"ready"),this.hasChannel=B(()=>!!this.channel,"hasChannel"),this.setChannel=B(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};B(U1,"AddonStore");var s3=U1,Th="__STORYBOOK_ADDONS_PREVIEW";function H1(){return zt[Th]||(zt[Th]=new s3),zt[Th]}B(H1,"getAddonsStore");var Ro=H1(),z1=class{constructor(){this.hookListsMap=void 0,this.mountedDecorators=void 0,this.prevMountedDecorators=void 0,this.currentHooks=void 0,this.nextHookIndex=void 0,this.currentPhase=void 0,this.currentEffects=void 0,this.prevEffects=void 0,this.currentDecoratorName=void 0,this.hasUpdates=void 0,this.currentContext=void 0,this.renderListener=B(t=>{t===this.currentContext?.id&&(this.triggerEffects(),this.currentContext=null,this.removeRenderListeners())},"renderListener"),this.init()}init(){this.hookListsMap=new WeakMap,this.mountedDecorators=new Set,this.prevMountedDecorators=new Set,this.currentHooks=[],this.nextHookIndex=0,this.currentPhase="NONE",this.currentEffects=[],this.prevEffects=[],this.currentDecoratorName=null,this.hasUpdates=!1,this.currentContext=null}clean(){this.prevEffects.forEach(t=>{t.destroy&&t.destroy()}),this.init(),this.removeRenderListeners()}getNextHook(){let t=this.currentHooks[this.nextHookIndex];return this.nextHookIndex+=1,t}triggerEffects(){this.prevEffects.forEach(t=>{!this.currentEffects.includes(t)&&t.destroy&&t.destroy()}),this.currentEffects.forEach(t=>{this.prevEffects.includes(t)||(t.destroy=t.create())}),this.prevEffects=this.currentEffects,this.currentEffects=[]}addRenderListeners(){this.removeRenderListeners(),Ro.getChannel().on(ra,this.renderListener)}removeRenderListeners(){Ro.getChannel().removeListener(ra,this.renderListener)}};B(z1,"HooksContext");var V1=z1;function Mh(e){let t=B((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],o=n.currentPhase,i=n.currentHooks,s=n.nextHookIndex,l=n.currentDecoratorName;n.currentDecoratorName=e.name,n.prevMountedDecorators.has(e)?(n.currentPhase="UPDATE",n.currentHooks=n.hookListsMap.get(e)||[]):(n.currentPhase="MOUNT",n.currentHooks=[],n.hookListsMap.set(e,n.currentHooks),n.prevMountedDecorators.add(e)),n.nextHookIndex=0;let u=zt.STORYBOOK_HOOKS_CONTEXT;zt.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(zt.STORYBOOK_HOOKS_CONTEXT=u,n.currentPhase==="UPDATE"&&n.getNextHook()!=null)throw new Error("Rendered fewer hooks than expected. This may be caused by an accidental early return statement.");return n.currentPhase=o,n.currentHooks=i,n.nextHookIndex=s,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}B(Mh,"hookify");var xh=0,l3=25,u3=B(e=>(t,r)=>{let n=e(Mh(t),r.map(o=>Mh(o)));return o=>{let{hooks:i}=o;i.prevMountedDecorators??(i.prevMountedDecorators=new Set),i.mountedDecorators=new Set([t,...r]),i.currentContext=o,i.hasUpdates=!1;let s=n(o);for(xh=1;i.hasUpdates;)if(i.hasUpdates=!1,i.currentEffects=[],s=n(o),xh+=1,xh>l3)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return i.addRenderListeners(),s}},"applyHooks"),c3=B((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),Jh=B(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function Xh(){return zt.STORYBOOK_HOOKS_CONTEXT||null}B(Xh,"getHooksContextOrNull");function Hl(){let e=Xh();if(e==null)throw Jh();return e}B(Hl,"getHooksContextOrThrow");function G1(e,t,r){let n=Hl();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&ot.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let o={name:e,deps:r};return n.currentHooks.push(o),t(o),o}if(n.currentPhase==="UPDATE"){let o=n.getNextHook();if(o==null)throw new Error("Rendered more hooks than during the previous render.");return o.name!==e&&ot.warn(`Storybook has detected a change in the order of Hooks${n.currentDecoratorName?` called by ${n.currentDecoratorName}`:""}. This will lead to bugs and errors if not fixed.`),r!=null&&o.deps==null&&ot.warn(`${e} received a final argument during this render, but not during the previous render. Even though the final argument is optional, its type cannot change between renders.`),r!=null&&o.deps!=null&&r.length!==o.deps.length&&ot.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
585
|
-
Previous: ${o.deps}
|
|
586
|
-
Incoming: ${r}`),(r==null||o.deps==null||!c3(r,o.deps))&&(t(o),o.deps=r),o}throw Jh()}B(G1,"useHook");function es(e,t,r){let{memoizedState:n}=G1(e,o=>{o.memoizedState=t()},r);return n}B(es,"useMemoLike");function d3(e,t){return es("useMemo",e,t)}B(d3,"useMemo");function Qi(e,t){return es("useCallback",()=>e,t)}B(Qi,"useCallback");function Qh(e,t){return es(e,()=>({current:t}),[])}B(Qh,"useRefLike");function p3(e){return Qh("useRef",e)}B(p3,"useRef");function W1(){let e=Xh();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Ro.getChannel().emit(zi)}catch{ot.warn("State updates of Storybook preview hooks work only in browser")}}B(W1,"triggerUpdate");function Zh(e,t){let r=Qh(e,typeof t=="function"?t():t),n=B(o=>{r.current=typeof o=="function"?o(r.current):o,W1()},"setState");return[r.current,n]}B(Zh,"useStateLike");function f3(e){return Zh("useState",e)}B(f3,"useState");function h3(e,t,r){let n=r!=null?()=>r(t):t,[o,i]=Zh("useReducer",n);return[o,B(s=>i(l=>e(l,s)),"dispatch")]}B(h3,"useReducer");function Y1(e,t){let r=Hl(),n=es("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}B(Y1,"useEffect");function m3(e,t=[]){let r=Ro.getChannel();return Y1(()=>(Object.entries(e).forEach(([n,o])=>r.on(n,o)),()=>{Object.entries(e).forEach(([n,o])=>r.removeListener(n,o))}),[...Object.keys(e),...t]),Qi(r.emit.bind(r),[r])}B(m3,"useChannel");function zl(){let{currentContext:e}=Hl();if(e==null)throw Jh();return e}B(zl,"useStoryContext");function y3(e,t){let{parameters:r}=zl();if(e)return r[e]??t}B(y3,"useParameter");function g3(){let e=Ro.getChannel(),{id:t,args:r}=zl(),n=Qi(i=>e.emit(Wi,{storyId:t,updatedArgs:i}),[e,t]),o=Qi(i=>e.emit(Vi,{storyId:t,argNames:i}),[e,t]);return[r,n,o]}B(g3,"useArgs");function b3(){let e=Ro.getChannel(),{globals:t}=zl(),r=Qi(n=>e.emit(Gi,{globals:n}),[e]);return[t,r]}B(b3,"useGlobals");function K1(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[i,s]=n[o];t(s,i)||(r[i]=s)}return r}B(K1,"omitBy");function J1(e,t){let r={};for(let n=0;n<t.length;n++){let o=t[n];Object.prototype.hasOwnProperty.call(e,o)&&(r[o]=e[o])}return r}B(J1,"pick");function X1(e,t){let r={},n=Object.entries(e);for(let o=0;o<n.length;o++){let[i,s]=n[o];t(s,i)&&(r[i]=s)}return r}B(X1,"pickBy");function Nr(e){if(typeof e!="object"||e==null)return!1;if(Object.getPrototypeOf(e)===null)return!0;if(e.toString()!=="[object Object]")return!1;let t=e;for(;Object.getPrototypeOf(t)!==null;)t=Object.getPrototypeOf(t);return Object.getPrototypeOf(e)===t}B(Nr,"isPlainObject");function To(e,t){let r={},n=Object.keys(e);for(let o=0;o<n.length;o++){let i=n[o],s=e[i];r[i]=t(s,i,e)}return r}B(To,"mapValues");var v3="[object RegExp]",E3="[object String]",w3="[object Number]",_3="[object Boolean]",A1="[object Arguments]",S3="[object Symbol]",A3="[object Date]",C3="[object Map]",R3="[object Set]",T3="[object Array]",x3="[object Function]",q3="[object ArrayBuffer]",qh="[object Object]",O3="[object Error]",P3="[object DataView]",D3="[object Uint8Array]",I3="[object Uint8ClampedArray]",M3="[object Uint16Array]",N3="[object Uint32Array]",B3="[object BigUint64Array]",j3="[object Int8Array]",F3="[object Int16Array]",k3="[object Int32Array]",L3="[object BigInt64Array]",$3="[object Float32Array]",U3="[object Float64Array]";function Nh(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}B(Nh,"getSymbols");function Bh(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}B(Bh,"getTag");function Q1(e,t){if(typeof e==typeof t)switch(typeof e){case"bigint":case"string":case"boolean":case"symbol":case"undefined":return e===t;case"number":return e===t||Object.is(e,t);case"function":return e===t;case"object":return Kr(e,t)}return Kr(e,t)}B(Q1,"isEqual");function Kr(e,t,r){if(Object.is(e,t))return!0;let n=Bh(e),o=Bh(t);if(n===A1&&(n=qh),o===A1&&(o=qh),n!==o)return!1;switch(n){case E3:return e.toString()===t.toString();case w3:{let l=e.valueOf(),u=t.valueOf();return l===u||Number.isNaN(l)&&Number.isNaN(u)}case _3:case A3:case S3:return Object.is(e.valueOf(),t.valueOf());case v3:return e.source===t.source&&e.flags===t.flags;case x3:return e===t}r=r??new Map;let i=r.get(e),s=r.get(t);if(i!=null&&s!=null)return i===t;r.set(e,t),r.set(t,e);try{switch(n){case C3:{if(e.size!==t.size)return!1;for(let[l,u]of e.entries())if(!t.has(l)||!Kr(u,t.get(l),r))return!1;return!0}case R3:{if(e.size!==t.size)return!1;let l=Array.from(e.values()),u=Array.from(t.values());for(let c=0;c<l.length;c++){let d=l[c],p=u.findIndex(h=>Kr(d,h,r));if(p===-1)return!1;u.splice(p,1)}return!0}case T3:case D3:case I3:case M3:case N3:case B3:case j3:case F3:case k3:case L3:case $3:case U3:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let l=0;l<e.length;l++)if(!Kr(e[l],t[l],r))return!1;return!0}case q3:return e.byteLength!==t.byteLength?!1:Kr(new Uint8Array(e),new Uint8Array(t),r);case P3:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:Kr(e.buffer,t.buffer,r);case O3:return e.name===t.name&&e.message===t.message;case qh:{if(!(Kr(e.constructor,t.constructor,r)||Nr(e)&&Nr(t)))return!1;let l=[...Object.keys(e),...Nh(e)],u=[...Object.keys(t),...Nh(t)];if(l.length!==u.length)return!1;for(let c=0;c<l.length;c++){let d=l[c],p=e[d];if(!Object.prototype.hasOwnProperty.call(t,d))return!1;let h=t[d];if(!Kr(p,h,r))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}B(Kr,"areObjectsEqual");var Oh=sa(B1(),1);function Jr(e){for(var t=[],r=1;r<arguments.length;r++)t[r-1]=arguments[r];var n=Array.from(typeof e=="string"?[e]:e);n[n.length-1]=n[n.length-1].replace(/\r?\n([\t ]*)$/,"");var o=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(d){var p,h;return(h=(p=d.match(/[\t ]/g))===null||p===void 0?void 0:p.length)!==null&&h!==void 0?h:0})):l},[]);if(o.length){var i=new RegExp(`
|
|
587
|
-
[ ]{`+Math.min.apply(Math,o)+"}","g");n=n.map(function(l){return l.replace(i,`
|
|
588
|
-
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,u){var c=s.match(/(?:^|\n)( *)$/),d=c?c[1]:"",p=l;typeof l=="string"&&l.includes(`
|
|
589
|
-
`)&&(p=String(l).split(`
|
|
590
|
-
`).map(function(h,m){return m===0?h:""+d+h}).join(`
|
|
591
|
-
`)),s+=p+n[u+1]}),s}B(Jr,"dedent");var oa=Symbol("incompatible"),jh=B((e,t)=>{let r=t.type;if(e==null||!r||t.mapping)return e;switch(r.name){case"string":return String(e);case"enum":return e;case"number":return Number(e);case"boolean":return String(e)==="true";case"array":return!r.value||!Array.isArray(e)?oa:e.reduce((n,o,i)=>{let s=jh(o,{type:r.value});return s!==oa&&(n[i]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?oa:Object.entries(e).reduce((n,[o,i])=>{let s=jh(i,{type:r.value[o]});return s===oa?n:Object.assign(n,{[o]:s})},{});default:return oa}},"map"),H3=B((e,t)=>Object.entries(e).reduce((r,[n,o])=>{if(!t[n])return r;let i=jh(o,t[n]);return i===oa?r:Object.assign(r,{[n]:i})},{}),"mapArgsToTypes"),Fh=B((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,o)=>(r[o]=Fh(e[o],t[o]),r),[...e]).filter(r=>r!==void 0):!Nr(e)||!Nr(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let o=Fh(e[n],t[n]);o!==void 0&&(r[n]=o)}else r[n]=e[n];return r},{}),"combineArgs"),z3=B((e,t)=>Object.entries(t).reduce((r,[n,{options:o}])=>{function i(){return n in e&&(r[n]=e[n]),r}if(B(i,"allowArg"),!o)return i();if(!Array.isArray(o))return Mt.error(Jr`
|
|
592
|
-
Invalid argType: '${n}.options' should be an array.
|
|
593
|
-
|
|
594
|
-
More info: https://storybook.js.org/docs/api/arg-types
|
|
595
|
-
`),i();if(o.some(p=>p&&["object","function"].includes(typeof p)))return Mt.error(Jr`
|
|
596
|
-
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
597
|
-
|
|
598
|
-
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
599
|
-
`),i();let s=Array.isArray(e[n]),l=s&&e[n].findIndex(p=>!o.includes(p)),u=s&&l===-1;if(e[n]===void 0||o.includes(e[n])||u)return i();let c=s?`${n}[${l}]`:n,d=o.map(p=>typeof p=="string"?`'${p}'`:String(p)).join(", ");return Mt.warn(`Received illegal value for '${c}'. Supported options: ${d}`),r},{}),"validateOptions"),Ji=Symbol("Deeply equal"),Ll=B((e,t)=>{if(typeof e!=typeof t)return t;if(Q1(e,t))return Ji;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,o,i)=>{let s=Ll(e[i],o);return s!==Ji&&(n[i]=s),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Nr(e)&&Nr(t)?Object.keys({...e,...t}).reduce((r,n)=>{let o=Ll(e?.[n],t?.[n]);return o===Ji?r:Object.assign(r,{[n]:o})},{}):t},"deepDiff"),Z1="UNTARGETED";function e2({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,o])=>{let{target:i=Z1}=t[n]||{};r[i]=r[i]||{},r[i][n]=o}),r}B(e2,"groupArgsByTarget");function t2(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}B(t2,"deleteUndefined");var r2=class{constructor(){this.initialArgsByStoryId={},this.argsByStoryId={}}get(t){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);return this.argsByStoryId[t]}setInitial(t){if(!this.initialArgsByStoryId[t.id])this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs;else if(this.initialArgsByStoryId[t.id]!==t.initialArgs){let r=Ll(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==Ji&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=z3(r,t.argTypes);this.argsByStoryId[t.id]=Fh(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=H3(r,t.argTypes);return this.updateFromDelta(t,n)}update(t,r){if(!(t in this.argsByStoryId))throw new Error(`No args known for ${t} -- has it been rendered yet?`);this.argsByStoryId[t]=t2({...this.argsByStoryId[t],...r})}};B(r2,"ArgsStore");var V3=r2,n2=B((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),o2=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Ll(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let o=n2(r);this.initialGlobals={...o,...t},this.globals=this.initialGlobals,n&&n!==Ji&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,o])=>(this.allowedGlobalNames.has(n)?r[n]=o:ot.warn(`Attempted to set a global (${n}) that is not defined in initial globals or globalTypes`),r),{})}updateFromPersisted(t){let r=this.filterAllowedGlobals(t);this.globals={...this.globals,...r}}get(){return this.globals}update(t){this.globals={...this.globals,...this.filterAllowedGlobals(t)}}};B(o2,"GlobalsStore");var G3=o2,W3=sa(B1(),1),Y3=(0,W3.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),a2=class{constructor({entries:t}={v:5,entries:{}}){this.entries=t}entryFromSpecifier(t){let r=Object.values(this.entries);if(t==="*")return r[0];if(typeof t=="string")return this.entries[t]?this.entries[t]:r.find(i=>i.id.startsWith(t));let{name:n,title:o}=t;return r.find(i=>i.name===n&&i.title===o)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new zE({storyId:t});return r}importPathToEntry(t){return Y3(this.entries)[t]}};B(a2,"StoryIndexStore");var K3=a2,J3=B(e=>typeof e=="string"?{name:e}:e,"normalizeType"),X3=B(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),Q3=B((e,t)=>{let{type:r,control:n,...o}=e,i={name:t,...o};return r&&(i.type=J3(r)),n?i.control=X3(n):n===!1&&(i.control={disable:!0}),i},"normalizeInputType"),$l=B(e=>To(e,Q3),"normalizeInputTypes"),Ft=B(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),Z3=Jr`
|
|
600
|
-
CSF .story annotations deprecated; annotate story functions directly:
|
|
601
|
-
- StoryFn.story.name => StoryFn.storyName
|
|
602
|
-
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
603
|
-
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
604
|
-
`;function em(e,t,r){let n=t,o=typeof t=="function"?t:null,{story:i}=n;i&&(ot.debug("deprecated story",i),dn(Z3));let s=E1(e),l=typeof n!="function"&&n.name||n.storyName||i?.name||s,u=[...Ft(n.decorators),...Ft(i?.decorators)],c={...i?.parameters,...n.parameters},d={...i?.args,...n.args},p={...i?.argTypes,...n.argTypes},h=[...Ft(n.loaders),...Ft(i?.loaders)],m=[...Ft(n.beforeEach),...Ft(i?.beforeEach)],{render:y,play:b,tags:E=[],globals:g={}}=n,w=c.__id||v1(r.id,s);return{moduleExport:t,id:w,name:l,tags:E,decorators:u,parameters:c,args:d,argTypes:$l(p),loaders:h,beforeEach:m,globals:g,...y&&{render:y},...o&&{userStoryFn:o},...b&&{play:b}}}B(em,"normalizeStory");function tm(e,t=e.title,r){let{id:n,argTypes:o}=e;return{id:Rh(n||t),...e,title:t,...o&&{argTypes:$l(o)},parameters:{fileName:r,...e.parameters}}}B(tm,"normalizeComponentAnnotations");var e4=B(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&ot.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),t4=B(e=>{let{options:t}=e;t?.storySort&&ot.error("The storySort option parameter can only be set globally")},"checkStorySort"),C1=B(e=>{e&&(e4(e),t4(e))},"checkDisallowedParameters");function i2(e,t,r){let{default:n,__namedExportsOrder:o,...i}=e,s=tm(n,r,t);C1(s.parameters);let l={meta:s,stories:{},moduleExports:e};return Object.keys(i).forEach(u=>{if(Bl(u,s)){let c=em(u,i[u],s);C1(c.parameters),l.stories[c.id]=c}}),l}B(i2,"processCSFFile");function s2(e){return e!=null&&l2(e).includes("mount")}B(s2,"mountDestructured");function l2(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=kh(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?kh(n.slice(1,-1).replace(/\s/g,"")).map(o=>o.replace(/:.*|=.*/g,"")):[]}B(l2,"getUsedProps");function kh(e){let t=[],r=[],n=0;for(let i=0;i<e.length;i++)if(e[i]==="{"||e[i]==="[")r.push(e[i]==="{"?"}":"]");else if(e[i]===r[r.length-1])r.pop();else if(!r.length&&e[i]===","){let s=e.substring(n,i).trim();s&&t.push(s),n=i+1}let o=e.substring(n).trim();return o&&t.push(o),t}B(kh,"splitByComma");function u2(e,t,r){let n=r(e);return o=>t(n,o)}B(u2,"decorateStory");function c2({componentId:e,title:t,kind:r,id:n,name:o,story:i,parameters:s,initialArgs:l,argTypes:u,...c}={}){return c}B(c2,"sanitizeStoryContextUpdate");function d2(e,t){let r={},n=B(i=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...c2(s)},i(r.value)},"bindWithContext"),o=t.reduce((i,s)=>u2(i,s,n),e);return i=>(r.value=i,o(i))}B(d2,"defaultDecorateStory");var xo=B((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((o,i)=>(Object.entries(i).forEach(([s,l])=>{let u=o[s];Array.isArray(l)||typeof u>"u"?o[s]=l:Nr(l)&&Nr(u)?t[s]=!0:typeof l<"u"&&(o[s]=l)}),o),{});return Object.keys(t).forEach(o=>{let i=r.filter(Boolean).map(s=>s[o]).filter(s=>typeof s<"u");i.every(s=>Nr(s))?n[o]=xo(...i):n[o]=i[i.length-1]}),n},"combineParameters");function rm(e,t,r){let{moduleExport:n,id:o,name:i}=e||{},s=nm(e,t,r),l=B(async S=>{let T={};for(let C of[..."__STORYBOOK_TEST_LOADERS__"in zt&&Array.isArray(zt.__STORYBOOK_TEST_LOADERS__)?[zt.__STORYBOOK_TEST_LOADERS__]:[],Ft(r.loaders),Ft(t.loaders),Ft(e.loaders)]){if(S.abortSignal.aborted)return T;let x=await Promise.all(C.map(I=>I(S)));Object.assign(T,...x)}return T},"applyLoaders"),u=B(async S=>{let T=new Array;for(let C of[...Ft(r.beforeEach),...Ft(t.beforeEach),...Ft(e.beforeEach)]){if(S.abortSignal.aborted)return T;let x=await C(S);x&&T.push(x)}return T},"applyBeforeEach"),c=B(S=>S.originalStoryFn(S.args,S),"undecoratedStoryFn"),{applyDecorators:d=d2,runStep:p}=r,h=[...Ft(e?.decorators),...Ft(t?.decorators),...Ft(r?.decorators)],m=e?.userStoryFn||e?.render||t.render||r.render,y=u3(d)(c,h),b=B(S=>y(S),"unboundStoryFn"),E=e?.play??t?.play,g=s2(E);if(!m&&!g)throw new c1({id:o});let w=B(S=>async()=>(await S.renderToCanvas(),S.canvas),"defaultMount"),O=e.mount??t.mount??r.mount??w,A=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:o,name:i,story:i,originalStoryFn:m,undecoratedStoryFn:c,unboundStoryFn:b,applyLoaders:l,applyBeforeEach:u,playFunction:E,runStep:p,mount:O,testingLibraryRender:A,renderToCanvas:r.renderToCanvas,usesMount:g}}B(rm,"prepareStory");function p2(e,t,r){return{...nm(void 0,e,t),moduleExport:r}}B(p2,"prepareMeta");function nm(e,t,r){let n=["dev","test"],o=zt.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],i=w1(...n,...o,...r.tags??[],...t.tags??[],...e?.tags??[]),s=xo(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=xo(r.argTypes,t.argTypes,e?.argTypes);if(e){let g=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=g&&g.length>0}let d={...r.args,...t.args,...e?.args},p={...t.globals,...e?.globals},h={componentId:t.id,title:t.title,kind:t.title,id:e?.id||t.id,name:e?.name||"__meta",story:e?.name||"__meta",component:t.component,subcomponents:t.subcomponents,tags:i,parameters:s,initialArgs:d,argTypes:c,storyGlobals:p};h.argTypes=l.reduce((g,w)=>w({...h,argTypes:g}),h.argTypes);let m={...d};h.initialArgs=u.reduce((g,w)=>({...g,...w({...h,initialArgs:g})}),m);let{name:y,story:b,...E}=h;return E}B(nm,"preparePartialAnnotations");function om(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(zt.FEATURES?.argTypeTargetsV7){let i=e2(e);r={...e,allArgs:e.args,argsByTarget:i,args:i[Z1]||{}}}let n=Object.entries(r.args).reduce((i,[s,l])=>{if(!r.argTypes[s]?.mapping)return i[s]=l,i;let u=B(c=>{let d=r.argTypes[s].mapping;return d&&c in d?d[c]:c},"mappingFn");return i[s]=Array.isArray(l)?l.map(u):u(l),i},{}),o=Object.entries(n).reduce((i,[s,l])=>{let u=r.argTypes[s]||{};return b1(u,n,r.globals)&&(i[s]=l),i},{});return{...r,unmappedArgs:t,args:o}}B(om,"prepareContext");var Lh=B((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n};default:break}return e?r.has(e)?(ot.warn(Jr`
|
|
605
|
-
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
606
|
-
|
|
607
|
-
Consider using the mapping feature or fully custom args:
|
|
608
|
-
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
609
|
-
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
610
|
-
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?Lh(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:To(e,o=>Lh(o,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),f2=B(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,o=To(n,(s,l)=>({name:l,type:Lh(s,`${t}.${l}`,new Set)})),i=To(r,(s,l)=>({name:l}));return xo(o,i,r)},"inferArgTypes");f2.secondPass=!0;var R1=B((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),r4=B((e,t,r)=>!t&&!r?e:e&&X1(e,(n,o)=>{let i=n.name||o.toString();return!!(!t||R1(i,t))&&(!r||!R1(i,r))}),"filterArgTypes"),n4=B((e,t,r)=>{let{type:n,options:o}=e;if(n){if(r.color&&r.color.test(t)){let i=n.name;if(i==="string")return{control:{type:"color"}};i!=="enum"&&ot.warn(`Addon controls: Control of type color only supports string, received "${i}" instead`)}if(r.date&&r.date.test(t))return{control:{type:"date"}};switch(n.name){case"array":return{control:{type:"object"}};case"boolean":return{control:{type:"boolean"}};case"string":return{control:{type:"text"}};case"number":return{control:{type:"number"}};case"enum":{let{value:i}=n;return{control:{type:i?.length<=5?"radio":"select"},options:i}}case"function":case"symbol":return null;default:return{control:{type:o?"select":"object"}}}}},"inferControl"),h2=B(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:o=null,matchers:i={}}={}}}=e;if(!r)return t;let s=r4(t,n,o),l=To(s,(u,c)=>u?.type&&n4(u,c.toString(),i));return xo(l,s)},"inferControls");h2.secondPass=!0;function Ul({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:o,beforeEach:i,globals:s,initialGlobals:l,...u}){return s&&Object.keys(s).length>0&&dn(Jr`
|
|
611
|
-
The preview.js 'globals' field is deprecated and will be removed in Storybook 9.0.
|
|
612
|
-
Please use 'initialGlobals' instead. Learn more:
|
|
613
|
-
|
|
614
|
-
https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#previewjs-globals-renamed-to-initialglobals
|
|
615
|
-
`),{...e&&{argTypes:$l(e)},...t&&{globalTypes:$l(t)},decorators:Ft(n),loaders:Ft(o),beforeEach:Ft(i),argTypesEnhancers:[...r||[],f2,h2],initialGlobals:xo(l,s),...u}}B(Ul,"normalizeProjectAnnotations");var o4=B(e=>async()=>{let t=[];for(let r of e){let n=await r();n&&t.unshift(n)}return async()=>{for(let r of t)await r()}},"composeBeforeAllHooks");function m2(e){return async(t,r,n)=>{await e.reduceRight((o,i)=>async()=>i(t,o,n),async()=>r(n))()}}B(m2,"composeStepRunners");function ia(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}B(ia,"getField");function On(e,t,r={}){return ia(e,t).reduce((n,o)=>{let i=Ft(o);return r.reverseFileOrder?[...i,...n]:[...n,...i]},[])}B(On,"getArrayField");function aa(e,t){return Object.assign({},...ia(e,t))}B(aa,"getObjectField");function Ao(e,t){return ia(e,t).pop()}B(Ao,"getSingletonField");function Zi(e){let t=On(e,"argTypesEnhancers"),r=ia(e,"runStep"),n=On(e,"beforeAll");return{parameters:xo(...ia(e,"parameters")),decorators:On(e,"decorators",{reverseFileOrder:!(zt.FEATURES?.legacyDecoratorFileOrder??!1)}),args:aa(e,"args"),argsEnhancers:On(e,"argsEnhancers"),argTypes:aa(e,"argTypes"),argTypesEnhancers:[...t.filter(o=>!o.secondPass),...t.filter(o=>o.secondPass)],globals:aa(e,"globals"),initialGlobals:aa(e,"initialGlobals"),globalTypes:aa(e,"globalTypes"),loaders:On(e,"loaders"),beforeAll:o4(n),beforeEach:On(e,"beforeEach"),render:Ao(e,"render"),renderToCanvas:Ao(e,"renderToCanvas"),renderToDOM:Ao(e,"renderToDOM"),applyDecorators:Ao(e,"applyDecorators"),runStep:m2(r),tags:On(e,"tags"),mount:Ao(e,"mount"),testingLibraryRender:Ao(e,"testingLibraryRender")}}B(Zi,"composeConfigs");function a4(e){globalThis.defaultProjectAnnotations=e}B(a4,"setDefaultProjectAnnotations");var i4="ComposedStory",s4="Unnamed Story";function y2(e){return e?Zi([e]):{}}B(y2,"extractAnnotation");function l4(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=Zi(t.map(y2)),Zi([globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{}])}B(l4,"setProjectAnnotations");var Pn=[];function ts(e,t,r,n,o){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??i4;let i=tm(t),s=o||e.storyName||e.story?.name||e.name||s4,l=em(s,e,i),u=Ul(Zi([n&&Object.keys(n).length>0?n:globalThis.defaultProjectAnnotations??{},globalThis.globalProjectAnnotations??{},r??{}])),c=rm(l,i,u),d={...n2(u.globalTypes),...u.initialGlobals,...c.storyGlobals},p=B(()=>{let E=om({hooks:new V1,globals:d,args:{...c.initialArgs},viewMode:"story",loaded:{},abortSignal:new AbortController().signal,step:B((g,w)=>c.runStep(g,w,E),"step"),canvasElement:null,canvas:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return E.context=E,c.renderToCanvas&&(E.renderToCanvas=async()=>{let g=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:B(()=>{},"showMain"),showError:B(w=>{throw new Error(`${w.title}
|
|
616
|
-
${w.description}`)},"showError"),showException:B(w=>{throw w},"showException"),forceRemount:!0,storyContext:E,storyFn:B(()=>c.unboundStoryFn(E),"storyFn"),unboundStoryFn:c.unboundStoryFn},E.canvasElement);g&&Pn.push(g)}),E.mount=c.mount(E),E},"initializeContext"),h,m=B(async E=>{let g=p();return g.canvasElement??(g.canvasElement=globalThis?.document?.body),h&&(g.loaded=h.loaded),Object.assign(g,E),c.playFunction(g)},"play"),y=B(E=>{let g=p();return Object.assign(g,E),g2(c,g)},"run"),b=c.playFunction?m:void 0;return Object.assign(B(function(E){let g=p();return h&&(g.loaded=h.loaded),g.args={...g.initialArgs,...E},c.unboundStoryFn(g)},"storyFn"),{id:c.id,storyName:s,load:B(async()=>{for(let g of[...Pn].reverse())await g();Pn.length=0;let E=p();E.loaded=await c.applyLoaders(E),Pn.push(...(await c.applyBeforeEach(E)).filter(Boolean)),h=E},"load"),globals:d,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:b,run:y,tags:c.tags})}B(ts,"composeStory");var u4=B((e,t,r,n)=>ts(e,t,r,{},n),"defaultComposeStory");function c4(e,t,r=u4){let{default:n,__esModule:o,__namedExportsOrder:i,...s}=e;return Object.entries(s).reduce((l,[u,c])=>Bl(u,n)?Object.assign(l,{[u]:r(c,n,t,u)}):l,{})}B(c4,"composeStories");function d4(e){return e.extend({mount:B(async({mount:t,page:r},n)=>{await n(async(o,...i)=>{if(!("__pw_type"in o)||"__pw_type"in o&&o.__pw_type!=="jsx")throw new Error(Jr`
|
|
617
|
-
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
618
|
-
Please use JSX format for your components such as:
|
|
619
|
-
|
|
620
|
-
instead of:
|
|
621
|
-
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
622
|
-
|
|
623
|
-
do:
|
|
624
|
-
await mount(<MyComponent foo="bar"/>)
|
|
625
|
-
|
|
626
|
-
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
627
|
-
`);await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l);return("__pw_type"in u?u.type:u)?.load?.()},o);let s=await t(o,...i);return await r.evaluate(async l=>{let u=await globalThis.__pwUnwrapObject?.(l),c="__pw_type"in u?u.type:u,d=document.querySelector("#root");return c?.play?.({canvasElement:d})},o),s})},"mount")})}B(d4,"createPlaywrightTest");async function g2(e,t){for(let o of[...Pn].reverse())await o();if(Pn.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,Pn.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;Pn.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;n||await t.mount(),!t.abortSignal.aborted&&r&&(n||(t.mount=async()=>{throw new Nl({playFunction:r.toString()})}),await r(t))}B(g2,"runStory");function $h(e,t){return K1(J1(e,t),r=>r===void 0)}B($h,"picky");var T1=1e3,p4=1e4,b2=class{constructor(t,r,n){this.importFn=r,this.getStoriesJsonData=B(()=>{let s=this.getSetStoriesPayload(),l=["fileName","docsOnly","framework","__id","__isArgsStory"];return{v:3,stories:To(s.stories,u=>{let{importPath:c}=this.storyIndex.entries[u.id];return{...$h(u,["id","name","title"]),importPath:c,kind:u.title,story:u.name,parameters:{...$h(u.parameters,l),fileName:c}}})}},"getStoriesJsonData"),this.storyIndex=new K3(t),this.projectAnnotations=Ul(n);let{initialGlobals:o,globalTypes:i}=this.projectAnnotations;this.args=new V3,this.userGlobals=new G3({globals:o,globalTypes:i}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Oh.default)(T1)(i2),this.prepareMetaWithCache=(0,Oh.default)(T1)(p2),this.prepareStoryWithCache=(0,Oh.default)(p4)(rm)}setProjectAnnotations(t){this.projectAnnotations=Ul(t);let{initialGlobals:r,globalTypes:n}=t;this.userGlobals.set({globals:r,globalTypes:n})}async onStoriesChanged({importFn:t,storyIndex:r}){t&&(this.importFn=t),r&&(this.storyIndex.entries=r.entries),this.cachedCSFFiles&&await this.cacheAllCSFFiles()}async storyIdToEntry(t){return this.storyIndex.storyIdToEntry(t)}async loadCSFFileByStoryId(t){let{importPath:r,title:n}=this.storyIndex.storyIdToEntry(t),o=await this.importFn(r);return this.processCSFFileWithCache(o,r,n)}async loadAllCSFFiles(){let t={};return Object.entries(this.storyIndex.entries).forEach(([r,{importPath:n}])=>{t[n]=r}),(await Promise.all(Object.entries(t).map(async([r,n])=>({importPath:r,csfFile:await this.loadCSFFileByStoryId(n)})))).reduce((r,{importPath:n,csfFile:o})=>(r[n]=o,r),{})}async cacheAllCSFFiles(){this.cachedCSFFiles=await this.loadAllCSFFiles()}preparedMetaFromCSFFile({csfFile:t}){let r=t.meta;return this.prepareMetaWithCache(r,this.projectAnnotations,t.moduleExports.default)}async loadStory({storyId:t}){let r=await this.loadCSFFileByStoryId(t);return this.storyFromCSFFile({storyId:t,csfFile:r})}storyFromCSFFile({storyId:t,csfFile:r}){let n=r.stories[t];if(!n)throw new a1({storyId:t});let o=r.meta,i=this.prepareStoryWithCache(n,o,this.projectAnnotations);return this.args.setInitial(i),this.hooks[i.id]=this.hooks[i.id]||new V1,i}componentStoriesFromCSFFile({csfFile:t}){return Object.keys(this.storyIndex.entries).filter(r=>!!t.stories[r]).map(r=>this.storyFromCSFFile({storyId:r,csfFile:t}))}async loadEntry(t){let r=await this.storyIdToEntry(t),n=r.type==="docs"?r.storiesImports:[],[o,...i]=await Promise.all([this.importFn(r.importPath),...n.map(s=>{let l=this.storyIndex.importPathToEntry(s);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:o,csfFiles:i}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:o}=this.userGlobals;return om({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:o,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,r){this.cleanupCallbacks[t.id]=r}async cleanupStory(t){this.hooks[t.id].clean();let r=this.cleanupCallbacks[t.id];if(r)for(let n of[...r].reverse())await n();delete this.cleanupCallbacks[t.id]}extract(t={includeDocsOnly:!1}){let{cachedCSFFiles:r}=this;if(!r)throw new GE;return Object.entries(this.storyIndex.entries).reduce((n,[o,{type:i,importPath:s}])=>{if(i==="docs")return n;let l=r[s],u=this.storyFromCSFFile({storyId:o,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[o]=Object.entries(u).reduce((c,[d,p])=>d==="moduleExport"||typeof p=="function"?c:Array.isArray(p)?Object.assign(c,{[d]:p.slice().sort()}):Object.assign(c,{[d]:p}),{args:u.initialArgs})),n},{})}getSetStoriesPayload(){let t=this.extract({includeDocsOnly:!0}),r=Object.values(t).reduce((n,{title:o})=>(n[o]={},n),{});return{v:2,globals:this.userGlobals.get(),globalParameters:{},kindParameters:r,stories:t}}raw(){return dn("StoryStore.raw() is deprecated and will be removed in 9.0, please use extract() instead"),Object.values(this.extract()).map(({id:t})=>this.fromId(t)).filter(Boolean)}fromId(t){if(dn("StoryStore.fromId() is deprecated and will be removed in 9.0, please use loadStory() instead"),!this.cachedCSFFiles)throw new Error("Cannot call fromId/raw() unless you call cacheAllCSFFiles() first.");let r;try{({importPath:r}=this.storyIndex.storyIdToEntry(t))}catch{return null}let n=this.cachedCSFFiles[r],o=this.storyFromCSFFile({storyId:t,csfFile:n});return{...o,storyFn:B(i=>{let s={...this.getStoryContext(o),abortSignal:new AbortController().signal,canvasElement:null,loaded:{},step:B((l,u)=>o.runStep(l,u,s),"step"),context:null,mount:null,canvas:{},viewMode:"story"};return o.unboundStoryFn({...s,...i})},"storyFn")}}};B(b2,"StoryStore");var f4=b2;function h4(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}B(h4,"slash");function m4(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}B(m4,"pathJoin");var Vl=new Error("prepareAborted"),{AbortController:x1}=globalThis;function Uh(e){try{let{name:t="Error",message:r=String(e),stack:n}=e;return{name:t,message:r,stack:n}}catch{return{name:"Error",message:String(e)}}}B(Uh,"serializeError");var v2=class{constructor(t,r,n,o,i,s,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=o,this.id=i,this.viewMode=s,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=B(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new x1,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(Eo,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(Eo,{newPhase:this.phase,storyId:this.id}),!0):!1}async prepare(){if(await this.runPhase(this.abortController.signal,"preparing",async()=>{this.story=await this.store.loadStory({storyId:this.id})}),this.abortController.signal.aborted)throw await this.store.cleanupStory(this.story),Vl}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}isPreparing(){return["preparing"].includes(this.phase)}isPending(){return["loading","beforeEach","rendering","playing"].includes(this.phase)}async renderToElement(t){return this.canvasElement=t,this.render({initial:!0,forceRemount:!0})}storyContext(){if(!this.story)throw new Error("Cannot call storyContext before preparing");let{forceInitialArgs:t}=this.renderOptions;return this.store.getStoryContext(this.story,{forceInitialArgs:t})}async render({initial:t=!1,forceRemount:r=!1}={}){let{canvasElement:n}=this;if(!this.story)throw new Error("cannot render when not prepared");let o=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:i,componentId:s,title:l,name:u,tags:c,applyLoaders:d,applyBeforeEach:p,unboundStoryFn:h,playFunction:m,runStep:y}=o;r&&!t&&(this.cancelRender(),this.abortController=new x1);let b=this.abortController.signal,E=!1,g=o.usesMount;try{let w={...this.storyContext(),viewMode:this.viewMode,abortSignal:b,canvasElement:n,loaded:{},step:B((x,I)=>y(x,I,w),"step"),context:null,canvas:{},renderToCanvas:B(async()=>{let x=await this.renderToScreen(O,n);this.teardownRender=x||(()=>{}),E=!0},"renderToCanvas"),mount:B(async(...x)=>{this.callbacks.showStoryDuringRender?.();let I=null;return await this.runPhase(b,"rendering",async()=>{I=await o.mount(w)(...x)}),g&&await this.runPhase(b,"playing"),I},"mount")};w.context=w;let O={componentId:s,title:l,kind:l,id:i,name:u,story:u,tags:c,...this.callbacks,showError:B(x=>(this.phase="errored",this.callbacks.showError(x)),"showError"),showException:B(x=>(this.phase="errored",this.callbacks.showException(x)),"showException"),forceRemount:r||this.notYetRendered,storyContext:w,storyFn:B(()=>h(w),"storyFn"),unboundStoryFn:h};if(await this.runPhase(b,"loading",async()=>{w.loaded=await d(w)}),b.aborted)return;let A=await p(w);if(this.store.addCleanupCallbacks(o,A),this.checkIfAborted(b)||(!E&&!g&&await w.mount(),this.notYetRendered=!1,b.aborted))return;let S=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,T=new Set,C=B(x=>T.add("error"in x?x.error:x.reason),"onError");if(this.renderOptions.autoplay&&r&&m&&this.phase!=="errored"){window.addEventListener("error",C),window.addEventListener("unhandledrejection",C),this.disableKeyListeners=!0;try{if(g?await m(w):(w.mount=async()=>{throw new Nl({playFunction:m.toString()})},await this.runPhase(b,"playing",async()=>m(w))),!E)throw new p1;this.checkIfAborted(b),!S&&T.size>0?await this.runPhase(b,"errored"):await this.runPhase(b,"played")}catch(x){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(b,"errored",async()=>{this.channel.emit(Jf,Uh(x))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw x;console.error(x)}if(!S&&T.size>0&&this.channel.emit(Xf,Array.from(T).map(Uh)),this.disableKeyListeners=!1,window.removeEventListener("unhandledrejection",C),window.removeEventListener("error",C),b.aborted)return}await this.runPhase(b,"completed",async()=>this.channel.emit(ra,i))}catch(w){this.phase="errored",this.callbacks.showException(w)}this.rerenderEnqueued&&(this.rerenderEnqueued=!1,this.render())}async rerender(){if(this.isPending()&&this.phase!=="playing")this.rerenderEnqueued=!0;else return this.render()}async remount(){return await this.teardown(),this.render({forceRemount:!0})}cancelRender(){this.abortController?.abort()}async teardown(){this.torndown=!0,this.cancelRender(),this.story&&await this.store.cleanupStory(this.story);for(let t=0;t<3;t+=1){if(!this.isPending()){await this.teardownRender();return}await new Promise(r=>setTimeout(r,0))}window.location.reload(),await new Promise(()=>{})}};B(v2,"StoryRender");var Hh=v2,{fetch:y4}=zt,g4="./index.json",E2=class{constructor(t,r,n=Ro.getChannel(),o=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((i,s)=>{this.resolveStoreInitializationPromise=i,this.rejectStoreInitializationPromise=s}),o&&this.initialize()}get storyStore(){return new Proxy({},{get:B((t,r)=>{if(this.storyStoreValue)return dn("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new s1},"get")})}async initialize(){this.setupListeners();try{let t=await this.getProjectAnnotationsOrRenderError();await this.runBeforeAllHook(t),await this.initializeWithProjectAnnotations(t)}catch(t){this.rejectStoreInitializationPromise(t)}}ready(){return this.storeInitializationPromise}setupListeners(){this.channel.on(ah,this.onStoryIndexChanged.bind(this)),this.channel.on(Gi,this.onUpdateGlobals.bind(this)),this.channel.on(Wi,this.onUpdateArgs.bind(this)),this.channel.on(dh,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Vi,this.onResetArgs.bind(this)),this.channel.on(zi,this.onForceReRender.bind(this)),this.channel.on(Kf,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new YE;return t}catch(t){throw this.renderPreviewEntryError("Error reading preview.js:",t),t}}async initializeWithProjectAnnotations(t){this.projectAnnotationsBeforeInitialization=t;try{let r=await this.getStoryIndexFromServer();return this.initializeWithStoryIndex(r)}catch(r){throw this.renderPreviewEntryError("Error loading story index:",r),r}}async runBeforeAllHook(t){try{await this.beforeAllCleanup?.(),this.beforeAllCleanup=await t.beforeAll?.()}catch(r){throw this.renderPreviewEntryError("Error in beforeAll hook:",r),r}}async getStoryIndexFromServer(){let t=await y4(g4);if(t.status===200)return t.json();throw new XE({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new f4(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new hr({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(th,t)}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){delete this.previewEntryError,this.getProjectAnnotations=t;let r=await this.getProjectAnnotationsOrRenderError();if(await this.runBeforeAllHook(r),!this.storyStoreValue){await this.initializeWithProjectAnnotations(r);return}this.storyStoreValue.setProjectAnnotations(r),this.emitGlobals()}async onStoryIndexChanged(){if(delete this.previewEntryError,!(!this.storyStoreValue&&!this.projectAnnotationsBeforeInitialization))try{let t=await this.getStoryIndexFromServer();if(this.projectAnnotationsBeforeInitialization){this.initializeWithStoryIndex(t);return}await this.onStoriesChanged({storyIndex:t})}catch(t){throw this.renderPreviewEntryError("Error loading story index:",t),t}}async onStoriesChanged({importFn:t,storyIndex:r}){if(!this.storyStoreValue)throw new hr({methodName:"onStoriesChanged"});await this.storyStoreValue.onStoriesChanged({importFn:t,storyIndex:r})}async onUpdateGlobals({globals:t,currentStory:r}){if(this.storyStoreValue||await this.storeInitializationPromise,!this.storyStoreValue)throw new hr({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:o,userGlobals:i,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(vo,{initialGlobals:n,userGlobals:i,storyGlobals:o,globals:s})}else{let{initialGlobals:n,globals:o}=this.storyStoreValue.userGlobals;this.channel.emit(vo,{initialGlobals:n,userGlobals:o,storyGlobals:{},globals:o})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new hr({methodName:"onUpdateArgs"});this.storyStoreValue.args.update(t,r),await Promise.all(this.storyRenders.filter(n=>n.id===t&&!n.renderOptions.forceInitialArgs).map(n=>n.story&&n.story.usesMount?n.remount():n.rerender())),this.channel.emit(rh,{storyId:t,args:this.storyStoreValue.args.get(t)})}async onRequestArgTypesInfo({id:t,payload:r}){try{await this.storeInitializationPromise;let n=await this.storyStoreValue?.loadStory(r);this.channel.emit(Rl,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(Rl,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new hr({methodName:"onResetArgs"});let n=this.storyRenders.find(i=>i.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),o=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((i,s)=>(i[s]=n.initialArgs[s],i),{});await this.onUpdateArgs({storyId:t,updatedArgs:o})}async onForceReRender(){await Promise.all(this.storyRenders.map(t=>t.rerender()))}async onForceRemount({storyId:t}){await Promise.all(this.storyRenders.filter(r=>r.id===t).map(r=>r.remount()))}renderStoryToElement(t,r,n,o){if(!this.renderToCanvas||!this.storyStoreValue)throw new hr({methodName:"renderStoryToElement"});let i=new Hh(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",o,t);return i.renderToElement(r),this.storyRenders.push(i),async()=>{await this.teardownRender(i)}}async teardownRender(t,{viewModeChanged:r}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}async loadStory({storyId:t}){if(!this.storyStoreValue)throw new hr({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new hr({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new hr({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,ot.error(t),ot.error(r),this.channel.emit(Wf,r)}};B(E2,"Preview");var b4=E2,v4=!1,Ph="Invariant failed";function Fl(e,t){if(!e){if(v4)throw new Error(Ph);var r=typeof t=="function"?t():t,n=r?"".concat(Ph,": ").concat(r):Ph;throw new Error(n)}}B(Fl,"invariant");var w2=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=B(i=>{let s=this.nameToStoryId.get(i);if(s)return s;throw new Error(`No story found with that name: ${i}`)},"storyIdByName"),this.componentStories=B(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=B(i=>this.store.componentStoriesFromCSFFile({csfFile:i}),"componentStoriesFromCSFFile"),this.storyById=B(i=>{if(!i){if(!this.primaryStory)throw new Error("No primary story defined for docs entry. Did you forget to use `<Meta>`?");return this.primaryStory}let s=this.storyIdToCSFFile.get(i);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${i}`);return this.store.storyFromCSFFile({storyId:i,csfFile:s})},"storyById"),this.getStoryContext=B(i=>({...this.store.getStoryContext(i),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=B(i=>this.store.loadStory({storyId:i}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,o.forEach((i,s)=>{this.referenceCSFFile(i)})}referenceCSFFile(t){this.exportsToCSFFile.set(t.moduleExports,t),this.exportsToCSFFile.set(t.moduleExports.default,t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{let n=t.stories[r.id];this.storyIdToCSFFile.set(n.id,t),this.exportToStory.set(n.moduleExport,r)})}attachCSFFile(t){if(!this.exportsToCSFFile.has(t.moduleExports))throw new Error("Cannot attach a CSF file that has not been referenced");this.attachedCSFFiles.has(t)||(this.attachedCSFFiles.add(t),this.store.componentStoriesFromCSFFile({csfFile:t}).forEach(r=>{this.nameToStoryId.set(r.name,r.id),this.componentStoriesValue.push(r),this.primaryStory||(this.primaryStory=r)}))}referenceMeta(t,r){let n=this.resolveModuleExport(t);if(n.type!=="meta")throw new Error("<Meta of={} /> must reference a CSF file module export or meta export. Did you mistakenly reference your component instead of your CSF file?");r&&this.attachCSFFile(n.csfFile)}get projectAnnotations(){let{projectAnnotations:t}=this.store;if(!t)throw new Error("Can't get projectAnnotations from DocsContext before they are initialized");return t}resolveAttachedModuleExportType(t){if(t==="story"){if(!this.primaryStory)throw new Error("No primary story attached to this docs file, did you forget to use <Meta of={} />?");return{type:"story",story:this.primaryStory}}if(this.attachedCSFFiles.size===0)throw new Error("No CSF file attached to this docs file, did you forget to use <Meta of={} />?");let r=Array.from(this.attachedCSFFiles)[0];if(t==="meta")return{type:"meta",csfFile:r};let{component:n}=r.meta;if(!n)throw new Error("Attached CSF file does not defined a component, did you forget to export one?");return{type:"component",component:n}}resolveModuleExport(t){let r=this.exportsToCSFFile.get(t);if(r)return{type:"meta",csfFile:r};let n=this.exportToStory.get(t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let o=t;n=this.resolveAttachedModuleExportType(o)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let o=n.type==="component"?"component or unknown":n.type;throw new Error(Jr`Invalid value passed to the 'of' prop. The value was resolved to a '${o}' type but the only types for this block are: ${r.join(", ")}.
|
|
628
|
-
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
629
|
-
- ... or vice versa?
|
|
630
|
-
- Did you pass a story, CSF file or meta to the 'of' prop that is not indexed, ie. is not targeted by the 'stories' globs in the main configuration?`)}switch(n.type){case"component":return{...n,projectAnnotations:this.projectAnnotations};case"meta":return{...n,preparedMeta:this.store.preparedMetaFromCSFFile({csfFile:n.csfFile})};case"story":default:return n}}};B(w2,"DocsContext");var _2=w2,S2=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="csf",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Vl;let{importPath:n,title:o}=this.entry,i=this.store.processCSFFileWithCache(t,n,o),s=Object.keys(i.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:i}),this.csfFiles=[i,...r],this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.story&&this.story===t.story)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");let r=new _2(this.channel,this.store,t,this.csfFiles);return this.csfFiles.forEach(n=>r.attachCSFFile(n)),r}async renderToElement(t,r){if(!this.story||!this.csfFiles)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.story.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i=await o.renderer(),{render:s}=i,l=B(async()=>{try{await s(n,o,t),this.channel.emit(Hi,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||i.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};B(S2,"CsfDocsRender");var q1=S2,A2=class{constructor(t,r,n,o){this.channel=t,this.store=r,this.entry=n,this.callbacks=o,this.type="docs",this.subtype="mdx",this.torndown=!1,this.disableKeyListeners=!1,this.preparing=!1,this.id=n.id}isPreparing(){return this.preparing}async prepare(){this.preparing=!0;let{entryExports:t,csfFiles:r=[]}=await this.store.loadEntry(this.id);if(this.torndown)throw Vl;this.csfFiles=r,this.exports=t,this.preparing=!1}isEqual(t){return!!(this.id===t.id&&this.exports&&this.exports===t.exports)}docsContext(t){if(!this.csfFiles)throw new Error("Cannot render docs before preparing");return new _2(this.channel,this.store,t,this.csfFiles)}async renderToElement(t,r){if(!this.exports||!this.csfFiles||!this.store.projectAnnotations)throw new Error("Cannot render docs before preparing");let n=this.docsContext(r),{docs:o}=this.store.projectAnnotations.parameters||{};if(!o)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let i={...o,page:this.exports.default},s=await o.renderer(),{render:l}=s,u=B(async()=>{try{await l(n,i,t),this.channel.emit(Hi,this.id)}catch(c){this.callbacks.showException(c)}},"renderDocs");return this.rerender=async()=>u(),this.teardownRender=async({viewModeChanged:c}={})=>{!c||!t||(s.unmount(t),this.torndown=!0)},u()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};B(A2,"MdxDocsRender");var O1=A2,E4=globalThis;function C2(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}B(C2,"focusInInput");var R2="attached-mdx",w4="unattached-mdx";function T2({tags:e}){return e?.includes(w4)||e?.includes(R2)}B(T2,"isMdxEntry");function kl(e){return e.type==="story"}B(kl,"isStoryRender");function x2(e){return e.type==="docs"}B(x2,"isDocsRender");function q2(e){return x2(e)&&e.subtype==="csf"}B(q2,"isCsfDocsRender");var O2=class extends b4{constructor(t,r,n,o){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=o,this.initialize()}setupListeners(){super.setupListeners(),E4.onkeydown=this.onKeydown.bind(this),this.channel.on(eh,this.onSetCurrentStory.bind(this)),this.channel.on(ch,this.onUpdateQueryParams.bind(this)),this.channel.on(Qf,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new hr({methodName:"setInitialGlobals"});let{globals:t}=this.selectionStore.selectionSpecifier||{};t&&this.storyStoreValue.userGlobals.updateFromPersisted(t),this.emitGlobals()}async initializeWithStoryIndex(t){return await super.initializeWithStoryIndex(t),this.selectSpecifiedStory()}async selectSpecifiedStory(){if(!this.storyStoreValue)throw new hr({methodName:"selectSpecifiedStory"});if(this.selectionStore.selection){await this.renderSelection();return}if(!this.selectionStore.selectionSpecifier){this.renderMissingStory();return}let{storySpecifier:t,args:r}=this.selectionStore.selectionSpecifier,n=this.storyStoreValue.storyIndex.entryFromSpecifier(t);if(!n){t==="*"?this.renderStoryLoadingException(t,new t1):this.renderStoryLoadingException(t,new n1({storySpecifier:t.toString()}));return}let{id:o,type:i}=n;this.selectionStore.setSelection({storyId:o,viewMode:i}),this.channel.emit(sh,this.selectionStore.selection),this.channel.emit(Al,this.selectionStore.selection),await this.renderSelection({persistedArgs:r})}async onGetProjectAnnotationsChanged({getProjectAnnotations:t}){await super.onGetProjectAnnotationsChanged({getProjectAnnotations:t}),this.selectionStore.selection&&this.renderSelection()}async onStoriesChanged({importFn:t,storyIndex:r}){await super.onStoriesChanged({importFn:t,storyIndex:r}),this.selectionStore.selection?await this.renderSelection():await this.selectSpecifiedStory()}onKeydown(t){if(!this.storyRenders.find(r=>r.disableKeyListeners)&&!C2(t)){let{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}=t;this.channel.emit(Zf,{event:{altKey:r,ctrlKey:n,metaKey:o,shiftKey:i,key:s,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(Al,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof Hh&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof O1||this.currentRender instanceof q1)&&await this.currentRender.rerender?.()}async onUpdateArgs({storyId:t,updatedArgs:r}){super.onUpdateArgs({storyId:t,updatedArgs:r})}async onPreloadStories({ids:t}){await this.storeInitializationPromise,this.storyStoreValue&&await Promise.allSettled(t.map(r=>this.storyStoreValue?.loadEntry(r)))}async renderSelection({persistedArgs:t}={}){let{renderToCanvas:r}=this;if(!this.storyStoreValue||!r)throw new hr({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:o}=n,i;try{i=await this.storyStoreValue.storyIdToEntry(o)}catch(h){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(o,h);return}let s=this.currentSelection?.storyId!==o,l=this.currentRender?.type!==i.type;i.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let u;i.type==="story"?u=new Hh(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(o),o,"story"):T2(i)?u=new O1(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o)):u=new q1(this.channel,this.storyStoreValue,i,this.mainStoryCallbacks(o));let c=this.currentSelection;this.currentSelection=n;let d=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(h){d&&await this.teardownRender(d),h!==Vl&&this.renderStoryLoadingException(o,h);return}let p=!s&&d&&!u.isEqual(d);if(t&&kl(u)&&(Fl(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),d&&!d.torndown&&!s&&!p&&!l){this.currentRender=d,this.channel.emit(uh,o),this.view.showMain();return}if(d&&await this.teardownRender(d,{viewModeChanged:l}),c&&(s||l)&&this.channel.emit(nh,o),kl(u)){Fl(!!u.story);let{parameters:h,initialArgs:m,argTypes:y,unmappedArgs:b,initialGlobals:E,userGlobals:g,storyGlobals:w,globals:O}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(ih,{id:o,parameters:h,initialArgs:m,argTypes:y,args:b}),this.channel.emit(vo,{userGlobals:g,storyGlobals:w,globals:O,initialGlobals:E})}else{let{parameters:h}=this.storyStoreValue.projectAnnotations,{initialGlobals:m,globals:y}=this.storyStoreValue.userGlobals;if(this.channel.emit(vo,{globals:y,initialGlobals:m,storyGlobals:{},userGlobals:y}),q2(u)||u.entry.tags?.includes(R2)){if(!u.csfFiles)throw new ZE({storyId:o});({parameters:h}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(Yf,{id:o,parameters:h})}kl(u)?(Fl(!!u.story),this.storyRenders.push(u),this.currentRender.renderToElement(this.view.prepareForStory(u.story))):this.currentRender.renderToElement(this.view.prepareForDocs(),this.renderStoryToElement.bind(this))}async teardownRender(t,{viewModeChanged:r=!1}={}){this.storyRenders=this.storyRenders.filter(n=>n!==t),await t?.teardown?.({viewModeChanged:r})}mainStoryCallbacks(t){return{showStoryDuringRender:B(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:B(()=>this.view.showMain(),"showMain"),showError:B(r=>this.renderError(t,r),"showError"),showException:B(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(Cl)}renderStoryLoadingException(t,r){ot.error(r),this.view.showErrorDisplay(r),this.channel.emit(Cl,t)}renderException(t,r){let{name:n="Error",message:o=String(r),stack:i}=r;this.channel.emit(lh,{name:n,message:o,stack:i}),this.channel.emit(Eo,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),ot.error(`Error rendering story '${t}':`),ot.error(r)}renderError(t,{title:r,description:n}){ot.error(`Error rendering story ${r}: ${n}`),this.channel.emit(oh,{title:r,description:n}),this.channel.emit(Eo,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};B(O2,"PreviewWithSelection");var _4=O2,zh=sa(Kh(),1),S4=sa(Kh(),1),P1=/^[a-zA-Z0-9 _-]*$/,P2=/^-?[0-9]+(\.[0-9]+)?$/,A4=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,D2=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,Vh=B((e="",t)=>e===null||e===""||!P1.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?P1.test(t)||P2.test(t)||A4.test(t)||D2.test(t):Array.isArray(t)?t.every(r=>Vh(e,r)):Nr(t)?Object.entries(t).every(([r,n])=>Vh(r,n)):!1,"validateArgs"),C4={delimiter:";",nesting:!0,arrayRepeat:!0,arrayRepeatSyntax:"bracket",nestingSyntax:"js",valueDeserializer(e){if(e.startsWith("!")){if(e==="!undefined")return;if(e==="!null")return null;if(e==="!true")return!0;if(e==="!false")return!1;if(e.startsWith("!date(")&&e.endsWith(")"))return new Date(e.replaceAll(" ","+").slice(6,-1));if(e.startsWith("!hex(")&&e.endsWith(")"))return`#${e.slice(5,-1)}`;let t=e.slice(1).match(D2);if(t)return e.startsWith("!rgba")||e.startsWith("!RGBA")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]}, ${t[5]})`:e.startsWith("!hsla")||e.startsWith("!HSLA")?`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%, ${t[5]})`:e.startsWith("!rgb")||e.startsWith("!RGB")?`${t[1]}(${t[2]}, ${t[3]}, ${t[4]})`:`${t[1]}(${t[2]}, ${t[3]}%, ${t[4]}%)`}return P2.test(e)?Number(e):e}},D1=B(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,S4.parse)(t.join(";"),C4)).reduce((r,[n,o])=>Vh(n,o)?Object.assign(r,{[n]:o}):(Mt.warn(Jr`
|
|
631
|
-
Omitted potentially unsafe URL args.
|
|
632
|
-
|
|
633
|
-
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
634
|
-
`),r),{})},"parseArgsParam"),{history:I2,document:Dn}=zt;function M2(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}B(M2,"pathToId");var N2=B(({selection:e,extraParams:t})=>{let r=Dn?.location.search.slice(1),{path:n,selectedKind:o,selectedStory:i,...s}=(0,zh.parse)(r);return`?${(0,zh.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),R4=B(e=>{if(!e)return;let t=N2({selection:e}),{hash:r=""}=Dn.location;Dn.title=e.storyId,I2.replaceState({},"",`${Dn.location.pathname}${t}${r}`)},"setPath"),T4=B(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),Xi=B(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return Xi(e[0]);if(T4(e))return Xi(Object.values(e).filter(Boolean))}},"getFirstString"),x4=B(()=>{if(typeof Dn<"u"){let e=Dn.location.search.slice(1),t=(0,zh.parse)(e),r=typeof t.args=="string"?D1(t.args):void 0,n=typeof t.globals=="string"?D1(t.globals):void 0,o=Xi(t.viewMode);(typeof o!="string"||!o.match(/docs|story/))&&(o="story");let i=Xi(t.path),s=i?M2(i):Xi(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:o}}return null},"getSelectionSpecifierFromPath"),B2=class{constructor(){this.selectionSpecifier=x4()}setSelection(t){this.selection=t,R4(this.selection)}setQueryParams(t){let r=N2({extraParams:t}),{hash:n=""}=Dn.location;I2.replaceState({},"",`${Dn.location.pathname}${r}${n}`)}};B(B2,"UrlStore");var q4=B2,O4=sa(i3(),1),P4=sa(Kh(),1),{document:er}=zt,I1=100,j2=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(j2||{}),Dh={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},Ih={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},M1=new O4.default({escapeXML:!0}),F2=class{constructor(){if(this.testing=!1,typeof er<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,P4.parse)(er.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}default:}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),er.documentElement.scrollTop=0,er.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return er.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),er.documentElement.scrollTop=0,er.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return er.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){er.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=Ih[t];er.body.classList.remove(this.currentLayoutClass),er.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){Ih[t]||ot.warn(Jr`
|
|
635
|
-
The desired layout: ${t} is not a valid option.
|
|
636
|
-
The possible options are: ${Object.keys(Ih).join(", ")}, none.
|
|
637
|
-
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(j2).forEach(r=>{r===t?er.body.classList.add(Dh[r]):er.body.classList.remove(Dh[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,o=r,i=t.split(`
|
|
638
|
-
`);i.length>1&&([n]=i,o=i.slice(1).join(`
|
|
639
|
-
`).replace(/^\n/,"")),er.getElementById("error-message").innerHTML=M1.toHtml(n),er.getElementById("error-stack").innerHTML=M1.toHtml(o),this.showMode("ERROR")}showNoPreview(){this.testing||(this.showMode("NOPREVIEW"),this.storyRoot()?.setAttribute("hidden","true"),this.docsRoot()?.setAttribute("hidden","true"))}showPreparingStory({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_STORY"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_STORY"),I1)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),I1)}showMain(){this.showMode("MAIN")}showDocs(){this.storyRoot().setAttribute("hidden","true"),this.docsRoot().removeAttribute("hidden")}showStory(){this.docsRoot().setAttribute("hidden","true"),this.storyRoot().removeAttribute("hidden")}showStoryDuringRender(){er.body.classList.add(Dh.MAIN)}};B(F2,"WebView");var D4=F2,I4=class extends _4{constructor(t,r){super(t,r,new q4,new D4),this.importFn=t,this.getProjectAnnotations=r,zt.__STORYBOOK_PREVIEW__=this}};B(I4,"PreviewWeb");var{document:Co}=zt,M4=["application/javascript","application/ecmascript","application/x-ecmascript","application/x-javascript","text/ecmascript","text/javascript","text/javascript1.0","text/javascript1.1","text/javascript1.2","text/javascript1.3","text/javascript1.4","text/javascript1.5","text/jscript","text/livescript","text/x-ecmascript","text/x-javascript","module"],N4="script",N1="scripts-root";function Gh(){let e=Co.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),Co.dispatchEvent(e)}B(Gh,"simulateDOMContentLoaded");function k2(e,t,r){let n=Co.createElement("script");n.type=e.type==="module"?"module":"text/javascript",e.src?(n.onload=t,n.onerror=t,n.src=e.src):n.textContent=e.innerText,r?r.appendChild(n):Co.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}B(k2,"insertScript");function am(e,t,r=0){e[r](()=>{r++,r===e.length?t():am(e,t,r)})}B(am,"insertScriptsSequentially");function B4(e){let t=Co.getElementById(N1);t?t.innerHTML="":(t=Co.createElement("div"),t.id=N1,Co.body.appendChild(t));let r=Array.from(e.querySelectorAll(N4));if(r.length){let n=[];r.forEach(o=>{let i=o.getAttribute("type");(!i||M4.includes(i))&&n.push(s=>k2(o,s,t))}),n.length&&am(n,Gh,void 0)}else Gh()}B(B4,"simulatePageLoad");var Zt=Sl(IP(),1);var kf=Sl(VD());var vle=Object.prototype.toString;function GD(e){return typeof e=="function"||vle.call(e)==="[object Function]"}function Ele(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}var wle=Math.pow(2,53)-1;function _le(e){var t=Ele(e);return Math.min(Math.max(t,0),wle)}function Ar(e,t){var r=Array,n=Object(e);if(e==null)throw new TypeError("Array.from requires an array-like object - not null or undefined");if(typeof t<"u"&&!GD(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var o=_le(n.length),i=GD(r)?Object(new r(o)):new Array(o),s=0,l;s<o;)l=n[s],t?i[s]=t(l,s):i[s]=l,s+=1;return i.length=o,i}function dl(e){"@babel/helpers - typeof";return dl=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},dl(e)}function Sle(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}function WD(e,t){for(var r=0;r<t.length;r++){var n=t[r];n.enumerable=n.enumerable||!1,n.configurable=!0,"value"in n&&(n.writable=!0),Object.defineProperty(e,YD(n.key),n)}}function Ale(e,t,r){return t&&WD(e.prototype,t),r&&WD(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}function Cle(e,t,r){return t=YD(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function YD(e){var t=Rle(e,"string");return dl(t)==="symbol"?t:String(t)}function Rle(e,t){if(dl(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(dl(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}var Tle=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];Sle(this,e),Cle(this,"items",void 0),this.items=t}return Ale(e,[{key:"add",value:function(r){return this.has(r)===!1&&this.items.push(r),this}},{key:"clear",value:function(){this.items=[]}},{key:"delete",value:function(r){var n=this.items.length;return this.items=this.items.filter(function(o){return o!==r}),n!==this.items.length}},{key:"forEach",value:function(r){var n=this;this.items.forEach(function(o){r(o,o,n)})}},{key:"has",value:function(r){return this.items.indexOf(r)!==-1}},{key:"size",get:function(){return this.items.length}}]),e}(),KD=typeof Set>"u"?Set:Tle;function $t(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}var xle={article:"article",aside:"complementary",button:"button",datalist:"listbox",dd:"definition",details:"group",dialog:"dialog",dt:"term",fieldset:"group",figure:"figure",form:"form",footer:"contentinfo",h1:"heading",h2:"heading",h3:"heading",h4:"heading",h5:"heading",h6:"heading",header:"banner",hr:"separator",html:"document",legend:"legend",li:"listitem",math:"math",main:"main",menu:"list",nav:"navigation",ol:"list",optgroup:"group",option:"option",output:"status",progress:"progressbar",section:"region",summary:"button",table:"table",tbody:"rowgroup",textarea:"textbox",tfoot:"rowgroup",td:"cell",th:"columnheader",thead:"rowgroup",tr:"row",ul:"list"},qle={caption:new Set(["aria-label","aria-labelledby"]),code:new Set(["aria-label","aria-labelledby"]),deletion:new Set(["aria-label","aria-labelledby"]),emphasis:new Set(["aria-label","aria-labelledby"]),generic:new Set(["aria-label","aria-labelledby","aria-roledescription"]),insertion:new Set(["aria-label","aria-labelledby"]),paragraph:new Set(["aria-label","aria-labelledby"]),presentation:new Set(["aria-label","aria-labelledby"]),strong:new Set(["aria-label","aria-labelledby"]),subscript:new Set(["aria-label","aria-labelledby"]),superscript:new Set(["aria-label","aria-labelledby"])};function Ole(e,t){return["aria-atomic","aria-busy","aria-controls","aria-current","aria-describedby","aria-details","aria-dropeffect","aria-flowto","aria-grabbed","aria-hidden","aria-keyshortcuts","aria-label","aria-labelledby","aria-live","aria-owns","aria-relevant","aria-roledescription"].some(function(r){var n;return e.hasAttribute(r)&&!((n=qle[t])!==null&&n!==void 0&&n.has(r))})}function JD(e,t){return Ole(e,t)}function Nc(e){var t=Dle(e);if(t===null||t==="presentation"){var r=Ple(e);if(t!=="presentation"||JD(e,r||""))return r}return t}function Ple(e){var t=xle[$t(e)];if(t!==void 0)return t;switch($t(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!JD(e,"img")?"presentation":"img";case"input":{var r=e,n=r.type;switch(n){case"button":case"image":case"reset":case"submit":return"button";case"checkbox":case"radio":return n;case"range":return"slider";case"email":case"tel":case"text":case"url":return e.hasAttribute("list")?"combobox":"textbox";case"search":return e.hasAttribute("list")?"combobox":"searchbox";case"number":return"spinbutton";default:return null}}case"select":return e.hasAttribute("multiple")||e.size>1?"listbox":"combobox"}return null}function Dle(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}function wt(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}function Rv(e){return wt(e)&&$t(e)==="caption"}function pl(e){return wt(e)&&$t(e)==="input"}function XD(e){return wt(e)&&$t(e)==="optgroup"}function QD(e){return wt(e)&&$t(e)==="select"}function ZD(e){return wt(e)&&$t(e)==="table"}function eI(e){return wt(e)&&$t(e)==="textarea"}function tI(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}function rI(e){return wt(e)&&$t(e)==="fieldset"}function nI(e){return wt(e)&&$t(e)==="legend"}function oI(e){return wt(e)&&$t(e)==="slot"}function Ile(e){return wt(e)&&e.ownerSVGElement!==void 0}function aI(e){return wt(e)&&$t(e)==="svg"}function iI(e){return Ile(e)&&$t(e)==="title"}function Mi(e,t){if(wt(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(o){return n.getElementById(o)}).filter(function(o){return o!==null})}return[]}function Yr(e,t){return wt(e)?t.indexOf(Nc(e))!==-1:!1}function Mle(e){return e.trim().replace(/\s\s+/g," ")}function Nle(e,t){if(!wt(e))return!1;if(e.hasAttribute("hidden")||e.getAttribute("aria-hidden")==="true")return!0;var r=t(e);return r.getPropertyValue("display")==="none"||r.getPropertyValue("visibility")==="hidden"}function Ble(e){return Yr(e,["button","combobox","listbox","textbox"])||uI(e,"range")}function uI(e,t){if(!wt(e))return!1;switch(t){case"range":return Yr(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}function sI(e,t){var r=Ar(e.querySelectorAll(t));return Mi(e,"aria-owns").forEach(function(n){r.push.apply(r,Ar(n.querySelectorAll(t)))}),r}function jle(e){return QD(e)?e.selectedOptions||sI(e,"[selected]"):sI(e,'[aria-selected="true"]')}function Fle(e){return Yr(e,["none","presentation"])}function kle(e){return Rv(e)}function Lle(e){return Yr(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}function $le(e){return!1}function Ule(e){return pl(e)||eI(e)?e.value:e.textContent||""}function lI(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}function cI(e){var t=$t(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}function dI(e){if(cI(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&wt(r)){var n=dI(r);n!==null&&(t=n)}}),t}function Hle(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):dI(e)}function zle(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return Ar(t);if(!cI(e))return null;var r=e.ownerDocument;return Ar(r.querySelectorAll("label")).filter(function(n){return Hle(n)===e})}function Vle(e){var t=e.assignedNodes();return t.length===0?Ar(e.childNodes):t}function Bc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new KD,n=tI(e),o=t.compute,i=o===void 0?"name":o,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,d=t.hidden,p=d===void 0?!1:d;function h(g,w){var O="";if(wt(g)&&l){var A=c(g,"::before"),S=lI(A);O="".concat(S," ").concat(O)}var T=oI(g)?Vle(g):Ar(g.childNodes).concat(Mi(g,"aria-owns"));if(T.forEach(function(I){var W=E(I,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),X=wt(I)?c(I).getPropertyValue("display"):"inline",Y=X!=="inline"?" ":"";O+="".concat(Y).concat(W).concat(Y)}),wt(g)&&l){var C=c(g,"::after"),x=lI(C);O="".concat(O," ").concat(x)}return O.trim()}function m(g,w){var O=g.getAttributeNode(w);return O!==null&&!r.has(O)&&O.value.trim()!==""?(r.add(O),O.value):null}function y(g){return wt(g)?m(g,"title"):null}function b(g){if(!wt(g))return null;if(rI(g)){r.add(g);for(var w=Ar(g.childNodes),O=0;O<w.length;O+=1){var A=w[O];if(nI(A))return E(A,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(ZD(g)){r.add(g);for(var S=Ar(g.childNodes),T=0;T<S.length;T+=1){var C=S[T];if(Rv(C))return E(C,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(aI(g)){r.add(g);for(var x=Ar(g.childNodes),I=0;I<x.length;I+=1){var W=x[I];if(iI(W))return W.textContent}return null}else if($t(g)==="img"||$t(g)==="area"){var X=m(g,"alt");if(X!==null)return X}else if(XD(g)){var Y=m(g,"label");if(Y!==null)return Y}if(pl(g)&&(g.type==="button"||g.type==="submit"||g.type==="reset")){var K=m(g,"value");if(K!==null)return K;if(g.type==="submit")return"Submit";if(g.type==="reset")return"Reset"}var _=zle(g);if(_!==null&&_.length!==0)return r.add(g),Ar(_).map(function(ce){return E(ce,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(ce){return ce.length>0}).join(" ");if(pl(g)&&g.type==="image"){var P=m(g,"alt");if(P!==null)return P;var N=m(g,"title");return N!==null?N:"Submit Query"}if(Yr(g,["button"])){var le=h(g,{isEmbeddedInLabel:!1,isReferenced:!1});if(le!=="")return le}return null}function E(g,w){if(r.has(g))return"";if(!p&&Nle(g,c)&&!w.isReferenced)return r.add(g),"";var O=wt(g)?g.getAttributeNode("aria-labelledby"):null,A=O!==null&&!r.has(O)?Mi(g,"aria-labelledby"):[];if(i==="name"&&!w.isReferenced&&A.length>0)return r.add(O),A.map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var S=w.recursion&&Ble(g)&&i==="name";if(!S){var T=(wt(g)&&g.getAttribute("aria-label")||"").trim();if(T!==""&&i==="name")return r.add(g),T;if(!Fle(g)){var C=b(g);if(C!==null)return r.add(g),C}}if(Yr(g,["menu"]))return r.add(g),"";if(S||w.isEmbeddedInLabel||w.isReferenced){if(Yr(g,["combobox","listbox"])){r.add(g);var x=jle(g);return x.length===0?pl(g)?g.value:"":Ar(x).map(function(X){return E(X,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(uI(g,"range"))return r.add(g),g.hasAttribute("aria-valuetext")?g.getAttribute("aria-valuetext"):g.hasAttribute("aria-valuenow")?g.getAttribute("aria-valuenow"):g.getAttribute("value")||"";if(Yr(g,["textbox"]))return r.add(g),Ule(g)}if(Lle(g)||wt(g)&&w.isReferenced||kle(g)||$le(g)){var I=h(g,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});if(I!=="")return r.add(g),I}if(g.nodeType===g.TEXT_NODE)return r.add(g),g.textContent||"";if(w.recursion)return r.add(g),h(g,{isEmbeddedInLabel:w.isEmbeddedInLabel,isReferenced:!1});var W=y(g);return W!==null?(r.add(g),W):(r.add(g),"")}return Mle(E(e,{isEmbeddedInLabel:!1,isReferenced:i==="description",recursion:!1}))}function fl(e){"@babel/helpers - typeof";return fl=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},fl(e)}function pI(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(o){return Object.getOwnPropertyDescriptor(e,o).enumerable})),r.push.apply(r,n)}return r}function fI(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?pI(Object(r),!0).forEach(function(n){Gle(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):pI(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}function Gle(e,t,r){return t=Wle(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}function Wle(e){var t=Yle(e,"string");return fl(t)==="symbol"?t:String(t)}function Yle(e,t){if(fl(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(fl(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}function jc(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Mi(e,"aria-describedby").map(function(o){return Bc(o,fI(fI({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}function Kle(e){return Yr(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}function hl(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Kle(e)?"":Bc(e,t)}var fr=Sl(bB()),CB=Sl(vB());function RB(e){return e.replace(/</g,"<").replace(/>/g,">")}var Mge=(e,t,r,n,o,i,s)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
|
|
640
|
-
`)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},Nge=3,Bge=(e,t,r,n,o,i)=>e.map(s=>{let l=typeof s=="string"?TB(s,t):i(s,t,r,n,o);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==Nge?"":t.spacingOuter+r+l}).join(""),TB=(e,t)=>{let r=t.colors.content;return r.open+RB(e)+r.close},jge=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+RB(e)+"-->"+r.close},Fge=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},kge=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},Lge=1,xB=3,qB=8,OB=11,$ge=/^((HTML|SVG)\w*)?Element$/,PB=e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},Uge=e=>{let t=e.constructor.name,{nodeType:r}=e;return r===Lge&&($ge.test(t)||PB(e))||r===xB&&t==="Text"||r===qB&&t==="Comment"||r===OB&&t==="DocumentFragment"};function Hge(e){return e.nodeType===xB}function zge(e){return e.nodeType===qB}function Yv(e){return e.nodeType===OB}function Vge(e){return{test:t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||PB(t))&&Uge(t)},serialize:(t,r,n,o,i,s)=>{if(Hge(t))return TB(t.data,r);if(zge(t))return jge(t.data,r);let l=Yv(t)?"DocumentFragment":t.tagName.toLowerCase();return++o>r.maxDepth?kge(l,r):Fge(l,Mge(Yv(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),Yv(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,o,i,s),Bge(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,o,i,s),r,n)}}}var DB=null,i0=null,s0=null;try{let e=module&&module.require;i0=e.call(module,"fs").readFileSync,s0=e.call(module,"@babel/code-frame").codeFrameColumns,DB=e.call(module,"chalk")}catch{}function Gge(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),o=n.split(":"),[i,s,l]=[o[0],parseInt(o[1],10),parseInt(o[2],10)],u="";try{u=i0(i,"utf-8")}catch{return""}let c=s0(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return DB.dim(n)+`
|
|
641
|
-
`+c+`
|
|
642
|
-
`}function Wge(){if(!i0||!s0)return"";let t=new Error().stack.split(`
|
|
643
|
-
`).slice(1).find(r=>!r.includes("node_modules/"));return Gge(t)}var IB=3;function Kv(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}function l0(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}function MB(e){if(e.defaultView)return e.defaultView;if(e.ownerDocument&&e.ownerDocument.defaultView)return e.ownerDocument.defaultView;if(e.window)return e.window;throw e.ownerDocument&&e.ownerDocument.defaultView===null?new Error("It looks like the window object is not available for the provided node."):e.then instanceof Function?new Error("It looks like you passed a Promise object instead of a DOM node. Did you do something like `fireEvent.click(screen.findBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`, or await the findBy query `fireEvent.click(await screen.findBy...`?"):Array.isArray(e)?new Error("It looks like you passed an Array instead of a DOM node. Did you do something like `fireEvent.click(screen.getAllBy...` when you meant to use a `getBy` query `fireEvent.click(screen.getBy...`?"):typeof e.debug=="function"&&typeof e.logTestingPlaygroundURL=="function"?new Error("It looks like you passed a `screen` object. Did you do something like `fireEvent.click(screen, ...` when you meant to use a query, e.g. `fireEvent.click(screen.getBy..., `?"):new Error("The given node is not an Element, the node type is: "+typeof e+".")}function Tn(e){if(!e||typeof e.querySelector!="function"||typeof e.querySelectorAll!="function")throw new TypeError("Expected container to be an Element, a Document or a DocumentFragment but got "+t(e)+".");function t(r){return typeof r=="object"?r===null?"null":r.constructor.name:typeof r}}var Yge=()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=process.env)==null?void 0:t.COLORS;r&&(e=JSON.parse(r))}catch{}return typeof e=="boolean"?e:process.versions!==void 0&&process.versions.node!==void 0},{DOMCollection:Kge}=kf.plugins,Jge=1,Xge=8;function Qge(e){return e.nodeType!==Xge&&(e.nodeType!==Jge||!e.matches(lt().defaultIgnore))}function ki(e,t,r){if(r===void 0&&(r={}),e||(e=l0().body),typeof t!="number"&&(t=typeof process<"u"&&typeof process.env<"u"&&process.env.DEBUG_PRINT_LIMIT||7e3),t===0)return"";e.documentElement&&(e=e.documentElement);let n=typeof e;if(n==="object"?n=e.constructor.name:e={},!("outerHTML"in e))throw new TypeError("Expected an element or document but got "+n);let{filterNode:o=Qge,...i}=r,s=kf.format(e,{plugins:[Vge(o),Kge],printFunctionName:!1,highlight:Yge(),...i});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}var Nf=function(){let e=Wge();console.log(e?ki(...arguments)+`
|
|
644
|
-
|
|
645
|
-
`+e:ki(...arguments))},Qo={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:e=>e(),unstable_advanceTimersWrapper:e=>e(),eventWrapper:e=>e(),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=ki(t),n=new Error([e,"Ignored nodes: comments, "+Qo.defaultIgnore+`
|
|
646
|
-
`+r].filter(Boolean).join(`
|
|
647
|
-
|
|
648
|
-
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Zge(e){try{return Qo._disableExpensiveErrorDiagnostics=!0,e()}finally{Qo._disableExpensiveErrorDiagnostics=!1}}function NB(e){typeof e=="function"&&(e=e(Qo)),Qo={...Qo,...e}}function lt(){return Qo}var ebe=["button","meter","output","progress","select","textarea","input"];function BB(e){return ebe.includes(e.nodeName.toLowerCase())?"":e.nodeType===IB?e.textContent:Array.from(e.childNodes).map(t=>BB(t)).join("")}function Xv(e){let t;return e.tagName.toLowerCase()==="label"?t=BB(e):t=e.value||e.textContent,t}function jB(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!tbe(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}function tbe(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}function FB(e,t,r){let{selector:n="*"}=r===void 0?{}:r,o=t.getAttribute("aria-labelledby"),i=o?o.split(" "):[];return i.length?i.map(s=>{let l=e.querySelector('[id="'+s+'"]');return l?{content:Xv(l),formControl:null}:{content:"",formControl:null}}):Array.from(jB(t)).map(s=>{let l=Xv(s),c=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(d=>d.matches(n))[0];return{content:l,formControl:c}})}function kB(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}function Li(e,t,r,n){if(typeof e!="string")return!1;kB(r);let o=n(e);return typeof r=="string"||typeof r=="number"?o.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(o,t):$B(r,o)}function Rn(e,t,r,n){if(typeof e!="string")return!1;kB(r);let o=n(e);return r instanceof Function?r(o,t):r instanceof RegExp?$B(r,o):o===String(r)}function LB(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let o=n;return o=t?o.trim():o,o=r?o.replace(/\s+/g," "):o,o}}function ea(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return LB({trim:t,collapseWhitespace:r});if(typeof t<"u"||typeof r<"u")throw new Error('trim and collapseWhitespace are not supported with a normalizer. If you want to use the default trim and collapseWhitespace logic in your normalizer, use "getDefaultNormalizer({trim, collapseWhitespace})" and compose that into your normalizer');return n}function $B(e,t){let r=e.test(t);return e.global&&e.lastIndex!==0&&(console.warn("To match all elements we had to reset the lastIndex of the RegExp because the global flag is enabled. We encourage to remove the global flag from the RegExp."),e.lastIndex=0),r}function Lf(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===IB&&!!t.textContent).map(t=>t.textContent).join("")}var rbe=nbe(fr.elementRoles);function UB(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}function u0(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=UB}=t;if(e.ownerDocument.defaultView.getComputedStyle(e).visibility==="hidden")return!0;let o=e;for(;o;){if(r(o))return!0;o=o.parentElement}return!1}function c0(e){for(let{match:t,roles:r}of rbe)if(t(e))return[...r];return[]}function nbe(e){function t(s){let{name:l,attributes:u}=s;return""+l+u.map(c=>{let{name:d,value:p,constraints:h=[]}=c,m=h.indexOf("undefined")!==-1,y=h.indexOf("set")!==-1;return typeof p<"u"?"["+d+'="'+p+'"]':m?":not(["+d+"])":y?"["+d+"]:not(["+d+'=""])':"["+d+"]"}).join("")}function r(s){let{attributes:l=[]}=s;return l.length}function n(s,l){let{specificity:u}=s,{specificity:c}=l;return c-u}function o(s){let{attributes:l=[]}=s,u=l.findIndex(d=>d.value&&d.name==="type"&&d.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...s,attributes:l});return d=>u>=0&&d.type!=="text"?!1:d.matches(c)}let i=[];for(let[s,l]of e.entries())i=[...i,{match:o(s),roles:Array.from(l),specificity:r(s)}];return i.sort(n)}function obe(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(o){return[o,...Array.from(o.children).reduce((i,s)=>[...i,...n(s)],[])]}return n(e).filter(o=>r===!1?u0(o)===!1:!0).reduce((o,i)=>{let s=[];return i.hasAttribute("role")?s=i.getAttribute("role").split(" ").slice(0,1):s=c0(i),s.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],i]}:{...l,[u]:[i]},o)},{})}function abe(e,t){let{hidden:r,includeDescription:n}=t,o=obe(e,{hidden:r});return Object.entries(o).filter(i=>{let[s]=i;return s!=="generic"}).map(i=>{let[s,l]=i,u="-".repeat(50),c=l.map(d=>{let p='Name "'+hl(d,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements})+`":
|
|
649
|
-
`,h=ki(d.cloneNode(!1));if(n){let m='Description "'+jc(d,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements})+`":
|
|
650
|
-
`;return""+p+m+h}return""+p+h}).join(`
|
|
651
|
-
|
|
652
|
-
`);return s+`:
|
|
653
|
-
|
|
654
|
-
`+c+`
|
|
655
|
-
|
|
656
|
-
`+u}).join(`
|
|
657
|
-
`)}function ibe(e){return e.tagName==="OPTION"?e.selected:El(e,"aria-selected")}function sbe(e){return e.getAttribute("aria-busy")==="true"}function lbe(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:El(e,"aria-checked")}function ube(e){return El(e,"aria-pressed")}function cbe(e){var t,r;return(t=(r=El(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}function dbe(e){return El(e,"aria-expanded")}function El(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}function pbe(e){let t={H1:1,H2:2,H3:3,H4:4,H5:5,H6:6};return e.getAttribute("aria-level")&&Number(e.getAttribute("aria-level"))||t[e.tagName]}function fbe(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}function hbe(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}function mbe(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}function ybe(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}var EB=LB();function gbe(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}function wB(e){return new RegExp(gbe(e.toLowerCase()),"i")}function mo(e,t,r,n){let{variant:o,name:i}=n,s="",l={},u=[["Role","TestId"].includes(e)?r:wB(r)];i&&(l.name=wB(i)),e==="Role"&&u0(t)&&(l.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
658
|
-
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
659
|
-
`),Object.keys(l).length>0&&u.push(l);let c=o+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:o,warning:s,toString(){s&&console.warn(s);let[d,p]=u;return d=typeof d=="string"?"'"+d+"'":d,p=p?", { "+Object.entries(p).map(h=>{let[m,y]=h;return m+": "+y}).join(", ")+" }":"",c+"("+d+p+")"}}}function yo(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}function Qv(e,t,r){var n,o;if(t===void 0&&(t="get"),e.matches(lt().defaultIgnore))return;let i=(n=e.getAttribute("role"))!=null?n:(o=c0(e))==null?void 0:o[0];if(i!=="generic"&&yo("Role",r,i))return mo("Role",e,i,{variant:t,name:hl(e,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements})});let s=FB(document,e).map(h=>h.content).join(" ");if(yo("LabelText",r,s))return mo("LabelText",e,s,{variant:t});let l=e.getAttribute("placeholder");if(yo("PlaceholderText",r,l))return mo("PlaceholderText",e,l,{variant:t});let u=EB(Lf(e));if(yo("Text",r,u))return mo("Text",e,u,{variant:t});if(yo("DisplayValue",r,e.value))return mo("DisplayValue",e,EB(e.value),{variant:t});let c=e.getAttribute("alt");if(yo("AltText",r,c))return mo("AltText",e,c,{variant:t});let d=e.getAttribute("title");if(yo("Title",r,d))return mo("Title",e,d,{variant:t});let p=e.getAttribute(lt().testIdAttribute);if(yo("TestId",r,p))return mo("TestId",e,p,{variant:t})}function Mf(e,t){e.stack=t.stack.replace(t.message,e.message)}function bbe(e,t){let{container:r=l0(),timeout:n=lt().asyncUtilTimeout,showOriginalStackTrace:o=lt().showOriginalStackTrace,stackTraceError:i,interval:s=50,onTimeout:l=c=>(Object.defineProperty(c,"message",{value:lt().getElementError(c.message,r).message}),c),mutationObserverOptions:u={subtree:!0,childList:!0,attributes:!0,characterData:!0}}=t;if(typeof e!="function")throw new TypeError("Received `callback` arg must be a function");return new Promise(async(c,d)=>{let p,h,m,y=!1,b="idle",E=setTimeout(S,n),g=Kv();if(g){let{unstable_advanceTimersWrapper:T}=lt();for(A();!y;){if(!Kv()){let C=new Error("Changed from using fake timers to real timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to real timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");o||Mf(C,i),d(C);return}if(await T(async()=>{jest.advanceTimersByTime(s)}),y)break;A()}}else{try{Tn(r)}catch(C){d(C);return}h=setInterval(O,s);let{MutationObserver:T}=MB(r);m=new T(O),m.observe(r,u),A()}function w(T,C){y=!0,clearTimeout(E),g||(clearInterval(h),m.disconnect()),T?d(T):c(C)}function O(){if(Kv()){let T=new Error("Changed from using real timers to fake timers while using waitFor. This is not allowed and will result in very strange behavior. Please ensure you're awaiting all async things your test is doing before changing to fake timers. For more info, please go to https://github.com/testing-library/dom-testing-library/issues/830");return o||Mf(T,i),d(T)}else return A()}function A(){if(b!=="pending")try{let T=Zge(e);typeof T?.then=="function"?(b="pending",T.then(C=>{b="resolved",w(null,C)},C=>{b="rejected",p=C})):w(null,T)}catch(T){p=T}}function S(){let T;p?(T=p,!o&&T.name==="TestingLibraryElementError"&&Mf(T,i)):(T=new Error("Timed out in waitFor."),o||Mf(T,i)),w(l(T),null)}})}function vbe(e,t){let r=new Error("STACK_TRACE_MESSAGE");return lt().asyncWrapper(()=>bbe(e,{stackTraceError:r,...t}))}function HB(e,t){return lt().getElementError(e,t)}function Ebe(e,t){return HB(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}function $f(e,t,r,n){let{exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=n===void 0?{}:n,u=o?Rn:Li,c=ea({collapseWhitespace:i,trim:s,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(d=>u(d.getAttribute(e),d,r,c))}function Bf(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(s.length>1){let l=s.map(u=>HB(null,u).message).join(`
|
|
660
|
-
|
|
661
|
-
`);throw Ebe(t(r,...o)+`
|
|
662
|
-
|
|
663
|
-
Here are the matching elements:
|
|
664
|
-
|
|
665
|
-
`+l,r)}return s[0]||null}}function zB(e,t){return lt().getElementError(`A better query is available, try this:
|
|
666
|
-
`+e.toString()+`
|
|
667
|
-
`,t)}function wbe(e,t){return function(r){for(var n=arguments.length,o=new Array(n>1?n-1:0),i=1;i<n;i++)o[i-1]=arguments[i];let s=e(r,...o);if(!s.length)throw lt().getElementError(t(r,...o),r);return s}}function jf(e){return(t,r,n,o)=>vbe(()=>e(t,r,n),{container:t,...o})}var Fi=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=lt().throwSuggestions}={}]=i.slice(-1);if(l&&u){let c=Qv(l,r);if(c&&!t.endsWith(c.queryName))throw zB(c.toString(),n)}return l},Mr=(e,t,r)=>function(n){for(var o=arguments.length,i=new Array(o>1?o-1:0),s=1;s<o;s++)i[s-1]=arguments[s];let l=e(n,...i),[{suggest:u=lt().throwSuggestions}={}]=i.slice(-1);if(l.length&&u){let c=[...new Set(l.map(d=>{var p;return(p=Qv(d,r))==null?void 0:p.toString()}))];if(c.length===1&&!t.endsWith(Qv(l[0],r).queryName))throw zB(c[0],n)}return l};function ur(e,t,r){let n=Fi(Bf(e,t),e.name,"query"),o=wbe(e,r),i=Bf(o,t),s=Fi(i,e.name,"get"),l=Mr(o,e.name.replace("query","get"),"getAll"),u=jf(Mr(o,e.name,"findAll")),c=jf(Fi(i,e.name,"find"));return[n,l,s,u,c]}function _be(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:Xv(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}var Sbe=function(e,t,r){let{exact:n=!0,trim:o,collapseWhitespace:i,normalizer:s}=r===void 0?{}:r,l=n?Rn:Li,u=ea({collapseWhitespace:i,trim:o,normalizer:s});return _be(e).filter(d=>{let{node:p,textToMatch:h}=d;return l(h,p,t,u)}).map(d=>{let{node:p}=d;return p})},bl=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,normalizer:l}=r===void 0?{}:r;Tn(e);let u=o?Rn:Li,c=ea({collapseWhitespace:i,trim:s,normalizer:l}),d=Array.from(e.querySelectorAll("*")).filter(p=>jB(p).length||p.hasAttribute("aria-labelledby")).reduce((p,h)=>{let m=FB(e,h,{selector:n});m.filter(b=>!!b.formControl).forEach(b=>{u(b.content,b.formControl,t,c)&&b.formControl&&p.push(b.formControl)});let y=m.filter(b=>!!b.content).map(b=>b.content);return u(y.join(" "),h,t,c)&&p.push(h),y.length>1&&y.forEach((b,E)=>{u(b,h,t,c)&&p.push(h);let g=[...y];g.splice(E,1),g.length>1&&u(g.join(" "),h,t,c)&&p.push(h)}),p},[]).concat($f("aria-label",e,t,{exact:o,normalizer:c}));return Array.from(new Set(d)).filter(p=>p.matches(n))},Zo=function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),o=2;o<r;o++)n[o-2]=arguments[o];let i=bl(e,t,...n);if(!i.length){let s=Sbe(e,t,...n);if(s.length){let l=s.map(u=>Abe(e,u)).filter(u=>!!u);throw l.length?lt().getElementError(l.map(u=>"Found a label with the text of: "+t+", however the element associated with this label (<"+u+" />) is non-labellable [https://html.spec.whatwg.org/multipage/forms.html#category-label]. If you really need to label a <"+u+" />, you can use aria-label or aria-labelledby instead.").join(`
|
|
668
|
-
|
|
669
|
-
`),e):lt().getElementError("Found a label with the text of: "+t+`, however no form control was found associated to that label. Make sure you're using the "for" attribute or "aria-labelledby" attribute correctly.`,e)}else throw lt().getElementError("Unable to find a label with the text of: "+t,e)}return i};function Abe(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}var VB=(e,t)=>"Found multiple elements with the text of: "+t,Cbe=Fi(Bf(bl,VB),bl.name,"query"),GB=Bf(Zo,VB),Rbe=jf(Mr(Zo,Zo.name,"findAll")),Tbe=jf(Fi(GB,Zo.name,"find")),xbe=Mr(Zo,Zo.name,"getAll"),qbe=Fi(GB,Zo.name,"get"),d0=Mr(bl,bl.name,"queryAll"),Zv=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tn(t[0]),$f("placeholder",...t)},Obe=(e,t)=>"Found multiple elements with the placeholder text of: "+t,Pbe=(e,t)=>"Unable to find an element with the placeholder text of: "+t,p0=Mr(Zv,Zv.name,"queryAll"),[Dbe,Ibe,Mbe,Nbe,Bbe]=ur(Zv,Obe,Pbe),e0=function(e,t,r){let{selector:n="*",exact:o=!0,collapseWhitespace:i,trim:s,ignore:l=lt().defaultIgnore,normalizer:u}=r===void 0?{}:r;Tn(e);let c=o?Rn:Li,d=ea({collapseWhitespace:i,trim:s,normalizer:u}),p=[];return typeof e.matches=="function"&&e.matches(n)&&(p=[e]),[...p,...Array.from(e.querySelectorAll(n))].filter(h=>!l||!h.matches(l)).filter(h=>c(Lf(h),h,t,d))},jbe=(e,t)=>"Found multiple elements with the text: "+t,Fbe=function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:o,normalizer:i,selector:s}=r,u=ea({collapseWhitespace:n,trim:o,normalizer:i})(t.toString()),c=u!==t.toString(),d=(s??"*")!=="*";return"Unable to find an element with the text: "+(c?u+" (normalized from '"+t+"')":t)+(d?", which matches selector '"+s+"'":"")+". This could be because the text is broken up by multiple elements. In this case, you can provide a function for your text matcher to make your matcher more flexible."},f0=Mr(e0,e0.name,"queryAll"),[kbe,Lbe,$be,Ube,Hbe]=ur(e0,jbe,Fbe),t0=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Tn(e);let l=n?Rn:Li,u=ea({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("input,textarea,select")).filter(c=>c.tagName==="SELECT"?Array.from(c.options).filter(p=>p.selected).some(p=>l(Lf(p),p,t,u)):l(c.value,c,t,u))},zbe=(e,t)=>"Found multiple elements with the display value: "+t+".",Vbe=(e,t)=>"Unable to find an element with the display value: "+t+".",h0=Mr(t0,t0.name,"queryAll"),[Gbe,Wbe,Ybe,Kbe,Jbe]=ur(t0,zbe,Vbe),Xbe=/^(img|input|area|.+-.+)$/i,r0=function(e,t,r){return r===void 0&&(r={}),Tn(e),$f("alt",e,t,r).filter(n=>Xbe.test(n.tagName))},Qbe=(e,t)=>"Found multiple elements with the alt text: "+t,Zbe=(e,t)=>"Unable to find an element with the alt text: "+t,m0=Mr(r0,r0.name,"queryAll"),[eve,tve,rve,nve,ove]=ur(r0,Qbe,Zbe),ave=e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},n0=function(e,t,r){let{exact:n=!0,collapseWhitespace:o,trim:i,normalizer:s}=r===void 0?{}:r;Tn(e);let l=n?Rn:Li,u=ea({collapseWhitespace:o,trim:i,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||ave(c)&&l(Lf(c),c,t,u))},ive=(e,t)=>"Found multiple elements with the title: "+t+".",sve=(e,t)=>"Unable to find an element with the title: "+t+".",y0=Mr(n0,n0.name,"queryAll"),[lve,uve,cve,dve,pve]=ur(n0,ive,sve),o0=function(e,t,r){let{hidden:n=lt().defaultHidden,name:o,description:i,queryFallbacks:s=!1,selected:l,busy:u,checked:c,pressed:d,current:p,level:h,expanded:m,value:{now:y,min:b,max:E,text:g}={}}=r===void 0?{}:r;if(Tn(e),l!==void 0){var w;if(((w=fr.roles.get(t))==null?void 0:w.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var O;if(((O=fr.roles.get(t))==null?void 0:O.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var A;if(((A=fr.roles.get(t))==null?void 0:A.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(d!==void 0){var S;if(((S=fr.roles.get(t))==null?void 0:S.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(p!==void 0){var T;if(((T=fr.roles.get(t))==null?void 0:T.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(h!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(y!==void 0){var C;if(((C=fr.roles.get(t))==null?void 0:C.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(E!==void 0){var x;if(((x=fr.roles.get(t))==null?void 0:x.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var I;if(((I=fr.roles.get(t))==null?void 0:I.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(g!==void 0){var W;if(((W=fr.roles.get(t))==null?void 0:W.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(m!==void 0){var X;if(((X=fr.roles.get(t))==null?void 0:X.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let Y=new WeakMap;function K(_){return Y.has(_)||Y.set(_,UB(_)),Y.get(_)}return Array.from(e.querySelectorAll(fve(t))).filter(_=>{if(_.hasAttribute("role")){let le=_.getAttribute("role");if(s)return le.split(" ").filter(Boolean).some(Re=>Re===t);let[ce]=le.split(" ");return ce===t}return c0(_).some(le=>le===t)}).filter(_=>{if(l!==void 0)return l===ibe(_);if(u!==void 0)return u===sbe(_);if(c!==void 0)return c===lbe(_);if(d!==void 0)return d===ube(_);if(p!==void 0)return p===cbe(_);if(m!==void 0)return m===dbe(_);if(h!==void 0)return h===pbe(_);if(y!==void 0||E!==void 0||b!==void 0||g!==void 0){let N=!0;if(y!==void 0&&N&&(N=y===fbe(_)),E!==void 0&&N&&(N=E===hbe(_)),b!==void 0&&N&&(N=b===mbe(_)),g!==void 0){var P;N&&(N=Rn((P=ybe(_))!=null?P:null,_,g,le=>le))}return N}return!0}).filter(_=>o===void 0?!0:Rn(hl(_,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements}),_,o,P=>P)).filter(_=>i===void 0?!0:Rn(jc(_,{computedStyleSupportsPseudoElements:lt().computedStyleSupportsPseudoElements}),_,i,P=>P)).filter(_=>n===!1?u0(_,{isSubtreeInaccessible:K})===!1:!0)};function fve(e){var t;let r='*[role~="'+e+'"]',n=(t=fr.roleElements.get(e))!=null?t:new Set,o=new Set(Array.from(n).map(i=>{let{name:s}=i;return s}));return[r].concat(Array.from(o)).join(",")}var WB=e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},hve=function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+WB(n)},mve=function(e,t,r){let{hidden:n=lt().defaultHidden,name:o,description:i}=r===void 0?{}:r;if(lt()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+WB(o);let s="";Array.from(e.children).forEach(d=>{s+=abe(d,{hidden:n,includeDescription:i!==void 0})});let l;s.length===0?n===!1?l="There are no accessible roles. But there might be some inaccessible roles. If you wish to access them, then set the `hidden` option to `true`. Learn more about this here: https://testing-library.com/docs/dom-testing-library/api-queries#byrole":l="There are no available roles.":l=(`
|
|
670
|
-
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
671
|
-
|
|
672
|
-
`+s.replace(/\n/g,`
|
|
673
|
-
`).replace(/\n\s\s\n/g,`
|
|
674
|
-
|
|
675
|
-
`)+`
|
|
676
|
-
`).trim();let u="";o===void 0?u="":typeof o=="string"?u=' and name "'+o+'"':u=" and name `"+o+"`";let c="";return i===void 0?c="":typeof i=="string"?c=' and description "'+i+'"':c=" and description `"+i+"`",(`
|
|
677
|
-
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
|
|
678
|
-
|
|
679
|
-
`+l).trim()},g0=Mr(o0,o0.name,"queryAll"),[yve,gve,bve,vve,Eve]=ur(o0,hve,mve),b0=()=>lt().testIdAttribute,a0=function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return Tn(t[0]),$f(b0(),...t)},wve=(e,t)=>"Found multiple elements by: ["+b0()+'="'+t+'"]',_ve=(e,t)=>"Unable to find an element by: ["+b0()+'="'+t+'"]',v0=Mr(a0,a0.name,"queryAll"),[Sve,Ave,Cve,Rve,Tve]=ur(a0,wve,_ve),vl=Object.freeze({__proto__:null,queryAllByLabelText:d0,queryByLabelText:Cbe,getAllByLabelText:xbe,getByLabelText:qbe,findAllByLabelText:Rbe,findByLabelText:Tbe,queryByPlaceholderText:Dbe,queryAllByPlaceholderText:p0,getByPlaceholderText:Mbe,getAllByPlaceholderText:Ibe,findAllByPlaceholderText:Nbe,findByPlaceholderText:Bbe,queryByText:kbe,queryAllByText:f0,getByText:$be,getAllByText:Lbe,findAllByText:Ube,findByText:Hbe,queryByDisplayValue:Gbe,queryAllByDisplayValue:h0,getByDisplayValue:Ybe,getAllByDisplayValue:Wbe,findAllByDisplayValue:Kbe,findByDisplayValue:Jbe,queryByAltText:eve,queryAllByAltText:m0,getByAltText:rve,getAllByAltText:tve,findAllByAltText:nve,findByAltText:ove,queryByTitle:lve,queryAllByTitle:y0,getByTitle:cve,getAllByTitle:uve,findAllByTitle:dve,findByTitle:pve,queryByRole:yve,queryAllByRole:g0,getAllByRole:gve,getByRole:bve,findAllByRole:vve,findByRole:Eve,queryByTestId:Sve,queryAllByTestId:v0,getByTestId:Cve,getAllByTestId:Ave,findAllByTestId:Rve,findByTestId:Tve});function YB(e,t,r){return t===void 0&&(t=vl),r===void 0&&(r={}),Object.keys(t).reduce((n,o)=>{let i=t[o];return n[o]=i.bind(null,e),n},r)}var _B={copy:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},cut:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},paste:{EventType:"ClipboardEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionEnd:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionStart:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},compositionUpdate:{EventType:"CompositionEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},keyDown:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyPress:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},keyUp:{EventType:"KeyboardEvent",defaultInit:{bubbles:!0,cancelable:!0,charCode:0,composed:!0}},focus:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},focusIn:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},focusOut:{EventType:"FocusEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},change:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},input:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},invalid:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!0}},submit:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},reset:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!0}},click:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,button:0,composed:!0}},contextMenu:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dblClick:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drag:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragEnd:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragEnter:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragExit:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragLeave:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},dragOver:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},dragStart:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},drop:{EventType:"DragEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseDown:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseEnter:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseLeave:{EventType:"MouseEvent",defaultInit:{bubbles:!1,cancelable:!1,composed:!0}},mouseMove:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOut:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseOver:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},mouseUp:{EventType:"MouseEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},select:{EventType:"Event",defaultInit:{bubbles:!0,cancelable:!1}},touchCancel:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},touchEnd:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchMove:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},touchStart:{EventType:"TouchEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},resize:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},scroll:{EventType:"UIEvent",defaultInit:{bubbles:!1,cancelable:!1}},wheel:{EventType:"WheelEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},abort:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlay:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},canPlayThrough:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},durationChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},emptied:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},encrypted:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},ended:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedData:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadedMetadata:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},loadStart:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},pause:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},play:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},playing:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},progress:{EventType:"ProgressEvent",defaultInit:{bubbles:!1,cancelable:!1}},rateChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeked:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},seeking:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},stalled:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},suspend:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},timeUpdate:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},volumeChange:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},waiting:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},load:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},error:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},animationStart:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationEnd:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},animationIteration:{EventType:"AnimationEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionCancel:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionEnd:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},transitionRun:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},transitionStart:{EventType:"TransitionEvent",defaultInit:{bubbles:!0,cancelable:!1}},pointerOver:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerEnter:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},pointerDown:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerMove:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerUp:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerCancel:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},pointerOut:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},pointerLeave:{EventType:"PointerEvent",defaultInit:{bubbles:!1,cancelable:!1}},gotPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},lostPointerCapture:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!1,composed:!0}},popState:{EventType:"PopStateEvent",defaultInit:{bubbles:!0,cancelable:!1}},offline:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},online:{EventType:"Event",defaultInit:{bubbles:!1,cancelable:!1}},pageHide:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}},pageShow:{EventType:"PageTransitionEvent",defaultInit:{bubbles:!0,cancelable:!0}}},SB={doubleClick:"dblClick"};function Ff(e,t){return lt().eventWrapper(()=>{if(!t)throw new Error("Unable to fire an event - please provide an event object.");if(!e)throw new Error('Unable to fire a "'+t.type+'" event - please provide a DOM element.');return e.dispatchEvent(t)})}function Jv(e,t,r,n){let{EventType:o="Event",defaultInit:i={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...i,...r},{target:{value:l,files:u,...c}={}}=s;l!==void 0&&xve(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let d=MB(t),p=d[o]||d.Event,h;if(typeof p=="function")h=new p(e,s);else{h=d.document.createEvent(o);let{bubbles:y,cancelable:b,detail:E,...g}=s;h.initEvent(e,y,b,E),Object.keys(g).forEach(w=>{h[w]=g[w]})}return["dataTransfer","clipboardData"].forEach(y=>{let b=s[y];typeof b=="object"&&(typeof d.DataTransfer=="function"?Object.defineProperty(h,y,{value:Object.getOwnPropertyNames(b).reduce((E,g)=>(Object.defineProperty(E,g,{value:b[g]}),E),new d.DataTransfer)}):Object.defineProperty(h,y,{value:b}))}),h}Object.keys(_B).forEach(e=>{let{EventType:t,defaultInit:r}=_B[e],n=e.toLowerCase();Jv[e]=(o,i)=>Jv(n,o,i,{EventType:t,defaultInit:r}),Ff[e]=(o,i)=>Ff(o,Jv[e](o,i))});function xve(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:o}=Object.getOwnPropertyDescriptor(n,"value")||{};if(o&&r!==o)o.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}Object.keys(SB).forEach(e=>{let t=SB[e];Ff[e]=function(){return Ff[t](...arguments)}});function qve(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
680
|
-
`)}function Ove(e){return CB.default.compressToEncodedURIComponent(qve(e))}function Pve(e){return"https://testing-playground.com/#markup="+Ove(e)}var Dve=(e,t,r)=>Array.isArray(e)?e.forEach(n=>Nf(n,t,r)):Nf(e,t,r),Ive=function(e){if(e===void 0&&(e=l0().body),!e||!("innerHTML"in e)){console.log("The element you're providing isn't a valid DOM element.");return}if(!e.innerHTML){console.log("The provided element doesn't have any children.");return}let t=Pve(e.innerHTML);return console.log(`Open this URL in your browser
|
|
681
|
-
|
|
682
|
-
`+t),t},AB={debug:Dve,logTestingPlaygroundURL:Ive},KB=typeof document<"u"&&document.body?YB(document.body,vl,AB):Object.keys(vl).reduce((e,t)=>(e[t]=()=>{throw new TypeError("For queries bound to document.body a global document has to be available... Learn more: https://testing-library.com/s/screen-global-error")},e),AB);var Mve=Object.defineProperty,Nve=(e,t)=>{for(var r in t)Mve(e,r,{get:t[r],enumerable:!0})},ej={};Nve(ej,{findAllByShadowAltText:()=>Oj,findAllByShadowDisplayValue:()=>Cj,findAllByShadowLabelText:()=>cj,findAllByShadowPlaceholderText:()=>mj,findAllByShadowRole:()=>aj,findAllByShadowTestId:()=>kj,findAllByShadowText:()=>Ej,findAllByShadowTitle:()=>Nj,findByShadowAltText:()=>Pj,findByShadowDisplayValue:()=>Rj,findByShadowLabelText:()=>dj,findByShadowPlaceholderText:()=>yj,findByShadowRole:()=>ij,findByShadowTestId:()=>Lj,findByShadowText:()=>wj,findByShadowTitle:()=>wl,getAllByShadowAltText:()=>xj,getAllByShadowDisplayValue:()=>Sj,getAllByShadowLabelText:()=>lj,getAllByShadowPlaceholderText:()=>fj,getAllByShadowRole:()=>nj,getAllByShadowTestId:()=>jj,getAllByShadowText:()=>bj,getAllByShadowTitle:()=>Ij,getByShadowAltText:()=>qj,getByShadowDisplayValue:()=>Aj,getByShadowLabelText:()=>uj,getByShadowPlaceholderText:()=>hj,getByShadowRole:()=>oj,getByShadowTestId:()=>Fj,getByShadowText:()=>vj,getByShadowTitle:()=>Mj,queryAllByShadowAltText:()=>C0,queryAllByShadowDisplayValue:()=>A0,queryAllByShadowLabelText:()=>w0,queryAllByShadowPlaceholderText:()=>_0,queryAllByShadowRole:()=>E0,queryAllByShadowTestId:()=>T0,queryAllByShadowText:()=>S0,queryAllByShadowTitle:()=>R0,queryByShadowAltText:()=>Tj,queryByShadowDisplayValue:()=>_j,queryByShadowLabelText:()=>sj,queryByShadowPlaceholderText:()=>pj,queryByShadowRole:()=>rj,queryByShadowTestId:()=>Bj,queryByShadowText:()=>gj,queryByShadowTitle:()=>Dj});jve();function Bve(){Fve()}function JB(){HTMLSlotElement.prototype.querySelectorAll=HTMLElement.prototype.querySelectorAll}function cn(e){Bve();try{let t=e();return typeof t=="object"&&"finally"in t&&typeof t.finally=="function"&&t.finally(()=>JB()),t}finally{JB()}}function jve(){if(typeof ShadowRoot>"u")throw"Your environment does not support shadow roots.";ShadowRoot.prototype.matches==null&&Object.defineProperties(ShadowRoot.prototype,{matches:{get(){return function(e){return e.trim()==="*"?!0:!!this.querySelector(e)}}}}),ShadowRoot.prototype.outerHTML==null&&Object.defineProperties(ShadowRoot.prototype,{outerHTML:{get(){return this.innerHTML}}})}function Fve(){HTMLSlotElement.prototype.querySelectorAll=function(e){let t=HTMLElement.prototype.querySelectorAll,r=[];return this.assignedElements({flatten:!0}).forEach(n=>{let o=n,i=document.createElement("div");i.appendChild(o.cloneNode(!1)),i.querySelector(e)&&r.push(o),r=r.concat(Array.from(o.querySelectorAll(e)))}),r.length==0&&(r=Array.from(t.call(this,e))),[...new Set(r)]}}function go(e,t={shallow:!1}){return tj(e,"*",t)}function tj(e,t,r={shallow:!1},n=[],o=[]){return e instanceof Document&&(e=document.documentElement),n=[e],o.push(e),e instanceof HTMLElement&&e.shadowRoot!=null&&e.shadowRoot.mode!=="closed"&&(o.push(e.shadowRoot),n.push(e.shadowRoot)),n.forEach(i=>{i.querySelectorAll(t).forEach(s=>{if(s.shadowRoot==null||s.shadowRoot.mode==="closed"){o.push(s);return}if(o.push(s.shadowRoot),r.shallow===!0){s.shadowRoot.querySelectorAll(t).forEach(l=>{o.push(l)});return}s.shadowRoot.querySelectorAll(t).forEach(l=>{o.push(l),n.push(l)}),tj(s.shadowRoot,t,r,n,o)})}),[...new Set(o)]}function bo(e){return e.map(t=>(...r)=>{let[n,o,i,...s]=r;return i==null&&(i={}),i.suggest=!1,t(n,o,i,...s)})}function E0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>go(t,n).map(o=>g0(o,r,n)).flat(1/0)))]}var kve=(e,t)=>`Found multiple elements with the role of: ${t}`,Lve=(e,t)=>`Unable to find an element with the role of: ${t}`,[$ve,Uve,Hve,zve,Vve]=bo(ur(E0,kve,Lve)),rj=(...e)=>$ve(...e),nj=(...e)=>Uve(...e),oj=(...e)=>Hve(...e),aj=(...e)=>zve(...e),ij=(...e)=>Vve(...e);function w0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>go(t,n).map(o=>d0(o,r,n)).flat(1/0)))]}var Gve=(e,t)=>`Found multiple elements with the label text of: ${t}`,Wve=(e,t)=>`Unable to find an element with the label text of: ${t}`,[Yve,Kve,Jve,Xve,Qve]=bo(ur(w0,Gve,Wve)),sj=(...e)=>Yve(...e),lj=(...e)=>Kve(...e),uj=(...e)=>Jve(...e),cj=(...e)=>Xve(...e),dj=(...e)=>Qve(...e);function _0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>go(t,n).map(o=>p0(o,r,n)).flat(1/0)))]}var Zve=(e,t)=>`Found multiple elements with the placeholder text of: ${t}`,e0e=(e,t)=>`Unable to find an element with the placeholder text of: ${t}`,[t0e,r0e,n0e,o0e,a0e]=bo(ur(_0,Zve,e0e)),pj=(...e)=>t0e(...e),fj=(...e)=>r0e(...e),hj=(...e)=>n0e(...e),mj=(...e)=>o0e(...e),yj=(...e)=>a0e(...e);function S0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>go(t,n).map(o=>f0(o,r,n)).flat(1/0)))]}var i0e=(e,t)=>`Found multiple elements with the text of: ${t}`,s0e=(e,t)=>`Unable to find an element with the text of: ${t}`,[l0e,u0e,c0e,d0e,p0e]=bo(ur(S0,i0e,s0e)),gj=(...e)=>l0e(...e),bj=(...e)=>u0e(...e),vj=(...e)=>c0e(...e),Ej=(...e)=>d0e(...e),wj=(...e)=>p0e(...e);function A0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>go(t,n).map(o=>h0(o,r,n)).flat(1/0)))]}var f0e=(e,t)=>`Found multiple elements with the display value of: ${t}`,h0e=(e,t)=>`Unable to find an element with the display value of: ${t}`,[m0e,y0e,g0e,b0e,v0e]=bo(ur(A0,f0e,h0e)),_j=(...e)=>m0e(...e),Sj=(...e)=>y0e(...e),Aj=(...e)=>g0e(...e),Cj=(...e)=>b0e(...e),Rj=(...e)=>v0e(...e);function C0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>go(t,n).map(o=>m0(o,r,n)).flat(1/0)))]}var E0e=(e,t)=>`Found multiple elements with the alt text of: ${t}`,w0e=(e,t)=>`Unable to find an element with the alt text of: ${t}`,[_0e,S0e,A0e,C0e,R0e]=bo(ur(C0,E0e,w0e)),Tj=(...e)=>_0e(...e),xj=(...e)=>S0e(...e),qj=(...e)=>A0e(...e),Oj=(...e)=>C0e(...e),Pj=(...e)=>R0e(...e);function R0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>go(t,n).map(o=>y0(o,r,n)).flat(1/0)))]}var T0e=(e,t)=>`Found multiple elements with the title of: ${t}`,x0e=(e,t)=>`Unable to find an element with the title of: ${t}`,[q0e,O0e,P0e,D0e,I0e]=bo(ur(R0,T0e,x0e)),Dj=(...e)=>q0e(...e),Ij=(...e)=>O0e(...e),Mj=(...e)=>P0e(...e),Nj=(...e)=>D0e(...e),wl=(...e)=>I0e(...e);function T0(...e){let[t,r,n]=e;return n==null&&(n={}),n.suggest=!1,[...new Set(cn(()=>go(t,n).map(o=>v0(o,r,n)).flat(1/0)))]}var M0e=(e,t)=>`Found multiple elements with the test id of: ${t}`,N0e=(e,t)=>`Unable to find an element with the test id of: ${t}`,[B0e,j0e,F0e,k0e,L0e]=bo(ur(T0,M0e,N0e)),Bj=(...e)=>B0e(...e),jj=(...e)=>j0e(...e),Fj=(...e)=>F0e(...e),kj=(...e)=>k0e(...e),Lj=(...e)=>L0e(...e),XB=/([^\S(\r\n|\r|\n)]*[\f\n\r\t\v]+)/.source;function $0e(e){return e.replace(new RegExp(`${XB}.*${XB}{2,}`,"g"),"")}function U0e(...e){let[t,r,n]=e,o=Wj(n?.filterNode||Uj);return n==null&&(n={}),n.plugins==null&&(n.plugins=[]),n.plugins.push(o),cn(()=>ki(t,r,{...n,plugins:[o]}))}function $j(e){return e.replace(/</g,"<").replace(/>/g,">")}function Uj(e){return e.nodeType!==x0&&(e.nodeType!==zj||!e.matches(lt().defaultIgnore))}var H0e=(e,t,r,n,o,i,s)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let d=t[c],p=s(d,r,l,o,i);return typeof d!="string"&&(p.indexOf(`
|
|
683
|
-
`)!==-1&&(p=r.spacingOuter+l+p+r.spacingOuter+n),p="{"+p+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+p+u.value.close}).join("")},z0e=3,V0e=(e,t,r,n,o,i)=>$0e(e.map(s=>{let l=typeof s=="string"?Hj(s,t):i(s,t,r,n,o);return l===""&&typeof s=="object"&&s!=null&&s.nodeType!==z0e?"":t.spacingOuter+r+l}).join("")),Hj=(e,t)=>{let r=t.colors.content;return r.open+$j(e)+r.close},G0e=(e,t)=>{let r=t.colors.comment;return r.open+"<!--"+$j(e)+"-->"+r.close},W0e=(e,t,r,n,o)=>{let i=n.colors.tag;return i.open+"<"+e+(t&&i.close+t+n.spacingOuter+o+i.open)+(r?">"+i.close+r+n.spacingOuter+o+i.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+i.close},Y0e=(e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" \u2026"+r.open+" />"+r.close},zj=1,Vj=3,x0=8,Gj=11,K0e=/^((HTML|SVG)\w*)?Element$/,J0e=e=>{var t;let r=((t=e?.constructor)==null?void 0:t.name)||"",{nodeType:n,tagName:o}=e,i=typeof o=="string"&&o.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is")||e instanceof HTMLElement;return n===zj&&(K0e.test(r)||i)||n===Vj&&r==="Text"||n===x0&&r==="Comment"||n===Gj};function X0e(e){return e.nodeType===Vj}function Q0e(e){return e.nodeType===x0}function QB(e){return e.nodeType===Gj}function Wj(e){function t(r){let n=Array.prototype.slice.call(r.childNodes||r.children);return"shadowRoot"in r&&r.shadowRoot!=null&&r.shadowRoot.mode!=="closed"&&n.unshift(r.shadowRoot),n.filter(e)}return{test:r=>r?.constructor&&J0e(r),serialize:(r,n,o,i,s,l)=>{if(X0e(r))return Hj(r.data,n);if(Q0e(r))return G0e(r.data,n);let u="DocumentFragment";return"tagName"in r&&r.tagName?u=r.tagName.toLowerCase():r instanceof ShadowRoot&&(u="ShadowRoot"),++i>n.maxDepth?Y0e(u,n):W0e(u,H0e(QB(r)?[]:Array.from(r.attributes).map(c=>c.name).sort(),QB(r)?{}:Array.from(r.attributes).reduce((c,d)=>(c[d.name]=d.value,c),{}),n,o+n.indent,i,s,l),V0e(t(r),n,o+n.indent,i,s,l),n,o)}}}function ZB(...e){let[t,r,n]=e,o=Wj(n?.filterNode||Uj);n==null&&(n={}),n.plugins==null&&(n.plugins=[]),n.plugins.push(o),cn(()=>Nf(t,r,n))}function Z0e(...e){let[t,r,n]=e;Array.isArray(t)?t.forEach(o=>ZB(o,r,n)):ZB(t,r,n)}var OAe={...KB,debug:Z0e,queryAllByShadowRole:(...e)=>E0(document.documentElement,e[0],e[1]),queryByShadowRole:(...e)=>rj(document.documentElement,e[0],e[1]),getAllByShadowRole:(...e)=>nj(document.documentElement,e[0],e[1]),getByShadowRole:(...e)=>oj(document.documentElement,e[0],e[1]),findAllByShadowRole:(...e)=>aj(document.documentElement,e[0],e[1],e[2]),findByShadowRole:(...e)=>ij(document.documentElement,e[0],e[1],e[2]),queryAllByShadowLabelText:(...e)=>w0(document.documentElement,e[0],e[1]),queryByShadowLabelText:(...e)=>sj(document.documentElement,e[0],e[1]),getAllByShadowLabelText:(...e)=>lj(document.documentElement,e[0],e[1]),getByShadowLabelText:(...e)=>uj(document.documentElement,e[0],e[1]),findAllByShadowLabelText:(...e)=>cj(document.documentElement,e[0],e[1],e[2]),findByShadowLabelText:(...e)=>dj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowPlaceholderText:(...e)=>_0(document.documentElement,e[0],e[1]),queryByShadowPlaceholderText:(...e)=>pj(document.documentElement,e[0],e[1]),getAllByShadowPlaceholderText:(...e)=>fj(document.documentElement,e[0],e[1]),getByShadowPlaceholderText:(...e)=>hj(document.documentElement,e[0],e[1]),findAllByShadowPlaceholderText:(...e)=>mj(document.documentElement,e[0],e[1],e[2]),findByShadowPlaceholderText:(...e)=>yj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowText:(...e)=>S0(document.documentElement,e[0],e[1]),queryByShadowText:(...e)=>gj(document.documentElement,e[0],e[1]),getAllByShadowText:(...e)=>bj(document.documentElement,e[0],e[1]),getByShadowText:(...e)=>vj(document.documentElement,e[0],e[1]),findAllByShadowText:(...e)=>Ej(document.documentElement,e[0],e[1],e[2]),findByShadowText:(...e)=>wj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowDisplayValue:(...e)=>A0(document.documentElement,e[0],e[1]),queryByShadowDisplayValue:(...e)=>_j(document.documentElement,e[0],e[1]),getAllByShadowDisplayValue:(...e)=>Sj(document.documentElement,e[0],e[1]),getByShadowDisplayValue:(...e)=>Aj(document.documentElement,e[0],e[1]),findAllByShadowDisplayValue:(...e)=>Cj(document.documentElement,e[0],e[1],e[2]),findByShadowDisplayValue:(...e)=>Rj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowAltText:(...e)=>C0(document.documentElement,e[0],e[1]),queryByShadowAltText:(...e)=>Tj(document.documentElement,e[0],e[1]),getAllByShadowAltText:(...e)=>xj(document.documentElement,e[0],e[1]),getByShadowAltText:(...e)=>qj(document.documentElement,e[0],e[1]),findAllByShadowAltText:(...e)=>Oj(document.documentElement,e[0],e[1],e[2]),findByShadowAltText:(...e)=>Pj(document.documentElement,e[0],e[1],e[2]),queryAllByShadowTitle:(...e)=>R0(document.documentElement,e[0],e[1]),queryByShadowTitle:(...e)=>Dj(document.documentElement,e[0],e[1]),getAllByShadowTitle:(...e)=>Ij(document.documentElement,e[0],e[1]),getByShadowTitle:(...e)=>Mj(document.documentElement,e[0],e[1]),findAllByShadowTitle:(...e)=>Nj(document.documentElement,e[0],e[1],e[2]),findByShadowTitle:(...e)=>wl(document.documentElement,e[0],e[1],e[2]),queryAllByShadowTestId:(...e)=>T0(document.documentElement,e[0],e[1]),queryByShadowTestId:(...e)=>Bj(document.documentElement,e[0],e[1]),getAllByShadowTestId:(...e)=>jj(document.documentElement,e[0],e[1]),getByShadowTestId:(...e)=>Fj(document.documentElement,e[0],e[1]),findAllByShadowTestId:(...e)=>kj(document.documentElement,e[0],e[1],e[2]),findByShadowTestId:(...e)=>Lj(document.documentElement,e[0],e[1],e[2])},DAe={...vl,...ej};NB({getElementError(e,t){let r=U0e(t),n=new Error([e,`Ignored nodes: comments, ${lt().defaultIgnore}
|
|
684
|
-
${r}`].filter(Boolean).join(`
|
|
685
|
-
|
|
686
|
-
`));return n.name="ShadowDOMTestingLibraryElementError",n}});var eEe={component:"test-next"},Uf=eEe,Yj={render:()=>O0`
|
|
687
|
-
<qti-test>
|
|
688
|
-
<test-container test-url="/assets/qti-conformance/Basic/T4-T7/assessment.xml"> </test-container>
|
|
689
|
-
<test-next>volgende</test-next>
|
|
690
|
-
</qti-test>
|
|
691
|
-
`},Hf={render:Yj.render,play:async({canvasElement:e})=>{let t=e.querySelector("test-next");await(0,Zt.waitFor)(()=>(0,Zt.expect)(t).toBeEnabled()),await Zt.fireEvent.click(t),await Zt.fireEvent.click(t),await Zt.fireEvent.click(t),(0,Zt.expect)(t).toBeDisabled()}},q0={render:Yj.render,play:async({canvasElement:e})=>{let t=e.querySelector("test-next");await(0,Zt.waitFor)(()=>(0,Zt.expect)(t).toBeEnabled()),await new Promise(o=>setTimeout(o,500));let r=await wl(e,"T1 - Test Entry - Item 1");(0,Zt.expect)(r).toBeInTheDocument(),await new Promise(o=>setTimeout(o,500)),await Zt.fireEvent.click(t),await new Promise(o=>setTimeout(o,500));let n=await wl(e,"T1 - Choice Interaction - Multiple Cardinality");(0,Zt.expect)(n).toBeInTheDocument(),await Zt.fireEvent.click(t),await new Promise(o=>setTimeout(o,500)),await Zt.fireEvent.click(t),(0,Zt.expect)(t).toBeDisabled()}};async function Kj(e,t){if(!e||e.length===0)return null;let r=await e[0]({args:t}),n={};for(let[o,i]of Object.entries(r))n[o]=i instanceof Promise?await i:i;return n}var Jj=ts(q0,Uf),tEe=ts(q0,Uf);describe.sequential("suite",()=>{let e;beforeEach(()=>{e=document.createElement("div"),document.body.appendChild(e)}),afterEach(()=>{e&&(e.remove(),e=null)}),beforeEach(async()=>{let t=await Kj(Hf.loaders,Jj.args);P0(Hf.render(Uf.args,{loaded:t,argTypes:Hf.argTypes}),e)}),test("text-next fast clicking between items, cancelling previous requests",async()=>{await Jj.play({canvasElement:e})}),test("text-next slow clicking between items, cancelling previous requests",async()=>{await tEe.play({canvasElement:e})})});
|
|
692
|
-
/*! Bundled license information:
|
|
693
|
-
|
|
694
|
-
react-is/cjs/react-is.production.min.js:
|
|
695
|
-
(** @license React v17.0.2
|
|
696
|
-
* react-is.production.min.js
|
|
697
|
-
*
|
|
698
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
699
|
-
*
|
|
700
|
-
* This source code is licensed under the MIT license found in the
|
|
701
|
-
* LICENSE file in the root directory of this source tree.
|
|
702
|
-
*)
|
|
703
|
-
|
|
704
|
-
react-is/cjs/react-is.development.js:
|
|
705
|
-
(** @license React v17.0.2
|
|
706
|
-
* react-is.development.js
|
|
707
|
-
*
|
|
708
|
-
* Copyright (c) Facebook, Inc. and its affiliates.
|
|
709
|
-
*
|
|
710
|
-
* This source code is licensed under the MIT license found in the
|
|
711
|
-
* LICENSE file in the root directory of this source tree.
|
|
712
|
-
*)
|
|
713
|
-
*/
|