@demos-europe/demosplan-ui 0.4.21 → 0.4.22
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/.claude/settings.local.json +4 -19
- package/.idea/demosplan-ui.iml +11 -0
- package/.idea/git_toolbox_blame.xml +6 -0
- package/.idea/git_toolbox_prj.xml +15 -0
- package/.idea/material_theme_project_new.xml +13 -0
- package/.idea/modules.xml +8 -0
- package/.idea/sonarlint/issuestore/0/2/02d5146f94659f11c56f0ea1d9c504ff9492b546 +0 -0
- package/.idea/sonarlint/issuestore/0/2/02f4902c3db5247c732bde5aaf0d4fb55363c3b1 +3 -0
- package/.idea/sonarlint/issuestore/0/3/0343acf33ca1b061164f9846ff8ce30429205a2a +0 -0
- package/.idea/sonarlint/issuestore/0/4/04d5869ea32abbf6abf5a3cb9a671637ac2e345b +0 -0
- package/.idea/sonarlint/issuestore/0/9/0918cbb76f2c44f223706cec9d31a32cd1177ce4 +0 -0
- package/.idea/sonarlint/issuestore/0/9/091aff741808a09242f252264b14f4a9adaa5305 +0 -0
- package/.idea/sonarlint/issuestore/0/b/0b63533e07c8b10a8fbfe7f35df1bffec8103e14 +0 -0
- package/.idea/sonarlint/issuestore/0/c/0c0fd6a370cd10350462b46937e98f903bcb1435 +0 -0
- package/.idea/sonarlint/issuestore/0/e/0e600c187f4cf8bd0dd6b678f55067a8300ab570 +0 -0
- package/.idea/sonarlint/issuestore/0/f/0f43007644f06a63afbfbfc129aadd61bf40318a +0 -0
- package/.idea/sonarlint/issuestore/1/4/14148858b7b4a0aa23ddfdc41ef62be2db925c70 +0 -0
- package/.idea/sonarlint/issuestore/1/5/15ff6a89ff653ef3176ddb9c5e0b59c16c2db949 +0 -0
- package/.idea/sonarlint/issuestore/1/6/169d7dbe9a819ce675ee66de130c5a7c92bb763d +0 -0
- package/.idea/sonarlint/issuestore/1/8/18a1ebb3a44ad977a5cfa60b6620a47ba00163a3 +0 -0
- package/.idea/sonarlint/issuestore/1/f/1fd3ecff7dd864e5b00c14a4333d8cde8c9faf11 +0 -0
- package/.idea/sonarlint/issuestore/2/0/204a133d39c4a2c7b86de23f541f342e0a7a3234 +0 -0
- package/.idea/sonarlint/issuestore/2/4/2491406c07bfc2b0f7ed8e010e56d6e468c374d0 +0 -0
- package/.idea/sonarlint/issuestore/2/5/257d0fa8d58da6d96f5a7af9724b2e1c92c62a2d +3 -0
- package/.idea/sonarlint/issuestore/2/8/282dcb1e4436703724dd35bb567086834c3ebdb4 +3 -0
- package/.idea/sonarlint/issuestore/2/a/2aeb7bd71ee8453ff4601a1fc8fcd4fa9c5fe355 +0 -0
- package/.idea/sonarlint/issuestore/2/c/2c25e229323612e7988c659ad7b51c7b1e2b2403 +0 -0
- package/.idea/sonarlint/issuestore/2/f/2fa1946a2afc952506e41d87833ed29401fc29a0 +0 -0
- package/.idea/sonarlint/issuestore/3/4/3463c59843592ad2a00c54f39e2943583bd6fff9 +0 -0
- package/.idea/sonarlint/issuestore/3/9/390f31a969ba7940070bf32aac2a0d1f7b7bd78b +0 -0
- package/.idea/sonarlint/issuestore/3/e/3ebc20bbfa3c33cf20481a2de7591c997c68abb9 +0 -0
- package/.idea/sonarlint/issuestore/4/1/417425bfa2cef1f22539e792dcb0a7f7784f9604 +0 -0
- package/.idea/sonarlint/issuestore/4/1/41ac9772c7dd3fc038485f99106b427a5e28f2e3 +0 -0
- package/.idea/sonarlint/issuestore/4/4/44d3ca69a31c68c4d920b1fbb0083732713d2690 +2 -0
- package/.idea/sonarlint/issuestore/4/8/48a8ec70d252121fbc7df4e8a45044e964b5d6b7 +0 -0
- package/.idea/sonarlint/issuestore/4/9/49e951d8246d0914f9d10b3955a7178866cfcee9 +0 -0
- package/.idea/sonarlint/issuestore/4/d/4def76d1eea91e36f7789929705c032be6df27cd +0 -0
- package/.idea/sonarlint/issuestore/4/f/4f40ac4df99b3f8bbd80db9b729d3b4b401623eb +0 -0
- package/.idea/sonarlint/issuestore/4/f/4f4bba1840f039e57f25bbd19ec0e20c15fc0e1d +0 -0
- package/.idea/sonarlint/issuestore/5/1/51f466e675bcd7ca84bf6287bab7404cde26db22 +0 -0
- package/.idea/sonarlint/issuestore/5/2/5222c3d19fd979fed770b7f3664147b2ed16b230 +0 -0
- package/.idea/sonarlint/issuestore/5/2/52cb9deee3ee8b8add01ec855fc4a45818ac7638 +5 -0
- package/.idea/sonarlint/issuestore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
- package/.idea/sonarlint/issuestore/5/4/5471e6ec0c0e189560fccc7f474993fc6e1f758a +0 -0
- package/.idea/sonarlint/issuestore/5/7/578f3ebc33c3ca6ab8e66c97f3c2eba2237b40ea +0 -0
- package/.idea/sonarlint/issuestore/5/8/5831775a729fcf9cb12959996af17091f46f440b +0 -0
- package/.idea/sonarlint/issuestore/5/8/5842d31a915855888fd63b1aca8c3a4dd8c95880 +0 -0
- package/.idea/sonarlint/issuestore/5/c/5ce582bce204b2edd80e7602b279b3d64cc737e0 +0 -0
- package/.idea/sonarlint/issuestore/5/f/5f2f0e365ced14f666cef2ac164c93530d4e0c2a +0 -0
- package/.idea/sonarlint/issuestore/6/0/60882ef9544224120d1d72534f44b973f3a57746 +0 -0
- package/.idea/sonarlint/issuestore/6/0/60a7f3adc2729926865b49b02008b2874d65429d +2 -0
- package/.idea/sonarlint/issuestore/6/0/60b89c88214907466f4d004bb8a2e56a468da7f5 +0 -0
- package/.idea/sonarlint/issuestore/6/0/60bb79bf1ee7929bf0f8c20166ae12e49d7af9ea +3 -0
- package/.idea/sonarlint/issuestore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0 +0 -0
- package/.idea/sonarlint/issuestore/6/5/65c98391f12bde62f0955f439128e0f8cb1eac6a +0 -0
- package/.idea/sonarlint/issuestore/6/7/6733e547a8a62f0e2b41358995a67255b967bfeb +0 -0
- package/.idea/sonarlint/issuestore/6/8/68e29ca13d4f4cada132a831a6a1b52c0a0ebfd3 +0 -0
- package/.idea/sonarlint/issuestore/6/9/692f3fce406d97e843fbf744ad689b51e3754dff +0 -0
- package/.idea/sonarlint/issuestore/6/a/6a835d16be742d060f08912c5808bbf862426d3d +0 -0
- package/.idea/sonarlint/issuestore/6/c/6cd35da18772c8847edacba05dd265c15ded5d0b +0 -0
- package/.idea/sonarlint/issuestore/6/e/6e142af7dffa0e82efece3ff58722e96f4283a3f +0 -0
- package/.idea/sonarlint/issuestore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/issuestore/7/2/725cc9c146a136cafafef5ffec4cb307badb1d0e +0 -0
- package/.idea/sonarlint/issuestore/7/3/73e399246034aaf963bb1ad4b0a0e2b5228f57cc +0 -0
- package/.idea/sonarlint/issuestore/7/7/7710090cd8b91b750ed58a2f3196d971d7de988b +0 -0
- package/.idea/sonarlint/issuestore/7/8/785055d2374e9ff4841f875174c20cad0c0d9a80 +0 -0
- package/.idea/sonarlint/issuestore/7/8/78a09338d0e7bb67a5d2643580367940bee1e5b2 +0 -0
- package/.idea/sonarlint/issuestore/7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e +0 -0
- package/.idea/sonarlint/issuestore/7/a/7a6581baac8c66b8e331b8187db03c64201001f1 +0 -0
- package/.idea/sonarlint/issuestore/8/5/852060cc24633564871605ce8d1e59970ef2485c +0 -0
- package/.idea/sonarlint/issuestore/8/5/85e8222943093a270d57ab07964a75d9a15648eb +0 -0
- package/.idea/sonarlint/issuestore/8/6/86abd2602e79b84f352d24c72f079541f41aeb6d +0 -0
- package/.idea/sonarlint/issuestore/8/8/881d5d47bdc17ef8facebef59b68b5fc099a0293 +0 -0
- package/.idea/sonarlint/issuestore/8/8/882c515e635f40a7e1ad419c70c0f2d2c17e2f37 +0 -0
- package/.idea/sonarlint/issuestore/8/9/89d3df066dd0ec67c57e82d68cce94cb72f820b5 +0 -0
- package/.idea/sonarlint/issuestore/8/b/8bff50de15c7d9b1166aa9ad98243d1a04b7e4c4 +0 -0
- package/.idea/sonarlint/issuestore/8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014 +0 -0
- package/.idea/sonarlint/issuestore/9/0/900448384f6077c203e834650b95017f7a373583 +2 -0
- package/.idea/sonarlint/issuestore/9/1/912f3a935b193eb148539815f9aef4a4252c12ba +0 -0
- package/.idea/sonarlint/issuestore/9/4/94dd0b13f6f12ba5eae129046b1d061ddd546d72 +5 -0
- package/.idea/sonarlint/issuestore/9/5/958a078793035ab0aad2086f7be79b55628402c0 +0 -0
- package/.idea/sonarlint/issuestore/9/6/96dcf27dc8ae3662215096d9e00c194897d29c0b +0 -0
- package/.idea/sonarlint/issuestore/9/7/9730e89df0a4367176020e461c38c37b7ae58b9a +0 -0
- package/.idea/sonarlint/issuestore/9/8/98c4f1f9f94adc9e53100dbf68ce8c5df2a47f01 +0 -0
- package/.idea/sonarlint/issuestore/9/9/9920d82d6cbbfe404d91c79781048e0c0514767e +0 -0
- package/.idea/sonarlint/issuestore/9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48 +0 -0
- package/.idea/sonarlint/issuestore/a/1/a1991714da3efb5da4456ee802727afe63035aa5 +0 -0
- package/.idea/sonarlint/issuestore/a/7/a70ff2c42b6ffb69f1686cf6ced65733a75e056f +0 -0
- package/.idea/sonarlint/issuestore/a/8/a8b0d4ad8d44e8bb48b2ca34ddbd84b549ee9105 +3 -0
- package/.idea/sonarlint/issuestore/a/a/aaf524b8c18d54117ff8a4de5b06cdd7f5776d0d +0 -0
- package/.idea/sonarlint/issuestore/a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7 +0 -0
- package/.idea/sonarlint/issuestore/b/0/b0a40903f86afa7d5940f95f66995a290b6d4fe2 +0 -0
- package/.idea/sonarlint/issuestore/b/2/b26e3039f1510dfa296fdfb6a1a5f12cdca84371 +0 -0
- package/.idea/sonarlint/issuestore/b/3/b3349079128f17cb6e0cecf3cccfa4fe5188f92f +3 -0
- package/.idea/sonarlint/issuestore/b/4/b4a9acebce4d56aa444e5b857fa140163bcbd47f +0 -0
- package/.idea/sonarlint/issuestore/b/5/b5320db1c0a02ceb68cb70d050f5dc9d420b928b +0 -0
- package/.idea/sonarlint/issuestore/b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7 +0 -0
- package/.idea/sonarlint/issuestore/b/9/b9f0a0a757a4dc7cc57724b3534dfdf189c25ea6 +0 -0
- package/.idea/sonarlint/issuestore/b/b/bb971971f3915fff5703a078f2784df410b7298e +0 -0
- package/.idea/sonarlint/issuestore/b/e/be023cb04cabb819ee6a97d9fc2a088cb4eded97 +0 -0
- package/.idea/sonarlint/issuestore/b/e/be633e1bf05efdb3dec5eae2777f024e1aee5599 +0 -0
- package/.idea/sonarlint/issuestore/c/2/c2b3144db64026759165a569b0f1f5086c6be0d3 +0 -0
- package/.idea/sonarlint/issuestore/c/6/c62bdf361b714427c19bdc47c8c97f90cce4dad3 +0 -0
- package/.idea/sonarlint/issuestore/c/6/c680d0675608db3debbc56eab6dae6478ea3d2db +0 -0
- package/.idea/sonarlint/issuestore/c/b/cb44f758b6159383fc5e20e1b38c4a3781d4e4bc +0 -0
- package/.idea/sonarlint/issuestore/c/c/ccc24fa53ed888a7471d8f2d4afae2e0ae89171d +0 -0
- package/.idea/sonarlint/issuestore/c/e/ced731c009a96db35c13542868ab840aa2ef6de4 +0 -0
- package/.idea/sonarlint/issuestore/d/1/d13af3479d43279b14b3cf9dbac30965ada1dadb +0 -0
- package/.idea/sonarlint/issuestore/d/2/d2b81feb53c8d963c77dbd7e63afdc568883baad +0 -0
- package/.idea/sonarlint/issuestore/d/3/d350eccaa5bdadf800f3540db3f0e94c0417a0f3 +0 -0
- package/.idea/sonarlint/issuestore/d/3/d3f37835937f760d81f9a81b56b898afec37a1e7 +0 -0
- package/.idea/sonarlint/issuestore/d/4/d4e02cf17e1477bc4516d78f557bdcd1b933fafd +0 -0
- package/.idea/sonarlint/issuestore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262 +0 -0
- package/.idea/sonarlint/issuestore/d/6/d690bc5bd5193edbd3f7e29b2d1be4d3f991937b +0 -0
- package/.idea/sonarlint/issuestore/d/7/d76f3a535e1a92673864b9fca18992b4f862dbba +2 -0
- package/.idea/sonarlint/issuestore/d/a/dac4ed416fff2cc3bff02b81a88328ec7c19de0e +0 -0
- package/.idea/sonarlint/issuestore/e/0/e00bc8f8672ab358b454ac1d2030d3526a374653 +0 -0
- package/.idea/sonarlint/issuestore/e/0/e017677da38130b31bd766d7a84884050023d597 +0 -0
- package/.idea/sonarlint/issuestore/e/1/e15a6d4820640fb201495dfd5875489fd536ebb3 +0 -0
- package/.idea/sonarlint/issuestore/e/4/e4ba9c2909b6e543ec138e95d86cee25af778d54 +0 -0
- package/.idea/sonarlint/issuestore/e/8/e804956e69c2d0944d08ff64caa3e6286590814b +0 -0
- package/.idea/sonarlint/issuestore/f/0/f039b4d90e01657caf0dbfd31860e93d585b6752 +0 -0
- package/.idea/sonarlint/issuestore/f/0/f096934f71a0918e4829a4f76b3bba64b8d65f1e +0 -0
- package/.idea/sonarlint/issuestore/f/1/f11f7a7b3a7306f994e28b2eba9c69a5b555c017 +0 -0
- package/.idea/sonarlint/issuestore/f/1/f1b96288c62ba6818b30b3d2e7506e30c1b4a742 +3 -0
- package/.idea/sonarlint/issuestore/f/3/f351a44ab2314976174827d1ca2495fd38ea8df8 +0 -0
- package/.idea/sonarlint/issuestore/f/3/f37789881b66dffd7123fa80ee7ad838f3bdafaf +0 -0
- package/.idea/sonarlint/issuestore/f/4/f40b81d4c7242e4401b8ae55bdcab1c38b860071 +0 -0
- package/.idea/sonarlint/issuestore/f/4/f425d43e761ebef46b781334764eb5d3bb913cf8 +3 -0
- package/.idea/sonarlint/issuestore/f/6/f61f9b480b4da03d8ff7d137ce344656354cd190 +0 -0
- package/.idea/sonarlint/issuestore/f/6/f65d6b8cc814626bac7a38f2cd1c930554388594 +0 -0
- package/.idea/sonarlint/issuestore/f/9/f900edc44cb929c2267a16100a32851f6d5b477d +0 -0
- package/.idea/sonarlint/issuestore/f/b/fb8261203d602a51243c9a77b6c1ee63bb7b6966 +0 -0
- package/.idea/sonarlint/issuestore/f/f/ff7918f0784b416c82bb974889323c13506e7d0a +0 -0
- package/.idea/sonarlint/issuestore/index.pb +259 -0
- package/.idea/sonarlint/securityhotspotstore/0/2/0233f8559e74312ed5074ade1be1aea02e6e4f1e +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/2/02d5146f94659f11c56f0ea1d9c504ff9492b546 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/2/02f4902c3db5247c732bde5aaf0d4fb55363c3b1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/3/0343acf33ca1b061164f9846ff8ce30429205a2a +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/4/04d5869ea32abbf6abf5a3cb9a671637ac2e345b +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/9/0918cbb76f2c44f223706cec9d31a32cd1177ce4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/9/091aff741808a09242f252264b14f4a9adaa5305 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/b/0b63533e07c8b10a8fbfe7f35df1bffec8103e14 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/c/0c0fd6a370cd10350462b46937e98f903bcb1435 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/e/0e600c187f4cf8bd0dd6b678f55067a8300ab570 +0 -0
- package/.idea/sonarlint/securityhotspotstore/0/f/0f43007644f06a63afbfbfc129aadd61bf40318a +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/4/14148858b7b4a0aa23ddfdc41ef62be2db925c70 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/5/15ff6a89ff653ef3176ddb9c5e0b59c16c2db949 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/6/169d7dbe9a819ce675ee66de130c5a7c92bb763d +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/8/18a1ebb3a44ad977a5cfa60b6620a47ba00163a3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/1/f/1fd3ecff7dd864e5b00c14a4333d8cde8c9faf11 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/0/204a133d39c4a2c7b86de23f541f342e0a7a3234 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/4/2491406c07bfc2b0f7ed8e010e56d6e468c374d0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/5/257d0fa8d58da6d96f5a7af9724b2e1c92c62a2d +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/8/282dcb1e4436703724dd35bb567086834c3ebdb4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/a/2aeb7bd71ee8453ff4601a1fc8fcd4fa9c5fe355 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/c/2c25e229323612e7988c659ad7b51c7b1e2b2403 +0 -0
- package/.idea/sonarlint/securityhotspotstore/2/f/2fa1946a2afc952506e41d87833ed29401fc29a0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/4/3463c59843592ad2a00c54f39e2943583bd6fff9 +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/9/390f31a969ba7940070bf32aac2a0d1f7b7bd78b +0 -0
- package/.idea/sonarlint/securityhotspotstore/3/e/3ebc20bbfa3c33cf20481a2de7591c997c68abb9 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/1/417425bfa2cef1f22539e792dcb0a7f7784f9604 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/1/41ac9772c7dd3fc038485f99106b427a5e28f2e3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/4/44d3ca69a31c68c4d920b1fbb0083732713d2690 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/8/48a8ec70d252121fbc7df4e8a45044e964b5d6b7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/9/49e951d8246d0914f9d10b3955a7178866cfcee9 +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/d/4def76d1eea91e36f7789929705c032be6df27cd +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/f/4f40ac4df99b3f8bbd80db9b729d3b4b401623eb +0 -0
- package/.idea/sonarlint/securityhotspotstore/4/f/4f4bba1840f039e57f25bbd19ec0e20c15fc0e1d +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/1/51f466e675bcd7ca84bf6287bab7404cde26db22 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/2/5222c3d19fd979fed770b7f3664147b2ed16b230 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/2/52cb9deee3ee8b8add01ec855fc4a45818ac7638 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/3/53585a096fe3a3b96321113856ae62602995a33b +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/4/5471e6ec0c0e189560fccc7f474993fc6e1f758a +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/7/578f3ebc33c3ca6ab8e66c97f3c2eba2237b40ea +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/8/5831775a729fcf9cb12959996af17091f46f440b +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/8/5842d31a915855888fd63b1aca8c3a4dd8c95880 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/c/5ce582bce204b2edd80e7602b279b3d64cc737e0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/5/f/5f2f0e365ced14f666cef2ac164c93530d4e0c2a +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/0/60882ef9544224120d1d72534f44b973f3a57746 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/0/60a7f3adc2729926865b49b02008b2874d65429d +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/0/60b89c88214907466f4d004bb8a2e56a468da7f5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/0/60bb79bf1ee7929bf0f8c20166ae12e49d7af9ea +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/1/61ebb9fd6e8cf9082658121d5d81e297791dacd0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/5/65c98391f12bde62f0955f439128e0f8cb1eac6a +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/7/6733e547a8a62f0e2b41358995a67255b967bfeb +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/8/68e29ca13d4f4cada132a831a6a1b52c0a0ebfd3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/9/692f3fce406d97e843fbf744ad689b51e3754dff +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/a/6a835d16be742d060f08912c5808bbf862426d3d +0 -0
- package/.idea/sonarlint/securityhotspotstore/6/e/6e142af7dffa0e82efece3ff58722e96f4283a3f +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/0/7030d0b2f71b999ff89a343de08c414af32fc93a +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/2/725cc9c146a136cafafef5ffec4cb307badb1d0e +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/3/73e399246034aaf963bb1ad4b0a0e2b5228f57cc +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/7/7710090cd8b91b750ed58a2f3196d971d7de988b +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/8/785055d2374e9ff4841f875174c20cad0c0d9a80 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/8/78a09338d0e7bb67a5d2643580367940bee1e5b2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/9/793162cb1b4e542cbf5f8db45406f4e91f736c0e +0 -0
- package/.idea/sonarlint/securityhotspotstore/7/a/7a6581baac8c66b8e331b8187db03c64201001f1 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/5/852060cc24633564871605ce8d1e59970ef2485c +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/5/85e8222943093a270d57ab07964a75d9a15648eb +2 -0
- package/.idea/sonarlint/securityhotspotstore/8/6/86abd2602e79b84f352d24c72f079541f41aeb6d +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/8/881d5d47bdc17ef8facebef59b68b5fc099a0293 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/8/882c515e635f40a7e1ad419c70c0f2d2c17e2f37 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/9/89d3df066dd0ec67c57e82d68cce94cb72f820b5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/b/8bff50de15c7d9b1166aa9ad98243d1a04b7e4c4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/8/c/8c5bbc0d4ce626bd35d05b960ef906abfd312014 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/0/900448384f6077c203e834650b95017f7a373583 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/1/912f3a935b193eb148539815f9aef4a4252c12ba +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/4/94dd0b13f6f12ba5eae129046b1d061ddd546d72 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/5/958a078793035ab0aad2086f7be79b55628402c0 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/6/96dcf27dc8ae3662215096d9e00c194897d29c0b +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/7/9730e89df0a4367176020e461c38c37b7ae58b9a +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/8/98c4f1f9f94adc9e53100dbf68ce8c5df2a47f01 +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/9/9920d82d6cbbfe404d91c79781048e0c0514767e +0 -0
- package/.idea/sonarlint/securityhotspotstore/9/c/9cc6b3192a90fe4d986d791c393ab1ac7101ac48 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/1/a1991714da3efb5da4456ee802727afe63035aa5 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/7/a70ff2c42b6ffb69f1686cf6ced65733a75e056f +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/8/a8b0d4ad8d44e8bb48b2ca34ddbd84b549ee9105 +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/a/aaf524b8c18d54117ff8a4de5b06cdd7f5776d0d +0 -0
- package/.idea/sonarlint/securityhotspotstore/a/b/ab09011fa121d0a2bb9fa4ca76094f2482b902b7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/0/b0a40903f86afa7d5940f95f66995a290b6d4fe2 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/2/b26e3039f1510dfa296fdfb6a1a5f12cdca84371 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/3/b3349079128f17cb6e0cecf3cccfa4fe5188f92f +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/4/b4a9acebce4d56aa444e5b857fa140163bcbd47f +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/5/b5320db1c0a02ceb68cb70d050f5dc9d420b928b +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/7/b7d694611d1aa415d97c7872253457c54d8f1ed7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/9/b9f0a0a757a4dc7cc57724b3534dfdf189c25ea6 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/b/bb971971f3915fff5703a078f2784df410b7298e +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/e/be023cb04cabb819ee6a97d9fc2a088cb4eded97 +0 -0
- package/.idea/sonarlint/securityhotspotstore/b/e/be633e1bf05efdb3dec5eae2777f024e1aee5599 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/2/c2b3144db64026759165a569b0f1f5086c6be0d3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/6/c62bdf361b714427c19bdc47c8c97f90cce4dad3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/6/c680d0675608db3debbc56eab6dae6478ea3d2db +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/b/cb44f758b6159383fc5e20e1b38c4a3781d4e4bc +0 -0
- package/.idea/sonarlint/securityhotspotstore/c/e/ced731c009a96db35c13542868ab840aa2ef6de4 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/1/d13af3479d43279b14b3cf9dbac30965ada1dadb +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/2/d2b81feb53c8d963c77dbd7e63afdc568883baad +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/3/d3f37835937f760d81f9a81b56b898afec37a1e7 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/4/d4e02cf17e1477bc4516d78f557bdcd1b933fafd +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/5/d5595158cc48f9bf3e51b06f6e6805a8fd2d6262 +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/6/d690bc5bd5193edbd3f7e29b2d1be4d3f991937b +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/7/d76f3a535e1a92673864b9fca18992b4f862dbba +0 -0
- package/.idea/sonarlint/securityhotspotstore/d/a/dac4ed416fff2cc3bff02b81a88328ec7c19de0e +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/0/e00bc8f8672ab358b454ac1d2030d3526a374653 +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/1/e15a6d4820640fb201495dfd5875489fd536ebb3 +0 -0
- package/.idea/sonarlint/securityhotspotstore/e/8/e804956e69c2d0944d08ff64caa3e6286590814b +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/0/f039b4d90e01657caf0dbfd31860e93d585b6752 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/0/f096934f71a0918e4829a4f76b3bba64b8d65f1e +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/1/f11f7a7b3a7306f994e28b2eba9c69a5b555c017 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/1/f1b96288c62ba6818b30b3d2e7506e30c1b4a742 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/3/f351a44ab2314976174827d1ca2495fd38ea8df8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/3/f37789881b66dffd7123fa80ee7ad838f3bdafaf +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/4/f40b81d4c7242e4401b8ae55bdcab1c38b860071 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/4/f425d43e761ebef46b781334764eb5d3bb913cf8 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/6/f61f9b480b4da03d8ff7d137ce344656354cd190 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/6/f65d6b8cc814626bac7a38f2cd1c930554388594 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/9/f900edc44cb929c2267a16100a32851f6d5b477d +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/b/fb8261203d602a51243c9a77b6c1ee63bb7b6966 +0 -0
- package/.idea/sonarlint/securityhotspotstore/f/f/ff7918f0784b416c82bb974889323c13506e7d0a +0 -0
- package/.idea/sonarlint/securityhotspotstore/index.pb +249 -0
- package/.idea/sonarlint-state.xml +6 -0
- package/.idea/sonarlint.xml +8 -0
- package/.idea/vcs.xml +1 -1
- package/.yarn/install-state.gz +0 -0
- package/.yarn/releases/yarn-1.22.22.cjs +148049 -0
- package/CHANGELOG.md +13 -1
- package/dist/demosplan-ui.umd.js +1 -1
- package/moveToClaudeMD.md +65 -0
- package/package.json +1 -1
- package/src/components/DpAutocomplete/DpAutocomplete.vue +65 -29
- package/src/components/DpProgressBar/DpProgressBar.vue +11 -5
- package/tokens/dist/css/theme.css +1 -1
- package/tokens/dist/js/boxShadow.js +1 -1
- package/tokens/dist/js/breakpoints.js +1 -1
- package/tokens/dist/js/color.brand.js +1 -1
- package/tokens/dist/js/color.data.js +1 -1
- package/tokens/dist/js/color.palette.js +1 -1
- package/tokens/dist/js/color.ui-tailwind.js +1899 -0
- package/tokens/dist/js/color.ui.js +1 -1
- package/tokens/dist/js/fontSize.js +1 -1
- package/tokens/dist/js/rounded.js +1 -1
- package/tokens/dist/js/space.js +1 -1
- package/tokens/dist/js/zIndex.js +1 -1
- package/tokens/dist/scss/_boxShadow.scss +1 -1
- package/tokens/dist/scss/_breakpoints.scss +1 -1
- package/tokens/dist/scss/_color.brand.scss +1 -1
- package/tokens/dist/scss/_color.data.scss +1 -1
- package/tokens/dist/scss/_color.palette.scss +1 -1
- package/tokens/dist/scss/_color.ui.scss +1 -1
- package/tokens/dist/scss/_fontSize.scss +1 -1
- package/tokens/dist/scss/_rounded.scss +1 -1
- package/tokens/dist/scss/_space.scss +1 -1
- package/tokens/dist/scss/_zIndex.scss +1 -1
- package/tokens/dist/tailwind/color.brand.js +8 -0
- package/tokens/dist/tailwind/color.data.js +30 -0
- package/tokens/dist/tailwind/color.palette.js +60 -0
- package/tokens/scss/_boxShadow.scss +8 -0
- package/tokens/scss/_color.brand.scss +10 -0
- package/tokens/scss/_color.data.scss +32 -0
- package/tokens/scss/_color.palette.scss +62 -0
- package/tokens/scss/_color.scss +89 -0
- package/tokens/scss/_color.ui.scss +60 -0
- package/tokens/scss/_fontSize.scss +26 -0
- package/tokens/scss/_rounded.scss +9 -0
- package/tokens/scss/_space.scss +13 -0
- package/yarn-error.log +14081 -0
- package/.idea/codeStyles/Project.xml +0 -62
- package/.idea/codeStyles/codeStyleConfig.xml +0 -5
- package/.idea/inspectionProfiles/Project_Default.xml +0 -6
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_11_07_2025_09_56_[Changes]/shelved.patch +0 -175
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_11_07_2025_09_56__Changes_.xml +0 -4
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_55_[Changes]/shelved.patch +0 -18
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_55__Changes_.xml +0 -4
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_56_[Changes]/shelved.patch +0 -18
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_15_07_2025_11_56__Changes_.xml +0 -4
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_16_06_2025_14_40_[Changes]/shelved.patch +0 -58
- package/.idea/shelf/Uncommitted_changes_before_Checkout_at_24_06_2025_11_14_[Changes]/shelved.patch +0 -217
- package/.idea/shelf/Uncommitted_changes_before_Update_at_09_05_2025_14_28_[Changes]/shelved.patch +0 -295
- package/.idea/shelf/Uncommitted_changes_before_Update_at_15_07_2025_11_56_[Changes]/shelved.patch +0 -18
- package/.idea/shelf/Uncommitted_changes_before_Update_at_15_07_2025_11_56__Changes_.xml +0 -4
- package/.idea/workspace.xml +0 -981
- package/coverage/clover.xml +0 -6
- package/coverage/coverage-final.json +0 -1
- package/coverage/lcov-report/base.css +0 -224
- package/coverage/lcov-report/block-navigation.js +0 -87
- package/coverage/lcov-report/favicon.png +0 -0
- package/coverage/lcov-report/index.html +0 -101
- package/coverage/lcov-report/prettify.css +0 -1
- package/coverage/lcov-report/prettify.js +0 -2
- package/coverage/lcov-report/sort-arrow-sprite.png +0 -0
- package/coverage/lcov-report/sorter.js +0 -196
- package/debug-storybook.log +0 -40
- package/storybook-static/assets/CleanHtml-BxfZNGDF.js +0 -48
- package/storybook-static/assets/CleanHtml-CeG3Pc5D.js +0 -2
- package/storybook-static/assets/Color-AVL7NMMY-CrqVLxS7.js +0 -1
- package/storybook-static/assets/DocsRenderer-PQXLIZUC-C94DWaTq.js +0 -2
- package/storybook-static/assets/DpAccordion-BJ0eYoeL.js +0 -9
- package/storybook-static/assets/DpAccordion-CKgNMMg7.js +0 -1
- package/storybook-static/assets/DpAccordion.stories-Bi3-V11T.js +0 -26
- package/storybook-static/assets/DpApi-BU9X0WT6.js +0 -4
- package/storybook-static/assets/DpAutocomplete-BhABAuyz.js +0 -6
- package/storybook-static/assets/DpAutocomplete-Ds8IvIaM.js +0 -1
- package/storybook-static/assets/DpAutocomplete.stories-DGmOfoqI.js +0 -8
- package/storybook-static/assets/DpBadge-BPAWHuN0.js +0 -16
- package/storybook-static/assets/DpBadge-mgPu9WO8.js +0 -1
- package/storybook-static/assets/DpBadge.stories-DEFu_g_d.js +0 -69
- package/storybook-static/assets/DpBulkEditHeader-DYRPNRDA.js +0 -10
- package/storybook-static/assets/DpBulkEditHeader-qNgl3Gdq.js +0 -1
- package/storybook-static/assets/DpBulkEditHeader.stories-CgKeZjbQ.js +0 -50
- package/storybook-static/assets/DpButton-BLywaapW.js +0 -15
- package/storybook-static/assets/DpButton-BX5f5Y08.js +0 -28
- package/storybook-static/assets/DpButton.stories-Bh1aQWo-.js +0 -60
- package/storybook-static/assets/DpButtonIcon-CutRnDpO.js +0 -4
- package/storybook-static/assets/DpButtonRow-CU6rf5xR.js +0 -12
- package/storybook-static/assets/DpButtonRow-DRRw4r4F.js +0 -1
- package/storybook-static/assets/DpButtonRow.stories-BRZ52We0.js +0 -60
- package/storybook-static/assets/DpCard-CNBkliZ1.js +0 -1
- package/storybook-static/assets/DpCard-CqzBHYky.js +0 -5
- package/storybook-static/assets/DpCard.stories-CkAnU1Vf.js +0 -8
- package/storybook-static/assets/DpCheckbox-BdZqABk4.js +0 -1
- package/storybook-static/assets/DpCheckbox-Db9FgQPp.js +0 -25
- package/storybook-static/assets/DpCheckbox.stories-yTBXYgIJ.js +0 -48
- package/storybook-static/assets/DpCheckboxGroup-CE1noRhA.js +0 -10
- package/storybook-static/assets/DpCheckboxGroup-CFaFEzrL.js +0 -1
- package/storybook-static/assets/DpCheckboxGroup.stories-DQ7BzPww.js +0 -15
- package/storybook-static/assets/DpColumnSelector-B0Q0n09i.js +0 -10
- package/storybook-static/assets/DpColumnSelector-BjRvX20u.js +0 -1
- package/storybook-static/assets/DpColumnSelector.stories-Bsxtu-R9.js +0 -17
- package/storybook-static/assets/DpConfirmDialog-B4NQKzL5.js +0 -8
- package/storybook-static/assets/DpConfirmDialog-CQYtFW-3.js +0 -1
- package/storybook-static/assets/DpConfirmDialog.stories-iv2KRiDU.js +0 -73
- package/storybook-static/assets/DpContextualHelp-DnsCCoZB.js +0 -4
- package/storybook-static/assets/DpContextualHelp-cg4NfoZJ.js +0 -12
- package/storybook-static/assets/DpContextualHelp.stories-D5HWdQyH.js +0 -45
- package/storybook-static/assets/DpDataTable-Cr1GA5Cb.js +0 -16
- package/storybook-static/assets/DpDataTable-f7CVMPNi.js +0 -10
- package/storybook-static/assets/DpDataTable.stories-BjXZnrni.js +0 -123
- package/storybook-static/assets/DpDataTableExtended-C-oFpO_I.js +0 -14
- package/storybook-static/assets/DpDataTableExtended-mDxHCvB0.js +0 -2
- package/storybook-static/assets/DpDataTableExtended.stories-I5_PptZr.js +0 -73
- package/storybook-static/assets/DpDateRangePicker-D5652u0C.js +0 -1
- package/storybook-static/assets/DpDateRangePicker-YGJhE-xN.js +0 -10
- package/storybook-static/assets/DpDateRangePicker.stories-CCfSjt7J.js +0 -19
- package/storybook-static/assets/DpDatepicker-BlQqmRXh.js +0 -14
- package/storybook-static/assets/DpDatepicker-CFlgW3DB.js +0 -30
- package/storybook-static/assets/DpDatepicker.stories-QbL7uNPB.js +0 -55
- package/storybook-static/assets/DpDatetimePicker-BNogWwEl.js +0 -17
- package/storybook-static/assets/DpDatetimePicker-DQokm861.js +0 -2
- package/storybook-static/assets/DpDatetimePicker.stories-dJTr_X4a.js +0 -39
- package/storybook-static/assets/DpDetails-Do--n1SK.js +0 -1
- package/storybook-static/assets/DpDetails-qy-zsMYA.js +0 -12
- package/storybook-static/assets/DpDetails.stories-BmFnnpwr.js +0 -89
- package/storybook-static/assets/DpDraggable-CddfZrQg.js +0 -12
- package/storybook-static/assets/DpDraggable-DLTo9Q5K.js +0 -6
- package/storybook-static/assets/DpDraggable.stories-YSsJhbLZ.js +0 -290
- package/storybook-static/assets/DpEditableList-5FqvJbtx.js +0 -8
- package/storybook-static/assets/DpEditableList-CKEmMpmV.js +0 -28
- package/storybook-static/assets/DpEditableList.stories-CunPGVO1.js +0 -48
- package/storybook-static/assets/DpEditor-xJ7bfv4o.js +0 -12
- package/storybook-static/assets/DpEditor.stories-IBm6EtTh.js +0 -90
- package/storybook-static/assets/DpFlyout-DgegOHH0.js +0 -8
- package/storybook-static/assets/DpFlyout-Dsx6KYUl.js +0 -1
- package/storybook-static/assets/DpFlyout.stories-vre_uXPR.js +0 -23
- package/storybook-static/assets/DpFormRow-BsMZgRL2.js +0 -1
- package/storybook-static/assets/DpFormRow-DkKEMIVl.js +0 -9
- package/storybook-static/assets/DpFormRow.stories-ix_fpK9y.js +0 -12
- package/storybook-static/assets/DpIcon-DNUvGdzz.js +0 -9
- package/storybook-static/assets/DpIcon-dOAQoUKG.js +0 -5
- package/storybook-static/assets/DpIcon.stories-DGgU5AFH.js +0 -149
- package/storybook-static/assets/DpInlineNotification-CEzn4Pqd.js +0 -2
- package/storybook-static/assets/DpInlineNotification-wqa943WU.js +0 -13
- package/storybook-static/assets/DpInlineNotification.stories-B0z19u_O.js +0 -17
- package/storybook-static/assets/DpInput-HcmwQIdx.js +0 -33
- package/storybook-static/assets/DpInput-cN-WEvOL.js +0 -16
- package/storybook-static/assets/DpInput.stories-bIIwZ06I.js +0 -131
- package/storybook-static/assets/DpLabel-CIRt98zd.js +0 -30
- package/storybook-static/assets/DpLabel-DFauD5I2.js +0 -1
- package/storybook-static/assets/DpLabel.stories-DOvT5FP0.js +0 -212
- package/storybook-static/assets/DpLoading-CPPK2VdG.js +0 -20
- package/storybook-static/assets/DpLoading-rM7osZHK.js +0 -1
- package/storybook-static/assets/DpLoading.stories-DbGxhEdp.js +0 -43
- package/storybook-static/assets/DpModal-CVn3FCXs.js +0 -26
- package/storybook-static/assets/DpModal-oGkhZvzT.js +0 -1
- package/storybook-static/assets/DpModal.stories-D85oaATj.js +0 -129
- package/storybook-static/assets/DpMultiselect-Bm5hUadB.js +0 -22
- package/storybook-static/assets/DpMultiselect-C43chKj1.js +0 -44
- package/storybook-static/assets/DpMultiselect.stories-CIoTsG-g.js +0 -107
- package/storybook-static/assets/DpMultistepNav-AnSXdU2J.js +0 -1
- package/storybook-static/assets/DpMultistepNav-C2Zadn2N.js +0 -13
- package/storybook-static/assets/DpMultistepNav.stories-BG2cLqfE.js +0 -30
- package/storybook-static/assets/DpNotification-C1QXVdor.js +0 -1
- package/storybook-static/assets/DpNotification-DyJmy8iY.js +0 -29
- package/storybook-static/assets/DpNotification.stories-DfecPPLD.js +0 -105
- package/storybook-static/assets/DpPager-BaoMw4uo.js +0 -1
- package/storybook-static/assets/DpPager-XfqFqQGG.js +0 -12
- package/storybook-static/assets/DpPager.stories-DHEGD-lB.js +0 -24
- package/storybook-static/assets/DpProgressBar-4fw0icXV.js +0 -20
- package/storybook-static/assets/DpProgressBar-C0dbsdgz.js +0 -1
- package/storybook-static/assets/DpProgressBar.stories-BSJKPymL.js +0 -26
- package/storybook-static/assets/DpRadio-9df2JDL9.js +0 -13
- package/storybook-static/assets/DpRadio-D2xw34qI.js +0 -2
- package/storybook-static/assets/DpRadio.stories-BE1cjwtP.js +0 -117
- package/storybook-static/assets/DpResettableInput-BPdfP0Ae.js +0 -8
- package/storybook-static/assets/DpResettableInput-nox0ihQv.js +0 -1
- package/storybook-static/assets/DpResettableInput.stories-Cq1mfxTz.js +0 -41
- package/storybook-static/assets/DpSearchField-CFqegLRV.js +0 -1
- package/storybook-static/assets/DpSearchField-f1Llye-2.js +0 -4
- package/storybook-static/assets/DpSearchField.stories-CdMKRXtW.js +0 -52
- package/storybook-static/assets/DpSelect-BzmpttTu.js +0 -1
- package/storybook-static/assets/DpSelect-J0BVjsqi.js +0 -11
- package/storybook-static/assets/DpSelect.stories-NpI9vCfo.js +0 -129
- package/storybook-static/assets/DpSkeletonBox-CDn0SzQb.js +0 -20
- package/storybook-static/assets/DpSkeletonBox-a5wBcRN-.js +0 -1
- package/storybook-static/assets/DpSkeletonBox.stories-Cb2yeXBb.js +0 -70
- package/storybook-static/assets/DpSlidebar-Bfb2VXSk.js +0 -21
- package/storybook-static/assets/DpSlidebar-DtAyUisB.js +0 -1
- package/storybook-static/assets/DpSlidebar.stories-DKSwFYzN.js +0 -23
- package/storybook-static/assets/DpSlidingPagination-BCXUgS46.js +0 -1
- package/storybook-static/assets/DpSlidingPagination-CfkT9VBg.js +0 -21
- package/storybook-static/assets/DpSlidingPagination.stories-DZ80NUNd.js +0 -35
- package/storybook-static/assets/DpSplitButton-Cft5u7Pe.js +0 -4
- package/storybook-static/assets/DpStickyElement-Biohssqu.js +0 -21
- package/storybook-static/assets/DpStickyElement-ClzY3p1-.js +0 -4
- package/storybook-static/assets/DpStickyElement.stories-RayTMlXk.js +0 -42
- package/storybook-static/assets/DpTabs-BGgWBJ_5.js +0 -23
- package/storybook-static/assets/DpTabs.stories-BNe9rHxl.js +0 -85
- package/storybook-static/assets/DpTextArea-BtrBIQP_.js +0 -49
- package/storybook-static/assets/DpTextArea-DoA63rHr.js +0 -2
- package/storybook-static/assets/DpTextArea.stories-c3BZqrsh.js +0 -155
- package/storybook-static/assets/DpTimePicker-9Qy_qVnW.js +0 -1
- package/storybook-static/assets/DpTimePicker-JnDQtvH1.js +0 -27
- package/storybook-static/assets/DpTimePicker.stories-CMqNipv8.js +0 -92
- package/storybook-static/assets/DpToggle-BNgSF54s.js +0 -10
- package/storybook-static/assets/DpToggle-BPqlzXQH.js +0 -1
- package/storybook-static/assets/DpToggle.stories-D3_9X7aB.js +0 -35
- package/storybook-static/assets/DpTooltip-BwmuQSat.js +0 -27
- package/storybook-static/assets/DpTooltip-D8SOODgR.js +0 -1
- package/storybook-static/assets/DpTooltip.stories-DbfOxsaF.js +0 -248
- package/storybook-static/assets/DpTransitionExpand-C4Amyfxp.js +0 -8
- package/storybook-static/assets/DpTransitionExpand.stories-DX9u7SiJ.js +0 -85
- package/storybook-static/assets/DpTreeList-C68TZVte.js +0 -78
- package/storybook-static/assets/DpTreeList-Cciwf3YU.js +0 -2
- package/storybook-static/assets/DpTreeList.stories-B_u3WNs8.js +0 -673
- package/storybook-static/assets/DpUploadFiles-BPYxTWYH.js +0 -26
- package/storybook-static/assets/DpUploadFiles.stories-CDCSsFQa.js +0 -154
- package/storybook-static/assets/DpVideoPlayer-CnldmoEy.js +0 -162
- package/storybook-static/assets/DpVideoPlayer-b-qaSsV5.css +0 -1
- package/storybook-static/assets/DpVideoPlayer-n_ANjh0q.js +0 -29
- package/storybook-static/assets/DpVideoPlayer.stories-BOR2SEz7.js +0 -294
- package/storybook-static/assets/Notice-FIynXtzj.js +0 -1
- package/storybook-static/assets/Stickier-DyqV0rTn.js +0 -1
- package/storybook-static/assets/Table-DSJ5DLHV.js +0 -1
- package/storybook-static/assets/Tooltip-DzpJJoBp.js +0 -25
- package/storybook-static/assets/Tooltip-flnpMaRO.js +0 -32
- package/storybook-static/assets/_commonjsHelpers-CE1G-McA.js +0 -1
- package/storybook-static/assets/_plugin-vue_export-helper-DlAUqK2U.js +0 -1
- package/storybook-static/assets/blocks-kyJuz3C5.js +0 -697
- package/storybook-static/assets/dayjs.min-C3DHb-Vr.js +0 -1
- package/storybook-static/assets/getScrollTop-CXy7CyEd.js +0 -1
- package/storybook-static/assets/hasOwnProp-B0vmwdLB.js +0 -1
- package/storybook-static/assets/helpers-CdC6mcQu.js +0 -1
- package/storybook-static/assets/iframe-DH2OFsM2.css +0 -1
- package/storybook-static/assets/iframe-KFxwsBtW.js +0 -1113
- package/storybook-static/assets/index-BbC7EF1e.js +0 -1
- package/storybook-static/assets/index-CTxdm8FW.js +0 -1
- package/storybook-static/assets/index-Ccl8MXhV.js +0 -79
- package/storybook-static/assets/lengthHint-zGawKYxB.js +0 -1
- package/storybook-static/assets/prefixClass-BBJiSKc2.js +0 -1
- package/storybook-static/assets/prefixClassMixin-FjEzRm2G.js +0 -1
- package/storybook-static/assets/tokens._overview-DfWYzL-L.js +0 -111
- package/storybook-static/assets/tokens.boxShadow-BRgz_5Oh.js +0 -64
- package/storybook-static/assets/tokens.breakpoints-V5SksMvF.js +0 -66
- package/storybook-static/assets/tokens.color-BpZbPjHk.js +0 -107
- package/storybook-static/assets/tokens.fontSize-rdG7vcZh.js +0 -51
- package/storybook-static/assets/tokens.rounded-CUE0q0vd.js +0 -55
- package/storybook-static/assets/tokens.space-B3MDHCbR.js +0 -48
- package/storybook-static/assets/tokens.zIndex-Be_fxSoV.js +0 -53
- package/storybook-static/assets/translations-DDOZrg-p.js +0 -1
- package/storybook-static/favicon.svg +0 -1
- package/storybook-static/iframe.html +0 -686
- package/storybook-static/index.html +0 -152
- package/storybook-static/index.json +0 -1
- package/storybook-static/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/project.json +0 -1
- package/storybook-static/sb-addons/docs-2/manager-bundle.js +0 -151
- package/storybook-static/sb-addons/links-1/manager-bundle.js +0 -3
- package/storybook-static/sb-addons/storybook-core-server-presets-0/common-manager-bundle.js +0 -188
- package/storybook-static/sb-common-assets/favicon.svg +0 -1
- package/storybook-static/sb-common-assets/nunito-sans-bold-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-bold.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-italic.woff2 +0 -0
- package/storybook-static/sb-common-assets/nunito-sans-regular.woff2 +0 -0
- package/storybook-static/sb-manager/globals-module-info.js +0 -797
- package/storybook-static/sb-manager/globals-runtime.js +0 -69460
- package/storybook-static/sb-manager/globals.js +0 -34
- package/storybook-static/sb-manager/runtime.js +0 -13008
- package/vite.config.mjs +0 -44
- /package/{coverage/lcov.info → .idea/sonarlint/issuestore/0/2/0233f8559e74312ed5074ade1be1aea02e6e4f1e} +0 -0
|
@@ -1,1113 +0,0 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["./DpAccordion-BJ0eYoeL.js","./blocks-kyJuz3C5.js","./_commonjsHelpers-CE1G-McA.js","./index-BbC7EF1e.js","./DpAccordion.stories-Bi3-V11T.js","./DpAccordion-CKgNMMg7.js","./DpIcon-dOAQoUKG.js","./_plugin-vue_export-helper-DlAUqK2U.js","./DpAutocomplete-BhABAuyz.js","./DpAutocomplete.stories-DGmOfoqI.js","./DpAutocomplete-Ds8IvIaM.js","./translations-DDOZrg-p.js","./DpApi-BU9X0WT6.js","./hasOwnProp-B0vmwdLB.js","./DpBadge-BPAWHuN0.js","./DpBadge.stories-DEFu_g_d.js","./DpBadge-mgPu9WO8.js","./DpBulkEditHeader-DYRPNRDA.js","./DpBulkEditHeader.stories-CgKeZjbQ.js","./DpBulkEditHeader-qNgl3Gdq.js","./DpButton-BLywaapW.js","./CleanHtml-CeG3Pc5D.js","./Tooltip-flnpMaRO.js","./DpButton-BX5f5Y08.js","./DpButton.stories-Bh1aQWo-.js","./DpButtonIcon-CutRnDpO.js","./DpButtonRow-CU6rf5xR.js","./DpButtonRow.stories-BRZ52We0.js","./DpButtonRow-DRRw4r4F.js","./DpCard-CqzBHYky.js","./DpCard.stories-CkAnU1Vf.js","./DpCard-CNBkliZ1.js","./DpContextualHelp-DnsCCoZB.js","./DpCheckbox-Db9FgQPp.js","./DpCheckbox.stories-yTBXYgIJ.js","./DpCheckbox-BdZqABk4.js","./DpLabel-DFauD5I2.js","./dayjs.min-C3DHb-Vr.js","./prefixClass-BBJiSKc2.js","./prefixClassMixin-FjEzRm2G.js","./helpers-CdC6mcQu.js","./getScrollTop-CXy7CyEd.js","./DpCheckboxGroup-CE1noRhA.js","./DpCheckboxGroup.stories-DQ7BzPww.js","./DpCheckboxGroup-CFaFEzrL.js","./DpColumnSelector-B0Q0n09i.js","./DpColumnSelector.stories-Bsxtu-R9.js","./DpColumnSelector-BjRvX20u.js","./DpFlyout-Dsx6KYUl.js","./index-CTxdm8FW.js","./DpConfirmDialog-B4NQKzL5.js","./DpConfirmDialog.stories-iv2KRiDU.js","./DpConfirmDialog-CQYtFW-3.js","./DpModal-oGkhZvzT.js","./DpContextualHelp-cg4NfoZJ.js","./DpContextualHelp.stories-D5HWdQyH.js","./DpDataTable-Cr1GA5Cb.js","./DpDataTable.stories-BjXZnrni.js","./DpDataTable-f7CVMPNi.js","./DpDraggable-DLTo9Q5K.js","./DpLoading-rM7osZHK.js","./DpDataTableExtended-C-oFpO_I.js","./DpDataTableExtended.stories-I5_PptZr.js","./DpDataTableExtended-mDxHCvB0.js","./DpSlidingPagination-BCXUgS46.js","./DpStickyElement-ClzY3p1-.js","./Stickier-DyqV0rTn.js","./DpDateRangePicker-YGJhE-xN.js","./DpDateRangePicker.stories-CCfSjt7J.js","./DpDateRangePicker-D5652u0C.js","./DpDatepicker-CFlgW3DB.js","./DpDatepicker-BlQqmRXh.js","./DpDatepicker.stories-QbL7uNPB.js","./DpDatetimePicker-BNogWwEl.js","./DpDatetimePicker.stories-dJTr_X4a.js","./DpDatetimePicker-DQokm861.js","./DpTimePicker-9Qy_qVnW.js","./DpInput-cN-WEvOL.js","./lengthHint-zGawKYxB.js","./DpResettableInput-nox0ihQv.js","./DpDetails-qy-zsMYA.js","./DpDetails.stories-BmFnnpwr.js","./DpDetails-Do--n1SK.js","./DpDraggable-CddfZrQg.js","./DpDraggable.stories-YSsJhbLZ.js","./DpEditableList-CKEmMpmV.js","./DpEditableList.stories-CunPGVO1.js","./DpEditableList-5FqvJbtx.js","./DpEditor-xJ7bfv4o.js","./DpEditor.stories-IBm6EtTh.js","./DpVideoPlayer-CnldmoEy.js","./DpMultiselect-Bm5hUadB.js","./DpVideoPlayer-b-qaSsV5.css","./DpFormRow-BsMZgRL2.js","./DpInlineNotification-CEzn4Pqd.js","./DpMultistepNav-AnSXdU2J.js","./DpNotification-C1QXVdor.js","./DpPager-BaoMw4uo.js","./DpProgressBar-C0dbsdgz.js","./DpRadio-D2xw34qI.js","./DpSearchField-CFqegLRV.js","./DpSelect-BzmpttTu.js","./DpSkeletonBox-a5wBcRN-.js","./DpSlidebar-DtAyUisB.js","./DpTextArea-DoA63rHr.js","./DpToggle-BPqlzXQH.js","./DpTooltip-D8SOODgR.js","./DpTreeList-Cciwf3YU.js","./DpFlyout-DgegOHH0.js","./DpFlyout.stories-vre_uXPR.js","./DpFormRow-DkKEMIVl.js","./DpFormRow.stories-ix_fpK9y.js","./DpIcon-DNUvGdzz.js","./DpIcon.stories-DGgU5AFH.js","./DpInlineNotification-wqa943WU.js","./DpInlineNotification.stories-B0z19u_O.js","./DpInput-HcmwQIdx.js","./DpInput.stories-bIIwZ06I.js","./DpLabel-CIRt98zd.js","./DpLabel.stories-DOvT5FP0.js","./DpLoading-CPPK2VdG.js","./DpLoading.stories-DbGxhEdp.js","./DpModal-CVn3FCXs.js","./DpModal.stories-D85oaATj.js","./DpMultiselect-C43chKj1.js","./DpMultiselect.stories-CIoTsG-g.js","./DpMultistepNav-C2Zadn2N.js","./DpMultistepNav.stories-BG2cLqfE.js","./DpNotification-DyJmy8iY.js","./DpNotification.stories-DfecPPLD.js","./DpPager-XfqFqQGG.js","./DpPager.stories-DHEGD-lB.js","./DpProgressBar-4fw0icXV.js","./DpProgressBar.stories-BSJKPymL.js","./DpRadio-9df2JDL9.js","./DpRadio.stories-BE1cjwtP.js","./DpResettableInput-BPdfP0Ae.js","./DpResettableInput.stories-Cq1mfxTz.js","./DpSearchField-f1Llye-2.js","./DpSearchField.stories-CdMKRXtW.js","./DpSelect-J0BVjsqi.js","./DpSelect.stories-NpI9vCfo.js","./DpSkeletonBox-CDn0SzQb.js","./DpSkeletonBox.stories-Cb2yeXBb.js","./DpSlidebar-Bfb2VXSk.js","./DpSlidebar.stories-DKSwFYzN.js","./DpSlidingPagination-CfkT9VBg.js","./DpSlidingPagination.stories-DZ80NUNd.js","./DpSplitButton-Cft5u7Pe.js","./DpStickyElement-Biohssqu.js","./DpStickyElement.stories-RayTMlXk.js","./DpTabs-BGgWBJ_5.js","./DpTabs.stories-BNe9rHxl.js","./DpTextArea-BtrBIQP_.js","./DpTextArea.stories-c3BZqrsh.js","./DpTimePicker-JnDQtvH1.js","./DpTimePicker.stories-CMqNipv8.js","./DpToggle-BNgSF54s.js","./DpToggle.stories-D3_9X7aB.js","./DpTooltip-BwmuQSat.js","./DpTooltip.stories-DbfOxsaF.js","./DpTransitionExpand-C4Amyfxp.js","./DpTransitionExpand.stories-DX9u7SiJ.js","./DpTreeList-C68TZVte.js","./DpTreeList.stories-B_u3WNs8.js","./DpUploadFiles-BPYxTWYH.js","./DpUploadFiles.stories-CDCSsFQa.js","./DpVideoPlayer-n_ANjh0q.js","./DpVideoPlayer.stories-BOR2SEz7.js","./CleanHtml-BxfZNGDF.js","./Tooltip-DzpJJoBp.js","./index-Ccl8MXhV.js","./Table-DSJ5DLHV.js","./tokens._overview-DfWYzL-L.js","./Notice-FIynXtzj.js","./tokens.boxShadow-BRgz_5Oh.js","./tokens.breakpoints-V5SksMvF.js","./tokens.color-BpZbPjHk.js","./tokens.fontSize-rdG7vcZh.js","./tokens.rounded-CUE0q0vd.js","./tokens.space-B3MDHCbR.js","./tokens.zIndex-Be_fxSoV.js","./DocsRenderer-PQXLIZUC-C94DWaTq.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
(function(){const t=document.createElement("link").relList;if(t&&t.supports&&t.supports("modulepreload"))return;for(const i of document.querySelectorAll('link[rel="modulepreload"]'))n(i);new MutationObserver(i=>{for(const o of i)if(o.type==="childList")for(const s of o.addedNodes)s.tagName==="LINK"&&s.rel==="modulepreload"&&n(s)}).observe(document,{childList:!0,subtree:!0});function r(i){const o={};return i.integrity&&(o.integrity=i.integrity),i.referrerPolicy&&(o.referrerPolicy=i.referrerPolicy),i.crossOrigin==="use-credentials"?o.credentials="include":i.crossOrigin==="anonymous"?o.credentials="omit":o.credentials="same-origin",o}function n(i){if(i.ep)return;i.ep=!0;const o=r(i);fetch(i.href,o)}})();var hm={},_U=Object.create,Ql=Object.defineProperty,EU=Object.getOwnPropertyDescriptor,wU=Object.getOwnPropertyNames,xU=Object.getPrototypeOf,TU=Object.prototype.hasOwnProperty,a=(e,t)=>Ql(e,"name",{value:t,configurable:!0}),Lu=(e=>typeof require<"u"?require:typeof Proxy<"u"?new Proxy(e,{get:(t,r)=>(typeof require<"u"?require:t)[r]}):e)(function(e){if(typeof require<"u")return require.apply(this,arguments);throw Error('Dynamic require of "'+e+'" is not supported')}),SU=(e,t)=>()=>(e&&(t=e(e=0)),t),N=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),ar=(e,t)=>{for(var r in t)Ql(e,r,{get:t[r],enumerable:!0})},pC=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of wU(t))!TU.call(e,i)&&i!==r&&Ql(e,i,{get:()=>t[i],enumerable:!(n=EU(t,i))||n.enumerable});return e},wt=(e,t,r)=>(r=e!=null?_U(xU(e)):{},pC(t||!e||!e.__esModule?Ql(r,"default",{value:e,enumerable:!0}):r,e)),CU=e=>pC(Ql({},"__esModule",{value:!0}),e),dC=N((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(){return a(function r(n,i,o){function s(c,p){if(!i[c]){if(!n[c]){var d=typeof Lu=="function"&&Lu;if(!p&&d)return d(c,!0);if(l)return l(c,!0);var f=new Error("Cannot find module '"+c+"'");throw f.code="MODULE_NOT_FOUND",f}var h=i[c]={exports:{}};n[c][0].call(h.exports,function(y){var b=n[c][1][y];return s(b||y)},h,h.exports,r,n,i,o)}return i[c].exports}a(s,"s");for(var l=typeof Lu=="function"&&Lu,u=0;u<o.length;u++)s(o[u]);return s},"e")({1:[function(r,n,i){n.exports=function(o){if(typeof Map!="function"||o){var s=r("./similar");return new s}else return new Map}},{"./similar":2}],2:[function(r,n,i){function o(){return this.list=[],this.lastItem=void 0,this.size=0,this}a(o,"Similar"),o.prototype.get=function(s){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,s))return this.lastItem.val;if(l=this.indexOf(s),l>=0)return this.lastItem=this.list[l],this.list[l].val},o.prototype.set=function(s,l){var u;return this.lastItem&&this.isEqual(this.lastItem.key,s)?(this.lastItem.val=l,this):(u=this.indexOf(s),u>=0?(this.lastItem=this.list[u],this.list[u].val=l,this):(this.lastItem={key:s,val:l},this.list.push(this.lastItem),this.size++,this))},o.prototype.delete=function(s){var l;if(this.lastItem&&this.isEqual(this.lastItem.key,s)&&(this.lastItem=void 0),l=this.indexOf(s),l>=0)return this.size--,this.list.splice(l,1)[0]},o.prototype.has=function(s){var l;return this.lastItem&&this.isEqual(this.lastItem.key,s)?!0:(l=this.indexOf(s),l>=0?(this.lastItem=this.list[l],!0):!1)},o.prototype.forEach=function(s,l){var u;for(u=0;u<this.size;u++)s.call(l||this,this.list[u].val,this.list[u].key,this)},o.prototype.indexOf=function(s){var l;for(l=0;l<this.size;l++)if(this.isEqual(this.list[l].key,s))return l;return-1},o.prototype.isEqual=function(s,l){return s===l||s!==s&&l!==l},n.exports=o},{}],3:[function(r,n,i){var o=r("map-or-similar");n.exports=function(c){var p=new o(!1),d=[];return function(f){var h=a(function(){var y=p,b,g,m=arguments.length-1,v=Array(m+1),S=!0,O;if((h.numArgs||h.numArgs===0)&&h.numArgs!==m+1)throw new Error("Memoizerific functions should always be called with the same number of arguments");for(O=0;O<m;O++){if(v[O]={cacheItem:y,arg:arguments[O]},y.has(arguments[O])){y=y.get(arguments[O]);continue}S=!1,b=new o(!1),y.set(arguments[O],b),y=b}return S&&(y.has(arguments[m])?g=y.get(arguments[m]):S=!1),S||(g=f.apply(null,arguments),y.set(arguments[m],g)),c>0&&(v[m]={cacheItem:y,arg:arguments[m]},S?s(d,v):d.push(v),d.length>c&&l(d.shift())),h.wasMemoized=S,h.numArgs=m+1,g},"memoizerific");return h.limit=c,h.wasMemoized=!1,h.cache=p,h.lru=d,h}};function s(c,p){var d=c.length,f=p.length,h,y,b;for(y=0;y<d;y++){for(h=!0,b=0;b<f;b++)if(!u(c[y][b].arg,p[b].arg)){h=!1;break}if(h)break}c.push(c.splice(y,1)[0])}a(s,"moveToMostRecentLru");function l(c){var p=c.length,d=c[p-1],f,h;for(d.cacheItem.delete(d.arg),h=p-2;h>=0&&(d=c[h],f=d.cacheItem.get(d.arg),!f||!f.size);h--)d.cacheItem.delete(d.arg)}a(l,"removeCachedResult");function u(c,p){return c===p||c!==c&&p!==p}a(u,"isEqual")},{"map-or-similar":1}]},{},[3])(3)})}),OU=N((e,t)=>{t.exports=r=>{let n=r.match(/^[ \t]*(?=\S)/gm);return n?n.reduce((i,o)=>Math.min(i,o.length),1/0):0}}),PU=N((e,t)=>{var r=OU();t.exports=n=>{let i=r(n);if(i===0)return n;let o=new RegExp(`^[ \\t]{${i}}`,"gm");return n.replace(o,"")}}),AU=N((e,t)=>{t.exports=(r,n=1,i)=>{if(i={indent:" ",includeEmptyLines:!1,...i},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 i.indent!="string")throw new TypeError(`Expected \`options.indent\` to be a \`string\`, got \`${typeof i.indent}\``);if(n===0)return r;let o=i.includeEmptyLines?/^/gm:/^(?!\s*$)/gm;return r.replace(o,i.indent.repeat(n))}}),fC=N((e,t)=>{var r=PU(),n=AU();t.exports=(i,o=0,s)=>n(r(i),o,s)}),RU=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var r=this,n=0,i={"@@iterator":a(function(){return i},"iterator"),next:a(function(){if(n<r.length){var o=r[n];return n=n+1,{done:!1,value:o}}else return{done:!0}},"next")};return i}a(t,"iteratorProxy"),e.default=t}),Zl=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(RU());function r(o){return o&&o.__esModule?o:{default:o}}a(r,"_interopRequireDefault");function n(o){"@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(o)}a(n,"_typeof");function i(o,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(s)}),o}a(i,"iterationDecorator")}),NU=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Zl());function r(d){return d&&d.__esModule?d:{default:d}}a(r,"_interopRequireDefault");function n(d,f){return u(d)||l(d,f)||o(d,f)||i()}a(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
3
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(i,"_nonIterableRest");function o(d,f){if(d){if(typeof d=="string")return s(d,f);var h={}.toString.call(d).slice(8,-1);return h==="Object"&&d.constructor&&(h=d.constructor.name),h==="Map"||h==="Set"?Array.from(d):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?s(d,f):void 0}}a(o,"_unsupportedIterableToArray");function s(d,f){(f==null||f>d.length)&&(f=d.length);for(var h=0,y=Array(f);h<f;h++)y[h]=d[h];return y}a(s,"_arrayLikeToArray");function l(d,f){var h=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(h!=null){var y,b,g,m,v=[],S=!0,O=!1;try{if(g=(h=h.call(d)).next,f===0){if(Object(h)!==h)return;S=!1}else for(;!(S=(y=g.call(h)).done)&&(v.push(y.value),v.length!==f);S=!0);}catch(P){O=!0,b=P}finally{try{if(!S&&h.return!=null&&(m=h.return(),Object(m)!==m))return}finally{if(O)throw b}}return v}}a(l,"_iterableToArrayLimit");function u(d){if(Array.isArray(d))return d}a(u,"_arrayWithHoles");var c=[["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:a(function(){return c},"entries"),forEach:a(function(d){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=0,y=c;h<y.length;h++){var b=n(y[h],2),g=b[0],m=b[1];d.call(f,m,g,c)}},"forEach"),get:a(function(d){var f=c.filter(function(h){return h[0]===d})[0];return f&&f[1]},"get"),has:a(function(d){return!!p.get(d)},"has"),keys:a(function(){return c.map(function(d){var f=n(d,1),h=f[0];return h})},"keys"),values:a(function(){return c.map(function(d){var f=n(d,2),h=f[1];return h})},"values")};e.default=(0,t.default)(p,p.entries())}),IU=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(Zl());function r(d){return d&&d.__esModule?d:{default:d}}a(r,"_interopRequireDefault");function n(d,f){return u(d)||l(d,f)||o(d,f)||i()}a(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
4
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(i,"_nonIterableRest");function o(d,f){if(d){if(typeof d=="string")return s(d,f);var h={}.toString.call(d).slice(8,-1);return h==="Object"&&d.constructor&&(h=d.constructor.name),h==="Map"||h==="Set"?Array.from(d):h==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(h)?s(d,f):void 0}}a(o,"_unsupportedIterableToArray");function s(d,f){(f==null||f>d.length)&&(f=d.length);for(var h=0,y=Array(f);h<f;h++)y[h]=d[h];return y}a(s,"_arrayLikeToArray");function l(d,f){var h=d==null?null:typeof Symbol<"u"&&d[Symbol.iterator]||d["@@iterator"];if(h!=null){var y,b,g,m,v=[],S=!0,O=!1;try{if(g=(h=h.call(d)).next,f===0){if(Object(h)!==h)return;S=!1}else for(;!(S=(y=g.call(h)).done)&&(v.push(y.value),v.length!==f);S=!0);}catch(P){O=!0,b=P}finally{try{if(!S&&h.return!=null&&(m=h.return(),Object(m)!==m))return}finally{if(O)throw b}}return v}}a(l,"_iterableToArrayLimit");function u(d){if(Array.isArray(d))return d}a(u,"_arrayWithHoles");var c=[["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:a(function(){return c},"entries"),forEach:a(function(d){for(var f=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,h=0,y=c;h<y.length;h++){var b=n(y[h],2),g=b[0],m=b[1];d.call(f,m,g,c)}},"forEach"),get:a(function(d){var f=c.filter(function(h){return h[0]===d})[0];return f&&f[1]},"get"),has:a(function(d){return!!p.get(d)},"has"),keys:a(function(){return c.map(function(d){var f=n(d,1),h=f[0];return h})},"keys"),values:a(function(){return c.map(function(d){var f=n(d,2),h=f[1];return h})},"values")};e.default=(0,t.default)(p,p.entries())}),kU=N(e=>{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"]]};e.default=t}),MU=N(e=>{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"]]};e.default=t}),qU=N(e=>{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"]]};e.default=t}),jU=N(e=>{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"]]};e.default=t}),DU=N(e=>{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"]]};e.default=t}),LU=N(e=>{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:[]};e.default=t}),$U=N(e=>{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"]]};e.default=t}),FU=N(e=>{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"]]};e.default=t}),BU=N(e=>{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"]]};e.default=t}),UU=N(e=>{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"]]};e.default=t}),VU=N(e=>{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"]]};e.default=t}),HU=N(e=>{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"]]};e.default=t}),JU=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=h(kU()),r=h(MU()),n=h(qU()),i=h(jU()),o=h(DU()),s=h(LU()),l=h($U()),u=h(FU()),c=h(BU()),p=h(UU()),d=h(VU()),f=h(HU());function h(b){return b&&b.__esModule?b:{default:b}}a(h,"_interopRequireDefault");var y=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",o.default],["roletype",s.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",p.default],["widget",d.default],["window",f.default]];e.default=y}),WU=N(e=>{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"]]};e.default=t}),zU=N(e=>{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"]]};e.default=t}),KU=N(e=>{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"]]};e.default=t}),GU=N(e=>{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"]]};e.default=t}),YU=N(e=>{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"]]};e.default=t}),XU=N(e=>{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"]]};e.default=t}),QU=N(e=>{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"]]};e.default=t}),ZU=N(e=>{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"]]};e.default=t}),e5=N(e=>{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"]]};e.default=t}),t5=N(e=>{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"]]};e.default=t}),r5=N(e=>{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"]]};e.default=t}),n5=N(e=>{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"]]};e.default=t}),i5=N(e=>{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"]]};e.default=t}),o5=N(e=>{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","scoped to the main element"],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"]]};e.default=t}),s5=N(e=>{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"]]};e.default=t}),a5=N(e=>{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"]]};e.default=t}),l5=N(e=>{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"]]};e.default=t}),u5=N(e=>{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"]]};e.default=t}),c5=N(e=>{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"]]};e.default=t}),p5=N(e=>{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"]]};e.default=t}),d5=N(e=>{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"]]};e.default=t}),f5=N(e=>{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"]]};e.default=t}),h5=N(e=>{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"]]};e.default=t}),m5=N(e=>{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"]]};e.default=t}),y5=N(e=>{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"]]};e.default=t}),g5=N(e=>{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"]]};e.default=t}),b5=N(e=>{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"]]};e.default=t}),v5=N(e=>{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"]]};e.default=t}),_5=N(e=>{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"]]};e.default=t}),E5=N(e=>{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"]]};e.default=t}),w5=N(e=>{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"]]};e.default=t}),x5=N(e=>{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"]]};e.default=t}),T5=N(e=>{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"]]};e.default=t}),S5=N(e=>{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"]]};e.default=t}),C5=N(e=>{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"]]};e.default=t}),O5=N(e=>{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"]]};e.default=t}),P5=N(e=>{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"]]};e.default=t}),A5=N(e=>{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"]]};e.default=t}),R5=N(e=>{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"]]};e.default=t}),N5=N(e=>{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"]]};e.default=t}),I5=N(e=>{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"]]};e.default=t}),k5=N(e=>{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"]]};e.default=t}),M5=N(e=>{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"]]};e.default=t}),q5=N(e=>{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"]]};e.default=t}),j5=N(e=>{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"]]};e.default=t}),D5=N(e=>{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"]]};e.default=t}),L5=N(e=>{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"]]};e.default=t}),$5=N(e=>{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:[]};e.default=t}),F5=N(e=>{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"]]};e.default=t}),B5=N(e=>{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"]]};e.default=t}),U5=N(e=>{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"]]};e.default=t}),V5=N(e=>{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"]]};e.default=t}),H5=N(e=>{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"]]};e.default=t}),J5=N(e=>{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"]]};e.default=t}),W5=N(e=>{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"]]};e.default=t}),z5=N(e=>{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"]]};e.default=t}),K5=N(e=>{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"]]};e.default=t}),G5=N(e=>{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"]]};e.default=t}),Y5=N(e=>{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"]]};e.default=t}),X5=N(e=>{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"]]};e.default=t}),Q5=N(e=>{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"]]};e.default=t}),Z5=N(e=>{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"]]};e.default=t}),eV=N(e=>{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"]]};e.default=t}),tV=N(e=>{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"]]};e.default=t}),rV=N(e=>{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"]]};e.default=t}),nV=N(e=>{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"]]};e.default=t}),iV=N(e=>{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"]]};e.default=t}),oV=N(e=>{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"]]};e.default=t}),sV=N(e=>{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"]]};e.default=t}),aV=N(e=>{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"]]};e.default=t}),lV=N(e=>{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"]]};e.default=t}),uV=N(e=>{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"]]};e.default=t}),cV=N(e=>{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"]]};e.default=t}),pV=N(e=>{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"]]};e.default=t}),dV=N(e=>{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"]]};e.default=t}),fV=N(e=>{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"]]};e.default=t}),hV=N(e=>{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"]]};e.default=t}),mV=N(e=>{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"]]};e.default=t}),yV=N(e=>{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"]]};e.default=t}),gV=N(e=>{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"]]};e.default=t}),bV=N(e=>{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"]]};e.default=t}),vV=N(e=>{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"]]};e.default=t}),_V=N(e=>{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"]]};e.default=t}),EV=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=z(WU()),r=z(zU()),n=z(KU()),i=z(GU()),o=z(YU()),s=z(XU()),l=z(QU()),u=z(ZU()),c=z(e5()),p=z(t5()),d=z(r5()),f=z(n5()),h=z(i5()),y=z(o5()),b=z(s5()),g=z(a5()),m=z(l5()),v=z(u5()),S=z(c5()),O=z(p5()),P=z(d5()),x=z(f5()),E=z(h5()),_=z(m5()),C=z(y5()),w=z(g5()),A=z(b5()),I=z(v5()),j=z(_5()),R=z(E5()),q=z(w5()),M=z(x5()),K=z(T5()),J=z(S5()),oe=z(C5()),ye=z(O5()),ae=z(P5()),ee=z(A5()),Z=z(R5()),re=z(N5()),me=z(I5()),se=z(k5()),_e=z(M5()),Te=z(q5()),tt=z(j5()),Xe=z(D5()),V=z(L5()),pe=z($5()),L=z(F5()),U=z(B5()),H=z(U5()),Q=z(V5()),X=z(H5()),te=z(J5()),le=z(W5()),ue=z(z5()),ce=z(K5()),ie=z(G5()),ve=z(Y5()),de=z(X5()),be=z(Q5()),we=z(Z5()),Re=z(eV()),Be=z(tV()),je=z(rV()),xt=z(nV()),dt=z(iV()),Dt=z(oV()),Ct=z(sV()),Jr=z(aV()),ii=z(lV()),Ot=z(uV()),zt=z(cV()),oi=z(pV()),Ea=z(dV()),wa=z(fV()),xa=z(hV()),Gi=z(mV()),Ko=z(yV()),on=z(gV()),_t=z(bV()),Yi=z(vV()),Sn=z(_V());function z(si){return si&&si.__esModule?si:{default:si}}a(z,"_interopRequireDefault");var Xi=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",o.default],["blockquote",s.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",p.default],["code",d.default],["columnheader",f.default],["combobox",h.default],["complementary",y.default],["contentinfo",b.default],["definition",g.default],["deletion",m.default],["dialog",v.default],["directory",S.default],["document",O.default],["emphasis",P.default],["feed",x.default],["figure",E.default],["form",_.default],["generic",C.default],["grid",w.default],["gridcell",A.default],["group",I.default],["heading",j.default],["img",R.default],["insertion",q.default],["link",M.default],["list",K.default],["listbox",J.default],["listitem",oe.default],["log",ye.default],["main",ae.default],["mark",ee.default],["marquee",Z.default],["math",re.default],["menu",me.default],["menubar",se.default],["menuitem",_e.default],["menuitemcheckbox",Te.default],["menuitemradio",tt.default],["meter",Xe.default],["navigation",V.default],["none",pe.default],["note",L.default],["option",U.default],["paragraph",H.default],["presentation",Q.default],["progressbar",X.default],["radio",te.default],["radiogroup",le.default],["region",ue.default],["row",ce.default],["rowgroup",ie.default],["rowheader",ve.default],["scrollbar",de.default],["search",be.default],["searchbox",we.default],["separator",Re.default],["slider",Be.default],["spinbutton",je.default],["status",xt.default],["strong",dt.default],["subscript",Dt.default],["superscript",Ct.default],["switch",Jr.default],["tab",ii.default],["table",Ot.default],["tablist",zt.default],["tabpanel",oi.default],["term",Ea.default],["textbox",wa.default],["time",xa.default],["timer",Gi.default],["toolbar",Ko.default],["tooltip",on.default],["tree",_t.default],["treegrid",Yi.default],["treeitem",Sn.default]];e.default=Xi}),wV=N(e=>{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"]]};e.default=t}),xV=N(e=>{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"]]};e.default=t}),TV=N(e=>{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"]]};e.default=t}),SV=N(e=>{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"]]};e.default=t}),CV=N(e=>{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"]]};e.default=t}),OV=N(e=>{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"]]};e.default=t}),PV=N(e=>{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"]]};e.default=t}),AV=N(e=>{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"]]};e.default=t}),RV=N(e=>{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"]]};e.default=t}),NV=N(e=>{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"]]};e.default=t}),IV=N(e=>{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"]]};e.default=t}),kV=N(e=>{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"]]};e.default=t}),MV=N(e=>{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"]]};e.default=t}),qV=N(e=>{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"]]};e.default=t}),jV=N(e=>{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"]]};e.default=t}),DV=N(e=>{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"]]};e.default=t}),LV=N(e=>{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"]]};e.default=t}),$V=N(e=>{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"]]};e.default=t}),FV=N(e=>{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"]]};e.default=t}),BV=N(e=>{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"]]};e.default=t}),UV=N(e=>{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"]]};e.default=t}),VV=N(e=>{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"]]};e.default=t}),HV=N(e=>{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"]]};e.default=t}),JV=N(e=>{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"]]};e.default=t}),WV=N(e=>{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"]]};e.default=t}),zV=N(e=>{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"]]};e.default=t}),KV=N(e=>{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"]]};e.default=t}),GV=N(e=>{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"]]};e.default=t}),YV=N(e=>{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"]]};e.default=t}),XV=N(e=>{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"]]};e.default=t}),QV=N(e=>{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,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),ZV=N(e=>{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,"aria-disabled":null,"aria-errormessage":null,"aria-haspopup":null,"aria-invalid":null},relatedConcepts:[],requireContextRole:[],requiredContextRole:[],requiredOwnedElements:[],requiredProps:{},superClass:[["roletype","structure","section"]]};e.default=t}),eH=N(e=>{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"]]};e.default=t}),tH=N(e=>{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"]]};e.default=t}),rH=N(e=>{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"]]};e.default=t}),nH=N(e=>{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"]]};e.default=t}),iH=N(e=>{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"]]};e.default=t}),oH=N(e=>{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"]]};e.default=t}),sH=N(e=>{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"]]};e.default=t}),aH=N(e=>{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"]]};e.default=t}),lH=N(e=>{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"]]};e.default=t}),uH=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=se(wV()),r=se(xV()),n=se(TV()),i=se(SV()),o=se(CV()),s=se(OV()),l=se(PV()),u=se(AV()),c=se(RV()),p=se(NV()),d=se(IV()),f=se(kV()),h=se(MV()),y=se(qV()),b=se(jV()),g=se(DV()),m=se(LV()),v=se($V()),S=se(FV()),O=se(BV()),P=se(UV()),x=se(VV()),E=se(HV()),_=se(JV()),C=se(WV()),w=se(zV()),A=se(KV()),I=se(GV()),j=se(YV()),R=se(XV()),q=se(QV()),M=se(ZV()),K=se(eH()),J=se(tH()),oe=se(rH()),ye=se(nH()),ae=se(iH()),ee=se(oH()),Z=se(sH()),re=se(aH()),me=se(lH());function se(Te){return Te&&Te.__esModule?Te:{default:Te}}a(se,"_interopRequireDefault");var _e=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",o.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",p.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",h.default],["doc-credits",y.default],["doc-dedication",b.default],["doc-endnote",g.default],["doc-endnotes",m.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",O.default],["doc-example",P.default],["doc-footnote",x.default],["doc-foreword",E.default],["doc-glossary",_.default],["doc-glossref",C.default],["doc-index",w.default],["doc-introduction",A.default],["doc-noteref",I.default],["doc-notice",j.default],["doc-pagebreak",R.default],["doc-pagefooter",q.default],["doc-pageheader",M.default],["doc-pagelist",K.default],["doc-part",J.default],["doc-preface",oe.default],["doc-prologue",ye.default],["doc-pullquote",ae.default],["doc-qna",ee.default],["doc-subtitle",Z.default],["doc-tip",re.default],["doc-toc",me.default]];e.default=_e}),cH=N(e=>{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"]]};e.default=t}),pH=N(e=>{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"]]};e.default=t}),dH=N(e=>{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"]]};e.default=t}),fH=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(cH()),r=i(pH()),n=i(dH());function i(s){return s&&s.__esModule?s:{default:s}}a(i,"_interopRequireDefault");var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]];e.default=o}),$g=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(JU()),r=s(EV()),n=s(uH()),i=s(fH()),o=s(Zl());function s(g){return g&&g.__esModule?g:{default:g}}a(s,"_interopRequireDefault");function l(g,m){var v=typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(!v){if(Array.isArray(g)||(v=p(g))||m&&g&&typeof g.length=="number"){v&&(g=v);var S=0,O=a(function(){},"F");return{s:O,n:a(function(){return S>=g.length?{done:!0}:{done:!1,value:g[S++]}},"n"),e:a(function(_){throw _},"e"),f:O}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
5
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var P,x=!0,E=!1;return{s:a(function(){v=v.call(g)},"s"),n:a(function(){var _=v.next();return x=_.done,_},"n"),e:a(function(_){E=!0,P=_},"e"),f:a(function(){try{x||v.return==null||v.return()}finally{if(E)throw P}},"f")}}a(l,"_createForOfIteratorHelper");function u(g,m){return h(g)||f(g,m)||p(g,m)||c()}a(u,"_slicedToArray");function c(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
6
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(c,"_nonIterableRest");function p(g,m){if(g){if(typeof g=="string")return d(g,m);var v={}.toString.call(g).slice(8,-1);return v==="Object"&&g.constructor&&(v=g.constructor.name),v==="Map"||v==="Set"?Array.from(g):v==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(v)?d(g,m):void 0}}a(p,"_unsupportedIterableToArray");function d(g,m){(m==null||m>g.length)&&(m=g.length);for(var v=0,S=Array(m);v<m;v++)S[v]=g[v];return S}a(d,"_arrayLikeToArray");function f(g,m){var v=g==null?null:typeof Symbol<"u"&&g[Symbol.iterator]||g["@@iterator"];if(v!=null){var S,O,P,x,E=[],_=!0,C=!1;try{if(P=(v=v.call(g)).next,m===0){if(Object(v)!==v)return;_=!1}else for(;!(_=(S=P.call(v)).done)&&(E.push(S.value),E.length!==m);_=!0);}catch(w){C=!0,O=w}finally{try{if(!_&&v.return!=null&&(x=v.return(),Object(x)!==x))return}finally{if(C)throw O}}return E}}a(f,"_iterableToArrayLimit");function h(g){if(Array.isArray(g))return g}a(h,"_arrayWithHoles");var y=[].concat(t.default,r.default,n.default,i.default);y.forEach(function(g){var m=u(g,2),v=m[1],S=l(v.superClass),O;try{for(S.s();!(O=S.n()).done;){var P=O.value,x=l(P),E;try{var _=a(function(){var C=E.value,w=y.filter(function(q){var M=u(q,1),K=M[0];return K===C})[0];if(w)for(var A=w[1],I=0,j=Object.keys(A.props);I<j.length;I++){var R=j[I];Object.prototype.hasOwnProperty.call(v.props,R)||(v.props[R]=A.props[R])}},"_loop");for(x.s();!(E=x.n()).done;)_()}catch(C){x.e(C)}finally{x.f()}}}catch(C){S.e(C)}finally{S.f()}});var b={entries:a(function(){return y},"entries"),forEach:a(function(g){var m=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,v=l(y),S;try{for(v.s();!(S=v.n()).done;){var O=u(S.value,2),P=O[0],x=O[1];g.call(m,x,P,y)}}catch(E){v.e(E)}finally{v.f()}},"forEach"),get:a(function(g){var m=y.filter(function(v){return v[0]===g})[0];return m&&m[1]},"get"),has:a(function(g){return!!b.get(g)},"has"),keys:a(function(){return y.map(function(g){var m=u(g,1),v=m[0];return v})},"keys"),values:a(function(){return y.map(function(g){var m=u(g,2),v=m[1];return v})},"values")};e.default=(0,o.default)(b,b.entries())}),hH=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Zl()),r=n($g());function n(x){return x&&x.__esModule?x:{default:x}}a(n,"_interopRequireDefault");function i(x,E){return c(x)||u(x,E)||s(x,E)||o()}a(i,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
7
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(o,"_nonIterableRest");function s(x,E){if(x){if(typeof x=="string")return l(x,E);var _={}.toString.call(x).slice(8,-1);return _==="Object"&&x.constructor&&(_=x.constructor.name),_==="Map"||_==="Set"?Array.from(x):_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_)?l(x,E):void 0}}a(s,"_unsupportedIterableToArray");function l(x,E){(E==null||E>x.length)&&(E=x.length);for(var _=0,C=Array(E);_<E;_++)C[_]=x[_];return C}a(l,"_arrayLikeToArray");function u(x,E){var _=x==null?null:typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(_!=null){var C,w,A,I,j=[],R=!0,q=!1;try{if(A=(_=_.call(x)).next,E===0){if(Object(_)!==_)return;R=!1}else for(;!(R=(C=A.call(_)).done)&&(j.push(C.value),j.length!==E);R=!0);}catch(M){q=!0,w=M}finally{try{if(!R&&_.return!=null&&(I=_.return(),Object(I)!==I))return}finally{if(q)throw w}}return j}}a(u,"_iterableToArrayLimit");function c(x){if(Array.isArray(x))return x}a(c,"_arrayWithHoles");var p=[],d=r.default.keys();for(m=0;m<d.length;m++)if(f=d[m],h=r.default.get(f),h)for(y=[].concat(h.baseConcepts,h.relatedConcepts),b=a(function(){var x=y[g];if(x.module==="HTML"){var E=x.concept;if(E){var _=p.filter(function(I){return S(I[0],E)})[0],C;_?C=_[1]:C=[];for(var w=!0,A=0;A<C.length;A++)if(C[A]===f){w=!1;break}w&&C.push(f),_||p.push([E,C])}}},"_loop"),g=0;g<y.length;g++)b();var f,h,y,b,g,m,v={entries:a(function(){return p},"entries"),forEach:a(function(x){for(var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=0,C=p;_<C.length;_++){var w=i(C[_],2),A=w[0],I=w[1];x.call(E,I,A,p)}},"forEach"),get:a(function(x){var E=p.filter(function(_){return x.name===_[0].name&&P(x.attributes,_[0].attributes)})[0];return E&&E[1]},"get"),has:a(function(x){return!!v.get(x)},"has"),keys:a(function(){return p.map(function(x){var E=i(x,1),_=E[0];return _})},"keys"),values:a(function(){return p.map(function(x){var E=i(x,2),_=E[1];return _})},"values")};function S(x,E){return x.name===E.name&&O(x.constraints,E.constraints)&&P(x.attributes,E.attributes)}a(S,"ariaRoleRelationConceptEquals");function O(x,E){if(x===void 0&&E!==void 0||x!==void 0&&E===void 0)return!1;if(x!==void 0&&E!==void 0){if(x.length!==E.length)return!1;for(var _=0;_<x.length;_++)if(x[_]!==E[_])return!1}return!0}a(O,"ariaRoleRelationConstraintsEquals");function P(x,E){if(x===void 0&&E!==void 0||x!==void 0&&E===void 0)return!1;if(x!==void 0&&E!==void 0){if(x.length!==E.length)return!1;for(var _=0;_<x.length;_++){if(x[_].name!==E[_].name||x[_].value!==E[_].value||x[_].constraints===void 0&&E[_].constraints!==void 0||x[_].constraints!==void 0&&E[_].constraints===void 0)return!1;if(x[_].constraints!==void 0&&E[_].constraints!==void 0){if(x[_].constraints.length!==E[_].constraints.length)return!1;for(var C=0;C<x[_].constraints.length;C++)if(x[_].constraints[C]!==E[_].constraints[C])return!1}}}return!0}a(P,"ariaRoleRelationConceptAttributeEquals"),e.default=(0,t.default)(v,v.entries())}),mH=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(Zl()),r=n($g());function n(P){return P&&P.__esModule?P:{default:P}}a(n,"_interopRequireDefault");function i(P,x){return c(P)||u(P,x)||s(P,x)||o()}a(i,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
8
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(o,"_nonIterableRest");function s(P,x){if(P){if(typeof P=="string")return l(P,x);var E={}.toString.call(P).slice(8,-1);return E==="Object"&&P.constructor&&(E=P.constructor.name),E==="Map"||E==="Set"?Array.from(P):E==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(E)?l(P,x):void 0}}a(s,"_unsupportedIterableToArray");function l(P,x){(x==null||x>P.length)&&(x=P.length);for(var E=0,_=Array(x);E<x;E++)_[E]=P[E];return _}a(l,"_arrayLikeToArray");function u(P,x){var E=P==null?null:typeof Symbol<"u"&&P[Symbol.iterator]||P["@@iterator"];if(E!=null){var _,C,w,A,I=[],j=!0,R=!1;try{if(w=(E=E.call(P)).next,x===0){if(Object(E)!==E)return;j=!1}else for(;!(j=(_=w.call(E)).done)&&(I.push(_.value),I.length!==x);j=!0);}catch(q){R=!0,C=q}finally{try{if(!j&&E.return!=null&&(A=E.return(),Object(A)!==A))return}finally{if(R)throw C}}return I}}a(u,"_iterableToArrayLimit");function c(P){if(Array.isArray(P))return P}a(c,"_arrayWithHoles");var p=[],d=r.default.keys();for(S=0;S<d.length;S++)if(f=d[S],h=r.default.get(f),y=[],h){for(b=[].concat(h.baseConcepts,h.relatedConcepts),v=0;v<b.length;v++)g=b[v],g.module==="HTML"&&(m=g.concept,m!=null&&y.push(m));y.length>0&&p.push([f,y])}var f,h,y,b,g,m,v,S,O={entries:a(function(){return p},"entries"),forEach:a(function(P){for(var x=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,E=0,_=p;E<_.length;E++){var C=i(_[E],2),w=C[0],A=C[1];P.call(x,A,w,p)}},"forEach"),get:a(function(P){var x=p.filter(function(E){return E[0]===P})[0];return x&&x[1]},"get"),has:a(function(P){return!!O.get(P)},"has"),keys:a(function(){return p.map(function(P){var x=i(P,1),E=x[0];return E})},"keys"),values:a(function(){return p.map(function(P){var x=i(P,2),E=x[1];return E})},"values")};e.default=(0,t.default)(O,O.entries())}),hC=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(NU()),r=s(IU()),n=s($g()),i=s(hH()),o=s(mH());function s(l){return l&&l.__esModule?l:{default:l}}a(s,"_interopRequireDefault"),e.aria=t.default,e.dom=r.default,e.roles=n.default,e.elementRoles=i.default,e.roleElements=o.default}),yH=N((e,t)=>{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]}}),mC=N((e,t)=>{var r=yH(),n={};for(let s of Object.keys(r))n[r[s]]=s;var i={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=i;for(let s of Object.keys(i)){if(!("channels"in i[s]))throw new Error("missing channels property: "+s);if(!("labels"in i[s]))throw new Error("missing channel labels property: "+s);if(i[s].labels.length!==i[s].channels)throw new Error("channel and label counts mismatch: "+s);let{channels:l,labels:u}=i[s];delete i[s].channels,delete i[s].labels,Object.defineProperty(i[s],"channels",{value:l}),Object.defineProperty(i[s],"labels",{value:u})}i.rgb.hsl=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255,p=Math.min(l,u,c),d=Math.max(l,u,c),f=d-p,h,y;d===p?h=0:l===d?h=(u-c)/f:u===d?h=2+(c-l)/f:c===d&&(h=4+(l-u)/f),h=Math.min(h*60,360),h<0&&(h+=360);let b=(p+d)/2;return d===p?y=0:b<=.5?y=f/(d+p):y=f/(2-d-p),[h,y*100,b*100]},i.rgb.hsv=function(s){let l,u,c,p,d,f=s[0]/255,h=s[1]/255,y=s[2]/255,b=Math.max(f,h,y),g=b-Math.min(f,h,y),m=a(function(v){return(b-v)/6/g+1/2},"diffc");return g===0?(p=0,d=0):(d=g/b,l=m(f),u=m(h),c=m(y),f===b?p=c-u:h===b?p=1/3+l-c:y===b&&(p=2/3+u-l),p<0?p+=1:p>1&&(p-=1)),[p*360,d*100,b*100]},i.rgb.hwb=function(s){let l=s[0],u=s[1],c=s[2],p=i.rgb.hsl(s)[0],d=1/255*Math.min(l,Math.min(u,c));return c=1-1/255*Math.max(l,Math.max(u,c)),[p,d*100,c*100]},i.rgb.cmyk=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255,p=Math.min(1-l,1-u,1-c),d=(1-l-p)/(1-p)||0,f=(1-u-p)/(1-p)||0,h=(1-c-p)/(1-p)||0;return[d*100,f*100,h*100,p*100]};function o(s,l){return(s[0]-l[0])**2+(s[1]-l[1])**2+(s[2]-l[2])**2}a(o,"comparativeDistance"),i.rgb.keyword=function(s){let l=n[s];if(l)return l;let u=1/0,c;for(let p of Object.keys(r)){let d=r[p],f=o(s,d);f<u&&(u=f,c=p)}return c},i.keyword.rgb=function(s){return r[s]},i.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 p=l*.4124+u*.3576+c*.1805,d=l*.2126+u*.7152+c*.0722,f=l*.0193+u*.1192+c*.9505;return[p*100,d*100,f*100]},i.rgb.lab=function(s){let l=i.rgb.xyz(s),u=l[0],c=l[1],p=l[2];u/=95.047,c/=100,p/=108.883,u=u>.008856?u**(1/3):7.787*u+16/116,c=c>.008856?c**(1/3):7.787*c+16/116,p=p>.008856?p**(1/3):7.787*p+16/116;let d=116*c-16,f=500*(u-c),h=200*(c-p);return[d,f,h]},i.hsl.rgb=function(s){let l=s[0]/360,u=s[1]/100,c=s[2]/100,p,d,f;if(u===0)return f=c*255,[f,f,f];c<.5?p=c*(1+u):p=c+u-c*u;let h=2*c-p,y=[0,0,0];for(let b=0;b<3;b++)d=l+1/3*-(b-1),d<0&&d++,d>1&&d--,6*d<1?f=h+(p-h)*6*d:2*d<1?f=p:3*d<2?f=h+(p-h)*(2/3-d)*6:f=h,y[b]=f*255;return y},i.hsl.hsv=function(s){let l=s[0],u=s[1]/100,c=s[2]/100,p=u,d=Math.max(c,.01);c*=2,u*=c<=1?c:2-c,p*=d<=1?d:2-d;let f=(c+u)/2,h=c===0?2*p/(d+p):2*u/(c+u);return[l,h*100,f*100]},i.hsv.rgb=function(s){let l=s[0]/60,u=s[1]/100,c=s[2]/100,p=Math.floor(l)%6,d=l-Math.floor(l),f=255*c*(1-u),h=255*c*(1-u*d),y=255*c*(1-u*(1-d));switch(c*=255,p){case 0:return[c,y,f];case 1:return[h,c,f];case 2:return[f,c,y];case 3:return[f,h,c];case 4:return[y,f,c];case 5:return[c,f,h]}},i.hsv.hsl=function(s){let l=s[0],u=s[1]/100,c=s[2]/100,p=Math.max(c,.01),d,f;f=(2-u)*c;let h=(2-u)*p;return d=u*p,d/=h<=1?h:2-h,d=d||0,f/=2,[l,d*100,f*100]},i.hwb.rgb=function(s){let l=s[0]/360,u=s[1]/100,c=s[2]/100,p=u+c,d;p>1&&(u/=p,c/=p);let f=Math.floor(6*l),h=1-c;d=6*l-f,(f&1)!==0&&(d=1-d);let y=u+d*(h-u),b,g,m;switch(f){default:case 6:case 0:b=h,g=y,m=u;break;case 1:b=y,g=h,m=u;break;case 2:b=u,g=h,m=y;break;case 3:b=u,g=y,m=h;break;case 4:b=y,g=u,m=h;break;case 5:b=h,g=u,m=y;break}return[b*255,g*255,m*255]},i.cmyk.rgb=function(s){let l=s[0]/100,u=s[1]/100,c=s[2]/100,p=s[3]/100,d=1-Math.min(1,l*(1-p)+p),f=1-Math.min(1,u*(1-p)+p),h=1-Math.min(1,c*(1-p)+p);return[d*255,f*255,h*255]},i.xyz.rgb=function(s){let l=s[0]/100,u=s[1]/100,c=s[2]/100,p,d,f;return p=l*3.2406+u*-1.5372+c*-.4986,d=l*-.9689+u*1.8758+c*.0415,f=l*.0557+u*-.204+c*1.057,p=p>.0031308?1.055*p**(1/2.4)-.055:p*12.92,d=d>.0031308?1.055*d**(1/2.4)-.055:d*12.92,f=f>.0031308?1.055*f**(1/2.4)-.055:f*12.92,p=Math.min(Math.max(0,p),1),d=Math.min(Math.max(0,d),1),f=Math.min(Math.max(0,f),1),[p*255,d*255,f*255]},i.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 p=116*u-16,d=500*(l-u),f=200*(u-c);return[p,d,f]},i.lab.xyz=function(s){let l=s[0],u=s[1],c=s[2],p,d,f;d=(l+16)/116,p=u/500+d,f=d-c/200;let h=d**3,y=p**3,b=f**3;return d=h>.008856?h:(d-16/116)/7.787,p=y>.008856?y:(p-16/116)/7.787,f=b>.008856?b:(f-16/116)/7.787,p*=95.047,d*=100,f*=108.883,[p,d,f]},i.lab.lch=function(s){let l=s[0],u=s[1],c=s[2],p;p=Math.atan2(c,u)*360/2/Math.PI,p<0&&(p+=360);let d=Math.sqrt(u*u+c*c);return[l,d,p]},i.lch.lab=function(s){let l=s[0],u=s[1],c=s[2]/360*2*Math.PI,p=u*Math.cos(c),d=u*Math.sin(c);return[l,p,d]},i.rgb.ansi16=function(s,l=null){let[u,c,p]=s,d=l===null?i.rgb.hsv(s)[2]:l;if(d=Math.round(d/50),d===0)return 30;let f=30+(Math.round(p/255)<<2|Math.round(c/255)<<1|Math.round(u/255));return d===2&&(f+=60),f},i.hsv.ansi16=function(s){return i.rgb.ansi16(i.hsv.rgb(s),s[2])},i.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)},i.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,p=(l>>1&1)*u*255,d=(l>>2&1)*u*255;return[c,p,d]},i.ansi256.rgb=function(s){if(s>=232){let d=(s-232)*10+8;return[d,d,d]}s-=16;let l,u=Math.floor(s/36)/5*255,c=Math.floor((l=s%36)/6)/5*255,p=l%6/5*255;return[u,c,p]},i.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},i.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(h=>h+h).join(""));let c=parseInt(u,16),p=c>>16&255,d=c>>8&255,f=c&255;return[p,d,f]},i.rgb.hcg=function(s){let l=s[0]/255,u=s[1]/255,c=s[2]/255,p=Math.max(Math.max(l,u),c),d=Math.min(Math.min(l,u),c),f=p-d,h,y;return f<1?h=d/(1-f):h=0,f<=0?y=0:p===l?y=(u-c)/f%6:p===u?y=2+(c-l)/f:y=4+(l-u)/f,y/=6,y%=1,[y*360,f*100,h*100]},i.hsl.hcg=function(s){let l=s[1]/100,u=s[2]/100,c=u<.5?2*l*u:2*l*(1-u),p=0;return c<1&&(p=(u-.5*c)/(1-c)),[s[0],c*100,p*100]},i.hsv.hcg=function(s){let l=s[1]/100,u=s[2]/100,c=l*u,p=0;return c<1&&(p=(u-c)/(1-c)),[s[0],c*100,p*100]},i.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 p=[0,0,0],d=l%1*6,f=d%1,h=1-f,y=0;switch(Math.floor(d)){case 0:p[0]=1,p[1]=f,p[2]=0;break;case 1:p[0]=h,p[1]=1,p[2]=0;break;case 2:p[0]=0,p[1]=1,p[2]=f;break;case 3:p[0]=0,p[1]=h,p[2]=1;break;case 4:p[0]=f,p[1]=0,p[2]=1;break;default:p[0]=1,p[1]=0,p[2]=h}return y=(1-u)*c,[(u*p[0]+y)*255,(u*p[1]+y)*255,(u*p[2]+y)*255]},i.hcg.hsv=function(s){let l=s[1]/100,u=s[2]/100,c=l+u*(1-l),p=0;return c>0&&(p=l/c),[s[0],p*100,c*100]},i.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]},i.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]},i.hwb.hcg=function(s){let l=s[1]/100,u=1-s[2]/100,c=u-l,p=0;return c<1&&(p=(u-c)/(1-c)),[s[0],c*100,p*100]},i.apple.rgb=function(s){return[s[0]/65535*255,s[1]/65535*255,s[2]/65535*255]},i.rgb.apple=function(s){return[s[0]/255*65535,s[1]/255*65535,s[2]/255*65535]},i.gray.rgb=function(s){return[s[0]/100*255,s[0]/100*255,s[0]/100*255]},i.gray.hsl=function(s){return[0,0,s[0]]},i.gray.hsv=i.gray.hsl,i.gray.hwb=function(s){return[0,100,s[0]]},i.gray.cmyk=function(s){return[0,0,0,s[0]]},i.gray.lab=function(s){return[s[0],0,0]},i.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},i.rgb.gray=function(s){return[(s[0]+s[1]+s[2])/3/255*100]}}),gH=N((e,t)=>{var r=mC();function n(){let l={},u=Object.keys(r);for(let c=u.length,p=0;p<c;p++)l[u[p]]={distance:-1,parent:null};return l}a(n,"buildGraph");function i(l){let u=n(),c=[l];for(u[l].distance=0;c.length;){let p=c.pop(),d=Object.keys(r[p]);for(let f=d.length,h=0;h<f;h++){let y=d[h],b=u[y];b.distance===-1&&(b.distance=u[p].distance+1,b.parent=p,c.unshift(y))}}return u}a(i,"deriveBFS");function o(l,u){return function(c){return u(l(c))}}a(o,"link");function s(l,u){let c=[u[l].parent,l],p=r[u[l].parent][l],d=u[l].parent;for(;u[d].parent;)c.unshift(u[d].parent),p=o(r[u[d].parent][d],p),d=u[d].parent;return p.conversion=c,p}a(s,"wrapConversion"),t.exports=function(l){let u=i(l),c={},p=Object.keys(u);for(let d=p.length,f=0;f<d;f++){let h=p[f];u[h].parent!==null&&(c[h]=s(h,u))}return c}}),bH=N((e,t)=>{var r=mC(),n=gH(),i={},o=Object.keys(r);function s(u){let c=a(function(...p){let d=p[0];return d==null?d:(d.length>1&&(p=d),u(p))},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}a(s,"wrapRaw");function l(u){let c=a(function(...p){let d=p[0];if(d==null)return d;d.length>1&&(p=d);let f=u(p);if(typeof f=="object")for(let h=f.length,y=0;y<h;y++)f[y]=Math.round(f[y]);return f},"wrappedFn");return"conversion"in u&&(c.conversion=u.conversion),c}a(l,"wrapRounded"),o.forEach(u=>{i[u]={},Object.defineProperty(i[u],"channels",{value:r[u].channels}),Object.defineProperty(i[u],"labels",{value:r[u].labels});let c=n(u);Object.keys(c).forEach(p=>{let d=c[p];i[u][p]=l(d),i[u][p].raw=s(d)})}),t.exports=i}),vH=N((e,t)=>{var r=a((d,f)=>(...h)=>`\x1B[${d(...h)+f}m`,"wrapAnsi16"),n=a((d,f)=>(...h)=>{let y=d(...h);return`\x1B[${38+f};5;${y}m`},"wrapAnsi256"),i=a((d,f)=>(...h)=>{let y=d(...h);return`\x1B[${38+f};2;${y[0]};${y[1]};${y[2]}m`},"wrapAnsi16m"),o=a(d=>d,"ansi2ansi"),s=a((d,f,h)=>[d,f,h],"rgb2rgb"),l=a((d,f,h)=>{Object.defineProperty(d,f,{get:a(()=>{let y=h();return Object.defineProperty(d,f,{value:y,enumerable:!0,configurable:!0}),y},"get"),enumerable:!0,configurable:!0})},"setLazyProperty"),u,c=a((d,f,h,y)=>{u===void 0&&(u=bH());let b=y?10:0,g={};for(let[m,v]of Object.entries(u)){let S=m==="ansi16"?"ansi":m;m===f?g[S]=d(h,b):typeof v=="object"&&(g[S]=d(v[f],b))}return g},"makeDynamicStyles");function p(){let d=new Map,f={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]}};f.color.gray=f.color.blackBright,f.bgColor.bgGray=f.bgColor.bgBlackBright,f.color.grey=f.color.blackBright,f.bgColor.bgGrey=f.bgColor.bgBlackBright;for(let[h,y]of Object.entries(f)){for(let[b,g]of Object.entries(y))f[b]={open:`\x1B[${g[0]}m`,close:`\x1B[${g[1]}m`},y[b]=f[b],d.set(g[0],g[1]);Object.defineProperty(f,h,{value:y,enumerable:!1})}return Object.defineProperty(f,"codes",{value:d,enumerable:!1}),f.color.close="\x1B[39m",f.bgColor.close="\x1B[49m",l(f.color,"ansi",()=>c(r,"ansi16",o,!1)),l(f.color,"ansi256",()=>c(n,"ansi256",o,!1)),l(f.color,"ansi16m",()=>c(i,"rgb",s,!1)),l(f.bgColor,"ansi",()=>c(r,"ansi16",o,!0)),l(f.bgColor,"ansi256",()=>c(n,"ansi256",o,!0)),l(f.bgColor,"ansi16m",()=>c(i,"rgb",s,!0)),f}a(p,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:p})}),_H=N((e,t)=>{t.exports={stdout:!1,stderr:!1}}),EH=N((e,t)=>{var r=a((i,o,s)=>{let l=i.indexOf(o);if(l===-1)return i;let u=o.length,c=0,p="";do p+=i.substr(c,l-c)+o+s,c=l+u,l=i.indexOf(o,c);while(l!==-1);return p+=i.substr(c),p},"stringReplaceAll"),n=a((i,o,s,l)=>{let u=0,c="";do{let p=i[l-1]==="\r";c+=i.substr(u,(p?l-1:l)-u)+o+(p?`\r
|
|
9
|
-
`:`
|
|
10
|
-
`)+s,u=l+1,l=i.indexOf(`
|
|
11
|
-
`,u)}while(l!==-1);return c+=i.substr(u),c},"stringEncaseCRLFWithFirstIndex");t.exports={stringReplaceAll:r,stringEncaseCRLFWithFirstIndex:n}}),wH=N((e,t)=>{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,i=/^(['"])((?:\\.|(?!\1)[^\\])*)\1$/,o=/\\(u(?:[a-f\d]{4}|\{[a-f\d]{1,6}\})|x[a-f\d]{2}|.)|([^\\])/gi,s=new Map([["n",`
|
|
12
|
-
`],["r","\r"],["t"," "],["b","\b"],["f","\f"],["v","\v"],["0","\0"],["\\","\\"],["e","\x1B"],["a","\x07"]]);function l(d){let f=d[0]==="u",h=d[1]==="{";return f&&!h&&d.length===5||d[0]==="x"&&d.length===3?String.fromCharCode(parseInt(d.slice(1),16)):f&&h?String.fromCodePoint(parseInt(d.slice(2,-1),16)):s.get(d)||d}a(l,"unescape");function u(d,f){let h=[],y=f.trim().split(/\s*,\s*/g),b;for(let g of y){let m=Number(g);if(!Number.isNaN(m))h.push(m);else if(b=g.match(i))h.push(b[2].replace(o,(v,S,O)=>S?l(S):O));else throw new Error(`Invalid Chalk template style argument: ${g} (in style '${d}')`)}return h}a(u,"parseArguments");function c(d){n.lastIndex=0;let f=[],h;for(;(h=n.exec(d))!==null;){let y=h[1];if(h[2]){let b=u(y,h[2]);f.push([y].concat(b))}else f.push([y])}return f}a(c,"parseStyle");function p(d,f){let h={};for(let b of f)for(let g of b.styles)h[g[0]]=b.inverse?null:g.slice(1);let y=d;for(let[b,g]of Object.entries(h))if(Array.isArray(g)){if(!(b in y))throw new Error(`Unknown Chalk style: ${b}`);y=g.length>0?y[b](...g):y[b]}return y}a(p,"buildStyle"),t.exports=(d,f)=>{let h=[],y=[],b=[];if(f.replace(r,(g,m,v,S,O,P)=>{if(m)b.push(l(m));else if(S){let x=b.join("");b=[],y.push(h.length===0?x:p(d,h)(x)),h.push({inverse:v,styles:c(S)})}else if(O){if(h.length===0)throw new Error("Found extraneous } in Chalk template literal");y.push(p(d,h)(b.join(""))),b=[],h.pop()}else b.push(P)}),y.push(b.join("")),h.length>0){let g=`Chalk template literal is missing ${h.length} closing bracket${h.length===1?"":"s"} (\`}\`)`;throw new Error(g)}return y.join("")}}),yC=N((e,t)=>{var r=vH(),{stdout:n,stderr:i}=_H(),{stringReplaceAll:o,stringEncaseCRLFWithFirstIndex:s}=EH(),l=["ansi","ansi","ansi256","ansi16m"],u=Object.create(null),c=a((x,E={})=>{if(E.level>3||E.level<0)throw new Error("The `level` option should be an integer from 0 to 3");let _=n?n.level:0;x.level=E.level===void 0?_:E.level},"applyOptions"),p=class{constructor(E){return f(E)}};a(p,"ChalkClass");var d=p,f=a(x=>{let E={};return c(E,x),E.template=(..._)=>O(E.template,..._),Object.setPrototypeOf(E,h.prototype),Object.setPrototypeOf(E.template,E),E.template.constructor=()=>{throw new Error("`chalk.constructor()` is deprecated. Use `new chalk.Instance()` instead.")},E.template.Instance=d,E.template},"chalkFactory");function h(x){return f(x)}a(h,"Chalk");for(let[x,E]of Object.entries(r))u[x]={get(){let _=m(this,g(E.open,E.close,this._styler),this._isEmpty);return Object.defineProperty(this,x,{value:_}),_}};u.visible={get(){let x=m(this,this._styler,!0);return Object.defineProperty(this,"visible",{value:x}),x}};var y=["rgb","hex","keyword","hsl","hsv","hwb","ansi","ansi256"];for(let x of y)u[x]={get(){let{level:E}=this;return function(..._){let C=g(r.color[l[E]][x](..._),r.color.close,this._styler);return m(this,C,this._isEmpty)}}};for(let x of y){let E="bg"+x[0].toUpperCase()+x.slice(1);u[E]={get(){let{level:_}=this;return function(...C){let w=g(r.bgColor[l[_]][x](...C),r.bgColor.close,this._styler);return m(this,w,this._isEmpty)}}}}var b=Object.defineProperties(()=>{},{...u,level:{enumerable:!0,get(){return this._generator.level},set(x){this._generator.level=x}}}),g=a((x,E,_)=>{let C,w;return _===void 0?(C=x,w=E):(C=_.openAll+x,w=E+_.closeAll),{open:x,close:E,openAll:C,closeAll:w,parent:_}},"createStyler"),m=a((x,E,_)=>{let C=a((...w)=>v(C,w.length===1?""+w[0]:w.join(" ")),"builder");return C.__proto__=b,C._generator=x,C._styler=E,C._isEmpty=_,C},"createBuilder"),v=a((x,E)=>{if(x.level<=0||!E)return x._isEmpty?"":E;let _=x._styler;if(_===void 0)return E;let{openAll:C,closeAll:w}=_;if(E.indexOf("\x1B")!==-1)for(;_!==void 0;)E=o(E,_.close,_.open),_=_.parent;let A=E.indexOf(`
|
|
13
|
-
`);return A!==-1&&(E=s(E,w,C,A)),C+E+w},"applyStyle"),S,O=a((x,...E)=>{let[_]=E;if(!Array.isArray(_))return E.join(" ");let C=E.slice(1),w=[_.raw[0]];for(let A=1;A<_.length;A++)w.push(String(C[A-1]).replace(/[{}\\]/g,"\\$&"),String(_.raw[A]));return S===void 0&&(S=wH()),S(x,w.join(""))},"chalkTag");Object.defineProperties(h.prototype,u);var P=h();P.supportsColor=n,P.stderr=h({level:i?i.level:0}),P.stderr.supportsColor=i,P.Level={None:0,Basic:1,Ansi256:2,TrueColor:3,0:"None",1:"Basic",2:"Ansi256",3:"TrueColor"},t.exports=P}),xH=N((e,t)=>{function r(){this.__data__=[],this.size=0}a(r,"listCacheClear"),t.exports=r}),gC=N((e,t)=>{function r(n,i){return n===i||n!==n&&i!==i}a(r,"eq"),t.exports=r}),rd=N((e,t)=>{var r=gC();function n(i,o){for(var s=i.length;s--;)if(r(i[s][0],o))return s;return-1}a(n,"assocIndexOf"),t.exports=n}),TH=N((e,t)=>{var r=rd(),n=Array.prototype,i=n.splice;function o(s){var l=this.__data__,u=r(l,s);if(u<0)return!1;var c=l.length-1;return u==c?l.pop():i.call(l,u,1),--this.size,!0}a(o,"listCacheDelete"),t.exports=o}),SH=N((e,t)=>{var r=rd();function n(i){var o=this.__data__,s=r(o,i);return s<0?void 0:o[s][1]}a(n,"listCacheGet"),t.exports=n}),CH=N((e,t)=>{var r=rd();function n(i){return r(this.__data__,i)>-1}a(n,"listCacheHas"),t.exports=n}),OH=N((e,t)=>{var r=rd();function n(i,o){var s=this.__data__,l=r(s,i);return l<0?(++this.size,s.push([i,o])):s[l][1]=o,this}a(n,"listCacheSet"),t.exports=n}),nd=N((e,t)=>{var r=xH(),n=TH(),i=SH(),o=CH(),s=OH();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}a(l,"ListCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=o,l.prototype.set=s,t.exports=l}),PH=N((e,t)=>{var r=nd();function n(){this.__data__=new r,this.size=0}a(n,"stackClear"),t.exports=n}),AH=N((e,t)=>{function r(n){var i=this.__data__,o=i.delete(n);return this.size=i.size,o}a(r,"stackDelete"),t.exports=r}),RH=N((e,t)=>{function r(n){return this.__data__.get(n)}a(r,"stackGet"),t.exports=r}),NH=N((e,t)=>{function r(n){return this.__data__.has(n)}a(r,"stackHas"),t.exports=r}),bC=N((e,t)=>{var r=typeof global=="object"&&global&&global.Object===Object&&global;t.exports=r}),Zn=N((e,t)=>{var r=bC(),n=typeof self=="object"&&self&&self.Object===Object&&self,i=r||n||Function("return this")();t.exports=i}),Fg=N((e,t)=>{var r=Zn(),n=r.Symbol;t.exports=n}),IH=N((e,t)=>{var r=Fg(),n=Object.prototype,i=n.hasOwnProperty,o=n.toString,s=r?r.toStringTag:void 0;function l(u){var c=i.call(u,s),p=u[s];try{u[s]=void 0;var d=!0}catch{}var f=o.call(u);return d&&(c?u[s]=p:delete u[s]),f}a(l,"getRawTag"),t.exports=l}),kH=N((e,t)=>{var r=Object.prototype,n=r.toString;function i(o){return n.call(o)}a(i,"objectToString"),t.exports=i}),id=N((e,t)=>{var r=Fg(),n=IH(),i=kH(),o="[object Null]",s="[object Undefined]",l=r?r.toStringTag:void 0;function u(c){return c==null?c===void 0?s:o:l&&l in Object(c)?n(c):i(c)}a(u,"baseGetTag"),t.exports=u}),vC=N((e,t)=>{function r(n){var i=typeof n;return n!=null&&(i=="object"||i=="function")}a(r,"isObject"),t.exports=r}),_C=N((e,t)=>{var r=id(),n=vC(),i="[object AsyncFunction]",o="[object Function]",s="[object GeneratorFunction]",l="[object Proxy]";function u(c){if(!n(c))return!1;var p=r(c);return p==o||p==s||p==i||p==l}a(u,"isFunction"),t.exports=u}),MH=N((e,t)=>{var r=Zn(),n=r["__core-js_shared__"];t.exports=n}),qH=N((e,t)=>{var r=MH(),n=function(){var o=/[^.]+$/.exec(r&&r.keys&&r.keys.IE_PROTO||"");return o?"Symbol(src)_1."+o:""}();function i(o){return!!n&&n in o}a(i,"isMasked"),t.exports=i}),EC=N((e,t)=>{var r=Function.prototype,n=r.toString;function i(o){if(o!=null){try{return n.call(o)}catch{}try{return o+""}catch{}}return""}a(i,"toSource"),t.exports=i}),jH=N((e,t)=>{var r=_C(),n=qH(),i=vC(),o=EC(),s=/[\\^$.*+?()[\]{}|]/g,l=/^\[object .+?Constructor\]$/,u=Function.prototype,c=Object.prototype,p=u.toString,d=c.hasOwnProperty,f=RegExp("^"+p.call(d).replace(s,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function h(y){if(!i(y)||n(y))return!1;var b=r(y)?f:l;return b.test(o(y))}a(h,"baseIsNative"),t.exports=h}),DH=N((e,t)=>{function r(n,i){return n?.[i]}a(r,"getValue"),t.exports=r}),ia=N((e,t)=>{var r=jH(),n=DH();function i(o,s){var l=n(o,s);return r(l)?l:void 0}a(i,"getNative"),t.exports=i}),Bg=N((e,t)=>{var r=ia(),n=Zn(),i=r(n,"Map");t.exports=i}),od=N((e,t)=>{var r=ia(),n=r(Object,"create");t.exports=n}),LH=N((e,t)=>{var r=od();function n(){this.__data__=r?r(null):{},this.size=0}a(n,"hashClear"),t.exports=n}),$H=N((e,t)=>{function r(n){var i=this.has(n)&&delete this.__data__[n];return this.size-=i?1:0,i}a(r,"hashDelete"),t.exports=r}),FH=N((e,t)=>{var r=od(),n="__lodash_hash_undefined__",i=Object.prototype,o=i.hasOwnProperty;function s(l){var u=this.__data__;if(r){var c=u[l];return c===n?void 0:c}return o.call(u,l)?u[l]:void 0}a(s,"hashGet"),t.exports=s}),BH=N((e,t)=>{var r=od(),n=Object.prototype,i=n.hasOwnProperty;function o(s){var l=this.__data__;return r?l[s]!==void 0:i.call(l,s)}a(o,"hashHas"),t.exports=o}),UH=N((e,t)=>{var r=od(),n="__lodash_hash_undefined__";function i(o,s){var l=this.__data__;return this.size+=this.has(o)?0:1,l[o]=r&&s===void 0?n:s,this}a(i,"hashSet"),t.exports=i}),VH=N((e,t)=>{var r=LH(),n=$H(),i=FH(),o=BH(),s=UH();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}a(l,"Hash"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=o,l.prototype.set=s,t.exports=l}),HH=N((e,t)=>{var r=VH(),n=nd(),i=Bg();function o(){this.size=0,this.__data__={hash:new r,map:new(i||n),string:new r}}a(o,"mapCacheClear"),t.exports=o}),JH=N((e,t)=>{function r(n){var i=typeof n;return i=="string"||i=="number"||i=="symbol"||i=="boolean"?n!=="__proto__":n===null}a(r,"isKeyable"),t.exports=r}),sd=N((e,t)=>{var r=JH();function n(i,o){var s=i.__data__;return r(o)?s[typeof o=="string"?"string":"hash"]:s.map}a(n,"getMapData"),t.exports=n}),WH=N((e,t)=>{var r=sd();function n(i){var o=r(this,i).delete(i);return this.size-=o?1:0,o}a(n,"mapCacheDelete"),t.exports=n}),zH=N((e,t)=>{var r=sd();function n(i){return r(this,i).get(i)}a(n,"mapCacheGet"),t.exports=n}),KH=N((e,t)=>{var r=sd();function n(i){return r(this,i).has(i)}a(n,"mapCacheHas"),t.exports=n}),GH=N((e,t)=>{var r=sd();function n(i,o){var s=r(this,i),l=s.size;return s.set(i,o),this.size+=s.size==l?0:1,this}a(n,"mapCacheSet"),t.exports=n}),wC=N((e,t)=>{var r=HH(),n=WH(),i=zH(),o=KH(),s=GH();function l(u){var c=-1,p=u==null?0:u.length;for(this.clear();++c<p;){var d=u[c];this.set(d[0],d[1])}}a(l,"MapCache"),l.prototype.clear=r,l.prototype.delete=n,l.prototype.get=i,l.prototype.has=o,l.prototype.set=s,t.exports=l}),YH=N((e,t)=>{var r=nd(),n=Bg(),i=wC(),o=200;function s(l,u){var c=this.__data__;if(c instanceof r){var p=c.__data__;if(!n||p.length<o-1)return p.push([l,u]),this.size=++c.size,this;c=this.__data__=new i(p)}return c.set(l,u),this.size=c.size,this}a(s,"stackSet"),t.exports=s}),XH=N((e,t)=>{var r=nd(),n=PH(),i=AH(),o=RH(),s=NH(),l=YH();function u(c){var p=this.__data__=new r(c);this.size=p.size}a(u,"Stack"),u.prototype.clear=n,u.prototype.delete=i,u.prototype.get=o,u.prototype.has=s,u.prototype.set=l,t.exports=u}),QH=N((e,t)=>{var r="__lodash_hash_undefined__";function n(i){return this.__data__.set(i,r),this}a(n,"setCacheAdd"),t.exports=n}),ZH=N((e,t)=>{function r(n){return this.__data__.has(n)}a(r,"setCacheHas"),t.exports=r}),e6=N((e,t)=>{var r=wC(),n=QH(),i=ZH();function o(s){var l=-1,u=s==null?0:s.length;for(this.__data__=new r;++l<u;)this.add(s[l])}a(o,"SetCache"),o.prototype.add=o.prototype.push=n,o.prototype.has=i,t.exports=o}),t6=N((e,t)=>{function r(n,i){for(var o=-1,s=n==null?0:n.length;++o<s;)if(i(n[o],o,n))return!0;return!1}a(r,"arraySome"),t.exports=r}),r6=N((e,t)=>{function r(n,i){return n.has(i)}a(r,"cacheHas"),t.exports=r}),xC=N((e,t)=>{var r=e6(),n=t6(),i=r6(),o=1,s=2;function l(u,c,p,d,f,h){var y=p&o,b=u.length,g=c.length;if(b!=g&&!(y&&g>b))return!1;var m=h.get(u),v=h.get(c);if(m&&v)return m==c&&v==u;var S=-1,O=!0,P=p&s?new r:void 0;for(h.set(u,c),h.set(c,u);++S<b;){var x=u[S],E=c[S];if(d)var _=y?d(E,x,S,c,u,h):d(x,E,S,u,c,h);if(_!==void 0){if(_)continue;O=!1;break}if(P){if(!n(c,function(C,w){if(!i(P,w)&&(x===C||f(x,C,p,d,h)))return P.push(w)})){O=!1;break}}else if(!(x===E||f(x,E,p,d,h))){O=!1;break}}return h.delete(u),h.delete(c),O}a(l,"equalArrays"),t.exports=l}),n6=N((e,t)=>{var r=Zn(),n=r.Uint8Array;t.exports=n}),i6=N((e,t)=>{function r(n){var i=-1,o=Array(n.size);return n.forEach(function(s,l){o[++i]=[l,s]}),o}a(r,"mapToArray"),t.exports=r}),o6=N((e,t)=>{function r(n){var i=-1,o=Array(n.size);return n.forEach(function(s){o[++i]=s}),o}a(r,"setToArray"),t.exports=r}),s6=N((e,t)=>{var r=Fg(),n=n6(),i=gC(),o=xC(),s=i6(),l=o6(),u=1,c=2,p="[object Boolean]",d="[object Date]",f="[object Error]",h="[object Map]",y="[object Number]",b="[object RegExp]",g="[object Set]",m="[object String]",v="[object Symbol]",S="[object ArrayBuffer]",O="[object DataView]",P=r?r.prototype:void 0,x=P?P.valueOf:void 0;function E(_,C,w,A,I,j,R){switch(w){case O:if(_.byteLength!=C.byteLength||_.byteOffset!=C.byteOffset)return!1;_=_.buffer,C=C.buffer;case S:return!(_.byteLength!=C.byteLength||!j(new n(_),new n(C)));case p:case d:case y:return i(+_,+C);case f:return _.name==C.name&&_.message==C.message;case b:case m:return _==C+"";case h:var q=s;case g:var M=A&u;if(q||(q=l),_.size!=C.size&&!M)return!1;var K=R.get(_);if(K)return K==C;A|=c,R.set(_,C);var J=o(q(_),q(C),A,I,j,R);return R.delete(_),J;case v:if(x)return x.call(_)==x.call(C)}return!1}a(E,"equalByTag"),t.exports=E}),a6=N((e,t)=>{function r(n,i){for(var o=-1,s=i.length,l=n.length;++o<s;)n[l+o]=i[o];return n}a(r,"arrayPush"),t.exports=r}),Ug=N((e,t)=>{var r=Array.isArray;t.exports=r}),l6=N((e,t)=>{var r=a6(),n=Ug();function i(o,s,l){var u=s(o);return n(o)?u:r(u,l(o))}a(i,"baseGetAllKeys"),t.exports=i}),u6=N((e,t)=>{function r(n,i){for(var o=-1,s=n==null?0:n.length,l=0,u=[];++o<s;){var c=n[o];i(c,o,n)&&(u[l++]=c)}return u}a(r,"arrayFilter"),t.exports=r}),c6=N((e,t)=>{function r(){return[]}a(r,"stubArray"),t.exports=r}),p6=N((e,t)=>{var r=u6(),n=c6(),i=Object.prototype,o=i.propertyIsEnumerable,s=Object.getOwnPropertySymbols,l=s?function(u){return u==null?[]:(u=Object(u),r(s(u),function(c){return o.call(u,c)}))}:n;t.exports=l}),d6=N((e,t)=>{function r(n,i){for(var o=-1,s=Array(n);++o<n;)s[o]=i(o);return s}a(r,"baseTimes"),t.exports=r}),ad=N((e,t)=>{function r(n){return n!=null&&typeof n=="object"}a(r,"isObjectLike"),t.exports=r}),f6=N((e,t)=>{var r=id(),n=ad(),i="[object Arguments]";function o(s){return n(s)&&r(s)==i}a(o,"baseIsArguments"),t.exports=o}),h6=N((e,t)=>{var r=f6(),n=ad(),i=Object.prototype,o=i.hasOwnProperty,s=i.propertyIsEnumerable,l=r(function(){return arguments}())?r:function(u){return n(u)&&o.call(u,"callee")&&!s.call(u,"callee")};t.exports=l}),m6=N((e,t)=>{function r(){return!1}a(r,"stubFalse"),t.exports=r}),TC=N((e,t)=>{var r=Zn(),n=m6(),i=typeof e=="object"&&e&&!e.nodeType&&e,o=i&&typeof t=="object"&&t&&!t.nodeType&&t,s=o&&o.exports===i,l=s?r.Buffer:void 0,u=l?l.isBuffer:void 0,c=u||n;t.exports=c}),y6=N((e,t)=>{var r=9007199254740991,n=/^(?:0|[1-9]\d*)$/;function i(o,s){var l=typeof o;return s=s??r,!!s&&(l=="number"||l!="symbol"&&n.test(o))&&o>-1&&o%1==0&&o<s}a(i,"isIndex"),t.exports=i}),SC=N((e,t)=>{var r=9007199254740991;function n(i){return typeof i=="number"&&i>-1&&i%1==0&&i<=r}a(n,"isLength"),t.exports=n}),g6=N((e,t)=>{var r=id(),n=SC(),i=ad(),o="[object Arguments]",s="[object Array]",l="[object Boolean]",u="[object Date]",c="[object Error]",p="[object Function]",d="[object Map]",f="[object Number]",h="[object Object]",y="[object RegExp]",b="[object Set]",g="[object String]",m="[object WeakMap]",v="[object ArrayBuffer]",S="[object DataView]",O="[object Float32Array]",P="[object Float64Array]",x="[object Int8Array]",E="[object Int16Array]",_="[object Int32Array]",C="[object Uint8Array]",w="[object Uint8ClampedArray]",A="[object Uint16Array]",I="[object Uint32Array]",j={};j[O]=j[P]=j[x]=j[E]=j[_]=j[C]=j[w]=j[A]=j[I]=!0,j[o]=j[s]=j[v]=j[l]=j[S]=j[u]=j[c]=j[p]=j[d]=j[f]=j[h]=j[y]=j[b]=j[g]=j[m]=!1;function R(q){return i(q)&&n(q.length)&&!!j[r(q)]}a(R,"baseIsTypedArray"),t.exports=R}),b6=N((e,t)=>{function r(n){return function(i){return n(i)}}a(r,"baseUnary"),t.exports=r}),v6=N((e,t)=>{var r=bC(),n=typeof e=="object"&&e&&!e.nodeType&&e,i=n&&typeof t=="object"&&t&&!t.nodeType&&t,o=i&&i.exports===n,s=o&&r.process,l=function(){try{var u=i&&i.require&&i.require("util").types;return u||s&&s.binding&&s.binding("util")}catch{}}();t.exports=l}),CC=N((e,t)=>{var r=g6(),n=b6(),i=v6(),o=i&&i.isTypedArray,s=o?n(o):r;t.exports=s}),_6=N((e,t)=>{var r=d6(),n=h6(),i=Ug(),o=TC(),s=y6(),l=CC(),u=Object.prototype,c=u.hasOwnProperty;function p(d,f){var h=i(d),y=!h&&n(d),b=!h&&!y&&o(d),g=!h&&!y&&!b&&l(d),m=h||y||b||g,v=m?r(d.length,String):[],S=v.length;for(var O in d)(f||c.call(d,O))&&!(m&&(O=="length"||b&&(O=="offset"||O=="parent")||g&&(O=="buffer"||O=="byteLength"||O=="byteOffset")||s(O,S)))&&v.push(O);return v}a(p,"arrayLikeKeys"),t.exports=p}),E6=N((e,t)=>{var r=Object.prototype;function n(i){var o=i&&i.constructor,s=typeof o=="function"&&o.prototype||r;return i===s}a(n,"isPrototype"),t.exports=n}),w6=N((e,t)=>{function r(n,i){return function(o){return n(i(o))}}a(r,"overArg"),t.exports=r}),x6=N((e,t)=>{var r=w6(),n=r(Object.keys,Object);t.exports=n}),T6=N((e,t)=>{var r=E6(),n=x6(),i=Object.prototype,o=i.hasOwnProperty;function s(l){if(!r(l))return n(l);var u=[];for(var c in Object(l))o.call(l,c)&&c!="constructor"&&u.push(c);return u}a(s,"baseKeys"),t.exports=s}),S6=N((e,t)=>{var r=_C(),n=SC();function i(o){return o!=null&&n(o.length)&&!r(o)}a(i,"isArrayLike"),t.exports=i}),C6=N((e,t)=>{var r=_6(),n=T6(),i=S6();function o(s){return i(s)?r(s):n(s)}a(o,"keys"),t.exports=o}),O6=N((e,t)=>{var r=l6(),n=p6(),i=C6();function o(s){return r(s,i,n)}a(o,"getAllKeys"),t.exports=o}),P6=N((e,t)=>{var r=O6(),n=1,i=Object.prototype,o=i.hasOwnProperty;function s(l,u,c,p,d,f){var h=c&n,y=r(l),b=y.length,g=r(u),m=g.length;if(b!=m&&!h)return!1;for(var v=b;v--;){var S=y[v];if(!(h?S in u:o.call(u,S)))return!1}var O=f.get(l),P=f.get(u);if(O&&P)return O==u&&P==l;var x=!0;f.set(l,u),f.set(u,l);for(var E=h;++v<b;){S=y[v];var _=l[S],C=u[S];if(p)var w=h?p(C,_,S,u,l,f):p(_,C,S,l,u,f);if(!(w===void 0?_===C||d(_,C,c,p,f):w)){x=!1;break}E||(E=S=="constructor")}if(x&&!E){var A=l.constructor,I=u.constructor;A!=I&&"constructor"in l&&"constructor"in u&&!(typeof A=="function"&&A instanceof A&&typeof I=="function"&&I instanceof I)&&(x=!1)}return f.delete(l),f.delete(u),x}a(s,"equalObjects"),t.exports=s}),A6=N((e,t)=>{var r=ia(),n=Zn(),i=r(n,"DataView");t.exports=i}),R6=N((e,t)=>{var r=ia(),n=Zn(),i=r(n,"Promise");t.exports=i}),N6=N((e,t)=>{var r=ia(),n=Zn(),i=r(n,"Set");t.exports=i}),I6=N((e,t)=>{var r=ia(),n=Zn(),i=r(n,"WeakMap");t.exports=i}),k6=N((e,t)=>{var r=A6(),n=Bg(),i=R6(),o=N6(),s=I6(),l=id(),u=EC(),c="[object Map]",p="[object Object]",d="[object Promise]",f="[object Set]",h="[object WeakMap]",y="[object DataView]",b=u(r),g=u(n),m=u(i),v=u(o),S=u(s),O=l;(r&&O(new r(new ArrayBuffer(1)))!=y||n&&O(new n)!=c||i&&O(i.resolve())!=d||o&&O(new o)!=f||s&&O(new s)!=h)&&(O=a(function(P){var x=l(P),E=x==p?P.constructor:void 0,_=E?u(E):"";if(_)switch(_){case b:return y;case g:return c;case m:return d;case v:return f;case S:return h}return x},"getTag")),t.exports=O}),M6=N((e,t)=>{var r=XH(),n=xC(),i=s6(),o=P6(),s=k6(),l=Ug(),u=TC(),c=CC(),p=1,d="[object Arguments]",f="[object Array]",h="[object Object]",y=Object.prototype,b=y.hasOwnProperty;function g(m,v,S,O,P,x){var E=l(m),_=l(v),C=E?f:s(m),w=_?f:s(v);C=C==d?h:C,w=w==d?h:w;var A=C==h,I=w==h,j=C==w;if(j&&u(m)){if(!u(v))return!1;E=!0,A=!1}if(j&&!A)return x||(x=new r),E||c(m)?n(m,v,S,O,P,x):i(m,v,C,S,O,P,x);if(!(S&p)){var R=A&&b.call(m,"__wrapped__"),q=I&&b.call(v,"__wrapped__");if(R||q){var M=R?m.value():m,K=q?v.value():v;return x||(x=new r),P(M,K,S,O,x)}}return j?(x||(x=new r),o(m,v,S,O,P,x)):!1}a(g,"baseIsEqualDeep"),t.exports=g}),q6=N((e,t)=>{var r=M6(),n=ad();function i(o,s,l,u,c){return o===s?!0:o==null||s==null||!n(o)&&!n(s)?o!==o&&s!==s:r(o,s,l,u,i,c)}a(i,"baseIsEqual"),t.exports=i}),OC=N((e,t)=>{var r=q6();function n(i,o,s){s=typeof s=="function"?s:void 0;var l=s?s(i,o):void 0;return l===void 0?r(i,o,void 0,s):!!l}a(n,"isEqualWith"),t.exports=n}),PC=N((e,t)=>{(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=a(function(i){if(arguments.length==0)throw new TypeError("`CSS.escape` requires an argument.");for(var o=String(i),s=o.length,l=-1,u,c="",p=o.charCodeAt(0);++l<s;){if(u=o.charCodeAt(l),u==0){c+="�";continue}if(u>=1&&u<=31||u==127||l==0&&u>=48&&u<=57||l==1&&u>=48&&u<=57&&p==45){c+="\\"+u.toString(16)+" ";continue}if(l==0&&s==1&&u==45){c+="\\"+o.charAt(l);continue}if(u>=128||u==45||u==95||u>=48&&u<=57||u>=65&&u<=90||u>=97&&u<=122){c+=o.charAt(l);continue}c+="\\"+o.charAt(l)}return c},"cssEscape");return r.CSS||(r.CSS={}),r.CSS.escape=n,n})}),AC=N((e,t)=>{var r=a((o=0)=>s=>`\x1B[${38+o};5;${s}m`,"wrapAnsi256"),n=a((o=0)=>(s,l,u)=>`\x1B[${38+o};2;${s};${l};${u}m`,"wrapAnsi16m");function i(){let o=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,p]of Object.entries(u))s[c]={open:`\x1B[${p[0]}m`,close:`\x1B[${p[1]}m`},u[c]=s[c],o.set(p[0],p[1]);Object.defineProperty(s,l,{value:u,enumerable:!1})}return Object.defineProperty(s,"codes",{value:o,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:a((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),"value"),enumerable:!1},hexToRgb:{value:a(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(d=>d+d).join(""));let p=Number.parseInt(c,16);return[p>>16&255,p>>8&255,p&255]},"value"),enumerable:!1},hexToAnsi256:{value:a(l=>s.rgbToAnsi256(...s.hexToRgb(l)),"value"),enumerable:!1}}),s}a(i,"assembleStyles"),Object.defineProperty(t,"exports",{enumerable:!0,get:i})}),ld=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printIteratorEntries=r,e.printIteratorValues=n,e.printListItems=i,e.printObjectProperties=o;var t=a((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},"getKeysOfEnumerableProperties");function r(s,l,u,c,p,d,f=": "){let h="",y=s.next();if(!y.done){h+=l.spacingOuter;let b=u+l.indent;for(;!y.done;){let g=d(y.value[0],l,b,c,p),m=d(y.value[1],l,b,c,p);h+=b+g+f+m,y=s.next(),y.done?l.min||(h+=","):h+=","+l.spacingInner}h+=l.spacingOuter+u}return h}a(r,"printIteratorEntries");function n(s,l,u,c,p,d){let f="",h=s.next();if(!h.done){f+=l.spacingOuter;let y=u+l.indent;for(;!h.done;)f+=y+d(h.value,l,y,c,p),h=s.next(),h.done?l.min||(f+=","):f+=","+l.spacingInner;f+=l.spacingOuter+u}return f}a(n,"printIteratorValues");function i(s,l,u,c,p,d){let f="";if(s.length){f+=l.spacingOuter;let h=u+l.indent;for(let y=0;y<s.length;y++)f+=h,y in s&&(f+=d(s[y],l,h,c,p)),y<s.length-1?f+=","+l.spacingInner:l.min||(f+=",");f+=l.spacingOuter+u}return f}a(i,"printListItems");function o(s,l,u,c,p,d){let f="",h=t(s,l.compareKeys);if(h.length){f+=l.spacingOuter;let y=u+l.indent;for(let b=0;b<h.length;b++){let g=h[b],m=d(g,l,y,c,p),v=d(s[g],l,y,c,p);f+=y+m+": "+v,b<h.length-1?f+=","+l.spacingInner:l.min||(f+=",")}f+=l.spacingOuter+u}return f}a(o,"printObjectProperties")}),j6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ld(),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,i=typeof n=="function"&&n.for?n.for("jest.asymmetricMatcher"):1267621,o=" ",s=a((p,d,f,h,y,b)=>{let g=p.toString();return g==="ArrayContaining"||g==="ArrayNotContaining"?++h>d.maxDepth?"["+g+"]":g+o+"["+(0,t.printListItems)(p.sample,d,f,h,y,b)+"]":g==="ObjectContaining"||g==="ObjectNotContaining"?++h>d.maxDepth?"["+g+"]":g+o+"{"+(0,t.printObjectProperties)(p.sample,d,f,h,y,b)+"}":g==="StringMatching"||g==="StringNotMatching"||g==="StringContaining"||g==="StringNotContaining"?g+o+b(p.sample,d,f,h,y):p.toAsymmetricMatcher()},"serialize");e.serialize=s;var l=a(p=>p&&p.$$typeof===i,"test");e.test=l;var u={serialize:s,test:l},c=u;e.default=c}),D6=N((e,t)=>{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")}}),L6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=n(D6()),r=n(AC());function n(c){return c&&c.__esModule?c:{default:c}}a(n,"_interopRequireDefault");var i=a(c=>c.replace((0,t.default)(),p=>{switch(p){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""}}),"toHumanReadableAnsi"),o=a(c=>typeof c=="string"&&!!c.match((0,t.default)()),"test");e.test=o;var s=a((c,p,d,f,h,y)=>y(i(c),p,d,f,h),"serialize");e.serialize=s;var l={serialize:s,test:o},u=l;e.default=u}),$6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ld(),r=" ",n=["DOMStringMap","NamedNodeMap"],i=/^(HTML\w*Collection|NodeList)$/,o=a(d=>n.indexOf(d)!==-1||i.test(d),"testName"),s=a(d=>d&&d.constructor&&!!d.constructor.name&&o(d.constructor.name),"test");e.test=s;var l=a(d=>d.constructor.name==="NamedNodeMap","isNamedNodeMap"),u=a((d,f,h,y,b,g)=>{let m=d.constructor.name;return++y>f.maxDepth?"["+m+"]":(f.min?"":m+r)+(n.indexOf(m)!==-1?"{"+(0,t.printObjectProperties)(l(d)?Array.from(d).reduce((v,S)=>(v[S.name]=S.value,v),{}):{...d},f,h,y,b,g)+"}":"["+(0,t.printListItems)(Array.from(d),f,h,y,b,g)+"]")},"serialize");e.serialize=u;var c={serialize:u,test:s},p=c;e.default=p}),F6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=t;function t(r){return r.replace(/</g,"<").replace(/>/g,">")}a(t,"escapeHTML")}),Vg=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.printText=e.printProps=e.printElementAsLeaf=e.printElement=e.printComment=e.printChildren=void 0;var t=r(F6());function r(c){return c&&c.__esModule?c:{default:c}}a(r,"_interopRequireDefault");var n=a((c,p,d,f,h,y,b)=>{let g=f+d.indent,m=d.colors;return c.map(v=>{let S=p[v],O=b(S,d,g,h,y);return typeof S!="string"&&(O.indexOf(`
|
|
14
|
-
`)!==-1&&(O=d.spacingOuter+g+O+d.spacingOuter+f),O="{"+O+"}"),d.spacingInner+f+m.prop.open+v+m.prop.close+"="+m.value.open+O+m.value.close}).join("")},"printProps");e.printProps=n;var i=a((c,p,d,f,h,y)=>c.map(b=>p.spacingOuter+d+(typeof b=="string"?o(b,p):y(b,p,d,f,h))).join(""),"printChildren");e.printChildren=i;var o=a((c,p)=>{let d=p.colors.content;return d.open+(0,t.default)(c)+d.close},"printText");e.printText=o;var s=a((c,p)=>{let d=p.colors.comment;return d.open+"<!--"+(0,t.default)(c)+"-->"+d.close},"printComment");e.printComment=s;var l=a((c,p,d,f,h)=>{let y=f.colors.tag;return y.open+"<"+c+(p&&y.close+p+f.spacingOuter+h+y.open)+(d?">"+y.close+d+f.spacingOuter+h+y.open+"</"+c:(p&&!f.min?"":" ")+"/")+">"+y.close},"printElement");e.printElement=l;var u=a((c,p)=>{let d=p.colors.tag;return d.open+"<"+c+d.close+" …"+d.open+" />"+d.close},"printElementAsLeaf");e.printElementAsLeaf=u}),B6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Vg(),r=1,n=3,i=8,o=11,s=/^((HTML|SVG)\w*)?Element$/,l=a(g=>{try{return typeof g.hasAttribute=="function"&&g.hasAttribute("is")}catch{return!1}},"testHasAttribute"),u=a(g=>{let m=g.constructor.name,{nodeType:v,tagName:S}=g,O=typeof S=="string"&&S.includes("-")||l(g);return v===r&&(s.test(m)||O)||v===n&&m==="Text"||v===i&&m==="Comment"||v===o&&m==="DocumentFragment"},"testNode"),c=a(g=>{var m;return(g==null||(m=g.constructor)===null||m===void 0?void 0:m.name)&&u(g)},"test");e.test=c;function p(g){return g.nodeType===n}a(p,"nodeIsText");function d(g){return g.nodeType===i}a(d,"nodeIsComment");function f(g){return g.nodeType===o}a(f,"nodeIsFragment");var h=a((g,m,v,S,O,P)=>{if(p(g))return(0,t.printText)(g.data,m);if(d(g))return(0,t.printComment)(g.data,m);let x=f(g)?"DocumentFragment":g.tagName.toLowerCase();return++S>m.maxDepth?(0,t.printElementAsLeaf)(x,m):(0,t.printElement)(x,(0,t.printProps)(f(g)?[]:Array.from(g.attributes).map(E=>E.name).sort(),f(g)?{}:Array.from(g.attributes).reduce((E,_)=>(E[_.name]=_.value,E),{}),m,v+m.indent,S,O,P),(0,t.printChildren)(Array.prototype.slice.call(g.childNodes||g.children),m,v+m.indent,S,O,P),m,v)},"serialize");e.serialize=h;var y={serialize:h,test:c},b=y;e.default=b}),U6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=ld(),r="@@__IMMUTABLE_ITERABLE__@@",n="@@__IMMUTABLE_LIST__@@",i="@@__IMMUTABLE_KEYED__@@",o="@@__IMMUTABLE_MAP__@@",s="@@__IMMUTABLE_ORDERED__@@",l="@@__IMMUTABLE_RECORD__@@",u="@@__IMMUTABLE_SEQ__@@",c="@@__IMMUTABLE_SET__@@",p="@@__IMMUTABLE_STACK__@@",d=a(_=>"Immutable."+_,"getImmutableName"),f=a(_=>"["+_+"]","printAsLeaf"),h=" ",y="…",b=a((_,C,w,A,I,j,R)=>++A>C.maxDepth?f(d(R)):d(R)+h+"{"+(0,t.printIteratorEntries)(_.entries(),C,w,A,I,j)+"}","printImmutableEntries");function g(_){let C=0;return{next(){if(C<_._keys.length){let w=_._keys[C++];return{done:!1,value:[w,_.get(w)]}}return{done:!0,value:void 0}}}}a(g,"getRecordEntries");var m=a((_,C,w,A,I,j)=>{let R=d(_._name||"Record");return++A>C.maxDepth?f(R):R+h+"{"+(0,t.printIteratorEntries)(g(_),C,w,A,I,j)+"}"},"printImmutableRecord"),v=a((_,C,w,A,I,j)=>{let R=d("Seq");return++A>C.maxDepth?f(R):_[i]?R+h+"{"+(_._iter||_._object?(0,t.printIteratorEntries)(_.entries(),C,w,A,I,j):y)+"}":R+h+"["+(_._iter||_._array||_._collection||_._iterable?(0,t.printIteratorValues)(_.values(),C,w,A,I,j):y)+"]"},"printImmutableSeq"),S=a((_,C,w,A,I,j,R)=>++A>C.maxDepth?f(d(R)):d(R)+h+"["+(0,t.printIteratorValues)(_.values(),C,w,A,I,j)+"]","printImmutableValues"),O=a((_,C,w,A,I,j)=>_[o]?b(_,C,w,A,I,j,_[s]?"OrderedMap":"Map"):_[n]?S(_,C,w,A,I,j,"List"):_[c]?S(_,C,w,A,I,j,_[s]?"OrderedSet":"Set"):_[p]?S(_,C,w,A,I,j,"Stack"):_[u]?v(_,C,w,A,I,j):m(_,C,w,A,I,j),"serialize");e.serialize=O;var P=a(_=>_&&(_[r]===!0||_[l]===!0),"test");e.test=P;var x={serialize:O,test:P},E=x;e.default=E}),V6=N(e=>{var t=60103,r=60106,n=60107,i=60108,o=60114,s=60109,l=60110,u=60112,c=60113,p=60120,d=60115,f=60116,h=60121,y=60122,b=60117,g=60129,m=60131;typeof Symbol=="function"&&Symbol.for&&(v=Symbol.for,t=v("react.element"),r=v("react.portal"),n=v("react.fragment"),i=v("react.strict_mode"),o=v("react.profiler"),s=v("react.provider"),l=v("react.context"),u=v("react.forward_ref"),c=v("react.suspense"),p=v("react.suspense_list"),d=v("react.memo"),f=v("react.lazy"),h=v("react.block"),y=v("react.server.block"),b=v("react.fundamental"),g=v("react.debug_trace_mode"),m=v("react.legacy_hidden"));var v;function S(R){if(typeof R=="object"&&R!==null){var q=R.$$typeof;switch(q){case t:switch(R=R.type,R){case n:case o:case i:case c:case p:return R;default:switch(R=R&&R.$$typeof,R){case l:case u:case f:case d:case s:return R;default:return q}}case r:return q}}}a(S,"y");var O=s,P=t,x=u,E=n,_=f,C=d,w=r,A=o,I=i,j=c;e.ContextConsumer=l,e.ContextProvider=O,e.Element=P,e.ForwardRef=x,e.Fragment=E,e.Lazy=_,e.Memo=C,e.Portal=w,e.Profiler=A,e.StrictMode=I,e.Suspense=j,e.isAsyncMode=function(){return!1},e.isConcurrentMode=function(){return!1},e.isContextConsumer=function(R){return S(R)===l},e.isContextProvider=function(R){return S(R)===s},e.isElement=function(R){return typeof R=="object"&&R!==null&&R.$$typeof===t},e.isForwardRef=function(R){return S(R)===u},e.isFragment=function(R){return S(R)===n},e.isLazy=function(R){return S(R)===f},e.isMemo=function(R){return S(R)===d},e.isPortal=function(R){return S(R)===r},e.isProfiler=function(R){return S(R)===o},e.isStrictMode=function(R){return S(R)===i},e.isSuspense=function(R){return S(R)===c},e.isValidElementType=function(R){return typeof R=="string"||typeof R=="function"||R===n||R===o||R===g||R===i||R===c||R===p||R===m||typeof R=="object"&&R!==null&&(R.$$typeof===f||R.$$typeof===d||R.$$typeof===s||R.$$typeof===l||R.$$typeof===u||R.$$typeof===b||R.$$typeof===h||R[0]===y)},e.typeOf=S}),H6=N((e,t)=>{t.exports=V6()}),J6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=i(H6()),r=Vg();function n(f){if(typeof WeakMap!="function")return null;var h=new WeakMap,y=new WeakMap;return(n=a(function(b){return b?y:h},"_getRequireWildcardCache"))(f)}a(n,"_getRequireWildcardCache");function i(f,h){if(!h&&f&&f.__esModule)return f;if(f===null||typeof f!="object"&&typeof f!="function")return{default:f};var y=n(h);if(y&&y.has(f))return y.get(f);var b={},g=Object.defineProperty&&Object.getOwnPropertyDescriptor;for(var m in f)if(m!=="default"&&Object.prototype.hasOwnProperty.call(f,m)){var v=g?Object.getOwnPropertyDescriptor(f,m):null;v&&(v.get||v.set)?Object.defineProperty(b,m,v):b[m]=f[m]}return b.default=f,y&&y.set(f,b),b}a(i,"_interopRequireWildcard");var o=a((f,h=[])=>(Array.isArray(f)?f.forEach(y=>{o(y,h)}):f!=null&&f!==!1&&h.push(f),h),"getChildren"),s=a(f=>{let h=f.type;if(typeof h=="string")return h;if(typeof h=="function")return h.displayName||h.name||"Unknown";if(t.isFragment(f))return"React.Fragment";if(t.isSuspense(f))return"React.Suspense";if(typeof h=="object"&&h!==null){if(t.isContextProvider(f))return"Context.Provider";if(t.isContextConsumer(f))return"Context.Consumer";if(t.isForwardRef(f)){if(h.displayName)return h.displayName;let y=h.render.displayName||h.render.name||"";return y!==""?"ForwardRef("+y+")":"ForwardRef"}if(t.isMemo(f)){let y=h.displayName||h.type.displayName||h.type.name||"";return y!==""?"Memo("+y+")":"Memo"}}return"UNDEFINED"},"getType"),l=a(f=>{let{props:h}=f;return Object.keys(h).filter(y=>y!=="children"&&h[y]!==void 0).sort()},"getPropKeys"),u=a((f,h,y,b,g,m)=>++b>h.maxDepth?(0,r.printElementAsLeaf)(s(f),h):(0,r.printElement)(s(f),(0,r.printProps)(l(f),f.props,h,y+h.indent,b,g,m),(0,r.printChildren)(o(f.props.children),h,y+h.indent,b,g,m),h,y),"serialize");e.serialize=u;var c=a(f=>f!=null&&t.isElement(f),"test");e.test=c;var p={serialize:u,test:c},d=p;e.default=d}),W6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.test=e.serialize=e.default=void 0;var t=Vg(),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,i=typeof n=="function"&&n.for?n.for("react.test.json"):245830487,o=a(p=>{let{props:d}=p;return d?Object.keys(d).filter(f=>d[f]!==void 0).sort():[]},"getPropKeys"),s=a((p,d,f,h,y,b)=>++h>d.maxDepth?(0,t.printElementAsLeaf)(p.type,d):(0,t.printElement)(p.type,p.props?(0,t.printProps)(o(p),p.props,d,f+d.indent,h,y,b):"",p.children?(0,t.printChildren)(p.children,d,f+d.indent,h,y,b):"",d,f),"serialize");e.serialize=s;var l=a(p=>p&&p.$$typeof===i,"test");e.test=l;var u={serialize:s,test:l},c=u;e.default=c}),z6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=e.DEFAULT_OPTIONS=void 0,e.format=Te,e.plugins=void 0;var t=p(AC()),r=ld(),n=p(j6()),i=p(L6()),o=p($6()),s=p(B6()),l=p(U6()),u=p(J6()),c=p(W6());function p(V){return V&&V.__esModule?V:{default:V}}a(p,"_interopRequireDefault");var d=Object.prototype.toString,f=Date.prototype.toISOString,h=Error.prototype.toString,y=RegExp.prototype.toString,b=a(V=>typeof V.constructor=="function"&&V.constructor.name||"Object","getConstructorName"),g=a(V=>typeof window<"u"&&V===window,"isWindow"),m=/^Symbol\((.*)\)(.*)$/,v=/\n/gi,S=class extends Error{constructor(pe,L){super(pe),this.stack=L,this.name=this.constructor.name}};a(S,"PrettyFormatPluginError");var O=S;function P(V){return V==="[object Array]"||V==="[object ArrayBuffer]"||V==="[object DataView]"||V==="[object Float32Array]"||V==="[object Float64Array]"||V==="[object Int8Array]"||V==="[object Int16Array]"||V==="[object Int32Array]"||V==="[object Uint8Array]"||V==="[object Uint8ClampedArray]"||V==="[object Uint16Array]"||V==="[object Uint32Array]"}a(P,"isToStringedArrayType");function x(V){return Object.is(V,-0)?"-0":String(V)}a(x,"printNumber");function E(V){return`${V}n`}a(E,"printBigInt");function _(V,pe){return pe?"[Function "+(V.name||"anonymous")+"]":"[Function]"}a(_,"printFunction");function C(V){return String(V).replace(m,"Symbol($1)")}a(C,"printSymbol");function w(V){return"["+h.call(V)+"]"}a(w,"printError");function A(V,pe,L,U){if(V===!0||V===!1)return""+V;if(V===void 0)return"undefined";if(V===null)return"null";let H=typeof V;if(H==="number")return x(V);if(H==="bigint")return E(V);if(H==="string")return U?'"'+V.replace(/"|\\/g,"\\$&")+'"':'"'+V+'"';if(H==="function")return _(V,pe);if(H==="symbol")return C(V);let Q=d.call(V);return Q==="[object WeakMap]"?"WeakMap {}":Q==="[object WeakSet]"?"WeakSet {}":Q==="[object Function]"||Q==="[object GeneratorFunction]"?_(V,pe):Q==="[object Symbol]"?C(V):Q==="[object Date]"?isNaN(+V)?"Date { NaN }":f.call(V):Q==="[object Error]"?w(V):Q==="[object RegExp]"?L?y.call(V).replace(/[\\^$*+?.()|[\]{}]/g,"\\$&"):y.call(V):V instanceof Error?w(V):null}a(A,"printBasicValue");function I(V,pe,L,U,H,Q){if(H.indexOf(V)!==-1)return"[Circular]";H=H.slice(),H.push(V);let X=++U>pe.maxDepth,te=pe.min;if(pe.callToJSON&&!X&&V.toJSON&&typeof V.toJSON=="function"&&!Q)return M(V.toJSON(),pe,L,U,H,!0);let le=d.call(V);return le==="[object Arguments]"?X?"[Arguments]":(te?"":"Arguments ")+"["+(0,r.printListItems)(V,pe,L,U,H,M)+"]":P(le)?X?"["+V.constructor.name+"]":(te||!pe.printBasicPrototype&&V.constructor.name==="Array"?"":V.constructor.name+" ")+"["+(0,r.printListItems)(V,pe,L,U,H,M)+"]":le==="[object Map]"?X?"[Map]":"Map {"+(0,r.printIteratorEntries)(V.entries(),pe,L,U,H,M," => ")+"}":le==="[object Set]"?X?"[Set]":"Set {"+(0,r.printIteratorValues)(V.values(),pe,L,U,H,M)+"}":X||g(V)?"["+b(V)+"]":(te||!pe.printBasicPrototype&&b(V)==="Object"?"":b(V)+" ")+"{"+(0,r.printObjectProperties)(V,pe,L,U,H,M)+"}"}a(I,"printComplexValue");function j(V){return V.serialize!=null}a(j,"isNewPlugin");function R(V,pe,L,U,H,Q){let X;try{X=j(V)?V.serialize(pe,L,U,H,Q,M):V.print(pe,te=>M(te,L,U,H,Q),te=>{let le=U+L.indent;return le+te.replace(v,`
|
|
15
|
-
`+le)},{edgeSpacing:L.spacingOuter,min:L.min,spacing:L.spacingInner},L.colors)}catch(te){throw new O(te.message,te.stack)}if(typeof X!="string")throw new Error(`pretty-format: Plugin must return type "string" but instead returned "${typeof X}".`);return X}a(R,"printPlugin");function q(V,pe){for(let L=0;L<V.length;L++)try{if(V[L].test(pe))return V[L]}catch(U){throw new O(U.message,U.stack)}return null}a(q,"findPlugin");function M(V,pe,L,U,H,Q){let X=q(pe.plugins,V);if(X!==null)return R(X,V,pe,L,U,H);let te=A(V,pe.printFunctionName,pe.escapeRegex,pe.escapeString);return te!==null?te:I(V,pe,L,U,H,Q)}a(M,"printer");var K={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},J=Object.keys(K),oe={callToJSON:!0,compareKeys:void 0,escapeRegex:!1,escapeString:!0,highlight:!1,indent:2,maxDepth:1/0,min:!1,plugins:[],printBasicPrototype:!0,printFunctionName:!0,theme:K};e.DEFAULT_OPTIONS=oe;function ye(V){if(Object.keys(V).forEach(pe=>{if(!oe.hasOwnProperty(pe))throw new Error(`pretty-format: Unknown option "${pe}".`)}),V.min&&V.indent!==void 0&&V.indent!==0)throw new Error('pretty-format: Options "min" and "indent" cannot be used together.');if(V.theme!==void 0){if(V.theme===null)throw new Error('pretty-format: Option "theme" must not be null.');if(typeof V.theme!="object")throw new Error(`pretty-format: Option "theme" must be of type "object" but instead received "${typeof V.theme}".`)}}a(ye,"validateOptions");var ae=a(V=>J.reduce((pe,L)=>{let U=V.theme&&V.theme[L]!==void 0?V.theme[L]:K[L],H=U&&t.default[U];if(H&&typeof H.close=="string"&&typeof H.open=="string")pe[L]=H;else throw new Error(`pretty-format: Option "theme" has a key "${L}" whose value "${U}" is undefined in ansi-styles.`);return pe},Object.create(null)),"getColorsHighlight"),ee=a(()=>J.reduce((V,pe)=>(V[pe]={close:"",open:""},V),Object.create(null)),"getColorsEmpty"),Z=a(V=>V&&V.printFunctionName!==void 0?V.printFunctionName:oe.printFunctionName,"getPrintFunctionName"),re=a(V=>V&&V.escapeRegex!==void 0?V.escapeRegex:oe.escapeRegex,"getEscapeRegex"),me=a(V=>V&&V.escapeString!==void 0?V.escapeString:oe.escapeString,"getEscapeString"),se=a(V=>{var pe;return{callToJSON:V&&V.callToJSON!==void 0?V.callToJSON:oe.callToJSON,colors:V&&V.highlight?ae(V):ee(),compareKeys:V&&typeof V.compareKeys=="function"?V.compareKeys:oe.compareKeys,escapeRegex:re(V),escapeString:me(V),indent:V&&V.min?"":_e(V&&V.indent!==void 0?V.indent:oe.indent),maxDepth:V&&V.maxDepth!==void 0?V.maxDepth:oe.maxDepth,min:V&&V.min!==void 0?V.min:oe.min,plugins:V&&V.plugins!==void 0?V.plugins:oe.plugins,printBasicPrototype:(pe=V?.printBasicPrototype)!==null&&pe!==void 0?pe:!0,printFunctionName:Z(V),spacingInner:V&&V.min?" ":`
|
|
16
|
-
`,spacingOuter:V&&V.min?"":`
|
|
17
|
-
`}},"getConfig");function _e(V){return new Array(V+1).join(" ")}a(_e,"createIndent");function Te(V,pe){if(pe&&(ye(pe),pe.plugins)){let U=q(pe.plugins,V);if(U!==null)return R(U,V,se(pe),"",0,[])}let L=A(V,Z(pe),re(pe),me(pe));return L!==null?L:I(V,se(pe),"",0,[])}a(Te,"format");var tt={AsymmetricMatcher:n.default,ConvertAnsi:i.default,DOMCollection:o.default,DOMElement:s.default,Immutable:l.default,ReactElement:u.default,ReactTestComponent:c.default};e.plugins=tt;var Xe=Te;e.default=Xe}),K6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;function t(){var n=this,i=0,o={"@@iterator":a(function(){return o},"iterator"),next:a(function(){if(i<n.length){var s=n[i];return i=i+1,{done:!1,value:s}}else return{done:!0}},"next")};return o}a(t,"iteratorProxy");var r=t;e.default=r}),eu=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=i;var t=r(K6());function r(o){return o&&o.__esModule?o:{default:o}}a(r,"_interopRequireDefault");function n(o){"@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(o)}a(n,"_typeof");function i(o,s){return typeof Symbol=="function"&&n(Symbol.iterator)==="symbol"&&Object.defineProperty(o,Symbol.iterator,{value:t.default.bind(s)}),o}a(i,"iterationDecorator")}),G6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(eu());function r(h){return h&&h.__esModule?h:{default:h}}a(r,"_interopRequireDefault");function n(h,y){return s(h)||o(h,y)||u(h,y)||i()}a(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
18
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(i,"_nonIterableRest");function o(h,y){var b=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(b!=null){var g=[],m=!0,v=!1,S,O;try{for(b=b.call(h);!(m=(S=b.next()).done)&&(g.push(S.value),!(y&&g.length===y));m=!0);}catch(P){v=!0,O=P}finally{try{!m&&b.return!=null&&b.return()}finally{if(v)throw O}}return g}}a(o,"_iterableToArrayLimit");function s(h){if(Array.isArray(h))return h}a(s,"_arrayWithHoles");function l(h,y){var b=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!b){if(Array.isArray(h)||(b=u(h))||y&&h&&typeof h.length=="number"){b&&(h=b);var g=0,m=a(function(){},"F");return{s:m,n:a(function(){return g>=h.length?{done:!0}:{done:!1,value:h[g++]}},"n"),e:a(function(P){throw P},"e"),f:m}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
19
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,O;return{s:a(function(){b=b.call(h)},"s"),n:a(function(){var P=b.next();return v=P.done,P},"n"),e:a(function(P){S=!0,O=P},"e"),f:a(function(){try{!v&&b.return!=null&&b.return()}finally{if(S)throw O}},"f")}}a(l,"_createForOfIteratorHelper");function u(h,y){if(h){if(typeof h=="string")return c(h,y);var b=Object.prototype.toString.call(h).slice(8,-1);if(b==="Object"&&h.constructor&&(b=h.constructor.name),b==="Map"||b==="Set")return Array.from(h);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(h,y)}}a(u,"_unsupportedIterableToArray");function c(h,y){(y==null||y>h.length)&&(y=h.length);for(var b=0,g=new Array(y);b<y;b++)g[b]=h[b];return g}a(c,"_arrayLikeToArray");var p=[["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"}]],d={entries:a(function(){return p},"entries"),forEach:a(function(h){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(p),g;try{for(b.s();!(g=b.n()).done;){var m=n(g.value,2),v=m[0],S=m[1];h.call(y,S,v,p)}}catch(O){b.e(O)}finally{b.f()}},"forEach"),get:a(function(h){var y=p.find(function(b){return b[0]===h});return y&&y[1]},"get"),has:a(function(h){return!!d.get(h)},"has"),keys:a(function(){return p.map(function(h){var y=n(h,1),b=y[0];return b})},"keys"),values:a(function(){return p.map(function(h){var y=n(h,2),b=y[1];return b})},"values")},f=(0,t.default)(d,d.entries());e.default=f}),Y6=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=r(eu());function r(h){return h&&h.__esModule?h:{default:h}}a(r,"_interopRequireDefault");function n(h,y){return s(h)||o(h,y)||u(h,y)||i()}a(n,"_slicedToArray");function i(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
20
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(i,"_nonIterableRest");function o(h,y){var b=h==null?null:typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(b!=null){var g=[],m=!0,v=!1,S,O;try{for(b=b.call(h);!(m=(S=b.next()).done)&&(g.push(S.value),!(y&&g.length===y));m=!0);}catch(P){v=!0,O=P}finally{try{!m&&b.return!=null&&b.return()}finally{if(v)throw O}}return g}}a(o,"_iterableToArrayLimit");function s(h){if(Array.isArray(h))return h}a(s,"_arrayWithHoles");function l(h,y){var b=typeof Symbol<"u"&&h[Symbol.iterator]||h["@@iterator"];if(!b){if(Array.isArray(h)||(b=u(h))||y&&h&&typeof h.length=="number"){b&&(h=b);var g=0,m=a(function(){},"F");return{s:m,n:a(function(){return g>=h.length?{done:!0}:{done:!1,value:h[g++]}},"n"),e:a(function(P){throw P},"e"),f:m}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
21
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var v=!0,S=!1,O;return{s:a(function(){b=b.call(h)},"s"),n:a(function(){var P=b.next();return v=P.done,P},"n"),e:a(function(P){S=!0,O=P},"e"),f:a(function(){try{!v&&b.return!=null&&b.return()}finally{if(S)throw O}},"f")}}a(l,"_createForOfIteratorHelper");function u(h,y){if(h){if(typeof h=="string")return c(h,y);var b=Object.prototype.toString.call(h).slice(8,-1);if(b==="Object"&&h.constructor&&(b=h.constructor.name),b==="Map"||b==="Set")return Array.from(h);if(b==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(b))return c(h,y)}}a(u,"_unsupportedIterableToArray");function c(h,y){(y==null||y>h.length)&&(y=h.length);for(var b=0,g=new Array(y);b<y;b++)g[b]=h[b];return g}a(c,"_arrayLikeToArray");var p=[["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}]],d={entries:a(function(){return p},"entries"),forEach:a(function(h){var y=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,b=l(p),g;try{for(b.s();!(g=b.n()).done;){var m=n(g.value,2),v=m[0],S=m[1];h.call(y,S,v,p)}}catch(O){b.e(O)}finally{b.f()}},"forEach"),get:a(function(h){var y=p.find(function(b){return b[0]===h});return y&&y[1]},"get"),has:a(function(h){return!!d.get(h)},"has"),keys:a(function(){return p.map(function(h){var y=n(h,1),b=y[0];return b})},"keys"),values:a(function(){return p.map(function(h){var y=n(h,2),b=y[1];return b})},"values")},f=(0,t.default)(d,d.entries());e.default=f}),X6=N(e=>{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}),Q6=N(e=>{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}),Z6=N(e=>{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}),e4=N(e=>{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}),t4=N(e=>{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}),r4=N(e=>{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}),n4=N(e=>{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}),i4=N(e=>{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}),o4=N(e=>{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}),s4=N(e=>{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}),a4=N(e=>{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}),l4=N(e=>{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}),u4=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=h(X6()),r=h(Q6()),n=h(Z6()),i=h(e4()),o=h(t4()),s=h(r4()),l=h(n4()),u=h(i4()),c=h(o4()),p=h(s4()),d=h(a4()),f=h(l4());function h(g){return g&&g.__esModule?g:{default:g}}a(h,"_interopRequireDefault");var y=[["command",t.default],["composite",r.default],["input",n.default],["landmark",i.default],["range",o.default],["roletype",s.default],["section",l.default],["sectionhead",u.default],["select",c.default],["structure",p.default],["widget",d.default],["window",f.default]],b=y;e.default=b}),c4=N(e=>{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}),p4=N(e=>{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}),d4=N(e=>{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}),f4=N(e=>{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}),h4=N(e=>{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}),m4=N(e=>{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}),y4=N(e=>{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}),g4=N(e=>{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}),b4=N(e=>{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}),v4=N(e=>{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}),_4=N(e=>{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}),E4=N(e=>{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}),w4=N(e=>{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}),x4=N(e=>{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}),T4=N(e=>{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}),S4=N(e=>{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}),C4=N(e=>{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}),O4=N(e=>{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}),P4=N(e=>{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}),A4=N(e=>{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}),R4=N(e=>{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}),N4=N(e=>{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}),I4=N(e=>{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}),k4=N(e=>{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}),M4=N(e=>{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}),q4=N(e=>{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}),j4=N(e=>{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}),D4=N(e=>{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}),L4=N(e=>{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}),$4=N(e=>{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}),F4=N(e=>{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}),B4=N(e=>{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}),U4=N(e=>{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}),V4=N(e=>{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}),H4=N(e=>{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}),J4=N(e=>{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}),W4=N(e=>{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}),z4=N(e=>{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}),K4=N(e=>{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}),G4=N(e=>{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}),Y4=N(e=>{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}),X4=N(e=>{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}),Q4=N(e=>{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}),Z4=N(e=>{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}),e8=N(e=>{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}),t8=N(e=>{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}),r8=N(e=>{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}),n8=N(e=>{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}),i8=N(e=>{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}),o8=N(e=>{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}),s8=N(e=>{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}),a8=N(e=>{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}),l8=N(e=>{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}),u8=N(e=>{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}),c8=N(e=>{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}),p8=N(e=>{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}),d8=N(e=>{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}),f8=N(e=>{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}),h8=N(e=>{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}),m8=N(e=>{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}),y8=N(e=>{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}),g8=N(e=>{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}),b8=N(e=>{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}),v8=N(e=>{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}),_8=N(e=>{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}),E8=N(e=>{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}),w8=N(e=>{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}),x8=N(e=>{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}),T8=N(e=>{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}),S8=N(e=>{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}),C8=N(e=>{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}),O8=N(e=>{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}),P8=N(e=>{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}),A8=N(e=>{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}),R8=N(e=>{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}),N8=N(e=>{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}),I8=N(e=>{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}),k8=N(e=>{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}),M8=N(e=>{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}),q8=N(e=>{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}),j8=N(e=>{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}),D8=N(e=>{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}),L8=N(e=>{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}),$8=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=z(c4()),r=z(p4()),n=z(d4()),i=z(f4()),o=z(h4()),s=z(m4()),l=z(y4()),u=z(g4()),c=z(b4()),p=z(v4()),d=z(_4()),f=z(E4()),h=z(w4()),y=z(x4()),b=z(T4()),g=z(S4()),m=z(C4()),v=z(O4()),S=z(P4()),O=z(A4()),P=z(R4()),x=z(N4()),E=z(I4()),_=z(k4()),C=z(M4()),w=z(q4()),A=z(j4()),I=z(D4()),j=z(L4()),R=z($4()),q=z(F4()),M=z(B4()),K=z(U4()),J=z(V4()),oe=z(H4()),ye=z(J4()),ae=z(W4()),ee=z(z4()),Z=z(K4()),re=z(G4()),me=z(Y4()),se=z(X4()),_e=z(Q4()),Te=z(Z4()),tt=z(e8()),Xe=z(t8()),V=z(r8()),pe=z(n8()),L=z(i8()),U=z(o8()),H=z(s8()),Q=z(a8()),X=z(l8()),te=z(u8()),le=z(c8()),ue=z(p8()),ce=z(d8()),ie=z(f8()),ve=z(h8()),de=z(m8()),be=z(y8()),we=z(g8()),Re=z(b8()),Be=z(v8()),je=z(_8()),xt=z(E8()),dt=z(w8()),Dt=z(x8()),Ct=z(T8()),Jr=z(S8()),ii=z(C8()),Ot=z(O8()),zt=z(P8()),oi=z(A8()),Ea=z(R8()),wa=z(N8()),xa=z(I8()),Gi=z(k8()),Ko=z(M8()),on=z(q8()),_t=z(j8()),Yi=z(D8()),Sn=z(L8());function z(Qi){return Qi&&Qi.__esModule?Qi:{default:Qi}}a(z,"_interopRequireDefault");var Xi=[["alert",t.default],["alertdialog",r.default],["application",n.default],["article",i.default],["banner",o.default],["blockquote",s.default],["button",l.default],["caption",u.default],["cell",c.default],["checkbox",p.default],["code",d.default],["columnheader",f.default],["combobox",h.default],["complementary",y.default],["contentinfo",b.default],["definition",g.default],["deletion",m.default],["dialog",v.default],["directory",S.default],["document",O.default],["emphasis",P.default],["feed",x.default],["figure",E.default],["form",_.default],["generic",C.default],["grid",w.default],["gridcell",A.default],["group",I.default],["heading",j.default],["img",R.default],["insertion",q.default],["link",M.default],["list",K.default],["listbox",J.default],["listitem",oe.default],["log",ye.default],["main",ae.default],["mark",ee.default],["marquee",Z.default],["math",re.default],["menu",me.default],["menubar",se.default],["menuitem",_e.default],["menuitemcheckbox",Te.default],["menuitemradio",tt.default],["meter",Xe.default],["navigation",V.default],["none",pe.default],["note",L.default],["option",U.default],["paragraph",H.default],["presentation",Q.default],["progressbar",X.default],["radio",te.default],["radiogroup",le.default],["region",ue.default],["row",ce.default],["rowgroup",ie.default],["rowheader",ve.default],["scrollbar",de.default],["search",be.default],["searchbox",we.default],["separator",Re.default],["slider",Be.default],["spinbutton",je.default],["status",xt.default],["strong",dt.default],["subscript",Dt.default],["superscript",Ct.default],["switch",Jr.default],["tab",ii.default],["table",Ot.default],["tablist",zt.default],["tabpanel",oi.default],["term",Ea.default],["textbox",wa.default],["time",xa.default],["timer",Gi.default],["toolbar",Ko.default],["tooltip",on.default],["tree",_t.default],["treegrid",Yi.default],["treeitem",Sn.default]],si=Xi;e.default=si}),F8=N(e=>{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}),B8=N(e=>{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}),U8=N(e=>{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}),V8=N(e=>{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}),H8=N(e=>{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}),J8=N(e=>{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}),W8=N(e=>{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}),z8=N(e=>{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}),K8=N(e=>{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}),G8=N(e=>{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}),Y8=N(e=>{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}),X8=N(e=>{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}),Q8=N(e=>{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}),Z8=N(e=>{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}),eJ=N(e=>{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}),tJ=N(e=>{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}),rJ=N(e=>{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}),nJ=N(e=>{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}),iJ=N(e=>{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}),oJ=N(e=>{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}),sJ=N(e=>{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}),aJ=N(e=>{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}),lJ=N(e=>{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}),uJ=N(e=>{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}),cJ=N(e=>{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}),pJ=N(e=>{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}),dJ=N(e=>{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}),fJ=N(e=>{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}),hJ=N(e=>{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}),mJ=N(e=>{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}),yJ=N(e=>{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}),gJ=N(e=>{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}),bJ=N(e=>{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}),vJ=N(e=>{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}),_J=N(e=>{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}),EJ=N(e=>{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}),wJ=N(e=>{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}),xJ=N(e=>{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}),TJ=N(e=>{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}),SJ=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=re(F8()),r=re(B8()),n=re(U8()),i=re(V8()),o=re(H8()),s=re(J8()),l=re(W8()),u=re(z8()),c=re(K8()),p=re(G8()),d=re(Y8()),f=re(X8()),h=re(Q8()),y=re(Z8()),b=re(eJ()),g=re(tJ()),m=re(rJ()),v=re(nJ()),S=re(iJ()),O=re(oJ()),P=re(sJ()),x=re(aJ()),E=re(lJ()),_=re(uJ()),C=re(cJ()),w=re(pJ()),A=re(dJ()),I=re(fJ()),j=re(hJ()),R=re(mJ()),q=re(yJ()),M=re(gJ()),K=re(bJ()),J=re(vJ()),oe=re(_J()),ye=re(EJ()),ae=re(wJ()),ee=re(xJ()),Z=re(TJ());function re(_e){return _e&&_e.__esModule?_e:{default:_e}}a(re,"_interopRequireDefault");var me=[["doc-abstract",t.default],["doc-acknowledgments",r.default],["doc-afterword",n.default],["doc-appendix",i.default],["doc-backlink",o.default],["doc-biblioentry",s.default],["doc-bibliography",l.default],["doc-biblioref",u.default],["doc-chapter",c.default],["doc-colophon",p.default],["doc-conclusion",d.default],["doc-cover",f.default],["doc-credit",h.default],["doc-credits",y.default],["doc-dedication",b.default],["doc-endnote",g.default],["doc-endnotes",m.default],["doc-epigraph",v.default],["doc-epilogue",S.default],["doc-errata",O.default],["doc-example",P.default],["doc-footnote",x.default],["doc-foreword",E.default],["doc-glossary",_.default],["doc-glossref",C.default],["doc-index",w.default],["doc-introduction",A.default],["doc-noteref",I.default],["doc-notice",j.default],["doc-pagebreak",R.default],["doc-pagelist",q.default],["doc-part",M.default],["doc-preface",K.default],["doc-prologue",J.default],["doc-pullquote",oe.default],["doc-qna",ye.default],["doc-subtitle",ae.default],["doc-tip",ee.default],["doc-toc",Z.default]],se=me;e.default=se}),CJ=N(e=>{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}),OJ=N(e=>{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}),PJ=N(e=>{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}),AJ=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=i(CJ()),r=i(OJ()),n=i(PJ());function i(l){return l&&l.__esModule?l:{default:l}}a(i,"_interopRequireDefault");var o=[["graphics-document",t.default],["graphics-object",r.default],["graphics-symbol",n.default]],s=o;e.default=s}),Hg=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=s(u4()),r=s($8()),n=s(SJ()),i=s(AJ()),o=s(eu());function s(v){return v&&v.__esModule?v:{default:v}}a(s,"_interopRequireDefault");function l(v,S,O){return S in v?Object.defineProperty(v,S,{value:O,enumerable:!0,configurable:!0,writable:!0}):v[S]=O,v}a(l,"_defineProperty");function u(v,S){var O=typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(!O){if(Array.isArray(v)||(O=d(v))||S&&v&&typeof v.length=="number"){O&&(v=O);var P=0,x=a(function(){},"F");return{s:x,n:a(function(){return P>=v.length?{done:!0}:{done:!1,value:v[P++]}},"n"),e:a(function(w){throw w},"e"),f:x}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
22
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var E=!0,_=!1,C;return{s:a(function(){O=O.call(v)},"s"),n:a(function(){var w=O.next();return E=w.done,w},"n"),e:a(function(w){_=!0,C=w},"e"),f:a(function(){try{!E&&O.return!=null&&O.return()}finally{if(_)throw C}},"f")}}a(u,"_createForOfIteratorHelper");function c(v,S){return y(v)||h(v,S)||d(v,S)||p()}a(c,"_slicedToArray");function p(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
23
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(p,"_nonIterableRest");function d(v,S){if(v){if(typeof v=="string")return f(v,S);var O=Object.prototype.toString.call(v).slice(8,-1);if(O==="Object"&&v.constructor&&(O=v.constructor.name),O==="Map"||O==="Set")return Array.from(v);if(O==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(O))return f(v,S)}}a(d,"_unsupportedIterableToArray");function f(v,S){(S==null||S>v.length)&&(S=v.length);for(var O=0,P=new Array(S);O<S;O++)P[O]=v[O];return P}a(f,"_arrayLikeToArray");function h(v,S){var O=v==null?null:typeof Symbol<"u"&&v[Symbol.iterator]||v["@@iterator"];if(O!=null){var P=[],x=!0,E=!1,_,C;try{for(O=O.call(v);!(x=(_=O.next()).done)&&(P.push(_.value),!(S&&P.length===S));x=!0);}catch(w){E=!0,C=w}finally{try{!x&&O.return!=null&&O.return()}finally{if(E)throw C}}return P}}a(h,"_iterableToArrayLimit");function y(v){if(Array.isArray(v))return v}a(y,"_arrayWithHoles");var b=[].concat(t.default,r.default,n.default,i.default);b.forEach(function(v){var S=c(v,2),O=S[1],P=u(O.superClass),x;try{for(P.s();!(x=P.n()).done;){var E=x.value,_=u(E),C;try{var w=a(function(){var A=C.value,I=b.find(function(K){var J=c(K,1),oe=J[0];return oe===A});if(I)for(var j=I[1],R=0,q=Object.keys(j.props);R<q.length;R++){var M=q[R];Object.prototype.hasOwnProperty.call(O.props,M)||Object.assign(O.props,l({},M,j.props[M]))}},"_loop");for(_.s();!(C=_.n()).done;)w()}catch(A){_.e(A)}finally{_.f()}}}catch(A){P.e(A)}finally{P.f()}});var g={entries:a(function(){return b},"entries"),forEach:a(function(v){var S=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,O=u(b),P;try{for(O.s();!(P=O.n()).done;){var x=c(P.value,2),E=x[0],_=x[1];v.call(S,_,E,b)}}catch(C){O.e(C)}finally{O.f()}},"forEach"),get:a(function(v){var S=b.find(function(O){return O[0]===v});return S&&S[1]},"get"),has:a(function(v){return!!g.get(v)},"has"),keys:a(function(){return b.map(function(v){var S=c(v,1),O=S[0];return O})},"keys"),values:a(function(){return b.map(function(v){var S=c(v,2),O=S[1];return O})},"values")},m=(0,o.default)(g,g.entries());e.default=m}),RC={};ar(RC,{dequal:()=>Mc});function Mc(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--&&Mc(e[n],t[n]););return n===-1}if(!r||typeof e=="object"){n=0;for(r in e)if(mm.call(e,r)&&++n&&!mm.call(t,r)||!(r in t)||!Mc(e[r],t[r]))return!1;return Object.keys(t).length===n}}return e!==e&&t!==t}var mm,RJ=SU(()=>{mm=Object.prototype.hasOwnProperty,a(Mc,"dequal")}),NJ=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=(RJ(),CU(RC)),r=i(eu()),n=i(Hg());function i(x){return x&&x.__esModule?x:{default:x}}a(i,"_interopRequireDefault");function o(x,E){return u(x)||l(x,E)||p(x,E)||s()}a(o,"_slicedToArray");function s(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
24
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(s,"_nonIterableRest");function l(x,E){var _=x==null?null:typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(_!=null){var C=[],w=!0,A=!1,I,j;try{for(_=_.call(x);!(w=(I=_.next()).done)&&(C.push(I.value),!(E&&C.length===E));w=!0);}catch(R){A=!0,j=R}finally{try{!w&&_.return!=null&&_.return()}finally{if(A)throw j}}return C}}a(l,"_iterableToArrayLimit");function u(x){if(Array.isArray(x))return x}a(u,"_arrayWithHoles");function c(x,E){var _=typeof Symbol<"u"&&x[Symbol.iterator]||x["@@iterator"];if(!_){if(Array.isArray(x)||(_=p(x))||E&&x&&typeof x.length=="number"){_&&(x=_);var C=0,w=a(function(){},"F");return{s:w,n:a(function(){return C>=x.length?{done:!0}:{done:!1,value:x[C++]}},"n"),e:a(function(R){throw R},"e"),f:w}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
25
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var A=!0,I=!1,j;return{s:a(function(){_=_.call(x)},"s"),n:a(function(){var R=_.next();return A=R.done,R},"n"),e:a(function(R){I=!0,j=R},"e"),f:a(function(){try{!A&&_.return!=null&&_.return()}finally{if(I)throw j}},"f")}}a(c,"_createForOfIteratorHelper");function p(x,E){if(x){if(typeof x=="string")return d(x,E);var _=Object.prototype.toString.call(x).slice(8,-1);if(_==="Object"&&x.constructor&&(_=x.constructor.name),_==="Map"||_==="Set")return Array.from(x);if(_==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(_))return d(x,E)}}a(p,"_unsupportedIterableToArray");function d(x,E){(E==null||E>x.length)&&(E=x.length);for(var _=0,C=new Array(E);_<E;_++)C[_]=x[_];return C}a(d,"_arrayLikeToArray");var f=[],h=n.default.keys();for(S=0;S<h.length;S++)if(y=h[S],b=n.default.get(y),b)for(g=[].concat(b.baseConcepts,b.relatedConcepts),v=0;v<g.length;v++)m=g[v],m.module==="HTML"&&function(){var x=m.concept;if(x){var E=f.find(function(A){return(0,t.dequal)(A,x)}),_;E?_=E[1]:_=[];for(var C=!0,w=0;w<_.length;w++)if(_[w]===y){C=!1;break}C&&_.push(y),f.push([x,_])}}();var y,b,g,m,v,S,O={entries:a(function(){return f},"entries"),forEach:a(function(x){var E=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,_=c(f),C;try{for(_.s();!(C=_.n()).done;){var w=o(C.value,2),A=w[0],I=w[1];x.call(E,I,A,f)}}catch(j){_.e(j)}finally{_.f()}},"forEach"),get:a(function(x){var E=f.find(function(_){return x.name===_[0].name&&(0,t.dequal)(x.attributes,_[0].attributes)});return E&&E[1]},"get"),has:a(function(x){return!!O.get(x)},"has"),keys:a(function(){return f.map(function(x){var E=o(x,1),_=E[0];return _})},"keys"),values:a(function(){return f.map(function(x){var E=o(x,2),_=E[1];return _})},"values")},P=(0,r.default)(O,O.entries());e.default=P}),IJ=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.default=void 0;var t=n(eu()),r=n(Hg());function n(E){return E&&E.__esModule?E:{default:E}}a(n,"_interopRequireDefault");function i(E,_){return l(E)||s(E,_)||c(E,_)||o()}a(i,"_slicedToArray");function o(){throw new TypeError(`Invalid attempt to destructure non-iterable instance.
|
|
26
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}a(o,"_nonIterableRest");function s(E,_){var C=E==null?null:typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(C!=null){var w=[],A=!0,I=!1,j,R;try{for(C=C.call(E);!(A=(j=C.next()).done)&&(w.push(j.value),!(_&&w.length===_));A=!0);}catch(q){I=!0,R=q}finally{try{!A&&C.return!=null&&C.return()}finally{if(I)throw R}}return w}}a(s,"_iterableToArrayLimit");function l(E){if(Array.isArray(E))return E}a(l,"_arrayWithHoles");function u(E,_){var C=typeof Symbol<"u"&&E[Symbol.iterator]||E["@@iterator"];if(!C){if(Array.isArray(E)||(C=c(E))||_&&E&&typeof E.length=="number"){C&&(E=C);var w=0,A=a(function(){},"F");return{s:A,n:a(function(){return w>=E.length?{done:!0}:{done:!1,value:E[w++]}},"n"),e:a(function(q){throw q},"e"),f:A}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
27
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var I=!0,j=!1,R;return{s:a(function(){C=C.call(E)},"s"),n:a(function(){var q=C.next();return I=q.done,q},"n"),e:a(function(q){j=!0,R=q},"e"),f:a(function(){try{!I&&C.return!=null&&C.return()}finally{if(j)throw R}},"f")}}a(u,"_createForOfIteratorHelper");function c(E,_){if(E){if(typeof E=="string")return p(E,_);var C=Object.prototype.toString.call(E).slice(8,-1);if(C==="Object"&&E.constructor&&(C=E.constructor.name),C==="Map"||C==="Set")return Array.from(E);if(C==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(C))return p(E,_)}}a(c,"_unsupportedIterableToArray");function p(E,_){(_==null||_>E.length)&&(_=E.length);for(var C=0,w=new Array(_);C<_;C++)w[C]=E[C];return w}a(p,"_arrayLikeToArray");var d=[],f=r.default.keys();for(O=0;O<f.length;O++)if(h=f[O],y=r.default.get(h),b=[],y){for(g=[].concat(y.baseConcepts,y.relatedConcepts),S=0;S<g.length;S++)m=g[S],m.module==="HTML"&&(v=m.concept,v!=null&&b.push(v));b.length>0&&d.push([h,b])}var h,y,b,g,m,v,S,O,P={entries:a(function(){return d},"entries"),forEach:a(function(E){var _=arguments.length>1&&arguments[1]!==void 0?arguments[1]:null,C=u(d),w;try{for(C.s();!(w=C.n()).done;){var A=i(w.value,2),I=A[0],j=A[1];E.call(_,j,I,d)}}catch(R){C.e(R)}finally{C.f()}},"forEach"),get:a(function(E){var _=d.find(function(C){return C[0]===E});return _&&_[1]},"get"),has:a(function(E){return!!P.get(E)},"has"),keys:a(function(){return d.map(function(E){var _=i(E,1),C=_[0];return C})},"keys"),values:a(function(){return d.map(function(E){var _=i(E,2),C=_[1];return C})},"values")},x=(0,t.default)(P,P.entries());e.default=x}),kJ=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.roles=e.roleElements=e.elementRoles=e.dom=e.aria=void 0;var t=s(G6()),r=s(Y6()),n=s(Hg()),i=s(NJ()),o=s(IJ());function s(f){return f&&f.__esModule?f:{default:f}}a(s,"_interopRequireDefault");var l=t.default;e.aria=l;var u=r.default;e.dom=u;var c=n.default;e.roles=c;var p=i.default;e.elementRoles=p;var d=o.default;e.roleElements=d}),MJ=N((e,t)=>{var r=function(){var n=String.fromCharCode,i="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=",o="ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+-$",s={};function l(c,p){if(!s[c]){s[c]={};for(var d=0;d<c.length;d++)s[c][c.charAt(d)]=d}return s[c][p]}a(l,"getBaseValue");var u={compressToBase64:a(function(c){if(c==null)return"";var p=u._compress(c,6,function(d){return i.charAt(d)});switch(p.length%4){default:case 0:return p;case 1:return p+"===";case 2:return p+"==";case 3:return p+"="}},"compressToBase64"),decompressFromBase64:a(function(c){return c==null?"":c==""?null:u._decompress(c.length,32,function(p){return l(i,c.charAt(p))})},"decompressFromBase64"),compressToUTF16:a(function(c){return c==null?"":u._compress(c,15,function(p){return n(p+32)})+" "},"compressToUTF16"),decompressFromUTF16:a(function(c){return c==null?"":c==""?null:u._decompress(c.length,16384,function(p){return c.charCodeAt(p)-32})},"decompressFromUTF16"),compressToUint8Array:a(function(c){for(var p=u.compress(c),d=new Uint8Array(p.length*2),f=0,h=p.length;f<h;f++){var y=p.charCodeAt(f);d[f*2]=y>>>8,d[f*2+1]=y%256}return d},"compressToUint8Array"),decompressFromUint8Array:a(function(c){if(c==null)return u.decompress(c);for(var p=new Array(c.length/2),d=0,f=p.length;d<f;d++)p[d]=c[d*2]*256+c[d*2+1];var h=[];return p.forEach(function(y){h.push(n(y))}),u.decompress(h.join(""))},"decompressFromUint8Array"),compressToEncodedURIComponent:a(function(c){return c==null?"":u._compress(c,6,function(p){return o.charAt(p)})},"compressToEncodedURIComponent"),decompressFromEncodedURIComponent:a(function(c){return c==null?"":c==""?null:(c=c.replace(/ /g,"+"),u._decompress(c.length,32,function(p){return l(o,c.charAt(p))}))},"decompressFromEncodedURIComponent"),compress:a(function(c){return u._compress(c,16,function(p){return n(p)})},"compress"),_compress:a(function(c,p,d){if(c==null)return"";var f,h,y={},b={},g="",m="",v="",S=2,O=3,P=2,x=[],E=0,_=0,C;for(C=0;C<c.length;C+=1)if(g=c.charAt(C),Object.prototype.hasOwnProperty.call(y,g)||(y[g]=O++,b[g]=!0),m=v+g,Object.prototype.hasOwnProperty.call(y,m))v=m;else{if(Object.prototype.hasOwnProperty.call(b,v)){if(v.charCodeAt(0)<256){for(f=0;f<P;f++)E=E<<1,_==p-1?(_=0,x.push(d(E)),E=0):_++;for(h=v.charCodeAt(0),f=0;f<8;f++)E=E<<1|h&1,_==p-1?(_=0,x.push(d(E)),E=0):_++,h=h>>1}else{for(h=1,f=0;f<P;f++)E=E<<1|h,_==p-1?(_=0,x.push(d(E)),E=0):_++,h=0;for(h=v.charCodeAt(0),f=0;f<16;f++)E=E<<1|h&1,_==p-1?(_=0,x.push(d(E)),E=0):_++,h=h>>1}S--,S==0&&(S=Math.pow(2,P),P++),delete b[v]}else for(h=y[v],f=0;f<P;f++)E=E<<1|h&1,_==p-1?(_=0,x.push(d(E)),E=0):_++,h=h>>1;S--,S==0&&(S=Math.pow(2,P),P++),y[m]=O++,v=String(g)}if(v!==""){if(Object.prototype.hasOwnProperty.call(b,v)){if(v.charCodeAt(0)<256){for(f=0;f<P;f++)E=E<<1,_==p-1?(_=0,x.push(d(E)),E=0):_++;for(h=v.charCodeAt(0),f=0;f<8;f++)E=E<<1|h&1,_==p-1?(_=0,x.push(d(E)),E=0):_++,h=h>>1}else{for(h=1,f=0;f<P;f++)E=E<<1|h,_==p-1?(_=0,x.push(d(E)),E=0):_++,h=0;for(h=v.charCodeAt(0),f=0;f<16;f++)E=E<<1|h&1,_==p-1?(_=0,x.push(d(E)),E=0):_++,h=h>>1}S--,S==0&&(S=Math.pow(2,P),P++),delete b[v]}else for(h=y[v],f=0;f<P;f++)E=E<<1|h&1,_==p-1?(_=0,x.push(d(E)),E=0):_++,h=h>>1;S--,S==0&&(S=Math.pow(2,P),P++)}for(h=2,f=0;f<P;f++)E=E<<1|h&1,_==p-1?(_=0,x.push(d(E)),E=0):_++,h=h>>1;for(;;)if(E=E<<1,_==p-1){x.push(d(E));break}else _++;return x.join("")},"_compress"),decompress:a(function(c){return c==null?"":c==""?null:u._decompress(c.length,32768,function(p){return c.charCodeAt(p)})},"decompress"),_decompress:a(function(c,p,d){var f=[],h=4,y=4,b=3,g="",m=[],v,S,O,P,x,E,_,C={val:d(0),position:p,index:1};for(v=0;v<3;v+=1)f[v]=v;for(O=0,x=Math.pow(2,2),E=1;E!=x;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=p,C.val=d(C.index++)),O|=(P>0?1:0)*E,E<<=1;switch(O){case 0:for(O=0,x=Math.pow(2,8),E=1;E!=x;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=p,C.val=d(C.index++)),O|=(P>0?1:0)*E,E<<=1;_=n(O);break;case 1:for(O=0,x=Math.pow(2,16),E=1;E!=x;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=p,C.val=d(C.index++)),O|=(P>0?1:0)*E,E<<=1;_=n(O);break;case 2:return""}for(f[3]=_,S=_,m.push(_);;){if(C.index>c)return"";for(O=0,x=Math.pow(2,b),E=1;E!=x;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=p,C.val=d(C.index++)),O|=(P>0?1:0)*E,E<<=1;switch(_=O){case 0:for(O=0,x=Math.pow(2,8),E=1;E!=x;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=p,C.val=d(C.index++)),O|=(P>0?1:0)*E,E<<=1;f[y++]=n(O),_=y-1,h--;break;case 1:for(O=0,x=Math.pow(2,16),E=1;E!=x;)P=C.val&C.position,C.position>>=1,C.position==0&&(C.position=p,C.val=d(C.index++)),O|=(P>0?1:0)*E,E<<=1;f[y++]=n(O),_=y-1,h--;break;case 2:return m.join("")}if(h==0&&(h=Math.pow(2,b),b++),f[_])g=f[_];else if(_===y)g=S+S.charAt(0);else return null;m.push(g),f[y++]=S+g.charAt(0),h--,S=g,h==0&&(h=Math.pow(2,b),b++)}},"_decompress")};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})}),qJ=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.isEqual=function(){var t=Object.prototype.toString,r=Object.getPrototypeOf,n=Object.getOwnPropertySymbols?function(i){return Object.keys(i).concat(Object.getOwnPropertySymbols(i))}:Object.keys;return function(i,o){return a(function s(l,u,c){var p,d,f,h=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),h!=y||(p=n(l),d=n(u),p.length!=d.length||p.some(function(b){return!s(l[b],u[b],c)})))return!1;switch(h.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":p=l.entries(),d=u.entries();do if(!s((f=p.next()).value,d.next().value,c))return!1;while(!f.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(f=0;f<l.length;f++)if((f in l||f in u)&&(f in l!=f in u||!s(l[f],u[f],c)))return!1;return!0;case"Object":return s(r(l),r(u),c);default:return!1}},"n")(i,o,[])}}()}),NC=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.encodeString=n;var t=Array.from({length:256},(i,o)=>"%"+((o<16?"0":"")+o.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(i){let o=i.length;if(o===0)return"";let s="",l=0,u=0;e:for(;u<o;u++){let c=i.charCodeAt(u);for(;c<128;){if(r[c]!==1&&(l<u&&(s+=i.slice(l,u)),l=u+1,s+=t[c]),++u===o)break e;c=i.charCodeAt(u)}if(l<u&&(s+=i.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>=o)throw new Error("URI malformed");let p=i.charCodeAt(u)&1023;l=u+1,c=65536+((c&1023)<<10|p),s+=t[240|c>>18]+t[128|c>>12&63]+t[128|c>>6&63]+t[128|c&63]}return l===0?i:l<o?s+i.slice(l):s}a(n,"encodeString")}),Jg=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.defaultOptions=e.defaultShouldSerializeObject=e.defaultValueSerializer=void 0;var t=NC(),r=a(o=>{switch(typeof o){case"string":return(0,t.encodeString)(o);case"bigint":case"boolean":return""+o;case"number":if(Number.isFinite(o))return o<1e21?""+o:(0,t.encodeString)(""+o);break}return o instanceof Date?(0,t.encodeString)(o.toISOString()):""},"defaultValueSerializer");e.defaultValueSerializer=r;var n=a(o=>o instanceof Date,"defaultShouldSerializeObject");e.defaultShouldSerializeObject=n;var i=a(o=>o,"identityFunc");e.defaultOptions={nesting:!0,nestingSyntax:"dot",arrayRepeat:!1,arrayRepeatSyntax:"repeat",delimiter:38,valueDeserializer:i,valueSerializer:e.defaultValueSerializer,keyDeserializer:i,shouldSerializeObject:e.defaultShouldSerializeObject}}),IC=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.getDeepObject=i,e.stringifyObject=p;var t=Jg(),r=NC();function n(d){return d==="__proto__"||d==="constructor"||d==="prototype"}a(n,"isPrototypeKey");function i(d,f,h,y,b){if(n(f))return d;let g=d[f];return typeof g=="object"&&g!==null?g:!y&&(b||typeof h=="number"||typeof h=="string"&&h*0===0&&h.indexOf(".")===-1)?d[f]=[]:d[f]={}}a(i,"getDeepObject");var o=20,s="[]",l="[",u="]",c=".";function p(d,f,h=0,y,b){let{nestingSyntax:g=t.defaultOptions.nestingSyntax,arrayRepeat:m=t.defaultOptions.arrayRepeat,arrayRepeatSyntax:v=t.defaultOptions.arrayRepeatSyntax,nesting:S=t.defaultOptions.nesting,delimiter:O=t.defaultOptions.delimiter,valueSerializer:P=t.defaultOptions.valueSerializer,shouldSerializeObject:x=t.defaultOptions.shouldSerializeObject}=f,E=typeof O=="number"?String.fromCharCode(O):O,_=b===!0&&m,C=g==="dot"||g==="js"&&!b;if(h>o)return"";let w="",A=!0,I=!1;for(let j in d){let R=d[j],q;y?(q=y,_?v==="bracket"&&(q+=s):C?(q+=c,q+=j):(q+=l,q+=j,q+=u)):q=j,A||(w+=E),typeof R=="object"&&R!==null&&!x(R)?(I=R.pop!==void 0,(S||m&&I)&&(w+=p(R,f,h+1,q,I))):(w+=(0,r.encodeString)(q),w+="=",w+=P(R,j)),A&&(A=!1)}return w}a(p,"stringifyObject")}),jJ=N((e,t)=>{var r=12,n=0,i=[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 o(u){var c=u.indexOf("%");if(c===-1)return u;for(var p=u.length,d="",f=0,h=0,y=c,b=r;c>-1&&c<p;){var g=l(u[c+1],4),m=l(u[c+2],0),v=g|m,S=i[v];if(b=i[256+b+S],h=h<<6|v&i[364+S],b===r)d+=u.slice(f,y),d+=h<=65535?String.fromCharCode(h):String.fromCharCode(55232+(h>>10),56320+(h&1023)),h=0,f=c+3,c=y=u.indexOf("%",f);else{if(b===n)return null;if(c+=3,c<p&&u.charCodeAt(c)===37)continue;return null}}return d+u.slice(f)}a(o,"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 p=s[u];return p===void 0?255:p<<c}a(l,"hexCodeToInt"),t.exports=o}),DJ=N(e=>{var t=e&&e.__importDefault||function(d){return d&&d.__esModule?d:{default:d}};Object.defineProperty(e,"__esModule",{value:!0}),e.numberValueDeserializer=e.numberKeyDeserializer=void 0,e.parse=p;var r=IC(),n=Jg(),i=t(jJ()),o=a(d=>{let f=Number(d);return Number.isNaN(f)?d:f},"numberKeyDeserializer");e.numberKeyDeserializer=o;var s=a(d=>{let f=Number(d);return Number.isNaN(f)?d:f},"numberValueDeserializer");e.numberValueDeserializer=s;var l=/\+/g,u=a(function(){},"Empty");u.prototype=Object.create(null);function c(d,f,h,y,b){let g=d.substring(f,h);return y&&(g=g.replace(l," ")),b&&(g=(0,i.default)(g)||g),g}a(c,"computeKeySlice");function p(d,f){let{valueDeserializer:h=n.defaultOptions.valueDeserializer,keyDeserializer:y=n.defaultOptions.keyDeserializer,arrayRepeatSyntax:b=n.defaultOptions.arrayRepeatSyntax,nesting:g=n.defaultOptions.nesting,arrayRepeat:m=n.defaultOptions.arrayRepeat,nestingSyntax:v=n.defaultOptions.nestingSyntax,delimiter:S=n.defaultOptions.delimiter}=f??{},O=typeof S=="string"?S.charCodeAt(0):S,P=v==="js",x=new u;if(typeof d!="string")return x;let E=d.length,_="",C=-1,w=-1,A=-1,I=x,j,R="",q="",M=!1,K=!1,J=!1,oe=!1,ye=!1,ae=!1,ee=!1,Z=0,re=-1,me=-1,se=-1;for(let _e=0;_e<E+1;_e++){if(Z=_e!==E?d.charCodeAt(_e):O,Z===O){if(ee=w>C,ee||(w=_e),A!==w-1&&(q=c(d,A+1,re>-1?re:w,J,M),R=y(q),j!==void 0&&(I=(0,r.getDeepObject)(I,j,R,P&&ye,P&&ae))),ee||R!==""){ee&&(_=d.slice(w+1,_e),oe&&(_=_.replace(l," ")),K&&(_=(0,i.default)(_)||_));let Te=h(_,R);if(m){let tt=I[R];tt===void 0?re>-1?I[R]=[Te]:I[R]=Te:tt.pop?tt.push(Te):I[R]=[tt,Te]}else I[R]=Te}_="",C=_e,w=_e,M=!1,K=!1,J=!1,oe=!1,ye=!1,ae=!1,re=-1,A=_e,I=x,j=void 0,R=""}else Z===93?(m&&b==="bracket"&&se===91&&(re=me),g&&(v==="index"||P)&&w<=C&&(A!==me&&(q=c(d,A+1,_e,J,M),R=y(q),j!==void 0&&(I=(0,r.getDeepObject)(I,j,R,void 0,P)),j=R,J=!1,M=!1),A=_e,ae=!0,ye=!1)):Z===46?g&&(v==="dot"||P)&&w<=C&&(A!==me&&(q=c(d,A+1,_e,J,M),R=y(q),j!==void 0&&(I=(0,r.getDeepObject)(I,j,R,P)),j=R,J=!1,M=!1),ye=!0,ae=!1,A=_e):Z===91?g&&(v==="index"||P)&&w<=C&&(A!==me&&(q=c(d,A+1,_e,J,M),R=y(q),P&&j!==void 0&&(I=(0,r.getDeepObject)(I,j,R,P)),j=R,J=!1,M=!1,ye=!1,ae=!0),A=_e):Z===61?w<=C?w=_e:K=!0:Z===43?w>C?oe=!0:J=!0:Z===37&&(w>C?K=!0:M=!0);me=_e,se=Z}return x}a(p,"parse")}),LJ=N(e=>{Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=r;var t=IC();function r(n,i){if(n===null||typeof n!="object")return"";let o=i??{};return(0,t.stringifyObject)(n,o)}a(r,"stringify")}),Wg=N(e=>{var t=e&&e.__createBinding||(Object.create?function(o,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:a(function(){return s[l]},"get")}),Object.defineProperty(o,u,c)}:function(o,s,l,u){u===void 0&&(u=l),o[u]=s[l]}),r=e&&e.__exportStar||function(o,s){for(var l in o)l!=="default"&&!Object.prototype.hasOwnProperty.call(s,l)&&t(s,o,l)};Object.defineProperty(e,"__esModule",{value:!0}),e.stringify=e.parse=void 0;var n=DJ();Object.defineProperty(e,"parse",{enumerable:!0,get:a(function(){return n.parse},"get")});var i=LJ();Object.defineProperty(e,"stringify",{enumerable:!0,get:a(function(){return i.stringify},"get")}),r(Jg(),e)}),kC=N((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Abreve:"Ă",abreve:"ă",ac:"∾",acd:"∿",acE:"∾̳",Acirc:"Â",acirc:"â",acute:"´",Acy:"А",acy:"а",AElig:"Æ",aelig:"æ",af:"",Afr:"𝔄",afr:"𝔞",Agrave:"À",agrave:"à",alefsym:"ℵ",aleph:"ℵ",Alpha:"Α",alpha:"α",Amacr:"Ā",amacr:"ā",amalg:"⨿",amp:"&",AMP:"&",andand:"⩕",And:"⩓",and:"∧",andd:"⩜",andslope:"⩘",andv:"⩚",ang:"∠",ange:"⦤",angle:"∠",angmsdaa:"⦨",angmsdab:"⦩",angmsdac:"⦪",angmsdad:"⦫",angmsdae:"⦬",angmsdaf:"⦭",angmsdag:"⦮",angmsdah:"⦯",angmsd:"∡",angrt:"∟",angrtvb:"⊾",angrtvbd:"⦝",angsph:"∢",angst:"Å",angzarr:"⍼",Aogon:"Ą",aogon:"ą",Aopf:"𝔸",aopf:"𝕒",apacir:"⩯",ap:"≈",apE:"⩰",ape:"≊",apid:"≋",apos:"'",ApplyFunction:"",approx:"≈",approxeq:"≊",Aring:"Å",aring:"å",Ascr:"𝒜",ascr:"𝒶",Assign:"≔",ast:"*",asymp:"≈",asympeq:"≍",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",awconint:"∳",awint:"⨑",backcong:"≌",backepsilon:"϶",backprime:"‵",backsim:"∽",backsimeq:"⋍",Backslash:"∖",Barv:"⫧",barvee:"⊽",barwed:"⌅",Barwed:"⌆",barwedge:"⌅",bbrk:"⎵",bbrktbrk:"⎶",bcong:"≌",Bcy:"Б",bcy:"б",bdquo:"„",becaus:"∵",because:"∵",Because:"∵",bemptyv:"⦰",bepsi:"϶",bernou:"ℬ",Bernoullis:"ℬ",Beta:"Β",beta:"β",beth:"ℶ",between:"≬",Bfr:"𝔅",bfr:"𝔟",bigcap:"⋂",bigcirc:"◯",bigcup:"⋃",bigodot:"⨀",bigoplus:"⨁",bigotimes:"⨂",bigsqcup:"⨆",bigstar:"★",bigtriangledown:"▽",bigtriangleup:"△",biguplus:"⨄",bigvee:"⋁",bigwedge:"⋀",bkarow:"⤍",blacklozenge:"⧫",blacksquare:"▪",blacktriangle:"▴",blacktriangledown:"▾",blacktriangleleft:"◂",blacktriangleright:"▸",blank:"␣",blk12:"▒",blk14:"░",blk34:"▓",block:"█",bne:"=⃥",bnequiv:"≡⃥",bNot:"⫭",bnot:"⌐",Bopf:"𝔹",bopf:"𝕓",bot:"⊥",bottom:"⊥",bowtie:"⋈",boxbox:"⧉",boxdl:"┐",boxdL:"╕",boxDl:"╖",boxDL:"╗",boxdr:"┌",boxdR:"╒",boxDr:"╓",boxDR:"╔",boxh:"─",boxH:"═",boxhd:"┬",boxHd:"╤",boxhD:"╥",boxHD:"╦",boxhu:"┴",boxHu:"╧",boxhU:"╨",boxHU:"╩",boxminus:"⊟",boxplus:"⊞",boxtimes:"⊠",boxul:"┘",boxuL:"╛",boxUl:"╜",boxUL:"╝",boxur:"└",boxuR:"╘",boxUr:"╙",boxUR:"╚",boxv:"│",boxV:"║",boxvh:"┼",boxvH:"╪",boxVh:"╫",boxVH:"╬",boxvl:"┤",boxvL:"╡",boxVl:"╢",boxVL:"╣",boxvr:"├",boxvR:"╞",boxVr:"╟",boxVR:"╠",bprime:"‵",breve:"˘",Breve:"˘",brvbar:"¦",bscr:"𝒷",Bscr:"ℬ",bsemi:"⁏",bsim:"∽",bsime:"⋍",bsolb:"⧅",bsol:"\\",bsolhsub:"⟈",bull:"•",bullet:"•",bump:"≎",bumpE:"⪮",bumpe:"≏",Bumpeq:"≎",bumpeq:"≏",Cacute:"Ć",cacute:"ć",capand:"⩄",capbrcup:"⩉",capcap:"⩋",cap:"∩",Cap:"⋒",capcup:"⩇",capdot:"⩀",CapitalDifferentialD:"ⅅ",caps:"∩︀",caret:"⁁",caron:"ˇ",Cayleys:"ℭ",ccaps:"⩍",Ccaron:"Č",ccaron:"č",Ccedil:"Ç",ccedil:"ç",Ccirc:"Ĉ",ccirc:"ĉ",Cconint:"∰",ccups:"⩌",ccupssm:"⩐",Cdot:"Ċ",cdot:"ċ",cedil:"¸",Cedilla:"¸",cemptyv:"⦲",cent:"¢",centerdot:"·",CenterDot:"·",cfr:"𝔠",Cfr:"ℭ",CHcy:"Ч",chcy:"ч",check:"✓",checkmark:"✓",Chi:"Χ",chi:"χ",circ:"ˆ",circeq:"≗",circlearrowleft:"↺",circlearrowright:"↻",circledast:"⊛",circledcirc:"⊚",circleddash:"⊝",CircleDot:"⊙",circledR:"®",circledS:"Ⓢ",CircleMinus:"⊖",CirclePlus:"⊕",CircleTimes:"⊗",cir:"○",cirE:"⧃",cire:"≗",cirfnint:"⨐",cirmid:"⫯",cirscir:"⧂",ClockwiseContourIntegral:"∲",CloseCurlyDoubleQuote:"”",CloseCurlyQuote:"’",clubs:"♣",clubsuit:"♣",colon:":",Colon:"∷",Colone:"⩴",colone:"≔",coloneq:"≔",comma:",",commat:"@",comp:"∁",compfn:"∘",complement:"∁",complexes:"ℂ",cong:"≅",congdot:"⩭",Congruent:"≡",conint:"∮",Conint:"∯",ContourIntegral:"∮",copf:"𝕔",Copf:"ℂ",coprod:"∐",Coproduct:"∐",copy:"©",COPY:"©",copysr:"℗",CounterClockwiseContourIntegral:"∳",crarr:"↵",cross:"✗",Cross:"⨯",Cscr:"𝒞",cscr:"𝒸",csub:"⫏",csube:"⫑",csup:"⫐",csupe:"⫒",ctdot:"⋯",cudarrl:"⤸",cudarrr:"⤵",cuepr:"⋞",cuesc:"⋟",cularr:"↶",cularrp:"⤽",cupbrcap:"⩈",cupcap:"⩆",CupCap:"≍",cup:"∪",Cup:"⋓",cupcup:"⩊",cupdot:"⊍",cupor:"⩅",cups:"∪︀",curarr:"↷",curarrm:"⤼",curlyeqprec:"⋞",curlyeqsucc:"⋟",curlyvee:"⋎",curlywedge:"⋏",curren:"¤",curvearrowleft:"↶",curvearrowright:"↷",cuvee:"⋎",cuwed:"⋏",cwconint:"∲",cwint:"∱",cylcty:"⌭",dagger:"†",Dagger:"‡",daleth:"ℸ",darr:"↓",Darr:"↡",dArr:"⇓",dash:"‐",Dashv:"⫤",dashv:"⊣",dbkarow:"⤏",dblac:"˝",Dcaron:"Ď",dcaron:"ď",Dcy:"Д",dcy:"д",ddagger:"‡",ddarr:"⇊",DD:"ⅅ",dd:"ⅆ",DDotrahd:"⤑",ddotseq:"⩷",deg:"°",Del:"∇",Delta:"Δ",delta:"δ",demptyv:"⦱",dfisht:"⥿",Dfr:"𝔇",dfr:"𝔡",dHar:"⥥",dharl:"⇃",dharr:"⇂",DiacriticalAcute:"´",DiacriticalDot:"˙",DiacriticalDoubleAcute:"˝",DiacriticalGrave:"`",DiacriticalTilde:"˜",diam:"⋄",diamond:"⋄",Diamond:"⋄",diamondsuit:"♦",diams:"♦",die:"¨",DifferentialD:"ⅆ",digamma:"ϝ",disin:"⋲",div:"÷",divide:"÷",divideontimes:"⋇",divonx:"⋇",DJcy:"Ђ",djcy:"ђ",dlcorn:"⌞",dlcrop:"⌍",dollar:"$",Dopf:"𝔻",dopf:"𝕕",Dot:"¨",dot:"˙",DotDot:"⃜",doteq:"≐",doteqdot:"≑",DotEqual:"≐",dotminus:"∸",dotplus:"∔",dotsquare:"⊡",doublebarwedge:"⌆",DoubleContourIntegral:"∯",DoubleDot:"¨",DoubleDownArrow:"⇓",DoubleLeftArrow:"⇐",DoubleLeftRightArrow:"⇔",DoubleLeftTee:"⫤",DoubleLongLeftArrow:"⟸",DoubleLongLeftRightArrow:"⟺",DoubleLongRightArrow:"⟹",DoubleRightArrow:"⇒",DoubleRightTee:"⊨",DoubleUpArrow:"⇑",DoubleUpDownArrow:"⇕",DoubleVerticalBar:"∥",DownArrowBar:"⤓",downarrow:"↓",DownArrow:"↓",Downarrow:"⇓",DownArrowUpArrow:"⇵",DownBreve:"̑",downdownarrows:"⇊",downharpoonleft:"⇃",downharpoonright:"⇂",DownLeftRightVector:"⥐",DownLeftTeeVector:"⥞",DownLeftVectorBar:"⥖",DownLeftVector:"↽",DownRightTeeVector:"⥟",DownRightVectorBar:"⥗",DownRightVector:"⇁",DownTeeArrow:"↧",DownTee:"⊤",drbkarow:"⤐",drcorn:"⌟",drcrop:"⌌",Dscr:"𝒟",dscr:"𝒹",DScy:"Ѕ",dscy:"ѕ",dsol:"⧶",Dstrok:"Đ",dstrok:"đ",dtdot:"⋱",dtri:"▿",dtrif:"▾",duarr:"⇵",duhar:"⥯",dwangle:"⦦",DZcy:"Џ",dzcy:"џ",dzigrarr:"⟿",Eacute:"É",eacute:"é",easter:"⩮",Ecaron:"Ě",ecaron:"ě",Ecirc:"Ê",ecirc:"ê",ecir:"≖",ecolon:"≕",Ecy:"Э",ecy:"э",eDDot:"⩷",Edot:"Ė",edot:"ė",eDot:"≑",ee:"ⅇ",efDot:"≒",Efr:"𝔈",efr:"𝔢",eg:"⪚",Egrave:"È",egrave:"è",egs:"⪖",egsdot:"⪘",el:"⪙",Element:"∈",elinters:"⏧",ell:"ℓ",els:"⪕",elsdot:"⪗",Emacr:"Ē",emacr:"ē",empty:"∅",emptyset:"∅",EmptySmallSquare:"◻",emptyv:"∅",EmptyVerySmallSquare:"▫",emsp13:" ",emsp14:" ",emsp:" ",ENG:"Ŋ",eng:"ŋ",ensp:" ",Eogon:"Ę",eogon:"ę",Eopf:"𝔼",eopf:"𝕖",epar:"⋕",eparsl:"⧣",eplus:"⩱",epsi:"ε",Epsilon:"Ε",epsilon:"ε",epsiv:"ϵ",eqcirc:"≖",eqcolon:"≕",eqsim:"≂",eqslantgtr:"⪖",eqslantless:"⪕",Equal:"⩵",equals:"=",EqualTilde:"≂",equest:"≟",Equilibrium:"⇌",equiv:"≡",equivDD:"⩸",eqvparsl:"⧥",erarr:"⥱",erDot:"≓",escr:"ℯ",Escr:"ℰ",esdot:"≐",Esim:"⩳",esim:"≂",Eta:"Η",eta:"η",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",euro:"€",excl:"!",exist:"∃",Exists:"∃",expectation:"ℰ",exponentiale:"ⅇ",ExponentialE:"ⅇ",fallingdotseq:"≒",Fcy:"Ф",fcy:"ф",female:"♀",ffilig:"ffi",fflig:"ff",ffllig:"ffl",Ffr:"𝔉",ffr:"𝔣",filig:"fi",FilledSmallSquare:"◼",FilledVerySmallSquare:"▪",fjlig:"fj",flat:"♭",fllig:"fl",fltns:"▱",fnof:"ƒ",Fopf:"𝔽",fopf:"𝕗",forall:"∀",ForAll:"∀",fork:"⋔",forkv:"⫙",Fouriertrf:"ℱ",fpartint:"⨍",frac12:"½",frac13:"⅓",frac14:"¼",frac15:"⅕",frac16:"⅙",frac18:"⅛",frac23:"⅔",frac25:"⅖",frac34:"¾",frac35:"⅗",frac38:"⅜",frac45:"⅘",frac56:"⅚",frac58:"⅝",frac78:"⅞",frasl:"⁄",frown:"⌢",fscr:"𝒻",Fscr:"ℱ",gacute:"ǵ",Gamma:"Γ",gamma:"γ",Gammad:"Ϝ",gammad:"ϝ",gap:"⪆",Gbreve:"Ğ",gbreve:"ğ",Gcedil:"Ģ",Gcirc:"Ĝ",gcirc:"ĝ",Gcy:"Г",gcy:"г",Gdot:"Ġ",gdot:"ġ",ge:"≥",gE:"≧",gEl:"⪌",gel:"⋛",geq:"≥",geqq:"≧",geqslant:"⩾",gescc:"⪩",ges:"⩾",gesdot:"⪀",gesdoto:"⪂",gesdotol:"⪄",gesl:"⋛︀",gesles:"⪔",Gfr:"𝔊",gfr:"𝔤",gg:"≫",Gg:"⋙",ggg:"⋙",gimel:"ℷ",GJcy:"Ѓ",gjcy:"ѓ",gla:"⪥",gl:"≷",glE:"⪒",glj:"⪤",gnap:"⪊",gnapprox:"⪊",gne:"⪈",gnE:"≩",gneq:"⪈",gneqq:"≩",gnsim:"⋧",Gopf:"𝔾",gopf:"𝕘",grave:"`",GreaterEqual:"≥",GreaterEqualLess:"⋛",GreaterFullEqual:"≧",GreaterGreater:"⪢",GreaterLess:"≷",GreaterSlantEqual:"⩾",GreaterTilde:"≳",Gscr:"𝒢",gscr:"ℊ",gsim:"≳",gsime:"⪎",gsiml:"⪐",gtcc:"⪧",gtcir:"⩺",gt:">",GT:">",Gt:"≫",gtdot:"⋗",gtlPar:"⦕",gtquest:"⩼",gtrapprox:"⪆",gtrarr:"⥸",gtrdot:"⋗",gtreqless:"⋛",gtreqqless:"⪌",gtrless:"≷",gtrsim:"≳",gvertneqq:"≩︀",gvnE:"≩︀",Hacek:"ˇ",hairsp:" ",half:"½",hamilt:"ℋ",HARDcy:"Ъ",hardcy:"ъ",harrcir:"⥈",harr:"↔",hArr:"⇔",harrw:"↭",Hat:"^",hbar:"ℏ",Hcirc:"Ĥ",hcirc:"ĥ",hearts:"♥",heartsuit:"♥",hellip:"…",hercon:"⊹",hfr:"𝔥",Hfr:"ℌ",HilbertSpace:"ℋ",hksearow:"⤥",hkswarow:"⤦",hoarr:"⇿",homtht:"∻",hookleftarrow:"↩",hookrightarrow:"↪",hopf:"𝕙",Hopf:"ℍ",horbar:"―",HorizontalLine:"─",hscr:"𝒽",Hscr:"ℋ",hslash:"ℏ",Hstrok:"Ħ",hstrok:"ħ",HumpDownHump:"≎",HumpEqual:"≏",hybull:"⁃",hyphen:"‐",Iacute:"Í",iacute:"í",ic:"",Icirc:"Î",icirc:"î",Icy:"И",icy:"и",Idot:"İ",IEcy:"Е",iecy:"е",iexcl:"¡",iff:"⇔",ifr:"𝔦",Ifr:"ℑ",Igrave:"Ì",igrave:"ì",ii:"ⅈ",iiiint:"⨌",iiint:"∭",iinfin:"⧜",iiota:"℩",IJlig:"IJ",ijlig:"ij",Imacr:"Ī",imacr:"ī",image:"ℑ",ImaginaryI:"ⅈ",imagline:"ℐ",imagpart:"ℑ",imath:"ı",Im:"ℑ",imof:"⊷",imped:"Ƶ",Implies:"⇒",incare:"℅",in:"∈",infin:"∞",infintie:"⧝",inodot:"ı",intcal:"⊺",int:"∫",Int:"∬",integers:"ℤ",Integral:"∫",intercal:"⊺",Intersection:"⋂",intlarhk:"⨗",intprod:"⨼",InvisibleComma:"",InvisibleTimes:"",IOcy:"Ё",iocy:"ё",Iogon:"Į",iogon:"į",Iopf:"𝕀",iopf:"𝕚",Iota:"Ι",iota:"ι",iprod:"⨼",iquest:"¿",iscr:"𝒾",Iscr:"ℐ",isin:"∈",isindot:"⋵",isinE:"⋹",isins:"⋴",isinsv:"⋳",isinv:"∈",it:"",Itilde:"Ĩ",itilde:"ĩ",Iukcy:"І",iukcy:"і",Iuml:"Ï",iuml:"ï",Jcirc:"Ĵ",jcirc:"ĵ",Jcy:"Й",jcy:"й",Jfr:"𝔍",jfr:"𝔧",jmath:"ȷ",Jopf:"𝕁",jopf:"𝕛",Jscr:"𝒥",jscr:"𝒿",Jsercy:"Ј",jsercy:"ј",Jukcy:"Є",jukcy:"є",Kappa:"Κ",kappa:"κ",kappav:"ϰ",Kcedil:"Ķ",kcedil:"ķ",Kcy:"К",kcy:"к",Kfr:"𝔎",kfr:"𝔨",kgreen:"ĸ",KHcy:"Х",khcy:"х",KJcy:"Ќ",kjcy:"ќ",Kopf:"𝕂",kopf:"𝕜",Kscr:"𝒦",kscr:"𝓀",lAarr:"⇚",Lacute:"Ĺ",lacute:"ĺ",laemptyv:"⦴",lagran:"ℒ",Lambda:"Λ",lambda:"λ",lang:"⟨",Lang:"⟪",langd:"⦑",langle:"⟨",lap:"⪅",Laplacetrf:"ℒ",laquo:"«",larrb:"⇤",larrbfs:"⤟",larr:"←",Larr:"↞",lArr:"⇐",larrfs:"⤝",larrhk:"↩",larrlp:"↫",larrpl:"⤹",larrsim:"⥳",larrtl:"↢",latail:"⤙",lAtail:"⤛",lat:"⪫",late:"⪭",lates:"⪭︀",lbarr:"⤌",lBarr:"⤎",lbbrk:"❲",lbrace:"{",lbrack:"[",lbrke:"⦋",lbrksld:"⦏",lbrkslu:"⦍",Lcaron:"Ľ",lcaron:"ľ",Lcedil:"Ļ",lcedil:"ļ",lceil:"⌈",lcub:"{",Lcy:"Л",lcy:"л",ldca:"⤶",ldquo:"“",ldquor:"„",ldrdhar:"⥧",ldrushar:"⥋",ldsh:"↲",le:"≤",lE:"≦",LeftAngleBracket:"⟨",LeftArrowBar:"⇤",leftarrow:"←",LeftArrow:"←",Leftarrow:"⇐",LeftArrowRightArrow:"⇆",leftarrowtail:"↢",LeftCeiling:"⌈",LeftDoubleBracket:"⟦",LeftDownTeeVector:"⥡",LeftDownVectorBar:"⥙",LeftDownVector:"⇃",LeftFloor:"⌊",leftharpoondown:"↽",leftharpoonup:"↼",leftleftarrows:"⇇",leftrightarrow:"↔",LeftRightArrow:"↔",Leftrightarrow:"⇔",leftrightarrows:"⇆",leftrightharpoons:"⇋",leftrightsquigarrow:"↭",LeftRightVector:"⥎",LeftTeeArrow:"↤",LeftTee:"⊣",LeftTeeVector:"⥚",leftthreetimes:"⋋",LeftTriangleBar:"⧏",LeftTriangle:"⊲",LeftTriangleEqual:"⊴",LeftUpDownVector:"⥑",LeftUpTeeVector:"⥠",LeftUpVectorBar:"⥘",LeftUpVector:"↿",LeftVectorBar:"⥒",LeftVector:"↼",lEg:"⪋",leg:"⋚",leq:"≤",leqq:"≦",leqslant:"⩽",lescc:"⪨",les:"⩽",lesdot:"⩿",lesdoto:"⪁",lesdotor:"⪃",lesg:"⋚︀",lesges:"⪓",lessapprox:"⪅",lessdot:"⋖",lesseqgtr:"⋚",lesseqqgtr:"⪋",LessEqualGreater:"⋚",LessFullEqual:"≦",LessGreater:"≶",lessgtr:"≶",LessLess:"⪡",lesssim:"≲",LessSlantEqual:"⩽",LessTilde:"≲",lfisht:"⥼",lfloor:"⌊",Lfr:"𝔏",lfr:"𝔩",lg:"≶",lgE:"⪑",lHar:"⥢",lhard:"↽",lharu:"↼",lharul:"⥪",lhblk:"▄",LJcy:"Љ",ljcy:"љ",llarr:"⇇",ll:"≪",Ll:"⋘",llcorner:"⌞",Lleftarrow:"⇚",llhard:"⥫",lltri:"◺",Lmidot:"Ŀ",lmidot:"ŀ",lmoustache:"⎰",lmoust:"⎰",lnap:"⪉",lnapprox:"⪉",lne:"⪇",lnE:"≨",lneq:"⪇",lneqq:"≨",lnsim:"⋦",loang:"⟬",loarr:"⇽",lobrk:"⟦",longleftarrow:"⟵",LongLeftArrow:"⟵",Longleftarrow:"⟸",longleftrightarrow:"⟷",LongLeftRightArrow:"⟷",Longleftrightarrow:"⟺",longmapsto:"⟼",longrightarrow:"⟶",LongRightArrow:"⟶",Longrightarrow:"⟹",looparrowleft:"↫",looparrowright:"↬",lopar:"⦅",Lopf:"𝕃",lopf:"𝕝",loplus:"⨭",lotimes:"⨴",lowast:"∗",lowbar:"_",LowerLeftArrow:"↙",LowerRightArrow:"↘",loz:"◊",lozenge:"◊",lozf:"⧫",lpar:"(",lparlt:"⦓",lrarr:"⇆",lrcorner:"⌟",lrhar:"⇋",lrhard:"⥭",lrm:"",lrtri:"⊿",lsaquo:"‹",lscr:"𝓁",Lscr:"ℒ",lsh:"↰",Lsh:"↰",lsim:"≲",lsime:"⪍",lsimg:"⪏",lsqb:"[",lsquo:"‘",lsquor:"‚",Lstrok:"Ł",lstrok:"ł",ltcc:"⪦",ltcir:"⩹",lt:"<",LT:"<",Lt:"≪",ltdot:"⋖",lthree:"⋋",ltimes:"⋉",ltlarr:"⥶",ltquest:"⩻",ltri:"◃",ltrie:"⊴",ltrif:"◂",ltrPar:"⦖",lurdshar:"⥊",luruhar:"⥦",lvertneqq:"≨︀",lvnE:"≨︀",macr:"¯",male:"♂",malt:"✠",maltese:"✠",Map:"⤅",map:"↦",mapsto:"↦",mapstodown:"↧",mapstoleft:"↤",mapstoup:"↥",marker:"▮",mcomma:"⨩",Mcy:"М",mcy:"м",mdash:"—",mDDot:"∺",measuredangle:"∡",MediumSpace:" ",Mellintrf:"ℳ",Mfr:"𝔐",mfr:"𝔪",mho:"℧",micro:"µ",midast:"*",midcir:"⫰",mid:"∣",middot:"·",minusb:"⊟",minus:"−",minusd:"∸",minusdu:"⨪",MinusPlus:"∓",mlcp:"⫛",mldr:"…",mnplus:"∓",models:"⊧",Mopf:"𝕄",mopf:"𝕞",mp:"∓",mscr:"𝓂",Mscr:"ℳ",mstpos:"∾",Mu:"Μ",mu:"μ",multimap:"⊸",mumap:"⊸",nabla:"∇",Nacute:"Ń",nacute:"ń",nang:"∠⃒",nap:"≉",napE:"⩰̸",napid:"≋̸",napos:"ʼn",napprox:"≉",natural:"♮",naturals:"ℕ",natur:"♮",nbsp:" ",nbump:"≎̸",nbumpe:"≏̸",ncap:"⩃",Ncaron:"Ň",ncaron:"ň",Ncedil:"Ņ",ncedil:"ņ",ncong:"≇",ncongdot:"⩭̸",ncup:"⩂",Ncy:"Н",ncy:"н",ndash:"–",nearhk:"⤤",nearr:"↗",neArr:"⇗",nearrow:"↗",ne:"≠",nedot:"≐̸",NegativeMediumSpace:"",NegativeThickSpace:"",NegativeThinSpace:"",NegativeVeryThinSpace:"",nequiv:"≢",nesear:"⤨",nesim:"≂̸",NestedGreaterGreater:"≫",NestedLessLess:"≪",NewLine:`
|
|
28
|
-
`,nexist:"∄",nexists:"∄",Nfr:"𝔑",nfr:"𝔫",ngE:"≧̸",nge:"≱",ngeq:"≱",ngeqq:"≧̸",ngeqslant:"⩾̸",nges:"⩾̸",nGg:"⋙̸",ngsim:"≵",nGt:"≫⃒",ngt:"≯",ngtr:"≯",nGtv:"≫̸",nharr:"↮",nhArr:"⇎",nhpar:"⫲",ni:"∋",nis:"⋼",nisd:"⋺",niv:"∋",NJcy:"Њ",njcy:"њ",nlarr:"↚",nlArr:"⇍",nldr:"‥",nlE:"≦̸",nle:"≰",nleftarrow:"↚",nLeftarrow:"⇍",nleftrightarrow:"↮",nLeftrightarrow:"⇎",nleq:"≰",nleqq:"≦̸",nleqslant:"⩽̸",nles:"⩽̸",nless:"≮",nLl:"⋘̸",nlsim:"≴",nLt:"≪⃒",nlt:"≮",nltri:"⋪",nltrie:"⋬",nLtv:"≪̸",nmid:"∤",NoBreak:"",NonBreakingSpace:" ",nopf:"𝕟",Nopf:"ℕ",Not:"⫬",not:"¬",NotCongruent:"≢",NotCupCap:"≭",NotDoubleVerticalBar:"∦",NotElement:"∉",NotEqual:"≠",NotEqualTilde:"≂̸",NotExists:"∄",NotGreater:"≯",NotGreaterEqual:"≱",NotGreaterFullEqual:"≧̸",NotGreaterGreater:"≫̸",NotGreaterLess:"≹",NotGreaterSlantEqual:"⩾̸",NotGreaterTilde:"≵",NotHumpDownHump:"≎̸",NotHumpEqual:"≏̸",notin:"∉",notindot:"⋵̸",notinE:"⋹̸",notinva:"∉",notinvb:"⋷",notinvc:"⋶",NotLeftTriangleBar:"⧏̸",NotLeftTriangle:"⋪",NotLeftTriangleEqual:"⋬",NotLess:"≮",NotLessEqual:"≰",NotLessGreater:"≸",NotLessLess:"≪̸",NotLessSlantEqual:"⩽̸",NotLessTilde:"≴",NotNestedGreaterGreater:"⪢̸",NotNestedLessLess:"⪡̸",notni:"∌",notniva:"∌",notnivb:"⋾",notnivc:"⋽",NotPrecedes:"⊀",NotPrecedesEqual:"⪯̸",NotPrecedesSlantEqual:"⋠",NotReverseElement:"∌",NotRightTriangleBar:"⧐̸",NotRightTriangle:"⋫",NotRightTriangleEqual:"⋭",NotSquareSubset:"⊏̸",NotSquareSubsetEqual:"⋢",NotSquareSuperset:"⊐̸",NotSquareSupersetEqual:"⋣",NotSubset:"⊂⃒",NotSubsetEqual:"⊈",NotSucceeds:"⊁",NotSucceedsEqual:"⪰̸",NotSucceedsSlantEqual:"⋡",NotSucceedsTilde:"≿̸",NotSuperset:"⊃⃒",NotSupersetEqual:"⊉",NotTilde:"≁",NotTildeEqual:"≄",NotTildeFullEqual:"≇",NotTildeTilde:"≉",NotVerticalBar:"∤",nparallel:"∦",npar:"∦",nparsl:"⫽⃥",npart:"∂̸",npolint:"⨔",npr:"⊀",nprcue:"⋠",nprec:"⊀",npreceq:"⪯̸",npre:"⪯̸",nrarrc:"⤳̸",nrarr:"↛",nrArr:"⇏",nrarrw:"↝̸",nrightarrow:"↛",nRightarrow:"⇏",nrtri:"⋫",nrtrie:"⋭",nsc:"⊁",nsccue:"⋡",nsce:"⪰̸",Nscr:"𝒩",nscr:"𝓃",nshortmid:"∤",nshortparallel:"∦",nsim:"≁",nsime:"≄",nsimeq:"≄",nsmid:"∤",nspar:"∦",nsqsube:"⋢",nsqsupe:"⋣",nsub:"⊄",nsubE:"⫅̸",nsube:"⊈",nsubset:"⊂⃒",nsubseteq:"⊈",nsubseteqq:"⫅̸",nsucc:"⊁",nsucceq:"⪰̸",nsup:"⊅",nsupE:"⫆̸",nsupe:"⊉",nsupset:"⊃⃒",nsupseteq:"⊉",nsupseteqq:"⫆̸",ntgl:"≹",Ntilde:"Ñ",ntilde:"ñ",ntlg:"≸",ntriangleleft:"⋪",ntrianglelefteq:"⋬",ntriangleright:"⋫",ntrianglerighteq:"⋭",Nu:"Ν",nu:"ν",num:"#",numero:"№",numsp:" ",nvap:"≍⃒",nvdash:"⊬",nvDash:"⊭",nVdash:"⊮",nVDash:"⊯",nvge:"≥⃒",nvgt:">⃒",nvHarr:"⤄",nvinfin:"⧞",nvlArr:"⤂",nvle:"≤⃒",nvlt:"<⃒",nvltrie:"⊴⃒",nvrArr:"⤃",nvrtrie:"⊵⃒",nvsim:"∼⃒",nwarhk:"⤣",nwarr:"↖",nwArr:"⇖",nwarrow:"↖",nwnear:"⤧",Oacute:"Ó",oacute:"ó",oast:"⊛",Ocirc:"Ô",ocirc:"ô",ocir:"⊚",Ocy:"О",ocy:"о",odash:"⊝",Odblac:"Ő",odblac:"ő",odiv:"⨸",odot:"⊙",odsold:"⦼",OElig:"Œ",oelig:"œ",ofcir:"⦿",Ofr:"𝔒",ofr:"𝔬",ogon:"˛",Ograve:"Ò",ograve:"ò",ogt:"⧁",ohbar:"⦵",ohm:"Ω",oint:"∮",olarr:"↺",olcir:"⦾",olcross:"⦻",oline:"‾",olt:"⧀",Omacr:"Ō",omacr:"ō",Omega:"Ω",omega:"ω",Omicron:"Ο",omicron:"ο",omid:"⦶",ominus:"⊖",Oopf:"𝕆",oopf:"𝕠",opar:"⦷",OpenCurlyDoubleQuote:"“",OpenCurlyQuote:"‘",operp:"⦹",oplus:"⊕",orarr:"↻",Or:"⩔",or:"∨",ord:"⩝",order:"ℴ",orderof:"ℴ",ordf:"ª",ordm:"º",origof:"⊶",oror:"⩖",orslope:"⩗",orv:"⩛",oS:"Ⓢ",Oscr:"𝒪",oscr:"ℴ",Oslash:"Ø",oslash:"ø",osol:"⊘",Otilde:"Õ",otilde:"õ",otimesas:"⨶",Otimes:"⨷",otimes:"⊗",Ouml:"Ö",ouml:"ö",ovbar:"⌽",OverBar:"‾",OverBrace:"⏞",OverBracket:"⎴",OverParenthesis:"⏜",para:"¶",parallel:"∥",par:"∥",parsim:"⫳",parsl:"⫽",part:"∂",PartialD:"∂",Pcy:"П",pcy:"п",percnt:"%",period:".",permil:"‰",perp:"⊥",pertenk:"‱",Pfr:"𝔓",pfr:"𝔭",Phi:"Φ",phi:"φ",phiv:"ϕ",phmmat:"ℳ",phone:"☎",Pi:"Π",pi:"π",pitchfork:"⋔",piv:"ϖ",planck:"ℏ",planckh:"ℎ",plankv:"ℏ",plusacir:"⨣",plusb:"⊞",pluscir:"⨢",plus:"+",plusdo:"∔",plusdu:"⨥",pluse:"⩲",PlusMinus:"±",plusmn:"±",plussim:"⨦",plustwo:"⨧",pm:"±",Poincareplane:"ℌ",pointint:"⨕",popf:"𝕡",Popf:"ℙ",pound:"£",prap:"⪷",Pr:"⪻",pr:"≺",prcue:"≼",precapprox:"⪷",prec:"≺",preccurlyeq:"≼",Precedes:"≺",PrecedesEqual:"⪯",PrecedesSlantEqual:"≼",PrecedesTilde:"≾",preceq:"⪯",precnapprox:"⪹",precneqq:"⪵",precnsim:"⋨",pre:"⪯",prE:"⪳",precsim:"≾",prime:"′",Prime:"″",primes:"ℙ",prnap:"⪹",prnE:"⪵",prnsim:"⋨",prod:"∏",Product:"∏",profalar:"⌮",profline:"⌒",profsurf:"⌓",prop:"∝",Proportional:"∝",Proportion:"∷",propto:"∝",prsim:"≾",prurel:"⊰",Pscr:"𝒫",pscr:"𝓅",Psi:"Ψ",psi:"ψ",puncsp:" ",Qfr:"𝔔",qfr:"𝔮",qint:"⨌",qopf:"𝕢",Qopf:"ℚ",qprime:"⁗",Qscr:"𝒬",qscr:"𝓆",quaternions:"ℍ",quatint:"⨖",quest:"?",questeq:"≟",quot:'"',QUOT:'"',rAarr:"⇛",race:"∽̱",Racute:"Ŕ",racute:"ŕ",radic:"√",raemptyv:"⦳",rang:"⟩",Rang:"⟫",rangd:"⦒",range:"⦥",rangle:"⟩",raquo:"»",rarrap:"⥵",rarrb:"⇥",rarrbfs:"⤠",rarrc:"⤳",rarr:"→",Rarr:"↠",rArr:"⇒",rarrfs:"⤞",rarrhk:"↪",rarrlp:"↬",rarrpl:"⥅",rarrsim:"⥴",Rarrtl:"⤖",rarrtl:"↣",rarrw:"↝",ratail:"⤚",rAtail:"⤜",ratio:"∶",rationals:"ℚ",rbarr:"⤍",rBarr:"⤏",RBarr:"⤐",rbbrk:"❳",rbrace:"}",rbrack:"]",rbrke:"⦌",rbrksld:"⦎",rbrkslu:"⦐",Rcaron:"Ř",rcaron:"ř",Rcedil:"Ŗ",rcedil:"ŗ",rceil:"⌉",rcub:"}",Rcy:"Р",rcy:"р",rdca:"⤷",rdldhar:"⥩",rdquo:"”",rdquor:"”",rdsh:"↳",real:"ℜ",realine:"ℛ",realpart:"ℜ",reals:"ℝ",Re:"ℜ",rect:"▭",reg:"®",REG:"®",ReverseElement:"∋",ReverseEquilibrium:"⇋",ReverseUpEquilibrium:"⥯",rfisht:"⥽",rfloor:"⌋",rfr:"𝔯",Rfr:"ℜ",rHar:"⥤",rhard:"⇁",rharu:"⇀",rharul:"⥬",Rho:"Ρ",rho:"ρ",rhov:"ϱ",RightAngleBracket:"⟩",RightArrowBar:"⇥",rightarrow:"→",RightArrow:"→",Rightarrow:"⇒",RightArrowLeftArrow:"⇄",rightarrowtail:"↣",RightCeiling:"⌉",RightDoubleBracket:"⟧",RightDownTeeVector:"⥝",RightDownVectorBar:"⥕",RightDownVector:"⇂",RightFloor:"⌋",rightharpoondown:"⇁",rightharpoonup:"⇀",rightleftarrows:"⇄",rightleftharpoons:"⇌",rightrightarrows:"⇉",rightsquigarrow:"↝",RightTeeArrow:"↦",RightTee:"⊢",RightTeeVector:"⥛",rightthreetimes:"⋌",RightTriangleBar:"⧐",RightTriangle:"⊳",RightTriangleEqual:"⊵",RightUpDownVector:"⥏",RightUpTeeVector:"⥜",RightUpVectorBar:"⥔",RightUpVector:"↾",RightVectorBar:"⥓",RightVector:"⇀",ring:"˚",risingdotseq:"≓",rlarr:"⇄",rlhar:"⇌",rlm:"",rmoustache:"⎱",rmoust:"⎱",rnmid:"⫮",roang:"⟭",roarr:"⇾",robrk:"⟧",ropar:"⦆",ropf:"𝕣",Ropf:"ℝ",roplus:"⨮",rotimes:"⨵",RoundImplies:"⥰",rpar:")",rpargt:"⦔",rppolint:"⨒",rrarr:"⇉",Rrightarrow:"⇛",rsaquo:"›",rscr:"𝓇",Rscr:"ℛ",rsh:"↱",Rsh:"↱",rsqb:"]",rsquo:"’",rsquor:"’",rthree:"⋌",rtimes:"⋊",rtri:"▹",rtrie:"⊵",rtrif:"▸",rtriltri:"⧎",RuleDelayed:"⧴",ruluhar:"⥨",rx:"℞",Sacute:"Ś",sacute:"ś",sbquo:"‚",scap:"⪸",Scaron:"Š",scaron:"š",Sc:"⪼",sc:"≻",sccue:"≽",sce:"⪰",scE:"⪴",Scedil:"Ş",scedil:"ş",Scirc:"Ŝ",scirc:"ŝ",scnap:"⪺",scnE:"⪶",scnsim:"⋩",scpolint:"⨓",scsim:"≿",Scy:"С",scy:"с",sdotb:"⊡",sdot:"⋅",sdote:"⩦",searhk:"⤥",searr:"↘",seArr:"⇘",searrow:"↘",sect:"§",semi:";",seswar:"⤩",setminus:"∖",setmn:"∖",sext:"✶",Sfr:"𝔖",sfr:"𝔰",sfrown:"⌢",sharp:"♯",SHCHcy:"Щ",shchcy:"щ",SHcy:"Ш",shcy:"ш",ShortDownArrow:"↓",ShortLeftArrow:"←",shortmid:"∣",shortparallel:"∥",ShortRightArrow:"→",ShortUpArrow:"↑",shy:"",Sigma:"Σ",sigma:"σ",sigmaf:"ς",sigmav:"ς",sim:"∼",simdot:"⩪",sime:"≃",simeq:"≃",simg:"⪞",simgE:"⪠",siml:"⪝",simlE:"⪟",simne:"≆",simplus:"⨤",simrarr:"⥲",slarr:"←",SmallCircle:"∘",smallsetminus:"∖",smashp:"⨳",smeparsl:"⧤",smid:"∣",smile:"⌣",smt:"⪪",smte:"⪬",smtes:"⪬︀",SOFTcy:"Ь",softcy:"ь",solbar:"⌿",solb:"⧄",sol:"/",Sopf:"𝕊",sopf:"𝕤",spades:"♠",spadesuit:"♠",spar:"∥",sqcap:"⊓",sqcaps:"⊓︀",sqcup:"⊔",sqcups:"⊔︀",Sqrt:"√",sqsub:"⊏",sqsube:"⊑",sqsubset:"⊏",sqsubseteq:"⊑",sqsup:"⊐",sqsupe:"⊒",sqsupset:"⊐",sqsupseteq:"⊒",square:"□",Square:"□",SquareIntersection:"⊓",SquareSubset:"⊏",SquareSubsetEqual:"⊑",SquareSuperset:"⊐",SquareSupersetEqual:"⊒",SquareUnion:"⊔",squarf:"▪",squ:"□",squf:"▪",srarr:"→",Sscr:"𝒮",sscr:"𝓈",ssetmn:"∖",ssmile:"⌣",sstarf:"⋆",Star:"⋆",star:"☆",starf:"★",straightepsilon:"ϵ",straightphi:"ϕ",strns:"¯",sub:"⊂",Sub:"⋐",subdot:"⪽",subE:"⫅",sube:"⊆",subedot:"⫃",submult:"⫁",subnE:"⫋",subne:"⊊",subplus:"⪿",subrarr:"⥹",subset:"⊂",Subset:"⋐",subseteq:"⊆",subseteqq:"⫅",SubsetEqual:"⊆",subsetneq:"⊊",subsetneqq:"⫋",subsim:"⫇",subsub:"⫕",subsup:"⫓",succapprox:"⪸",succ:"≻",succcurlyeq:"≽",Succeeds:"≻",SucceedsEqual:"⪰",SucceedsSlantEqual:"≽",SucceedsTilde:"≿",succeq:"⪰",succnapprox:"⪺",succneqq:"⪶",succnsim:"⋩",succsim:"≿",SuchThat:"∋",sum:"∑",Sum:"∑",sung:"♪",sup1:"¹",sup2:"²",sup3:"³",sup:"⊃",Sup:"⋑",supdot:"⪾",supdsub:"⫘",supE:"⫆",supe:"⊇",supedot:"⫄",Superset:"⊃",SupersetEqual:"⊇",suphsol:"⟉",suphsub:"⫗",suplarr:"⥻",supmult:"⫂",supnE:"⫌",supne:"⊋",supplus:"⫀",supset:"⊃",Supset:"⋑",supseteq:"⊇",supseteqq:"⫆",supsetneq:"⊋",supsetneqq:"⫌",supsim:"⫈",supsub:"⫔",supsup:"⫖",swarhk:"⤦",swarr:"↙",swArr:"⇙",swarrow:"↙",swnwar:"⤪",szlig:"ß",Tab:" ",target:"⌖",Tau:"Τ",tau:"τ",tbrk:"⎴",Tcaron:"Ť",tcaron:"ť",Tcedil:"Ţ",tcedil:"ţ",Tcy:"Т",tcy:"т",tdot:"⃛",telrec:"⌕",Tfr:"𝔗",tfr:"𝔱",there4:"∴",therefore:"∴",Therefore:"∴",Theta:"Θ",theta:"θ",thetasym:"ϑ",thetav:"ϑ",thickapprox:"≈",thicksim:"∼",ThickSpace:" ",ThinSpace:" ",thinsp:" ",thkap:"≈",thksim:"∼",THORN:"Þ",thorn:"þ",tilde:"˜",Tilde:"∼",TildeEqual:"≃",TildeFullEqual:"≅",TildeTilde:"≈",timesbar:"⨱",timesb:"⊠",times:"×",timesd:"⨰",tint:"∭",toea:"⤨",topbot:"⌶",topcir:"⫱",top:"⊤",Topf:"𝕋",topf:"𝕥",topfork:"⫚",tosa:"⤩",tprime:"‴",trade:"™",TRADE:"™",triangle:"▵",triangledown:"▿",triangleleft:"◃",trianglelefteq:"⊴",triangleq:"≜",triangleright:"▹",trianglerighteq:"⊵",tridot:"◬",trie:"≜",triminus:"⨺",TripleDot:"⃛",triplus:"⨹",trisb:"⧍",tritime:"⨻",trpezium:"⏢",Tscr:"𝒯",tscr:"𝓉",TScy:"Ц",tscy:"ц",TSHcy:"Ћ",tshcy:"ћ",Tstrok:"Ŧ",tstrok:"ŧ",twixt:"≬",twoheadleftarrow:"↞",twoheadrightarrow:"↠",Uacute:"Ú",uacute:"ú",uarr:"↑",Uarr:"↟",uArr:"⇑",Uarrocir:"⥉",Ubrcy:"Ў",ubrcy:"ў",Ubreve:"Ŭ",ubreve:"ŭ",Ucirc:"Û",ucirc:"û",Ucy:"У",ucy:"у",udarr:"⇅",Udblac:"Ű",udblac:"ű",udhar:"⥮",ufisht:"⥾",Ufr:"𝔘",ufr:"𝔲",Ugrave:"Ù",ugrave:"ù",uHar:"⥣",uharl:"↿",uharr:"↾",uhblk:"▀",ulcorn:"⌜",ulcorner:"⌜",ulcrop:"⌏",ultri:"◸",Umacr:"Ū",umacr:"ū",uml:"¨",UnderBar:"_",UnderBrace:"⏟",UnderBracket:"⎵",UnderParenthesis:"⏝",Union:"⋃",UnionPlus:"⊎",Uogon:"Ų",uogon:"ų",Uopf:"𝕌",uopf:"𝕦",UpArrowBar:"⤒",uparrow:"↑",UpArrow:"↑",Uparrow:"⇑",UpArrowDownArrow:"⇅",updownarrow:"↕",UpDownArrow:"↕",Updownarrow:"⇕",UpEquilibrium:"⥮",upharpoonleft:"↿",upharpoonright:"↾",uplus:"⊎",UpperLeftArrow:"↖",UpperRightArrow:"↗",upsi:"υ",Upsi:"ϒ",upsih:"ϒ",Upsilon:"Υ",upsilon:"υ",UpTeeArrow:"↥",UpTee:"⊥",upuparrows:"⇈",urcorn:"⌝",urcorner:"⌝",urcrop:"⌎",Uring:"Ů",uring:"ů",urtri:"◹",Uscr:"𝒰",uscr:"𝓊",utdot:"⋰",Utilde:"Ũ",utilde:"ũ",utri:"▵",utrif:"▴",uuarr:"⇈",Uuml:"Ü",uuml:"ü",uwangle:"⦧",vangrt:"⦜",varepsilon:"ϵ",varkappa:"ϰ",varnothing:"∅",varphi:"ϕ",varpi:"ϖ",varpropto:"∝",varr:"↕",vArr:"⇕",varrho:"ϱ",varsigma:"ς",varsubsetneq:"⊊︀",varsubsetneqq:"⫋︀",varsupsetneq:"⊋︀",varsupsetneqq:"⫌︀",vartheta:"ϑ",vartriangleleft:"⊲",vartriangleright:"⊳",vBar:"⫨",Vbar:"⫫",vBarv:"⫩",Vcy:"В",vcy:"в",vdash:"⊢",vDash:"⊨",Vdash:"⊩",VDash:"⊫",Vdashl:"⫦",veebar:"⊻",vee:"∨",Vee:"⋁",veeeq:"≚",vellip:"⋮",verbar:"|",Verbar:"‖",vert:"|",Vert:"‖",VerticalBar:"∣",VerticalLine:"|",VerticalSeparator:"❘",VerticalTilde:"≀",VeryThinSpace:" ",Vfr:"𝔙",vfr:"𝔳",vltri:"⊲",vnsub:"⊂⃒",vnsup:"⊃⃒",Vopf:"𝕍",vopf:"𝕧",vprop:"∝",vrtri:"⊳",Vscr:"𝒱",vscr:"𝓋",vsubnE:"⫋︀",vsubne:"⊊︀",vsupnE:"⫌︀",vsupne:"⊋︀",Vvdash:"⊪",vzigzag:"⦚",Wcirc:"Ŵ",wcirc:"ŵ",wedbar:"⩟",wedge:"∧",Wedge:"⋀",wedgeq:"≙",weierp:"℘",Wfr:"𝔚",wfr:"𝔴",Wopf:"𝕎",wopf:"𝕨",wp:"℘",wr:"≀",wreath:"≀",Wscr:"𝒲",wscr:"𝓌",xcap:"⋂",xcirc:"◯",xcup:"⋃",xdtri:"▽",Xfr:"𝔛",xfr:"𝔵",xharr:"⟷",xhArr:"⟺",Xi:"Ξ",xi:"ξ",xlarr:"⟵",xlArr:"⟸",xmap:"⟼",xnis:"⋻",xodot:"⨀",Xopf:"𝕏",xopf:"𝕩",xoplus:"⨁",xotime:"⨂",xrarr:"⟶",xrArr:"⟹",Xscr:"𝒳",xscr:"𝓍",xsqcup:"⨆",xuplus:"⨄",xutri:"△",xvee:"⋁",xwedge:"⋀",Yacute:"Ý",yacute:"ý",YAcy:"Я",yacy:"я",Ycirc:"Ŷ",ycirc:"ŷ",Ycy:"Ы",ycy:"ы",yen:"¥",Yfr:"𝔜",yfr:"𝔶",YIcy:"Ї",yicy:"ї",Yopf:"𝕐",yopf:"𝕪",Yscr:"𝒴",yscr:"𝓎",YUcy:"Ю",yucy:"ю",yuml:"ÿ",Yuml:"Ÿ",Zacute:"Ź",zacute:"ź",Zcaron:"Ž",zcaron:"ž",Zcy:"З",zcy:"з",Zdot:"Ż",zdot:"ż",zeetrf:"ℨ",ZeroWidthSpace:"",Zeta:"Ζ",zeta:"ζ",zfr:"𝔷",Zfr:"ℨ",ZHcy:"Ж",zhcy:"ж",zigrarr:"⇝",zopf:"𝕫",Zopf:"ℤ",Zscr:"𝒵",zscr:"𝓏",zwj:"",zwnj:""}}),$J=N((e,t)=>{t.exports={Aacute:"Á",aacute:"á",Acirc:"Â",acirc:"â",acute:"´",AElig:"Æ",aelig:"æ",Agrave:"À",agrave:"à",amp:"&",AMP:"&",Aring:"Å",aring:"å",Atilde:"Ã",atilde:"ã",Auml:"Ä",auml:"ä",brvbar:"¦",Ccedil:"Ç",ccedil:"ç",cedil:"¸",cent:"¢",copy:"©",COPY:"©",curren:"¤",deg:"°",divide:"÷",Eacute:"É",eacute:"é",Ecirc:"Ê",ecirc:"ê",Egrave:"È",egrave:"è",ETH:"Ð",eth:"ð",Euml:"Ë",euml:"ë",frac12:"½",frac14:"¼",frac34:"¾",gt:">",GT:">",Iacute:"Í",iacute:"í",Icirc:"Î",icirc:"î",iexcl:"¡",Igrave:"Ì",igrave:"ì",iquest:"¿",Iuml:"Ï",iuml:"ï",laquo:"«",lt:"<",LT:"<",macr:"¯",micro:"µ",middot:"·",nbsp:" ",not:"¬",Ntilde:"Ñ",ntilde:"ñ",Oacute:"Ó",oacute:"ó",Ocirc:"Ô",ocirc:"ô",Ograve:"Ò",ograve:"ò",ordf:"ª",ordm:"º",Oslash:"Ø",oslash:"ø",Otilde:"Õ",otilde:"õ",Ouml:"Ö",ouml:"ö",para:"¶",plusmn:"±",pound:"£",quot:'"',QUOT:'"',raquo:"»",reg:"®",REG:"®",sect:"§",shy:"",sup1:"¹",sup2:"²",sup3:"³",szlig:"ß",THORN:"Þ",thorn:"þ",times:"×",Uacute:"Ú",uacute:"ú",Ucirc:"Û",ucirc:"û",Ugrave:"Ù",ugrave:"ù",uml:"¨",Uuml:"Ü",uuml:"ü",Yacute:"Ý",yacute:"ý",yen:"¥",yuml:"ÿ"}}),MC=N((e,t)=>{t.exports={amp:"&",apos:"'",gt:">",lt:"<",quot:'"'}}),FJ=N((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}}),BJ=N(e=>{var t=e&&e.__importDefault||function(o){return o&&o.__esModule?o:{default:o}};Object.defineProperty(e,"__esModule",{value:!0});var r=t(FJ()),n=String.fromCodePoint||function(o){var s="";return o>65535&&(o-=65536,s+=String.fromCharCode(o>>>10&1023|55296),o=56320|o&1023),s+=String.fromCharCode(o),s};function i(o){return o>=55296&&o<=57343||o>1114111?"�":(o in r.default&&(o=r.default[o]),n(o))}a(i,"decodeCodePoint"),e.default=i}),$w=N(e=>{var t=e&&e.__importDefault||function(p){return p&&p.__esModule?p:{default:p}};Object.defineProperty(e,"__esModule",{value:!0}),e.decodeHTML=e.decodeHTMLStrict=e.decodeXML=void 0;var r=t(kC()),n=t($J()),i=t(MC()),o=t(BJ()),s=/&(?:[a-zA-Z0-9]+|#[xX][\da-fA-F]+|#\d+);/g;e.decodeXML=l(i.default),e.decodeHTMLStrict=l(r.default);function l(p){var d=c(p);return function(f){return String(f).replace(s,d)}}a(l,"getStrictDecoder");var u=a(function(p,d){return p<d?1:-1},"sorter");e.decodeHTML=function(){for(var p=Object.keys(n.default).sort(u),d=Object.keys(r.default).sort(u),f=0,h=0;f<d.length;f++)p[h]===d[f]?(d[f]+=";?",h++):d[f]+=";";var y=new RegExp("&(?:"+d.join("|")+"|#[xX][\\da-fA-F]+;?|#\\d+;?)","g"),b=c(r.default);function g(m){return m.substr(-1)!==";"&&(m+=";"),b(m)}return a(g,"replacer"),function(m){return String(m).replace(y,g)}}();function c(p){return a(function(d){if(d.charAt(1)==="#"){var f=d.charAt(2);return f==="X"||f==="x"?o.default(parseInt(d.substr(3),16)):o.default(parseInt(d.substr(2),10))}return p[d.slice(1,-1)]||d},"replace")}a(c,"getReplacer")}),Fw=N(e=>{var t=e&&e.__importDefault||function(v){return v&&v.__esModule?v:{default:v}};Object.defineProperty(e,"__esModule",{value:!0}),e.escapeUTF8=e.escape=e.encodeNonAsciiHTML=e.encodeHTML=e.encodeXML=void 0;var r=t(MC()),n=u(r.default),i=c(n);e.encodeXML=m(n);var o=t(kC()),s=u(o.default),l=c(s);e.encodeHTML=h(s,l),e.encodeNonAsciiHTML=m(s);function u(v){return Object.keys(v).sort().reduce(function(S,O){return S[v[O]]="&"+O+";",S},{})}a(u,"getInverseObj");function c(v){for(var S=[],O=[],P=0,x=Object.keys(v);P<x.length;P++){var E=x[P];E.length===1?S.push("\\"+E):O.push(E)}S.sort();for(var _=0;_<S.length-1;_++){for(var C=_;C<S.length-1&&S[C].charCodeAt(1)+1===S[C+1].charCodeAt(1);)C+=1;var w=1+C-_;w<3||S.splice(_,w,S[_]+"-"+S[C])}return O.unshift("["+S.join("")+"]"),new RegExp(O.join("|"),"g")}a(c,"getInverseReplacer");var p=/(?:[\x80-\uD7FF\uE000-\uFFFF]|[\uD800-\uDBFF][\uDC00-\uDFFF]|[\uD800-\uDBFF](?![\uDC00-\uDFFF])|(?:[^\uD800-\uDBFF]|^)[\uDC00-\uDFFF])/g,d=String.prototype.codePointAt!=null?function(v){return v.codePointAt(0)}:function(v){return(v.charCodeAt(0)-55296)*1024+v.charCodeAt(1)-56320+65536};function f(v){return"&#x"+(v.length>1?d(v):v.charCodeAt(0)).toString(16).toUpperCase()+";"}a(f,"singleCharReplacer");function h(v,S){return function(O){return O.replace(S,function(P){return v[P]}).replace(p,f)}}a(h,"getInverse");var y=new RegExp(i.source+"|"+p.source,"g");function b(v){return v.replace(y,f)}a(b,"escape"),e.escape=b;function g(v){return v.replace(i,f)}a(g,"escapeUTF8"),e.escapeUTF8=g;function m(v){return function(S){return S.replace(y,function(O){return v[O]||f(O)})}}a(m,"getASCIIEncoder")}),UJ=N(e=>{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=$w(),r=Fw();function n(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTML)(u)}a(n,"decode"),e.decode=n;function i(u,c){return(!c||c<=0?t.decodeXML:t.decodeHTMLStrict)(u)}a(i,"decodeStrict"),e.decodeStrict=i;function o(u,c){return(!c||c<=0?r.encodeXML:r.encodeHTML)(u)}a(o,"encode"),e.encode=o;var s=Fw();Object.defineProperty(e,"encodeXML",{enumerable:!0,get:a(function(){return s.encodeXML},"get")}),Object.defineProperty(e,"encodeHTML",{enumerable:!0,get:a(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeNonAsciiHTML",{enumerable:!0,get:a(function(){return s.encodeNonAsciiHTML},"get")}),Object.defineProperty(e,"escape",{enumerable:!0,get:a(function(){return s.escape},"get")}),Object.defineProperty(e,"escapeUTF8",{enumerable:!0,get:a(function(){return s.escapeUTF8},"get")}),Object.defineProperty(e,"encodeHTML4",{enumerable:!0,get:a(function(){return s.encodeHTML},"get")}),Object.defineProperty(e,"encodeHTML5",{enumerable:!0,get:a(function(){return s.encodeHTML},"get")});var l=$w();Object.defineProperty(e,"decodeXML",{enumerable:!0,get:a(function(){return l.decodeXML},"get")}),Object.defineProperty(e,"decodeHTML",{enumerable:!0,get:a(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTMLStrict",{enumerable:!0,get:a(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML4",{enumerable:!0,get:a(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML5",{enumerable:!0,get:a(function(){return l.decodeHTML},"get")}),Object.defineProperty(e,"decodeHTML4Strict",{enumerable:!0,get:a(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeHTML5Strict",{enumerable:!0,get:a(function(){return l.decodeHTMLStrict},"get")}),Object.defineProperty(e,"decodeXMLStrict",{enumerable:!0,get:a(function(){return l.decodeXML},"get")})}),VJ=N((e,t)=>{function r(R,q){if(!(R instanceof q))throw new TypeError("Cannot call a class as a function")}a(r,"_classCallCheck");function n(R,q){for(var M=0;M<q.length;M++){var K=q[M];K.enumerable=K.enumerable||!1,K.configurable=!0,"value"in K&&(K.writable=!0),Object.defineProperty(R,K.key,K)}}a(n,"_defineProperties");function i(R,q,M){return q&&n(R.prototype,q),M&&n(R,M),R}a(i,"_createClass");function o(R,q){var M=typeof Symbol<"u"&&R[Symbol.iterator]||R["@@iterator"];if(!M){if(Array.isArray(R)||(M=s(R))||q&&R&&typeof R.length=="number"){M&&(R=M);var K=0,J=a(function(){},"F");return{s:J,n:a(function(){return K>=R.length?{done:!0}:{done:!1,value:R[K++]}},"n"),e:a(function(ee){throw ee},"e"),f:J}}throw new TypeError(`Invalid attempt to iterate non-iterable instance.
|
|
29
|
-
In order to be iterable, non-array objects must have a [Symbol.iterator]() method.`)}var oe=!0,ye=!1,ae;return{s:a(function(){M=M.call(R)},"s"),n:a(function(){var ee=M.next();return oe=ee.done,ee},"n"),e:a(function(ee){ye=!0,ae=ee},"e"),f:a(function(){try{!oe&&M.return!=null&&M.return()}finally{if(ye)throw ae}},"f")}}a(o,"_createForOfIteratorHelper");function s(R,q){if(R){if(typeof R=="string")return l(R,q);var M=Object.prototype.toString.call(R).slice(8,-1);if(M==="Object"&&R.constructor&&(M=R.constructor.name),M==="Map"||M==="Set")return Array.from(R);if(M==="Arguments"||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(M))return l(R,q)}}a(s,"_unsupportedIterableToArray");function l(R,q){(q==null||q>R.length)&&(q=R.length);for(var M=0,K=new Array(q);M<q;M++)K[M]=R[M];return K}a(l,"_arrayLikeToArray");var u=UJ(),c={fg:"#FFF",bg:"#000",newline:!1,escapeXML:!1,stream:!1,colors:p()};function p(){var R={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 v(0,5).forEach(function(q){v(0,5).forEach(function(M){v(0,5).forEach(function(K){return d(q,M,K,R)})})}),v(0,23).forEach(function(q){var M=q+232,K=f(q*10+8);R[M]="#"+K+K+K}),R}a(p,"getDefaultColors");function d(R,q,M,K){var J=16+R*36+q*6+M,oe=R>0?R*40+55:0,ye=q>0?q*40+55:0,ae=M>0?M*40+55:0;K[J]=h([oe,ye,ae])}a(d,"setStyleColor");function f(R){for(var q=R.toString(16);q.length<2;)q="0"+q;return q}a(f,"toHexString");function h(R){var q=[],M=o(R),K;try{for(M.s();!(K=M.n()).done;){var J=K.value;q.push(f(J))}}catch(oe){M.e(oe)}finally{M.f()}return"#"+q.join("")}a(h,"toColorHexString");function y(R,q,M,K){var J;return q==="text"?J=P(M,K):q==="display"?J=g(R,M,K):q==="xterm256Foreground"?J=_(R,K.colors[M]):q==="xterm256Background"?J=C(R,K.colors[M]):q==="rgb"&&(J=b(R,M)),J}a(y,"generateOutput");function b(R,q){q=q.substring(2).slice(0,-1);var M=+q.substr(0,2),K=q.substring(5).split(";"),J=K.map(function(oe){return("0"+Number(oe).toString(16)).substr(-2)}).join("");return E(R,(M===38?"color:#":"background-color:#")+J)}a(b,"handleRgb");function g(R,q,M){q=parseInt(q,10);var K={"-1":a(function(){return"<br/>"},"_"),0:a(function(){return R.length&&m(R)},"_"),1:a(function(){return x(R,"b")},"_"),3:a(function(){return x(R,"i")},"_"),4:a(function(){return x(R,"u")},"_"),8:a(function(){return E(R,"display:none")},"_"),9:a(function(){return x(R,"strike")},"_"),22:a(function(){return E(R,"font-weight:normal;text-decoration:none;font-style:normal")},"_"),23:a(function(){return w(R,"i")},"_"),24:a(function(){return w(R,"u")},"_"),39:a(function(){return _(R,M.fg)},"_"),49:a(function(){return C(R,M.bg)},"_"),53:a(function(){return E(R,"text-decoration:overline")},"_")},J;return K[q]?J=K[q]():4<q&&q<7?J=x(R,"blink"):29<q&&q<38?J=_(R,M.colors[q-30]):39<q&&q<48?J=C(R,M.colors[q-40]):89<q&&q<98?J=_(R,M.colors[8+(q-90)]):99<q&&q<108&&(J=C(R,M.colors[8+(q-100)])),J}a(g,"handleDisplay");function m(R){var q=R.slice(0);return R.length=0,q.reverse().map(function(M){return"</"+M+">"}).join("")}a(m,"resetStyles");function v(R,q){for(var M=[],K=R;K<=q;K++)M.push(K);return M}a(v,"range");function S(R){return function(q){return(R===null||q.category!==R)&&R!=="all"}}a(S,"notCategory");function O(R){R=parseInt(R,10);var q=null;return R===0?q="all":R===1?q="bold":2<R&&R<5?q="underline":4<R&&R<7?q="blink":R===8?q="hide":R===9?q="strike":29<R&&R<38||R===39||89<R&&R<98?q="foreground-color":(39<R&&R<48||R===49||99<R&&R<108)&&(q="background-color"),q}a(O,"categoryForCode");function P(R,q){return q.escapeXML?u.encodeXML(R):R}a(P,"pushText");function x(R,q,M){return M||(M=""),R.push(q),"<".concat(q).concat(M?' style="'.concat(M,'"'):"",">")}a(x,"pushTag");function E(R,q){return x(R,"span",q)}a(E,"pushStyle");function _(R,q){return x(R,"span","color:"+q)}a(_,"pushForegroundColor");function C(R,q){return x(R,"span","background-color:"+q)}a(C,"pushBackgroundColor");function w(R,q){var M;if(R.slice(-1)[0]===q&&(M=R.pop()),M)return"</"+q+">"}a(w,"closeTag");function A(R,q,M){var K=!1,J=3;function oe(){return""}a(oe,"remove");function ye(H,Q){return M("xterm256Foreground",Q),""}a(ye,"removeXterm256Foreground");function ae(H,Q){return M("xterm256Background",Q),""}a(ae,"removeXterm256Background");function ee(H){return q.newline?M("display",-1):M("text",H),""}a(ee,"newline");function Z(H,Q){K=!0,Q.trim().length===0&&(Q="0"),Q=Q.trimRight(";").split(";");var X=o(Q),te;try{for(X.s();!(te=X.n()).done;){var le=te.value;M("display",le)}}catch(ue){X.e(ue)}finally{X.f()}return""}a(Z,"ansiMess");function re(H){return M("text",H),""}a(re,"realText");function me(H){return M("rgb",H),""}a(me,"rgb");var se=[{pattern:/^\x08+/,sub:oe},{pattern:/^\x1b\[[012]?K/,sub:oe},{pattern:/^\x1b\[\(B/,sub:oe},{pattern:/^\x1b\[[34]8;2;\d+;\d+;\d+m/,sub:me},{pattern:/^\x1b\[38;5;(\d+)m/,sub:ye},{pattern:/^\x1b\[48;5;(\d+)m/,sub:ae},{pattern:/^\n/,sub:ee},{pattern:/^\r+\n/,sub:ee},{pattern:/^\r/,sub:ee},{pattern:/^\x1b\[((?:\d{1,3};?)+|)m/,sub:Z},{pattern:/^\x1b\[\d?J/,sub:oe},{pattern:/^\x1b\[\d{0,3};\d{0,3}f/,sub:oe},{pattern:/^\x1b\[?[\d;]{0,3}/,sub:oe},{pattern:/^(([^\x1b\x08\r\n])+)/,sub:re}];function _e(H,Q){Q>J&&K||(K=!1,R=R.replace(H.pattern,H.sub))}a(_e,"process");var Te=[],tt=R,Xe=tt.length;e:for(;Xe>0;){for(var V=0,pe=0,L=se.length;pe<L;V=++pe){var U=se[V];if(_e(U,V),R.length!==Xe){Xe=R.length;continue e}}if(R.length===Xe)break;Te.push(0),Xe=R.length}return Te}a(A,"tokenize");function I(R,q,M){return q!=="text"&&(R=R.filter(S(O(M))),R.push({token:q,data:M,category:O(M)})),R}a(I,"updateStickyStack");var j=function(){function R(q){r(this,R),q=q||{},q.colors&&(q.colors=Object.assign({},c.colors,q.colors)),this.options=Object.assign({},c,q),this.stack=[],this.stickyStack=[]}return a(R,"Filter"),i(R,[{key:"toHtml",value:a(function(q){var M=this;q=typeof q=="string"?[q]:q;var K=this.stack,J=this.options,oe=[];return this.stickyStack.forEach(function(ye){var ae=y(K,ye.token,ye.data,J);ae&&oe.push(ae)}),A(q.join(""),J,function(ye,ae){var ee=y(K,ye,ae,J);ee&&oe.push(ee),J.stream&&(M.stickyStack=I(M.stickyStack,ye,ae))}),K.length&&oe.push(m(K)),oe.join("")},"toHtml")}]),R}();t.exports=j}),HJ=N((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?t.exports=n():typeof define=="function"&&define.amd?define(n):(r=typeof globalThis<"u"?globalThis:r||self).BrowserDetector=n()})(e,function(){function r(u,c){for(var p=0;p<c.length;p++){var d=c[p];d.enumerable=d.enumerable||!1,d.configurable=!0,"value"in d&&(d.writable=!0),Object.defineProperty(u,(f=d.key,h=void 0,typeof(h=function(y,b){if(typeof y!="object"||y===null)return y;var g=y[Symbol.toPrimitive];if(g!==void 0){var m=g.call(y,b);if(typeof m!="object")return m;throw new TypeError("@@toPrimitive must return a primitive value.")}return(b==="string"?String:Number)(y)}(f,"string"))=="symbol"?h:String(h)),d)}var f,h}a(r,"e");var n={chrome:"Google Chrome",brave:"Brave",crios:"Google Chrome",edge:"Microsoft Edge",edg:"Microsoft Edge",edgios:"Microsoft Edge",fennec:"Mozilla Firefox",jsdom:"JsDOM",mozilla:"Mozilla Firefox",fxios:"Mozilla Firefox",msie:"Microsoft Internet Explorer",opera:"Opera",opios:"Opera",opr:"Opera",opt:"Opera",rv:"Microsoft Internet Explorer",safari:"Safari",samsungbrowser:"Samsung Browser",electron:"Electron"},i={android:"Android",androidTablet:"Android Tablet",cros:"Chrome OS",fennec:"Android Tablet",ipad:"IPad",iphone:"IPhone",jsdom:"JsDOM",linux:"Linux",mac:"Macintosh",tablet:"Android Tablet",win:"Windows","windows phone":"Windows Phone",xbox:"Microsoft Xbox"},o=a(function(u){var c=new RegExp("^-?\\d+(?:.\\d{0,".concat(arguments.length>1&&arguments[1]!==void 0?arguments[1]:-1,"})?")),p=Number(u).toString().match(c);return p?p[0]:null},"n"),s=a(function(){return typeof window<"u"?window.navigator:null},"i"),l=function(){function u(f){var h;(function(y,b){if(!(y instanceof b))throw new TypeError("Cannot call a class as a function")})(this,u),this.userAgent=f||((h=s())===null||h===void 0?void 0:h.userAgent)||null}a(u,"t");var c,p,d;return c=u,p=[{key:"parseUserAgent",value:a(function(f){var h,y,b,g={},m=f||this.userAgent||"",v=m.toLowerCase().replace(/\s\s+/g," "),S=/(edge)\/([\w.]+)/.exec(v)||/(edg)[/]([\w.]+)/.exec(v)||/(opr)[/]([\w.]+)/.exec(v)||/(opt)[/]([\w.]+)/.exec(v)||/(fxios)[/]([\w.]+)/.exec(v)||/(edgios)[/]([\w.]+)/.exec(v)||/(jsdom)[/]([\w.]+)/.exec(v)||/(samsungbrowser)[/]([\w.]+)/.exec(v)||/(electron)[/]([\w.]+)/.exec(v)||/(chrome)[/]([\w.]+)/.exec(v)||/(crios)[/]([\w.]+)/.exec(v)||/(opios)[/]([\w.]+)/.exec(v)||/(version)(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+).*(version)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(applewebkit)[/]([\w.]+).*(safari)[/]([\w.]+)/.exec(v)||/(webkit)[/]([\w.]+)/.exec(v)||/(opera)(?:.*version|)[/]([\w.]+)/.exec(v)||/(msie) ([\w.]+)/.exec(v)||/(fennec)[/]([\w.]+)/.exec(v)||v.indexOf("trident")>=0&&/(rv)(?::| )([\w.]+)/.exec(v)||v.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(v)||[],O=/(ipad)/.exec(v)||/(ipod)/.exec(v)||/(iphone)/.exec(v)||/(jsdom)/.exec(v)||/(windows phone)/.exec(v)||/(xbox)/.exec(v)||/(win)/.exec(v)||/(tablet)/.exec(v)||/(android)/.test(v)&&/(mobile)/.test(v)===!1&&["androidTablet"]||/(android)/.exec(v)||/(mac)/.exec(v)||/(linux)/.exec(v)||/(cros)/.exec(v)||[],P=S[5]||S[3]||S[1]||null,x=O[0]||null,E=S[4]||S[2]||null,_=s();P==="chrome"&&typeof(_==null||(h=_.brave)===null||h===void 0?void 0:h.isBrave)=="function"&&(P="brave"),P&&(g[P]=!0),x&&(g[x]=!0);var C=!!(g.tablet||g.android||g.androidTablet),w=!!(g.ipad||g.tablet||g.androidTablet),A=!!(g.android||g.androidTablet||g.tablet||g.ipad||g.ipod||g.iphone||g["windows phone"]),I=!!(g.cros||g.mac||g.linux||g.win),j=!!(g.brave||g.chrome||g.crios||g.opr||g.safari||g.edg||g.electron),R=!!(g.msie||g.rv);return{name:(y=n[P])!==null&&y!==void 0?y:null,platform:(b=i[x])!==null&&b!==void 0?b:null,userAgent:m,version:E,shortVersion:E?o(parseFloat(E),2):null,isAndroid:C,isTablet:w,isMobile:A,isDesktop:I,isWebkit:j,isIE:R}},"value")},{key:"getBrowserInfo",value:a(function(){var f=this.parseUserAgent();return{name:f.name,platform:f.platform,userAgent:f.userAgent,version:f.version,shortVersion:f.shortVersion}},"value")}],d=[{key:"VERSION",get:a(function(){return"3.4.0"},"get")}],p&&r(c.prototype,p),d&&r(c,d),Object.defineProperty(c,"prototype",{writable:!1}),u}();return l})}),zg={};ar(zg,{ARGTYPES_INFO_REQUEST:()=>ZC,ARGTYPES_INFO_RESPONSE:()=>vm,CHANNEL_CREATED:()=>WJ,CHANNEL_WS_DISCONNECT:()=>qC,CONFIG_ERROR:()=>jC,CREATE_NEW_STORYFILE_REQUEST:()=>zJ,CREATE_NEW_STORYFILE_RESPONSE:()=>KJ,CURRENT_STORY_WAS_SET:()=>ym,DOCS_PREPARED:()=>DC,DOCS_RENDERED:()=>Gg,FILE_COMPONENT_SEARCH_REQUEST:()=>GJ,FILE_COMPONENT_SEARCH_RESPONSE:()=>YJ,FORCE_REMOUNT:()=>qc,FORCE_RE_RENDER:()=>Yg,GLOBALS_UPDATED:()=>hl,NAVIGATE_URL:()=>XJ,PLAY_FUNCTION_THREW_EXCEPTION:()=>LC,PRELOAD_ENTRIES:()=>FC,PREVIEW_BUILDER_PROGRESS:()=>QJ,PREVIEW_KEYDOWN:()=>BC,REGISTER_SUBSCRIPTION:()=>ZJ,REQUEST_WHATS_NEW_DATA:()=>c9,RESET_STORY_ARGS:()=>Xg,RESULT_WHATS_NEW_DATA:()=>p9,SAVE_STORY_REQUEST:()=>h9,SAVE_STORY_RESPONSE:()=>m9,SELECT_STORY:()=>e9,SET_CONFIG:()=>t9,SET_CURRENT_STORY:()=>Qg,SET_FILTER:()=>r9,SET_GLOBALS:()=>UC,SET_INDEX:()=>n9,SET_STORIES:()=>i9,SET_WHATS_NEW_CACHE:()=>d9,SHARED_STATE_CHANGED:()=>o9,SHARED_STATE_SET:()=>s9,STORIES_COLLAPSE_ALL:()=>a9,STORIES_EXPAND_ALL:()=>l9,STORY_ARGS_UPDATED:()=>VC,STORY_CHANGED:()=>HC,STORY_ERRORED:()=>JC,STORY_FINISHED:()=>bm,STORY_HOT_UPDATED:()=>u9,STORY_INDEX_INVALIDATED:()=>WC,STORY_MISSING:()=>gm,STORY_PREPARED:()=>zC,STORY_RENDERED:()=>jc,STORY_RENDER_PHASE_CHANGED:()=>xo,STORY_SPECIFIED:()=>KC,STORY_THREW_EXCEPTION:()=>GC,STORY_UNCHANGED:()=>YC,TELEMETRY_ERROR:()=>QC,TOGGLE_WHATS_NEW_NOTIFICATIONS:()=>f9,UNHANDLED_ERRORS_WHILE_PLAYING:()=>$C,UPDATE_GLOBALS:()=>Zg,UPDATE_QUERY_PARAMS:()=>XC,UPDATE_STORY_ARGS:()=>eb,default:()=>JJ});var Kg=(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_FINISHED="storyFinished",e.STORY_MISSING="storyMissing",e.STORY_ERRORED="storyErrored",e.STORY_THREW_EXCEPTION="storyThrewException",e.STORY_RENDER_PHASE_CHANGED="storyRenderPhaseChanged",e.STORY_HOT_UPDATED="storyHotUpdated",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))(Kg||{}),JJ=Kg,{CHANNEL_WS_DISCONNECT:qC,CHANNEL_CREATED:WJ,CONFIG_ERROR:jC,CREATE_NEW_STORYFILE_REQUEST:zJ,CREATE_NEW_STORYFILE_RESPONSE:KJ,CURRENT_STORY_WAS_SET:ym,DOCS_PREPARED:DC,DOCS_RENDERED:Gg,FILE_COMPONENT_SEARCH_REQUEST:GJ,FILE_COMPONENT_SEARCH_RESPONSE:YJ,FORCE_RE_RENDER:Yg,FORCE_REMOUNT:qc,GLOBALS_UPDATED:hl,NAVIGATE_URL:XJ,PLAY_FUNCTION_THREW_EXCEPTION:LC,UNHANDLED_ERRORS_WHILE_PLAYING:$C,PRELOAD_ENTRIES:FC,PREVIEW_BUILDER_PROGRESS:QJ,PREVIEW_KEYDOWN:BC,REGISTER_SUBSCRIPTION:ZJ,RESET_STORY_ARGS:Xg,SELECT_STORY:e9,SET_CONFIG:t9,SET_CURRENT_STORY:Qg,SET_FILTER:r9,SET_GLOBALS:UC,SET_INDEX:n9,SET_STORIES:i9,SHARED_STATE_CHANGED:o9,SHARED_STATE_SET:s9,STORIES_COLLAPSE_ALL:a9,STORIES_EXPAND_ALL:l9,STORY_ARGS_UPDATED:VC,STORY_CHANGED:HC,STORY_ERRORED:JC,STORY_INDEX_INVALIDATED:WC,STORY_MISSING:gm,STORY_PREPARED:zC,STORY_RENDER_PHASE_CHANGED:xo,STORY_RENDERED:jc,STORY_FINISHED:bm,STORY_SPECIFIED:KC,STORY_THREW_EXCEPTION:GC,STORY_UNCHANGED:YC,STORY_HOT_UPDATED:u9,UPDATE_GLOBALS:Zg,UPDATE_QUERY_PARAMS:XC,UPDATE_STORY_ARGS:eb,REQUEST_WHATS_NEW_DATA:c9,RESULT_WHATS_NEW_DATA:p9,SET_WHATS_NEW_CACHE:d9,TOGGLE_WHATS_NEW_NOTIFICATIONS:f9,TELEMETRY_ERROR:QC,SAVE_STORY_REQUEST:h9,SAVE_STORY_RESPONSE:m9,ARGTYPES_INFO_REQUEST:ZC,ARGTYPES_INFO_RESPONSE:vm}=Kg,eO={};ar(eO,{global:()=>he});var he=(()=>{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})(),tO={"@storybook/global":"__STORYBOOK_MODULE_GLOBAL__","storybook/test":"__STORYBOOK_MODULE_TEST__","storybook/actions":"__STORYBOOK_MODULE_ACTIONS__","storybook/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__","storybook/internal/channels":"__STORYBOOK_MODULE_CHANNELS__","storybook/internal/client-logger":"__STORYBOOK_MODULE_CLIENT_LOGGER__","storybook/internal/core-events":"__STORYBOOK_MODULE_CORE_EVENTS__","storybook/internal/preview-errors":"__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__","storybook/internal/types":"__STORYBOOK_MODULE_TYPES__","storybook/internal/preview-api":"__STORYBOOK_MODULE_PREVIEW_API__"},y9=Object.keys(tO),rO={};ar(rO,{Channel:()=>ud,HEARTBEAT_INTERVAL:()=>f1,HEARTBEAT_MAX_LATENCY:()=>h1,PostMessageTransport:()=>d1,WebsocketTransport:()=>y1,createBrowserChannel:()=>g1,default:()=>Uz});function ke(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 i=n.reduce(function(l,u){var c=u.match(/\n([\t ]+|(?!\s).)/g);return c?l.concat(c.map(function(p){var d,f;return(f=(d=p.match(/[\t ]/g))===null||d===void 0?void 0:d.length)!==null&&f!==void 0?f:0})):l},[]);if(i.length){var o=new RegExp(`
|
|
30
|
-
[ ]{`+Math.min.apply(Math,i)+"}","g");n=n.map(function(l){return l.replace(o,`
|
|
31
|
-
`)})}n[0]=n[0].replace(/^\r?\n/,"");var s=n[0];return t.forEach(function(l,u){var c=s.match(/(?:^|\n)( *)$/),p=c?c[1]:"",d=l;typeof l=="string"&&l.includes(`
|
|
32
|
-
`)&&(d=String(l).split(`
|
|
33
|
-
`).map(function(f,h){return h===0?f:""+p+f}).join(`
|
|
34
|
-
`)),s+=d+n[u+1]}),s}a(ke,"dedent");var g9=ke,Bw=new Map,b9="UNIVERSAL_STORE:",Ir={PENDING:"PENDING",RESOLVED:"RESOLVED",REJECTED:"REJECTED"},ci=class Ce{constructor(t,r){if(this.debugging=!1,this.listeners=new Map([["*",new Set]]),this.getState=a(()=>(this.debug("getState",{state:this.state}),this.state),"getState"),this.subscribe=a((n,i)=>{let o=typeof n=="function",s=o?"*":n,l=o?n:i;if(this.debug("subscribe",{eventType:s,listener:l}),!l)throw new TypeError(`Missing first subscribe argument, or second if first is the event type, when subscribing to a UniversalStore with id '${this.id}'`);return this.listeners.has(s)||this.listeners.set(s,new Set),this.listeners.get(s).add(l),()=>{this.debug("unsubscribe",{eventType:s,listener:l}),this.listeners.has(s)&&(this.listeners.get(s).delete(l),this.listeners.get(s)?.size===0&&this.listeners.delete(s))}},"subscribe"),this.send=a(n=>{if(this.debug("send",{event:n}),this.status!==Ce.Status.READY)throw new TypeError(ke`Cannot send event before store is ready. You can get the current status with store.status,
|
|
35
|
-
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
36
|
-
${JSON.stringify({event:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.emitToListeners(n,{actor:this.actor}),this.emitToChannel(n,{actor:this.actor})},"send"),this.debugging=t.debug??!1,!Ce.isInternalConstructing)throw new TypeError("UniversalStore is not constructable - use UniversalStore.create() instead");if(Ce.isInternalConstructing=!1,this.id=t.id,this.actorId=Date.now().toString(36)+Math.random().toString(36).substring(2),this.actorType=t.leader?Ce.ActorType.LEADER:Ce.ActorType.FOLLOWER,this.state=t.initialState,this.channelEventName=`${b9}${this.id}`,this.debug("constructor",{options:t,environmentOverrides:r,channelEventName:this.channelEventName}),this.actor.type===Ce.ActorType.LEADER)this.syncing={state:Ir.RESOLVED,promise:Promise.resolve()};else{let n,i,o=new Promise((s,l)=>{n=a(()=>{this.syncing.state===Ir.PENDING&&(this.syncing.state=Ir.RESOLVED,s())},"syncingResolve"),i=a(u=>{this.syncing.state===Ir.PENDING&&(this.syncing.state=Ir.REJECTED,l(u))},"syncingReject")});this.syncing={state:Ir.PENDING,promise:o,resolve:n,reject:i}}this.getState=this.getState.bind(this),this.setState=this.setState.bind(this),this.subscribe=this.subscribe.bind(this),this.onStateChange=this.onStateChange.bind(this),this.send=this.send.bind(this),this.emitToChannel=this.emitToChannel.bind(this),this.prepareThis=this.prepareThis.bind(this),this.emitToListeners=this.emitToListeners.bind(this),this.handleChannelEvents=this.handleChannelEvents.bind(this),this.debug=this.debug.bind(this),this.channel=r?.channel??Ce.preparation.channel,this.environment=r?.environment??Ce.preparation.environment,this.channel&&this.environment?(Ce.preparation.resolve({channel:this.channel,environment:this.environment}),this.prepareThis({channel:this.channel,environment:this.environment})):Ce.preparation.promise.then(this.prepareThis)}static setupPreparationPromise(){let t,r,n=new Promise((i,o)=>{t=a(s=>{i(s)},"resolveRef"),r=a((...s)=>{o(s)},"rejectRef")});Ce.preparation={resolve:t,reject:r,promise:n}}get actor(){return Object.freeze({id:this.actorId,type:this.actorType,environment:this.environment??Ce.Environment.UNKNOWN})}get status(){if(!this.channel||!this.environment)return Ce.Status.UNPREPARED;switch(this.syncing?.state){case Ir.PENDING:case void 0:return Ce.Status.SYNCING;case Ir.REJECTED:return Ce.Status.ERROR;case Ir.RESOLVED:default:return Ce.Status.READY}}untilReady(){return Promise.all([Ce.preparation.promise,this.syncing?.promise])}static create(t){if(!t||typeof t?.id!="string")throw new TypeError("id is required and must be a string, when creating a UniversalStore");t.debug&&console.debug(ke`[UniversalStore]
|
|
37
|
-
create`,{options:t});let r=Bw.get(t.id);if(r)return console.warn(ke`UniversalStore with id "${t.id}" already exists in this environment, re-using existing.
|
|
38
|
-
You should reuse the existing instance instead of trying to create a new one.`),r;Ce.isInternalConstructing=!0;let n=new Ce(t);return Bw.set(t.id,n),n}static __prepare(t,r){Ce.preparation.channel=t,Ce.preparation.environment=r,Ce.preparation.resolve({channel:t,environment:r})}setState(t){let r=this.state,n=typeof t=="function"?t(r):t;if(this.debug("setState",{newState:n,previousState:r,updater:t}),this.status!==Ce.Status.READY)throw new TypeError(ke`Cannot set state before store is ready. You can get the current status with store.status,
|
|
39
|
-
or await store.readyPromise to wait for the store to be ready before sending events.
|
|
40
|
-
${JSON.stringify({newState:n,id:this.id,actor:this.actor,environment:this.environment},null,2)}`);this.state=n;let i={type:Ce.InternalEventType.SET_STATE,payload:{state:n,previousState:r}};this.emitToChannel(i,{actor:this.actor}),this.emitToListeners(i,{actor:this.actor})}onStateChange(t){return this.debug("onStateChange",{listener:t}),this.subscribe(Ce.InternalEventType.SET_STATE,({payload:r},n)=>{t(r.state,r.previousState,n)})}emitToChannel(t,r){this.debug("emitToChannel",{event:t,eventInfo:r,channel:!!this.channel}),this.channel?.emit(this.channelEventName,{event:t,eventInfo:r})}prepareThis({channel:t,environment:r}){this.channel=t,this.environment=r,this.debug("prepared",{channel:!!t,environment:r}),this.channel.on(this.channelEventName,this.handleChannelEvents),this.actor.type===Ce.ActorType.LEADER?this.emitToChannel({type:Ce.InternalEventType.LEADER_CREATED},{actor:this.actor}):(this.emitToChannel({type:Ce.InternalEventType.FOLLOWER_CREATED},{actor:this.actor}),this.emitToChannel({type:Ce.InternalEventType.EXISTING_STATE_REQUEST},{actor:this.actor}),setTimeout(()=>{this.syncing.reject(new TypeError(`No existing state found for follower with id: '${this.id}'. Make sure a leader with the same id exists before creating a follower.`))},1e3))}emitToListeners(t,r){let n=this.listeners.get(t.type),i=this.listeners.get("*");this.debug("emitToListeners",{event:t,eventInfo:r,eventTypeListeners:n,everythingListeners:i}),[...n??[],...i??[]].forEach(o=>o(t,r))}handleChannelEvents(t){let{event:r,eventInfo:n}=t;if([n.actor.id,n.forwardingActor?.id].includes(this.actor.id)){this.debug("handleChannelEvents: Ignoring event from self",{channelEvent:t});return}else if(this.syncing?.state===Ir.PENDING&&r.type!==Ce.InternalEventType.EXISTING_STATE_RESPONSE){this.debug("handleChannelEvents: Ignoring event while syncing",{channelEvent:t});return}if(this.debug("handleChannelEvents",{channelEvent:t}),this.actor.type===Ce.ActorType.LEADER){let i=!0;switch(r.type){case Ce.InternalEventType.EXISTING_STATE_REQUEST:i=!1;let o={type:Ce.InternalEventType.EXISTING_STATE_RESPONSE,payload:this.state};this.debug("handleChannelEvents: responding to existing state request",{responseEvent:o}),this.emitToChannel(o,{actor:this.actor}),this.emitToListeners(o,{actor:this.actor});break;case Ce.InternalEventType.LEADER_CREATED:i=!1,this.syncing.state=Ir.REJECTED,this.debug("handleChannelEvents: erroring due to second leader being created",{event:r}),console.error(ke`Detected multiple UniversalStore leaders created with the same id "${this.id}".
|
|
41
|
-
Only one leader can exists at a time, your stores are now in an invalid state.
|
|
42
|
-
Leaders detected:
|
|
43
|
-
this: ${JSON.stringify(this.actor,null,2)}
|
|
44
|
-
other: ${JSON.stringify(n.actor,null,2)}`);break}i&&(this.debug("handleChannelEvents: forwarding event",{channelEvent:t}),this.emitToChannel(r,{actor:n.actor,forwardingActor:this.actor}))}if(this.actor.type===Ce.ActorType.FOLLOWER)switch(r.type){case Ce.InternalEventType.EXISTING_STATE_RESPONSE:if(this.debug("handleChannelEvents: Setting state from leader's existing state response",{event:r}),this.syncing?.state!==Ir.PENDING)break;this.syncing.resolve?.();let i={type:Ce.InternalEventType.SET_STATE,payload:{state:r.payload,previousState:this.state}};this.state=r.payload,this.emitToListeners(i,n);break}switch(r.type){case Ce.InternalEventType.SET_STATE:this.debug("handleChannelEvents: Setting state",{event:r}),this.state=r.payload.state;break}this.emitToListeners(r,{actor:n.actor})}debug(t,r){this.debugging&&console.debug(ke`[UniversalStore::${this.id}::${this.environment??Ce.Environment.UNKNOWN}]
|
|
45
|
-
${t}`,JSON.stringify({data:r,actor:this.actor,state:this.state,status:this.status},null,2))}static __reset(){Ce.preparation.reject(new Error("reset")),Ce.setupPreparationPromise(),Ce.isInternalConstructing=!1}};a(ci,"UniversalStore"),ci.ActorType={LEADER:"LEADER",FOLLOWER:"FOLLOWER"},ci.Environment={SERVER:"SERVER",MANAGER:"MANAGER",PREVIEW:"PREVIEW",UNKNOWN:"UNKNOWN",MOCK:"MOCK"},ci.InternalEventType={EXISTING_STATE_REQUEST:"__EXISTING_STATE_REQUEST",EXISTING_STATE_RESPONSE:"__EXISTING_STATE_RESPONSE",SET_STATE:"__SET_STATE",LEADER_CREATED:"__LEADER_CREATED",FOLLOWER_CREATED:"__FOLLOWER_CREATED"},ci.Status={UNPREPARED:"UNPREPARED",SYNCING:"SYNCING",READY:"READY",ERROR:"ERROR"},ci.isInternalConstructing=!1,ci.setupPreparationPromise();var hh=ci,v9=a(e=>e.transports!==void 0,"isMulti"),_9=a(()=>Math.random().toString(16).slice(2),"generateRandomId"),nO=class{constructor(t={}){this.sender=_9(),this.events={},this.data={},this.transports=[],this.isAsync=t.async||!1,v9(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},i={};r.length>=1&&r[0]&&r[0].options&&(i=r[0].options);let o=a(()=>{this.transports.forEach(s=>{s.send(n,i)}),this.handleEvent(n)},"handler");this.isAsync?setImmediate(o):o()}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(i=>i!==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((...i)=>(this.removeListener(t,n),r(...i)),"onceListener");return n}};a(nO,"Channel");var ud=nO,iO={};ar(iO,{deprecate:()=>tb,logger:()=>st,once:()=>vt,pretty:()=>Sr});var{LOGLEVEL:E9}=he,mi={trace:1,debug:2,info:3,warn:4,error:5,silent:10},w9=E9,Go=mi[w9]||mi.info,st={trace:a((e,...t)=>{Go<=mi.trace&&console.trace(e,...t)},"trace"),debug:a((e,...t)=>{Go<=mi.debug&&console.debug(e,...t)},"debug"),info:a((e,...t)=>{Go<=mi.info&&console.info(e,...t)},"info"),warn:a((e,...t)=>{Go<=mi.warn&&console.warn(e,...t)},"warn"),error:a((e,...t)=>{Go<=mi.error&&console.error(e,...t)},"error"),log:a((e,...t)=>{Go<mi.silent&&console.log(e,...t)},"log")},_m=new Set,vt=a(e=>(t,...r)=>{if(!_m.has(t))return _m.add(t),st[e](t,...r)},"once");vt.clear=()=>_m.clear();vt.trace=vt("trace");vt.debug=vt("debug");vt.info=vt("info");vt.warn=vt("warn");vt.error=vt("error");vt.log=vt("log");var tb=vt("warn"),Sr=a(e=>(...t)=>{let r=[];if(t.length){let n=/<span\s+style=(['"])([^'"]*)\1\s*>/gi,i=/<\/span>/gi,o;for(r.push(t[0].replace(n,"%c").replace(i,"%c"));o=n.exec(t[0]);)r.push(o[2]),r.push("");for(let s=1;s<t.length;s++)r.push(t[s])}st[e].apply(st,r)},"pretty");Sr.trace=Sr("trace");Sr.debug=Sr("debug");Sr.info=Sr("info");Sr.warn=Sr("warn");Sr.error=Sr("error");var x9=Object.create,oO=Object.defineProperty,T9=Object.getOwnPropertyDescriptor,sO=Object.getOwnPropertyNames,S9=Object.getPrototypeOf,C9=Object.prototype.hasOwnProperty,Ie=a((e,t)=>a(function(){return t||(0,e[sO(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),O9=a((e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of sO(t))!C9.call(e,i)&&i!==r&&oO(e,i,{get:a(()=>t[i],"get"),enumerable:!(n=T9(t,i))||n.enumerable});return e},"__copyProps"),rb=a((e,t,r)=>(r=e!=null?x9(S9(e)):{},O9(t||!e||!e.__esModule?oO(r,"default",{value:e,enumerable:!0}):r,e)),"__toESM"),P9=["bubbles","cancelBubble","cancelable","composed","currentTarget","defaultPrevented","eventPhase","isTrusted","returnValue","srcElement","target","timeStamp","type"],A9=["detail"];function aO(e){let t=P9.filter(r=>e[r]!==void 0).reduce((r,n)=>(r[n]=e[n],r),{});if(e instanceof CustomEvent)for(let r of A9.filter(n=>e[n]!==void 0))t[r]=e[r];return t}a(aO,"extractEventHiddenProperties");var lO=Ie({"node_modules/.pnpm/es-object-atoms@1.1.1/node_modules/es-object-atoms/index.js"(e,t){t.exports=Object}}),R9=Ie({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/index.js"(e,t){t.exports=Error}}),N9=Ie({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/eval.js"(e,t){t.exports=EvalError}}),I9=Ie({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/range.js"(e,t){t.exports=RangeError}}),k9=Ie({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/ref.js"(e,t){t.exports=ReferenceError}}),M9=Ie({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/syntax.js"(e,t){t.exports=SyntaxError}}),nb=Ie({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/type.js"(e,t){t.exports=TypeError}}),q9=Ie({"node_modules/.pnpm/es-errors@1.3.0/node_modules/es-errors/uri.js"(e,t){t.exports=URIError}}),j9=Ie({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/abs.js"(e,t){t.exports=Math.abs}}),D9=Ie({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/floor.js"(e,t){t.exports=Math.floor}}),L9=Ie({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/max.js"(e,t){t.exports=Math.max}}),$9=Ie({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/min.js"(e,t){t.exports=Math.min}}),F9=Ie({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/pow.js"(e,t){t.exports=Math.pow}}),B9=Ie({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/round.js"(e,t){t.exports=Math.round}}),U9=Ie({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/isNaN.js"(e,t){t.exports=Number.isNaN||a(function(r){return r!==r},"isNaN2")}}),V9=Ie({"node_modules/.pnpm/math-intrinsics@1.1.0/node_modules/math-intrinsics/sign.js"(e,t){var r=U9();t.exports=a(function(n){return r(n)||n===0?n:n<0?-1:1},"sign")}}),H9=Ie({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/gOPD.js"(e,t){t.exports=Object.getOwnPropertyDescriptor}}),ib=Ie({"node_modules/.pnpm/gopd@1.2.0/node_modules/gopd/index.js"(e,t){var r=H9();if(r)try{r([],"length")}catch{r=null}t.exports=r}}),J9=Ie({"node_modules/.pnpm/es-define-property@1.0.1/node_modules/es-define-property/index.js"(e,t){var r=Object.defineProperty||!1;if(r)try{r({},"a",{value:1})}catch{r=!1}t.exports=r}}),uO=Ie({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/shams.js"(e,t){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"),i=Object(n);if(typeof n=="string"||Object.prototype.toString.call(n)!=="[object Symbol]"||Object.prototype.toString.call(i)!=="[object Symbol]")return!1;var o=42;r[n]=o;for(var s 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 l=Object.getOwnPropertySymbols(r);if(l.length!==1||l[0]!==n||!Object.prototype.propertyIsEnumerable.call(r,n))return!1;if(typeof Object.getOwnPropertyDescriptor=="function"){var u=Object.getOwnPropertyDescriptor(r,n);if(u.value!==o||u.enumerable!==!0)return!1}return!0},"hasSymbols")}}),cO=Ie({"node_modules/.pnpm/has-symbols@1.1.0/node_modules/has-symbols/index.js"(e,t){var r=typeof Symbol<"u"&&Symbol,n=uO();t.exports=a(function(){return typeof r!="function"||typeof Symbol!="function"||typeof r("foo")!="symbol"||typeof Symbol("bar")!="symbol"?!1:n()},"hasNativeSymbols")}}),pO=Ie({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Reflect.getPrototypeOf.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect.getPrototypeOf||null}}),dO=Ie({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/Object.getPrototypeOf.js"(e,t){var r=lO();t.exports=r.getPrototypeOf||null}}),W9=Ie({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/implementation.js"(e,t){var r="Function.prototype.bind called on incompatible ",n=Object.prototype.toString,i=Math.max,o="[object Function]",s=a(function(c,p){for(var d=[],f=0;f<c.length;f+=1)d[f]=c[f];for(var h=0;h<p.length;h+=1)d[h+c.length]=p[h];return d},"concatty2"),l=a(function(c,p){for(var d=[],f=p||0,h=0;f<c.length;f+=1,h+=1)d[h]=c[f];return d},"slicy2"),u=a(function(c,p){for(var d="",f=0;f<c.length;f+=1)d+=c[f],f+1<c.length&&(d+=p);return d},"joiny");t.exports=a(function(c){var p=this;if(typeof p!="function"||n.apply(p)!==o)throw new TypeError(r+p);for(var d=l(arguments,1),f,h=a(function(){if(this instanceof f){var v=p.apply(this,s(d,arguments));return Object(v)===v?v:this}return p.apply(c,s(d,arguments))},"binder"),y=i(0,p.length-d.length),b=[],g=0;g<y;g++)b[g]="$"+g;if(f=Function("binder","return function ("+u(b,",")+"){ return binder.apply(this,arguments); }")(h),p.prototype){var m=a(function(){},"Empty2");m.prototype=p.prototype,f.prototype=new m,m.prototype=null}return f},"bind")}}),cd=Ie({"node_modules/.pnpm/function-bind@1.1.2/node_modules/function-bind/index.js"(e,t){var r=W9();t.exports=Function.prototype.bind||r}}),ob=Ie({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionCall.js"(e,t){t.exports=Function.prototype.call}}),fO=Ie({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/functionApply.js"(e,t){t.exports=Function.prototype.apply}}),z9=Ie({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/reflectApply.js"(e,t){t.exports=typeof Reflect<"u"&&Reflect&&Reflect.apply}}),K9=Ie({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/actualApply.js"(e,t){var r=cd(),n=fO(),i=ob(),o=z9();t.exports=o||r.call(i,n)}}),hO=Ie({"node_modules/.pnpm/call-bind-apply-helpers@1.0.2/node_modules/call-bind-apply-helpers/index.js"(e,t){var r=cd(),n=nb(),i=ob(),o=K9();t.exports=a(function(s){if(s.length<1||typeof s[0]!="function")throw new n("a function is required");return o(r,i,s)},"callBindBasic")}}),G9=Ie({"node_modules/.pnpm/dunder-proto@1.0.1/node_modules/dunder-proto/get.js"(e,t){var r=hO(),n=ib(),i;try{i=[].__proto__===Array.prototype}catch(u){if(!u||typeof u!="object"||!("code"in u)||u.code!=="ERR_PROTO_ACCESS")throw u}var o=!!i&&n&&n(Object.prototype,"__proto__"),s=Object,l=s.getPrototypeOf;t.exports=o&&typeof o.get=="function"?r([o.get]):typeof l=="function"?a(function(u){return l(u==null?u:s(u))},"getDunder"):!1}}),Y9=Ie({"node_modules/.pnpm/get-proto@1.0.1/node_modules/get-proto/index.js"(e,t){var r=pO(),n=dO(),i=G9();t.exports=r?a(function(o){return r(o)},"getProto"):n?a(function(o){if(!o||typeof o!="object"&&typeof o!="function")throw new TypeError("getProto: not an object");return n(o)},"getProto"):i?a(function(o){return i(o)},"getProto"):null}}),mO=Ie({"node_modules/.pnpm/hasown@2.0.2/node_modules/hasown/index.js"(e,t){var r=Function.prototype.call,n=Object.prototype.hasOwnProperty,i=cd();t.exports=i.call(r,n)}}),X9=Ie({"node_modules/.pnpm/get-intrinsic@1.3.0/node_modules/get-intrinsic/index.js"(e,t){var r,n=lO(),i=R9(),o=N9(),s=I9(),l=k9(),u=M9(),c=nb(),p=q9(),d=j9(),f=D9(),h=L9(),y=$9(),b=F9(),g=B9(),m=V9(),v=Function,S=a(function(V){try{return v('"use strict"; return ('+V+").constructor;")()}catch{}},"getEvalledConstructor"),O=ib(),P=J9(),x=a(function(){throw new c},"throwTypeError"),E=O?function(){try{return arguments.callee,x}catch{try{return O(arguments,"callee").get}catch{return x}}}():x,_=cO()(),C=Y9(),w=dO(),A=pO(),I=fO(),j=ob(),R={},q=typeof Uint8Array>"u"||!C?r:C(Uint8Array),M={__proto__:null,"%AggregateError%":typeof AggregateError>"u"?r:AggregateError,"%Array%":Array,"%ArrayBuffer%":typeof ArrayBuffer>"u"?r:ArrayBuffer,"%ArrayIteratorPrototype%":_&&C?C([][Symbol.iterator]()):r,"%AsyncFromSyncIteratorPrototype%":r,"%AsyncFunction%":R,"%AsyncGenerator%":R,"%AsyncGeneratorFunction%":R,"%AsyncIteratorPrototype%":R,"%Atomics%":typeof Atomics>"u"?r:Atomics,"%BigInt%":typeof BigInt>"u"?r:BigInt,"%BigInt64Array%":typeof BigInt64Array>"u"?r:BigInt64Array,"%BigUint64Array%":typeof BigUint64Array>"u"?r:BigUint64Array,"%Boolean%":Boolean,"%DataView%":typeof DataView>"u"?r:DataView,"%Date%":Date,"%decodeURI%":decodeURI,"%decodeURIComponent%":decodeURIComponent,"%encodeURI%":encodeURI,"%encodeURIComponent%":encodeURIComponent,"%Error%":i,"%eval%":eval,"%EvalError%":o,"%Float16Array%":typeof Float16Array>"u"?r:Float16Array,"%Float32Array%":typeof Float32Array>"u"?r:Float32Array,"%Float64Array%":typeof Float64Array>"u"?r:Float64Array,"%FinalizationRegistry%":typeof FinalizationRegistry>"u"?r:FinalizationRegistry,"%Function%":v,"%GeneratorFunction%":R,"%Int8Array%":typeof Int8Array>"u"?r:Int8Array,"%Int16Array%":typeof Int16Array>"u"?r:Int16Array,"%Int32Array%":typeof Int32Array>"u"?r:Int32Array,"%isFinite%":isFinite,"%isNaN%":isNaN,"%IteratorPrototype%":_&&C?C(C([][Symbol.iterator]())):r,"%JSON%":typeof JSON=="object"?JSON:r,"%Map%":typeof Map>"u"?r:Map,"%MapIteratorPrototype%":typeof Map>"u"||!_||!C?r:C(new Map()[Symbol.iterator]()),"%Math%":Math,"%Number%":Number,"%Object%":n,"%Object.getOwnPropertyDescriptor%":O,"%parseFloat%":parseFloat,"%parseInt%":parseInt,"%Promise%":typeof Promise>"u"?r:Promise,"%Proxy%":typeof Proxy>"u"?r:Proxy,"%RangeError%":s,"%ReferenceError%":l,"%Reflect%":typeof Reflect>"u"?r:Reflect,"%RegExp%":RegExp,"%Set%":typeof Set>"u"?r:Set,"%SetIteratorPrototype%":typeof Set>"u"||!_||!C?r:C(new Set()[Symbol.iterator]()),"%SharedArrayBuffer%":typeof SharedArrayBuffer>"u"?r:SharedArrayBuffer,"%String%":String,"%StringIteratorPrototype%":_&&C?C(""[Symbol.iterator]()):r,"%Symbol%":_?Symbol:r,"%SyntaxError%":u,"%ThrowTypeError%":E,"%TypedArray%":q,"%TypeError%":c,"%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%":p,"%WeakMap%":typeof WeakMap>"u"?r:WeakMap,"%WeakRef%":typeof WeakRef>"u"?r:WeakRef,"%WeakSet%":typeof WeakSet>"u"?r:WeakSet,"%Function.prototype.call%":j,"%Function.prototype.apply%":I,"%Object.defineProperty%":P,"%Object.getPrototypeOf%":w,"%Math.abs%":d,"%Math.floor%":f,"%Math.max%":h,"%Math.min%":y,"%Math.pow%":b,"%Math.round%":g,"%Math.sign%":m,"%Reflect.getPrototypeOf%":A};if(C)try{null.error}catch(V){K=C(C(V)),M["%Error.prototype%"]=K}var K,J=a(function V(pe){var L;if(pe==="%AsyncFunction%")L=S("async function () {}");else if(pe==="%GeneratorFunction%")L=S("function* () {}");else if(pe==="%AsyncGeneratorFunction%")L=S("async function* () {}");else if(pe==="%AsyncGenerator%"){var U=V("%AsyncGeneratorFunction%");U&&(L=U.prototype)}else if(pe==="%AsyncIteratorPrototype%"){var H=V("%AsyncGenerator%");H&&C&&(L=C(H.prototype))}return M[pe]=L,L},"doEval2"),oe={__proto__:null,"%ArrayBufferPrototype%":["ArrayBuffer","prototype"],"%ArrayPrototype%":["Array","prototype"],"%ArrayProto_entries%":["Array","prototype","entries"],"%ArrayProto_forEach%":["Array","prototype","forEach"],"%ArrayProto_keys%":["Array","prototype","keys"],"%ArrayProto_values%":["Array","prototype","values"],"%AsyncFunctionPrototype%":["AsyncFunction","prototype"],"%AsyncGenerator%":["AsyncGeneratorFunction","prototype"],"%AsyncGeneratorPrototype%":["AsyncGeneratorFunction","prototype","prototype"],"%BooleanPrototype%":["Boolean","prototype"],"%DataViewPrototype%":["DataView","prototype"],"%DatePrototype%":["Date","prototype"],"%ErrorPrototype%":["Error","prototype"],"%EvalErrorPrototype%":["EvalError","prototype"],"%Float32ArrayPrototype%":["Float32Array","prototype"],"%Float64ArrayPrototype%":["Float64Array","prototype"],"%FunctionPrototype%":["Function","prototype"],"%Generator%":["GeneratorFunction","prototype"],"%GeneratorPrototype%":["GeneratorFunction","prototype","prototype"],"%Int8ArrayPrototype%":["Int8Array","prototype"],"%Int16ArrayPrototype%":["Int16Array","prototype"],"%Int32ArrayPrototype%":["Int32Array","prototype"],"%JSONParse%":["JSON","parse"],"%JSONStringify%":["JSON","stringify"],"%MapPrototype%":["Map","prototype"],"%NumberPrototype%":["Number","prototype"],"%ObjectPrototype%":["Object","prototype"],"%ObjProto_toString%":["Object","prototype","toString"],"%ObjProto_valueOf%":["Object","prototype","valueOf"],"%PromisePrototype%":["Promise","prototype"],"%PromiseProto_then%":["Promise","prototype","then"],"%Promise_all%":["Promise","all"],"%Promise_reject%":["Promise","reject"],"%Promise_resolve%":["Promise","resolve"],"%RangeErrorPrototype%":["RangeError","prototype"],"%ReferenceErrorPrototype%":["ReferenceError","prototype"],"%RegExpPrototype%":["RegExp","prototype"],"%SetPrototype%":["Set","prototype"],"%SharedArrayBufferPrototype%":["SharedArrayBuffer","prototype"],"%StringPrototype%":["String","prototype"],"%SymbolPrototype%":["Symbol","prototype"],"%SyntaxErrorPrototype%":["SyntaxError","prototype"],"%TypedArrayPrototype%":["TypedArray","prototype"],"%TypeErrorPrototype%":["TypeError","prototype"],"%Uint8ArrayPrototype%":["Uint8Array","prototype"],"%Uint8ClampedArrayPrototype%":["Uint8ClampedArray","prototype"],"%Uint16ArrayPrototype%":["Uint16Array","prototype"],"%Uint32ArrayPrototype%":["Uint32Array","prototype"],"%URIErrorPrototype%":["URIError","prototype"],"%WeakMapPrototype%":["WeakMap","prototype"],"%WeakSetPrototype%":["WeakSet","prototype"]},ye=cd(),ae=mO(),ee=ye.call(j,Array.prototype.concat),Z=ye.call(I,Array.prototype.splice),re=ye.call(j,String.prototype.replace),me=ye.call(j,String.prototype.slice),se=ye.call(j,RegExp.prototype.exec),_e=/[^%.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|%$))/g,Te=/\\(\\)?/g,tt=a(function(V){var pe=me(V,0,1),L=me(V,-1);if(pe==="%"&&L!=="%")throw new u("invalid intrinsic syntax, expected closing `%`");if(L==="%"&&pe!=="%")throw new u("invalid intrinsic syntax, expected opening `%`");var U=[];return re(V,_e,function(H,Q,X,te){U[U.length]=X?re(te,Te,"$1"):Q||H}),U},"stringToPath3"),Xe=a(function(V,pe){var L=V,U;if(ae(oe,L)&&(U=oe[L],L="%"+U[0]+"%"),ae(M,L)){var H=M[L];if(H===R&&(H=J(L)),typeof H>"u"&&!pe)throw new c("intrinsic "+V+" exists, but is not available. Please file an issue!");return{alias:U,name:L,value:H}}throw new u("intrinsic "+V+" does not exist!")},"getBaseIntrinsic2");t.exports=a(function(V,pe){if(typeof V!="string"||V.length===0)throw new c("intrinsic name must be a non-empty string");if(arguments.length>1&&typeof pe!="boolean")throw new c('"allowMissing" argument must be a boolean');if(se(/^%?[^%]*%?$/,V)===null)throw new u("`%` may not be present anywhere but at the beginning and end of the intrinsic name");var L=tt(V),U=L.length>0?L[0]:"",H=Xe("%"+U+"%",pe),Q=H.name,X=H.value,te=!1,le=H.alias;le&&(U=le[0],Z(L,ee([0,1],le)));for(var ue=1,ce=!0;ue<L.length;ue+=1){var ie=L[ue],ve=me(ie,0,1),de=me(ie,-1);if((ve==='"'||ve==="'"||ve==="`"||de==='"'||de==="'"||de==="`")&&ve!==de)throw new u("property names with quotes must have matching quotes");if((ie==="constructor"||!ce)&&(te=!0),U+="."+ie,Q="%"+U+"%",ae(M,Q))X=M[Q];else if(X!=null){if(!(ie in X)){if(!pe)throw new c("base intrinsic for "+V+" exists, but the property is not available.");return}if(O&&ue+1>=L.length){var be=O(X,ie);ce=!!be,ce&&"get"in be&&!("originalValue"in be.get)?X=be.get:X=X[ie]}else ce=ae(X,ie),X=X[ie];ce&&!te&&(M[Q]=X)}}return X},"GetIntrinsic")}}),sb=Ie({"node_modules/.pnpm/call-bound@1.0.4/node_modules/call-bound/index.js"(e,t){var r=X9(),n=hO(),i=n([r("%String.prototype.indexOf%")]);t.exports=a(function(o,s){var l=r(o,!!s);return typeof l=="function"&&i(o,".prototype.")>-1?n([l]):l},"callBoundIntrinsic")}}),Q9=Ie({"node_modules/.pnpm/has-tostringtag@1.0.2/node_modules/has-tostringtag/shams.js"(e,t){var r=uO();t.exports=a(function(){return r()&&!!Symbol.toStringTag},"hasToStringTagShams")}}),yO=Ie({"node_modules/.pnpm/is-regex@1.2.1/node_modules/is-regex/index.js"(e,t){var r=sb(),n=Q9()(),i=mO(),o=ib(),s;n?(l=r("RegExp.prototype.exec"),u={},c=a(function(){throw u},"throwRegexMarker"),p={toString:c,valueOf:c},typeof Symbol.toPrimitive=="symbol"&&(p[Symbol.toPrimitive]=c),s=a(function(h){if(!h||typeof h!="object")return!1;var y=o(h,"lastIndex"),b=y&&i(y,"value");if(!b)return!1;try{l(h,p)}catch(g){return g===u}},"isRegex")):(d=r("Object.prototype.toString"),f="[object RegExp]",s=a(function(h){return!h||typeof h!="object"&&typeof h!="function"?!1:d(h)===f},"isRegex"));var l,u,c,p,d,f;t.exports=s}}),Z9=Ie({"node_modules/.pnpm/is-function@1.0.2/node_modules/is-function/index.js"(e,t){t.exports=n;var r=Object.prototype.toString;function n(i){if(!i)return!1;var o=r.call(i);return o==="[object Function]"||typeof i=="function"&&o!=="[object RegExp]"||typeof window<"u"&&(i===window.setTimeout||i===window.alert||i===window.confirm||i===window.prompt)}a(n,"isFunction3")}}),eW=Ie({"node_modules/.pnpm/safe-regex-test@1.1.0/node_modules/safe-regex-test/index.js"(e,t){var r=sb(),n=yO(),i=r("RegExp.prototype.exec"),o=nb();t.exports=a(function(s){if(!n(s))throw new o("`regex` must be a RegExp");return a(function(l){return i(s,l)!==null},"test")},"regexTester")}}),tW=Ie({"node_modules/.pnpm/is-symbol@1.1.1/node_modules/is-symbol/index.js"(e,t){var r=sb(),n=r("Object.prototype.toString"),i=cO()(),o=eW();i?(s=r("Symbol.prototype.toString"),l=o(/^Symbol\(.*\)$/),u=a(function(c){return typeof c.valueOf()!="symbol"?!1:l(s(c))},"isRealSymbolObject"),t.exports=a(function(c){if(typeof c=="symbol")return!0;if(!c||typeof c!="object"||n(c)!=="[object Symbol]")return!1;try{return u(c)}catch{return!1}},"isSymbol3")):t.exports=a(function(c){return!1},"isSymbol3");var s,l,u}}),rW=rb(yO()),nW=rb(Z9()),iW=rb(tW());function gO(e){return e!=null&&typeof e=="object"&&Array.isArray(e)===!1}a(gO,"isObject");var oW=typeof global=="object"&&global&&global.Object===Object&&global,sW=oW,aW=typeof self=="object"&&self&&self.Object===Object&&self,lW=sW||aW||Function("return this")(),ab=lW,uW=ab.Symbol,As=uW,bO=Object.prototype,cW=bO.hasOwnProperty,pW=bO.toString,Sa=As?As.toStringTag:void 0;function vO(e){var t=cW.call(e,Sa),r=e[Sa];try{e[Sa]=void 0;var n=!0}catch{}var i=pW.call(e);return n&&(t?e[Sa]=r:delete e[Sa]),i}a(vO,"getRawTag");var dW=vO,fW=Object.prototype,hW=fW.toString;function _O(e){return hW.call(e)}a(_O,"objectToString");var mW=_O,yW="[object Null]",gW="[object Undefined]",Uw=As?As.toStringTag:void 0;function EO(e){return e==null?e===void 0?gW:yW:Uw&&Uw in Object(e)?dW(e):mW(e)}a(EO,"baseGetTag");var wO=EO;function xO(e){return e!=null&&typeof e=="object"}a(xO,"isObjectLike");var bW=xO,vW="[object Symbol]";function TO(e){return typeof e=="symbol"||bW(e)&&wO(e)==vW}a(TO,"isSymbol");var lb=TO;function SO(e,t){for(var r=-1,n=e==null?0:e.length,i=Array(n);++r<n;)i[r]=t(e[r],r,e);return i}a(SO,"arrayMap");var _W=SO,EW=Array.isArray,ub=EW,Vw=As?As.prototype:void 0,Hw=Vw?Vw.toString:void 0;function cb(e){if(typeof e=="string")return e;if(ub(e))return _W(e,cb)+"";if(lb(e))return Hw?Hw.call(e):"";var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}a(cb,"baseToString");var wW=cb;function CO(e){var t=typeof e;return e!=null&&(t=="object"||t=="function")}a(CO,"isObject2");var OO=CO,xW="[object AsyncFunction]",TW="[object Function]",SW="[object GeneratorFunction]",CW="[object Proxy]";function PO(e){if(!OO(e))return!1;var t=wO(e);return t==TW||t==SW||t==xW||t==CW}a(PO,"isFunction");var OW=PO,PW=ab["__core-js_shared__"],mh=PW,Jw=function(){var e=/[^.]+$/.exec(mh&&mh.keys&&mh.keys.IE_PROTO||"");return e?"Symbol(src)_1."+e:""}();function AO(e){return!!Jw&&Jw in e}a(AO,"isMasked");var AW=AO,RW=Function.prototype,NW=RW.toString;function RO(e){if(e!=null){try{return NW.call(e)}catch{}try{return e+""}catch{}}return""}a(RO,"toSource");var IW=RO,kW=/[\\^$.*+?()[\]{}|]/g,MW=/^\[object .+?Constructor\]$/,qW=Function.prototype,jW=Object.prototype,DW=qW.toString,LW=jW.hasOwnProperty,$W=RegExp("^"+DW.call(LW).replace(kW,"\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g,"$1.*?")+"$");function NO(e){if(!OO(e)||AW(e))return!1;var t=OW(e)?$W:MW;return t.test(IW(e))}a(NO,"baseIsNative");var FW=NO;function IO(e,t){return e?.[t]}a(IO,"getValue");var BW=IO;function kO(e,t){var r=BW(e,t);return FW(r)?r:void 0}a(kO,"getNative");var MO=kO;function qO(e,t){return e===t||e!==e&&t!==t}a(qO,"eq");var UW=qO,VW=/\.|\[(?:[^[\]]*|(["'])(?:(?!\1)[^\\]|\\.)*?\1)\]/,HW=/^\w*$/;function jO(e,t){if(ub(e))return!1;var r=typeof e;return r=="number"||r=="symbol"||r=="boolean"||e==null||lb(e)?!0:HW.test(e)||!VW.test(e)||t!=null&&e in Object(t)}a(jO,"isKey");var JW=jO,WW=MO(Object,"create"),ml=WW;function DO(){this.__data__=ml?ml(null):{},this.size=0}a(DO,"hashClear");var zW=DO;function LO(e){var t=this.has(e)&&delete this.__data__[e];return this.size-=t?1:0,t}a(LO,"hashDelete");var KW=LO,GW="__lodash_hash_undefined__",YW=Object.prototype,XW=YW.hasOwnProperty;function $O(e){var t=this.__data__;if(ml){var r=t[e];return r===GW?void 0:r}return XW.call(t,e)?t[e]:void 0}a($O,"hashGet");var QW=$O,ZW=Object.prototype,ez=ZW.hasOwnProperty;function FO(e){var t=this.__data__;return ml?t[e]!==void 0:ez.call(t,e)}a(FO,"hashHas");var tz=FO,rz="__lodash_hash_undefined__";function BO(e,t){var r=this.__data__;return this.size+=this.has(e)?0:1,r[e]=ml&&t===void 0?rz:t,this}a(BO,"hashSet");var nz=BO;function Lo(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(Lo,"Hash");Lo.prototype.clear=zW;Lo.prototype.delete=KW;Lo.prototype.get=QW;Lo.prototype.has=tz;Lo.prototype.set=nz;var Ww=Lo;function UO(){this.__data__=[],this.size=0}a(UO,"listCacheClear");var iz=UO;function VO(e,t){for(var r=e.length;r--;)if(UW(e[r][0],t))return r;return-1}a(VO,"assocIndexOf");var pd=VO,oz=Array.prototype,sz=oz.splice;function HO(e){var t=this.__data__,r=pd(t,e);if(r<0)return!1;var n=t.length-1;return r==n?t.pop():sz.call(t,r,1),--this.size,!0}a(HO,"listCacheDelete");var az=HO;function JO(e){var t=this.__data__,r=pd(t,e);return r<0?void 0:t[r][1]}a(JO,"listCacheGet");var lz=JO;function WO(e){return pd(this.__data__,e)>-1}a(WO,"listCacheHas");var uz=WO;function zO(e,t){var r=this.__data__,n=pd(r,e);return n<0?(++this.size,r.push([e,t])):r[n][1]=t,this}a(zO,"listCacheSet");var cz=zO;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])}}a($o,"ListCache");$o.prototype.clear=iz;$o.prototype.delete=az;$o.prototype.get=lz;$o.prototype.has=uz;$o.prototype.set=cz;var pz=$o,dz=MO(ab,"Map"),fz=dz;function KO(){this.size=0,this.__data__={hash:new Ww,map:new(fz||pz),string:new Ww}}a(KO,"mapCacheClear");var hz=KO;function GO(e){var t=typeof e;return t=="string"||t=="number"||t=="symbol"||t=="boolean"?e!=="__proto__":e===null}a(GO,"isKeyable");var mz=GO;function YO(e,t){var r=e.__data__;return mz(t)?r[typeof t=="string"?"string":"hash"]:r.map}a(YO,"getMapData");var dd=YO;function XO(e){var t=dd(this,e).delete(e);return this.size-=t?1:0,t}a(XO,"mapCacheDelete");var yz=XO;function QO(e){return dd(this,e).get(e)}a(QO,"mapCacheGet");var gz=QO;function ZO(e){return dd(this,e).has(e)}a(ZO,"mapCacheHas");var bz=ZO;function e1(e,t){var r=dd(this,e),n=r.size;return r.set(e,t),this.size+=r.size==n?0:1,this}a(e1,"mapCacheSet");var vz=e1;function Fo(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(Fo,"MapCache");Fo.prototype.clear=hz;Fo.prototype.delete=yz;Fo.prototype.get=gz;Fo.prototype.has=bz;Fo.prototype.set=vz;var t1=Fo,_z="Expected a function";function fd(e,t){if(typeof e!="function"||t!=null&&typeof t!="function")throw new TypeError(_z);var r=a(function(){var n=arguments,i=t?t.apply(this,n):n[0],o=r.cache;if(o.has(i))return o.get(i);var s=e.apply(this,n);return r.cache=o.set(i,s)||o,s},"memoized");return r.cache=new(fd.Cache||t1),r}a(fd,"memoize");fd.Cache=t1;var Ez=fd,wz=500;function r1(e){var t=Ez(e,function(n){return r.size===wz&&r.clear(),n}),r=t.cache;return t}a(r1,"memoizeCapped");var xz=r1,Tz=/[^.[\]]+|\[(?:(-?\d+(?:\.\d+)?)|(["'])((?:(?!\2)[^\\]|\\.)*?)\2)\]|(?=(?:\.|\[\])(?:\.|\[\]|$))/g,Sz=/\\(\\)?/g,Cz=xz(function(e){var t=[];return e.charCodeAt(0)===46&&t.push(""),e.replace(Tz,function(r,n,i,o){t.push(i?o.replace(Sz,"$1"):n||r)}),t}),Oz=Cz;function n1(e){return e==null?"":wW(e)}a(n1,"toString");var Pz=n1;function i1(e,t){return ub(e)?e:JW(e,t)?[e]:Oz(Pz(e))}a(i1,"castPath");var Az=i1;function o1(e){if(typeof e=="string"||lb(e))return e;var t=e+"";return t=="0"&&1/e==-1/0?"-0":t}a(o1,"toKey");var Rz=o1;function s1(e,t){t=Az(t,e);for(var r=0,n=t.length;e!=null&&r<n;)e=e[Rz(t[r++])];return r&&r==n?e:void 0}a(s1,"baseGet");var Nz=s1;function a1(e,t,r){var n=e==null?void 0:Nz(e,t);return n===void 0?r:n}a(a1,"get");var Iz=a1,pb=gO,kz=/^\d{4}-\d{2}-\d{2}T\d{2}:\d{2}:\d{2}(\.\d{3})?Z$/,db=a(e=>e.match(/^[\[\{\"\}].*[\]\}\"]$/),"isJSON");function fb(e){if(!pb(e))return e;let t=e,r=!1;return typeof Event<"u"&&e instanceof Event&&(t=aO(t),r=!0),t=Object.keys(t).reduce((n,i)=>{try{t[i]&&t[i].toJSON,n[i]=t[i]}catch{r=!0}return n},{}),r?t:e}a(fb,"convertUnconventionalData");var Mz=a(function(e){let t,r,n,i;return a(function(o,s){try{if(o==="")return i=[],t=new Map([[s,"[]"]]),r=new Map,n=[],s;let l=r.get(this)||this;for(;n.length&&l!==n[0];)n.shift(),i.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===Number.NEGATIVE_INFINITY?"_-Infinity_":s===Number.POSITIVE_INFINITY?"_Infinity_":Number.isNaN(s)?"_NaN_":s;if(typeof s=="bigint")return`_bigint_${s.toString()}`;if(typeof s=="string")return kz.test(s)?e.allowDate?`_date_${s}`:void 0:s;if((0,rW.default)(s))return e.allowRegExp?`_regexp_${s.flags}|${s.source}`:void 0;if((0,nW.default)(s))return;if((0,iW.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(i)}`;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?.name&&s.constructor.name!=="Object"&&!Array.isArray(s)){let c=t.get(s);if(!c){let p={__isClassInstance__:!0,__className__:s.constructor.name,...Object.getOwnPropertyNames(s).reduce((d,f)=>{try{d[f]=s[f]}catch{}return d},{})};return i.push(o),n.unshift(p),t.set(s,JSON.stringify(i)),s!==p&&r.set(s,p),p}return`_duplicate_${c}`}let u=t.get(s);if(!u){let c=Array.isArray(s)?s:fb(s);return i.push(o),n.unshift(c),t.set(s,JSON.stringify(i)),s!==c&&r.set(s,c),c}return`_duplicate_${u}`}catch{return}},"replace")},"replacer2"),qz=a(function(e){let t=[],r;return a(function(n,i){if(n===""&&(r=i,t.forEach(({target:o,container:s,replacement:l})=>{let u=db(l)?JSON.parse(l):l.split(".");u.length===0?s[o]=r:s[o]=Iz(r,u)})),n==="_constructor-name_")return i;if(pb(i)&&i.__isConvertedError__){let{message:o,...s}=i.errorProperties,l=new Error(o);return Object.assign(l,s),l}if(typeof i=="string"&&i.startsWith("_regexp_")&&e.allowRegExp){let[,o,s]=i.match(/_regexp_([^|]*)\|(.*)/)||[];return new RegExp(s,o)}return typeof i=="string"&&i.startsWith("_date_")&&e.allowDate?new Date(i.replace("_date_","")):typeof i=="string"&&i.startsWith("_duplicate_")?(t.push({target:n,container:this,replacement:i.replace(/^_duplicate_/,"")}),null):typeof i=="string"&&i.startsWith("_symbol_")&&e.allowSymbol?Symbol(i.replace("_symbol_","")):typeof i=="string"&&i.startsWith("_gsymbol_")&&e.allowSymbol?Symbol.for(i.replace("_gsymbol_","")):typeof i=="string"&&i==="_-Infinity_"?Number.NEGATIVE_INFINITY:typeof i=="string"&&i==="_Infinity_"?Number.POSITIVE_INFINITY:typeof i=="string"&&i==="_NaN_"?Number.NaN:typeof i=="string"&&i.startsWith("_bigint_")&&typeof BigInt=="function"?BigInt(i.replace("_bigint_","")):i},"revive")},"reviver2"),l1={maxDepth:10,space:void 0,allowRegExp:!0,allowDate:!0,allowError:!0,allowUndefined:!0,allowSymbol:!0},u1=a((e,t={})=>{let r={...l1,...t};return JSON.stringify(fb(e),Mz(r),t.space)},"stringify"),jz=a(()=>{let e=new Map;return a(function t(r){pb(r)&&Object.entries(r).forEach(([n,i])=>{i==="_undefined_"?r[n]=void 0:e.get(i)||(e.set(i,!0),t(i))}),Array.isArray(r)&&r.forEach((n,i)=>{n==="_undefined_"?(e.set(n,!0),r[i]=void 0):e.get(n)||(e.set(n,!0),t(n))})},"mutateUndefined")},"mutator"),c1=a((e,t={})=>{let r={...l1,...t},n=JSON.parse(e,qz(r));return jz()(n),n},"parse"),Dz="Invariant failed";function yn(e,t){if(!e)throw new Error(Dz)}a(yn,"invariant");var Lz=a(e=>{let t=Array.from(document.querySelectorAll("iframe[data-is-storybook]")),[r,...n]=t.filter(o=>{try{return o.contentWindow?.location.origin===e.source.location.origin&&o.contentWindow?.location.pathname===e.source.location.pathname}catch{}try{return o.contentWindow===e.source}catch{}let s=o.getAttribute("src"),l;try{if(!s)return!1;({origin:l}=new URL(s,document.location.toString()))}catch{return!1}return l===e.origin}),i=r?.getAttribute("src");if(i&&n.length===0){let{protocol:o,host:s,pathname:l}=new URL(i,document.location.toString());return`${o}//${s}${l}`}return n.length>0&&st.error("found multiple candidates for event source"),null},"getEventSourceUrl"),{document:yh,location:gh}=he,zw="storybook-channel",$z={maxDepth:25},p1=class{constructor(t){if(this.config=t,this.connected=!1,this.buffer=[],typeof he?.addEventListener=="function"&&he.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:i,allowSymbol:o,allowDate:s,allowError:l,allowUndefined:u,maxDepth:c,space:p}=r||{},d=Object.fromEntries(Object.entries({allowRegExp:i,allowSymbol:o,allowDate:s,allowError:l,allowUndefined:u,maxDepth:c,space:p}).filter(([g,m])=>typeof m<"u")),f={...$z,...he.CHANNEL_OPTIONS||{},...d},h=this.getFrames(n),y=new URLSearchParams(gh?.search||""),b=u1({key:zw,event:t,refId:y.get("refId")},f);return h.length?(this.buffer.length&&this.flush(),h.forEach(g=>{try{g.postMessage(b,"*")}catch{st.error("sending over postmessage fail")}}),Promise.resolve(null)):new Promise((g,m)=>{this.buffer.push({event:t,resolve:g,reject:m})})}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(yh.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 he&&he.parent&&he.parent!==he.self?[he.parent]:[]}getCurrentFrames(){return this.config.page==="manager"?Array.from(yh.querySelectorAll('[data-is-storybook="true"]')).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):he&&he.parent?[he.parent]:[]}getLocalFrame(){return this.config.page==="manager"?Array.from(yh.querySelectorAll("#storybook-preview-iframe")).flatMap(t=>t.contentWindow?[t.contentWindow]:[]):he&&he.parent?[he.parent]:[]}handleEvent(t){try{let{data:r}=t,{key:n,event:i,refId:o}=typeof r=="string"&&db(r)?c1(r,he.CHANNEL_OPTIONS||{}):r;if(n===zw){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(zg).includes(i.type)?`<span style="color: #FF4785">${i.type}</span>`:`<span style="color: #FFAE00">${i.type}</span>`;if(o&&(i.refId=o),i.source=this.config.page==="preview"?t.origin:Lz(t),!i.source){Sr.error(`${s} received ${l} but was unable to determine the source of the event`);return}let u=`${s} received ${l} (${r.length})`;Sr.debug(gh.origin!==i.source?u:`${u} <span style="color: gray">(on ${gh.origin} from ${i.source})</span>`,...i.args),yn(this.handler,"ChannelHandler should be set"),this.handler(i)}}catch(r){st.error(r)}}};a(p1,"PostMessageTransport");var d1=p1,{WebSocket:Fz}=he,f1=15e3,h1=5e3,m1=class{constructor({url:t,onError:r,page:n}){this.buffer=[],this.isReady=!1,this.isClosed=!1,this.pingTimeout=0,this.socket=new Fz(t),this.socket.onopen=()=>{this.isReady=!0,this.heartbeat(),this.flush()},this.socket.onmessage=({data:i})=>{let o=typeof i=="string"&&db(i)?c1(i):i;yn(this.handler),this.handler(o),o.type==="ping"&&(this.heartbeat(),this.send({type:"pong"}))},this.socket.onerror=i=>{r&&r(i)},this.socket.onclose=i=>{yn(this.handler),this.handler({type:qC,args:[{reason:i.reason,code:i.code}],from:n||"preview"}),this.isClosed=!0,clearTimeout(this.pingTimeout)}}heartbeat(){clearTimeout(this.pingTimeout),this.pingTimeout=setTimeout(()=>{this.socket.close(3008,"timeout")},f1+h1)}setHandler(t){this.handler=t}send(t){this.isClosed||(this.isReady?this.sendNow(t):this.sendLater(t))}sendLater(t){this.buffer.push(t)}sendNow(t){let r=u1(t,{maxDepth:15,...he.CHANNEL_OPTIONS});this.socket.send(r)}flush(){let{buffer:t}=this;this.buffer=[],t.forEach(r=>this.send(r))}};a(m1,"WebsocketTransport");var y1=m1,{CONFIG_TYPE:Bz}=he,Uz=ud;function g1({page:e,extraTransports:t=[]}){let r=[new d1({page:e}),...t];if(Bz==="DEVELOPMENT"){let i=window.location.protocol==="http:"?"ws":"wss",{hostname:o,port:s}=window.location,l=`${i}://${o}:${s}/storybook-server-channel`;r.push(new y1({url:l,onError:a(()=>{},"onError"),page:e}))}let n=new ud({transports:r});return hh.__prepare(n,e==="manager"?hh.Environment.MANAGER:hh.Environment.PREVIEW),n}a(g1,"createBrowserChannel");var b1={};ar(b1,{CalledExtractOnStoreError:()=>O1,CalledPreviewMethodBeforeInitializationError:()=>_r,Category:()=>E1,ElementA11yParameterError:()=>Kz,EmptyIndexError:()=>j1,ImplicitActionsDuringRendering:()=>S1,MdxFileWithNoCsfReferencesError:()=>M1,MissingRenderToCanvasError:()=>A1,MissingStoryAfterHmrError:()=>x1,MissingStoryFromCsfFileError:()=>F1,MountMustBeDestructuredError:()=>hb,NextJsSharpError:()=>Hz,NextjsRouterMocksNotAvailable:()=>Jz,NoRenderFunctionError:()=>J1,NoStoryMatchError:()=>L1,NoStoryMountedError:()=>z1,StatusTypeIdMismatchError:()=>Vz,StoryIndexFetchError:()=>I1,StoryStoreAccessedBeforeInitializationError:()=>U1,UnknownArgTypesError:()=>Wz,UnsupportedViewportDimensionError:()=>zz});function Em({code:e,category:t}){let r=String(e).padStart(4,"0");return`SB_${t}_${r}`}a(Em,"parseErrorCode");var v1=class _1 extends Error{constructor(t){super(_1.getFullMessage(t)),this.data={},this.fromStorybook=!0,this.category=t.category,this.documentation=t.documentation??!1,this.code=t.code}get fullErrorCode(){return Em({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:i}){let o;return t===!0?o=`https://storybook.js.org/error/${Em({code:r,category:n})}`:typeof t=="string"?o=t:Array.isArray(t)&&(o=`
|
|
46
|
-
${t.map(s=>` - ${s}`).join(`
|
|
47
|
-
`)}`),`${i}${o!=null?`
|
|
48
|
-
|
|
49
|
-
More info: ${o}
|
|
50
|
-
`:""}`}};a(v1,"StorybookError");var St=v1,E1=(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.ADDON_A11Y="ADDON_A11Y",e))(E1||{}),w1=class extends St{constructor(t){super({category:"PREVIEW_API",code:1,message:ke`
|
|
51
|
-
Couldn't find story matching id '${t.storyId}' after HMR.
|
|
52
|
-
- Did you just rename a story?
|
|
53
|
-
- Did you remove it from your CSF file?
|
|
54
|
-
- Are you sure a story with the id '${t.storyId}' exists?
|
|
55
|
-
- Please check the values in the stories field of your main.js config and see if they would match your CSF File.
|
|
56
|
-
- Also check the browser console and terminal for potential error messages.`}),this.data=t}};a(w1,"MissingStoryAfterHmrError");var x1=w1,T1=class extends St{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:ke`
|
|
57
|
-
We detected that you use an implicit action arg while ${t.phase} of your story.
|
|
58
|
-
${t.deprecated?`
|
|
59
|
-
This is deprecated and won't work in Storybook 8 anymore.
|
|
60
|
-
`:""}
|
|
61
|
-
Please provide an explicit spy to your args like this:
|
|
62
|
-
import { fn } from 'storybook/test';
|
|
63
|
-
...
|
|
64
|
-
args: {
|
|
65
|
-
${t.name}: fn()
|
|
66
|
-
}`}),this.data=t}};a(T1,"ImplicitActionsDuringRendering");var S1=T1,C1=class extends St{constructor(){super({category:"PREVIEW_API",code:3,message:ke`
|
|
67
|
-
Cannot call \`storyStore.extract()\` without calling \`storyStore.cacheAllCsfFiles()\` first.
|
|
68
|
-
|
|
69
|
-
You probably meant to call \`await preview.extract()\` which does the above for you.`})}};a(C1,"CalledExtractOnStoreError");var O1=C1,P1=class extends St{constructor(){super({category:"PREVIEW_API",code:4,message:ke`
|
|
70
|
-
Expected your framework's preset to export a \`renderToCanvas\` field.
|
|
71
|
-
|
|
72
|
-
Perhaps it needs to be upgraded for Storybook 7.0?`,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#mainjs-framework-field"})}};a(P1,"MissingRenderToCanvasError");var A1=P1,R1=class extends St{constructor(t){super({category:"PREVIEW_API",code:5,message:ke`
|
|
73
|
-
Called \`Preview.${t.methodName}()\` before initialization.
|
|
74
|
-
|
|
75
|
-
The preview needs to load the story index before most methods can be called. If you want
|
|
76
|
-
to call \`${t.methodName}\`, try \`await preview.initializationPromise;\` first.
|
|
77
|
-
|
|
78
|
-
If you didn't call the above code, then likely it was called by an addon that needs to
|
|
79
|
-
do the above.`}),this.data=t}};a(R1,"CalledPreviewMethodBeforeInitializationError");var _r=R1,N1=class extends St{constructor(t){super({category:"PREVIEW_API",code:6,message:ke`
|
|
80
|
-
Error fetching \`/index.json\`:
|
|
81
|
-
|
|
82
|
-
${t.text}
|
|
83
|
-
|
|
84
|
-
If you are in development, this likely indicates a problem with your Storybook process,
|
|
85
|
-
check the terminal for errors.
|
|
86
|
-
|
|
87
|
-
If you are in a deployed Storybook, there may have been an issue deploying the full Storybook
|
|
88
|
-
build.`}),this.data=t}};a(N1,"StoryIndexFetchError");var I1=N1,k1=class extends St{constructor(t){super({category:"PREVIEW_API",code:7,message:ke`
|
|
89
|
-
Tried to render docs entry ${t.storyId} but it is a MDX file that has no CSF
|
|
90
|
-
references, or autodocs for a CSF file that some doesn't refer to itself.
|
|
91
|
-
|
|
92
|
-
This likely is an internal error in Storybook's indexing, or you've attached the
|
|
93
|
-
\`attached-mdx\` tag to an MDX file that is not attached.`}),this.data=t}};a(k1,"MdxFileWithNoCsfReferencesError");var M1=k1,q1=class extends St{constructor(){super({category:"PREVIEW_API",code:8,message:ke`
|
|
94
|
-
Couldn't find any stories in your Storybook.
|
|
95
|
-
|
|
96
|
-
- Please check your stories field of your main.js config: does it match correctly?
|
|
97
|
-
- Also check the browser console and terminal for error messages.`})}};a(q1,"EmptyIndexError");var j1=q1,D1=class extends St{constructor(t){super({category:"PREVIEW_API",code:9,message:ke`
|
|
98
|
-
Couldn't find story matching '${t.storySpecifier}'.
|
|
99
|
-
|
|
100
|
-
- Are you sure a story with that id exists?
|
|
101
|
-
- Please check your stories field of your main.js config.
|
|
102
|
-
- Also check the browser console and terminal for error messages.`}),this.data=t}};a(D1,"NoStoryMatchError");var L1=D1,$1=class extends St{constructor(t){super({category:"PREVIEW_API",code:10,message:ke`
|
|
103
|
-
Couldn't find story matching id '${t.storyId}' after importing a CSF file.
|
|
104
|
-
|
|
105
|
-
The file was indexed as if the story was there, but then after importing the file in the browser
|
|
106
|
-
we didn't find the story. Possible reasons:
|
|
107
|
-
- You are using a custom story indexer that is misbehaving.
|
|
108
|
-
- You have a custom file loader that is removing or renaming exports.
|
|
109
|
-
|
|
110
|
-
Please check your browser console and terminal for errors that may explain the issue.`}),this.data=t}};a($1,"MissingStoryFromCsfFileError");var F1=$1,B1=class extends St{constructor(){super({category:"PREVIEW_API",code:11,message:ke`
|
|
111
|
-
Cannot access the Story Store until the index is ready.
|
|
112
|
-
|
|
113
|
-
It is not recommended to use methods directly on the Story Store anyway, in Storybook 9 we will
|
|
114
|
-
remove access to the store entirely`})}};a(B1,"StoryStoreAccessedBeforeInitializationError");var U1=B1,V1=class extends St{constructor(t){super({category:"PREVIEW_API",code:12,message:ke`
|
|
115
|
-
Incorrect use of mount in the play function.
|
|
116
|
-
|
|
117
|
-
To use mount in the play function, you must satisfy the following two requirements:
|
|
118
|
-
|
|
119
|
-
1. You *must* destructure the mount property from the \`context\` (the argument passed to your play function).
|
|
120
|
-
This makes sure that Storybook does not start rendering the story before the play function begins.
|
|
121
|
-
|
|
122
|
-
2. Your Storybook framework or builder must be configured to transpile to ES2017 or newer.
|
|
123
|
-
This is because destructuring statements and async/await usages are otherwise transpiled away,
|
|
124
|
-
which prevents Storybook from recognizing your usage of \`mount\`.
|
|
125
|
-
|
|
126
|
-
Note that Angular is not supported. As async/await is transpiled to support the zone.js polyfill.
|
|
127
|
-
|
|
128
|
-
More info: https://storybook.js.org/docs/writing-tests/interaction-testing#run-code-before-the-component-gets-rendered
|
|
129
|
-
|
|
130
|
-
Received the following play function:
|
|
131
|
-
${t.playFunction}`}),this.data=t}};a(V1,"MountMustBeDestructuredError");var hb=V1,H1=class extends St{constructor(t){super({category:"PREVIEW_API",code:14,message:ke`
|
|
132
|
-
No render function available for storyId '${t.id}'
|
|
133
|
-
`}),this.data=t}};a(H1,"NoRenderFunctionError");var J1=H1,W1=class extends St{constructor(){super({category:"PREVIEW_API",code:15,message:ke`
|
|
134
|
-
No component is mounted in your story.
|
|
135
|
-
|
|
136
|
-
This usually occurs when you destructure mount in the play function, but forget to call it.
|
|
137
|
-
|
|
138
|
-
For example:
|
|
139
|
-
|
|
140
|
-
async play({ mount, canvasElement }) {
|
|
141
|
-
// 👈 mount should be called: await mount();
|
|
142
|
-
const canvas = within(canvasElement);
|
|
143
|
-
const button = await canvas.findByRole('button');
|
|
144
|
-
await userEvent.click(button);
|
|
145
|
-
};
|
|
146
|
-
|
|
147
|
-
Make sure to either remove it or call mount in your play function.
|
|
148
|
-
`})}};a(W1,"NoStoryMountedError");var z1=W1,K1=class extends St{constructor(t){super({category:"PREVIEW_API",code:16,message:`Status has typeId "${t.status.typeId}" but was added to store with typeId "${t.typeId}". Full status: ${JSON.stringify(t.status,null,2)}`}),this.data=t}};a(K1,"StatusTypeIdMismatchError");var Vz=K1,G1=class extends St{constructor(){super({category:"FRAMEWORK_NEXTJS",code:1,documentation:"https://storybook.js.org/docs/get-started/nextjs#faq",message:ke`
|
|
149
|
-
You are importing avif images, but you don't have sharp installed.
|
|
150
|
-
|
|
151
|
-
You have to install sharp in order to use image optimization features in Next.js.
|
|
152
|
-
`})}};a(G1,"NextJsSharpError");var Hz=G1,Y1=class extends St{constructor(t){super({category:"FRAMEWORK_NEXTJS",code:2,message:ke`
|
|
153
|
-
Tried to access router mocks from "${t.importType}" but they were not created yet. You might be running code in an unsupported environment.
|
|
154
|
-
`}),this.data=t}};a(Y1,"NextjsRouterMocksNotAvailable");var Jz=Y1,X1=class extends St{constructor(t){super({category:"DOCS-TOOLS",code:1,documentation:"https://github.com/storybookjs/storybook/issues/26606",message:ke`
|
|
155
|
-
There was a failure when generating detailed ArgTypes in ${t.language} for:
|
|
156
|
-
${JSON.stringify(t.type,null,2)}
|
|
157
|
-
|
|
158
|
-
Storybook will fall back to use a generic type description instead.
|
|
159
|
-
|
|
160
|
-
This type is either not supported or it is a bug in the docgen generation in Storybook.
|
|
161
|
-
If you think this is a bug, please detail it as much as possible in the Github issue.
|
|
162
|
-
`}),this.data=t}};a(X1,"UnknownArgTypesError");var Wz=X1,Q1=class extends St{constructor(t){super({category:"ADDON_VITEST",code:1,message:ke`
|
|
163
|
-
Encountered an unsupported value "${t.value}" when setting the viewport ${t.dimension} dimension.
|
|
164
|
-
|
|
165
|
-
The Storybook plugin only supports values in the following units:
|
|
166
|
-
- px, vh, vw, em, rem and %.
|
|
167
|
-
|
|
168
|
-
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
|
|
169
|
-
`}),this.data=t}};a(Q1,"UnsupportedViewportDimensionError");var zz=Q1,Z1=class extends St{constructor(){super({category:"ADDON_A11Y",code:1,documentation:"https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#a11y-addon-replace-element-parameter-with-context-parameter",message:'The "element" parameter in parameters.a11y has been removed. Use "context" instead.'})}};a(Z1,"ElementA11yParameterError");var Kz=Z1,eP={};ar(eP,{Addon_TypesEnum:()=>tP});var tP=(e=>(e.TAB="tab",e.PANEL="panel",e.TOOL="tool",e.TOOLEXTRA="toolextra",e.PREVIEW="preview",e.experimental_PAGE="page",e.experimental_TEST_PROVIDER="test-provider",e))(tP||{}),rP={};ar(rP,{ADDON_ID:()=>hd,CLEAR_ID:()=>Xz,CYCLIC_KEY:()=>Qz,EVENT_ID:()=>nP,PANEL_ID:()=>Yz,PARAM_KEY:()=>Gz,action:()=>ya,actions:()=>wee,config:()=>jl,configureActions:()=>vee});var Gz="actions",hd="storybook/actions",Yz=`${hd}/panel`,nP=`${hd}/action-event`,Xz=`${hd}/action-clear`,Qz="$___storybook.isCyclic",wm={};ar(wm,{DocsContext:()=>G0,HooksContext:()=>yb,Preview:()=>$L,PreviewWeb:()=>hee,PreviewWithSelection:()=>GL,ReporterAPI:()=>W0,StoryStore:()=>ML,UrlStore:()=>r$,WebView:()=>o$,addons:()=>Br,applyHooks:()=>lP,combineArgs:()=>xp,combineParameters:()=>Io,composeConfigs:()=>ko,composeStepRunners:()=>V0,composeStories:()=>RL,composeStory:()=>K0,createPlaywrightTest:()=>NL,decorateStory:()=>j0,defaultDecorateStory:()=>L0,definePreview:()=>sP,emitTransformCode:()=>u$,filterArgTypes:()=>TL,getCoreAnnotations:()=>Rf,getCsfFactoryAnnotations:()=>z0,inferControls:()=>U0,makeDecorator:()=>rK,mockChannel:()=>mb,normalizeProjectAnnotations:()=>ql,normalizeStory:()=>Ml,pauseAnimations:()=>kf,prepareMeta:()=>$0,prepareStory:()=>If,sanitizeStoryContextUpdate:()=>D0,setDefaultProjectAnnotations:()=>OL,setProjectAnnotations:()=>AL,simulateDOMContentLoaded:()=>Pp,simulatePageLoad:()=>l$,sortStoriesV7:()=>tee,useArgs:()=>yP,useCallback:()=>Rs,useChannel:()=>hP,useEffect:()=>Mi,useGlobals:()=>gP,useMemo:()=>vb,useParameter:()=>mP,useReducer:()=>fP,useRef:()=>cP,useState:()=>dP,useStoryContext:()=>ru,userOrAutoTitle:()=>QZ,userOrAutoTitleFromSpecifier:()=>jL,waitForAnimations:()=>Mf});function mb(){let e={setHandler:a(()=>{},"setHandler"),send:a(()=>{},"send")};return new ud({transport:e})}a(mb,"mockChannel");var iP=class{constructor(){this.getChannel=a(()=>{if(!this.channel){let t=mb();return this.setChannel(t),t}return this.channel},"getChannel"),this.ready=a(()=>this.promise,"ready"),this.hasChannel=a(()=>!!this.channel,"hasChannel"),this.setChannel=a(t=>{this.channel=t,this.resolve()},"setChannel"),this.promise=new Promise(t=>{this.resolve=()=>t(this.getChannel())})}};a(iP,"AddonStore");var Zz=iP,bh="__STORYBOOK_ADDONS_PREVIEW";function oP(){return he[bh]||(he[bh]=new Zz),he[bh]}a(oP,"getAddonsStore");var Br=oP();function sP(e){return e}a(sP,"definePreview");var aP=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=a(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(),Br.getChannel().on(jc,this.renderListener)}removeRenderListeners(){Br.getChannel().removeListener(jc,this.renderListener)}};a(aP,"HooksContext");var yb=aP;function xm(e){let t=a((...r)=>{let{hooks:n}=typeof r[0]=="function"?r[1]:r[0],i=n.currentPhase,o=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=he.STORYBOOK_HOOKS_CONTEXT;he.STORYBOOK_HOOKS_CONTEXT=n;let c=e(...r);if(he.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=i,n.currentHooks=o,n.nextHookIndex=s,n.currentDecoratorName=l,c},"hookified");return t.originalFn=e,t}a(xm,"hookify");var vh=0,eK=25,lP=a(e=>(t,r)=>{let n=e(xm(t),r.map(i=>xm(i)));return i=>{let{hooks:o}=i;o.prevMountedDecorators??=new Set,o.mountedDecorators=new Set([t,...r]),o.currentContext=i,o.hasUpdates=!1;let s=n(i);for(vh=1;o.hasUpdates;)if(o.hasUpdates=!1,o.currentEffects=[],s=n(i),vh+=1,vh>eK)throw new Error("Too many re-renders. Storybook limits the number of renders to prevent an infinite loop.");return o.addRenderListeners(),s}},"applyHooks"),tK=a((e,t)=>e.length===t.length&&e.every((r,n)=>r===t[n]),"areDepsEqual"),gb=a(()=>new Error("Storybook preview hooks can only be called inside decorators and story functions."),"invalidHooksError");function bb(){return he.STORYBOOK_HOOKS_CONTEXT||null}a(bb,"getHooksContextOrNull");function md(){let e=bb();if(e==null)throw gb();return e}a(md,"getHooksContextOrThrow");function uP(e,t,r){let n=md();if(n.currentPhase==="MOUNT"){r!=null&&!Array.isArray(r)&&st.warn(`${e} received a final argument that is not an array (instead, received ${r}). When specified, the final argument must be an array.`);let i={name:e,deps:r};return n.currentHooks.push(i),t(i),i}if(n.currentPhase==="UPDATE"){let i=n.getNextHook();if(i==null)throw new Error("Rendered more hooks than during the previous render.");return i.name!==e&&st.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&&i.deps==null&&st.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&&i.deps!=null&&r.length!==i.deps.length&&st.warn(`The final argument passed to ${e} changed size between renders. The order and size of this array must remain constant.
|
|
170
|
-
Previous: ${i.deps}
|
|
171
|
-
Incoming: ${r}`),(r==null||i.deps==null||!tK(r,i.deps))&&(t(i),i.deps=r),i}throw gb()}a(uP,"useHook");function tu(e,t,r){let{memoizedState:n}=uP(e,i=>{i.memoizedState=t()},r);return n}a(tu,"useMemoLike");function vb(e,t){return tu("useMemo",e,t)}a(vb,"useMemo");function Rs(e,t){return tu("useCallback",()=>e,t)}a(Rs,"useCallback");function _b(e,t){return tu(e,()=>({current:t}),[])}a(_b,"useRefLike");function cP(e){return _b("useRef",e)}a(cP,"useRef");function pP(){let e=bb();if(e!=null&&e.currentPhase!=="NONE")e.hasUpdates=!0;else try{Br.getChannel().emit(Yg)}catch{st.warn("State updates of Storybook preview hooks work only in browser")}}a(pP,"triggerUpdate");function Eb(e,t){let r=_b(e,typeof t=="function"?t():t),n=a(i=>{r.current=typeof i=="function"?i(r.current):i,pP()},"setState");return[r.current,n]}a(Eb,"useStateLike");function dP(e){return Eb("useState",e)}a(dP,"useState");function fP(e,t,r){let n=r!=null?()=>r(t):t,[i,o]=Eb("useReducer",n);return[i,a(s=>o(l=>e(l,s)),"dispatch")]}a(fP,"useReducer");function Mi(e,t){let r=md(),n=tu("useEffect",()=>({create:e}),t);r.currentEffects.includes(n)||r.currentEffects.push(n)}a(Mi,"useEffect");function hP(e,t=[]){let r=Br.getChannel();return Mi(()=>(Object.entries(e).forEach(([n,i])=>r.on(n,i)),()=>{Object.entries(e).forEach(([n,i])=>r.removeListener(n,i))}),[...Object.keys(e),...t]),Rs(r.emit.bind(r),[r])}a(hP,"useChannel");function ru(){let{currentContext:e}=md();if(e==null)throw gb();return e}a(ru,"useStoryContext");function mP(e,t){let{parameters:r}=ru();if(e)return r[e]??t}a(mP,"useParameter");function yP(){let e=Br.getChannel(),{id:t,args:r}=ru(),n=Rs(o=>e.emit(eb,{storyId:t,updatedArgs:o}),[e,t]),i=Rs(o=>e.emit(Xg,{storyId:t,argNames:o}),[e,t]);return[r,n,i]}a(yP,"useArgs");function gP(){let e=Br.getChannel(),{globals:t}=ru(),r=Rs(n=>e.emit(Zg,{globals:n}),[e]);return[t,r]}a(gP,"useGlobals");var rK=a(({name:e,parameterName:t,wrapper:r,skipIfNoParametersOrOptions:n=!1})=>{let i=a(o=>(s,l)=>{let u=l.parameters&&l.parameters[t];return u&&u.disable||n&&!o&&!u?s(l):r(s,l,{options:o,parameters:u})},"decorator");return(...o)=>typeof o[0]=="function"?i()(...o):(...s)=>{if(s.length>1)return o.length>1?i(o)(...s):i(...o)(...s);throw new Error(`Passing stories directly into ${e}() is not allowed,
|
|
172
|
-
instead use addDecorator(${e}) and pass options with the '${t}' parameter`)}},"makeDecorator");function bP(){}a(bP,"noop");function Tm(e){return Object.getOwnPropertySymbols(e).filter(t=>Object.prototype.propertyIsEnumerable.call(e,t))}a(Tm,"getSymbols");function Sm(e){return e==null?e===void 0?"[object Undefined]":"[object Null]":Object.prototype.toString.call(e)}a(Sm,"getTag");var nK="[object RegExp]",iK="[object String]",oK="[object Number]",sK="[object Boolean]",Kw="[object Arguments]",aK="[object Symbol]",lK="[object Date]",uK="[object Map]",cK="[object Set]",pK="[object Array]",dK="[object Function]",fK="[object ArrayBuffer]",_h="[object Object]",hK="[object Error]",mK="[object DataView]",yK="[object Uint8Array]",gK="[object Uint8ClampedArray]",bK="[object Uint16Array]",vK="[object Uint32Array]",_K="[object BigUint64Array]",EK="[object Int8Array]",wK="[object Int16Array]",xK="[object Int32Array]",TK="[object BigInt64Array]",SK="[object Float32Array]",CK="[object Float64Array]";function Qr(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}a(Qr,"isPlainObject");function Ns(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let o=n[i],s=e[o];r[o]=t(s,o,e)}return r}a(Ns,"mapValues");function vP(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let o=n[i],s=e[o];t(s,o)&&(r[o]=s)}return r}a(vP,"pickBy");function _P(e,t){return e===t||Number.isNaN(e)&&Number.isNaN(t)}a(_P,"eq");function EP(e,t,r){return ls(e,t,void 0,void 0,void 0,void 0,r)}a(EP,"isEqualWith");function ls(e,t,r,n,i,o,s){let l=s(e,t,r,n,i,o);if(l!==void 0)return l;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 ms(e,t,o,s)}return ms(e,t,o,s)}a(ls,"isEqualWithImpl");function ms(e,t,r,n){if(Object.is(e,t))return!0;let i=Sm(e),o=Sm(t);if(i===Kw&&(i=_h),o===Kw&&(o=_h),i!==o)return!1;switch(i){case iK:return e.toString()===t.toString();case oK:{let u=e.valueOf(),c=t.valueOf();return _P(u,c)}case sK:case lK:case aK:return Object.is(e.valueOf(),t.valueOf());case nK:return e.source===t.source&&e.flags===t.flags;case dK:return e===t}r=r??new Map;let s=r.get(e),l=r.get(t);if(s!=null&&l!=null)return s===t;r.set(e,t),r.set(t,e);try{switch(i){case uK:{if(e.size!==t.size)return!1;for(let[u,c]of e.entries())if(!t.has(u)||!ls(c,t.get(u),u,e,t,r,n))return!1;return!0}case cK:{if(e.size!==t.size)return!1;let u=Array.from(e.values()),c=Array.from(t.values());for(let p=0;p<u.length;p++){let d=u[p],f=c.findIndex(h=>ls(d,h,void 0,e,t,r,n));if(f===-1)return!1;c.splice(f,1)}return!0}case pK:case yK:case gK:case bK:case vK:case _K:case EK:case wK:case xK:case TK:case SK:case CK:{if(typeof Buffer<"u"&&Buffer.isBuffer(e)!==Buffer.isBuffer(t)||e.length!==t.length)return!1;for(let u=0;u<e.length;u++)if(!ls(e[u],t[u],u,e,t,r,n))return!1;return!0}case fK:return e.byteLength!==t.byteLength?!1:ms(new Uint8Array(e),new Uint8Array(t),r,n);case mK:return e.byteLength!==t.byteLength||e.byteOffset!==t.byteOffset?!1:ms(new Uint8Array(e),new Uint8Array(t),r,n);case hK:return e.name===t.name&&e.message===t.message;case _h:{if(!(ms(e.constructor,t.constructor,r,n)||Qr(e)&&Qr(t)))return!1;let u=[...Object.keys(e),...Tm(e)],c=[...Object.keys(t),...Tm(t)];if(u.length!==c.length)return!1;for(let p=0;p<u.length;p++){let d=u[p],f=e[d];if(!Object.hasOwn(t,d))return!1;let h=t[d];if(!ls(f,h,d,e,t,r,n))return!1}return!0}default:return!1}}finally{r.delete(e),r.delete(t)}}a(ms,"areObjectsEqual");function wP(e,t){return EP(e,t,bP)}a(wP,"isEqual");var Eh=wt(dC(),1),xP={};ar(xP,{argsEnhancers:()=>AK});var TP=a((e,t)=>typeof t[e]>"u"&&!(e in t),"isInInitialArgs"),OK=a(e=>{let{initialArgs:t,argTypes:r,id:n,parameters:{actions:i}}=e;if(!i||i.disable||!i.argTypesRegex||!r)return{};let o=new RegExp(i.argTypesRegex);return Object.entries(r).filter(([s])=>!!o.test(s)).reduce((s,[l,u])=>(TP(l,t)&&(s[l]=ya(l,{implicit:!0,id:n})),s),{})},"inferActionsFromArgTypesRegex"),PK=a(e=>{let{initialArgs:t,argTypes:r,parameters:{actions:n}}=e;return n?.disable||!r?{}:Object.entries(r).filter(([i,o])=>!!o.action).reduce((i,[o,s])=>(TP(o,t)&&(i[o]=ya(typeof s.action=="string"?s.action:o)),i),{})},"addActionsFromArgTypes"),AK=[PK,OK],SP={};ar(SP,{loaders:()=>FQ});var CP={};ar(CP,{buildQueries:()=>_X,clearAllMocks:()=>N_,configure:()=>EX,createEvent:()=>wX,expect:()=>LQ,findAllByAltText:()=>TX,findAllByDisplayValue:()=>SX,findAllByLabelText:()=>CX,findAllByPlaceholderText:()=>OX,findAllByRole:()=>PX,findAllByTestId:()=>AX,findAllByText:()=>RX,findAllByTitle:()=>NX,findByAltText:()=>IX,findByDisplayValue:()=>kX,findByLabelText:()=>MX,findByPlaceholderText:()=>qX,findByRole:()=>jX,findByTestId:()=>DX,findByText:()=>LX,findByTitle:()=>$X,fireEvent:()=>xX,fn:()=>A_,getAllByAltText:()=>FX,getAllByDisplayValue:()=>BX,getAllByLabelText:()=>UX,getAllByPlaceholderText:()=>VX,getAllByRole:()=>HX,getAllByTestId:()=>JX,getAllByText:()=>WX,getAllByTitle:()=>zX,getByAltText:()=>KX,getByDisplayValue:()=>GX,getByLabelText:()=>YX,getByPlaceholderText:()=>XX,getByRole:()=>QX,getByTestId:()=>ZX,getByText:()=>eQ,getByTitle:()=>tQ,getConfig:()=>rQ,getDefaultNormalizer:()=>nQ,getElementError:()=>iQ,getNodeText:()=>oQ,getQueriesForElement:()=>sQ,getRoles:()=>aQ,getSuggestedQuery:()=>lQ,isInaccessible:()=>uQ,isMockFunction:()=>fo,logDOM:()=>cQ,logRoles:()=>pQ,mocked:()=>KI,mocks:()=>yu,onMockCall:()=>P_,prettyDOM:()=>dQ,prettyFormat:()=>jQ,queries:()=>fQ,queryAllByAltText:()=>hQ,queryAllByAttribute:()=>mQ,queryAllByDisplayValue:()=>yQ,queryAllByLabelText:()=>gQ,queryAllByPlaceholderText:()=>bQ,queryAllByRole:()=>vQ,queryAllByTestId:()=>_Q,queryAllByText:()=>EQ,queryAllByTitle:()=>wQ,queryByAltText:()=>xQ,queryByAttribute:()=>TQ,queryByDisplayValue:()=>SQ,queryByLabelText:()=>CQ,queryByPlaceholderText:()=>OQ,queryByRole:()=>PQ,queryByTestId:()=>AQ,queryByText:()=>RQ,queryByTitle:()=>NQ,queryHelpers:()=>IQ,resetAllMocks:()=>I_,restoreAllMocks:()=>k_,screen:()=>kQ,spyOn:()=>fY,uninstrumentedUserEvent:()=>FD,userEvent:()=>DQ,waitFor:()=>MQ,waitForElementToBeRemoved:()=>qQ,within:()=>$D});var RK={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]},NK=Object.entries(RK);function yd(e){return String(e)}a(yd,"a");yd.open="";yd.close="";function OP(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}a(OP,"C");function PP(e=!1){let t=OP(e),r=a((s,l,u,c)=>{let p="",d=0;do p+=s.substring(d,c)+u,d=c+l.length,c=s.indexOf(l,d);while(~c);return p+s.substring(d)},"i"),n=a((s,l,u=s)=>{let c=a(p=>{let d=String(p),f=d.indexOf(l,s.length);return~f?s+r(d,l,u,f)+l:s+d+l},"o");return c.open=s,c.close=l,c},"g"),i={isColorSupported:t},o=a(s=>`\x1B[${s}m`,"d");for(let[s,l]of NK)i[s]=t?n(o(l[0]),o(l[1]),l[2]):yd;return i}a(PP,"p");var yt=PP();function wb(e,t){return t.forEach(function(r){r&&typeof r!="string"&&!Array.isArray(r)&&Object.keys(r).forEach(function(n){if(n!=="default"&&!(n in e)){var i=Object.getOwnPropertyDescriptor(r,n);Object.defineProperty(e,n,i.get?i:{enumerable:!0,get:a(function(){return r[n]},"get")})}})}),Object.freeze(e)}a(wb,"_mergeNamespaces");function AP(e,t){let r=Object.keys(e),n=t===null?r:r.sort(t);if(Object.getOwnPropertySymbols)for(let i of Object.getOwnPropertySymbols(e))Object.getOwnPropertyDescriptor(e,i).enumerable&&n.push(i);return n}a(AP,"getKeysOfEnumerableProperties");function oa(e,t,r,n,i,o,s=": "){let l="",u=0,c=e.next();if(!c.done){l+=t.spacingOuter;let p=r+t.indent;for(;!c.done;){if(l+=p,u++===t.maxWidth){l+="…";break}let d=o(c.value[0],t,p,n,i),f=o(c.value[1],t,p,n,i);l+=d+s+f,c=e.next(),c.done?t.min||(l+=","):l+=`,${t.spacingInner}`}l+=t.spacingOuter+r}return l}a(oa,"printIteratorEntries");function gd(e,t,r,n,i,o){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+="…";break}s+=o(u.value,t,c,n,i),u=e.next(),u.done?t.min||(s+=","):s+=`,${t.spacingInner}`}s+=t.spacingOuter+r}return s}a(gd,"printIteratorValues");function yl(e,t,r,n,i,o){let s="";e=e instanceof ArrayBuffer?new DataView(e):e;let l=a(c=>c instanceof DataView,"isDataView"),u=l(e)?e.byteLength:e.length;if(u>0){s+=t.spacingOuter;let c=r+t.indent;for(let p=0;p<u;p++){if(s+=c,p===t.maxWidth){s+="…";break}(l(e)||p in e)&&(s+=o(l(e)?e.getInt8(p):e[p],t,c,n,i)),p<u-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}a(yl,"printListItems");function bd(e,t,r,n,i,o){let s="",l=AP(e,t.compareKeys);if(l.length>0){s+=t.spacingOuter;let u=r+t.indent;for(let c=0;c<l.length;c++){let p=l[c],d=o(p,t,u,n,i),f=o(e[p],t,u,n,i);s+=`${u+d}: ${f}`,c<l.length-1?s+=`,${t.spacingInner}`:t.min||(s+=",")}s+=t.spacingOuter+r}return s}a(bd,"printObjectProperties");var IK=typeof Symbol=="function"&&Symbol.for?Symbol.for("jest.asymmetricMatcher"):1267621,wh=" ",kK=a((e,t,r,n,i,o)=>{let s=e.toString();if(s==="ArrayContaining"||s==="ArrayNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+wh}[${yl(e.sample,t,r,n,i,o)}]`;if(s==="ObjectContaining"||s==="ObjectNotContaining")return++n>t.maxDepth?`[${s}]`:`${s+wh}{${bd(e.sample,t,r,n,i,o)}}`;if(s==="StringMatching"||s==="StringNotMatching"||s==="StringContaining"||s==="StringNotContaining")return s+wh+o(e.sample,t,r,n,i);if(typeof e.toAsymmetricMatcher!="function")throw new TypeError(`Asymmetric matcher ${e.constructor.name} does not implement toAsymmetricMatcher()`);return e.toAsymmetricMatcher()},"serialize$5"),MK=a(e=>e&&e.$$typeof===IK,"test$5"),qK={serialize:kK,test:MK},jK=" ",RP=new Set(["DOMStringMap","NamedNodeMap"]),DK=/^(?:HTML\w*Collection|NodeList)$/;function NP(e){return RP.has(e)||DK.test(e)}a(NP,"testName");var LK=a(e=>e&&e.constructor&&!!e.constructor.name&&NP(e.constructor.name),"test$4");function IP(e){return e.constructor.name==="NamedNodeMap"}a(IP,"isNamedNodeMap");var $K=a((e,t,r,n,i,o)=>{let s=e.constructor.name;return++n>t.maxDepth?`[${s}]`:(t.min?"":s+jK)+(RP.has(s)?`{${bd(IP(e)?[...e].reduce((l,u)=>(l[u.name]=u.value,l),{}):{...e},t,r,n,i,o)}}`:`[${yl([...e],t,r,n,i,o)}]`)},"serialize$4"),FK={serialize:$K,test:LK};function xb(e){return e.replaceAll("<","<").replaceAll(">",">")}a(xb,"escapeHTML");function vd(e,t,r,n,i,o,s){let l=n+r.indent,u=r.colors;return e.map(c=>{let p=t[c],d=s(p,r,l,i,o);return typeof p!="string"&&(d.includes(`
|
|
173
|
-
`)&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d=`{${d}}`),`${r.spacingInner+n+u.prop.open+c+u.prop.close}=${u.value.open}${d}${u.value.close}`}).join("")}a(vd,"printProps");function _d(e,t,r,n,i,o){return e.map(s=>t.spacingOuter+r+(typeof s=="string"?Tb(s,t):o(s,t,r,n,i))).join("")}a(_d,"printChildren");function Tb(e,t){let r=t.colors.content;return r.open+xb(e)+r.close}a(Tb,"printText");function kP(e,t){let r=t.colors.comment;return`${r.open}<!--${xb(e)}-->${r.close}`}a(kP,"printComment");function Ed(e,t,r,n,i){let o=n.colors.tag;return`${o.open}<${e}${t&&o.close+t+n.spacingOuter+i+o.open}${r?`>${o.close}${r}${n.spacingOuter}${i}${o.open}</${e}`:`${t&&!n.min?"":" "}/`}>${o.close}`}a(Ed,"printElement");function wd(e,t){let r=t.colors.tag;return`${r.open}<${e}${r.close} …${r.open} />${r.close}`}a(wd,"printElementAsLeaf");var BK=1,MP=3,qP=8,jP=11,UK=/^(?:(?:HTML|SVG)\w*)?Element$/;function DP(e){try{return typeof e.hasAttribute=="function"&&e.hasAttribute("is")}catch{return!1}}a(DP,"testHasAttribute");function LP(e){let t=e.constructor.name,{nodeType:r,tagName:n}=e,i=typeof n=="string"&&n.includes("-")||DP(e);return r===BK&&(UK.test(t)||i)||r===MP&&t==="Text"||r===qP&&t==="Comment"||r===jP&&t==="DocumentFragment"}a(LP,"testNode");var VK=a(e=>{var t;return(e==null||(t=e.constructor)===null||t===void 0?void 0:t.name)&&LP(e)},"test$3");function $P(e){return e.nodeType===MP}a($P,"nodeIsText");function FP(e){return e.nodeType===qP}a(FP,"nodeIsComment");function uc(e){return e.nodeType===jP}a(uc,"nodeIsFragment");var HK=a((e,t,r,n,i,o)=>{if($P(e))return Tb(e.data,t);if(FP(e))return kP(e.data,t);let s=uc(e)?"DocumentFragment":e.tagName.toLowerCase();return++n>t.maxDepth?wd(s,t):Ed(s,vd(uc(e)?[]:Array.from(e.attributes,l=>l.name).sort(),uc(e)?{}:[...e.attributes].reduce((l,u)=>(l[u.name]=u.value,l),{}),t,r+t.indent,n,i,o),_d(Array.prototype.slice.call(e.childNodes||e.children),t,r+t.indent,n,i,o),t,r)},"serialize$3"),JK={serialize:HK,test:VK},WK="@@__IMMUTABLE_ITERABLE__@@",zK="@@__IMMUTABLE_LIST__@@",KK="@@__IMMUTABLE_KEYED__@@",GK="@@__IMMUTABLE_MAP__@@",Gw="@@__IMMUTABLE_ORDERED__@@",YK="@@__IMMUTABLE_RECORD__@@",XK="@@__IMMUTABLE_SEQ__@@",QK="@@__IMMUTABLE_SET__@@",ZK="@@__IMMUTABLE_STACK__@@",Is=a(e=>`Immutable.${e}`,"getImmutableName"),xd=a(e=>`[${e}]`,"printAsLeaf"),gl=" ",Yw="…";function BP(e,t,r,n,i,o,s){return++n>t.maxDepth?xd(Is(s)):`${Is(s)+gl}{${oa(e.entries(),t,r,n,i,o)}}`}a(BP,"printImmutableEntries");function UP(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}}}}a(UP,"getRecordEntries");function VP(e,t,r,n,i,o){let s=Is(e._name||"Record");return++n>t.maxDepth?xd(s):`${s+gl}{${oa(UP(e),t,r,n,i,o)}}`}a(VP,"printImmutableRecord");function HP(e,t,r,n,i,o){let s=Is("Seq");return++n>t.maxDepth?xd(s):e[KK]?`${s+gl}{${e._iter||e._object?oa(e.entries(),t,r,n,i,o):Yw}}`:`${s+gl}[${e._iter||e._array||e._collection||e._iterable?gd(e.values(),t,r,n,i,o):Yw}]`}a(HP,"printImmutableSeq");function cc(e,t,r,n,i,o,s){return++n>t.maxDepth?xd(Is(s)):`${Is(s)+gl}[${gd(e.values(),t,r,n,i,o)}]`}a(cc,"printImmutableValues");var eG=a((e,t,r,n,i,o)=>e[GK]?BP(e,t,r,n,i,o,e[Gw]?"OrderedMap":"Map"):e[zK]?cc(e,t,r,n,i,o,"List"):e[QK]?cc(e,t,r,n,i,o,e[Gw]?"OrderedSet":"Set"):e[ZK]?cc(e,t,r,n,i,o,"Stack"):e[XK]?HP(e,t,r,n,i,o):VP(e,t,r,n,i,o),"serialize$2"),tG=a(e=>e&&(e[WK]===!0||e[YK]===!0),"test$2"),rG={serialize:eG,test:tG};function Sb(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}a(Sb,"getDefaultExportFromCjs");var Xw={exports:{}},Ye={},Qw;function JP(){if(Qw)return Ye;Qw=1;var e=Symbol.for("react.transitional.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.consumer"),s=Symbol.for("react.context"),l=Symbol.for("react.forward_ref"),u=Symbol.for("react.suspense"),c=Symbol.for("react.suspense_list"),p=Symbol.for("react.memo"),d=Symbol.for("react.lazy"),f=Symbol.for("react.view_transition"),h=Symbol.for("react.client.reference");function y(b){if(typeof b=="object"&&b!==null){var g=b.$$typeof;switch(g){case e:switch(b=b.type,b){case r:case i:case n:case u:case c:case f:return b;default:switch(b=b&&b.$$typeof,b){case s:case l:case d:case p:return b;case o:return b;default:return g}}case t:return g}}}return a(y,"typeOf"),Ye.ContextConsumer=o,Ye.ContextProvider=s,Ye.Element=e,Ye.ForwardRef=l,Ye.Fragment=r,Ye.Lazy=d,Ye.Memo=p,Ye.Portal=t,Ye.Profiler=i,Ye.StrictMode=n,Ye.Suspense=u,Ye.SuspenseList=c,Ye.isContextConsumer=function(b){return y(b)===o},Ye.isContextProvider=function(b){return y(b)===s},Ye.isElement=function(b){return typeof b=="object"&&b!==null&&b.$$typeof===e},Ye.isForwardRef=function(b){return y(b)===l},Ye.isFragment=function(b){return y(b)===r},Ye.isLazy=function(b){return y(b)===d},Ye.isMemo=function(b){return y(b)===p},Ye.isPortal=function(b){return y(b)===t},Ye.isProfiler=function(b){return y(b)===i},Ye.isStrictMode=function(b){return y(b)===n},Ye.isSuspense=function(b){return y(b)===u},Ye.isSuspenseList=function(b){return y(b)===c},Ye.isValidElementType=function(b){return typeof b=="string"||typeof b=="function"||b===r||b===i||b===n||b===u||b===c||typeof b=="object"&&b!==null&&(b.$$typeof===d||b.$$typeof===p||b.$$typeof===s||b.$$typeof===o||b.$$typeof===l||b.$$typeof===h||b.getModuleId!==void 0)},Ye.typeOf=y,Ye}a(JP,"requireReactIs_production");var Zw;function WP(){return Zw||(Zw=1,Xw.exports=JP()),Xw.exports}a(WP,"requireReactIs$1");var zP=WP(),nG=Sb(zP),iG=wb({__proto__:null,default:nG},[zP]),ex={exports:{}},ze={},tx;function KP(){if(tx)return ze;tx=1;var e=Symbol.for("react.element"),t=Symbol.for("react.portal"),r=Symbol.for("react.fragment"),n=Symbol.for("react.strict_mode"),i=Symbol.for("react.profiler"),o=Symbol.for("react.provider"),s=Symbol.for("react.context"),l=Symbol.for("react.server_context"),u=Symbol.for("react.forward_ref"),c=Symbol.for("react.suspense"),p=Symbol.for("react.suspense_list"),d=Symbol.for("react.memo"),f=Symbol.for("react.lazy"),h=Symbol.for("react.offscreen"),y;y=Symbol.for("react.module.reference");function b(g){if(typeof g=="object"&&g!==null){var m=g.$$typeof;switch(m){case e:switch(g=g.type,g){case r:case i:case n:case c:case p:return g;default:switch(g=g&&g.$$typeof,g){case l:case s:case u:case f:case d:case o:return g;default:return m}}case t:return m}}}return a(b,"v"),ze.ContextConsumer=s,ze.ContextProvider=o,ze.Element=e,ze.ForwardRef=u,ze.Fragment=r,ze.Lazy=f,ze.Memo=d,ze.Portal=t,ze.Profiler=i,ze.StrictMode=n,ze.Suspense=c,ze.SuspenseList=p,ze.isAsyncMode=function(){return!1},ze.isConcurrentMode=function(){return!1},ze.isContextConsumer=function(g){return b(g)===s},ze.isContextProvider=function(g){return b(g)===o},ze.isElement=function(g){return typeof g=="object"&&g!==null&&g.$$typeof===e},ze.isForwardRef=function(g){return b(g)===u},ze.isFragment=function(g){return b(g)===r},ze.isLazy=function(g){return b(g)===f},ze.isMemo=function(g){return b(g)===d},ze.isPortal=function(g){return b(g)===t},ze.isProfiler=function(g){return b(g)===i},ze.isStrictMode=function(g){return b(g)===n},ze.isSuspense=function(g){return b(g)===c},ze.isSuspenseList=function(g){return b(g)===p},ze.isValidElementType=function(g){return typeof g=="string"||typeof g=="function"||g===r||g===i||g===n||g===c||g===p||g===h||typeof g=="object"&&g!==null&&(g.$$typeof===f||g.$$typeof===d||g.$$typeof===o||g.$$typeof===s||g.$$typeof===u||g.$$typeof===y||g.getModuleId!==void 0)},ze.typeOf=b,ze}a(KP,"requireReactIs_production_min");var rx;function GP(){return rx||(rx=1,ex.exports=KP()),ex.exports}a(GP,"requireReactIs");var YP=GP(),oG=Sb(YP),sG=wb({__proto__:null,default:oG},[YP]),aG=["isAsyncMode","isConcurrentMode","isContextConsumer","isContextProvider","isElement","isForwardRef","isFragment","isLazy","isMemo","isPortal","isProfiler","isStrictMode","isSuspense","isSuspenseList","isValidElementType"],ro=Object.fromEntries(aG.map(e=>[e,t=>sG[e](t)||iG[e](t)]));function Cb(e,t=[]){if(Array.isArray(e))for(let r of e)Cb(r,t);else e!=null&&e!==!1&&e!==""&&t.push(e);return t}a(Cb,"getChildren");function Cm(e){let t=e.type;if(typeof t=="string")return t;if(typeof t=="function")return t.displayName||t.name||"Unknown";if(ro.isFragment(e))return"React.Fragment";if(ro.isSuspense(e))return"React.Suspense";if(typeof t=="object"&&t!==null){if(ro.isContextProvider(e))return"Context.Provider";if(ro.isContextConsumer(e))return"Context.Consumer";if(ro.isForwardRef(e)){if(t.displayName)return t.displayName;let r=t.render.displayName||t.render.name||"";return r===""?"ForwardRef":`ForwardRef(${r})`}if(ro.isMemo(e)){let r=t.displayName||t.type.displayName||t.type.name||"";return r===""?"Memo":`Memo(${r})`}}return"UNDEFINED"}a(Cm,"getType");function XP(e){let{props:t}=e;return Object.keys(t).filter(r=>r!=="children"&&t[r]!==void 0).sort()}a(XP,"getPropKeys$1");var lG=a((e,t,r,n,i,o)=>++n>t.maxDepth?wd(Cm(e),t):Ed(Cm(e),vd(XP(e),e.props,t,r+t.indent,n,i,o),_d(Cb(e.props.children),t,r+t.indent,n,i,o),t,r),"serialize$1"),uG=a(e=>e!=null&&ro.isElement(e),"test$1"),cG={serialize:lG,test:uG},pG=typeof Symbol=="function"&&Symbol.for?Symbol.for("react.test.json"):245830487;function QP(e){let{props:t}=e;return t?Object.keys(t).filter(r=>t[r]!==void 0).sort():[]}a(QP,"getPropKeys");var dG=a((e,t,r,n,i,o)=>++n>t.maxDepth?wd(e.type,t):Ed(e.type,e.props?vd(QP(e),e.props,t,r+t.indent,n,i,o):"",e.children?_d(e.children,t,r+t.indent,n,i,o):"",t,r),"serialize"),fG=a(e=>e&&e.$$typeof===pG,"test"),hG={serialize:dG,test:fG},ZP=Object.prototype.toString,mG=Date.prototype.toISOString,yG=Error.prototype.toString,nx=RegExp.prototype.toString;function Ka(e){return typeof e.constructor=="function"&&e.constructor.name||"Object"}a(Ka,"getConstructorName");function eA(e){return typeof window<"u"&&e===window}a(eA,"isWindow");var gG=/^Symbol\((.*)\)(.*)$/,bG=/\n/g,tA=class extends Error{constructor(t,r){super(t),this.stack=r,this.name=this.constructor.name}};a(tA,"PrettyFormatPluginError");var rA=tA;function nA(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]"}a(nA,"isToStringedArrayType");function iA(e){return Object.is(e,-0)?"-0":String(e)}a(iA,"printNumber");function oA(e){return`${e}n`}a(oA,"printBigInt");function Om(e,t){return t?`[Function ${e.name||"anonymous"}]`:"[Function]"}a(Om,"printFunction");function Pm(e){return String(e).replace(gG,"Symbol($1)")}a(Pm,"printSymbol");function Am(e){return`[${yG.call(e)}]`}a(Am,"printError");function Ob(e,t,r,n){if(e===!0||e===!1)return`${e}`;if(e===void 0)return"undefined";if(e===null)return"null";let i=typeof e;if(i==="number")return iA(e);if(i==="bigint")return oA(e);if(i==="string")return n?`"${e.replaceAll(/"|\\/g,"\\$&")}"`:`"${e}"`;if(i==="function")return Om(e,t);if(i==="symbol")return Pm(e);let o=ZP.call(e);return o==="[object WeakMap]"?"WeakMap {}":o==="[object WeakSet]"?"WeakSet {}":o==="[object Function]"||o==="[object GeneratorFunction]"?Om(e,t):o==="[object Symbol]"?Pm(e):o==="[object Date]"?Number.isNaN(+e)?"Date { NaN }":mG.call(e):o==="[object Error]"?Am(e):o==="[object RegExp]"?r?nx.call(e).replaceAll(/[$()*+.?[\\\]^{|}]/g,"\\$&"):nx.call(e):e instanceof Error?Am(e):null}a(Ob,"printBasicValue");function Pb(e,t,r,n,i,o){if(i.includes(e))return"[Circular]";i=[...i],i.push(e);let s=++n>t.maxDepth,l=t.min;if(t.callToJSON&&!s&&e.toJSON&&typeof e.toJSON=="function"&&!o)return Ln(e.toJSON(),t,r,n,i,!0);let u=ZP.call(e);return u==="[object Arguments]"?s?"[Arguments]":`${l?"":"Arguments "}[${yl(e,t,r,n,i,Ln)}]`:nA(u)?s?`[${e.constructor.name}]`:`${l||!t.printBasicPrototype&&e.constructor.name==="Array"?"":`${e.constructor.name} `}[${yl(e,t,r,n,i,Ln)}]`:u==="[object Map]"?s?"[Map]":`Map {${oa(e.entries(),t,r,n,i,Ln," => ")}}`:u==="[object Set]"?s?"[Set]":`Set {${gd(e.values(),t,r,n,i,Ln)}}`:s||eA(e)?`[${Ka(e)}]`:`${l||!t.printBasicPrototype&&Ka(e)==="Object"?"":`${Ka(e)} `}{${bd(e,t,r,n,i,Ln)}}`}a(Pb,"printComplexValue");var vG={test:a(e=>e&&e instanceof Error,"test"),serialize(e,t,r,n,i,o){if(i.includes(e))return"[Circular]";i=[...i,e];let s=++n>t.maxDepth,{message:l,cause:u,...c}=e,p={message:l,...typeof u<"u"?{cause:u}:{},...e instanceof AggregateError?{errors:e.errors}:{},...c},d=e.name!=="Error"?e.name:Ka(e);return s?`[${d}]`:`${d} {${oa(Object.entries(p).values(),t,r,n,i,o)}}`}};function sA(e){return e.serialize!=null}a(sA,"isNewPlugin");function Ab(e,t,r,n,i,o){let s;try{s=sA(e)?e.serialize(t,r,n,i,o,Ln):e.print(t,l=>Ln(l,r,n,i,o),l=>{let u=n+r.indent;return u+l.replaceAll(bG,`
|
|
174
|
-
${u}`)},{edgeSpacing:r.spacingOuter,min:r.min,spacing:r.spacingInner},r.colors)}catch(l){throw new rA(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}a(Ab,"printPlugin");function Rb(e,t){for(let r of e)try{if(r.test(t))return r}catch(n){throw new rA(n.message,n.stack)}return null}a(Rb,"findPlugin");function Ln(e,t,r,n,i,o){let s=Rb(t.plugins,e);if(s!==null)return Ab(s,e,t,r,n,i);let l=Ob(e,t.printFunctionName,t.escapeRegex,t.escapeString);return l!==null?l:Pb(e,t,r,n,i,o)}a(Ln,"printer");var Nb={comment:"gray",content:"reset",prop:"yellow",tag:"cyan",value:"green"},aA=Object.keys(Nb),Kr={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:Nb};function lA(e){for(let t of Object.keys(e))if(!Object.prototype.hasOwnProperty.call(Kr,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.')}a(lA,"validateOptions");function uA(){return aA.reduce((e,t)=>{let r=Nb[t],n=r&&yt[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))}a(uA,"getColorsHighlight");function cA(){return aA.reduce((e,t)=>(e[t]={close:"",open:""},e),Object.create(null))}a(cA,"getColorsEmpty");function Ib(e){return e?.printFunctionName??Kr.printFunctionName}a(Ib,"getPrintFunctionName");function kb(e){return e?.escapeRegex??Kr.escapeRegex}a(kb,"getEscapeRegex");function Mb(e){return e?.escapeString??Kr.escapeString}a(Mb,"getEscapeString");function Rm(e){return{callToJSON:e?.callToJSON??Kr.callToJSON,colors:e?.highlight?uA():cA(),compareKeys:typeof e?.compareKeys=="function"||e?.compareKeys===null?e.compareKeys:Kr.compareKeys,escapeRegex:kb(e),escapeString:Mb(e),indent:e?.min?"":pA(e?.indent??Kr.indent),maxDepth:e?.maxDepth??Kr.maxDepth,maxWidth:e?.maxWidth??Kr.maxWidth,min:e?.min??Kr.min,plugins:e?.plugins??Kr.plugins,printBasicPrototype:e?.printBasicPrototype??!0,printFunctionName:Ib(e),spacingInner:e?.min?" ":`
|
|
175
|
-
`,spacingOuter:e?.min?"":`
|
|
176
|
-
`}}a(Rm,"getConfig");function pA(e){return Array.from({length:e+1}).join(" ")}a(pA,"createIndent");function Xr(e,t){if(t&&(lA(t),t.plugins)){let n=Rb(t.plugins,e);if(n!==null)return Ab(n,e,Rm(t),"",0,[])}let r=Ob(e,Ib(t),kb(t),Mb(t));return r!==null?r:Pb(e,Rm(t),"",0,[])}a(Xr,"format");var qb={AsymmetricMatcher:qK,DOMCollection:FK,DOMElement:JK,Immutable:rG,ReactElement:cG,ReactTestComponent:hG,Error:vG},ix={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"]},_G={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},ks="…";function dA(e,t){let r=ix[_G[t]]||ix[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}a(dA,"colorise");function fA({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:o=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},p){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(o),breakLength:Number(s),truncate:Number(u),seen:l,inspect:p,stylize:c};return d.colors&&(d.stylize=dA),d}a(fA,"normaliseOptions");function hA(e){return e>="\uD800"&&e<="\uDBFF"}a(hA,"isHighSurrogate");function ei(e,t,r=ks){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let o=t-n;return o>0&&hA(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}a(ei,"truncate");function Ur(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let o=t.truncate,s="",l="",u="";for(let c=0;c<i;c+=1){let p=c+1===e.length,d=c+2===e.length;u=`${ks}(${e.length-c})`;let f=e[c];t.truncate=o-s.length-(p?0:n.length);let h=l||r(f,t)+(p?"":n),y=s.length+h.length,b=y+u.length;if(p&&y>o&&s.length+u.length<=o||!p&&!d&&b>o||(l=p?"":r(e[c+1],t)+(d?"":n),!p&&d&&b>o&&y+l.length>o))break;if(s+=h,!p&&!d&&y+l.length>=o){u=`${ks}(${e.length-c-1})`;break}u=""}return`${s}${u}`}a(Ur,"inspectList");function mA(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}a(mA,"quoteComplexKey");function Ms([e,t],r){return r.truncate-=2,typeof e=="string"?e=mA(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}a(Ms,"inspectProperty");function yA(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Ur(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Ur(r.map(o=>[o,e[o]]),t,Ms)),`[ ${n}${i?`, ${i}`:""} ]`}a(yA,"inspectArray");var EG=a(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function an(e,t){let r=EG(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let s=0;s<e.length;s++){let l=`${t.stylize(ei(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){i+=`${ks}(${e.length-e[s]+1})`;break}i+=l}let o="";return n.length&&(o=Ur(n.map(s=>[s,e[s]]),t,Ms)),`${r}[ ${i}${o?`, ${o}`:""} ]`}a(an,"inspectTypedArray");function gA(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${ei(n[1],t.truncate-i.length-1)}`,"date")}a(gA,"inspectDate");function Nm(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${ei(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}a(Nm,"inspectFunction");function bA([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}a(bA,"inspectMapEntry");function vA(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}a(vA,"mapToEntries");function _A(e,t){return e.size===0?"Map{}":(t.truncate-=7,`Map{ ${Ur(vA(e),t,bA)} }`)}a(_A,"inspectMap");var wG=Number.isNaN||(e=>e!==e);function Im(e,t){return wG(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(ei(String(e),t.truncate),"number")}a(Im,"inspectNumber");function km(e,t){let r=ei(e.toString(),t.truncate-1);return r!==ks&&(r+="n"),t.stylize(r,"bigint")}a(km,"inspectBigInt");function EA(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${ei(i,n)}/${r}`,"regexp")}a(EA,"inspectRegExp");function wA(e){let t=[];return e.forEach(r=>{t.push(r)}),t}a(wA,"arrayFromSet");function xA(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Ur(wA(e),t)} }`)}a(xA,"inspectSet");var ox=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),xG={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},TG=16;function TA(e){return xG[e]||`\\u${`0000${e.charCodeAt(0).toString(TG)}`.slice(-4)}`}a(TA,"escape");function Mm(e,t){return ox.test(e)&&(e=e.replace(ox,TA)),t.stylize(`'${ei(e,t.truncate-2)}'`,"string")}a(Mm,"inspectString");function qm(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}a(qm,"inspectSymbol");var SA=a(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(SA=a((n,i)=>{let[o,s]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${i.inspect(s,i)}}`},"getPromiseValue"))}catch{}var SG=SA;function Ga(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.includes(e))return"[Circular]";t.seen.push(e);let i=Ur(r.map(l=>[l,e[l]]),t,Ms),o=Ur(n.map(l=>[l,e[l]]),t,Ms);t.seen.pop();let s="";return i&&o&&(s=", "),`{ ${i}${s}${o} }`}a(Ga,"inspectObject");var xh=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function CA(e,t){let r="";return xh&&xh in e&&(r=e[xh]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${Ga(e,t)}`}a(CA,"inspectClass");function OA(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Ur(e,t)} ]`)}a(OA,"inspectArguments");var CG=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function PA(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>CG.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=ei(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Ur(r.map(s=>[s,e[s]]),t,Ms);return`${n}${i}${o?` { ${o} }`:""}`}a(PA,"inspectObject");function AA([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}a(AA,"inspectAttribute");function Dc(e,t){return Ur(e,t,RA,`
|
|
177
|
-
`)}a(Dc,"inspectNodeCollection");function RA(e,t){switch(e.nodeType){case 1:return jb(e,t);case 3:return t.inspect(e.data,t);default:return t.inspect(e,t)}}a(RA,"inspectNode");function jb(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Ur(r.map(p=>[p,e.getAttribute(p)]),t,AA," ")),t.truncate-=l.length;let u=t.truncate,c=Dc(e.children,t);return c&&c.length>u&&(c=`${ks}(${e.children.length})`),`${i}${l}${o}${c}${s}`}a(jb,"inspectHTML");var OG=typeof Symbol=="function"&&typeof Symbol.for=="function",Th=OG?Symbol.for("chai/inspect"):"@@chai/inspect",Sh=Symbol.for("nodejs.util.inspect.custom"),sx=new WeakMap,ax={},lx={undefined:a((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:a((e,t)=>t.stylize("null","null"),"null"),boolean:a((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:a((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Im,Number:Im,bigint:km,BigInt:km,string:Mm,String:Mm,function:Nm,Function:Nm,symbol:qm,Symbol:qm,Array:yA,Date:gA,Map:_A,Set:xA,RegExp:EA,Promise:SG,WeakSet:a((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:a((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:OA,Int8Array:an,Uint8Array:an,Uint8ClampedArray:an,Int16Array:an,Uint16Array:an,Int32Array:an,Uint32Array:an,Float32Array:an,Float64Array:an,Generator:a(()=>"","Generator"),DataView:a(()=>"","DataView"),ArrayBuffer:a(()=>"","ArrayBuffer"),Error:PA,HTMLCollection:Dc,NodeList:Dc},PG=a((e,t,r)=>Th in e&&typeof e[Th]=="function"?e[Th](t):Sh in e&&typeof e[Sh]=="function"?e[Sh](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&sx.has(e.constructor)?sx.get(e.constructor)(e,t):ax[r]?ax[r](e,t):"","inspectCustom"),AG=Object.prototype.toString;function Lc(e,t={}){let r=fA(t,Lc),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=AG.call(e).slice(8,-1)),i in lx)return lx[i](e,r);if(n&&e){let s=PG(e,r,i);if(s)return typeof s=="string"?s:Lc(s,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?Ga(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?jb(e,r):"constructor"in e?e.constructor!==Object?CA(e,r):Ga(e,r):e===Object(e)?Ga(e,r):r.stylize(String(e),i)}a(Lc,"inspect");var{AsymmetricMatcher:RG,DOMCollection:NG,DOMElement:IG,Immutable:kG,ReactElement:MG,ReactTestComponent:qG}=qb,ux=[qG,MG,IG,NG,kG,RG];function hr(e,t=10,{maxLength:r,...n}={}){let i=r??1e4,o;try{o=Xr(e,{maxDepth:t,escapeString:!1,plugins:ux,...n})}catch{o=Xr(e,{callToJSON:!1,maxDepth:t,escapeString:!1,plugins:ux,...n})}return o.length>=i&&t>1?hr(e,Math.floor(Math.min(t,Number.MAX_SAFE_INTEGER)/2),{maxLength:r,...n}):o}a(hr,"stringify");var jG=/%[sdjifoOc%]/g;function NA(...e){if(typeof e[0]!="string"){let o=[];for(let s=0;s<e.length;s++)o.push(ts(e[s],{depth:0,colors:!1}));return o.join(" ")}let t=e.length,r=1,n=e[0],i=String(n).replace(jG,o=>{if(o==="%%")return"%";if(r>=t)return o;switch(o){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?typeof s.toString=="function"&&s.toString!==Object.prototype.toString?s.toString():ts(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 ts(e[r++],{showHidden:!0,showProxy:!0});case"%O":return ts(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 o}});for(let o=e[r];r<t;o=e[++r])o===null||typeof o!="object"?i+=` ${o}`:i+=` ${ts(o)}`;return i}a(NA,"format");function ts(e,t={}){return t.truncate===0&&(t.truncate=Number.POSITIVE_INFINITY),Lc(e,t)}a(ts,"inspect");function IA(e){return e&&e.__esModule&&Object.prototype.hasOwnProperty.call(e,"default")?e.default:e}a(IA,"getDefaultExportFromCjs");function ln(e,t,r){let n=typeof e;if(!r.includes(n))throw new TypeError(`${t} value must be ${r.join(" or ")}, received "${n}"`)}a(ln,"assertTypes");function Ya(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}a(Ya,"isObject");function kA(e){return e===Object.prototype||e===Function.prototype||e===RegExp.prototype}a(kA,"isFinalObj");function bl(e){return Object.prototype.toString.apply(e).slice(8,-1)}a(bl,"getType");function MA(e,t){let r=typeof t=="function"?t:n=>t.add(n);Object.getOwnPropertyNames(e).forEach(r),Object.getOwnPropertySymbols(e).forEach(r)}a(MA,"collectOwnProperties");function Db(e){let t=new Set;return kA(e)?[]:(MA(e,t),Array.from(t))}a(Db,"getOwnProperties");var qA={forceWritable:!1};function jm(e,t=qA){return $c(e,new WeakMap,t)}a(jm,"deepClone");function $c(e,t,r=qA){let n,i;if(t.has(e))return t.get(e);if(Array.isArray(e)){for(i=Array.from({length:n=e.length}),t.set(e,i);n--;)i[n]=$c(e[n],t,r);return i}if(Object.prototype.toString.call(e)==="[object Object]"){i=Object.create(Object.getPrototypeOf(e)),t.set(e,i);let o=Db(e);for(let s of o){let l=Object.getOwnPropertyDescriptor(e,s);if(!l)continue;let u=$c(e[s],t,r);r.forceWritable?Object.defineProperty(i,s,{enumerable:l.enumerable,configurable:!0,writable:!0,value:u}):"get"in l?Object.defineProperty(i,s,{...l,get(){return u}}):Object.defineProperty(i,s,{...l,value:u})}return i}return e}a($c,"clone");function jA(){}a(jA,"noop");var tr=-1,Ut=1,ht=0,DA=class{0;1;constructor(t,r){this[0]=t,this[1]=r}};a(DA,"Diff");var pt=DA;function LA(e,t){if(!e||!t||e.charAt(0)!==t.charAt(0))return 0;let r=0,n=Math.min(e.length,t.length),i=n,o=0;for(;r<i;)e.substring(o,i)===t.substring(o,i)?(r=i,o=r):n=i,i=Math.floor((n-r)/2+r);return i}a(LA,"diff_commonPrefix");function Lb(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),i=n,o=0;for(;r<i;)e.substring(e.length-i,e.length-o)===t.substring(t.length-i,t.length-o)?(r=i,o=r):n=i,i=Math.floor((n-r)/2+r);return i}a(Lb,"diff_commonSuffix");function Dm(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 i=Math.min(r,n);if(e===t)return i;let o=0,s=1;for(;;){let l=e.substring(i-s),u=t.indexOf(l);if(u===-1)return o;s+=u,(u===0||e.substring(i-s)===t.substring(0,s))&&(o=s,s++)}}a(Dm,"diff_commonOverlap_");function $A(e){let t=!1,r=[],n=0,i=null,o=0,s=0,l=0,u=0,c=0;for(;o<e.length;)e[o][0]===ht?(r[n++]=o,s=u,l=c,u=0,c=0,i=e[o][1]):(e[o][0]===Ut?u+=e[o][1].length:c+=e[o][1].length,i&&i.length<=Math.max(s,l)&&i.length<=Math.max(u,c)&&(e.splice(r[n-1],0,new pt(tr,i)),e[r[n-1]+1][0]=Ut,n--,n--,o=n>0?r[n-1]:-1,s=0,l=0,u=0,c=0,i=null,t=!0)),o++;for(t&&$b(e),FA(e),o=1;o<e.length;){if(e[o-1][0]===tr&&e[o][0]===Ut){let p=e[o-1][1],d=e[o][1],f=Dm(p,d),h=Dm(d,p);f>=h?(f>=p.length/2||f>=d.length/2)&&(e.splice(o,0,new pt(ht,d.substring(0,f))),e[o-1][1]=p.substring(0,p.length-f),e[o+1][1]=d.substring(f),o++):(h>=p.length/2||h>=d.length/2)&&(e.splice(o,0,new pt(ht,p.substring(0,h))),e[o-1][0]=Ut,e[o-1][1]=d.substring(0,d.length-h),e[o+1][0]=tr,e[o+1][1]=p.substring(h),o++),o++}o++}}a($A,"diff_cleanupSemantic");var cx=/[^a-z0-9]/i,px=/\s/,dx=/[\r\n]/,DG=/\n\r?\n$/,LG=/^\r?\n\r?\n/;function FA(e){let t=1;for(;t<e.length-1;){if(e[t-1][0]===ht&&e[t+1][0]===ht){let r=e[t-1][1],n=e[t][1],i=e[t+1][1],o=Lb(r,n);if(o){let p=n.substring(n.length-o);r=r.substring(0,r.length-o),n=p+n.substring(0,n.length-o),i=p+i}let s=r,l=n,u=i,c=Ma(r,n)+Ma(n,i);for(;n.charAt(0)===i.charAt(0);){r+=n.charAt(0),n=n.substring(1)+i.charAt(0),i=i.substring(1);let p=Ma(r,n)+Ma(n,i);p>=c&&(c=p,s=r,l=n,u=i)}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++}}a(FA,"diff_cleanupSemanticLossless");function $b(e){e.push(new pt(ht,""));let t=0,r=0,n=0,i="",o="",s;for(;t<e.length;)switch(e[t][0]){case Ut:n++,o+=e[t][1],t++;break;case tr:r++,i+=e[t][1],t++;break;case ht:r+n>1?(r!==0&&n!==0&&(s=LA(o,i),s!==0&&(t-r-n>0&&e[t-r-n-1][0]===ht?e[t-r-n-1][1]+=o.substring(0,s):(e.splice(0,0,new pt(ht,o.substring(0,s))),t++),o=o.substring(s),i=i.substring(s)),s=Lb(o,i),s!==0&&(e[t][1]=o.substring(o.length-s)+e[t][1],o=o.substring(0,o.length-s),i=i.substring(0,i.length-s))),t-=r+n,e.splice(t,r+n),i.length&&(e.splice(t,0,new pt(tr,i)),t++),o.length&&(e.splice(t,0,new pt(Ut,o)),t++),t++):t!==0&&e[t-1][0]===ht?(e[t-1][1]+=e[t][1],e.splice(t,1)):t++,n=0,r=0,i="",o="";break}e[e.length-1][1]===""&&e.pop();let l=!1;for(t=1;t<e.length-1;)e[t-1][0]===ht&&e[t+1][0]===ht&&(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&&$b(e)}a($b,"diff_cleanupMerge");function Ma(e,t){if(!e||!t)return 6;let r=e.charAt(e.length-1),n=t.charAt(0),i=r.match(cx),o=n.match(cx),s=i&&r.match(px),l=o&&n.match(px),u=s&&r.match(dx),c=l&&n.match(dx),p=u&&e.match(DG),d=c&&t.match(LG);return p||d?5:u||c?4:i&&!s&&l?3:s||l?2:i||o?1:0}a(Ma,"diff_cleanupSemanticScore_");var BA="Compared values have no visual difference.",$G="Compared values serialize to the same structure.\nPrinting internal object structure without calling `toJSON` instead.",$u={},fx;function UA(){if(fx)return $u;fx=1,Object.defineProperty($u,"__esModule",{value:!0}),$u.default=f;let e="diff-sequences",t=0,r=a((h,y,b,g,m)=>{let v=0;for(;h<y&&b<g&&m(h,b);)h+=1,b+=1,v+=1;return v},"countCommonItemsF"),n=a((h,y,b,g,m)=>{let v=0;for(;h<=y&&b<=g&&m(y,g);)y-=1,g-=1,v+=1;return v},"countCommonItemsR"),i=a((h,y,b,g,m,v,S)=>{let O=0,P=-h,x=v[O],E=x;v[O]+=r(x+1,y,g+x-P+1,b,m);let _=h<S?h:S;for(O+=1,P+=2;O<=_;O+=1,P+=2){if(O!==h&&E<v[O])x=v[O];else if(x=E+1,y<=x)return O-1;E=v[O],v[O]=x+r(x+1,y,g+x-P+1,b,m)}return S},"extendPathsF"),o=a((h,y,b,g,m,v,S)=>{let O=0,P=h,x=v[O],E=x;v[O]-=n(y,x-1,b,g+x-P-1,m);let _=h<S?h:S;for(O+=1,P-=2;O<=_;O+=1,P-=2){if(O!==h&&v[O]<E)x=v[O];else if(x=E-1,x<y)return O-1;E=v[O],v[O]=x-n(y,x-1,b,g+x-P-1,m)}return S},"extendPathsR"),s=a((h,y,b,g,m,v,S,O,P,x,E)=>{let _=g-y,C=b-y,w=m-g-C,A=-w-(h-1),I=-w+(h-1),j=t,R=h<O?h:O;for(let q=0,M=-h;q<=R;q+=1,M+=2){let K=q===0||q!==h&&j<S[q],J=K?S[q]:j,oe=K?J:J+1,ye=_+oe-M,ae=r(oe+1,b,ye+1,m,v),ee=oe+ae;if(j=S[q],S[q]=ee,A<=M&&M<=I){let Z=(h-1-(M+w))/2;if(Z<=x&&P[Z]-1<=ee){let re=_+J-(K?M+1:M-1),me=n(y,J,g,re,v),se=J-me,_e=re-me,Te=se+1,tt=_e+1;E.nChangePreceding=h-1,h-1===Te+tt-y-g?(E.aEndPreceding=y,E.bEndPreceding=g):(E.aEndPreceding=Te,E.bEndPreceding=tt),E.nCommonPreceding=me,me!==0&&(E.aCommonPreceding=Te,E.bCommonPreceding=tt),E.nCommonFollowing=ae,ae!==0&&(E.aCommonFollowing=oe+1,E.bCommonFollowing=ye+1);let Xe=ee+1,V=ye+ae+1;return E.nChangeFollowing=h-1,h-1===b+m-Xe-V?(E.aStartFollowing=b,E.bStartFollowing=m):(E.aStartFollowing=Xe,E.bStartFollowing=V),!0}}}return!1},"extendOverlappablePathsF"),l=a((h,y,b,g,m,v,S,O,P,x,E)=>{let _=m-b,C=b-y,w=m-g-C,A=w-h,I=w+h,j=t,R=h<x?h:x;for(let q=0,M=h;q<=R;q+=1,M-=2){let K=q===0||q!==h&&P[q]<j,J=K?P[q]:j,oe=K?J:J-1,ye=_+oe-M,ae=n(y,oe-1,g,ye-1,v),ee=oe-ae;if(j=P[q],P[q]=ee,A<=M&&M<=I){let Z=(h+(M-w))/2;if(Z<=O&&ee-1<=S[Z]){let re=ye-ae;if(E.nChangePreceding=h,h===ee+re-y-g?(E.aEndPreceding=y,E.bEndPreceding=g):(E.aEndPreceding=ee,E.bEndPreceding=re),E.nCommonPreceding=ae,ae!==0&&(E.aCommonPreceding=ee,E.bCommonPreceding=re),E.nChangeFollowing=h-1,h===1)E.nCommonFollowing=0,E.aStartFollowing=b,E.bStartFollowing=m;else{let me=_+J-(K?M-1:M+1),se=r(J,b,me,m,v);E.nCommonFollowing=se,se!==0&&(E.aCommonFollowing=J,E.bCommonFollowing=me);let _e=J+se,Te=me+se;h-1===b+m-_e-Te?(E.aStartFollowing=b,E.bStartFollowing=m):(E.aStartFollowing=_e,E.bStartFollowing=Te)}return!0}}}return!1},"extendOverlappablePathsR"),u=a((h,y,b,g,m,v,S,O,P)=>{let x=g-y,E=m-b,_=b-y,C=m-g,w=C-_,A=_,I=_;if(S[0]=y-1,O[0]=b,w%2===0){let j=(h||w)/2,R=(_+C)/2;for(let q=1;q<=R;q+=1)if(A=i(q,b,m,x,v,S,A),q<j)I=o(q,y,g,E,v,O,I);else if(l(q,y,b,g,m,v,S,A,O,I,P))return}else{let j=((h||w)+1)/2,R=(_+C+1)/2,q=1;for(A=i(q,b,m,x,v,S,A),q+=1;q<=R;q+=1)if(I=o(q-1,y,g,E,v,O,I),q<j)A=i(q,b,m,x,v,S,A);else if(s(q,y,b,g,m,v,S,A,O,I,P))return}throw new Error(`${e}: no overlap aStart=${y} aEnd=${b} bStart=${g} bEnd=${m}`)},"divide"),c=a((h,y,b,g,m,v,S,O,P,x)=>{if(m-g<b-y){if(v=!v,v&&S.length===1){let{foundSubsequence:Z,isCommon:re}=S[0];S[1]={foundSubsequence:a((me,se,_e)=>{Z(me,_e,se)},"foundSubsequence"),isCommon:a((me,se)=>re(se,me),"isCommon")}}let ae=y,ee=b;y=g,b=m,g=ae,m=ee}let{foundSubsequence:E,isCommon:_}=S[v?1:0];u(h,y,b,g,m,_,O,P,x);let{nChangePreceding:C,aEndPreceding:w,bEndPreceding:A,nCommonPreceding:I,aCommonPreceding:j,bCommonPreceding:R,nCommonFollowing:q,aCommonFollowing:M,bCommonFollowing:K,nChangeFollowing:J,aStartFollowing:oe,bStartFollowing:ye}=x;y<w&&g<A&&c(C,y,w,g,A,v,S,O,P,x),I!==0&&E(I,j,R),q!==0&&E(q,M,K),oe<b&&ye<m&&c(J,oe,b,ye,m,v,S,O,P,x)},"findSubsequences"),p=a((h,y)=>{if(typeof y!="number")throw new TypeError(`${e}: ${h} typeof ${typeof y} is not a number`);if(!Number.isSafeInteger(y))throw new RangeError(`${e}: ${h} value ${y} is not a safe integer`);if(y<0)throw new RangeError(`${e}: ${h} value ${y} is a negative integer`)},"validateLength"),d=a((h,y)=>{let b=typeof y;if(b!=="function")throw new TypeError(`${e}: ${h} typeof ${b} is not a function`)},"validateCallback");function f(h,y,b,g){p("aLength",h),p("bLength",y),d("isCommon",b),d("foundSubsequence",g);let m=r(0,h,0,y,b);if(m!==0&&g(m,0,0),h!==m||y!==m){let v=m,S=m,O=n(v,h-1,S,y-1,b),P=h-O,x=y-O,E=m+O;h!==E&&y!==E&&c(0,v,P,S,x,!1,[{foundSubsequence:g,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}),O!==0&&g(O,P,x)}}return a(f,"diffSequence"),$u}a(UA,"requireBuild");var FG=UA(),VA=IA(FG);function HA(e,t){return e.replace(/\s+$/,r=>t(r))}a(HA,"formatTrailingSpaces");function Td(e,t,r,n,i,o){return e.length!==0?r(`${n} ${HA(e,i)}`):n!==" "?r(n):t&&o.length!==0?r(`${n} ${o}`):""}a(Td,"printDiffLine");function Fb(e,t,{aColor:r,aIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return Td(e,t,r,n,i,o)}a(Fb,"printDeleteLine");function Bb(e,t,{bColor:r,bIndicator:n,changeLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return Td(e,t,r,n,i,o)}a(Bb,"printInsertLine");function Ub(e,t,{commonColor:r,commonIndicator:n,commonLineTrailingSpaceColor:i,emptyFirstOrLastLinePlaceholder:o}){return Td(e,t,r,n,i,o)}a(Ub,"printCommonLine");function Lm(e,t,r,n,{patchColor:i}){return i(`@@ -${e+1},${t-e} +${r+1},${n-r} @@`)}a(Lm,"createPatchMark");function JA(e,t){let r=e.length,n=t.contextLines,i=n+n,o=r,s=!1,l=0,u=0;for(;u!==r;){let O=u;for(;u!==r&&e[u][0]===ht;)u+=1;if(O!==u)if(O===0)u>n&&(o-=u-n,s=!0);else if(u===r){let P=u-O;P>n&&(o-=P-n,s=!0)}else{let P=u-O;P>i&&(o-=P-i,l+=1)}for(;u!==r&&e[u][0]!==ht;)u+=1}let c=l!==0||s;l!==0?o+=l+1:s&&(o+=1);let p=o-1,d=[],f=0;c&&d.push("");let h=0,y=0,b=0,g=0,m=a(O=>{let P=d.length;d.push(Ub(O,P===0||P===p,t)),b+=1,g+=1},"pushCommonLine"),v=a(O=>{let P=d.length;d.push(Fb(O,P===0||P===p,t)),b+=1},"pushDeleteLine"),S=a(O=>{let P=d.length;d.push(Bb(O,P===0||P===p,t)),g+=1},"pushInsertLine");for(u=0;u!==r;){let O=u;for(;u!==r&&e[u][0]===ht;)u+=1;if(O!==u)if(O===0){u>n&&(O=u-n,h=O,y=O,b=h,g=y);for(let P=O;P!==u;P+=1)m(e[P][1])}else if(u===r){let P=u-O>n?O+n:u;for(let x=O;x!==P;x+=1)m(e[x][1])}else{let P=u-O;if(P>i){let x=O+n;for(let _=O;_!==x;_+=1)m(e[_][1]);d[f]=Lm(h,b,y,g,t),f=d.length,d.push("");let E=P-i;h=b+E,y=g+E,b=h,g=y;for(let _=u-n;_!==u;_+=1)m(e[_][1])}else for(let x=O;x!==u;x+=1)m(e[x][1])}for(;u!==r&&e[u][0]===tr;)v(e[u][1]),u+=1;for(;u!==r&&e[u][0]===Ut;)S(e[u][1]),u+=1}return c&&(d[f]=Lm(h,b,y,g,t)),d.join(`
|
|
178
|
-
`)}a(JA,"joinAlignedDiffsNoExpand");function WA(e,t){return e.map((r,n,i)=>{let o=r[1],s=n===0||n===i.length-1;switch(r[0]){case tr:return Fb(o,s,t);case Ut:return Bb(o,s,t);default:return Ub(o,s,t)}}).join(`
|
|
179
|
-
`)}a(WA,"joinAlignedDiffsExpand");var Ch=a(e=>e,"noColor"),zA=5,BG=0;function KA(){return{aAnnotation:"Expected",aColor:yt.green,aIndicator:"-",bAnnotation:"Received",bColor:yt.red,bIndicator:"+",changeColor:yt.inverse,changeLineTrailingSpaceColor:Ch,commonColor:yt.dim,commonIndicator:" ",commonLineTrailingSpaceColor:Ch,compareKeys:void 0,contextLines:zA,emptyFirstOrLastLinePlaceholder:"",expand:!1,includeChangeCounts:!1,omitAnnotationLines:!1,patchColor:yt.yellow,printBasicPrototype:!1,truncateThreshold:BG,truncateAnnotation:"... Diff result is truncated",truncateAnnotationColor:Ch}}a(KA,"getDefaultOptions");function GA(e){return e&&typeof e=="function"?e:void 0}a(GA,"getCompareKeys");function YA(e){return typeof e=="number"&&Number.isSafeInteger(e)&&e>=0?e:zA}a(YA,"getContextLines");function Ui(e={}){return{...KA(),...e,compareKeys:GA(e.compareKeys),contextLines:YA(e.contextLines)}}a(Ui,"normalizeDiffOptions");function io(e){return e.length===1&&e[0].length===0}a(io,"isEmptyString");function XA(e){let t=0,r=0;return e.forEach(n=>{switch(n[0]){case tr:t+=1;break;case Ut:r+=1;break}}),{a:t,b:r}}a(XA,"countChanges");function QA({aAnnotation:e,aColor:t,aIndicator:r,bAnnotation:n,bColor:i,bIndicator:o,includeChangeCounts:s,omitAnnotationLines:l},u){if(l)return"";let c="",p="";if(s){let h=String(u.a),y=String(u.b),b=n.length-e.length,g=" ".repeat(Math.max(0,b)),m=" ".repeat(Math.max(0,-b)),v=y.length-h.length,S=" ".repeat(Math.max(0,v)),O=" ".repeat(Math.max(0,-v));c=`${g} ${r} ${S}${h}`,p=`${m} ${o} ${O}${y}`}let d=`${r} ${e}${c}`,f=`${o} ${n}${p}`;return`${t(d)}
|
|
180
|
-
${i(f)}
|
|
181
|
-
|
|
182
|
-
`}a(QA,"printAnnotation");function Sd(e,t,r){return QA(r,XA(e))+(r.expand?WA(e,r):JA(e,r))+(t?r.truncateAnnotationColor(`
|
|
183
|
-
${r.truncateAnnotation}`):"")}a(Sd,"printDiffLines");function nu(e,t,r){let n=Ui(r),[i,o]=Vb(io(e)?[]:e,io(t)?[]:t,n);return Sd(i,o,n)}a(nu,"diffLinesUnified");function ZA(e,t,r,n,i){if(io(e)&&io(r)&&(e=[],r=[]),io(t)&&io(n)&&(t=[],n=[]),e.length!==r.length||t.length!==n.length)return nu(e,t,i);let[o,s]=Vb(r,n,i),l=0,u=0;return o.forEach(c=>{switch(c[0]){case tr:c[1]=e[l],l+=1;break;case Ut:c[1]=t[u],u+=1;break;default:c[1]=t[u],l+=1,u+=1}}),Sd(o,s,Ui(i))}a(ZA,"diffLinesUnified2");function Vb(e,t,r){let n=r?.truncateThreshold??!1,i=Math.max(Math.floor(r?.truncateThreshold??0),0),o=n?Math.min(e.length,i):e.length,s=n?Math.min(t.length,i):t.length,l=o!==e.length||s!==t.length,u=a((f,h)=>e[f]===t[h],"isCommon"),c=[],p=0,d=0;for(VA(o,s,u,a((f,h,y)=>{for(;p!==h;p+=1)c.push(new pt(tr,e[p]));for(;d!==y;d+=1)c.push(new pt(Ut,t[d]));for(;f!==0;f-=1,p+=1,d+=1)c.push(new pt(ht,t[d]))},"foundSubsequence"));p!==o;p+=1)c.push(new pt(tr,e[p]));for(;d!==s;d+=1)c.push(new pt(Ut,t[d]));return[c,l]}a(Vb,"diffLinesRaw");function $m(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}`)}a($m,"getType");function Fm(e){return e.includes(`\r
|
|
184
|
-
`)?`\r
|
|
185
|
-
`:`
|
|
186
|
-
`}a(Fm,"getNewLineSymbol");function eR(e,t,r){let n=r?.truncateThreshold??!1,i=Math.max(Math.floor(r?.truncateThreshold??0),0),o=e.length,s=t.length;if(n){let f=e.includes(`
|
|
187
|
-
`),h=t.includes(`
|
|
188
|
-
`),y=Fm(e),b=Fm(t),g=f?`${e.split(y,i).join(y)}
|
|
189
|
-
`:e,m=h?`${t.split(b,i).join(b)}
|
|
190
|
-
`:t;o=g.length,s=m.length}let l=o!==e.length||s!==t.length,u=a((f,h)=>e[f]===t[h],"isCommon"),c=0,p=0,d=[];return VA(o,s,u,a((f,h,y)=>{c!==h&&d.push(new pt(tr,e.slice(c,h))),p!==y&&d.push(new pt(Ut,t.slice(p,y))),c=h+f,p=y+f,d.push(new pt(ht,t.slice(y,p)))},"foundSubsequence")),c!==o&&d.push(new pt(tr,e.slice(c))),p!==s&&d.push(new pt(Ut,t.slice(p))),[d,l]}a(eR,"diffStrings");function tR(e,t,r){return t.reduce((n,i)=>n+(i[0]===ht?i[1]:i[0]===e&&i[1].length!==0?r(i[1]):""),"")}a(tR,"concatenateRelevantDiffs");var rR=class{op;line;lines;changeColor;constructor(t,r){this.op=t,this.line=[],this.lines=[],this.changeColor=r}pushSubstring(t){this.pushDiff(new pt(this.op,t))}pushLine(){this.lines.push(this.line.length!==1?new pt(this.op,tR(this.op,this.line,this.changeColor)):this.line[0][0]===this.op?this.line[0]:new pt(this.op,this.line[0][1])),this.line.length=0}isLineEmpty(){return this.line.length===0}pushDiff(t){this.line.push(t)}align(t){let r=t[1];if(r.includes(`
|
|
191
|
-
`)){let n=r.split(`
|
|
192
|
-
`),i=n.length-1;n.forEach((o,s)=>{s<i?(this.pushSubstring(o),this.pushLine()):o.length!==0&&this.pushSubstring(o)})}else this.pushDiff(t)}moveLinesTo(t){this.isLineEmpty()||this.pushLine(),t.push(...this.lines),this.lines.length=0}};a(rR,"ChangeBuffer");var hx=rR,nR=class{deleteBuffer;insertBuffer;lines;constructor(t,r){this.deleteBuffer=t,this.insertBuffer=r,this.lines=[]}pushDiffCommonLine(t){this.lines.push(t)}pushDiffChangeLines(t){let r=t[1].length===0;(!r||this.deleteBuffer.isLineEmpty())&&this.deleteBuffer.pushDiff(t),(!r||this.insertBuffer.isLineEmpty())&&this.insertBuffer.pushDiff(t)}flushChangeLines(){this.deleteBuffer.moveLinesTo(this.lines),this.insertBuffer.moveLinesTo(this.lines)}align(t){let r=t[0],n=t[1];if(n.includes(`
|
|
193
|
-
`)){let i=n.split(`
|
|
194
|
-
`),o=i.length-1;i.forEach((s,l)=>{if(l===0){let u=new pt(r,s);this.deleteBuffer.isLineEmpty()&&this.insertBuffer.isLineEmpty()?(this.flushChangeLines(),this.pushDiffCommonLine(u)):(this.pushDiffChangeLines(u),this.flushChangeLines())}else l<o?this.pushDiffCommonLine(new pt(r,s)):s.length!==0&&this.pushDiffChangeLines(new pt(r,s))})}else this.pushDiffChangeLines(t)}getLines(){return this.flushChangeLines(),this.lines}};a(nR,"CommonBuffer");var UG=nR;function iR(e,t){let r=new hx(tr,t),n=new hx(Ut,t),i=new UG(r,n);return e.forEach(o=>{switch(o[0]){case tr:r.align(o);break;case Ut:n.align(o);break;default:i.align(o)}}),i.getLines()}a(iR,"getAlignedDiffs");function oR(e,t){if(t){let r=e.length-1;return e.some((n,i)=>n[0]===ht&&(i!==r||n[1]!==`
|
|
195
|
-
`))}return e.some(r=>r[0]===ht)}a(oR,"hasCommonDiff");function sR(e,t,r){if(e!==t&&e.length!==0&&t.length!==0){let n=e.includes(`
|
|
196
|
-
`)||t.includes(`
|
|
197
|
-
`),[i,o]=Hb(n?`${e}
|
|
198
|
-
`:e,n?`${t}
|
|
199
|
-
`:t,!0,r);if(oR(i,n)){let s=Ui(r),l=iR(i,s.changeColor);return Sd(l,o,s)}}return nu(e.split(`
|
|
200
|
-
`),t.split(`
|
|
201
|
-
`),r)}a(sR,"diffStringsUnified");function Hb(e,t,r,n){let[i,o]=eR(e,t,n);return r&&$A(i),[i,o]}a(Hb,"diffStringsRaw");function Fc(e,t){let{commonColor:r}=Ui(t);return r(e)}a(Fc,"getCommonMessage");var{AsymmetricMatcher:VG,DOMCollection:HG,DOMElement:JG,Immutable:WG,ReactElement:zG,ReactTestComponent:KG}=qb,aR=[KG,zG,JG,HG,WG,VG,qb.Error],Bm={maxDepth:20,plugins:aR},lR={callToJSON:!1,maxDepth:8,plugins:aR};function Bo(e,t,r){if(Object.is(e,t))return"";let n=$m(e),i=n,o=!1;if(n==="object"&&typeof e.asymmetricMatch=="function"){if(e.$$typeof!==Symbol.for("jest.asymmetricMatcher")||typeof e.getExpectedType!="function")return;i=e.getExpectedType(),o=i==="string"}if(i!==$m(t)){let s=function(S){return S.length<=g?S:`${S.slice(0,g)}...`};a(s,"truncate");let{aAnnotation:l,aColor:u,aIndicator:c,bAnnotation:p,bColor:d,bIndicator:f}=Ui(r),h=Bc(lR,r),y=Xr(e,h),b=Xr(t,h),g=1e5;y=s(y),b=s(b);let m=`${u(`${c} ${l}:`)}
|
|
202
|
-
${y}`,v=`${d(`${f} ${p}:`)}
|
|
203
|
-
${b}`;return`${m}
|
|
204
|
-
|
|
205
|
-
${v}`}if(!o)switch(n){case"string":return nu(e.split(`
|
|
206
|
-
`),t.split(`
|
|
207
|
-
`),r);case"boolean":case"number":return uR(e,t,r);case"map":return pc(Um(e),Um(t),r);case"set":return pc(Vm(e),Vm(t),r);default:return pc(e,t,r)}}a(Bo,"diff");function uR(e,t,r){let n=Xr(e,Bm),i=Xr(t,Bm);return n===i?"":nu(n.split(`
|
|
208
|
-
`),i.split(`
|
|
209
|
-
`),r)}a(uR,"comparePrimitive");function Um(e){return new Map(Array.from(e.entries()).sort())}a(Um,"sortMap");function Vm(e){return new Set(Array.from(e.values()).sort())}a(Vm,"sortSet");function pc(e,t,r){let n,i=!1;try{let s=Bc(Bm,r);n=Hm(e,t,s,r)}catch{i=!0}let o=Fc(BA,r);if(n===void 0||n===o){let s=Bc(lR,r);n=Hm(e,t,s,r),n!==o&&!i&&(n=`${Fc($G,r)}
|
|
210
|
-
|
|
211
|
-
${n}`)}return n}a(pc,"compareObjects");function Bc(e,t){let{compareKeys:r,printBasicPrototype:n,maxDepth:i}=Ui(t);return{...e,compareKeys:r,printBasicPrototype:n,maxDepth:i??e.maxDepth}}a(Bc,"getFormatOptions");function Hm(e,t,r,n){let i={...r,indent:0},o=Xr(e,i),s=Xr(t,i);if(o===s)return Fc(BA,n);{let l=Xr(e,r),u=Xr(t,r);return ZA(l.split(`
|
|
212
|
-
`),u.split(`
|
|
213
|
-
`),o.split(`
|
|
214
|
-
`),s.split(`
|
|
215
|
-
`),n)}}a(Hm,"getObjectsDifference");var mx=2e4;function Jm(e){return bl(e)==="Object"&&typeof e.asymmetricMatch=="function"}a(Jm,"isAsymmetricMatcher");function Wm(e,t){let r=bl(e),n=bl(t);return r===n&&(r==="Object"||r==="Array")}a(Wm,"isReplaceable");function Jb(e,t,r){let{aAnnotation:n,bAnnotation:i}=Ui(r);if(typeof t=="string"&&typeof e=="string"&&t.length>0&&e.length>0&&t.length<=mx&&e.length<=mx&&t!==e){if(t.includes(`
|
|
216
|
-
`)||e.includes(`
|
|
217
|
-
`))return sR(t,e,r);let[c]=Hb(t,e,!0),p=c.some(y=>y[0]===ht),d=cR(n,i),f=d(n)+dR(zm(c,tr,p)),h=d(i)+pR(zm(c,Ut,p));return`${f}
|
|
218
|
-
${h}`}let o=jm(t,{forceWritable:!0}),s=jm(e,{forceWritable:!0}),{replacedExpected:l,replacedActual:u}=Wb(s,o);return Bo(l,u,r)}a(Jb,"printDiffOrStringify");function Wb(e,t,r=new WeakSet,n=new WeakSet){return e instanceof Error&&t instanceof Error&&typeof e.cause<"u"&&typeof t.cause>"u"?(delete e.cause,{replacedActual:e,replacedExpected:t}):Wm(e,t)?r.has(e)||n.has(t)?{replacedActual:e,replacedExpected:t}:(r.add(e),n.add(t),Db(t).forEach(i=>{let o=t[i],s=e[i];if(Jm(o))o.asymmetricMatch(s)&&(e[i]=o);else if(Jm(s))s.asymmetricMatch(o)&&(t[i]=s);else if(Wm(s,o)){let l=Wb(s,o,r,n);e[i]=l.replacedActual,t[i]=l.replacedExpected}}),{replacedActual:e,replacedExpected:t}):{replacedActual:e,replacedExpected:t}}a(Wb,"replaceAsymmetricMatcher");function cR(...e){let t=e.reduce((r,n)=>n.length>r?n.length:r,0);return r=>`${r}: ${" ".repeat(t-r.length)}`}a(cR,"getLabelPrinter");var GG="·";function zb(e){return e.replace(/\s+$/gm,t=>GG.repeat(t.length))}a(zb,"replaceTrailingSpaces");function pR(e){return yt.red(zb(hr(e)))}a(pR,"printReceived");function dR(e){return yt.green(zb(hr(e)))}a(dR,"printExpected");function zm(e,t,r){return e.reduce((n,i)=>n+(i[0]===ht?i[1]:i[0]===t?r?yt.inverse(i[1]):i[1]:""),"")}a(zm,"getCommonAndChangedSubstrings");var YG="@@__IMMUTABLE_RECORD__@@",XG="@@__IMMUTABLE_ITERABLE__@@";function fR(e){return e&&(e[XG]||e[YG])}a(fR,"isImmutable");var QG=Object.getPrototypeOf({});function Km(e){return e instanceof Error?`<unserializable>: ${e.message}`:typeof e=="string"?`<unserializable>: ${e}`:"<unserializable>"}a(Km,"getUnserializableMessage");function $n(e,t=new WeakMap){if(!e||typeof e=="string")return e;if(e instanceof Error&&"toJSON"in e&&typeof e.toJSON=="function"){let r=e.toJSON();return r&&r!==e&&typeof r=="object"&&(typeof e.message=="string"&&qa(()=>r.message??(r.message=e.message)),typeof e.stack=="string"&&qa(()=>r.stack??(r.stack=e.stack)),typeof e.name=="string"&&qa(()=>r.name??(r.name=e.name)),e.cause!=null&&qa(()=>r.cause??(r.cause=$n(e.cause,t)))),$n(r,t)}if(typeof e=="function")return`Function<${e.name||"anonymous"}>`;if(typeof e=="symbol")return e.toString();if(typeof e!="object")return e;if(typeof Buffer<"u"&&e instanceof Buffer)return`<Buffer(${e.length}) ...>`;if(typeof Uint8Array<"u"&&e instanceof Uint8Array)return`<Uint8Array(${e.length}) ...>`;if(fR(e))return $n(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()} ${NA(e.sample)}`;if(typeof e.toJSON=="function")return $n(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,i)=>{try{r[i]=$n(n,t)}catch(o){r[i]=Km(o)}}),r}else{let r=Object.create(null);t.set(e,r);let n=e;for(;n&&n!==QG;)Object.getOwnPropertyNames(n).forEach(i=>{if(!(i in r))try{r[i]=$n(e[i],t)}catch(o){delete r[i],r[i]=Km(o)}}),n=Object.getPrototypeOf(n);return r}}a($n,"serializeValue");function qa(e){try{return e()}catch{}}a(qa,"safe");function hR(e){return e.replace(/__(vite_ssr_import|vi_import)_\d+__\./g,"")}a(hR,"normalizeErrorMessage");function Cd(e,t,r=new WeakSet){if(!e||typeof e!="object")return{message:String(e)};let n=e;(n.showDiff||n.showDiff===void 0&&n.expected!==void 0&&n.actual!==void 0)&&(n.diff=Jb(n.actual,n.expected,{...t,...n.diffOptions})),"expected"in n&&typeof n.expected!="string"&&(n.expected=hr(n.expected,10)),"actual"in n&&typeof n.actual!="string"&&(n.actual=hr(n.actual,10));try{typeof n.message=="string"&&(n.message=hR(n.message))}catch{}try{!r.has(n)&&typeof n.cause=="object"&&(r.add(n),n.cause=Cd(n.cause,t,r))}catch{}try{return $n(n)}catch(i){return $n(new Error(`Failed to fully serialize error: ${i?.message}
|
|
219
|
-
Inner error message: ${n?.message}`))}}a(Cd,"processError");var Pn={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"},Oh=globalThis.__STORYBOOK_ADDONS_PREVIEW,ZG=new Error("This function ran after the play function completed. Did you forget to `await` it?"),yx=a(e=>Object.prototype.toString.call(e)==="[object Object]","isObject"),e7=a(e=>Object.prototype.toString.call(e)==="[object Module]","isModule"),t7=a(e=>{if(!yx(e)&&!e7(e))return!1;if(e.constructor===void 0)return!0;let t=e.constructor.prototype;return!!yx(t)},"isInstrumentable"),r7=a(e=>{try{return new e.constructor}catch{return{}}},"construct"),Ph=a(()=>({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}),"getInitialState"),gx=a((e,t=!1)=>{let r=(t?e.shadowCalls:e.calls).filter(i=>i.retain);if(!r.length)return;let n=new Map(Array.from(e.callRefsByResult.entries()).filter(([,i])=>i.retain));return{cursor:r.length,calls:r,callRefsByResult:n}},"getRetainedState"),mR=class{constructor(){this.detached=!1,this.initialized=!1,this.state={},this.loadParentWindowState=a(()=>{try{this.state=he.window?.parent?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__||{}}catch{this.detached=!0}},"loadParentWindowState"),this.updateParentWindowState=a(()=>{try{he.window.parent.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER_STATE__=this.state}catch{this.detached=!0}},"updateParentWindowState"),this.loadParentWindowState();let t=a(({storyId:u,isPlaying:c=!0,isDebugging:p=!1})=>{let d=this.getState(u);this.setState(u,{...Ph(),...gx(d,p),shadowCalls:p?d.shadowCalls:[],chainedCallIds:p?d.chainedCallIds:new Set,playUntil:p?d.playUntil:void 0,isPlaying:c,isDebugging:p}),this.sync(u)},"resetState"),r=a(u=>({storyId:c,playUntil:p})=>{this.getState(c).isDebugging||this.setState(c,({calls:f})=>({calls:[],shadowCalls:f.map(h=>({...h,status:"waiting"})),isDebugging:!0}));let d=this.getLog(c);this.setState(c,({shadowCalls:f})=>{if(p||!d.length)return{playUntil:p};let h=f.findIndex(y=>y.id===d[0].callId);return{playUntil:f.slice(0,h).filter(y=>y.interceptable&&!y.ancestors?.length).slice(-1)[0]?.id}}),u.emit(qc,{storyId:c,isDebugging:!0})},"start"),n=a(u=>({storyId:c})=>{let p=this.getLog(c).filter(f=>!f.ancestors?.length),d=p.reduceRight((f,h,y)=>f>=0||h.status==="waiting"?f:y,-1);r(u)({storyId:c,playUntil:p[d-1]?.callId})},"back"),i=a(u=>({storyId:c,callId:p})=>{let{calls:d,shadowCalls:f,resolvers:h}=this.getState(c),y=d.find(({id:g})=>g===p),b=f.find(({id:g})=>g===p);if(!y&&b&&Object.values(h).length>0){let g=this.getLog(c).find(m=>m.status==="waiting")?.callId;b.id!==g&&this.setState(c,{playUntil:b.id}),Object.values(h).forEach(m=>m())}else r(u)({storyId:c,playUntil:p})},"goto"),o=a(u=>({storyId:c})=>{let{resolvers:p}=this.getState(c);if(Object.values(p).length>0)Object.values(p).forEach(d=>d());else{let d=this.getLog(c).find(f=>f.status==="waiting")?.callId;d?r(u)({storyId:c,playUntil:d}):s({storyId:c})}},"next"),s=a(({storyId:u})=>{this.setState(u,{playUntil:void 0,isDebugging:!1}),Object.values(this.getState(u).resolvers).forEach(c=>c())},"end"),l=a(({storyId:u,newPhase:c})=>{let{isDebugging:p}=this.getState(u);this.setState(u,{renderPhase:c}),c==="preparing"&&p&&t({storyId:u}),c==="playing"&&t({storyId:u,isDebugging:p}),c==="played"&&this.setState(u,{isLocked:!1,isPlaying:!1,isDebugging:!1}),c==="errored"&&this.setState(u,{isLocked:!1,isPlaying:!1})},"renderPhaseChanged");Oh&&Oh.ready().then(()=>{this.channel=Oh.getChannel(),this.channel.on(qc,t),this.channel.on(xo,l),this.channel.on(Qg,()=>{this.initialized?this.cleanup():this.initialized=!0}),this.channel.on(Pn.START,r(this.channel)),this.channel.on(Pn.BACK,n(this.channel)),this.channel.on(Pn.GOTO,i(this.channel)),this.channel.on(Pn.NEXT,o(this.channel)),this.channel.on(Pn.END,s)})}getState(t){return this.state[t]||Ph()}setState(t,r){let n=this.getState(t),i=typeof r=="function"?r(n):r;this.state={...this.state,[t]:{...n,...i}},this.updateParentWindowState()}cleanup(){this.state=Object.entries(this.state).reduce((r,[n,i])=>{let o=gx(i);return o&&(r[n]=Object.assign(Ph(),o)),r},{});let t={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:[]};this.channel?.emit(Pn.SYNC,t),this.updateParentWindowState()}getLog(t){let{calls:r,shadowCalls:n}=this.getState(t),i=[...n];r.forEach((s,l)=>{i[l]=s});let o=new Set;return i.reduceRight((s,l)=>(l.args.forEach(u=>{u?.__callId__&&o.add(u.__callId__)}),l.path.forEach(u=>{u.__callId__&&o.add(u.__callId__)}),(l.interceptable||l.exception)&&!o.has(l.id)&&(s.unshift({callId:l.id,status:l.status,ancestors:l.ancestors}),o.add(l.id)),s),[])}instrument(t,r,n=0){if(!t7(t))return t;let{mutate:i=!1,path:o=[]}=r,s=r.getKeys?r.getKeys(t,n):Object.keys(t);return n+=1,s.reduce((l,u)=>{let c=yR(t,u);if(typeof c?.get=="function"){if(c.configurable){let d=a(()=>c?.get?.bind(t)?.(),"getter");Object.defineProperty(l,u,{get:a(()=>this.instrument(d(),{...r,path:o.concat(u)},n),"get")})}return l}let p=t[u];return typeof p!="function"?(l[u]=this.instrument(p,{...r,path:o.concat(u)},n),l):"__originalFn__"in p&&typeof p.__originalFn__=="function"?(l[u]=p,l):(l[u]=(...d)=>this.track(u,p,t,d,r),l[u].__originalFn__=p,Object.defineProperty(l[u],"name",{value:u,writable:!1}),Object.keys(p).length>0&&Object.assign(l[u],this.instrument({...p},{...r,path:o.concat(u)},n)),l)},i?t:r7(t))}track(t,r,n,i,o){let s=i?.[0]?.__storyId__||he.__STORYBOOK_PREVIEW__?.selectionStore?.selection?.storyId,{cursor:l,ancestors:u}=this.getState(s);this.setState(s,{cursor:l+1});let c=`${u.slice(-1)[0]||s} [${l}] ${t}`,{path:p=[],intercept:d=!1,retain:f=!1}=o,h=typeof d=="function"?d(t,p):d,y={id:c,cursor:l,storyId:s,ancestors:u,path:p,method:t,args:i,interceptable:h,retain:f},b=(h&&!u.length?this.intercept:this.invoke).call(this,r,n,y,o);return this.instrument(b,{...o,mutate:!0,path:[{__callId__:y.id}]})}intercept(t,r,n,i){let{chainedCallIds:o,isDebugging:s,playUntil:l}=this.getState(n.storyId),u=o.has(n.id);return!s||u||l?(l===n.id&&this.setState(n.storyId,{playUntil:void 0}),this.invoke(t,r,n,i)):new Promise(c=>{this.setState(n.storyId,({resolvers:p})=>({isLocked:!1,resolvers:{...p,[n.id]:c}}))}).then(()=>(this.setState(n.storyId,c=>{let{[n.id]:p,...d}=c.resolvers;return{isLocked:!0,resolvers:d}}),this.invoke(t,r,n,i)))}invoke(t,r,n,i){let{callRefsByResult:o,renderPhase:s}=this.getState(n.storyId),l=25,u=a((d,f,h)=>{if(h.includes(d))return"[Circular]";if(h=[...h,d],f>l)return"...";if(o.has(d))return o.get(d);if(d instanceof Array)return d.map(y=>u(y,++f,h));if(d instanceof Date)return{__date__:{value:d.toISOString()}};if(d instanceof Error){let{name:y,message:b,stack:g}=d;return{__error__:{name:y,message:b,stack:g}}}if(d instanceof RegExp){let{flags:y,source:b}=d;return{__regexp__:{flags:y,source:b}}}if(d instanceof he.window?.HTMLElement){let{prefix:y,localName:b,id:g,classList:m,innerText:v}=d,S=Array.from(m);return{__element__:{prefix:y,localName:b,id:g,classNames:S,innerText:v}}}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(([y,b])=>[y,u(b,++f,h)])):d},"serializeValues"),c={...n,args:n.args.map(d=>u(d,0,[]))};n.path.forEach(d=>{d?.__callId__&&this.setState(n.storyId,({chainedCallIds:f})=>({chainedCallIds:new Set(Array.from(f).concat(d.__callId__))}))});let p=a(d=>{if(d instanceof Error){let{name:f,message:h,stack:y,callId:b=n.id}=d,{showDiff:g=void 0,diff:m=void 0,actual:v=void 0,expected:S=void 0}=d.name==="AssertionError"?Cd(d):d,O={name:f,message:h,stack:y,callId:b,showDiff:g,diff:m,actual:v,expected:S};if(this.update({...c,status:"error",exception:O}),this.setState(n.storyId,P=>({callRefsByResult:new Map([...Array.from(P.callRefsByResult.entries()),[d,{__callId__:n.id,retain:n.retain}]])})),n.ancestors?.length)throw Object.prototype.hasOwnProperty.call(d,"callId")||Object.defineProperty(d,"callId",{value:n.id}),d}throw d},"handleException");try{if(s==="played"&&!n.retain)throw ZG;let d=(i.getArgs?i.getArgs(n,this.getState(n.storyId)):n.args).map(h=>typeof h!="function"||gR(h)||Object.keys(h).length?h:(...y)=>{let{cursor:b,ancestors:g}=this.getState(n.storyId);this.setState(n.storyId,{cursor:0,ancestors:[...g,n.id]});let m=a(()=>this.setState(n.storyId,{cursor:b,ancestors:g}),"restore"),v=!1;try{let S=h(...y);return S instanceof Promise?(v=!0,S.finally(m)):S}finally{v||m()}}),f=t.apply(r,d);return f&&["object","function","symbol"].includes(typeof f)&&this.setState(n.storyId,h=>({callRefsByResult:new Map([...Array.from(h.callRefsByResult.entries()),[f,{__callId__:n.id,retain:n.retain}]])})),this.update({...c,status:f instanceof Promise?"active":"done"}),f instanceof Promise?f.then(h=>(this.update({...c,status:"done"}),h),p):f}catch(d){return p(d)}}update(t){this.channel?.emit(Pn.CALL,t),this.setState(t.storyId,({calls:r})=>{let n=r.concat(t).reduce((i,o)=>Object.assign(i,{[o.id]:o}),{});return{calls:Object.values(n).sort((i,o)=>i.id.localeCompare(o.id,void 0,{numeric:!0}))}}),this.sync(t.storyId)}sync(t){let r=a(()=>{let{isLocked:n,isPlaying:i}=this.getState(t),o=this.getLog(t),s=o.filter(({ancestors:p})=>!p.length).find(p=>p.status==="waiting")?.callId,l=o.some(p=>p.status==="active");if(this.detached||n||l||o.length===0){let p={controlStates:{detached:this.detached,start:!1,back:!1,goto:!1,next:!1,end:!1},logItems:o};this.channel?.emit(Pn.SYNC,p);return}let u=o.some(p=>p.status==="done"||p.status==="error"),c={controlStates:{detached:this.detached,start:u,back:u,goto:!0,next:i,end:i},logItems:o,pausedAt:s};this.channel?.emit(Pn.SYNC,c)},"synchronize");this.setState(t,({syncTimeout:n})=>(clearTimeout(n),{syncTimeout:setTimeout(r,0)}))}};a(mR,"Instrumenter");var n7=mR;function sa(e,t={}){try{let r=!1,n=!1;return he.window?.location?.search?.includes("instrument=true")?r=!0:he.window?.location?.search?.includes("instrument=false")&&(n=!0),he.window?.parent===he.window&&!r||n?e:(he.window&&!he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__&&(he.window.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__=new n7),(he.window?.__STORYBOOK_ADDON_INTERACTIONS_INSTRUMENTER__).instrument(e,t))}catch(r){return vt.warn(r),e}}a(sa,"instrument");function yR(e,t){let r=e;for(;r!=null;){let n=Object.getOwnPropertyDescriptor(r,t);if(n)return n;r=Object.getPrototypeOf(r)}}a(yR,"getPropertyDescriptor");function gR(e){if(typeof e!="function")return!1;let t=Object.getOwnPropertyDescriptor(e,"prototype");return t?!t.writable:!1}a(gR,"isClass");var bR=Object.defineProperty,i7=Object.getOwnPropertyNames,G=a((e,t)=>bR(e,"name",{value:t,configurable:!0}),"__name"),o7=a((e,t)=>a(function(){return t||(0,e[i7(e)[0]])((t={exports:{}}).exports,t),t.exports},"__require"),"__commonJS"),Kb=a((e,t)=>{for(var r in t)bR(e,r,{get:t[r],enumerable:!0})},"__export"),s7=o7({"(disabled):util"(){}}),fn={};Kb(fn,{addChainableMethod:a(()=>Ld,"addChainableMethod"),addLengthGuard:a(()=>ua,"addLengthGuard"),addMethod:a(()=>qd,"addMethod"),addProperty:a(()=>Md,"addProperty"),checkError:a(()=>vr,"checkError"),compareByInspect:a(()=>wl,"compareByInspect"),eql:a(()=>ER,"eql"),expectTypes:a(()=>tv,"expectTypes"),flag:a(()=>Pe,"flag"),getActual:a(()=>ou,"getActual"),getMessage:a(()=>Ad,"getMessage"),getName:a(()=>au,"getName"),getOperator:a(()=>Ud,"getOperator"),getOwnEnumerableProperties:a(()=>Bd,"getOwnEnumerableProperties"),getOwnEnumerablePropertySymbols:a(()=>Fd,"getOwnEnumerablePropertySymbols"),getPathInfo:a(()=>kd,"getPathInfo"),hasProperty:a(()=>su,"hasProperty"),inspect:a(()=>Fe,"inspect"),isNaN:a(()=>rp,"isNaN"),isNumeric:a(()=>Mt,"isNumeric"),isProxyEnabled:a(()=>la,"isProxyEnabled"),isRegExp:a(()=>xl,"isRegExp"),objDisplay:a(()=>Ti,"objDisplay"),overwriteChainableMethod:a(()=>$d,"overwriteChainableMethod"),overwriteMethod:a(()=>Dd,"overwriteMethod"),overwriteProperty:a(()=>jd,"overwriteProperty"),proxify:a(()=>Uo,"proxify"),test:a(()=>Od,"test"),transferFlags:a(()=>Vr,"transferFlags"),type:a(()=>Ke,"type")});var vr={};Kb(vr,{compatibleConstructor:a(()=>Xb,"compatibleConstructor"),compatibleInstance:a(()=>Yb,"compatibleInstance"),compatibleMessage:a(()=>Qb,"compatibleMessage"),getConstructorName:a(()=>Zb,"getConstructorName"),getMessage:a(()=>ev,"getMessage")});function iu(e){return e instanceof Error||Object.prototype.toString.call(e)==="[object Error]"}a(iu,"isErrorInstance");G(iu,"isErrorInstance");function Gb(e){return Object.prototype.toString.call(e)==="[object RegExp]"}a(Gb,"isRegExp");G(Gb,"isRegExp");function Yb(e,t){return iu(t)&&e===t}a(Yb,"compatibleInstance");G(Yb,"compatibleInstance");function Xb(e,t){return iu(t)?e.constructor===t.constructor||e instanceof t.constructor:(typeof t=="object"||typeof t=="function")&&t.prototype?e.constructor===t||e instanceof t:!1}a(Xb,"compatibleConstructor");G(Xb,"compatibleConstructor");function Qb(e,t){let r=typeof e=="string"?e:e.message;return Gb(t)?t.test(r):typeof t=="string"?r.indexOf(t)!==-1:!1}a(Qb,"compatibleMessage");G(Qb,"compatibleMessage");function Zb(e){let t=e;return iu(e)?t=e.constructor.name:typeof e=="function"&&(t=e.name,t===""&&(t=new e().name||t)),t}a(Zb,"getConstructorName");G(Zb,"getConstructorName");function ev(e){let t="";return e&&e.message?t=e.message:typeof e=="string"&&(t=e),t}a(ev,"getMessage");G(ev,"getMessage");function Pe(e,t,r){var n=e.__flags||(e.__flags=Object.create(null));if(arguments.length===3)n[t]=r;else return n[t]}a(Pe,"flag");G(Pe,"flag");function Od(e,t){var r=Pe(e,"negate"),n=t[0];return r?!n:n}a(Od,"test");G(Od,"test");function Ke(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)}a(Ke,"type");G(Ke,"type");var a7="captureStackTrace"in Error,Ca,Ve=(Ca=class extends Error{message;get name(){return"AssertionError"}get ok(){return!1}constructor(e="Unspecified AssertionError",t,r){super(e),this.message=e,a7&&Error.captureStackTrace(this,r||Ca);for(let n in t)n in this||(this[n]=t[n])}toJSON(e){return{...this,name:this.name,message:this.message,ok:!1,stack:e!==!1?this.stack:void 0}}},a(Ca,"_AssertionError"),G(Ca,"AssertionError"),Ca);function tv(e,t){var r=Pe(e,"message"),n=Pe(e,"ssfi");r=r?r+": ":"",e=Pe(e,"object"),t=t.map(function(s){return s.toLowerCase()}),t.sort();var i=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(", "),o=Ke(e).toLowerCase();if(!t.some(function(s){return o===s}))throw new Ve(r+"object tested must be "+i+", but "+o+" given",void 0,n)}a(tv,"expectTypes");G(tv,"expectTypes");function ou(e,t){return t.length>4?t[4]:e._obj}a(ou,"getActual");G(ou,"getActual");var bx={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"]},l7={special:"cyan",number:"yellow",bigint:"yellow",boolean:"yellow",undefined:"grey",null:"bold",string:"green",symbol:"green",date:"magenta",regexp:"red"},qs="…";function rv(e,t){let r=bx[l7[t]]||bx[t]||"";return r?`\x1B[${r[0]}m${String(e)}\x1B[${r[1]}m`:String(e)}a(rv,"colorise");G(rv,"colorise");function nv({showHidden:e=!1,depth:t=2,colors:r=!1,customInspect:n=!0,showProxy:i=!1,maxArrayLength:o=1/0,breakLength:s=1/0,seen:l=[],truncate:u=1/0,stylize:c=String}={},p){let d={showHidden:!!e,depth:Number(t),colors:!!r,customInspect:!!n,showProxy:!!i,maxArrayLength:Number(o),breakLength:Number(s),truncate:Number(u),seen:l,inspect:p,stylize:c};return d.colors&&(d.stylize=rv),d}a(nv,"normaliseOptions");G(nv,"normaliseOptions");function iv(e){return e>="\uD800"&&e<="\uDBFF"}a(iv,"isHighSurrogate");G(iv,"isHighSurrogate");function wn(e,t,r=qs){e=String(e);let n=r.length,i=e.length;if(n>t&&i>n)return r;if(i>t&&i>n){let o=t-n;return o>0&&iv(e[o-1])&&(o=o-1),`${e.slice(0,o)}${r}`}return e}a(wn,"truncate");G(wn,"truncate");function Cr(e,t,r,n=", "){r=r||t.inspect;let i=e.length;if(i===0)return"";let o=t.truncate,s="",l="",u="";for(let c=0;c<i;c+=1){let p=c+1===e.length,d=c+2===e.length;u=`${qs}(${e.length-c})`;let f=e[c];t.truncate=o-s.length-(p?0:n.length);let h=l||r(f,t)+(p?"":n),y=s.length+h.length,b=y+u.length;if(p&&y>o&&s.length+u.length<=o||!p&&!d&&b>o||(l=p?"":r(e[c+1],t)+(d?"":n),!p&&d&&b>o&&y+l.length>o))break;if(s+=h,!p&&!d&&y+l.length>=o){u=`${qs}(${e.length-c-1})`;break}u=""}return`${s}${u}`}a(Cr,"inspectList");G(Cr,"inspectList");function ov(e){return e.match(/^[a-zA-Z_][a-zA-Z_0-9]*$/)?e:JSON.stringify(e).replace(/'/g,"\\'").replace(/\\"/g,'"').replace(/(^"|"$)/g,"'")}a(ov,"quoteComplexKey");G(ov,"quoteComplexKey");function To([e,t],r){return r.truncate-=2,typeof e=="string"?e=ov(e):typeof e!="number"&&(e=`[${r.inspect(e,r)}]`),r.truncate-=e.length,t=r.inspect(t,r),`${e}: ${t}`}a(To,"inspectProperty");G(To,"inspectProperty");function sv(e,t){let r=Object.keys(e).slice(e.length);if(!e.length&&!r.length)return"[]";t.truncate-=4;let n=Cr(e,t);t.truncate-=n.length;let i="";return r.length&&(i=Cr(r.map(o=>[o,e[o]]),t,To)),`[ ${n}${i?`, ${i}`:""} ]`}a(sv,"inspectArray");G(sv,"inspectArray");var u7=G(e=>typeof Buffer=="function"&&e instanceof Buffer?"Buffer":e[Symbol.toStringTag]?e[Symbol.toStringTag]:e.constructor.name,"getArrayName");function zr(e,t){let r=u7(e);t.truncate-=r.length+4;let n=Object.keys(e).slice(e.length);if(!e.length&&!n.length)return`${r}[]`;let i="";for(let s=0;s<e.length;s++){let l=`${t.stylize(wn(e[s],t.truncate),"number")}${s===e.length-1?"":", "}`;if(t.truncate-=l.length,e[s]!==e.length&&t.truncate<=3){i+=`${qs}(${e.length-e[s]+1})`;break}i+=l}let o="";return n.length&&(o=Cr(n.map(s=>[s,e[s]]),t,To)),`${r}[ ${i}${o?`, ${o}`:""} ]`}a(zr,"inspectTypedArray");G(zr,"inspectTypedArray");function av(e,t){let r=e.toJSON();if(r===null)return"Invalid Date";let n=r.split("T"),i=n[0];return t.stylize(`${i}T${wn(n[1],t.truncate-i.length-1)}`,"date")}a(av,"inspectDate");G(av,"inspectDate");function Uc(e,t){let r=e[Symbol.toStringTag]||"Function",n=e.name;return n?t.stylize(`[${r} ${wn(n,t.truncate-11)}]`,"special"):t.stylize(`[${r}]`,"special")}a(Uc,"inspectFunction");G(Uc,"inspectFunction");function lv([e,t],r){return r.truncate-=4,e=r.inspect(e,r),r.truncate-=e.length,t=r.inspect(t,r),`${e} => ${t}`}a(lv,"inspectMapEntry");G(lv,"inspectMapEntry");function uv(e){let t=[];return e.forEach((r,n)=>{t.push([n,r])}),t}a(uv,"mapToEntries");G(uv,"mapToEntries");function cv(e,t){return e.size-1<=0?"Map{}":(t.truncate-=7,`Map{ ${Cr(uv(e),t,lv)} }`)}a(cv,"inspectMap");G(cv,"inspectMap");var c7=Number.isNaN||(e=>e!==e);function Vc(e,t){return c7(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(wn(String(e),t.truncate),"number")}a(Vc,"inspectNumber");G(Vc,"inspectNumber");function Hc(e,t){let r=wn(e.toString(),t.truncate-1);return r!==qs&&(r+="n"),t.stylize(r,"bigint")}a(Hc,"inspectBigInt");G(Hc,"inspectBigInt");function pv(e,t){let r=e.toString().split("/")[2],n=t.truncate-(2+r.length),i=e.source;return t.stylize(`/${wn(i,n)}/${r}`,"regexp")}a(pv,"inspectRegExp");G(pv,"inspectRegExp");function dv(e){let t=[];return e.forEach(r=>{t.push(r)}),t}a(dv,"arrayFromSet");G(dv,"arrayFromSet");function fv(e,t){return e.size===0?"Set{}":(t.truncate-=7,`Set{ ${Cr(dv(e),t)} }`)}a(fv,"inspectSet");G(fv,"inspectSet");var vx=new RegExp("['\\u0000-\\u001f\\u007f-\\u009f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]","g"),p7={"\b":"\\b"," ":"\\t","\n":"\\n","\f":"\\f","\r":"\\r","'":"\\'","\\":"\\\\"},d7=16;function hv(e){return p7[e]||`\\u${`0000${e.charCodeAt(0).toString(d7)}`.slice(-4)}`}a(hv,"escape");G(hv,"escape");function Jc(e,t){return vx.test(e)&&(e=e.replace(vx,hv)),t.stylize(`'${wn(e,t.truncate-2)}'`,"string")}a(Jc,"inspectString");G(Jc,"inspectString");function Wc(e){return"description"in Symbol.prototype?e.description?`Symbol(${e.description})`:"Symbol()":e.toString()}a(Wc,"inspectSymbol");G(Wc,"inspectSymbol");var vR=G(()=>"Promise{…}","getPromiseValue");try{let{getPromiseDetails:e,kPending:t,kRejected:r}=process.binding("util");Array.isArray(e(Promise.resolve()))&&(vR=G((n,i)=>{let[o,s]=e(n);return o===t?"Promise{<pending>}":`Promise${o===r?"!":""}{${i.inspect(s,i)}}`},"getPromiseValue"))}catch{}var f7=vR;function ys(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.includes(e))return"[Circular]";t.seen.push(e);let i=Cr(r.map(l=>[l,e[l]]),t,To),o=Cr(n.map(l=>[l,e[l]]),t,To);t.seen.pop();let s="";return i&&o&&(s=", "),`{ ${i}${s}${o} }`}a(ys,"inspectObject");G(ys,"inspectObject");var Ah=typeof Symbol<"u"&&Symbol.toStringTag?Symbol.toStringTag:!1;function mv(e,t){let r="";return Ah&&Ah in e&&(r=e[Ah]),r=r||e.constructor.name,(!r||r==="_class")&&(r="<Anonymous Class>"),t.truncate-=r.length,`${r}${ys(e,t)}`}a(mv,"inspectClass");G(mv,"inspectClass");function yv(e,t){return e.length===0?"Arguments[]":(t.truncate-=13,`Arguments[ ${Cr(e,t)} ]`)}a(yv,"inspectArguments");G(yv,"inspectArguments");var h7=["stack","line","column","name","message","fileName","lineNumber","columnNumber","number","description","cause"];function gv(e,t){let r=Object.getOwnPropertyNames(e).filter(s=>h7.indexOf(s)===-1),n=e.name;t.truncate-=n.length;let i="";if(typeof e.message=="string"?i=wn(e.message,t.truncate):r.unshift("message"),i=i?`: ${i}`:"",t.truncate-=i.length+5,t.seen=t.seen||[],t.seen.includes(e))return"[Circular]";t.seen.push(e);let o=Cr(r.map(s=>[s,e[s]]),t,To);return`${n}${i}${o?` { ${o} }`:""}`}a(gv,"inspectObject2");G(gv,"inspectObject");function bv([e,t],r){return r.truncate-=3,t?`${r.stylize(String(e),"yellow")}=${r.stylize(`"${t}"`,"string")}`:`${r.stylize(String(e),"yellow")}`}a(bv,"inspectAttribute");G(bv,"inspectAttribute");function vl(e,t){return Cr(e,t,Pd,`
|
|
220
|
-
`)}a(vl,"inspectHTMLCollection");G(vl,"inspectHTMLCollection");function Pd(e,t){let r=e.getAttributeNames(),n=e.tagName.toLowerCase(),i=t.stylize(`<${n}`,"special"),o=t.stylize(">","special"),s=t.stylize(`</${n}>`,"special");t.truncate-=n.length*2+5;let l="";r.length>0&&(l+=" ",l+=Cr(r.map(p=>[p,e.getAttribute(p)]),t,bv," ")),t.truncate-=l.length;let u=t.truncate,c=vl(e.children,t);return c&&c.length>u&&(c=`${qs}(${e.children.length})`),`${i}${l}${o}${c}${s}`}a(Pd,"inspectHTML");G(Pd,"inspectHTML");var m7=typeof Symbol=="function"&&typeof Symbol.for=="function",Rh=m7?Symbol.for("chai/inspect"):"@@chai/inspect",us=!1;try{let e=s7();us=e.inspect?e.inspect.custom:!1}catch{us=!1}var _x=new WeakMap,Ex={},wx={undefined:a((e,t)=>t.stylize("undefined","undefined"),"undefined"),null:a((e,t)=>t.stylize("null","null"),"null"),boolean:a((e,t)=>t.stylize(String(e),"boolean"),"boolean"),Boolean:a((e,t)=>t.stylize(String(e),"boolean"),"Boolean"),number:Vc,Number:Vc,bigint:Hc,BigInt:Hc,string:Jc,String:Jc,function:Uc,Function:Uc,symbol:Wc,Symbol:Wc,Array:sv,Date:av,Map:cv,Set:fv,RegExp:pv,Promise:f7,WeakSet:a((e,t)=>t.stylize("WeakSet{…}","special"),"WeakSet"),WeakMap:a((e,t)=>t.stylize("WeakMap{…}","special"),"WeakMap"),Arguments:yv,Int8Array:zr,Uint8Array:zr,Uint8ClampedArray:zr,Int16Array:zr,Uint16Array:zr,Int32Array:zr,Uint32Array:zr,Float32Array:zr,Float64Array:zr,Generator:a(()=>"","Generator"),DataView:a(()=>"","DataView"),ArrayBuffer:a(()=>"","ArrayBuffer"),Error:gv,HTMLCollection:vl,NodeList:vl},y7=G((e,t,r)=>Rh in e&&typeof e[Rh]=="function"?e[Rh](t):us&&us in e&&typeof e[us]=="function"?e[us](t.depth,t):"inspect"in e&&typeof e.inspect=="function"?e.inspect(t.depth,t):"constructor"in e&&_x.has(e.constructor)?_x.get(e.constructor)(e,t):Ex[r]?Ex[r](e,t):"","inspectCustom"),g7=Object.prototype.toString;function _l(e,t={}){let r=nv(t,_l),{customInspect:n}=r,i=e===null?"null":typeof e;if(i==="object"&&(i=g7.call(e).slice(8,-1)),i in wx)return wx[i](e,r);if(n&&e){let s=y7(e,r,i);if(s)return typeof s=="string"?s:_l(s,r)}let o=e?Object.getPrototypeOf(e):!1;return o===Object.prototype||o===null?ys(e,r):e&&typeof HTMLElement=="function"&&e instanceof HTMLElement?Pd(e,r):"constructor"in e?e.constructor!==Object?mv(e,r):ys(e,r):e===Object(e)?ys(e,r):r.stylize(String(e),i)}a(_l,"inspect");G(_l,"inspect");var sr={includeStack:!1,showDiff:!0,truncateThreshold:40,useProxy:!0,proxyExcludedKeys:["then","catch","inspect","toJSON"],deepEqual:null};function Fe(e,t,r,n){var i={colors:n,depth:typeof r>"u"?2:r,showHidden:t,truncate:sr.truncateThreshold?sr.truncateThreshold:1/0};return _l(e,i)}a(Fe,"inspect2");G(Fe,"inspect");function Ti(e){var t=Fe(e),r=Object.prototype.toString.call(e);if(sr.truncateThreshold&&t.length>=sr.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),i=n.length>2?n.splice(0,2).join(", ")+", ...":n.join(", ");return"{ Object ("+i+") }"}else return t}else return t}a(Ti,"objDisplay");G(Ti,"objDisplay");function Ad(e,t){var r=Pe(e,"negate"),n=Pe(e,"object"),i=t[3],o=ou(e,t),s=r?t[2]:t[1],l=Pe(e,"message");return typeof s=="function"&&(s=s()),s=s||"",s=s.replace(/#\{this\}/g,function(){return Ti(n)}).replace(/#\{act\}/g,function(){return Ti(o)}).replace(/#\{exp\}/g,function(){return Ti(i)}),l?l+": "+s:s}a(Ad,"getMessage2");G(Ad,"getMessage");function Vr(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 i in n)(r||i!=="object"&&i!=="ssfi"&&i!=="lockSsfi"&&i!="message")&&(t.__flags[i]=n[i])}a(Vr,"transferFlags");G(Vr,"transferFlags");function zc(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)}a(zc,"type2");G(zc,"type");function Rd(){this._key="chai/deep-eql__"+Math.random()+Date.now()}a(Rd,"FakeMap");G(Rd,"FakeMap");Rd.prototype={get:G(a(function(e){return e[this._key]},"get"),"get"),set:G(a(function(e,t){Object.isExtensible(e)&&Object.defineProperty(e,this._key,{value:t,configurable:!0})},"set"),"set")};var _R=typeof WeakMap=="function"?WeakMap:Rd;function Kc(e,t,r){if(!r||qi(e)||qi(t))return null;var n=r.get(e);if(n){var i=n.get(t);if(typeof i=="boolean")return i}return null}a(Kc,"memoizeCompare");G(Kc,"memoizeCompare");function cs(e,t,r,n){if(!(!r||qi(e)||qi(t))){var i=r.get(e);i?i.set(t,n):(i=new _R,i.set(t,n),r.set(e,i))}}a(cs,"memoizeSet");G(cs,"memoizeSet");var ER=aa;function aa(e,t,r){if(r&&r.comparator)return Gc(e,t,r);var n=Nd(e,t);return n!==null?n:Gc(e,t,r)}a(aa,"deepEqual");G(aa,"deepEqual");function Nd(e,t){return e===t?e!==0||1/e===1/t:e!==e&&t!==t?!0:qi(e)||qi(t)?!1:null}a(Nd,"simpleEqual");G(Nd,"simpleEqual");function Gc(e,t,r){r=r||{},r.memoize=r.memoize===!1?!1:r.memoize||new _R;var n=r&&r.comparator,i=Kc(e,t,r.memoize);if(i!==null)return i;var o=Kc(t,e,r.memoize);if(o!==null)return o;if(n){var s=n(e,t);if(s===!1||s===!0)return cs(e,t,r.memoize,s),s;var l=Nd(e,t);if(l!==null)return l}var u=zc(e);if(u!==zc(t))return cs(e,t,r.memoize,!1),!1;cs(e,t,r.memoize,!0);var c=vv(e,t,u,r);return cs(e,t,r.memoize,c),c}a(Gc,"extensiveDeepEqual");G(Gc,"extensiveDeepEqual");function vv(e,t,r,n){switch(r){case"String":case"Number":case"Boolean":case"Date":return aa(e.valueOf(),t.valueOf());case"Promise":case"Symbol":case"function":case"WeakMap":case"WeakSet":return e===t;case"Error":return Id(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 Wn(e,t,n);case"RegExp":return _v(e,t);case"Generator":return Ev(e,t,n);case"DataView":return Wn(new Uint8Array(e.buffer),new Uint8Array(t.buffer),n);case"ArrayBuffer":return Wn(new Uint8Array(e),new Uint8Array(t),n);case"Set":return Yc(e,t,n);case"Map":return Yc(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 xv(e,t,n)}}a(vv,"extensiveDeepEqualByType");G(vv,"extensiveDeepEqualByType");function _v(e,t){return e.toString()===t.toString()}a(_v,"regexpEqual");G(_v,"regexpEqual");function Yc(e,t,r){try{if(e.size!==t.size)return!1;if(e.size===0)return!0}catch{return!1}var n=[],i=[];return e.forEach(G(a(function(o,s){n.push([o,s])},"gatherEntries"),"gatherEntries")),t.forEach(G(a(function(o,s){i.push([o,s])},"gatherEntries"),"gatherEntries")),Wn(n.sort(),i.sort(),r)}a(Yc,"entriesEqual");G(Yc,"entriesEqual");function Wn(e,t,r){var n=e.length;if(n!==t.length)return!1;if(n===0)return!0;for(var i=-1;++i<n;)if(aa(e[i],t[i],r)===!1)return!1;return!0}a(Wn,"iterableEqual");G(Wn,"iterableEqual");function Ev(e,t,r){return Wn(El(e),El(t),r)}a(Ev,"generatorEqual");G(Ev,"generatorEqual");function wv(e){return typeof Symbol<"u"&&typeof e=="object"&&typeof Symbol.iterator<"u"&&typeof e[Symbol.iterator]=="function"}a(wv,"hasIteratorFunction");G(wv,"hasIteratorFunction");function Xc(e){if(wv(e))try{return El(e[Symbol.iterator]())}catch{return[]}return[]}a(Xc,"getIteratorEntries");G(Xc,"getIteratorEntries");function El(e){for(var t=e.next(),r=[t.value];t.done===!1;)t=e.next(),r.push(t.value);return r}a(El,"getGeneratorEntries");G(El,"getGeneratorEntries");function Qc(e){var t=[];for(var r in e)t.push(r);return t}a(Qc,"getEnumerableKeys");G(Qc,"getEnumerableKeys");function Zc(e){for(var t=[],r=Object.getOwnPropertySymbols(e),n=0;n<r.length;n+=1){var i=r[n];Object.getOwnPropertyDescriptor(e,i).enumerable&&t.push(i)}return t}a(Zc,"getEnumerableSymbols");G(Zc,"getEnumerableSymbols");function Id(e,t,r,n){var i=r.length;if(i===0)return!0;for(var o=0;o<i;o+=1)if(aa(e[r[o]],t[r[o]],n)===!1)return!1;return!0}a(Id,"keysEqual");G(Id,"keysEqual");function xv(e,t,r){var n=Qc(e),i=Qc(t),o=Zc(e),s=Zc(t);if(n=n.concat(o),i=i.concat(s),n.length&&n.length===i.length)return Wn(ep(n).sort(),ep(i).sort())===!1?!1:Id(e,t,n,r);var l=Xc(e),u=Xc(t);return l.length&&l.length===u.length?(l.sort(),u.sort(),Wn(l,u,r)):n.length===0&&l.length===0&&i.length===0&&u.length===0}a(xv,"objectEqual");G(xv,"objectEqual");function qi(e){return e===null||typeof e!="object"}a(qi,"isPrimitive");G(qi,"isPrimitive");function ep(e){return e.map(G(a(function(t){return typeof t=="symbol"?t.toString():t},"mapSymbol"),"mapSymbol"))}a(ep,"mapSymbols");G(ep,"mapSymbols");function su(e,t){return typeof e>"u"||e===null?!1:t in Object(e)}a(su,"hasProperty");G(su,"hasProperty");function Tv(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})}a(Tv,"parsePath");G(Tv,"parsePath");function tp(e,t,r){let n=e,i=null;r=typeof r>"u"?t.length:r;for(let o=0;o<r;o++){let s=t[o];n&&(typeof s.p>"u"?n=n[s.i]:n=n[s.p],o===r-1&&(i=n))}return i}a(tp,"internalGetPathValue");G(tp,"internalGetPathValue");function kd(e,t){let r=Tv(t),n=r[r.length-1],i={parent:r.length>1?tp(e,r,r.length-1):e,name:n.p||n.i,value:tp(e,r)};return i.exists=su(i.parent,i.name),i}a(kd,"getPathInfo");G(kd,"getPathInfo");function F(e,t,r,n){return Pe(this,"ssfi",r||F),Pe(this,"lockSsfi",n),Pe(this,"object",e),Pe(this,"message",t),Pe(this,"eql",sr.deepEqual||ER),Uo(this)}a(F,"Assertion");G(F,"Assertion");Object.defineProperty(F,"includeStack",{get:a(function(){return console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),sr.includeStack},"get"),set:a(function(e){console.warn("Assertion.includeStack is deprecated, use chai.config.includeStack instead."),sr.includeStack=e},"set")});Object.defineProperty(F,"showDiff",{get:a(function(){return console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),sr.showDiff},"get"),set:a(function(e){console.warn("Assertion.showDiff is deprecated, use chai.config.showDiff instead."),sr.showDiff=e},"set")});F.addProperty=function(e,t){Md(this.prototype,e,t)};F.addMethod=function(e,t){qd(this.prototype,e,t)};F.addChainableMethod=function(e,t,r){Ld(this.prototype,e,t,r)};F.overwriteProperty=function(e,t){jd(this.prototype,e,t)};F.overwriteMethod=function(e,t){Dd(this.prototype,e,t)};F.overwriteChainableMethod=function(e,t,r){$d(this.prototype,e,t,r)};F.prototype.assert=function(e,t,r,n,i,o){var s=Od(this,arguments);if(o!==!1&&(o=!0),n===void 0&&i===void 0&&(o=!1),sr.showDiff!==!0&&(o=!1),!s){t=Ad(this,arguments);var l=ou(this,arguments),u={actual:l,expected:n,showDiff:o},c=Ud(this,arguments);throw c&&(u.operator=c),new Ve(t,u,sr.includeStack?this.assert:Pe(this,"ssfi"))}};Object.defineProperty(F.prototype,"_obj",{get:a(function(){return Pe(this,"object")},"get"),set:a(function(e){Pe(this,"object",e)},"set")});function la(){return sr.useProxy&&typeof Proxy<"u"&&typeof Reflect<"u"}a(la,"isProxyEnabled");G(la,"isProxyEnabled");function Md(e,t,r){r=r===void 0?function(){}:r,Object.defineProperty(e,t,{get:G(a(function n(){!la()&&!Pe(this,"lockSsfi")&&Pe(this,"ssfi",n);var i=r.call(this);if(i!==void 0)return i;var o=new F;return Vr(this,o),o},"propertyGetter"),"propertyGetter"),configurable:!0})}a(Md,"addProperty");G(Md,"addProperty");var b7=Object.getOwnPropertyDescriptor(function(){},"length");function ua(e,t,r){return b7.configurable&&Object.defineProperty(e,"length",{get:a(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+'".')},"get")}),e}a(ua,"addLengthGuard");G(ua,"addLengthGuard");function Sv(e){var t=Object.getOwnPropertyNames(e);function r(i){t.indexOf(i)===-1&&t.push(i)}a(r,"addProperty2"),G(r,"addProperty");for(var n=Object.getPrototypeOf(e);n!==null;)Object.getOwnPropertyNames(n).forEach(r),n=Object.getPrototypeOf(n);return t}a(Sv,"getProperties");G(Sv,"getProperties");var xx=["__flags","__methods","_obj","assert"];function Uo(e,t){return la()?new Proxy(e,{get:G(a(function r(n,i){if(typeof i=="string"&&sr.proxyExcludedKeys.indexOf(i)===-1&&!Reflect.has(n,i)){if(t)throw Error("Invalid Chai property: "+t+"."+i+'. See docs for proper usage of "'+t+'".');var o=null,s=4;throw Sv(n).forEach(function(l){if(!Object.prototype.hasOwnProperty(l)&&xx.indexOf(l)===-1){var u=Cv(i,l,s);u<s&&(o=l,s=u)}}),Error(o!==null?"Invalid Chai property: "+i+'. Did you mean "'+o+'"?':"Invalid Chai property: "+i)}return xx.indexOf(i)===-1&&!Pe(n,"lockSsfi")&&Pe(n,"ssfi",r),Reflect.get(n,i)},"proxyGetter"),"proxyGetter")}):e}a(Uo,"proxify");G(Uo,"proxify");function Cv(e,t,r){if(Math.abs(e.length-t.length)>=r)return r;var n=[];for(let o=0;o<=e.length;o++)n[o]=Array(t.length+1).fill(0),n[o][0]=o;for(let o=0;o<t.length;o++)n[0][o]=o;for(let o=1;o<=e.length;o++){var i=e.charCodeAt(o-1);for(let s=1;s<=t.length;s++){if(Math.abs(o-s)>=r){n[o][s]=r;continue}n[o][s]=Math.min(n[o-1][s]+1,n[o][s-1]+1,n[o-1][s-1]+(i===t.charCodeAt(s-1)?0:1))}}return n[e.length][t.length]}a(Cv,"stringDistanceCapped");G(Cv,"stringDistanceCapped");function qd(e,t,r){var n=G(function(){Pe(this,"lockSsfi")||Pe(this,"ssfi",n);var i=r.apply(this,arguments);if(i!==void 0)return i;var o=new F;return Vr(this,o),o},"methodWrapper");ua(n,t,!1),e[t]=Uo(n,t)}a(qd,"addMethod");G(qd,"addMethod");function jd(e,t,r){var n=Object.getOwnPropertyDescriptor(e,t),i=G(function(){},"_super");n&&typeof n.get=="function"&&(i=n.get),Object.defineProperty(e,t,{get:G(a(function o(){!la()&&!Pe(this,"lockSsfi")&&Pe(this,"ssfi",o);var s=Pe(this,"lockSsfi");Pe(this,"lockSsfi",!0);var l=r(i).call(this);if(Pe(this,"lockSsfi",s),l!==void 0)return l;var u=new F;return Vr(this,u),u},"overwritingPropertyGetter"),"overwritingPropertyGetter"),configurable:!0})}a(jd,"overwriteProperty");G(jd,"overwriteProperty");function Dd(e,t,r){var n=e[t],i=G(function(){throw new Error(t+" is not a function")},"_super");n&&typeof n=="function"&&(i=n);var o=G(function(){Pe(this,"lockSsfi")||Pe(this,"ssfi",o);var s=Pe(this,"lockSsfi");Pe(this,"lockSsfi",!0);var l=r(i).apply(this,arguments);if(Pe(this,"lockSsfi",s),l!==void 0)return l;var u=new F;return Vr(this,u),u},"overwritingMethodWrapper");ua(o,t,!1),e[t]=Uo(o,t)}a(Dd,"overwriteMethod");G(Dd,"overwriteMethod");var v7=typeof Object.setPrototypeOf=="function",Tx=G(function(){},"testFn"),_7=Object.getOwnPropertyNames(Tx).filter(function(e){var t=Object.getOwnPropertyDescriptor(Tx,e);return typeof t!="object"?!0:!t.configurable}),E7=Function.prototype.call,w7=Function.prototype.apply;function Ld(e,t,r,n){typeof n!="function"&&(n=G(function(){},"chainingBehavior"));var i={method:r,chainingBehavior:n};e.__methods||(e.__methods={}),e.__methods[t]=i,Object.defineProperty(e,t,{get:G(a(function(){i.chainingBehavior.call(this);var o=G(function(){Pe(this,"lockSsfi")||Pe(this,"ssfi",o);var u=i.method.apply(this,arguments);if(u!==void 0)return u;var c=new F;return Vr(this,c),c},"chainableMethodWrapper");if(ua(o,t,!0),v7){var s=Object.create(this);s.call=E7,s.apply=w7,Object.setPrototypeOf(o,s)}else{var l=Object.getOwnPropertyNames(e);l.forEach(function(u){if(_7.indexOf(u)===-1){var c=Object.getOwnPropertyDescriptor(e,u);Object.defineProperty(o,u,c)}})}return Vr(this,o),Uo(o)},"chainableMethodGetter"),"chainableMethodGetter"),configurable:!0})}a(Ld,"addChainableMethod");G(Ld,"addChainableMethod");function $d(e,t,r,n){var i=e.__methods[t],o=i.chainingBehavior;i.chainingBehavior=G(a(function(){var l=n(o).call(this);if(l!==void 0)return l;var u=new F;return Vr(this,u),u},"overwritingChainableMethodGetter"),"overwritingChainableMethodGetter");var s=i.method;i.method=G(a(function(){var l=r(s).apply(this,arguments);if(l!==void 0)return l;var u=new F;return Vr(this,u),u},"overwritingChainableMethodWrapper"),"overwritingChainableMethodWrapper")}a($d,"overwriteChainableMethod");G($d,"overwriteChainableMethod");function wl(e,t){return Fe(e)<Fe(t)?-1:1}a(wl,"compareByInspect");G(wl,"compareByInspect");function Fd(e){return typeof Object.getOwnPropertySymbols!="function"?[]:Object.getOwnPropertySymbols(e).filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})}a(Fd,"getOwnEnumerablePropertySymbols");G(Fd,"getOwnEnumerablePropertySymbols");function Bd(e){return Object.keys(e).concat(Fd(e))}a(Bd,"getOwnEnumerableProperties");G(Bd,"getOwnEnumerableProperties");var rp=Number.isNaN;function Ov(e){var t=Ke(e),r=["Array","Object","Function"];return r.indexOf(t)!==-1}a(Ov,"isObjectType");G(Ov,"isObjectType");function Ud(e,t){var r=Pe(e,"operator"),n=Pe(e,"negate"),i=t[3],o=n?t[2]:t[1];if(r)return r;if(typeof o=="function"&&(o=o()),o=o||"",!!o&&!/\shave\s/.test(o)){var s=Ov(i);return/\snot\s/.test(o)?s?"notDeepStrictEqual":"notStrictEqual":s?"deepStrictEqual":"strictEqual"}}a(Ud,"getOperator");G(Ud,"getOperator");function au(e){return e.name}a(au,"getName");G(au,"getName");function xl(e){return Object.prototype.toString.call(e)==="[object RegExp]"}a(xl,"isRegExp2");G(xl,"isRegExp");function Mt(e){return["Number","BigInt"].includes(Ke(e))}a(Mt,"isNumeric");G(Mt,"isNumeric");var{flag:W}=fn;["to","be","been","is","and","has","have","with","that","which","at","of","same","but","does","still","also"].forEach(function(e){F.addProperty(e)});F.addProperty("not",function(){W(this,"negate",!0)});F.addProperty("deep",function(){W(this,"deep",!0)});F.addProperty("nested",function(){W(this,"nested",!0)});F.addProperty("own",function(){W(this,"own",!0)});F.addProperty("ordered",function(){W(this,"ordered",!0)});F.addProperty("any",function(){W(this,"any",!0),W(this,"all",!1)});F.addProperty("all",function(){W(this,"all",!0),W(this,"any",!1)});var Sx={function:["function","asyncfunction","generatorfunction","asyncgeneratorfunction"],asyncfunction:["asyncfunction","asyncgeneratorfunction"],generatorfunction:["generatorfunction","asyncgeneratorfunction"],asyncgeneratorfunction:["asyncgeneratorfunction"]};function Vd(e,t){t&&W(this,"message",t),e=e.toLowerCase();var r=W(this,"object"),n=~["a","e","i","o","u"].indexOf(e.charAt(0))?"an ":"a ";let i=Ke(r).toLowerCase();Sx.function.includes(e)?this.assert(Sx[e].includes(i),"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e):this.assert(e===i,"expected #{this} to be "+n+e,"expected #{this} not to be "+n+e)}a(Vd,"an");G(Vd,"an");F.addChainableMethod("an",Vd);F.addChainableMethod("a",Vd);function Pv(e,t){return rp(e)&&rp(t)||e===t}a(Pv,"SameValueZero");G(Pv,"SameValueZero");function ca(){W(this,"contains",!0)}a(ca,"includeChainingBehavior");G(ca,"includeChainingBehavior");function pa(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=Ke(r).toLowerCase(),i=W(this,"message"),o=W(this,"negate"),s=W(this,"ssfi"),l=W(this,"deep"),u=l?"deep ":"",c=l?W(this,"eql"):Pv;i=i?i+": ":"";var p=!1;switch(n){case"string":p=r.indexOf(e)!==-1;break;case"weakset":if(l)throw new Ve(i+"unable to use .deep.include with WeakSet",void 0,s);p=r.has(e);break;case"map":r.forEach(function(y){p=p||c(y,e)});break;case"set":l?r.forEach(function(y){p=p||c(y,e)}):p=r.has(e);break;case"array":l?p=r.some(function(y){return c(y,e)}):p=r.indexOf(e)!==-1;break;default:if(e!==Object(e))throw new Ve(i+"the given combination of arguments ("+n+" and "+Ke(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 "+Ke(e).toLowerCase(),void 0,s);var d=Object.keys(e),f=null,h=0;if(d.forEach(function(y){var b=new F(r);if(Vr(this,b,!0),W(b,"lockSsfi",!0),!o||d.length===1){b.property(y,e[y]);return}try{b.property(y,e[y])}catch(g){if(!vr.compatibleConstructor(g,Ve))throw g;f===null&&(f=g),h++}},this),o&&d.length>1&&h===d.length)throw f;return}this.assert(p,"expected #{this} to "+u+"include "+Fe(e),"expected #{this} to not "+u+"include "+Fe(e))}a(pa,"include");G(pa,"include");F.addChainableMethod("include",pa,ca);F.addChainableMethod("contain",pa,ca);F.addChainableMethod("contains",pa,ca);F.addChainableMethod("includes",pa,ca);F.addProperty("ok",function(){this.assert(W(this,"object"),"expected #{this} to be truthy","expected #{this} to be falsy")});F.addProperty("true",function(){this.assert(W(this,"object")===!0,"expected #{this} to be true","expected #{this} to be false",!W(this,"negate"))});F.addProperty("numeric",function(){let e=W(this,"object");this.assert(["Number","BigInt"].includes(Ke(e)),"expected #{this} to be numeric","expected #{this} to not be numeric",!W(this,"negate"))});F.addProperty("callable",function(){let e=W(this,"object"),t=W(this,"ssfi"),r=W(this,"message"),n=r?`${r}: `:"",i=W(this,"negate"),o=i?`${n}expected ${Fe(e)} not to be a callable function`:`${n}expected ${Fe(e)} to be a callable function`,s=["Function","AsyncFunction","GeneratorFunction","AsyncGeneratorFunction"].includes(Ke(e));if(s&&i||!s&&!i)throw new Ve(o,void 0,t)});F.addProperty("false",function(){this.assert(W(this,"object")===!1,"expected #{this} to be false","expected #{this} to be true",!!W(this,"negate"))});F.addProperty("null",function(){this.assert(W(this,"object")===null,"expected #{this} to be null","expected #{this} not to be null")});F.addProperty("undefined",function(){this.assert(W(this,"object")===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined")});F.addProperty("NaN",function(){this.assert(rp(W(this,"object")),"expected #{this} to be NaN","expected #{this} not to be NaN")});function Hd(){var e=W(this,"object");this.assert(e!=null,"expected #{this} to exist","expected #{this} to not exist")}a(Hd,"assertExist");G(Hd,"assertExist");F.addProperty("exist",Hd);F.addProperty("exists",Hd);F.addProperty("empty",function(){var e=W(this,"object"),t=W(this,"ssfi"),r=W(this,"message"),n;switch(r=r?r+": ":"",Ke(e).toLowerCase()){case"array":case"string":n=e.length;break;case"map":case"set":n=e.size;break;case"weakmap":case"weakset":throw new Ve(r+".empty was passed a weak collection",void 0,t);case"function":var i=r+".empty was passed a function "+au(e);throw new Ve(i.trim(),void 0,t);default:if(e!==Object(e))throw new Ve(r+".empty was passed non-string primitive "+Fe(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 Jd(){var e=W(this,"object"),t=Ke(e);this.assert(t==="Arguments","expected #{this} to be arguments but got "+t,"expected #{this} to not be arguments")}a(Jd,"checkArguments");G(Jd,"checkArguments");F.addProperty("arguments",Jd);F.addProperty("Arguments",Jd);function lu(e,t){t&&W(this,"message",t);var r=W(this,"object");if(W(this,"deep")){var n=W(this,"lockSsfi");W(this,"lockSsfi",!0),this.eql(e),W(this,"lockSsfi",n)}else this.assert(e===r,"expected #{this} to equal #{exp}","expected #{this} to not equal #{exp}",e,this._obj,!0)}a(lu,"assertEqual");G(lu,"assertEqual");F.addMethod("equal",lu);F.addMethod("equals",lu);F.addMethod("eq",lu);function Wd(e,t){t&&W(this,"message",t);var r=W(this,"eql");this.assert(r(e,W(this,"object")),"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",e,this._obj,!0)}a(Wd,"assertEql");G(Wd,"assertEql");F.addMethod("eql",Wd);F.addMethod("eqls",Wd);function uu(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"doLength"),i=W(this,"message"),o=i?i+": ":"",s=W(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase();if(n&&l!=="map"&&l!=="set"&&new F(r,i,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")throw new Ve(o+"the argument to above must be a date",void 0,s);if(!Mt(e)&&(n||Mt(r)))throw new Ve(o+"the argument to above must be a number",void 0,s);if(!n&&l!=="date"&&!Mt(r)){var c=l==="string"?"'"+r+"'":r;throw new Ve(o+"expected "+c+" to be a number or a date",void 0,s)}if(n){var p="length",d;l==="map"||l==="set"?(p="size",d=r.size):d=r.length,this.assert(d>e,"expected #{this} to have a "+p+" above #{exp} but got #{act}","expected #{this} to not have a "+p+" above #{exp}",e,d)}else this.assert(r>e,"expected #{this} to be above #{exp}","expected #{this} to be at most #{exp}",e)}a(uu,"assertAbove");G(uu,"assertAbove");F.addMethod("above",uu);F.addMethod("gt",uu);F.addMethod("greaterThan",uu);function cu(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"doLength"),i=W(this,"message"),o=i?i+": ":"",s=W(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new F(r,i,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to least must be a date";else if(!Mt(e)&&(n||Mt(r)))c=o+"the argument to least must be a number";else if(!n&&l!=="date"&&!Mt(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new Ve(c,void 0,s);if(n){var f="length",h;l==="map"||l==="set"?(f="size",h=r.size):h=r.length,this.assert(h>=e,"expected #{this} to have a "+f+" at least #{exp} but got #{act}","expected #{this} to have a "+f+" below #{exp}",e,h)}else this.assert(r>=e,"expected #{this} to be at least #{exp}","expected #{this} to be below #{exp}",e)}a(cu,"assertLeast");G(cu,"assertLeast");F.addMethod("least",cu);F.addMethod("gte",cu);F.addMethod("greaterThanOrEqual",cu);function pu(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"doLength"),i=W(this,"message"),o=i?i+": ":"",s=W(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new F(r,i,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to below must be a date";else if(!Mt(e)&&(n||Mt(r)))c=o+"the argument to below must be a number";else if(!n&&l!=="date"&&!Mt(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new Ve(c,void 0,s);if(n){var f="length",h;l==="map"||l==="set"?(f="size",h=r.size):h=r.length,this.assert(h<e,"expected #{this} to have a "+f+" below #{exp} but got #{act}","expected #{this} to not have a "+f+" below #{exp}",e,h)}else this.assert(r<e,"expected #{this} to be below #{exp}","expected #{this} to be at least #{exp}",e)}a(pu,"assertBelow");G(pu,"assertBelow");F.addMethod("below",pu);F.addMethod("lt",pu);F.addMethod("lessThan",pu);function du(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"doLength"),i=W(this,"message"),o=i?i+": ":"",s=W(this,"ssfi"),l=Ke(r).toLowerCase(),u=Ke(e).toLowerCase(),c,p=!0;if(n&&l!=="map"&&l!=="set"&&new F(r,i,s,!0).to.have.property("length"),!n&&l==="date"&&u!=="date")c=o+"the argument to most must be a date";else if(!Mt(e)&&(n||Mt(r)))c=o+"the argument to most must be a number";else if(!n&&l!=="date"&&!Mt(r)){var d=l==="string"?"'"+r+"'":r;c=o+"expected "+d+" to be a number or a date"}else p=!1;if(p)throw new Ve(c,void 0,s);if(n){var f="length",h;l==="map"||l==="set"?(f="size",h=r.size):h=r.length,this.assert(h<=e,"expected #{this} to have a "+f+" at most #{exp} but got #{act}","expected #{this} to have a "+f+" above #{exp}",e,h)}else this.assert(r<=e,"expected #{this} to be at most #{exp}","expected #{this} to be above #{exp}",e)}a(du,"assertMost");G(du,"assertMost");F.addMethod("most",du);F.addMethod("lte",du);F.addMethod("lessThanOrEqual",du);F.addMethod("within",function(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),i=W(this,"doLength"),o=W(this,"message"),s=o?o+": ":"",l=W(this,"ssfi"),u=Ke(n).toLowerCase(),c=Ke(e).toLowerCase(),p=Ke(t).toLowerCase(),d,f=!0,h=c==="date"&&p==="date"?e.toISOString()+".."+t.toISOString():e+".."+t;if(i&&u!=="map"&&u!=="set"&&new F(n,o,l,!0).to.have.property("length"),!i&&u==="date"&&(c!=="date"||p!=="date"))d=s+"the arguments to within must be dates";else if((!Mt(e)||!Mt(t))&&(i||Mt(n)))d=s+"the arguments to within must be numbers";else if(!i&&u!=="date"&&!Mt(n)){var y=u==="string"?"'"+n+"'":n;d=s+"expected "+y+" to be a number or a date"}else f=!1;if(f)throw new Ve(d,void 0,l);if(i){var b="length",g;u==="map"||u==="set"?(b="size",g=n.size):g=n.length,this.assert(g>=e&&g<=t,"expected #{this} to have a "+b+" within "+h,"expected #{this} to not have a "+b+" within "+h)}else this.assert(n>=e&&n<=t,"expected #{this} to be within "+h,"expected #{this} to not be within "+h)});function zd(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"ssfi"),i=W(this,"message");try{var o=r instanceof e}catch(l){throw l instanceof TypeError?(i=i?i+": ":"",new Ve(i+"The instanceof assertion needs a constructor but "+Ke(e)+" was given.",void 0,n)):l}var s=au(e);s==null&&(s="an unnamed constructor"),this.assert(o,"expected #{this} to be an instance of "+s,"expected #{this} to not be an instance of "+s)}a(zd,"assertInstanceOf");G(zd,"assertInstanceOf");F.addMethod("instanceof",zd);F.addMethod("instanceOf",zd);function Kd(e,t,r){r&&W(this,"message",r);var n=W(this,"nested"),i=W(this,"own"),o=W(this,"message"),s=W(this,"object"),l=W(this,"ssfi"),u=typeof e;if(o=o?o+": ":"",n){if(u!=="string")throw new Ve(o+"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 Ve(o+"the argument to property must be a string, number, or symbol",void 0,l);if(n&&i)throw new Ve(o+'The "nested" and "own" flags cannot be combined.',void 0,l);if(s==null)throw new Ve(o+"Target cannot be null or undefined.",void 0,l);var c=W(this,"deep"),p=W(this,"negate"),d=n?kd(s,e):null,f=n?d.value:s[e],h=c?W(this,"eql"):(g,m)=>g===m,y="";c&&(y+="deep "),i&&(y+="own "),n&&(y+="nested "),y+="property ";var b;i?b=Object.prototype.hasOwnProperty.call(s,e):n?b=d.exists:b=su(s,e),(!p||arguments.length===1)&&this.assert(b,"expected #{this} to have "+y+Fe(e),"expected #{this} to not have "+y+Fe(e)),arguments.length>1&&this.assert(b&&h(t,f),"expected #{this} to have "+y+Fe(e)+" of #{exp}, but got #{act}","expected #{this} to not have "+y+Fe(e)+" of #{act}",t,f),W(this,"object",f)}a(Kd,"assertProperty");G(Kd,"assertProperty");F.addMethod("property",Kd);function Gd(e,t,r){W(this,"own",!0),Kd.apply(this,arguments)}a(Gd,"assertOwnProperty");G(Gd,"assertOwnProperty");F.addMethod("ownProperty",Gd);F.addMethod("haveOwnProperty",Gd);function Yd(e,t,r){typeof t=="string"&&(r=t,t=null),r&&W(this,"message",r);var n=W(this,"object"),i=Object.getOwnPropertyDescriptor(Object(n),e),o=W(this,"eql");i&&t?this.assert(o(t,i),"expected the own property descriptor for "+Fe(e)+" on #{this} to match "+Fe(t)+", got "+Fe(i),"expected the own property descriptor for "+Fe(e)+" on #{this} to not match "+Fe(t),t,i,!0):this.assert(i,"expected #{this} to have an own property descriptor for "+Fe(e),"expected #{this} to not have an own property descriptor for "+Fe(e)),W(this,"object",i)}a(Yd,"assertOwnPropertyDescriptor");G(Yd,"assertOwnPropertyDescriptor");F.addMethod("ownPropertyDescriptor",Yd);F.addMethod("haveOwnPropertyDescriptor",Yd);function Xd(){W(this,"doLength",!0)}a(Xd,"assertLengthChain");G(Xd,"assertLengthChain");function Qd(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=Ke(r).toLowerCase(),i=W(this,"message"),o=W(this,"ssfi"),s="length",l;switch(n){case"map":case"set":s="size",l=r.size;break;default:new F(r,i,o,!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)}a(Qd,"assertLength");G(Qd,"assertLength");F.addChainableMethod("length",Qd,Xd);F.addChainableMethod("lengthOf",Qd,Xd);function Zd(e,t){t&&W(this,"message",t);var r=W(this,"object");this.assert(e.exec(r),"expected #{this} to match "+e,"expected #{this} not to match "+e)}a(Zd,"assertMatch");G(Zd,"assertMatch");F.addMethod("match",Zd);F.addMethod("matches",Zd);F.addMethod("string",function(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"message"),i=W(this,"ssfi");new F(r,n,i,!0).is.a("string"),this.assert(~r.indexOf(e),"expected #{this} to contain "+Fe(e),"expected #{this} to not contain "+Fe(e))});function ef(e){var t=W(this,"object"),r=Ke(t),n=Ke(e),i=W(this,"ssfi"),o=W(this,"deep"),s,l="",u,c=!0,p=W(this,"message");p=p?p+": ":"";var d=p+"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=o?"deeply ":"",u=[],t.forEach(function(v,S){u.push(S)}),n!=="Array"&&(e=Array.prototype.slice.call(arguments));else{switch(u=Bd(t),n){case"Array":if(arguments.length>1)throw new Ve(d,void 0,i);break;case"Object":if(arguments.length>1)throw new Ve(d,void 0,i);e=Object.keys(e);break;default:e=Array.prototype.slice.call(arguments)}e=e.map(function(v){return typeof v=="symbol"?v:String(v)})}if(!e.length)throw new Ve(p+"keys required",void 0,i);var f=e.length,h=W(this,"any"),y=W(this,"all"),b=e,g=o?W(this,"eql"):(v,S)=>v===S;if(!h&&!y&&(y=!0),h&&(c=b.some(function(v){return u.some(function(S){return g(v,S)})})),y&&(c=b.every(function(v){return u.some(function(S){return g(v,S)})}),W(this,"contains")||(c=c&&e.length==u.length)),f>1){e=e.map(function(v){return Fe(v)});var m=e.pop();y&&(s=e.join(", ")+", and "+m),h&&(s=e.join(", ")+", or "+m)}else s=Fe(e[0]);s=(f>1?"keys ":"key ")+s,s=(W(this,"contains")?"contain ":"have ")+s,this.assert(c,"expected #{this} to "+l+s,"expected #{this} to not "+l+s,b.slice(0).sort(wl),u.sort(wl),!0)}a(ef,"assertKeys");G(ef,"assertKeys");F.addMethod("keys",ef);F.addMethod("key",ef);function fu(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),i=W(this,"ssfi"),o=W(this,"message"),s=W(this,"negate")||!1;new F(n,o,i,!0).is.a("function"),(xl(e)||typeof e=="string")&&(t=e,e=null);let l,u=!1;try{n()}catch(v){u=!0,l=v}var c=e===void 0&&t===void 0,p=!!(e&&t),d=!1,f=!1;if(c||!c&&!s){var h="an error";e instanceof Error?h="#{exp}":e&&(h=vr.getConstructorName(e));let v=l;if(l instanceof Error)v=l.toString();else if(typeof l=="string")v=l;else if(l&&(typeof l=="object"||typeof l=="function"))try{v=vr.getConstructorName(l)}catch{}this.assert(u,"expected #{this} to throw "+h,"expected #{this} to not throw an error but #{act} was thrown",e&&e.toString(),v)}if(e&&l){if(e instanceof Error){var y=vr.compatibleInstance(l,e);y===s&&(p&&s?d=!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=vr.compatibleConstructor(l,e);b===s&&(p&&s?d=!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&&vr.getConstructorName(e),l instanceof Error?l.toString():l&&vr.getConstructorName(l)))}if(l&&t!==void 0&&t!==null){var g="including";xl(t)&&(g="matching");var m=vr.compatibleMessage(l,t);m===s&&(p&&s?f=!0:this.assert(s,"expected #{this} to throw error "+g+" #{exp} but got #{act}","expected #{this} to throw error not "+g+" #{exp}",t,vr.getMessage(l)))}d&&f&&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&&vr.getConstructorName(e),l instanceof Error?l.toString():l&&vr.getConstructorName(l)),W(this,"object",l)}a(fu,"assertThrows");G(fu,"assertThrows");F.addMethod("throw",fu);F.addMethod("throws",fu);F.addMethod("Throw",fu);function tf(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"itself"),i=typeof r=="function"&&!n?r.prototype[e]:r[e];this.assert(typeof i=="function","expected #{this} to respond to "+Fe(e),"expected #{this} to not respond to "+Fe(e))}a(tf,"respondTo");G(tf,"respondTo");F.addMethod("respondTo",tf);F.addMethod("respondsTo",tf);F.addProperty("itself",function(){W(this,"itself",!0)});function rf(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=e(r);this.assert(n,"expected #{this} to satisfy "+Ti(e),"expected #{this} to not satisfy"+Ti(e),!W(this,"negate"),n)}a(rf,"satisfy");G(rf,"satisfy");F.addMethod("satisfy",rf);F.addMethod("satisfies",rf);function nf(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),i=W(this,"message"),o=W(this,"ssfi");new F(n,i,o,!0).is.numeric;let s="A `delta` value is required for `closeTo`";if(t==null)throw new Ve(i?`${i}: ${s}`:s,void 0,o);if(new F(t,i,o,!0).is.numeric,s="A `expected` value is required for `closeTo`",e==null)throw new Ve(i?`${i}: ${s}`:s,void 0,o);new F(e,i,o,!0).is.numeric;let l=G(c=>c<0n?-c:c,"abs"),u=G(c=>parseFloat(parseFloat(c).toPrecision(12)),"strip");this.assert(u(l(n-e))<=t,"expected #{this} to be close to "+e+" +/- "+t,"expected #{this} not to be close to "+e+" +/- "+t)}a(nf,"closeTo");G(nf,"closeTo");F.addMethod("closeTo",nf);F.addMethod("approximately",nf);function Av(e,t,r,n,i){let o=Array.from(t),s=Array.from(e);if(!n){if(s.length!==o.length)return!1;o=o.slice()}return s.every(function(l,u){if(i)return r?r(l,o[u]):l===o[u];if(!r){var c=o.indexOf(l);return c===-1?!1:(n||o.splice(c,1),!0)}return o.some(function(p,d){return r(l,p)?(n||o.splice(d,1),!0):!1})})}a(Av,"isSubsetOf");G(Av,"isSubsetOf");F.addMethod("members",function(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"message"),i=W(this,"ssfi");new F(r,n,i,!0).to.be.iterable,new F(e,n,i,!0).to.be.iterable;var o=W(this,"contains"),s=W(this,"ordered"),l,u,c;o?(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 p=W(this,"deep")?W(this,"eql"):void 0;this.assert(Av(e,r,p,o,s),u,c,e,r,!0)});F.addProperty("iterable",function(e){e&&W(this,"message",e);var t=W(this,"object");this.assert(t!=null&&t[Symbol.iterator],"expected #{this} to be an iterable","expected #{this} to not be an iterable",t)});function Rv(e,t){t&&W(this,"message",t);var r=W(this,"object"),n=W(this,"message"),i=W(this,"ssfi"),o=W(this,"contains"),s=W(this,"deep"),l=W(this,"eql");new F(e,n,i,!0).to.be.an("array"),o?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)}a(Rv,"oneOf");G(Rv,"oneOf");F.addMethod("oneOf",Rv);function of(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),i=W(this,"message"),o=W(this,"ssfi");new F(n,i,o,!0).is.a("function");var s;t?(new F(e,i,o,!0).to.have.property(t),s=e[t]):(new F(e,i,o,!0).is.a("function"),s=e()),n();var l=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",l),W(this,"deltaBehavior","change"),W(this,"realDelta",l!==s),this.assert(s!==l,"expected "+u+" to change","expected "+u+" to not change")}a(of,"assertChanges");G(of,"assertChanges");F.addMethod("change",of);F.addMethod("changes",of);function sf(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),i=W(this,"message"),o=W(this,"ssfi");new F(n,i,o,!0).is.a("function");var s;t?(new F(e,i,o,!0).to.have.property(t),s=e[t]):(new F(e,i,o,!0).is.a("function"),s=e()),new F(s,i,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",l),W(this,"deltaBehavior","increase"),W(this,"realDelta",l-s),this.assert(l-s>0,"expected "+u+" to increase","expected "+u+" to not increase")}a(sf,"assertIncreases");G(sf,"assertIncreases");F.addMethod("increase",sf);F.addMethod("increases",sf);function af(e,t,r){r&&W(this,"message",r);var n=W(this,"object"),i=W(this,"message"),o=W(this,"ssfi");new F(n,i,o,!0).is.a("function");var s;t?(new F(e,i,o,!0).to.have.property(t),s=e[t]):(new F(e,i,o,!0).is.a("function"),s=e()),new F(s,i,o,!0).is.a("number"),n();var l=t==null?e():e[t],u=t==null?s:"."+t;W(this,"deltaMsgObj",u),W(this,"initialDeltaValue",s),W(this,"finalDeltaValue",l),W(this,"deltaBehavior","decrease"),W(this,"realDelta",s-l),this.assert(l-s<0,"expected "+u+" to decrease","expected "+u+" to not decrease")}a(af,"assertDecreases");G(af,"assertDecreases");F.addMethod("decrease",af);F.addMethod("decreases",af);function Nv(e,t){t&&W(this,"message",t);var r=W(this,"deltaMsgObj"),n=W(this,"initialDeltaValue"),i=W(this,"finalDeltaValue"),o=W(this,"deltaBehavior"),s=W(this,"realDelta"),l;o==="change"?l=Math.abs(i-n)===Math.abs(e):l=s===Math.abs(e),this.assert(l,"expected "+r+" to "+o+" by "+e,"expected "+r+" to not "+o+" by "+e)}a(Nv,"assertDelta");G(Nv,"assertDelta");F.addMethod("by",Nv);F.addProperty("extensible",function(){var e=W(this,"object"),t=e===Object(e)&&Object.isExtensible(e);this.assert(t,"expected #{this} to be extensible","expected #{this} to not be extensible")});F.addProperty("sealed",function(){var e=W(this,"object"),t=e===Object(e)?Object.isSealed(e):!0;this.assert(t,"expected #{this} to be sealed","expected #{this} to not be sealed")});F.addProperty("frozen",function(){var e=W(this,"object"),t=e===Object(e)?Object.isFrozen(e):!0;this.assert(t,"expected #{this} to be frozen","expected #{this} to not be frozen")});F.addProperty("finite",function(e){var t=W(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 Tl(e,t){return e===t?!0:typeof t!=typeof e?!1:typeof e!="object"||e===null?e===t:t?Array.isArray(e)?Array.isArray(t)?e.every(function(r){return t.some(function(n){return Tl(r,n)})}):!1:e instanceof Date?t instanceof Date?e.getTime()===t.getTime():!1:Object.keys(e).every(function(r){var n=e[r],i=t[r];return typeof n=="object"&&n!==null&&i!==null?Tl(n,i):typeof n=="function"?n(i):i===n}):!1}a(Tl,"compareSubset");G(Tl,"compareSubset");F.addMethod("containSubset",function(e){let t=Pe(this,"object"),r=sr.showDiff;this.assert(Tl(e,t),"expected #{act} to contain subset #{exp}","expected #{act} to not contain subset #{exp}",e,t,r)});function Si(e,t){return new F(e,t)}a(Si,"expect");G(Si,"expect");Si.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"expect.fail()",new Ve(r,{actual:e,expected:t,operator:n},Si.fail)};var wR={};Kb(wR,{Should:a(()=>T7,"Should"),should:a(()=>x7,"should")});function lf(){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 F(this.valueOf(),null,e):new F(this,null,e)}a(e,"shouldGetter"),G(e,"shouldGetter");function t(n){Object.defineProperty(this,"should",{value:n,enumerable:!0,configurable:!0,writable:!0})}a(t,"shouldSetter"),G(t,"shouldSetter"),Object.defineProperty(Object.prototype,"should",{set:t,get:e,configurable:!0});var r={};return r.fail=function(n,i,o,s){throw arguments.length<2&&(o=n,n=void 0),o=o||"should.fail()",new Ve(o,{actual:n,expected:i,operator:s},r.fail)},r.equal=function(n,i,o){new F(n,o).to.equal(i)},r.Throw=function(n,i,o,s){new F(n,s).to.Throw(i,o)},r.exist=function(n,i){new F(n,i).to.exist},r.not={},r.not.equal=function(n,i,o){new F(n,o).to.not.equal(i)},r.not.Throw=function(n,i,o,s){new F(n,s).to.not.Throw(i,o)},r.not.exist=function(n,i){new F(n,i).to.not.exist},r.throw=r.Throw,r.not.throw=r.not.Throw,r}a(lf,"loadShould");G(lf,"loadShould");var x7=lf,T7=lf;function $(e,t){var r=new F(null,null,$,!0);r.assert(e,t,"[ negation message unavailable ]")}a($,"assert");G($,"assert");$.fail=function(e,t,r,n){throw arguments.length<2&&(r=e,e=void 0),r=r||"assert.fail()",new Ve(r,{actual:e,expected:t,operator:n},$.fail)};$.isOk=function(e,t){new F(e,t,$.isOk,!0).is.ok};$.isNotOk=function(e,t){new F(e,t,$.isNotOk,!0).is.not.ok};$.equal=function(e,t,r){var n=new F(e,r,$.equal,!0);n.assert(t==Pe(n,"object"),"expected #{this} to equal #{exp}","expected #{this} to not equal #{act}",t,e,!0)};$.notEqual=function(e,t,r){var n=new F(e,r,$.notEqual,!0);n.assert(t!=Pe(n,"object"),"expected #{this} to not equal #{exp}","expected #{this} to equal #{act}",t,e,!0)};$.strictEqual=function(e,t,r){new F(e,r,$.strictEqual,!0).to.equal(t)};$.notStrictEqual=function(e,t,r){new F(e,r,$.notStrictEqual,!0).to.not.equal(t)};$.deepEqual=$.deepStrictEqual=function(e,t,r){new F(e,r,$.deepEqual,!0).to.eql(t)};$.notDeepEqual=function(e,t,r){new F(e,r,$.notDeepEqual,!0).to.not.eql(t)};$.isAbove=function(e,t,r){new F(e,r,$.isAbove,!0).to.be.above(t)};$.isAtLeast=function(e,t,r){new F(e,r,$.isAtLeast,!0).to.be.least(t)};$.isBelow=function(e,t,r){new F(e,r,$.isBelow,!0).to.be.below(t)};$.isAtMost=function(e,t,r){new F(e,r,$.isAtMost,!0).to.be.most(t)};$.isTrue=function(e,t){new F(e,t,$.isTrue,!0).is.true};$.isNotTrue=function(e,t){new F(e,t,$.isNotTrue,!0).to.not.equal(!0)};$.isFalse=function(e,t){new F(e,t,$.isFalse,!0).is.false};$.isNotFalse=function(e,t){new F(e,t,$.isNotFalse,!0).to.not.equal(!1)};$.isNull=function(e,t){new F(e,t,$.isNull,!0).to.equal(null)};$.isNotNull=function(e,t){new F(e,t,$.isNotNull,!0).to.not.equal(null)};$.isNaN=function(e,t){new F(e,t,$.isNaN,!0).to.be.NaN};$.isNotNaN=function(e,t){new F(e,t,$.isNotNaN,!0).not.to.be.NaN};$.exists=function(e,t){new F(e,t,$.exists,!0).to.exist};$.notExists=function(e,t){new F(e,t,$.notExists,!0).to.not.exist};$.isUndefined=function(e,t){new F(e,t,$.isUndefined,!0).to.equal(void 0)};$.isDefined=function(e,t){new F(e,t,$.isDefined,!0).to.not.equal(void 0)};$.isCallable=function(e,t){new F(e,t,$.isCallable,!0).is.callable};$.isNotCallable=function(e,t){new F(e,t,$.isNotCallable,!0).is.not.callable};$.isObject=function(e,t){new F(e,t,$.isObject,!0).to.be.a("object")};$.isNotObject=function(e,t){new F(e,t,$.isNotObject,!0).to.not.be.a("object")};$.isArray=function(e,t){new F(e,t,$.isArray,!0).to.be.an("array")};$.isNotArray=function(e,t){new F(e,t,$.isNotArray,!0).to.not.be.an("array")};$.isString=function(e,t){new F(e,t,$.isString,!0).to.be.a("string")};$.isNotString=function(e,t){new F(e,t,$.isNotString,!0).to.not.be.a("string")};$.isNumber=function(e,t){new F(e,t,$.isNumber,!0).to.be.a("number")};$.isNotNumber=function(e,t){new F(e,t,$.isNotNumber,!0).to.not.be.a("number")};$.isNumeric=function(e,t){new F(e,t,$.isNumeric,!0).is.numeric};$.isNotNumeric=function(e,t){new F(e,t,$.isNotNumeric,!0).is.not.numeric};$.isFinite=function(e,t){new F(e,t,$.isFinite,!0).to.be.finite};$.isBoolean=function(e,t){new F(e,t,$.isBoolean,!0).to.be.a("boolean")};$.isNotBoolean=function(e,t){new F(e,t,$.isNotBoolean,!0).to.not.be.a("boolean")};$.typeOf=function(e,t,r){new F(e,r,$.typeOf,!0).to.be.a(t)};$.notTypeOf=function(e,t,r){new F(e,r,$.notTypeOf,!0).to.not.be.a(t)};$.instanceOf=function(e,t,r){new F(e,r,$.instanceOf,!0).to.be.instanceOf(t)};$.notInstanceOf=function(e,t,r){new F(e,r,$.notInstanceOf,!0).to.not.be.instanceOf(t)};$.include=function(e,t,r){new F(e,r,$.include,!0).include(t)};$.notInclude=function(e,t,r){new F(e,r,$.notInclude,!0).not.include(t)};$.deepInclude=function(e,t,r){new F(e,r,$.deepInclude,!0).deep.include(t)};$.notDeepInclude=function(e,t,r){new F(e,r,$.notDeepInclude,!0).not.deep.include(t)};$.nestedInclude=function(e,t,r){new F(e,r,$.nestedInclude,!0).nested.include(t)};$.notNestedInclude=function(e,t,r){new F(e,r,$.notNestedInclude,!0).not.nested.include(t)};$.deepNestedInclude=function(e,t,r){new F(e,r,$.deepNestedInclude,!0).deep.nested.include(t)};$.notDeepNestedInclude=function(e,t,r){new F(e,r,$.notDeepNestedInclude,!0).not.deep.nested.include(t)};$.ownInclude=function(e,t,r){new F(e,r,$.ownInclude,!0).own.include(t)};$.notOwnInclude=function(e,t,r){new F(e,r,$.notOwnInclude,!0).not.own.include(t)};$.deepOwnInclude=function(e,t,r){new F(e,r,$.deepOwnInclude,!0).deep.own.include(t)};$.notDeepOwnInclude=function(e,t,r){new F(e,r,$.notDeepOwnInclude,!0).not.deep.own.include(t)};$.match=function(e,t,r){new F(e,r,$.match,!0).to.match(t)};$.notMatch=function(e,t,r){new F(e,r,$.notMatch,!0).to.not.match(t)};$.property=function(e,t,r){new F(e,r,$.property,!0).to.have.property(t)};$.notProperty=function(e,t,r){new F(e,r,$.notProperty,!0).to.not.have.property(t)};$.propertyVal=function(e,t,r,n){new F(e,n,$.propertyVal,!0).to.have.property(t,r)};$.notPropertyVal=function(e,t,r,n){new F(e,n,$.notPropertyVal,!0).to.not.have.property(t,r)};$.deepPropertyVal=function(e,t,r,n){new F(e,n,$.deepPropertyVal,!0).to.have.deep.property(t,r)};$.notDeepPropertyVal=function(e,t,r,n){new F(e,n,$.notDeepPropertyVal,!0).to.not.have.deep.property(t,r)};$.ownProperty=function(e,t,r){new F(e,r,$.ownProperty,!0).to.have.own.property(t)};$.notOwnProperty=function(e,t,r){new F(e,r,$.notOwnProperty,!0).to.not.have.own.property(t)};$.ownPropertyVal=function(e,t,r,n){new F(e,n,$.ownPropertyVal,!0).to.have.own.property(t,r)};$.notOwnPropertyVal=function(e,t,r,n){new F(e,n,$.notOwnPropertyVal,!0).to.not.have.own.property(t,r)};$.deepOwnPropertyVal=function(e,t,r,n){new F(e,n,$.deepOwnPropertyVal,!0).to.have.deep.own.property(t,r)};$.notDeepOwnPropertyVal=function(e,t,r,n){new F(e,n,$.notDeepOwnPropertyVal,!0).to.not.have.deep.own.property(t,r)};$.nestedProperty=function(e,t,r){new F(e,r,$.nestedProperty,!0).to.have.nested.property(t)};$.notNestedProperty=function(e,t,r){new F(e,r,$.notNestedProperty,!0).to.not.have.nested.property(t)};$.nestedPropertyVal=function(e,t,r,n){new F(e,n,$.nestedPropertyVal,!0).to.have.nested.property(t,r)};$.notNestedPropertyVal=function(e,t,r,n){new F(e,n,$.notNestedPropertyVal,!0).to.not.have.nested.property(t,r)};$.deepNestedPropertyVal=function(e,t,r,n){new F(e,n,$.deepNestedPropertyVal,!0).to.have.deep.nested.property(t,r)};$.notDeepNestedPropertyVal=function(e,t,r,n){new F(e,n,$.notDeepNestedPropertyVal,!0).to.not.have.deep.nested.property(t,r)};$.lengthOf=function(e,t,r){new F(e,r,$.lengthOf,!0).to.have.lengthOf(t)};$.hasAnyKeys=function(e,t,r){new F(e,r,$.hasAnyKeys,!0).to.have.any.keys(t)};$.hasAllKeys=function(e,t,r){new F(e,r,$.hasAllKeys,!0).to.have.all.keys(t)};$.containsAllKeys=function(e,t,r){new F(e,r,$.containsAllKeys,!0).to.contain.all.keys(t)};$.doesNotHaveAnyKeys=function(e,t,r){new F(e,r,$.doesNotHaveAnyKeys,!0).to.not.have.any.keys(t)};$.doesNotHaveAllKeys=function(e,t,r){new F(e,r,$.doesNotHaveAllKeys,!0).to.not.have.all.keys(t)};$.hasAnyDeepKeys=function(e,t,r){new F(e,r,$.hasAnyDeepKeys,!0).to.have.any.deep.keys(t)};$.hasAllDeepKeys=function(e,t,r){new F(e,r,$.hasAllDeepKeys,!0).to.have.all.deep.keys(t)};$.containsAllDeepKeys=function(e,t,r){new F(e,r,$.containsAllDeepKeys,!0).to.contain.all.deep.keys(t)};$.doesNotHaveAnyDeepKeys=function(e,t,r){new F(e,r,$.doesNotHaveAnyDeepKeys,!0).to.not.have.any.deep.keys(t)};$.doesNotHaveAllDeepKeys=function(e,t,r){new F(e,r,$.doesNotHaveAllDeepKeys,!0).to.not.have.all.deep.keys(t)};$.throws=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null);var i=new F(e,n,$.throws,!0).to.throw(t,r);return Pe(i,"object")};$.doesNotThrow=function(e,t,r,n){(typeof t=="string"||t instanceof RegExp)&&(r=t,t=null),new F(e,n,$.doesNotThrow,!0).to.not.throw(t,r)};$.operator=function(e,t,r,n){var i;switch(t){case"==":i=e==r;break;case"===":i=e===r;break;case">":i=e>r;break;case">=":i=e>=r;break;case"<":i=e<r;break;case"<=":i=e<=r;break;case"!=":i=e!=r;break;case"!==":i=e!==r;break;default:throw n=n&&n+": ",new Ve(n+'Invalid operator "'+t+'"',void 0,$.operator)}var o=new F(i,n,$.operator,!0);o.assert(Pe(o,"object")===!0,"expected "+Fe(e)+" to be "+t+" "+Fe(r),"expected "+Fe(e)+" to not be "+t+" "+Fe(r))};$.closeTo=function(e,t,r,n){new F(e,n,$.closeTo,!0).to.be.closeTo(t,r)};$.approximately=function(e,t,r,n){new F(e,n,$.approximately,!0).to.be.approximately(t,r)};$.sameMembers=function(e,t,r){new F(e,r,$.sameMembers,!0).to.have.same.members(t)};$.notSameMembers=function(e,t,r){new F(e,r,$.notSameMembers,!0).to.not.have.same.members(t)};$.sameDeepMembers=function(e,t,r){new F(e,r,$.sameDeepMembers,!0).to.have.same.deep.members(t)};$.notSameDeepMembers=function(e,t,r){new F(e,r,$.notSameDeepMembers,!0).to.not.have.same.deep.members(t)};$.sameOrderedMembers=function(e,t,r){new F(e,r,$.sameOrderedMembers,!0).to.have.same.ordered.members(t)};$.notSameOrderedMembers=function(e,t,r){new F(e,r,$.notSameOrderedMembers,!0).to.not.have.same.ordered.members(t)};$.sameDeepOrderedMembers=function(e,t,r){new F(e,r,$.sameDeepOrderedMembers,!0).to.have.same.deep.ordered.members(t)};$.notSameDeepOrderedMembers=function(e,t,r){new F(e,r,$.notSameDeepOrderedMembers,!0).to.not.have.same.deep.ordered.members(t)};$.includeMembers=function(e,t,r){new F(e,r,$.includeMembers,!0).to.include.members(t)};$.notIncludeMembers=function(e,t,r){new F(e,r,$.notIncludeMembers,!0).to.not.include.members(t)};$.includeDeepMembers=function(e,t,r){new F(e,r,$.includeDeepMembers,!0).to.include.deep.members(t)};$.notIncludeDeepMembers=function(e,t,r){new F(e,r,$.notIncludeDeepMembers,!0).to.not.include.deep.members(t)};$.includeOrderedMembers=function(e,t,r){new F(e,r,$.includeOrderedMembers,!0).to.include.ordered.members(t)};$.notIncludeOrderedMembers=function(e,t,r){new F(e,r,$.notIncludeOrderedMembers,!0).to.not.include.ordered.members(t)};$.includeDeepOrderedMembers=function(e,t,r){new F(e,r,$.includeDeepOrderedMembers,!0).to.include.deep.ordered.members(t)};$.notIncludeDeepOrderedMembers=function(e,t,r){new F(e,r,$.notIncludeDeepOrderedMembers,!0).to.not.include.deep.ordered.members(t)};$.oneOf=function(e,t,r){new F(e,r,$.oneOf,!0).to.be.oneOf(t)};$.isIterable=function(e,t){if(e==null||!e[Symbol.iterator])throw t=t?`${t} expected ${Fe(e)} to be an iterable`:`expected ${Fe(e)} to be an iterable`,new Ve(t,void 0,$.isIterable)};$.changes=function(e,t,r,n){arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,$.changes,!0).to.change(t,r)};$.changesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new F(e,i,$.changesBy,!0).to.change(t,r).by(n)};$.doesNotChange=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,$.doesNotChange,!0).to.not.change(t,r)};$.changesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new F(e,i,$.changesButNotBy,!0).to.change(t,r).but.not.by(n)};$.increases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,$.increases,!0).to.increase(t,r)};$.increasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new F(e,i,$.increasesBy,!0).to.increase(t,r).by(n)};$.doesNotIncrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,$.doesNotIncrease,!0).to.not.increase(t,r)};$.increasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new F(e,i,$.increasesButNotBy,!0).to.increase(t,r).but.not.by(n)};$.decreases=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,$.decreases,!0).to.decrease(t,r)};$.decreasesBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new F(e,i,$.decreasesBy,!0).to.decrease(t,r).by(n)};$.doesNotDecrease=function(e,t,r,n){return arguments.length===3&&typeof t=="function"&&(n=r,r=null),new F(e,n,$.doesNotDecrease,!0).to.not.decrease(t,r)};$.doesNotDecreaseBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);return new F(e,i,$.doesNotDecreaseBy,!0).to.not.decrease(t,r).by(n)};$.decreasesButNotBy=function(e,t,r,n,i){if(arguments.length===4&&typeof t=="function"){var o=n;n=r,i=o}else arguments.length===3&&(n=r,r=null);new F(e,i,$.decreasesButNotBy,!0).to.decrease(t,r).but.not.by(n)};$.ifError=function(e){if(e)throw e};$.isExtensible=function(e,t){new F(e,t,$.isExtensible,!0).to.be.extensible};$.isNotExtensible=function(e,t){new F(e,t,$.isNotExtensible,!0).to.not.be.extensible};$.isSealed=function(e,t){new F(e,t,$.isSealed,!0).to.be.sealed};$.isNotSealed=function(e,t){new F(e,t,$.isNotSealed,!0).to.not.be.sealed};$.isFrozen=function(e,t){new F(e,t,$.isFrozen,!0).to.be.frozen};$.isNotFrozen=function(e,t){new F(e,t,$.isNotFrozen,!0).to.not.be.frozen};$.isEmpty=function(e,t){new F(e,t,$.isEmpty,!0).to.be.empty};$.isNotEmpty=function(e,t){new F(e,t,$.isNotEmpty,!0).to.not.be.empty};$.containsSubset=function(e,t,r){new F(e,r).to.containSubset(t)};$.doesNotContainSubset=function(e,t,r){new F(e,r).to.not.containSubset(t)};var S7=[["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"],["containsSubset","containSubset"]];for(let[e,t]of S7)$[t]=$[e];var Cx=[];function co(e){let t={use:co,AssertionError:Ve,util:fn,config:sr,expect:Si,assert:$,Assertion:F,...wR};return~Cx.indexOf(e)||(e(t,fn),Cx.push(e)),t}a(co,"use");G(co,"use");var xR={};ar(xR,{toBeChecked:()=>h_,toBeDisabled:()=>s_,toBeEmpty:()=>Jv,toBeEmptyDOMElement:()=>Wv,toBeEnabled:()=>a_,toBeInTheDOM:()=>ip,toBeInTheDocument:()=>Hv,toBeInvalid:()=>c_,toBePartiallyChecked:()=>y_,toBeRequired:()=>l_,toBeValid:()=>p_,toBeVisible:()=>t_,toContainElement:()=>op,toContainHTML:()=>zv,toHaveAccessibleDescription:()=>sp,toHaveAccessibleErrorMessage:()=>Gv,toHaveAccessibleName:()=>lp,toHaveAttribute:()=>Yv,toHaveClass:()=>Xv,toHaveDescription:()=>g_,toHaveDisplayValue:()=>f_,toHaveErrorMessage:()=>b_,toHaveFocus:()=>Qv,toHaveFormValues:()=>Zv,toHaveRole:()=>ap,toHaveSelection:()=>v_,toHaveStyle:()=>up,toHaveTextContent:()=>Kv,toHaveValue:()=>d_});var Ox=wt(fC(),1);function Iv(e){Object.defineProperty(e,"__esModule",{value:!0,configurable:!0})}a(Iv,"$parcel$defineInteropFlag");function uf(e,t,r,n){Object.defineProperty(e,t,{get:r,set:n,enumerable:!0,configurable:!0})}a(uf,"$parcel$export");var TR={};Iv(TR);uf(TR,"default",()=>CR);var SR=class extends Error{constructor(t,r,n,i,o){super(t+":"+n+":"+i+": "+r),this.reason=r,this.filename=t,this.line=n,this.column=i,this.source=o}};a(SR,"$009ddb00d3ec72b8$export$2e2bcd8739ae039");var CR=SR,OR={};Iv(OR);uf(OR,"default",()=>AR);var PR=class{constructor(t,r,n){this.start=t,this.end=r,this.source=n}};a(PR,"$0865a9fb4cc365fe$export$2e2bcd8739ae039");var AR=PR,C7={};uf(C7,"CssTypes",()=>Lt);var Lt=function(e){return 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",e}({}),Nh=/\/\*[^]*?(?:\*\/|$)/g,O7=a((e,t)=>{t=t||{};let r=1,n=1;function i(ee){let Z=ee.match(/\n/g);Z&&(r+=Z.length);let re=ee.lastIndexOf(`
|
|
221
|
-
`);n=~re?ee.length-re:n+ee.length}a(i,"updatePosition");function o(){let ee={line:r,column:n};return function(Z){return Z.position=new AR(ee,{line:r,column:n},t?.source||""),h(),Z}}a(o,"position");let s=[];function l(ee){let Z=new CR(t?.source||"",ee,r,n,e);if(t?.silent)s.push(Z);else throw Z}a(l,"error");function u(){let ee=d();return{type:Lt.stylesheet,stylesheet:{source:t?.source,rules:ee,parsingErrors:s}}}a(u,"stylesheet");function c(){return f(/^{\s*/)}a(c,"open");function p(){return f(/^}/)}a(p,"close");function d(){let ee,Z=[];for(h(),y(Z);e.length&&e.charAt(0)!=="}"&&(ee=ye()||ae());)ee&&(Z.push(ee),y(Z));return Z}a(d,"rules");function f(ee){let Z=ee.exec(e);if(!Z)return;let re=Z[0];return i(re),e=e.slice(re.length),Z}a(f,"match");function h(){f(/^\s*/)}a(h,"whitespace");function y(ee){let Z;for(ee=ee||[];Z=b();)Z&&ee.push(Z);return ee}a(y,"comments");function b(){let ee=o();if(e.charAt(0)!=="/"||e.charAt(1)!=="*")return;let Z=f(/^\/\*[^]*?\*\//);return Z?ee({type:Lt.comment,comment:Z[0].slice(2,-2)}):l("End of comment missing")}a(b,"comment");function g(ee,Z,re){let me=Z+1,se=!1,_e=ee.indexOf(")",me);for(;!se&&_e!==-1;){let Te=ee.indexOf("(",me);Te!==-1&&Te<_e?(me=g(ee,Te+1)+1,_e=ee.indexOf(")",me)):se=!0}return se&&_e!==-1?_e:-1}a(g,"findClosingParenthese");function m(){let ee=f(/^([^{]+)/);if(!ee)return;let Z=gr(ee[0]).replace(Nh,"");if(Z.indexOf(",")===-1)return[Z];let re=0,me=Z.indexOf("(",re);for(;me!==-1;){let se=g(Z,me);if(se===-1)break;re=se+1,Z=Z.substring(0,me)+Z.substring(me,se).replace(/,/g,"")+Z.substring(se),me=Z.indexOf("(",re)}return Z=Z.replace(/("|')(?:\\\1|.)*?\1/g,se=>se.replace(/,/g,"")),Z.split(",").map(se=>gr(se.replace(/\u200C/g,",")))}a(m,"selector");function v(){let ee=o(),Z=f(/^(\*?[-#/*\\\w]+(\[[0-9a-z_-]+\])?)\s*/);if(!Z)return;let re=gr(Z[0]);if(!f(/^:\s*/))return l("property missing ':'");let me=f(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|[^)])*?\)|[^};])+)/),se=ee({type:Lt.declaration,property:re.replace(Nh,""),value:me?gr(me[0]).replace(Nh,""):""});return f(/^[;\s]*/),se}a(v,"declaration");function S(){let ee=[];if(!c())return l("missing '{'");y(ee);let Z;for(;Z=v();)Z&&(ee.push(Z),y(ee));return p()?ee:l("missing '}'")}a(S,"declarations");function O(){let ee,Z=[],re=o();for(;ee=f(/^((\d+\.\d+|\.\d+|\d+)%?|[a-z]+)\s*/);)Z.push(ee[1]),f(/^,\s*/);if(Z.length)return re({type:Lt.keyframe,values:Z,declarations:S()||[]})}a(O,"keyframe");function P(){let ee=o(),Z=f(/^@([-\w]+)?keyframes\s*/);if(!Z)return;let re=Z[1],me=f(/^([-\w]+)\s*/);if(!me)return l("@keyframes missing name");let se=me[1];if(!c())return l("@keyframes missing '{'");let _e,Te=y();for(;_e=O();)Te.push(_e),Te=Te.concat(y());return p()?ee({type:Lt.keyframes,name:se,vendor:re,keyframes:Te}):l("@keyframes missing '}'")}a(P,"atkeyframes");function x(){let ee=o(),Z=f(/^@supports *([^{]+)/);if(!Z)return;let re=gr(Z[1]);if(!c())return l("@supports missing '{'");let me=y().concat(d());return p()?ee({type:Lt.supports,supports:re,rules:me}):l("@supports missing '}'")}a(x,"atsupports");function E(){let ee=o();if(!f(/^@host\s*/))return;if(!c())return l("@host missing '{'");let Z=y().concat(d());return p()?ee({type:Lt.host,rules:Z}):l("@host missing '}'")}a(E,"athost");function _(){let ee=o(),Z=f(/^@container *([^{]+)/);if(!Z)return;let re=gr(Z[1]);if(!c())return l("@container missing '{'");let me=y().concat(d());return p()?ee({type:Lt.container,container:re,rules:me}):l("@container missing '}'")}a(_,"atcontainer");function C(){let ee=o(),Z=f(/^@layer *([^{;@]+)/);if(!Z)return;let re=gr(Z[1]);if(!c())return f(/^[;\s]*/),ee({type:Lt.layer,layer:re});let me=y().concat(d());return p()?ee({type:Lt.layer,layer:re,rules:me}):l("@layer missing '}'")}a(C,"atlayer");function w(){let ee=o(),Z=f(/^@media *([^{]+)/);if(!Z)return;let re=gr(Z[1]);if(!c())return l("@media missing '{'");let me=y().concat(d());return p()?ee({type:Lt.media,media:re,rules:me}):l("@media missing '}'")}a(w,"atmedia");function A(){let ee=o(),Z=f(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);if(Z)return ee({type:Lt.customMedia,name:gr(Z[1]),media:gr(Z[2])})}a(A,"atcustommedia");function I(){let ee=o();if(!f(/^@page */))return;let Z=m()||[];if(!c())return l("@page missing '{'");let re=y(),me;for(;me=v();)re.push(me),re=re.concat(y());return p()?ee({type:Lt.page,selectors:Z,declarations:re}):l("@page missing '}'")}a(I,"atpage");function j(){let ee=o(),Z=f(/^@([-\w]+)?document *([^{]+)/);if(!Z)return;let re=gr(Z[1]),me=gr(Z[2]);if(!c())return l("@document missing '{'");let se=y().concat(d());return p()?ee({type:Lt.document,document:me,vendor:re,rules:se}):l("@document missing '}'")}a(j,"atdocument");function R(){let ee=o();if(!f(/^@font-face\s*/))return;if(!c())return l("@font-face missing '{'");let Z=y(),re;for(;re=v();)Z.push(re),Z=Z.concat(y());return p()?ee({type:Lt.fontFace,declarations:Z}):l("@font-face missing '}'")}a(R,"atfontface");function q(){let ee=o();if(!f(/^@starting-style\s*/))return;if(!c())return l("@starting-style missing '{'");let Z=y().concat(d());return p()?ee({type:Lt.startingStyle,rules:Z}):l("@starting-style missing '}'")}a(q,"atstartingstyle");let M=oe("import"),K=oe("charset"),J=oe("namespace");function oe(ee){let Z=new RegExp("^@"+ee+`\\s*((?::?[^;'"]|"(?:\\\\"|[^"])*?"|'(?:\\\\'|[^'])*?')+)(?:;|$)`);return function(){let re=o(),me=f(Z);if(!me)return;let se={type:ee};return se[ee]=me[1].trim(),re(se)}}a(oe,"_compileAtrule");function ye(){if(e[0]==="@")return P()||w()||A()||x()||M()||K()||J()||j()||I()||E()||R()||_()||q()||C()}a(ye,"atrule");function ae(){let ee=o(),Z=m();return Z?(y(),ee({type:Lt.rule,selectors:Z,declarations:S()||[]})):l("selector missing")}return a(ae,"rule"),np(u())},"$d708735ed1303b43$export$98e6a39c04603d36");function gr(e){return e?e.trim():""}a(gr,"$d708735ed1303b43$var$trim");function np(e,t){let r=e&&typeof e.type=="string",n=r?e:t;for(let i in e){let o=e[i];Array.isArray(o)?o.forEach(s=>{np(s,n)}):o&&typeof o=="object"&&np(o,n)}return r&&Object.defineProperty(e,"parent",{configurable:!0,writable:!0,enumerable:!1,value:t||null}),e}a(np,"$d708735ed1303b43$var$addParent");var P7=O7,A7=P7,R7=Object.prototype.toString;function Gm(e){return typeof e=="function"||R7.call(e)==="[object Function]"}a(Gm,"isCallable");function RR(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}a(RR,"toInteger");var N7=Math.pow(2,53)-1;function NR(e){var t=RR(e);return Math.min(Math.max(t,0),N7)}a(NR,"toLength");function qr(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"&&!Gm(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var i=NR(n.length),o=Gm(r)?Object(new r(i)):new Array(i),s=0,l;s<i;)l=n[s],t?o[s]=t(l,s):o[s]=l,s+=1;return o.length=i,o}a(qr,"arrayFrom");function js(e){"@babel/helpers - typeof";return js=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},js(e)}a(js,"_typeof");function IR(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}a(IR,"_classCallCheck");function Ym(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,kv(n.key),n)}}a(Ym,"_defineProperties");function kR(e,t,r){return t&&Ym(e.prototype,t),r&&Ym(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}a(kR,"_createClass");function MR(e,t,r){return t=kv(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(MR,"_defineProperty");function kv(e){var t=qR(e,"string");return js(t)==="symbol"?t:String(t)}a(kv,"_toPropertyKey");function qR(e,t){if(js(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(js(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}a(qR,"_toPrimitive");var I7=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];IR(this,e),MR(this,"items",void 0),this.items=t}return a(e,"SetLike"),kR(e,[{key:"add",value:a(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:a(function(){this.items=[]},"clear")},{key:"delete",value:a(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:a(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:a(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:a(function(){return this.items.length},"get")}]),e}(),k7=typeof Set>"u"?Set:I7;function Ht(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}a(Ht,"getLocalName");var M7={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"},q7={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 jR(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=q7[t])!==null&&n!==void 0&&n.has(r))})}a(jR,"hasGlobalAriaAttributes");function Mv(e,t){return jR(e,t)}a(Mv,"ignorePresentationalRole");function DR(e){var t=$R(e);if(t===null||Xm.indexOf(t)!==-1){var r=LR(e);if(Xm.indexOf(t||"")===-1||Mv(e,r||""))return r}return t}a(DR,"getRole");function LR(e){var t=M7[Ht(e)];if(t!==void 0)return t;switch(Ht(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!Mv(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}a(LR,"getImplicitRole");function $R(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}a($R,"getExplicitRole");var Xm=["presentation","none"];function it(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}a(it,"isElement");function qv(e){return it(e)&&Ht(e)==="caption"}a(qv,"isHTMLTableCaptionElement");function Xa(e){return it(e)&&Ht(e)==="input"}a(Xa,"isHTMLInputElement");function FR(e){return it(e)&&Ht(e)==="optgroup"}a(FR,"isHTMLOptGroupElement");function BR(e){return it(e)&&Ht(e)==="select"}a(BR,"isHTMLSelectElement");function UR(e){return it(e)&&Ht(e)==="table"}a(UR,"isHTMLTableElement");function VR(e){return it(e)&&Ht(e)==="textarea"}a(VR,"isHTMLTextAreaElement");function HR(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}a(HR,"safeWindow");function JR(e){return it(e)&&Ht(e)==="fieldset"}a(JR,"isHTMLFieldSetElement");function WR(e){return it(e)&&Ht(e)==="legend"}a(WR,"isHTMLLegendElement");function zR(e){return it(e)&&Ht(e)==="slot"}a(zR,"isHTMLSlotElement");function KR(e){return it(e)&&e.ownerSVGElement!==void 0}a(KR,"isSVGElement");function GR(e){return it(e)&&Ht(e)==="svg"}a(GR,"isSVGSVGElement");function YR(e){return KR(e)&&Ht(e)==="title"}a(YR,"isSVGTitleElement");function Sl(e,t){if(it(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}a(Sl,"queryIdRefs");function hn(e,t){return it(e)?t.indexOf(DR(e))!==-1:!1}a(hn,"hasAnyConcreteRoles");function XR(e){return e.trim().replace(/\s\s+/g," ")}a(XR,"asFlatString");function QR(e,t){if(!it(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"}a(QR,"isHidden");function ZR(e){return hn(e,["button","combobox","listbox","textbox"])||jv(e,"range")}a(ZR,"isControl");function jv(e,t){if(!it(e))return!1;switch(t){case"range":return hn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}a(jv,"hasAbstractRole");function Qm(e,t){var r=qr(e.querySelectorAll(t));return Sl(e,"aria-owns").forEach(function(n){r.push.apply(r,qr(n.querySelectorAll(t)))}),r}a(Qm,"querySelectorAllSubtree");function eN(e){return BR(e)?e.selectedOptions||Qm(e,"[selected]"):Qm(e,'[aria-selected="true"]')}a(eN,"querySelectedOptions");function tN(e){return hn(e,Xm)}a(tN,"isMarkedPresentational");function rN(e){return qv(e)}a(rN,"isNativeHostLanguageTextAlternativeElement");function nN(e){return hn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}a(nN,"allowsNameFromContent");function iN(e){return!1}a(iN,"isDescendantOfNativeHostLanguageTextAlternativeElement");function oN(e){return Xa(e)||VR(e)?e.value:e.textContent||""}a(oN,"getValueOfTextbox");function Zm(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}a(Zm,"getTextualContent");function Dv(e){var t=Ht(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}a(Dv,"isLabelableElement");function Lv(e){if(Dv(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&it(r)){var n=Lv(r);n!==null&&(t=n)}}),t}a(Lv,"findLabelableElement");function sN(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):Lv(e)}a(sN,"getControlOfLabel");function aN(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return qr(t);if(!Dv(e))return null;var r=e.ownerDocument;return qr(r.querySelectorAll("label")).filter(function(n){return sN(n)===e})}a(aN,"getLabels");function lN(e){var t=e.assignedNodes();return t.length===0?qr(e.childNodes):t}a(lN,"getSlotContents");function $v(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new k7,n=HR(e),i=t.compute,o=i===void 0?"name":i,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,d=p===void 0?!1:p;function f(m,v){var S="";if(it(m)&&l){var O=c(m,"::before"),P=Zm(O);S="".concat(P," ").concat(S)}var x=zR(m)?lN(m):qr(m.childNodes).concat(Sl(m,"aria-owns"));if(x.forEach(function(C){var w=g(C,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),A=it(C)?c(C).getPropertyValue("display"):"inline",I=A!=="inline"?" ":"";S+="".concat(I).concat(w).concat(I)}),it(m)&&l){var E=c(m,"::after"),_=Zm(E);S="".concat(S," ").concat(_)}return S.trim()}a(f,"computeMiscTextAlternative");function h(m,v){var S=m.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}a(h,"useAttribute");function y(m){return it(m)?h(m,"title"):null}a(y,"computeTooltipAttributeValue");function b(m){if(!it(m))return null;if(JR(m)){r.add(m);for(var v=qr(m.childNodes),S=0;S<v.length;S+=1){var O=v[S];if(WR(O))return g(O,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(UR(m)){r.add(m);for(var P=qr(m.childNodes),x=0;x<P.length;x+=1){var E=P[x];if(qv(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(GR(m)){r.add(m);for(var _=qr(m.childNodes),C=0;C<_.length;C+=1){var w=_[C];if(YR(w))return w.textContent}return null}else if(Ht(m)==="img"||Ht(m)==="area"){var A=h(m,"alt");if(A!==null)return A}else if(FR(m)){var I=h(m,"label");if(I!==null)return I}if(Xa(m)&&(m.type==="button"||m.type==="submit"||m.type==="reset")){var j=h(m,"value");if(j!==null)return j;if(m.type==="submit")return"Submit";if(m.type==="reset")return"Reset"}var R=aN(m);if(R!==null&&R.length!==0)return r.add(m),qr(R).map(function(J){return g(J,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(J){return J.length>0}).join(" ");if(Xa(m)&&m.type==="image"){var q=h(m,"alt");if(q!==null)return q;var M=h(m,"title");return M!==null?M:"Submit Query"}if(hn(m,["button"])){var K=f(m,{isEmbeddedInLabel:!1});if(K!=="")return K}return null}a(b,"computeElementTextAlternative");function g(m,v){if(r.has(m))return"";if(!d&&QR(m,c)&&!v.isReferenced)return r.add(m),"";var S=it(m)?m.getAttributeNode("aria-labelledby"):null,O=S!==null&&!r.has(S)?Sl(m,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&O.length>0)return r.add(S),O.map(function(A){return g(A,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&ZR(m)&&o==="name";if(!P){var x=(it(m)&&m.getAttribute("aria-label")||"").trim();if(x!==""&&o==="name")return r.add(m),x;if(!tN(m)){var E=b(m);if(E!==null)return r.add(m),E}}if(hn(m,["menu"]))return r.add(m),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(hn(m,["combobox","listbox"])){r.add(m);var _=eN(m);return _.length===0?Xa(m)?m.value:"":qr(_).map(function(A){return g(A,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(jv(m,"range"))return r.add(m),m.hasAttribute("aria-valuetext")?m.getAttribute("aria-valuetext"):m.hasAttribute("aria-valuenow")?m.getAttribute("aria-valuenow"):m.getAttribute("value")||"";if(hn(m,["textbox"]))return r.add(m),oN(m)}if(nN(m)||it(m)&&v.isReferenced||rN(m)||iN()){var C=f(m,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(C!=="")return r.add(m),C}if(m.nodeType===m.TEXT_NODE)return r.add(m),m.textContent||"";if(v.recursion)return r.add(m),f(m,{isEmbeddedInLabel:v.isEmbeddedInLabel});var w=y(m);return w!==null?(r.add(m),w):(r.add(m),"")}return a(g,"computeTextAlternative"),XR(g(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}a($v,"computeTextAlternative");function Ds(e){"@babel/helpers - typeof";return Ds=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},Ds(e)}a(Ds,"_typeof");function ey(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}a(ey,"ownKeys");function ty(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?ey(Object(r),!0).forEach(function(n){uN(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):ey(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}a(ty,"_objectSpread");function uN(e,t,r){return t=cN(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(uN,"_defineProperty");function cN(e){var t=pN(e,"string");return Ds(t)==="symbol"?t:String(t)}a(cN,"_toPropertyKey");function pN(e,t){if(Ds(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Ds(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}a(pN,"_toPrimitive");function dN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Sl(e,"aria-describedby").map(function(o){return $v(o,ty(ty({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("aria-description");r=n===null?"":n}if(r===""){var i=e.getAttribute("title");r=i===null?"":i}return r}a(dN,"computeAccessibleDescription");function fN(e){return hn(e,["caption","code","deletion","emphasis","generic","insertion","none","paragraph","presentation","strong","subscript","superscript"])}a(fN,"prohibitsNaming");function hN(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return fN(e)?"":$v(e,t)}a(hN,"computeAccessibleName");var Fv=wt(hC(),1),j7=wt(yC(),1),Bv=wt(OC(),1),D7=wt(PC(),1),mN=class extends Error{constructor(t,r,n,i){super(),Error.captureStackTrace&&Error.captureStackTrace(this,n);let o="";try{o=i.utils.printWithType("Received",r,i.utils.printReceived)}catch{}this.message=[i.utils.matcherHint(`${i.isNot?".not":""}.${n.name}`,"received",""),"",`${i.utils.RECEIVED_COLOR("received")} value must ${t}.`,o].join(`
|
|
222
|
-
`)}};a(mN,"GenericTypeError");var yN=mN,gN=class extends yN{constructor(...t){super("be an HTMLElement or an SVGElement",...t)}};a(gN,"HtmlElementTypeError");var Px=gN,bN=class extends yN{constructor(...t){super("be a Node",...t)}};a(bN,"NodeTypeError");var Ax=bN;function Uv(e,t,...r){if(!e||!e.ownerDocument||!e.ownerDocument.defaultView)throw new t(e,...r)}a(Uv,"checkHasWindow");function vN(e,...t){Uv(e,Ax,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.Node))throw new Ax(e,...t)}a(vN,"checkNode");function We(e,...t){Uv(e,Px,...t);let r=e.ownerDocument.defaultView;if(!(e instanceof r.HTMLElement)&&!(e instanceof r.SVGElement))throw new Px(e,...t)}a(We,"checkHtmlElement");var _N=class extends Error{constructor(t,r,n){super(),Error.captureStackTrace&&Error.captureStackTrace(this,r),this.message=[t.message,"",n.utils.RECEIVED_COLOR("Failing css:"),n.utils.RECEIVED_COLOR(`${t.css}`)].join(`
|
|
223
|
-
`)}};a(_N,"InvalidCSSError");var L7=_N;function EN(e,...t){let r=A7(`selector { ${e} }`,{silent:!0}).stylesheet;if(r.parsingErrors&&r.parsingErrors.length>0){let{reason:n,line:i}=r.parsingErrors[0];throw new L7({css:e,message:`Syntax error parsing expected css: ${n} on line: ${i}`},...t)}return r.rules[0].declarations.filter(n=>n.type==="declaration").reduce((n,{property:i,value:o})=>Object.assign(n,{[i]:o}),{})}a(EN,"parseCSS");function ry(e,t){return typeof t=="string"?t:e.utils.stringify(t)}a(ry,"display");function $t(e,t,r,n,i,o){return[`${t}
|
|
224
|
-
`,`${r}:
|
|
225
|
-
${e.utils.EXPECTED_COLOR((0,Ox.default)(ry(e,n),2))}`,`${i}:
|
|
226
|
-
${e.utils.RECEIVED_COLOR((0,Ox.default)(ry(e,o),2))}`].join(`
|
|
227
|
-
`)}a($t,"getMessage");function wN(e,t){return t instanceof RegExp?t.test(e):e.includes(String(t))}a(wN,"matches");function hu(e,t){console.warn(`Warning: ${e} has been deprecated and will be removed in future updates.`,t)}a(hu,"deprecate");function mu(e){return e.replace(/\s+/g," ").trim()}a(mu,"normalize");function zn(e){return e.tagName&&e.tagName.toLowerCase()}a(zn,"getTag");function xN({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}a(xN,"getSelectValue");function TN(e){switch(e.type){case"number":return e.value===""?null:Number(e.value);case"checkbox":return e.checked;default:return e.value}}a(TN,"getInputValue");var $7=["meter","progressbar","slider","spinbutton"];function SN(e){if($7.includes(e.getAttribute("role")))return Number(e.getAttribute("aria-valuenow"))}a(SN,"getAccessibleValue");function Vv(e){if(e)switch(e.tagName.toLowerCase()){case"input":return TN(e);case"select":return xN(e);default:return e.value??SN(e)}}a(Vv,"getSingleElementValue");function CN(e,{wordConnector:t=", ",lastWordConnector:r=" and "}={}){return[e.slice(0,-1).join(t),e[e.length-1]].join(e.length>1?r:"")}a(CN,"toSentence");function cf(e,t){if(Array.isArray(e)&&Array.isArray(t))return[...new Set(e)].every(r=>new Set(t).has(r))}a(cf,"compareArraysAsSet");function ip(e,t){return hu("toBeInTheDOM","Please use toBeInTheDocument for searching the entire document and toContainElement for searching a specific container."),e&&We(e,ip,this),t&&We(t,ip,this),{pass:t?t.contains(e):!!e,message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDOM`,"element",""),"","Received:",` ${this.utils.printReceived(e&&e.cloneNode(!1))}`].join(`
|
|
228
|
-
`),"message")}}a(ip,"toBeInTheDOM");function Hv(e){(e!==null||!this.isNot)&&We(e,Hv,this);let t=e===null?!1:e.ownerDocument===e.getRootNode({composed:!0}),r=a(()=>`expected document not to contain element, found ${this.utils.stringify(e.cloneNode(!0))} instead`,"errorFound"),n=a(()=>"element could not be found in the document","errorNotFound");return{pass:t,message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeInTheDocument`,"element",""),"",this.utils.RECEIVED_COLOR(this.isNot?r():n())].join(`
|
|
229
|
-
`),"message")}}a(Hv,"toBeInTheDocument");function Jv(e){return hu("toBeEmpty","Please use instead toBeEmptyDOMElement for finding empty nodes in the DOM."),We(e,Jv,this),{pass:e.innerHTML==="",message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmpty`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
230
|
-
`),"message")}}a(Jv,"toBeEmpty");function Wv(e){return We(e,Wv,this),{pass:ON(e),message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toBeEmptyDOMElement`,"element",""),"","Received:",` ${this.utils.printReceived(e.innerHTML)}`].join(`
|
|
231
|
-
`),"message")}}a(Wv,"toBeEmptyDOMElement");function ON(e){return[...e.childNodes].filter(t=>t.nodeType!==8).length===0}a(ON,"isEmptyElement");function op(e,t){return We(e,op,this),t!==null&&We(t,op,this),{pass:e.contains(t),message:a(()=>[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))}
|
|
232
|
-
`)].join(`
|
|
233
|
-
`),"message")}}a(op,"toContainElement");function PN(e,t){let r=e.ownerDocument.createElement("div");return r.innerHTML=t,r.innerHTML}a(PN,"getNormalizedHtml");function zv(e,t){if(We(e,zv,this),typeof t!="string")throw new Error(`.toContainHTML() expects a string value, got ${t}`);return{pass:e.outerHTML.includes(PN(e,t)),message:a(()=>[this.utils.matcherHint(`${this.isNot?".not":""}.toContainHTML`,"element",""),"Expected:",` ${this.utils.EXPECTED_COLOR(t)}`,"Received:",` ${this.utils.printReceived(e.cloneNode(!0))}`].join(`
|
|
234
|
-
`),"message")}}a(zv,"toContainHTML");function Kv(e,t,r={normalizeWhitespace:!0}){vN(e,Kv,this);let n=r.normalizeWhitespace?mu(e.textContent):e.textContent.replace(/\u00a0/g," "),i=n!==""&&t==="";return{pass:!i&&wN(n,t),message:a(()=>{let o=this.isNot?"not to":"to";return $t(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveTextContent`,"element",""),i?"Checking with empty string will always match, use .toBeEmptyDOMElement() instead":`Expected element ${o} have text content`,t,"Received",n)},"message")}}a(Kv,"toHaveTextContent");function sp(e,t){We(e,sp,this);let r=dN(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:a(()=>{let o=this.isNot?"not to":"to";return $t(this,this.utils.matcherHint(`${this.isNot?".not":""}.${sp.name}`,"element",""),`Expected element ${o} have accessible description`,t,"Received",r)},"message")}}a(sp,"toHaveAccessibleDescription");var Oa="aria-invalid",F7=["false"];function Gv(e,t){We(e,Gv,this);let r=this.isNot?"not to":"to",n=this.isNot?".not.toHaveAccessibleErrorMessage":".toHaveAccessibleErrorMessage",i=e.getAttribute("aria-errormessage");if(i&&/\s+/.test(i))return{pass:!1,message:a(()=>$t(this,this.utils.matcherHint(n,"element"),"Expected element's `aria-errormessage` attribute to be empty or a single, valid ID","","Received",`aria-errormessage="${i}"`),"message")};let o=e.getAttribute(Oa);if(!e.hasAttribute(Oa)||F7.includes(o))return{pass:!1,message:a(()=>$t(this,this.utils.matcherHint(n,"element"),"Expected element to be marked as invalid with attribute",`${Oa}="${String(!0)}"`,"Received",e.hasAttribute("aria-invalid")?`${Oa}="${e.getAttribute(Oa)}`:null),"message")};let s=mu(e.ownerDocument.getElementById(i)?.textContent??"");return{pass:t===void 0?!!s:t instanceof RegExp?t.test(s):this.equals(s,t),message:a(()=>$t(this,this.utils.matcherHint(n,"element"),`Expected element ${r} have accessible error message`,t??"","Received",s),"message")}}a(Gv,"toHaveAccessibleErrorMessage");var B7=NN(Fv.elementRoles);function ap(e,t){We(e,ap,this);let r=AN(e);return{pass:r.some(n=>n===t),message:a(()=>{let n=this.isNot?"not to":"to";return $t(this,this.utils.matcherHint(`${this.isNot?".not":""}.${ap.name}`,"element",""),`Expected element ${n} have role`,t,"Received",r.join(", "))},"message")}}a(ap,"toHaveRole");function AN(e){return e.hasAttribute("role")?e.getAttribute("role").split(" ").filter(Boolean):RN(e)}a(AN,"getExplicitOrImplicitRoles");function RN(e){for(let{match:t,roles:r}of B7)if(t(e))return[...r];return[]}a(RN,"getImplicitAriaRoles");function NN(e){function t({name:s,attributes:l}){return`${s}${l.map(({name:u,value:c,constraints:p=[]})=>p.indexOf("undefined")!==-1?`:not([${u}])`:c?`[${u}="${c}"]`:`[${u}]`).join("")}`}a(t,"makeElementSelector");function r({attributes:s=[]}){return s.length}a(r,"getSelectorSpecificity");function n({specificity:s},{specificity:l}){return l-s}a(n,"bySelectorSpecificity");function i(s){let{attributes:l=[]}=s,u=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...s,attributes:l});return p=>u>=0&&p.type!=="text"?!1:p.matches(c)}a(i,"match");let o=[];for(let[s,l]of e.entries())o=[...o,{match:i(s),roles:Array.from(l),specificity:r(s)}];return o.sort(n)}a(NN,"buildElementRoleList");function lp(e,t){We(e,lp,this);let r=hN(e),n=arguments.length===1,i=!1;return n?i=r!=="":i=t instanceof RegExp?t.test(r):this.equals(r,t),{pass:i,message:a(()=>{let o=this.isNot?"not to":"to";return $t(this,this.utils.matcherHint(`${this.isNot?".not":""}.${lp.name}`,"element",""),`Expected element ${o} have accessible name`,t,"Received",r)},"message")}}a(lp,"toHaveAccessibleName");function ny(e,t,r){return r===void 0?t:`${t}=${e(r)}`}a(ny,"printAttribute");function IN(e,t,r){return r===void 0?`element.hasAttribute(${e(t)})`:`element.getAttribute(${e(t)}) === ${e(r)}`}a(IN,"getAttributeComment");function Yv(e,t,r){We(e,Yv,this);let n=r!==void 0,i=e.hasAttribute(t),o=e.getAttribute(t);return{pass:n?i&&this.equals(o,r):i,message:a(()=>{let s=this.isNot?"not to":"to",l=i?ny(this.utils.stringify,t,o):null,u=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveAttribute`,"element",this.utils.printExpected(t),{secondArgument:n?this.utils.printExpected(r):void 0,comment:IN(this.utils.stringify,t,r)});return $t(this,u,`Expected the element ${s} have attribute`,ny(this.utils.stringify,t,r),"Received",l)},"message")}}a(Yv,"toHaveAttribute");function kN(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}}a(kN,"getExpectedClassNamesAndOptions");function iy(e){return e?e.split(/\s+/).filter(t=>t.length>0):[]}a(iy,"splitClassNames");function oy(e,t){return e.every(r=>typeof r=="string"?t.includes(r):t.some(n=>r.test(n)))}a(oy,"isSubset$1");function Xv(e,...t){We(e,Xv,this);let{expectedClassNames:r,options:n}=kN(t),i=iy(e.getAttribute("class")),o=r.reduce((l,u)=>l.concat(typeof u=="string"||!u?iy(u):u),[]),s=o.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:oy(o,i)&&o.length===i.length,message:a(()=>{let l=this.isNot?"not to":"to";return $t(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have EXACTLY defined classes`,o.join(" "),"Received",i.join(" "))},"message")}:o.length>0?{pass:oy(o,i),message:a(()=>{let l=this.isNot?"not to":"to";return $t(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveClass`,"element",this.utils.printExpected(o.join(" "))),`Expected the element ${l} have class`,o.join(" "),"Received",i.join(" "))},"message")}:{pass:this.isNot?i.length>0:!1,message:a(()=>this.isNot?$t(this,this.utils.matcherHint(".not.toHaveClass","element",""),"Expected the element to have classes","(none)","Received",i.join(" ")):[this.utils.matcherHint(".toHaveClass","element"),"At least one expected class must be provided."].join(`
|
|
235
|
-
`),"message")}}a(Xv,"toHaveClass");function MN(e,t){let r={},n=e.createElement("div");return Object.keys(t).forEach(i=>{n.style[i]=t[i],r[i]=n.style[i]}),r}a(MN,"getStyleDeclaration");function qN(e,t){return!!Object.keys(e).length&&Object.entries(e).every(([r,n])=>{let i=r.startsWith("--"),o=[r];return i||o.push(r.toLowerCase()),o.some(s=>t[s]===n||t.getPropertyValue(s)===n)})}a(qN,"isSubset");function sy(e){return Object.keys(e).sort().map(t=>`${t}: ${e[t]};`).join(`
|
|
236
|
-
`)}a(sy,"printoutStyles");function jN(e,t,r){let n=Array.from(r).filter(i=>t[i]!==void 0).reduce((i,o)=>Object.assign(i,{[o]:r.getPropertyValue(o)}),{});return e(sy(t),sy(n)).replace(`${j7.default.red("+ Received")}
|
|
237
|
-
`,"")}a(jN,"expectedDiff");function up(e,t){We(e,up,this);let r=typeof t=="object"?t:EN(t,up,this),{getComputedStyle:n}=e.ownerDocument.defaultView,i=MN(e.ownerDocument,r),o=n(e);return{pass:qN(i,o),message:a(()=>{let s=`${this.isNot?".not":""}.toHaveStyle`;return[this.utils.matcherHint(s,"element",""),jN(this.utils.diff,i,o)].join(`
|
|
238
|
-
|
|
239
|
-
`)},"message")}}a(up,"toHaveStyle");function Qv(e){return We(e,Qv,this),{pass:e.ownerDocument.activeElement===e,message:a(()=>[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(`
|
|
240
|
-
`),"message")}}a(Qv,"toHaveFocus");function DN(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)}}a(DN,"getMultiElementValue");function LN(e,t){let r=[...e.querySelectorAll(`[name="${(0,D7.default)(t)}"]`)];if(r.length!==0)switch(r.length){case 1:return Vv(r[0]);default:return DN(r)}}a(LN,"getFormValue");function $N(e){return/\[\]$/.test(e)?e.slice(0,-2):e}a($N,"getPureName");function FN(e){return Array.from(e.elements).map(t=>t.name).reduce((t,r)=>({...t,[$N(r)]:LN(e,r)}),{})}a(FN,"getAllFormValues");function Zv(e,t){if(We(e,Zv,this),!e.elements)throw new Error("toHaveFormValues must be called on a form or a fieldset");let r=FN(e);return{pass:Object.entries(t).every(([n,i])=>(0,Bv.default)(r[n],i,cf)),message:a(()=>{let n=this.isNot?"not to":"to",i=`${this.isNot?".not":""}.toHaveFormValues`,o=Object.keys(r).filter(s=>t.hasOwnProperty(s)).reduce((s,l)=>({...s,[l]:r[l]}),{});return[this.utils.matcherHint(i,"element",""),`Expected the element ${n} have form values`,this.utils.diff(t,o)].join(`
|
|
241
|
-
|
|
242
|
-
`)},"message")}}a(Zv,"toHaveFormValues");function BN(e){let{getComputedStyle:t}=e.ownerDocument.defaultView,{display:r,visibility:n,opacity:i}=t(e);return r!=="none"&&n!=="hidden"&&n!=="collapse"&&i!=="0"&&i!==0}a(BN,"isStyleVisible");function UN(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}a(UN,"isAttributeVisible");function e_(e,t){return BN(e)&&UN(e,t)&&(!e.parentElement||e_(e.parentElement,e))}a(e_,"isElementVisible");function t_(e){We(e,t_,this);let t=e.ownerDocument===e.getRootNode({composed:!0}),r=t&&e_(e);return{pass:r,message:a(()=>{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(`
|
|
243
|
-
`)},"message")}}a(t_,"toBeVisible");var U7=["fieldset","input","select","optgroup","option","button","textarea"];function VN(e,t){return zn(e)==="legend"&&zn(t)==="fieldset"&&e.isSameNode(Array.from(t.children).find(r=>zn(r)==="legend"))}a(VN,"isFirstLegendChildOfFieldset");function HN(e,t){return n_(t)&&!VN(e,t)}a(HN,"isElementDisabledByParent");function JN(e){return e.includes("-")}a(JN,"isCustomElement");function r_(e){let t=zn(e);return U7.includes(t)||JN(t)}a(r_,"canElementBeDisabled");function n_(e){return r_(e)&&e.hasAttribute("disabled")}a(n_,"isElementDisabled");function i_(e){let t=e.parentElement;return!!t&&(HN(e,t)||i_(t))}a(i_,"isAncestorDisabled");function o_(e){return r_(e)&&(n_(e)||i_(e))}a(o_,"isElementOrAncestorDisabled");function s_(e){We(e,s_,this);let t=o_(e);return{pass:t,message:a(()=>{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(`
|
|
244
|
-
`)},"message")}}a(s_,"toBeDisabled");function a_(e){We(e,a_,this);let t=!o_(e);return{pass:t,message:a(()=>{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(`
|
|
245
|
-
`)},"message")}}a(a_,"toBeEnabled");var V7=["select","textarea"],H7=["input","select","textarea"],J7=["color","hidden","range","submit","image","reset"],W7=["checkbox","combobox","gridcell","listbox","radiogroup","spinbutton","textbox","tree"];function WN(e){return V7.includes(zn(e))&&e.hasAttribute("required")}a(WN,"isRequiredOnFormTagsExceptInput");function zN(e){return zn(e)==="input"&&e.hasAttribute("required")&&(e.hasAttribute("type")&&!J7.includes(e.getAttribute("type"))||!e.hasAttribute("type"))}a(zN,"isRequiredOnSupportedInput");function KN(e){return e.hasAttribute("aria-required")&&e.getAttribute("aria-required")==="true"&&(H7.includes(zn(e))||e.hasAttribute("role")&&W7.includes(e.getAttribute("role")))}a(KN,"isElementRequiredByARIA");function l_(e){We(e,l_,this);let t=WN(e)||zN(e)||KN(e);return{pass:t,message:a(()=>{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(`
|
|
246
|
-
`)},"message")}}a(l_,"toBeRequired");var z7=["form","input","select","textarea"];function GN(e){return e.hasAttribute("aria-invalid")&&e.getAttribute("aria-invalid")!=="false"}a(GN,"isElementHavingAriaInvalid");function YN(e){return z7.includes(zn(e))}a(YN,"isSupportsValidityMethod");function u_(e){let t=GN(e);return YN(e)?t||!e.checkValidity():t}a(u_,"isElementInvalid");function c_(e){We(e,c_,this);let t=u_(e);return{pass:t,message:a(()=>{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(`
|
|
247
|
-
`)},"message")}}a(c_,"toBeInvalid");function p_(e){We(e,p_,this);let t=!u_(e);return{pass:t,message:a(()=>{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(`
|
|
248
|
-
`)},"message")}}a(p_,"toBeValid");function d_(e,t){if(We(e,d_,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=Vv(e),n=t!==void 0,i=t,o=r;return t==r&&t!==r&&(i=`${t} (${typeof t})`,o=`${r} (${typeof r})`),{pass:n?(0,Bv.default)(r,t,cf):!!r,message:a(()=>{let s=this.isNot?"not to":"to",l=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveValue`,"element",t);return $t(this,l,`Expected the element ${s} have value`,n?i:"(any)","Received",o)},"message")}}a(d_,"toHaveValue");function f_(e,t){We(e,f_,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=XN(r,e),i=QN(t),o=i.filter(u=>n.some(c=>u instanceof RegExp?u.test(c):this.equals(c,String(u)))).length,s=o===n.length,l=o===i.length;return{pass:s&&l,message:a(()=>$t(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDisplayValue`,"element",""),`Expected element ${this.isNot?"not ":""}to have display value`,t,"Received",n),"message")}}a(f_,"toHaveDisplayValue");function XN(e,t){return e==="select"?Array.from(t).filter(r=>r.selected).map(r=>r.textContent):[t.value]}a(XN,"getValues");function QN(e){return e instanceof Array?e:[e]}a(QN,"getExpectedValues");function h_(e){We(e,h_,this);let t=a(()=>e.tagName.toLowerCase()==="input"&&["checkbox","radio"].includes(e.type),"isValidInput"),r=a(()=>m_(e.getAttribute("role"))&&["true","false"].includes(e.getAttribute("aria-checked")),"isValidAriaElement");if(!t()&&!r())return{pass:!1,message:a(()=>`only inputs with type="checkbox" or type="radio" or elements with ${ZN()} and a valid aria-checked attribute can be used with .toBeChecked(). Use .toHaveValue() instead`,"message")};let n=a(()=>t()?e.checked:e.getAttribute("aria-checked")==="true","isChecked");return{pass:n(),message:a(()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBeChecked`,"element",""),"",`Received element ${i} checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
249
|
-
`)},"message")}}a(h_,"toBeChecked");function ZN(){return CN(eI().map(e=>`role="${e}"`),{lastWordConnector:" or "})}a(ZN,"supportedRolesSentence");function eI(){return Fv.roles.keys().filter(m_)}a(eI,"supportedRoles");function m_(e){return Fv.roles.get(e)?.props["aria-checked"]!==void 0}a(m_,"roleSupportsChecked");function y_(e){We(e,y_,this);let t=a(()=>e.tagName.toLowerCase()==="input"&&e.type==="checkbox","isValidInput"),r=a(()=>e.getAttribute("role")==="checkbox","isValidAriaElement");if(!t()&&!r())return{pass:!1,message:a(()=>'only inputs with type="checkbox" or elements with role="checkbox" and a valid aria-checked attribute can be used with .toBePartiallyChecked(). Use .toHaveValue() instead',"message")};let n=a(()=>{let i=e.getAttribute("aria-checked")==="mixed";return t()&&e.indeterminate||i},"isPartiallyChecked");return{pass:n(),message:a(()=>{let i=n()?"is":"is not";return[this.utils.matcherHint(`${this.isNot?".not":""}.toBePartiallyChecked`,"element",""),"",`Received element ${i} partially checked:`,` ${this.utils.printReceived(e.cloneNode(!1))}`].join(`
|
|
250
|
-
`)},"message")}}a(y_,"toBePartiallyChecked");function g_(e,t){hu("toHaveDescription","Please use toHaveAccessibleDescription."),We(e,g_,this);let r=t!==void 0,n=(e.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let o=e.ownerDocument,s=n.map(l=>o.getElementById(l)).filter(Boolean);i=mu(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:a(()=>{let o=this.isNot?"not to":"to";return $t(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveDescription`,"element",""),`Expected the element ${o} have description`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))},"message")}}a(g_,"toHaveDescription");function b_(e,t){if(hu("toHaveErrorMessage","Please use toHaveAccessibleErrorMessage."),We(e,b_,this),!e.hasAttribute("aria-invalid")||e.getAttribute("aria-invalid")==="false"){let o=this.isNot?".not":"";return{pass:!1,message:a(()=>$t(this,this.utils.matcherHint(`${o}.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("")),"message")}}let r=t!==void 0,n=(e.getAttribute("aria-errormessage")||"").split(/\s+/).filter(Boolean),i="";if(n.length>0){let o=e.ownerDocument,s=n.map(l=>o.getElementById(l)).filter(Boolean);i=mu(s.map(l=>l.textContent).join(" "))}return{pass:r?t instanceof RegExp?t.test(i):this.equals(i,t):!!i,message:a(()=>{let o=this.isNot?"not to":"to";return $t(this,this.utils.matcherHint(`${this.isNot?".not":""}.toHaveErrorMessage`,"element",""),`Expected the element ${o} have error message`,this.utils.printExpected(t),"Received",this.utils.printReceived(i))},"message")}}a(b_,"toHaveErrorMessage");function tI(e){let t=e.ownerDocument.getSelection();if(["input","textarea"].includes(e.tagName.toLowerCase()))return["radio","checkbox"].includes(e.type)?"":e.value.toString().substring(e.selectionStart,e.selectionEnd);if(t.anchorNode===null||t.focusNode===null)return"";let r=t.getRangeAt(0),n=e.ownerDocument.createRange();if(t.containsNode(e,!1))n.selectNodeContents(e),t.removeAllRanges(),t.addRange(n);else if(!(e.contains(t.anchorNode)&&e.contains(t.focusNode))){let o=e===r.startContainer||e.contains(r.startContainer),s=e===r.endContainer||e.contains(r.endContainer);t.removeAllRanges(),(o||s)&&(n.selectNodeContents(e),o&&n.setStart(r.startContainer,r.startOffset),s&&n.setEnd(r.endContainer,r.endOffset),t.addRange(n))}let i=t.toString();return t.removeAllRanges(),t.addRange(r),i}a(tI,"getSelection");function v_(e,t){We(e,v_,this);let r=t!==void 0;if(r&&typeof t!="string")throw new Error("expected selection must be a string or undefined");let n=tI(e);return{pass:r?(0,Bv.default)(n,t,cf):!!n,message:a(()=>{let i=this.isNot?"not to":"to",o=this.utils.matcherHint(`${this.isNot?".not":""}.toHaveSelection`,"element",t);return $t(this,o,`Expected the element ${i} have selection`,r?t:"(any)","Received",n)},"message")}}a(v_,"toHaveSelection");wt(fC(),1);wt(hC(),1);wt(yC(),1);wt(OC(),1);wt(PC(),1);var Ih,Rx;function rI(){if(Rx)return Ih;Rx=1;var e,t,r,n,i,o,s,l,u,c,p,d,f,h,y,b,g,m,v;return f=/\/(?![*\/])(?:\[(?:(?![\]\\]).|\\.)*\]|(?![\/\\]).|\\.)*(\/[$_\u200C\u200D\p{ID_Continue}]*|\\)?/yu,d=/--|\+\+|=>|\.{3}|\??\.(?!\d)|(?:&&|\|\||\?\?|[+\-%&|^]|\*{1,2}|<{1,2}|>{1,3}|!=?|={1,2}|\/(?![\/*]))=?|[?~,:;[\](){}]/y,e=/(\x23?)(?=[$_\p{ID_Start}\\])(?:[$_\u200C\u200D\p{ID_Continue}]|\\u[\da-fA-F]{4}|\\u\{[\da-fA-F]+\})+/yu,y=/(['"])(?:(?!\1)[^\\\n\r]|\\(?:\r\n|[^]))*(\1)?/y,p=/(?: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,b=/[`}](?:[^`\\$]|\\[^]|\$(?!\{))*(`|\$\{)?/y,v=/[\t\v\f\ufeff\p{Zs}]+/yu,l=/\r?\n|[\r\u2028\u2029]/y,u=/\/\*(?:[^*]|\*(?!\/))*(\*\/)?/y,h=/\/\/.*/y,r=/[<>.:={}]|\/(?![\/*])/y,t=/[$_\p{ID_Start}][$_\u200C\u200D\p{ID_Continue}-]*/yu,n=/(['"])(?:(?!\1)[^])*(\1)?/y,i=/[^<>{}]+/y,m=/^(?:[\/+-]|\.{3}|\?(?:InterpolationIn(?:JSX|Template)|NoLineTerminatorHere|NonExpressionParenEnd|UnaryIncDec))?$|[{}([,;<>=*%&|^!~?:]$/,g=/^(?:=>|[;\]){}]|else|\?(?:NoLineTerminatorHere|NonExpressionParenEnd))?$/,o=/^(?:await|case|default|delete|do|else|instanceof|new|return|throw|typeof|void|yield)$/,s=/^(?:return|throw|yield)$/,c=RegExp(l.source),Ih=a(function*(S,{jsx:O=!1}={}){var P,x,E,_,C,w,A,I,j,R,q,M,K,J;for({length:w}=S,_=0,C="",J=[{tag:"JS"}],P=[],q=0,M=!1;_<w;){switch(I=J[J.length-1],I.tag){case"JS":case"JSNonExpressionParen":case"InterpolationInTemplate":case"InterpolationInJSX":if(S[_]==="/"&&(m.test(C)||o.test(C))&&(f.lastIndex=_,A=f.exec(S))){_=f.lastIndex,C=A[0],M=!0,yield{type:"RegularExpressionLiteral",value:A[0],closed:A[1]!==void 0&&A[1]!=="\\"};continue}if(d.lastIndex=_,A=d.exec(S)){switch(K=A[0],j=d.lastIndex,R=K,K){case"(":C==="?NonExpressionParenKeyword"&&J.push({tag:"JSNonExpressionParen",nesting:q}),q++,M=!1;break;case")":q--,M=!0,I.tag==="JSNonExpressionParen"&&q===I.nesting&&(J.pop(),R="?NonExpressionParenEnd",M=!1);break;case"{":d.lastIndex=0,E=!g.test(C)&&(m.test(C)||o.test(C)),P.push(E),M=!1;break;case"}":switch(I.tag){case"InterpolationInTemplate":if(P.length===I.nesting){b.lastIndex=_,A=b.exec(S),_=b.lastIndex,C=A[0],A[1]==="${"?(C="?InterpolationInTemplate",M=!1,yield{type:"TemplateMiddle",value:A[0]}):(J.pop(),M=!0,yield{type:"TemplateTail",value:A[0],closed:A[1]==="`"});continue}break;case"InterpolationInJSX":if(P.length===I.nesting){J.pop(),_+=1,C="}",yield{type:"JSXPunctuator",value:"}"};continue}}M=P.pop(),R=M?"?ExpressionBraceEnd":"}";break;case"]":M=!0;break;case"++":case"--":R=M?"?PostfixIncDec":"?UnaryIncDec";break;case"<":if(O&&(m.test(C)||o.test(C))){J.push({tag:"JSXTag"}),_+=1,C="<",yield{type:"JSXPunctuator",value:K};continue}M=!1;break;default:M=!1}_=j,C=R,yield{type:"Punctuator",value:K};continue}if(e.lastIndex=_,A=e.exec(S)){switch(_=e.lastIndex,R=A[0],A[0]){case"for":case"if":case"while":case"with":C!=="."&&C!=="?."&&(R="?NonExpressionParenKeyword")}C=R,M=!o.test(A[0]),yield{type:A[1]==="#"?"PrivateIdentifier":"IdentifierName",value:A[0]};continue}if(y.lastIndex=_,A=y.exec(S)){_=y.lastIndex,C=A[0],M=!0,yield{type:"StringLiteral",value:A[0],closed:A[2]!==void 0};continue}if(p.lastIndex=_,A=p.exec(S)){_=p.lastIndex,C=A[0],M=!0,yield{type:"NumericLiteral",value:A[0]};continue}if(b.lastIndex=_,A=b.exec(S)){_=b.lastIndex,C=A[0],A[1]==="${"?(C="?InterpolationInTemplate",J.push({tag:"InterpolationInTemplate",nesting:P.length}),M=!1,yield{type:"TemplateHead",value:A[0]}):(M=!0,yield{type:"NoSubstitutionTemplate",value:A[0],closed:A[1]==="`"});continue}break;case"JSXTag":case"JSXTagEnd":if(r.lastIndex=_,A=r.exec(S)){switch(_=r.lastIndex,R=A[0],A[0]){case"<":J.push({tag:"JSXTag"});break;case">":J.pop(),C==="/"||I.tag==="JSXTagEnd"?(R="?JSX",M=!0):J.push({tag:"JSXChildren"});break;case"{":J.push({tag:"InterpolationInJSX",nesting:P.length}),R="?InterpolationInJSX",M=!1;break;case"/":C==="<"&&(J.pop(),J[J.length-1].tag==="JSXChildren"&&J.pop(),J.push({tag:"JSXTagEnd"}))}C=R,yield{type:"JSXPunctuator",value:A[0]};continue}if(t.lastIndex=_,A=t.exec(S)){_=t.lastIndex,C=A[0],yield{type:"JSXIdentifier",value:A[0]};continue}if(n.lastIndex=_,A=n.exec(S)){_=n.lastIndex,C=A[0],yield{type:"JSXString",value:A[0],closed:A[2]!==void 0};continue}break;case"JSXChildren":if(i.lastIndex=_,A=i.exec(S)){_=i.lastIndex,C=A[0],yield{type:"JSXText",value:A[0]};continue}switch(S[_]){case"<":J.push({tag:"JSXTag"}),_++,C="<",yield{type:"JSXPunctuator",value:"<"};continue;case"{":J.push({tag:"InterpolationInJSX",nesting:P.length}),_++,C="?InterpolationInJSX",M=!1,yield{type:"JSXPunctuator",value:"{"};continue}}if(v.lastIndex=_,A=v.exec(S)){_=v.lastIndex,yield{type:"WhiteSpace",value:A[0]};continue}if(l.lastIndex=_,A=l.exec(S)){_=l.lastIndex,M=!1,s.test(C)&&(C="?NoLineTerminatorHere"),yield{type:"LineTerminatorSequence",value:A[0]};continue}if(u.lastIndex=_,A=u.exec(S)){_=u.lastIndex,c.test(A[0])&&(M=!1,s.test(C)&&(C="?NoLineTerminatorHere")),yield{type:"MultiLineComment",value:A[0],closed:A[1]!==void 0};continue}if(h.lastIndex=_,A=h.exec(S)){_=h.lastIndex,M=!1,yield{type:"SingleLineComment",value:A[0]};continue}x=String.fromCodePoint(S.codePointAt(_)),_+=x.length,C=x,M=!1,yield{type:I.tag.startsWith("JSX")?"JSXInvalid":"Invalid",value:x}}},"jsTokens_1"),Ih}a(rI,"requireJsTokens");rI();var nI={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"]};new Set(nI.keyword);new Set(nI.strict);function Qa(e,t){if(!e)throw new Error(t)}a(Qa,"assert");function oo(e,t){return typeof t===e}a(oo,"isType");function iI(e){return e instanceof Promise}a(iI,"isPromise");function Ls(e,t,r){Object.defineProperty(e,t,r)}a(Ls,"define");function po(e,t,r){Ls(e,t,{value:r,configurable:!0,writable:!0})}a(po,"defineValue");var Ci=Symbol.for("tinyspy:spy"),K7=new Set,G7=a(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"reset"),Y7=a(e=>(Ls(e,Ci,{value:{reset:a(()=>G7(e[Ci]),"reset")}}),e[Ci]),"defineState"),ay=a(e=>e[Ci]||Y7(e),"getInternalState");function oI(e){Qa(oo("function",e)||oo("undefined",e),"cannot spy on a non-function value");let t=a(function(...n){let i=ay(t);i.called=!0,i.callCount++,i.calls.push(n);let o=i.next.shift();if(o){i.results.push(o);let[p,d]=o;if(p==="ok")return d;throw d}let s,l="ok",u=i.results.length;if(i.impl)try{new.target?s=Reflect.construct(i.impl,n,new.target):s=i.impl.apply(this,n),l="ok"}catch(p){throw s=p,l="error",i.results.push([l,p]),p}let c=[l,s];return iI(s)&&s.then(p=>i.resolves[u]=["ok",p],p=>i.resolves[u]=["error",p]),i.results.push(c),s},"fn");po(t,"_isMockFunction",!0),po(t,"length",e?e.length:0),po(t,"name",e&&e.name||"spy");let r=ay(t);return r.reset(),r.impl=e,t}a(oI,"createInternalSpy");function sI(e){return!!e&&e._isMockFunction===!0}a(sI,"isMockFunction");var aI=a((e,t)=>{let r=Object.getOwnPropertyDescriptor(e,t);if(r)return[e,r];let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return[n,i];n=Object.getPrototypeOf(n)}},"getDescriptor"),Nx=a((e,t)=>{t!=null&&typeof t=="function"&&t.prototype!=null&&Object.setPrototypeOf(e.prototype,t.prototype)},"setPototype");function __(e,t,r){Qa(!oo("undefined",e),"spyOn could not find an object to spy upon"),Qa(oo("object",e)||oo("function",e),"cannot spyOn on a primitive value");let[n,i]=(()=>{if(!oo("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")})(),[o,s]=aI(e,n)||[];Qa(s||n in e,`${String(n)} does not exist`);let l=!1;i==="value"&&s&&!s.value&&s.get&&(i="get",l=!0,r=s.get());let u;s?u=s[i]:i!=="value"?u=a(()=>e[n],"original"):u=e[n],u&&cI(u)&&(u=u[Ci].getOriginal());let c=a(h=>{let{value:y,...b}=s||{configurable:!0,writable:!0};i!=="value"&&delete b.writable,b[i]=h,Ls(e,n,b)},"reassign"),p=a(()=>{o!==e?Reflect.deleteProperty(e,n):s&&!u?Ls(e,n,s):c(u)},"restore");r||(r=u);let d=uI(oI(r),r);i==="value"&&Nx(d,u);let f=d[Ci];return po(f,"restore",p),po(f,"getOriginal",()=>l?u():u),po(f,"willCall",h=>(f.impl=h,d)),c(l?()=>(Nx(d,r),d):d),K7.add(d),d}a(__,"internalSpyOn");var X7=new Set(["length","name","prototype"]);function lI(e){let t=new Set,r={};for(;e&&e!==Object.prototype&&e!==Function.prototype;){let n=[...Object.getOwnPropertyNames(e),...Object.getOwnPropertySymbols(e)];for(let i of n)r[i]||X7.has(i)||(t.add(i),r[i]=Object.getOwnPropertyDescriptor(e,i));e=Object.getPrototypeOf(e)}return{properties:t,descriptors:r}}a(lI,"getAllProperties");function uI(e,t){if(!t||Ci in t)return e;let{properties:r,descriptors:n}=lI(t);for(let i of r){let o=n[i];aI(e,i)||Ls(e,i,o)}return e}a(uI,"wrap");function cI(e){return sI(e)&&"getOriginal"in e[Ci]}a(cI,"isSpyFunction");var yu=new Set;function fo(e){return typeof e=="function"&&"_isMockFunction"in e&&e._isMockFunction}a(fo,"isMockFunction");function pI(e,t,r){let n=r?{[{get:"getter",set:"setter"}[r]]:t}:t,i,o=dI(e,t),s=o&&o[r||"value"];fo(s)&&(i=s.mock._state());try{let l=__(e,n),u=E_(l);return i&&u.mock._state(i),u}catch(l){throw l instanceof TypeError&&Symbol.toStringTag&&e[Symbol.toStringTag]==="Module"&&(l.message.includes("Cannot redefine property")||l.message.includes("Cannot replace module namespace")||l.message.includes("can't redefine non-configurable property"))?new TypeError(`Cannot spy on export "${String(n)}". Module namespace is not configurable in ESM. See: https://vitest.dev/guide/browser/#limitations`,{cause:l}):l}}a(pI,"spyOn");var Q7=0;function E_(e){let t=e,r,n=[],i=!1,o=[],s=[],l=[],u=ay(e),c={get calls(){return u.calls},get contexts(){return s},get instances(){return o},get invocationCallOrder(){return l},get results(){return u.results.map(([h,y])=>({type:h==="error"?"throw":"return",value:y}))},get settledResults(){return u.resolves.map(([h,y])=>({type:h==="error"?"rejected":"fulfilled",value:y}))},get lastCall(){return u.calls[u.calls.length-1]},_state(h){return h&&(r=h.implementation,n=h.onceImplementations,i=h.implementationChangedTemporarily),{implementation:r,onceImplementations:n,implementationChangedTemporarily:i}}};function p(...h){return o.push(this),s.push(this),l.push(++Q7),(i?r:n.shift()||r||u.getOriginal()||(()=>{})).apply(this,h)}a(p,"mockCall");let d=t.name;t.getMockName=()=>d||"vi.fn()",t.mockName=h=>(d=h,t),t.mockClear=()=>(u.reset(),o=[],s=[],l=[],t),t.mockReset=()=>(t.mockClear(),r=void 0,n=[],t),t.mockRestore=()=>(t.mockReset(),u.restore(),t),Symbol.dispose&&(t[Symbol.dispose]=()=>t.mockRestore()),t.getMockImplementation=()=>i?r:n.at(0)||r,t.mockImplementation=h=>(r=h,u.willCall(p),t),t.mockImplementationOnce=h=>(n.push(h),t);function f(h,y){let b=r;r=h,u.willCall(p),i=!0;let g=a(()=>{r=b,i=!1},"reset"),m=y();return typeof m=="object"&&m&&typeof m.then=="function"?m.then(()=>(g(),t)):(g(),t)}return a(f,"withImplementation"),t.withImplementation=f,t.mockReturnThis=()=>t.mockImplementation(function(){return this}),t.mockReturnValue=h=>t.mockImplementation(()=>h),t.mockReturnValueOnce=h=>t.mockImplementationOnce(()=>h),t.mockResolvedValue=h=>t.mockImplementation(()=>Promise.resolve(h)),t.mockResolvedValueOnce=h=>t.mockImplementationOnce(()=>Promise.resolve(h)),t.mockRejectedValue=h=>t.mockImplementation(()=>Promise.reject(h)),t.mockRejectedValueOnce=h=>t.mockImplementationOnce(()=>Promise.reject(h)),Object.defineProperty(t,"mock",{get:a(()=>c,"get")}),u.willCall(p),yu.add(t),t}a(E_,"enhanceSpy");function ly(e){let t=E_(__({spy:e||function(){}},"spy"));return e&&t.mockImplementation(e),t}a(ly,"fn");function dI(e,t){let r=Object.getOwnPropertyDescriptor(e,t);if(r)return r;let n=Object.getPrototypeOf(e);for(;n!==null;){let i=Object.getOwnPropertyDescriptor(n,t);if(i)return i;n=Object.getPrototypeOf(n)}}a(dI,"getDescriptor");var Cl=Symbol.for("matchers-object"),Ol=Symbol.for("$$jest-matchers-object-storybook"),w_=Symbol.for("expect-global"),uy=Symbol.for("asymmetric-matchers-object"),Z7={toSatisfy(e,t,r){let{printReceived:n,printExpected:i,matcherHint:o}=this.utils,s=t(e);return{pass:s,message:a(()=>s?`${o(".not.toSatisfy","received","")}
|
|
251
|
-
|
|
252
|
-
Expected value to not satisfy:
|
|
253
|
-
${r||i(t)}
|
|
254
|
-
Received:
|
|
255
|
-
${n(e)}`:`${o(".toSatisfy","received","")}
|
|
256
|
-
|
|
257
|
-
Expected value to satisfy:
|
|
258
|
-
${r||i(t)}
|
|
259
|
-
|
|
260
|
-
Received:
|
|
261
|
-
${n(e)}`,"message")}},toBeOneOf(e,t){let{equals:r,customTesters:n}=this,{printReceived:i,printExpected:o,matcherHint:s}=this.utils;if(!Array.isArray(t))throw new TypeError(`You must provide an array to ${s(".toBeOneOf")}, not '${typeof t}'.`);let l=t.length===0||t.some(u=>r(u,e,n));return{pass:l,message:a(()=>l?`${s(".not.toBeOneOf","received","")}
|
|
262
|
-
|
|
263
|
-
Expected value to not be one of:
|
|
264
|
-
${o(t)}
|
|
265
|
-
Received:
|
|
266
|
-
${i(e)}`:`${s(".toBeOneOf","received","")}
|
|
267
|
-
|
|
268
|
-
Expected value to be one of:
|
|
269
|
-
${o(t)}
|
|
270
|
-
|
|
271
|
-
Received:
|
|
272
|
-
${i(e)}`,"message")}}},cp=yt.green,x_=yt.red,eY=yt.inverse,tY=yt.bold,pi=yt.dim;function fI(e,t="received",r="expected",n={}){let{comment:i="",isDirectExpectCall:o=!1,isNot:s=!1,promise:l="",secondArgument:u="",expectedColor:c=cp,receivedColor:p=x_,secondArgumentColor:d=cp}=n,f="",h="expect";return!o&&t!==""&&(f+=pi(`${h}(`)+p(t),h=")"),l!==""&&(f+=pi(`${h}.`)+l,h=""),s&&(f+=`${pi(`${h}.`)}not`,h=""),e.includes(".")?h+=e:(f+=pi(`${h}.`)+e,h=""),r===""?h+="()":(f+=pi(`${h}(`)+c(r),u&&(f+=pi(", ")+d(u)),h=")"),i!==""&&(h+=` // ${i}`),h!==""&&(f+=pi(h)),f}a(fI,"matcherHint");var rY="·";function T_(e){return e.replace(/\s+$/gm,t=>rY.repeat(t.length))}a(T_,"replaceTrailingSpaces");function hI(e){return x_(T_(hr(e)))}a(hI,"printReceived");function mI(e){return cp(T_(hr(e)))}a(mI,"printExpected");function S_(){return{EXPECTED_COLOR:cp,RECEIVED_COLOR:x_,INVERTED_COLOR:eY,BOLD_WEIGHT:tY,DIM_COLOR:pi,diff:Bo,matcherHint:fI,printReceived:hI,printExpected:mI,printDiffOrStringify:Jb,printWithType:yI}}a(S_,"getMatcherUtils");function yI(e,t,r){let n=bl(t),i=n!=="null"&&n!=="undefined"?`${e} has type: ${n}
|
|
273
|
-
`:"",o=`${e} has value: ${r(t)}`;return i+o}a(yI,"printWithType");function pf(){return globalThis[Ol].customEqualityTesters}a(pf,"getCustomEqualityTesters");function Ue(e,t,r,n){return r=r||[],gs(e,t,[],[],r,n?C_:vI)}a(Ue,"equals");function cy(e){return!!e&&typeof e=="object"&&"asymmetricMatch"in e&&$r("Function",e.asymmetricMatch)}a(cy,"isAsymmetric");function gI(e,t){let r=cy(e),n=cy(t);if(!(r&&n)){if(r)return e.asymmetricMatch(t);if(n)return t.asymmetricMatch(e)}}a(gI,"asymmetricMatch");function gs(e,t,r,n,i,o){let s=!0,l=gI(e,t);if(l!==void 0)return l;let u={equals:Ue};for(let y=0;y<i.length;y++){let b=i[y].call(u,e,t,i);if(b!==void 0)return b}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;case"[object Temporal.Instant]":case"[object Temporal.ZonedDateTime]":case"[object Temporal.PlainDateTime]":case"[object Temporal.PlainDate]":case"[object Temporal.PlainTime]":case"[object Temporal.PlainYearMonth]":case"[object Temporal.PlainMonthDay]":return e.equals(t);case"[object Temporal.Duration]":return e.toString()===t.toString()}if(typeof e!="object"||typeof t!="object")return!1;if(dy(e)&&dy(t))return e.isEqualNode(t);let p=r.length;for(;p--;){if(r[p]===e)return n[p]===t;if(n[p]===t)return!1}if(r.push(e),n.push(t),c==="[object Array]"&&e.length!==t.length)return!1;if(e instanceof Error&&t instanceof Error)try{return bI(e,t,r,n,i,o)}finally{r.pop(),n.pop()}let d=py(e,o),f,h=d.length;if(py(t,o).length!==h)return!1;for(;h--;)if(f=d[h],s=o(t,f)&&gs(e[f],t[f],r,n,i,o),!s)return!1;return r.pop(),n.pop(),s}a(gs,"eq");function bI(e,t,r,n,i,o){let s=Object.getPrototypeOf(e)===Object.getPrototypeOf(t)&&e.name===t.name&&e.message===t.message;return typeof t.cause<"u"&&s&&(s=gs(e.cause,t.cause,r,n,i,o)),e instanceof AggregateError&&t instanceof AggregateError&&s&&(s=gs(e.errors,t.errors,r,n,i,o)),s&&(s=gs({...e},{...t},r,n,i,o)),s}a(bI,"isErrorEqual");function py(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))}a(py,"keys");function vI(e,t){return C_(e,t)&&e[t]!==void 0}a(vI,"hasDefinedKey");function C_(e,t){return Object.prototype.hasOwnProperty.call(e,t)}a(C_,"hasKey");function $r(e,t){return Object.prototype.toString.apply(t)===`[object ${e}]`}a($r,"isA");function dy(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"}a(dy,"isDomNode");var _I="@@__IMMUTABLE_KEYED__@@",EI="@@__IMMUTABLE_SET__@@",nY="@@__IMMUTABLE_LIST__@@",df="@@__IMMUTABLE_ORDERED__@@",iY="@@__IMMUTABLE_RECORD__@@";function wI(e){return!!(e&&e[_I]&&!e[df])}a(wI,"isImmutableUnorderedKeyed");function xI(e){return!!(e&&e[EI]&&!e[df])}a(xI,"isImmutableUnorderedSet");function gu(e){return e!=null&&typeof e=="object"&&!Array.isArray(e)}a(gu,"isObjectLiteral");function TI(e){return!!(e&&gu(e)&&e[nY])}a(TI,"isImmutableList");function SI(e){return!!(e&&gu(e)&&e[_I]&&e[df])}a(SI,"isImmutableOrderedKeyed");function CI(e){return!!(e&&gu(e)&&e[EI]&&e[df])}a(CI,"isImmutableOrderedSet");function OI(e){return!!(e&&gu(e)&&e[iY])}a(OI,"isImmutableRecord");var PI=Symbol.iterator;function fy(e){return!!(e!=null&&e[PI])}a(fy,"hasIterator");function xr(e,t,r=[],n=[],i=[]){if(typeof e!="object"||typeof t!="object"||Array.isArray(e)||Array.isArray(t)||!fy(e)||!fy(t))return;if(e.constructor!==t.constructor)return!1;let o=n.length;for(;o--;)if(n[o]===e)return i[o]===t;n.push(e),i.push(t);let s=[...r.filter(c=>c!==xr),l];function l(c,p){return xr(c,p,[...r],[...n],[...i])}if(a(l,"iterableEqualityWithStack"),e.size!==void 0){if(e.size!==t.size)return!1;if($r("Set",e)||xI(e)){let c=!0;for(let p of e)if(!t.has(p)){let d=!1;for(let f of t)Ue(p,f,s)===!0&&(d=!0);if(d===!1){c=!1;break}}return n.pop(),i.pop(),c}else if($r("Map",e)||wI(e)){let c=!0;for(let p of e)if(!t.has(p[0])||!Ue(p[1],t.get(p[0]),s)){let d=!1;for(let f of t){let h=Ue(p[0],f[0],s),y=!1;h===!0&&(y=Ue(p[1],f[1],s)),y===!0&&(d=!0)}if(d===!1){c=!1;break}}return n.pop(),i.pop(),c}}let u=t[PI]();for(let c of e){let p=u.next();if(p.done||!Ue(c,p.value,s))return!1}if(!u.next().done)return!1;if(!TI(e)&&!SI(e)&&!CI(e)&&!OI(e)){let c=Object.entries(e),p=Object.entries(t);if(!Ue(c,p,s))return!1}return n.pop(),i.pop(),!0}a(xr,"iterableEquality");function ff(e,t){return!e||typeof e!="object"||e===Object.prototype?!1:Object.prototype.hasOwnProperty.call(e,t)||ff(Object.getPrototypeOf(e),t)}a(ff,"hasPropertyInObject");function AI(e){return Ya(e)&&!(e instanceof Error)&&!Array.isArray(e)&&!(e instanceof Date)}a(AI,"isObjectWithKeys");function da(e,t,r=[]){let n=r.filter(o=>o!==da),i=a((o=new WeakMap)=>(s,l)=>{if(AI(l))return Object.keys(l).every(u=>{if(l[u]!=null&&typeof l[u]=="object"){if(o.has(l[u]))return Ue(s[u],l[u],n);o.set(l[u],!0)}let c=s!=null&&ff(s,u)&&Ue(s[u],l[u],[...n,i(o)]);return o.delete(l[u]),c})},"subsetEqualityWithContext");return i()(e,t)}a(da,"subsetEquality");function hy(e,t){if(!(e==null||t==null||e.constructor===t.constructor))return!1}a(hy,"typeEquality");function my(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 i=0;i<r.byteLength;i++)if(r.getUint8(i)!==n.getUint8(i))return!1;return!0}a(my,"arrayBufferEquality");function pp(e,t,r=[]){if(!Array.isArray(e)||!Array.isArray(t))return;let n=Object.keys(e),i=Object.keys(t),o=r.filter(s=>s!==pp);return Ue(e,t,o,!0)&&Ue(n,i)}a(pp,"sparseArrayEquality");function RI(e,t="#{this}",r="#{exp}"){let n=`expected ${t} to be ${r} // Object.is equality`;return["toStrictEqual","toEqual"].includes(e)?`${n}
|
|
274
|
-
|
|
275
|
-
If it should pass with deep equality, replace "toBe" with "${e}"
|
|
276
|
-
|
|
277
|
-
Expected: ${t}
|
|
278
|
-
Received: serializes to the same string
|
|
279
|
-
`:n}a(RI,"generateToBeMessage");function NI(e,t){return`${t} ${e}${t===1?"":"s"}`}a(NI,"pluralize");function dc(e){return[...Object.keys(e),...Object.getOwnPropertySymbols(e).filter(t=>{var r;return(r=Object.getOwnPropertyDescriptor(e,t))===null||r===void 0?void 0:r.enumerable})]}a(dc,"getObjectKeys");function II(e,t,r){let n=0,i=a((o=new WeakMap)=>(s,l)=>{if(Array.isArray(s)){if(Array.isArray(l)&&l.length===s.length)return l.map((u,c)=>i(o)(s[c],u))}else{if(s instanceof Date)return s;if(Ya(s)&&Ya(l)){if(Ue(s,l,[...r,xr,da]))return l;let u={};o.set(s,u),typeof s.constructor=="function"&&typeof s.constructor.name=="string"&&Object.defineProperty(u,"constructor",{enumerable:!1,value:s.constructor});for(let c of dc(s))ff(l,c)?u[c]=o.has(s[c])?o.get(s[c]):i(o)(s[c],l[c]):o.has(s[c])||(n+=1,Ya(s[c])&&(n+=dc(s[c]).length),i(o)(s[c],l[c]));if(dc(u).length>0)return u}}return s},"getObjectSubsetWithContext");return{subset:i()(e,t),stripped:n}}a(II,"getObjectSubset");if(!Object.prototype.hasOwnProperty.call(globalThis,Cl)){let e=new WeakMap;Object.defineProperty(globalThis,Cl,{get:a(()=>e,"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,Ol)){let e=Object.create(null),t=[];Object.defineProperty(globalThis,Ol,{configurable:!0,get:a(()=>({state:globalThis[Cl].get(globalThis[w_]),matchers:e,customEqualityTesters:t}),"get")})}if(!Object.prototype.hasOwnProperty.call(globalThis,uy)){let e=Object.create(null);Object.defineProperty(globalThis,uy,{get:a(()=>e,"get")})}function Pl(e){return globalThis[Cl].get(e)}a(Pl,"getState");function fc(e,t){let r=globalThis[Cl],n=r.get(t)||{},i=Object.defineProperties(n,{...Object.getOwnPropertyDescriptors(n),...Object.getOwnPropertyDescriptors(e)});r.set(t,i)}a(fc,"setState");var kI=class{$$typeof=Symbol.for("jest.asymmetricMatcher");constructor(t,r=!1){this.sample=t,this.inverse=r}getMatcherContext(t){return{...Pl(t||globalThis[w_]),equals:Ue,isNot:this.inverse,customTesters:pf(),utils:{...S_(),diff:Bo,stringify:hr,iterableEquality:xr,subsetEquality:da}}}};a(kI,"AsymmetricMatcher");var ti=kI;ti.prototype[Symbol.for("chai/inspect")]=function(e){let t=hr(this,e.depth,{min:!0});return t.length<=e.truncate?t:`${this.toString()}{…}`};var MI=class extends ti{constructor(t,r=!1){if(!$r("String",t))throw new Error("Expected is not a string");super(t,r)}asymmetricMatch(t){let r=$r("String",t)&&t.includes(this.sample);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Containing`}getExpectedType(){return"string"}};a(MI,"StringContaining");var Ix=MI,qI=class extends ti{asymmetricMatch(t){return t!=null}toString(){return"Anything"}toAsymmetricMatcher(){return"Anything"}};a(qI,"Anything");var oY=qI,jI=class extends ti{constructor(t,r=!1){super(t,r)}getPrototype(t){return Object.getPrototypeOf?Object.getPrototypeOf(t):t.constructor.prototype===t?null:t.constructor.prototype}hasProperty(t,r){return t?Object.prototype.hasOwnProperty.call(t,r)?!0:this.hasProperty(this.getPrototype(t),r):!1}asymmetricMatch(t){if(typeof this.sample!="object")throw new TypeError(`You must provide an object to ${this.toString()}, not '${typeof this.sample}'.`);let r=!0,n=this.getMatcherContext();for(let i in this.sample)if(!this.hasProperty(t,i)||!Ue(this.sample[i],t[i],n.customTesters)){r=!1;break}return this.inverse?!r:r}toString(){return`Object${this.inverse?"Not":""}Containing`}getExpectedType(){return"object"}};a(jI,"ObjectContaining");var kx=jI,DI=class extends ti{constructor(t,r=!1){super(t,r)}asymmetricMatch(t){if(!Array.isArray(this.sample))throw new TypeError(`You must provide an array to ${this.toString()}, not '${typeof this.sample}'.`);let r=this.getMatcherContext(),n=this.sample.length===0||Array.isArray(t)&&this.sample.every(i=>t.some(o=>Ue(i,o,r.customTesters)));return this.inverse?!n:n}toString(){return`Array${this.inverse?"Not":""}Containing`}getExpectedType(){return"array"}};a(DI,"ArrayContaining");var Mx=DI,LI=class extends ti{constructor(t){if(typeof t>"u")throw new TypeError("any() expects to be passed a constructor function. Please pass one or use anything() to match any object.");super(t)}fnNameFor(t){if(t.name)return t.name;let r=Function.prototype.toString.call(t).match(/^(?:async)?\s*function\s*(?:\*\s*)?([\w$]+)\s*\(/);return r?r[1]:"<anonymous>"}asymmetricMatch(t){return this.sample===String?typeof t=="string"||t instanceof String:this.sample===Number?typeof t=="number"||t instanceof Number:this.sample===Function?typeof t=="function"||typeof t=="function":this.sample===Boolean?typeof t=="boolean"||t instanceof Boolean:this.sample===BigInt?typeof t=="bigint"||t instanceof BigInt:this.sample===Symbol?typeof t=="symbol"||t instanceof Symbol:this.sample===Object?typeof t=="object":t 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)}>`}};a(LI,"Any");var sY=LI,$I=class extends ti{constructor(t,r=!1){if(!$r("String",t)&&!$r("RegExp",t))throw new Error("Expected is not a String or a RegExp");super(new RegExp(t),r)}asymmetricMatch(t){let r=$r("String",t)&&this.sample.test(t);return this.inverse?!r:r}toString(){return`String${this.inverse?"Not":""}Matching`}getExpectedType(){return"string"}};a($I,"StringMatching");var qx=$I,FI=class extends ti{precision;constructor(t,r=2,n=!1){if(!$r("Number",t))throw new Error("Expected is not a Number");if(!$r("Number",r))throw new Error("Precision is not a Number");super(t),this.inverse=n,this.precision=r}asymmetricMatch(t){if(!$r("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,`(${NI("digit",this.precision)})`].join(" ")}};a(FI,"CloseTo");var jx=FI,aY=a((e,t)=>{t.addMethod(e.expect,"anything",()=>new oY),t.addMethod(e.expect,"any",r=>new sY(r)),t.addMethod(e.expect,"stringContaining",r=>new Ix(r)),t.addMethod(e.expect,"objectContaining",r=>new kx(r)),t.addMethod(e.expect,"arrayContaining",r=>new Mx(r)),t.addMethod(e.expect,"stringMatching",r=>new qx(r)),t.addMethod(e.expect,"closeTo",(r,n)=>new jx(r,n)),e.expect.not={stringContaining:a(r=>new Ix(r,!0),"stringContaining"),objectContaining:a(r=>new kx(r,!0),"objectContaining"),arrayContaining:a(r=>new Mx(r,!0),"arrayContaining"),stringMatching:a(r=>new qx(r,!0),"stringMatching"),closeTo:a((r,n)=>new jx(r,n,!0),"closeTo")}},"JestAsymmetricMatchers");function yy(e,t,r){let n=e.flag(t,"negate")?"not.":"",i=`${e.flag(t,"_name")}(${r?"expected":""})`,o=e.flag(t,"promise");return`expect(actual)${o?`.${o}`:""}.${n}${i}`}a(yy,"createAssertionMessage");function gy(e,t,r,n){let i=e;if(i&&t instanceof Promise){t=t.finally(()=>{if(!i.promises)return;let s=i.promises.indexOf(t);s!==-1&&i.promises.splice(s,1)}),i.promises||(i.promises=[]),i.promises.push(t);let o=!1;return i.onFinished??(i.onFinished=[]),i.onFinished.push(()=>{if(!o){var s;let l=(((s=globalThis.__vitest_worker__)===null||s===void 0?void 0:s.onFilterStackTrace)||(u=>u||""))(n.stack);console.warn([`Promise returned by \`${r}\` was not awaited. `,"Vitest currently auto-awaits hanging assertions at the end of the test, but this will cause the test to fail in Vitest 3. ",`Please remember to await the assertion.
|
|
280
|
-
`,l].join(""))}}),{then(s,l){return o=!0,t.then(s,l)},catch(s){return t.catch(s)},finally(s){return t.finally(s)},[Symbol.toStringTag]:"Promise"}}return t}a(gy,"recordAsyncExpect");function by(e,t){var r;e.result||(e.result={state:"fail"}),e.result.state="fail",(r=e.result).errors||(r.errors=[]),e.result.errors.push(Cd(t))}a(by,"handleTestError");function O_(e,t,r){return function(...n){if(t!=="withTest"&&e.flag(this,"_name",t),!e.flag(this,"soft"))return r.apply(this,n);let i=e.flag(this,"vitest-test");if(!i)throw new Error("expect.soft() can only be used inside a test");try{let o=r.apply(this,n);return o&&typeof o=="object"&&typeof o.then=="function"?o.then(jA,s=>{by(i,s)}):o}catch(o){by(i,o)}}}a(O_,"wrapAssertion");var lY=a((e,t)=>{let{AssertionError:r}=e,n=pf();function i(c,p){let d=a(f=>{let h=O_(t,f,p);t.addMethod(e.Assertion.prototype,f,h),t.addMethod(globalThis[Ol].matchers,f,h)},"addMethod");Array.isArray(c)?c.forEach(f=>d(f)):d(c)}a(i,"def"),["throw","throws","Throw"].forEach(c=>{t.overwriteMethod(e.Assertion.prototype,c,p=>function(...d){let f=t.flag(this,"promise"),h=t.flag(this,"object"),y=t.flag(this,"negate");if(f==="rejects")t.flag(this,"object",()=>{throw h});else if(f==="resolves"&&typeof h!="function"){if(y)return;{let b=t.flag(this,"message")||"expected promise to throw an error, but it didn't",g={showDiff:!1};throw new r(b,g,t.flag(this,"ssfi"))}}p.apply(this,d)})}),i("withTest",function(c){return t.flag(this,"vitest-test",c),this}),i("toEqual",function(c){let p=t.flag(this,"object"),d=Ue(p,c,[...n,xr]);return this.assert(d,"expected #{this} to deeply equal #{exp}","expected #{this} to not deeply equal #{exp}",c,p)}),i("toStrictEqual",function(c){let p=t.flag(this,"object"),d=Ue(p,c,[...n,xr,hy,pp,my],!0);return this.assert(d,"expected #{this} to strictly equal #{exp}","expected #{this} to not strictly equal #{exp}",c,p)}),i("toBe",function(c){let p=this._obj,d=Object.is(p,c),f="";return d||(Ue(p,c,[...n,xr,hy,pp,my],!0)?f="toStrictEqual":Ue(p,c,[...n,xr])&&(f="toEqual")),this.assert(d,RI(f),"expected #{this} not to be #{exp} // Object.is equality",c,p)}),i("toMatchObject",function(c){let p=this._obj,d=Ue(p,c,[...n,xr,da]),f=t.flag(this,"negate"),{subset:h,stripped:y}=II(p,c,n);if(d&&f||!d&&!f){let b=t.getMessage(this,[d,"expected #{this} to match object #{exp}","expected #{this} to not match object #{exp}",c,h,!1]),g=y===0?b:`${b}
|
|
281
|
-
(${y} matching ${y===1?"property":"properties"} omitted from actual)`;throw new r(g,{showDiff:!0,expected:c,actual:h})}}),i("toMatch",function(c){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 c=="string"?p.includes(c):p.match(c),"expected #{this} to match #{exp}","expected #{this} not to match #{exp}",c,p)}),i("toContain",function(c){let p=this._obj;if(typeof Node<"u"&&p instanceof Node){if(!(c instanceof Node))throw new TypeError(`toContain() expected a DOM node as the argument, but got ${typeof c}`);return this.assert(p.contains(c),"expected #{this} to contain element #{exp}","expected #{this} not to contain element #{exp}",c,p)}if(typeof DOMTokenList<"u"&&p instanceof DOMTokenList){ln(c,"class name",["string"]);let d=t.flag(this,"negate")?p.value.replace(c,"").trim():`${p.value} ${c}`;return this.assert(p.contains(c),`expected "${p.value}" to contain "${c}"`,`expected "${p.value}" not to contain "${c}"`,d,p.value)}return typeof p=="string"&&typeof c=="string"?this.assert(p.includes(c),"expected #{this} to contain #{exp}","expected #{this} not to contain #{exp}",c,p):(p!=null&&typeof p!="string"&&t.flag(this,"object",Array.from(p)),this.contain(c))}),i("toContainEqual",function(c){let p=t.flag(this,"object"),d=Array.from(p).findIndex(f=>Ue(f,c,n));this.assert(d!==-1,"expected #{this} to deep equally contain #{exp}","expected #{this} to not deep equally contain #{exp}",c)}),i("toBeTruthy",function(){let c=t.flag(this,"object");this.assert(!!c,"expected #{this} to be truthy","expected #{this} to not be truthy",!0,c)}),i("toBeFalsy",function(){let c=t.flag(this,"object");this.assert(!c,"expected #{this} to be falsy","expected #{this} to not be falsy",!1,c)}),i("toBeGreaterThan",function(c){let p=this._obj;return ln(p,"actual",["number","bigint"]),ln(c,"expected",["number","bigint"]),this.assert(p>c,`expected ${p} to be greater than ${c}`,`expected ${p} to be not greater than ${c}`,c,p,!1)}),i("toBeGreaterThanOrEqual",function(c){let p=this._obj;return ln(p,"actual",["number","bigint"]),ln(c,"expected",["number","bigint"]),this.assert(p>=c,`expected ${p} to be greater than or equal to ${c}`,`expected ${p} to be not greater than or equal to ${c}`,c,p,!1)}),i("toBeLessThan",function(c){let p=this._obj;return ln(p,"actual",["number","bigint"]),ln(c,"expected",["number","bigint"]),this.assert(p<c,`expected ${p} to be less than ${c}`,`expected ${p} to be not less than ${c}`,c,p,!1)}),i("toBeLessThanOrEqual",function(c){let p=this._obj;return ln(p,"actual",["number","bigint"]),ln(c,"expected",["number","bigint"]),this.assert(p<=c,`expected ${p} to be less than or equal to ${c}`,`expected ${p} to be not less than or equal to ${c}`,c,p,!1)}),i("toBeNaN",function(){let c=t.flag(this,"object");this.assert(Number.isNaN(c),"expected #{this} to be NaN","expected #{this} not to be NaN",Number.NaN,c)}),i("toBeUndefined",function(){let c=t.flag(this,"object");this.assert(c===void 0,"expected #{this} to be undefined","expected #{this} not to be undefined",void 0,c)}),i("toBeNull",function(){let c=t.flag(this,"object");this.assert(c===null,"expected #{this} to be null","expected #{this} not to be null",null,c)}),i("toBeDefined",function(){let c=t.flag(this,"object");this.assert(typeof c<"u","expected #{this} to be defined","expected #{this} to be undefined",c)}),i("toBeTypeOf",function(c){let p=typeof this._obj,d=c===p;return this.assert(d,"expected #{this} to be type of #{exp}","expected #{this} not to be type of #{exp}",c,p)}),i("toBeInstanceOf",function(c){return this.instanceOf(c)}),i("toHaveLength",function(c){return this.have.length(c)}),i("toHaveProperty",function(...c){Array.isArray(c[0])&&(c[0]=c[0].map(v=>String(v).replace(/([.[\]])/g,"\\$1")).join("."));let p=this._obj,[d,f]=c,h=a(()=>Object.prototype.hasOwnProperty.call(p,d)?{value:p[d],exists:!0}:t.getPathInfo(p,d),"getValue"),{value:y,exists:b}=h(),g=b&&(c.length===1||Ue(f,y,n)),m=c.length===1?"":` with value ${t.objDisplay(f)}`;return this.assert(g,`expected #{this} to have property "${d}"${m}`,`expected #{this} to not have property "${d}"${m}`,f,b?y:void 0)}),i("toBeCloseTo",function(c,p=2){let d=this._obj,f=!1,h=0,y=0;return c===Number.POSITIVE_INFINITY&&d===Number.POSITIVE_INFINITY||c===Number.NEGATIVE_INFINITY&&d===Number.NEGATIVE_INFINITY?f=!0:(h=10**-p/2,y=Math.abs(d-c),f=y<h),this.assert(f,`expected #{this} to be close to #{exp}, received difference is ${y}, but expected ${h}`,`expected #{this} to not be close to #{exp}, received difference is ${y}, but expected ${h}`,c,d,!1)});function o(c){if(!fo(c._obj))throw new TypeError(`${t.inspect(c._obj)} is not a spy or a call to a spy!`)}a(o,"assertIsMock");function s(c){return o(c),c._obj}a(s,"getSpy"),i(["toHaveBeenCalledTimes","toBeCalledTimes"],function(c){let p=s(this),d=p.getMockName(),f=p.mock.calls.length;return this.assert(f===c,`expected "${d}" to be called #{exp} times, but got ${f} times`,`expected "${d}" to not be called #{exp} times`,c,f,!1)}),i("toHaveBeenCalledOnce",function(){let c=s(this),p=c.getMockName(),d=c.mock.calls.length;return this.assert(d===1,`expected "${p}" to be called once, but got ${d} times`,`expected "${p}" to not be called once`,1,d,!1)}),i(["toHaveBeenCalled","toBeCalled"],function(){let c=s(this),p=c.getMockName(),d=c.mock.calls.length,f=d>0,h=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${p}" to be called at least once`,`expected "${p}" to not be called at all, but actually been called ${d} times`,!0,f]);if(f&&h&&(y=hc(c,y)),f&&h||!f&&!h)throw new r(y)});function l(c,p){return c.length===p.length&&c.every((d,f)=>Ue(d,p[f],[...n,xr]))}a(l,"equalsArgumentArray"),i(["toHaveBeenCalledWith","toBeCalledWith"],function(...c){let p=s(this),d=p.getMockName(),f=p.mock.calls.some(b=>l(b,c)),h=t.flag(this,"negate"),y=t.getMessage(this,[f,`expected "${d}" to be called with arguments: #{exp}`,`expected "${d}" to not be called with arguments: #{exp}`,c]);if(f&&h||!f&&!h)throw new r(hc(p,y,c))}),i("toHaveBeenCalledExactlyOnceWith",function(...c){let p=s(this),d=p.getMockName(),f=p.mock.calls.length,h=p.mock.calls.some(g=>l(g,c))&&f===1,y=t.flag(this,"negate"),b=t.getMessage(this,[h,`expected "${d}" to be called once with arguments: #{exp}`,`expected "${d}" to not be called once with arguments: #{exp}`,c]);if(h&&y||!h&&!y)throw new r(hc(p,b,c))}),i(["toHaveBeenNthCalledWith","nthCalledWith"],function(c,...p){let d=s(this),f=d.getMockName(),h=d.mock.calls[c-1],y=d.mock.calls.length,b=c<=y;this.assert(h&&l(h,p),`expected ${bs(c)} "${f}" call to have been called with #{exp}${b?"":`, but called only ${y} times`}`,`expected ${bs(c)} "${f}" call to not have been called with #{exp}`,p,h,b)}),i(["toHaveBeenLastCalledWith","lastCalledWith"],function(...c){let p=s(this),d=p.getMockName(),f=p.mock.calls[p.mock.calls.length-1];this.assert(f&&l(f,c),`expected last "${d}" call to have been called with #{exp}`,`expected last "${d}" call to not have been called with #{exp}`,c,f)});function u(c,p,d){let f=c.mock.invocationCallOrder,h=p.mock.invocationCallOrder;return f.length===0?!d:h.length===0?!1:f[0]<h[0]}a(u,"isSpyCalledBeforeAnotherSpy"),i(["toHaveBeenCalledBefore"],function(c,p=!0){let d=s(this);if(!fo(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(d,c,p),`expected "${d.getMockName()}" to have been called before "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called before "${c.getMockName()}"`,c,d)}),i(["toHaveBeenCalledAfter"],function(c,p=!0){let d=s(this);if(!fo(c))throw new TypeError(`${t.inspect(c)} is not a spy or a call to a spy`);this.assert(u(c,d,p),`expected "${d.getMockName()}" to have been called after "${c.getMockName()}"`,`expected "${d.getMockName()}" to not have been called after "${c.getMockName()}"`,c,d)}),i(["toThrow","toThrowError"],function(c){if(typeof c=="string"||typeof c>"u"||c instanceof RegExp)return this.throws(c===""?/^$/:c);let p=this._obj,d=t.flag(this,"promise"),f=t.flag(this,"negate"),h=null;if(d==="rejects")h=p;else if(d==="resolves"&&typeof p!="function"){if(f)return;{let y=t.flag(this,"message")||"expected promise to throw an error, but it didn't",b={showDiff:!1};throw new r(y,b,t.flag(this,"ssfi"))}}else{let y=!1;try{p()}catch(b){y=!0,h=b}if(!y&&!f){let b=t.flag(this,"message")||"expected function to throw an error, but it didn't",g={showDiff:!1};throw new r(b,g,t.flag(this,"ssfi"))}}if(typeof c=="function"){let y=c.name||c.prototype.constructor.name;return this.assert(h&&h instanceof c,`expected error to be instance of ${y}`,`expected error not to be instance of ${y}`,c,h)}if(c instanceof Error){let y=Ue(h,c,[...n,xr]);return this.assert(y,"expected a thrown error to be #{exp}","expected a thrown error not to be #{exp}",c,h)}if(typeof c=="object"&&"asymmetricMatch"in c&&typeof c.asymmetricMatch=="function"){let y=c;return this.assert(h&&y.asymmetricMatch(h),"expected error to match asymmetric matcher","expected error not to match asymmetric matcher",y,h)}throw new Error(`"toThrow" expects string, RegExp, function, Error instance or asymmetric matcher, got "${typeof c}"`)}),[{name:"toHaveResolved",condition:a(c=>c.mock.settledResults.length>0&&c.mock.settledResults.some(({type:p})=>p==="fulfilled"),"condition"),action:"resolved"},{name:["toHaveReturned","toReturn"],condition:a(c=>c.mock.calls.length>0&&c.mock.results.some(({type:p})=>p!=="throw"),"condition"),action:"called"}].forEach(({name:c,condition:p,action:d})=>{i(c,function(){let f=s(this),h=f.getMockName(),y=p(f);this.assert(y,`expected "${h}" to be successfully ${d} at least once`,`expected "${h}" to not be successfully ${d}`,y,!y,!1)})}),[{name:"toHaveResolvedTimes",condition:a((c,p)=>c.mock.settledResults.reduce((d,{type:f})=>f==="fulfilled"?++d:d,0)===p,"condition"),action:"resolved"},{name:["toHaveReturnedTimes","toReturnTimes"],condition:a((c,p)=>c.mock.results.reduce((d,{type:f})=>f==="throw"?d:++d,0)===p,"condition"),action:"called"}].forEach(({name:c,condition:p,action:d})=>{i(c,function(f){let h=s(this),y=h.getMockName(),b=p(h,f);this.assert(b,`expected "${y}" to be successfully ${d} ${f} times`,`expected "${y}" to not be successfully ${d} ${f} times`,`expected resolved times: ${f}`,`received resolved times: ${b}`,!1)})}),[{name:"toHaveResolvedWith",condition:a((c,p)=>c.mock.settledResults.some(({type:d,value:f})=>d==="fulfilled"&&Ue(p,f)),"condition"),action:"resolve"},{name:["toHaveReturnedWith","toReturnWith"],condition:a((c,p)=>c.mock.results.some(({type:d,value:f})=>d==="return"&&Ue(p,f)),"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{i(c,function(f){let h=s(this),y=p(h,f),b=t.flag(this,"negate");if(y&&b||!y&&!b){let g=h.getMockName(),m=t.getMessage(this,[y,`expected "${g}" to ${d} with: #{exp} at least once`,`expected "${g}" to not ${d} with: #{exp}`,f]),v=d==="return"?h.mock.results:h.mock.settledResults;throw new r(BI(h,v,m,f))}})}),[{name:"toHaveLastResolvedWith",condition:a((c,p)=>{let d=c.mock.settledResults[c.mock.settledResults.length-1];return d&&d.type==="fulfilled"&&Ue(d.value,p)},"condition"),action:"resolve"},{name:["toHaveLastReturnedWith","lastReturnedWith"],condition:a((c,p)=>{let d=c.mock.results[c.mock.results.length-1];return d&&d.type==="return"&&Ue(d.value,p)},"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{i(c,function(f){let h=s(this),y=d==="return"?h.mock.results:h.mock.settledResults,b=y[y.length-1],g=h.getMockName();this.assert(p(h,f),`expected last "${g}" call to ${d} #{exp}`,`expected last "${g}" call to not ${d} #{exp}`,f,b?.value)})}),[{name:"toHaveNthResolvedWith",condition:a((c,p,d)=>{let f=c.mock.settledResults[p-1];return f&&f.type==="fulfilled"&&Ue(f.value,d)},"condition"),action:"resolve"},{name:["toHaveNthReturnedWith","nthReturnedWith"],condition:a((c,p,d)=>{let f=c.mock.results[p-1];return f&&f.type==="return"&&Ue(f.value,d)},"condition"),action:"return"}].forEach(({name:c,condition:p,action:d})=>{i(c,function(f,h){let y=s(this),b=y.getMockName(),g=(d==="return"?y.mock.results:y.mock.settledResults)[f-1],m=`${bs(f)} call`;this.assert(p(y,f,h),`expected ${m} "${b}" call to ${d} #{exp}`,`expected ${m} "${b}" call to not ${d} #{exp}`,h,g?.value)})}),i("withContext",function(c){for(let p in c)t.flag(this,p,c[p]);return this}),t.addProperty(e.Assertion.prototype,"resolves",a(function(){let c=new Error("resolves");t.flag(this,"promise","resolves"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),d=t.flag(this,"object");if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .resolves");if(typeof d?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .resolves, not '${typeof d}'.`);let f=new Proxy(this,{get:a((h,y,b)=>{let g=Reflect.get(h,y,b);return typeof g!="function"?g instanceof e.Assertion?f:g:(...m)=>{t.flag(this,"_name",y);let v=d.then(S=>(t.flag(this,"object",S),g.call(this,...m)),S=>{let O=new r(`promise rejected "${t.inspect(S)}" instead of resolving`,{showDiff:!1});throw O.cause=S,O.stack=c.stack.replace(c.message,O.message),O});return gy(p,v,yy(t,this,!!m.length),c)}},"get")});return f},"__VITEST_RESOLVES__")),t.addProperty(e.Assertion.prototype,"rejects",a(function(){let c=new Error("rejects");t.flag(this,"promise","rejects"),t.flag(this,"error",c);let p=t.flag(this,"vitest-test"),d=t.flag(this,"object"),f=typeof d=="function"?d():d;if(t.flag(this,"poll"))throw new SyntaxError("expect.poll() is not supported in combination with .rejects");if(typeof f?.then!="function")throw new TypeError(`You must provide a Promise to expect() when using .rejects, not '${typeof f}'.`);let h=new Proxy(this,{get:a((y,b,g)=>{let m=Reflect.get(y,b,g);return typeof m!="function"?m instanceof e.Assertion?h:m:(...v)=>{t.flag(this,"_name",b);let S=f.then(O=>{let P=new r(`promise resolved "${t.inspect(O)}" instead of rejecting`,{showDiff:!0,expected:new Error("rejected promise"),actual:O});throw P.stack=c.stack.replace(c.message,P.message),P},O=>(t.flag(this,"object",O),m.call(this,...v)));return gy(p,S,yy(t,this,!!v.length),c)}},"get")});return h},"__VITEST_REJECTS__"))},"JestChaiExpect");function bs(e){let t=e%10,r=e%100;return t===1&&r!==11?`${e}st`:t===2&&r!==12?`${e}nd`:t===3&&r!==13?`${e}rd`:`${e}th`}a(bs,"ordinalOf");function hc(e,t,r){return e.mock.calls.length&&(t+=yt.gray(`
|
|
282
|
-
|
|
283
|
-
Received:
|
|
284
|
-
|
|
285
|
-
${e.mock.calls.map((n,i)=>{let o=yt.bold(` ${bs(i+1)} ${e.getMockName()} call:
|
|
286
|
-
|
|
287
|
-
`);return r?o+=Bo(r,n,{omitAnnotationLines:!0}):o+=hr(n).split(`
|
|
288
|
-
`).map(s=>` ${s}`).join(`
|
|
289
|
-
`),o+=`
|
|
290
|
-
`,o}).join(`
|
|
291
|
-
`)}`)),t+=yt.gray(`
|
|
292
|
-
|
|
293
|
-
Number of calls: ${yt.bold(e.mock.calls.length)}
|
|
294
|
-
`),t}a(hc,"formatCalls");function BI(e,t,r,n){return t.length&&(r+=yt.gray(`
|
|
295
|
-
|
|
296
|
-
Received:
|
|
297
|
-
|
|
298
|
-
${t.map((i,o)=>{let s=yt.bold(` ${bs(o+1)} ${e.getMockName()} call return:
|
|
299
|
-
|
|
300
|
-
`);return n?s+=Bo(n,i.value,{omitAnnotationLines:!0}):s+=hr(i).split(`
|
|
301
|
-
`).map(l=>` ${l}`).join(`
|
|
302
|
-
`),s+=`
|
|
303
|
-
`,s}).join(`
|
|
304
|
-
`)}`)),r+=yt.gray(`
|
|
305
|
-
|
|
306
|
-
Number of calls: ${yt.bold(e.mock.calls.length)}
|
|
307
|
-
`),r}a(BI,"formatReturns");function UI(e,t){let r=e._obj,n=fn.flag(e,"negate"),i=fn.flag(e,"promise")||"",o={...S_(),diff:Bo,stringify:hr,iterableEquality:xr,subsetEquality:da};return{state:{...Pl(t),customTesters:pf(),isNot:n,utils:o,promise:i,equals:Ue,suppressedErrors:[],soft:fn.flag(e,"soft"),poll:fn.flag(e,"poll")},isNot:n,obj:r}}a(UI,"getMatcherState");var VI=class extends Error{constructor(t,r,n){super(t),this.actual=r,this.expected=n}};a(VI,"JestExtendError");var Dx=VI;function HI(e,t,r){return(n,i)=>{Object.entries(r).forEach(([o,s])=>{function l(...f){let{state:h,isNot:y,obj:b}=UI(this,t),g=s.call(h,b,...f);if(g&&typeof g=="object"&&typeof g.then=="function")return g.then(({pass:P,message:x,actual:E,expected:_})=>{if(P&&y||!P&&!y)throw new Dx(x(),E,_)});let{pass:m,message:v,actual:S,expected:O}=g;if(m&&y||!m&&!y)throw new Dx(v(),S,O)}a(l,"expectWrapper");let u=O_(i,o,l);i.addMethod(globalThis[Ol].matchers,o,u),i.addMethod(e.Assertion.prototype,o,u);let c=class extends ti{constructor(h=!1,...y){super(y,h)}asymmetricMatch(h){let{pass:y}=s.call(this.getMatcherContext(t),h,...this.sample);return this.inverse?!y:y}toString(){return`${this.inverse?"not.":""}${o}`}getExpectedType(){return"any"}toAsymmetricMatcher(){return`${this.toString()}<${this.sample.map(h=>hr(h)).join(", ")}>`}};a(c,"CustomMatcher");let p=c,d=a((...f)=>new p(!1,...f),"customMatcher");Object.defineProperty(t,o,{configurable:!0,enumerable:!0,value:d,writable:!0}),Object.defineProperty(t.not,o,{configurable:!0,enumerable:!0,value:a((...f)=>new p(!0,...f),"value"),writable:!0}),Object.defineProperty(globalThis[uy],o,{configurable:!0,enumerable:!0,value:d,writable:!0})})}}a(HI,"JestExtendPlugin");var uY=a((e,t)=>{t.addMethod(e.expect,"extend",(r,n)=>{co(HI(e,r,n))})},"JestExtend");function JI(){co(uY),co(lY),co(aY);let e=a((n,i)=>{let{assertionCalls:o}=Pl(e);return fc({assertionCalls:o+1,soft:!1},e),Si(n,i)},"expect");Object.assign(e,Si),e.getState=()=>Pl(e),e.setState=n=>fc(n,e),e.extend=n=>Si.extend(e,n),e.soft=(...n)=>{let i=e(...n);return e.setState({soft:!0}),i},e.extend(Z7),e.unreachable=n=>{$.fail(`expected${n?` "${n}" `:" "}not to be reached`)};function t(n){let i=a(()=>new Error(`expected number of assertions to be ${n}, but got ${e.getState().assertionCalls}`),"errorGen");"captureStackTrace"in Error&&typeof Error.captureStackTrace=="function"&&Error.captureStackTrace(i(),t),e.setState({expectedAssertionsNumber:n,expectedAssertionsNumberErrorGen:i})}a(t,"assertions");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 a(r,"hasAssertions"),fc({assertionCalls:0,isExpectingAssertions:!1,isExpectingAssertionsError:null,expectedAssertionsNumber:null,expectedAssertionsNumberErrorGen:null},e),fn.addMethod(e,"assertions",t),fn.addMethod(e,"hasAssertions",r),e.extend(xR),e}a(JI,"createExpect");var WI=JI();Object.defineProperty(globalThis,w_,{value:WI,writable:!0,configurable:!0});function zI(e,t,r){Object.defineProperty(e,t,r)}a(zI,"f");var mc=Symbol.for("tinyspy:spy"),cY=a(e=>{e.called=!1,e.callCount=0,e.calls=[],e.results=[],e.resolves=[],e.next=[]},"P"),pY=a(e=>(zI(e,mc,{value:{reset:a(()=>cY(e[mc]),"reset")}}),e[mc]),"K"),dY=a(e=>e[mc]||pY(e),"T"),vy=new Set;function P_(e){return vy.add(e),()=>void vy.delete(e)}a(P_,"onMockCall");var fY=a((...e)=>{let t=pI(...e);return R_(t)},"spyOn");function A_(e){let t=e?ly(e):ly();return R_(t)}a(A_,"fn");function R_(e){let t=_y(e),r=t.mockImplementation.bind(null);return t.mockImplementation=n=>_y(r(n)),t}a(R_,"reactiveMock");function _y(e){let t=dY(e),r=t.impl;return t.willCall(function(...n){return vy.forEach(i=>i(e,n)),r?.apply(this,n)}),e}a(_y,"listenWhenCalled");function N_(){yu.forEach(e=>e.mockClear())}a(N_,"clearAllMocks");function I_(){yu.forEach(e=>e.mockReset())}a(I_,"resetAllMocks");function k_(){yu.forEach(e=>e.mockRestore())}a(k_,"restoreAllMocks");function KI(e,t={}){return e}a(KI,"mocked");var GI={};ar(GI,{buildQueries:()=>Tn,configure:()=>zk,createEvent:()=>el,findAllByAltText:()=>BM,findAllByDisplayValue:()=>qM,findAllByLabelText:()=>hM,findAllByPlaceholderText:()=>xM,findAllByRole:()=>tq,findAllByTestId:()=>aq,findAllByText:()=>AM,findAllByTitle:()=>zM,findByAltText:()=>UM,findByDisplayValue:()=>jM,findByLabelText:()=>mM,findByPlaceholderText:()=>TM,findByRole:()=>rq,findByTestId:()=>lq,findByText:()=>RM,findByTitle:()=>KM,fireEvent:()=>Us,getAllByAltText:()=>$M,getAllByDisplayValue:()=>kM,getAllByLabelText:()=>yM,getAllByPlaceholderText:()=>EM,getAllByRole:()=>ZM,getAllByTestId:()=>oq,getAllByText:()=>OM,getAllByTitle:()=>JM,getByAltText:()=>FM,getByDisplayValue:()=>MM,getByLabelText:()=>gM,getByPlaceholderText:()=>wM,getByRole:()=>eq,getByTestId:()=>sq,getByText:()=>PM,getByTitle:()=>WM,getConfig:()=>Le,getDefaultNormalizer:()=>yf,getElementError:()=>vu,getMultipleElementsFoundError:()=>_u,getNodeText:()=>fa,getQueriesForElement:()=>hp,getRoles:()=>Z_,getSuggestedQuery:()=>Rl,isInaccessible:()=>bu,logDOM:()=>Oy,logRoles:()=>jY,makeFindQuery:()=>Co,makeGetAllQuery:()=>vf,makeSingleQuery:()=>So,prettyDOM:()=>Bs,prettyFormat:()=>M_,queries:()=>fp,queryAllByAltText:()=>DM,queryAllByAttribute:()=>Hi,queryAllByDisplayValue:()=>NM,queryAllByLabelText:()=>bM,queryAllByPlaceholderText:()=>vM,queryAllByRole:()=>XM,queryAllByTestId:()=>nq,queryAllByText:()=>SM,queryAllByTitle:()=>VM,queryByAltText:()=>LM,queryByAttribute:()=>t0,queryByDisplayValue:()=>IM,queryByLabelText:()=>dM,queryByPlaceholderText:()=>_M,queryByRole:()=>QM,queryByTestId:()=>iq,queryByText:()=>CM,queryByTitle:()=>HM,queryHelpers:()=>DY,screen:()=>nX,waitFor:()=>bf,waitForElementToBeRemoved:()=>cq,within:()=>hp,wrapAllByQueryWithSuggestion:()=>mr,wrapSingleQueryWithSuggestion:()=>Oi});var M_=wt(z6()),hY=Object.prototype.toString;function Ey(e){return typeof e=="function"||hY.call(e)==="[object Function]"}a(Ey,"isCallable");function YI(e){var t=Number(e);return isNaN(t)?0:t===0||!isFinite(t)?t:(t>0?1:-1)*Math.floor(Math.abs(t))}a(YI,"toInteger");var mY=Math.pow(2,53)-1;function XI(e){var t=YI(e);return Math.min(Math.max(t,0),mY)}a(XI,"toLength");function jr(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"&&!Ey(t))throw new TypeError("Array.from: when provided, the second argument must be a function");for(var i=XI(n.length),o=Ey(r)?Object(new r(i)):new Array(i),s=0,l;s<i;)l=n[s],t?o[s]=t(l,s):o[s]=l,s+=1;return o.length=i,o}a(jr,"arrayFrom");function $s(e){"@babel/helpers - typeof";return $s=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},$s(e)}a($s,"_typeof");function QI(e,t){if(!(e instanceof t))throw new TypeError("Cannot call a class as a function")}a(QI,"_classCallCheck");function wy(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,q_(n.key),n)}}a(wy,"_defineProperties");function ZI(e,t,r){return t&&wy(e.prototype,t),r&&wy(e,r),Object.defineProperty(e,"prototype",{writable:!1}),e}a(ZI,"_createClass");function ek(e,t,r){return t=q_(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(ek,"_defineProperty");function q_(e){var t=tk(e,"string");return $s(t)==="symbol"?t:String(t)}a(q_,"_toPropertyKey");function tk(e,t){if($s(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if($s(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}a(tk,"_toPrimitive");var yY=function(){function e(){var t=arguments.length>0&&arguments[0]!==void 0?arguments[0]:[];QI(this,e),ek(this,"items",void 0),this.items=t}return a(e,"SetLike"),ZI(e,[{key:"add",value:a(function(t){return this.has(t)===!1&&this.items.push(t),this},"add")},{key:"clear",value:a(function(){this.items=[]},"clear")},{key:"delete",value:a(function(t){var r=this.items.length;return this.items=this.items.filter(function(n){return n!==t}),r!==this.items.length},"_delete")},{key:"forEach",value:a(function(t){var r=this;this.items.forEach(function(n){t(n,n,r)})},"forEach")},{key:"has",value:a(function(t){return this.items.indexOf(t)!==-1},"has")},{key:"size",get:a(function(){return this.items.length},"get")}]),e}(),gY=typeof Set>"u"?Set:yY;function Jt(e){var t;return(t=e.localName)!==null&&t!==void 0?t:e.tagName.toLowerCase()}a(Jt,"getLocalName");var bY={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"},vY={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 rk(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=vY[t])!==null&&n!==void 0&&n.has(r))})}a(rk,"hasGlobalAriaAttributes");function j_(e,t){return rk(e,t)}a(j_,"ignorePresentationalRole");function nk(e){var t=ok(e);if(t===null||t==="presentation"){var r=ik(e);if(t!=="presentation"||j_(e,r||""))return r}return t}a(nk,"getRole");function ik(e){var t=bY[Jt(e)];if(t!==void 0)return t;switch(Jt(e)){case"a":case"area":case"link":if(e.hasAttribute("href"))return"link";break;case"img":return e.getAttribute("alt")===""&&!j_(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}a(ik,"getImplicitRole");function ok(e){var t=e.getAttribute("role");if(t!==null){var r=t.trim().split(" ")[0];if(r.length>0)return r}return null}a(ok,"getExplicitRole");function ot(e){return e!==null&&e.nodeType===e.ELEMENT_NODE}a(ot,"isElement");function D_(e){return ot(e)&&Jt(e)==="caption"}a(D_,"isHTMLTableCaptionElement");function Za(e){return ot(e)&&Jt(e)==="input"}a(Za,"isHTMLInputElement");function sk(e){return ot(e)&&Jt(e)==="optgroup"}a(sk,"isHTMLOptGroupElement");function ak(e){return ot(e)&&Jt(e)==="select"}a(ak,"isHTMLSelectElement");function lk(e){return ot(e)&&Jt(e)==="table"}a(lk,"isHTMLTableElement");function uk(e){return ot(e)&&Jt(e)==="textarea"}a(uk,"isHTMLTextAreaElement");function ck(e){var t=e.ownerDocument===null?e:e.ownerDocument,r=t.defaultView;if(r===null)throw new TypeError("no window available");return r}a(ck,"safeWindow");function pk(e){return ot(e)&&Jt(e)==="fieldset"}a(pk,"isHTMLFieldSetElement");function dk(e){return ot(e)&&Jt(e)==="legend"}a(dk,"isHTMLLegendElement");function fk(e){return ot(e)&&Jt(e)==="slot"}a(fk,"isHTMLSlotElement");function hk(e){return ot(e)&&e.ownerSVGElement!==void 0}a(hk,"isSVGElement");function mk(e){return ot(e)&&Jt(e)==="svg"}a(mk,"isSVGSVGElement");function yk(e){return hk(e)&&Jt(e)==="title"}a(yk,"isSVGTitleElement");function Al(e,t){if(ot(e)&&e.hasAttribute(t)){var r=e.getAttribute(t).split(" "),n=e.getRootNode?e.getRootNode():e.ownerDocument;return r.map(function(i){return n.getElementById(i)}).filter(function(i){return i!==null})}return[]}a(Al,"queryIdRefs");function mn(e,t){return ot(e)?t.indexOf(nk(e))!==-1:!1}a(mn,"hasAnyConcreteRoles");function gk(e){return e.trim().replace(/\s\s+/g," ")}a(gk,"asFlatString");function bk(e,t){if(!ot(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"}a(bk,"isHidden");function vk(e){return mn(e,["button","combobox","listbox","textbox"])||L_(e,"range")}a(vk,"isControl");function L_(e,t){if(!ot(e))return!1;switch(t){case"range":return mn(e,["meter","progressbar","scrollbar","slider","spinbutton"]);default:throw new TypeError("No knowledge about abstract role '".concat(t,"'. This is likely a bug :("))}}a(L_,"hasAbstractRole");function xy(e,t){var r=jr(e.querySelectorAll(t));return Al(e,"aria-owns").forEach(function(n){r.push.apply(r,jr(n.querySelectorAll(t)))}),r}a(xy,"querySelectorAllSubtree");function _k(e){return ak(e)?e.selectedOptions||xy(e,"[selected]"):xy(e,'[aria-selected="true"]')}a(_k,"querySelectedOptions");function Ek(e){return mn(e,["none","presentation"])}a(Ek,"isMarkedPresentational");function wk(e){return D_(e)}a(wk,"isNativeHostLanguageTextAlternativeElement");function xk(e){return mn(e,["button","cell","checkbox","columnheader","gridcell","heading","label","legend","link","menuitem","menuitemcheckbox","menuitemradio","option","radio","row","rowheader","switch","tab","tooltip","treeitem"])}a(xk,"allowsNameFromContent");function Tk(e){return!1}a(Tk,"isDescendantOfNativeHostLanguageTextAlternativeElement");function Sk(e){return Za(e)||uk(e)?e.value:e.textContent||""}a(Sk,"getValueOfTextbox");function Ty(e){var t=e.getPropertyValue("content");return/^["'].*["']$/.test(t)?t.slice(1,-1):""}a(Ty,"getTextualContent");function $_(e){var t=Jt(e);return t==="button"||t==="input"&&e.getAttribute("type")!=="hidden"||t==="meter"||t==="output"||t==="progress"||t==="select"||t==="textarea"}a($_,"isLabelableElement");function F_(e){if($_(e))return e;var t=null;return e.childNodes.forEach(function(r){if(t===null&&ot(r)){var n=F_(r);n!==null&&(t=n)}}),t}a(F_,"findLabelableElement");function Ck(e){if(e.control!==void 0)return e.control;var t=e.getAttribute("for");return t!==null?e.ownerDocument.getElementById(t):F_(e)}a(Ck,"getControlOfLabel");function Ok(e){var t=e.labels;if(t===null)return t;if(t!==void 0)return jr(t);if(!$_(e))return null;var r=e.ownerDocument;return jr(r.querySelectorAll("label")).filter(function(n){return Ck(n)===e})}a(Ok,"getLabels");function Pk(e){var t=e.assignedNodes();return t.length===0?jr(e.childNodes):t}a(Pk,"getSlotContents");function B_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=new gY,n=ck(e),i=t.compute,o=i===void 0?"name":i,s=t.computedStyleSupportsPseudoElements,l=s===void 0?t.getComputedStyle!==void 0:s,u=t.getComputedStyle,c=u===void 0?n.getComputedStyle.bind(n):u,p=t.hidden,d=p===void 0?!1:p;function f(m,v){var S="";if(ot(m)&&l){var O=c(m,"::before"),P=Ty(O);S="".concat(P," ").concat(S)}var x=fk(m)?Pk(m):jr(m.childNodes).concat(Al(m,"aria-owns"));if(x.forEach(function(C){var w=g(C,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0}),A=ot(C)?c(C).getPropertyValue("display"):"inline",I=A!=="inline"?" ":"";S+="".concat(I).concat(w).concat(I)}),ot(m)&&l){var E=c(m,"::after"),_=Ty(E);S="".concat(S," ").concat(_)}return S.trim()}a(f,"computeMiscTextAlternative");function h(m,v){var S=m.getAttributeNode(v);return S!==null&&!r.has(S)&&S.value.trim()!==""?(r.add(S),S.value):null}a(h,"useAttribute");function y(m){return ot(m)?h(m,"title"):null}a(y,"computeTooltipAttributeValue");function b(m){if(!ot(m))return null;if(pk(m)){r.add(m);for(var v=jr(m.childNodes),S=0;S<v.length;S+=1){var O=v[S];if(dk(O))return g(O,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(lk(m)){r.add(m);for(var P=jr(m.childNodes),x=0;x<P.length;x+=1){var E=P[x];if(D_(E))return g(E,{isEmbeddedInLabel:!1,isReferenced:!1,recursion:!1})}}else if(mk(m)){r.add(m);for(var _=jr(m.childNodes),C=0;C<_.length;C+=1){var w=_[C];if(yk(w))return w.textContent}return null}else if(Jt(m)==="img"||Jt(m)==="area"){var A=h(m,"alt");if(A!==null)return A}else if(sk(m)){var I=h(m,"label");if(I!==null)return I}if(Za(m)&&(m.type==="button"||m.type==="submit"||m.type==="reset")){var j=h(m,"value");if(j!==null)return j;if(m.type==="submit")return"Submit";if(m.type==="reset")return"Reset"}var R=Ok(m);if(R!==null&&R.length!==0)return r.add(m),jr(R).map(function(J){return g(J,{isEmbeddedInLabel:!0,isReferenced:!1,recursion:!0})}).filter(function(J){return J.length>0}).join(" ");if(Za(m)&&m.type==="image"){var q=h(m,"alt");if(q!==null)return q;var M=h(m,"title");return M!==null?M:"Submit Query"}if(mn(m,["button"])){var K=f(m,{isEmbeddedInLabel:!1});if(K!=="")return K}return null}a(b,"computeElementTextAlternative");function g(m,v){if(r.has(m))return"";if(!d&&bk(m,c)&&!v.isReferenced)return r.add(m),"";var S=ot(m)?m.getAttributeNode("aria-labelledby"):null,O=S!==null&&!r.has(S)?Al(m,"aria-labelledby"):[];if(o==="name"&&!v.isReferenced&&O.length>0)return r.add(S),O.map(function(A){return g(A,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!0,recursion:!1})}).join(" ");var P=v.recursion&&vk(m)&&o==="name";if(!P){var x=(ot(m)&&m.getAttribute("aria-label")||"").trim();if(x!==""&&o==="name")return r.add(m),x;if(!Ek(m)){var E=b(m);if(E!==null)return r.add(m),E}}if(mn(m,["menu"]))return r.add(m),"";if(P||v.isEmbeddedInLabel||v.isReferenced){if(mn(m,["combobox","listbox"])){r.add(m);var _=_k(m);return _.length===0?Za(m)?m.value:"":jr(_).map(function(A){return g(A,{isEmbeddedInLabel:v.isEmbeddedInLabel,isReferenced:!1,recursion:!0})}).join(" ")}if(L_(m,"range"))return r.add(m),m.hasAttribute("aria-valuetext")?m.getAttribute("aria-valuetext"):m.hasAttribute("aria-valuenow")?m.getAttribute("aria-valuenow"):m.getAttribute("value")||"";if(mn(m,["textbox"]))return r.add(m),Sk(m)}if(xk(m)||ot(m)&&v.isReferenced||wk(m)||Tk()){var C=f(m,{isEmbeddedInLabel:v.isEmbeddedInLabel});if(C!=="")return r.add(m),C}if(m.nodeType===m.TEXT_NODE)return r.add(m),m.textContent||"";if(v.recursion)return r.add(m),f(m,{isEmbeddedInLabel:v.isEmbeddedInLabel});var w=y(m);return w!==null?(r.add(m),w):(r.add(m),"")}return a(g,"computeTextAlternative"),gk(g(e,{isEmbeddedInLabel:!1,isReferenced:o==="description",recursion:!1}))}a(B_,"computeTextAlternative");function Fs(e){"@babel/helpers - typeof";return Fs=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},Fs(e)}a(Fs,"_typeof");function Sy(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(i){return Object.getOwnPropertyDescriptor(e,i).enumerable})),r.push.apply(r,n)}return r}a(Sy,"ownKeys");function Cy(e){for(var t=1;t<arguments.length;t++){var r=arguments[t]!=null?arguments[t]:{};t%2?Sy(Object(r),!0).forEach(function(n){Ak(e,n,r[n])}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):Sy(Object(r)).forEach(function(n){Object.defineProperty(e,n,Object.getOwnPropertyDescriptor(r,n))})}return e}a(Cy,"_objectSpread");function Ak(e,t,r){return t=Rk(t),t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(Ak,"_defineProperty");function Rk(e){var t=Nk(e,"string");return Fs(t)==="symbol"?t:String(t)}a(Rk,"_toPropertyKey");function Nk(e,t){if(Fs(e)!=="object"||e===null)return e;var r=e[Symbol.toPrimitive];if(r!==void 0){var n=r.call(e,t||"default");if(Fs(n)!=="object")return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return(t==="string"?String:Number)(e)}a(Nk,"_toPrimitive");function U_(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{},r=Al(e,"aria-describedby").map(function(i){return B_(i,Cy(Cy({},t),{},{compute:"description"}))}).join(" ");if(r===""){var n=e.getAttribute("title");r=n===null?"":n}return r}a(U_,"computeAccessibleDescription");function Ik(e){return mn(e,["caption","code","deletion","emphasis","generic","insertion","paragraph","presentation","strong","subscript","superscript"])}a(Ik,"prohibitsNaming");function hf(e){var t=arguments.length>1&&arguments[1]!==void 0?arguments[1]:{};return Ik(e)?"":B_(e,t)}a(hf,"computeAccessibleName");var Mr=wt(kJ()),_Y=wt(MJ());function V_(e){return e.replace(/</g,"<").replace(/>/g,">")}a(V_,"escapeHTML");var EY=a((e,t,r,n,i,o,s)=>{let l=n+r.indent,u=r.colors;return e.map(c=>{let p=t[c],d=s(p,r,l,i,o);return typeof p!="string"&&(d.indexOf(`
|
|
308
|
-
`)!==-1&&(d=r.spacingOuter+l+d+r.spacingOuter+n),d="{"+d+"}"),r.spacingInner+n+u.prop.open+c+u.prop.close+"="+u.value.open+d+u.value.close}).join("")},"printProps"),wY=3,xY=a((e,t,r,n,i,o)=>e.map(s=>{let l=typeof s=="string"?kk(s,t):o(s,t,r,n,i);return l===""&&typeof s=="object"&&s!==null&&s.nodeType!==wY?"":t.spacingOuter+r+l}).join(""),"printChildren"),kk=a((e,t)=>{let r=t.colors.content;return r.open+V_(e)+r.close},"printText"),TY=a((e,t)=>{let r=t.colors.comment;return r.open+"<!--"+V_(e)+"-->"+r.close},"printComment"),SY=a((e,t,r,n,i)=>{let o=n.colors.tag;return o.open+"<"+e+(t&&o.close+t+n.spacingOuter+i+o.open)+(r?">"+o.close+r+n.spacingOuter+i+o.open+"</"+e:(t&&!n.min?"":" ")+"/")+">"+o.close},"printElement"),CY=a((e,t)=>{let r=t.colors.tag;return r.open+"<"+e+r.close+" …"+r.open+" />"+r.close},"printElementAsLeaf"),OY=1,Mk=3,qk=8,jk=11,PY=/^((HTML|SVG)\w*)?Element$/,Dk=a(e=>{let{tagName:t}=e;return!!(typeof t=="string"&&t.includes("-")||typeof e.hasAttribute=="function"&&e.hasAttribute("is"))},"isCustomElement"),AY=a(e=>{let t=e.constructor.name,{nodeType:r}=e;return r===OY&&(PY.test(t)||Dk(e))||r===Mk&&t==="Text"||r===qk&&t==="Comment"||r===jk&&t==="DocumentFragment"},"testNode");function Lk(e){return e.nodeType===Mk}a(Lk,"nodeIsText");function $k(e){return e.nodeType===qk}a($k,"nodeIsComment");function yc(e){return e.nodeType===jk}a(yc,"nodeIsFragment");function Fk(e){return{test:a(t=>{var r;return((t==null||(r=t.constructor)==null?void 0:r.name)||Dk(t))&&AY(t)},"test"),serialize:a((t,r,n,i,o,s)=>{if(Lk(t))return kk(t.data,r);if($k(t))return TY(t.data,r);let l=yc(t)?"DocumentFragment":t.tagName.toLowerCase();return++i>r.maxDepth?CY(l,r):SY(l,EY(yc(t)?[]:Array.from(t.attributes).map(u=>u.name).sort(),yc(t)?{}:Array.from(t.attributes).reduce((u,c)=>(u[c.name]=c.value,u),{}),r,n+r.indent,i,o,s),xY(Array.prototype.slice.call(t.childNodes||t.children).filter(e),r,n+r.indent,i,o,s),r,n)},"serialize")}}a(Fk,"createDOMElementFilter");var Bk=null,H_=null,J_=null;try{let e=module&&module.require;H_=e.call(module,"fs").readFileSync,J_=e.call(module,"@babel/code-frame").codeFrameColumns,Bk=e.call(module,"chalk")}catch{}function Uk(e){let t=e.indexOf("(")+1,r=e.indexOf(")"),n=e.slice(t,r),i=n.split(":"),[o,s,l]=[i[0],parseInt(i[1],10),parseInt(i[2],10)],u="";try{u=H_(o,"utf-8")}catch{return""}let c=J_(u,{start:{line:s,column:l}},{highlightCode:!0,linesBelow:0});return Bk.dim(n)+`
|
|
309
|
-
`+c+`
|
|
310
|
-
`}a(Uk,"getCodeFrame");function Vk(){if(!H_||!J_)return"";let e=new Error().stack.split(`
|
|
311
|
-
`).slice(1).find(t=>!t.includes("node_modules/"));return Uk(e)}a(Vk,"getUserCodeFrame");var Hk=3;function gc(){return typeof jest<"u"&&jest!==null?setTimeout._isMockFunction===!0||Object.prototype.hasOwnProperty.call(setTimeout,"clock"):!1}a(gc,"jestFakeTimersAreEnabled");function mf(){if(typeof window>"u")throw new Error("Could not find default container");return window.document}a(mf,"getDocument");function W_(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+".")}a(W_,"getWindowFromNode");function xn(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}a(t,"getTypeName")}a(xn,"checkContainerType");var RY=a(()=>{if(typeof process>"u")return!1;let e;try{var t;let r=(t=hm)==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},"shouldHighlight"),{DOMCollection:NY}=M_.plugins,IY=1,kY=8;function Jk(e){return e.nodeType!==kY&&(e.nodeType!==IY||!e.matches(Le().defaultIgnore))}a(Jk,"filterCommentsAndDefaultIgnoreTagsTags");function Bs(e,t,r){if(r===void 0&&(r={}),e||(e=mf().body),typeof t!="number"&&(t=typeof process<"u"&&typeof hm<"u"&&hm.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:i=Jk,...o}=r,s=M_.format(e,{plugins:[Fk(i),NY],printFunctionName:!1,highlight:RY(),...o});return t!==void 0&&e.outerHTML.length>t?s.slice(0,t)+"...":s}a(Bs,"prettyDOM");var Oy=a(function(){let e=Vk();console.log(e?Bs(...arguments)+`
|
|
312
|
-
|
|
313
|
-
`+e:Bs(...arguments))},"logDOM"),ho={testIdAttribute:"data-testid",asyncUtilTimeout:1e3,asyncWrapper:a(e=>e(),"asyncWrapper"),unstable_advanceTimersWrapper:a(e=>e(),"unstable_advanceTimersWrapper"),eventWrapper:a(e=>e(),"eventWrapper"),defaultHidden:!1,defaultIgnore:"script, style",showOriginalStackTrace:!1,throwSuggestions:!1,getElementError(e,t){let r=Bs(t),n=new Error([e,"Ignored nodes: comments, "+ho.defaultIgnore+`
|
|
314
|
-
`+r].filter(Boolean).join(`
|
|
315
|
-
|
|
316
|
-
`));return n.name="TestingLibraryElementError",n},_disableExpensiveErrorDiagnostics:!1,computedStyleSupportsPseudoElements:!1};function Wk(e){try{return ho._disableExpensiveErrorDiagnostics=!0,e()}finally{ho._disableExpensiveErrorDiagnostics=!1}}a(Wk,"runWithExpensiveErrorDiagnosticsDisabled");function zk(e){typeof e=="function"&&(e=e(ho)),ho={...ho,...e}}a(zk,"configure");function Le(){return ho}a(Le,"getConfig");var MY=["button","meter","output","progress","select","textarea","input"];function z_(e){return MY.includes(e.nodeName.toLowerCase())?"":e.nodeType===Hk?e.textContent:Array.from(e.childNodes).map(t=>z_(t)).join("")}a(z_,"getTextContent");function dp(e){let t;return e.tagName.toLowerCase()==="label"?t=z_(e):t=e.value||e.textContent,t}a(dp,"getLabelContent");function K_(e){if(e.labels!==void 0){var t;return(t=e.labels)!=null?t:[]}if(!Kk(e))return[];let r=e.ownerDocument.querySelectorAll("label");return Array.from(r).filter(n=>n.control===e)}a(K_,"getRealLabels");function Kk(e){return/BUTTON|METER|OUTPUT|PROGRESS|SELECT|TEXTAREA/.test(e.tagName)||e.tagName==="INPUT"&&e.getAttribute("type")!=="hidden"}a(Kk,"isLabelable");function G_(e,t,r){let{selector:n="*"}=r===void 0?{}:r,i=t.getAttribute("aria-labelledby"),o=i?i.split(" "):[];return o.length?o.map(s=>{let l=e.querySelector('[id="'+s+'"]');return l?{content:dp(l),formControl:null}:{content:"",formControl:null}}):Array.from(K_(t)).map(s=>{let l=dp(s),u=Array.from(s.querySelectorAll("button, input, meter, output, progress, select, textarea")).filter(c=>c.matches(n))[0];return{content:l,formControl:u}})}a(G_,"getLabels");function Y_(e){if(e==null)throw new Error("It looks like "+e+" was passed instead of a matcher. Did you do something like getByText("+e+")?")}a(Y_,"assertNotNullOrUndefined");function Vo(e,t,r,n){if(typeof e!="string")return!1;Y_(r);let i=n(e);return typeof r=="string"||typeof r=="number"?i.toLowerCase().includes(r.toString().toLowerCase()):typeof r=="function"?r(i,t):X_(r,i)}a(Vo,"fuzzyMatches");function gn(e,t,r,n){if(typeof e!="string")return!1;Y_(r);let i=n(e);return r instanceof Function?r(i,t):r instanceof RegExp?X_(r,i):i===String(r)}a(gn,"matches");function yf(e){let{trim:t=!0,collapseWhitespace:r=!0}=e===void 0?{}:e;return n=>{let i=n;return i=t?i.trim():i,i=r?i.replace(/\s+/g," "):i,i}}a(yf,"getDefaultNormalizer");function Vi(e){let{trim:t,collapseWhitespace:r,normalizer:n}=e;if(!n)return yf({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}a(Vi,"makeNormalizer");function X_(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}a(X_,"matchRegExp");function fa(e){return e.matches("input[type=submit], input[type=button], input[type=reset]")?e.value:Array.from(e.childNodes).filter(t=>t.nodeType===Hk&&!!t.textContent).map(t=>t.textContent).join("")}a(fa,"getNodeText");var qY=Gk(Mr.elementRoles);function Q_(e){return e.hidden===!0||e.getAttribute("aria-hidden")==="true"||e.ownerDocument.defaultView.getComputedStyle(e).display==="none"}a(Q_,"isSubtreeInaccessible");function bu(e,t){t===void 0&&(t={});let{isSubtreeInaccessible:r=Q_}=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}a(bu,"isInaccessible");function gf(e){for(let{match:t,roles:r}of qY)if(t(e))return[...r];return[]}a(gf,"getImplicitAriaRoles");function Gk(e){function t(s){let{name:l,attributes:u}=s;return""+l+u.map(c=>{let{name:p,value:d,constraints:f=[]}=c,h=f.indexOf("undefined")!==-1,y=f.indexOf("set")!==-1;return typeof d<"u"?"["+p+'="'+d+'"]':h?":not(["+p+"])":y?"["+p+"]:not(["+p+'=""])':"["+p+"]"}).join("")}a(t,"makeElementSelector");function r(s){let{attributes:l=[]}=s;return l.length}a(r,"getSelectorSpecificity");function n(s,l){let{specificity:u}=s,{specificity:c}=l;return c-u}a(n,"bySelectorSpecificity");function i(s){let{attributes:l=[]}=s,u=l.findIndex(p=>p.value&&p.name==="type"&&p.value==="text");u>=0&&(l=[...l.slice(0,u),...l.slice(u+1)]);let c=t({...s,attributes:l});return p=>u>=0&&p.type!=="text"?!1:p.matches(c)}a(i,"match");let o=[];for(let[s,l]of e.entries())o=[...o,{match:i(s),roles:Array.from(l),specificity:r(s)}];return o.sort(n)}a(Gk,"buildElementRoleList");function Z_(e,t){let{hidden:r=!1}=t===void 0?{}:t;function n(i){return[i,...Array.from(i.children).reduce((o,s)=>[...o,...n(s)],[])]}return a(n,"flattenDOM"),n(e).filter(i=>r===!1?bu(i)===!1:!0).reduce((i,o)=>{let s=[];return o.hasAttribute("role")?s=o.getAttribute("role").split(" ").slice(0,1):s=gf(o),s.reduce((l,u)=>Array.isArray(l[u])?{...l,[u]:[...l[u],o]}:{...l,[u]:[o]},i)},{})}a(Z_,"getRoles");function e0(e,t){let{hidden:r,includeDescription:n}=t,i=Z_(e,{hidden:r});return Object.entries(i).filter(o=>{let[s]=o;return s!=="generic"}).map(o=>{let[s,l]=o,u="-".repeat(50),c=l.map(p=>{let d='Name "'+hf(p,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
|
|
317
|
-
`,f=Bs(p.cloneNode(!1));if(n){let h='Description "'+U_(p,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})+`":
|
|
318
|
-
`;return""+d+h+f}return""+d+f}).join(`
|
|
319
|
-
|
|
320
|
-
`);return s+`:
|
|
321
|
-
|
|
322
|
-
`+c+`
|
|
323
|
-
|
|
324
|
-
`+u}).join(`
|
|
325
|
-
`)}a(e0,"prettyRoles");var jY=a(function(e,t){let{hidden:r=!1}=t===void 0?{}:t;return console.log(e0(e,{hidden:r}))},"logRoles");function Yk(e){return e.tagName==="OPTION"?e.selected:ha(e,"aria-selected")}a(Yk,"computeAriaSelected");function Xk(e){return e.getAttribute("aria-busy")==="true"}a(Xk,"computeAriaBusy");function Qk(e){if(!("indeterminate"in e&&e.indeterminate))return"checked"in e?e.checked:ha(e,"aria-checked")}a(Qk,"computeAriaChecked");function Zk(e){return ha(e,"aria-pressed")}a(Zk,"computeAriaPressed");function eM(e){var t,r;return(t=(r=ha(e,"aria-current"))!=null?r:e.getAttribute("aria-current"))!=null?t:!1}a(eM,"computeAriaCurrent");function tM(e){return ha(e,"aria-expanded")}a(tM,"computeAriaExpanded");function ha(e,t){let r=e.getAttribute(t);if(r==="true")return!0;if(r==="false")return!1}a(ha,"checkBooleanAttribute");function rM(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]}a(rM,"computeHeadingLevel");function nM(e){let t=e.getAttribute("aria-valuenow");return t===null?void 0:+t}a(nM,"computeAriaValueNow");function iM(e){let t=e.getAttribute("aria-valuemax");return t===null?void 0:+t}a(iM,"computeAriaValueMax");function oM(e){let t=e.getAttribute("aria-valuemin");return t===null?void 0:+t}a(oM,"computeAriaValueMin");function sM(e){let t=e.getAttribute("aria-valuetext");return t===null?void 0:t}a(sM,"computeAriaValueText");var Lx=yf();function aM(e){return e.replace(/[.*+\-?^${}()|[\]\\]/g,"\\$&")}a(aM,"escapeRegExp");function Py(e){return new RegExp(aM(e.toLowerCase()),"i")}a(Py,"getRegExpMatcher");function In(e,t,r,n){let{variant:i,name:o}=n,s="",l={},u=[["Role","TestId"].includes(e)?r:Py(r)];o&&(l.name=Py(o)),e==="Role"&&bu(t)&&(l.hidden=!0,s=`Element is inaccessible. This means that the element and all its children are invisible to screen readers.
|
|
326
|
-
If you are using the aria-hidden prop, make sure this is the right choice for your case.
|
|
327
|
-
`),Object.keys(l).length>0&&u.push(l);let c=i+"By"+e;return{queryName:e,queryMethod:c,queryArgs:u,variant:i,warning:s,toString(){s&&console.warn(s);let[p,d]=u;return p=typeof p=="string"?"'"+p+"'":p,d=d?", { "+Object.entries(d).map(f=>{let[h,y]=f;return h+": "+y}).join(", ")+" }":"",c+"("+p+d+")"}}}a(In,"makeSuggestion");function kn(e,t,r){return r&&(!t||t.toLowerCase()===e.toLowerCase())}a(kn,"canSuggest");function Rl(e,t,r){var n,i;if(t===void 0&&(t="get"),e.matches(Le().defaultIgnore))return;let o=(n=e.getAttribute("role"))!=null?n:(i=gf(e))==null?void 0:i[0];if(o!=="generic"&&kn("Role",r,o))return In("Role",e,o,{variant:t,name:hf(e,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements})});let s=G_(document,e).map(f=>f.content).join(" ");if(kn("LabelText",r,s))return In("LabelText",e,s,{variant:t});let l=e.getAttribute("placeholder");if(kn("PlaceholderText",r,l))return In("PlaceholderText",e,l,{variant:t});let u=Lx(fa(e));if(kn("Text",r,u))return In("Text",e,u,{variant:t});if(kn("DisplayValue",r,e.value))return In("DisplayValue",e,Lx(e.value),{variant:t});let c=e.getAttribute("alt");if(kn("AltText",r,c))return In("AltText",e,c,{variant:t});let p=e.getAttribute("title");if(kn("Title",r,p))return In("Title",e,p,{variant:t});let d=e.getAttribute(Le().testIdAttribute);if(kn("TestId",r,d))return In("TestId",e,d,{variant:t})}a(Rl,"getSuggestedQuery");function ja(e,t){e.stack=t.stack.replace(t.message,e.message)}a(ja,"copyStackTrace");function lM(e,t){let{container:r=mf(),timeout:n=Le().asyncUtilTimeout,showOriginalStackTrace:i=Le().showOriginalStackTrace,stackTraceError:o,interval:s=50,onTimeout:l=a(c=>(Object.defineProperty(c,"message",{value:Le().getElementError(c.message,r).message}),c),"onTimeout"),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,p)=>{let d,f,h,y=!1,b="idle",g=setTimeout(P,n),m=gc();if(m){let{unstable_advanceTimersWrapper:x}=Le();for(O();!y;){if(!gc()){let E=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");i||ja(E,o),p(E);return}if(await x(async()=>{jest.advanceTimersByTime(s)}),y)break;O()}}else{try{xn(r)}catch(E){p(E);return}f=setInterval(S,s);let{MutationObserver:x}=W_(r);h=new x(S),h.observe(r,u),O()}function v(x,E){y=!0,clearTimeout(g),m||(clearInterval(f),h.disconnect()),x?p(x):c(E)}a(v,"onDone");function S(){if(gc()){let x=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 i||ja(x,o),p(x)}else return O()}a(S,"checkRealTimersCallback");function O(){if(b!=="pending")try{let x=Wk(e);typeof x?.then=="function"?(b="pending",x.then(E=>{b="resolved",v(null,E)},E=>{b="rejected",d=E})):v(null,x)}catch(x){d=x}}a(O,"checkCallback");function P(){let x;d?(x=d,!i&&x.name==="TestingLibraryElementError"&&ja(x,o)):(x=new Error("Timed out in waitFor."),i||ja(x,o)),v(l(x),null)}a(P,"handleTimeout")})}a(lM,"waitFor");function bf(e,t){let r=new Error("STACK_TRACE_MESSAGE");return Le().asyncWrapper(()=>lM(e,{stackTraceError:r,...t}))}a(bf,"waitForWrapper");function vu(e,t){return Le().getElementError(e,t)}a(vu,"getElementError");function _u(e,t){return vu(e+"\n\n(If this is intentional, then use the `*AllBy*` variant of the query (like `queryAllByText`, `getAllByText`, or `findAllByText`)).",t)}a(_u,"getMultipleElementsFoundError");function Hi(e,t,r,n){let{exact:i=!0,collapseWhitespace:o,trim:s,normalizer:l}=n===void 0?{}:n,u=i?gn:Vo,c=Vi({collapseWhitespace:o,trim:s,normalizer:l});return Array.from(t.querySelectorAll("["+e+"]")).filter(p=>u(p.getAttribute(e),p,r,c))}a(Hi,"queryAllByAttribute");function t0(e,t,r,n){let i=Hi(e,t,r,n);if(i.length>1)throw _u("Found multiple elements by ["+e+"="+r+"]",t);return i[0]||null}a(t0,"queryByAttribute");function So(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];let s=e(r,...i);if(s.length>1){let l=s.map(u=>vu(null,u).message).join(`
|
|
328
|
-
|
|
329
|
-
`);throw _u(t(r,...i)+`
|
|
330
|
-
|
|
331
|
-
Here are the matching elements:
|
|
332
|
-
|
|
333
|
-
`+l,r)}return s[0]||null}}a(So,"makeSingleQuery");function r0(e,t){return Le().getElementError(`A better query is available, try this:
|
|
334
|
-
`+e.toString()+`
|
|
335
|
-
`,t)}a(r0,"getSuggestionError");function vf(e,t){return function(r){for(var n=arguments.length,i=new Array(n>1?n-1:0),o=1;o<n;o++)i[o-1]=arguments[o];let s=e(r,...i);if(!s.length)throw Le().getElementError(t(r,...i),r);return s}}a(vf,"makeGetAllQuery");function Co(e){return(t,r,n,i)=>bf(()=>e(t,r,n),{container:t,...i})}a(Co,"makeFindQuery");var Oi=a((e,t,r)=>function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];let l=e(n,...o),[{suggest:u=Le().throwSuggestions}={}]=o.slice(-1);if(l&&u){let c=Rl(l,r);if(c&&!t.endsWith(c.queryName))throw r0(c.toString(),n)}return l},"wrapSingleQueryWithSuggestion"),mr=a((e,t,r)=>function(n){for(var i=arguments.length,o=new Array(i>1?i-1:0),s=1;s<i;s++)o[s-1]=arguments[s];let l=e(n,...o),[{suggest:u=Le().throwSuggestions}={}]=o.slice(-1);if(l.length&&u){let c=[...new Set(l.map(p=>{var d;return(d=Rl(p,r))==null?void 0:d.toString()}))];if(c.length===1&&!t.endsWith(Rl(l[0],r).queryName))throw r0(c[0],n)}return l},"wrapAllByQueryWithSuggestion");function Tn(e,t,r){let n=Oi(So(e,t),e.name,"query"),i=vf(e,r),o=So(i,t),s=Oi(o,e.name,"get"),l=mr(i,e.name.replace("query","get"),"getAll"),u=Co(mr(i,e.name,"findAll")),c=Co(Oi(o,e.name,"find"));return[n,l,s,u,c]}a(Tn,"buildQueries");var DY=Object.freeze({__proto__:null,getElementError:vu,wrapAllByQueryWithSuggestion:mr,wrapSingleQueryWithSuggestion:Oi,getMultipleElementsFoundError:_u,queryAllByAttribute:Hi,queryByAttribute:t0,makeSingleQuery:So,makeGetAllQuery:vf,makeFindQuery:Co,buildQueries:Tn});function uM(e){return Array.from(e.querySelectorAll("label,input")).map(t=>({node:t,textToMatch:dp(t)})).filter(t=>{let{textToMatch:r}=t;return r!==null})}a(uM,"queryAllLabels");var LY=a(function(e,t,r){let{exact:n=!0,trim:i,collapseWhitespace:o,normalizer:s}=r===void 0?{}:r,l=n?gn:Vo,u=Vi({collapseWhitespace:o,trim:i,normalizer:s});return uM(e).filter(c=>{let{node:p,textToMatch:d}=c;return l(d,p,t,u)}).map(c=>{let{node:p}=c;return p})},"queryAllLabelsByText"),Nl=a(function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:s,normalizer:l}=r===void 0?{}:r;xn(e);let u=i?gn:Vo,c=Vi({collapseWhitespace:o,trim:s,normalizer:l}),p=Array.from(e.querySelectorAll("*")).filter(d=>K_(d).length||d.hasAttribute("aria-labelledby")).reduce((d,f)=>{let h=G_(e,f,{selector:n});h.filter(b=>!!b.formControl).forEach(b=>{u(b.content,b.formControl,t,c)&&b.formControl&&d.push(b.formControl)});let y=h.filter(b=>!!b.content).map(b=>b.content);return u(y.join(" "),f,t,c)&&d.push(f),y.length>1&&y.forEach((b,g)=>{u(b,f,t,c)&&d.push(f);let m=[...y];m.splice(g,1),m.length>1&&u(m.join(" "),f,t,c)&&d.push(f)}),d},[]).concat(Hi("aria-label",e,t,{exact:i,normalizer:c}));return Array.from(new Set(p)).filter(d=>d.matches(n))},"queryAllByLabelText"),Oo=a(function(e,t){for(var r=arguments.length,n=new Array(r>2?r-2:0),i=2;i<r;i++)n[i-2]=arguments[i];let o=Nl(e,t,...n);if(!o.length){let s=LY(e,t,...n);if(s.length){let l=s.map(u=>cM(e,u)).filter(u=>!!u);throw l.length?Le().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(`
|
|
336
|
-
|
|
337
|
-
`),e):Le().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 Le().getElementError("Unable to find a label with the text of: "+t,e)}return o},"getAllByLabelText");function cM(e,t){let r=t.getAttribute("for");if(!r)return null;let n=e.querySelector('[id="'+r+'"]');return n?n.tagName.toLowerCase():null}a(cM,"getTagNameOfElementAssociatedWithLabelViaFor");var pM=a((e,t)=>"Found multiple elements with the text of: "+t,"getMultipleError$7"),dM=Oi(So(Nl,pM),Nl.name,"query"),fM=So(Oo,pM),hM=Co(mr(Oo,Oo.name,"findAll")),mM=Co(Oi(fM,Oo.name,"find")),yM=mr(Oo,Oo.name,"getAll"),gM=Oi(fM,Oo.name,"get"),bM=mr(Nl,Nl.name,"queryAll"),Ay=a(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xn(t[0]),Hi("placeholder",...t)},"queryAllByPlaceholderText"),$Y=a((e,t)=>"Found multiple elements with the placeholder text of: "+t,"getMultipleError$6"),FY=a((e,t)=>"Unable to find an element with the placeholder text of: "+t,"getMissingError$6"),vM=mr(Ay,Ay.name,"queryAll"),[_M,EM,wM,xM,TM]=Tn(Ay,$Y,FY),Ry=a(function(e,t,r){let{selector:n="*",exact:i=!0,collapseWhitespace:o,trim:s,ignore:l=Le().defaultIgnore,normalizer:u}=r===void 0?{}:r;xn(e);let c=i?gn:Vo,p=Vi({collapseWhitespace:o,trim:s,normalizer:u}),d=[];return typeof e.matches=="function"&&e.matches(n)&&(d=[e]),[...d,...Array.from(e.querySelectorAll(n))].filter(f=>!l||!f.matches(l)).filter(f=>c(fa(f),f,t,p))},"queryAllByText"),BY=a((e,t)=>"Found multiple elements with the text: "+t,"getMultipleError$5"),UY=a(function(e,t,r){r===void 0&&(r={});let{collapseWhitespace:n,trim:i,normalizer:o,selector:s}=r,l=Vi({collapseWhitespace:n,trim:i,normalizer:o})(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."},"getMissingError$5"),SM=mr(Ry,Ry.name,"queryAll"),[CM,OM,PM,AM,RM]=Tn(Ry,BY,UY),Ny=a(function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:s}=r===void 0?{}:r;xn(e);let l=n?gn:Vo,u=Vi({collapseWhitespace:i,trim:o,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(fa(p),p,t,u)):l(c.value,c,t,u))},"queryAllByDisplayValue"),VY=a((e,t)=>"Found multiple elements with the display value: "+t+".","getMultipleError$4"),HY=a((e,t)=>"Unable to find an element with the display value: "+t+".","getMissingError$4"),NM=mr(Ny,Ny.name,"queryAll"),[IM,kM,MM,qM,jM]=Tn(Ny,VY,HY),JY=/^(img|input|area|.+-.+)$/i,Iy=a(function(e,t,r){return r===void 0&&(r={}),xn(e),Hi("alt",e,t,r).filter(n=>JY.test(n.tagName))},"queryAllByAltText"),WY=a((e,t)=>"Found multiple elements with the alt text: "+t,"getMultipleError$3"),zY=a((e,t)=>"Unable to find an element with the alt text: "+t,"getMissingError$3"),DM=mr(Iy,Iy.name,"queryAll"),[LM,$M,FM,BM,UM]=Tn(Iy,WY,zY),KY=a(e=>{var t;return e.tagName.toLowerCase()==="title"&&((t=e.parentElement)==null?void 0:t.tagName.toLowerCase())==="svg"},"isSvgTitle"),ky=a(function(e,t,r){let{exact:n=!0,collapseWhitespace:i,trim:o,normalizer:s}=r===void 0?{}:r;xn(e);let l=n?gn:Vo,u=Vi({collapseWhitespace:i,trim:o,normalizer:s});return Array.from(e.querySelectorAll("[title], svg > title")).filter(c=>l(c.getAttribute("title"),c,t,u)||KY(c)&&l(fa(c),c,t,u))},"queryAllByTitle"),GY=a((e,t)=>"Found multiple elements with the title: "+t+".","getMultipleError$2"),YY=a((e,t)=>"Unable to find an element with the title: "+t+".","getMissingError$2"),VM=mr(ky,ky.name,"queryAll"),[HM,JM,WM,zM,KM]=Tn(ky,GY,YY),My=a(function(e,t,r){let{hidden:n=Le().defaultHidden,name:i,description:o,queryFallbacks:s=!1,selected:l,busy:u,checked:c,pressed:p,current:d,level:f,expanded:h,value:{now:y,min:b,max:g,text:m}={}}=r===void 0?{}:r;if(xn(e),l!==void 0){var v;if(((v=Mr.roles.get(t))==null?void 0:v.props["aria-selected"])===void 0)throw new Error('"aria-selected" is not supported on role "'+t+'".')}if(u!==void 0){var S;if(((S=Mr.roles.get(t))==null?void 0:S.props["aria-busy"])===void 0)throw new Error('"aria-busy" is not supported on role "'+t+'".')}if(c!==void 0){var O;if(((O=Mr.roles.get(t))==null?void 0:O.props["aria-checked"])===void 0)throw new Error('"aria-checked" is not supported on role "'+t+'".')}if(p!==void 0){var P;if(((P=Mr.roles.get(t))==null?void 0:P.props["aria-pressed"])===void 0)throw new Error('"aria-pressed" is not supported on role "'+t+'".')}if(d!==void 0){var x;if(((x=Mr.roles.get(t))==null?void 0:x.props["aria-current"])===void 0)throw new Error('"aria-current" is not supported on role "'+t+'".')}if(f!==void 0&&t!=="heading")throw new Error('Role "'+t+'" cannot have "level" property.');if(y!==void 0){var E;if(((E=Mr.roles.get(t))==null?void 0:E.props["aria-valuenow"])===void 0)throw new Error('"aria-valuenow" is not supported on role "'+t+'".')}if(g!==void 0){var _;if(((_=Mr.roles.get(t))==null?void 0:_.props["aria-valuemax"])===void 0)throw new Error('"aria-valuemax" is not supported on role "'+t+'".')}if(b!==void 0){var C;if(((C=Mr.roles.get(t))==null?void 0:C.props["aria-valuemin"])===void 0)throw new Error('"aria-valuemin" is not supported on role "'+t+'".')}if(m!==void 0){var w;if(((w=Mr.roles.get(t))==null?void 0:w.props["aria-valuetext"])===void 0)throw new Error('"aria-valuetext" is not supported on role "'+t+'".')}if(h!==void 0){var A;if(((A=Mr.roles.get(t))==null?void 0:A.props["aria-expanded"])===void 0)throw new Error('"aria-expanded" is not supported on role "'+t+'".')}let I=new WeakMap;function j(R){return I.has(R)||I.set(R,Q_(R)),I.get(R)}return a(j,"cachedIsSubtreeInaccessible"),Array.from(e.querySelectorAll(GM(t))).filter(R=>{if(R.hasAttribute("role")){let q=R.getAttribute("role");if(s)return q.split(" ").filter(Boolean).some(K=>K===t);let[M]=q.split(" ");return M===t}return gf(R).some(q=>q===t)}).filter(R=>{if(l!==void 0)return l===Yk(R);if(u!==void 0)return u===Xk(R);if(c!==void 0)return c===Qk(R);if(p!==void 0)return p===Zk(R);if(d!==void 0)return d===eM(R);if(h!==void 0)return h===tM(R);if(f!==void 0)return f===rM(R);if(y!==void 0||g!==void 0||b!==void 0||m!==void 0){let M=!0;if(y!==void 0&&M&&(M=y===nM(R)),g!==void 0&&M&&(M=g===iM(R)),b!==void 0&&M&&(M=b===oM(R)),m!==void 0){var q;M&&(M=gn((q=sM(R))!=null?q:null,R,m,K=>K))}return M}return!0}).filter(R=>i===void 0?!0:gn(hf(R,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),R,i,q=>q)).filter(R=>o===void 0?!0:gn(U_(R,{computedStyleSupportsPseudoElements:Le().computedStyleSupportsPseudoElements}),R,o,q=>q)).filter(R=>n===!1?bu(R,{isSubtreeInaccessible:j})===!1:!0)},"queryAllByRole");function GM(e){var t;let r='*[role~="'+e+'"]',n=(t=Mr.roleElements.get(e))!=null?t:new Set,i=new Set(Array.from(n).map(o=>{let{name:s}=o;return s}));return[r].concat(Array.from(i)).join(",")}a(GM,"makeRoleSelector");var YM=a(e=>{let t="";return e===void 0?t="":typeof e=="string"?t=' and name "'+e+'"':t=" and name `"+e+"`",t},"getNameHint"),XY=a(function(e,t,r){let{name:n}=r===void 0?{}:r;return'Found multiple elements with the role "'+t+'"'+YM(n)},"getMultipleError$1"),QY=a(function(e,t,r){let{hidden:n=Le().defaultHidden,name:i,description:o}=r===void 0?{}:r;if(Le()._disableExpensiveErrorDiagnostics)return'Unable to find role="'+t+'"'+YM(i);let s="";Array.from(e.children).forEach(p=>{s+=e0(p,{hidden:n,includeDescription:o!==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=(`
|
|
338
|
-
Here are the `+(n===!1?"accessible":"available")+` roles:
|
|
339
|
-
|
|
340
|
-
`+s.replace(/\n/g,`
|
|
341
|
-
`).replace(/\n\s\s\n/g,`
|
|
342
|
-
|
|
343
|
-
`)+`
|
|
344
|
-
`).trim();let u="";i===void 0?u="":typeof i=="string"?u=' and name "'+i+'"':u=" and name `"+i+"`";let c="";return o===void 0?c="":typeof o=="string"?c=' and description "'+o+'"':c=" and description `"+o+"`",(`
|
|
345
|
-
Unable to find an `+(n===!1?"accessible ":"")+'element with the role "'+t+'"'+u+c+`
|
|
346
|
-
|
|
347
|
-
`+l).trim()},"getMissingError$1"),XM=mr(My,My.name,"queryAll"),[QM,ZM,eq,tq,rq]=Tn(My,XY,QY),n0=a(()=>Le().testIdAttribute,"getTestIdAttribute"),qy=a(function(){for(var e=arguments.length,t=new Array(e),r=0;r<e;r++)t[r]=arguments[r];return xn(t[0]),Hi(n0(),...t)},"queryAllByTestId"),ZY=a((e,t)=>"Found multiple elements by: ["+n0()+'="'+t+'"]',"getMultipleError"),eX=a((e,t)=>"Unable to find an element by: ["+n0()+'="'+t+'"]',"getMissingError"),nq=mr(qy,qy.name,"queryAll"),[iq,oq,sq,aq,lq]=Tn(qy,ZY,eX),fp=Object.freeze({__proto__:null,queryAllByLabelText:bM,queryByLabelText:dM,getAllByLabelText:yM,getByLabelText:gM,findAllByLabelText:hM,findByLabelText:mM,queryByPlaceholderText:_M,queryAllByPlaceholderText:vM,getByPlaceholderText:wM,getAllByPlaceholderText:EM,findAllByPlaceholderText:xM,findByPlaceholderText:TM,queryByText:CM,queryAllByText:SM,getByText:PM,getAllByText:OM,findAllByText:AM,findByText:RM,queryByDisplayValue:IM,queryAllByDisplayValue:NM,getByDisplayValue:MM,getAllByDisplayValue:kM,findAllByDisplayValue:qM,findByDisplayValue:jM,queryByAltText:LM,queryAllByAltText:DM,getByAltText:FM,getAllByAltText:$M,findAllByAltText:BM,findByAltText:UM,queryByTitle:HM,queryAllByTitle:VM,getByTitle:WM,getAllByTitle:JM,findAllByTitle:zM,findByTitle:KM,queryByRole:QM,queryAllByRole:XM,getAllByRole:ZM,getByRole:eq,findAllByRole:tq,findByRole:rq,queryByTestId:iq,queryAllByTestId:nq,getByTestId:sq,getAllByTestId:oq,findAllByTestId:aq,findByTestId:lq});function hp(e,t,r){return t===void 0&&(t=fp),r===void 0&&(r={}),Object.keys(t).reduce((n,i)=>{let o=t[i];return n[i]=o.bind(null,e),n},r)}a(hp,"getQueriesForElement");var uq=a(e=>!e||Array.isArray(e)&&!e.length,"isRemoved");function jy(e){if(uq(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.")}a(jy,"initialCheck");async function cq(e,t){let r=new Error("Timed out in waitForElementToBeRemoved.");if(typeof e!="function"){jy(e);let n=(Array.isArray(e)?e:[e]).map(i=>{let o=i.parentElement;if(o===null)return()=>null;for(;o.parentElement;)o=o.parentElement;return()=>o.contains(i)?i:null});e=a(()=>n.map(i=>i()).filter(Boolean),"callback")}return jy(e()),bf(()=>{let n;try{n=e()}catch(i){if(i.name==="TestingLibraryElementError")return;throw i}if(!uq(n))throw r},t)}a(cq,"waitForElementToBeRemoved");var $x={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}}},Fx={doubleClick:"dblClick"};function Us(e,t){return Le().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)})}a(Us,"fireEvent");function el(e,t,r,n){let{EventType:i="Event",defaultInit:o={}}=n===void 0?{}:n;if(!t)throw new Error('Unable to fire a "'+e+'" event - please provide a DOM element.');let s={...o,...r},{target:{value:l,files:u,...c}={}}=s;l!==void 0&&pq(t,l),u!==void 0&&Object.defineProperty(t,"files",{configurable:!0,enumerable:!0,writable:!0,value:u}),Object.assign(t,c);let p=W_(t),d=p[i]||p.Event,f;if(typeof d=="function")f=new d(e,s);else{f=p.document.createEvent(i);let{bubbles:h,cancelable:y,detail:b,...g}=s;f.initEvent(e,h,y,b),Object.keys(g).forEach(m=>{f[m]=g[m]})}return["dataTransfer","clipboardData"].forEach(h=>{let y=s[h];typeof y=="object"&&(typeof p.DataTransfer=="function"?Object.defineProperty(f,h,{value:Object.getOwnPropertyNames(y).reduce((b,g)=>(Object.defineProperty(b,g,{value:y[g]}),b),new p.DataTransfer)}):Object.defineProperty(f,h,{value:y}))}),f}a(el,"createEvent");Object.keys($x).forEach(e=>{let{EventType:t,defaultInit:r}=$x[e],n=e.toLowerCase();el[e]=(i,o)=>el(n,i,o,{EventType:t,defaultInit:r}),Us[e]=(i,o)=>Us(i,el[e](i,o))});function pq(e,t){let{set:r}=Object.getOwnPropertyDescriptor(e,"value")||{},n=Object.getPrototypeOf(e),{set:i}=Object.getOwnPropertyDescriptor(n,"value")||{};if(i&&r!==i)i.call(e,t);else if(r)r.call(e,t);else throw new Error("The given element does not have a value setter")}a(pq,"setNativeValue");Object.keys(Fx).forEach(e=>{let t=Fx[e];Us[e]=function(){return Us[t](...arguments)}});function dq(e){return e.replace(/[ \t]*[\n][ \t]*/g,`
|
|
348
|
-
`)}a(dq,"unindent");function fq(e){return _Y.default.compressToEncodedURIComponent(dq(e))}a(fq,"encode");function hq(e){return"https://testing-playground.com/#markup="+fq(e)}a(hq,"getPlaygroundUrl");var tX=a((e,t,r)=>Array.isArray(e)?e.forEach(n=>Oy(n,t,r)):Oy(e,t,r),"debug"),rX=a(function(e){if(e===void 0&&(e=mf().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=hq(e.innerHTML);return console.log(`Open this URL in your browser
|
|
349
|
-
|
|
350
|
-
`+t),t},"logTestingPlaygroundURL"),Bx={debug:tX,logTestingPlaygroundURL:rX},nX=typeof document<"u"&&document.body?hp(document.body,fp,Bx):Object.keys(fp).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),Bx);function Ne(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,i])=>e[n]===i):!0}a(Ne,"isElementType");function Pr(e){var t;if(mq(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 ${yq(e)}`)}a(Pr,"getWindow");function mq(e){return e.nodeType===9}a(mq,"isDocument");function yq(e){return typeof e=="function"?`function ${e.name}`:e===null?"null":String(e)}a(yq,"describe");function i0(e,t){return new Promise((r,n)=>{let i=new t;i.onerror=n,i.onabort=n,i.onload=()=>{r(String(i.result))},i.readAsText(e)})}a(i0,"readBlobText");function _f(e,t){let r={...t,length:t.length,item:a(n=>r[n],"item"),[Symbol.iterator]:a(function*(){for(let n=0;n<r.length;n++)yield r[n]},"nextFile")};return r.constructor=e.FileList,e.FileList&&Object.setPrototypeOf(r,e.FileList.prototype),Object.freeze(r),r}a(_f,"createFileList");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}a(Vn,"_define_property");var gq=class{getAsFile(){return this.file}getAsString(t){typeof this.data=="string"&&t(this.data)}webkitGetAsEntry(){throw new Error("not implemented")}constructor(t,r){Vn(this,"kind",void 0),Vn(this,"type",void 0),Vn(this,"file",null),Vn(this,"data",void 0),typeof t=="string"?(this.kind="string",this.type=String(r),this.data=t):(this.kind="file",this.type=t.type,this.file=t)}};a(gq,"DataTransferItemStub");var bq=gq,vq=class extends Array{add(...t){let r=new bq(t[0],t[1]);return this.push(r),r}clear(){this.splice(0,this.length)}remove(t){this.splice(t,1)}};a(vq,"DataTransferItemListStub");var iX=vq;function Da(e,t){let[r,n]=e.split("/"),i=!n||n==="*";return o=>t?o.type===(i?r:e):i?o.type.startsWith(`${r}/`):o.type===r}a(Da,"getTypeMatcher");function _q(e){var t;return new(t=class{getData(r){var n;let i=(n=this.items.find(Da(r,!0)))!==null&&n!==void 0?n:this.items.find(Da(r,!1)),o="";return i?.getAsString(s=>{o=s}),o}setData(r,n){let i=this.items.findIndex(Da(r,!0)),o=new bq(n,r);i>=0?this.items.splice(i,1,o):this.items.push(o)}clearData(r){if(r){let n=this.items.findIndex(Da(r,!0));n>=0&&this.items.remove(n)}else this.items.clear()}get types(){let r=[];return this.files.length&&r.push("Files"),this.items.forEach(n=>r.push(n.type)),Object.freeze(r),r}setDragImage(){}constructor(){Vn(this,"dropEffect","none"),Vn(this,"effectAllowed","uninitialized"),Vn(this,"items",new iX),Vn(this,"files",_f(e,[]))}},a(t,"DataTransferStub"),t)}a(_q,"createDataTransferStub");function Ef(e,t=[]){let r=typeof e.DataTransfer>"u"?_q(e):new e.DataTransfer;return Object.defineProperty(r,"files",{get:a(()=>_f(e,t),"get")}),r}a(Ef,"createDataTransfer");async function Eq(e,t){return t.kind==="file"?t.getAsFile():new e.Blob([await new Promise(r=>t.getAsString(r))],{type:t.type})}a(Eq,"getBlobFromDataTransferItem");function o0(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(o0,"_define_property");function s0(e,...t){var r;let n=Object.fromEntries(t.map(i=>[typeof i=="string"?"text/plain":i.type,Promise.resolve(i)]));return typeof e.ClipboardItem<"u"?new e.ClipboardItem(n):new(r=class{get types(){return Array.from(Object.keys(this.data))}async getType(i){let o=await this.data[i];if(!o)throw new Error(`${i} is not one of the available MIME types on this item.`);return o instanceof e.Blob?o:new e.Blob([o],{type:i})}constructor(i){o0(this,"data",void 0),this.data=i}},a(r,"ClipboardItem"),r)(n)}a(s0,"createClipboardItem");var Vs=Symbol("Manage ClipboardSub");function Dy(e,t){var r;return Object.assign(new(r=class extends e.EventTarget{async read(){return Array.from(this.items)}async readText(){let n="";for(let i of this.items){let o=i.types.includes("text/plain")?"text/plain":i.types.find(s=>s.startsWith("text/"));o&&(n+=await i.getType(o).then(s=>i0(s,e.FileReader)))}return n}async write(n){this.items=n}async writeText(n){this.items=[s0(e,n)]}constructor(...n){super(...n),o0(this,"items",[])}},a(r,"Clipboard"),r),{[Vs]:t})}a(Dy,"createClipboardStub");function wf(e){return!!e?.[Vs]}a(wf,"isClipboardStub");function wq(e){if(wf(e.navigator.clipboard))return e.navigator.clipboard[Vs];let t=Object.getOwnPropertyDescriptor(e.navigator,"clipboard"),r,n={resetClipboardStub:a(()=>{r=Dy(e,n)},"resetClipboardStub"),detachClipboardStub:a(()=>{t?Object.defineProperty(e.navigator,"clipboard",t):Object.defineProperty(e.navigator,"clipboard",{value:void 0,configurable:!0})},"detachClipboardStub")};return r=Dy(e,n),Object.defineProperty(e.navigator,"clipboard",{get:a(()=>r,"get"),configurable:!0}),r[Vs]}a(wq,"attachClipboardStubToView");function xq(e){wf(e.navigator.clipboard)&&e.navigator.clipboard[Vs].resetClipboardStub()}a(xq,"resetClipboardStubOnView");function Tq(e){wf(e.navigator.clipboard)&&e.navigator.clipboard[Vs].detachClipboardStub()}a(Tq,"detachClipboardStubFromView");async function Sq(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 i=Ef(t);for(let o of n)for(let s of o.types)i.setData(s,await o.getType(s).then(l=>i0(l,t.FileReader)));return i}a(Sq,"readDataTransferFromClipboard");async function a0(e,t){let r=Pr(e),n=r.navigator.clipboard,i=[];for(let o=0;o<t.items.length;o++){let s=t.items[o],l=await Eq(r,s);i.push(s0(r,l))}if(!(n&&await n.write(i).then(()=>!0,()=>!1)))throw new Error("The Clipboard API is unavailable.")}a(a0,"writeDataTransferToClipboard");var mp=globalThis;typeof mp.afterEach=="function"&&mp.afterEach(()=>{typeof globalThis.window<"u"&&xq(globalThis.window)});typeof mp.afterAll=="function"&&mp.afterAll(()=>{typeof globalThis.window<"u"&&Tq(globalThis.window)});var Cq=["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 xf(e){return e.matches(Cq)}a(xf,"isFocusable");function Oq(e){return new e.constructor(e.type,e)}a(Oq,"cloneEvent");function vn(e){for(let r=e;r;r=r.parentElement)if(Ne(r,["button","input","select","textarea","optgroup","option"])){if(r.hasAttribute("disabled"))return!0}else if(Ne(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}a(vn,"isDisabled");function ma(e){let t=e.activeElement;return t?.shadowRoot?ma(t.shadowRoot):vn(t)?e.ownerDocument?e.ownerDocument.body:e.body:t}a(ma,"getActiveElement");function bc(e){var t;return(t=ma(e))!==null&&t!==void 0?t:e.body}a(bc,"getActiveElementOrBody");function Pq(e,t){let r=e;do{if(t(r))return r;r=r.parentElement}while(r&&r!==e.ownerDocument.body)}a(Pq,"findClosest");function ji(e){return e.hasAttribute("contenteditable")&&(e.getAttribute("contenteditable")=="true"||e.getAttribute("contenteditable")=="")}a(ji,"isContentEditable");function Hs(e){let t=Aq(e);return t&&(t.closest('[contenteditable=""]')||t.closest('[contenteditable="true"]'))}a(Hs,"getContentEditable");function Aq(e){return e.nodeType===1?e:e.parentElement}a(Aq,"getElement");var Rq=function(e){return e.button="button",e.color="color",e.file="file",e.image="image",e.reset="reset",e.submit="submit",e.checkbox="checkbox",e.radio="radio",e}(Rq||{});function l0(e){return Ne(e,"button")||Ne(e,"input")&&e.type in Rq}a(l0,"isClickableInput");function Po(e){return u0(e)&&!e.readOnly||ji(e)}a(Po,"isEditable");var Nq=function(e){return 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",e}(Nq||{});function u0(e){return Ne(e,"textarea")||Ne(e,"input")&&e.type in Nq}a(u0,"isEditableInputOrTextArea");function rn(e){return c0(e)&&u0(e)}a(rn,"hasOwnSelection");function Iq(e){return c0(e)&&l0(e)}a(Iq,"hasNoSelection");function c0(e){return e.nodeType===1}a(c0,"isElement");function kq(e){let t=e.ownerDocument.getSelection();if(t?.focusNode&&rn(e)){let n=Hs(t.focusNode);if(n){if(!t.isCollapsed){var r;let i=((r=n.firstChild)===null||r===void 0?void 0:r.nodeType)===3?n.firstChild:n;t.setBaseAndExtent(i,0,i,0)}}else t.setBaseAndExtent(e,0,e,0)}}a(kq,"updateSelectionOnFocus");function Ao(e,t){return Le().eventWrapper(e)}a(Ao,"wrapEvent");function Yn(e){let t=Pq(e,xf),r=ma(e.ownerDocument);(t??e.ownerDocument.body)!==r&&(Ao(t?()=>t.focus():()=>r?.blur()),kq(t??e.ownerDocument.body))}a(Yn,"focusElement");function Mq(e){!xf(e)||ma(e.ownerDocument)!==e||Ao(()=>e.blur())}a(Mq,"blurElement");var Di={};Di.click=(e,t,r)=>{let n=t.closest("button,input,label,select,textarea"),i=n&&Ne(n,"label")&&n.control;if(i&&i!==t)return()=>{xf(i)&&(Yn(i),r.dispatchEvent(i,Oq(e)))};if(Ne(t,"input",{type:"file"}))return()=>{Mq(t),t.dispatchEvent(new(Pr(t)).Event("fileDialog")),Yn(t)}};var Js=Symbol("Displayed value in UI"),Hn=Symbol("Displayed selection in UI"),yp=Symbol("Initial value to compare on blur");function qq(e){return typeof e=="object"&&Js in e}a(qq,"isUIValue");function jq(e){return!!e&&typeof e=="object"&&Hn in e}a(jq,"isUISelectionStart");function Dq(e,t){e[yp]===void 0&&(e[yp]=e.value),e[Js]=t,e.value=Object.assign(new String(t),{[Js]:!0})}a(Dq,"setUIValue");function nn(e){return e[Js]===void 0?e.value:String(e[Js])}a(nn,"getUIValue");function Tf(e){e[Js]=void 0}a(Tf,"setUIValueClean");function p0(e){e[yp]=void 0}a(p0,"clearInitialValue");function Lq(e){return e[yp]}a(Lq,"getInitialValue");function $q(e,t){e[Hn]=t}a($q,"setUISelectionRaw");function Ho(e,{focusOffset:t,anchorOffset:r=t},n="replace"){let i=nn(e).length,o=a(d=>Math.max(0,Math.min(i,d)),"sanitizeOffset"),s=n==="replace"||e[Hn]===void 0?o(r):e[Hn].anchorOffset,l=o(t),u=Math.min(s,l),c=Math.max(s,l);if(e[Hn]={anchorOffset:s,focusOffset:l},e.selectionStart===u&&e.selectionEnd===c)return;let p=Object.assign(new Number(u),{[Hn]:!0});try{e.setSelectionRange(p,c)}catch{}}a(Ho,"setUISelection");function Ws(e){var t,r,n;let i=(n=e[Hn])!==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{...i,startOffset:Math.min(i.anchorOffset,i.focusOffset),endOffset:Math.max(i.anchorOffset,i.focusOffset)}}a(Ws,"getUISelection");function Fq(e){return!!e[Hn]}a(Fq,"hasUISelection");function tl(e){e[Hn]=void 0}a(tl,"setUISelectionClean");var gp=globalThis.parseInt;function Bq(e){let t=e.replace(/\D/g,"");if(t.length<2)return e;let r=gp(t[0],10),n=gp(t[1],10);if(r>=3||r===2&&n>=4){let i;return r>=3?i=1:i=2,Ly(t,i)}return e.length===2?e:Ly(t,2)}a(Bq,"buildTimeValue");function Ly(e,t){let r=e.slice(0,t),n=Math.min(gp(r,10),23),i=e.slice(t),o=gp(i,10),s=Math.min(o,59);return`${n.toString().padStart(2,"0")}:${s.toString().padStart(2,"0")}`}a(Ly,"build");function d0(e,t){let r=e.cloneNode();return r.value=t,r.value===t}a(d0,"isValidDateOrTimeValue");var Uq=function(e){return e.email="email",e.password="password",e.search="search",e.telephone="telephone",e.text="text",e.url="url",e}(Uq||{});function Vq(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}a(Vq,"getMaxLength");function Hq(e){return Ne(e,"textarea")||Ne(e,"input")&&e.type in Uq}a(Hq,"supportsMaxLength");function f0(e,t,r,n){if(rl(e)&&t+r>=0&&t+r<=e.nodeValue.length)return{node:e,offset:t+r};let i=$y(e,t,r);if(i){if(rl(i))return{node:i,offset:r>0?Math.min(1,i.nodeValue.length):Math.max(i.nodeValue.length-1,0)};if(Ne(i,"br")){let o=$y(i,void 0,r);return o?rl(o)?{node:o,offset:r>0?0:o.nodeValue.length}:r<0&&Ne(o,"br")?{node:i.parentNode,offset:La(i)}:{node:o.parentNode,offset:La(o)+(r>0?0:1)}:r<0&&n==="deleteContentBackward"?{node:i.parentNode,offset:La(i)}:void 0}else return{node:i.parentNode,offset:La(i)+(r>0?1:0)}}}a(f0,"getNextCursorPosition");function $y(e,t,r){let n=Number(t)+(r<0?-1:0);return t!==void 0&&Sf(e)&&n>=0&&n<e.children.length&&(e=e.children[n]),Wq(e,r===1?"next":"previous",Jq)}a($y,"getNextCharacterContentNode");function Jq(e){if(rl(e))return!0;if(Sf(e)){if(Ne(e,["input","textarea"]))return e.type!=="hidden";if(Ne(e,"br"))return!0}return!1}a(Jq,"isTreatedAsCharacterContent");function La(e){let t=0;for(;e.previousSibling;)t++,e=e.previousSibling;return t}a(La,"getOffset");function Sf(e){return e.nodeType===1}a(Sf,"isElement");function rl(e){return e.nodeType===3}a(rl,"isTextNode");function Wq(e,t,r){for(;;){var n;let i=e[`${t}Sibling`];if(i){if(e=zq(i,t==="next"?"first":"last"),r(e))return e}else if(e.parentNode&&(!Sf(e.parentNode)||!ji(e.parentNode)&&e.parentNode!==((n=e.ownerDocument)===null||n===void 0?void 0:n.body)))e=e.parentNode;else break}}a(Wq,"walkNodes");function zq(e,t){for(;e.hasChildNodes();)e=e[`${t}Child`];return e}a(zq,"getDescendant");var Il=Symbol("Track programmatic changes for React workaround");function Kq(e){return Object.getOwnPropertyNames(e).some(t=>t.startsWith("__react"))&&Pr(e).REACT_VERSION===17}a(Kq,"isReact17Element");function Gq(e){Kq(e)&&(e[Il]={previousValue:String(e.value),tracked:[]})}a(Gq,"startTrackValue");function Yq(e,t){var r,n;(n=e[Il])===null||n===void 0||(r=n.tracked)===null||r===void 0||r.push(t),e[Il]||(Tf(e),Ho(e,{focusOffset:t.length}))}a(Yq,"trackOrSetValue");function Xq(e,t){var r;let n=e[Il];if(e[Il]=void 0,!(!(n==null||(r=n.tracked)===null||r===void 0)&&r.length))return;let i=n.tracked.length===2&&n.tracked[0]===n.previousValue&&n.tracked[1]===e.value;i||Tf(e),Fq(e)&&Ho(e,{focusOffset:i?t:e.value.length})}a(Xq,"commitValueAfterInput");function h0(e){let t=Qq(e);if(t&&rn(t))return{type:"input",selection:Ws(t)};let r=t?.ownerDocument.getSelection();return{type:Hs(e)&&r?.anchorNode&&Hs(r.anchorNode)?"contenteditable":"default",selection:r}}a(h0,"getTargetTypeAndSelection");function Qq(e){return e.nodeType===1?e:e.parentElement}a(Qq,"getElement");function Zq(e){let t=h0(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)}}a(Zq,"getInputRange");function Li({focusNode:e,focusOffset:t,anchorNode:r=e,anchorOffset:n=t}){var i,o;if(h0(e).type==="input")return Ho(e,{anchorOffset:n,focusOffset:t});(o=r.ownerDocument)===null||o===void 0||(i=o.getSelection())===null||i===void 0||i.setBaseAndExtent(r,n,e,t)}a(Li,"setSelection");function m0(e){return Ne(e,"input")&&["date","time"].includes(e.type)}a(m0,"isDateOrTime");function Ro(e,t,r,n="insertText"){let i=Zq(t);i&&(!m0(t)&&!e.dispatchUIEvent(t,"beforeinput",{inputType:n,data:r})||("startContainer"in i?ej(e,t,i,r,n):tj(e,t,i,r,n)))}a(Ro,"input");function ej(e,t,r,n,i){let o=!1;if(!r.collapsed)o=!0,r.deleteContents();else if(["deleteContentBackward","deleteContentForward"].includes(i)){let s=f0(r.startContainer,r.startOffset,i==="deleteContentBackward"?-1:1,i);if(s){o=!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)}(o||n)&&e.dispatchUIEvent(t,"input",{inputType:i})}a(ej,"editContenteditable");function tj(e,t,r,n,i){let o=n;if(Hq(t)){let c=Vq(t);if(c!==void 0&&n.length>0){let p=c-t.value.length;if(p>0)o=n.substring(0,p);else return}}let{newValue:s,newOffset:l,oldValue:u}=rj(o,t,r,i);s===u&&l===r.startOffset&&l===r.endOffset||Ne(t,"input",{type:"number"})&&!nj(s)||(Dq(t,s),Li({focusNode:t,anchorOffset:l,focusOffset:l}),m0(t)?d0(t,s)&&(Fy(e,t,l,{}),e.dispatchUIEvent(t,"change"),p0(t)):Fy(e,t,l,{data:n,inputType:i}))}a(tj,"editInputElement");function rj(e,t,{startOffset:r,endOffset:n},i){let o=nn(t),s=Math.max(0,r===n&&i==="deleteContentBackward"?r-1:r),l=o.substring(0,s),u=Math.min(o.length,r===n&&i==="deleteContentForward"?r+1:n),c=o.substring(u,o.length),p=`${l}${e}${c}`,d=s+e.length;if(Ne(t,"input",{type:"time"})){let f=Bq(p);f!==""&&d0(t,f)&&(p=f,d=f.length)}return{oldValue:o,newValue:p,newOffset:d}}a(rj,"calculateNewValue");function Fy(e,t,r,n){e.dispatchUIEvent(t,"input",n),Xq(t,r)}a(Fy,"commitInput");function nj(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]))}a(nj,"isValidNumberInput");Di.cut=(e,t,r)=>()=>{Po(t)&&Ro(r,t,"","deleteByCut")};function ij(e){return e?ji(e)?e.textContent:nn(e):null}a(ij,"getValueOrTextContent");function oj(e){let t=Pr(e);for(let r=e;r?.ownerDocument;r=r.parentElement){let{display:n,visibility:i}=t.getComputedStyle(r);if(n==="none"||i==="hidden")return!1}return!0}a(oj,"isVisible");function sj(e,t){let r=e.ownerDocument,n=r.querySelectorAll(Cq),i=Array.from(n).filter(u=>u===e||!(Number(u.getAttribute("tabindex"))<0||vn(u)));Number(e.getAttribute("tabindex"))>=0&&i.sort((u,c)=>{let p=Number(u.getAttribute("tabindex")),d=Number(c.getAttribute("tabindex"));return p===d?0:p===0?1:d===0?-1:p-d});let o={},s=[r.body],l=Ne(e,"input",{type:"radio"})?e.name:void 0;i.forEach(u=>{let c=u;if(Ne(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(p=>!Ne(p,"input",{type:"radio",name:c.name})),s.push(c),o[c.name]=c;return}if(typeof o[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||oj(s[u]))return s[u]}a(sj,"getTabDestination");function By(e,t){if(rn(e)){let r=Ws(e);Li({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=f0(r.focusNode,r.focusOffset,t);n&&Li({focusNode:n.node,focusOffset:n.offset})}else r[t<0?"collapseToStart":"collapseToEnd"]()}}a(By,"moveSelection");function y0(e){if(rn(e))return Li({focusNode:e,anchorOffset:0,focusOffset:nn(e).length});var t;let r=(t=Hs(e))!==null&&t!==void 0?t:e.ownerDocument.body;Li({focusNode:r,anchorOffset:0,focusOffset:r.childNodes.length})}a(y0,"selectAll");function aj(e){if(rn(e))return Ws(e).startOffset===0&&Ws(e).endOffset===nn(e).length;var t;let r=(t=Hs(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}a(aj,"isAllSelected");function ps(e,t,r){var n;if(rn(e))return Li({focusNode:e,anchorOffset:t,focusOffset:r});if(ji(e)&&((n=e.firstChild)===null||n===void 0?void 0:n.nodeType)===3)return Li({focusNode:e.firstChild,anchorOffset:t,focusOffset:r});throw new Error("Not implemented. The result of this interaction is unreliable.")}a(ps,"setSelectionRange");function $a(e,t,r){let n=Pr(t),i=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 o=i.findIndex(s=>s===t)+r;;o+=r){if(i[o]||(o=r>0?0:i.length-1),i[o]===t)return;if(!vn(i[o])){Yn(i[o]),e.dispatchUIEvent(i[o],"click");return}}}a($a,"walkRadio");Di.keydown=(e,t,r)=>{var n,i;return(i=(n=Ux[e.key])===null||n===void 0?void 0:n.call(Ux,e,t,r))!==null&&i!==void 0?i:oX(e,t,r)};var Ux={ArrowDown:a((e,t,r)=>{if(Ne(t,"input",{type:"radio"}))return()=>$a(r,t,1)},"ArrowDown"),ArrowLeft:a((e,t,r)=>Ne(t,"input",{type:"radio"})?()=>$a(r,t,-1):()=>By(t,-1),"ArrowLeft"),ArrowRight:a((e,t,r)=>Ne(t,"input",{type:"radio"})?()=>$a(r,t,1):()=>By(t,1),"ArrowRight"),ArrowUp:a((e,t,r)=>{if(Ne(t,"input",{type:"radio"}))return()=>$a(r,t,-1)},"ArrowUp"),Backspace:a((e,t,r)=>{if(Po(t))return()=>{Ro(r,t,"","deleteContentBackward")}},"Backspace"),Delete:a((e,t,r)=>{if(Po(t))return()=>{Ro(r,t,"","deleteContentForward")}},"Delete"),End:a((e,t)=>{if(Ne(t,["input","textarea"])||ji(t))return()=>{var r,n;let i=(n=(r=ij(t))===null||r===void 0?void 0:r.length)!==null&&n!==void 0?n:0;ps(t,i,i)}},"End"),Home:a((e,t)=>{if(Ne(t,["input","textarea"])||ji(t))return()=>{ps(t,0,0)}},"Home"),PageDown:a((e,t)=>{if(Ne(t,["input"]))return()=>{let r=nn(t).length;ps(t,r,r)}},"PageDown"),PageUp:a((e,t)=>{if(Ne(t,["input"]))return()=>{ps(t,0,0)}},"PageUp"),Tab:a((e,t,r)=>()=>{let n=sj(t,r.system.keyboard.modifiers.Shift);Yn(n),rn(n)&&Ho(n,{anchorOffset:0,focusOffset:n.value.length})},"Tab")},oX=a((e,t,r)=>{if(e.code==="KeyA"&&r.system.keyboard.modifiers.Control)return()=>y0(t)},"combinationBehavior");Di.keypress=(e,t,r)=>{if(e.key==="Enter"){if(Ne(t,"button")||Ne(t,"input")&&sX.includes(t.type)||Ne(t,"a")&&t.href)return()=>{r.dispatchUIEvent(t,"click")};if(Ne(t,"input")){let n=t.form,i=n?.querySelector('input[type="submit"], button:not([type]), button[type="submit"]');return i?()=>r.dispatchUIEvent(i,"click"):n&&aX.includes(t.type)&&n.querySelectorAll("input").length===1?()=>r.dispatchUIEvent(n,"submit"):void 0}}if(Po(t)){let n=e.key==="Enter"?ji(t)&&!r.system.keyboard.modifiers.Shift?"insertParagraph":"insertLineBreak":"insertText",i=e.key==="Enter"?`
|
|
351
|
-
`:e.key;return()=>Ro(r,t,i,n)}};var sX=["button","color","file","image","reset","submit"],aX=["email","month","password","search","tel","text","url","week"];Di.keyup=(e,t,r)=>{var n;return(n=Vx[e.key])===null||n===void 0?void 0:n.call(Vx,e,t,r)};var Vx={" ":a((e,t,r)=>{if(l0(t))return()=>r.dispatchUIEvent(t,"click")}," ")};Di.paste=(e,t,r)=>{if(Po(t))return()=>{var n;let i=(n=e.clipboardData)===null||n===void 0?void 0:n.getData("text");i&&Ro(r,t,i,"insertFromPaste")}};var lj={auxclick:{EventType:"PointerEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},beforeinput:{EventType:"InputEvent",defaultInit:{bubbles:!0,cancelable:!0,composed:!0}},blur:{EventType:"FocusEvent",defaultInit:{bubbles:!1,cancelable:!1,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}},focus:{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}},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 g0(e){return lj[e].EventType}a(g0,"getEventClass");var lX=["MouseEvent","PointerEvent"];function uj(e){return lX.includes(g0(e))}a(uj,"isMouseEvent");function cj(e){return g0(e)==="KeyboardEvent"}a(cj,"isKeyboardEvent");var uX={ClipboardEvent:[dj],Event:[],FocusEvent:[rs,fj],InputEvent:[rs,hj],MouseEvent:[rs,vc,Uy],PointerEvent:[rs,vc,Uy,yj],KeyboardEvent:[rs,vc,mj]};function b0(e,t,r){let n=Pr(t),{EventType:i,defaultInit:o}=lj[e],s=new(pj(n))[i](e,o);return uX[i].forEach(l=>l(s,r??{})),s}a(b0,"createEvent");function pj(e){var t,r,n,i,o,s,l,u,c,p,d,f,h,y,b,g;let m=(g=e.Event)!==null&&g!==void 0?g:(t=class{},a(t,"Event"),t);var v;let S=(v=e.AnimationEvent)!==null&&v!==void 0?v:(r=class extends m{},a(r,"AnimationEvent"),r);var O;let P=(O=e.ClipboardEvent)!==null&&O!==void 0?O:(n=class extends m{},a(n,"ClipboardEvent"),n);var x;let E=(x=e.PopStateEvent)!==null&&x!==void 0?x:(i=class extends m{},a(i,"PopStateEvent"),i);var _;let C=(_=e.ProgressEvent)!==null&&_!==void 0?_:(o=class extends m{},a(o,"ProgressEvent"),o);var w;let A=(w=e.TransitionEvent)!==null&&w!==void 0?w:(s=class extends m{},a(s,"TransitionEvent"),s);var I;let j=(I=e.UIEvent)!==null&&I!==void 0?I:(l=class extends m{},a(l,"UIEvent"),l);var R;let q=(R=e.CompositionEvent)!==null&&R!==void 0?R:(u=class extends j{},a(u,"CompositionEvent"),u);var M;let K=(M=e.FocusEvent)!==null&&M!==void 0?M:(c=class extends j{},a(c,"FocusEvent"),c);var J;let oe=(J=e.InputEvent)!==null&&J!==void 0?J:(p=class extends j{},a(p,"InputEvent"),p);var ye;let ae=(ye=e.KeyboardEvent)!==null&&ye!==void 0?ye:(d=class extends j{},a(d,"KeyboardEvent"),d);var ee;let Z=(ee=e.MouseEvent)!==null&&ee!==void 0?ee:(f=class extends j{},a(f,"MouseEvent"),f);var re;let me=(re=e.DragEvent)!==null&&re!==void 0?re:(h=class extends Z{},a(h,"DragEvent"),h);var se;let _e=(se=e.PointerEvent)!==null&&se!==void 0?se:(y=class extends Z{},a(y,"PointerEvent"),y);var Te;let tt=(Te=e.TouchEvent)!==null&&Te!==void 0?Te:(b=class extends j{},a(b,"TouchEvent"),b);return{Event:m,AnimationEvent:S,ClipboardEvent:P,PopStateEvent:E,ProgressEvent:C,TransitionEvent:A,UIEvent:j,CompositionEvent:q,FocusEvent:K,InputEvent:oe,KeyboardEvent:ae,MouseEvent:Z,DragEvent:me,PointerEvent:_e,TouchEvent:tt}}a(pj,"getEventConstructors");function ri(e,t){for(let[r,n]of Object.entries(t))Object.defineProperty(e,r,{get:a(()=>n??null,"get")})}a(ri,"assignProps");function ct(e){return Number(e??0)}a(ct,"sanitizeNumber");function dj(e,{clipboardData:t}){ri(e,{clipboardData:t})}a(dj,"initClipboardEvent");function fj(e,{relatedTarget:t}){ri(e,{relatedTarget:t})}a(fj,"initFocusEvent");function hj(e,{data:t,inputType:r,isComposing:n}){ri(e,{data:t,isComposing:!!n,inputType:String(r)})}a(hj,"initInputEvent");function rs(e,{view:t,detail:r}){ri(e,{view:t,detail:ct(r??0)})}a(rs,"initUIEvent");function vc(e,{altKey:t,ctrlKey:r,metaKey:n,shiftKey:i,modifierAltGraph:o,modifierCapsLock:s,modifierFn:l,modifierFnLock:u,modifierNumLock:c,modifierScrollLock:p,modifierSymbol:d,modifierSymbolLock:f}){ri(e,{altKey:!!t,ctrlKey:!!r,metaKey:!!n,shiftKey:!!i,getModifierState(h){return!!{Alt:t,AltGraph:o,CapsLock:s,Control:r,Fn:l,FnLock:u,Meta:n,NumLock:c,ScrollLock:p,Shift:i,Symbol:d,SymbolLock:f}[h]}})}a(vc,"initUIEventModifiers");function mj(e,{key:t,code:r,location:n,repeat:i,isComposing:o,charCode:s}){ri(e,{key:String(t),code:String(r),location:ct(n),repeat:!!i,isComposing:!!o,charCode:s})}a(mj,"initKeyboardEvent");function Uy(e,{x:t,y:r,screenX:n,screenY:i,clientX:o=t,clientY:s=r,button:l,buttons:u,relatedTarget:c,offsetX:p,offsetY:d,pageX:f,pageY:h}){ri(e,{screenX:ct(n),screenY:ct(i),clientX:ct(o),x:ct(o),clientY:ct(s),y:ct(s),button:ct(l),buttons:ct(u),relatedTarget:c,offsetX:ct(p),offsetY:ct(d),pageX:ct(f),pageY:ct(h)})}a(Uy,"initMouseEvent");function yj(e,{pointerId:t,width:r,height:n,pressure:i,tangentialPressure:o,tiltX:s,tiltY:l,twist:u,pointerType:c,isPrimary:p}){ri(e,{pointerId:ct(t),width:ct(r??1),height:ct(n??1),pressure:ct(i),tangentialPressure:ct(o),tiltX:ct(s),tiltY:ct(l),twist:ct(u),pointerType:String(c),isPrimary:!!p})}a(yj,"initPointerEvent");function gj(e,t,r,n=!1){(uj(t)||cj(t))&&(r={...r,...this.system.getUIEventModifiers()});let i=b0(t,e,r);return v0.call(this,e,i,n)}a(gj,"dispatchUIEvent");function v0(e,t,r=!1){var n;let i=t.type,o=r?()=>{}:(n=Di[i])===null||n===void 0?void 0:n.call(Di,t,e,this);if(o){t.preventDefault();let s=!1;return Object.defineProperty(t,"defaultPrevented",{get:a(()=>s,"get")}),Object.defineProperty(t,"preventDefault",{value:a(()=>{s=t.cancelable},"value")}),Ao(()=>e.dispatchEvent(t)),s||o(),!s}return Ao(()=>e.dispatchEvent(t))}a(v0,"dispatchEvent");function yi(e,t,r){let n=b0(t,e,r);Ao(()=>e.dispatchEvent(n))}a(yi,"dispatchDOMEvent");var Hx=Symbol("patched focus/blur methods");function _0(e){if(e.prototype[Hx])return;let{focus:t,blur:r}=e.prototype;Object.defineProperties(e.prototype,{focus:{configurable:!0,get:a(()=>i,"get")},blur:{configurable:!0,get:a(()=>o,"get")},[Hx]:{configurable:!0,get:a(()=>({focus:t,blur:r}),"get")}});let n;function i(s){if(this.ownerDocument.visibilityState!=="hidden")return t.call(this,s);let l=Vy(this.ownerDocument);if(l===this)return;let u=Symbol("focus call");n=u,l&&(r.call(l),yi(l,"blur",{relatedTarget:this}),yi(l,"focusout",{relatedTarget:n===u?this:null})),n===u&&(t.call(this,s),yi(this,"focus",{relatedTarget:l})),n===u&&yi(this,"focusin",{relatedTarget:l})}a(i,"patchedFocus");function o(){if(this.ownerDocument.visibilityState!=="hidden")return r.call(this);let s=Vy(this.ownerDocument);s===this&&(n=Symbol("blur call"),r.call(this),yi(s,"blur",{relatedTarget:null}),yi(s,"focusout",{relatedTarget:null}))}a(o,"patchedBlur")}a(_0,"patchFocus");function Vy(e){let t=ma(e);return t?.tagName==="BODY"?null:t}a(Vy,"getActiveTarget");var kh=Symbol("Interceptor for programmatical calls");function so(e,t,r){let n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t),i=Object.getOwnPropertyDescriptor(e,t),o=n?.set?"set":"value";if(typeof n?.[o]!="function"||n[o][kh])throw new Error(`Element ${e.tagName} does not implement "${String(t)}".`);function s(...l){let{applyNative:u=!1,realArgs:c,then:p}=r.call(this,...l),d=(!u&&i||n)[o];o==="set"?d.call(this,c):d.call(this,...c),p?.()}a(s,"intercept"),s[kh]=kh,Object.defineProperty(e,t,{...i??n,[o]:s})}a(so,"prepareInterceptor");function bj(e){so(e,"value",a(function(t){let r=qq(t);return r&&Gq(this),{applyNative:!!r,realArgs:vj(this,t),then:r?void 0:()=>Yq(this,String(t))}},"interceptorImpl"))}a(bj,"prepareValueInterceptor");function vj(e,t){return Ne(e,"input",{type:"number"})&&String(t)!==""&&!Number.isNaN(Number(t))?String(Number(t)):String(t)}a(vj,"sanitizeValue");function _j(e){so(e,"setSelectionRange",a(function(t,...r){let n=jq(t);return{applyNative:!!n,realArgs:[Number(t),...r],then:a(()=>n?void 0:tl(e),"then")}},"interceptorImpl")),so(e,"selectionStart",a(function(t){return{realArgs:t,then:a(()=>tl(e),"then")}},"interceptorImpl")),so(e,"selectionEnd",a(function(t){return{realArgs:t,then:a(()=>tl(e),"then")}},"interceptorImpl")),so(e,"select",a(function(){return{realArgs:[],then:a(()=>$q(e,{anchorOffset:0,focusOffset:nn(e).length}),"then")}},"interceptorImpl"))}a(_j,"prepareSelectionInterceptor");function Ej(e){so(e,"setRangeText",a(function(...t){return{realArgs:t,then:a(()=>{Tf(e),tl(e)},"then")}},"interceptorImpl"))}a(Ej,"prepareRangeTextInterceptor");var vs=Symbol("Node prepared with document state workarounds");function E0(e){e[vs]||(e.addEventListener("focus",t=>{let r=t.target;Hy(r)},{capture:!0,passive:!0}),e.activeElement&&Hy(e.activeElement),e.addEventListener("blur",t=>{let r=t.target,n=Lq(r);n!==void 0&&(r.value!==n&&yi(r,"change"),p0(r))},{capture:!0,passive:!0}),e[vs]=vs)}a(E0,"prepareDocument");function Hy(e){e[vs]||(Ne(e,["input","textarea"])&&(bj(e),_j(e),Ej(e)),e[vs]=vs)}a(Hy,"prepareElement");function wj(e){return xj(e)?e:e.ownerDocument}a(wj,"getDocumentFromNode");function xj(e){return e.nodeType===9}a(xj,"isDocument");var Er=function(e){return e[e.Trigger=2]="Trigger",e[e.Call=1]="Call",e}({});function ds(e,t){e.levelRefs[t]={}}a(ds,"setLevelRef");function Fa(e,t){return e.levelRefs[t]}a(Fa,"getLevelRef");function No(e){let t=e.delay;if(typeof t=="number")return Promise.all([new Promise(r=>globalThis.setTimeout(()=>r(),t)),e.advanceTimers(t)])}a(No,"wait");var _c=function(e){return e[e.EachTrigger=4]="EachTrigger",e[e.EachApiCall=2]="EachApiCall",e[e.EachTarget=1]="EachTarget",e[e.Never=0]="Never",e}({});function di(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(di,"_define_property");var sn=function(e){return e[e.STANDARD=0]="STANDARD",e[e.LEFT=1]="LEFT",e[e.RIGHT=2]="RIGHT",e[e.NUMPAD=3]="NUMPAD",e}({}),cX=["Alt","AltGraph","Control","Fn","Meta","Shift","Symbol"];function Jy(e){return cX.includes(e)}a(Jy,"isModifierKey");var pX=["CapsLock","FnLock","NumLock","ScrollLock","SymbolLock"];function Wy(e){return pX.includes(e)}a(Wy,"isModifierLock");var Tj=class{isKeyPressed(t){return this.pressed.has(String(t.code))}getPressedKeys(){return this.pressed.values().map(t=>t.keyDef)}async keydown(t,r){let n=String(r.key),i=String(r.code),o=bc(t.config.document);this.setKeydownTarget(o),this.pressed.add(i,r),Jy(n)&&(this.modifiers[n]=!0);let s=t.dispatchUIEvent(o,"keydown",{key:n,code:i});Wy(n)&&!this.modifiers[n]&&(this.modifiers[n]=!0,this.modifierLockStart[n]=!0),s&&this.pressed.setUnprevented(i),s&&this.hasKeyPress(n)&&t.dispatchUIEvent(bc(t.config.document),"keypress",{key:n,code:i,charCode:r.key==="Enter"?13:String(r.key).charCodeAt(0)})}async keyup(t,r){let n=String(r.key),i=String(r.code),o=this.pressed.isUnprevented(i);this.pressed.delete(i),Jy(n)&&!this.pressed.values().find(s=>s.keyDef.key===n)&&(this.modifiers[n]=!1),t.dispatchUIEvent(bc(t.config.document),"keyup",{key:n,code:i},!o),Wy(n)&&this.modifiers[n]&&(this.modifierLockStart[n]?this.modifierLockStart[n]=!1:this.modifiers[n]=!1)}setKeydownTarget(t){t!==this.lastKeydownTarget&&(this.carryChar=""),this.lastKeydownTarget=t}hasKeyPress(t){return(t.length===1||t==="Enter")&&!this.modifiers.Control&&!this.modifiers.Alt}constructor(t){di(this,"system",void 0),di(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}),di(this,"pressed",new class{add(r,n){var i,o,s;(s=(i=this.registry)[o=r])!==null&&s!==void 0||(i[o]={keyDef:n,unpreventedDefault:!1})}has(r){return!!this.registry[r]}setUnprevented(r){let n=this.registry[r];n&&(n.unpreventedDefault=!0)}isUnprevented(r){var n;return!!(!((n=this.registry[r])===null||n===void 0)&&n.unpreventedDefault)}delete(r){delete this.registry[r]}values(){return Object.values(this.registry)}constructor(){di(this,"registry",{})}}),di(this,"carryChar",""),di(this,"lastKeydownTarget",void 0),di(this,"modifierLockStart",{}),this.system=t}};a(Tj,"KeyboardHost");var dX=Tj,fX=[..."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:"BracketLeft",key:"["},{code:"BracketLeft",key:"{",shiftKey:!0},{code:"BracketRight",key:"]"},{code:"BracketRight",key:"}",shiftKey:!0},{code:"Space",key:" "},{code:"AltLeft",key:"Alt",location:sn.LEFT},{code:"AltRight",key:"Alt",location:sn.RIGHT},{code:"ShiftLeft",key:"Shift",location:sn.LEFT},{code:"ShiftRight",key:"Shift",location:sn.RIGHT},{code:"ControlLeft",key:"Control",location:sn.LEFT},{code:"ControlRight",key:"Control",location:sn.RIGHT},{code:"MetaLeft",key:"Meta",location:sn.LEFT},{code:"MetaRight",key:"Meta",location:sn.RIGHT},{code:"OSLeft",key:"OS",location:sn.LEFT},{code:"OSRight",key:"OS",location:sn.RIGHT},{code:"ContextMenu",key:"ContextMenu"},{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"}],hX=[{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 Sj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(Sj,"_define_property");var Cj=class{getButtons(){let t=0;for(let r of Object.keys(this.pressed))t|=2**Number(r);return t}down(t){let r=bp(t.button);if(r in this.pressed){this.pressed[r].push(t);return}return this.pressed[r]=[t],r}up(t){let r=bp(t.button);if(r in this.pressed&&(this.pressed[r]=this.pressed[r].filter(n=>n.name!==t.name),this.pressed[r].length===0))return delete this.pressed[r],r}constructor(){Sj(this,"pressed",{})}};a(Cj,"Buttons");var Oj=Cj,Jx={primary:0,secondary:1,auxiliary:2,back:3,X1:3,forward:4,X2:4};function bp(e=0){return e in Jx?Jx[e]:Number(e)}a(bp,"getMouseButtonId");var Wx={1:2,2:1};function vp(e){return e=bp(e),e in Wx?Wx[e]:e}a(vp,"getMouseEventButton");function Pj(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(Pj,"_define_property");var Aj=class{get countPressed(){return this.pressedKeys.size}isPressed(t){return this.pressedKeys.has(t.name)}addPressed(t){return this.pressedKeys.add(t.name)}removePressed(t){return this.pressedKeys.delete(t.name)}constructor(){Pj(this,"pressedKeys",new Set)}};a(Aj,"Device");var mX=Aj;function _s(e,t){let r=[];for(let o=e;o;o=o.parentElement)r.push(o);let n=[];for(let o=t;o;o=o.parentElement)n.push(o);let i=0;for(;!(i>=r.length||i>=n.length||r[r.length-1-i]!==n[n.length-1-i]);i++);return[r.slice(0,r.length-i),n.slice(0,n.length-i),n.slice(n.length-i)]}a(_s,"getTreeDiff");function _p({target:e,node:t,offset:r}){return rn(e)?{node:e,offset:r??nn(e).length}:t?{node:t,offset:r??(t.nodeType===3?t.nodeValue.length:t.childNodes.length)}:w0(e,r)}a(_p,"resolveCaretPosition");function w0(e,t,r=!0){let n=t===void 0?e.childNodes.length-1:0,i=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 o=e.childNodes.item(n),s=String(o.textContent);if(s.length)if(t!==void 0&&s.length<t)t-=s.length;else{if(o.nodeType===1)return w0(o,t,!1);if(o.nodeType===3)return{node:o,offset:t??o.nodeValue.length}}n+=i}return{node:e,offset:e.childNodes.length}}a(w0,"findNodeAtTextOffset");function Rj({document:e,target:t,clickCount:r,node:n,offset:i}){if(Iq(t))return;let o=rn(t),s=String(o?nn(t):t.textContent),[l,u]=n?[i,i]:Nj(s,i,r);if(o)return Ho(t,{anchorOffset:l??s.length,focusOffset:u??s.length}),{node:t,start:l??0,end:u??s.length};{let{node:c,offset:p}=_p({target:t,node:n,offset:l}),{node:d,offset:f}=_p({target:t,node:n,offset:u}),h=t.ownerDocument.createRange();try{h.setStart(c,p),h.setEnd(d,f)}catch{throw new Error("The given offset is out of bounds.")}let y=e.getSelection();return y?.removeAllRanges(),y?.addRange(h.cloneRange()),h}}a(Rj,"setSelectionPerMouseDown");function Nj(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]}a(Nj,"getTextRange");function Ij(e,{document:t,target:r,node:n,offset:i}){let o=_p({target:r,node:n,offset:i});if("node"in e){if(o.node===e.node){let s=o.offset<e.start?e.end:e.start,l=o.offset>e.end||o.offset<e.start?o.offset:e.end;Ho(e.node,{anchorOffset:s,focusOffset:l})}}else{let s=e.cloneRange(),l=s.comparePoint(o.node,o.offset);l<0?s.setStart(o.node,o.offset):l>0&&s.setEnd(o.node,o.offset);let u=t.getSelection();u?.removeAllRanges(),u?.addRange(s.cloneRange())}}a(Ij,"modifySelectionPerMouseMove");function x0(e,t){var r,n,i,o,s,l,u,c,p,d,f,h,y,b,g,m,v,S,O,P,x,E,_,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.x)||((i=e.coords)===null||i===void 0?void 0:i.y)!==((o=t.coords)===null||o===void 0?void 0:o.y)||((s=e.coords)===null||s===void 0?void 0:s.clientX)!==((l=t.coords)===null||l===void 0?void 0:l.clientX)||((u=e.coords)===null||u===void 0?void 0:u.clientY)!==((c=t.coords)===null||c===void 0?void 0:c.clientY)||((p=e.coords)===null||p===void 0?void 0:p.offsetX)!==((d=t.coords)===null||d===void 0?void 0:d.offsetX)||((f=e.coords)===null||f===void 0?void 0:f.offsetY)!==((h=t.coords)===null||h===void 0?void 0:h.offsetY)||((y=e.coords)===null||y===void 0?void 0:y.pageX)!==((b=t.coords)===null||b===void 0?void 0:b.pageX)||((g=e.coords)===null||g===void 0?void 0:g.pageY)!==((m=t.coords)===null||m===void 0?void 0:m.pageY)||((v=e.coords)===null||v===void 0?void 0:v.screenX)!==((S=t.coords)===null||S===void 0?void 0:S.screenX)||((O=e.coords)===null||O===void 0?void 0:O.screenY)!==((P=t.coords)===null||P===void 0?void 0:P.screenY)||((x=e.caret)===null||x===void 0?void 0:x.node)!==((E=t.caret)===null||E===void 0?void 0:E.node)||((_=e.caret)===null||_===void 0?void 0:_.offset)!==((C=t.caret)===null||C===void 0?void 0:C.offset)}a(x0,"isDifferentPointerPosition");function fi(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(fi,"_define_property");var kj=class{move(t,r,n){let i=this.position,o=this.getTarget(t);if(this.position=r,!x0(i,r))return;let s=this.getTarget(t),l=this.getEventInit("mousemove"),[u,c]=_s(o,s);return{leave:a(()=>{o!==s&&(t.dispatchUIEvent(o,"mouseout",l),u.forEach(p=>t.dispatchUIEvent(p,"mouseleave",l)))},"leave"),enter:a(()=>{o!==s&&(t.dispatchUIEvent(s,"mouseover",l),c.forEach(p=>t.dispatchUIEvent(p,"mouseenter",l)))},"enter"),move:a(()=>{n||(t.dispatchUIEvent(s,"mousemove",l),this.modifySelecting(t))},"move")}}down(t,r,n){let i=this.buttons.down(r);if(i===void 0)return;let o=this.getTarget(t);this.buttonDownTarget[i]=o;let s=this.getEventInit("mousedown",r.button),l=vn(o);!n&&(l||t.dispatchUIEvent(o,"mousedown",s))&&(this.startSelecting(t,s.detail),Yn(o)),!l&&vp(r.button)===2&&t.dispatchUIEvent(o,"contextmenu",this.getEventInit("contextmenu",r.button))}up(t,r,n){let i=this.buttons.up(r);if(i===void 0)return;let o=this.getTarget(t);if(!vn(o)){if(!n){let l=this.getEventInit("mouseup",r.button);t.dispatchUIEvent(o,"mouseup",l),this.endSelecting()}let s=_s(this.buttonDownTarget[i],o)[2][0];if(s){let l=this.getEventInit("click",r.button);l.detail&&(t.dispatchUIEvent(s,l.button===0?"click":"auxclick",l),l.button===0&&l.detail===2&&t.dispatchUIEvent(s,"dblclick",{...this.getEventInit("dblclick",r.button),detail:l.detail}))}}}resetClickCount(){this.clickCount.reset()}getEventInit(t,r){let n={...this.position.coords};return n.button=vp(r),n.buttons=this.buttons.getButtons(),t==="mousedown"?n.detail=this.clickCount.getOnDown(n.button):t==="mouseup"?n.detail=this.clickCount.getOnUp(n.button):(t==="click"||t==="auxclick")&&(n.detail=this.clickCount.incOnClick(n.button)),n}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}startSelecting(t,r){var n,i;this.selecting=Rj({document:t.config.document,target:this.getTarget(t),node:(n=this.position.caret)===null||n===void 0?void 0:n.node,offset:(i=this.position.caret)===null||i===void 0?void 0:i.offset,clickCount:r})}modifySelecting(t){var r,n;this.selecting&&Ij(this.selecting,{document:t.config.document,target:this.getTarget(t),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})}endSelecting(){this.selecting=void 0}constructor(){fi(this,"position",{}),fi(this,"buttons",new Oj),fi(this,"selecting",void 0),fi(this,"buttonDownTarget",{}),fi(this,"clickCount",new class{incOnClick(t){let r=this.down[t]===void 0?void 0:Number(this.down[t])+1;return this.count=this.count[t]===void 0?{}:{[t]:Number(this.count[t])+1},r}getOnDown(t){var r;this.down={[t]:(r=this.count[t])!==null&&r!==void 0?r:0};var n;return this.count={[t]:(n=this.count[t])!==null&&n!==void 0?n:0},Number(this.count[t])+1}getOnUp(t){return this.down[t]===void 0?void 0:Number(this.down[t])+1}reset(){this.count={}}constructor(){fi(this,"down",{}),fi(this,"count",{})}})}};a(kj,"Mouse");var yX=kj;function kl(e,t){var r;return((r=T0(e,t))===null||r===void 0?void 0:r.pointerEvents)!=="none"}a(kl,"hasPointerEvents");function Mj(e){let t=Pr(e);for(let r=e,n=[];r?.ownerDocument;r=r.parentElement){n.push(r);let i=t.getComputedStyle(r).pointerEvents;if(i&&!["inherit","unset"].includes(i))return{pointerEvents:i,tree:n}}}a(Mj,"closestPointerEventsDeclaration");var zx=Symbol("Last check for pointer-events");function T0(e,t){let r=t[zx];if(!(e.config.pointerEventsCheck!==_c.Never&&(!r||zy(e.config.pointerEventsCheck,_c.EachApiCall)&&r[Er.Call]!==Fa(e,Er.Call)||zy(e.config.pointerEventsCheck,_c.EachTrigger)&&r[Er.Trigger]!==Fa(e,Er.Trigger))))return r?.result;let n=Mj(t);return t[zx]={[Er.Call]:Fa(e,Er.Call),[Er.Trigger]:Fa(e,Er.Trigger),result:n},n}a(T0,"checkPointerEvents");function fs(e,t){let r=T0(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\`:`,"",qj(r.tree)].join(`
|
|
352
|
-
`))}a(fs,"assertPointerEvents");function qj(e){return e.reverse().map((t,r)=>["".padEnd(r),t.tagName,t.id&&`#${t.id}`,t.hasAttribute("data-testid")&&`(testId=${t.getAttribute("data-testid")})`,jj(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(`
|
|
353
|
-
`)}a(qj,"printTree");function jj(e){var t;let r;if(e.hasAttribute("aria-label"))r=e.getAttribute("aria-label");else if(e.hasAttribute("aria-labelledby")){var n,i;r=(i=e.ownerDocument.getElementById(e.getAttribute("aria-labelledby")))===null||i===void 0||(n=i.textContent)===null||n===void 0?void 0:n.trim()}else if(Ne(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(Ne(e,"button")){var o;r=(o=e.textContent)===null||o===void 0?void 0:o.trim()}return r=r?.replace(/\n/g," "),Number(r?.length)>30&&(r=`${r?.substring(0,29)}…`),r?`(label=${r})`:""}a(jj,"getLabelDescr");function zy(e,t){return(e&t)>0}a(zy,"hasBitFlag");function un(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(un,"_define_property");var Dj=class{init(t){let r=this.getTarget(t),[,n]=_s(null,r),i=this.getEventInit();return fs(t,r),t.dispatchUIEvent(r,"pointerover",i),n.forEach(o=>t.dispatchUIEvent(o,"pointerenter",i)),this}move(t,r){let n=this.position,i=this.getTarget(t);if(this.position=r,!x0(n,r))return;let o=this.getTarget(t),s=this.getEventInit(-1),[l,u]=_s(i,o);return{leave:a(()=>{kl(t,i)&&i!==o&&(t.dispatchUIEvent(i,"pointerout",s),l.forEach(c=>t.dispatchUIEvent(c,"pointerleave",s)))},"leave"),enter:a(()=>{fs(t,o),i!==o&&(t.dispatchUIEvent(o,"pointerover",s),u.forEach(c=>t.dispatchUIEvent(c,"pointerenter",s)))},"enter"),move:a(()=>{t.dispatchUIEvent(o,"pointermove",s)},"move")}}down(t,r=0){if(this.isDown)return;let n=this.getTarget(t);fs(t,n),this.isDown=!0,this.isPrevented=!t.dispatchUIEvent(n,"pointerdown",this.getEventInit(r))}up(t,r=0){if(!this.isDown)return;let n=this.getTarget(t);fs(t,n),this.isPrevented=!1,this.isDown=!1,t.dispatchUIEvent(n,"pointerup",this.getEventInit(r))}release(t){let r=this.getTarget(t),[n]=_s(r,null),i=this.getEventInit();kl(t,r)&&(t.dispatchUIEvent(r,"pointerout",i),n.forEach(o=>t.dispatchUIEvent(o,"pointerleave",i))),this.isCancelled=!0}getTarget(t){var r;return(r=this.position.target)!==null&&r!==void 0?r:t.config.document.body}getEventInit(t){return{...this.position.coords,pointerId:this.pointerId,pointerType:this.pointerType,isPrimary:this.isPrimary,button:vp(t),buttons:this.buttons.getButtons()}}constructor({pointerId:t,pointerType:r,isPrimary:n},i){un(this,"pointerId",void 0),un(this,"pointerType",void 0),un(this,"isPrimary",void 0),un(this,"buttons",void 0),un(this,"isMultitouch",!1),un(this,"isCancelled",!1),un(this,"isDown",!1),un(this,"isPrevented",!1),un(this,"position",{}),this.pointerId=t,this.pointerType=r,this.isPrimary=n,this.isMultitouch=!n,this.buttons=i}};a(Dj,"Pointer");var gX=Dj;function Mn(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(Mn,"_define_property");var Lj=class{isKeyPressed(t){return this.devices.get(t.pointerType).isPressed(t)}async press(t,r,n){this.devices.get(r.pointerType).addPressed(r),this.buttons.down(r);let i=this.getPointerName(r),o=r.pointerType==="touch"?this.pointers.new(i,r.pointerType,this.buttons):this.pointers.get(i);o.position=n,o.pointerType!=="touch"&&(this.mouse.position=n),o.pointerType==="touch"&&o.init(t),o.down(t,r.button),o.pointerType!=="touch"&&this.mouse.down(t,r,o.isPrevented)}async move(t,r,n){let i=this.pointers.get(r),o=i.move(t,n),s=i.pointerType==="touch"?void 0:this.mouse.move(t,n,i.isPrevented);o?.leave(),s?.leave(),o?.enter(),s?.enter(),o?.move(),s?.move()}async release(t,r,n){let i=this.devices.get(r.pointerType);i.removePressed(r),this.buttons.up(r);let o=this.pointers.get(this.getPointerName(r)),s=o.isPrevented;if(o.position=n,o.pointerType!=="touch"&&(this.mouse.position=n),i.countPressed===0&&o.up(t,r.button),o.pointerType==="touch"&&o.release(t),o.pointerType==="touch"&&!o.isMultitouch){let l=this.mouse.move(t,n,s);l?.leave(),l?.enter(),l?.move(),this.mouse.down(t,r,s)}if(!o.isMultitouch){let l=this.mouse.move(t,n,s);l?.leave(),l?.enter(),l?.move(),this.mouse.up(t,r,s)}}getPointerName(t){return t.pointerType==="touch"?t.name:t.pointerType}getPreviousPosition(t){return this.pointers.has(t)?this.pointers.get(t).position:void 0}resetClickCount(){this.mouse.resetClickCount()}getMouseTarget(t){var r;return(r=this.mouse.position.target)!==null&&r!==void 0?r:t.config.document.body}setMousePosition(t){this.mouse.position=t,this.pointers.get("mouse").position=t}constructor(t){Mn(this,"system",void 0),Mn(this,"mouse",void 0),Mn(this,"buttons",void 0),Mn(this,"devices",new class{get(r){var n,i,o;return(o=(n=this.registry)[i=r])!==null&&o!==void 0?o:n[i]=new mX}constructor(){Mn(this,"registry",{})}}),Mn(this,"pointers",new class{new(r,n,i){let o=n!=="touch"||!Object.values(this.registry).some(s=>s.pointerType==="touch"&&!s.isCancelled);return o||Object.values(this.registry).forEach(s=>{s.pointerType===n&&!s.isCancelled&&(s.isMultitouch=!0)}),this.registry[r]=new gX({pointerId:this.nextId++,pointerType:n,isPrimary:o},i),this.registry[r]}get(r){if(!this.has(r))throw new Error(`Trying to access pointer "${r}" which does not exist.`);return this.registry[r]}has(r){return r in this.registry}constructor(){Mn(this,"registry",{}),Mn(this,"nextId",1)}}),this.system=t,this.buttons=new Oj,this.mouse=new yX,this.pointers.new("mouse","mouse",this.buttons)}};a(Lj,"PointerHost");var bX=Lj;function Ky(e,t,r){return t in e?Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}):e[t]=r,e}a(Ky,"_define_property");var $j=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(){Ky(this,"keyboard",new dX(this)),Ky(this,"pointer",new bX(this))}};a($j,"System");var Fj=$j;async function Bj(e){let t=[];return this.config.skipHover||t.push({target:e}),t.push({keys:"[MouseLeft]",target:e}),this.pointer(t)}a(Bj,"click");async function Uj(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft]"])}a(Uj,"dblClick");async function Vj(e){return this.pointer([{target:e},"[MouseLeft][MouseLeft][MouseLeft]"])}a(Vj,"tripleClick");async function Hj(e){return this.pointer({target:e})}a(Hj,"hover");async function Jj(e){return fs(this,this.system.pointer.getMouseTarget(this)),this.pointer({target:e.ownerDocument.body})}a(Jj,"unhover");async function Wj({shift:e}={}){return this.keyboard(e===!0?"{Shift>}{Tab}{/Shift}":e===!1?"[/ShiftLeft][/ShiftRight]{Tab}":"{Tab}")}a(Wj,"tab");var S0=function(e){return e["{"]="}",e["["]="]",e}(S0||{});function C0(e,t){let r=0,n=e[r]in S0?e[r]:"";r+=n.length;let i=new RegExp(`^\\${n}{2}`).test(e)?"":n;return{type:i,...i===""?zj(e,r,t):Kj(e,r,i,t)}}a(C0,"readNextDescriptor");function zj(e,t,r){let n=e[t];return O0(n,e,t,r),t+=n.length,{consumedLength:t,descriptor:n,releasePrevious:!1,releaseSelf:!0,repeat:1}}a(zj,"readPrintableChar");function Kj(e,t,r,n){var i,o;let s=e[t]==="/"?"/":"";t+=s.length;let l=r==="{"&&e[t]==="\\";t+=Number(l);let u=l?e[t]:(i=e.slice(t).match(r==="{"?/^\w+|^[^}>/]/:/^\w+/))===null||i===void 0?void 0:i[0];O0(u,e,t,n),t+=u.length;var c;let p=(c=(o=e.slice(t).match(/^>\d+/))===null||o===void 0?void 0:o[0])!==null&&c!==void 0?c:"";t+=p.length;let d=e[t]==="/"||!p&&e[t]===">"?e[t]:"";t+=d.length;let f=S0[r],h=e[t]===f?f:"";if(!h)throw new Error(P0([!p&&"repeat modifier",!d&&"release modifier",`"${f}"`].filter(Boolean).join(" or "),e[t],e,n));return t+=h.length,{consumedLength:t,descriptor:u,releasePrevious:!!s,repeat:p?Math.max(Number(p.substr(1)),1):1,releaseSelf:Gj(d,p)}}a(Kj,"readTag");function O0(e,t,r,n){if(!e)throw new Error(P0("key descriptor",t[r],t,n))}a(O0,"assertDescriptor");function Gj(e,t){if(e)return e==="/";if(t)return!1}a(Gj,"hasReleaseSelf");function P0(e,t,r,n){return`Expected ${e} but found "${t??""}" in "${r}"
|
|
354
|
-
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"}
|
|
355
|
-
for more information about how userEvent parses your input.`}a(P0,"getErrorMessage");function Yj(e,t){let r=[];do{let{type:i,descriptor:o,consumedLength:s,releasePrevious:l,releaseSelf:u=!0,repeat:c}=C0(t,"keyboard");var n;let p=(n=e.find(d=>{if(i==="["){var f;return((f=d.code)===null||f===void 0?void 0:f.toLowerCase())===o.toLowerCase()}else if(i==="{"){var h;return((h=d.key)===null||h===void 0?void 0:h.toLowerCase())===o.toLowerCase()}return d.key===o}))!==null&&n!==void 0?n:{key:"Unknown",code:"Unknown",[i==="["?"code":"key"]:o};r.push({keyDef:p,releasePrevious:l,releaseSelf:u,repeat:c}),t=t.slice(s)}while(t);return r}a(Yj,"parseKeyDef");async function Xj(e){let t=Yj(this.config.keyboardMap,e);for(let r=0;r<t.length;r++)await No(this.config),await Qj(this,t[r])}a(Xj,"keyboard");async function Qj(e,{keyDef:t,releasePrevious:r,releaseSelf:n,repeat:i}){let{system:o}=e;if(o.keyboard.isKeyPressed(t)&&await o.keyboard.keyup(e,t),!r){for(let s=1;s<=i;s++)await o.keyboard.keydown(e,t),s<i&&await No(e.config);n&&await o.keyboard.keyup(e,t)}}a(Qj,"keyboardAction");async function Zj(e){for(let t of e.system.keyboard.getPressedKeys())await e.system.keyboard.keyup(e,t)}a(Zj,"releaseAllKeys");function A0(e){let t=rn(e)?{"text/plain":eD(e)}:{"text/plain":String(e.ownerDocument.getSelection())},r=Ef(Pr(e));for(let n in t)t[n]&&r.setData(n,t[n]);return r}a(A0,"copySelection");function eD(e){let t=Ws(e);return nn(e).substring(t.startOffset,t.endOffset)}a(eD,"readSelectedValueFromInput");async function tD(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=A0(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"copy",{clipboardData:n})&&this.config.writeToClipboard&&await a0(e,n),n}a(tD,"copy");async function rD(){let e=this.config.document;var t;let r=(t=e.activeElement)!==null&&t!==void 0?t:e.body,n=A0(r);if(n.items.length!==0)return this.dispatchUIEvent(r,"cut",{clipboardData:n})&&this.config.writeToClipboard&&await a0(r.ownerDocument,n),n}a(rD,"cut");async function nD(e){let t=this.config.document;var r;let n=(r=t.activeElement)!==null&&r!==void 0?r:t.body;var i;let o=(i=typeof e=="string"?iD(t,e):e)!==null&&i!==void 0?i:await Sq(t).catch(()=>{throw new Error("`userEvent.paste()` without `clipboardData` requires the `ClipboardAPI` to be available.")});this.dispatchUIEvent(n,"paste",{clipboardData:o})}a(nD,"paste");function iD(e,t){let r=Ef(Pr(e));return r.setData("text",t),r}a(iD,"getClipboardDataFromString");function Gy(e,t){let r=[];do{let{descriptor:n,consumedLength:i,releasePrevious:o,releaseSelf:s=!0}=C0(t,"pointer"),l=e.find(u=>u.name===n);l&&r.push({keyDef:l,releasePrevious:o,releaseSelf:s}),t=t.slice(i)}while(t);return r}a(Gy,"parseKeyDef");async function oD(e){let{pointerMap:t}=this.config,r=[];(Array.isArray(e)?e:[e]).forEach(n=>{typeof n=="string"?r.push(...Gy(t,n)):"keys"in n?r.push(...Gy(t,n.keys).map(i=>({...n,...i}))):r.push(n)});for(let n=0;n<r.length;n++)await No(this.config),await sD(this,r[n]);this.system.pointer.resetClickCount()}a(oD,"pointer");async function sD(e,t){var r,n;let i="pointerName"in t&&t.pointerName?t.pointerName:"keyDef"in t?e.system.pointer.getPointerName(t.keyDef):"mouse",o=e.system.pointer.getPreviousPosition(i);var s,l,u,c;let p={target:(s=t.target)!==null&&s!==void 0?s:aD(e,o),coords:(l=t.coords)!==null&&l!==void 0?l:o?.coords,caret:{node:(u=t.node)!==null&&u!==void 0?u:Yy(t)||o==null||(r=o.caret)===null||r===void 0?void 0:r.node,offset:(c=t.offset)!==null&&c!==void 0?c:Yy(t)||o==null||(n=o.caret)===null||n===void 0?void 0:n.offset}};"keyDef"in t?(e.system.pointer.isKeyPressed(t.keyDef)&&(ds(e,Er.Trigger),await e.system.pointer.release(e,t.keyDef,p)),t.releasePrevious||(ds(e,Er.Trigger),await e.system.pointer.press(e,t.keyDef,p),t.releaseSelf&&(ds(e,Er.Trigger),await e.system.pointer.release(e,t.keyDef,p)))):(ds(e,Er.Trigger),await e.system.pointer.move(e,i,p))}a(sD,"pointerAction");function Yy(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)}a(Yy,"hasCaretPosition");function aD(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}a(aD,"getPrevTarget");async function lD(e){if(!Po(e)||vn(e))throw new Error("clear()` is only supported on editable elements.");if(Yn(e),e.ownerDocument.activeElement!==e)throw new Error("The element to be cleared could not be focused.");if(y0(e),!aj(e))throw new Error("The element content to be cleared could not be selected.");Ro(this,e,"","deleteContentBackward")}a(lD,"clear");async function uD(e,t){return R0.call(this,!0,e,t)}a(uD,"selectOptions");async function cD(e,t){return R0.call(this,!1,e,t)}a(cD,"deselectOptions");async function R0(e,t,r){if(!e&&!t.multiple)throw Le().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],i=Array.from(t.querySelectorAll('option, [role="option"]')),o=n.map(l=>{if(typeof l!="string"&&i.includes(l))return l;{let u=i.find(c=>c.value===l||c.innerHTML===l);if(u)return u;throw Le().getElementError(`Value "${String(l)}" not found in options`,t)}}).filter(l=>!vn(l));if(vn(t)||!o.length)return;let s=a(l=>{l.selected=e,this.dispatchUIEvent(t,"input",{bubbles:!0,cancelable:!1,composed:!0}),this.dispatchUIEvent(t,"change")},"selectOption");if(Ne(t,"select"))if(t.multiple)for(let l of o){let u=this.config.pointerEventsCheck===0?!0:kl(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")),Yn(t),u&&(this.dispatchUIEvent(l,"pointerup"),this.dispatchUIEvent(l,"mouseup")),s(l),u&&this.dispatchUIEvent(l,"click"),await No(this.config)}else if(o.length===1){let l=this.config.pointerEventsCheck===0?!0:kl(this,t);l?await this.click(t):Yn(t),s(o[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 No(this.config)}else throw Le().getElementError("Cannot select multiple options on a non-multiple select",t);else if(t.getAttribute("role")==="listbox")for(let l of o)await this.click(l),await this.unhover(l);else throw Le().getElementError("Cannot select options on elements that are neither select nor listbox elements",t)}a(R0,"selectOptionsBase");async function pD(e,t,{skipClick:r=this.config.skipClick,skipAutoClose:n=this.config.skipAutoClose,initialSelectionStart:i,initialSelectionEnd:o}={}){e.disabled||(r||await this.click(e),i!==void 0&&ps(e,i,o??i),await this.keyboard(t),n||await Zj(this))}a(pD,"type");var Kx=Symbol("files and value properties are mocked");function Ec(e,t,r){r?Object.defineProperty(e,t,r):delete e[t]}a(Ec,"restoreProperty");function dD(e,t){var r;(r=e[Kx])===null||r===void 0||r.restore();let n=Object.getOwnPropertyDescriptor(e,"type"),i=Object.getOwnPropertyDescriptor(e,"value"),o=Object.getOwnPropertyDescriptor(e,"files");function s(){Ec(e,"type",n),Ec(e,"value",i),Ec(e,"files",o)}a(s,"restore"),e[Kx]={restore:s},Object.defineProperties(e,{files:{configurable:!0,get:a(()=>t,"get")},value:{configurable:!0,get:a(()=>t.length?`C:\\fakepath\\${t[0].name}`:"","get"),set(l){if(l==="")s();else{var u;i==null||(u=i.set)===null||u===void 0||u.call(e,l)}}},type:{configurable:!0,get:a(()=>"file","get"),set(l){l!=="file"&&(s(),e.type=l)}}})}a(dD,"setFiles");async function fD(e,t){let r=Ne(e,"label")?e.control:e;if(!r||!Ne(r,"input",{type:"file"}))throw new TypeError(`The ${r===e?"given":"associated"} ${r?.tagName} element does not accept file uploads`);if(vn(e))return;let n=(Array.isArray(t)?t:[t]).filter(o=>!this.config.applyAccept||hD(o,r.accept)).slice(0,r.multiple?void 0:1),i=a(()=>{var o;n.length===((o=r.files)===null||o===void 0?void 0:o.length)&&n.every((s,l)=>{var u;return s===((u=r.files)===null||u===void 0?void 0:u.item(l))})||(dD(r,_f(Pr(e),n)),this.dispatchUIEvent(r,"input"),this.dispatchUIEvent(r,"change"))},"fileDialog");r.addEventListener("fileDialog",i),await this.click(e),r.removeEventListener("fileDialog",i)}a(fD,"upload");function Ba(e){return e.toLowerCase().replace(/(\.|\/)jpg\b/g,"$1jpeg")}a(Ba,"normalize");function hD(e,t){if(!t)return!0;let r=["audio/*","image/*","video/*"];return Ba(t).trim().split(/\s*,\s*/).some(n=>n.startsWith(".")?Ba(e.name).endsWith(n):r.includes(n)?Ba(e.type).startsWith(n.replace("*","")):Ba(e.type)===n)}a(hD,"isAcceptableFile");var Gx={click:Bj,dblClick:Uj,tripleClick:Vj,hover:Hj,unhover:Jj,tab:Wj,keyboard:Xj,copy:tD,cut:rD,paste:nD,pointer:oD,clear:lD,deselectOptions:cD,selectOptions:uD,type:pD,upload:fD};function mD(e){return Le().asyncWrapper(e)}a(mD,"wrapAsync");var yD={applyAccept:!0,autoModify:!0,delay:0,document:globalThis.document,keyboardMap:fX,pointerMap:hX,pointerEventsCheck:_c.EachApiCall,skipAutoClose:!1,skipClick:!1,skipHover:!1,writeToClipboard:!1,advanceTimers:a(()=>Promise.resolve(),"advanceTimers")},vX={...yD,writeToClipboard:!0};function N0(e={},t=vX,r){let n=_D(e,r,t);return{...t,...e,document:n}}a(N0,"createConfig");function gD(e={}){let t=N0(e);E0(t.document),_0(Pr(t.document).HTMLElement);var r;let n=(r=t.document.defaultView)!==null&&r!==void 0?r:globalThis.window;return wq(n),Cf(t).api}a(gD,"setupMain");function Wt({keyboardState:e,pointerState:t,...r}={},n){let i=N0(r,yD,n);E0(i.document),_0(Pr(i.document).HTMLElement);var o;let s=(o=t??e)!==null&&o!==void 0?o:new Fj;return{api:Cf(i,s).api,system:s}}a(Wt,"setupDirect");function bD(e){return Cf({...this.config,...e},this.system).api}a(bD,"setupSub");function vD(e,t){function r(...n){return ds(e,Er.Call),mD(()=>t.apply(e,n).then(async i=>(await No(e.config),i)))}return a(r,"method"),Object.defineProperty(r,"name",{get:a(()=>t.name,"get")}),r}a(vD,"wrapAndBindImpl");function Cf(e,t=new Fj){let r={};return Object.assign(r,{config:e,dispatchEvent:v0.bind(r),dispatchUIEvent:gj.bind(r),system:t,levelRefs:{},...Gx}),{instance:r,api:{...Object.fromEntries(Object.entries(Gx).map(([n,i])=>[n,vD(r,i)])),setup:bD.bind(r)}}}a(Cf,"createInstance");function _D(e,t,r){var n,i;return(i=(n=e.document)!==null&&n!==void 0?n:t&&wj(t))!==null&&i!==void 0?i:r.document}a(_D,"getDocument");var ED={};ar(ED,{clear:()=>wD,click:()=>xD,copy:()=>TD,cut:()=>SD,dblClick:()=>CD,deselectOptions:()=>OD,hover:()=>PD,keyboard:()=>AD,paste:()=>ND,pointer:()=>RD,selectOptions:()=>ID,tab:()=>DD,tripleClick:()=>kD,type:()=>MD,unhover:()=>qD,upload:()=>jD});function wD(e){return Wt().api.clear(e)}a(wD,"clear");function xD(e,t={}){return Wt(t,e).api.click(e)}a(xD,"click");function TD(e={}){return Wt(e).api.copy()}a(TD,"copy");function SD(e={}){return Wt(e).api.cut()}a(SD,"cut");function CD(e,t={}){return Wt(t).api.dblClick(e)}a(CD,"dblClick");function OD(e,t,r={}){return Wt(r).api.deselectOptions(e,t)}a(OD,"deselectOptions");function PD(e,t={}){return Wt(t).api.hover(e)}a(PD,"hover");async function AD(e,t={}){let{api:r,system:n}=Wt(t);return r.keyboard(e).then(()=>n)}a(AD,"keyboard");async function RD(e,t={}){let{api:r,system:n}=Wt(t);return r.pointer(e).then(()=>n)}a(RD,"pointer");function ND(e,t){return Wt(t).api.paste(e)}a(ND,"paste");function ID(e,t,r={}){return Wt(r).api.selectOptions(e,t)}a(ID,"selectOptions");function kD(e,t={}){return Wt(t).api.tripleClick(e)}a(kD,"tripleClick");function MD(e,t,r={}){return Wt(r,e).api.type(e,t,r)}a(MD,"type");function qD(e,t={}){let{api:r,system:n}=Wt(t);return n.pointer.setMousePosition({target:e}),r.unhover(e)}a(qD,"unhover");function jD(e,t,r={}){return Wt(r).api.upload(e,t)}a(jD,"upload");function DD(e={}){return Wt().api.tab(e)}a(DD,"tab");var LD={...ED,setup:gD},Xy=sa({...GI},{intercept:a((e,t)=>t[0]==="fireEvent"||e.startsWith("find")||e.startsWith("waitFor"),"intercept")});Xy.screen=new Proxy(Xy.screen,{get(e,t,r){return vt.warn(g9`
|
|
356
|
-
You are using Testing Library's \`screen\` object. Use \`within(canvasElement)\` instead.
|
|
357
|
-
More info: https://storybook.js.org/docs/essentials/interactions
|
|
358
|
-
`),Reflect.get(e,t,r)}});var{buildQueries:_X,configure:EX,createEvent:wX,fireEvent:xX,findAllByAltText:TX,findAllByDisplayValue:SX,findAllByLabelText:CX,findAllByPlaceholderText:OX,findAllByRole:PX,findAllByTestId:AX,findAllByText:RX,findAllByTitle:NX,findByAltText:IX,findByDisplayValue:kX,findByLabelText:MX,findByPlaceholderText:qX,findByRole:jX,findByTestId:DX,findByText:LX,findByTitle:$X,getAllByAltText:FX,getAllByDisplayValue:BX,getAllByLabelText:UX,getAllByPlaceholderText:VX,getAllByRole:HX,getAllByTestId:JX,getAllByText:WX,getAllByTitle:zX,getByAltText:KX,getByDisplayValue:GX,getByLabelText:YX,getByPlaceholderText:XX,getByRole:QX,getByTestId:ZX,getByText:eQ,getByTitle:tQ,getConfig:rQ,getDefaultNormalizer:nQ,getElementError:iQ,getNodeText:oQ,getQueriesForElement:sQ,getRoles:aQ,getSuggestedQuery:lQ,isInaccessible:uQ,logDOM:cQ,logRoles:pQ,prettyDOM:dQ,queries:fQ,queryAllByAltText:hQ,queryAllByAttribute:mQ,queryAllByDisplayValue:yQ,queryAllByLabelText:gQ,queryAllByPlaceholderText:bQ,queryAllByRole:vQ,queryAllByTestId:_Q,queryAllByText:EQ,queryAllByTitle:wQ,queryByAltText:xQ,queryByAttribute:TQ,queryByDisplayValue:SQ,queryByLabelText:CQ,queryByPlaceholderText:OQ,queryByRole:PQ,queryByTestId:AQ,queryByText:RQ,queryByTitle:NQ,queryHelpers:IQ,screen:kQ,waitFor:MQ,waitForElementToBeRemoved:qQ,within:$D,prettyFormat:jQ}=Xy,FD=LD,{userEvent:DQ}=sa({userEvent:LD},{intercept:!0}),{expect:LQ}=sa({expect:WI},{getKeys:a((e,t)=>{if("constructor"in e&&e.constructor===F){let r=["assert","__methods","__flags","_obj"],n=Object.keys(Object.getPrototypeOf(e)).filter(i=>!r.includes(i));return t>2?n:[...n,"not"]}return"any"in e?Object.keys(e).filter(r=>r!=="any"):Object.keys(e)},"getKeys"),mutate:!0,intercept:a(e=>e!=="expect","intercept")}),Yx=!1,$Q=a(e=>{let{parameters:t}=e;t?.actions?.disable||Yx||(P_((r,n)=>{let i=r.getMockName();i!=="spy"&&(!/^next\/.*::/.test(i)||["next/router::useRouter()","next/navigation::useRouter()","next/navigation::redirect","next/cache::","next/headers::cookies().set","next/headers::cookies().delete","next/headers::headers().set","next/headers::headers().delete"].some(o=>i.startsWith(o)))&&ya(i)(n)}),Yx=!0)},"logActionsWhenMockCalled"),FQ=[$Q],Xx=a(()=>({...xP,...SP}),"default"),Ep="backgrounds",BQ={light:{name:"light",value:"#F8F8F8"},dark:{name:"dark",value:"#333"}},{document:Gr}=globalThis,UQ=a(()=>globalThis?.matchMedia?!!globalThis.matchMedia("(prefers-reduced-motion: reduce)")?.matches:!1,"isReduceMotionEnabled"),Qx=a(e=>{(Array.isArray(e)?e:[e]).forEach(VQ)},"clearStyles"),VQ=a(e=>{if(!Gr)return;let t=Gr.getElementById(e);t&&t.parentElement&&t.parentElement.removeChild(t)},"clearStyle"),HQ=a((e,t)=>{if(!Gr)return;let r=Gr.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=Gr.createElement("style");n.setAttribute("id",e),n.innerHTML=t,Gr.head.appendChild(n)}},"addGridStyle"),JQ=a((e,t,r)=>{if(!Gr)return;let n=Gr.getElementById(e);if(n)n.innerHTML!==t&&(n.innerHTML=t);else{let i=Gr.createElement("style");i.setAttribute("id",e),i.innerHTML=t;let o=`addon-backgrounds-grid${r?`-docs-${r}`:""}`,s=Gr.getElementById(o);s?s.parentElement?.insertBefore(i,s):Gr.head.appendChild(i)}},"addBackgroundStyle"),WQ={cellSize:100,cellAmount:10,opacity:.8},Zx="addon-backgrounds",eT="addon-backgrounds-grid",zQ=UQ()?"":"transition: background-color 0.3s;",KQ=a((e,t)=>{let{globals:r={},parameters:n={},viewMode:i,id:o}=t,{options:s=BQ,disable:l,grid:u=WQ}=n[Ep]||{},c=r[Ep]||{},p=typeof c=="string"?c:c?.value,d=p?s[p]:void 0,f=typeof d=="string"?d:d?.value||"transparent",h=typeof c=="string"?!1:c.grid||!1,y=!!d&&!l,b=i==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",g=i==="docs"?`#anchor--${o} .docs-story`:".sb-show-main",m=n.layout===void 0||n.layout==="padded",v=i==="docs"?20:m?16:0,{cellAmount:S,cellSize:O,opacity:P,offsetX:x=v,offsetY:E=v}=u,_=i==="docs"?`${Zx}-docs-${o}`:`${Zx}-color`,C=i==="docs"?o:null;Mi(()=>{let A=`
|
|
359
|
-
${b} {
|
|
360
|
-
background: ${f} !important;
|
|
361
|
-
${zQ}
|
|
362
|
-
}`;if(!y){Qx(_);return}JQ(_,A,C)},[b,_,C,y,f]);let w=i==="docs"?`${eT}-docs-${o}`:`${eT}`;return Mi(()=>{if(!h){Qx(w);return}let A=[`${O*S}px ${O*S}px`,`${O*S}px ${O*S}px`,`${O}px ${O}px`,`${O}px ${O}px`].join(", "),I=`
|
|
363
|
-
${g} {
|
|
364
|
-
background-size: ${A} !important;
|
|
365
|
-
background-position: ${x}px ${E}px, ${x}px ${E}px, ${x}px ${E}px, ${x}px ${E}px !important;
|
|
366
|
-
background-blend-mode: difference !important;
|
|
367
|
-
background-image: linear-gradient(rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
368
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${P}) 1px, transparent 1px),
|
|
369
|
-
linear-gradient(rgba(130, 130, 130, ${P/2}) 1px, transparent 1px),
|
|
370
|
-
linear-gradient(90deg, rgba(130, 130, 130, ${P/2}) 1px, transparent 1px) !important;
|
|
371
|
-
}
|
|
372
|
-
`;HQ(w,I)},[S,O,g,w,h,x,E,P]),e()},"withBackgroundAndGrid"),GQ=globalThis.FEATURES?.backgrounds?[KQ]:[],YQ={[Ep]:{grid:{cellSize:20,opacity:.5,cellAmount:5},disable:!1}},XQ={[Ep]:{value:void 0,grid:!1}},tT=a(()=>({decorators:GQ,parameters:YQ,initialGlobals:XQ}),"default"),{step:QQ}=sa({step:a(async(e,t,r)=>t(r),"step")},{intercept:!0}),rT=a(()=>({parameters:{throwPlayFunctionExceptions:!1},runStep:QQ}),"default"),Of="storybook/highlight",ZQ=`${Of}/add`,eZ=`${Of}/remove`,tZ=`${Of}/reset`,rZ=`${Of}/scroll-into-view`,nT=2147483647,gi=28,iT={chevronLeft:["M9.10355 10.1464C9.29882 10.3417 9.29882 10.6583 9.10355 10.8536C8.90829 11.0488 8.59171 11.0488 8.39645 10.8536L4.89645 7.35355C4.70118 7.15829 4.70118 6.84171 4.89645 6.64645L8.39645 3.14645C8.59171 2.95118 8.90829 2.95118 9.10355 3.14645C9.29882 3.34171 9.29882 3.65829 9.10355 3.85355L5.95711 7L9.10355 10.1464Z"],chevronRight:["M4.89645 10.1464C4.70118 10.3417 4.70118 10.6583 4.89645 10.8536C5.09171 11.0488 5.40829 11.0488 5.60355 10.8536L9.10355 7.35355C9.29882 7.15829 9.29882 6.84171 9.10355 6.64645L5.60355 3.14645C5.40829 2.95118 5.09171 2.95118 4.89645 3.14645C4.70118 3.34171 4.70118 3.65829 4.89645 3.85355L8.04289 7L4.89645 10.1464Z"],info:["M7 5.5a.5.5 0 01.5.5v4a.5.5 0 01-1 0V6a.5.5 0 01.5-.5zM7 4.5A.75.75 0 107 3a.75.75 0 000 1.5z","M7 14A7 7 0 107 0a7 7 0 000 14zm0-1A6 6 0 107 1a6 6 0 000 12z"],shareAlt:["M2 1.004a1 1 0 00-1 1v10a1 1 0 001 1h10a1 1 0 001-1v-4.5a.5.5 0 00-1 0v4.5H2v-10h4.5a.5.5 0 000-1H2z","M7.354 7.357L12 2.711v1.793a.5.5 0 001 0v-3a.5.5 0 00-.5-.5h-3a.5.5 0 100 1h1.793L6.646 6.65a.5.5 0 10.708.707z"]},nZ="svg,path,rect,circle,line,polyline,polygon,ellipse,text".split(","),Pt=a((e,t={},r)=>{let n=nZ.includes(e)?document.createElementNS("http://www.w3.org/2000/svg",e):document.createElement(e);return Object.entries(t).forEach(([i,o])=>{/[A-Z]/.test(i)?(i==="onClick"&&(n.addEventListener("click",o),n.addEventListener("keydown",s=>{(s.key==="Enter"||s.key===" ")&&(s.preventDefault(),o())})),i==="onMouseEnter"&&n.addEventListener("mouseenter",o),i==="onMouseLeave"&&n.addEventListener("mouseleave",o)):n.setAttribute(i,o)}),r?.forEach(i=>{if(!(i==null||i===!1))try{n.appendChild(i)}catch{n.appendChild(document.createTextNode(String(i)))}}),n},"createElement"),Fu=a(e=>iT[e]&&Pt("svg",{width:"14",height:"14",viewBox:"0 0 14 14",xmlns:"http://www.w3.org/2000/svg"},iT[e].map(t=>Pt("path",{fill:"currentColor","fill-rule":"evenodd","clip-rule":"evenodd",d:t}))),"createIcon"),iZ=a(e=>{if("elements"in e){let{elements:n,color:i,style:o}=e;return{id:void 0,priority:0,selectors:n,styles:{outline:`2px ${o} ${i}`,outlineOffset:"2px",boxShadow:"0 0 0 6px rgba(255,255,255,0.6)"},menu:void 0}}let{menu:t,...r}=e;return{id:void 0,priority:0,styles:{outline:"2px dashed #029cfd"},...r,menu:Array.isArray(t)?t.every(Array.isArray)?t:[t]:void 0}},"normalizeOptions"),oZ=a(e=>e instanceof Function,"isFunction"),Pa=new Map,Zi=new Map,Bu=new Map,An=a(e=>{let t=Symbol();return Zi.set(t,[]),Pa.set(t,e),{get:a(()=>Pa.get(t),"get"),set:a(r=>{let n=Pa.get(t),i=oZ(r)?r(n):r;i!==n&&(Pa.set(t,i),Zi.get(t)?.forEach(o=>{Bu.get(o)?.(),Bu.set(o,o(i))}))},"set"),subscribe:a(r=>(Zi.get(t)?.push(r),()=>{let n=Zi.get(t);n&&Zi.set(t,n.filter(i=>i!==r))}),"subscribe"),teardown:a(()=>{Zi.get(t)?.forEach(r=>{Bu.get(r)?.(),Bu.delete(r)}),Zi.delete(t),Pa.delete(t)},"teardown")}},"useStore"),oT=a(e=>{let t=document.getElementById("storybook-root"),r=new Map;for(let n of e){let{priority:i=0}=n;for(let o of n.selectors){let s=[...document.querySelectorAll(`:is(${o}):not([id^="storybook-"], [id^="storybook-"] *, [class^="sb-"], [class^="sb-"] *)`),...t?.querySelectorAll(o)||[]];for(let l of s){let u=r.get(l);(!u||u.priority<=i)&&r.set(l,{...n,priority:i,selectors:Array.from(new Set((u?.selectors||[]).concat(o)))})}}}return r},"mapElements"),sZ=a(e=>Array.from(e.entries()).map(([t,{selectors:r,styles:n,hoverStyles:i,focusStyles:o,menu:s}])=>{let{top:l,left:u,width:c,height:p}=t.getBoundingClientRect(),{position:d}=getComputedStyle(t);return{element:t,selectors:r,styles:n,hoverStyles:i,focusStyles:o,menu:s,top:d==="fixed"?l:l+window.scrollY,left:d==="fixed"?u:u+window.scrollX,width:c,height:p}}).sort((t,r)=>r.width*r.height-t.width*t.height),"mapBoxes"),sT=a((e,t)=>{let r=e.getBoundingClientRect(),{x:n,y:i}=t;return r?.top&&r?.left&&n>=r.left&&n<=r.left+r.width&&i>=r.top&&i<=r.top+r.height},"isOverMenu"),aT=a((e,t,r)=>{if(!t||!r)return!1;let{left:n,top:i,width:o,height:s}=e;s<gi&&(i=i-Math.round((gi-s)/2),s=gi),o<gi&&(n=n-Math.round((gi-o)/2),o=gi),t.style.position==="fixed"&&(n+=window.scrollX,i+=window.scrollY);let{x:l,y:u}=r;return l>=n&&l<=n+o&&u>=i&&u<=i+s},"isTargeted"),aZ=a((e,t,r={})=>{let{x:n,y:i}=t,{margin:o=5,topOffset:s=0,centered:l=!1}=r,{scrollX:u,scrollY:c,innerHeight:p,innerWidth:d}=window,f=Math.min(e.style.position==="fixed"?i-c:i,p-e.clientHeight-o-s+c),h=l?e.clientWidth/2:0,y=e.style.position==="fixed"?Math.max(Math.min(n-u,d-h-o),h+o):Math.max(Math.min(n,d-h-o+u),h+o+u);Object.assign(e.style,{...y!==n&&{left:`${y}px`},...f!==i&&{top:`${f}px`}})},"keepInViewport"),lT=a(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.showPopover()},"showPopover"),lZ=a(e=>{window.HTMLElement.prototype.hasOwnProperty("showPopover")&&e.hidePopover()},"hidePopover"),uZ=a(e=>({top:e.top,left:e.left,width:e.width,height:e.height,selectors:e.selectors,element:{attributes:Object.fromEntries(Array.from(e.element.attributes).map(t=>[t.name,t.value])),localName:e.element.localName,tagName:e.element.tagName,outerHTML:e.element.outerHTML}}),"getEventDetails"),rt="storybook-highlights-menu",uT="storybook-highlights-root",cZ="storybook-root",pZ=a(e=>{if(globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED)return;globalThis.__STORYBOOK_HIGHLIGHT_INITIALIZED=!0;let{document:t}=globalThis,r=An([]),n=An(new Map),i=An([]),o=An(),s=An(),l=An([]),u=An([]),c=An(),p=An(),d=t.getElementById(uT);r.subscribe(()=>{d||(d=Pt("div",{id:uT}),t.body.appendChild(d))}),r.subscribe(E=>{let _=t.getElementById(cZ);if(!_)return;n.set(oT(E));let C=new MutationObserver(()=>n.set(oT(E)));return C.observe(_,{subtree:!0,childList:!0}),()=>{C.disconnect()}}),n.subscribe(E=>{let _=a(()=>requestAnimationFrame(()=>i.set(sZ(E))),"updateBoxes"),C=new ResizeObserver(_);C.observe(t.body),Array.from(E.keys()).forEach(A=>C.observe(A));let w=Array.from(t.body.querySelectorAll("*")).filter(A=>{let{overflow:I,overflowX:j,overflowY:R}=window.getComputedStyle(A);return["auto","scroll"].some(q=>[I,j,R].includes(q))});return w.forEach(A=>A.addEventListener("scroll",_)),()=>{C.disconnect(),w.forEach(A=>A.removeEventListener("scroll",_))}}),n.subscribe(E=>{let _=Array.from(E.keys()).filter(({style:w})=>w.position==="sticky"),C=a(()=>requestAnimationFrame(()=>{i.set(w=>w.map(A=>{if(_.includes(A.element)){let{top:I,left:j}=A.element.getBoundingClientRect();return{...A,top:I+window.scrollY,left:j+window.scrollX}}return A}))}),"updateBoxes");return t.addEventListener("scroll",C),()=>t.removeEventListener("scroll",C)}),n.subscribe(E=>{l.set(_=>_.filter(({element:C})=>E.has(C)))}),l.subscribe(E=>{E.length?(p.set(_=>E.some(C=>C.element===_?.element)?_:void 0),c.set(_=>E.some(C=>C.element===_?.element)?_:void 0)):(p.set(void 0),c.set(void 0),o.set(void 0))});let f=new Map(new Map);r.subscribe(E=>{E.forEach(({keyframes:_})=>{if(_){let C=f.get(_);C||(C=t.createElement("style"),C.setAttribute("data-highlight","keyframes"),f.set(_,C),t.head.appendChild(C)),C.innerHTML=_}}),f.forEach((_,C)=>{E.some(w=>w.keyframes===C)||(_.remove(),f.delete(C))})});let h=new Map(new Map);i.subscribe(E=>{E.forEach(_=>{let C=h.get(_.element);if(d&&!C){let w={popover:"manual","data-highlight-dimensions":`w${_.width.toFixed(0)}h${_.height.toFixed(0)}`,"data-highlight-coordinates":`x${_.left.toFixed(0)}y${_.top.toFixed(0)}`};C=d.appendChild(Pt("div",w,[Pt("div")])),h.set(_.element,C)}}),h.forEach((_,C)=>{E.some(({element:w})=>w===C)||(_.remove(),h.delete(C))})}),i.subscribe(E=>{let _=E.filter(w=>w.menu);if(!_.length)return;let C=a(w=>{requestAnimationFrame(()=>{let A=t.getElementById(rt),I={x:w.pageX,y:w.pageY};if(A&&!sT(A,I)){let j=_.filter(R=>{let q=h.get(R.element);return aT(R,q,I)});o.set(j.length?I:void 0),l.set(j)}})},"onClick");return t.addEventListener("click",C),()=>t.removeEventListener("click",C)});let y=a(()=>{let E=t.getElementById(rt),_=s.get();!_||E&&sT(E,_)||u.set(C=>{let w=i.get().filter(R=>{let q=h.get(R.element);return aT(R,q,_)}),A=C.filter(R=>w.includes(R)),I=w.filter(R=>!C.includes(R)),j=C.length-A.length;return I.length||j?[...A,...I]:C})},"updateHovered");s.subscribe(y),i.subscribe(y);let b=a(()=>{let E=p.get(),_=E?[E]:l.get(),C=_.length===1?_[0]:c.get(),w=o.get()!==void 0;i.get().forEach(A=>{let I=h.get(A.element);if(I){let j=C===A,R=w?C?j:_.includes(A):u.get()?.includes(A);Object.assign(I.style,{animation:"none",background:"transparent",border:"none",boxSizing:"border-box",outline:"none",outlineOffset:"0px",...A.styles,...R?A.hoverStyles:{},...j?A.focusStyles:{},position:getComputedStyle(A.element).position==="fixed"?"fixed":"absolute",zIndex:nT-10,top:`${A.top}px`,left:`${A.left}px`,width:`${A.width}px`,height:`${A.height}px`,margin:0,padding:0,cursor:A.menu&&R?"pointer":"default",pointerEvents:A.menu?"auto":"none",display:"flex",alignItems:"center",justifyContent:"center",overflow:"visible"}),Object.assign(I.children[0].style,{width:"100%",height:"100%",minHeight:`${gi}px`,minWidth:`${gi}px`,boxSizing:"content-box",padding:I.style.outlineWidth||"0px"}),lT(I)}})},"updateBoxStyles");i.subscribe(b),l.subscribe(b),u.subscribe(b),c.subscribe(b),p.subscribe(b);let g=a(()=>{if(!d)return;let E=t.getElementById(rt);if(E)E.innerHTML="";else{let A={id:rt,popover:"manual"};E=d.appendChild(Pt("div",A)),d.appendChild(Pt("style",{},[`
|
|
373
|
-
#${rt} {
|
|
374
|
-
position: absolute;
|
|
375
|
-
z-index: ${nT};
|
|
376
|
-
width: 300px;
|
|
377
|
-
padding: 0px;
|
|
378
|
-
margin: 15px 0 0 0;
|
|
379
|
-
transform: translateX(-50%);
|
|
380
|
-
font-family: "Nunito Sans", -apple-system, ".SFNSText-Regular", "San Francisco", BlinkMacSystemFont, "Segoe UI", "Helvetica Neue", Helvetica, Arial, sans-serif;
|
|
381
|
-
font-size: 12px;
|
|
382
|
-
background: white;
|
|
383
|
-
border: none;
|
|
384
|
-
border-radius: 6px;
|
|
385
|
-
box-shadow: 0 2px 5px 0 rgba(0, 0, 0, 0.05), 0 5px 15px 0 rgba(0, 0, 0, 0.1);
|
|
386
|
-
color: #2E3438;
|
|
387
|
-
}
|
|
388
|
-
#${rt} ul {
|
|
389
|
-
list-style: none;
|
|
390
|
-
margin: 0;
|
|
391
|
-
padding: 0;
|
|
392
|
-
}
|
|
393
|
-
#${rt} > ul {
|
|
394
|
-
max-height: 300px;
|
|
395
|
-
overflow-y: auto;
|
|
396
|
-
padding: 4px 0;
|
|
397
|
-
}
|
|
398
|
-
#${rt} li {
|
|
399
|
-
padding: 0 4px;
|
|
400
|
-
margin: 0;
|
|
401
|
-
}
|
|
402
|
-
#${rt} li > :not(ul) {
|
|
403
|
-
display: flex;
|
|
404
|
-
padding: 8px;
|
|
405
|
-
margin: 0;
|
|
406
|
-
align-items: center;
|
|
407
|
-
gap: 8px;
|
|
408
|
-
border-radius: 4px;
|
|
409
|
-
}
|
|
410
|
-
#${rt} button {
|
|
411
|
-
width: 100%;
|
|
412
|
-
border: 0;
|
|
413
|
-
background: transparent;
|
|
414
|
-
color: inherit;
|
|
415
|
-
text-align: left;
|
|
416
|
-
font-family: inherit;
|
|
417
|
-
font-size: inherit;
|
|
418
|
-
}
|
|
419
|
-
#${rt} button:focus-visible {
|
|
420
|
-
outline-color: #029CFD;
|
|
421
|
-
}
|
|
422
|
-
#${rt} button:hover {
|
|
423
|
-
background: rgba(2, 156, 253, 0.07);
|
|
424
|
-
color: #029CFD;
|
|
425
|
-
cursor: pointer;
|
|
426
|
-
}
|
|
427
|
-
#${rt} li code {
|
|
428
|
-
white-space: nowrap;
|
|
429
|
-
overflow: hidden;
|
|
430
|
-
text-overflow: ellipsis;
|
|
431
|
-
line-height: 16px;
|
|
432
|
-
font-size: 11px;
|
|
433
|
-
}
|
|
434
|
-
#${rt} li svg {
|
|
435
|
-
flex-shrink: 0;
|
|
436
|
-
margin: 1px;
|
|
437
|
-
color: #73828C;
|
|
438
|
-
}
|
|
439
|
-
#${rt} li > button:hover svg, #${rt} li > button:focus-visible svg {
|
|
440
|
-
color: #029CFD;
|
|
441
|
-
}
|
|
442
|
-
#${rt} .element-list li svg {
|
|
443
|
-
display: none;
|
|
444
|
-
}
|
|
445
|
-
#${rt} li.selectable svg, #${rt} li.selected svg {
|
|
446
|
-
display: block;
|
|
447
|
-
}
|
|
448
|
-
#${rt} .menu-list {
|
|
449
|
-
border-top: 1px solid rgba(38, 85, 115, 0.15);
|
|
450
|
-
}
|
|
451
|
-
#${rt} .menu-list > li:not(:last-child) {
|
|
452
|
-
padding-bottom: 4px;
|
|
453
|
-
margin-bottom: 4px;
|
|
454
|
-
border-bottom: 1px solid rgba(38, 85, 115, 0.15);
|
|
455
|
-
}
|
|
456
|
-
#${rt} .menu-items, #${rt} .menu-items li {
|
|
457
|
-
padding: 0;
|
|
458
|
-
}
|
|
459
|
-
#${rt} .menu-item {
|
|
460
|
-
display: flex;
|
|
461
|
-
}
|
|
462
|
-
#${rt} .menu-item-content {
|
|
463
|
-
display: flex;
|
|
464
|
-
flex-direction: column;
|
|
465
|
-
flex-grow: 1;
|
|
466
|
-
}
|
|
467
|
-
`]))}let _=p.get(),C=_?[_]:l.get();if(C.length&&(E.style.position=getComputedStyle(C[0].element).position==="fixed"?"fixed":"absolute",E.appendChild(Pt("ul",{class:"element-list"},C.map(A=>{let I=C.length>1&&!!A.menu?.some(q=>q.some(M=>!M.selectors||M.selectors.some(K=>A.selectors.includes(K)))),j=I?{class:"selectable",onClick:a(()=>p.set(A),"onClick"),onMouseEnter:a(()=>c.set(A),"onMouseEnter"),onMouseLeave:a(()=>c.set(void 0),"onMouseLeave")}:_?{class:"selected",onClick:a(()=>p.set(void 0),"onClick")}:{},R=I||_;return Pt("li",j,[Pt(R?"button":"div",R?{type:"button"}:{},[_?Fu("chevronLeft"):null,Pt("code",{},[A.element.outerHTML]),I?Fu("chevronRight"):null])])})))),p.get()||l.get().length===1){let A=p.get()||l.get()[0],I=A.menu?.filter(j=>j.some(R=>!R.selectors||R.selectors.some(q=>A.selectors.includes(q))));I?.length&&E.appendChild(Pt("ul",{class:"menu-list"},I.map(j=>Pt("li",{},[Pt("ul",{class:"menu-items"},j.map(({id:R,title:q,description:M,iconLeft:K,iconRight:J,clickEvent:oe})=>{let ye=oe&&(()=>e.emit(oe,R,uZ(A)));return Pt("li",{},[Pt(ye?"button":"div",ye?{class:"menu-item",type:"button",onClick:ye}:{class:"menu-item"},[K?Fu(K):null,Pt("div",{class:"menu-item-content"},[Pt(M?"strong":"span",{},[q]),M&&Pt("span",{},[M])]),J?Fu(J):null])])}))]))))}let w=o.get();w?(Object.assign(E.style,{display:"block",left:`${E.style.position==="fixed"?w.x-window.scrollX:w.x}px`,top:`${E.style.position==="fixed"?w.y-window.scrollY:w.y}px`}),lT(E),requestAnimationFrame(()=>aZ(E,w,{topOffset:15,centered:!0}))):(lZ(E),Object.assign(E.style,{display:"none"}))},"renderMenu");l.subscribe(g),p.subscribe(g);let m=a(E=>{let _=iZ(E);r.set(C=>{let w=_.id?C.filter(A=>A.id!==_.id):C;return _.selectors?.length?[...w,_]:w})},"addHighlight"),v=a(E=>{E&&r.set(_=>_.filter(C=>C.id!==E))},"removeHighlight"),S=a(()=>{r.set([]),n.set(new Map),i.set([]),o.set(void 0),s.set(void 0),l.set([]),u.set([]),c.set(void 0),p.set(void 0)},"resetState"),O,P=a((E,_)=>{let C="scrollIntoView-highlight";clearTimeout(O),v(C);let w=t.querySelector(E);if(!w){console.warn(`Cannot scroll into view: ${E} not found`);return}w.scrollIntoView({behavior:"smooth",block:"center",..._});let A=`kf-${Math.random().toString(36).substring(2,15)}`;r.set(I=>[...I,{id:C,priority:1e3,selectors:[E],styles:{outline:"2px solid #1EA7FD",outlineOffset:"-1px",animation:`${A} 3s linear forwards`},keyframes:`@keyframes ${A} {
|
|
468
|
-
0% { outline: 2px solid #1EA7FD; }
|
|
469
|
-
20% { outline: 2px solid #1EA7FD00; }
|
|
470
|
-
40% { outline: 2px solid #1EA7FD; }
|
|
471
|
-
60% { outline: 2px solid #1EA7FD00; }
|
|
472
|
-
80% { outline: 2px solid #1EA7FD; }
|
|
473
|
-
100% { outline: 2px solid #1EA7FD00; }
|
|
474
|
-
}`}]),O=setTimeout(()=>v(C),3500)},"scrollIntoView"),x=a(E=>{requestAnimationFrame(()=>s.set({x:E.pageX,y:E.pageY}))},"onMouseMove");t.body.addEventListener("mousemove",x),e.on(ZQ,m),e.on(eZ,v),e.on(tZ,S),e.on(rZ,P),e.on(xo,({newPhase:E})=>{E==="loading"&&S()})},"useHighlights");globalThis?.FEATURES?.highlight&&Br?.ready&&Br.ready().then(pZ);var cT=a(()=>({}),"default"),dZ="measureEnabled";function I0(){let e=he.document.documentElement,t=Math.max(e.scrollHeight,e.offsetHeight);return{width:Math.max(e.scrollWidth,e.offsetWidth),height:t}}a(I0,"getDocumentWidthAndHeight");function BD(){let e=he.document.createElement("canvas");e.id="storybook-addon-measure";let t=e.getContext("2d");yn(t!=null);let{width:r,height:n}=I0();return wp(e,t,{width:r,height:n}),e.style.position="absolute",e.style.left="0",e.style.top="0",e.style.zIndex="2147483647",e.style.pointerEvents="none",he.document.body.appendChild(e),{canvas:e,context:t,width:r,height:n}}a(BD,"createCanvas");function wp(e,t,{width:r,height:n}){e.style.width=`${r}px`,e.style.height=`${n}px`;let i=he.window.devicePixelRatio;e.width=Math.floor(r*i),e.height=Math.floor(n*i),t.scale(i,i)}a(wp,"setCanvasWidthAndHeight");var Rt={};function UD(){Rt.canvas||(Rt=BD())}a(UD,"init");function k0(){Rt.context&&Rt.context.clearRect(0,0,Rt.width??0,Rt.height??0)}a(k0,"clear");function VD(e){k0(),e(Rt.context)}a(VD,"draw");function HD(){yn(Rt.canvas),yn(Rt.context),wp(Rt.canvas,Rt.context,{width:0,height:0});let{width:e,height:t}=I0();wp(Rt.canvas,Rt.context,{width:e,height:t}),Rt.width=e,Rt.height=t}a(HD,"rescale");function JD(){Rt.canvas&&(k0(),Rt.canvas.parentNode?.removeChild(Rt.canvas),Rt={})}a(JD,"destroy");var Yo={margin:"#f6b26b",border:"#ffe599",padding:"#93c47d",content:"#6fa8dc",text:"#232020"},Jn=6;function Qy(e,{x:t,y:r,w:n,h:i,r:o}){t=t-n/2,r=r-i/2,n<2*o&&(o=n/2),i<2*o&&(o=i/2),e.beginPath(),e.moveTo(t+o,r),e.arcTo(t+n,r,t+n,r+i,o),e.arcTo(t+n,r+i,t,r+i,o),e.arcTo(t,r+i,t,r,o),e.arcTo(t,r,t+n,r,o),e.closePath()}a(Qy,"roundedRect");function WD(e,{padding:t,border:r,width:n,height:i,top:o,left:s}){let l=n-r.left-r.right-t.left-t.right,u=i-t.top-t.bottom-r.top-r.bottom,c=s+r.left+t.left,p=o+r.top+t.top;return e==="top"?c+=l/2:e==="right"?(c+=l,p+=u/2):e==="bottom"?(c+=l/2,p+=u):e==="left"?p+=u/2:e==="center"&&(c+=l/2,p+=u/2),{x:c,y:p}}a(WD,"positionCoordinate");function zD(e,t,{margin:r,border:n,padding:i},o,s){let l=a(f=>0,"shift"),u=0,c=0,p=s?1:.5,d=s?o*2:0;return e==="padding"?l=a(f=>i[f]*p+d,"shift"):e==="border"?l=a(f=>i[f]+n[f]*p+d,"shift"):e==="margin"&&(l=a(f=>i[f]+n[f]+r[f]*p+d,"shift")),t==="top"?c=-l("top"):t==="right"?u=l("right"):t==="bottom"?c=l("bottom"):t==="left"&&(u=-l("left")),{offsetX:u,offsetY:c}}a(zD,"offset");function KD(e,t){return Math.abs(e.x-t.x)<Math.abs(e.w+t.w)/2&&Math.abs(e.y-t.y)<Math.abs(e.h+t.h)/2}a(KD,"collide");function GD(e,t,r){return e==="top"?t.y=r.y-r.h-Jn:e==="right"?t.x=r.x+r.w/2+Jn+t.w/2:e==="bottom"?t.y=r.y+r.h+Jn:e==="left"&&(t.x=r.x-r.w/2-Jn-t.w/2),{x:t.x,y:t.y}}a(GD,"overlapAdjustment");function M0(e,t,{x:r,y:n,w:i,h:o},s){return Qy(e,{x:r,y:n,w:i,h:o,r:3}),e.fillStyle=`${Yo[t]}dd`,e.fill(),e.strokeStyle=Yo[t],e.stroke(),e.fillStyle=Yo.text,e.fillText(s,r,n),Qy(e,{x:r,y:n,w:i,h:o,r:3}),e.fillStyle=`${Yo[t]}dd`,e.fill(),e.strokeStyle=Yo[t],e.stroke(),e.fillStyle=Yo.text,e.fillText(s,r,n),{x:r,y:n,w:i,h:o}}a(M0,"textWithRect");function q0(e,t){e.font="600 12px monospace",e.textBaseline="middle",e.textAlign="center";let r=e.measureText(t),n=r.actualBoundingBoxAscent+r.actualBoundingBoxDescent,i=r.width+Jn*2,o=n+Jn*2;return{w:i,h:o}}a(q0,"configureText");function YD(e,t,{type:r,position:n="center",text:i},o,s=!1){let{x:l,y:u}=WD(n,t),{offsetX:c,offsetY:p}=zD(r,n,t,Jn+1,s);l+=c,u+=p;let{w:d,h:f}=q0(e,i);if(o&&KD({x:l,y:u,w:d,h:f},o)){let h=GD(n,{x:l,y:u,w:d},o);l=h.x,u=h.y}return M0(e,r,{x:l,y:u,w:d,h:f},i)}a(YD,"drawLabel");function XD(e,{w:t,h:r}){let n=t*.5+Jn,i=r*.5+Jn;return{offsetX:(e.x==="left"?-1:1)*n,offsetY:(e.y==="top"?-1:1)*i}}a(XD,"floatingOffset");function QD(e,t,{type:r,text:n}){let{floatingAlignment:i,extremities:o}=t,s=o[i.x],l=o[i.y],{w:u,h:c}=q0(e,n),{offsetX:p,offsetY:d}=XD(i,{w:u,h:c});return s+=p,l+=d,M0(e,r,{x:s,y:l,w:u,h:c},n)}a(QD,"drawFloatingLabel");function ns(e,t,r,n){let i=[];r.forEach((o,s)=>{let l=n&&o.position==="center"?QD(e,t,o):YD(e,t,o,i[s-1],n);i[s]=l})}a(ns,"drawStack");function ZD(e,t,r,n){let i=r.reduce((o,s)=>(Object.prototype.hasOwnProperty.call(o,s.position)||(o[s.position]=[]),o[s.position]?.push(s),o),{});i.top&&ns(e,t,i.top,n),i.right&&ns(e,t,i.right,n),i.bottom&&ns(e,t,i.bottom,n),i.left&&ns(e,t,i.left,n),i.center&&ns(e,t,i.center,n)}a(ZD,"labelStacks");var Pf={margin:"#f6b26ba8",border:"#ffe599a8",padding:"#93c47d8c",content:"#6fa8dca8"},pT=30;function br(e){return parseInt(e.replace("px",""),10)}a(br,"pxToNumber");function ao(e){return Number.isInteger(e)?e:e.toFixed(2)}a(ao,"round");function Af(e){return e.filter(t=>t.text!==0&&t.text!=="0")}a(Af,"filterZeroValues");function eL(e){let t={top:he.window.scrollY,bottom:he.window.scrollY+he.window.innerHeight,left:he.window.scrollX,right:he.window.scrollX+he.window.innerWidth},r={top:Math.abs(t.top-e.top),bottom:Math.abs(t.bottom-e.bottom),left:Math.abs(t.left-e.left),right:Math.abs(t.right-e.right)};return{x:r.left>r.right?"left":"right",y:r.top>r.bottom?"top":"bottom"}}a(eL,"floatingAlignment");function tL(e){let t=he.getComputedStyle(e),{top:r,left:n,right:i,bottom:o,width:s,height:l}=e.getBoundingClientRect(),{marginTop:u,marginBottom:c,marginLeft:p,marginRight:d,paddingTop:f,paddingBottom:h,paddingLeft:y,paddingRight:b,borderBottomWidth:g,borderTopWidth:m,borderLeftWidth:v,borderRightWidth:S}=t;r=r+he.window.scrollY,n=n+he.window.scrollX,o=o+he.window.scrollY,i=i+he.window.scrollX;let O={top:br(u),bottom:br(c),left:br(p),right:br(d)},P={top:br(f),bottom:br(h),left:br(y),right:br(b)},x={top:br(m),bottom:br(g),left:br(v),right:br(S)},E={top:r-O.top,bottom:o+O.bottom,left:n-O.left,right:i+O.right};return{margin:O,padding:P,border:x,top:r,left:n,bottom:o,right:i,width:s,height:l,extremities:E,floatingAlignment:eL(E)}}a(tL,"measureElement");function rL(e,{margin:t,width:r,height:n,top:i,left:o,bottom:s,right:l}){let u=n+t.bottom+t.top;e.fillStyle=Pf.margin,e.fillRect(o,i-t.top,r,t.top),e.fillRect(l,i-t.top,t.right,u),e.fillRect(o,s,r,t.bottom),e.fillRect(o-t.left,i-t.top,t.left,u);let c=[{type:"margin",text:ao(t.top),position:"top"},{type:"margin",text:ao(t.right),position:"right"},{type:"margin",text:ao(t.bottom),position:"bottom"},{type:"margin",text:ao(t.left),position:"left"}];return Af(c)}a(rL,"drawMargin");function nL(e,{padding:t,border:r,width:n,height:i,top:o,left:s,bottom:l,right:u}){let c=n-r.left-r.right,p=i-t.top-t.bottom-r.top-r.bottom;e.fillStyle=Pf.padding,e.fillRect(s+r.left,o+r.top,c,t.top),e.fillRect(u-t.right-r.right,o+t.top+r.top,t.right,p),e.fillRect(s+r.left,l-t.bottom-r.bottom,c,t.bottom),e.fillRect(s+r.left,o+t.top+r.top,t.left,p);let d=[{type:"padding",text:t.top,position:"top"},{type:"padding",text:t.right,position:"right"},{type:"padding",text:t.bottom,position:"bottom"},{type:"padding",text:t.left,position:"left"}];return Af(d)}a(nL,"drawPadding");function iL(e,{border:t,width:r,height:n,top:i,left:o,bottom:s,right:l}){let u=n-t.top-t.bottom;e.fillStyle=Pf.border,e.fillRect(o,i,r,t.top),e.fillRect(o,s-t.bottom,r,t.bottom),e.fillRect(o,i+t.top,t.left,u),e.fillRect(l-t.right,i+t.top,t.right,u);let c=[{type:"border",text:t.top,position:"top"},{type:"border",text:t.right,position:"right"},{type:"border",text:t.bottom,position:"bottom"},{type:"border",text:t.left,position:"left"}];return Af(c)}a(iL,"drawBorder");function oL(e,{padding:t,border:r,width:n,height:i,top:o,left:s}){let l=n-r.left-r.right-t.left-t.right,u=i-t.top-t.bottom-r.top-r.bottom;return e.fillStyle=Pf.content,e.fillRect(s+r.left+t.left,o+r.top+t.top,l,u),[{type:"content",position:"center",text:`${ao(l)} x ${ao(u)}`}]}a(oL,"drawContent");function sL(e){return t=>{if(e&&t){let r=tL(e),n=rL(t,r),i=nL(t,r),o=iL(t,r),s=oL(t,r),l=r.width<=pT*3||r.height<=pT;ZD(t,r,[...s,...i,...o,...n],l)}}}a(sL,"drawBoxModel");function aL(e){VD(sL(e))}a(aL,"drawSelectedElement");var fZ=a((e,t)=>{let r=he.document.elementFromPoint(e,t),n=a(i=>{if(i&&i.shadowRoot){let o=i.shadowRoot.elementFromPoint(e,t);return i.isEqualNode(o)?i:o.shadowRoot?n(o):o}return i},"crawlShadows");return n(r)||r},"deepElementFromPoint"),dT,Uu={x:0,y:0};function Zy(e,t){dT=fZ(e,t),aL(dT)}a(Zy,"findAndDrawElement");var hZ=a((e,t)=>{let{measureEnabled:r}=t.globals||{};return Mi(()=>{if(typeof globalThis.document>"u")return;let n=a(i=>{window.requestAnimationFrame(()=>{i.stopPropagation(),Uu.x=i.clientX,Uu.y=i.clientY})},"onPointerMove");return globalThis.document.addEventListener("pointermove",n),()=>{globalThis.document.removeEventListener("pointermove",n)}},[]),Mi(()=>{let n=a(o=>{window.requestAnimationFrame(()=>{o.stopPropagation(),Zy(o.clientX,o.clientY)})},"onPointerOver"),i=a(()=>{window.requestAnimationFrame(()=>{HD()})},"onResize");return t.viewMode==="story"&&r&&(globalThis.document.addEventListener("pointerover",n),UD(),globalThis.window.addEventListener("resize",i),Zy(Uu.x,Uu.y)),()=>{globalThis.window.removeEventListener("resize",i),JD()}},[r,t.viewMode]),e()},"withMeasure"),mZ=globalThis.FEATURES?.measure?[hZ]:[],yZ={[dZ]:!1},fT=a(()=>({decorators:mZ,initialGlobals:yZ}),"default"),lL="outline",hT=a(e=>{(Array.isArray(e)?e:[e]).forEach(gZ)},"clearStyles"),gZ=a(e=>{let t=typeof e=="string"?e:e.join(""),r=he.document.getElementById(t);r&&r.parentElement&&r.parentElement.removeChild(r)},"clearStyle"),bZ=a((e,t)=>{let r=he.document.getElementById(e);if(r)r.innerHTML!==t&&(r.innerHTML=t);else{let n=he.document.createElement("style");n.setAttribute("id",e),n.innerHTML=t,he.document.head.appendChild(n)}},"addOutlineStyles");function uL(e){return ke`
|
|
475
|
-
${e} body {
|
|
476
|
-
outline: 1px solid #2980b9 !important;
|
|
477
|
-
}
|
|
478
|
-
|
|
479
|
-
${e} article {
|
|
480
|
-
outline: 1px solid #3498db !important;
|
|
481
|
-
}
|
|
482
|
-
|
|
483
|
-
${e} nav {
|
|
484
|
-
outline: 1px solid #0088c3 !important;
|
|
485
|
-
}
|
|
486
|
-
|
|
487
|
-
${e} aside {
|
|
488
|
-
outline: 1px solid #33a0ce !important;
|
|
489
|
-
}
|
|
490
|
-
|
|
491
|
-
${e} section {
|
|
492
|
-
outline: 1px solid #66b8da !important;
|
|
493
|
-
}
|
|
494
|
-
|
|
495
|
-
${e} header {
|
|
496
|
-
outline: 1px solid #99cfe7 !important;
|
|
497
|
-
}
|
|
498
|
-
|
|
499
|
-
${e} footer {
|
|
500
|
-
outline: 1px solid #cce7f3 !important;
|
|
501
|
-
}
|
|
502
|
-
|
|
503
|
-
${e} h1 {
|
|
504
|
-
outline: 1px solid #162544 !important;
|
|
505
|
-
}
|
|
506
|
-
|
|
507
|
-
${e} h2 {
|
|
508
|
-
outline: 1px solid #314e6e !important;
|
|
509
|
-
}
|
|
510
|
-
|
|
511
|
-
${e} h3 {
|
|
512
|
-
outline: 1px solid #3e5e85 !important;
|
|
513
|
-
}
|
|
514
|
-
|
|
515
|
-
${e} h4 {
|
|
516
|
-
outline: 1px solid #449baf !important;
|
|
517
|
-
}
|
|
518
|
-
|
|
519
|
-
${e} h5 {
|
|
520
|
-
outline: 1px solid #c7d1cb !important;
|
|
521
|
-
}
|
|
522
|
-
|
|
523
|
-
${e} h6 {
|
|
524
|
-
outline: 1px solid #4371d0 !important;
|
|
525
|
-
}
|
|
526
|
-
|
|
527
|
-
${e} main {
|
|
528
|
-
outline: 1px solid #2f4f90 !important;
|
|
529
|
-
}
|
|
530
|
-
|
|
531
|
-
${e} address {
|
|
532
|
-
outline: 1px solid #1a2c51 !important;
|
|
533
|
-
}
|
|
534
|
-
|
|
535
|
-
${e} div {
|
|
536
|
-
outline: 1px solid #036cdb !important;
|
|
537
|
-
}
|
|
538
|
-
|
|
539
|
-
${e} p {
|
|
540
|
-
outline: 1px solid #ac050b !important;
|
|
541
|
-
}
|
|
542
|
-
|
|
543
|
-
${e} hr {
|
|
544
|
-
outline: 1px solid #ff063f !important;
|
|
545
|
-
}
|
|
546
|
-
|
|
547
|
-
${e} pre {
|
|
548
|
-
outline: 1px solid #850440 !important;
|
|
549
|
-
}
|
|
550
|
-
|
|
551
|
-
${e} blockquote {
|
|
552
|
-
outline: 1px solid #f1b8e7 !important;
|
|
553
|
-
}
|
|
554
|
-
|
|
555
|
-
${e} ol {
|
|
556
|
-
outline: 1px solid #ff050c !important;
|
|
557
|
-
}
|
|
558
|
-
|
|
559
|
-
${e} ul {
|
|
560
|
-
outline: 1px solid #d90416 !important;
|
|
561
|
-
}
|
|
562
|
-
|
|
563
|
-
${e} li {
|
|
564
|
-
outline: 1px solid #d90416 !important;
|
|
565
|
-
}
|
|
566
|
-
|
|
567
|
-
${e} dl {
|
|
568
|
-
outline: 1px solid #fd3427 !important;
|
|
569
|
-
}
|
|
570
|
-
|
|
571
|
-
${e} dt {
|
|
572
|
-
outline: 1px solid #ff0043 !important;
|
|
573
|
-
}
|
|
574
|
-
|
|
575
|
-
${e} dd {
|
|
576
|
-
outline: 1px solid #e80174 !important;
|
|
577
|
-
}
|
|
578
|
-
|
|
579
|
-
${e} figure {
|
|
580
|
-
outline: 1px solid #ff00bb !important;
|
|
581
|
-
}
|
|
582
|
-
|
|
583
|
-
${e} figcaption {
|
|
584
|
-
outline: 1px solid #bf0032 !important;
|
|
585
|
-
}
|
|
586
|
-
|
|
587
|
-
${e} table {
|
|
588
|
-
outline: 1px solid #00cc99 !important;
|
|
589
|
-
}
|
|
590
|
-
|
|
591
|
-
${e} caption {
|
|
592
|
-
outline: 1px solid #37ffc4 !important;
|
|
593
|
-
}
|
|
594
|
-
|
|
595
|
-
${e} thead {
|
|
596
|
-
outline: 1px solid #98daca !important;
|
|
597
|
-
}
|
|
598
|
-
|
|
599
|
-
${e} tbody {
|
|
600
|
-
outline: 1px solid #64a7a0 !important;
|
|
601
|
-
}
|
|
602
|
-
|
|
603
|
-
${e} tfoot {
|
|
604
|
-
outline: 1px solid #22746b !important;
|
|
605
|
-
}
|
|
606
|
-
|
|
607
|
-
${e} tr {
|
|
608
|
-
outline: 1px solid #86c0b2 !important;
|
|
609
|
-
}
|
|
610
|
-
|
|
611
|
-
${e} th {
|
|
612
|
-
outline: 1px solid #a1e7d6 !important;
|
|
613
|
-
}
|
|
614
|
-
|
|
615
|
-
${e} td {
|
|
616
|
-
outline: 1px solid #3f5a54 !important;
|
|
617
|
-
}
|
|
618
|
-
|
|
619
|
-
${e} col {
|
|
620
|
-
outline: 1px solid #6c9a8f !important;
|
|
621
|
-
}
|
|
622
|
-
|
|
623
|
-
${e} colgroup {
|
|
624
|
-
outline: 1px solid #6c9a9d !important;
|
|
625
|
-
}
|
|
626
|
-
|
|
627
|
-
${e} button {
|
|
628
|
-
outline: 1px solid #da8301 !important;
|
|
629
|
-
}
|
|
630
|
-
|
|
631
|
-
${e} datalist {
|
|
632
|
-
outline: 1px solid #c06000 !important;
|
|
633
|
-
}
|
|
634
|
-
|
|
635
|
-
${e} fieldset {
|
|
636
|
-
outline: 1px solid #d95100 !important;
|
|
637
|
-
}
|
|
638
|
-
|
|
639
|
-
${e} form {
|
|
640
|
-
outline: 1px solid #d23600 !important;
|
|
641
|
-
}
|
|
642
|
-
|
|
643
|
-
${e} input {
|
|
644
|
-
outline: 1px solid #fca600 !important;
|
|
645
|
-
}
|
|
646
|
-
|
|
647
|
-
${e} keygen {
|
|
648
|
-
outline: 1px solid #b31e00 !important;
|
|
649
|
-
}
|
|
650
|
-
|
|
651
|
-
${e} label {
|
|
652
|
-
outline: 1px solid #ee8900 !important;
|
|
653
|
-
}
|
|
654
|
-
|
|
655
|
-
${e} legend {
|
|
656
|
-
outline: 1px solid #de6d00 !important;
|
|
657
|
-
}
|
|
658
|
-
|
|
659
|
-
${e} meter {
|
|
660
|
-
outline: 1px solid #e8630c !important;
|
|
661
|
-
}
|
|
662
|
-
|
|
663
|
-
${e} optgroup {
|
|
664
|
-
outline: 1px solid #b33600 !important;
|
|
665
|
-
}
|
|
666
|
-
|
|
667
|
-
${e} option {
|
|
668
|
-
outline: 1px solid #ff8a00 !important;
|
|
669
|
-
}
|
|
670
|
-
|
|
671
|
-
${e} output {
|
|
672
|
-
outline: 1px solid #ff9619 !important;
|
|
673
|
-
}
|
|
674
|
-
|
|
675
|
-
${e} progress {
|
|
676
|
-
outline: 1px solid #e57c00 !important;
|
|
677
|
-
}
|
|
678
|
-
|
|
679
|
-
${e} select {
|
|
680
|
-
outline: 1px solid #e26e0f !important;
|
|
681
|
-
}
|
|
682
|
-
|
|
683
|
-
${e} textarea {
|
|
684
|
-
outline: 1px solid #cc5400 !important;
|
|
685
|
-
}
|
|
686
|
-
|
|
687
|
-
${e} details {
|
|
688
|
-
outline: 1px solid #33848f !important;
|
|
689
|
-
}
|
|
690
|
-
|
|
691
|
-
${e} summary {
|
|
692
|
-
outline: 1px solid #60a1a6 !important;
|
|
693
|
-
}
|
|
694
|
-
|
|
695
|
-
${e} command {
|
|
696
|
-
outline: 1px solid #438da1 !important;
|
|
697
|
-
}
|
|
698
|
-
|
|
699
|
-
${e} menu {
|
|
700
|
-
outline: 1px solid #449da6 !important;
|
|
701
|
-
}
|
|
702
|
-
|
|
703
|
-
${e} del {
|
|
704
|
-
outline: 1px solid #bf0000 !important;
|
|
705
|
-
}
|
|
706
|
-
|
|
707
|
-
${e} ins {
|
|
708
|
-
outline: 1px solid #400000 !important;
|
|
709
|
-
}
|
|
710
|
-
|
|
711
|
-
${e} img {
|
|
712
|
-
outline: 1px solid #22746b !important;
|
|
713
|
-
}
|
|
714
|
-
|
|
715
|
-
${e} iframe {
|
|
716
|
-
outline: 1px solid #64a7a0 !important;
|
|
717
|
-
}
|
|
718
|
-
|
|
719
|
-
${e} embed {
|
|
720
|
-
outline: 1px solid #98daca !important;
|
|
721
|
-
}
|
|
722
|
-
|
|
723
|
-
${e} object {
|
|
724
|
-
outline: 1px solid #00cc99 !important;
|
|
725
|
-
}
|
|
726
|
-
|
|
727
|
-
${e} param {
|
|
728
|
-
outline: 1px solid #37ffc4 !important;
|
|
729
|
-
}
|
|
730
|
-
|
|
731
|
-
${e} video {
|
|
732
|
-
outline: 1px solid #6ee866 !important;
|
|
733
|
-
}
|
|
734
|
-
|
|
735
|
-
${e} audio {
|
|
736
|
-
outline: 1px solid #027353 !important;
|
|
737
|
-
}
|
|
738
|
-
|
|
739
|
-
${e} source {
|
|
740
|
-
outline: 1px solid #012426 !important;
|
|
741
|
-
}
|
|
742
|
-
|
|
743
|
-
${e} canvas {
|
|
744
|
-
outline: 1px solid #a2f570 !important;
|
|
745
|
-
}
|
|
746
|
-
|
|
747
|
-
${e} track {
|
|
748
|
-
outline: 1px solid #59a600 !important;
|
|
749
|
-
}
|
|
750
|
-
|
|
751
|
-
${e} map {
|
|
752
|
-
outline: 1px solid #7be500 !important;
|
|
753
|
-
}
|
|
754
|
-
|
|
755
|
-
${e} area {
|
|
756
|
-
outline: 1px solid #305900 !important;
|
|
757
|
-
}
|
|
758
|
-
|
|
759
|
-
${e} a {
|
|
760
|
-
outline: 1px solid #ff62ab !important;
|
|
761
|
-
}
|
|
762
|
-
|
|
763
|
-
${e} em {
|
|
764
|
-
outline: 1px solid #800b41 !important;
|
|
765
|
-
}
|
|
766
|
-
|
|
767
|
-
${e} strong {
|
|
768
|
-
outline: 1px solid #ff1583 !important;
|
|
769
|
-
}
|
|
770
|
-
|
|
771
|
-
${e} i {
|
|
772
|
-
outline: 1px solid #803156 !important;
|
|
773
|
-
}
|
|
774
|
-
|
|
775
|
-
${e} b {
|
|
776
|
-
outline: 1px solid #cc1169 !important;
|
|
777
|
-
}
|
|
778
|
-
|
|
779
|
-
${e} u {
|
|
780
|
-
outline: 1px solid #ff0430 !important;
|
|
781
|
-
}
|
|
782
|
-
|
|
783
|
-
${e} s {
|
|
784
|
-
outline: 1px solid #f805e3 !important;
|
|
785
|
-
}
|
|
786
|
-
|
|
787
|
-
${e} small {
|
|
788
|
-
outline: 1px solid #d107b2 !important;
|
|
789
|
-
}
|
|
790
|
-
|
|
791
|
-
${e} abbr {
|
|
792
|
-
outline: 1px solid #4a0263 !important;
|
|
793
|
-
}
|
|
794
|
-
|
|
795
|
-
${e} q {
|
|
796
|
-
outline: 1px solid #240018 !important;
|
|
797
|
-
}
|
|
798
|
-
|
|
799
|
-
${e} cite {
|
|
800
|
-
outline: 1px solid #64003c !important;
|
|
801
|
-
}
|
|
802
|
-
|
|
803
|
-
${e} dfn {
|
|
804
|
-
outline: 1px solid #b4005a !important;
|
|
805
|
-
}
|
|
806
|
-
|
|
807
|
-
${e} sub {
|
|
808
|
-
outline: 1px solid #dba0c8 !important;
|
|
809
|
-
}
|
|
810
|
-
|
|
811
|
-
${e} sup {
|
|
812
|
-
outline: 1px solid #cc0256 !important;
|
|
813
|
-
}
|
|
814
|
-
|
|
815
|
-
${e} time {
|
|
816
|
-
outline: 1px solid #d6606d !important;
|
|
817
|
-
}
|
|
818
|
-
|
|
819
|
-
${e} code {
|
|
820
|
-
outline: 1px solid #e04251 !important;
|
|
821
|
-
}
|
|
822
|
-
|
|
823
|
-
${e} kbd {
|
|
824
|
-
outline: 1px solid #5e001f !important;
|
|
825
|
-
}
|
|
826
|
-
|
|
827
|
-
${e} samp {
|
|
828
|
-
outline: 1px solid #9c0033 !important;
|
|
829
|
-
}
|
|
830
|
-
|
|
831
|
-
${e} var {
|
|
832
|
-
outline: 1px solid #d90047 !important;
|
|
833
|
-
}
|
|
834
|
-
|
|
835
|
-
${e} mark {
|
|
836
|
-
outline: 1px solid #ff0053 !important;
|
|
837
|
-
}
|
|
838
|
-
|
|
839
|
-
${e} bdi {
|
|
840
|
-
outline: 1px solid #bf3668 !important;
|
|
841
|
-
}
|
|
842
|
-
|
|
843
|
-
${e} bdo {
|
|
844
|
-
outline: 1px solid #6f1400 !important;
|
|
845
|
-
}
|
|
846
|
-
|
|
847
|
-
${e} ruby {
|
|
848
|
-
outline: 1px solid #ff7b93 !important;
|
|
849
|
-
}
|
|
850
|
-
|
|
851
|
-
${e} rt {
|
|
852
|
-
outline: 1px solid #ff2f54 !important;
|
|
853
|
-
}
|
|
854
|
-
|
|
855
|
-
${e} rp {
|
|
856
|
-
outline: 1px solid #803e49 !important;
|
|
857
|
-
}
|
|
858
|
-
|
|
859
|
-
${e} span {
|
|
860
|
-
outline: 1px solid #cc2643 !important;
|
|
861
|
-
}
|
|
862
|
-
|
|
863
|
-
${e} br {
|
|
864
|
-
outline: 1px solid #db687d !important;
|
|
865
|
-
}
|
|
866
|
-
|
|
867
|
-
${e} wbr {
|
|
868
|
-
outline: 1px solid #db175b !important;
|
|
869
|
-
}`}a(uL,"outlineCSS");var vZ=a((e,t)=>{let r=t.globals||{},n=[!0,"true"].includes(r[lL]),i=t.viewMode==="docs",o=vb(()=>uL(i?'[data-story-block="true"]':".sb-show-main"),[t]);return Mi(()=>{let s=i?`addon-outline-docs-${t.id}`:"addon-outline";return n?bZ(s,o):hT(s),()=>{hT(s)}},[n,o,t]),e()},"withOutline"),_Z=globalThis.FEATURES?.outline?[vZ]:[],EZ={[lL]:!1},mT=a(()=>({decorators:_Z,initialGlobals:EZ}),"default"),wZ=a(({parameters:e})=>{e?.test?.mockReset===!0?I_():e?.test?.clearMocks===!0?N_():e?.test?.restoreMocks!==!1&&k_()},"resetAllMocksLoader"),eg=a((e,t=0,r)=>{if(t>5||e==null)return e;if(fo(e))return r&&e.mockName(r),e;if(typeof e=="function"&&"isAction"in e&&e.isAction&&!("implicit"in e&&e.implicit)){let n=A_(e);return r&&n.mockName(r),n}if(Array.isArray(e)){t++;for(let n=0;n<e.length;n++)Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=eg(e[n],t));return e}if(typeof e=="object"&&e.constructor===Object){t++;for(let[n,i]of Object.entries(e))Object.getOwnPropertyDescriptor(e,n)?.writable&&(e[n]=eg(i,t,n));return e}return e},"traverseArgs"),xZ=a(({initialArgs:e})=>{eg(e)},"nameSpiesAndWrapActionsInSpies"),yT=!1,TZ=a(async e=>{globalThis.HTMLElement&&e.canvasElement instanceof globalThis.HTMLElement&&(e.canvas=$D(e.canvasElement));let t=globalThis.window?.navigator?.clipboard;if(t){e.userEvent=sa({userEvent:FD.setup()},{intercept:!0}).userEvent,Object.defineProperty(globalThis.window.navigator,"clipboard",{get:a(()=>t,"get"),configurable:!0});let r=HTMLElement.prototype.focus;yT||Object.defineProperties(HTMLElement.prototype,{focus:{configurable:!0,set:a(n=>{r=n,yT=!0},"set"),get:a(()=>r,"get")}})}},"enhanceContext"),gT=a(()=>({loaders:[wZ,xZ,TZ]}),"default"),SZ="viewport",CZ={[SZ]:{value:void 0,isRotated:!1}},bT=a(()=>({initialGlobals:CZ}),"default");function Rf(){return[(fT.default??fT)(),(tT.default??tT)(),(cT.default??cT)(),(mT.default??mT)(),(bT.default??bT)(),(Xx.default??Xx)(),(rT.default??rT)(),(gT.default??gT)()]}a(Rf,"getCoreAnnotations");var is=Symbol("incompatible"),tg=a((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)?is:e.reduce((n,i,o)=>{let s=tg(i,{type:r.value});return s!==is&&(n[o]=s),n},new Array(e.length));case"object":return typeof e=="string"||typeof e=="number"?e:!r.value||typeof e!="object"?is:Object.entries(e).reduce((n,[i,o])=>{let s=tg(o,{type:r.value[i]});return s===is?n:Object.assign(n,{[i]:s})},{});default:return is}},"map"),OZ=a((e,t)=>Object.entries(e).reduce((r,[n,i])=>{if(!t[n])return r;let o=tg(i,t[n]);return o===is?r:Object.assign(r,{[n]:o})},{}),"mapArgsToTypes"),xp=a((e,t)=>Array.isArray(e)&&Array.isArray(t)?t.reduce((r,n,i)=>(r[i]=xp(e[i],t[i]),r),[...e]).filter(r=>r!==void 0):!Qr(e)||!Qr(t)?t:Object.keys({...e,...t}).reduce((r,n)=>{if(n in t){let i=xp(e[n],t[n]);i!==void 0&&(r[n]=i)}else r[n]=e[n];return r},{}),"combineArgs"),PZ=a((e,t)=>Object.entries(t).reduce((r,[n,{options:i}])=>{function o(){return n in e&&(r[n]=e[n]),r}if(a(o,"allowArg"),!i)return o();if(!Array.isArray(i))return vt.error(ke`
|
|
870
|
-
Invalid argType: '${n}.options' should be an array.
|
|
871
|
-
|
|
872
|
-
More info: https://storybook.js.org/docs/api/arg-types
|
|
873
|
-
`),o();if(i.some(d=>d&&["object","function"].includes(typeof d)))return vt.error(ke`
|
|
874
|
-
Invalid argType: '${n}.options' should only contain primitives. Use a 'mapping' for complex values.
|
|
875
|
-
|
|
876
|
-
More info: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
877
|
-
`),o();let s=Array.isArray(e[n]),l=s&&e[n].findIndex(d=>!i.includes(d)),u=s&&l===-1;if(e[n]===void 0||i.includes(e[n])||u)return o();let c=s?`${n}[${l}]`:n,p=i.map(d=>typeof d=="string"?`'${d}'`:String(d)).join(", ");return vt.warn(`Received illegal value for '${c}'. Supported options: ${p}`),r},{}),"validateOptions"),nl=Symbol("Deeply equal"),Tp=a((e,t)=>{if(typeof e!=typeof t)return t;if(wP(e,t))return nl;if(Array.isArray(e)&&Array.isArray(t)){let r=t.reduce((n,i,o)=>{let s=Tp(e[o],i);return s!==nl&&(n[o]=s),n},new Array(t.length));return t.length>=e.length?r:r.concat(new Array(e.length-t.length).fill(void 0))}return Qr(e)&&Qr(t)?Object.keys({...e,...t}).reduce((r,n)=>{let i=Tp(e?.[n],t?.[n]);return i===nl?r:Object.assign(r,{[n]:i})},{}):t},"deepDiff"),cL="UNTARGETED";function pL({args:e,argTypes:t}){let r={};return Object.entries(e).forEach(([n,i])=>{let{target:o=cL}=t[n]||{};r[o]=r[o]||{},r[o][n]=i}),r}a(pL,"groupArgsByTarget");function dL(e){return Object.keys(e).forEach(t=>e[t]===void 0&&delete e[t]),e}a(dL,"deleteUndefined");var fL=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=Tp(this.initialArgsByStoryId[t.id],this.argsByStoryId[t.id]);this.initialArgsByStoryId[t.id]=t.initialArgs,this.argsByStoryId[t.id]=t.initialArgs,r!==nl&&this.updateFromDelta(t,r)}}updateFromDelta(t,r){let n=PZ(r,t.argTypes);this.argsByStoryId[t.id]=xp(this.argsByStoryId[t.id],n)}updateFromPersisted(t,r){let n=OZ(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]=dL({...this.argsByStoryId[t],...r})}};a(fL,"ArgsStore");var AZ=fL,hL=a((e={})=>Object.entries(e).reduce((t,[r,{defaultValue:n}])=>(typeof n<"u"&&(t[r]=n),t),{}),"getValuesFromArgTypes"),mL=class{constructor({globals:t={},globalTypes:r={}}){this.set({globals:t,globalTypes:r})}set({globals:t={},globalTypes:r={}}){let n=this.initialGlobals&&Tp(this.initialGlobals,this.globals);this.allowedGlobalNames=new Set([...Object.keys(t),...Object.keys(r)]);let i=hL(r);this.initialGlobals={...i,...t},this.globals=this.initialGlobals,n&&n!==nl&&this.updateFromPersisted(n)}filterAllowedGlobals(t){return Object.entries(t).reduce((r,[n,i])=>(this.allowedGlobalNames.has(n)?r[n]=i:st.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)};for(let r in t)t[r]===void 0&&(this.globals[r]=this.initialGlobals[r])}};a(mL,"GlobalsStore");var RZ=mL,NZ=wt(dC(),1),IZ=(0,NZ.default)(1)(e=>Object.values(e).reduce((t,r)=>(t[r.importPath]=t[r.importPath]||r,t),{})),yL=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(o=>o.id.startsWith(t));let{name:n,title:i}=t;return r.find(o=>o.name===n&&o.title===i)}storyIdToEntry(t){let r=this.entries[t];if(!r)throw new x1({storyId:t});return r}importPathToEntry(t){return IZ(this.entries)[t]}};a(yL,"StoryIndexStore");var kZ=yL,MZ=a(e=>typeof e=="string"?{name:e}:e,"normalizeType"),qZ=a(e=>typeof e=="string"?{type:e}:e,"normalizeControl"),jZ=a((e,t)=>{let{type:r,control:n,...i}=e,o={name:t,...i};return r&&(o.type=MZ(r)),n?o.control=qZ(n):n===!1&&(o.control={disable:!0}),o},"normalizeInputType"),Sp=a(e=>Ns(e,jZ),"normalizeInputTypes");function gL(e){return e.replace(/_/g," ").replace(/-/g," ").replace(/\./g," ").replace(/([^\n])([A-Z])([a-z])/g,(t,r,n,i)=>`${r} ${n}${i}`).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()}a(gL,"toStartCaseStr");var vT=wt(qJ(),1),bL=a(e=>e.map(t=>typeof t<"u").filter(Boolean).length,"count"),DZ=a((e,t)=>{let{exists:r,eq:n,neq:i,truthy:o}=e;if(bL([r,n,i,o])>1)throw new Error(`Invalid conditional test ${JSON.stringify({exists:r,eq:n,neq:i})}`);if(typeof n<"u")return(0,vT.isEqual)(t,n);if(typeof i<"u")return!(0,vT.isEqual)(t,i);if(typeof r<"u"){let s=typeof t<"u";return r?s:!s}return typeof o>"u"||o?!!t:!t},"testValue"),LZ=a((e,t,r)=>{if(!e.if)return!0;let{arg:n,global:i}=e.if;if(bL([n,i])!==1)throw new Error(`Invalid conditional value ${JSON.stringify({arg:n,global:i})}`);let o=n?t[n]:r[i];return DZ(e.if,o)},"includeConditionalArg");function Nf(e){return e!=null&&typeof e=="object"&&"_tag"in e&&e?._tag==="Story"}a(Nf,"isStory");var vL=a(e=>e.toLowerCase().replace(/[ ’–—―′¿'`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"-").replace(/-+/g,"-").replace(/^-+/,"").replace(/-+$/,""),"sanitize"),_T=a((e,t)=>{let r=vL(e);if(r==="")throw new Error(`Invalid ${t} '${e}', must include alphanumeric characters`);return r},"sanitizeSafe"),$Z=a((e,t)=>`${_T(e,"kind")}${t?`--${_T(t,"name")}`:""}`,"toId"),FZ=a(e=>gL(e),"storyNameFromExport");function rg(e,t){return Array.isArray(t)?t.includes(e):e.match(t)}a(rg,"matches");function Cp(e,{includeStories:t,excludeStories:r}){return e!=="__esModule"&&(!t||rg(e,t))&&(!r||!rg(e,r))}a(Cp,"isExportStory");var BZ=a((...e)=>{let t=e.reduce((r,n)=>(n.startsWith("!")?r.delete(n.slice(1)):r.add(n),r),new Set);return Array.from(t)},"combineTags"),nt=a(e=>Array.isArray(e)?e:e?[e]:[],"normalizeArrays"),UZ=ke`
|
|
878
|
-
CSF .story annotations deprecated; annotate story functions directly:
|
|
879
|
-
- StoryFn.story.name => StoryFn.storyName
|
|
880
|
-
- StoryFn.story.(parameters|decorators) => StoryFn.(parameters|decorators)
|
|
881
|
-
See https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#hoisted-csf-annotations for details and codemod.
|
|
882
|
-
`;function Ml(e,t,r){let n=t,i=typeof t=="function"?t:null,{story:o}=n;o&&(st.debug("deprecated story",o),tb(UZ));let s=FZ(e),l=typeof n!="function"&&n.name||n.storyName||o?.name||s,u=[...nt(n.decorators),...nt(o?.decorators)],c={...o?.parameters,...n.parameters},p={...o?.args,...n.args},d={...o?.argTypes,...n.argTypes},f=[...nt(n.loaders),...nt(o?.loaders)],h=[...nt(n.beforeEach),...nt(o?.beforeEach)],y=[...nt(n.afterEach),...nt(o?.afterEach)],{render:b,play:g,tags:m=[],globals:v={}}=n,S=c.__id||$Z(r.id,s);return{moduleExport:t,id:S,name:l,tags:m,decorators:u,parameters:c,args:p,argTypes:Sp(d),loaders:f,beforeEach:h,afterEach:y,globals:v,...b&&{render:b},...i&&{userStoryFn:i},...g&&{play:g}}}a(Ml,"normalizeStory");function Op(e,t=e.title,r){let{id:n,argTypes:i}=e;return{id:vL(n||t),...e,title:t,...i&&{argTypes:Sp(i)},parameters:{fileName:r,...e.parameters}}}a(Op,"normalizeComponentAnnotations");var VZ=a(e=>{let{globals:t,globalTypes:r}=e;(t||r)&&st.error("Global args/argTypes can only be set globally",JSON.stringify({globals:t,globalTypes:r}))},"checkGlobals"),HZ=a(e=>{let{options:t}=e;t?.storySort&&st.error("The storySort option parameter can only be set globally")},"checkStorySort"),Vu=a(e=>{e&&(VZ(e),HZ(e))},"checkDisallowedParameters");function _L(e,t,r){let{default:n,__namedExportsOrder:i,...o}=e,s=Object.values(o)[0];if(Nf(s)){let c=Op(s.meta.input,r,t);Vu(c.parameters);let p={meta:c,stories:{},moduleExports:e};return Object.keys(o).forEach(d=>{if(Cp(d,c)){let f=Ml(d,o[d].input,c);Vu(f.parameters),p.stories[f.id]=f}}),p.projectAnnotations=s.meta.preview.composed,p}let l=Op(n,r,t);Vu(l.parameters);let u={meta:l,stories:{},moduleExports:e};return Object.keys(o).forEach(c=>{if(Cp(c,l)){let p=Ml(c,o[c],l);Vu(p.parameters),u.stories[p.id]=p}}),u}a(_L,"processCSFFile");function EL(e){return e!=null&&wL(e).includes("mount")}a(EL,"mountDestructured");function wL(e){let t=e.toString().match(/[^(]*\(([^)]*)/);if(!t)return[];let r=ng(t[1]);if(!r.length)return[];let n=r[0];return n.startsWith("{")&&n.endsWith("}")?ng(n.slice(1,-1).replace(/\s/g,"")).map(i=>i.replace(/:.*|=.*/g,"")):[]}a(wL,"getUsedProps");function ng(e){let t=[],r=[],n=0;for(let o=0;o<e.length;o++)if(e[o]==="{"||e[o]==="[")r.push(e[o]==="{"?"}":"]");else if(e[o]===r[r.length-1])r.pop();else if(!r.length&&e[o]===","){let s=e.substring(n,o).trim();s&&t.push(s),n=o+1}let i=e.substring(n).trim();return i&&t.push(i),t}a(ng,"splitByComma");function j0(e,t,r){let n=r(e);return i=>t(n,i)}a(j0,"decorateStory");function D0({componentId:e,title:t,kind:r,id:n,name:i,story:o,parameters:s,initialArgs:l,argTypes:u,...c}={}){return c}a(D0,"sanitizeStoryContextUpdate");function L0(e,t){let r={},n=a(o=>s=>{if(!r.value)throw new Error("Decorated function called without init");return r.value={...r.value,...D0(s)},o(r.value)},"bindWithContext"),i=t.reduce((o,s)=>j0(o,s,n),e);return o=>(r.value=o,i(o))}a(L0,"defaultDecorateStory");var Io=a((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,o)=>(Object.entries(o).forEach(([s,l])=>{let u=i[s];Array.isArray(l)||typeof u>"u"?i[s]=l:Qr(l)&&Qr(u)?t[s]=!0:typeof l<"u"&&(i[s]=l)}),i),{});return Object.keys(t).forEach(i=>{let o=r.filter(Boolean).map(s=>s[i]).filter(s=>typeof s<"u");o.every(s=>Qr(s))?n[i]=Io(...o):n[i]=o[o.length-1]}),n},"combineParameters");function If(e,t,r){let{moduleExport:n,id:i,name:o}=e||{},s=F0(e,t,r),l=a(async x=>{let E={};for(let _ of[nt(r.loaders),nt(t.loaders),nt(e.loaders)]){if(x.abortSignal.aborted)return E;let C=await Promise.all(_.map(w=>w(x)));Object.assign(E,...C)}return E},"applyLoaders"),u=a(async x=>{let E=new Array;for(let _ of[...nt(r.beforeEach),...nt(t.beforeEach),...nt(e.beforeEach)]){if(x.abortSignal.aborted)return E;let C=await _(x);C&&E.push(C)}return E},"applyBeforeEach"),c=a(async x=>{let E=[...nt(r.afterEach),...nt(t.afterEach),...nt(e.afterEach)].reverse();for(let _ of E){if(x.abortSignal.aborted)return;await _(x)}},"applyAfterEach"),p=a(x=>x.originalStoryFn(x.args,x),"undecoratedStoryFn"),{applyDecorators:d=L0,runStep:f}=r,h=[...nt(e?.decorators),...nt(t?.decorators),...nt(r?.decorators)],y=e?.userStoryFn||e?.render||t.render||r.render,b=lP(d)(p,h),g=a(x=>b(x),"unboundStoryFn"),m=e?.play??t?.play,v=EL(m);if(!y&&!v)throw new J1({id:i});let S=a(x=>async()=>(await x.renderToCanvas(),x.canvas),"defaultMount"),O=e.mount??t.mount??r.mount??S,P=r.testingLibraryRender;return{storyGlobals:{},...s,moduleExport:n,id:i,name:o,story:o,originalStoryFn:y,undecoratedStoryFn:p,unboundStoryFn:g,applyLoaders:l,applyBeforeEach:u,applyAfterEach:c,playFunction:m,runStep:f,mount:O,testingLibraryRender:P,renderToCanvas:r.renderToCanvas,usesMount:v}}a(If,"prepareStory");function $0(e,t,r){return{...F0(void 0,e,t),moduleExport:r}}a($0,"prepareMeta");function F0(e,t,r){let n=["dev","test"],i=he.DOCS_OPTIONS?.autodocs===!0?["autodocs"]:[],o=BZ(...n,...i,...r.tags??[],...t.tags??[],...e?.tags??[]),s=Io(r.parameters,t.parameters,e?.parameters),{argTypesEnhancers:l=[],argsEnhancers:u=[]}=r,c=Io(r.argTypes,t.argTypes,e?.argTypes);if(e){let m=e?.userStoryFn||e?.render||t.render||r.render;s.__isArgsStory=m&&m.length>0}let p={...r.args,...t.args,...e?.args},d={...t.globals,...e?.globals},f={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:o,parameters:s,initialArgs:p,argTypes:c,storyGlobals:d};f.argTypes=l.reduce((m,v)=>v({...f,argTypes:m}),f.argTypes);let h={...p};f.initialArgs=[...u].reduce((m,v)=>({...m,...v({...f,initialArgs:m})}),h);let{name:y,story:b,...g}=f;return g}a(F0,"preparePartialAnnotations");function B0(e){let{args:t}=e,r={...e,allArgs:void 0,argsByTarget:void 0};if(he.FEATURES?.argTypeTargetsV7){let o=pL(e);r={...e,allArgs:e.args,argsByTarget:o,args:o[cL]||{}}}let n=Object.entries(r.args).reduce((o,[s,l])=>{if(!r.argTypes[s]?.mapping)return o[s]=l,o;let u=a(c=>{let p=r.argTypes[s].mapping;return p&&c in p?p[c]:c},"mappingFn");return o[s]=Array.isArray(l)?l.map(u):u(l),o},{}),i=Object.entries(n).reduce((o,[s,l])=>{let u=r.argTypes[s]||{};return LZ(u,n,r.globals)&&(o[s]=l),o},{});return{...r,unmappedArgs:t,args:i}}a(B0,"prepareContext");var ig=a((e,t,r)=>{let n=typeof e;switch(n){case"boolean":case"string":case"number":case"function":case"symbol":return{name:n}}return e?r.has(e)?(st.warn(ke`
|
|
883
|
-
We've detected a cycle in arg '${t}'. Args should be JSON-serializable.
|
|
884
|
-
|
|
885
|
-
Consider using the mapping feature or fully custom args:
|
|
886
|
-
- Mapping: https://storybook.js.org/docs/writing-stories/args#mapping-to-complex-arg-values
|
|
887
|
-
- Custom args: https://storybook.js.org/docs/essentials/controls#fully-custom-args
|
|
888
|
-
`),{name:"other",value:"cyclic object"}):(r.add(e),Array.isArray(e)?{name:"array",value:e.length>0?ig(e[0],t,new Set(r)):{name:"other",value:"unknown"}}:{name:"object",value:Ns(e,i=>ig(i,t,new Set(r)))}):{name:"object",value:{}}},"inferType"),xL=a(e=>{let{id:t,argTypes:r={},initialArgs:n={}}=e,i=Ns(n,(s,l)=>({name:l,type:ig(s,`${t}.${l}`,new Set)})),o=Ns(r,(s,l)=>({name:l}));return Io(i,o,r)},"inferArgTypes");xL.secondPass=!0;var ET=a((e,t)=>Array.isArray(t)?t.includes(e):e.match(t),"matches"),TL=a((e,t,r)=>!t&&!r?e:e&&vP(e,(n,i)=>{let o=n.name||i.toString();return!!(!t||ET(o,t))&&(!r||!ET(o,r))}),"filterArgTypes"),JZ=a((e,t,r)=>{let{type:n,options:i}=e;if(n){if(r.color&&r.color.test(t)){let o=n.name;if(o==="string")return{control:{type:"color"}};o!=="enum"&&st.warn(`Addon controls: Control of type color only supports string, received "${o}" 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:o}=n;return{control:{type:o?.length<=5?"radio":"select"},options:o}}case"function":case"symbol":return null;default:return{control:{type:i?"select":"object"}}}}},"inferControl"),U0=a(e=>{let{argTypes:t,parameters:{__isArgsStory:r,controls:{include:n=null,exclude:i=null,matchers:o={}}={}}}=e;if(!r)return t;let s=TL(t,n,i),l=Ns(s,(u,c)=>u?.type&&JZ(u,c.toString(),o));return Io(l,s)},"inferControls");U0.secondPass=!0;function ql({argTypes:e,globalTypes:t,argTypesEnhancers:r,decorators:n,loaders:i,beforeEach:o,afterEach:s,initialGlobals:l,...u}){return{...e&&{argTypes:Sp(e)},...t&&{globalTypes:Sp(t)},decorators:nt(n),loaders:nt(i),beforeEach:nt(o),afterEach:nt(s),argTypesEnhancers:[...r||[],xL,U0],initialGlobals:l,...u}}a(ql,"normalizeProjectAnnotations");var WZ=a(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 V0(e){return async(t,r,n)=>{await e.reduceRight((i,o)=>async()=>o(t,i,n),async()=>r(n))()}}a(V0,"composeStepRunners");function zs(e,t){return e.map(r=>r.default?.[t]??r[t]).filter(Boolean)}a(zs,"getField");function qn(e,t,r={}){return zs(e,t).reduce((n,i)=>{let o=nt(i);return r.reverseFileOrder?[...o,...n]:[...n,...o]},[])}a(qn,"getArrayField");function Ua(e,t){return Object.assign({},...zs(e,t))}a(Ua,"getObjectField");function os(e,t){return zs(e,t).pop()}a(os,"getSingletonField");function ko(e){let t=qn(e,"argTypesEnhancers"),r=zs(e,"runStep"),n=qn(e,"beforeAll");return{parameters:Io(...zs(e,"parameters")),decorators:qn(e,"decorators",{reverseFileOrder:!(he.FEATURES?.legacyDecoratorFileOrder??!1)}),args:Ua(e,"args"),argsEnhancers:qn(e,"argsEnhancers"),argTypes:Ua(e,"argTypes"),argTypesEnhancers:[...t.filter(i=>!i.secondPass),...t.filter(i=>i.secondPass)],initialGlobals:Ua(e,"initialGlobals"),globalTypes:Ua(e,"globalTypes"),loaders:qn(e,"loaders"),beforeAll:WZ(n),beforeEach:qn(e,"beforeEach"),afterEach:qn(e,"afterEach"),render:os(e,"render"),renderToCanvas:os(e,"renderToCanvas"),applyDecorators:os(e,"applyDecorators"),runStep:V0(r),tags:qn(e,"tags"),mount:os(e,"mount"),testingLibraryRender:os(e,"testingLibraryRender")}}a(ko,"composeConfigs");function H0(){try{return!!globalThis.__vitest_browser__||!!globalThis.__playwright__binding__}catch{return!1}}a(H0,"isTestEnvironment");function kf(e=!0){if(!("document"in globalThis&&"createElement"in globalThis.document))return()=>{};let t=document.createElement("style");t.textContent=`*, *:before, *:after {
|
|
889
|
-
animation: none !important;
|
|
890
|
-
}`,document.head.appendChild(t);let r=document.createElement("style");return r.textContent=`*, *:before, *:after {
|
|
891
|
-
animation-delay: 0s !important;
|
|
892
|
-
animation-direction: ${e?"reverse":"normal"} !important;
|
|
893
|
-
animation-play-state: paused !important;
|
|
894
|
-
transition: none !important;
|
|
895
|
-
}`,document.head.appendChild(r),document.body.clientHeight,document.head.removeChild(t),()=>{r.parentNode?.removeChild(r)}}a(kf,"pauseAnimations");async function Mf(e){if(!("document"in globalThis&&"getAnimations"in globalThis.document&&"querySelectorAll"in globalThis.document))return;let t=!1;await Promise.race([new Promise(r=>{setTimeout(()=>{let n=[globalThis.document,...J0(globalThis.document)],i=a(async()=>{if(t||e?.aborted)return;let o=n.flatMap(s=>s?.getAnimations?.()||[]).filter(s=>s.playState==="running"&&!SL(s));o.length>0&&(await Promise.all(o.map(s=>s.finished)),await i())},"checkAnimationsFinished");i().then(r)},100)}),new Promise(r=>setTimeout(()=>{t=!0,r(void 0)},5e3))])}a(Mf,"waitForAnimations");function J0(e){return[e,...e.querySelectorAll("*")].reduce((t,r)=>("shadowRoot"in r&&r.shadowRoot&&t.push(r.shadowRoot,...J0(r.shadowRoot)),t),[])}a(J0,"getShadowRoots");function SL(e){if(e instanceof CSSAnimation&&e.effect instanceof KeyframeEffect&&e.effect.target){let t=getComputedStyle(e.effect.target,e.effect.pseudoElement),r=t.animationName?.split(", ").indexOf(e.animationName);return t.animationIterationCount.split(", ")[r]==="infinite"}return!1}a(SL,"isInfiniteAnimation");var CL=class{constructor(){this.reports=[]}async addReport(t){this.reports.push(t)}};a(CL,"ReporterAPI");var W0=CL;function z0(e,t,r){return Nf(e)?{story:e.input,meta:e.meta.input,preview:e.meta.preview.composed}:{story:e,meta:t,preview:r}}a(z0,"getCsfFactoryAnnotations");function OL(e){globalThis.defaultProjectAnnotations=e}a(OL,"setDefaultProjectAnnotations");var zZ="ComposedStory",KZ="Unnamed Story";function PL(e){return e?ko([e]):{}}a(PL,"extractAnnotation");function AL(e){let t=Array.isArray(e)?e:[e];return globalThis.globalProjectAnnotations=ko([...Rf(),globalThis.defaultProjectAnnotations??{},ko(t.map(PL))]),globalThis.globalProjectAnnotations??{}}a(AL,"setProjectAnnotations");var xi=[];function K0(e,t,r,n,i){if(e===void 0)throw new Error("Expected a story but received undefined.");t.title=t.title??zZ;let o=Op(t),s=i||e.storyName||e.story?.name||e.name||KZ,l=Ml(s,e,o),u=ql(ko([n??globalThis.globalProjectAnnotations??{},r??{}])),c=If(l,o,u),p={...hL(u.globalTypes),...u.initialGlobals,...c.storyGlobals},d=new W0,f=a(()=>{let m=B0({hooks:new yb,globals:p,args:{...c.initialArgs},viewMode:"story",reporting:d,loaded:{},abortSignal:new AbortController().signal,step:a((v,S)=>c.runStep(v,S,m),"step"),canvasElement:null,canvas:{},userEvent:{},globalTypes:u.globalTypes,...c,context:null,mount:null});return m.parameters.__isPortableStory=!0,m.context=m,c.renderToCanvas&&(m.renderToCanvas=async()=>{let v=await c.renderToCanvas?.({componentId:c.componentId,title:c.title,id:c.id,name:c.name,tags:c.tags,showMain:a(()=>{},"showMain"),showError:a(S=>{throw new Error(`${S.title}
|
|
896
|
-
${S.description}`)},"showError"),showException:a(S=>{throw S},"showException"),forceRemount:!0,storyContext:m,storyFn:a(()=>c.unboundStoryFn(m),"storyFn"),unboundStoryFn:c.unboundStoryFn},m.canvasElement);v&&xi.push(v)}),m.mount=c.mount(m),m},"initializeContext"),h,y=a(async m=>{let v=f();return v.canvasElement??=globalThis?.document?.body,h&&(v.loaded=h.loaded),Object.assign(v,m),c.playFunction(v)},"play"),b=a(m=>{let v=f();return Object.assign(v,m),IL(c,v)},"run"),g=c.playFunction?y:void 0;return Object.assign(a(function(m){let v=f();return h&&(v.loaded=h.loaded),v.args={...v.initialArgs,...m},c.unboundStoryFn(v)},"storyFn"),{id:c.id,storyName:s,load:a(async()=>{for(let v of[...xi].reverse())await v();xi.length=0;let m=f();m.loaded=await c.applyLoaders(m),xi.push(...(await c.applyBeforeEach(m)).filter(Boolean)),h=m},"load"),globals:p,args:c.initialArgs,parameters:c.parameters,argTypes:c.argTypes,play:g,run:b,reporting:d,tags:c.tags})}a(K0,"composeStory");var GZ=a((e,t,r,n)=>K0(e,t,r,{},n),"defaultComposeStory");function RL(e,t,r=GZ){let{default:n,__esModule:i,__namedExportsOrder:o,...s}=e,l=n;return Object.entries(s).reduce((u,[c,p])=>{let{story:d,meta:f}=z0(p);return!l&&f&&(l=f),Cp(c,l)?Object.assign(u,{[c]:r(d,l,t,c)}):u},{})}a(RL,"composeStories");function NL(e){return e.extend({mount:a(async({mount:t,page:r},n)=>{await n(async(i,...o)=>{if(!("__pw_type"in i)||"__pw_type"in i&&i.__pw_type!=="jsx")throw new Error(ke`
|
|
897
|
-
Portable stories in Playwright CT only work when referencing JSX elements.
|
|
898
|
-
Please use JSX format for your components such as:
|
|
899
|
-
|
|
900
|
-
instead of:
|
|
901
|
-
await mount(MyComponent, { props: { foo: 'bar' } })
|
|
902
|
-
|
|
903
|
-
do:
|
|
904
|
-
await mount(<MyComponent foo="bar"/>)
|
|
905
|
-
|
|
906
|
-
More info: https://storybook.js.org/docs/api/portable-stories-playwright
|
|
907
|
-
`);let{props:s,...l}=i;await r.evaluate(async c=>{let p=await globalThis.__pwUnwrapObject?.(c);return("__pw_type"in p?p.type:p)?.load?.()},l);let u=await t(i,...o);return await r.evaluate(async c=>{let p=await globalThis.__pwUnwrapObject?.(c),d="__pw_type"in p?p.type:p,f=document.querySelector("#root");return d?.play?.({canvasElement:f})},l),u})},"mount")})}a(NL,"createPlaywrightTest");async function IL(e,t){for(let o of[...xi].reverse())await o();if(xi.length=0,!t.canvasElement){let o=document.createElement("div");globalThis?.document?.body?.appendChild(o),t.canvasElement=o,xi.push(()=>{globalThis?.document?.body?.contains(o)&&globalThis?.document?.body?.removeChild(o)})}if(t.loaded=await e.applyLoaders(t),t.abortSignal.aborted)return;xi.push(...(await e.applyBeforeEach(t)).filter(Boolean));let r=e.playFunction,n=e.usesMount;if(n||await t.mount(),t.abortSignal.aborted)return;r&&(n||(t.mount=async()=>{throw new hb({playFunction:r.toString()})}),await r(t));let i;H0()?i=kf():await Mf(t.abortSignal),await e.applyAfterEach(t),await i?.()}a(IL,"runStory");var wT=1e3,YZ=1e4,kL=class{constructor(t,r,n){this.importFn=r,this.storyIndex=new kZ(t),this.projectAnnotations=ql(ko([...Rf(),n]));let{initialGlobals:i,globalTypes:o}=this.projectAnnotations;this.args=new AZ,this.userGlobals=new RZ({globals:i,globalTypes:o}),this.hooks={},this.cleanupCallbacks={},this.processCSFFileWithCache=(0,Eh.default)(wT)(_L),this.prepareMetaWithCache=(0,Eh.default)(wT)($0),this.prepareStoryWithCache=(0,Eh.default)(YZ)(If)}setProjectAnnotations(t){this.projectAnnotations=ql(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),i=await this.importFn(r);return this.processCSFFileWithCache(i,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:i})=>(r[n]=i,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 F1({storyId:t});let i=r.meta,o=this.prepareStoryWithCache(n,i,r.projectAnnotations??this.projectAnnotations);return this.args.setInitial(o),this.hooks[o.id]=this.hooks[o.id]||new yb,o}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:[],[i,...o]=await Promise.all([this.importFn(r.importPath),...n.map(s=>{let l=this.storyIndex.importPathToEntry(s);return this.loadCSFFileByStoryId(l.id)})]);return{entryExports:i,csfFiles:o}}getStoryContext(t,{forceInitialArgs:r=!1}={}){let n=this.userGlobals.get(),{initialGlobals:i}=this.userGlobals,o=new W0;return B0({...t,args:r?t.initialArgs:this.args.get(t.id),initialGlobals:i,globalTypes:this.projectAnnotations.globalTypes,userGlobals:n,reporting:o,globals:{...n,...t.storyGlobals},hooks:this.hooks[t.id]})}addCleanupCallbacks(t,...r){this.cleanupCallbacks[t.id]=(this.cleanupCallbacks[t.id]||[]).concat(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 O1;return Object.entries(this.storyIndex.entries).reduce((n,[i,{type:o,importPath:s}])=>{if(o==="docs")return n;let l=r[s],u=this.storyFromCSFFile({storyId:i,csfFile:l});return!t.includeDocsOnly&&u.parameters.docsOnly||(n[i]=Object.entries(u).reduce((c,[p,d])=>p==="moduleExport"||typeof d=="function"?c:Array.isArray(d)?Object.assign(c,{[p]:d.slice().sort()}):Object.assign(c,{[p]:d}),{args:u.initialArgs,globals:{...this.userGlobals.initialGlobals,...this.userGlobals.globals,...u.storyGlobals}})),n},{})}};a(kL,"StoryStore");var ML=kL;function qL(e){return e.startsWith("\\\\?\\")?e:e.replace(/\\/g,"/")}a(qL,"slash");var XZ=a(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 og(e){return e.flatMap(t=>t.split("/")).filter(Boolean).join("/")}a(og,"pathJoin");var jL=a((e,t,r)=>{let{directory:n,importPathMatcher:i,titlePrefix:o=""}=t||{};typeof e=="number"&&vt.warn(ke`
|
|
908
|
-
CSF Auto-title received a numeric fileName. This typically happens when
|
|
909
|
-
webpack is mis-configured in production mode. To force webpack to produce
|
|
910
|
-
filenames, set optimization.moduleIds = "named" in your webpack config.
|
|
911
|
-
`);let s=qL(String(e));if(i.exec(s)){if(!r){let l=s.replace(n,""),u=og([o,l]).split("/");return u=XZ(u),u.join("/")}return o?og([o,r]):r}},"userOrAutoTitleFromSpecifier"),QZ=a((e,t,r)=>{for(let n=0;n<t.length;n+=1){let i=jL(e,t[n],r);if(i)return i}return r||void 0},"userOrAutoTitle"),xT=/\s*\/\s*/,ZZ=a((e={})=>(t,r)=>{if(t.title===r.title&&!e.includeNames)return 0;let n=e.method||"configure",i=e.order||[],o=t.title.trim().split(xT),s=r.title.trim().split(xT);e.includeNames&&(o.push(t.name),s.push(r.name));let l=0;for(;o[l]||s[l];){if(!o[l])return-1;if(!s[l])return 1;let u=o[l],c=s[l];if(u!==c){let d=i.indexOf(u),f=i.indexOf(c),h=i.indexOf("*");return d!==-1||f!==-1?(d===-1&&(h!==-1?d=h:d=i.length),f===-1&&(h!==-1?f=h:f=i.length),d-f):n==="configure"?0:u.localeCompare(c,e.locales?e.locales:void 0,{numeric:!0,sensitivity:"accent"})}let p=i.indexOf(u);p===-1&&(p=i.indexOf("*")),i=p!==-1&&Array.isArray(i[p+1])?i[p+1]:[],l+=1}return 0},"storySort"),eee=a((e,t,r)=>{if(t){let n;typeof t=="function"?n=t:n=ZZ(t),e.sort(n)}else e.sort((n,i)=>r.indexOf(n.importPath)-r.indexOf(i.importPath));return e},"sortStoriesCommon"),tee=a((e,t,r)=>{try{return eee(e,t,r)}catch(n){throw new Error(ke`
|
|
912
|
-
Error sorting stories with sort parameter ${t}:
|
|
913
|
-
|
|
914
|
-
> ${n.message}
|
|
915
|
-
|
|
916
|
-
Are you using a V6-style sort function in V7 mode?
|
|
917
|
-
|
|
918
|
-
More info: https://github.com/storybookjs/storybook/blob/next/MIGRATION.md#v7-style-story-sort
|
|
919
|
-
`)}},"sortStoriesV7"),qf=new Error("prepareAborted"),{AbortController:TT}=globalThis;function sg(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)}}}a(sg,"serializeError");var DL=class{constructor(t,r,n,i,o,s,l={autoplay:!0,forceInitialArgs:!1},u){this.channel=t,this.store=r,this.renderToScreen=n,this.callbacks=i,this.id=o,this.viewMode=s,this.renderOptions=l,this.type="story",this.notYetRendered=!0,this.rerenderEnqueued=!1,this.disableKeyListeners=!1,this.teardownRender=a(()=>{},"teardownRender"),this.torndown=!1,this.abortController=new TT,u&&(this.story=u,this.phase="preparing")}async runPhase(t,r,n){this.phase=r,this.channel.emit(xo,{newPhase:this.phase,storyId:this.id}),n&&(await n(),this.checkIfAborted(t))}checkIfAborted(t){return t.aborted?(this.phase="aborted",this.channel.emit(xo,{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),qf}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","afterEach"].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 i=this.story;if(!n)throw new Error("cannot render when canvasElement is unset");let{id:o,componentId:s,title:l,name:u,tags:c,applyLoaders:p,applyBeforeEach:d,applyAfterEach:f,unboundStoryFn:h,playFunction:y,runStep:b}=i;r&&!t&&(this.cancelRender(),this.abortController=new TT);let g=this.abortController.signal,m=!1,v=i.usesMount;try{let S={...this.storyContext(),viewMode:this.viewMode,abortSignal:g,canvasElement:n,loaded:{},step:a((j,R)=>b(j,R,S),"step"),context:null,canvas:{},userEvent:{},renderToCanvas:a(async()=>{let j=await this.renderToScreen(O,n);this.teardownRender=j||(()=>{}),m=!0},"renderToCanvas"),mount:a(async(...j)=>{this.callbacks.showStoryDuringRender?.();let R=null;return await this.runPhase(g,"rendering",async()=>{R=await i.mount(S)(...j)}),v&&await this.runPhase(g,"playing"),R},"mount")};S.context=S;let O={componentId:s,title:l,kind:l,id:o,name:u,story:u,tags:c,...this.callbacks,showError:a(j=>(this.phase="errored",this.callbacks.showError(j)),"showError"),showException:a(j=>(this.phase="errored",this.callbacks.showException(j)),"showException"),forceRemount:r||this.notYetRendered,storyContext:S,storyFn:a(()=>h(S),"storyFn"),unboundStoryFn:h};if(await this.runPhase(g,"loading",async()=>{S.loaded=await p(S)}),g.aborted)return;let P=await d(S);if(this.store.addCleanupCallbacks(i,...P),this.checkIfAborted(g)||(!m&&!v&&await S.mount(),this.notYetRendered=!1,g.aborted))return;let x=this.story.parameters?.test?.dangerouslyIgnoreUnhandledErrors===!0,E=new Set,_=a(j=>{j.error&&E.add(j.error)},"onError"),C=a(j=>{j.reason&&E.add(j.reason)},"onUnhandledRejection");if(this.renderOptions.autoplay&&r&&y&&this.phase!=="errored"){window?.addEventListener?.("error",_),window?.addEventListener?.("unhandledrejection",C),this.disableKeyListeners=!0;try{if(v?await y(S):(S.mount=async()=>{throw new hb({playFunction:y.toString()})},await this.runPhase(g,"playing",async()=>y(S))),!m)throw new z1;this.checkIfAborted(g),!x&&E.size>0?await this.runPhase(g,"errored"):await this.runPhase(g,"played")}catch(j){if(this.callbacks.showStoryDuringRender?.(),await this.runPhase(g,"errored",async()=>{this.channel.emit(LC,sg(j))}),this.story.parameters.throwPlayFunctionExceptions!==!1)throw j;console.error(j)}if(!x&&E.size>0&&this.channel.emit($C,Array.from(E).map(sg)),this.disableKeyListeners=!1,window?.removeEventListener?.("unhandledrejection",C),window?.removeEventListener?.("error",_),g.aborted)return}await this.runPhase(g,"completing",async()=>{H0()?this.store.addCleanupCallbacks(i,kf()):await Mf(g)}),await this.runPhase(g,"completed",async()=>{this.channel.emit(jc,o)}),this.phase!=="errored"&&await this.runPhase(g,"afterEach",async()=>{await f(S)});let w=!x&&E.size>0,A=S.reporting.reports.some(j=>j.status==="failed"),I=w||A;await this.runPhase(g,"finished",async()=>this.channel.emit(bm,{storyId:o,status:I?"error":"success",reporters:S.reporting.reports}))}catch(S){this.phase="errored",this.callbacks.showException(S),await this.runPhase(g,"finished",async()=>this.channel.emit(bm,{storyId:o,status:"error",reporters:[]}))}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(()=>{})}};a(DL,"StoryRender");var ag=DL,{fetch:ree}=he,nee="./index.json",LL=class{constructor(t,r,n=Br.getChannel(),i=!0){this.importFn=t,this.getProjectAnnotations=r,this.channel=n,this.storyRenders=[],this.storeInitializationPromise=new Promise((o,s)=>{this.resolveStoreInitializationPromise=o,this.rejectStoreInitializationPromise=s}),i&&this.initialize()}get storyStore(){return new Proxy({},{get:a((t,r)=>{if(this.storyStoreValue)return tb("Accessing the Story Store is deprecated and will be removed in 9.0"),this.storyStoreValue[r];throw new U1},"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(WC,this.onStoryIndexChanged.bind(this)),this.channel.on(Zg,this.onUpdateGlobals.bind(this)),this.channel.on(eb,this.onUpdateArgs.bind(this)),this.channel.on(ZC,this.onRequestArgTypesInfo.bind(this)),this.channel.on(Xg,this.onResetArgs.bind(this)),this.channel.on(Yg,this.onForceReRender.bind(this)),this.channel.on(qc,this.onForceRemount.bind(this))}async getProjectAnnotationsOrRenderError(){try{let t=await this.getProjectAnnotations();if(this.renderToCanvas=t.renderToCanvas,!this.renderToCanvas)throw new A1;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 ree(nee);if(t.status===200)return t.json();throw new I1({text:await t.text()})}initializeWithStoryIndex(t){if(!this.projectAnnotationsBeforeInitialization)throw new Error("Cannot call initializeWithStoryIndex until project annotations resolve");this.storyStoreValue=new ML(t,this.importFn,this.projectAnnotationsBeforeInitialization),delete this.projectAnnotationsBeforeInitialization,this.setInitialGlobals(),this.resolveStoreInitializationPromise()}async setInitialGlobals(){this.emitGlobals()}emitGlobals(){if(!this.storyStoreValue)throw new _r({methodName:"emitGlobals"});let t={globals:this.storyStoreValue.userGlobals.get()||{},globalTypes:this.storyStoreValue.projectAnnotations.globalTypes||{}};this.channel.emit(UC,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 _r({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 _r({methodName:"onUpdateGlobals"});if(this.storyStoreValue.userGlobals.update(t),r){let{initialGlobals:n,storyGlobals:i,userGlobals:o,globals:s}=this.storyStoreValue.getStoryContext(r);this.channel.emit(hl,{initialGlobals:n,userGlobals:o,storyGlobals:i,globals:s})}else{let{initialGlobals:n,globals:i}=this.storyStoreValue.userGlobals;this.channel.emit(hl,{initialGlobals:n,userGlobals:i,storyGlobals:{},globals:i})}await Promise.all(this.storyRenders.map(n=>n.rerender()))}async onUpdateArgs({storyId:t,updatedArgs:r}){if(!this.storyStoreValue)throw new _r({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(VC,{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(vm,{id:t,success:!0,payload:{argTypes:n?.argTypes||{}},error:null})}catch(n){this.channel.emit(vm,{id:t,success:!1,error:n?.message})}}async onResetArgs({storyId:t,argNames:r}){if(!this.storyStoreValue)throw new _r({methodName:"onResetArgs"});let n=this.storyRenders.find(o=>o.id===t)?.story||await this.storyStoreValue.loadStory({storyId:t}),i=(r||[...new Set([...Object.keys(n.initialArgs),...Object.keys(this.storyStoreValue.args.get(t))])]).reduce((o,s)=>(o[s]=n.initialArgs[s],o),{});await this.onUpdateArgs({storyId:t,updatedArgs:i})}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,i){if(!this.renderToCanvas||!this.storyStoreValue)throw new _r({methodName:"renderStoryToElement"});let o=new ag(this.channel,this.storyStoreValue,this.renderToCanvas,n,t.id,"docs",i,t);return o.renderToElement(r),this.storyRenders.push(o),async()=>{await this.teardownRender(o)}}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 _r({methodName:"loadStory"});return this.storyStoreValue.loadStory({storyId:t})}getStoryContext(t,{forceInitialArgs:r=!1}={}){if(!this.storyStoreValue)throw new _r({methodName:"getStoryContext"});return this.storyStoreValue.getStoryContext(t,{forceInitialArgs:r})}async extract(t){if(!this.storyStoreValue)throw new _r({methodName:"extract"});if(this.previewEntryError)throw this.previewEntryError;return await this.storyStoreValue.cacheAllCSFFiles(),this.storyStoreValue.extract(t)}renderPreviewEntryError(t,r){this.previewEntryError=r,st.error(t),st.error(r),this.channel.emit(jC,r)}};a(LL,"Preview");var $L=LL,FL=class{constructor(t,r,n,i){this.channel=t,this.store=r,this.renderStoryToElement=n,this.storyIdByName=a(o=>{let s=this.nameToStoryId.get(o);if(s)return s;throw new Error(`No story found with that name: ${o}`)},"storyIdByName"),this.componentStories=a(()=>this.componentStoriesValue,"componentStories"),this.componentStoriesFromCSFFile=a(o=>this.store.componentStoriesFromCSFFile({csfFile:o}),"componentStoriesFromCSFFile"),this.storyById=a(o=>{if(!o){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(o);if(!s)throw new Error(`Called \`storyById\` for story that was never loaded: ${o}`);return this.store.storyFromCSFFile({storyId:o,csfFile:s})},"storyById"),this.getStoryContext=a(o=>({...this.store.getStoryContext(o),loaded:{},viewMode:"docs"}),"getStoryContext"),this.loadStory=a(o=>this.store.loadStory({storyId:o}),"loadStory"),this.componentStoriesValue=[],this.storyIdToCSFFile=new Map,this.exportToStory=new Map,this.exportsToCSFFile=new Map,this.nameToStoryId=new Map,this.attachedCSFFiles=new Set,i.forEach((o,s)=>{this.referenceCSFFile(o)})}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(Nf(t)?t.input:t);return n?{type:"story",story:n}:{type:"component",component:t}}resolveOf(t,r=[]){let n;if(["component","meta","story"].includes(t)){let i=t;n=this.resolveAttachedModuleExportType(i)}else n=this.resolveModuleExport(t);if(r.length&&!r.includes(n.type)){let i=n.type==="component"?"component or unknown":n.type;throw new Error(ke`Invalid value passed to the 'of' prop. The value was resolved to a '${i}' type but the only types for this block are: ${r.join(", ")}.
|
|
920
|
-
- Did you pass a component to the 'of' prop when the block only supports a story or a meta?
|
|
921
|
-
- ... or vice versa?
|
|
922
|
-
- 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}}};a(FL,"DocsContext");var G0=FL,BL=class{constructor(t,r,n,i){this.channel=t,this.store=r,this.entry=n,this.callbacks=i,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 qf;let{importPath:n,title:i}=this.entry,o=this.store.processCSFFileWithCache(t,n,i),s=Object.keys(o.stories)[0];this.story=this.store.storyFromCSFFile({storyId:s,csfFile:o}),this.csfFiles=[o,...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 G0(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:i}=this.story.parameters||{};if(!i)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o=await i.renderer(),{render:s}=o,l=a(async()=>{try{await s(n,i,t),this.channel.emit(Gg,this.id)}catch(u){this.callbacks.showException(u)}},"renderDocs");return this.rerender=async()=>l(),this.teardownRender=async({viewModeChanged:u})=>{!u||!t||o.unmount(t)},l()}async teardown({viewModeChanged:t}={}){this.teardownRender?.({viewModeChanged:t}),this.torndown=!0}};a(BL,"CsfDocsRender");var ST=BL,UL=class{constructor(t,r,n,i){this.channel=t,this.store=r,this.entry=n,this.callbacks=i,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 qf;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 G0(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:i}=this.store.projectAnnotations.parameters||{};if(!i)throw new Error("Cannot render a story in viewMode=docs if `@storybook/addon-docs` is not installed");let o={...i,page:this.exports.default},s=await i.renderer(),{render:l}=s,u=a(async()=>{try{await l(n,o,t),this.channel.emit(Gg,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}};a(UL,"MdxDocsRender");var CT=UL,iee=globalThis;function VL(e){let t=e.composedPath&&e.composedPath()[0]||e.target;return/input|textarea/i.test(t.tagName)||t.getAttribute("contenteditable")!==null}a(VL,"focusInInput");var HL="attached-mdx",oee="unattached-mdx";function JL({tags:e}){return e?.includes(oee)||e?.includes(HL)}a(JL,"isMdxEntry");function wc(e){return e.type==="story"}a(wc,"isStoryRender");function WL(e){return e.type==="docs"}a(WL,"isDocsRender");function zL(e){return WL(e)&&e.subtype==="csf"}a(zL,"isCsfDocsRender");var KL=class extends $L{constructor(t,r,n,i){super(t,r,void 0,!1),this.importFn=t,this.getProjectAnnotations=r,this.selectionStore=n,this.view=i,this.initialize()}setupListeners(){super.setupListeners(),iee.onkeydown=this.onKeydown.bind(this),this.channel.on(Qg,this.onSetCurrentStory.bind(this)),this.channel.on(XC,this.onUpdateQueryParams.bind(this)),this.channel.on(FC,this.onPreloadStories.bind(this))}async setInitialGlobals(){if(!this.storyStoreValue)throw new _r({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 _r({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 j1):this.renderStoryLoadingException(t,new L1({storySpecifier:t.toString()}));return}let{id:i,type:o}=n;this.selectionStore.setSelection({storyId:i,viewMode:o}),this.channel.emit(KC,this.selectionStore.selection),this.channel.emit(ym,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)&&!VL(t)){let{altKey:r,ctrlKey:n,metaKey:i,shiftKey:o,key:s,code:l,keyCode:u}=t;this.channel.emit(BC,{event:{altKey:r,ctrlKey:n,metaKey:i,shiftKey:o,key:s,code:l,keyCode:u}})}}async onSetCurrentStory(t){this.selectionStore.setSelection({viewMode:"story",...t}),await this.storeInitializationPromise,this.channel.emit(ym,this.selectionStore.selection),this.renderSelection()}onUpdateQueryParams(t){this.selectionStore.setQueryParams(t)}async onUpdateGlobals({globals:t}){let r=this.currentRender instanceof ag&&this.currentRender.story||void 0;super.onUpdateGlobals({globals:t,currentStory:r}),(this.currentRender instanceof CT||this.currentRender instanceof ST)&&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 _r({methodName:"renderSelection"});let{selection:n}=this.selectionStore;if(!n)throw new Error("Cannot call renderSelection as no selection was made");let{storyId:i}=n,o;try{o=await this.storyStoreValue.storyIdToEntry(i)}catch(f){this.currentRender&&await this.teardownRender(this.currentRender),this.renderStoryLoadingException(i,f);return}let s=this.currentSelection?.storyId!==i,l=this.currentRender?.type!==o.type;o.type==="story"?this.view.showPreparingStory({immediate:l}):this.view.showPreparingDocs({immediate:l}),this.currentRender?.isPreparing()&&await this.teardownRender(this.currentRender);let u;o.type==="story"?u=new ag(this.channel,this.storyStoreValue,r,this.mainStoryCallbacks(i),i,"story"):JL(o)?u=new CT(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(i)):u=new ST(this.channel,this.storyStoreValue,o,this.mainStoryCallbacks(i));let c=this.currentSelection;this.currentSelection=n;let p=this.currentRender;this.currentRender=u;try{await u.prepare()}catch(f){p&&await this.teardownRender(p),f!==qf&&this.renderStoryLoadingException(i,f);return}let d=!s&&p&&!u.isEqual(p);if(t&&wc(u)&&(yn(!!u.story),this.storyStoreValue.args.updateFromPersisted(u.story,t)),p&&!p.torndown&&!s&&!d&&!l){this.currentRender=p,this.channel.emit(YC,i),this.view.showMain();return}if(p&&await this.teardownRender(p,{viewModeChanged:l}),c&&(s||l)&&this.channel.emit(HC,i),wc(u)){yn(!!u.story);let{parameters:f,initialArgs:h,argTypes:y,unmappedArgs:b,initialGlobals:g,userGlobals:m,storyGlobals:v,globals:S}=this.storyStoreValue.getStoryContext(u.story);this.channel.emit(zC,{id:i,parameters:f,initialArgs:h,argTypes:y,args:b}),this.channel.emit(hl,{userGlobals:m,storyGlobals:v,globals:S,initialGlobals:g})}else{let{parameters:f}=this.storyStoreValue.projectAnnotations,{initialGlobals:h,globals:y}=this.storyStoreValue.userGlobals;if(this.channel.emit(hl,{globals:y,initialGlobals:h,storyGlobals:{},userGlobals:y}),zL(u)||u.entry.tags?.includes(HL)){if(!u.csfFiles)throw new M1({storyId:i});({parameters:f}=this.storyStoreValue.preparedMetaFromCSFFile({csfFile:u.csfFiles[0]}))}this.channel.emit(DC,{id:i,parameters:f})}wc(u)?(yn(!!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:a(()=>this.view.showStoryDuringRender(),"showStoryDuringRender"),showMain:a(()=>this.view.showMain(),"showMain"),showError:a(r=>this.renderError(t,r),"showError"),showException:a(r=>this.renderException(t,r),"showException")}}renderPreviewEntryError(t,r){super.renderPreviewEntryError(t,r),this.view.showErrorDisplay(r)}renderMissingStory(){this.view.showNoPreview(),this.channel.emit(gm)}renderStoryLoadingException(t,r){st.error(r),this.view.showErrorDisplay(r),this.channel.emit(gm,t)}renderException(t,r){let{name:n="Error",message:i=String(r),stack:o}=r;this.channel.emit(GC,{name:n,message:i,stack:o}),this.channel.emit(xo,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay(r),st.error(`Error rendering story '${t}':`),st.error(r)}renderError(t,{title:r,description:n}){st.error(`Error rendering story ${r}: ${n}`),this.channel.emit(JC,{title:r,description:n}),this.channel.emit(xo,{newPhase:"errored",storyId:t}),this.view.showErrorDisplay({message:r,stack:n})}};a(KL,"PreviewWithSelection");var GL=KL,lg=wt(Wg(),1),see=wt(Wg(),1),OT=/^[a-zA-Z0-9 _-]*$/,YL=/^-?[0-9]+(\.[0-9]+)?$/,aee=/^#([a-f0-9]{3,4}|[a-f0-9]{6}|[a-f0-9]{8})$/i,XL=/^(rgba?|hsla?)\(([0-9]{1,3}),\s?([0-9]{1,3})%?,\s?([0-9]{1,3})%?,?\s?([0-9](\.[0-9]{1,2})?)?\)$/i,ug=a((e="",t)=>e===null||e===""||!OT.test(e)?!1:t==null||t instanceof Date||typeof t=="number"||typeof t=="boolean"?!0:typeof t=="string"?OT.test(t)||YL.test(t)||aee.test(t)||XL.test(t):Array.isArray(t)?t.every(r=>ug(e,r)):Qr(t)?Object.entries(t).every(([r,n])=>ug(r,n)):!1,"validateArgs"),lee={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(XL);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 YL.test(e)?Number(e):e}},PT=a(e=>{let t=e.split(";").map(r=>r.replace("=","~").replace(":","="));return Object.entries((0,see.parse)(t.join(";"),lee)).reduce((r,[n,i])=>ug(n,i)?Object.assign(r,{[n]:i}):(vt.warn(ke`
|
|
923
|
-
Omitted potentially unsafe URL args.
|
|
924
|
-
|
|
925
|
-
More info: https://storybook.js.org/docs/writing-stories/args#setting-args-through-the-url
|
|
926
|
-
`),r),{})},"parseArgsParam"),{history:QL,document:Pi}=he;function ZL(e){let t=(e||"").match(/^\/story\/(.+)/);if(!t)throw new Error(`Invalid path '${e}', must start with '/story/'`);return t[1]}a(ZL,"pathToId");var e$=a(({selection:e,extraParams:t})=>{let r=Pi?.location.search.slice(1),{path:n,selectedKind:i,selectedStory:o,...s}=(0,lg.parse)(r);return`?${(0,lg.stringify)({...s,...t,...e&&{id:e.storyId,viewMode:e.viewMode}})}`},"getQueryString"),uee=a(e=>{if(!e)return;let t=e$({selection:e}),{hash:r=""}=Pi.location;Pi.title=e.storyId,QL.replaceState({},"",`${Pi.location.pathname}${t}${r}`)},"setPath"),cee=a(e=>e!=null&&typeof e=="object"&&Array.isArray(e)===!1,"isObject"),il=a(e=>{if(e!==void 0){if(typeof e=="string")return e;if(Array.isArray(e))return il(e[0]);if(cee(e))return il(Object.values(e).filter(Boolean))}},"getFirstString"),pee=a(()=>{if(typeof Pi<"u"){let e=Pi.location.search.slice(1),t=(0,lg.parse)(e),r=typeof t.args=="string"?PT(t.args):void 0,n=typeof t.globals=="string"?PT(t.globals):void 0,i=il(t.viewMode);(typeof i!="string"||!i.match(/docs|story/))&&(i="story");let o=il(t.path),s=o?ZL(o):il(t.id);if(s)return{storySpecifier:s,args:r,globals:n,viewMode:i}}return null},"getSelectionSpecifierFromPath"),t$=class{constructor(){this.selectionSpecifier=pee()}setSelection(t){this.selection=t,uee(this.selection)}setQueryParams(t){let r=e$({extraParams:t}),{hash:n=""}=Pi.location;QL.replaceState({},"",`${Pi.location.pathname}${r}${n}`)}};a(t$,"UrlStore");var r$=t$,dee=wt(VJ(),1),fee=wt(Wg(),1),{document:Gt}=he,AT=100,n$=(e=>(e.MAIN="MAIN",e.NOPREVIEW="NOPREVIEW",e.PREPARING_STORY="PREPARING_STORY",e.PREPARING_DOCS="PREPARING_DOCS",e.ERROR="ERROR",e))(n$||{}),Mh={PREPARING_STORY:"sb-show-preparing-story",PREPARING_DOCS:"sb-show-preparing-docs",MAIN:"sb-show-main",NOPREVIEW:"sb-show-nopreview",ERROR:"sb-show-errordisplay"},qh={centered:"sb-main-centered",fullscreen:"sb-main-fullscreen",padded:"sb-main-padded"},RT=new dee.default({escapeXML:!0}),i$=class{constructor(){if(this.testing=!1,typeof Gt<"u"){let{__SPECIAL_TEST_PARAMETER__:t}=(0,fee.parse)(Gt.location.search.slice(1));switch(t){case"preparing-story":{this.showPreparingStory(),this.testing=!0;break}case"preparing-docs":{this.showPreparingDocs(),this.testing=!0;break}}}}prepareForStory(t){return this.showStory(),this.applyLayout(t.parameters.layout),Gt.documentElement.scrollTop=0,Gt.documentElement.scrollLeft=0,this.storyRoot()}storyRoot(){return Gt.getElementById("storybook-root")}prepareForDocs(){return this.showMain(),this.showDocs(),this.applyLayout("fullscreen"),Gt.documentElement.scrollTop=0,Gt.documentElement.scrollLeft=0,this.docsRoot()}docsRoot(){return Gt.getElementById("storybook-docs")}applyLayout(t="padded"){if(t==="none"){Gt.body.classList.remove(this.currentLayoutClass),this.currentLayoutClass=null;return}this.checkIfLayoutExists(t);let r=qh[t];Gt.body.classList.remove(this.currentLayoutClass),Gt.body.classList.add(r),this.currentLayoutClass=r}checkIfLayoutExists(t){qh[t]||st.warn(ke`
|
|
927
|
-
The desired layout: ${t} is not a valid option.
|
|
928
|
-
The possible options are: ${Object.keys(qh).join(", ")}, none.
|
|
929
|
-
`)}showMode(t){clearTimeout(this.preparingTimeout),Object.keys(n$).forEach(r=>{r===t?Gt.body.classList.add(Mh[r]):Gt.body.classList.remove(Mh[r])})}showErrorDisplay({message:t="",stack:r=""}){let n=t,i=r,o=t.split(`
|
|
930
|
-
`);o.length>1&&([n]=o,i=o.slice(1).join(`
|
|
931
|
-
`).replace(/^\n/,"")),Gt.getElementById("error-message").innerHTML=RT.toHtml(n),Gt.getElementById("error-stack").innerHTML=RT.toHtml(i),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"),AT)}showPreparingDocs({immediate:t=!1}={}){clearTimeout(this.preparingTimeout),t?this.showMode("PREPARING_DOCS"):this.preparingTimeout=setTimeout(()=>this.showMode("PREPARING_DOCS"),AT)}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(){Gt.body.classList.add(Mh.MAIN)}};a(i$,"WebView");var o$=i$,s$=class extends GL{constructor(t,r){super(t,r,new r$,new o$),this.importFn=t,this.getProjectAnnotations=r,he.__STORYBOOK_PREVIEW__=this}};a(s$,"PreviewWeb");var hee=s$,{document:mo}=he,mee=["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"],yee="script",NT="scripts-root";function Pp(){let e=mo.createEvent("Event");e.initEvent("DOMContentLoaded",!0,!0),mo.dispatchEvent(e)}a(Pp,"simulateDOMContentLoaded");function a$(e,t,r){let n=mo.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):mo.head.appendChild(n),e.parentNode.removeChild(e),e.src||t()}a(a$,"insertScript");function Y0(e,t,r=0){e[r](()=>{r++,r===e.length?t():Y0(e,t,r)})}a(Y0,"insertScriptsSequentially");function l$(e){let t=mo.getElementById(NT);t?t.innerHTML="":(t=mo.createElement("div"),t.id=NT,mo.body.appendChild(t));let r=Array.from(e.querySelectorAll(yee));if(r.length){let n=[];r.forEach(i=>{let o=i.getAttribute("type");(!o||mee.includes(o))&&n.push(s=>a$(i,s,t))}),n.length&&Y0(n,Pp,void 0)}else Pp()}a(l$,"simulatePageLoad");var gee="storybook/docs",bee=`${gee}/snippet-rendered`;async function u$(e,t){let r=t.parameters?.docs?.source?.transform,{id:n,unmappedArgs:i}=t,o=r&&e?r?.(e,t):e,s=o?await o:void 0;Br.getChannel().emit(bee,{id:n,source:s,args:i})}a(u$,"emitTransformCode");var jl={depth:10,clearOnStoryChange:!0,limit:50},vee=a((e={})=>{Object.assign(jl,e)},"configureActions"),c$=a((e,t)=>{let r=Object.getPrototypeOf(e);return!r||t(r)?r:c$(r,t)},"findProto"),_ee=a(e=>!!(typeof e=="object"&&e&&c$(e,t=>/^Synthetic(?:Base)?Event$/.test(t.constructor.name))&&typeof e.persist=="function"),"isReactSyntheticEvent"),Eee=a(e=>{if(_ee(e)){let t=Object.create(e.constructor.prototype,Object.getOwnPropertyDescriptors(e));t.persist();let r=Object.getOwnPropertyDescriptor(t,"view"),n=r?.value;return typeof n=="object"&&n?.constructor.name==="Window"&&Object.defineProperty(t,"view",{...r,value:Object.create(n.constructor.prototype)}),t}return e},"serializeArg");function ya(e,t={}){let r={...jl,...t},n=a(function(...i){if(t.implicit){let d=("__STORYBOOK_PREVIEW__"in he?he.__STORYBOOK_PREVIEW__:void 0)?.storyRenders.find(f=>f.phase==="playing"||f.phase==="rendering");if(d){let f=!globalThis?.FEATURES?.disallowImplicitActionsInRenderV8,h=new S1({phase:d.phase,name:e,deprecated:f});if(f)console.warn(h);else throw h}}let o=Br.getChannel(),s=Date.now().toString(36)+Math.random().toString(36).substring(2),l=5,u=i.map(Eee),c=i.length>1?u:u[0],p={id:s,count:0,data:{name:e,args:c},options:{...r,maxDepth:l+(r.depth||3)}};o.emit(nP,p)},"actionHandler");return n.isAction=!0,n.implicit=t.implicit,n}a(ya,"action");var wee=a((...e)=>{let t=jl,r=e;r.length===1&&Array.isArray(r[0])&&([r]=r),r.length!==1&&typeof r[r.length-1]!="string"&&(t={...jl,...r.pop()});let n=r[0];(r.length!==1||typeof n=="string")&&(n={},r.forEach(o=>{n[o]=o}));let i={};return Object.keys(n).forEach(o=>{i[o]=ya(n[o],t)}),i},"actions"),xee={"@storybook/global":eO,"storybook/test":CP,"storybook/actions":rP,"storybook/preview-api":wm,"storybook/internal/channels":rO,"storybook/internal/client-logger":iO,"storybook/internal/core-events":zg,"storybook/internal/types":eP,"storybook/internal/preview-errors":b1,"storybook/internal/preview-api":wm};async function p$(){let e=new URL(window.location.href);if(e.searchParams.get("navigator")!=="true"||globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__)return;globalThis.__STORYBOOK_PREVIEW_NAVIGATOR__=!0;let t=await(await fetch("/index.json")).json(),r=e.searchParams.get("id");if(!r){let n=Object.values(t.entries)[0];n&&(e.searchParams.set("id",n.id),e.searchParams.set("viewMode",n.type),window.location.href=e.toString());return}Tee(t,r)}a(p$,"maybeSetupPreviewNavigator");var Tee=a(async(e,t)=>{let r={entries:{}};for(let l of Object.values(e.entries)){let u=l.title.split("/"),c=r;for(let p of u)c.entries||(c.entries={}),c.entries[p]?t===l.id&&(c.entries[p].isActive=!0):c.entries[p]={title:p,isActive:t===l.id,entries:{}},c=c.entries[p];c.entries||(c.entries={}),c.entries[l.name]={id:l.id,name:l.name,href:`?id=${l.id}&viewMode=${l.type}&navigator=true`,isActive:t===l.id}}let n=a(l=>{if("entries"in l&&"title"in l){let c=l;return`
|
|
932
|
-
<li class="sb-navigator-branch">
|
|
933
|
-
<details${c.isActive?" open":""}>
|
|
934
|
-
<summary class="sb-navigator-title">
|
|
935
|
-
${c.title}
|
|
936
|
-
</summary>
|
|
937
|
-
<ul class="sb-navigator-entries" aria-label="${c.title}">
|
|
938
|
-
${Object.values(c.entries).map(n).join("")}
|
|
939
|
-
</ul>
|
|
940
|
-
</details>
|
|
941
|
-
</li>
|
|
942
|
-
`}let u=l;return`
|
|
943
|
-
<li class="sb-navigator-story-item">
|
|
944
|
-
<a href="${u.href}"
|
|
945
|
-
class="sb-navigator-story-link${u.isActive?" active":""}"
|
|
946
|
-
aria-current="${u.isActive?"location":"false"}">${u.name}</a>
|
|
947
|
-
</li>
|
|
948
|
-
`},"createHtmlForNode"),i=Object.values(r.entries).map(n).join(""),o=document.createElement("nav");o.id="sb-navigator-container",o.setAttribute("role","navigation"),o.setAttribute("aria-label","Story navigation"),o.innerHTML=`
|
|
949
|
-
<ul class="sb-navigator-list">${i}</ul>
|
|
950
|
-
`,document.body.insertBefore(o,document.body.firstChild);let s=document.createElement("style");s.id="sb-navigator-style",s.textContent=`
|
|
951
|
-
body {
|
|
952
|
-
display: grid !important;
|
|
953
|
-
grid-template-columns: 300px 1fr;
|
|
954
|
-
font-family: 'Nunito', sans-serif;
|
|
955
|
-
height: 100vh;
|
|
956
|
-
margin: 0;
|
|
957
|
-
|
|
958
|
-
--text-color: rgb(46, 52, 56);
|
|
959
|
-
--bg-color: rgb(246, 249, 252);
|
|
960
|
-
|
|
961
|
-
@media (prefers-color-scheme: dark) {
|
|
962
|
-
--text-color: rgb(201, 205, 207);
|
|
963
|
-
--bg-color: rgb(34, 36, 37);
|
|
964
|
-
}
|
|
965
|
-
}
|
|
966
|
-
#storybook-root, #storybook-docs {
|
|
967
|
-
overflow-y: auto;
|
|
968
|
-
max-height: 100vh;
|
|
969
|
-
max-width: 100%;
|
|
970
|
-
}
|
|
971
|
-
#sb-navigator-container, #sb-navigator-container * {
|
|
972
|
-
box-sizing: border-box;
|
|
973
|
-
}
|
|
974
|
-
#sb-navigator-container {
|
|
975
|
-
height: 100vh;
|
|
976
|
-
overflow-y: auto;
|
|
977
|
-
border-right: 1px solid #eee;
|
|
978
|
-
padding: 1rem;
|
|
979
|
-
font-size: 14px;
|
|
980
|
-
color: var(--text-color);
|
|
981
|
-
background-color: var(--bg-color);
|
|
982
|
-
align-self: start;
|
|
983
|
-
z-index: 1000;
|
|
984
|
-
}
|
|
985
|
-
.sb-main-padded #sb-navigator-container {
|
|
986
|
-
margin: -1rem 1rem -1rem -1rem;
|
|
987
|
-
}
|
|
988
|
-
.sb-navigator-list {
|
|
989
|
-
list-style-type: none;
|
|
990
|
-
padding: 0;
|
|
991
|
-
margin: 0;
|
|
992
|
-
}
|
|
993
|
-
.sb-navigator-branch {
|
|
994
|
-
list-style-type: none;
|
|
995
|
-
}
|
|
996
|
-
.sb-navigator-item {
|
|
997
|
-
margin-bottom: 15px;
|
|
998
|
-
}
|
|
999
|
-
.sb-navigator-title {
|
|
1000
|
-
color: var(--text-color);
|
|
1001
|
-
text-decoration: none;
|
|
1002
|
-
padding-block: 5px;
|
|
1003
|
-
cursor: pointer;
|
|
1004
|
-
}
|
|
1005
|
-
.sb-navigator-entries {
|
|
1006
|
-
padding-left: 15px;
|
|
1007
|
-
}
|
|
1008
|
-
.sb-navigator-story-item {
|
|
1009
|
-
margin-bottom: 8px;
|
|
1010
|
-
margin-left: 8px;
|
|
1011
|
-
}
|
|
1012
|
-
.sb-navigator-story-link {
|
|
1013
|
-
color: var(--text-color);
|
|
1014
|
-
}
|
|
1015
|
-
.sb-navigator-story-link.active {
|
|
1016
|
-
font-weight: bold;
|
|
1017
|
-
color: rgb(2, 156, 253);
|
|
1018
|
-
}
|
|
1019
|
-
`,document.head.appendChild(s),o.querySelector(".sb-navigator-story-link.active")?.closest("details")?.scrollIntoView({block:"center"})},"setupPreviewNavigator"),See=wt(HJ(),1),jh;function d$(){return jh||(jh=new See.default(he.navigator?.userAgent).getBrowserInfo()),jh}a(d$,"getBrowserInfo");function f$(e){return e.browserInfo=d$(),e}a(f$,"prepareForTelemetry");function h$(e){let t=e.error||e;t.fromStorybook&&he.sendTelemetryError(t)}a(h$,"errorListener");function m$({reason:e}){e.fromStorybook&&he.sendTelemetryError(e)}a(m$,"unhandledRejectionListener");function X0(){y9.forEach(e=>{he[tO[e]]=xee[e]}),he.sendTelemetryError=e=>{he.__STORYBOOK_ADDONS_CHANNEL__.emit(QC,f$(e))},he.addEventListener("error",h$),he.addEventListener("unhandledrejection",m$),p$()}a(X0,"setup");X0();const{createBrowserChannel:Cee}=__STORYBOOK_MODULE_CHANNELS__,{addons:Oee}=__STORYBOOK_MODULE_PREVIEW_API__,Q0=Cee({page:"preview"});Oee.setChannel(Q0);window.__STORYBOOK_ADDONS_CHANNEL__=Q0;window.CONFIG_TYPE==="DEVELOPMENT"&&(window.__STORYBOOK_SERVER_CHANNEL__=Q0);const Pee="modulepreload",Aee=function(e,t){return new URL(e,t).href},IT={},ne=function(t,r,n){let i=Promise.resolve();if(r&&r.length>0){let c=function(p){return Promise.all(p.map(d=>Promise.resolve(d).then(f=>({status:"fulfilled",value:f}),f=>({status:"rejected",reason:f}))))};const s=document.getElementsByTagName("link"),l=document.querySelector("meta[property=csp-nonce]"),u=l?.nonce||l?.getAttribute("nonce");i=c(r.map(p=>{if(p=Aee(p,n),p in IT)return;IT[p]=!0;const d=p.endsWith(".css"),f=d?'[rel="stylesheet"]':"";if(!!n)for(let b=s.length-1;b>=0;b--){const g=s[b];if(g.href===p&&(!d||g.rel==="stylesheet"))return}else if(document.querySelector(`link[href="${p}"]${f}`))return;const y=document.createElement("link");if(y.rel=d?"stylesheet":Pee,d||(y.as="script"),y.crossOrigin="",y.href=p,u&&y.setAttribute("nonce",u),document.head.appendChild(y),d)return new Promise((b,g)=>{y.addEventListener("load",b),y.addEventListener("error",()=>g(new Error(`Unable to preload CSS for ${p}`)))})}))}function o(s){const l=new Event("vite:preloadError",{cancelable:!0});if(l.payload=s,window.dispatchEvent(l),!l.defaultPrevented)throw s}return i.then(s=>{for(const l of s||[])l.status==="rejected"&&o(l.reason);return t().catch(o)})},Ree={"./src/components/DpAccordion/DpAccordion.mdx":()=>ne(()=>import("./DpAccordion-BJ0eYoeL.js"),__vite__mapDeps([0,1,2,3,4,5,6,7]),import.meta.url),"./src/components/DpAccordion/DpAccordion.stories.tsx":()=>ne(()=>import("./DpAccordion.stories-Bi3-V11T.js").then(e=>e.D),__vite__mapDeps([4,5,6,7]),import.meta.url),"./src/components/DpAutocomplete/DpAutocomplete.mdx":()=>ne(()=>import("./DpAutocomplete-BhABAuyz.js"),__vite__mapDeps([8,1,2,3,9,10,11,12,13]),import.meta.url),"./src/components/DpAutocomplete/DpAutocomplete.stories.tsx":()=>ne(()=>import("./DpAutocomplete.stories-DGmOfoqI.js").then(e=>e.D),__vite__mapDeps([9,10,11,12,13,2]),import.meta.url),"./src/components/DpBadge/DpBadge.mdx":()=>ne(()=>import("./DpBadge-BPAWHuN0.js"),__vite__mapDeps([14,1,2,3,15,16,7]),import.meta.url),"./src/components/DpBadge/DpBadge.stories.tsx":()=>ne(()=>import("./DpBadge.stories-DEFu_g_d.js").then(e=>e.D),__vite__mapDeps([15,16,7]),import.meta.url),"./src/components/DpBulkEditHeader/DpBulkEditHeader.mdx":()=>ne(()=>import("./DpBulkEditHeader-DYRPNRDA.js"),__vite__mapDeps([17,1,2,3,18,19,11,20,6,21,22,7]),import.meta.url),"./src/components/DpBulkEditHeader/DpBulkEditHeader.stories.tsx":()=>ne(()=>import("./DpBulkEditHeader.stories-CgKeZjbQ.js").then(e=>e.D),__vite__mapDeps([18,19,11,20,6,21,22,2,7]),import.meta.url),"./src/components/DpButton/DpButton.mdx":()=>ne(()=>import("./DpButton-BX5f5Y08.js"),__vite__mapDeps([23,1,2,3,24,20,6,21,22]),import.meta.url),"./src/components/DpButton/DpButton.stories.tsx":()=>ne(()=>import("./DpButton.stories-Bh1aQWo-.js").then(e=>e.D),__vite__mapDeps([24,20,6,21,22,2]),import.meta.url),"./src/components/DpButtonIcon/DpButtonIcon.mdx":()=>ne(()=>import("./DpButtonIcon-CutRnDpO.js"),__vite__mapDeps([25,1,2,3]),import.meta.url),"./src/components/DpButtonRow/DpButtonRow.mdx":()=>ne(()=>import("./DpButtonRow-CU6rf5xR.js"),__vite__mapDeps([26,1,2,3,27,28,11,20,6,21,22,7]),import.meta.url),"./src/components/DpButtonRow/DpButtonRow.stories.tsx":()=>ne(()=>import("./DpButtonRow.stories-BRZ52We0.js").then(e=>e.D),__vite__mapDeps([27,28,11,20,6,21,22,2,7]),import.meta.url),"./src/components/DpCard/DpCard.mdx":()=>ne(()=>import("./DpCard-CqzBHYky.js"),__vite__mapDeps([29,1,2,3,30,31,32,11,6,21,22,7]),import.meta.url),"./src/components/DpCard/DpCard.stories.tsx":()=>ne(()=>import("./DpCard.stories-CkAnU1Vf.js").then(e=>e.D),__vite__mapDeps([30,31,32,11,6,21,22,2,7]),import.meta.url),"./src/components/DpCheckbox/DpCheckbox.mdx":()=>ne(()=>import("./DpCheckbox-Db9FgQPp.js"),__vite__mapDeps([33,1,2,3,34,35,36,32,11,6,21,22,37,38,39,40,41,7]),import.meta.url),"./src/components/DpCheckbox/DpCheckbox.stories.tsx":()=>ne(()=>import("./DpCheckbox.stories-yTBXYgIJ.js").then(e=>e.D),__vite__mapDeps([34,35,36,32,11,6,21,22,2,37,38,39,40,41,7]),import.meta.url),"./src/components/DpCheckboxGroup/DpCheckboxGroup.mdx":()=>ne(()=>import("./DpCheckboxGroup-CE1noRhA.js"),__vite__mapDeps([42,1,2,3,43,44,21,22,35,36,32,11,6,37,38,39,40,41,7]),import.meta.url),"./src/components/DpCheckboxGroup/DpCheckboxGroup.stories.tsx":()=>ne(()=>import("./DpCheckboxGroup.stories-DQ7BzPww.js").then(e=>e.D),__vite__mapDeps([43,44,21,22,2,35,36,32,11,6,37,38,39,40,41,7]),import.meta.url),"./src/components/DpColumnSelector/DpColumnSelector.mdx":()=>ne(()=>import("./DpColumnSelector-B0Q0n09i.js"),__vite__mapDeps([45,1,2,3,46,47,11,35,36,32,6,21,22,37,38,39,40,41,7,48,49,13]),import.meta.url),"./src/components/DpColumnSelector/DpColumnSelector.stories.tsx":()=>ne(()=>import("./DpColumnSelector.stories-Bsxtu-R9.js").then(e=>e.D),__vite__mapDeps([46,47,11,35,36,32,6,21,22,2,37,38,39,40,41,7,48,49,13]),import.meta.url),"./src/components/DpConfirmDialog/DpConfirmDialog.mdx":()=>ne(()=>import("./DpConfirmDialog-B4NQKzL5.js"),__vite__mapDeps([50,1,2,3,51,52,11,28,20,6,21,22,7,53,39,37,38,40,41]),import.meta.url),"./src/components/DpConfirmDialog/DpConfirmDialog.stories.tsx":()=>ne(()=>import("./DpConfirmDialog.stories-iv2KRiDU.js").then(e=>e.D),__vite__mapDeps([51,52,11,28,20,6,21,22,2,7,53,39,37,38,40,41]),import.meta.url),"./src/components/DpContextualHelp/DpContextualHelp.mdx":()=>ne(()=>import("./DpContextualHelp-cg4NfoZJ.js"),__vite__mapDeps([54,1,2,3,55,32,11,6,21,22]),import.meta.url),"./src/components/DpContextualHelp/DpContextualHelp.stories.tsx":()=>ne(()=>import("./DpContextualHelp.stories-D5HWdQyH.js").then(e=>e.D),__vite__mapDeps([55,32,11,6,21,22,2]),import.meta.url),"./src/components/DpDataTable/DpDataTable.mdx":()=>ne(()=>import("./DpDataTable-Cr1GA5Cb.js"),__vite__mapDeps([56,1,2,3,57,58,21,22,11,37,40,41,38,59,60,7,6,13]),import.meta.url),"./src/components/DpDataTable/DpDataTable.stories.tsx":()=>ne(()=>import("./DpDataTable.stories-BjXZnrni.js").then(e=>e.D),__vite__mapDeps([57,58,21,22,2,11,37,40,41,38,59,60,7,6,13]),import.meta.url),"./src/components/DpDataTableExtended/DpDataTableExtended.mdx":()=>ne(()=>import("./DpDataTableExtended-C-oFpO_I.js"),__vite__mapDeps([61,1,2,3,62,63,21,58,22,11,37,40,41,38,59,60,7,6,13,64,65,12,66]),import.meta.url),"./src/components/DpDataTableExtended/DpDataTableExtended.stories.tsx":()=>ne(()=>import("./DpDataTableExtended.stories-I5_PptZr.js").then(e=>e.D),__vite__mapDeps([62,63,21,58,22,2,11,37,40,41,38,59,60,7,6,13,64,65,12,66]),import.meta.url),"./src/components/DpDateRangePicker/DpDateRangePicker.mdx":()=>ne(()=>import("./DpDateRangePicker-YGJhE-xN.js"),__vite__mapDeps([67,1,2,3,68,69,70,7,37]),import.meta.url),"./src/components/DpDateRangePicker/DpDateRangePicker.stories.tsx":()=>ne(()=>import("./DpDateRangePicker.stories-CCfSjt7J.js").then(e=>e.D),__vite__mapDeps([68,69,70,7,37,2]),import.meta.url),"./src/components/DpDatepicker/DpDatepicker.mdx":()=>ne(()=>import("./DpDatepicker-BlQqmRXh.js"),__vite__mapDeps([71,1,2,3,72,70,7]),import.meta.url),"./src/components/DpDatepicker/DpDatepicker.stories.tsx":()=>ne(()=>import("./DpDatepicker.stories-QbL7uNPB.js").then(e=>e.D),__vite__mapDeps([72,70,7]),import.meta.url),"./src/components/DpDatetimePicker/DpDatetimePicker.mdx":()=>ne(()=>import("./DpDatetimePicker-BNogWwEl.js"),__vite__mapDeps([73,1,2,3,74,75,37,70,7,76,77,78,11,38,36,32,6,21,22,79,49]),import.meta.url),"./src/components/DpDatetimePicker/DpDatetimePicker.stories.tsx":()=>ne(()=>import("./DpDatetimePicker.stories-dJTr_X4a.js").then(e=>e.D),__vite__mapDeps([74,75,2,37,70,7,76,77,78,11,38,36,32,6,21,22,79,49]),import.meta.url),"./src/components/DpDetails/DpDetails.mdx":()=>ne(()=>import("./DpDetails-qy-zsMYA.js"),__vite__mapDeps([80,1,2,3,81,82,21,7]),import.meta.url),"./src/components/DpDetails/DpDetails.stories.tsx":()=>ne(()=>import("./DpDetails.stories-BmFnnpwr.js").then(e=>e.D),__vite__mapDeps([81,82,21,7]),import.meta.url),"./src/components/DpDraggable/DpDraggable.mdx":()=>ne(()=>import("./DpDraggable-CddfZrQg.js"),__vite__mapDeps([83,1,2,3,84,59]),import.meta.url),"./src/components/DpDraggable/DpDraggable.stories.tsx":()=>ne(()=>import("./DpDraggable.stories-YSsJhbLZ.js").then(e=>e.D),__vite__mapDeps([84,59]),import.meta.url),"./src/components/DpEditableList/DpEditableList.mdx":()=>ne(()=>import("./DpEditableList-CKEmMpmV.js"),__vite__mapDeps([85,1,2,3,86,87,11,20,6,21,22,7]),import.meta.url),"./src/components/DpEditableList/DpEditableList.stories.tsx":()=>ne(()=>import("./DpEditableList.stories-CunPGVO1.js").then(e=>e.D),__vite__mapDeps([86,87,11,20,6,21,22,2,7]),import.meta.url),"./src/components/DpEditor/DpEditor.mdx":()=>ne(()=>import("./DpEditor-xJ7bfv4o.js"),__vite__mapDeps([88,1,2,3,89,5,6,7,90,22,11,21,28,20,35,36,32,37,38,39,40,41,77,78,53,13,91,58,59,60,12,49,92,10,19,16,31,44,47,48,63,64,65,66,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/components/DpEditor/DpEditor.stories.tsx":()=>ne(()=>import("./DpEditor.stories-IBm6EtTh.js").then(e=>e.D),__vite__mapDeps([89,5,6,7,90,22,2,11,21,28,20,35,36,32,37,38,39,40,41,77,78,53,13,91,58,59,60,12,49,92,10,19,16,31,44,47,48,63,64,65,66,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/components/DpFlyout/DpFlyout.mdx":()=>ne(()=>import("./DpFlyout-DgegOHH0.js"),__vite__mapDeps([108,1,2,3,109,48,49,7]),import.meta.url),"./src/components/DpFlyout/DpFlyout.stories.tsx":()=>ne(()=>import("./DpFlyout.stories-vre_uXPR.js").then(e=>e.D),__vite__mapDeps([109,48,49,7]),import.meta.url),"./src/components/DpFormRow/DpFormRow.mdx":()=>ne(()=>import("./DpFormRow-DkKEMIVl.js"),__vite__mapDeps([110,1,2,3,111,93,7,101,36,32,11,6,21,22,37,38,39,40,41]),import.meta.url),"./src/components/DpFormRow/DpFormRow.stories.tsx":()=>ne(()=>import("./DpFormRow.stories-ix_fpK9y.js").then(e=>e.D),__vite__mapDeps([111,93,7,101,36,32,11,6,21,22,2,37,38,39,40,41]),import.meta.url),"./src/components/DpIcon/DpIcon.mdx":()=>ne(()=>import("./DpIcon-DNUvGdzz.js"),__vite__mapDeps([112,1,2,3,113,6]),import.meta.url),"./src/components/DpIcon/DpIcon.stories.tsx":()=>ne(()=>import("./DpIcon.stories-DGgU5AFH.js").then(e=>e.D),__vite__mapDeps([113,6]),import.meta.url),"./src/components/DpInlineNotification/DpInlineNotification.mdx":()=>ne(()=>import("./DpInlineNotification-wqa943WU.js"),__vite__mapDeps([114,1,2,3,115,94,11,6,7]),import.meta.url),"./src/components/DpInlineNotification/DpInlineNotification.stories.tsx":()=>ne(()=>import("./DpInlineNotification.stories-B0z19u_O.js").then(e=>e.D),__vite__mapDeps([115,94,11,6,2,7]),import.meta.url),"./src/components/DpInput/DpInput.mdx":()=>ne(()=>import("./DpInput-HcmwQIdx.js"),__vite__mapDeps([116,1,2,3,117,77,37,78,11,38,36,32,6,21,22]),import.meta.url),"./src/components/DpInput/DpInput.stories.tsx":()=>ne(()=>import("./DpInput.stories-bIIwZ06I.js").then(e=>e.D),__vite__mapDeps([117,77,37,2,78,11,38,36,32,6,21,22]),import.meta.url),"./src/components/DpLabel/DpLabel.mdx":()=>ne(()=>import("./DpLabel-CIRt98zd.js"),__vite__mapDeps([118,1,2,3,119,36,32,11,6,21,22,37,38]),import.meta.url),"./src/components/DpLabel/DpLabel.stories.tsx":()=>ne(()=>import("./DpLabel.stories-DOvT5FP0.js").then(e=>e.D),__vite__mapDeps([119,36,32,11,6,21,22,2,37,38]),import.meta.url),"./src/components/DpLoading/DpLoading.mdx":()=>ne(()=>import("./DpLoading-CPPK2VdG.js"),__vite__mapDeps([120,1,2,3,121,60,11,7]),import.meta.url),"./src/components/DpLoading/DpLoading.stories.tsx":()=>ne(()=>import("./DpLoading.stories-DbGxhEdp.js").then(e=>e.D),__vite__mapDeps([121,60,11,7]),import.meta.url),"./src/components/DpModal/DpModal.mdx":()=>ne(()=>import("./DpModal-CVn3FCXs.js"),__vite__mapDeps([122,1,2,3,123,53,6,11,39,37,38,40,41,7,20,21,22]),import.meta.url),"./src/components/DpModal/DpModal.stories.tsx":()=>ne(()=>import("./DpModal.stories-D85oaATj.js").then(e=>e.D),__vite__mapDeps([123,53,6,11,39,37,2,38,40,41,7,20,21,22]),import.meta.url),"./src/components/DpMultiselect/DpMultiselect.mdx":()=>ne(()=>import("./DpMultiselect-C43chKj1.js"),__vite__mapDeps([124,1,2,3,125,91,11,40,41,38,7]),import.meta.url),"./src/components/DpMultiselect/DpMultiselect.stories.tsx":()=>ne(()=>import("./DpMultiselect.stories-CIoTsG-g.js").then(e=>e.D),__vite__mapDeps([125,91,11,40,41,38,7]),import.meta.url),"./src/components/DpMultistepNav/DpMultistepNav.mdx":()=>ne(()=>import("./DpMultistepNav-C2Zadn2N.js"),__vite__mapDeps([126,1,2,3,127,95,39,37,38,40,41,7]),import.meta.url),"./src/components/DpMultistepNav/DpMultistepNav.stories.tsx":()=>ne(()=>import("./DpMultistepNav.stories-BG2cLqfE.js").then(e=>e.D),__vite__mapDeps([127,95,39,37,2,38,40,41,7]),import.meta.url),"./src/components/DpNotification/DpNotification.mdx":()=>ne(()=>import("./DpNotification-DyJmy8iY.js"),__vite__mapDeps([128,1,2,3,129,96,39,37,38,40,41,7]),import.meta.url),"./src/components/DpNotification/DpNotification.stories.tsx":()=>ne(()=>import("./DpNotification.stories-DfecPPLD.js").then(e=>e.D),__vite__mapDeps([129,96,39,37,2,38,40,41,7]),import.meta.url),"./src/components/DpPager/DpPager.mdx":()=>ne(()=>import("./DpPager-XfqFqQGG.js"),__vite__mapDeps([130,1,2,3,131,97,11,91,40,41,38,7,64,37]),import.meta.url),"./src/components/DpPager/DpPager.stories.tsx":()=>ne(()=>import("./DpPager.stories-DHEGD-lB.js").then(e=>e.D),__vite__mapDeps([131,97,11,91,40,41,38,7,64,37,2]),import.meta.url),"./src/components/DpProgressBar/DpProgressBar.mdx":()=>ne(()=>import("./DpProgressBar-4fw0icXV.js"),__vite__mapDeps([132,1,2,3,133,98,7]),import.meta.url),"./src/components/DpProgressBar/DpProgressBar.stories.tsx":()=>ne(()=>import("./DpProgressBar.stories-BSJKPymL.js").then(e=>e.D),__vite__mapDeps([133,98,7]),import.meta.url),"./src/components/DpRadio/DpRadio.mdx":()=>ne(()=>import("./DpRadio-9df2JDL9.js"),__vite__mapDeps([134,1,2,3,135,99,36,32,11,6,21,22,37,38,39,40,41,7]),import.meta.url),"./src/components/DpRadio/DpRadio.stories.tsx":()=>ne(()=>import("./DpRadio.stories-BE1cjwtP.js").then(e=>e.D),__vite__mapDeps([135,99,36,32,11,6,21,22,2,37,38,39,40,41,7]),import.meta.url),"./src/components/DpResettableInput/DpResettableInput.mdx":()=>ne(()=>import("./DpResettableInput-BPdfP0Ae.js"),__vite__mapDeps([136,1,2,3,137,79,6,77,37,78,11,38,36,32,21,22,7]),import.meta.url),"./src/components/DpResettableInput/DpResettableInput.stories.tsx":()=>ne(()=>import("./DpResettableInput.stories-Cq1mfxTz.js").then(e=>e.D),__vite__mapDeps([137,79,6,77,37,2,78,11,38,36,32,21,22,7]),import.meta.url),"./src/components/DpSearchField/DpSearchField.mdx":()=>ne(()=>import("./DpSearchField-f1Llye-2.js"),__vite__mapDeps([138,1,2,3,139,100,11,20,6,21,22,79,77,37,78,38,36,32,7]),import.meta.url),"./src/components/DpSearchField/DpSearchField.stories.tsx":()=>ne(()=>import("./DpSearchField.stories-CdMKRXtW.js").then(e=>e.D),__vite__mapDeps([139,100,11,20,6,21,22,2,79,77,37,78,38,36,32,7]),import.meta.url),"./src/components/DpSelect/DpSelect.mdx":()=>ne(()=>import("./DpSelect-J0BVjsqi.js"),__vite__mapDeps([140,1,2,3,141,101,36,32,11,6,21,22,37,38,39,40,41,7]),import.meta.url),"./src/components/DpSelect/DpSelect.stories.tsx":()=>ne(()=>import("./DpSelect.stories-NpI9vCfo.js").then(e=>e.D),__vite__mapDeps([141,101,36,32,11,6,21,22,2,37,38,39,40,41,7]),import.meta.url),"./src/components/DpSkeletonBox/DpSkeletonBox.mdx":()=>ne(()=>import("./DpSkeletonBox-CDn0SzQb.js"),__vite__mapDeps([142,1,2,3,143,102,7]),import.meta.url),"./src/components/DpSkeletonBox/DpSkeletonBox.stories.tsx":()=>ne(()=>import("./DpSkeletonBox.stories-Cb2yeXBb.js").then(e=>e.D),__vite__mapDeps([143,102,7]),import.meta.url),"./src/components/DpSlidebar/DpSlidebar.mdx":()=>ne(()=>import("./DpSlidebar-Bfb2VXSk.js"),__vite__mapDeps([144,1,2,3,145,103,37,13,12,6,7]),import.meta.url),"./src/components/DpSlidebar/DpSlidebar.stories.tsx":()=>ne(()=>import("./DpSlidebar.stories-DKSwFYzN.js").then(e=>e.D),__vite__mapDeps([145,103,37,2,13,12,6,7]),import.meta.url),"./src/components/DpSlidingPagination/DpSlidingPagination.mdx":()=>ne(()=>import("./DpSlidingPagination-CfkT9VBg.js"),__vite__mapDeps([146,1,2,3,147,64,11,37,38,7]),import.meta.url),"./src/components/DpSlidingPagination/DpSlidingPagination.stories.tsx":()=>ne(()=>import("./DpSlidingPagination.stories-DZ80NUNd.js").then(e=>e.D),__vite__mapDeps([147,64,11,37,2,38,7]),import.meta.url),"./src/components/DpSplitButton/DpSplitButton.mdx":()=>ne(()=>import("./DpSplitButton-Cft5u7Pe.js"),__vite__mapDeps([148,1,2,3]),import.meta.url),"./src/components/DpStickyElement/DpStickyElement.mdx":()=>ne(()=>import("./DpStickyElement-Biohssqu.js"),__vite__mapDeps([149,1,2,3,150,65,12,13,66,41,7]),import.meta.url),"./src/components/DpStickyElement/DpStickyElement.stories.tsx":()=>ne(()=>import("./DpStickyElement.stories-RayTMlXk.js").then(e=>e.D),__vite__mapDeps([150,65,12,13,2,66,41,7]),import.meta.url),"./src/components/DpTabs/DpTabs.mdx":()=>ne(()=>import("./DpTabs-BGgWBJ_5.js"),__vite__mapDeps([151,1,2,3,152,5,6,7,90,22,11,21,28,20,35,36,32,37,38,39,40,41,77,78,53,13,91,58,59,60,12,49,92,10,19,16,31,44,47,48,63,64,65,66,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/components/DpTabs/DpTabs.stories.tsx":()=>ne(()=>import("./DpTabs.stories-BNe9rHxl.js").then(e=>e.D),__vite__mapDeps([152,5,6,7,90,22,2,11,21,28,20,35,36,32,37,38,39,40,41,77,78,53,13,91,58,59,60,12,49,92,10,19,16,31,44,47,48,63,64,65,66,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/components/DpTextArea/DpTextArea.mdx":()=>ne(()=>import("./DpTextArea-BtrBIQP_.js"),__vite__mapDeps([153,1,2,3,154,104,37,78,11,7]),import.meta.url),"./src/components/DpTextArea/DpTextArea.stories.tsx":()=>ne(()=>import("./DpTextArea.stories-c3BZqrsh.js").then(e=>e.D),__vite__mapDeps([154,104,37,2,78,11,7]),import.meta.url),"./src/components/DpTimePicker/DpTimePicker.mdx":()=>ne(()=>import("./DpTimePicker-JnDQtvH1.js"),__vite__mapDeps([155,1,2,3,156,76,77,37,78,11,38,36,32,6,21,22,79,7,49]),import.meta.url),"./src/components/DpTimePicker/DpTimePicker.stories.tsx":()=>ne(()=>import("./DpTimePicker.stories-CMqNipv8.js").then(e=>e.D),__vite__mapDeps([156,76,77,37,2,78,11,38,36,32,6,21,22,79,7,49]),import.meta.url),"./src/components/DpToggle/DpToggle.mdx":()=>ne(()=>import("./DpToggle-BNgSF54s.js"),__vite__mapDeps([157,1,2,3,158,105,7]),import.meta.url),"./src/components/DpToggle/DpToggle.stories.tsx":()=>ne(()=>import("./DpToggle.stories-D3_9X7aB.js").then(e=>e.D),__vite__mapDeps([158,105,7]),import.meta.url),"./src/components/DpTooltip/DpTooltip.mdx":()=>ne(()=>import("./DpTooltip-BwmuQSat.js"),__vite__mapDeps([159,1,2,3,160,106,22,21,7,20,6]),import.meta.url),"./src/components/DpTooltip/DpTooltip.stories.tsx":()=>ne(()=>import("./DpTooltip.stories-DbfOxsaF.js").then(e=>e.D),__vite__mapDeps([160,106,22,2,21,7,20,6]),import.meta.url),"./src/components/DpTransitionExpand/DpTransitionExpand.mdx":()=>ne(()=>import("./DpTransitionExpand-C4Amyfxp.js"),__vite__mapDeps([161,1,2,3,162,5,6,7,90,22,11,21,28,20,35,36,32,37,38,39,40,41,77,78,53,13,91,58,59,60,12,49,92,10,19,16,31,44,47,48,63,64,65,66,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/components/DpTransitionExpand/DpTransitionExpand.stories.tsx":()=>ne(()=>import("./DpTransitionExpand.stories-DX9u7SiJ.js"),__vite__mapDeps([162,5,6,7,90,22,2,11,21,28,20,35,36,32,37,38,39,40,41,77,78,53,13,91,58,59,60,12,49,92,10,19,16,31,44,47,48,63,64,65,66,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/components/DpTreeList/DpTreeList.mdx":()=>ne(()=>import("./DpTreeList-C68TZVte.js"),__vite__mapDeps([163,1,2,3,164,107,37,59,11,7,6,21,22,12,13,66,41]),import.meta.url),"./src/components/DpTreeList/DpTreeList.stories.tsx":()=>ne(()=>import("./DpTreeList.stories-B_u3WNs8.js"),__vite__mapDeps([164,107,37,2,59,11,7,6,21,22,12,13,66,41]),import.meta.url),"./src/components/DpUploadFiles/DpUploadFiles.mdx":()=>ne(()=>import("./DpUploadFiles-BPYxTWYH.js"),__vite__mapDeps([165,1,2,3,166,63,21,58,22,11,37,40,41,38,59,60,7,6,13,64,65,12,66,5,90,28,20,35,36,32,39,77,78,53,91,49,92,10,19,16,31,44,47,48,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/components/DpUploadFiles/DpUploadFiles.stories.tsx":()=>ne(()=>import("./DpUploadFiles.stories-CDCSsFQa.js"),__vite__mapDeps([166,63,21,58,22,2,11,37,40,41,38,59,60,7,6,13,64,65,12,66,5,90,28,20,35,36,32,39,77,78,53,91,49,92,10,19,16,31,44,47,48,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/components/DpVideoPlayer/DpVideoPlayer.mdx":()=>ne(()=>import("./DpVideoPlayer-n_ANjh0q.js"),__vite__mapDeps([167,1,2,3,168,5,6,7,90,22,11,21,28,20,35,36,32,37,38,39,40,41,77,78,53,13,91,58,59,60,12,49,92,10,19,16,31,44,47,48,63,64,65,66,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/components/DpVideoPlayer/DpVideoPlayer.stories.tsx":()=>ne(()=>import("./DpVideoPlayer.stories-BOR2SEz7.js"),__vite__mapDeps([168,5,6,7,90,22,2,11,21,28,20,35,36,32,37,38,39,40,41,77,78,53,13,91,58,59,60,12,49,92,10,19,16,31,44,47,48,63,64,65,66,70,69,75,76,79,82,52,87,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107]),import.meta.url),"./src/directives/CleanHtml/CleanHtml.mdx":()=>ne(()=>import("./CleanHtml-BxfZNGDF.js"),__vite__mapDeps([169,1,2,3]),import.meta.url),"./src/directives/Tooltip/Tooltip.mdx":()=>ne(()=>import("./Tooltip-DzpJJoBp.js"),__vite__mapDeps([170,1,2,3]),import.meta.url),"./src/index.mdx":()=>ne(()=>import("./index-Ccl8MXhV.js"),__vite__mapDeps([171,1,2,3,172]),import.meta.url),"./tokens/tokens._overview.mdx":()=>ne(()=>import("./tokens._overview-DfWYzL-L.js"),__vite__mapDeps([173,1,2,3,172,174]),import.meta.url),"./tokens/tokens.boxShadow.mdx":()=>ne(()=>import("./tokens.boxShadow-BRgz_5Oh.js"),__vite__mapDeps([175,1,2,3,172,174]),import.meta.url),"./tokens/tokens.breakpoints.mdx":()=>ne(()=>import("./tokens.breakpoints-V5SksMvF.js"),__vite__mapDeps([176,1,2,3,172,174]),import.meta.url),"./tokens/tokens.color.mdx":()=>ne(()=>import("./tokens.color-BpZbPjHk.js"),__vite__mapDeps([177,1,2,3,174]),import.meta.url),"./tokens/tokens.fontSize.mdx":()=>ne(()=>import("./tokens.fontSize-rdG7vcZh.js"),__vite__mapDeps([178,1,2,3,172,174]),import.meta.url),"./tokens/tokens.rounded.mdx":()=>ne(()=>import("./tokens.rounded-CUE0q0vd.js"),__vite__mapDeps([179,1,2,3,172]),import.meta.url),"./tokens/tokens.space.mdx":()=>ne(()=>import("./tokens.space-B3MDHCbR.js"),__vite__mapDeps([180,1,2,3,172]),import.meta.url),"./tokens/tokens.zIndex.mdx":()=>ne(()=>import("./tokens.zIndex-Be_fxSoV.js"),__vite__mapDeps([181,1,2,3,172]),import.meta.url)};async function Nee(e){return await Ree[e]()}var Iee=Object.defineProperty,kee=(e,t)=>{for(var r in t)Iee(e,r,{get:t[r],enumerable:!0})},Mee=Object.create,Z0=Object.defineProperty,qee=Object.getOwnPropertyDescriptor,jee=Object.getOwnPropertyNames,Dee=Object.getPrototypeOf,Lee=Object.prototype.hasOwnProperty,D=(e,t)=>Z0(e,"name",{value:t,configurable:!0}),$ee=(e,t)=>()=>(t||e((t={exports:{}}).exports,t),t.exports),Fee=(e,t,r,n)=>{if(t&&typeof t=="object"||typeof t=="function")for(let i of jee(t))!Lee.call(e,i)&&i!==r&&Z0(e,i,{get:()=>t[i],enumerable:!(n=qee(t,i))||n.enumerable});return e},Bee=(e,t,r)=>(r=e!=null?Mee(Dee(e)):{},Fee(Z0(r,"default",{value:e,enumerable:!0}),e)),Uee=$ee((e,t)=>{(function(r,n){typeof e=="object"&&typeof t<"u"?n(e):typeof define=="function"&&define.amd?define(["exports"],n):(r=typeof globalThis<"u"?globalThis:r||self,n(r.jtpp={}))})(e,function(r){function n(T){return T.text!==void 0&&T.text!==""?`'${T.type}' with value '${T.text}'`:`'${T.type}'`}D(n,"tokenToString");let i=class y$ extends Error{constructor(k){super(`No parslet found for token: ${n(k)}`),this.token=k,Object.setPrototypeOf(this,y$.prototype)}getToken(){return this.token}};D(i,"NoParsletFoundError");let o=i,s=class g$ extends Error{constructor(k){super(`The parsing ended early. The next token was: ${n(k)}`),this.token=k,Object.setPrototypeOf(this,g$.prototype)}getToken(){return this.token}};D(s,"EarlyEndOfParseError");let l=s,u=class b$ extends Error{constructor(k,B){let Y=`Unexpected type: '${k.type}'.`;B!==void 0&&(Y+=` Message: ${B}`),super(Y),Object.setPrototypeOf(this,b$.prototype)}};D(u,"UnexpectedTypeError");let c=u;function p(T){return k=>k.startsWith(T)?{type:T,text:T}:null}D(p,"makePunctuationRule");function d(T){let k=0,B,Y=T[0],fe=!1;if(Y!=="'"&&Y!=='"')return null;for(;k<T.length;){if(k++,B=T[k],!fe&&B===Y){k++;break}fe=!fe&&B==="\\"}if(B!==Y)throw new Error("Unterminated String");return T.slice(0,k)}D(d,"getQuoted");let f=new RegExp("[$_\\p{ID_Start}]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u"),h=new RegExp("[$\\-\\p{ID_Continue}\\u200C\\u200D]|\\\\u\\p{Hex_Digit}{4}|\\\\u\\{0*(?:\\p{Hex_Digit}{1,5}|10\\p{Hex_Digit}{4})\\}","u");function y(T){let k=T[0];if(!f.test(k))return null;let B=1;do{if(k=T[B],!h.test(k))break;B++}while(B<T.length);return T.slice(0,B)}D(y,"getIdentifier");let b=/^(NaN|-?((\d*\.\d+|\d+)([Ee][+-]?\d+)?|Infinity))/;function g(T){var k,B;return(B=(k=b.exec(T))===null||k===void 0?void 0:k[0])!==null&&B!==void 0?B:null}D(g,"getNumber");let m=D(T=>{let k=y(T);return k==null?null:{type:"Identifier",text:k}},"identifierRule");function v(T){return k=>{if(!k.startsWith(T))return null;let B=k[T.length];return B!==void 0&&h.test(B)?null:{type:T,text:T}}}D(v,"makeKeyWordRule");let S=D(T=>{let k=d(T);return k==null?null:{type:"StringValue",text:k}},"stringValueRule"),O=D(T=>T.length>0?null:{type:"EOF",text:""},"eofRule"),P=D(T=>{let k=g(T);return k===null?null:{type:"Number",text:k}},"numberRule"),x=[O,p("=>"),p("("),p(")"),p("{"),p("}"),p("["),p("]"),p("|"),p("&"),p("<"),p(">"),p(","),p(";"),p("*"),p("?"),p("!"),p("="),p(":"),p("..."),p("."),p("#"),p("~"),p("/"),p("@"),v("undefined"),v("null"),v("function"),v("this"),v("new"),v("module"),v("event"),v("external"),v("typeof"),v("keyof"),v("readonly"),v("import"),v("is"),v("in"),v("asserts"),P,m,S],E=/^\s*\n\s*/,_=class xc{static create(k){let B=this.read(k);k=B.text;let Y=this.read(k);return k=Y.text,new xc(k,void 0,B.token,Y.token)}constructor(k,B,Y,fe){this.text="",this.text=k,this.previous=B,this.current=Y,this.next=fe}static read(k,B=!1){B=B||E.test(k),k=k.trim();for(let Y of x){let fe=Y(k);if(fe!==null){let Ee=Object.assign(Object.assign({},fe),{startOfLine:B});return k=k.slice(Ee.text.length),{text:k,token:Ee}}}throw new Error("Unexpected Token "+k)}advance(){let k=xc.read(this.text);return new xc(k.text,this.current,this.next,k.token)}};D(_,"Lexer");let C=_;function w(T){if(T===void 0)throw new Error("Unexpected undefined");if(T.type==="JsdocTypeKeyValue"||T.type==="JsdocTypeParameterList"||T.type==="JsdocTypeProperty"||T.type==="JsdocTypeReadonlyProperty"||T.type==="JsdocTypeObjectField"||T.type==="JsdocTypeJsdocObjectField"||T.type==="JsdocTypeIndexSignature"||T.type==="JsdocTypeMappedType")throw new c(T);return T}D(w,"assertRootResult");function A(T){return T.type==="JsdocTypeKeyValue"?j(T):w(T)}D(A,"assertPlainKeyValueOrRootResult");function I(T){return T.type==="JsdocTypeName"?T:j(T)}D(I,"assertPlainKeyValueOrNameResult");function j(T){if(T.type!=="JsdocTypeKeyValue")throw new c(T);return T}D(j,"assertPlainKeyValueResult");function R(T){var k;if(T.type==="JsdocTypeVariadic"){if(((k=T.element)===null||k===void 0?void 0:k.type)==="JsdocTypeName")return T;throw new c(T)}if(T.type!=="JsdocTypeNumber"&&T.type!=="JsdocTypeName")throw new c(T);return T}D(R,"assertNumberOrVariadicNameResult");function q(T){return T.type==="JsdocTypeIndexSignature"||T.type==="JsdocTypeMappedType"}D(q,"isSquaredProperty");var M;(function(T){T[T.ALL=0]="ALL",T[T.PARAMETER_LIST=1]="PARAMETER_LIST",T[T.OBJECT=2]="OBJECT",T[T.KEY_VALUE=3]="KEY_VALUE",T[T.INDEX_BRACKETS=4]="INDEX_BRACKETS",T[T.UNION=5]="UNION",T[T.INTERSECTION=6]="INTERSECTION",T[T.PREFIX=7]="PREFIX",T[T.INFIX=8]="INFIX",T[T.TUPLE=9]="TUPLE",T[T.SYMBOL=10]="SYMBOL",T[T.OPTIONAL=11]="OPTIONAL",T[T.NULLABLE=12]="NULLABLE",T[T.KEY_OF_TYPE_OF=13]="KEY_OF_TYPE_OF",T[T.FUNCTION=14]="FUNCTION",T[T.ARROW=15]="ARROW",T[T.ARRAY_BRACKETS=16]="ARRAY_BRACKETS",T[T.GENERIC=17]="GENERIC",T[T.NAME_PATH=18]="NAME_PATH",T[T.PARENTHESIS=19]="PARENTHESIS",T[T.SPECIAL_TYPES=20]="SPECIAL_TYPES"})(M||(M={}));let K=class{constructor(k,B,Y){this.grammar=k,typeof B=="string"?this._lexer=C.create(B):this._lexer=B,this.baseParser=Y}get lexer(){return this._lexer}parse(){let k=this.parseType(M.ALL);if(this.lexer.current.type!=="EOF")throw new l(this.lexer.current);return k}parseType(k){return w(this.parseIntermediateType(k))}parseIntermediateType(k){let B=this.tryParslets(null,k);if(B===null)throw new o(this.lexer.current);return this.parseInfixIntermediateType(B,k)}parseInfixIntermediateType(k,B){let Y=this.tryParslets(k,B);for(;Y!==null;)k=Y,Y=this.tryParslets(k,B);return k}tryParslets(k,B){for(let Y of this.grammar){let fe=Y(this,B,k);if(fe!==null)return fe}return null}consume(k){return Array.isArray(k)||(k=[k]),k.includes(this.lexer.current.type)?(this._lexer=this.lexer.advance(),!0):!1}acceptLexerState(k){this._lexer=k.lexer}};D(K,"Parser");let J=K;function oe(T){return T==="EOF"||T==="|"||T===","||T===")"||T===">"}D(oe,"isQuestionMarkUnknownType");let ye=D((T,k,B)=>{let Y=T.lexer.current.type,fe=T.lexer.next.type;return B==null&&Y==="?"&&!oe(fe)||B!=null&&Y==="?"?(T.consume("?"),B==null?{type:"JsdocTypeNullable",element:T.parseType(M.NULLABLE),meta:{position:"prefix"}}:{type:"JsdocTypeNullable",element:w(B),meta:{position:"suffix"}}):null},"nullableParslet");function ae(T){let k=D((B,Y,fe)=>{let Ee=B.lexer.current.type,Ae=B.lexer.next.type;if(fe===null){if("parsePrefix"in T&&T.accept(Ee,Ae))return T.parsePrefix(B)}else if("parseInfix"in T&&T.precedence>Y&&T.accept(Ee,Ae))return T.parseInfix(B,fe);return null},"parslet");return Object.defineProperty(k,"name",{value:T.name}),k}D(ae,"composeParslet");let ee=ae({name:"optionalParslet",accept:D(T=>T==="=","accept"),precedence:M.OPTIONAL,parsePrefix:D(T=>(T.consume("="),{type:"JsdocTypeOptional",element:T.parseType(M.OPTIONAL),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:D((T,k)=>(T.consume("="),{type:"JsdocTypeOptional",element:w(k),meta:{position:"suffix"}}),"parseInfix")}),Z=ae({name:"numberParslet",accept:D(T=>T==="Number","accept"),parsePrefix:D(T=>{let k=parseFloat(T.lexer.current.text);return T.consume("Number"),{type:"JsdocTypeNumber",value:k}},"parsePrefix")}),re=ae({name:"parenthesisParslet",accept:D(T=>T==="(","accept"),parsePrefix:D(T=>{if(T.consume("("),T.consume(")"))return{type:"JsdocTypeParameterList",elements:[]};let k=T.parseIntermediateType(M.ALL);if(!T.consume(")"))throw new Error("Unterminated parenthesis");return k.type==="JsdocTypeParameterList"?k:k.type==="JsdocTypeKeyValue"?{type:"JsdocTypeParameterList",elements:[k]}:{type:"JsdocTypeParenthesis",element:w(k)}},"parsePrefix")}),me=ae({name:"specialTypesParslet",accept:D((T,k)=>T==="?"&&oe(k)||T==="null"||T==="undefined"||T==="*","accept"),parsePrefix:D(T=>{if(T.consume("null"))return{type:"JsdocTypeNull"};if(T.consume("undefined"))return{type:"JsdocTypeUndefined"};if(T.consume("*"))return{type:"JsdocTypeAny"};if(T.consume("?"))return{type:"JsdocTypeUnknown"};throw new Error("Unacceptable token: "+T.lexer.current.text)},"parsePrefix")}),se=ae({name:"notNullableParslet",accept:D(T=>T==="!","accept"),precedence:M.NULLABLE,parsePrefix:D(T=>(T.consume("!"),{type:"JsdocTypeNotNullable",element:T.parseType(M.NULLABLE),meta:{position:"prefix"}}),"parsePrefix"),parseInfix:D((T,k)=>(T.consume("!"),{type:"JsdocTypeNotNullable",element:w(k),meta:{position:"suffix"}}),"parseInfix")});function _e({allowTrailingComma:T}){return ae({name:"parameterListParslet",accept:D(k=>k===",","accept"),precedence:M.PARAMETER_LIST,parseInfix:D((k,B)=>{let Y=[A(B)];k.consume(",");do try{let fe=k.parseIntermediateType(M.PARAMETER_LIST);Y.push(A(fe))}catch(fe){if(T&&fe instanceof o)break;throw fe}while(k.consume(","));if(Y.length>0&&Y.slice(0,-1).some(fe=>fe.type==="JsdocTypeVariadic"))throw new Error("Only the last parameter may be a rest parameter");return{type:"JsdocTypeParameterList",elements:Y}},"parseInfix")})}D(_e,"createParameterListParslet");let Te=ae({name:"genericParslet",accept:D((T,k)=>T==="<"||T==="."&&k==="<","accept"),precedence:M.GENERIC,parseInfix:D((T,k)=>{let B=T.consume(".");T.consume("<");let Y=[];do Y.push(T.parseType(M.PARAMETER_LIST));while(T.consume(","));if(!T.consume(">"))throw new Error("Unterminated generic parameter list");return{type:"JsdocTypeGeneric",left:w(k),elements:Y,meta:{brackets:"angle",dot:B}}},"parseInfix")}),tt=ae({name:"unionParslet",accept:D(T=>T==="|","accept"),precedence:M.UNION,parseInfix:D((T,k)=>{T.consume("|");let B=[];do B.push(T.parseType(M.UNION));while(T.consume("|"));return{type:"JsdocTypeUnion",elements:[w(k),...B]}},"parseInfix")}),Xe=[ye,ee,Z,re,me,se,_e({allowTrailingComma:!0}),Te,tt,ee];function V({allowSquareBracketsOnAnyType:T,allowJsdocNamePaths:k,pathGrammar:B}){return D(function(Y,fe,Ee){if(Ee==null||fe>=M.NAME_PATH)return null;let Ae=Y.lexer.current.type,ut=Y.lexer.next.type;if(!(Ae==="."&&ut!=="<"||Ae==="["&&(T||Ee.type==="JsdocTypeName")||k&&(Ae==="~"||Ae==="#")))return null;let ft,Kt=!1;Y.consume(".")?ft="property":Y.consume("[")?(ft="property-brackets",Kt=!0):Y.consume("~")?ft="inner":(Y.consume("#"),ft="instance");let On=B!==null?new J(B,Y.lexer,Y):Y,Wr=On.parseIntermediateType(M.NAME_PATH);Y.acceptLexerState(On);let Ta;switch(Wr.type){case"JsdocTypeName":Ta={type:"JsdocTypeProperty",value:Wr.value,meta:{quote:void 0}};break;case"JsdocTypeNumber":Ta={type:"JsdocTypeProperty",value:Wr.value.toString(10),meta:{quote:void 0}};break;case"JsdocTypeStringValue":Ta={type:"JsdocTypeProperty",value:Wr.value,meta:{quote:Wr.meta.quote}};break;case"JsdocTypeSpecialNamePath":if(Wr.specialType==="event")Ta=Wr;else throw new c(Wr,"Type 'JsdocTypeSpecialNamePath' is only allowed with specialType 'event'");break;default:throw new c(Wr,"Expecting 'JsdocTypeName', 'JsdocTypeNumber', 'JsdocStringValue' or 'JsdocTypeSpecialNamePath'")}if(Kt&&!Y.consume("]")){let Lw=Y.lexer.current;throw new Error(`Unterminated square brackets. Next token is '${Lw.type}' with text '${Lw.text}'`)}return{type:"JsdocTypeNamePath",left:w(Ee),right:Ta,pathType:ft}},"namePathParslet")}D(V,"createNamePathParslet");function pe({allowedAdditionalTokens:T}){return ae({name:"nameParslet",accept:D(k=>k==="Identifier"||k==="this"||k==="new"||T.includes(k),"accept"),parsePrefix:D(k=>{let{type:B,text:Y}=k.lexer.current;return k.consume(B),{type:"JsdocTypeName",value:Y}},"parsePrefix")})}D(pe,"createNameParslet");let L=ae({name:"stringValueParslet",accept:D(T=>T==="StringValue","accept"),parsePrefix:D(T=>{let k=T.lexer.current.text;return T.consume("StringValue"),{type:"JsdocTypeStringValue",value:k.slice(1,-1),meta:{quote:k[0]==="'"?"single":"double"}}},"parsePrefix")});function U({pathGrammar:T,allowedTypes:k}){return ae({name:"specialNamePathParslet",accept:D(B=>k.includes(B),"accept"),parsePrefix:D(B=>{let Y=B.lexer.current.type;if(B.consume(Y),!B.consume(":"))return{type:"JsdocTypeName",value:Y};let fe,Ee=B.lexer.current;if(B.consume("StringValue"))fe={type:"JsdocTypeSpecialNamePath",value:Ee.text.slice(1,-1),specialType:Y,meta:{quote:Ee.text[0]==="'"?"single":"double"}};else{let ft="",Kt=["Identifier","@","/"];for(;Kt.some(On=>B.consume(On));)ft+=Ee.text,Ee=B.lexer.current;fe={type:"JsdocTypeSpecialNamePath",value:ft,specialType:Y,meta:{quote:void 0}}}let Ae=new J(T,B.lexer,B),ut=Ae.parseInfixIntermediateType(fe,M.ALL);return B.acceptLexerState(Ae),w(ut)},"parsePrefix")})}D(U,"createSpecialNamePathParslet");let H=[pe({allowedAdditionalTokens:["external","module"]}),L,Z,V({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:null})],Q=[...H,U({allowedTypes:["event"],pathGrammar:H})];function X(T){let k;if(T.type==="JsdocTypeParameterList")k=T.elements;else if(T.type==="JsdocTypeParenthesis")k=[T.element];else throw new c(T);return k.map(B=>A(B))}D(X,"getParameters");function te(T){let k=X(T);if(k.some(B=>B.type==="JsdocTypeKeyValue"))throw new Error("No parameter should be named");return k}D(te,"getUnnamedParameters");function le({allowNamedParameters:T,allowNoReturnType:k,allowWithoutParenthesis:B,allowNewAsFunctionKeyword:Y}){return ae({name:"functionParslet",accept:D((fe,Ee)=>fe==="function"||Y&&fe==="new"&&Ee==="(","accept"),parsePrefix:D(fe=>{let Ee=fe.consume("new");fe.consume("function");let Ae=fe.lexer.current.type==="(";if(!Ae){if(!B)throw new Error("function is missing parameter list");return{type:"JsdocTypeName",value:"function"}}let ut={type:"JsdocTypeFunction",parameters:[],arrow:!1,constructor:Ee,parenthesis:Ae},ft=fe.parseIntermediateType(M.FUNCTION);if(T===void 0)ut.parameters=te(ft);else{if(Ee&&ft.type==="JsdocTypeFunction"&&ft.arrow)return ut=ft,ut.constructor=!0,ut;ut.parameters=X(ft);for(let Kt of ut.parameters)if(Kt.type==="JsdocTypeKeyValue"&&!T.includes(Kt.key))throw new Error(`only allowed named parameters are ${T.join(", ")} but got ${Kt.type}`)}if(fe.consume(":"))ut.returnType=fe.parseType(M.PREFIX);else if(!k)throw new Error("function is missing return type");return ut},"parsePrefix")})}D(le,"createFunctionParslet");function ue({allowPostfix:T,allowEnclosingBrackets:k}){return ae({name:"variadicParslet",accept:D(B=>B==="...","accept"),precedence:M.PREFIX,parsePrefix:D(B=>{B.consume("...");let Y=k&&B.consume("[");try{let fe=B.parseType(M.PREFIX);if(Y&&!B.consume("]"))throw new Error("Unterminated variadic type. Missing ']'");return{type:"JsdocTypeVariadic",element:w(fe),meta:{position:"prefix",squareBrackets:Y}}}catch(fe){if(fe instanceof o){if(Y)throw new Error("Empty square brackets for variadic are not allowed.");return{type:"JsdocTypeVariadic",meta:{position:void 0,squareBrackets:!1}}}else throw fe}},"parsePrefix"),parseInfix:T?(B,Y)=>(B.consume("..."),{type:"JsdocTypeVariadic",element:w(Y),meta:{position:"suffix",squareBrackets:!1}}):void 0})}D(ue,"createVariadicParslet");let ce=ae({name:"symbolParslet",accept:D(T=>T==="(","accept"),precedence:M.SYMBOL,parseInfix:D((T,k)=>{if(k.type!=="JsdocTypeName")throw new Error("Symbol expects a name on the left side. (Reacting on '(')");T.consume("(");let B={type:"JsdocTypeSymbol",value:k.value};if(!T.consume(")")){let Y=T.parseIntermediateType(M.SYMBOL);if(B.element=R(Y),!T.consume(")"))throw new Error("Symbol does not end after value")}return B},"parseInfix")}),ie=ae({name:"arrayBracketsParslet",precedence:M.ARRAY_BRACKETS,accept:D((T,k)=>T==="["&&k==="]","accept"),parseInfix:D((T,k)=>(T.consume("["),T.consume("]"),{type:"JsdocTypeGeneric",left:{type:"JsdocTypeName",value:"Array"},elements:[w(k)],meta:{brackets:"square",dot:!1}}),"parseInfix")});function ve({objectFieldGrammar:T,allowKeyTypes:k}){return ae({name:"objectParslet",accept:D(B=>B==="{","accept"),parsePrefix:D(B=>{B.consume("{");let Y={type:"JsdocTypeObject",meta:{separator:"comma"},elements:[]};if(!B.consume("}")){let fe,Ee=new J(T,B.lexer,B);for(;;){Ee.acceptLexerState(B);let Ae=Ee.parseIntermediateType(M.OBJECT);B.acceptLexerState(Ee),Ae===void 0&&k&&(Ae=B.parseIntermediateType(M.OBJECT));let ut=!1;if(Ae.type==="JsdocTypeNullable"&&(ut=!0,Ae=Ae.element),Ae.type==="JsdocTypeNumber"||Ae.type==="JsdocTypeName"||Ae.type==="JsdocTypeStringValue"){let ft;Ae.type==="JsdocTypeStringValue"&&(ft=Ae.meta.quote),Y.elements.push({type:"JsdocTypeObjectField",key:Ae.value.toString(),right:void 0,optional:ut,readonly:!1,meta:{quote:ft}})}else if(Ae.type==="JsdocTypeObjectField"||Ae.type==="JsdocTypeJsdocObjectField")Y.elements.push(Ae);else throw new c(Ae);if(B.lexer.current.startOfLine)fe="linebreak";else if(B.consume(","))fe="comma";else if(B.consume(";"))fe="semicolon";else break;if(B.lexer.current.type==="}")break}if(Y.meta.separator=fe??"comma",!B.consume("}"))throw new Error("Unterminated record type. Missing '}'")}return Y},"parsePrefix")})}D(ve,"createObjectParslet");function de({allowSquaredProperties:T,allowKeyTypes:k,allowReadonly:B,allowOptional:Y}){return ae({name:"objectFieldParslet",precedence:M.KEY_VALUE,accept:D(fe=>fe===":","accept"),parseInfix:D((fe,Ee)=>{var Ae;let ut=!1,ft=!1;Y&&Ee.type==="JsdocTypeNullable"&&(ut=!0,Ee=Ee.element),B&&Ee.type==="JsdocTypeReadonlyProperty"&&(ft=!0,Ee=Ee.element);let Kt=(Ae=fe.baseParser)!==null&&Ae!==void 0?Ae:fe;if(Kt.acceptLexerState(fe),Ee.type==="JsdocTypeNumber"||Ee.type==="JsdocTypeName"||Ee.type==="JsdocTypeStringValue"||q(Ee)){if(q(Ee)&&!T)throw new c(Ee);Kt.consume(":");let On;Ee.type==="JsdocTypeStringValue"&&(On=Ee.meta.quote);let Wr=Kt.parseType(M.KEY_VALUE);return fe.acceptLexerState(Kt),{type:"JsdocTypeObjectField",key:q(Ee)?Ee:Ee.value.toString(),right:Wr,optional:ut,readonly:ft,meta:{quote:On}}}else{if(!k)throw new c(Ee);Kt.consume(":");let On=Kt.parseType(M.KEY_VALUE);return fe.acceptLexerState(Kt),{type:"JsdocTypeJsdocObjectField",left:w(Ee),right:On}}},"parseInfix")})}D(de,"createObjectFieldParslet");function be({allowOptional:T,allowVariadic:k}){return ae({name:"keyValueParslet",precedence:M.KEY_VALUE,accept:D(B=>B===":","accept"),parseInfix:D((B,Y)=>{let fe=!1,Ee=!1;if(T&&Y.type==="JsdocTypeNullable"&&(fe=!0,Y=Y.element),k&&Y.type==="JsdocTypeVariadic"&&Y.element!==void 0&&(Ee=!0,Y=Y.element),Y.type!=="JsdocTypeName")throw new c(Y);B.consume(":");let Ae=B.parseType(M.KEY_VALUE);return{type:"JsdocTypeKeyValue",key:Y.value,right:Ae,optional:fe,variadic:Ee}},"parseInfix")})}D(be,"createKeyValueParslet");let we=[...Xe,le({allowWithoutParenthesis:!0,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),L,U({allowedTypes:["module","external","event"],pathGrammar:Q}),ue({allowEnclosingBrackets:!0,allowPostfix:!0}),pe({allowedAdditionalTokens:["keyof"]}),ce,ie,V({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Q})],Re=[...we,ve({objectFieldGrammar:[pe({allowedAdditionalTokens:["module","in"]}),de({allowSquaredProperties:!1,allowKeyTypes:!0,allowOptional:!1,allowReadonly:!1}),...we],allowKeyTypes:!0}),be({allowOptional:!0,allowVariadic:!0})],Be=ae({name:"typeOfParslet",accept:D(T=>T==="typeof","accept"),parsePrefix:D(T=>(T.consume("typeof"),{type:"JsdocTypeTypeof",element:w(T.parseType(M.KEY_OF_TYPE_OF))}),"parsePrefix")}),je=[pe({allowedAdditionalTokens:["module","keyof","event","external","in"]}),ye,ee,L,Z,de({allowSquaredProperties:!1,allowKeyTypes:!1,allowOptional:!1,allowReadonly:!1})],xt=[...Xe,ve({allowKeyTypes:!1,objectFieldGrammar:je}),pe({allowedAdditionalTokens:["event","external","in"]}),Be,le({allowWithoutParenthesis:!1,allowNamedParameters:["this","new"],allowNoReturnType:!0,allowNewAsFunctionKeyword:!1}),ue({allowEnclosingBrackets:!1,allowPostfix:!1}),pe({allowedAdditionalTokens:["keyof"]}),U({allowedTypes:["module"],pathGrammar:Q}),V({allowSquareBracketsOnAnyType:!1,allowJsdocNamePaths:!0,pathGrammar:Q}),be({allowOptional:!1,allowVariadic:!1}),ce],dt=ae({name:"assertsParslet",accept:D(T=>T==="asserts","accept"),parsePrefix:D(T=>{T.consume("asserts");let k=T.parseIntermediateType(M.SYMBOL);if(k.type!=="JsdocTypeName")throw new c(k,"A typescript asserts always has to have a name on the left side.");return T.consume("is"),{type:"JsdocTypeAsserts",left:k,right:w(T.parseIntermediateType(M.INFIX))}},"parsePrefix")});function Dt({allowQuestionMark:T}){return ae({name:"tupleParslet",accept:D(k=>k==="[","accept"),parsePrefix:D(k=>{k.consume("[");let B={type:"JsdocTypeTuple",elements:[]};if(k.consume("]"))return B;let Y=k.parseIntermediateType(M.ALL);if(Y.type==="JsdocTypeParameterList"?Y.elements[0].type==="JsdocTypeKeyValue"?B.elements=Y.elements.map(j):B.elements=Y.elements.map(w):Y.type==="JsdocTypeKeyValue"?B.elements=[j(Y)]:B.elements=[w(Y)],!k.consume("]"))throw new Error("Unterminated '['");if(!T&&B.elements.some(fe=>fe.type==="JsdocTypeUnknown"))throw new Error("Question mark in tuple not allowed");return B},"parsePrefix")})}D(Dt,"createTupleParslet");let Ct=ae({name:"keyOfParslet",accept:D(T=>T==="keyof","accept"),parsePrefix:D(T=>(T.consume("keyof"),{type:"JsdocTypeKeyof",element:w(T.parseType(M.KEY_OF_TYPE_OF))}),"parsePrefix")}),Jr=ae({name:"importParslet",accept:D(T=>T==="import","accept"),parsePrefix:D(T=>{if(T.consume("import"),!T.consume("("))throw new Error("Missing parenthesis after import keyword");let k=T.parseType(M.PREFIX);if(k.type!=="JsdocTypeStringValue")throw new Error("Only string values are allowed as paths for imports");if(!T.consume(")"))throw new Error("Missing closing parenthesis after import keyword");return{type:"JsdocTypeImport",element:k}},"parsePrefix")}),ii=ae({name:"readonlyPropertyParslet",accept:D(T=>T==="readonly","accept"),parsePrefix:D(T=>(T.consume("readonly"),{type:"JsdocTypeReadonlyProperty",element:T.parseType(M.KEY_VALUE)}),"parsePrefix")}),Ot=ae({name:"arrowFunctionParslet",precedence:M.ARROW,accept:D(T=>T==="=>","accept"),parseInfix:D((T,k)=>(T.consume("=>"),{type:"JsdocTypeFunction",parameters:X(k).map(I),arrow:!0,constructor:!1,parenthesis:!0,returnType:T.parseType(M.OBJECT)}),"parseInfix")}),zt=ae({name:"intersectionParslet",accept:D(T=>T==="&","accept"),precedence:M.INTERSECTION,parseInfix:D((T,k)=>{T.consume("&");let B=[];do B.push(T.parseType(M.INTERSECTION));while(T.consume("&"));return{type:"JsdocTypeIntersection",elements:[w(k),...B]}},"parseInfix")}),oi=ae({name:"predicateParslet",precedence:M.INFIX,accept:D(T=>T==="is","accept"),parseInfix:D((T,k)=>{if(k.type!=="JsdocTypeName")throw new c(k,"A typescript predicate always has to have a name on the left side.");return T.consume("is"),{type:"JsdocTypePredicate",left:k,right:w(T.parseIntermediateType(M.INFIX))}},"parseInfix")}),Ea=ae({name:"objectSquareBracketPropertyParslet",accept:D(T=>T==="[","accept"),parsePrefix:D(T=>{if(T.baseParser===void 0)throw new Error("Only allowed inside object grammar");T.consume("[");let k=T.lexer.current.text;T.consume("Identifier");let B;if(T.consume(":")){let Y=T.baseParser;Y.acceptLexerState(T),B={type:"JsdocTypeIndexSignature",key:k,right:Y.parseType(M.INDEX_BRACKETS)},T.acceptLexerState(Y)}else if(T.consume("in")){let Y=T.baseParser;Y.acceptLexerState(T),B={type:"JsdocTypeMappedType",key:k,right:Y.parseType(M.ARRAY_BRACKETS)},T.acceptLexerState(Y)}else throw new Error("Missing ':' or 'in' inside square bracketed property.");if(!T.consume("]"))throw new Error("Unterminated square brackets");return B},"parsePrefix")}),wa=[ii,pe({allowedAdditionalTokens:["module","event","keyof","event","external","in"]}),ye,ee,L,Z,de({allowSquaredProperties:!0,allowKeyTypes:!1,allowOptional:!0,allowReadonly:!0}),Ea],xa=[...Xe,ve({allowKeyTypes:!1,objectFieldGrammar:wa}),Be,Ct,Jr,L,le({allowWithoutParenthesis:!0,allowNoReturnType:!1,allowNamedParameters:["this","new","args"],allowNewAsFunctionKeyword:!0}),Dt({allowQuestionMark:!1}),ue({allowEnclosingBrackets:!1,allowPostfix:!1}),dt,pe({allowedAdditionalTokens:["event","external","in"]}),U({allowedTypes:["module"],pathGrammar:Q}),ie,Ot,V({allowSquareBracketsOnAnyType:!0,allowJsdocNamePaths:!1,pathGrammar:Q}),zt,oi,be({allowVariadic:!0,allowOptional:!0})];function Gi(T,k){switch(k){case"closure":return new J(xt,T).parse();case"jsdoc":return new J(Re,T).parse();case"typescript":return new J(xa,T).parse()}}D(Gi,"parse");function Ko(T,k=["typescript","closure","jsdoc"]){let B;for(let Y of k)try{return Gi(T,Y)}catch(fe){B=fe}throw B}D(Ko,"tryParse");function on(T,k){let B=T[k.type];if(B===void 0)throw new Error(`In this set of transform rules exists no rule for type ${k.type}.`);return B(k,Y=>on(T,Y))}D(on,"transform");function _t(T){throw new Error("This transform is not available. Are you trying the correct parsing mode?")}D(_t,"notAvailableTransform");function Yi(T){let k={params:[]};for(let B of T.parameters)B.type==="JsdocTypeKeyValue"?B.key==="this"?k.this=B.right:B.key==="new"?k.new=B.right:k.params.push(B):k.params.push(B);return k}D(Yi,"extractSpecialParams");function Sn(T,k,B){return T==="prefix"?B+k:k+B}D(Sn,"applyPosition");function z(T,k){switch(k){case"double":return`"${T}"`;case"single":return`'${T}'`;case void 0:return T}}D(z,"quote");function Xi(){return{JsdocTypeParenthesis:D((T,k)=>`(${T.element!==void 0?k(T.element):""})`,"JsdocTypeParenthesis"),JsdocTypeKeyof:D((T,k)=>`keyof ${k(T.element)}`,"JsdocTypeKeyof"),JsdocTypeFunction:D((T,k)=>{if(T.arrow){if(T.returnType===void 0)throw new Error("Arrow function needs a return type.");let B=`(${T.parameters.map(k).join(", ")}) => ${k(T.returnType)}`;return T.constructor&&(B="new "+B),B}else{let B=T.constructor?"new":"function";return T.parenthesis&&(B+=`(${T.parameters.map(k).join(", ")})`,T.returnType!==void 0&&(B+=`: ${k(T.returnType)}`)),B}},"JsdocTypeFunction"),JsdocTypeName:D(T=>T.value,"JsdocTypeName"),JsdocTypeTuple:D((T,k)=>`[${T.elements.map(k).join(", ")}]`,"JsdocTypeTuple"),JsdocTypeVariadic:D((T,k)=>T.meta.position===void 0?"...":Sn(T.meta.position,k(T.element),"..."),"JsdocTypeVariadic"),JsdocTypeNamePath:D((T,k)=>{let B=k(T.left),Y=k(T.right);switch(T.pathType){case"inner":return`${B}~${Y}`;case"instance":return`${B}#${Y}`;case"property":return`${B}.${Y}`;case"property-brackets":return`${B}[${Y}]`}},"JsdocTypeNamePath"),JsdocTypeStringValue:D(T=>z(T.value,T.meta.quote),"JsdocTypeStringValue"),JsdocTypeAny:D(()=>"*","JsdocTypeAny"),JsdocTypeGeneric:D((T,k)=>{if(T.meta.brackets==="square"){let B=T.elements[0],Y=k(B);return B.type==="JsdocTypeUnion"||B.type==="JsdocTypeIntersection"?`(${Y})[]`:`${Y}[]`}else return`${k(T.left)}${T.meta.dot?".":""}<${T.elements.map(k).join(", ")}>`},"JsdocTypeGeneric"),JsdocTypeImport:D((T,k)=>`import(${k(T.element)})`,"JsdocTypeImport"),JsdocTypeObjectField:D((T,k)=>{let B="";return T.readonly&&(B+="readonly "),typeof T.key=="string"?B+=z(T.key,T.meta.quote):B+=k(T.key),T.optional&&(B+="?"),T.right===void 0?B:B+`: ${k(T.right)}`},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:D((T,k)=>`${k(T.left)}: ${k(T.right)}`,"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:D((T,k)=>{let B=T.key;return T.optional&&(B+="?"),T.variadic&&(B="..."+B),T.right===void 0?B:B+`: ${k(T.right)}`},"JsdocTypeKeyValue"),JsdocTypeSpecialNamePath:D(T=>`${T.specialType}:${z(T.value,T.meta.quote)}`,"JsdocTypeSpecialNamePath"),JsdocTypeNotNullable:D((T,k)=>Sn(T.meta.position,k(T.element),"!"),"JsdocTypeNotNullable"),JsdocTypeNull:D(()=>"null","JsdocTypeNull"),JsdocTypeNullable:D((T,k)=>Sn(T.meta.position,k(T.element),"?"),"JsdocTypeNullable"),JsdocTypeNumber:D(T=>T.value.toString(),"JsdocTypeNumber"),JsdocTypeObject:D((T,k)=>`{${T.elements.map(k).join((T.meta.separator==="comma"?",":";")+" ")}}`,"JsdocTypeObject"),JsdocTypeOptional:D((T,k)=>Sn(T.meta.position,k(T.element),"="),"JsdocTypeOptional"),JsdocTypeSymbol:D((T,k)=>`${T.value}(${T.element!==void 0?k(T.element):""})`,"JsdocTypeSymbol"),JsdocTypeTypeof:D((T,k)=>`typeof ${k(T.element)}`,"JsdocTypeTypeof"),JsdocTypeUndefined:D(()=>"undefined","JsdocTypeUndefined"),JsdocTypeUnion:D((T,k)=>T.elements.map(k).join(" | "),"JsdocTypeUnion"),JsdocTypeUnknown:D(()=>"?","JsdocTypeUnknown"),JsdocTypeIntersection:D((T,k)=>T.elements.map(k).join(" & "),"JsdocTypeIntersection"),JsdocTypeProperty:D(T=>z(T.value,T.meta.quote),"JsdocTypeProperty"),JsdocTypePredicate:D((T,k)=>`${k(T.left)} is ${k(T.right)}`,"JsdocTypePredicate"),JsdocTypeIndexSignature:D((T,k)=>`[${T.key}: ${k(T.right)}]`,"JsdocTypeIndexSignature"),JsdocTypeMappedType:D((T,k)=>`[${T.key} in ${k(T.right)}]`,"JsdocTypeMappedType"),JsdocTypeAsserts:D((T,k)=>`asserts ${k(T.left)} is ${k(T.right)}`,"JsdocTypeAsserts")}}D(Xi,"stringifyRules");let si=Xi();function Qi(T){return on(si,T)}D(Qi,"stringify");let gU=["null","true","false","break","case","catch","class","const","continue","debugger","default","delete","do","else","export","extends","finally","for","function","if","import","in","instanceof","new","return","super","switch","this","throw","try","typeof","var","void","while","with","yield"];function Cn(T){let k={type:"NameExpression",name:T};return gU.includes(T)&&(k.reservedWord=!0),k}D(Cn,"makeName");let bU={JsdocTypeOptional:D((T,k)=>{let B=k(T.element);return B.optional=!0,B},"JsdocTypeOptional"),JsdocTypeNullable:D((T,k)=>{let B=k(T.element);return B.nullable=!0,B},"JsdocTypeNullable"),JsdocTypeNotNullable:D((T,k)=>{let B=k(T.element);return B.nullable=!1,B},"JsdocTypeNotNullable"),JsdocTypeVariadic:D((T,k)=>{if(T.element===void 0)throw new Error("dots without value are not allowed in catharsis mode");let B=k(T.element);return B.repeatable=!0,B},"JsdocTypeVariadic"),JsdocTypeAny:D(()=>({type:"AllLiteral"}),"JsdocTypeAny"),JsdocTypeNull:D(()=>({type:"NullLiteral"}),"JsdocTypeNull"),JsdocTypeStringValue:D(T=>Cn(z(T.value,T.meta.quote)),"JsdocTypeStringValue"),JsdocTypeUndefined:D(()=>({type:"UndefinedLiteral"}),"JsdocTypeUndefined"),JsdocTypeUnknown:D(()=>({type:"UnknownLiteral"}),"JsdocTypeUnknown"),JsdocTypeFunction:D((T,k)=>{let B=Yi(T),Y={type:"FunctionType",params:B.params.map(k)};return B.this!==void 0&&(Y.this=k(B.this)),B.new!==void 0&&(Y.new=k(B.new)),T.returnType!==void 0&&(Y.result=k(T.returnType)),Y},"JsdocTypeFunction"),JsdocTypeGeneric:D((T,k)=>({type:"TypeApplication",applications:T.elements.map(B=>k(B)),expression:k(T.left)}),"JsdocTypeGeneric"),JsdocTypeSpecialNamePath:D(T=>Cn(T.specialType+":"+z(T.value,T.meta.quote)),"JsdocTypeSpecialNamePath"),JsdocTypeName:D(T=>T.value!=="function"?Cn(T.value):{type:"FunctionType",params:[]},"JsdocTypeName"),JsdocTypeNumber:D(T=>Cn(T.value.toString()),"JsdocTypeNumber"),JsdocTypeObject:D((T,k)=>{let B={type:"RecordType",fields:[]};for(let Y of T.elements)Y.type!=="JsdocTypeObjectField"&&Y.type!=="JsdocTypeJsdocObjectField"?B.fields.push({type:"FieldType",key:k(Y),value:void 0}):B.fields.push(k(Y));return B},"JsdocTypeObject"),JsdocTypeObjectField:D((T,k)=>{if(typeof T.key!="string")throw new Error("Index signatures and mapped types are not supported");return{type:"FieldType",key:Cn(z(T.key,T.meta.quote)),value:T.right===void 0?void 0:k(T.right)}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:D((T,k)=>({type:"FieldType",key:k(T.left),value:k(T.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeUnion:D((T,k)=>({type:"TypeUnion",elements:T.elements.map(B=>k(B))}),"JsdocTypeUnion"),JsdocTypeKeyValue:D((T,k)=>({type:"FieldType",key:Cn(T.key),value:T.right===void 0?void 0:k(T.right)}),"JsdocTypeKeyValue"),JsdocTypeNamePath:D((T,k)=>{let B=k(T.left),Y;T.right.type==="JsdocTypeSpecialNamePath"?Y=k(T.right).name:Y=z(T.right.value,T.right.meta.quote);let fe=T.pathType==="inner"?"~":T.pathType==="instance"?"#":".";return Cn(`${B.name}${fe}${Y}`)},"JsdocTypeNamePath"),JsdocTypeSymbol:D(T=>{let k="",B=T.element,Y=!1;return B?.type==="JsdocTypeVariadic"&&(B.meta.position==="prefix"?k="...":Y=!0,B=B.element),B?.type==="JsdocTypeName"?k+=B.value:B?.type==="JsdocTypeNumber"&&(k+=B.value.toString()),Y&&(k+="..."),Cn(`${T.value}(${k})`)},"JsdocTypeSymbol"),JsdocTypeParenthesis:D((T,k)=>k(w(T.element)),"JsdocTypeParenthesis"),JsdocTypeMappedType:_t,JsdocTypeIndexSignature:_t,JsdocTypeImport:_t,JsdocTypeKeyof:_t,JsdocTypeTuple:_t,JsdocTypeTypeof:_t,JsdocTypeIntersection:_t,JsdocTypeProperty:_t,JsdocTypePredicate:_t,JsdocTypeAsserts:_t};function Iw(T){return on(bU,T)}D(Iw,"catharsisTransform");function ai(T){switch(T){case void 0:return"none";case"single":return"single";case"double":return"double"}}D(ai,"getQuoteStyle");function kw(T){switch(T){case"inner":return"INNER_MEMBER";case"instance":return"INSTANCE_MEMBER";case"property":return"MEMBER";case"property-brackets":return"MEMBER"}}D(kw,"getMemberType");function ju(T,k){return k.length===2?{type:T,left:k[0],right:k[1]}:{type:T,left:k[0],right:ju(T,k.slice(1))}}D(ju,"nestResults");let vU={JsdocTypeOptional:D((T,k)=>({type:"OPTIONAL",value:k(T.element),meta:{syntax:T.meta.position==="prefix"?"PREFIX_EQUAL_SIGN":"SUFFIX_EQUALS_SIGN"}}),"JsdocTypeOptional"),JsdocTypeNullable:D((T,k)=>({type:"NULLABLE",value:k(T.element),meta:{syntax:T.meta.position==="prefix"?"PREFIX_QUESTION_MARK":"SUFFIX_QUESTION_MARK"}}),"JsdocTypeNullable"),JsdocTypeNotNullable:D((T,k)=>({type:"NOT_NULLABLE",value:k(T.element),meta:{syntax:T.meta.position==="prefix"?"PREFIX_BANG":"SUFFIX_BANG"}}),"JsdocTypeNotNullable"),JsdocTypeVariadic:D((T,k)=>{let B={type:"VARIADIC",meta:{syntax:T.meta.position==="prefix"?"PREFIX_DOTS":T.meta.position==="suffix"?"SUFFIX_DOTS":"ONLY_DOTS"}};return T.element!==void 0&&(B.value=k(T.element)),B},"JsdocTypeVariadic"),JsdocTypeName:D(T=>({type:"NAME",name:T.value}),"JsdocTypeName"),JsdocTypeTypeof:D((T,k)=>({type:"TYPE_QUERY",name:k(T.element)}),"JsdocTypeTypeof"),JsdocTypeTuple:D((T,k)=>({type:"TUPLE",entries:T.elements.map(k)}),"JsdocTypeTuple"),JsdocTypeKeyof:D((T,k)=>({type:"KEY_QUERY",value:k(T.element)}),"JsdocTypeKeyof"),JsdocTypeImport:D(T=>({type:"IMPORT",path:{type:"STRING_VALUE",quoteStyle:ai(T.element.meta.quote),string:T.element.value}}),"JsdocTypeImport"),JsdocTypeUndefined:D(()=>({type:"NAME",name:"undefined"}),"JsdocTypeUndefined"),JsdocTypeAny:D(()=>({type:"ANY"}),"JsdocTypeAny"),JsdocTypeFunction:D((T,k)=>{let B=Yi(T),Y={type:T.arrow?"ARROW":"FUNCTION",params:B.params.map(fe=>{if(fe.type==="JsdocTypeKeyValue"){if(fe.right===void 0)throw new Error("Function parameter without ':' is not expected to be 'KEY_VALUE'");return{type:"NAMED_PARAMETER",name:fe.key,typeName:k(fe.right)}}else return k(fe)}),new:null,returns:null};return B.this!==void 0?Y.this=k(B.this):T.arrow||(Y.this=null),B.new!==void 0&&(Y.new=k(B.new)),T.returnType!==void 0&&(Y.returns=k(T.returnType)),Y},"JsdocTypeFunction"),JsdocTypeGeneric:D((T,k)=>{let B={type:"GENERIC",subject:k(T.left),objects:T.elements.map(k),meta:{syntax:T.meta.brackets==="square"?"SQUARE_BRACKET":T.meta.dot?"ANGLE_BRACKET_WITH_DOT":"ANGLE_BRACKET"}};return T.meta.brackets==="square"&&T.elements[0].type==="JsdocTypeFunction"&&!T.elements[0].parenthesis&&(B.objects[0]={type:"NAME",name:"function"}),B},"JsdocTypeGeneric"),JsdocTypeObjectField:D((T,k)=>{if(typeof T.key!="string")throw new Error("Index signatures and mapped types are not supported");if(T.right===void 0)return{type:"RECORD_ENTRY",key:T.key,quoteStyle:ai(T.meta.quote),value:null,readonly:!1};let B=k(T.right);return T.optional&&(B={type:"OPTIONAL",value:B,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:T.key.toString(),quoteStyle:ai(T.meta.quote),value:B,readonly:!1}},"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:D(()=>{throw new Error("Keys may not be typed in jsdoctypeparser.")},"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:D((T,k)=>{if(T.right===void 0)return{type:"RECORD_ENTRY",key:T.key,quoteStyle:"none",value:null,readonly:!1};let B=k(T.right);return T.optional&&(B={type:"OPTIONAL",value:B,meta:{syntax:"SUFFIX_KEY_QUESTION_MARK"}}),{type:"RECORD_ENTRY",key:T.key,quoteStyle:"none",value:B,readonly:!1}},"JsdocTypeKeyValue"),JsdocTypeObject:D((T,k)=>{let B=[];for(let Y of T.elements)(Y.type==="JsdocTypeObjectField"||Y.type==="JsdocTypeJsdocObjectField")&&B.push(k(Y));return{type:"RECORD",entries:B}},"JsdocTypeObject"),JsdocTypeSpecialNamePath:D(T=>{if(T.specialType!=="module")throw new Error(`jsdoctypeparser does not support type ${T.specialType} at this point.`);return{type:"MODULE",value:{type:"FILE_PATH",quoteStyle:ai(T.meta.quote),path:T.value}}},"JsdocTypeSpecialNamePath"),JsdocTypeNamePath:D((T,k)=>{let B=!1,Y,fe;T.right.type==="JsdocTypeSpecialNamePath"&&T.right.specialType==="event"?(B=!0,Y=T.right.value,fe=ai(T.right.meta.quote)):(Y=T.right.value,fe=ai(T.right.meta.quote));let Ee={type:kw(T.pathType),owner:k(T.left),name:Y,quoteStyle:fe,hasEventPrefix:B};if(Ee.owner.type==="MODULE"){let Ae=Ee.owner;return Ee.owner=Ee.owner.value,Ae.value=Ee,Ae}else return Ee},"JsdocTypeNamePath"),JsdocTypeUnion:D((T,k)=>ju("UNION",T.elements.map(k)),"JsdocTypeUnion"),JsdocTypeParenthesis:D((T,k)=>({type:"PARENTHESIS",value:k(w(T.element))}),"JsdocTypeParenthesis"),JsdocTypeNull:D(()=>({type:"NAME",name:"null"}),"JsdocTypeNull"),JsdocTypeUnknown:D(()=>({type:"UNKNOWN"}),"JsdocTypeUnknown"),JsdocTypeStringValue:D(T=>({type:"STRING_VALUE",quoteStyle:ai(T.meta.quote),string:T.value}),"JsdocTypeStringValue"),JsdocTypeIntersection:D((T,k)=>ju("INTERSECTION",T.elements.map(k)),"JsdocTypeIntersection"),JsdocTypeNumber:D(T=>({type:"NUMBER_VALUE",number:T.value.toString()}),"JsdocTypeNumber"),JsdocTypeSymbol:_t,JsdocTypeProperty:_t,JsdocTypePredicate:_t,JsdocTypeMappedType:_t,JsdocTypeIndexSignature:_t,JsdocTypeAsserts:_t};function Mw(T){return on(vU,T)}D(Mw,"jtpTransform");function qw(){return{JsdocTypeIntersection:D((T,k)=>({type:"JsdocTypeIntersection",elements:T.elements.map(k)}),"JsdocTypeIntersection"),JsdocTypeGeneric:D((T,k)=>({type:"JsdocTypeGeneric",left:k(T.left),elements:T.elements.map(k),meta:{dot:T.meta.dot,brackets:T.meta.brackets}}),"JsdocTypeGeneric"),JsdocTypeNullable:D(T=>T,"JsdocTypeNullable"),JsdocTypeUnion:D((T,k)=>({type:"JsdocTypeUnion",elements:T.elements.map(k)}),"JsdocTypeUnion"),JsdocTypeUnknown:D(T=>T,"JsdocTypeUnknown"),JsdocTypeUndefined:D(T=>T,"JsdocTypeUndefined"),JsdocTypeTypeof:D((T,k)=>({type:"JsdocTypeTypeof",element:k(T.element)}),"JsdocTypeTypeof"),JsdocTypeSymbol:D((T,k)=>{let B={type:"JsdocTypeSymbol",value:T.value};return T.element!==void 0&&(B.element=k(T.element)),B},"JsdocTypeSymbol"),JsdocTypeOptional:D((T,k)=>({type:"JsdocTypeOptional",element:k(T.element),meta:{position:T.meta.position}}),"JsdocTypeOptional"),JsdocTypeObject:D((T,k)=>({type:"JsdocTypeObject",meta:{separator:"comma"},elements:T.elements.map(k)}),"JsdocTypeObject"),JsdocTypeNumber:D(T=>T,"JsdocTypeNumber"),JsdocTypeNull:D(T=>T,"JsdocTypeNull"),JsdocTypeNotNullable:D((T,k)=>({type:"JsdocTypeNotNullable",element:k(T.element),meta:{position:T.meta.position}}),"JsdocTypeNotNullable"),JsdocTypeSpecialNamePath:D(T=>T,"JsdocTypeSpecialNamePath"),JsdocTypeObjectField:D((T,k)=>({type:"JsdocTypeObjectField",key:T.key,right:T.right===void 0?void 0:k(T.right),optional:T.optional,readonly:T.readonly,meta:T.meta}),"JsdocTypeObjectField"),JsdocTypeJsdocObjectField:D((T,k)=>({type:"JsdocTypeJsdocObjectField",left:k(T.left),right:k(T.right)}),"JsdocTypeJsdocObjectField"),JsdocTypeKeyValue:D((T,k)=>({type:"JsdocTypeKeyValue",key:T.key,right:T.right===void 0?void 0:k(T.right),optional:T.optional,variadic:T.variadic}),"JsdocTypeKeyValue"),JsdocTypeImport:D((T,k)=>({type:"JsdocTypeImport",element:k(T.element)}),"JsdocTypeImport"),JsdocTypeAny:D(T=>T,"JsdocTypeAny"),JsdocTypeStringValue:D(T=>T,"JsdocTypeStringValue"),JsdocTypeNamePath:D(T=>T,"JsdocTypeNamePath"),JsdocTypeVariadic:D((T,k)=>{let B={type:"JsdocTypeVariadic",meta:{position:T.meta.position,squareBrackets:T.meta.squareBrackets}};return T.element!==void 0&&(B.element=k(T.element)),B},"JsdocTypeVariadic"),JsdocTypeTuple:D((T,k)=>({type:"JsdocTypeTuple",elements:T.elements.map(k)}),"JsdocTypeTuple"),JsdocTypeName:D(T=>T,"JsdocTypeName"),JsdocTypeFunction:D((T,k)=>{let B={type:"JsdocTypeFunction",arrow:T.arrow,parameters:T.parameters.map(k),constructor:T.constructor,parenthesis:T.parenthesis};return T.returnType!==void 0&&(B.returnType=k(T.returnType)),B},"JsdocTypeFunction"),JsdocTypeKeyof:D((T,k)=>({type:"JsdocTypeKeyof",element:k(T.element)}),"JsdocTypeKeyof"),JsdocTypeParenthesis:D((T,k)=>({type:"JsdocTypeParenthesis",element:k(T.element)}),"JsdocTypeParenthesis"),JsdocTypeProperty:D(T=>T,"JsdocTypeProperty"),JsdocTypePredicate:D((T,k)=>({type:"JsdocTypePredicate",left:k(T.left),right:k(T.right)}),"JsdocTypePredicate"),JsdocTypeIndexSignature:D((T,k)=>({type:"JsdocTypeIndexSignature",key:T.key,right:k(T.right)}),"JsdocTypeIndexSignature"),JsdocTypeMappedType:D((T,k)=>({type:"JsdocTypeMappedType",key:T.key,right:k(T.right)}),"JsdocTypeMappedType"),JsdocTypeAsserts:D((T,k)=>({type:"JsdocTypeAsserts",left:k(T.left),right:k(T.right)}),"JsdocTypeAsserts")}}D(qw,"identityTransformRules");let jw={JsdocTypeAny:[],JsdocTypeFunction:["parameters","returnType"],JsdocTypeGeneric:["left","elements"],JsdocTypeImport:[],JsdocTypeIndexSignature:["right"],JsdocTypeIntersection:["elements"],JsdocTypeKeyof:["element"],JsdocTypeKeyValue:["right"],JsdocTypeMappedType:["right"],JsdocTypeName:[],JsdocTypeNamePath:["left","right"],JsdocTypeNotNullable:["element"],JsdocTypeNull:[],JsdocTypeNullable:["element"],JsdocTypeNumber:[],JsdocTypeObject:["elements"],JsdocTypeObjectField:["right"],JsdocTypeJsdocObjectField:["left","right"],JsdocTypeOptional:["element"],JsdocTypeParenthesis:["element"],JsdocTypeSpecialNamePath:[],JsdocTypeStringValue:[],JsdocTypeSymbol:["element"],JsdocTypeTuple:["elements"],JsdocTypeTypeof:["element"],JsdocTypeUndefined:[],JsdocTypeUnion:["elements"],JsdocTypeUnknown:[],JsdocTypeVariadic:["element"],JsdocTypeProperty:[],JsdocTypePredicate:["left","right"],JsdocTypeAsserts:["left","right"]};function Du(T,k,B,Y,fe){Y?.(T,k,B);let Ee=jw[T.type];for(let Ae of Ee){let ut=T[Ae];if(ut!==void 0)if(Array.isArray(ut))for(let ft of ut)Du(ft,T,Ae,Y,fe);else Du(ut,T,Ae,Y,fe)}fe?.(T,k,B)}D(Du,"_traverse");function Dw(T,k,B){Du(T,void 0,void 0,k,B)}D(Dw,"traverse"),r.catharsisTransform=Iw,r.identityTransformRules=qw,r.jtpTransform=Mw,r.parse=Gi,r.stringify=Qi,r.stringifyRules=Xi,r.transform=on,r.traverse=Dw,r.tryParse=Ko,r.visitorKeys=jw})});const{UnknownArgTypesError:Vee}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Hee=D(e=>e.name==="literal","isLiteral"),Jee=D(e=>e.value.replace(/['|"]/g,""),"toEnumOption"),Wee=D(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=ol(r.value)}),{name:"object",value:t};default:throw new Vee({type:e,language:"Flow"})}},"convertSig"),ol=D(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"literal":return{...n,name:"other",value:e.value};case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(ol)};case"signature":return{...n,...Wee(e)};case"union":return e.elements?.every(Hee)?{...n,name:"enum",value:e.elements?.map(Jee)}:{...n,name:t,value:e.elements?.map(ol)};case"intersection":return{...n,name:t,value:e.elements?.map(ol)};default:return{...n,name:"other",value:t}}},"convert");function Tc(e){if(!e||typeof e!="object")return!1;let t=Object.getPrototypeOf(e);return t===null||t===Object.prototype||Object.getPrototypeOf(t)===null?Object.prototype.toString.call(e)==="[object Object]":!1}D(Tc,"isPlainObject");function v$(e,t){let r={},n=Object.keys(e);for(let i=0;i<n.length;i++){let o=n[i],s=e[o];r[o]=t(s,o,e)}return r}D(v$,"mapValues");var _$=/^['"]|['"]$/g,zee=D(e=>e.replace(_$,""),"trimQuotes"),Kee=D(e=>_$.test(e),"includesQuotes"),E$=D(e=>{let t=zee(e);return Kee(e)||Number.isNaN(Number(t))?t:Number(t)},"parseLiteral"),Gee=/^\(.*\) => /,Va=D(e=>{let{name:t,raw:r,computed:n,value:i}=e,o={};switch(typeof r<"u"&&(o.raw=r),t){case"enum":{let l=n?i:i.map(u=>E$(u.value));return{...o,name:t,value:l}}case"string":case"number":case"symbol":return{...o,name:t};case"func":return{...o,name:"function"};case"bool":case"boolean":return{...o,name:"boolean"};case"arrayOf":case"array":return{...o,name:"array",value:i&&Va(i)};case"object":return{...o,name:t};case"objectOf":return{...o,name:t,value:Va(i)};case"shape":case"exact":let s=v$(i,l=>Va(l));return{...o,name:"object",value:s};case"union":return{...o,name:"union",value:i.map(l=>Va(l))};case"instanceOf":case"element":case"elementType":default:{if(t?.indexOf("|")>0)try{let c=t.split("|").map(p=>JSON.parse(p));return{...o,name:"enum",value:c}}catch{}let l=i?`${t}(${i})`:t,u=Gee.test(t)?"function":"other";return{...o,name:u,value:l}}}},"convert");const{UnknownArgTypesError:Yee}=__STORYBOOK_MODULE_CORE_EVENTS_PREVIEW_ERRORS__;var Xee=D(e=>{switch(e.type){case"function":return{name:"function"};case"object":let t={};return e.signature.properties.forEach(r=>{t[r.key]=sl(r.value)}),{name:"object",value:t};default:throw new Yee({type:e,language:"Typescript"})}},"convertSig"),sl=D(e=>{let{name:t,raw:r}=e,n={};switch(typeof r<"u"&&(n.raw=r),e.name){case"string":case"number":case"symbol":case"boolean":return{...n,name:t};case"Array":return{...n,name:"array",value:e.elements.map(sl)};case"signature":return{...n,...Xee(e)};case"union":let i;return e.elements?.every(o=>o.name==="literal")?i={...n,name:"enum",value:e.elements?.map(o=>E$(o.value))}:i={...n,name:t,value:e.elements?.map(sl)},i;case"intersection":return{...n,name:t,value:e.elements?.map(sl)};default:return{...n,name:"other",value:t}}},"convert"),jf=D(e=>{let{type:t,tsType:r,flowType:n}=e;try{if(t!=null)return Va(t);if(r!=null)return sl(r);if(n!=null)return ol(n)}catch(i){console.error(i)}return null},"convert"),Qee=["null","undefined"];function Df(e){return Qee.some(t=>t===e)}D(Df,"isDefaultValueBlacklisted");var Zee=D(e=>{if(!e)return"";if(typeof e=="string")return e;throw new Error(`Description: expected string, got: ${JSON.stringify(e)}`)},"str");function Lf(e){return!!e.__docgenInfo}D(Lf,"hasDocgen");function w$(e){return e!=null&&Object.keys(e).length>0}D(w$,"isValidDocgenSection");function x$(e,t){return Lf(e)?e.__docgenInfo[t]:null}D(x$,"getDocgenSection");function T$(e){return Lf(e)?Zee(e.__docgenInfo.description):""}D(T$,"getDocgenDescription");var Ai;(function(e){e.start="/**",e.nostart="/***",e.delim="*",e.end="*/"})(Ai=Ai||(Ai={}));function S$(e){return/^\s+$/.test(e)}D(S$,"isSpace");function C$(e){let t=e.match(/\r+$/);return t==null?["",e]:[e.slice(-t[0].length),e.slice(0,-t[0].length)]}D(C$,"splitCR");function yo(e){let t=e.match(/^\s+/);return t==null?["",e]:[e.slice(0,t[0].length),e.slice(t[0].length)]}D(yo,"splitSpace");function O$(e){return e.split(/\n/)}D(O$,"splitLines");function P$(e={}){return Object.assign({tag:"",name:"",type:"",optional:!1,description:"",problems:[],source:[]},e)}D(P$,"seedSpec");function A$(e={}){return Object.assign({start:"",delimiter:"",postDelimiter:"",tag:"",postTag:"",name:"",postName:"",type:"",postType:"",description:"",end:"",lineEnd:""},e)}D(A$,"seedTokens");var ete=/^@\S+/;function R$({fence:e="```"}={}){let t=N$(e),r=D((n,i)=>t(n)?!i:i,"toggleFence");return D(function(n){let i=[[]],o=!1;for(let s of n)ete.test(s.tokens.description)&&!o?i.push([s]):i[i.length-1].push(s),o=r(s.tokens.description,o);return i},"parseBlock")}D(R$,"getParser");function N$(e){return typeof e=="string"?t=>t.split(e).length%2===0:e}D(N$,"getFencer");function I$({startLine:e=0,markers:t=Ai}={}){let r=null,n=e;return D(function(i){let o=i,s=A$();if([s.lineEnd,o]=C$(o),[s.start,o]=yo(o),r===null&&o.startsWith(t.start)&&!o.startsWith(t.nostart)&&(r=[],s.delimiter=o.slice(0,t.start.length),o=o.slice(t.start.length),[s.postDelimiter,o]=yo(o)),r===null)return n++,null;let l=o.trimRight().endsWith(t.end);if(s.delimiter===""&&o.startsWith(t.delim)&&!o.startsWith(t.end)&&(s.delimiter=t.delim,o=o.slice(t.delim.length),[s.postDelimiter,o]=yo(o)),l){let u=o.trimRight();s.end=o.slice(u.length-t.end.length),o=u.slice(0,-t.end.length)}if(s.description=o,r.push({number:n,source:i,tokens:s}),n++,l){let u=r.slice();return r=null,u}return null},"parseSource")}D(I$,"getParser");function k$({tokenizers:e}){return D(function(t){var r;let n=P$({source:t});for(let i of e)if(n=i(n),!((r=n.problems[n.problems.length-1])===null||r===void 0)&&r.critical)break;return n},"parseSpec")}D(k$,"getParser");function M$(){return e=>{let{tokens:t}=e.source[0],r=t.description.match(/\s*(@(\S+))(\s*)/);return r===null?(e.problems.push({code:"spec:tag:prefix",message:'tag should start with "@" symbol',line:e.source[0].number,critical:!0}),e):(t.tag=r[1],t.postTag=r[3],t.description=t.description.slice(r[0].length),e.tag=r[2],e)}}D(M$,"tagTokenizer");function q$(e="compact"){let t=j$(e);return r=>{let n=0,i=[];for(let[l,{tokens:u}]of r.source.entries()){let c="";if(l===0&&u.description[0]!=="{")return r;for(let p of u.description)if(p==="{"&&n++,p==="}"&&n--,c+=p,n===0)break;if(i.push([u,c]),n===0)break}if(n!==0)return r.problems.push({code:"spec:type:unpaired-curlies",message:"unpaired curlies",line:r.source[0].number,critical:!0}),r;let o=[],s=i[0][0].postDelimiter.length;for(let[l,[u,c]]of i.entries())u.type=c,l>0&&(u.type=u.postDelimiter.slice(s)+c,u.postDelimiter=u.postDelimiter.slice(0,s)),[u.postType,u.description]=yo(u.description.slice(c.length)),o.push(u.type);return o[0]=o[0].slice(1),o[o.length-1]=o[o.length-1].slice(0,-1),r.type=t(o),r}}D(q$,"typeTokenizer");var tte=D(e=>e.trim(),"trim");function j$(e){return e==="compact"?t=>t.map(tte).join(""):e==="preserve"?t=>t.join(`
|
|
1020
|
-
`):e}D(j$,"getJoiner");var rte=D(e=>e&&e.startsWith('"')&&e.endsWith('"'),"isQuoted");function D$(){let e=D((t,{tokens:r},n)=>r.type===""?t:n,"typeEnd");return t=>{let{tokens:r}=t.source[t.source.reduce(e,0)],n=r.description.trimLeft(),i=n.split('"');if(i.length>1&&i[0]===""&&i.length%2===1)return t.name=i[1],r.name=`"${i[1]}"`,[r.postName,r.description]=yo(n.slice(r.name.length)),t;let o=0,s="",l=!1,u;for(let p of n){if(o===0&&S$(p))break;p==="["&&o++,p==="]"&&o--,s+=p}if(o!==0)return t.problems.push({code:"spec:name:unpaired-brackets",message:"unpaired brackets",line:t.source[0].number,critical:!0}),t;let c=s;if(s[0]==="["&&s[s.length-1]==="]"){l=!0,s=s.slice(1,-1);let p=s.split("=");if(s=p[0].trim(),p[1]!==void 0&&(u=p.slice(1).join("=").trim()),s==="")return t.problems.push({code:"spec:name:empty-name",message:"empty name",line:t.source[0].number,critical:!0}),t;if(u==="")return t.problems.push({code:"spec:name:empty-default",message:"empty default value",line:t.source[0].number,critical:!0}),t;if(!rte(u)&&/=(?!>)/.test(u))return t.problems.push({code:"spec:name:invalid-default",message:"invalid default value syntax",line:t.source[0].number,critical:!0}),t}return t.optional=l,t.name=s,r.name=c,u!==void 0&&(t.default=u),[r.postName,r.description]=yo(n.slice(r.name.length)),t}}D(D$,"nameTokenizer");function L$(e="compact",t=Ai){let r=eE(e);return n=>(n.description=r(n.source,t),n)}D(L$,"descriptionTokenizer");function eE(e){return e==="compact"?$$:e==="preserve"?F$:e}D(eE,"getJoiner");function $$(e,t=Ai){return e.map(({tokens:{description:r}})=>r.trim()).filter(r=>r!=="").join(" ")}D($$,"compactJoiner");var nte=D((e,{tokens:t},r)=>t.type===""?e:r,"lineNo"),ite=D(({tokens:e})=>(e.delimiter===""?e.start:e.postDelimiter.slice(1))+e.description,"getDescription");function F$(e,t=Ai){if(e.length===0)return"";e[0].tokens.description===""&&e[0].tokens.delimiter===t.start&&(e=e.slice(1));let r=e[e.length-1];return r!==void 0&&r.tokens.description===""&&r.tokens.end.endsWith(t.end)&&(e=e.slice(0,-1)),e=e.slice(e.reduce(nte,0)),e.map(ite).join(`
|
|
1021
|
-
`)}D(F$,"preserveJoiner");function B$({startLine:e=0,fence:t="```",spacing:r="compact",markers:n=Ai,tokenizers:i=[M$(),q$(r),D$(),L$(r)]}={}){if(e<0||e%1>0)throw new Error("Invalid startLine");let o=I$({startLine:e,markers:n}),s=R$({fence:t}),l=k$({tokenizers:i}),u=eE(r);return function(c){let p=[];for(let d of O$(c)){let f=o(d);if(f===null)continue;let h=s(f),y=h.slice(1).map(l);p.push({description:u(h[0],n),tags:y,source:f,problems:y.reduce((b,g)=>b.concat(g.problems),[])})}return p}}D(B$,"getParser");function U$(e){return e.start+e.delimiter+e.postDelimiter+e.tag+e.postTag+e.type+e.postType+e.name+e.postName+e.description+e.end+e.lineEnd}D(U$,"join");function ote(){return e=>e.source.map(({tokens:t})=>U$(t)).join(`
|
|
1022
|
-
`)}D(ote,"getStringifier");function V$(e,t={}){return B$(t)(e)}D(V$,"parse");var tE=Bee(Uee());function H$(e){return e!=null&&e.includes("@")}D(H$,"containsJsDoc");function J$(e){let t=`/**
|
|
1023
|
-
`+(e??"").split(`
|
|
1024
|
-
`).map(n=>` * ${n}`).join(`
|
|
1025
|
-
`)+`
|
|
1026
|
-
*/`,r=V$(t,{spacing:"preserve"});if(!r||r.length===0)throw new Error("Cannot parse JSDoc tags.");return r[0]}D(J$,"parse");var ste={tags:["param","arg","argument","returns","ignore","deprecated"]},ate=D((e,t=ste)=>{if(!H$(e))return{includesJsDoc:!1,ignore:!1};let r=J$(e),n=W$(r,t.tags);return n.ignore?{includesJsDoc:!0,ignore:!0}:{includesJsDoc:!0,ignore:!1,description:r.description.trim(),extractedTags:n}},"parseJsDoc");function W$(e,t){let r={params:null,deprecated:null,returns:null,ignore:!1};for(let n of e.tags)if(!(t!==void 0&&!t.includes(n.tag)))if(n.tag==="ignore"){r.ignore=!0;break}else switch(n.tag){case"param":case"arg":case"argument":{let i=K$(n);i!=null&&(r.params==null&&(r.params=[]),r.params.push(i));break}case"deprecated":{let i=G$(n);i!=null&&(r.deprecated=i);break}case"returns":{let i=Y$(n);i!=null&&(r.returns=i);break}}return r}D(W$,"extractJsDocTags");function z$(e){return e.replace(/[\.-]$/,"")}D(z$,"normaliseParamName");function K$(e){if(!e.name||e.name==="-")return null;let t=iE(e.type);return{name:e.name,type:t,description:nE(e.description),getPrettyName:D(()=>z$(e.name),"getPrettyName"),getTypeName:D(()=>t?oE(t):null,"getTypeName")}}D(K$,"extractParam");function G$(e){return e.name?rE(e.name,e.description):null}D(G$,"extractDeprecated");function rE(e,t){let r=e===""?t:`${e} ${t}`;return nE(r)}D(rE,"joinNameAndDescription");function nE(e){let t=e.replace(/^- /g,"").trim();return t===""?null:t}D(nE,"normaliseDescription");function Y$(e){let t=iE(e.type);return t?{type:t,description:rE(e.name,e.description),getTypeName:D(()=>oE(t),"getTypeName")}:null}D(Y$,"extractReturns");var Ji=(0,tE.stringifyRules)(),lte=Ji.JsdocTypeObject;Ji.JsdocTypeAny=()=>"any";Ji.JsdocTypeObject=(e,t)=>`(${lte(e,t)})`;Ji.JsdocTypeOptional=(e,t)=>t(e.element);Ji.JsdocTypeNullable=(e,t)=>t(e.element);Ji.JsdocTypeNotNullable=(e,t)=>t(e.element);Ji.JsdocTypeUnion=(e,t)=>e.elements.map(t).join("|");function iE(e){try{return(0,tE.parse)(e,"typescript")}catch{return null}}D(iE,"extractType");function oE(e){return(0,tE.transform)(Ji,e)}D(oE,"extractTypeName");function sE(e){return e.length>90}D(sE,"isTooLongForTypeSummary");function X$(e){return e.length>50}D(X$,"isTooLongForDefaultValueSummary");function jt(e,t){return e===t?{summary:e}:{summary:e,detail:t}}D(jt,"createSummaryValue");function Q$(e,t){if(e!=null){let{value:r}=e;if(!Df(r))return X$(r)?jt(t?.name,r):jt(r)}return null}D(Q$,"createDefaultValue");function aE({name:e,value:t,elements:r,raw:n}){return t??(r!=null?r.map(aE).join(" | "):n??e)}D(aE,"generateUnionElement");function Z$({name:e,raw:t,elements:r}){return r!=null?jt(r.map(aE).join(" | ")):t!=null?jt(t.replace(/^\|\s*/,"")):jt(e)}D(Z$,"generateUnion");function eF({type:e,raw:t}){return t!=null?jt(t):jt(e)}D(eF,"generateFuncSignature");function tF({type:e,raw:t}){return t!=null?sE(t)?jt(e,t):jt(t):jt(e)}D(tF,"generateObjectSignature");function rF(e){let{type:t}=e;return t==="object"?tF(e):eF(e)}D(rF,"generateSignature");function nF({name:e,raw:t}){return t!=null?sE(t)?jt(e,t):jt(t):jt(e)}D(nF,"generateDefault");function iF(e){if(e==null)return null;switch(e.name){case"union":return Z$(e);case"signature":return rF(e);default:return nF(e)}}D(iF,"createType");var ute=D((e,t)=>{let{flowType:r,description:n,required:i,defaultValue:o}=t;return{name:e,type:iF(r),required:i,description:n,defaultValue:Q$(o??null,r??null)}},"createFlowPropDef");function oF({defaultValue:e}){if(e!=null){let{value:t}=e;if(!Df(t))return jt(t)}return null}D(oF,"createDefaultValue");function sF({tsType:e,required:t}){if(e==null)return null;let r=e.name;return t||(r=r.replace(" | undefined","")),jt(["Array","Record","signature"].includes(e.name)?e.raw:r)}D(sF,"createType");var cte=D((e,t)=>{let{description:r,required:n}=t;return{name:e,type:sF(t),required:n,description:r,defaultValue:oF(t)}},"createTsPropDef");function aF(e){return e!=null?jt(e.name):null}D(aF,"createType");function lF(e){let{computed:t,func:r}=e;return typeof t>"u"&&typeof r>"u"}D(lF,"isReactDocgenTypescript");function uF(e){return e?e.name==="string"?!0:e.name==="enum"?Array.isArray(e.value)&&e.value.every(({value:t})=>typeof t=="string"&&t[0]==='"'&&t[t.length-1]==='"'):!1:!1}D(uF,"isStringValued");function cF(e,t){if(e!=null){let{value:r}=e;if(!Df(r))return lF(e)&&uF(t)?jt(JSON.stringify(r)):jt(r)}return null}D(cF,"createDefaultValue");function lE(e,t,r){let{description:n,required:i,defaultValue:o}=r;return{name:e,type:aF(t),required:i,description:n,defaultValue:cF(o,t)}}D(lE,"createBasicPropDef");function Eu(e,t){if(t?.includesJsDoc){let{description:r,extractedTags:n}=t;r!=null&&(e.description=t.description);let i={...n,params:n?.params?.map(o=>({name:o.getPrettyName(),description:o.description}))};Object.values(i).filter(Boolean).length>0&&(e.jsDocTags=i)}return e}D(Eu,"applyJsDocResult");var pte=D((e,t,r)=>{let n=lE(e,t.type,t);return n.sbType=jf(t),Eu(n,r)},"javaScriptFactory"),dte=D((e,t,r)=>{let n=cte(e,t);return n.sbType=jf(t),Eu(n,r)},"tsFactory"),fte=D((e,t,r)=>{let n=ute(e,t);return n.sbType=jf(t),Eu(n,r)},"flowFactory"),hte=D((e,t,r)=>{let n=lE(e,{name:"unknown"},t);return Eu(n,r)},"unknownFactory"),pF=D(e=>{switch(e){case"JavaScript":return pte;case"TypeScript":return dte;case"Flow":return fte;default:return hte}},"getPropDefFactory"),dF=D(e=>e.type!=null?"JavaScript":e.flowType!=null?"Flow":e.tsType!=null?"TypeScript":"Unknown","getTypeSystem"),mte=D(e=>{let t=dF(e[0]),r=pF(t);return e.map(n=>{let i=n;return n.type?.elements&&(i={...n,type:{...n.type,value:n.type.elements}}),uE(i.name,i,t,r)})},"extractComponentSectionArray"),yte=D(e=>{let t=Object.keys(e),r=dF(e[t[0]]),n=pF(r);return t.map(i=>{let o=e[i];return o!=null?uE(i,o,r,n):null}).filter(Boolean)},"extractComponentSectionObject"),gte=D((e,t)=>{let r=x$(e,t);return w$(r)?Array.isArray(r)?mte(r):yte(r):[]},"extractComponentProps");function uE(e,t,r,n){let i=ate(t.description);return i.includesJsDoc&&i.ignore?null:{propDef:n(e,t,i),jsDocTags:i.extractedTags,docgenInfo:t,typeSystem:r}}D(uE,"extractProp");function fF(e){return e!=null?T$(e):""}D(fF,"extractComponentDescription");var hF=D((...e)=>{let t={},r=e.filter(Boolean),n=r.reduce((i,o)=>(Object.entries(o).forEach(([s,l])=>{let u=i[s];Array.isArray(l)||typeof u>"u"?i[s]=l:Tc(l)&&Tc(u)?t[s]=!0:typeof l<"u"&&(i[s]=l)}),i),{});return Object.keys(t).forEach(i=>{let o=r.filter(Boolean).map(s=>s[i]).filter(s=>typeof s<"u");o.every(s=>Tc(s))?n[i]=hF(...o):n[i]=o[o.length-1]}),n},"combineParameters"),bte=D(e=>{let{component:t,argTypes:r,parameters:{docs:n={}}}=e,{extractArgTypes:i}=n;if(!i||!t)return r;let o=i(t);return o?hF(o,r):r},"enhanceArgTypes"),vte="storybook/docs",ple=`${vte}/snippet-rendered`,cg=(e=>(e.AUTO="auto",e.CODE="code",e.DYNAMIC="dynamic",e))(cg||{});/**
|
|
1027
|
-
* @vue/shared v3.5.17
|
|
1028
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1029
|
-
* @license MIT
|
|
1030
|
-
**//*! #__NO_SIDE_EFFECTS__ */function Ar(e){const t=Object.create(null);for(const r of e.split(","))t[r]=1;return r=>r in t}const Me={},Es=[],Vt=()=>{},Ha=()=>!1,Jo=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&(e.charCodeAt(2)>122||e.charCodeAt(2)<97),cE=e=>e.startsWith("onUpdate:"),qe=Object.assign,pE=(e,t)=>{const r=e.indexOf(t);r>-1&&e.splice(r,1)},_te=Object.prototype.hasOwnProperty,He=(e,t)=>_te.call(e,t),ge=Array.isArray,ws=e=>ga(e)==="[object Map]",Wo=e=>ga(e)==="[object Set]",kT=e=>ga(e)==="[object Date]",Ete=e=>ga(e)==="[object RegExp]",xe=e=>typeof e=="function",Se=e=>typeof e=="string",yr=e=>typeof e=="symbol",Ge=e=>e!==null&&typeof e=="object",dE=e=>(Ge(e)||xe(e))&&xe(e.then)&&xe(e.catch),mF=Object.prototype.toString,ga=e=>mF.call(e),wte=e=>ga(e).slice(8,-1),$f=e=>ga(e)==="[object Object]",fE=e=>Se(e)&&e!=="NaN"&&e[0]!=="-"&&""+parseInt(e,10)===e,Ri=Ar(",key,ref,ref_for,ref_key,onVnodeBeforeMount,onVnodeMounted,onVnodeBeforeUpdate,onVnodeUpdated,onVnodeBeforeUnmount,onVnodeUnmounted"),xte=Ar("bind,cloak,else-if,else,for,html,if,model,on,once,pre,show,slot,text,memo"),Ff=e=>{const t=Object.create(null);return r=>t[r]||(t[r]=e(r))},Tte=/-(\w)/g,et=Ff(e=>e.replace(Tte,(t,r)=>r?r.toUpperCase():"")),Ste=/\B([A-Z])/g,pr=Ff(e=>e.replace(Ste,"-$1").toLowerCase()),Wi=Ff(e=>e.charAt(0).toUpperCase()+e.slice(1)),go=Ff(e=>e?`on${Wi(e)}`:""),ir=(e,t)=>!Object.is(e,t),xs=(e,...t)=>{for(let r=0;r<e.length;r++)e[r](...t)},pg=(e,t,r,n=!1)=>{Object.defineProperty(e,t,{configurable:!0,enumerable:!1,writable:n,value:r})},Ap=e=>{const t=parseFloat(e);return isNaN(t)?e:t},Rp=e=>{const t=Se(e)?Number(e):NaN;return isNaN(t)?e:t};let MT;const Bf=()=>MT||(MT=typeof globalThis<"u"?globalThis:typeof self<"u"?self:typeof window<"u"?window:typeof global<"u"?global:{});function Cte(e,t){return e+JSON.stringify(t,(r,n)=>typeof n=="function"?n.toString():n)}const Ote="Infinity,undefined,NaN,isFinite,isNaN,parseFloat,parseInt,decodeURI,decodeURIComponent,encodeURI,encodeURIComponent,Math,Number,Date,Array,Object,Boolean,String,RegExp,Map,Set,JSON,Intl,BigInt,console,Error,Symbol",Pte=Ar(Ote);function ba(e){if(ge(e)){const t={};for(let r=0;r<e.length;r++){const n=e[r],i=Se(n)?yF(n):ba(n);if(i)for(const o in i)t[o]=i[o]}return t}else if(Se(e)||Ge(e))return e}const Ate=/;(?![^(]*\))/g,Rte=/:([^]+)/,Nte=/\/\*[^]*?\*\//g;function yF(e){const t={};return e.replace(Nte,"").split(Ate).forEach(r=>{if(r){const n=r.split(Rte);n.length>1&&(t[n[0].trim()]=n[1].trim())}}),t}function va(e){let t="";if(Se(e))t=e;else if(ge(e))for(let r=0;r<e.length;r++){const n=va(e[r]);n&&(t+=n+" ")}else if(Ge(e))for(const r in e)e[r]&&(t+=r+" ");return t.trim()}function gF(e){if(!e)return null;let{class:t,style:r}=e;return t&&!Se(t)&&(e.class=va(t)),r&&(e.style=ba(r)),e}const Ite="html,body,base,head,link,meta,style,title,address,article,aside,footer,header,hgroup,h1,h2,h3,h4,h5,h6,nav,section,div,dd,dl,dt,figcaption,figure,picture,hr,img,li,main,ol,p,pre,ul,a,b,abbr,bdi,bdo,br,cite,code,data,dfn,em,i,kbd,mark,q,rp,rt,ruby,s,samp,small,span,strong,sub,sup,time,u,var,wbr,area,audio,map,track,video,embed,object,param,source,canvas,script,noscript,del,ins,caption,col,colgroup,table,thead,tbody,td,th,tr,button,datalist,fieldset,form,input,label,legend,meter,optgroup,option,output,progress,select,textarea,details,dialog,menu,summary,template,blockquote,iframe,tfoot",kte="svg,animate,animateMotion,animateTransform,circle,clipPath,color-profile,defs,desc,discard,ellipse,feBlend,feColorMatrix,feComponentTransfer,feComposite,feConvolveMatrix,feDiffuseLighting,feDisplacementMap,feDistantLight,feDropShadow,feFlood,feFuncA,feFuncB,feFuncG,feFuncR,feGaussianBlur,feImage,feMerge,feMergeNode,feMorphology,feOffset,fePointLight,feSpecularLighting,feSpotLight,feTile,feTurbulence,filter,foreignObject,g,hatch,hatchpath,image,line,linearGradient,marker,mask,mesh,meshgradient,meshpatch,meshrow,metadata,mpath,path,pattern,polygon,polyline,radialGradient,rect,set,solidcolor,stop,switch,symbol,text,textPath,title,tspan,unknown,use,view",Mte="annotation,annotation-xml,maction,maligngroup,malignmark,math,menclose,merror,mfenced,mfrac,mfraction,mglyph,mi,mlabeledtr,mlongdiv,mmultiscripts,mn,mo,mover,mpadded,mphantom,mprescripts,mroot,mrow,ms,mscarries,mscarry,msgroup,msline,mspace,msqrt,msrow,mstack,mstyle,msub,msubsup,msup,mtable,mtd,mtext,mtr,munder,munderover,none,semantics",qte="area,base,br,col,embed,hr,img,input,link,meta,param,source,track,wbr",jte=Ar(Ite),Dte=Ar(kte),Lte=Ar(Mte),$te=Ar(qte),Fte="itemscope,allowfullscreen,formnovalidate,ismap,nomodule,novalidate,readonly",Bte=Ar(Fte);function bF(e){return!!e||e===""}function Ute(e,t){if(e.length!==t.length)return!1;let r=!0;for(let n=0;r&&n<e.length;n++)r=$i(e[n],t[n]);return r}function $i(e,t){if(e===t)return!0;let r=kT(e),n=kT(t);if(r||n)return r&&n?e.getTime()===t.getTime():!1;if(r=yr(e),n=yr(t),r||n)return e===t;if(r=ge(e),n=ge(t),r||n)return r&&n?Ute(e,t):!1;if(r=Ge(e),n=Ge(t),r||n){if(!r||!n)return!1;const i=Object.keys(e).length,o=Object.keys(t).length;if(i!==o)return!1;for(const s in e){const l=e.hasOwnProperty(s),u=t.hasOwnProperty(s);if(l&&!u||!l&&u||!$i(e[s],t[s]))return!1}}return String(e)===String(t)}function Uf(e,t){return e.findIndex(r=>$i(r,t))}const vF=e=>!!(e&&e.__v_isRef===!0),hE=e=>Se(e)?e:e==null?"":ge(e)||Ge(e)&&(e.toString===mF||!xe(e.toString))?vF(e)?hE(e.value):JSON.stringify(e,_F,2):String(e),_F=(e,t)=>vF(t)?_F(e,t.value):ws(t)?{[`Map(${t.size})`]:[...t.entries()].reduce((r,[n,i],o)=>(r[Dh(n,o)+" =>"]=i,r),{})}:Wo(t)?{[`Set(${t.size})`]:[...t.values()].map(r=>Dh(r))}:yr(t)?Dh(t):Ge(t)&&!ge(t)&&!$f(t)?String(t):t,Dh=(e,t="")=>{var r;return yr(e)?`Symbol(${(r=e.description)!=null?r:t})`:e};/**
|
|
1031
|
-
* @vue/reactivity v3.5.17
|
|
1032
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1033
|
-
* @license MIT
|
|
1034
|
-
**/let Xt;class Vf{constructor(t=!1){this.detached=t,this._active=!0,this._on=0,this.effects=[],this.cleanups=[],this._isPaused=!1,this.parent=Xt,!t&&Xt&&(this.index=(Xt.scopes||(Xt.scopes=[])).push(this)-1)}get active(){return this._active}pause(){if(this._active){this._isPaused=!0;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].pause();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].pause()}}resume(){if(this._active&&this._isPaused){this._isPaused=!1;let t,r;if(this.scopes)for(t=0,r=this.scopes.length;t<r;t++)this.scopes[t].resume();for(t=0,r=this.effects.length;t<r;t++)this.effects[t].resume()}}run(t){if(this._active){const r=Xt;try{return Xt=this,t()}finally{Xt=r}}}on(){++this._on===1&&(this.prevScope=Xt,Xt=this)}off(){this._on>0&&--this._on===0&&(Xt=this.prevScope,this.prevScope=void 0)}stop(t){if(this._active){this._active=!1;let r,n;for(r=0,n=this.effects.length;r<n;r++)this.effects[r].stop();for(this.effects.length=0,r=0,n=this.cleanups.length;r<n;r++)this.cleanups[r]();if(this.cleanups.length=0,this.scopes){for(r=0,n=this.scopes.length;r<n;r++)this.scopes[r].stop(!0);this.scopes.length=0}if(!this.detached&&this.parent&&!t){const i=this.parent.scopes.pop();i&&i!==this&&(this.parent.scopes[this.index]=i,i.index=this.index)}this.parent=void 0}}}function EF(e){return new Vf(e)}function mE(){return Xt}function wF(e,t=!1){Xt&&Xt.cleanups.push(e)}let Qe;const Lh=new WeakSet;class Ks{constructor(t){this.fn=t,this.deps=void 0,this.depsTail=void 0,this.flags=5,this.next=void 0,this.cleanup=void 0,this.scheduler=void 0,Xt&&Xt.active&&Xt.effects.push(this)}pause(){this.flags|=64}resume(){this.flags&64&&(this.flags&=-65,Lh.has(this)&&(Lh.delete(this),this.trigger()))}notify(){this.flags&2&&!(this.flags&32)||this.flags&8||TF(this)}run(){if(!(this.flags&1))return this.fn();this.flags|=2,qT(this),SF(this);const t=Qe,r=Zr;Qe=this,Zr=!0;try{return this.fn()}finally{CF(this),Qe=t,Zr=r,this.flags&=-3}}stop(){if(this.flags&1){for(let t=this.deps;t;t=t.nextDep)bE(t);this.deps=this.depsTail=void 0,qT(this),this.onStop&&this.onStop(),this.flags&=-2}}trigger(){this.flags&64?Lh.add(this):this.scheduler?this.scheduler():this.runIfDirty()}runIfDirty(){dg(this)&&this.run()}get dirty(){return dg(this)}}let xF=0,al,ll;function TF(e,t=!1){if(e.flags|=8,t){e.next=ll,ll=e;return}e.next=al,al=e}function yE(){xF++}function gE(){if(--xF>0)return;if(ll){let t=ll;for(ll=void 0;t;){const r=t.next;t.next=void 0,t.flags&=-9,t=r}}let e;for(;al;){let t=al;for(al=void 0;t;){const r=t.next;if(t.next=void 0,t.flags&=-9,t.flags&1)try{t.trigger()}catch(n){e||(e=n)}t=r}}if(e)throw e}function SF(e){for(let t=e.deps;t;t=t.nextDep)t.version=-1,t.prevActiveLink=t.dep.activeLink,t.dep.activeLink=t}function CF(e){let t,r=e.depsTail,n=r;for(;n;){const i=n.prevDep;n.version===-1?(n===r&&(r=i),bE(n),Vte(n)):t=n,n.dep.activeLink=n.prevActiveLink,n.prevActiveLink=void 0,n=i}e.deps=t,e.depsTail=r}function dg(e){for(let t=e.deps;t;t=t.nextDep)if(t.dep.version!==t.version||t.dep.computed&&(OF(t.dep.computed)||t.dep.version!==t.version))return!0;return!!e._dirty}function OF(e){if(e.flags&4&&!(e.flags&16)||(e.flags&=-17,e.globalVersion===Dl)||(e.globalVersion=Dl,!e.isSSR&&e.flags&128&&(!e.deps&&!e._dirty||!dg(e))))return;e.flags|=2;const t=e.dep,r=Qe,n=Zr;Qe=e,Zr=!0;try{SF(e);const i=e.fn(e._value);(t.version===0||ir(i,e._value))&&(e.flags|=128,e._value=i,t.version++)}catch(i){throw t.version++,i}finally{Qe=r,Zr=n,CF(e),e.flags&=-3}}function bE(e,t=!1){const{dep:r,prevSub:n,nextSub:i}=e;if(n&&(n.nextSub=i,e.prevSub=void 0),i&&(i.prevSub=n,e.nextSub=void 0),r.subs===e&&(r.subs=n,!n&&r.computed)){r.computed.flags&=-5;for(let o=r.computed.deps;o;o=o.nextDep)bE(o,!0)}!t&&!--r.sc&&r.map&&r.map.delete(r.key)}function Vte(e){const{prevDep:t,nextDep:r}=e;t&&(t.nextDep=r,e.prevDep=void 0),r&&(r.prevDep=t,e.nextDep=void 0)}function PF(e,t){e.effect instanceof Ks&&(e=e.effect.fn);const r=new Ks(e);t&&qe(r,t);try{r.run()}catch(i){throw r.stop(),i}const n=r.run.bind(r);return n.effect=r,n}function AF(e){e.effect.stop()}let Zr=!0;const RF=[];function Xn(){RF.push(Zr),Zr=!1}function Qn(){const e=RF.pop();Zr=e===void 0?!0:e}function qT(e){const{cleanup:t}=e;if(e.cleanup=void 0,t){const r=Qe;Qe=void 0;try{t()}finally{Qe=r}}}let Dl=0;class Hte{constructor(t,r){this.sub=t,this.dep=r,this.version=r.version,this.nextDep=this.prevDep=this.nextSub=this.prevSub=this.prevActiveLink=void 0}}class Hf{constructor(t){this.computed=t,this.version=0,this.activeLink=void 0,this.subs=void 0,this.map=void 0,this.key=void 0,this.sc=0,this.__v_skip=!0}track(t){if(!Qe||!Zr||Qe===this.computed)return;let r=this.activeLink;if(r===void 0||r.sub!==Qe)r=this.activeLink=new Hte(Qe,this),Qe.deps?(r.prevDep=Qe.depsTail,Qe.depsTail.nextDep=r,Qe.depsTail=r):Qe.deps=Qe.depsTail=r,NF(r);else if(r.version===-1&&(r.version=this.version,r.nextDep)){const n=r.nextDep;n.prevDep=r.prevDep,r.prevDep&&(r.prevDep.nextDep=n),r.prevDep=Qe.depsTail,r.nextDep=void 0,Qe.depsTail.nextDep=r,Qe.depsTail=r,Qe.deps===r&&(Qe.deps=n)}return r}trigger(t){this.version++,Dl++,this.notify(t)}notify(t){yE();try{for(let r=this.subs;r;r=r.prevSub)r.sub.notify()&&r.sub.dep.notify()}finally{gE()}}}function NF(e){if(e.dep.sc++,e.sub.flags&4){const t=e.dep.computed;if(t&&!e.dep.subs){t.flags|=20;for(let n=t.deps;n;n=n.nextDep)NF(n)}const r=e.dep.subs;r!==e&&(e.prevSub=r,r&&(r.nextSub=e)),e.dep.subs=e}}const Np=new WeakMap,bo=Symbol(""),fg=Symbol(""),Ll=Symbol("");function Zt(e,t,r){if(Zr&&Qe){let n=Np.get(e);n||Np.set(e,n=new Map);let i=n.get(r);i||(n.set(r,i=new Hf),i.map=n,i.key=r),i.track()}}function Fn(e,t,r,n,i,o){const s=Np.get(e);if(!s){Dl++;return}const l=u=>{u&&u.trigger()};if(yE(),t==="clear")s.forEach(l);else{const u=ge(e),c=u&&fE(r);if(u&&r==="length"){const p=Number(n);s.forEach((d,f)=>{(f==="length"||f===Ll||!yr(f)&&f>=p)&&l(d)})}else switch((r!==void 0||s.has(void 0))&&l(s.get(r)),c&&l(s.get(Ll)),t){case"add":u?c&&l(s.get("length")):(l(s.get(bo)),ws(e)&&l(s.get(fg)));break;case"delete":u||(l(s.get(bo)),ws(e)&&l(s.get(fg)));break;case"set":ws(e)&&l(s.get(bo));break}}gE()}function Jte(e,t){const r=Np.get(e);return r&&r.get(t)}function Xo(e){const t=De(e);return t===e?t:(Zt(t,"iterate",Ll),fr(e)?t:t.map(Bt))}function Jf(e){return Zt(e=De(e),"iterate",Ll),e}const Wte={__proto__:null,[Symbol.iterator](){return $h(this,Symbol.iterator,Bt)},concat(...e){return Xo(this).concat(...e.map(t=>ge(t)?Xo(t):t))},entries(){return $h(this,"entries",e=>(e[1]=Bt(e[1]),e))},every(e,t){return Rn(this,"every",e,t,void 0,arguments)},filter(e,t){return Rn(this,"filter",e,t,r=>r.map(Bt),arguments)},find(e,t){return Rn(this,"find",e,t,Bt,arguments)},findIndex(e,t){return Rn(this,"findIndex",e,t,void 0,arguments)},findLast(e,t){return Rn(this,"findLast",e,t,Bt,arguments)},findLastIndex(e,t){return Rn(this,"findLastIndex",e,t,void 0,arguments)},forEach(e,t){return Rn(this,"forEach",e,t,void 0,arguments)},includes(...e){return Fh(this,"includes",e)},indexOf(...e){return Fh(this,"indexOf",e)},join(e){return Xo(this).join(e)},lastIndexOf(...e){return Fh(this,"lastIndexOf",e)},map(e,t){return Rn(this,"map",e,t,void 0,arguments)},pop(){return Aa(this,"pop")},push(...e){return Aa(this,"push",e)},reduce(e,...t){return jT(this,"reduce",e,t)},reduceRight(e,...t){return jT(this,"reduceRight",e,t)},shift(){return Aa(this,"shift")},some(e,t){return Rn(this,"some",e,t,void 0,arguments)},splice(...e){return Aa(this,"splice",e)},toReversed(){return Xo(this).toReversed()},toSorted(e){return Xo(this).toSorted(e)},toSpliced(...e){return Xo(this).toSpliced(...e)},unshift(...e){return Aa(this,"unshift",e)},values(){return $h(this,"values",Bt)}};function $h(e,t,r){const n=Jf(e),i=n[t]();return n!==e&&!fr(e)&&(i._next=i.next,i.next=()=>{const o=i._next();return o.value&&(o.value=r(o.value)),o}),i}const zte=Array.prototype;function Rn(e,t,r,n,i,o){const s=Jf(e),l=s!==e&&!fr(e),u=s[t];if(u!==zte[t]){const d=u.apply(e,o);return l?Bt(d):d}let c=r;s!==e&&(l?c=function(d,f){return r.call(this,Bt(d),f,e)}:r.length>2&&(c=function(d,f){return r.call(this,d,f,e)}));const p=u.call(s,c,n);return l&&i?i(p):p}function jT(e,t,r,n){const i=Jf(e);let o=r;return i!==e&&(fr(e)?r.length>3&&(o=function(s,l,u){return r.call(this,s,l,u,e)}):o=function(s,l,u){return r.call(this,s,Bt(l),u,e)}),i[t](o,...n)}function Fh(e,t,r){const n=De(e);Zt(n,"iterate",Ll);const i=n[t](...r);return(i===-1||i===!1)&&wu(r[0])?(r[0]=De(r[0]),n[t](...r)):i}function Aa(e,t,r=[]){Xn(),yE();const n=De(e)[t].apply(e,r);return gE(),Qn(),n}const Kte=Ar("__proto__,__v_isRef,__isVue"),IF=new Set(Object.getOwnPropertyNames(Symbol).filter(e=>e!=="arguments"&&e!=="caller").map(e=>Symbol[e]).filter(yr));function Gte(e){yr(e)||(e=String(e));const t=De(this);return Zt(t,"has",e),t.hasOwnProperty(e)}class kF{constructor(t=!1,r=!1){this._isReadonly=t,this._isShallow=r}get(t,r,n){if(r==="__v_skip")return t.__v_skip;const i=this._isReadonly,o=this._isShallow;if(r==="__v_isReactive")return!i;if(r==="__v_isReadonly")return i;if(r==="__v_isShallow")return o;if(r==="__v_raw")return n===(i?o?$F:LF:o?DF:jF).get(t)||Object.getPrototypeOf(t)===Object.getPrototypeOf(n)?t:void 0;const s=ge(t);if(!i){let u;if(s&&(u=Wte[r]))return u;if(r==="hasOwnProperty")return Gte}const l=Reflect.get(t,r,Tt(t)?t:n);return(yr(r)?IF.has(r):Kte(r))||(i||Zt(t,"get",r),o)?l:Tt(l)?s&&fE(r)?l:l.value:Ge(l)?i?zf(l):Fi(l):l}}class MF extends kF{constructor(t=!1){super(!1,t)}set(t,r,n,i){let o=t[r];if(!this._isShallow){const u=_n(o);if(!fr(n)&&!_n(n)&&(o=De(o),n=De(n)),!ge(t)&&Tt(o)&&!Tt(n))return u?!1:(o.value=n,!0)}const s=ge(t)&&fE(r)?Number(r)<t.length:He(t,r),l=Reflect.set(t,r,n,Tt(t)?t:i);return t===De(i)&&(s?ir(n,o)&&Fn(t,"set",r,n):Fn(t,"add",r,n)),l}deleteProperty(t,r){const n=He(t,r);t[r];const i=Reflect.deleteProperty(t,r);return i&&n&&Fn(t,"delete",r,void 0),i}has(t,r){const n=Reflect.has(t,r);return(!yr(r)||!IF.has(r))&&Zt(t,"has",r),n}ownKeys(t){return Zt(t,"iterate",ge(t)?"length":bo),Reflect.ownKeys(t)}}class qF extends kF{constructor(t=!1){super(!0,t)}set(t,r){return!0}deleteProperty(t,r){return!0}}const Yte=new MF,Xte=new qF,Qte=new MF(!0),Zte=new qF(!0),hg=e=>e,Hu=e=>Reflect.getPrototypeOf(e);function ere(e,t,r){return function(...n){const i=this.__v_raw,o=De(i),s=ws(o),l=e==="entries"||e===Symbol.iterator&&s,u=e==="keys"&&s,c=i[e](...n),p=r?hg:t?Ip:Bt;return!t&&Zt(o,"iterate",u?fg:bo),{next(){const{value:d,done:f}=c.next();return f?{value:d,done:f}:{value:l?[p(d[0]),p(d[1])]:p(d),done:f}},[Symbol.iterator](){return this}}}}function Ju(e){return function(...t){return e==="delete"?!1:e==="clear"?void 0:this}}function tre(e,t){const r={get(i){const o=this.__v_raw,s=De(o),l=De(i);e||(ir(i,l)&&Zt(s,"get",i),Zt(s,"get",l));const{has:u}=Hu(s),c=t?hg:e?Ip:Bt;if(u.call(s,i))return c(o.get(i));if(u.call(s,l))return c(o.get(l));o!==s&&o.get(i)},get size(){const i=this.__v_raw;return!e&&Zt(De(i),"iterate",bo),Reflect.get(i,"size",i)},has(i){const o=this.__v_raw,s=De(o),l=De(i);return e||(ir(i,l)&&Zt(s,"has",i),Zt(s,"has",l)),i===l?o.has(i):o.has(i)||o.has(l)},forEach(i,o){const s=this,l=s.__v_raw,u=De(l),c=t?hg:e?Ip:Bt;return!e&&Zt(u,"iterate",bo),l.forEach((p,d)=>i.call(o,c(p),c(d),s))}};return qe(r,e?{add:Ju("add"),set:Ju("set"),delete:Ju("delete"),clear:Ju("clear")}:{add(i){!t&&!fr(i)&&!_n(i)&&(i=De(i));const o=De(this);return Hu(o).has.call(o,i)||(o.add(i),Fn(o,"add",i,i)),this},set(i,o){!t&&!fr(o)&&!_n(o)&&(o=De(o));const s=De(this),{has:l,get:u}=Hu(s);let c=l.call(s,i);c||(i=De(i),c=l.call(s,i));const p=u.call(s,i);return s.set(i,o),c?ir(o,p)&&Fn(s,"set",i,o):Fn(s,"add",i,o),this},delete(i){const o=De(this),{has:s,get:l}=Hu(o);let u=s.call(o,i);u||(i=De(i),u=s.call(o,i)),l&&l.call(o,i);const c=o.delete(i);return u&&Fn(o,"delete",i,void 0),c},clear(){const i=De(this),o=i.size!==0,s=i.clear();return o&&Fn(i,"clear",void 0,void 0),s}}),["keys","values","entries",Symbol.iterator].forEach(i=>{r[i]=ere(i,e,t)}),r}function Wf(e,t){const r=tre(e,t);return(n,i,o)=>i==="__v_isReactive"?!e:i==="__v_isReadonly"?e:i==="__v_raw"?n:Reflect.get(He(r,i)&&i in n?r:n,i,o)}const rre={get:Wf(!1,!1)},nre={get:Wf(!1,!0)},ire={get:Wf(!0,!1)},ore={get:Wf(!0,!0)},jF=new WeakMap,DF=new WeakMap,LF=new WeakMap,$F=new WeakMap;function sre(e){switch(e){case"Object":case"Array":return 1;case"Map":case"Set":case"WeakMap":case"WeakSet":return 2;default:return 0}}function are(e){return e.__v_skip||!Object.isExtensible(e)?0:sre(wte(e))}function Fi(e){return _n(e)?e:Kf(e,!1,Yte,rre,jF)}function vE(e){return Kf(e,!1,Qte,nre,DF)}function zf(e){return Kf(e,!0,Xte,ire,LF)}function FF(e){return Kf(e,!0,Zte,ore,$F)}function Kf(e,t,r,n,i){if(!Ge(e)||e.__v_raw&&!(t&&e.__v_isReactive))return e;const o=are(e);if(o===0)return e;const s=i.get(e);if(s)return s;const l=new Proxy(e,o===2?n:r);return i.set(e,l),l}function bn(e){return _n(e)?bn(e.__v_raw):!!(e&&e.__v_isReactive)}function _n(e){return!!(e&&e.__v_isReadonly)}function fr(e){return!!(e&&e.__v_isShallow)}function wu(e){return e?!!e.__v_raw:!1}function De(e){const t=e&&e.__v_raw;return t?De(t):e}function _E(e){return!He(e,"__v_skip")&&Object.isExtensible(e)&&pg(e,"__v_skip",!0),e}const Bt=e=>Ge(e)?Fi(e):e,Ip=e=>Ge(e)?zf(e):e;function Tt(e){return e?e.__v_isRef===!0:!1}function Ts(e){return BF(e,!1)}function EE(e){return BF(e,!0)}function BF(e,t){return Tt(e)?e:new lre(e,t)}class lre{constructor(t,r){this.dep=new Hf,this.__v_isRef=!0,this.__v_isShallow=!1,this._rawValue=r?t:De(t),this._value=r?t:Bt(t),this.__v_isShallow=r}get value(){return this.dep.track(),this._value}set value(t){const r=this._rawValue,n=this.__v_isShallow||fr(t)||_n(t);t=n?t:De(t),ir(t,r)&&(this._rawValue=t,this._value=n?t:Bt(t),this.dep.trigger())}}function UF(e){e.dep&&e.dep.trigger()}function xu(e){return Tt(e)?e.value:e}function VF(e){return xe(e)?e():xu(e)}const ure={get:(e,t,r)=>t==="__v_raw"?e:xu(Reflect.get(e,t,r)),set:(e,t,r,n)=>{const i=e[t];return Tt(i)&&!Tt(r)?(i.value=r,!0):Reflect.set(e,t,r,n)}};function Gf(e){return bn(e)?e:new Proxy(e,ure)}class cre{constructor(t){this.__v_isRef=!0,this._value=void 0;const r=this.dep=new Hf,{get:n,set:i}=t(r.track.bind(r),r.trigger.bind(r));this._get=n,this._set=i}get value(){return this._value=this._get()}set value(t){this._set(t)}}function wE(e){return new cre(e)}function HF(e){const t=ge(e)?new Array(e.length):{};for(const r in e)t[r]=WF(e,r);return t}class pre{constructor(t,r,n){this._object=t,this._key=r,this._defaultValue=n,this.__v_isRef=!0,this._value=void 0}get value(){const t=this._object[this._key];return this._value=t===void 0?this._defaultValue:t}set value(t){this._object[this._key]=t}get dep(){return Jte(De(this._object),this._key)}}class dre{constructor(t){this._getter=t,this.__v_isRef=!0,this.__v_isReadonly=!0,this._value=void 0}get value(){return this._value=this._getter()}}function JF(e,t,r){return Tt(e)?e:xe(e)?new dre(e):Ge(e)&&arguments.length>1?WF(e,t,r):Ts(e)}function WF(e,t,r){const n=e[t];return Tt(n)?n:new pre(e,t,r)}class fre{constructor(t,r,n){this.fn=t,this.setter=r,this._value=void 0,this.dep=new Hf(this),this.__v_isRef=!0,this.deps=void 0,this.depsTail=void 0,this.flags=16,this.globalVersion=Dl-1,this.next=void 0,this.effect=this,this.__v_isReadonly=!r,this.isSSR=n}notify(){if(this.flags|=16,!(this.flags&8)&&Qe!==this)return TF(this,!0),!0}get value(){const t=this.dep.track();return OF(this),t&&(t.version=this.dep.version),this._value}set value(t){this.setter&&this.setter(t)}}function hre(e,t,r=!1){let n,i;return xe(e)?n=e:(n=e.get,i=e.set),new fre(n,i,r)}const zF={GET:"get",HAS:"has",ITERATE:"iterate"},KF={SET:"set",ADD:"add",DELETE:"delete",CLEAR:"clear"},Wu={},kp=new WeakMap;let bi;function GF(){return bi}function xE(e,t=!1,r=bi){if(r){let n=kp.get(r);n||kp.set(r,n=[]),n.push(e)}}function mre(e,t,r=Me){const{immediate:n,deep:i,once:o,scheduler:s,augmentJob:l,call:u}=r,c=O=>i?O:fr(O)||i===!1||i===0?Bn(O,1):Bn(O);let p,d,f,h,y=!1,b=!1;if(Tt(e)?(d=()=>e.value,y=fr(e)):bn(e)?(d=()=>c(e),y=!0):ge(e)?(b=!0,y=e.some(O=>bn(O)||fr(O)),d=()=>e.map(O=>{if(Tt(O))return O.value;if(bn(O))return c(O);if(xe(O))return u?u(O,2):O()})):xe(e)?t?d=u?()=>u(e,2):e:d=()=>{if(f){Xn();try{f()}finally{Qn()}}const O=bi;bi=p;try{return u?u(e,3,[h]):e(h)}finally{bi=O}}:d=Vt,t&&i){const O=d,P=i===!0?1/0:i;d=()=>Bn(O(),P)}const g=mE(),m=()=>{p.stop(),g&&g.active&&pE(g.effects,p)};if(o&&t){const O=t;t=(...P)=>{O(...P),m()}}let v=b?new Array(e.length).fill(Wu):Wu;const S=O=>{if(!(!(p.flags&1)||!p.dirty&&!O))if(t){const P=p.run();if(i||y||(b?P.some((x,E)=>ir(x,v[E])):ir(P,v))){f&&f();const x=bi;bi=p;try{const E=[P,v===Wu?void 0:b&&v[0]===Wu?[]:v,h];v=P,u?u(t,3,E):t(...E)}finally{bi=x}}}else p.run()};return l&&l(S),p=new Ks(d),p.scheduler=s?()=>s(S,!1):S,h=O=>xE(O,!1,p),f=p.onStop=()=>{const O=kp.get(p);if(O){if(u)u(O,4);else for(const P of O)P();kp.delete(p)}},t?n?S(!0):v=p.run():s?s(S.bind(null,!0),!0):p.run(),m.pause=p.pause.bind(p),m.resume=p.resume.bind(p),m.stop=m,m}function Bn(e,t=1/0,r){if(t<=0||!Ge(e)||e.__v_skip||(r=r||new Set,r.has(e)))return e;if(r.add(e),t--,Tt(e))Bn(e.value,t,r);else if(ge(e))for(let n=0;n<e.length;n++)Bn(e[n],t,r);else if(Wo(e)||ws(e))e.forEach(n=>{Bn(n,t,r)});else if($f(e)){for(const n in e)Bn(e[n],t,r);for(const n of Object.getOwnPropertySymbols(e))Object.prototype.propertyIsEnumerable.call(e,n)&&Bn(e[n],t,r)}return e}/**
|
|
1035
|
-
* @vue/runtime-core v3.5.17
|
|
1036
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1037
|
-
* @license MIT
|
|
1038
|
-
**/const YF=[];function yre(e){YF.push(e)}function gre(){YF.pop()}function XF(e,t){}const QF={SETUP_FUNCTION:0,0:"SETUP_FUNCTION",RENDER_FUNCTION:1,1:"RENDER_FUNCTION",NATIVE_EVENT_HANDLER:5,5:"NATIVE_EVENT_HANDLER",COMPONENT_EVENT_HANDLER:6,6:"COMPONENT_EVENT_HANDLER",VNODE_HOOK:7,7:"VNODE_HOOK",DIRECTIVE_HOOK:8,8:"DIRECTIVE_HOOK",TRANSITION_HOOK:9,9:"TRANSITION_HOOK",APP_ERROR_HANDLER:10,10:"APP_ERROR_HANDLER",APP_WARN_HANDLER:11,11:"APP_WARN_HANDLER",FUNCTION_REF:12,12:"FUNCTION_REF",ASYNC_COMPONENT_LOADER:13,13:"ASYNC_COMPONENT_LOADER",SCHEDULER:14,14:"SCHEDULER",COMPONENT_UPDATE:15,15:"COMPONENT_UPDATE",APP_UNMOUNT_CLEANUP:16,16:"APP_UNMOUNT_CLEANUP"},bre={sp:"serverPrefetch hook",bc:"beforeCreate hook",c:"created hook",bm:"beforeMount hook",m:"mounted hook",bu:"beforeUpdate hook",u:"updated",bum:"beforeUnmount hook",um:"unmounted hook",a:"activated hook",da:"deactivated hook",ec:"errorCaptured hook",rtc:"renderTracked hook",rtg:"renderTriggered hook",0:"setup function",1:"render function",2:"watcher getter",3:"watcher callback",4:"watcher cleanup function",5:"native event handler",6:"component event handler",7:"vnode hook",8:"directive hook",9:"transition hook",10:"app errorHandler",11:"app warnHandler",12:"ref function",13:"async component loader",14:"scheduler flush",15:"component update",16:"app unmount cleanup function"};function zo(e,t,r,n){try{return n?e(...n):e()}catch(i){zi(i,t,r)}}function Or(e,t,r,n){if(xe(e)){const i=zo(e,t,r,n);return i&&dE(i)&&i.catch(o=>{zi(o,t,r)}),i}if(ge(e)){const i=[];for(let o=0;o<e.length;o++)i.push(Or(e[o],t,r,n));return i}}function zi(e,t,r,n=!0){const i=t?t.vnode:null,{errorHandler:o,throwUnhandledErrorInProduction:s}=t&&t.appContext.config||Me;if(t){let l=t.parent;const u=t.proxy,c=`https://vuejs.org/error-reference/#runtime-${r}`;for(;l;){const p=l.ec;if(p){for(let d=0;d<p.length;d++)if(p[d](e,u,c)===!1)return}l=l.parent}if(o){Xn(),zo(o,null,10,[e,u,c]),Qn();return}}vre(e,r,i,n,s)}function vre(e,t,r,n=!0,i=!1){if(i)throw e;console.error(e)}const or=[];let pn=-1;const Ss=[];let vi=null,ss=0;const ZF=Promise.resolve();let Mp=null;function Tu(e){const t=Mp||ZF;return e?t.then(this?e.bind(this):e):t}function _re(e){let t=pn+1,r=or.length;for(;t<r;){const n=t+r>>>1,i=or[n],o=$l(i);o<e||o===e&&i.flags&2?t=n+1:r=n}return t}function TE(e){if(!(e.flags&1)){const t=$l(e),r=or[or.length-1];!r||!(e.flags&2)&&t>=$l(r)?or.push(e):or.splice(_re(t),0,e),e.flags|=1,e2()}}function e2(){Mp||(Mp=ZF.then(t2))}function Gs(e){ge(e)?Ss.push(...e):vi&&e.id===-1?vi.splice(ss+1,0,e):e.flags&1||(Ss.push(e),e.flags|=1),e2()}function DT(e,t,r=pn+1){for(;r<or.length;r++){const n=or[r];if(n&&n.flags&2){if(e&&n.id!==e.uid)continue;or.splice(r,1),r--,n.flags&4&&(n.flags&=-2),n(),n.flags&4||(n.flags&=-2)}}}function qp(e){if(Ss.length){const t=[...new Set(Ss)].sort((r,n)=>$l(r)-$l(n));if(Ss.length=0,vi){vi.push(...t);return}for(vi=t,ss=0;ss<vi.length;ss++){const r=vi[ss];r.flags&4&&(r.flags&=-2),r.flags&8||r(),r.flags&=-2}vi=null,ss=0}}const $l=e=>e.id==null?e.flags&2?-1:1/0:e.id;function t2(e){try{for(pn=0;pn<or.length;pn++){const t=or[pn];t&&!(t.flags&8)&&(t.flags&4&&(t.flags&=-2),zo(t,t.i,t.i?15:14),t.flags&4||(t.flags&=-2))}}finally{for(;pn<or.length;pn++){const t=or[pn];t&&(t.flags&=-2)}pn=-1,or.length=0,qp(),Mp=null,(or.length||Ss.length)&&t2()}}let as,zu=[];function r2(e,t){var r,n;as=e,as?(as.enabled=!0,zu.forEach(({event:i,args:o})=>as.emit(i,...o)),zu=[]):typeof window<"u"&&window.HTMLElement&&!((n=(r=window.navigator)==null?void 0:r.userAgent)!=null&&n.includes("jsdom"))?((t.__VUE_DEVTOOLS_HOOK_REPLAY__=t.__VUE_DEVTOOLS_HOOK_REPLAY__||[]).push(o=>{r2(o,t)}),setTimeout(()=>{as||(t.__VUE_DEVTOOLS_HOOK_REPLAY__=null,zu=[])},3e3)):zu=[]}let qt=null,Yf=null;function Fl(e){const t=qt;return qt=e,Yf=e&&e.type.__scopeId||null,t}function n2(e){Yf=e}function i2(){Yf=null}const o2=e=>Xf;function Xf(e,t=qt,r){if(!t||e._n)return e;const n=(...i)=>{n._d&&$p(-1);const o=Fl(t);let s;try{s=e(...i)}finally{Fl(o),n._d&&$p(1)}return s};return n._n=!0,n._c=!0,n._d=!0,n}function s2(e,t){if(qt===null)return e;const r=Nu(qt),n=e.dirs||(e.dirs=[]);for(let i=0;i<t.length;i++){let[o,s,l,u=Me]=t[i];o&&(xe(o)&&(o={mounted:o,updated:o}),o.deep&&Bn(s),n.push({dir:o,instance:r,value:s,oldValue:void 0,arg:l,modifiers:u}))}return e}function dn(e,t,r,n){const i=e.dirs,o=t&&t.dirs;for(let s=0;s<i.length;s++){const l=i[s];o&&(l.oldValue=o[s].value);let u=l.dir[n];u&&(Xn(),Or(u,r,8,[e.el,l,e,t]),Qn())}}const a2=Symbol("_vte"),l2=e=>e.__isTeleport,ul=e=>e&&(e.disabled||e.disabled===""),LT=e=>e&&(e.defer||e.defer===""),$T=e=>typeof SVGElement<"u"&&e instanceof SVGElement,FT=e=>typeof MathMLElement=="function"&&e instanceof MathMLElement,mg=(e,t)=>{const r=e&&e.to;return Se(r)?t?t(r):null:r},u2={name:"Teleport",__isTeleport:!0,process(e,t,r,n,i,o,s,l,u,c){const{mc:p,pc:d,pbc:f,o:{insert:h,querySelector:y,createText:b,createComment:g}}=c,m=ul(t.props);let{shapeFlag:v,children:S,dynamicChildren:O}=t;if(e==null){const P=t.el=b(""),x=t.anchor=b("");h(P,r,n),h(x,r,n);const E=(C,w)=>{v&16&&(i&&i.isCE&&(i.ce._teleportTarget=C),p(S,C,w,i,o,s,l,u))},_=()=>{const C=t.target=mg(t.props,y),w=p2(C,t,b,h);C&&(s!=="svg"&&$T(C)?s="svg":s!=="mathml"&&FT(C)&&(s="mathml"),m||(E(C,w),Sc(t,!1)))};m&&(E(r,x),Sc(t,!0)),LT(t.props)?(t.el.__isMounted=!1,At(()=>{_(),delete t.el.__isMounted},o)):_()}else{if(LT(t.props)&&e.el.__isMounted===!1){At(()=>{u2.process(e,t,r,n,i,o,s,l,u,c)},o);return}t.el=e.el,t.targetStart=e.targetStart;const P=t.anchor=e.anchor,x=t.target=e.target,E=t.targetAnchor=e.targetAnchor,_=ul(e.props),C=_?r:x,w=_?P:E;if(s==="svg"||$T(x)?s="svg":(s==="mathml"||FT(x))&&(s="mathml"),O?(f(e.dynamicChildren,O,C,i,o,s,l),VE(e,t,!0)):u||d(e,t,C,w,i,o,s,l,!1),m)_?t.props&&e.props&&t.props.to!==e.props.to&&(t.props.to=e.props.to):Ku(t,r,P,c,1);else if((t.props&&t.props.to)!==(e.props&&e.props.to)){const A=t.target=mg(t.props,y);A&&Ku(t,A,null,c,0)}else _&&Ku(t,x,E,c,1);Sc(t,m)}},remove(e,t,r,{um:n,o:{remove:i}},o){const{shapeFlag:s,children:l,anchor:u,targetStart:c,targetAnchor:p,target:d,props:f}=e;if(d&&(i(c),i(p)),o&&i(u),s&16){const h=o||!ul(f);for(let y=0;y<l.length;y++){const b=l[y];n(b,t,r,h,!!b.dynamicChildren)}}},move:Ku,hydrate:Ere};function Ku(e,t,r,{o:{insert:n},m:i},o=2){o===0&&n(e.targetAnchor,t,r);const{el:s,anchor:l,shapeFlag:u,children:c,props:p}=e,d=o===2;if(d&&n(s,t,r),(!d||ul(p))&&u&16)for(let f=0;f<c.length;f++)i(c[f],t,r,2);d&&n(l,t,r)}function Ere(e,t,r,n,i,o,{o:{nextSibling:s,parentNode:l,querySelector:u,insert:c,createText:p}},d){const f=t.target=mg(t.props,u);if(f){const h=ul(t.props),y=f._lpa||f.firstChild;if(t.shapeFlag&16)if(h)t.anchor=d(s(e),t,l(e),r,n,i,o),t.targetStart=y,t.targetAnchor=y&&s(y);else{t.anchor=s(e);let b=y;for(;b;){if(b&&b.nodeType===8){if(b.data==="teleport start anchor")t.targetStart=b;else if(b.data==="teleport anchor"){t.targetAnchor=b,f._lpa=t.targetAnchor&&s(t.targetAnchor);break}}b=s(b)}t.targetAnchor||p2(f,t,p,c),d(y&&s(y),t,f,r,n,i,o)}Sc(t,h)}return t.anchor&&s(t.anchor)}const c2=u2;function Sc(e,t){const r=e.ctx;if(r&&r.ut){let n,i;for(t?(n=e.el,i=e.anchor):(n=e.targetStart,i=e.targetAnchor);n&&n!==i;)n.nodeType===1&&n.setAttribute("data-v-owner",r.uid),n=n.nextSibling;r.ut()}}function p2(e,t,r,n){const i=t.targetStart=r(""),o=t.targetAnchor=r("");return i[a2]=o,e&&(n(i,e),n(o,e)),o}const _i=Symbol("_leaveCb"),Gu=Symbol("_enterCb");function Qf(){const e={isMounted:!1,isLeaving:!1,isUnmounting:!1,leavingVNodes:new Map};return _a(()=>{e.isMounted=!0}),Pu(()=>{e.isUnmounting=!0}),e}const kr=[Function,Array],Zf={mode:String,appear:Boolean,persisted:Boolean,onBeforeEnter:kr,onEnter:kr,onAfterEnter:kr,onEnterCancelled:kr,onBeforeLeave:kr,onLeave:kr,onAfterLeave:kr,onLeaveCancelled:kr,onBeforeAppear:kr,onAppear:kr,onAfterAppear:kr,onAppearCancelled:kr},d2=e=>{const t=e.subTree;return t.component?d2(t.component):t},wre={name:"BaseTransition",props:Zf,setup(e,{slots:t}){const r=Rr(),n=Qf();return()=>{const i=t.default&&Su(t.default(),!0);if(!i||!i.length)return;const o=f2(i),s=De(e),{mode:l}=s;if(n.isLeaving)return Bh(o);const u=BT(o);if(!u)return Bh(o);let c=Mo(u,s,n,r,d=>c=d);u.type!==gt&&En(u,c);let p=r.subTree&&BT(r.subTree);if(p&&p.type!==gt&&!Yr(u,p)&&d2(r).type!==gt){let d=Mo(p,s,n,r);if(En(p,d),l==="out-in"&&u.type!==gt)return n.isLeaving=!0,d.afterLeave=()=>{n.isLeaving=!1,r.job.flags&8||r.update(),delete d.afterLeave,p=void 0},Bh(o);l==="in-out"&&u.type!==gt?d.delayLeave=(f,h,y)=>{const b=h2(n,p);b[String(p.key)]=p,f[_i]=()=>{h(),f[_i]=void 0,delete c.delayedLeave,p=void 0},c.delayedLeave=()=>{y(),delete c.delayedLeave,p=void 0}}:p=void 0}else p&&(p=void 0);return o}}};function f2(e){let t=e[0];if(e.length>1){for(const r of e)if(r.type!==gt){t=r;break}}return t}const SE=wre;function h2(e,t){const{leavingVNodes:r}=e;let n=r.get(t.type);return n||(n=Object.create(null),r.set(t.type,n)),n}function Mo(e,t,r,n,i){const{appear:o,mode:s,persisted:l=!1,onBeforeEnter:u,onEnter:c,onAfterEnter:p,onEnterCancelled:d,onBeforeLeave:f,onLeave:h,onAfterLeave:y,onLeaveCancelled:b,onBeforeAppear:g,onAppear:m,onAfterAppear:v,onAppearCancelled:S}=t,O=String(e.key),P=h2(r,e),x=(C,w)=>{C&&Or(C,n,9,w)},E=(C,w)=>{const A=w[1];x(C,w),ge(C)?C.every(I=>I.length<=1)&&A():C.length<=1&&A()},_={mode:s,persisted:l,beforeEnter(C){let w=u;if(!r.isMounted)if(o)w=g||u;else return;C[_i]&&C[_i](!0);const A=P[O];A&&Yr(e,A)&&A.el[_i]&&A.el[_i](),x(w,[C])},enter(C){let w=c,A=p,I=d;if(!r.isMounted)if(o)w=m||c,A=v||p,I=S||d;else return;let j=!1;const R=C[Gu]=q=>{j||(j=!0,q?x(I,[C]):x(A,[C]),_.delayedLeave&&_.delayedLeave(),C[Gu]=void 0)};w?E(w,[C,R]):R()},leave(C,w){const A=String(e.key);if(C[Gu]&&C[Gu](!0),r.isUnmounting)return w();x(f,[C]);let I=!1;const j=C[_i]=R=>{I||(I=!0,w(),R?x(b,[C]):x(y,[C]),C[_i]=void 0,P[A]===e&&delete P[A])};P[A]=e,h?E(h,[C,j]):j()},clone(C){const w=Mo(C,t,r,n,i);return i&&i(w),w}};return _}function Bh(e){if(Cu(e))return e=tn(e),e.children=null,e}function BT(e){if(!Cu(e))return l2(e.type)&&e.children?f2(e.children):e;if(e.component)return e.component.subTree;const{shapeFlag:t,children:r}=e;if(r){if(t&16)return r[0];if(t&32&&xe(r.default))return r.default()}}function En(e,t){e.shapeFlag&6&&e.component?(e.transition=t,En(e.component.subTree,t)):e.shapeFlag&128?(e.ssContent.transition=t.clone(e.ssContent),e.ssFallback.transition=t.clone(e.ssFallback)):e.transition=t}function Su(e,t=!1,r){let n=[],i=0;for(let o=0;o<e.length;o++){let s=e[o];const l=r==null?s.key:String(r)+String(s.key!=null?s.key:o);s.type===Nt?(s.patchFlag&128&&i++,n=n.concat(Su(s.children,t,l))):(t||s.type!==gt)&&n.push(l!=null?tn(s,{key:l}):s)}if(i>1)for(let o=0;o<n.length;o++)n[o].patchFlag=-2;return n}/*! #__NO_SIDE_EFFECTS__ */function eh(e,t){return xe(e)?qe({name:e.name},t,{setup:e}):e}function m2(){const e=Rr();return e?(e.appContext.config.idPrefix||"v")+"-"+e.ids[0]+e.ids[1]++:""}function CE(e){e.ids=[e.ids[0]+e.ids[2]+++"-",0,0]}function y2(e){const t=Rr(),r=EE(null);if(t){const i=t.refs===Me?t.refs={}:t.refs;Object.defineProperty(i,e,{enumerable:!0,get:()=>r.value,set:o=>r.value=o})}return r}function Cs(e,t,r,n,i=!1){if(ge(e)){e.forEach((y,b)=>Cs(y,t&&(ge(t)?t[b]:t),r,n,i));return}if(Ni(n)&&!i){n.shapeFlag&512&&n.type.__asyncResolved&&n.component.subTree.component&&Cs(e,t,r,n.component.subTree);return}const o=n.shapeFlag&4?Nu(n.component):n.el,s=i?null:o,{i:l,r:u}=e,c=t&&t.r,p=l.refs===Me?l.refs={}:l.refs,d=l.setupState,f=De(d),h=d===Me?()=>!1:y=>He(f,y);if(c!=null&&c!==u&&(Se(c)?(p[c]=null,h(c)&&(d[c]=null)):Tt(c)&&(c.value=null)),xe(u))zo(u,l,12,[s,p]);else{const y=Se(u),b=Tt(u);if(y||b){const g=()=>{if(e.f){const m=y?h(u)?d[u]:p[u]:u.value;i?ge(m)&&pE(m,o):ge(m)?m.includes(o)||m.push(o):y?(p[u]=[o],h(u)&&(d[u]=p[u])):(u.value=[o],e.k&&(p[e.k]=u.value))}else y?(p[u]=s,h(u)&&(d[u]=s)):b&&(u.value=s,e.k&&(p[e.k]=s))};s?(g.id=-1,At(g,r)):g()}}}let UT=!1;const Qo=()=>{UT||(console.error("Hydration completed but contains mismatches."),UT=!0)},xre=e=>e.namespaceURI.includes("svg")&&e.tagName!=="foreignObject",Tre=e=>e.namespaceURI.includes("MathML"),Yu=e=>{if(e.nodeType===1){if(xre(e))return"svg";if(Tre(e))return"mathml"}},hs=e=>e.nodeType===8;function Sre(e){const{mt:t,p:r,o:{patchProp:n,createText:i,nextSibling:o,parentNode:s,remove:l,insert:u,createComment:c}}=e,p=(S,O)=>{if(!O.hasChildNodes()){r(null,S,O),qp(),O._vnode=S;return}d(O.firstChild,S,null,null,null),qp(),O._vnode=S},d=(S,O,P,x,E,_=!1)=>{_=_||!!O.dynamicChildren;const C=hs(S)&&S.data==="[",w=()=>b(S,O,P,x,E,C),{type:A,ref:I,shapeFlag:j,patchFlag:R}=O;let q=S.nodeType;O.el=S,R===-2&&(_=!1,O.dynamicChildren=null);let M=null;switch(A){case Kn:q!==3?O.children===""?(u(O.el=i(""),s(S),S),M=S):M=w():(S.data!==O.children&&(Qo(),S.data=O.children),M=o(S));break;case gt:v(S)?(M=o(S),m(O.el=S.content.firstChild,S,P)):q!==8||C?M=w():M=o(S);break;case Ii:if(C&&(S=o(S),q=S.nodeType),q===1||q===3){M=S;const K=!O.children.length;for(let J=0;J<O.staticCount;J++)K&&(O.children+=M.nodeType===1?M.outerHTML:M.data),J===O.staticCount-1&&(O.anchor=M),M=o(M);return C?o(M):M}else w();break;case Nt:C?M=y(S,O,P,x,E,_):M=w();break;default:if(j&1)(q!==1||O.type.toLowerCase()!==S.tagName.toLowerCase())&&!v(S)?M=w():M=f(S,O,P,x,E,_);else if(j&6){O.slotScopeIds=E;const K=s(S);if(C?M=g(S):hs(S)&&S.data==="teleport start"?M=g(S,S.data,"teleport end"):M=o(S),t(O,K,null,P,x,Yu(K),_),Ni(O)&&!O.type.__asyncResolved){let J;C?(J=Ze(Nt),J.anchor=M?M.previousSibling:K.lastChild):J=S.nodeType===3?sh(""):Ze("div"),J.el=S,O.component.subTree=J}}else j&64?q!==8?M=w():M=O.type.hydrate(S,O,P,x,E,_,e,h):j&128&&(M=O.type.hydrate(S,O,P,x,Yu(s(S)),E,_,e,d))}return I!=null&&Cs(I,null,x,O),M},f=(S,O,P,x,E,_)=>{_=_||!!O.dynamicChildren;const{type:C,props:w,patchFlag:A,shapeFlag:I,dirs:j,transition:R}=O,q=C==="input"||C==="option";if(q||A!==-1){j&&dn(O,null,P,"created");let M=!1;if(v(S)){M=iB(null,R)&&P&&P.vnode.props&&P.vnode.props.appear;const J=S.content.firstChild;if(M){const oe=J.getAttribute("class");oe&&(J.$cls=oe),R.beforeEnter(J)}m(J,S,P),O.el=S=J}if(I&16&&!(w&&(w.innerHTML||w.textContent))){let J=h(S.firstChild,O,S,P,x,E,_);for(;J;){Xu(S,1)||Qo();const oe=J;J=J.nextSibling,l(oe)}}else if(I&8){let J=O.children;J[0]===`
|
|
1039
|
-
`&&(S.tagName==="PRE"||S.tagName==="TEXTAREA")&&(J=J.slice(1)),S.textContent!==J&&(Xu(S,0)||Qo(),S.textContent=O.children)}if(w){if(q||!_||A&48){const J=S.tagName.includes("-");for(const oe in w)(q&&(oe.endsWith("value")||oe==="indeterminate")||Jo(oe)&&!Ri(oe)||oe[0]==="."||J)&&n(S,oe,null,w[oe],void 0,P)}else if(w.onClick)n(S,"onClick",null,w.onClick,void 0,P);else if(A&4&&bn(w.style))for(const J in w.style)w.style[J]}let K;(K=w&&w.onVnodeBeforeMount)&&ur(K,P,O),j&&dn(O,null,P,"beforeMount"),((K=w&&w.onVnodeMounted)||j||M)&&hB(()=>{K&&ur(K,P,O),M&&R.enter(S),j&&dn(O,null,P,"mounted")},x)}return S.nextSibling},h=(S,O,P,x,E,_,C)=>{C=C||!!O.dynamicChildren;const w=O.children,A=w.length;for(let I=0;I<A;I++){const j=C?w[I]:w[I]=cr(w[I]),R=j.type===Kn;S?(R&&!C&&I+1<A&&cr(w[I+1]).type===Kn&&(u(i(S.data.slice(j.children.length)),P,o(S)),S.data=j.children),S=d(S,j,x,E,_,C)):R&&!j.children?u(j.el=i(""),P):(Xu(P,1)||Qo(),r(null,j,P,null,x,E,Yu(P),_))}return S},y=(S,O,P,x,E,_)=>{const{slotScopeIds:C}=O;C&&(E=E?E.concat(C):C);const w=s(S),A=h(o(S),O,w,P,x,E,_);return A&&hs(A)&&A.data==="]"?o(O.anchor=A):(Qo(),u(O.anchor=c("]"),w,A),A)},b=(S,O,P,x,E,_)=>{if(Xu(S.parentElement,1)||Qo(),O.el=null,_){const A=g(S);for(;;){const I=o(S);if(I&&I!==A)l(I);else break}}const C=o(S),w=s(S);return l(S),r(null,O,w,C,P,x,Yu(w),E),P&&(P.vnode.el=O.el,ih(P,O.el)),C},g=(S,O="[",P="]")=>{let x=0;for(;S;)if(S=o(S),S&&hs(S)&&(S.data===O&&x++,S.data===P)){if(x===0)return o(S);x--}return S},m=(S,O,P)=>{const x=O.parentNode;x&&x.replaceChild(S,O);let E=P;for(;E;)E.vnode.el===O&&(E.vnode.el=E.subTree.el=S),E=E.parent},v=S=>S.nodeType===1&&S.tagName==="TEMPLATE";return[p,d]}const VT="data-allow-mismatch",Cre={0:"text",1:"children",2:"class",3:"style",4:"attribute"};function Xu(e,t){if(t===0||t===1)for(;e&&!e.hasAttribute(VT);)e=e.parentElement;const r=e&&e.getAttribute(VT);if(r==null)return!1;if(r==="")return!0;{const n=r.split(",");return t===0&&n.includes("children")?!0:n.includes(Cre[t])}}const Ore=Bf().requestIdleCallback||(e=>setTimeout(e,1)),Pre=Bf().cancelIdleCallback||(e=>clearTimeout(e)),g2=(e=1e4)=>t=>{const r=Ore(t,{timeout:e});return()=>Pre(r)};function Are(e){const{top:t,left:r,bottom:n,right:i}=e.getBoundingClientRect(),{innerHeight:o,innerWidth:s}=window;return(t>0&&t<o||n>0&&n<o)&&(r>0&&r<s||i>0&&i<s)}const b2=e=>(t,r)=>{const n=new IntersectionObserver(i=>{for(const o of i)if(o.isIntersecting){n.disconnect(),t();break}},e);return r(i=>{if(i instanceof Element){if(Are(i))return t(),n.disconnect(),!1;n.observe(i)}}),()=>n.disconnect()},v2=e=>t=>{if(e){const r=matchMedia(e);if(r.matches)t();else return r.addEventListener("change",t,{once:!0}),()=>r.removeEventListener("change",t)}},_2=(e=[])=>(t,r)=>{Se(e)&&(e=[e]);let n=!1;const i=s=>{n||(n=!0,o(),t(),s.target.dispatchEvent(new s.constructor(s.type,s)))},o=()=>{r(s=>{for(const l of e)s.removeEventListener(l,i)})};return r(s=>{for(const l of e)s.addEventListener(l,i,{once:!0})}),o};function Rre(e,t){if(hs(e)&&e.data==="["){let r=1,n=e.nextSibling;for(;n;){if(n.nodeType===1){if(t(n)===!1)break}else if(hs(n))if(n.data==="]"){if(--r===0)break}else n.data==="["&&r++;n=n.nextSibling}}else t(e)}const Ni=e=>!!e.type.__asyncLoader;/*! #__NO_SIDE_EFFECTS__ */function E2(e){xe(e)&&(e={loader:e});const{loader:t,loadingComponent:r,errorComponent:n,delay:i=200,hydrate:o,timeout:s,suspensible:l=!0,onError:u}=e;let c=null,p,d=0;const f=()=>(d++,c=null,h()),h=()=>{let y;return c||(y=c=t().catch(b=>{if(b=b instanceof Error?b:new Error(String(b)),u)return new Promise((g,m)=>{u(b,()=>g(f()),()=>m(b),d+1)});throw b}).then(b=>y!==c&&c?c:(b&&(b.__esModule||b[Symbol.toStringTag]==="Module")&&(b=b.default),p=b,b)))};return eh({name:"AsyncComponentWrapper",__asyncLoader:h,__asyncHydrate(y,b,g){const m=o?()=>{const S=o(()=>{g()},O=>Rre(y,O));S&&(b.bum||(b.bum=[])).push(S),(b.u||(b.u=[])).push(()=>!0)}:g;p?m():h().then(()=>!b.isUnmounted&&m())},get __asyncResolved(){return p},setup(){const y=kt;if(CE(y),p)return()=>Uh(p,y);const b=S=>{c=null,zi(S,y,13,!n)};if(l&&y.suspense||Xs)return h().then(S=>()=>Uh(S,y)).catch(S=>(b(S),()=>n?Ze(n,{error:S}):null));const g=Ts(!1),m=Ts(),v=Ts(!!i);return i&&setTimeout(()=>{v.value=!1},i),s!=null&&setTimeout(()=>{if(!g.value&&!m.value){const S=new Error(`Async component timed out after ${s}ms.`);b(S),m.value=S}},s),h().then(()=>{g.value=!0,y.parent&&Cu(y.parent.vnode)&&y.parent.update()}).catch(S=>{b(S),m.value=S}),()=>{if(g.value&&p)return Uh(p,y);if(m.value&&n)return Ze(n,{error:m.value});if(r&&!v.value)return Ze(r)}}})}function Uh(e,t){const{ref:r,props:n,children:i,ce:o}=t.vnode,s=Ze(e,n,i);return s.ref=r,s.ce=o,delete t.vnode.ce,s}const Cu=e=>e.type.__isKeepAlive,Nre={name:"KeepAlive",__isKeepAlive:!0,props:{include:[String,RegExp,Array],exclude:[String,RegExp,Array],max:[String,Number]},setup(e,{slots:t}){const r=Rr(),n=r.ctx;if(!n.renderer)return()=>{const v=t.default&&t.default();return v&&v.length===1?v[0]:v};const i=new Map,o=new Set;let s=null;const l=r.suspense,{renderer:{p:u,m:c,um:p,o:{createElement:d}}}=n,f=d("div");n.activate=(v,S,O,P,x)=>{const E=v.component;c(v,S,O,0,l),u(E.vnode,v,S,O,E,l,P,v.slotScopeIds,x),At(()=>{E.isDeactivated=!1,E.a&&xs(E.a);const _=v.props&&v.props.onVnodeMounted;_&&ur(_,E.parent,v)},l)},n.deactivate=v=>{const S=v.component;Dp(S.m),Dp(S.a),c(v,f,null,1,l),At(()=>{S.da&&xs(S.da);const O=v.props&&v.props.onVnodeUnmounted;O&&ur(O,S.parent,v),S.isDeactivated=!0},l)};function h(v){Vh(v),p(v,r,l,!0)}function y(v){i.forEach((S,O)=>{const P=Cg(S.type);P&&!v(P)&&b(O)})}function b(v){const S=i.get(v);S&&(!s||!Yr(S,s))?h(S):s&&Vh(s),i.delete(v),o.delete(v)}_o(()=>[e.include,e.exclude],([v,S])=>{v&&y(O=>Ja(v,O)),S&&y(O=>!Ja(S,O))},{flush:"post",deep:!0});let g=null;const m=()=>{g!=null&&(Lp(r.subTree.type)?At(()=>{i.set(g,Qu(r.subTree))},r.subTree.suspense):i.set(g,Qu(r.subTree)))};return _a(m),Ou(m),Pu(()=>{i.forEach(v=>{const{subTree:S,suspense:O}=r,P=Qu(S);if(v.type===P.type&&v.key===P.key){Vh(P);const x=P.component.da;x&&At(x,O);return}h(v)})}),()=>{if(g=null,!t.default)return s=null;const v=t.default(),S=v[0];if(v.length>1)return s=null,v;if(!Hr(S)||!(S.shapeFlag&4)&&!(S.shapeFlag&128))return s=null,S;let O=Qu(S);if(O.type===gt)return s=null,O;const P=O.type,x=Cg(Ni(O)?O.type.__asyncResolved||{}:P),{include:E,exclude:_,max:C}=e;if(E&&(!x||!Ja(E,x))||_&&x&&Ja(_,x))return O.shapeFlag&=-257,s=O,S;const w=O.key==null?P:O.key,A=i.get(w);return O.el&&(O=tn(O),S.shapeFlag&128&&(S.ssContent=O)),g=w,A?(O.el=A.el,O.component=A.component,O.transition&&En(O,O.transition),O.shapeFlag|=512,o.delete(w),o.add(w)):(o.add(w),C&&o.size>parseInt(C,10)&&b(o.values().next().value)),O.shapeFlag|=256,s=O,Lp(S.type)?S:O}}},w2=Nre;function Ja(e,t){return ge(e)?e.some(r=>Ja(r,t)):Se(e)?e.split(",").includes(t):Ete(e)?(e.lastIndex=0,e.test(t)):!1}function OE(e,t){x2(e,"a",t)}function PE(e,t){x2(e,"da",t)}function x2(e,t,r=kt){const n=e.__wdc||(e.__wdc=()=>{let i=r;for(;i;){if(i.isDeactivated)return;i=i.parent}return e()});if(th(t,n,r),r){let i=r.parent;for(;i&&i.parent;)Cu(i.parent.vnode)&&Ire(n,t,r,i),i=i.parent}}function Ire(e,t,r,n){const i=th(t,e,n,!0);Au(()=>{pE(n[t],i)},r)}function Vh(e){e.shapeFlag&=-257,e.shapeFlag&=-513}function Qu(e){return e.shapeFlag&128?e.ssContent:e}function th(e,t,r=kt,n=!1){if(r){const i=r[e]||(r[e]=[]),o=t.__weh||(t.__weh=(...s)=>{Xn();const l=jo(r),u=Or(t,r,e,s);return l(),Qn(),u});return n?i.unshift(o):i.push(o),o}}const ni=e=>(t,r=kt)=>{(!Xs||e==="sp")&&th(e,(...n)=>t(...n),r)},AE=ni("bm"),_a=ni("m"),rh=ni("bu"),Ou=ni("u"),Pu=ni("bum"),Au=ni("um"),RE=ni("sp"),NE=ni("rtg"),IE=ni("rtc");function kE(e,t=kt){th("ec",e,t)}const ME="components",kre="directives";function T2(e,t){return qE(ME,e,!0,t)||e}const S2=Symbol.for("v-ndc");function C2(e){return Se(e)?qE(ME,e,!1)||e:e||S2}function O2(e){return qE(kre,e)}function qE(e,t,r=!0,n=!1){const i=qt||kt;if(i){const o=i.type;if(e===ME){const l=Cg(o,!1);if(l&&(l===t||l===et(t)||l===Wi(et(t))))return o}const s=HT(i[e]||o[e],t)||HT(i.appContext[e],t);return!s&&n?o:s}}function HT(e,t){return e&&(e[t]||e[et(t)]||e[Wi(et(t))])}function P2(e,t,r,n){let i;const o=r&&r[n],s=ge(e);if(s||Se(e)){const l=s&&bn(e);let u=!1,c=!1;l&&(u=!fr(e),c=_n(e),e=Jf(e)),i=new Array(e.length);for(let p=0,d=e.length;p<d;p++)i[p]=t(u?c?Ip(Bt(e[p])):Bt(e[p]):e[p],p,void 0,o&&o[p])}else if(typeof e=="number"){i=new Array(e);for(let l=0;l<e;l++)i[l]=t(l+1,l,void 0,o&&o[l])}else if(Ge(e))if(e[Symbol.iterator])i=Array.from(e,(l,u)=>t(l,u,void 0,o&&o[u]));else{const l=Object.keys(e);i=new Array(l.length);for(let u=0,c=l.length;u<c;u++){const p=l[u];i[u]=t(e[p],p,u,o&&o[u])}}else i=[];return r&&(r[n]=i),i}function A2(e,t){for(let r=0;r<t.length;r++){const n=t[r];if(ge(n))for(let i=0;i<n.length;i++)e[n[i].name]=n[i].fn;else n&&(e[n.name]=n.key?(...i)=>{const o=n.fn(...i);return o&&(o.key=n.key),o}:n.fn)}return e}function R2(e,t,r={},n,i){if(qt.ce||qt.parent&&Ni(qt.parent)&&qt.parent.ce)return t!=="default"&&(r.name=t),Ys(),Vl(Nt,null,[Ze("slot",r,n&&n())],64);let o=e[t];o&&o._c&&(o._d=!1),Ys();const s=o&&jE(o(r)),l=r.key||s&&s.key,u=Vl(Nt,{key:(l&&!yr(l)?l:`_${t}`)+(!s&&n?"_fb":"")},s||(n?n():[]),s&&e._===1?64:-2);return!i&&u.scopeId&&(u.slotScopeIds=[u.scopeId+"-s"]),o&&o._c&&(o._d=!0),u}function jE(e){return e.some(t=>Hr(t)?!(t.type===gt||t.type===Nt&&!jE(t.children)):!0)?e:null}function N2(e,t){const r={};for(const n in e)r[t&&/[A-Z]/.test(n)?`on:${n}`:go(n)]=e[n];return r}const yg=e=>e?xB(e)?Nu(e):yg(e.parent):null,cl=qe(Object.create(null),{$:e=>e,$el:e=>e.vnode.el,$data:e=>e.data,$props:e=>e.props,$attrs:e=>e.attrs,$slots:e=>e.slots,$refs:e=>e.refs,$parent:e=>yg(e.parent),$root:e=>yg(e.root),$host:e=>e.ce,$emit:e=>e.emit,$options:e=>DE(e),$forceUpdate:e=>e.f||(e.f=()=>{TE(e.update)}),$nextTick:e=>e.n||(e.n=Tu.bind(e.proxy)),$watch:e=>Gre.bind(e)}),Hh=(e,t)=>e!==Me&&!e.__isScriptSetup&&He(e,t),gg={get({_:e},t){if(t==="__v_skip")return!0;const{ctx:r,setupState:n,data:i,props:o,accessCache:s,type:l,appContext:u}=e;let c;if(t[0]!=="$"){const h=s[t];if(h!==void 0)switch(h){case 1:return n[t];case 2:return i[t];case 4:return r[t];case 3:return o[t]}else{if(Hh(n,t))return s[t]=1,n[t];if(i!==Me&&He(i,t))return s[t]=2,i[t];if((c=e.propsOptions[0])&&He(c,t))return s[t]=3,o[t];if(r!==Me&&He(r,t))return s[t]=4,r[t];bg&&(s[t]=0)}}const p=cl[t];let d,f;if(p)return t==="$attrs"&&Zt(e.attrs,"get",""),p(e);if((d=l.__cssModules)&&(d=d[t]))return d;if(r!==Me&&He(r,t))return s[t]=4,r[t];if(f=u.config.globalProperties,He(f,t))return f[t]},set({_:e},t,r){const{data:n,setupState:i,ctx:o}=e;return Hh(i,t)?(i[t]=r,!0):n!==Me&&He(n,t)?(n[t]=r,!0):He(e.props,t)||t[0]==="$"&&t.slice(1)in e?!1:(o[t]=r,!0)},has({_:{data:e,setupState:t,accessCache:r,ctx:n,appContext:i,propsOptions:o}},s){let l;return!!r[s]||e!==Me&&He(e,s)||Hh(t,s)||(l=o[0])&&He(l,s)||He(n,s)||He(cl,s)||He(i.config.globalProperties,s)},defineProperty(e,t,r){return r.get!=null?e._.accessCache[t]=0:He(r,"value")&&this.set(e,t,r.value,null),Reflect.defineProperty(e,t,r)}},Mre=qe({},gg,{get(e,t){if(t!==Symbol.unscopables)return gg.get(e,t,e)},has(e,t){return t[0]!=="_"&&!Pte(t)}});function I2(){return null}function k2(){return null}function M2(e){}function q2(e){}function j2(){return null}function D2(){}function L2(e,t){return null}function $2(){return B2().slots}function F2(){return B2().attrs}function B2(){const e=Rr();return e.setupContext||(e.setupContext=OB(e))}function Bl(e){return ge(e)?e.reduce((t,r)=>(t[r]=null,t),{}):e}function U2(e,t){const r=Bl(e);for(const n in t){if(n.startsWith("__skip"))continue;let i=r[n];i?ge(i)||xe(i)?i=r[n]={type:i,default:t[n]}:i.default=t[n]:i===null&&(i=r[n]={default:t[n]}),i&&t[`__skip_${n}`]&&(i.skipFactory=!0)}return r}function V2(e,t){return!e||!t?e||t:ge(e)&&ge(t)?e.concat(t):qe({},Bl(e),Bl(t))}function H2(e,t){const r={};for(const n in e)t.includes(n)||Object.defineProperty(r,n,{enumerable:!0,get:()=>e[n]});return r}function J2(e){const t=Rr();let r=e();return xg(),dE(r)&&(r=r.catch(n=>{throw jo(t),n})),[r,()=>jo(t)]}let bg=!0;function qre(e){const t=DE(e),r=e.proxy,n=e.ctx;bg=!1,t.beforeCreate&&JT(t.beforeCreate,e,"bc");const{data:i,computed:o,methods:s,watch:l,provide:u,inject:c,created:p,beforeMount:d,mounted:f,beforeUpdate:h,updated:y,activated:b,deactivated:g,beforeDestroy:m,beforeUnmount:v,destroyed:S,unmounted:O,render:P,renderTracked:x,renderTriggered:E,errorCaptured:_,serverPrefetch:C,expose:w,inheritAttrs:A,components:I,directives:j,filters:R}=t;if(c&&jre(c,n,null),s)for(const K in s){const J=s[K];xe(J)&&(n[K]=J.bind(r))}if(i){const K=i.call(r,r);Ge(K)&&(e.data=Fi(K))}if(bg=!0,o)for(const K in o){const J=o[K],oe=xe(J)?J.bind(r,r):xe(J.get)?J.get.bind(r,r):Vt,ye=!xe(J)&&xe(J.set)?J.set.bind(r):Vt,ae=XE({get:oe,set:ye});Object.defineProperty(n,K,{enumerable:!0,configurable:!0,get:()=>ae.value,set:ee=>ae.value=ee})}if(l)for(const K in l)W2(l[K],n,r,K);if(u){const K=xe(u)?u.call(r):u;Reflect.ownKeys(K).forEach(J=>{LE(J,K[J])})}p&&JT(p,e,"c");function M(K,J){ge(J)?J.forEach(oe=>K(oe.bind(r))):J&&K(J.bind(r))}if(M(AE,d),M(_a,f),M(rh,h),M(Ou,y),M(OE,b),M(PE,g),M(kE,_),M(IE,x),M(NE,E),M(Pu,v),M(Au,O),M(RE,C),ge(w))if(w.length){const K=e.exposed||(e.exposed={});w.forEach(J=>{Object.defineProperty(K,J,{get:()=>r[J],set:oe=>r[J]=oe})})}else e.exposed||(e.exposed={});P&&e.render===Vt&&(e.render=P),A!=null&&(e.inheritAttrs=A),I&&(e.components=I),j&&(e.directives=j),C&&CE(e)}function jre(e,t,r=Vt){ge(e)&&(e=vg(e));for(const n in e){const i=e[n];let o;Ge(i)?"default"in i?o=Os(i.from||n,i.default,!0):o=Os(i.from||n):o=Os(i),Tt(o)?Object.defineProperty(t,n,{enumerable:!0,configurable:!0,get:()=>o.value,set:s=>o.value=s}):t[n]=o}}function JT(e,t,r){Or(ge(e)?e.map(n=>n.bind(t.proxy)):e.bind(t.proxy),t,r)}function W2(e,t,r,n){let i=n.includes(".")?lB(r,n):()=>r[n];if(Se(e)){const o=t[e];xe(o)&&_o(i,o)}else if(xe(e))_o(i,e.bind(r));else if(Ge(e))if(ge(e))e.forEach(o=>W2(o,t,r,n));else{const o=xe(e.handler)?e.handler.bind(r):t[e.handler];xe(o)&&_o(i,o,e)}}function DE(e){const t=e.type,{mixins:r,extends:n}=t,{mixins:i,optionsCache:o,config:{optionMergeStrategies:s}}=e.appContext,l=o.get(t);let u;return l?u=l:!i.length&&!r&&!n?u=t:(u={},i.length&&i.forEach(c=>jp(u,c,s,!0)),jp(u,t,s)),Ge(t)&&o.set(t,u),u}function jp(e,t,r,n=!1){const{mixins:i,extends:o}=t;o&&jp(e,o,r,!0),i&&i.forEach(s=>jp(e,s,r,!0));for(const s in t)if(!(n&&s==="expose")){const l=Dre[s]||r&&r[s];e[s]=l?l(e[s],t[s]):t[s]}return e}const Dre={data:WT,props:zT,emits:zT,methods:Wa,computed:Wa,beforeCreate:nr,created:nr,beforeMount:nr,mounted:nr,beforeUpdate:nr,updated:nr,beforeDestroy:nr,beforeUnmount:nr,destroyed:nr,unmounted:nr,activated:nr,deactivated:nr,errorCaptured:nr,serverPrefetch:nr,components:Wa,directives:Wa,watch:$re,provide:WT,inject:Lre};function WT(e,t){return t?e?function(){return qe(xe(e)?e.call(this,this):e,xe(t)?t.call(this,this):t)}:t:e}function Lre(e,t){return Wa(vg(e),vg(t))}function vg(e){if(ge(e)){const t={};for(let r=0;r<e.length;r++)t[e[r]]=e[r];return t}return e}function nr(e,t){return e?[...new Set([].concat(e,t))]:t}function Wa(e,t){return e?qe(Object.create(null),e,t):t}function zT(e,t){return e?ge(e)&&ge(t)?[...new Set([...e,...t])]:qe(Object.create(null),Bl(e),Bl(t??{})):t}function $re(e,t){if(!e)return t;if(!t)return e;const r=qe(Object.create(null),e);for(const n in t)r[n]=nr(e[n],t[n]);return r}function z2(){return{app:null,config:{isNativeTag:Ha,performance:!1,globalProperties:{},optionMergeStrategies:{},errorHandler:void 0,warnHandler:void 0,compilerOptions:{}},mixins:[],components:{},directives:{},provides:Object.create(null),optionsCache:new WeakMap,propsCache:new WeakMap,emitsCache:new WeakMap}}let Fre=0;function Bre(e,t){return function(n,i=null){xe(n)||(n=qe({},n)),i!=null&&!Ge(i)&&(i=null);const o=z2(),s=new WeakSet,l=[];let u=!1;const c=o.app={_uid:Fre++,_component:n,_props:i,_container:null,_context:o,_instance:null,version:ZE,get config(){return o.config},set config(p){},use(p,...d){return s.has(p)||(p&&xe(p.install)?(s.add(p),p.install(c,...d)):xe(p)&&(s.add(p),p(c,...d))),c},mixin(p){return o.mixins.includes(p)||o.mixins.push(p),c},component(p,d){return d?(o.components[p]=d,c):o.components[p]},directive(p,d){return d?(o.directives[p]=d,c):o.directives[p]},mount(p,d,f){if(!u){const h=c._ceVNode||Ze(n,i);return h.appContext=o,f===!0?f="svg":f===!1&&(f=void 0),d&&t?t(h,p):e(h,p,f),u=!0,c._container=p,p.__vue_app__=c,Nu(h.component)}},onUnmount(p){l.push(p)},unmount(){u&&(Or(l,c._instance,16),e(null,c._container),delete c._container.__vue_app__)},provide(p,d){return o.provides[p]=d,c},runWithContext(p){const d=vo;vo=c;try{return p()}finally{vo=d}}};return c}}let vo=null;function LE(e,t){if(kt){let r=kt.provides;const n=kt.parent&&kt.parent.provides;n===r&&(r=kt.provides=Object.create(n)),r[e]=t}}function Os(e,t,r=!1){const n=kt||qt;if(n||vo){let i=vo?vo._context.provides:n?n.parent==null||n.ce?n.vnode.appContext&&n.vnode.appContext.provides:n.parent.provides:void 0;if(i&&e in i)return i[e];if(arguments.length>1)return r&&xe(t)?t.call(n&&n.proxy):t}}function K2(){return!!(kt||qt||vo)}const G2={},Y2=()=>Object.create(G2),X2=e=>Object.getPrototypeOf(e)===G2;function Ure(e,t,r,n=!1){const i={},o=Y2();e.propsDefaults=Object.create(null),Q2(e,t,i,o);for(const s in e.propsOptions[0])s in i||(i[s]=void 0);r?e.props=n?i:vE(i):e.type.props?e.props=i:e.props=o,e.attrs=o}function Vre(e,t,r,n){const{props:i,attrs:o,vnode:{patchFlag:s}}=e,l=De(i),[u]=e.propsOptions;let c=!1;if((n||s>0)&&!(s&16)){if(s&8){const p=e.vnode.dynamicProps;for(let d=0;d<p.length;d++){let f=p[d];if(nh(e.emitsOptions,f))continue;const h=t[f];if(u)if(He(o,f))h!==o[f]&&(o[f]=h,c=!0);else{const y=et(f);i[y]=_g(u,l,y,h,e,!1)}else h!==o[f]&&(o[f]=h,c=!0)}}}else{Q2(e,t,i,o)&&(c=!0);let p;for(const d in l)(!t||!He(t,d)&&((p=pr(d))===d||!He(t,p)))&&(u?r&&(r[d]!==void 0||r[p]!==void 0)&&(i[d]=_g(u,l,d,void 0,e,!0)):delete i[d]);if(o!==l)for(const d in o)(!t||!He(t,d))&&(delete o[d],c=!0)}c&&Fn(e.attrs,"set","")}function Q2(e,t,r,n){const[i,o]=e.propsOptions;let s=!1,l;if(t)for(let u in t){if(Ri(u))continue;const c=t[u];let p;i&&He(i,p=et(u))?!o||!o.includes(p)?r[p]=c:(l||(l={}))[p]=c:nh(e.emitsOptions,u)||(!(u in n)||c!==n[u])&&(n[u]=c,s=!0)}if(o){const u=De(r),c=l||Me;for(let p=0;p<o.length;p++){const d=o[p];r[d]=_g(i,u,d,c[d],e,!He(c,d))}}return s}function _g(e,t,r,n,i,o){const s=e[r];if(s!=null){const l=He(s,"default");if(l&&n===void 0){const u=s.default;if(s.type!==Function&&!s.skipFactory&&xe(u)){const{propsDefaults:c}=i;if(r in c)n=c[r];else{const p=jo(i);n=c[r]=u.call(null,t),p()}}else n=u;i.ce&&i.ce._setProp(r,n)}s[0]&&(o&&!l?n=!1:s[1]&&(n===""||n===pr(r))&&(n=!0))}return n}const Hre=new WeakMap;function Z2(e,t,r=!1){const n=r?Hre:t.propsCache,i=n.get(e);if(i)return i;const o=e.props,s={},l=[];let u=!1;if(!xe(e)){const p=d=>{u=!0;const[f,h]=Z2(d,t,!0);qe(s,f),h&&l.push(...h)};!r&&t.mixins.length&&t.mixins.forEach(p),e.extends&&p(e.extends),e.mixins&&e.mixins.forEach(p)}if(!o&&!u)return Ge(e)&&n.set(e,Es),Es;if(ge(o))for(let p=0;p<o.length;p++){const d=et(o[p]);KT(d)&&(s[d]=Me)}else if(o)for(const p in o){const d=et(p);if(KT(d)){const f=o[p],h=s[d]=ge(f)||xe(f)?{type:f}:qe({},f),y=h.type;let b=!1,g=!0;if(ge(y))for(let m=0;m<y.length;++m){const v=y[m],S=xe(v)&&v.name;if(S==="Boolean"){b=!0;break}else S==="String"&&(g=!1)}else b=xe(y)&&y.name==="Boolean";h[0]=b,h[1]=g,(b||He(h,"default"))&&l.push(d)}}const c=[s,l];return Ge(e)&&n.set(e,c),c}function KT(e){return e[0]!=="$"&&!Ri(e)}const $E=e=>e[0]==="_"||e==="$stable",FE=e=>ge(e)?e.map(cr):[cr(e)],Jre=(e,t,r)=>{if(t._n)return t;const n=Xf((...i)=>FE(t(...i)),r);return n._c=!1,n},eB=(e,t,r)=>{const n=e._ctx;for(const i in e){if($E(i))continue;const o=e[i];if(xe(o))t[i]=Jre(i,o,n);else if(o!=null){const s=FE(o);t[i]=()=>s}}},tB=(e,t)=>{const r=FE(t);e.slots.default=()=>r},rB=(e,t,r)=>{for(const n in t)(r||!$E(n))&&(e[n]=t[n])},Wre=(e,t,r)=>{const n=e.slots=Y2();if(e.vnode.shapeFlag&32){const i=t.__;i&&pg(n,"__",i,!0);const o=t._;o?(rB(n,t,r),r&&pg(n,"_",o,!0)):eB(t,n)}else t&&tB(e,t)},zre=(e,t,r)=>{const{vnode:n,slots:i}=e;let o=!0,s=Me;if(n.shapeFlag&32){const l=t._;l?r&&l===1?o=!1:rB(i,t,r):(o=!t.$stable,eB(t,i)),s=t}else t&&(tB(e,t),s={default:1});if(o)for(const l in i)!$E(l)&&s[l]==null&&delete i[l]},At=hB;function BE(e){return nB(e)}function UE(e){return nB(e,Sre)}function nB(e,t){const r=Bf();r.__VUE__=!0;const{insert:n,remove:i,patchProp:o,createElement:s,createText:l,createComment:u,setText:c,setElementText:p,parentNode:d,nextSibling:f,setScopeId:h=Vt,insertStaticContent:y}=e,b=(L,U,H,Q=null,X=null,te=null,le=void 0,ue=null,ce=!!U.dynamicChildren)=>{if(L===U)return;L&&!Yr(L,U)&&(Q=_e(L),ee(L,X,te,!0),L=null),U.patchFlag===-2&&(ce=!1,U.dynamicChildren=null);const{type:ie,ref:ve,shapeFlag:de}=U;switch(ie){case Kn:g(L,U,H,Q);break;case gt:m(L,U,H,Q);break;case Ii:L==null&&v(U,H,Q,le);break;case Nt:I(L,U,H,Q,X,te,le,ue,ce);break;default:de&1?P(L,U,H,Q,X,te,le,ue,ce):de&6?j(L,U,H,Q,X,te,le,ue,ce):(de&64||de&128)&&ie.process(L,U,H,Q,X,te,le,ue,ce,Xe)}ve!=null&&X?Cs(ve,L&&L.ref,te,U||L,!U):ve==null&&L&&L.ref!=null&&Cs(L.ref,null,te,L,!0)},g=(L,U,H,Q)=>{if(L==null)n(U.el=l(U.children),H,Q);else{const X=U.el=L.el;U.children!==L.children&&c(X,U.children)}},m=(L,U,H,Q)=>{L==null?n(U.el=u(U.children||""),H,Q):U.el=L.el},v=(L,U,H,Q)=>{[L.el,L.anchor]=y(L.children,U,H,Q,L.el,L.anchor)},S=({el:L,anchor:U},H,Q)=>{let X;for(;L&&L!==U;)X=f(L),n(L,H,Q),L=X;n(U,H,Q)},O=({el:L,anchor:U})=>{let H;for(;L&&L!==U;)H=f(L),i(L),L=H;i(U)},P=(L,U,H,Q,X,te,le,ue,ce)=>{U.type==="svg"?le="svg":U.type==="math"&&(le="mathml"),L==null?x(U,H,Q,X,te,le,ue,ce):C(L,U,X,te,le,ue,ce)},x=(L,U,H,Q,X,te,le,ue)=>{let ce,ie;const{props:ve,shapeFlag:de,transition:be,dirs:we}=L;if(ce=L.el=s(L.type,te,ve&&ve.is,ve),de&8?p(ce,L.children):de&16&&_(L.children,ce,null,Q,X,Jh(L,te),le,ue),we&&dn(L,null,Q,"created"),E(ce,L,L.scopeId,le,Q),ve){for(const Be in ve)Be!=="value"&&!Ri(Be)&&o(ce,Be,null,ve[Be],te,Q);"value"in ve&&o(ce,"value",null,ve.value,te),(ie=ve.onVnodeBeforeMount)&&ur(ie,Q,L)}we&&dn(L,null,Q,"beforeMount");const Re=iB(X,be);Re&&be.beforeEnter(ce),n(ce,U,H),((ie=ve&&ve.onVnodeMounted)||Re||we)&&At(()=>{ie&&ur(ie,Q,L),Re&&be.enter(ce),we&&dn(L,null,Q,"mounted")},X)},E=(L,U,H,Q,X)=>{if(H&&h(L,H),Q)for(let te=0;te<Q.length;te++)h(L,Q[te]);if(X){let te=X.subTree;if(U===te||Lp(te.type)&&(te.ssContent===U||te.ssFallback===U)){const le=X.vnode;E(L,le,le.scopeId,le.slotScopeIds,X.parent)}}},_=(L,U,H,Q,X,te,le,ue,ce=0)=>{for(let ie=ce;ie<L.length;ie++){const ve=L[ie]=ue?Ei(L[ie]):cr(L[ie]);b(null,ve,U,H,Q,X,te,le,ue)}},C=(L,U,H,Q,X,te,le)=>{const ue=U.el=L.el;let{patchFlag:ce,dynamicChildren:ie,dirs:ve}=U;ce|=L.patchFlag&16;const de=L.props||Me,be=U.props||Me;let we;if(H&&eo(H,!1),(we=be.onVnodeBeforeUpdate)&&ur(we,H,U,L),ve&&dn(U,L,H,"beforeUpdate"),H&&eo(H,!0),(de.innerHTML&&be.innerHTML==null||de.textContent&&be.textContent==null)&&p(ue,""),ie?w(L.dynamicChildren,ie,ue,H,Q,Jh(U,X),te):le||J(L,U,ue,null,H,Q,Jh(U,X),te,!1),ce>0){if(ce&16)A(ue,de,be,H,X);else if(ce&2&&de.class!==be.class&&o(ue,"class",null,be.class,X),ce&4&&o(ue,"style",de.style,be.style,X),ce&8){const Re=U.dynamicProps;for(let Be=0;Be<Re.length;Be++){const je=Re[Be],xt=de[je],dt=be[je];(dt!==xt||je==="value")&&o(ue,je,xt,dt,X,H)}}ce&1&&L.children!==U.children&&p(ue,U.children)}else!le&&ie==null&&A(ue,de,be,H,X);((we=be.onVnodeUpdated)||ve)&&At(()=>{we&&ur(we,H,U,L),ve&&dn(U,L,H,"updated")},Q)},w=(L,U,H,Q,X,te,le)=>{for(let ue=0;ue<U.length;ue++){const ce=L[ue],ie=U[ue],ve=ce.el&&(ce.type===Nt||!Yr(ce,ie)||ce.shapeFlag&198)?d(ce.el):H;b(ce,ie,ve,null,Q,X,te,le,!0)}},A=(L,U,H,Q,X)=>{if(U!==H){if(U!==Me)for(const te in U)!Ri(te)&&!(te in H)&&o(L,te,U[te],null,X,Q);for(const te in H){if(Ri(te))continue;const le=H[te],ue=U[te];le!==ue&&te!=="value"&&o(L,te,ue,le,X,Q)}"value"in H&&o(L,"value",U.value,H.value,X)}},I=(L,U,H,Q,X,te,le,ue,ce)=>{const ie=U.el=L?L.el:l(""),ve=U.anchor=L?L.anchor:l("");let{patchFlag:de,dynamicChildren:be,slotScopeIds:we}=U;we&&(ue=ue?ue.concat(we):we),L==null?(n(ie,H,Q),n(ve,H,Q),_(U.children||[],H,ve,X,te,le,ue,ce)):de>0&&de&64&&be&&L.dynamicChildren?(w(L.dynamicChildren,be,H,X,te,le,ue),(U.key!=null||X&&U===X.subTree)&&VE(L,U,!0)):J(L,U,H,ve,X,te,le,ue,ce)},j=(L,U,H,Q,X,te,le,ue,ce)=>{U.slotScopeIds=ue,L==null?U.shapeFlag&512?X.ctx.activate(U,H,Q,le,ce):R(U,H,Q,X,te,le,ce):q(L,U,ce)},R=(L,U,H,Q,X,te,le)=>{const ue=L.component=wB(L,Q,X);if(Cu(L)&&(ue.ctx.renderer=Xe),TB(ue,!1,le),ue.asyncDep){if(X&&X.registerDep(ue,M,le),!L.el){const ce=ue.subTree=Ze(gt);m(null,ce,U,H)}}else M(ue,L,U,H,X,te,le)},q=(L,U,H)=>{const Q=U.component=L.component;if(ene(L,U,H))if(Q.asyncDep&&!Q.asyncResolved){K(Q,U,H);return}else Q.next=U,Q.update();else U.el=L.el,Q.vnode=U},M=(L,U,H,Q,X,te,le)=>{const ue=()=>{if(L.isMounted){let{next:de,bu:be,u:we,parent:Re,vnode:Be}=L;{const Ct=oB(L);if(Ct){de&&(de.el=Be.el,K(L,de,le)),Ct.asyncDep.then(()=>{L.isUnmounted||ue()});return}}let je=de,xt;eo(L,!1),de?(de.el=Be.el,K(L,de,le)):de=Be,be&&xs(be),(xt=de.props&&de.props.onVnodeBeforeUpdate)&&ur(xt,Re,de,Be),eo(L,!0);const dt=Cc(L),Dt=L.subTree;L.subTree=dt,b(Dt,dt,d(Dt.el),_e(Dt),L,X,te),de.el=dt.el,je===null&&ih(L,dt.el),we&&At(we,X),(xt=de.props&&de.props.onVnodeUpdated)&&At(()=>ur(xt,Re,de,Be),X)}else{let de;const{el:be,props:we}=U,{bm:Re,m:Be,parent:je,root:xt,type:dt}=L,Dt=Ni(U);if(eo(L,!1),Re&&xs(Re),!Dt&&(de=we&&we.onVnodeBeforeMount)&&ur(de,je,U),eo(L,!0),be&&pe){const Ct=()=>{L.subTree=Cc(L),pe(be,L.subTree,L,X,null)};Dt&&dt.__asyncHydrate?dt.__asyncHydrate(be,L,Ct):Ct()}else{xt.ce&&xt.ce._def.shadowRoot!==!1&&xt.ce._injectChildStyle(dt);const Ct=L.subTree=Cc(L);b(null,Ct,H,Q,L,X,te),U.el=Ct.el}if(Be&&At(Be,X),!Dt&&(de=we&&we.onVnodeMounted)){const Ct=U;At(()=>ur(de,je,Ct),X)}(U.shapeFlag&256||je&&Ni(je.vnode)&&je.vnode.shapeFlag&256)&&L.a&&At(L.a,X),L.isMounted=!0,U=H=Q=null}};L.scope.on();const ce=L.effect=new Ks(ue);L.scope.off();const ie=L.update=ce.run.bind(ce),ve=L.job=ce.runIfDirty.bind(ce);ve.i=L,ve.id=L.uid,ce.scheduler=()=>TE(ve),eo(L,!0),ie()},K=(L,U,H)=>{U.component=L;const Q=L.vnode.props;L.vnode=U,L.next=null,Vre(L,U.props,Q,H),zre(L,U.children,H),Xn(),DT(L),Qn()},J=(L,U,H,Q,X,te,le,ue,ce=!1)=>{const ie=L&&L.children,ve=L?L.shapeFlag:0,de=U.children,{patchFlag:be,shapeFlag:we}=U;if(be>0){if(be&128){ye(ie,de,H,Q,X,te,le,ue,ce);return}else if(be&256){oe(ie,de,H,Q,X,te,le,ue,ce);return}}we&8?(ve&16&&se(ie,X,te),de!==ie&&p(H,de)):ve&16?we&16?ye(ie,de,H,Q,X,te,le,ue,ce):se(ie,X,te,!0):(ve&8&&p(H,""),we&16&&_(de,H,Q,X,te,le,ue,ce))},oe=(L,U,H,Q,X,te,le,ue,ce)=>{L=L||Es,U=U||Es;const ie=L.length,ve=U.length,de=Math.min(ie,ve);let be;for(be=0;be<de;be++){const we=U[be]=ce?Ei(U[be]):cr(U[be]);b(L[be],we,H,null,X,te,le,ue,ce)}ie>ve?se(L,X,te,!0,!1,de):_(U,H,Q,X,te,le,ue,ce,de)},ye=(L,U,H,Q,X,te,le,ue,ce)=>{let ie=0;const ve=U.length;let de=L.length-1,be=ve-1;for(;ie<=de&&ie<=be;){const we=L[ie],Re=U[ie]=ce?Ei(U[ie]):cr(U[ie]);if(Yr(we,Re))b(we,Re,H,null,X,te,le,ue,ce);else break;ie++}for(;ie<=de&&ie<=be;){const we=L[de],Re=U[be]=ce?Ei(U[be]):cr(U[be]);if(Yr(we,Re))b(we,Re,H,null,X,te,le,ue,ce);else break;de--,be--}if(ie>de){if(ie<=be){const we=be+1,Re=we<ve?U[we].el:Q;for(;ie<=be;)b(null,U[ie]=ce?Ei(U[ie]):cr(U[ie]),H,Re,X,te,le,ue,ce),ie++}}else if(ie>be)for(;ie<=de;)ee(L[ie],X,te,!0),ie++;else{const we=ie,Re=ie,Be=new Map;for(ie=Re;ie<=be;ie++){const Ot=U[ie]=ce?Ei(U[ie]):cr(U[ie]);Ot.key!=null&&Be.set(Ot.key,ie)}let je,xt=0;const dt=be-Re+1;let Dt=!1,Ct=0;const Jr=new Array(dt);for(ie=0;ie<dt;ie++)Jr[ie]=0;for(ie=we;ie<=de;ie++){const Ot=L[ie];if(xt>=dt){ee(Ot,X,te,!0);continue}let zt;if(Ot.key!=null)zt=Be.get(Ot.key);else for(je=Re;je<=be;je++)if(Jr[je-Re]===0&&Yr(Ot,U[je])){zt=je;break}zt===void 0?ee(Ot,X,te,!0):(Jr[zt-Re]=ie+1,zt>=Ct?Ct=zt:Dt=!0,b(Ot,U[zt],H,null,X,te,le,ue,ce),xt++)}const ii=Dt?Kre(Jr):Es;for(je=ii.length-1,ie=dt-1;ie>=0;ie--){const Ot=Re+ie,zt=U[Ot],oi=Ot+1<ve?U[Ot+1].el:Q;Jr[ie]===0?b(null,zt,H,oi,X,te,le,ue,ce):Dt&&(je<0||ie!==ii[je]?ae(zt,H,oi,2):je--)}}},ae=(L,U,H,Q,X=null)=>{const{el:te,type:le,transition:ue,children:ce,shapeFlag:ie}=L;if(ie&6){ae(L.component.subTree,U,H,Q);return}if(ie&128){L.suspense.move(U,H,Q);return}if(ie&64){le.move(L,U,H,Xe);return}if(le===Nt){n(te,U,H);for(let de=0;de<ce.length;de++)ae(ce[de],U,H,Q);n(L.anchor,U,H);return}if(le===Ii){S(L,U,H);return}if(Q!==2&&ie&1&&ue)if(Q===0)ue.beforeEnter(te),n(te,U,H),At(()=>ue.enter(te),X);else{const{leave:de,delayLeave:be,afterLeave:we}=ue,Re=()=>{L.ctx.isUnmounted?i(te):n(te,U,H)},Be=()=>{de(te,()=>{Re(),we&&we()})};be?be(te,Re,Be):Be()}else n(te,U,H)},ee=(L,U,H,Q=!1,X=!1)=>{const{type:te,props:le,ref:ue,children:ce,dynamicChildren:ie,shapeFlag:ve,patchFlag:de,dirs:be,cacheIndex:we}=L;if(de===-2&&(X=!1),ue!=null&&(Xn(),Cs(ue,null,H,L,!0),Qn()),we!=null&&(U.renderCache[we]=void 0),ve&256){U.ctx.deactivate(L);return}const Re=ve&1&&be,Be=!Ni(L);let je;if(Be&&(je=le&&le.onVnodeBeforeUnmount)&&ur(je,U,L),ve&6)me(L.component,H,Q);else{if(ve&128){L.suspense.unmount(H,Q);return}Re&&dn(L,null,U,"beforeUnmount"),ve&64?L.type.remove(L,U,H,Xe,Q):ie&&!ie.hasOnce&&(te!==Nt||de>0&&de&64)?se(ie,U,H,!1,!0):(te===Nt&&de&384||!X&&ve&16)&&se(ce,U,H),Q&&Z(L)}(Be&&(je=le&&le.onVnodeUnmounted)||Re)&&At(()=>{je&&ur(je,U,L),Re&&dn(L,null,U,"unmounted")},H)},Z=L=>{const{type:U,el:H,anchor:Q,transition:X}=L;if(U===Nt){re(H,Q);return}if(U===Ii){O(L);return}const te=()=>{i(H),X&&!X.persisted&&X.afterLeave&&X.afterLeave()};if(L.shapeFlag&1&&X&&!X.persisted){const{leave:le,delayLeave:ue}=X,ce=()=>le(H,te);ue?ue(L.el,te,ce):ce()}else te()},re=(L,U)=>{let H;for(;L!==U;)H=f(L),i(L),L=H;i(U)},me=(L,U,H)=>{const{bum:Q,scope:X,job:te,subTree:le,um:ue,m:ce,a:ie,parent:ve,slots:{__:de}}=L;Dp(ce),Dp(ie),Q&&xs(Q),ve&&ge(de)&&de.forEach(be=>{ve.renderCache[be]=void 0}),X.stop(),te&&(te.flags|=8,ee(le,L,U,H)),ue&&At(ue,U),At(()=>{L.isUnmounted=!0},U),U&&U.pendingBranch&&!U.isUnmounted&&L.asyncDep&&!L.asyncResolved&&L.suspenseId===U.pendingId&&(U.deps--,U.deps===0&&U.resolve())},se=(L,U,H,Q=!1,X=!1,te=0)=>{for(let le=te;le<L.length;le++)ee(L[le],U,H,Q,X)},_e=L=>{if(L.shapeFlag&6)return _e(L.component.subTree);if(L.shapeFlag&128)return L.suspense.next();const U=f(L.anchor||L.el),H=U&&U[a2];return H?f(H):U};let Te=!1;const tt=(L,U,H)=>{L==null?U._vnode&&ee(U._vnode,null,null,!0):b(U._vnode||null,L,U,null,null,null,H),U._vnode=L,Te||(Te=!0,DT(),qp(),Te=!1)},Xe={p:b,um:ee,m:ae,r:Z,mt:R,mc:_,pc:J,pbc:w,n:_e,o:e};let V,pe;return t&&([V,pe]=t(Xe)),{render:tt,hydrate:V,createApp:Bre(tt,V)}}function Jh({type:e,props:t},r){return r==="svg"&&e==="foreignObject"||r==="mathml"&&e==="annotation-xml"&&t&&t.encoding&&t.encoding.includes("html")?void 0:r}function eo({effect:e,job:t},r){r?(e.flags|=32,t.flags|=4):(e.flags&=-33,t.flags&=-5)}function iB(e,t){return(!e||e&&!e.pendingBranch)&&t&&!t.persisted}function VE(e,t,r=!1){const n=e.children,i=t.children;if(ge(n)&&ge(i))for(let o=0;o<n.length;o++){const s=n[o];let l=i[o];l.shapeFlag&1&&!l.dynamicChildren&&((l.patchFlag<=0||l.patchFlag===32)&&(l=i[o]=Ei(i[o]),l.el=s.el),!r&&l.patchFlag!==-2&&VE(s,l)),l.type===Kn&&(l.el=s.el),l.type===gt&&!l.el&&(l.el=s.el)}}function Kre(e){const t=e.slice(),r=[0];let n,i,o,s,l;const u=e.length;for(n=0;n<u;n++){const c=e[n];if(c!==0){if(i=r[r.length-1],e[i]<c){t[n]=i,r.push(n);continue}for(o=0,s=r.length-1;o<s;)l=o+s>>1,e[r[l]]<c?o=l+1:s=l;c<e[r[o]]&&(o>0&&(t[n]=r[o-1]),r[o]=n)}}for(o=r.length,s=r[o-1];o-- >0;)r[o]=s,s=t[s];return r}function oB(e){const t=e.subTree.component;if(t)return t.asyncDep&&!t.asyncResolved?t:oB(t)}function Dp(e){if(e)for(let t=0;t<e.length;t++)e[t].flags|=8}const HE=Symbol.for("v-scx"),JE=()=>Os(HE);function sB(e,t){return Ru(e,null,t)}function aB(e,t){return Ru(e,null,{flush:"post"})}function WE(e,t){return Ru(e,null,{flush:"sync"})}function _o(e,t,r){return Ru(e,t,r)}function Ru(e,t,r=Me){const{immediate:n,deep:i,flush:o,once:s}=r,l=qe({},r),u=t&&n||!t&&o!=="post";let c;if(Xs){if(o==="sync"){const h=JE();c=h.__watcherHandles||(h.__watcherHandles=[])}else if(!u){const h=()=>{};return h.stop=Vt,h.resume=Vt,h.pause=Vt,h}}const p=kt;l.call=(h,y,b)=>Or(h,p,y,b);let d=!1;o==="post"?l.scheduler=h=>{At(h,p&&p.suspense)}:o!=="sync"&&(d=!0,l.scheduler=(h,y)=>{y?h():TE(h)}),l.augmentJob=h=>{t&&(h.flags|=4),d&&(h.flags|=2,p&&(h.id=p.uid,h.i=p))};const f=mre(e,t,l);return Xs&&(c?c.push(f):u&&f()),f}function Gre(e,t,r){const n=this.proxy,i=Se(e)?e.includes(".")?lB(n,e):()=>n[e]:e.bind(n,n);let o;xe(t)?o=t:(o=t.handler,r=t);const s=jo(this),l=Ru(i,o.bind(n),r);return s(),l}function lB(e,t){const r=t.split(".");return()=>{let n=e;for(let i=0;i<r.length&&n;i++)n=n[r[i]];return n}}function uB(e,t,r=Me){const n=Rr(),i=et(t),o=pr(t),s=cB(e,i),l=wE((u,c)=>{let p,d=Me,f;return WE(()=>{const h=e[i];ir(p,h)&&(p=h,c())}),{get(){return u(),r.get?r.get(p):p},set(h){const y=r.set?r.set(h):h;if(!ir(y,p)&&!(d!==Me&&ir(h,d)))return;const b=n.vnode.props;b&&(t in b||i in b||o in b)&&(`onUpdate:${t}`in b||`onUpdate:${i}`in b||`onUpdate:${o}`in b)||(p=h,c()),n.emit(`update:${t}`,y),ir(h,y)&&ir(h,d)&&!ir(y,f)&&c(),d=h,f=y}}});return l[Symbol.iterator]=()=>{let u=0;return{next(){return u<2?{value:u++?s||Me:l,done:!1}:{done:!0}}}},l}const cB=(e,t)=>t==="modelValue"||t==="model-value"?e.modelModifiers:e[`${t}Modifiers`]||e[`${et(t)}Modifiers`]||e[`${pr(t)}Modifiers`];function Yre(e,t,...r){if(e.isUnmounted)return;const n=e.vnode.props||Me;let i=r;const o=t.startsWith("update:"),s=o&&cB(n,t.slice(7));s&&(s.trim&&(i=r.map(p=>Se(p)?p.trim():p)),s.number&&(i=r.map(Ap)));let l,u=n[l=go(t)]||n[l=go(et(t))];!u&&o&&(u=n[l=go(pr(t))]),u&&Or(u,e,6,i);const c=n[l+"Once"];if(c){if(!e.emitted)e.emitted={};else if(e.emitted[l])return;e.emitted[l]=!0,Or(c,e,6,i)}}function pB(e,t,r=!1){const n=t.emitsCache,i=n.get(e);if(i!==void 0)return i;const o=e.emits;let s={},l=!1;if(!xe(e)){const u=c=>{const p=pB(c,t,!0);p&&(l=!0,qe(s,p))};!r&&t.mixins.length&&t.mixins.forEach(u),e.extends&&u(e.extends),e.mixins&&e.mixins.forEach(u)}return!o&&!l?(Ge(e)&&n.set(e,null),null):(ge(o)?o.forEach(u=>s[u]=null):qe(s,o),Ge(e)&&n.set(e,s),s)}function nh(e,t){return!e||!Jo(t)?!1:(t=t.slice(2).replace(/Once$/,""),He(e,t[0].toLowerCase()+t.slice(1))||He(e,pr(t))||He(e,t))}function Cc(e){const{type:t,vnode:r,proxy:n,withProxy:i,propsOptions:[o],slots:s,attrs:l,emit:u,render:c,renderCache:p,props:d,data:f,setupState:h,ctx:y,inheritAttrs:b}=e,g=Fl(e);let m,v;try{if(r.shapeFlag&4){const O=i||n,P=O;m=cr(c.call(P,O,p,d,h,f,y)),v=l}else{const O=t;m=cr(O.length>1?O(d,{attrs:l,slots:s,emit:u}):O(d,null)),v=t.props?l:Qre(l)}}catch(O){pl.length=0,zi(O,e,1),m=Ze(gt)}let S=m;if(v&&b!==!1){const O=Object.keys(v),{shapeFlag:P}=S;O.length&&P&7&&(o&&O.some(cE)&&(v=Zre(v,o)),S=tn(S,v,!1,!0))}return r.dirs&&(S=tn(S,null,!1,!0),S.dirs=S.dirs?S.dirs.concat(r.dirs):r.dirs),r.transition&&En(S,r.transition),m=S,Fl(g),m}function Xre(e,t=!0){let r;for(let n=0;n<e.length;n++){const i=e[n];if(Hr(i)){if(i.type!==gt||i.children==="v-if"){if(r)return;r=i}}else return}return r}const Qre=e=>{let t;for(const r in e)(r==="class"||r==="style"||Jo(r))&&((t||(t={}))[r]=e[r]);return t},Zre=(e,t)=>{const r={};for(const n in e)(!cE(n)||!(n.slice(9)in t))&&(r[n]=e[n]);return r};function ene(e,t,r){const{props:n,children:i,component:o}=e,{props:s,children:l,patchFlag:u}=t,c=o.emitsOptions;if(t.dirs||t.transition)return!0;if(r&&u>=0){if(u&1024)return!0;if(u&16)return n?GT(n,s,c):!!s;if(u&8){const p=t.dynamicProps;for(let d=0;d<p.length;d++){const f=p[d];if(s[f]!==n[f]&&!nh(c,f))return!0}}}else return(i||l)&&(!l||!l.$stable)?!0:n===s?!1:n?s?GT(n,s,c):!0:!!s;return!1}function GT(e,t,r){const n=Object.keys(t);if(n.length!==Object.keys(e).length)return!0;for(let i=0;i<n.length;i++){const o=n[i];if(t[o]!==e[o]&&!nh(r,o))return!0}return!1}function ih({vnode:e,parent:t},r){for(;t;){const n=t.subTree;if(n.suspense&&n.suspense.activeBranch===e&&(n.el=e.el),n===e)(e=t.vnode).el=r,t=t.parent;else break}}const Lp=e=>e.__isSuspense;let Eg=0;const tne={name:"Suspense",__isSuspense:!0,process(e,t,r,n,i,o,s,l,u,c){if(e==null)rne(t,r,n,i,o,s,l,u,c);else{if(o&&o.deps>0&&!e.suspense.isInFallback){t.suspense=e.suspense,t.suspense.vnode=t,t.el=e.el;return}nne(e,t,r,n,i,s,l,u,c)}},hydrate:ine,normalize:one},dB=tne;function Ul(e,t){const r=e.props&&e.props[t];xe(r)&&r()}function rne(e,t,r,n,i,o,s,l,u){const{p:c,o:{createElement:p}}=u,d=p("div"),f=e.suspense=fB(e,i,n,t,d,r,o,s,l,u);c(null,f.pendingBranch=e.ssContent,d,null,n,f,o,s),f.deps>0?(Ul(e,"onPending"),Ul(e,"onFallback"),c(null,e.ssFallback,t,r,n,null,o,s),Ps(f,e.ssFallback)):f.resolve(!1,!0)}function nne(e,t,r,n,i,o,s,l,{p:u,um:c,o:{createElement:p}}){const d=t.suspense=e.suspense;d.vnode=t,t.el=e.el;const f=t.ssContent,h=t.ssFallback,{activeBranch:y,pendingBranch:b,isInFallback:g,isHydrating:m}=d;if(b)d.pendingBranch=f,Yr(f,b)?(u(b,f,d.hiddenContainer,null,i,d,o,s,l),d.deps<=0?d.resolve():g&&(m||(u(y,h,r,n,i,null,o,s,l),Ps(d,h)))):(d.pendingId=Eg++,m?(d.isHydrating=!1,d.activeBranch=b):c(b,i,d),d.deps=0,d.effects.length=0,d.hiddenContainer=p("div"),g?(u(null,f,d.hiddenContainer,null,i,d,o,s,l),d.deps<=0?d.resolve():(u(y,h,r,n,i,null,o,s,l),Ps(d,h))):y&&Yr(f,y)?(u(y,f,r,n,i,d,o,s,l),d.resolve(!0)):(u(null,f,d.hiddenContainer,null,i,d,o,s,l),d.deps<=0&&d.resolve()));else if(y&&Yr(f,y))u(y,f,r,n,i,d,o,s,l),Ps(d,f);else if(Ul(t,"onPending"),d.pendingBranch=f,f.shapeFlag&512?d.pendingId=f.component.suspenseId:d.pendingId=Eg++,u(null,f,d.hiddenContainer,null,i,d,o,s,l),d.deps<=0)d.resolve();else{const{timeout:v,pendingId:S}=d;v>0?setTimeout(()=>{d.pendingId===S&&d.fallback(h)},v):v===0&&d.fallback(h)}}function fB(e,t,r,n,i,o,s,l,u,c,p=!1){const{p:d,m:f,um:h,n:y,o:{parentNode:b,remove:g}}=c;let m;const v=sne(e);v&&t&&t.pendingBranch&&(m=t.pendingId,t.deps++);const S=e.props?Rp(e.props.timeout):void 0,O=o,P={vnode:e,parent:t,parentComponent:r,namespace:s,container:n,hiddenContainer:i,deps:0,pendingId:Eg++,timeout:typeof S=="number"?S:-1,activeBranch:null,pendingBranch:null,isInFallback:!p,isHydrating:p,isUnmounted:!1,effects:[],resolve(x=!1,E=!1){const{vnode:_,activeBranch:C,pendingBranch:w,pendingId:A,effects:I,parentComponent:j,container:R}=P;let q=!1;P.isHydrating?P.isHydrating=!1:x||(q=C&&w.transition&&w.transition.mode==="out-in",q&&(C.transition.afterLeave=()=>{A===P.pendingId&&(f(w,R,o===O?y(C):o,0),Gs(I))}),C&&(b(C.el)===R&&(o=y(C)),h(C,j,P,!0)),q||f(w,R,o,0)),Ps(P,w),P.pendingBranch=null,P.isInFallback=!1;let M=P.parent,K=!1;for(;M;){if(M.pendingBranch){M.effects.push(...I),K=!0;break}M=M.parent}!K&&!q&&Gs(I),P.effects=[],v&&t&&t.pendingBranch&&m===t.pendingId&&(t.deps--,t.deps===0&&!E&&t.resolve()),Ul(_,"onResolve")},fallback(x){if(!P.pendingBranch)return;const{vnode:E,activeBranch:_,parentComponent:C,container:w,namespace:A}=P;Ul(E,"onFallback");const I=y(_),j=()=>{P.isInFallback&&(d(null,x,w,I,C,null,A,l,u),Ps(P,x))},R=x.transition&&x.transition.mode==="out-in";R&&(_.transition.afterLeave=j),P.isInFallback=!0,h(_,C,null,!0),R||j()},move(x,E,_){P.activeBranch&&f(P.activeBranch,x,E,_),P.container=x},next(){return P.activeBranch&&y(P.activeBranch)},registerDep(x,E,_){const C=!!P.pendingBranch;C&&P.deps++;const w=x.vnode.el;x.asyncDep.catch(A=>{zi(A,x,0)}).then(A=>{if(x.isUnmounted||P.isUnmounted||P.pendingId!==x.suspenseId)return;x.asyncResolved=!0;const{vnode:I}=x;Tg(x,A,!1),w&&(I.el=w);const j=!w&&x.subTree.el;E(x,I,b(w||x.subTree.el),w?null:y(x.subTree),P,s,_),j&&g(j),ih(x,I.el),C&&--P.deps===0&&P.resolve()})},unmount(x,E){P.isUnmounted=!0,P.activeBranch&&h(P.activeBranch,r,x,E),P.pendingBranch&&h(P.pendingBranch,r,x,E)}};return P}function ine(e,t,r,n,i,o,s,l,u){const c=t.suspense=fB(t,n,r,e.parentNode,document.createElement("div"),null,i,o,s,l,!0),p=u(e,c.pendingBranch=t.ssContent,r,c,o,s);return c.deps===0&&c.resolve(!1,!0),p}function one(e){const{shapeFlag:t,children:r}=e,n=t&32;e.ssContent=YT(n?r.default:r),e.ssFallback=n?YT(r.fallback):Ze(gt)}function YT(e){let t;if(xe(e)){const r=qo&&e._c;r&&(e._d=!1,Ys()),e=e(),r&&(e._d=!0,t=er,mB())}return ge(e)&&(e=Xre(e)),e=cr(e),t&&!e.dynamicChildren&&(e.dynamicChildren=t.filter(r=>r!==e)),e}function hB(e,t){t&&t.pendingBranch?ge(e)?t.effects.push(...e):t.effects.push(e):Gs(e)}function Ps(e,t){e.activeBranch=t;const{vnode:r,parentComponent:n}=e;let i=t.el;for(;!i&&t.component;)t=t.component.subTree,i=t.el;r.el=i,n&&n.subTree===r&&(n.vnode.el=i,ih(n,i))}function sne(e){const t=e.props&&e.props.suspensible;return t!=null&&t!==!1}const Nt=Symbol.for("v-fgt"),Kn=Symbol.for("v-txt"),gt=Symbol.for("v-cmt"),Ii=Symbol.for("v-stc"),pl=[];let er=null;function Ys(e=!1){pl.push(er=e?null:[])}function mB(){pl.pop(),er=pl[pl.length-1]||null}let qo=1;function $p(e,t=!1){qo+=e,e<0&&er&&t&&(er.hasOnce=!0)}function yB(e){return e.dynamicChildren=qo>0?er||Es:null,mB(),qo>0&&er&&er.push(e),e}function gB(e,t,r,n,i,o){return yB(oh(e,t,r,n,i,o,!0))}function Vl(e,t,r,n,i){return yB(Ze(e,t,r,n,i,!0))}function Hr(e){return e?e.__v_isVNode===!0:!1}function Yr(e,t){return e.type===t.type&&e.key===t.key}function bB(e){}const vB=({key:e})=>e??null,Oc=({ref:e,ref_key:t,ref_for:r})=>(typeof e=="number"&&(e=""+e),e!=null?Se(e)||Tt(e)||xe(e)?{i:qt,r:e,k:t,f:!!r}:e:null);function oh(e,t=null,r=null,n=0,i=null,o=e===Nt?0:1,s=!1,l=!1){const u={__v_isVNode:!0,__v_skip:!0,type:e,props:t,key:t&&vB(t),ref:t&&Oc(t),scopeId:Yf,slotScopeIds:null,children:r,component:null,suspense:null,ssContent:null,ssFallback:null,dirs:null,transition:null,el:null,anchor:null,target:null,targetStart:null,targetAnchor:null,staticCount:0,shapeFlag:o,patchFlag:n,dynamicProps:i,dynamicChildren:null,appContext:null,ctx:qt};return l?(KE(u,r),o&128&&e.normalize(u)):r&&(u.shapeFlag|=Se(r)?8:16),qo>0&&!s&&er&&(u.patchFlag>0||o&6)&&u.patchFlag!==32&&er.push(u),u}const Ze=ane;function ane(e,t=null,r=null,n=0,i=null,o=!1){if((!e||e===S2)&&(e=gt),Hr(e)){const l=tn(e,t,!0);return r&&KE(l,r),qo>0&&!o&&er&&(l.shapeFlag&6?er[er.indexOf(e)]=l:er.push(l)),l.patchFlag=-2,l}if(dne(e)&&(e=e.__vccOpts),t){t=zE(t);let{class:l,style:u}=t;l&&!Se(l)&&(t.class=va(l)),Ge(u)&&(wu(u)&&!ge(u)&&(u=qe({},u)),t.style=ba(u))}const s=Se(e)?1:Lp(e)?128:l2(e)?64:Ge(e)?4:xe(e)?2:0;return oh(e,t,r,n,i,s,o,!0)}function zE(e){return e?wu(e)||X2(e)?qe({},e):e:null}function tn(e,t,r=!1,n=!1){const{props:i,ref:o,patchFlag:s,children:l,transition:u}=e,c=t?GE(i||{},t):i,p={__v_isVNode:!0,__v_skip:!0,type:e.type,props:c,key:c&&vB(c),ref:t&&t.ref?r&&o?ge(o)?o.concat(Oc(t)):[o,Oc(t)]:Oc(t):o,scopeId:e.scopeId,slotScopeIds:e.slotScopeIds,children:l,target:e.target,targetStart:e.targetStart,targetAnchor:e.targetAnchor,staticCount:e.staticCount,shapeFlag:e.shapeFlag,patchFlag:t&&e.type!==Nt?s===-1?16:s|16:s,dynamicProps:e.dynamicProps,dynamicChildren:e.dynamicChildren,appContext:e.appContext,dirs:e.dirs,transition:u,component:e.component,suspense:e.suspense,ssContent:e.ssContent&&tn(e.ssContent),ssFallback:e.ssFallback&&tn(e.ssFallback),el:e.el,anchor:e.anchor,ctx:e.ctx,ce:e.ce};return u&&n&&En(p,u.clone(p)),p}function sh(e=" ",t=0){return Ze(Kn,null,e,t)}function _B(e,t){const r=Ze(Ii,null,e);return r.staticCount=t,r}function EB(e="",t=!1){return t?(Ys(),Vl(gt,null,e)):Ze(gt,null,e)}function cr(e){return e==null||typeof e=="boolean"?Ze(gt):ge(e)?Ze(Nt,null,e.slice()):Hr(e)?Ei(e):Ze(Kn,null,String(e))}function Ei(e){return e.el===null&&e.patchFlag!==-1||e.memo?e:tn(e)}function KE(e,t){let r=0;const{shapeFlag:n}=e;if(t==null)t=null;else if(ge(t))r=16;else if(typeof t=="object")if(n&65){const i=t.default;i&&(i._c&&(i._d=!1),KE(e,i()),i._c&&(i._d=!0));return}else{r=32;const i=t._;!i&&!X2(t)?t._ctx=qt:i===3&&qt&&(qt.slots._===1?t._=1:(t._=2,e.patchFlag|=1024))}else xe(t)?(t={default:t,_ctx:qt},r=32):(t=String(t),n&64?(r=16,t=[sh(t)]):r=8);e.children=t,e.shapeFlag|=r}function GE(...e){const t={};for(let r=0;r<e.length;r++){const n=e[r];for(const i in n)if(i==="class")t.class!==n.class&&(t.class=va([t.class,n.class]));else if(i==="style")t.style=ba([t.style,n.style]);else if(Jo(i)){const o=t[i],s=n[i];s&&o!==s&&!(ge(o)&&o.includes(s))&&(t[i]=o?[].concat(o,s):s)}else i!==""&&(t[i]=n[i])}return t}function ur(e,t,r,n=null){Or(e,t,7,[r,n])}const lne=z2();let une=0;function wB(e,t,r){const n=e.type,i=(t?t.appContext:e.appContext)||lne,o={uid:une++,vnode:e,type:n,parent:t,appContext:i,root:null,next:null,subTree:null,effect:null,update:null,job:null,scope:new Vf(!0),render:null,proxy:null,exposed:null,exposeProxy:null,withProxy:null,provides:t?t.provides:Object.create(i.provides),ids:t?t.ids:["",0,0],accessCache:null,renderCache:[],components:null,directives:null,propsOptions:Z2(n,i),emitsOptions:pB(n,i),emit:null,emitted:null,propsDefaults:Me,inheritAttrs:n.inheritAttrs,ctx:Me,data:Me,props:Me,attrs:Me,slots:Me,refs:Me,setupState:Me,setupContext:null,suspense:r,suspenseId:r?r.pendingId:0,asyncDep:null,asyncResolved:!1,isMounted:!1,isUnmounted:!1,isDeactivated:!1,bc:null,c:null,bm:null,m:null,bu:null,u:null,um:null,bum:null,da:null,a:null,rtg:null,rtc:null,ec:null,sp:null};return o.ctx={_:o},o.root=t?t.root:o,o.emit=Yre.bind(null,o),e.ce&&e.ce(o),o}let kt=null;const Rr=()=>kt||qt;let Fp,wg;{const e=Bf(),t=(r,n)=>{let i;return(i=e[r])||(i=e[r]=[]),i.push(n),o=>{i.length>1?i.forEach(s=>s(o)):i[0](o)}};Fp=t("__VUE_INSTANCE_SETTERS__",r=>kt=r),wg=t("__VUE_SSR_SETTERS__",r=>Xs=r)}const jo=e=>{const t=kt;return Fp(e),e.scope.on(),()=>{e.scope.off(),Fp(t)}},xg=()=>{kt&&kt.scope.off(),Fp(null)};function xB(e){return e.vnode.shapeFlag&4}let Xs=!1;function TB(e,t=!1,r=!1){t&&wg(t);const{props:n,children:i}=e.vnode,o=xB(e);Ure(e,n,o,t),Wre(e,i,r||t);const s=o?cne(e,t):void 0;return t&&wg(!1),s}function cne(e,t){const r=e.type;e.accessCache=Object.create(null),e.proxy=new Proxy(e.ctx,gg);const{setup:n}=r;if(n){Xn();const i=e.setupContext=n.length>1?OB(e):null,o=jo(e),s=zo(n,e,0,[e.props,i]),l=dE(s);if(Qn(),o(),(l||e.sp)&&!Ni(e)&&CE(e),l){if(s.then(xg,xg),t)return s.then(u=>{Tg(e,u,t)}).catch(u=>{zi(u,e,0)});e.asyncDep=s}else Tg(e,s,t)}else CB(e,t)}function Tg(e,t,r){xe(t)?e.type.__ssrInlineRender?e.ssrRender=t:e.render=t:Ge(t)&&(e.setupState=Gf(t)),CB(e,r)}let Bp,Sg;function YE(e){Bp=e,Sg=t=>{t.render._rc&&(t.withProxy=new Proxy(t.ctx,Mre))}}const SB=()=>!Bp;function CB(e,t,r){const n=e.type;if(!e.render){if(!t&&Bp&&!n.render){const i=n.template||DE(e).template;if(i){const{isCustomElement:o,compilerOptions:s}=e.appContext.config,{delimiters:l,compilerOptions:u}=n,c=qe(qe({isCustomElement:o,delimiters:l},s),u);n.render=Bp(i,c)}}e.render=n.render||Vt,Sg&&Sg(e)}{const i=jo(e);Xn();try{qre(e)}finally{Qn(),i()}}}const pne={get(e,t){return Zt(e,"get",""),e[t]}};function OB(e){const t=r=>{e.exposed=r||{}};return{attrs:new Proxy(e.attrs,pne),slots:e.slots,emit:e.emit,expose:t}}function Nu(e){return e.exposed?e.exposeProxy||(e.exposeProxy=new Proxy(Gf(_E(e.exposed)),{get(t,r){if(r in t)return t[r];if(r in cl)return cl[r](e)},has(t,r){return r in t||r in cl}})):e.proxy}function Cg(e,t=!0){return xe(e)?e.displayName||e.name:e.name||t&&e.__name}function dne(e){return xe(e)&&"__vccOpts"in e}const XE=(e,t)=>hre(e,t,Xs);function Ki(e,t,r){const n=arguments.length;return n===2?Ge(t)&&!ge(t)?Hr(t)?Ze(e,null,[t]):Ze(e,t):Ze(e,null,t):(n>3?r=Array.prototype.slice.call(arguments,2):n===3&&Hr(r)&&(r=[r]),Ze(e,t,r))}function PB(){}function AB(e,t,r,n){const i=r[n];if(i&&QE(i,e))return i;const o=t();return o.memo=e.slice(),o.cacheIndex=n,r[n]=o}function QE(e,t){const r=e.memo;if(r.length!=t.length)return!1;for(let n=0;n<r.length;n++)if(ir(r[n],t[n]))return!1;return qo>0&&er&&er.push(e),!0}const ZE="3.5.17",RB=Vt,NB=bre,IB=as,kB=r2,fne={createComponentInstance:wB,setupComponent:TB,renderComponentRoot:Cc,setCurrentRenderingInstance:Fl,isVNode:Hr,normalizeVNode:cr,getComponentPublicInstance:Nu,ensureValidVNode:jE,pushWarningContext:yre,popWarningContext:gre},MB=fne,qB=null,jB=null,DB=null;/**
|
|
1040
|
-
* @vue/runtime-dom v3.5.17
|
|
1041
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1042
|
-
* @license MIT
|
|
1043
|
-
**/let Og;const XT=typeof window<"u"&&window.trustedTypes;if(XT)try{Og=XT.createPolicy("vue",{createHTML:e=>e})}catch{}const LB=Og?e=>Og.createHTML(e):e=>e,hne="http://www.w3.org/2000/svg",mne="http://www.w3.org/1998/Math/MathML",Dn=typeof document<"u"?document:null,QT=Dn&&Dn.createElement("template"),yne={insert:(e,t,r)=>{t.insertBefore(e,r||null)},remove:e=>{const t=e.parentNode;t&&t.removeChild(e)},createElement:(e,t,r,n)=>{const i=t==="svg"?Dn.createElementNS(hne,e):t==="mathml"?Dn.createElementNS(mne,e):r?Dn.createElement(e,{is:r}):Dn.createElement(e);return e==="select"&&n&&n.multiple!=null&&i.setAttribute("multiple",n.multiple),i},createText:e=>Dn.createTextNode(e),createComment:e=>Dn.createComment(e),setText:(e,t)=>{e.nodeValue=t},setElementText:(e,t)=>{e.textContent=t},parentNode:e=>e.parentNode,nextSibling:e=>e.nextSibling,querySelector:e=>Dn.querySelector(e),setScopeId(e,t){e.setAttribute(t,"")},insertStaticContent(e,t,r,n,i,o){const s=r?r.previousSibling:t.lastChild;if(i&&(i===o||i.nextSibling))for(;t.insertBefore(i.cloneNode(!0),r),!(i===o||!(i=i.nextSibling)););else{QT.innerHTML=LB(n==="svg"?`<svg>${e}</svg>`:n==="mathml"?`<math>${e}</math>`:e);const l=QT.content;if(n==="svg"||n==="mathml"){const u=l.firstChild;for(;u.firstChild;)l.appendChild(u.firstChild);l.removeChild(u)}t.insertBefore(l,r)}return[s?s.nextSibling:t.firstChild,r?r.previousSibling:t.lastChild]}},li="transition",Ra="animation",Qs=Symbol("_vtc"),$B={name:String,type:String,css:{type:Boolean,default:!0},duration:[String,Number,Object],enterFromClass:String,enterActiveClass:String,enterToClass:String,appearFromClass:String,appearActiveClass:String,appearToClass:String,leaveFromClass:String,leaveActiveClass:String,leaveToClass:String},FB=qe({},Zf,$B),gne=e=>(e.displayName="Transition",e.props=FB,e),BB=gne((e,{slots:t})=>Ki(SE,UB(e),t)),to=(e,t=[])=>{ge(e)?e.forEach(r=>r(...t)):e&&e(...t)},ZT=e=>e?ge(e)?e.some(t=>t.length>1):e.length>1:!1;function UB(e){const t={};for(const I in e)I in $B||(t[I]=e[I]);if(e.css===!1)return t;const{name:r="v",type:n,duration:i,enterFromClass:o=`${r}-enter-from`,enterActiveClass:s=`${r}-enter-active`,enterToClass:l=`${r}-enter-to`,appearFromClass:u=o,appearActiveClass:c=s,appearToClass:p=l,leaveFromClass:d=`${r}-leave-from`,leaveActiveClass:f=`${r}-leave-active`,leaveToClass:h=`${r}-leave-to`}=e,y=bne(i),b=y&&y[0],g=y&&y[1],{onBeforeEnter:m,onEnter:v,onEnterCancelled:S,onLeave:O,onLeaveCancelled:P,onBeforeAppear:x=m,onAppear:E=v,onAppearCancelled:_=S}=t,C=(I,j,R,q)=>{I._enterCancelled=q,hi(I,j?p:l),hi(I,j?c:s),R&&R()},w=(I,j)=>{I._isLeaving=!1,hi(I,d),hi(I,h),hi(I,f),j&&j()},A=I=>(j,R)=>{const q=I?E:v,M=()=>C(j,I,R);to(q,[j,M]),eS(()=>{hi(j,I?u:o),cn(j,I?p:l),ZT(q)||tS(j,n,b,M)})};return qe(t,{onBeforeEnter(I){to(m,[I]),cn(I,o),cn(I,s)},onBeforeAppear(I){to(x,[I]),cn(I,u),cn(I,c)},onEnter:A(!1),onAppear:A(!0),onLeave(I,j){I._isLeaving=!0;const R=()=>w(I,j);cn(I,d),I._enterCancelled?(cn(I,f),Pg()):(Pg(),cn(I,f)),eS(()=>{I._isLeaving&&(hi(I,d),cn(I,h),ZT(O)||tS(I,n,g,R))}),to(O,[I,R])},onEnterCancelled(I){C(I,!1,void 0,!0),to(S,[I])},onAppearCancelled(I){C(I,!0,void 0,!0),to(_,[I])},onLeaveCancelled(I){w(I),to(P,[I])}})}function bne(e){if(e==null)return null;if(Ge(e))return[Wh(e.enter),Wh(e.leave)];{const t=Wh(e);return[t,t]}}function Wh(e){return Rp(e)}function cn(e,t){t.split(/\s+/).forEach(r=>r&&e.classList.add(r)),(e[Qs]||(e[Qs]=new Set)).add(t)}function hi(e,t){t.split(/\s+/).forEach(n=>n&&e.classList.remove(n));const r=e[Qs];r&&(r.delete(t),r.size||(e[Qs]=void 0))}function eS(e){requestAnimationFrame(()=>{requestAnimationFrame(e)})}let vne=0;function tS(e,t,r,n){const i=e._endId=++vne,o=()=>{i===e._endId&&n()};if(r!=null)return setTimeout(o,r);const{type:s,timeout:l,propCount:u}=VB(e,t);if(!s)return n();const c=s+"end";let p=0;const d=()=>{e.removeEventListener(c,f),o()},f=h=>{h.target===e&&++p>=u&&d()};setTimeout(()=>{p<u&&d()},l+1),e.addEventListener(c,f)}function VB(e,t){const r=window.getComputedStyle(e),n=y=>(r[y]||"").split(", "),i=n(`${li}Delay`),o=n(`${li}Duration`),s=rS(i,o),l=n(`${Ra}Delay`),u=n(`${Ra}Duration`),c=rS(l,u);let p=null,d=0,f=0;t===li?s>0&&(p=li,d=s,f=o.length):t===Ra?c>0&&(p=Ra,d=c,f=u.length):(d=Math.max(s,c),p=d>0?s>c?li:Ra:null,f=p?p===li?o.length:u.length:0);const h=p===li&&/\b(transform|all)(,|$)/.test(n(`${li}Property`).toString());return{type:p,timeout:d,propCount:f,hasTransform:h}}function rS(e,t){for(;e.length<t.length;)e=e.concat(e);return Math.max(...t.map((r,n)=>nS(r)+nS(e[n])))}function nS(e){return e==="auto"?0:Number(e.slice(0,-1).replace(",","."))*1e3}function Pg(){return document.body.offsetHeight}function _ne(e,t,r){const n=e[Qs];n&&(t=(t?[t,...n]:[...n]).join(" ")),t==null?e.removeAttribute("class"):r?e.setAttribute("class",t):e.className=t}const Up=Symbol("_vod"),HB=Symbol("_vsh"),ew={beforeMount(e,{value:t},{transition:r}){e[Up]=e.style.display==="none"?"":e.style.display,r&&t?r.beforeEnter(e):Na(e,t)},mounted(e,{value:t},{transition:r}){r&&t&&r.enter(e)},updated(e,{value:t,oldValue:r},{transition:n}){!t!=!r&&(n?t?(n.beforeEnter(e),Na(e,!0),n.enter(e)):n.leave(e,()=>{Na(e,!1)}):Na(e,t))},beforeUnmount(e,{value:t}){Na(e,t)}};function Na(e,t){e.style.display=t?e[Up]:"none",e[HB]=!t}function Ene(){ew.getSSRProps=({value:e})=>{if(!e)return{style:{display:"none"}}}}const JB=Symbol("");function WB(e){const t=Rr();if(!t)return;const r=t.ut=(i=e(t.proxy))=>{Array.from(document.querySelectorAll(`[data-v-owner="${t.uid}"]`)).forEach(o=>Vp(o,i))},n=()=>{const i=e(t.proxy);t.ce?Vp(t.ce,i):Ag(t.subTree,i),r(i)};rh(()=>{Gs(n)}),_a(()=>{_o(n,Vt,{flush:"post"});const i=new MutationObserver(n);i.observe(t.subTree.el.parentNode,{childList:!0}),Au(()=>i.disconnect())})}function Ag(e,t){if(e.shapeFlag&128){const r=e.suspense;e=r.activeBranch,r.pendingBranch&&!r.isHydrating&&r.effects.push(()=>{Ag(r.activeBranch,t)})}for(;e.component;)e=e.component.subTree;if(e.shapeFlag&1&&e.el)Vp(e.el,t);else if(e.type===Nt)e.children.forEach(r=>Ag(r,t));else if(e.type===Ii){let{el:r,anchor:n}=e;for(;r&&(Vp(r,t),r!==n);)r=r.nextSibling}}function Vp(e,t){if(e.nodeType===1){const r=e.style;let n="";for(const i in t)r.setProperty(`--${i}`,t[i]),n+=`--${i}: ${t[i]};`;r[JB]=n}}const wne=/(^|;)\s*display\s*:/;function xne(e,t,r){const n=e.style,i=Se(r);let o=!1;if(r&&!i){if(t)if(Se(t))for(const s of t.split(";")){const l=s.slice(0,s.indexOf(":")).trim();r[l]==null&&Pc(n,l,"")}else for(const s in t)r[s]==null&&Pc(n,s,"");for(const s in r)s==="display"&&(o=!0),Pc(n,s,r[s])}else if(i){if(t!==r){const s=n[JB];s&&(r+=";"+s),n.cssText=r,o=wne.test(r)}}else t&&e.removeAttribute("style");Up in e&&(e[Up]=o?n.display:"",e[HB]&&(n.display="none"))}const iS=/\s*!important$/;function Pc(e,t,r){if(ge(r))r.forEach(n=>Pc(e,t,n));else if(r==null&&(r=""),t.startsWith("--"))e.setProperty(t,r);else{const n=Tne(e,t);iS.test(r)?e.setProperty(pr(n),r.replace(iS,""),"important"):e[n]=r}}const oS=["Webkit","Moz","ms"],zh={};function Tne(e,t){const r=zh[t];if(r)return r;let n=et(t);if(n!=="filter"&&n in e)return zh[t]=n;n=Wi(n);for(let i=0;i<oS.length;i++){const o=oS[i]+n;if(o in e)return zh[t]=o}return t}const sS="http://www.w3.org/1999/xlink";function aS(e,t,r,n,i,o=Bte(t)){n&&t.startsWith("xlink:")?r==null?e.removeAttributeNS(sS,t.slice(6,t.length)):e.setAttributeNS(sS,t,r):r==null||o&&!bF(r)?e.removeAttribute(t):e.setAttribute(t,o?"":yr(r)?String(r):r)}function lS(e,t,r,n,i){if(t==="innerHTML"||t==="textContent"){r!=null&&(e[t]=t==="innerHTML"?LB(r):r);return}const o=e.tagName;if(t==="value"&&o!=="PROGRESS"&&!o.includes("-")){const l=o==="OPTION"?e.getAttribute("value")||"":e.value,u=r==null?e.type==="checkbox"?"on":"":String(r);(l!==u||!("_value"in e))&&(e.value=u),r==null&&e.removeAttribute(t),e._value=r;return}let s=!1;if(r===""||r==null){const l=typeof e[t];l==="boolean"?r=bF(r):r==null&&l==="string"?(r="",s=!0):l==="number"&&(r=0,s=!0)}try{e[t]=r}catch{}s&&e.removeAttribute(i||t)}function Un(e,t,r,n){e.addEventListener(t,r,n)}function Sne(e,t,r,n){e.removeEventListener(t,r,n)}const uS=Symbol("_vei");function Cne(e,t,r,n,i=null){const o=e[uS]||(e[uS]={}),s=o[t];if(n&&s)s.value=n;else{const[l,u]=One(t);if(n){const c=o[t]=Rne(n,i);Un(e,l,c,u)}else s&&(Sne(e,l,s,u),o[t]=void 0)}}const cS=/(?:Once|Passive|Capture)$/;function One(e){let t;if(cS.test(e)){t={};let n;for(;n=e.match(cS);)e=e.slice(0,e.length-n[0].length),t[n[0].toLowerCase()]=!0}return[e[2]===":"?e.slice(3):pr(e.slice(2)),t]}let Kh=0;const Pne=Promise.resolve(),Ane=()=>Kh||(Pne.then(()=>Kh=0),Kh=Date.now());function Rne(e,t){const r=n=>{if(!n._vts)n._vts=Date.now();else if(n._vts<=r.attached)return;Or(Nne(n,r.value),t,5,[n])};return r.value=e,r.attached=Ane(),r}function Nne(e,t){if(ge(t)){const r=e.stopImmediatePropagation;return e.stopImmediatePropagation=()=>{r.call(e),e._stopped=!0},t.map(n=>i=>!i._stopped&&n&&n(i))}else return t}const pS=e=>e.charCodeAt(0)===111&&e.charCodeAt(1)===110&&e.charCodeAt(2)>96&&e.charCodeAt(2)<123,Ine=(e,t,r,n,i,o)=>{const s=i==="svg";t==="class"?_ne(e,n,s):t==="style"?xne(e,r,n):Jo(t)?cE(t)||Cne(e,t,r,n,o):(t[0]==="."?(t=t.slice(1),!0):t[0]==="^"?(t=t.slice(1),!1):kne(e,t,n,s))?(lS(e,t,n),!e.tagName.includes("-")&&(t==="value"||t==="checked"||t==="selected")&&aS(e,t,n,s,o,t!=="value")):e._isVueCE&&(/[A-Z]/.test(t)||!Se(n))?lS(e,et(t),n,o,t):(t==="true-value"?e._trueValue=n:t==="false-value"&&(e._falseValue=n),aS(e,t,n,s))};function kne(e,t,r,n){if(n)return!!(t==="innerHTML"||t==="textContent"||t in e&&pS(t)&&xe(r));if(t==="spellcheck"||t==="draggable"||t==="translate"||t==="autocorrect"||t==="form"||t==="list"&&e.tagName==="INPUT"||t==="type"&&e.tagName==="TEXTAREA")return!1;if(t==="width"||t==="height"){const i=e.tagName;if(i==="IMG"||i==="VIDEO"||i==="CANVAS"||i==="SOURCE")return!1}return pS(t)&&Se(r)?!1:t in e}const dS={};/*! #__NO_SIDE_EFFECTS__ */function tw(e,t,r){const n=eh(e,t);$f(n)&&qe(n,t);class i extends Iu{constructor(s){super(n,s,r)}}return i.def=n,i}/*! #__NO_SIDE_EFFECTS__ */const zB=(e,t)=>tw(e,t,sw),Mne=typeof HTMLElement<"u"?HTMLElement:class{};class Iu extends Mne{constructor(t,r={},n=Jl){super(),this._def=t,this._props=r,this._createApp=n,this._isVueCE=!0,this._instance=null,this._app=null,this._nonce=this._def.nonce,this._connected=!1,this._resolved=!1,this._numberProps=null,this._styleChildren=new WeakSet,this._ob=null,this.shadowRoot&&n!==Jl?this._root=this.shadowRoot:t.shadowRoot!==!1?(this.attachShadow({mode:"open"}),this._root=this.shadowRoot):this._root=this}connectedCallback(){if(!this.isConnected)return;!this.shadowRoot&&!this._resolved&&this._parseSlots(),this._connected=!0;let t=this;for(;t=t&&(t.parentNode||t.host);)if(t instanceof Iu){this._parent=t;break}this._instance||(this._resolved?this._mount(this._def):t&&t._pendingResolve?this._pendingResolve=t._pendingResolve.then(()=>{this._pendingResolve=void 0,this._resolveDef()}):this._resolveDef())}_setParent(t=this._parent){t&&(this._instance.parent=t._instance,this._inheritParentContext(t))}_inheritParentContext(t=this._parent){t&&this._app&&Object.setPrototypeOf(this._app._context.provides,t._instance.provides)}disconnectedCallback(){this._connected=!1,Tu(()=>{this._connected||(this._ob&&(this._ob.disconnect(),this._ob=null),this._app&&this._app.unmount(),this._instance&&(this._instance.ce=void 0),this._app=this._instance=null)})}_resolveDef(){if(this._pendingResolve)return;for(let n=0;n<this.attributes.length;n++)this._setAttr(this.attributes[n].name);this._ob=new MutationObserver(n=>{for(const i of n)this._setAttr(i.attributeName)}),this._ob.observe(this,{attributes:!0});const t=(n,i=!1)=>{this._resolved=!0,this._pendingResolve=void 0;const{props:o,styles:s}=n;let l;if(o&&!ge(o))for(const u in o){const c=o[u];(c===Number||c&&c.type===Number)&&(u in this._props&&(this._props[u]=Rp(this._props[u])),(l||(l=Object.create(null)))[et(u)]=!0)}this._numberProps=l,this._resolveProps(n),this.shadowRoot&&this._applyStyles(s),this._mount(n)},r=this._def.__asyncLoader;r?this._pendingResolve=r().then(n=>{n.configureApp=this._def.configureApp,t(this._def=n,!0)}):t(this._def)}_mount(t){this._app=this._createApp(t),this._inheritParentContext(),t.configureApp&&t.configureApp(this._app),this._app._ceVNode=this._createVNode(),this._app.mount(this._root);const r=this._instance&&this._instance.exposed;if(r)for(const n in r)He(this,n)||Object.defineProperty(this,n,{get:()=>xu(r[n])})}_resolveProps(t){const{props:r}=t,n=ge(r)?r:Object.keys(r||{});for(const i of Object.keys(this))i[0]!=="_"&&n.includes(i)&&this._setProp(i,this[i]);for(const i of n.map(et))Object.defineProperty(this,i,{get(){return this._getProp(i)},set(o){this._setProp(i,o,!0,!0)}})}_setAttr(t){if(t.startsWith("data-v-"))return;const r=this.hasAttribute(t);let n=r?this.getAttribute(t):dS;const i=et(t);r&&this._numberProps&&this._numberProps[i]&&(n=Rp(n)),this._setProp(i,n,!1,!0)}_getProp(t){return this._props[t]}_setProp(t,r,n=!0,i=!1){if(r!==this._props[t]&&(r===dS?delete this._props[t]:(this._props[t]=r,t==="key"&&this._app&&(this._app._ceVNode.key=r)),i&&this._instance&&this._update(),n)){const o=this._ob;o&&o.disconnect(),r===!0?this.setAttribute(pr(t),""):typeof r=="string"||typeof r=="number"?this.setAttribute(pr(t),r+""):r||this.removeAttribute(pr(t)),o&&o.observe(this,{attributes:!0})}}_update(){const t=this._createVNode();this._app&&(t.appContext=this._app._context),ow(t,this._root)}_createVNode(){const t={};this.shadowRoot||(t.onVnodeMounted=t.onVnodeUpdated=this._renderSlots.bind(this));const r=Ze(this._def,qe(t,this._props));return this._instance||(r.ce=n=>{this._instance=n,n.ce=this,n.isCE=!0;const i=(o,s)=>{this.dispatchEvent(new CustomEvent(o,$f(s[0])?qe({detail:s},s[0]):{detail:s}))};n.emit=(o,...s)=>{i(o,s),pr(o)!==o&&i(pr(o),s)},this._setParent()}),r}_applyStyles(t,r){if(!t)return;if(r){if(r===this._def||this._styleChildren.has(r))return;this._styleChildren.add(r)}const n=this._nonce;for(let i=t.length-1;i>=0;i--){const o=document.createElement("style");n&&o.setAttribute("nonce",n),o.textContent=t[i],this.shadowRoot.prepend(o)}}_parseSlots(){const t=this._slots={};let r;for(;r=this.firstChild;){const n=r.nodeType===1&&r.getAttribute("slot")||"default";(t[n]||(t[n]=[])).push(r),this.removeChild(r)}}_renderSlots(){const t=(this._teleportTarget||this).querySelectorAll("slot"),r=this._instance.type.__scopeId;for(let n=0;n<t.length;n++){const i=t[n],o=i.getAttribute("name")||"default",s=this._slots[o],l=i.parentNode;if(s)for(const u of s){if(r&&u.nodeType===1){const c=r+"-s",p=document.createTreeWalker(u,1);u.setAttribute(c,"");let d;for(;d=p.nextNode();)d.setAttribute(c,"")}l.insertBefore(u,i)}else for(;i.firstChild;)l.insertBefore(i.firstChild,i);l.removeChild(i)}}_injectChildStyle(t){this._applyStyles(t.styles,t)}_removeChildStyle(t){}}function rw(e){const t=Rr(),r=t&&t.ce;return r||null}function KB(){const e=rw();return e&&e.shadowRoot}function GB(e="$style"){{const t=Rr();if(!t)return Me;const r=t.type.__cssModules;if(!r)return Me;const n=r[e];return n||Me}}const YB=new WeakMap,XB=new WeakMap,Hp=Symbol("_moveCb"),fS=Symbol("_enterCb"),qne=e=>(delete e.props.mode,e),jne=qne({name:"TransitionGroup",props:qe({},FB,{tag:String,moveClass:String}),setup(e,{slots:t}){const r=Rr(),n=Qf();let i,o;return Ou(()=>{if(!i.length)return;const s=e.moveClass||`${e.name||"v"}-move`;if(!Fne(i[0].el,r.vnode.el,s)){i=[];return}i.forEach(Dne),i.forEach(Lne);const l=i.filter($ne);Pg(),l.forEach(u=>{const c=u.el,p=c.style;cn(c,s),p.transform=p.webkitTransform=p.transitionDuration="";const d=c[Hp]=f=>{f&&f.target!==c||(!f||/transform$/.test(f.propertyName))&&(c.removeEventListener("transitionend",d),c[Hp]=null,hi(c,s))};c.addEventListener("transitionend",d)}),i=[]}),()=>{const s=De(e),l=UB(s);let u=s.tag||Nt;if(i=[],o)for(let c=0;c<o.length;c++){const p=o[c];p.el&&p.el instanceof Element&&(i.push(p),En(p,Mo(p,l,n,r)),YB.set(p,p.el.getBoundingClientRect()))}o=t.default?Su(t.default()):[];for(let c=0;c<o.length;c++){const p=o[c];p.key!=null&&En(p,Mo(p,l,n,r))}return Ze(u,null,o)}}}),QB=jne;function Dne(e){const t=e.el;t[Hp]&&t[Hp](),t[fS]&&t[fS]()}function Lne(e){XB.set(e,e.el.getBoundingClientRect())}function $ne(e){const t=YB.get(e),r=XB.get(e),n=t.left-r.left,i=t.top-r.top;if(n||i){const o=e.el.style;return o.transform=o.webkitTransform=`translate(${n}px,${i}px)`,o.transitionDuration="0s",e}}function Fne(e,t,r){const n=e.cloneNode(),i=e[Qs];i&&i.forEach(l=>{l.split(/\s+/).forEach(u=>u&&n.classList.remove(u))}),r.split(/\s+/).forEach(l=>l&&n.classList.add(l)),n.style.display="none";const o=t.nodeType===1?t:t.parentNode;o.appendChild(n);const{hasTransform:s}=VB(n);return o.removeChild(n),s}const Bi=e=>{const t=e.props["onUpdate:modelValue"]||!1;return ge(t)?r=>xs(t,r):t};function Bne(e){e.target.composing=!0}function hS(e){const t=e.target;t.composing&&(t.composing=!1,t.dispatchEvent(new Event("input")))}const Fr=Symbol("_assign"),Hl={created(e,{modifiers:{lazy:t,trim:r,number:n}},i){e[Fr]=Bi(i);const o=n||i.props&&i.props.type==="number";Un(e,t?"change":"input",s=>{if(s.target.composing)return;let l=e.value;r&&(l=l.trim()),o&&(l=Ap(l)),e[Fr](l)}),r&&Un(e,"change",()=>{e.value=e.value.trim()}),t||(Un(e,"compositionstart",Bne),Un(e,"compositionend",hS),Un(e,"change",hS))},mounted(e,{value:t}){e.value=t??""},beforeUpdate(e,{value:t,oldValue:r,modifiers:{lazy:n,trim:i,number:o}},s){if(e[Fr]=Bi(s),e.composing)return;const l=(o||e.type==="number")&&!/^0\d/.test(e.value)?Ap(e.value):e.value,u=t??"";l!==u&&(document.activeElement===e&&e.type!=="range"&&(n&&t===r||i&&e.value.trim()===u)||(e.value=u))}},ah={deep:!0,created(e,t,r){e[Fr]=Bi(r),Un(e,"change",()=>{const n=e._modelValue,i=Zs(e),o=e.checked,s=e[Fr];if(ge(n)){const l=Uf(n,i),u=l!==-1;if(o&&!u)s(n.concat(i));else if(!o&&u){const c=[...n];c.splice(l,1),s(c)}}else if(Wo(n)){const l=new Set(n);o?l.add(i):l.delete(i),s(l)}else s(ZB(e,o))})},mounted:mS,beforeUpdate(e,t,r){e[Fr]=Bi(r),mS(e,t,r)}};function mS(e,{value:t,oldValue:r},n){e._modelValue=t;let i;if(ge(t))i=Uf(t,n.props.value)>-1;else if(Wo(t))i=t.has(n.props.value);else{if(t===r)return;i=$i(t,ZB(e,!0))}e.checked!==i&&(e.checked=i)}const lh={created(e,{value:t},r){e.checked=$i(t,r.props.value),e[Fr]=Bi(r),Un(e,"change",()=>{e[Fr](Zs(e))})},beforeUpdate(e,{value:t,oldValue:r},n){e[Fr]=Bi(n),t!==r&&(e.checked=$i(t,n.props.value))}},nw={deep:!0,created(e,{value:t,modifiers:{number:r}},n){const i=Wo(t);Un(e,"change",()=>{const o=Array.prototype.filter.call(e.options,s=>s.selected).map(s=>r?Ap(Zs(s)):Zs(s));e[Fr](e.multiple?i?new Set(o):o:o[0]),e._assigning=!0,Tu(()=>{e._assigning=!1})}),e[Fr]=Bi(n)},mounted(e,{value:t}){yS(e,t)},beforeUpdate(e,t,r){e[Fr]=Bi(r)},updated(e,{value:t}){e._assigning||yS(e,t)}};function yS(e,t){const r=e.multiple,n=ge(t);if(!(r&&!n&&!Wo(t))){for(let i=0,o=e.options.length;i<o;i++){const s=e.options[i],l=Zs(s);if(r)if(n){const u=typeof l;u==="string"||u==="number"?s.selected=t.some(c=>String(c)===String(l)):s.selected=Uf(t,l)>-1}else s.selected=t.has(l);else if($i(Zs(s),t)){e.selectedIndex!==i&&(e.selectedIndex=i);return}}!r&&e.selectedIndex!==-1&&(e.selectedIndex=-1)}}function Zs(e){return"_value"in e?e._value:e.value}function ZB(e,t){const r=t?"_trueValue":"_falseValue";return r in e?e[r]:t}const iw={created(e,t,r){Zu(e,t,r,null,"created")},mounted(e,t,r){Zu(e,t,r,null,"mounted")},beforeUpdate(e,t,r,n){Zu(e,t,r,n,"beforeUpdate")},updated(e,t,r,n){Zu(e,t,r,n,"updated")}};function e3(e,t){switch(e){case"SELECT":return nw;case"TEXTAREA":return Hl;default:switch(t){case"checkbox":return ah;case"radio":return lh;default:return Hl}}}function Zu(e,t,r,n,i){const s=e3(e.tagName,r.props&&r.props.type)[i];s&&s(e,t,r,n)}function Une(){Hl.getSSRProps=({value:e})=>({value:e}),lh.getSSRProps=({value:e},t)=>{if(t.props&&$i(t.props.value,e))return{checked:!0}},ah.getSSRProps=({value:e},t)=>{if(ge(e)){if(t.props&&Uf(e,t.props.value)>-1)return{checked:!0}}else if(Wo(e)){if(t.props&&e.has(t.props.value))return{checked:!0}}else if(e)return{checked:!0}},iw.getSSRProps=(e,t)=>{if(typeof t.type!="string")return;const r=e3(t.type.toUpperCase(),t.props&&t.props.type);if(r.getSSRProps)return r.getSSRProps(e,t)}}const Vne=["ctrl","shift","alt","meta"],Hne={stop:e=>e.stopPropagation(),prevent:e=>e.preventDefault(),self:e=>e.target!==e.currentTarget,ctrl:e=>!e.ctrlKey,shift:e=>!e.shiftKey,alt:e=>!e.altKey,meta:e=>!e.metaKey,left:e=>"button"in e&&e.button!==0,middle:e=>"button"in e&&e.button!==1,right:e=>"button"in e&&e.button!==2,exact:(e,t)=>Vne.some(r=>e[`${r}Key`]&&!t.includes(r))},t3=(e,t)=>{const r=e._withMods||(e._withMods={}),n=t.join(".");return r[n]||(r[n]=(i,...o)=>{for(let s=0;s<t.length;s++){const l=Hne[t[s]];if(l&&l(i,t))return}return e(i,...o)})},Jne={esc:"escape",space:" ",up:"arrow-up",left:"arrow-left",right:"arrow-right",down:"arrow-down",delete:"backspace"},r3=(e,t)=>{const r=e._withKeys||(e._withKeys={}),n=t.join(".");return r[n]||(r[n]=i=>{if(!("key"in i))return;const o=pr(i.key);if(t.some(s=>s===o||Jne[s]===o))return e(i)})},n3=qe({patchProp:Ine},yne);let dl,gS=!1;function i3(){return dl||(dl=BE(n3))}function o3(){return dl=gS?dl:UE(n3),gS=!0,dl}const ow=(...e)=>{i3().render(...e)},s3=(...e)=>{o3().hydrate(...e)},Jl=(...e)=>{const t=i3().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=l3(n);if(!i)return;const o=t._component;!xe(o)&&!o.render&&!o.template&&(o.template=i.innerHTML),i.nodeType===1&&(i.textContent="");const s=r(i,!1,a3(i));return i instanceof Element&&(i.removeAttribute("v-cloak"),i.setAttribute("data-v-app","")),s},t},sw=(...e)=>{const t=o3().createApp(...e),{mount:r}=t;return t.mount=n=>{const i=l3(n);if(i)return r(i,!0,a3(i))},t};function a3(e){if(e instanceof SVGElement)return"svg";if(typeof MathMLElement=="function"&&e instanceof MathMLElement)return"mathml"}function l3(e){return Se(e)?document.querySelector(e):e}let bS=!1;const u3=()=>{bS||(bS=!0,Une(),Ene())},Wne=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:SE,BaseTransitionPropsValidators:Zf,Comment:gt,DeprecationTypes:DB,EffectScope:Vf,ErrorCodes:QF,ErrorTypeStrings:NB,Fragment:Nt,KeepAlive:w2,ReactiveEffect:Ks,Static:Ii,Suspense:dB,Teleport:c2,Text:Kn,TrackOpTypes:zF,Transition:BB,TransitionGroup:QB,TriggerOpTypes:KF,VueElement:Iu,assertNumber:XF,callWithAsyncErrorHandling:Or,callWithErrorHandling:zo,camelize:et,capitalize:Wi,cloneVNode:tn,compatUtils:jB,computed:XE,createApp:Jl,createBlock:Vl,createCommentVNode:EB,createElementBlock:gB,createElementVNode:oh,createHydrationRenderer:UE,createPropsRestProxy:H2,createRenderer:BE,createSSRApp:sw,createSlots:A2,createStaticVNode:_B,createTextVNode:sh,createVNode:Ze,customRef:wE,defineAsyncComponent:E2,defineComponent:eh,defineCustomElement:tw,defineEmits:k2,defineExpose:M2,defineModel:D2,defineOptions:q2,defineProps:I2,defineSSRCustomElement:zB,defineSlots:j2,devtools:IB,effect:PF,effectScope:EF,getCurrentInstance:Rr,getCurrentScope:mE,getCurrentWatcher:GF,getTransitionRawChildren:Su,guardReactiveProps:zE,h:Ki,handleError:zi,hasInjectionContext:K2,hydrate:s3,hydrateOnIdle:g2,hydrateOnInteraction:_2,hydrateOnMediaQuery:v2,hydrateOnVisible:b2,initCustomFormatter:PB,initDirectivesForSSR:u3,inject:Os,isMemoSame:QE,isProxy:wu,isReactive:bn,isReadonly:_n,isRef:Tt,isRuntimeOnly:SB,isShallow:fr,isVNode:Hr,markRaw:_E,mergeDefaults:U2,mergeModels:V2,mergeProps:GE,nextTick:Tu,normalizeClass:va,normalizeProps:gF,normalizeStyle:ba,onActivated:OE,onBeforeMount:AE,onBeforeUnmount:Pu,onBeforeUpdate:rh,onDeactivated:PE,onErrorCaptured:kE,onMounted:_a,onRenderTracked:IE,onRenderTriggered:NE,onScopeDispose:wF,onServerPrefetch:RE,onUnmounted:Au,onUpdated:Ou,onWatcherCleanup:xE,openBlock:Ys,popScopeId:i2,provide:LE,proxyRefs:Gf,pushScopeId:n2,queuePostFlushCb:Gs,reactive:Fi,readonly:zf,ref:Ts,registerRuntimeCompiler:YE,render:ow,renderList:P2,renderSlot:R2,resolveComponent:T2,resolveDirective:O2,resolveDynamicComponent:C2,resolveFilter:qB,resolveTransitionHooks:Mo,setBlockTracking:$p,setDevtoolsHook:kB,setTransitionHooks:En,shallowReactive:vE,shallowReadonly:FF,shallowRef:EE,ssrContextKey:HE,ssrUtils:MB,stop:AF,toDisplayString:hE,toHandlerKey:go,toHandlers:N2,toRaw:De,toRef:JF,toRefs:HF,toValue:VF,transformVNodeArgs:bB,triggerRef:UF,unref:xu,useAttrs:F2,useCssModule:GB,useCssVars:WB,useHost:rw,useId:m2,useModel:uB,useSSRContext:JE,useShadowRoot:KB,useSlots:$2,useTemplateRef:y2,useTransitionState:Qf,vModelCheckbox:ah,vModelDynamic:iw,vModelRadio:lh,vModelSelect:nw,vModelText:Hl,vShow:ew,version:ZE,warn:RB,watch:_o,watchEffect:sB,watchPostEffect:aB,watchSyncEffect:WE,withAsyncContext:J2,withCtx:Xf,withDefaults:L2,withDirectives:s2,withKeys:r3,withMemo:AB,withModifiers:t3,withScopeId:o2},Symbol.toStringTag,{value:"Module"}));/**
|
|
1044
|
-
* @vue/compiler-core v3.5.17
|
|
1045
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1046
|
-
* @license MIT
|
|
1047
|
-
**/const Wl=Symbol(""),fl=Symbol(""),aw=Symbol(""),Jp=Symbol(""),c3=Symbol(""),Do=Symbol(""),p3=Symbol(""),d3=Symbol(""),lw=Symbol(""),uw=Symbol(""),ku=Symbol(""),cw=Symbol(""),f3=Symbol(""),pw=Symbol(""),dw=Symbol(""),fw=Symbol(""),hw=Symbol(""),mw=Symbol(""),yw=Symbol(""),h3=Symbol(""),m3=Symbol(""),uh=Symbol(""),Wp=Symbol(""),gw=Symbol(""),bw=Symbol(""),zl=Symbol(""),Mu=Symbol(""),vw=Symbol(""),Rg=Symbol(""),zne=Symbol(""),Ng=Symbol(""),zp=Symbol(""),Kne=Symbol(""),Gne=Symbol(""),_w=Symbol(""),Yne=Symbol(""),Xne=Symbol(""),Ew=Symbol(""),y3=Symbol(""),ea={[Wl]:"Fragment",[fl]:"Teleport",[aw]:"Suspense",[Jp]:"KeepAlive",[c3]:"BaseTransition",[Do]:"openBlock",[p3]:"createBlock",[d3]:"createElementBlock",[lw]:"createVNode",[uw]:"createElementVNode",[ku]:"createCommentVNode",[cw]:"createTextVNode",[f3]:"createStaticVNode",[pw]:"resolveComponent",[dw]:"resolveDynamicComponent",[fw]:"resolveDirective",[hw]:"resolveFilter",[mw]:"withDirectives",[yw]:"renderList",[h3]:"renderSlot",[m3]:"createSlots",[uh]:"toDisplayString",[Wp]:"mergeProps",[gw]:"normalizeClass",[bw]:"normalizeStyle",[zl]:"normalizeProps",[Mu]:"guardReactiveProps",[vw]:"toHandlers",[Rg]:"camelize",[zne]:"capitalize",[Ng]:"toHandlerKey",[zp]:"setBlockTracking",[Kne]:"pushScopeId",[Gne]:"popScopeId",[_w]:"withCtx",[Yne]:"unref",[Xne]:"isRef",[Ew]:"withMemo",[y3]:"isMemoSame"};function Qne(e){Object.getOwnPropertySymbols(e).forEach(t=>{ea[t]=e[t]})}const Nr={start:{line:1,column:1,offset:0},end:{line:1,column:1,offset:0},source:""};function Zne(e,t=""){return{type:0,source:t,children:e,helpers:new Set,components:[],directives:[],hoists:[],imports:[],cached:[],temps:0,codegenNode:void 0,loc:Nr}}function Kl(e,t,r,n,i,o,s,l=!1,u=!1,c=!1,p=Nr){return e&&(l?(e.helper(Do),e.helper(na(e.inSSR,c))):e.helper(ra(e.inSSR,c)),s&&e.helper(mw)),{type:13,tag:t,props:r,children:n,patchFlag:i,dynamicProps:o,directives:s,isBlock:l,disableTracking:u,isComponent:c,loc:p}}function Eo(e,t=Nr){return{type:17,loc:t,elements:e}}function Lr(e,t=Nr){return{type:15,loc:t,properties:e}}function bt(e,t){return{type:16,loc:Nr,key:Se(e)?Oe(e,!0):e,value:t}}function Oe(e,t=!1,r=Nr,n=0){return{type:4,loc:r,content:e,isStatic:t,constType:t?3:n}}function en(e,t=Nr){return{type:8,loc:t,children:e}}function It(e,t=[],r=Nr){return{type:14,loc:r,callee:e,arguments:t}}function ta(e,t=void 0,r=!1,n=!1,i=Nr){return{type:18,params:e,returns:t,newline:r,isSlot:n,loc:i}}function Ig(e,t,r,n=!0){return{type:19,test:e,consequent:t,alternate:r,newline:n,loc:Nr}}function eie(e,t,r=!1,n=!1){return{type:20,index:e,value:t,needPauseTracking:r,inVOnce:n,needArraySpread:!1,loc:Nr}}function tie(e){return{type:21,body:e,loc:Nr}}function ra(e,t){return e||t?lw:uw}function na(e,t){return e||t?p3:d3}function ww(e,{helper:t,removeHelper:r,inSSR:n}){e.isBlock||(e.isBlock=!0,r(ra(n,e.isComponent)),t(Do),t(na(n,e.isComponent)))}const vS=new Uint8Array([123,123]),_S=new Uint8Array([125,125]);function ES(e){return e>=97&&e<=122||e>=65&&e<=90}function wr(e){return e===32||e===10||e===9||e===12||e===13}function ui(e){return e===47||e===62||wr(e)}function Kp(e){const t=new Uint8Array(e.length);for(let r=0;r<e.length;r++)t[r]=e.charCodeAt(r);return t}const Yt={Cdata:new Uint8Array([67,68,65,84,65,91]),CdataEnd:new Uint8Array([93,93,62]),CommentEnd:new Uint8Array([45,45,62]),ScriptEnd:new Uint8Array([60,47,115,99,114,105,112,116]),StyleEnd:new Uint8Array([60,47,115,116,121,108,101]),TitleEnd:new Uint8Array([60,47,116,105,116,108,101]),TextareaEnd:new Uint8Array([60,47,116,101,120,116,97,114,101,97])};class rie{constructor(t,r){this.stack=t,this.cbs=r,this.state=1,this.buffer="",this.sectionStart=0,this.index=0,this.entityStart=0,this.baseState=1,this.inRCDATA=!1,this.inXML=!1,this.inVPre=!1,this.newlines=[],this.mode=0,this.delimiterOpen=vS,this.delimiterClose=_S,this.delimiterIndex=-1,this.currentSequence=void 0,this.sequenceIndex=0}get inSFCRoot(){return this.mode===2&&this.stack.length===0}reset(){this.state=1,this.mode=0,this.buffer="",this.sectionStart=0,this.index=0,this.baseState=1,this.inRCDATA=!1,this.currentSequence=void 0,this.newlines.length=0,this.delimiterOpen=vS,this.delimiterClose=_S}getPos(t){let r=1,n=t+1;for(let i=this.newlines.length-1;i>=0;i--){const o=this.newlines[i];if(t>o){r=i+2,n=t-o;break}}return{column:n,line:r,offset:t}}peek(){return this.buffer.charCodeAt(this.index+1)}stateText(t){t===60?(this.index>this.sectionStart&&this.cbs.ontext(this.sectionStart,this.index),this.state=5,this.sectionStart=this.index):!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t))}stateInterpolationOpen(t){if(t===this.delimiterOpen[this.delimiterIndex])if(this.delimiterIndex===this.delimiterOpen.length-1){const r=this.index+1-this.delimiterOpen.length;r>this.sectionStart&&this.cbs.ontext(this.sectionStart,r),this.state=3,this.sectionStart=r}else this.delimiterIndex++;else this.inRCDATA?(this.state=32,this.stateInRCDATA(t)):(this.state=1,this.stateText(t))}stateInterpolation(t){t===this.delimiterClose[0]&&(this.state=4,this.delimiterIndex=0,this.stateInterpolationClose(t))}stateInterpolationClose(t){t===this.delimiterClose[this.delimiterIndex]?this.delimiterIndex===this.delimiterClose.length-1?(this.cbs.oninterpolation(this.sectionStart,this.index+1),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):this.delimiterIndex++:(this.state=3,this.stateInterpolation(t))}stateSpecialStartSequence(t){const r=this.sequenceIndex===this.currentSequence.length;if(!(r?ui(t):(t|32)===this.currentSequence[this.sequenceIndex]))this.inRCDATA=!1;else if(!r){this.sequenceIndex++;return}this.sequenceIndex=0,this.state=6,this.stateInTagName(t)}stateInRCDATA(t){if(this.sequenceIndex===this.currentSequence.length){if(t===62||wr(t)){const r=this.index-this.currentSequence.length;if(this.sectionStart<r){const n=this.index;this.index=r,this.cbs.ontext(this.sectionStart,r),this.index=n}this.sectionStart=r+2,this.stateInClosingTagName(t),this.inRCDATA=!1;return}this.sequenceIndex=0}(t|32)===this.currentSequence[this.sequenceIndex]?this.sequenceIndex+=1:this.sequenceIndex===0?this.currentSequence===Yt.TitleEnd||this.currentSequence===Yt.TextareaEnd&&!this.inSFCRoot?!this.inVPre&&t===this.delimiterOpen[0]&&(this.state=2,this.delimiterIndex=0,this.stateInterpolationOpen(t)):this.fastForwardTo(60)&&(this.sequenceIndex=1):this.sequenceIndex=+(t===60)}stateCDATASequence(t){t===Yt.Cdata[this.sequenceIndex]?++this.sequenceIndex===Yt.Cdata.length&&(this.state=28,this.currentSequence=Yt.CdataEnd,this.sequenceIndex=0,this.sectionStart=this.index+1):(this.sequenceIndex=0,this.state=23,this.stateInDeclaration(t))}fastForwardTo(t){for(;++this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);if(r===10&&this.newlines.push(this.index),r===t)return!0}return this.index=this.buffer.length-1,!1}stateInCommentLike(t){t===this.currentSequence[this.sequenceIndex]?++this.sequenceIndex===this.currentSequence.length&&(this.currentSequence===Yt.CdataEnd?this.cbs.oncdata(this.sectionStart,this.index-2):this.cbs.oncomment(this.sectionStart,this.index-2),this.sequenceIndex=0,this.sectionStart=this.index+1,this.state=1):this.sequenceIndex===0?this.fastForwardTo(this.currentSequence[0])&&(this.sequenceIndex=1):t!==this.currentSequence[this.sequenceIndex-1]&&(this.sequenceIndex=0)}startSpecial(t,r){this.enterRCDATA(t,r),this.state=31}enterRCDATA(t,r){this.inRCDATA=!0,this.currentSequence=t,this.sequenceIndex=r}stateBeforeTagName(t){t===33?(this.state=22,this.sectionStart=this.index+1):t===63?(this.state=24,this.sectionStart=this.index+1):ES(t)?(this.sectionStart=this.index,this.mode===0?this.state=6:this.inSFCRoot?this.state=34:this.inXML?this.state=6:t===116?this.state=30:this.state=t===115?29:6):t===47?this.state=8:(this.state=1,this.stateText(t))}stateInTagName(t){ui(t)&&this.handleTagName(t)}stateInSFCRootTagName(t){if(ui(t)){const r=this.buffer.slice(this.sectionStart,this.index);r!=="template"&&this.enterRCDATA(Kp("</"+r),0),this.handleTagName(t)}}handleTagName(t){this.cbs.onopentagname(this.sectionStart,this.index),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)}stateBeforeClosingTagName(t){wr(t)||(t===62?(this.state=1,this.sectionStart=this.index+1):(this.state=ES(t)?9:27,this.sectionStart=this.index))}stateInClosingTagName(t){(t===62||wr(t))&&(this.cbs.onclosetag(this.sectionStart,this.index),this.sectionStart=-1,this.state=10,this.stateAfterClosingTagName(t))}stateAfterClosingTagName(t){t===62&&(this.state=1,this.sectionStart=this.index+1)}stateBeforeAttrName(t){t===62?(this.cbs.onopentagend(this.index),this.inRCDATA?this.state=32:this.state=1,this.sectionStart=this.index+1):t===47?this.state=7:t===60&&this.peek()===47?(this.cbs.onopentagend(this.index),this.state=5,this.sectionStart=this.index):wr(t)||this.handleAttrStart(t)}handleAttrStart(t){t===118&&this.peek()===45?(this.state=13,this.sectionStart=this.index):t===46||t===58||t===64||t===35?(this.cbs.ondirname(this.index,this.index+1),this.state=14,this.sectionStart=this.index+1):(this.state=12,this.sectionStart=this.index)}stateInSelfClosingTag(t){t===62?(this.cbs.onselfclosingtag(this.index),this.state=1,this.sectionStart=this.index+1,this.inRCDATA=!1):wr(t)||(this.state=11,this.stateBeforeAttrName(t))}stateInAttrName(t){(t===61||ui(t))&&(this.cbs.onattribname(this.sectionStart,this.index),this.handleAttrNameEnd(t))}stateInDirName(t){t===61||ui(t)?(this.cbs.ondirname(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===58?(this.cbs.ondirname(this.sectionStart,this.index),this.state=14,this.sectionStart=this.index+1):t===46&&(this.cbs.ondirname(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDirArg(t){t===61||ui(t)?(this.cbs.ondirarg(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===91?this.state=15:t===46&&(this.cbs.ondirarg(this.sectionStart,this.index),this.state=16,this.sectionStart=this.index+1)}stateInDynamicDirArg(t){t===93?this.state=14:(t===61||ui(t))&&(this.cbs.ondirarg(this.sectionStart,this.index+1),this.handleAttrNameEnd(t))}stateInDirModifier(t){t===61||ui(t)?(this.cbs.ondirmodifier(this.sectionStart,this.index),this.handleAttrNameEnd(t)):t===46&&(this.cbs.ondirmodifier(this.sectionStart,this.index),this.sectionStart=this.index+1)}handleAttrNameEnd(t){this.sectionStart=this.index,this.state=17,this.cbs.onattribnameend(this.index),this.stateAfterAttrName(t)}stateAfterAttrName(t){t===61?this.state=18:t===47||t===62?(this.cbs.onattribend(0,this.sectionStart),this.sectionStart=-1,this.state=11,this.stateBeforeAttrName(t)):wr(t)||(this.cbs.onattribend(0,this.sectionStart),this.handleAttrStart(t))}stateBeforeAttrValue(t){t===34?(this.state=19,this.sectionStart=this.index+1):t===39?(this.state=20,this.sectionStart=this.index+1):wr(t)||(this.sectionStart=this.index,this.state=21,this.stateInAttrValueNoQuotes(t))}handleInAttrValue(t,r){(t===r||this.fastForwardTo(r))&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(r===34?3:2,this.index+1),this.state=11)}stateInAttrValueDoubleQuotes(t){this.handleInAttrValue(t,34)}stateInAttrValueSingleQuotes(t){this.handleInAttrValue(t,39)}stateInAttrValueNoQuotes(t){wr(t)||t===62?(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=-1,this.cbs.onattribend(1,this.index),this.state=11,this.stateBeforeAttrName(t)):(t===39||t===60||t===61||t===96)&&this.cbs.onerr(18,this.index)}stateBeforeDeclaration(t){t===91?(this.state=26,this.sequenceIndex=0):this.state=t===45?25:23}stateInDeclaration(t){(t===62||this.fastForwardTo(62))&&(this.state=1,this.sectionStart=this.index+1)}stateInProcessingInstruction(t){(t===62||this.fastForwardTo(62))&&(this.cbs.onprocessinginstruction(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeComment(t){t===45?(this.state=28,this.currentSequence=Yt.CommentEnd,this.sequenceIndex=2,this.sectionStart=this.index+1):this.state=23}stateInSpecialComment(t){(t===62||this.fastForwardTo(62))&&(this.cbs.oncomment(this.sectionStart,this.index),this.state=1,this.sectionStart=this.index+1)}stateBeforeSpecialS(t){t===Yt.ScriptEnd[3]?this.startSpecial(Yt.ScriptEnd,4):t===Yt.StyleEnd[3]?this.startSpecial(Yt.StyleEnd,4):(this.state=6,this.stateInTagName(t))}stateBeforeSpecialT(t){t===Yt.TitleEnd[3]?this.startSpecial(Yt.TitleEnd,4):t===Yt.TextareaEnd[3]?this.startSpecial(Yt.TextareaEnd,4):(this.state=6,this.stateInTagName(t))}startEntity(){}stateInEntity(){}parse(t){for(this.buffer=t;this.index<this.buffer.length;){const r=this.buffer.charCodeAt(this.index);switch(r===10&&this.state!==33&&this.newlines.push(this.index),this.state){case 1:{this.stateText(r);break}case 2:{this.stateInterpolationOpen(r);break}case 3:{this.stateInterpolation(r);break}case 4:{this.stateInterpolationClose(r);break}case 31:{this.stateSpecialStartSequence(r);break}case 32:{this.stateInRCDATA(r);break}case 26:{this.stateCDATASequence(r);break}case 19:{this.stateInAttrValueDoubleQuotes(r);break}case 12:{this.stateInAttrName(r);break}case 13:{this.stateInDirName(r);break}case 14:{this.stateInDirArg(r);break}case 15:{this.stateInDynamicDirArg(r);break}case 16:{this.stateInDirModifier(r);break}case 28:{this.stateInCommentLike(r);break}case 27:{this.stateInSpecialComment(r);break}case 11:{this.stateBeforeAttrName(r);break}case 6:{this.stateInTagName(r);break}case 34:{this.stateInSFCRootTagName(r);break}case 9:{this.stateInClosingTagName(r);break}case 5:{this.stateBeforeTagName(r);break}case 17:{this.stateAfterAttrName(r);break}case 20:{this.stateInAttrValueSingleQuotes(r);break}case 18:{this.stateBeforeAttrValue(r);break}case 8:{this.stateBeforeClosingTagName(r);break}case 10:{this.stateAfterClosingTagName(r);break}case 29:{this.stateBeforeSpecialS(r);break}case 30:{this.stateBeforeSpecialT(r);break}case 21:{this.stateInAttrValueNoQuotes(r);break}case 7:{this.stateInSelfClosingTag(r);break}case 23:{this.stateInDeclaration(r);break}case 22:{this.stateBeforeDeclaration(r);break}case 25:{this.stateBeforeComment(r);break}case 24:{this.stateInProcessingInstruction(r);break}case 33:{this.stateInEntity();break}}this.index++}this.cleanup(),this.finish()}cleanup(){this.sectionStart!==this.index&&(this.state===1||this.state===32&&this.sequenceIndex===0?(this.cbs.ontext(this.sectionStart,this.index),this.sectionStart=this.index):(this.state===19||this.state===20||this.state===21)&&(this.cbs.onattribdata(this.sectionStart,this.index),this.sectionStart=this.index))}finish(){this.handleTrailingData(),this.cbs.onend()}handleTrailingData(){const t=this.buffer.length;this.sectionStart>=t||(this.state===28?this.currentSequence===Yt.CdataEnd?this.cbs.oncdata(this.sectionStart,t):this.cbs.oncomment(this.sectionStart,t):this.state===6||this.state===11||this.state===18||this.state===17||this.state===12||this.state===13||this.state===14||this.state===15||this.state===16||this.state===20||this.state===19||this.state===21||this.state===9||this.cbs.ontext(this.sectionStart,t))}emitCodePoint(t,r){}}function wS(e,{compatConfig:t}){const r=t&&t[e];return e==="MODE"?r||3:r}function wo(e,t){const r=wS("MODE",t),n=wS(e,t);return r===3?n===!0:n!==!1}function Gl(e,t,r,...n){return wo(e,t)}function xw(e){throw e}function g3(e){}function lt(e,t,r,n){const i=`https://vuejs.org/error-reference/#compiler-${e}`,o=new SyntaxError(String(i));return o.code=e,o.loc=t,o}const dr=e=>e.type===4&&e.isStatic;function b3(e){switch(e){case"Teleport":case"teleport":return fl;case"Suspense":case"suspense":return aw;case"KeepAlive":case"keep-alive":return Jp;case"BaseTransition":case"base-transition":return c3}}const nie=/^\d|[^\$\w\xA0-\uFFFF]/,Tw=e=>!nie.test(e),iie=/[A-Za-z_$\xA0-\uFFFF]/,oie=/[\.\?\w$\xA0-\uFFFF]/,sie=/\s+[.[]\s*|\s*[.[]\s+/g,v3=e=>e.type===4?e.content:e.loc.source,aie=e=>{const t=v3(e).trim().replace(sie,l=>l.trim());let r=0,n=[],i=0,o=0,s=null;for(let l=0;l<t.length;l++){const u=t.charAt(l);switch(r){case 0:if(u==="[")n.push(r),r=1,i++;else if(u==="(")n.push(r),r=2,o++;else if(!(l===0?iie:oie).test(u))return!1;break;case 1:u==="'"||u==='"'||u==="`"?(n.push(r),r=3,s=u):u==="["?i++:u==="]"&&(--i||(r=n.pop()));break;case 2:if(u==="'"||u==='"'||u==="`")n.push(r),r=3,s=u;else if(u==="(")o++;else if(u===")"){if(l===t.length-1)return!1;--o||(r=n.pop())}break;case 3:u===s&&(r=n.pop(),s=null);break}}return!i&&!o},_3=aie,lie=/^\s*(async\s*)?(\([^)]*?\)|[\w$_]+)\s*(:[^=]+)?=>|^\s*(async\s+)?function(?:\s+[\w$]+)?\s*\(/,uie=e=>lie.test(v3(e)),cie=uie;function Dr(e,t,r=!1){for(let n=0;n<e.props.length;n++){const i=e.props[n];if(i.type===7&&(r||i.exp)&&(Se(t)?i.name===t:t.test(i.name)))return i}}function ch(e,t,r=!1,n=!1){for(let i=0;i<e.props.length;i++){const o=e.props[i];if(o.type===6){if(r)continue;if(o.name===t&&(o.value||n))return o}else if(o.name==="bind"&&(o.exp||n)&&lo(o.arg,t))return o}}function lo(e,t){return!!(e&&dr(e)&&e.content===t)}function pie(e){return e.props.some(t=>t.type===7&&t.name==="bind"&&(!t.arg||t.arg.type!==4||!t.arg.isStatic))}function Gh(e){return e.type===5||e.type===2}function die(e){return e.type===7&&e.name==="slot"}function Gp(e){return e.type===1&&e.tagType===3}function Yp(e){return e.type===1&&e.tagType===2}const fie=new Set([zl,Mu]);function E3(e,t=[]){if(e&&!Se(e)&&e.type===14){const r=e.callee;if(!Se(r)&&fie.has(r))return E3(e.arguments[0],t.concat(e))}return[e,t]}function Xp(e,t,r){let n,i=e.type===13?e.props:e.arguments[2],o=[],s;if(i&&!Se(i)&&i.type===14){const l=E3(i);i=l[0],o=l[1],s=o[o.length-1]}if(i==null||Se(i))n=Lr([t]);else if(i.type===14){const l=i.arguments[0];!Se(l)&&l.type===15?xS(t,l)||l.properties.unshift(t):i.callee===vw?n=It(r.helper(Wp),[Lr([t]),i]):i.arguments.unshift(Lr([t])),!n&&(n=i)}else i.type===15?(xS(t,i)||i.properties.unshift(t),n=i):(n=It(r.helper(Wp),[Lr([t]),i]),s&&s.callee===Mu&&(s=o[o.length-2]));e.type===13?s?s.arguments[0]=n:e.props=n:s?s.arguments[0]=n:e.arguments[2]=n}function xS(e,t){let r=!1;if(e.key.type===4){const n=e.key.content;r=t.properties.some(i=>i.key.type===4&&i.key.content===n)}return r}function Yl(e,t){return`_${t}_${e.replace(/[^\w]/g,(r,n)=>r==="-"?"_":e.charCodeAt(n).toString())}`}function hie(e){return e.type===14&&e.callee===Ew?e.arguments[1].returns:e}const mie=/([\s\S]*?)\s+(?:in|of)\s+(\S[\s\S]*)/,w3={parseMode:"base",ns:0,delimiters:["{{","}}"],getNamespace:()=>0,isVoidTag:Ha,isPreTag:Ha,isIgnoreNewlineTag:Ha,isCustomElement:Ha,onError:xw,onWarn:g3,comments:!1,prefixIdentifiers:!1};let Je=w3,Xl=null,Gn="",Qt=null,$e=null,lr="",jn=-1,no=-1,Sw=0,wi=!1,kg=null;const at=[],mt=new rie(at,{onerr:Nn,ontext(e,t){ec(Ft(e,t),e,t)},ontextentity(e,t,r){ec(e,t,r)},oninterpolation(e,t){if(wi)return ec(Ft(e,t),e,t);let r=e+mt.delimiterOpen.length,n=t-mt.delimiterClose.length;for(;wr(Gn.charCodeAt(r));)r++;for(;wr(Gn.charCodeAt(n-1));)n--;let i=Ft(r,n);i.includes("&")&&(i=Je.decodeEntities(i,!1)),Mg({type:5,content:Rc(i,!1,Et(r,n)),loc:Et(e,t)})},onopentagname(e,t){const r=Ft(e,t);Qt={type:1,tag:r,ns:Je.getNamespace(r,at[0],Je.ns),tagType:0,props:[],children:[],loc:Et(e-1,t),codegenNode:void 0}},onopentagend(e){SS(e)},onclosetag(e,t){const r=Ft(e,t);if(!Je.isVoidTag(r)){let n=!1;for(let i=0;i<at.length;i++)if(at[i].tag.toLowerCase()===r.toLowerCase()){n=!0,i>0&&Nn(24,at[0].loc.start.offset);for(let s=0;s<=i;s++){const l=at.shift();Ac(l,t,s<i)}break}n||Nn(23,x3(e,60))}},onselfclosingtag(e){const t=Qt.tag;Qt.isSelfClosing=!0,SS(e),at[0]&&at[0].tag===t&&Ac(at.shift(),e)},onattribname(e,t){$e={type:6,name:Ft(e,t),nameLoc:Et(e,t),value:void 0,loc:Et(e)}},ondirname(e,t){const r=Ft(e,t),n=r==="."||r===":"?"bind":r==="@"?"on":r==="#"?"slot":r.slice(2);if(!wi&&n===""&&Nn(26,e),wi||n==="")$e={type:6,name:r,nameLoc:Et(e,t),value:void 0,loc:Et(e)};else if($e={type:7,name:n,rawName:r,exp:void 0,arg:void 0,modifiers:r==="."?[Oe("prop")]:[],loc:Et(e)},n==="pre"){wi=mt.inVPre=!0,kg=Qt;const i=Qt.props;for(let o=0;o<i.length;o++)i[o].type===7&&(i[o]=Cie(i[o]))}},ondirarg(e,t){if(e===t)return;const r=Ft(e,t);if(wi)$e.name+=r,uo($e.nameLoc,t);else{const n=r[0]!=="[";$e.arg=Rc(n?r:r.slice(1,-1),n,Et(e,t),n?3:0)}},ondirmodifier(e,t){const r=Ft(e,t);if(wi)$e.name+="."+r,uo($e.nameLoc,t);else if($e.name==="slot"){const n=$e.arg;n&&(n.content+="."+r,uo(n.loc,t))}else{const n=Oe(r,!0,Et(e,t));$e.modifiers.push(n)}},onattribdata(e,t){lr+=Ft(e,t),jn<0&&(jn=e),no=t},onattribentity(e,t,r){lr+=e,jn<0&&(jn=t),no=r},onattribnameend(e){const t=$e.loc.start.offset,r=Ft(t,e);$e.type===7&&($e.rawName=r),Qt.props.some(n=>(n.type===7?n.rawName:n.name)===r)&&Nn(2,t)},onattribend(e,t){if(Qt&&$e){if(uo($e.loc,t),e!==0)if(lr.includes("&")&&(lr=Je.decodeEntities(lr,!0)),$e.type===6)$e.name==="class"&&(lr=S3(lr).trim()),e===1&&!lr&&Nn(13,t),$e.value={type:2,content:lr,loc:e===1?Et(jn,no):Et(jn-1,no+1)},mt.inSFCRoot&&Qt.tag==="template"&&$e.name==="lang"&&lr&&lr!=="html"&&mt.enterRCDATA(Kp("</template"),0);else{let r=0;$e.exp=Rc(lr,!1,Et(jn,no),0,r),$e.name==="for"&&($e.forParseResult=gie($e.exp));let n=-1;$e.name==="bind"&&(n=$e.modifiers.findIndex(i=>i.content==="sync"))>-1&&Gl("COMPILER_V_BIND_SYNC",Je,$e.loc,$e.arg.loc.source)&&($e.name="model",$e.modifiers.splice(n,1))}($e.type!==7||$e.name!=="pre")&&Qt.props.push($e)}lr="",jn=no=-1},oncomment(e,t){Je.comments&&Mg({type:3,content:Ft(e,t),loc:Et(e-4,t+3)})},onend(){const e=Gn.length;for(let t=0;t<at.length;t++)Ac(at[t],e-1),Nn(24,at[t].loc.start.offset)},oncdata(e,t){at[0].ns!==0?ec(Ft(e,t),e,t):Nn(1,e-9)},onprocessinginstruction(e){(at[0]?at[0].ns:Je.ns)===0&&Nn(21,e-1)}}),TS=/,([^,\}\]]*)(?:,([^,\}\]]*))?$/,yie=/^\(|\)$/g;function gie(e){const t=e.loc,r=e.content,n=r.match(mie);if(!n)return;const[,i,o]=n,s=(d,f,h=!1)=>{const y=t.start.offset+f,b=y+d.length;return Rc(d,!1,Et(y,b),0,h?1:0)},l={source:s(o.trim(),r.indexOf(o,i.length)),value:void 0,key:void 0,index:void 0,finalized:!1};let u=i.trim().replace(yie,"").trim();const c=i.indexOf(u),p=u.match(TS);if(p){u=u.replace(TS,"").trim();const d=p[1].trim();let f;if(d&&(f=r.indexOf(d,c+u.length),l.key=s(d,f,!0)),p[2]){const h=p[2].trim();h&&(l.index=s(h,r.indexOf(h,l.key?f+d.length:c+u.length),!0))}}return u&&(l.value=s(u,c,!0)),l}function Ft(e,t){return Gn.slice(e,t)}function SS(e){mt.inSFCRoot&&(Qt.innerLoc=Et(e+1,e+1)),Mg(Qt);const{tag:t,ns:r}=Qt;r===0&&Je.isPreTag(t)&&Sw++,Je.isVoidTag(t)?Ac(Qt,e):(at.unshift(Qt),(r===1||r===2)&&(mt.inXML=!0)),Qt=null}function ec(e,t,r){{const o=at[0]&&at[0].tag;o!=="script"&&o!=="style"&&e.includes("&")&&(e=Je.decodeEntities(e,!1))}const n=at[0]||Xl,i=n.children[n.children.length-1];i&&i.type===2?(i.content+=e,uo(i.loc,r)):n.children.push({type:2,content:e,loc:Et(t,r)})}function Ac(e,t,r=!1){r?uo(e.loc,x3(t,60)):uo(e.loc,bie(t,62)+1),mt.inSFCRoot&&(e.children.length?e.innerLoc.end=qe({},e.children[e.children.length-1].loc.end):e.innerLoc.end=qe({},e.innerLoc.start),e.innerLoc.source=Ft(e.innerLoc.start.offset,e.innerLoc.end.offset));const{tag:n,ns:i,children:o}=e;if(wi||(n==="slot"?e.tagType=2:CS(e)?e.tagType=3:_ie(e)&&(e.tagType=1)),mt.inRCDATA||(e.children=T3(o)),i===0&&Je.isIgnoreNewlineTag(n)){const s=o[0];s&&s.type===2&&(s.content=s.content.replace(/^\r?\n/,""))}i===0&&Je.isPreTag(n)&&Sw--,kg===e&&(wi=mt.inVPre=!1,kg=null),mt.inXML&&(at[0]?at[0].ns:Je.ns)===0&&(mt.inXML=!1);{const s=e.props;if(!mt.inSFCRoot&&wo("COMPILER_NATIVE_TEMPLATE",Je)&&e.tag==="template"&&!CS(e)){const u=at[0]||Xl,c=u.children.indexOf(e);u.children.splice(c,1,...e.children)}const l=s.find(u=>u.type===6&&u.name==="inline-template");l&&Gl("COMPILER_INLINE_TEMPLATE",Je,l.loc)&&e.children.length&&(l.value={type:2,content:Ft(e.children[0].loc.start.offset,e.children[e.children.length-1].loc.end.offset),loc:l.loc})}}function bie(e,t){let r=e;for(;Gn.charCodeAt(r)!==t&&r<Gn.length-1;)r++;return r}function x3(e,t){let r=e;for(;Gn.charCodeAt(r)!==t&&r>=0;)r--;return r}const vie=new Set(["if","else","else-if","for","slot"]);function CS({tag:e,props:t}){if(e==="template"){for(let r=0;r<t.length;r++)if(t[r].type===7&&vie.has(t[r].name))return!0}return!1}function _ie({tag:e,props:t}){if(Je.isCustomElement(e))return!1;if(e==="component"||Eie(e.charCodeAt(0))||b3(e)||Je.isBuiltInComponent&&Je.isBuiltInComponent(e)||Je.isNativeTag&&!Je.isNativeTag(e))return!0;for(let r=0;r<t.length;r++){const n=t[r];if(n.type===6){if(n.name==="is"&&n.value){if(n.value.content.startsWith("vue:"))return!0;if(Gl("COMPILER_IS_ON_ELEMENT",Je,n.loc))return!0}}else if(n.name==="bind"&&lo(n.arg,"is")&&Gl("COMPILER_IS_ON_ELEMENT",Je,n.loc))return!0}return!1}function Eie(e){return e>64&&e<91}const wie=/\r\n/g;function T3(e){const t=Je.whitespace!=="preserve";let r=!1;for(let n=0;n<e.length;n++){const i=e[n];if(i.type===2)if(Sw)i.content=i.content.replace(wie,`
|
|
1048
|
-
`);else if(xie(i.content)){const o=e[n-1]&&e[n-1].type,s=e[n+1]&&e[n+1].type;!o||!s||t&&(o===3&&(s===3||s===1)||o===1&&(s===3||s===1&&Tie(i.content)))?(r=!0,e[n]=null):i.content=" "}else t&&(i.content=S3(i.content))}return r?e.filter(Boolean):e}function xie(e){for(let t=0;t<e.length;t++)if(!wr(e.charCodeAt(t)))return!1;return!0}function Tie(e){for(let t=0;t<e.length;t++){const r=e.charCodeAt(t);if(r===10||r===13)return!0}return!1}function S3(e){let t="",r=!1;for(let n=0;n<e.length;n++)wr(e.charCodeAt(n))?r||(t+=" ",r=!0):(t+=e[n],r=!1);return t}function Mg(e){(at[0]||Xl).children.push(e)}function Et(e,t){return{start:mt.getPos(e),end:t==null?t:mt.getPos(t),source:t==null?t:Ft(e,t)}}function Sie(e){return Et(e.start.offset,e.end.offset)}function uo(e,t){e.end=mt.getPos(t),e.source=Ft(e.start.offset,t)}function Cie(e){const t={type:6,name:e.rawName,nameLoc:Et(e.loc.start.offset,e.loc.start.offset+e.rawName.length),value:void 0,loc:e.loc};if(e.exp){const r=e.exp.loc;r.end.offset<e.loc.end.offset&&(r.start.offset--,r.start.column--,r.end.offset++,r.end.column++),t.value={type:2,content:e.exp.content,loc:r}}return t}function Rc(e,t=!1,r,n=0,i=0){return Oe(e,t,r,n)}function Nn(e,t,r){Je.onError(lt(e,Et(t,t)))}function Oie(){mt.reset(),Qt=null,$e=null,lr="",jn=-1,no=-1,at.length=0}function Pie(e,t){if(Oie(),Gn=e,Je=qe({},w3),t){let i;for(i in t)t[i]!=null&&(Je[i]=t[i])}mt.mode=Je.parseMode==="html"?1:Je.parseMode==="sfc"?2:0,mt.inXML=Je.ns===1||Je.ns===2;const r=t&&t.delimiters;r&&(mt.delimiterOpen=Kp(r[0]),mt.delimiterClose=Kp(r[1]));const n=Xl=Zne([],e);return mt.parse(Gn),n.loc=Et(0,e.length),n.children=T3(n.children),Xl=null,n}function Aie(e,t){Nc(e,void 0,t,!!C3(e))}function C3(e){const t=e.children.filter(r=>r.type!==3);return t.length===1&&t[0].type===1&&!Yp(t[0])?t[0]:null}function Nc(e,t,r,n=!1,i=!1){const{children:o}=e,s=[];for(let d=0;d<o.length;d++){const f=o[d];if(f.type===1&&f.tagType===0){const h=n?0:Tr(f,r);if(h>0){if(h>=2){f.codegenNode.patchFlag=-1,s.push(f);continue}}else{const y=f.codegenNode;if(y.type===13){const b=y.patchFlag;if((b===void 0||b===512||b===1)&&P3(f,r)>=2){const g=A3(f);g&&(y.props=r.hoist(g))}y.dynamicProps&&(y.dynamicProps=r.hoist(y.dynamicProps))}}}else if(f.type===12&&(n?0:Tr(f,r))>=2){s.push(f);continue}if(f.type===1){const h=f.tagType===1;h&&r.scopes.vSlot++,Nc(f,e,r,!1,i),h&&r.scopes.vSlot--}else if(f.type===11)Nc(f,e,r,f.children.length===1,!0);else if(f.type===9)for(let h=0;h<f.branches.length;h++)Nc(f.branches[h],e,r,f.branches[h].children.length===1,i)}let l=!1;const u=[];if(s.length===o.length&&e.type===1){if(e.tagType===0&&e.codegenNode&&e.codegenNode.type===13&&ge(e.codegenNode.children))e.codegenNode.children=c(Eo(e.codegenNode.children)),l=!0;else if(e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!ge(e.codegenNode.children)&&e.codegenNode.children.type===15){const d=p(e.codegenNode,"default");d&&(u.push(r.cached.length),d.returns=c(Eo(d.returns)),l=!0)}else if(e.tagType===3&&t&&t.type===1&&t.tagType===1&&t.codegenNode&&t.codegenNode.type===13&&t.codegenNode.children&&!ge(t.codegenNode.children)&&t.codegenNode.children.type===15){const d=Dr(e,"slot",!0),f=d&&d.arg&&p(t.codegenNode,d.arg);f&&(u.push(r.cached.length),f.returns=c(Eo(f.returns)),l=!0)}}if(!l)for(const d of s)u.push(r.cached.length),d.codegenNode=r.cache(d.codegenNode);u.length&&e.type===1&&e.tagType===1&&e.codegenNode&&e.codegenNode.type===13&&e.codegenNode.children&&!ge(e.codegenNode.children)&&e.codegenNode.children.type===15&&e.codegenNode.children.properties.push(bt("__",Oe(JSON.stringify(u),!1)));function c(d){const f=r.cache(d);return i&&r.hmr&&(f.needArraySpread=!0),f}function p(d,f){if(d.children&&!ge(d.children)&&d.children.type===15){const h=d.children.properties.find(y=>y.key===f||y.key.content===f);return h&&h.value}}s.length&&r.transformHoist&&r.transformHoist(o,r,e)}function Tr(e,t){const{constantCache:r}=t;switch(e.type){case 1:if(e.tagType!==0)return 0;const n=r.get(e);if(n!==void 0)return n;const i=e.codegenNode;if(i.type!==13||i.isBlock&&e.tag!=="svg"&&e.tag!=="foreignObject"&&e.tag!=="math")return 0;if(i.patchFlag===void 0){let s=3;const l=P3(e,t);if(l===0)return r.set(e,0),0;l<s&&(s=l);for(let u=0;u<e.children.length;u++){const c=Tr(e.children[u],t);if(c===0)return r.set(e,0),0;c<s&&(s=c)}if(s>1)for(let u=0;u<e.props.length;u++){const c=e.props[u];if(c.type===7&&c.name==="bind"&&c.exp){const p=Tr(c.exp,t);if(p===0)return r.set(e,0),0;p<s&&(s=p)}}if(i.isBlock){for(let u=0;u<e.props.length;u++)if(e.props[u].type===7)return r.set(e,0),0;t.removeHelper(Do),t.removeHelper(na(t.inSSR,i.isComponent)),i.isBlock=!1,t.helper(ra(t.inSSR,i.isComponent))}return r.set(e,s),s}else return r.set(e,0),0;case 2:case 3:return 3;case 9:case 11:case 10:return 0;case 5:case 12:return Tr(e.content,t);case 4:return e.constType;case 8:let o=3;for(let s=0;s<e.children.length;s++){const l=e.children[s];if(Se(l)||yr(l))continue;const u=Tr(l,t);if(u===0)return 0;u<o&&(o=u)}return o;case 20:return 2;default:return 0}}const Rie=new Set([gw,bw,zl,Mu]);function O3(e,t){if(e.type===14&&!Se(e.callee)&&Rie.has(e.callee)){const r=e.arguments[0];if(r.type===4)return Tr(r,t);if(r.type===14)return O3(r,t)}return 0}function P3(e,t){let r=3;const n=A3(e);if(n&&n.type===15){const{properties:i}=n;for(let o=0;o<i.length;o++){const{key:s,value:l}=i[o],u=Tr(s,t);if(u===0)return u;u<r&&(r=u);let c;if(l.type===4?c=Tr(l,t):l.type===14?c=O3(l,t):c=0,c===0)return c;c<r&&(r=c)}}return r}function A3(e){const t=e.codegenNode;if(t.type===13)return t.props}function Nie(e,{filename:t="",prefixIdentifiers:r=!1,hoistStatic:n=!1,hmr:i=!1,cacheHandlers:o=!1,nodeTransforms:s=[],directiveTransforms:l={},transformHoist:u=null,isBuiltInComponent:c=Vt,isCustomElement:p=Vt,expressionPlugins:d=[],scopeId:f=null,slotted:h=!0,ssr:y=!1,inSSR:b=!1,ssrCssVars:g="",bindingMetadata:m=Me,inline:v=!1,isTS:S=!1,onError:O=xw,onWarn:P=g3,compatConfig:x}){const E=t.replace(/\?.*$/,"").match(/([^/\\]+)\.\w+$/),_={filename:t,selfName:E&&Wi(et(E[1])),prefixIdentifiers:r,hoistStatic:n,hmr:i,cacheHandlers:o,nodeTransforms:s,directiveTransforms:l,transformHoist:u,isBuiltInComponent:c,isCustomElement:p,expressionPlugins:d,scopeId:f,slotted:h,ssr:y,inSSR:b,ssrCssVars:g,bindingMetadata:m,inline:v,isTS:S,onError:O,onWarn:P,compatConfig:x,root:e,helpers:new Map,components:new Set,directives:new Set,hoists:[],imports:[],cached:[],constantCache:new WeakMap,temps:0,identifiers:Object.create(null),scopes:{vFor:0,vSlot:0,vPre:0,vOnce:0},parent:null,grandParent:null,currentNode:e,childIndex:0,inVOnce:!1,helper(C){const w=_.helpers.get(C)||0;return _.helpers.set(C,w+1),C},removeHelper(C){const w=_.helpers.get(C);if(w){const A=w-1;A?_.helpers.set(C,A):_.helpers.delete(C)}},helperString(C){return`_${ea[_.helper(C)]}`},replaceNode(C){_.parent.children[_.childIndex]=_.currentNode=C},removeNode(C){const w=_.parent.children,A=C?w.indexOf(C):_.currentNode?_.childIndex:-1;!C||C===_.currentNode?(_.currentNode=null,_.onNodeRemoved()):_.childIndex>A&&(_.childIndex--,_.onNodeRemoved()),_.parent.children.splice(A,1)},onNodeRemoved:Vt,addIdentifiers(C){},removeIdentifiers(C){},hoist(C){Se(C)&&(C=Oe(C)),_.hoists.push(C);const w=Oe(`_hoisted_${_.hoists.length}`,!1,C.loc,2);return w.hoisted=C,w},cache(C,w=!1,A=!1){const I=eie(_.cached.length,C,w,A);return _.cached.push(I),I}};return _.filters=new Set,_}function Iie(e,t){const r=Nie(e,t);ph(e,r),t.hoistStatic&&Aie(e,r),t.ssr||kie(e,r),e.helpers=new Set([...r.helpers.keys()]),e.components=[...r.components],e.directives=[...r.directives],e.imports=r.imports,e.hoists=r.hoists,e.temps=r.temps,e.cached=r.cached,e.transformed=!0,e.filters=[...r.filters]}function kie(e,t){const{helper:r}=t,{children:n}=e;if(n.length===1){const i=C3(e);if(i&&i.codegenNode){const o=i.codegenNode;o.type===13&&ww(o,t),e.codegenNode=o}else e.codegenNode=n[0]}else if(n.length>1){let i=64;e.codegenNode=Kl(t,r(Wl),void 0,e.children,i,void 0,void 0,!0,void 0,!1)}}function Mie(e,t){let r=0;const n=()=>{r--};for(;r<e.children.length;r++){const i=e.children[r];Se(i)||(t.grandParent=t.parent,t.parent=e,t.childIndex=r,t.onNodeRemoved=n,ph(i,t))}}function ph(e,t){t.currentNode=e;const{nodeTransforms:r}=t,n=[];for(let o=0;o<r.length;o++){const s=r[o](e,t);if(s&&(ge(s)?n.push(...s):n.push(s)),t.currentNode)e=t.currentNode;else return}switch(e.type){case 3:t.ssr||t.helper(ku);break;case 5:t.ssr||t.helper(uh);break;case 9:for(let o=0;o<e.branches.length;o++)ph(e.branches[o],t);break;case 10:case 11:case 1:case 0:Mie(e,t);break}t.currentNode=e;let i=n.length;for(;i--;)n[i]()}function R3(e,t){const r=Se(e)?n=>n===e:n=>e.test(n);return(n,i)=>{if(n.type===1){const{props:o}=n;if(n.tagType===3&&o.some(die))return;const s=[];for(let l=0;l<o.length;l++){const u=o[l];if(u.type===7&&r(u.name)){o.splice(l,1),l--;const c=t(n,u,i);c&&s.push(c)}}return s}}}const dh="/*@__PURE__*/",N3=e=>`${ea[e]}: _${ea[e]}`;function qie(e,{mode:t="function",prefixIdentifiers:r=t==="module",sourceMap:n=!1,filename:i="template.vue.html",scopeId:o=null,optimizeImports:s=!1,runtimeGlobalName:l="Vue",runtimeModuleName:u="vue",ssrRuntimeModuleName:c="vue/server-renderer",ssr:p=!1,isTS:d=!1,inSSR:f=!1}){const h={mode:t,prefixIdentifiers:r,sourceMap:n,filename:i,scopeId:o,optimizeImports:s,runtimeGlobalName:l,runtimeModuleName:u,ssrRuntimeModuleName:c,ssr:p,isTS:d,inSSR:f,source:e.source,code:"",column:1,line:1,offset:0,indentLevel:0,pure:!1,map:void 0,helper(b){return`_${ea[b]}`},push(b,g=-2,m){h.code+=b},indent(){y(++h.indentLevel)},deindent(b=!1){b?--h.indentLevel:y(--h.indentLevel)},newline(){y(h.indentLevel)}};function y(b){h.push(`
|
|
1049
|
-
`+" ".repeat(b),0)}return h}function jie(e,t={}){const r=qie(e,t);t.onContextCreated&&t.onContextCreated(r);const{mode:n,push:i,prefixIdentifiers:o,indent:s,deindent:l,newline:u,scopeId:c,ssr:p}=r,d=Array.from(e.helpers),f=d.length>0,h=!o&&n!=="module";Die(e,r);const b=p?"ssrRender":"render",m=(p?["_ctx","_push","_parent","_attrs"]:["_ctx","_cache"]).join(", ");if(i(`function ${b}(${m}) {`),s(),h&&(i("with (_ctx) {"),s(),f&&(i(`const { ${d.map(N3).join(", ")} } = _Vue
|
|
1050
|
-
`,-1),u())),e.components.length&&(Yh(e.components,"component",r),(e.directives.length||e.temps>0)&&u()),e.directives.length&&(Yh(e.directives,"directive",r),e.temps>0&&u()),e.filters&&e.filters.length&&(u(),Yh(e.filters,"filter",r),u()),e.temps>0){i("let ");for(let v=0;v<e.temps;v++)i(`${v>0?", ":""}_temp${v}`)}return(e.components.length||e.directives.length||e.temps)&&(i(`
|
|
1051
|
-
`,0),u()),p||i("return "),e.codegenNode?rr(e.codegenNode,r):i("null"),h&&(l(),i("}")),l(),i("}"),{ast:e,code:r.code,preamble:"",map:r.map?r.map.toJSON():void 0}}function Die(e,t){const{ssr:r,prefixIdentifiers:n,push:i,newline:o,runtimeModuleName:s,runtimeGlobalName:l,ssrRuntimeModuleName:u}=t,c=l,p=Array.from(e.helpers);if(p.length>0&&(i(`const _Vue = ${c}
|
|
1052
|
-
`,-1),e.hoists.length)){const d=[lw,uw,ku,cw,f3].filter(f=>p.includes(f)).map(N3).join(", ");i(`const { ${d} } = _Vue
|
|
1053
|
-
`,-1)}Lie(e.hoists,t),o(),i("return ")}function Yh(e,t,{helper:r,push:n,newline:i,isTS:o}){const s=r(t==="filter"?hw:t==="component"?pw:fw);for(let l=0;l<e.length;l++){let u=e[l];const c=u.endsWith("__self");c&&(u=u.slice(0,-6)),n(`const ${Yl(u,t)} = ${s}(${JSON.stringify(u)}${c?", true":""})${o?"!":""}`),l<e.length-1&&i()}}function Lie(e,t){if(!e.length)return;t.pure=!0;const{push:r,newline:n}=t;n();for(let i=0;i<e.length;i++){const o=e[i];o&&(r(`const _hoisted_${i+1} = `),rr(o,t),n())}t.pure=!1}function Cw(e,t){const r=e.length>3||!1;t.push("["),r&&t.indent(),qu(e,t,r),r&&t.deindent(),t.push("]")}function qu(e,t,r=!1,n=!0){const{push:i,newline:o}=t;for(let s=0;s<e.length;s++){const l=e[s];Se(l)?i(l,-3):ge(l)?Cw(l,t):rr(l,t),s<e.length-1&&(r?(n&&i(","),o()):n&&i(", "))}}function rr(e,t){if(Se(e)){t.push(e,-3);return}if(yr(e)){t.push(t.helper(e));return}switch(e.type){case 1:case 9:case 11:rr(e.codegenNode,t);break;case 2:$ie(e,t);break;case 4:I3(e,t);break;case 5:Fie(e,t);break;case 12:rr(e.codegenNode,t);break;case 8:k3(e,t);break;case 3:Uie(e,t);break;case 13:Vie(e,t);break;case 14:Jie(e,t);break;case 15:Wie(e,t);break;case 17:zie(e,t);break;case 18:Kie(e,t);break;case 19:Gie(e,t);break;case 20:Yie(e,t);break;case 21:qu(e.body,t,!0,!1);break}}function $ie(e,t){t.push(JSON.stringify(e.content),-3,e)}function I3(e,t){const{content:r,isStatic:n}=e;t.push(n?JSON.stringify(r):r,-3,e)}function Fie(e,t){const{push:r,helper:n,pure:i}=t;i&&r(dh),r(`${n(uh)}(`),rr(e.content,t),r(")")}function k3(e,t){for(let r=0;r<e.children.length;r++){const n=e.children[r];Se(n)?t.push(n,-3):rr(n,t)}}function Bie(e,t){const{push:r}=t;if(e.type===8)r("["),k3(e,t),r("]");else if(e.isStatic){const n=Tw(e.content)?e.content:JSON.stringify(e.content);r(n,-2,e)}else r(`[${e.content}]`,-3,e)}function Uie(e,t){const{push:r,helper:n,pure:i}=t;i&&r(dh),r(`${n(ku)}(${JSON.stringify(e.content)})`,-3,e)}function Vie(e,t){const{push:r,helper:n,pure:i}=t,{tag:o,props:s,children:l,patchFlag:u,dynamicProps:c,directives:p,isBlock:d,disableTracking:f,isComponent:h}=e;let y;u&&(y=String(u)),p&&r(n(mw)+"("),d&&r(`(${n(Do)}(${f?"true":""}), `),i&&r(dh);const b=d?na(t.inSSR,h):ra(t.inSSR,h);r(n(b)+"(",-2,e),qu(Hie([o,s,l,y,c]),t),r(")"),d&&r(")"),p&&(r(", "),rr(p,t),r(")"))}function Hie(e){let t=e.length;for(;t--&&e[t]==null;);return e.slice(0,t+1).map(r=>r||"null")}function Jie(e,t){const{push:r,helper:n,pure:i}=t,o=Se(e.callee)?e.callee:n(e.callee);i&&r(dh),r(o+"(",-2,e),qu(e.arguments,t),r(")")}function Wie(e,t){const{push:r,indent:n,deindent:i,newline:o}=t,{properties:s}=e;if(!s.length){r("{}",-2,e);return}const l=s.length>1||!1;r(l?"{":"{ "),l&&n();for(let u=0;u<s.length;u++){const{key:c,value:p}=s[u];Bie(c,t),r(": "),rr(p,t),u<s.length-1&&(r(","),o())}l&&i(),r(l?"}":" }")}function zie(e,t){Cw(e.elements,t)}function Kie(e,t){const{push:r,indent:n,deindent:i}=t,{params:o,returns:s,body:l,newline:u,isSlot:c}=e;c&&r(`_${ea[_w]}(`),r("(",-2,e),ge(o)?qu(o,t):o&&rr(o,t),r(") => "),(u||l)&&(r("{"),n()),s?(u&&r("return "),ge(s)?Cw(s,t):rr(s,t)):l&&rr(l,t),(u||l)&&(i(),r("}")),c&&(e.isNonScopedSlot&&r(", undefined, true"),r(")"))}function Gie(e,t){const{test:r,consequent:n,alternate:i,newline:o}=e,{push:s,indent:l,deindent:u,newline:c}=t;if(r.type===4){const d=!Tw(r.content);d&&s("("),I3(r,t),d&&s(")")}else s("("),rr(r,t),s(")");o&&l(),t.indentLevel++,o||s(" "),s("? "),rr(n,t),t.indentLevel--,o&&c(),o||s(" "),s(": ");const p=i.type===19;p||t.indentLevel++,rr(i,t),p||t.indentLevel--,o&&u(!0)}function Yie(e,t){const{push:r,helper:n,indent:i,deindent:o,newline:s}=t,{needPauseTracking:l,needArraySpread:u}=e;u&&r("[...("),r(`_cache[${e.index}] || (`),l&&(i(),r(`${n(zp)}(-1`),e.inVOnce&&r(", true"),r("),"),s(),r("(")),r(`_cache[${e.index}] = `),rr(e.value,t),l&&(r(`).cacheIndex = ${e.index},`),s(),r(`${n(zp)}(1),`),s(),r(`_cache[${e.index}]`),o()),r(")"),u&&r(")]")}new RegExp("\\b"+"arguments,await,break,case,catch,class,const,continue,debugger,default,delete,do,else,export,extends,finally,for,function,if,import,let,new,return,super,switch,throw,try,var,void,while,with,yield".split(",").join("\\b|\\b")+"\\b");const Xie=R3(/^(if|else|else-if)$/,(e,t,r)=>Qie(e,t,r,(n,i,o)=>{const s=r.parent.children;let l=s.indexOf(n),u=0;for(;l-->=0;){const c=s[l];c&&c.type===9&&(u+=c.branches.length)}return()=>{if(o)n.codegenNode=PS(i,u,r);else{const c=Zie(n.codegenNode);c.alternate=PS(i,u+n.branches.length-1,r)}}}));function Qie(e,t,r,n){if(t.name!=="else"&&(!t.exp||!t.exp.content.trim())){const i=t.exp?t.exp.loc:e.loc;r.onError(lt(28,t.loc)),t.exp=Oe("true",!1,i)}if(t.name==="if"){const i=OS(e,t),o={type:9,loc:Sie(e.loc),branches:[i]};if(r.replaceNode(o),n)return n(o,i,!0)}else{const i=r.parent.children;let o=i.indexOf(e);for(;o-->=-1;){const s=i[o];if(s&&s.type===3){r.removeNode(s);continue}if(s&&s.type===2&&!s.content.trim().length){r.removeNode(s);continue}if(s&&s.type===9){t.name==="else-if"&&s.branches[s.branches.length-1].condition===void 0&&r.onError(lt(30,e.loc)),r.removeNode();const l=OS(e,t);s.branches.push(l);const u=n&&n(s,l,!1);ph(l,r),u&&u(),r.currentNode=null}else r.onError(lt(30,e.loc));break}}}function OS(e,t){const r=e.tagType===3;return{type:10,loc:e.loc,condition:t.name==="else"?void 0:t.exp,children:r&&!Dr(e,"for")?e.children:[e],userKey:ch(e,"key"),isTemplateIf:r}}function PS(e,t,r){return e.condition?Ig(e.condition,AS(e,t,r),It(r.helper(ku),['""',"true"])):AS(e,t,r)}function AS(e,t,r){const{helper:n}=r,i=bt("key",Oe(`${t}`,!1,Nr,2)),{children:o}=e,s=o[0];if(o.length!==1||s.type!==1)if(o.length===1&&s.type===11){const u=s.codegenNode;return Xp(u,i,r),u}else return Kl(r,n(Wl),Lr([i]),o,64,void 0,void 0,!0,!1,!1,e.loc);else{const u=s.codegenNode,c=hie(u);return c.type===13&&ww(c,r),Xp(c,i,r),u}}function Zie(e){for(;;)if(e.type===19)if(e.alternate.type===19)e=e.alternate;else return e;else e.type===20&&(e=e.value)}const eoe=(e,t,r)=>{const{modifiers:n,loc:i}=e,o=e.arg;let{exp:s}=e;if(s&&s.type===4&&!s.content.trim()&&(s=void 0),!s){if(o.type!==4||!o.isStatic)return r.onError(lt(52,o.loc)),{props:[bt(o,Oe("",!0,i))]};M3(e),s=e.exp}return o.type!==4?(o.children.unshift("("),o.children.push(') || ""')):o.isStatic||(o.content=`${o.content} || ""`),n.some(l=>l.content==="camel")&&(o.type===4?o.isStatic?o.content=et(o.content):o.content=`${r.helperString(Rg)}(${o.content})`:(o.children.unshift(`${r.helperString(Rg)}(`),o.children.push(")"))),r.inSSR||(n.some(l=>l.content==="prop")&&RS(o,"."),n.some(l=>l.content==="attr")&&RS(o,"^")),{props:[bt(o,s)]}},M3=(e,t)=>{const r=e.arg,n=et(r.content);e.exp=Oe(n,!1,r.loc)},RS=(e,t)=>{e.type===4?e.isStatic?e.content=t+e.content:e.content=`\`${t}\${${e.content}}\``:(e.children.unshift(`'${t}' + (`),e.children.push(")"))},toe=R3("for",(e,t,r)=>{const{helper:n,removeHelper:i}=r;return roe(e,t,r,o=>{const s=It(n(yw),[o.source]),l=Gp(e),u=Dr(e,"memo"),c=ch(e,"key",!1,!0);c&&c.type===7&&!c.exp&&M3(c);let d=c&&(c.type===6?c.value?Oe(c.value.content,!0):void 0:c.exp);const f=c&&d?bt("key",d):null,h=o.source.type===4&&o.source.constType>0,y=h?64:c?128:256;return o.codegenNode=Kl(r,n(Wl),void 0,s,y,void 0,void 0,!0,!h,!1,e.loc),()=>{let b;const{children:g}=o,m=g.length!==1||g[0].type!==1,v=Yp(e)?e:l&&e.children.length===1&&Yp(e.children[0])?e.children[0]:null;if(v?(b=v.codegenNode,l&&f&&Xp(b,f,r)):m?b=Kl(r,n(Wl),f?Lr([f]):void 0,e.children,64,void 0,void 0,!0,void 0,!1):(b=g[0].codegenNode,l&&f&&Xp(b,f,r),b.isBlock!==!h&&(b.isBlock?(i(Do),i(na(r.inSSR,b.isComponent))):i(ra(r.inSSR,b.isComponent))),b.isBlock=!h,b.isBlock?(n(Do),n(na(r.inSSR,b.isComponent))):n(ra(r.inSSR,b.isComponent))),u){const S=ta(qg(o.parseResult,[Oe("_cached")]));S.body=tie([en(["const _memo = (",u.exp,")"]),en(["if (_cached",...d?[" && _cached.key === ",d]:[],` && ${r.helperString(y3)}(_cached, _memo)) return _cached`]),en(["const _item = ",b]),Oe("_item.memo = _memo"),Oe("return _item")]),s.arguments.push(S,Oe("_cache"),Oe(String(r.cached.length))),r.cached.push(null)}else s.arguments.push(ta(qg(o.parseResult),b,!0))}})});function roe(e,t,r,n){if(!t.exp){r.onError(lt(31,t.loc));return}const i=t.forParseResult;if(!i){r.onError(lt(32,t.loc));return}q3(i);const{addIdentifiers:o,removeIdentifiers:s,scopes:l}=r,{source:u,value:c,key:p,index:d}=i,f={type:11,loc:t.loc,source:u,valueAlias:c,keyAlias:p,objectIndexAlias:d,parseResult:i,children:Gp(e)?e.children:[e]};r.replaceNode(f),l.vFor++;const h=n&&n(f);return()=>{l.vFor--,h&&h()}}function q3(e,t){e.finalized||(e.finalized=!0)}function qg({value:e,key:t,index:r},n=[]){return noe([e,t,r,...n])}function noe(e){let t=e.length;for(;t--&&!e[t];);return e.slice(0,t+1).map((r,n)=>r||Oe("_".repeat(n+1),!1))}const NS=Oe("undefined",!1),ioe=(e,t)=>{if(e.type===1&&(e.tagType===1||e.tagType===3)){const r=Dr(e,"slot");if(r)return r.exp,t.scopes.vSlot++,()=>{t.scopes.vSlot--}}},ooe=(e,t,r,n)=>ta(e,r,!1,!0,r.length?r[0].loc:n);function soe(e,t,r=ooe){t.helper(_w);const{children:n,loc:i}=e,o=[],s=[];let l=t.scopes.vSlot>0||t.scopes.vFor>0;const u=Dr(e,"slot",!0);if(u){const{arg:g,exp:m}=u;g&&!dr(g)&&(l=!0),o.push(bt(g||Oe("default",!0),r(m,void 0,n,i)))}let c=!1,p=!1;const d=[],f=new Set;let h=0;for(let g=0;g<n.length;g++){const m=n[g];let v;if(!Gp(m)||!(v=Dr(m,"slot",!0))){m.type!==3&&d.push(m);continue}if(u){t.onError(lt(37,v.loc));break}c=!0;const{children:S,loc:O}=m,{arg:P=Oe("default",!0),exp:x,loc:E}=v;let _;dr(P)?_=P?P.content:"default":l=!0;const C=Dr(m,"for"),w=r(x,C,S,O);let A,I;if(A=Dr(m,"if"))l=!0,s.push(Ig(A.exp,tc(P,w,h++),NS));else if(I=Dr(m,/^else(-if)?$/,!0)){let j=g,R;for(;j--&&(R=n[j],!(R.type!==3&&jg(R))););if(R&&Gp(R)&&Dr(R,/^(else-)?if$/)){let q=s[s.length-1];for(;q.alternate.type===19;)q=q.alternate;q.alternate=I.exp?Ig(I.exp,tc(P,w,h++),NS):tc(P,w,h++)}else t.onError(lt(30,I.loc))}else if(C){l=!0;const j=C.forParseResult;j?(q3(j),s.push(It(t.helper(yw),[j.source,ta(qg(j),tc(P,w),!0)]))):t.onError(lt(32,C.loc))}else{if(_){if(f.has(_)){t.onError(lt(38,E));continue}f.add(_),_==="default"&&(p=!0)}o.push(bt(P,w))}}if(!u){const g=(m,v)=>{const S=r(m,void 0,v,i);return t.compatConfig&&(S.isNonScopedSlot=!0),bt("default",S)};c?d.length&&d.some(m=>jg(m))&&(p?t.onError(lt(39,d[0].loc)):o.push(g(void 0,d))):o.push(g(void 0,n))}const y=l?2:Ic(e.children)?3:1;let b=Lr(o.concat(bt("_",Oe(y+"",!1))),i);return s.length&&(b=It(t.helper(m3),[b,Eo(s)])),{slots:b,hasDynamicSlots:l}}function tc(e,t,r){const n=[bt("name",e),bt("fn",t)];return r!=null&&n.push(bt("key",Oe(String(r),!0))),Lr(n)}function Ic(e){for(let t=0;t<e.length;t++){const r=e[t];switch(r.type){case 1:if(r.tagType===2||Ic(r.children))return!0;break;case 9:if(Ic(r.branches))return!0;break;case 10:case 11:if(Ic(r.children))return!0;break}}return!1}function jg(e){return e.type!==2&&e.type!==12?!0:e.type===2?!!e.content.trim():jg(e.content)}const j3=new WeakMap,aoe=(e,t)=>function(){if(e=t.currentNode,!(e.type===1&&(e.tagType===0||e.tagType===1)))return;const{tag:n,props:i}=e,o=e.tagType===1;let s=o?loe(e,t):`"${n}"`;const l=Ge(s)&&s.callee===dw;let u,c,p=0,d,f,h,y=l||s===fl||s===aw||!o&&(n==="svg"||n==="foreignObject"||n==="math");if(i.length>0){const b=D3(e,t,void 0,o,l);u=b.props,p=b.patchFlag,f=b.dynamicPropNames;const g=b.directives;h=g&&g.length?Eo(g.map(m=>coe(m,t))):void 0,b.shouldUseBlock&&(y=!0)}if(e.children.length>0)if(s===Jp&&(y=!0,p|=1024),o&&s!==fl&&s!==Jp){const{slots:g,hasDynamicSlots:m}=soe(e,t);c=g,m&&(p|=1024)}else if(e.children.length===1&&s!==fl){const g=e.children[0],m=g.type,v=m===5||m===8;v&&Tr(g,t)===0&&(p|=1),v||m===2?c=g:c=e.children}else c=e.children;f&&f.length&&(d=poe(f)),e.codegenNode=Kl(t,s,u,c,p===0?void 0:p,d,h,!!y,!1,o,e.loc)};function loe(e,t,r=!1){let{tag:n}=e;const i=Dg(n),o=ch(e,"is",!1,!0);if(o)if(i||wo("COMPILER_IS_ON_ELEMENT",t)){let l;if(o.type===6?l=o.value&&Oe(o.value.content,!0):(l=o.exp,l||(l=Oe("is",!1,o.arg.loc))),l)return It(t.helper(dw),[l])}else o.type===6&&o.value.content.startsWith("vue:")&&(n=o.value.content.slice(4));const s=b3(n)||t.isBuiltInComponent(n);return s?(r||t.helper(s),s):(t.helper(pw),t.components.add(n),Yl(n,"component"))}function D3(e,t,r=e.props,n,i,o=!1){const{tag:s,loc:l,children:u}=e;let c=[];const p=[],d=[],f=u.length>0;let h=!1,y=0,b=!1,g=!1,m=!1,v=!1,S=!1,O=!1;const P=[],x=w=>{c.length&&(p.push(Lr(IS(c),l)),c=[]),w&&p.push(w)},E=()=>{t.scopes.vFor>0&&c.push(bt(Oe("ref_for",!0),Oe("true")))},_=({key:w,value:A})=>{if(dr(w)){const I=w.content,j=Jo(I);if(j&&(!n||i)&&I.toLowerCase()!=="onclick"&&I!=="onUpdate:modelValue"&&!Ri(I)&&(v=!0),j&&Ri(I)&&(O=!0),j&&A.type===14&&(A=A.arguments[0]),A.type===20||(A.type===4||A.type===8)&&Tr(A,t)>0)return;I==="ref"?b=!0:I==="class"?g=!0:I==="style"?m=!0:I!=="key"&&!P.includes(I)&&P.push(I),n&&(I==="class"||I==="style")&&!P.includes(I)&&P.push(I)}else S=!0};for(let w=0;w<r.length;w++){const A=r[w];if(A.type===6){const{loc:I,name:j,nameLoc:R,value:q}=A;let M=!0;if(j==="ref"&&(b=!0,E()),j==="is"&&(Dg(s)||q&&q.content.startsWith("vue:")||wo("COMPILER_IS_ON_ELEMENT",t)))continue;c.push(bt(Oe(j,!0,R),Oe(q?q.content:"",M,q?q.loc:I)))}else{const{name:I,arg:j,exp:R,loc:q,modifiers:M}=A,K=I==="bind",J=I==="on";if(I==="slot"){n||t.onError(lt(40,q));continue}if(I==="once"||I==="memo"||I==="is"||K&&lo(j,"is")&&(Dg(s)||wo("COMPILER_IS_ON_ELEMENT",t))||J&&o)continue;if((K&&lo(j,"key")||J&&f&&lo(j,"vue:before-update"))&&(h=!0),K&&lo(j,"ref")&&E(),!j&&(K||J)){if(S=!0,R)if(K){if(x(),wo("COMPILER_V_BIND_OBJECT_ORDER",t)){p.unshift(R);continue}E(),x(),p.push(R)}else x({type:14,loc:q,callee:t.helper(vw),arguments:n?[R]:[R,"true"]});else t.onError(lt(K?34:35,q));continue}K&&M.some(ye=>ye.content==="prop")&&(y|=32);const oe=t.directiveTransforms[I];if(oe){const{props:ye,needRuntime:ae}=oe(A,e,t);!o&&ye.forEach(_),J&&j&&!dr(j)?x(Lr(ye,l)):c.push(...ye),ae&&(d.push(A),yr(ae)&&j3.set(A,ae))}else xte(I)||(d.push(A),f&&(h=!0))}}let C;if(p.length?(x(),p.length>1?C=It(t.helper(Wp),p,l):C=p[0]):c.length&&(C=Lr(IS(c),l)),S?y|=16:(g&&!n&&(y|=2),m&&!n&&(y|=4),P.length&&(y|=8),v&&(y|=32)),!h&&(y===0||y===32)&&(b||O||d.length>0)&&(y|=512),!t.inSSR&&C)switch(C.type){case 15:let w=-1,A=-1,I=!1;for(let q=0;q<C.properties.length;q++){const M=C.properties[q].key;dr(M)?M.content==="class"?w=q:M.content==="style"&&(A=q):M.isHandlerKey||(I=!0)}const j=C.properties[w],R=C.properties[A];I?C=It(t.helper(zl),[C]):(j&&!dr(j.value)&&(j.value=It(t.helper(gw),[j.value])),R&&(m||R.value.type===4&&R.value.content.trim()[0]==="["||R.value.type===17)&&(R.value=It(t.helper(bw),[R.value])));break;case 14:break;default:C=It(t.helper(zl),[It(t.helper(Mu),[C])]);break}return{props:C,directives:d,patchFlag:y,dynamicPropNames:P,shouldUseBlock:h}}function IS(e){const t=new Map,r=[];for(let n=0;n<e.length;n++){const i=e[n];if(i.key.type===8||!i.key.isStatic){r.push(i);continue}const o=i.key.content,s=t.get(o);s?(o==="style"||o==="class"||Jo(o))&&uoe(s,i):(t.set(o,i),r.push(i))}return r}function uoe(e,t){e.value.type===17?e.value.elements.push(t.value):e.value=Eo([e.value,t.value],e.loc)}function coe(e,t){const r=[],n=j3.get(e);n?r.push(t.helperString(n)):(t.helper(fw),t.directives.add(e.name),r.push(Yl(e.name,"directive")));const{loc:i}=e;if(e.exp&&r.push(e.exp),e.arg&&(e.exp||r.push("void 0"),r.push(e.arg)),Object.keys(e.modifiers).length){e.arg||(e.exp||r.push("void 0"),r.push("void 0"));const o=Oe("true",!1,i);r.push(Lr(e.modifiers.map(s=>bt(s,o)),i))}return Eo(r,e.loc)}function poe(e){let t="[";for(let r=0,n=e.length;r<n;r++)t+=JSON.stringify(e[r]),r<n-1&&(t+=", ");return t+"]"}function Dg(e){return e==="component"||e==="Component"}const doe=(e,t)=>{if(Yp(e)){const{children:r,loc:n}=e,{slotName:i,slotProps:o}=foe(e,t),s=[t.prefixIdentifiers?"_ctx.$slots":"$slots",i,"{}","undefined","true"];let l=2;o&&(s[2]=o,l=3),r.length&&(s[3]=ta([],r,!1,!1,n),l=4),t.scopeId&&!t.slotted&&(l=5),s.splice(l),e.codegenNode=It(t.helper(h3),s,n)}};function foe(e,t){let r='"default"',n;const i=[];for(let o=0;o<e.props.length;o++){const s=e.props[o];if(s.type===6)s.value&&(s.name==="name"?r=JSON.stringify(s.value.content):(s.name=et(s.name),i.push(s)));else if(s.name==="bind"&&lo(s.arg,"name")){if(s.exp)r=s.exp;else if(s.arg&&s.arg.type===4){const l=et(s.arg.content);r=s.exp=Oe(l,!1,s.arg.loc)}}else s.name==="bind"&&s.arg&&dr(s.arg)&&(s.arg.content=et(s.arg.content)),i.push(s)}if(i.length>0){const{props:o,directives:s}=D3(e,t,i,!1,!1);n=o,s.length&&t.onError(lt(36,s[0].loc))}return{slotName:r,slotProps:n}}const L3=(e,t,r,n)=>{const{loc:i,modifiers:o,arg:s}=e;!e.exp&&!o.length&&r.onError(lt(35,i));let l;if(s.type===4)if(s.isStatic){let d=s.content;d.startsWith("vue:")&&(d=`vnode-${d.slice(4)}`);const f=t.tagType!==0||d.startsWith("vnode")||!/[A-Z]/.test(d)?go(et(d)):`on:${d}`;l=Oe(f,!0,s.loc)}else l=en([`${r.helperString(Ng)}(`,s,")"]);else l=s,l.children.unshift(`${r.helperString(Ng)}(`),l.children.push(")");let u=e.exp;u&&!u.content.trim()&&(u=void 0);let c=r.cacheHandlers&&!u&&!r.inVOnce;if(u){const d=_3(u),f=!(d||cie(u)),h=u.content.includes(";");(f||c&&d)&&(u=en([`${f?"$event":"(...args)"} => ${h?"{":"("}`,u,h?"}":")"]))}let p={props:[bt(l,u||Oe("() => {}",!1,i))]};return n&&(p=n(p)),c&&(p.props[0].value=r.cache(p.props[0].value)),p.props.forEach(d=>d.key.isHandlerKey=!0),p},hoe=(e,t)=>{if(e.type===0||e.type===1||e.type===11||e.type===10)return()=>{const r=e.children;let n,i=!1;for(let o=0;o<r.length;o++){const s=r[o];if(Gh(s)){i=!0;for(let l=o+1;l<r.length;l++){const u=r[l];if(Gh(u))n||(n=r[o]=en([s],s.loc)),n.children.push(" + ",u),r.splice(l,1),l--;else{n=void 0;break}}}}if(!(!i||r.length===1&&(e.type===0||e.type===1&&e.tagType===0&&!e.props.find(o=>o.type===7&&!t.directiveTransforms[o.name])&&e.tag!=="template")))for(let o=0;o<r.length;o++){const s=r[o];if(Gh(s)||s.type===8){const l=[];(s.type!==2||s.content!==" ")&&l.push(s),!t.ssr&&Tr(s,t)===0&&l.push("1"),r[o]={type:12,content:s,loc:s.loc,codegenNode:It(t.helper(cw),l)}}}}},kS=new WeakSet,moe=(e,t)=>{if(e.type===1&&Dr(e,"once",!0))return kS.has(e)||t.inVOnce||t.inSSR?void 0:(kS.add(e),t.inVOnce=!0,t.helper(zp),()=>{t.inVOnce=!1;const r=t.currentNode;r.codegenNode&&(r.codegenNode=t.cache(r.codegenNode,!0,!0))})},$3=(e,t,r)=>{const{exp:n,arg:i}=e;if(!n)return r.onError(lt(41,e.loc)),rc();const o=n.loc.source.trim(),s=n.type===4?n.content:o,l=r.bindingMetadata[o];if(l==="props"||l==="props-aliased")return r.onError(lt(44,n.loc)),rc();if(!s.trim()||!_3(n))return r.onError(lt(42,n.loc)),rc();const u=i||Oe("modelValue",!0),c=i?dr(i)?`onUpdate:${et(i.content)}`:en(['"onUpdate:" + ',i]):"onUpdate:modelValue";let p;const d=r.isTS?"($event: any)":"$event";p=en([`${d} => ((`,n,") = $event)"]);const f=[bt(u,e.exp),bt(c,p)];if(e.modifiers.length&&t.tagType===1){const h=e.modifiers.map(b=>b.content).map(b=>(Tw(b)?b:JSON.stringify(b))+": true").join(", "),y=i?dr(i)?`${i.content}Modifiers`:en([i,' + "Modifiers"']):"modelModifiers";f.push(bt(y,Oe(`{ ${h} }`,!1,e.loc,2)))}return rc(f)};function rc(e=[]){return{props:e}}const yoe=/[\w).+\-_$\]]/,goe=(e,t)=>{wo("COMPILER_FILTERS",t)&&(e.type===5?Qp(e.content,t):e.type===1&&e.props.forEach(r=>{r.type===7&&r.name!=="for"&&r.exp&&Qp(r.exp,t)}))};function Qp(e,t){if(e.type===4)MS(e,t);else for(let r=0;r<e.children.length;r++){const n=e.children[r];typeof n=="object"&&(n.type===4?MS(n,t):n.type===8?Qp(e,t):n.type===5&&Qp(n.content,t))}}function MS(e,t){const r=e.content;let n=!1,i=!1,o=!1,s=!1,l=0,u=0,c=0,p=0,d,f,h,y,b=[];for(h=0;h<r.length;h++)if(f=d,d=r.charCodeAt(h),n)d===39&&f!==92&&(n=!1);else if(i)d===34&&f!==92&&(i=!1);else if(o)d===96&&f!==92&&(o=!1);else if(s)d===47&&f!==92&&(s=!1);else if(d===124&&r.charCodeAt(h+1)!==124&&r.charCodeAt(h-1)!==124&&!l&&!u&&!c)y===void 0?(p=h+1,y=r.slice(0,h).trim()):g();else{switch(d){case 34:i=!0;break;case 39:n=!0;break;case 96:o=!0;break;case 40:c++;break;case 41:c--;break;case 91:u++;break;case 93:u--;break;case 123:l++;break;case 125:l--;break}if(d===47){let m=h-1,v;for(;m>=0&&(v=r.charAt(m),v===" ");m--);(!v||!yoe.test(v))&&(s=!0)}}y===void 0?y=r.slice(0,h).trim():p!==0&&g();function g(){b.push(r.slice(p,h).trim()),p=h+1}if(b.length){for(h=0;h<b.length;h++)y=boe(y,b[h],t);e.content=y,e.ast=void 0}}function boe(e,t,r){r.helper(hw);const n=t.indexOf("(");if(n<0)return r.filters.add(t),`${Yl(t,"filter")}(${e})`;{const i=t.slice(0,n),o=t.slice(n+1);return r.filters.add(i),`${Yl(i,"filter")}(${e}${o!==")"?","+o:o}`}}const qS=new WeakSet,voe=(e,t)=>{if(e.type===1){const r=Dr(e,"memo");return!r||qS.has(e)?void 0:(qS.add(e),()=>{const n=e.codegenNode||t.currentNode.codegenNode;n&&n.type===13&&(e.tagType!==1&&ww(n,t),e.codegenNode=It(t.helper(Ew),[r.exp,ta(void 0,n),"_cache",String(t.cached.length)]),t.cached.push(null))})}};function _oe(e){return[[moe,Xie,voe,toe,goe,doe,aoe,ioe,hoe],{on:L3,bind:eoe,model:$3}]}function Eoe(e,t={}){const r=t.onError||xw,n=t.mode==="module";t.prefixIdentifiers===!0?r(lt(47)):n&&r(lt(48));const i=!1;t.cacheHandlers&&r(lt(49)),t.scopeId&&!n&&r(lt(50));const o=qe({},t,{prefixIdentifiers:i}),s=Se(e)?Pie(e,o):e,[l,u]=_oe();return Iie(s,qe({},o,{nodeTransforms:[...l,...t.nodeTransforms||[]],directiveTransforms:qe({},u,t.directiveTransforms||{})})),jie(s,o)}const woe=()=>({props:[]});/**
|
|
1054
|
-
* @vue/compiler-dom v3.5.17
|
|
1055
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1056
|
-
* @license MIT
|
|
1057
|
-
**/const F3=Symbol(""),B3=Symbol(""),U3=Symbol(""),V3=Symbol(""),Lg=Symbol(""),H3=Symbol(""),J3=Symbol(""),W3=Symbol(""),z3=Symbol(""),K3=Symbol("");Qne({[F3]:"vModelRadio",[B3]:"vModelCheckbox",[U3]:"vModelText",[V3]:"vModelSelect",[Lg]:"vModelDynamic",[H3]:"withModifiers",[J3]:"withKeys",[W3]:"vShow",[z3]:"Transition",[K3]:"TransitionGroup"});let Zo;function xoe(e,t=!1){return Zo||(Zo=document.createElement("div")),t?(Zo.innerHTML=`<div foo="${e.replace(/"/g,""")}">`,Zo.children[0].getAttribute("foo")):(Zo.innerHTML=e,Zo.textContent)}const Toe={parseMode:"html",isVoidTag:$te,isNativeTag:e=>jte(e)||Dte(e)||Lte(e),isPreTag:e=>e==="pre",isIgnoreNewlineTag:e=>e==="pre"||e==="textarea",decodeEntities:xoe,isBuiltInComponent:e=>{if(e==="Transition"||e==="transition")return z3;if(e==="TransitionGroup"||e==="transition-group")return K3},getNamespace(e,t,r){let n=t?t.ns:r;if(t&&n===2)if(t.tag==="annotation-xml"){if(e==="svg")return 1;t.props.some(i=>i.type===6&&i.name==="encoding"&&i.value!=null&&(i.value.content==="text/html"||i.value.content==="application/xhtml+xml"))&&(n=0)}else/^m(?:[ions]|text)$/.test(t.tag)&&e!=="mglyph"&&e!=="malignmark"&&(n=0);else t&&n===1&&(t.tag==="foreignObject"||t.tag==="desc"||t.tag==="title")&&(n=0);if(n===0){if(e==="svg")return 1;if(e==="math")return 2}return n}},Soe=e=>{e.type===1&&e.props.forEach((t,r)=>{t.type===6&&t.name==="style"&&t.value&&(e.props[r]={type:7,name:"bind",arg:Oe("style",!0,t.loc),exp:Coe(t.value.content,t.loc),modifiers:[],loc:t.loc})})},Coe=(e,t)=>{const r=yF(e);return Oe(JSON.stringify(r),!1,t,3)};function ki(e,t){return lt(e,t)}const Ooe=(e,t,r)=>{const{exp:n,loc:i}=e;return n||r.onError(ki(53,i)),t.children.length&&(r.onError(ki(54,i)),t.children.length=0),{props:[bt(Oe("innerHTML",!0,i),n||Oe("",!0))]}},Poe=(e,t,r)=>{const{exp:n,loc:i}=e;return n||r.onError(ki(55,i)),t.children.length&&(r.onError(ki(56,i)),t.children.length=0),{props:[bt(Oe("textContent",!0),n?Tr(n,r)>0?n:It(r.helperString(uh),[n],i):Oe("",!0))]}},Aoe=(e,t,r)=>{const n=$3(e,t,r);if(!n.props.length||t.tagType===1)return n;e.arg&&r.onError(ki(58,e.arg.loc));const{tag:i}=t,o=r.isCustomElement(i);if(i==="input"||i==="textarea"||i==="select"||o){let s=U3,l=!1;if(i==="input"||o){const u=ch(t,"type");if(u){if(u.type===7)s=Lg;else if(u.value)switch(u.value.content){case"radio":s=F3;break;case"checkbox":s=B3;break;case"file":l=!0,r.onError(ki(59,e.loc));break}}else pie(t)&&(s=Lg)}else i==="select"&&(s=V3);l||(n.needRuntime=r.helper(s))}else r.onError(ki(57,e.loc));return n.props=n.props.filter(s=>!(s.key.type===4&&s.key.content==="modelValue")),n},Roe=Ar("passive,once,capture"),Noe=Ar("stop,prevent,self,ctrl,shift,alt,meta,exact,middle"),Ioe=Ar("left,right"),G3=Ar("onkeyup,onkeydown,onkeypress"),koe=(e,t,r,n)=>{const i=[],o=[],s=[];for(let l=0;l<t.length;l++){const u=t[l].content;u==="native"&&Gl("COMPILER_V_ON_NATIVE",r)||Roe(u)?s.push(u):Ioe(u)?dr(e)?G3(e.content.toLowerCase())?i.push(u):o.push(u):(i.push(u),o.push(u)):Noe(u)?o.push(u):i.push(u)}return{keyModifiers:i,nonKeyModifiers:o,eventOptionModifiers:s}},jS=(e,t)=>dr(e)&&e.content.toLowerCase()==="onclick"?Oe(t,!0):e.type!==4?en(["(",e,`) === "onClick" ? "${t}" : (`,e,")"]):e,Moe=(e,t,r)=>L3(e,t,r,n=>{const{modifiers:i}=e;if(!i.length)return n;let{key:o,value:s}=n.props[0];const{keyModifiers:l,nonKeyModifiers:u,eventOptionModifiers:c}=koe(o,i,r,e.loc);if(u.includes("right")&&(o=jS(o,"onContextmenu")),u.includes("middle")&&(o=jS(o,"onMouseup")),u.length&&(s=It(r.helper(H3),[s,JSON.stringify(u)])),l.length&&(!dr(o)||G3(o.content.toLowerCase()))&&(s=It(r.helper(J3),[s,JSON.stringify(l)])),c.length){const p=c.map(Wi).join("");o=dr(o)?Oe(`${o.content}${p}`,!0):en(["(",o,`) + "${p}"`])}return{props:[bt(o,s)]}}),qoe=(e,t,r)=>{const{exp:n,loc:i}=e;return n||r.onError(ki(61,i)),{props:[],needRuntime:r.helper(W3)}},joe=(e,t)=>{e.type===1&&e.tagType===0&&(e.tag==="script"||e.tag==="style")&&t.removeNode()},Doe=[Soe],Loe={cloak:woe,html:Ooe,text:Poe,model:Aoe,on:Moe,show:qoe};function $oe(e,t={}){return Eoe(e,qe({},Toe,t,{nodeTransforms:[joe,...Doe,...t.nodeTransforms||[]],directiveTransforms:qe({},Loe,t.directiveTransforms||{}),transformHoist:null}))}/**
|
|
1058
|
-
* vue v3.5.17
|
|
1059
|
-
* (c) 2018-present Yuxi (Evan) You and Vue contributors
|
|
1060
|
-
* @license MIT
|
|
1061
|
-
**/const DS=Object.create(null);function Y3(e,t){if(!Se(e))if(e.nodeType)e=e.innerHTML;else return Vt;const r=Cte(e,t),n=DS[r];if(n)return n;if(e[0]==="#"){const l=document.querySelector(e);e=l?l.innerHTML:""}const i=qe({hoistStatic:!0,onError:void 0,onWarn:Vt},t);!i.isCustomElement&&typeof customElements<"u"&&(i.isCustomElement=l=>!!customElements.get(l));const{code:o}=$oe(e,i),s=new Function("Vue",o)(Wne);return s._rc=!0,DS[r]=s}YE(Y3);const dle=Object.freeze(Object.defineProperty({__proto__:null,BaseTransition:SE,BaseTransitionPropsValidators:Zf,Comment:gt,DeprecationTypes:DB,EffectScope:Vf,ErrorCodes:QF,ErrorTypeStrings:NB,Fragment:Nt,KeepAlive:w2,ReactiveEffect:Ks,Static:Ii,Suspense:dB,Teleport:c2,Text:Kn,TrackOpTypes:zF,Transition:BB,TransitionGroup:QB,TriggerOpTypes:KF,VueElement:Iu,assertNumber:XF,callWithAsyncErrorHandling:Or,callWithErrorHandling:zo,camelize:et,capitalize:Wi,cloneVNode:tn,compatUtils:jB,compile:Y3,computed:XE,createApp:Jl,createBlock:Vl,createCommentVNode:EB,createElementBlock:gB,createElementVNode:oh,createHydrationRenderer:UE,createPropsRestProxy:H2,createRenderer:BE,createSSRApp:sw,createSlots:A2,createStaticVNode:_B,createTextVNode:sh,createVNode:Ze,customRef:wE,defineAsyncComponent:E2,defineComponent:eh,defineCustomElement:tw,defineEmits:k2,defineExpose:M2,defineModel:D2,defineOptions:q2,defineProps:I2,defineSSRCustomElement:zB,defineSlots:j2,devtools:IB,effect:PF,effectScope:EF,getCurrentInstance:Rr,getCurrentScope:mE,getCurrentWatcher:GF,getTransitionRawChildren:Su,guardReactiveProps:zE,h:Ki,handleError:zi,hasInjectionContext:K2,hydrate:s3,hydrateOnIdle:g2,hydrateOnInteraction:_2,hydrateOnMediaQuery:v2,hydrateOnVisible:b2,initCustomFormatter:PB,initDirectivesForSSR:u3,inject:Os,isMemoSame:QE,isProxy:wu,isReactive:bn,isReadonly:_n,isRef:Tt,isRuntimeOnly:SB,isShallow:fr,isVNode:Hr,markRaw:_E,mergeDefaults:U2,mergeModels:V2,mergeProps:GE,nextTick:Tu,normalizeClass:va,normalizeProps:gF,normalizeStyle:ba,onActivated:OE,onBeforeMount:AE,onBeforeUnmount:Pu,onBeforeUpdate:rh,onDeactivated:PE,onErrorCaptured:kE,onMounted:_a,onRenderTracked:IE,onRenderTriggered:NE,onScopeDispose:wF,onServerPrefetch:RE,onUnmounted:Au,onUpdated:Ou,onWatcherCleanup:xE,openBlock:Ys,popScopeId:i2,provide:LE,proxyRefs:Gf,pushScopeId:n2,queuePostFlushCb:Gs,reactive:Fi,readonly:zf,ref:Ts,registerRuntimeCompiler:YE,render:ow,renderList:P2,renderSlot:R2,resolveComponent:T2,resolveDirective:O2,resolveDynamicComponent:C2,resolveFilter:qB,resolveTransitionHooks:Mo,setBlockTracking:$p,setDevtoolsHook:kB,setTransitionHooks:En,shallowReactive:vE,shallowReadonly:FF,shallowRef:EE,ssrContextKey:HE,ssrUtils:MB,stop:AF,toDisplayString:hE,toHandlerKey:go,toHandlers:N2,toRaw:De,toRef:JF,toRefs:HF,toValue:VF,transformVNodeArgs:bB,triggerRef:UF,unref:xu,useAttrs:F2,useCssModule:GB,useCssVars:WB,useHost:rw,useId:m2,useModel:uB,useSSRContext:JE,useShadowRoot:KB,useSlots:$2,useTemplateRef:y2,useTransitionState:Qf,vModelCheckbox:ah,vModelDynamic:iw,vModelRadio:lh,vModelSelect:nw,vModelText:Hl,vShow:ew,version:ZE,warn:RB,watch:_o,watchEffect:sB,watchPostEffect:aB,watchSyncEffect:WE,withAsyncContext:J2,withCtx:Xf,withDefaults:L2,withDirectives:s2,withKeys:r3,withMemo:AB,withModifiers:t3,withScopeId:o2},Symbol.toStringTag,{value:"Module"})),{sanitizeStoryContextUpdate:Foe}=__STORYBOOK_MODULE_PREVIEW_API__;var X3={};kee(X3,{applyDecorators:()=>eU,argTypesEnhancers:()=>nU,mount:()=>tU,parameters:()=>rU,render:()=>Q3,renderToCanvas:()=>Z3});var Boe=["props","events","slots","exposed","expose"],Uoe=e=>{if(!Lf(e))return null;let t="exposed"in e.__docgenInfo?"vue-component-meta":"vue-docgen-api",r={};return Boe.forEach(n=>{gte(e,n).forEach(i=>{let o;if(t==="vue-docgen-api"){let s=i.docgenInfo;o=Voe(s,n,i)}else{let s=i.docgenInfo;o=Hoe(s,n)}!o||r[o.name]||(["events","expose","exposed"].includes(n)&&(o.control={disable:!0}),r[o.name]=o)})}),r},Voe=(e,t,r)=>{let n,i;if(t==="events"&&(n=e.type?.names.join(),i={name:"other",value:n??"",required:!1}),t==="slots"){let s=e.bindings?.filter(l=>!!l.name).map(l=>`${l.name}: ${l.type?.name??"unknown"}`).join("; ");n=s?`{ ${s} }`:void 0,i={name:"other",value:n??"",required:!1}}if(t==="props"){let s=e;if(n=s.type?.name,i=r?jf(r.docgenInfo):{name:"other",value:n},s.type&&"elements"in s.type&&Array.isArray(s.type.elements)&&s.type.elements.length>0){let l=s.type.elements.map(u=>u.name);n==="Array"&&(n=`${l.length===1?l[0]:`(${l.join(" | ")})`}[]`),n==="union"?n=l.join(" | "):n==="intersection"&&(n=l.join(" & "))}}let o="required"in e?e.required??!1:!1;return{name:e.name,description:e.description,type:i?{...i,required:o}:{name:"other",value:n??""},table:{type:n?{summary:n}:void 0,defaultValue:r?.propDef.defaultValue??void 0,jsDocTags:r?.propDef.jsDocTags,category:t}}},Hoe=(e,t)=>{if("global"in e&&e.global)return;let r={summary:e.type.replace(" | undefined","")};if(t==="props"){let n=e,i=n.default?{summary:n.default}:void 0;return{name:n.name,description:Joe(n.description,n.tags),defaultValue:i,type:za(n),table:{type:r,defaultValue:i,category:t}}}else return{name:e.name,description:"description"in e?e.description:"",type:{name:"other",value:e.type},table:{type:r,category:t}}},za=e=>{let t=e.schema,r=e.required,n={name:"other",value:e.type,required:r},i=["string","number","function","boolean","symbol"];if(typeof t=="string")return i.includes(t)?{name:t,required:r}:n;switch(t.kind){case"enum":{let o=t.schema?.filter(s=>s!=="undefined")??[];return Koe(o)?{name:"boolean",required:r}:Woe(o)||zoe(o)?{name:"enum",value:o.map(s=>s.replace(/"/g,"")),required:r}:o.length===1?za({schema:o[0],type:e.type,required:r}):(o.length>2&&o.includes("true")&&o.includes("false")&&(o=o.filter(s=>s!=="true"&&s!=="false"),o.push("boolean")),{name:"union",value:o.map(s=>za(typeof s=="object"?{schema:s,type:s.type,required:!1}:{schema:s,type:s,required:!1})),required:r})}case"array":{let o=t.schema?.filter(s=>s!=="undefined")??[];return o.length===0?n:o.length===1?{name:"array",value:za({schema:o[0],type:e.type,required:!1}),required:r}:{name:"union",value:o.map(s=>za(typeof s=="object"?{schema:s,type:s.type,required:!1}:{schema:s,type:s,required:!1})),required:r}}case"object":return{name:"object",value:{},required:r};default:return n}},Joe=(e,t)=>!t?.length||!e?e??"":`${t.map(r=>`@${r.name}: ${r.text}`).join("<br>")}<br><br>${e}`,Woe=e=>e.every(t=>typeof t=="string"&&t.startsWith('"')&&t.endsWith('"')),zoe=e=>e.every(t=>typeof t=="string"&&t.includes(".")),Koe=e=>e.length===2&&e.includes("true")&&e.includes("false"),Q3=(e,t)=>{let{id:r,component:n}=t;if(!n)throw new Error(`Unable to render story ${r} as the component annotation is missing from the default export`);return()=>Ki(n,e,Xoe(e,t))},Goe=e=>{globalThis.PLUGINS_SETUP_FUNCTIONS??=new Set,globalThis.PLUGINS_SETUP_FUNCTIONS.add(e)},Yoe=async(e,t)=>{globalThis&&globalThis.PLUGINS_SETUP_FUNCTIONS&&await Promise.all([...globalThis.PLUGINS_SETUP_FUNCTIONS].map(r=>r(e,t)))},Zp=new Map;async function Z3({storyFn:e,forceRemount:t,showMain:r,showException:n,storyContext:i,id:o},s){let l=Zp.get(s);if(l&&!t){let c=e(),p=LS(c,i);return Qoe(l.reactiveArgs,p),()=>{Xh(l.vueApp,s)}}l&&t&&Xh(l.vueApp,s);let u=Jl({setup(){i.args=Fi(i.args);let c=e(),p=LS(c,i),d={vueApp:u,reactiveArgs:Fi(p)};return Zp.set(s,d),()=>Ki(c)}});return u.config.errorHandler=(c,p,d)=>{window.__STORYBOOK_PREVIEW__?.storyRenders.some(f=>f.id===o&&f.phase==="playing")?setTimeout(()=>{throw c},0):n(c)},await Yoe(u,i),u.mount(s),r(),()=>{Xh(u,s)}}function Xoe(e,t){let{argTypes:r}=t,n=Object.entries(e).filter(([i])=>r[i]?.table?.category==="slots").map(([i,o])=>[i,typeof o=="function"?o:()=>o]);return Object.fromEntries(n)}function LS(e,t){return e.props&&Hr(e)?e.props:t.args}function Qoe(e,t){if(Object.keys(t).length===0)return;let r=bn(e)?e:Fi(e);Object.keys(r).forEach(n=>{n in t||delete r[n]}),Object.assign(r,t)}function Xh(e,t){e?.unmount(),Zp.has(t)&&Zp.delete(t)}function Zoe(e){return typeof e=="function"?{render:e,name:e.name}:e}function $S(e,t){let r=e;return r===null?null:typeof r=="function"?r:t?{...Zoe(r),components:{...r.components||{},story:t}}:{render(){return Ki(r)}}}function eU(e,t){return t.reduce((r,n)=>i=>{let o,s=n(l=>{let u=Foe(l);return l&&(u.args=Object.assign(i.args,u.args)),o=r({...i,...u}),o},i);return o||(o=r(i)),s===o?o:$S(s,()=>Ki(o))},r=>$S(e(r)))}var tU=e=>async(t,r)=>(t&&(e.originalStoryFn=()=>()=>Ki(t,r?.props,r?.slots)),await e.renderToCanvas(),e.canvas),rU={renderer:"vue3",docs:{story:{inline:!0},extractArgTypes:Uoe,extractComponentDescription:fF}},nU=[bte];const ese=Object.freeze(Object.defineProperty({__proto__:null,applyDecorators:eU,argTypesEnhancers:nU,mount:tU,parameters:rU,render:Q3,renderToCanvas:Z3},Symbol.toStringTag,{value:"Module"})),{useEffect:tse,emitTransformCode:rse}=__STORYBOOK_MODULE_PREVIEW_API__;var kc=Symbol("DEEP_ACCESS_SYMBOL"),nse=e=>!!(e&&typeof e=="object"&&kc in e),ise=(e,t)=>{let r=e();return tse(()=>{let n=ose(t);sse(t)||rse(n,t)}),r},ose=e=>{let t={imports:{},scriptVariables:{}},{displayName:r,slotNames:n,eventNames:i}=ase(e.component),o=iU(e.args,n,i,t),s=oU(e.args,n,t),l=r||e.title.split("/").at(-1),u=s?`<${l} ${o}> ${s} </${l}>`:`<${l} ${o} />`,c=Object.entries(t.scriptVariables).map(([f,h])=>`const ${f} = ${h};`).join(`
|
|
1062
|
-
|
|
1063
|
-
`),p=Object.entries(t.imports).map(([f,h])=>`import { ${Array.from(h.values()).sort().join(", ")} } from "${f}";`).join(`
|
|
1064
|
-
`),d=`<template>
|
|
1065
|
-
${u}
|
|
1066
|
-
</template>`;return!p&&!c?d:`<script lang="ts" setup>
|
|
1067
|
-
${p?`${p}
|
|
1068
|
-
|
|
1069
|
-
${c}`:c}
|
|
1070
|
-
<\/script>
|
|
1071
|
-
|
|
1072
|
-
${d}`},sse=e=>{let t=e?.parameters.docs?.source;return t?.type===cg.DYNAMIC?!1:!e?.parameters.__isArgsStory||t?.code||t?.type===cg.CODE},ase=e=>{if(!e||!("__docgenInfo"in e)||!e.__docgenInfo||typeof e.__docgenInfo!="object")return{displayName:e?.__name,eventNames:[],slotNames:[]};let t=e.__docgenInfo,r="displayName"in t&&typeof t.displayName=="string"?t.displayName:void 0,n=i=>!(i in t)||!Array.isArray(t[i])?[]:t[i].map(o=>o&&typeof o=="object"&&"name"in o?o.name:void 0).filter(o=>typeof o=="string");return{displayName:r||e.__name,slotNames:n("slots").sort((i,o)=>i==="default"?-1:o==="default"?1:i.localeCompare(o)),eventNames:n("events")}},iU=(e,t,r,n)=>{let i=[];Object.entries(e).forEach(([s,l])=>{if(!t.includes(s)&&l!=null)switch(nse(l)&&(l=l.toString()),typeof l){case"string":if(l==="")return;i.push({name:s,value:l.includes('"')?`'${l}'`:`"${l}"`,templateFn:(u,c)=>`${u}=${c}`});break;case"number":i.push({name:s,value:l.toString(),templateFn:(u,c)=>`:${u}="${c}"`});break;case"bigint":i.push({name:s,value:`BigInt(${l.toString()})`,templateFn:(u,c)=>`:${u}="${c}"`});break;case"boolean":i.push({name:s,value:l?"true":"false",templateFn:(u,c)=>c==="true"?u:`:${u}="false"`});break;case"symbol":i.push({name:s,value:`Symbol(${l.description?`'${l.description}'`:""})`,templateFn:(u,c)=>`:${u}="${c}"`});break;case"object":{i.push({name:s,value:pse(l??{}),templateFn:void 0});break}}}),i.sort((s,l)=>s.name.localeCompare(l.name));let o=[];return i.forEach(s=>{let l=r.includes(`update:${s.name}`);if(!l&&s.templateFn){o.push(s.templateFn(s.name,s.value));return}let u=s.name;if(u in n.scriptVariables){let c=1;do u=`${s.name}${c}`,c++;while(u in n.scriptVariables)}if(!l){n.scriptVariables[u]=s.value,o.push(`:${s.name}="${u}"`);return}n.scriptVariables[u]=`ref(${s.value})`,n.imports.vue||(n.imports.vue=new Set),n.imports.vue.add("ref"),s.name==="modelValue"?o.push(`v-model="${u}"`):o.push(`v-model:${s.name}="${u}"`)}),o.join(" ")},oU=(e,t,r)=>{let n=[];return t.forEach(i=>{let o=e[i];if(!o)return;let s=Ow([o],r);if(!s)return;let l=typeof o=="function"?sU(o):[];i==="default"&&!l.length?n.push(s):n.push(`<template ${cse(i,l)}>${s}</template>`)}),n.join(`
|
|
1073
|
-
|
|
1074
|
-
`)},Ow=(e,t)=>{let r=[],n=i=>{if(Hr(i))return lse(i,t);switch(typeof i){case"string":case"number":case"boolean":return i.toString();case"object":return i===null?"":Array.isArray(i)?i.map(n).filter(o=>o!=="").join(`
|
|
1075
|
-
`):JSON.stringify(i);case"function":{let o=sU(i).filter(u=>!["{","}"].includes(u)),s={};o.forEach(u=>{s[u]=new Proxy({[kc]:!0},{get:(c,p)=>p===kc?c[kc]:[Symbol.toPrimitive,Symbol.toStringTag,"toString"].includes(p)?()=>`{{ ${u} }}`:p==="v-bind"?`${u}`:`{{ ${u}.${p.toString()} }}`,ownKeys:()=>["v-bind"],getOwnPropertyDescriptor:()=>({configurable:!0,enumerable:!0,value:u,writable:!0})})});let l=i(s);return Ow([l],t).replaceAll(/ (\S+)="{{ (\S+) }}"/g,' :$1="$2"')}case"bigint":return`{{ BigInt(${i.toString()}) }}`;default:return""}};return e.forEach(i=>{let o=n(i);o!==""&&r.push(o)}),r.join(`
|
|
1076
|
-
`)},lse=(e,t)=>{let r=use(e),n="";typeof e.children=="string"?n=e.children:Array.isArray(e.children)?n=Ow(e.children,t):e.children&&(n=oU(e.children,Object.keys(e.children).filter(o=>o!=="$stable"),t));let i=e.props?iU(e.props,[],[],t):"";return n?`<${r}${i?` ${i}`:""}>${n}</${r}>`:`<${r}${i?` ${i}`:""} />`},use=e=>{if(typeof e.type=="string")return e.type;if(typeof e.type=="object"){if("name"in e.type&&e.type.name)return e.type.name;if("__name"in e.type&&e.type.__name)return e.type.__name}return"component"},sU=e=>{let t=/((\/\/.*$)|(\/\*[\s\S]*?\*\/))/gm,r=/([^\s,]+)/g,n=e.toString().replace(t,""),i=n.slice(n.indexOf("(")+1,n.indexOf(")")).match(r);return i?i.flatMap(o=>{if(["{","}"].includes(o))return o;let s=o.split(":")[0].trim();return s.startsWith("{")?["{",s.substring(1)]:o.endsWith("}")&&!s.endsWith("}")?[s,"}"]:s}):[]},cse=(e,t)=>t.length?t.length===1?`#${e}="${t[0]}"`:`#${e}="{ ${t.filter(r=>!["{","}"].includes(r)).join(", ")} }"`:`#${e}`,pse=e=>Object.values(e).every(t=>t==null||typeof t!="object")?JSON.stringify(e):JSON.stringify(e,null,2),dse=[ise];const fse=Object.freeze(Object.defineProperty({__proto__:null,decorators:dse},Symbol.toStringTag,{value:"Module"})),{makeDecorator:hse,addons:aU}=__STORYBOOK_MODULE_PREVIEW_API__,{STORY_CHANGED:mse,SELECT_STORY:yse}=__STORYBOOK_MODULE_CORE_EVENTS__,{global:gse}=__STORYBOOK_MODULE_GLOBAL__;var bse="links",{document:lU,HTMLElement:vse}=gse,_se=e=>aU.getChannel().emit(yse,e),uU=e=>{let{target:t}=e;if(!(t instanceof vse))return;let r=t,{sbKind:n,sbStory:i}=r.dataset;(n||i)&&(e.preventDefault(),_se({kind:n,story:i}))},ed=!1,Ese=()=>{ed||(ed=!0,lU.addEventListener("click",uU))},wse=()=>{ed&&(ed=!1,lU.removeEventListener("click",uU))},xse=hse({name:"withLinks",parameterName:bse,wrapper:(e,t)=>(Ese(),aU.getChannel().once(mse,wse),e(t))}),Tse=[xse];const Sse=Object.freeze(Object.defineProperty({__proto__:null,decorators:Tse},Symbol.toStringTag,{value:"Module"}));var Cse=Object.entries(globalThis.TAGS_OPTIONS??{}).reduce((e,t)=>{let[r,n]=t;return n.excludeFromDocsStories&&(e[r]=!0),e},{}),Ose={docs:{renderer:async()=>{let{DocsRenderer:e}=await ne(()=>import("./DocsRenderer-PQXLIZUC-C94DWaTq.js"),__vite__mapDeps([182,1,2]),import.meta.url);return new e},stories:{filter:e=>(e.tags||[]).filter(t=>Cse[t]).length===0&&!e.parameters.docs?.disable}}};const Pse=Object.freeze(Object.defineProperty({__proto__:null,parameters:Ose},Symbol.toStringTag,{value:"Module"}));var Qh={exports:{}},Ia={},nc={exports:{}},Zh={},em={},FS;function Pw(){if(FS)return em;FS=1;function e(n){this.__parent=n,this.__character_count=0,this.__indent_count=-1,this.__alignment_count=0,this.__wrap_point_index=0,this.__wrap_point_character_count=0,this.__wrap_point_indent_count=-1,this.__wrap_point_alignment_count=0,this.__items=[]}e.prototype.clone_empty=function(){var n=new e(this.__parent);return n.set_indent(this.__indent_count,this.__alignment_count),n},e.prototype.item=function(n){return n<0?this.__items[this.__items.length+n]:this.__items[n]},e.prototype.has_match=function(n){for(var i=this.__items.length-1;i>=0;i--)if(this.__items[i].match(n))return!0;return!1},e.prototype.set_indent=function(n,i){this.is_empty()&&(this.__indent_count=n||0,this.__alignment_count=i||0,this.__character_count=this.__parent.get_indent_size(this.__indent_count,this.__alignment_count))},e.prototype._set_wrap_point=function(){this.__parent.wrap_line_length&&(this.__wrap_point_index=this.__items.length,this.__wrap_point_character_count=this.__character_count,this.__wrap_point_indent_count=this.__parent.next_line.__indent_count,this.__wrap_point_alignment_count=this.__parent.next_line.__alignment_count)},e.prototype._should_wrap=function(){return this.__wrap_point_index&&this.__character_count>this.__parent.wrap_line_length&&this.__wrap_point_character_count>this.__parent.next_line.__character_count},e.prototype._allow_wrap=function(){if(this._should_wrap()){this.__parent.add_new_line();var n=this.__parent.current_line;return n.set_indent(this.__wrap_point_indent_count,this.__wrap_point_alignment_count),n.__items=this.__items.slice(this.__wrap_point_index),this.__items=this.__items.slice(0,this.__wrap_point_index),n.__character_count+=this.__character_count-this.__wrap_point_character_count,this.__character_count=this.__wrap_point_character_count,n.__items[0]===" "&&(n.__items.splice(0,1),n.__character_count-=1),!0}return!1},e.prototype.is_empty=function(){return this.__items.length===0},e.prototype.last=function(){return this.is_empty()?null:this.__items[this.__items.length-1]},e.prototype.push=function(n){this.__items.push(n);var i=n.lastIndexOf(`
|
|
1077
|
-
`);i!==-1?this.__character_count=n.length-i:this.__character_count+=n.length},e.prototype.pop=function(){var n=null;return this.is_empty()||(n=this.__items.pop(),this.__character_count-=n.length),n},e.prototype._remove_indent=function(){this.__indent_count>0&&(this.__indent_count-=1,this.__character_count-=this.__parent.indent_size)},e.prototype._remove_wrap_indent=function(){this.__wrap_point_indent_count>0&&(this.__wrap_point_indent_count-=1)},e.prototype.trim=function(){for(;this.last()===" ";)this.__items.pop(),this.__character_count-=1},e.prototype.toString=function(){var n="";return this.is_empty()?this.__parent.indent_empty_lines&&(n=this.__parent.get_indent_string(this.__indent_count)):(n=this.__parent.get_indent_string(this.__indent_count,this.__alignment_count),n+=this.__items.join("")),n};function t(n,i){this.__cache=[""],this.__indent_size=n.indent_size,this.__indent_string=n.indent_char,n.indent_with_tabs||(this.__indent_string=new Array(n.indent_size+1).join(n.indent_char)),i=i||"",n.indent_level>0&&(i=new Array(n.indent_level+1).join(this.__indent_string)),this.__base_string=i,this.__base_string_length=i.length}t.prototype.get_indent_size=function(n,i){var o=this.__base_string_length;return i=i||0,n<0&&(o=0),o+=n*this.__indent_size,o+=i,o},t.prototype.get_indent_string=function(n,i){var o=this.__base_string;return i=i||0,n<0&&(n=0,o=""),i+=n*this.__indent_size,this.__ensure_cache(i),o+=this.__cache[i],o},t.prototype.__ensure_cache=function(n){for(;n>=this.__cache.length;)this.__add_column()},t.prototype.__add_column=function(){var n=this.__cache.length,i=0,o="";this.__indent_size&&n>=this.__indent_size&&(i=Math.floor(n/this.__indent_size),n-=i*this.__indent_size,o=new Array(i+1).join(this.__indent_string)),n&&(o+=new Array(n+1).join(" ")),this.__cache.push(o)};function r(n,i){this.__indent_cache=new t(n,i),this.raw=!1,this._end_with_newline=n.end_with_newline,this.indent_size=n.indent_size,this.wrap_line_length=n.wrap_line_length,this.indent_empty_lines=n.indent_empty_lines,this.__lines=[],this.previous_line=null,this.current_line=null,this.next_line=new e(this),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1,this.__add_outputline()}return r.prototype.__add_outputline=function(){this.previous_line=this.current_line,this.current_line=this.next_line.clone_empty(),this.__lines.push(this.current_line)},r.prototype.get_line_number=function(){return this.__lines.length},r.prototype.get_indent_string=function(n,i){return this.__indent_cache.get_indent_string(n,i)},r.prototype.get_indent_size=function(n,i){return this.__indent_cache.get_indent_size(n,i)},r.prototype.is_empty=function(){return!this.previous_line&&this.current_line.is_empty()},r.prototype.add_new_line=function(n){return this.is_empty()||!n&&this.just_added_newline()?!1:(this.raw||this.__add_outputline(),!0)},r.prototype.get_code=function(n){this.trim(!0);var i=this.current_line.pop();i&&(i[i.length-1]===`
|
|
1078
|
-
`&&(i=i.replace(/\n+$/g,"")),this.current_line.push(i)),this._end_with_newline&&this.__add_outputline();var o=this.__lines.join(`
|
|
1079
|
-
`);return n!==`
|
|
1080
|
-
`&&(o=o.replace(/[\n]/g,n)),o},r.prototype.set_wrap_point=function(){this.current_line._set_wrap_point()},r.prototype.set_indent=function(n,i){return n=n||0,i=i||0,this.next_line.set_indent(n,i),this.__lines.length>1?(this.current_line.set_indent(n,i),!0):(this.current_line.set_indent(),!1)},r.prototype.add_raw_token=function(n){for(var i=0;i<n.newlines;i++)this.__add_outputline();this.current_line.set_indent(-1),this.current_line.push(n.whitespace_before),this.current_line.push(n.text),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=!1},r.prototype.add_token=function(n){this.__add_space_before_token(),this.current_line.push(n),this.space_before_token=!1,this.non_breaking_space=!1,this.previous_token_wrapped=this.current_line._allow_wrap()},r.prototype.__add_space_before_token=function(){this.space_before_token&&!this.just_added_newline()&&(this.non_breaking_space||this.set_wrap_point(),this.current_line.push(" "))},r.prototype.remove_indent=function(n){for(var i=this.__lines.length;n<i;)this.__lines[n]._remove_indent(),n++;this.current_line._remove_wrap_indent()},r.prototype.trim=function(n){for(n=n===void 0?!1:n,this.current_line.trim();n&&this.__lines.length>1&&this.current_line.is_empty();)this.__lines.pop(),this.current_line=this.__lines[this.__lines.length-1],this.current_line.trim();this.previous_line=this.__lines.length>1?this.__lines[this.__lines.length-2]:null},r.prototype.just_added_newline=function(){return this.current_line.is_empty()},r.prototype.just_added_blankline=function(){return this.is_empty()||this.current_line.is_empty()&&this.previous_line.is_empty()},r.prototype.ensure_empty_line_above=function(n,i){for(var o=this.__lines.length-2;o>=0;){var s=this.__lines[o];if(s.is_empty())break;if(s.item(0).indexOf(n)!==0&&s.item(-1)!==i){this.__lines.splice(o+1,0,new e(this)),this.previous_line=this.__lines[this.__lines.length-2];break}o--}},em.Output=r,em}var tm={},BS;function cU(){if(BS)return tm;BS=1;function e(t,r,n,i){this.type=t,this.text=r,this.comments_before=null,this.newlines=n||0,this.whitespace_before=i||"",this.parent=null,this.next=null,this.previous=null,this.opened=null,this.closed=null,this.directives=null}return tm.Token=e,tm}var rm={},US;function pU(){return US||(US=1,function(e){var t="\\x23\\x24\\x40\\x41-\\x5a\\x5f\\x61-\\x7a",r="\\x24\\x30-\\x39\\x41-\\x5a\\x5f\\x61-\\x7a",n="\\xaa\\xb5\\xba\\xc0-\\xd6\\xd8-\\xf6\\xf8-\\u02c1\\u02c6-\\u02d1\\u02e0-\\u02e4\\u02ec\\u02ee\\u0370-\\u0374\\u0376\\u0377\\u037a-\\u037d\\u0386\\u0388-\\u038a\\u038c\\u038e-\\u03a1\\u03a3-\\u03f5\\u03f7-\\u0481\\u048a-\\u0527\\u0531-\\u0556\\u0559\\u0561-\\u0587\\u05d0-\\u05ea\\u05f0-\\u05f2\\u0620-\\u064a\\u066e\\u066f\\u0671-\\u06d3\\u06d5\\u06e5\\u06e6\\u06ee\\u06ef\\u06fa-\\u06fc\\u06ff\\u0710\\u0712-\\u072f\\u074d-\\u07a5\\u07b1\\u07ca-\\u07ea\\u07f4\\u07f5\\u07fa\\u0800-\\u0815\\u081a\\u0824\\u0828\\u0840-\\u0858\\u08a0\\u08a2-\\u08ac\\u0904-\\u0939\\u093d\\u0950\\u0958-\\u0961\\u0971-\\u0977\\u0979-\\u097f\\u0985-\\u098c\\u098f\\u0990\\u0993-\\u09a8\\u09aa-\\u09b0\\u09b2\\u09b6-\\u09b9\\u09bd\\u09ce\\u09dc\\u09dd\\u09df-\\u09e1\\u09f0\\u09f1\\u0a05-\\u0a0a\\u0a0f\\u0a10\\u0a13-\\u0a28\\u0a2a-\\u0a30\\u0a32\\u0a33\\u0a35\\u0a36\\u0a38\\u0a39\\u0a59-\\u0a5c\\u0a5e\\u0a72-\\u0a74\\u0a85-\\u0a8d\\u0a8f-\\u0a91\\u0a93-\\u0aa8\\u0aaa-\\u0ab0\\u0ab2\\u0ab3\\u0ab5-\\u0ab9\\u0abd\\u0ad0\\u0ae0\\u0ae1\\u0b05-\\u0b0c\\u0b0f\\u0b10\\u0b13-\\u0b28\\u0b2a-\\u0b30\\u0b32\\u0b33\\u0b35-\\u0b39\\u0b3d\\u0b5c\\u0b5d\\u0b5f-\\u0b61\\u0b71\\u0b83\\u0b85-\\u0b8a\\u0b8e-\\u0b90\\u0b92-\\u0b95\\u0b99\\u0b9a\\u0b9c\\u0b9e\\u0b9f\\u0ba3\\u0ba4\\u0ba8-\\u0baa\\u0bae-\\u0bb9\\u0bd0\\u0c05-\\u0c0c\\u0c0e-\\u0c10\\u0c12-\\u0c28\\u0c2a-\\u0c33\\u0c35-\\u0c39\\u0c3d\\u0c58\\u0c59\\u0c60\\u0c61\\u0c85-\\u0c8c\\u0c8e-\\u0c90\\u0c92-\\u0ca8\\u0caa-\\u0cb3\\u0cb5-\\u0cb9\\u0cbd\\u0cde\\u0ce0\\u0ce1\\u0cf1\\u0cf2\\u0d05-\\u0d0c\\u0d0e-\\u0d10\\u0d12-\\u0d3a\\u0d3d\\u0d4e\\u0d60\\u0d61\\u0d7a-\\u0d7f\\u0d85-\\u0d96\\u0d9a-\\u0db1\\u0db3-\\u0dbb\\u0dbd\\u0dc0-\\u0dc6\\u0e01-\\u0e30\\u0e32\\u0e33\\u0e40-\\u0e46\\u0e81\\u0e82\\u0e84\\u0e87\\u0e88\\u0e8a\\u0e8d\\u0e94-\\u0e97\\u0e99-\\u0e9f\\u0ea1-\\u0ea3\\u0ea5\\u0ea7\\u0eaa\\u0eab\\u0ead-\\u0eb0\\u0eb2\\u0eb3\\u0ebd\\u0ec0-\\u0ec4\\u0ec6\\u0edc-\\u0edf\\u0f00\\u0f40-\\u0f47\\u0f49-\\u0f6c\\u0f88-\\u0f8c\\u1000-\\u102a\\u103f\\u1050-\\u1055\\u105a-\\u105d\\u1061\\u1065\\u1066\\u106e-\\u1070\\u1075-\\u1081\\u108e\\u10a0-\\u10c5\\u10c7\\u10cd\\u10d0-\\u10fa\\u10fc-\\u1248\\u124a-\\u124d\\u1250-\\u1256\\u1258\\u125a-\\u125d\\u1260-\\u1288\\u128a-\\u128d\\u1290-\\u12b0\\u12b2-\\u12b5\\u12b8-\\u12be\\u12c0\\u12c2-\\u12c5\\u12c8-\\u12d6\\u12d8-\\u1310\\u1312-\\u1315\\u1318-\\u135a\\u1380-\\u138f\\u13a0-\\u13f4\\u1401-\\u166c\\u166f-\\u167f\\u1681-\\u169a\\u16a0-\\u16ea\\u16ee-\\u16f0\\u1700-\\u170c\\u170e-\\u1711\\u1720-\\u1731\\u1740-\\u1751\\u1760-\\u176c\\u176e-\\u1770\\u1780-\\u17b3\\u17d7\\u17dc\\u1820-\\u1877\\u1880-\\u18a8\\u18aa\\u18b0-\\u18f5\\u1900-\\u191c\\u1950-\\u196d\\u1970-\\u1974\\u1980-\\u19ab\\u19c1-\\u19c7\\u1a00-\\u1a16\\u1a20-\\u1a54\\u1aa7\\u1b05-\\u1b33\\u1b45-\\u1b4b\\u1b83-\\u1ba0\\u1bae\\u1baf\\u1bba-\\u1be5\\u1c00-\\u1c23\\u1c4d-\\u1c4f\\u1c5a-\\u1c7d\\u1ce9-\\u1cec\\u1cee-\\u1cf1\\u1cf5\\u1cf6\\u1d00-\\u1dbf\\u1e00-\\u1f15\\u1f18-\\u1f1d\\u1f20-\\u1f45\\u1f48-\\u1f4d\\u1f50-\\u1f57\\u1f59\\u1f5b\\u1f5d\\u1f5f-\\u1f7d\\u1f80-\\u1fb4\\u1fb6-\\u1fbc\\u1fbe\\u1fc2-\\u1fc4\\u1fc6-\\u1fcc\\u1fd0-\\u1fd3\\u1fd6-\\u1fdb\\u1fe0-\\u1fec\\u1ff2-\\u1ff4\\u1ff6-\\u1ffc\\u2071\\u207f\\u2090-\\u209c\\u2102\\u2107\\u210a-\\u2113\\u2115\\u2119-\\u211d\\u2124\\u2126\\u2128\\u212a-\\u212d\\u212f-\\u2139\\u213c-\\u213f\\u2145-\\u2149\\u214e\\u2160-\\u2188\\u2c00-\\u2c2e\\u2c30-\\u2c5e\\u2c60-\\u2ce4\\u2ceb-\\u2cee\\u2cf2\\u2cf3\\u2d00-\\u2d25\\u2d27\\u2d2d\\u2d30-\\u2d67\\u2d6f\\u2d80-\\u2d96\\u2da0-\\u2da6\\u2da8-\\u2dae\\u2db0-\\u2db6\\u2db8-\\u2dbe\\u2dc0-\\u2dc6\\u2dc8-\\u2dce\\u2dd0-\\u2dd6\\u2dd8-\\u2dde\\u2e2f\\u3005-\\u3007\\u3021-\\u3029\\u3031-\\u3035\\u3038-\\u303c\\u3041-\\u3096\\u309d-\\u309f\\u30a1-\\u30fa\\u30fc-\\u30ff\\u3105-\\u312d\\u3131-\\u318e\\u31a0-\\u31ba\\u31f0-\\u31ff\\u3400-\\u4db5\\u4e00-\\u9fcc\\ua000-\\ua48c\\ua4d0-\\ua4fd\\ua500-\\ua60c\\ua610-\\ua61f\\ua62a\\ua62b\\ua640-\\ua66e\\ua67f-\\ua697\\ua6a0-\\ua6ef\\ua717-\\ua71f\\ua722-\\ua788\\ua78b-\\ua78e\\ua790-\\ua793\\ua7a0-\\ua7aa\\ua7f8-\\ua801\\ua803-\\ua805\\ua807-\\ua80a\\ua80c-\\ua822\\ua840-\\ua873\\ua882-\\ua8b3\\ua8f2-\\ua8f7\\ua8fb\\ua90a-\\ua925\\ua930-\\ua946\\ua960-\\ua97c\\ua984-\\ua9b2\\ua9cf\\uaa00-\\uaa28\\uaa40-\\uaa42\\uaa44-\\uaa4b\\uaa60-\\uaa76\\uaa7a\\uaa80-\\uaaaf\\uaab1\\uaab5\\uaab6\\uaab9-\\uaabd\\uaac0\\uaac2\\uaadb-\\uaadd\\uaae0-\\uaaea\\uaaf2-\\uaaf4\\uab01-\\uab06\\uab09-\\uab0e\\uab11-\\uab16\\uab20-\\uab26\\uab28-\\uab2e\\uabc0-\\uabe2\\uac00-\\ud7a3\\ud7b0-\\ud7c6\\ud7cb-\\ud7fb\\uf900-\\ufa6d\\ufa70-\\ufad9\\ufb00-\\ufb06\\ufb13-\\ufb17\\ufb1d\\ufb1f-\\ufb28\\ufb2a-\\ufb36\\ufb38-\\ufb3c\\ufb3e\\ufb40\\ufb41\\ufb43\\ufb44\\ufb46-\\ufbb1\\ufbd3-\\ufd3d\\ufd50-\\ufd8f\\ufd92-\\ufdc7\\ufdf0-\\ufdfb\\ufe70-\\ufe74\\ufe76-\\ufefc\\uff21-\\uff3a\\uff41-\\uff5a\\uff66-\\uffbe\\uffc2-\\uffc7\\uffca-\\uffcf\\uffd2-\\uffd7\\uffda-\\uffdc",i="\\u0300-\\u036f\\u0483-\\u0487\\u0591-\\u05bd\\u05bf\\u05c1\\u05c2\\u05c4\\u05c5\\u05c7\\u0610-\\u061a\\u0620-\\u0649\\u0672-\\u06d3\\u06e7-\\u06e8\\u06fb-\\u06fc\\u0730-\\u074a\\u0800-\\u0814\\u081b-\\u0823\\u0825-\\u0827\\u0829-\\u082d\\u0840-\\u0857\\u08e4-\\u08fe\\u0900-\\u0903\\u093a-\\u093c\\u093e-\\u094f\\u0951-\\u0957\\u0962-\\u0963\\u0966-\\u096f\\u0981-\\u0983\\u09bc\\u09be-\\u09c4\\u09c7\\u09c8\\u09d7\\u09df-\\u09e0\\u0a01-\\u0a03\\u0a3c\\u0a3e-\\u0a42\\u0a47\\u0a48\\u0a4b-\\u0a4d\\u0a51\\u0a66-\\u0a71\\u0a75\\u0a81-\\u0a83\\u0abc\\u0abe-\\u0ac5\\u0ac7-\\u0ac9\\u0acb-\\u0acd\\u0ae2-\\u0ae3\\u0ae6-\\u0aef\\u0b01-\\u0b03\\u0b3c\\u0b3e-\\u0b44\\u0b47\\u0b48\\u0b4b-\\u0b4d\\u0b56\\u0b57\\u0b5f-\\u0b60\\u0b66-\\u0b6f\\u0b82\\u0bbe-\\u0bc2\\u0bc6-\\u0bc8\\u0bca-\\u0bcd\\u0bd7\\u0be6-\\u0bef\\u0c01-\\u0c03\\u0c46-\\u0c48\\u0c4a-\\u0c4d\\u0c55\\u0c56\\u0c62-\\u0c63\\u0c66-\\u0c6f\\u0c82\\u0c83\\u0cbc\\u0cbe-\\u0cc4\\u0cc6-\\u0cc8\\u0cca-\\u0ccd\\u0cd5\\u0cd6\\u0ce2-\\u0ce3\\u0ce6-\\u0cef\\u0d02\\u0d03\\u0d46-\\u0d48\\u0d57\\u0d62-\\u0d63\\u0d66-\\u0d6f\\u0d82\\u0d83\\u0dca\\u0dcf-\\u0dd4\\u0dd6\\u0dd8-\\u0ddf\\u0df2\\u0df3\\u0e34-\\u0e3a\\u0e40-\\u0e45\\u0e50-\\u0e59\\u0eb4-\\u0eb9\\u0ec8-\\u0ecd\\u0ed0-\\u0ed9\\u0f18\\u0f19\\u0f20-\\u0f29\\u0f35\\u0f37\\u0f39\\u0f41-\\u0f47\\u0f71-\\u0f84\\u0f86-\\u0f87\\u0f8d-\\u0f97\\u0f99-\\u0fbc\\u0fc6\\u1000-\\u1029\\u1040-\\u1049\\u1067-\\u106d\\u1071-\\u1074\\u1082-\\u108d\\u108f-\\u109d\\u135d-\\u135f\\u170e-\\u1710\\u1720-\\u1730\\u1740-\\u1750\\u1772\\u1773\\u1780-\\u17b2\\u17dd\\u17e0-\\u17e9\\u180b-\\u180d\\u1810-\\u1819\\u1920-\\u192b\\u1930-\\u193b\\u1951-\\u196d\\u19b0-\\u19c0\\u19c8-\\u19c9\\u19d0-\\u19d9\\u1a00-\\u1a15\\u1a20-\\u1a53\\u1a60-\\u1a7c\\u1a7f-\\u1a89\\u1a90-\\u1a99\\u1b46-\\u1b4b\\u1b50-\\u1b59\\u1b6b-\\u1b73\\u1bb0-\\u1bb9\\u1be6-\\u1bf3\\u1c00-\\u1c22\\u1c40-\\u1c49\\u1c5b-\\u1c7d\\u1cd0-\\u1cd2\\u1d00-\\u1dbe\\u1e01-\\u1f15\\u200c\\u200d\\u203f\\u2040\\u2054\\u20d0-\\u20dc\\u20e1\\u20e5-\\u20f0\\u2d81-\\u2d96\\u2de0-\\u2dff\\u3021-\\u3028\\u3099\\u309a\\ua640-\\ua66d\\ua674-\\ua67d\\ua69f\\ua6f0-\\ua6f1\\ua7f8-\\ua800\\ua806\\ua80b\\ua823-\\ua827\\ua880-\\ua881\\ua8b4-\\ua8c4\\ua8d0-\\ua8d9\\ua8f3-\\ua8f7\\ua900-\\ua909\\ua926-\\ua92d\\ua930-\\ua945\\ua980-\\ua983\\ua9b3-\\ua9c0\\uaa00-\\uaa27\\uaa40-\\uaa41\\uaa4c-\\uaa4d\\uaa50-\\uaa59\\uaa7b\\uaae0-\\uaae9\\uaaf2-\\uaaf3\\uabc0-\\uabe1\\uabec\\uabed\\uabf0-\\uabf9\\ufb20-\\ufb28\\ufe00-\\ufe0f\\ufe20-\\ufe26\\ufe33\\ufe34\\ufe4d-\\ufe4f\\uff10-\\uff19\\uff3f",o="\\\\u[0-9a-fA-F]{4}|\\\\u\\{[0-9a-fA-F]+\\}",s="(?:"+o+"|["+t+n+"])",l="(?:"+o+"|["+r+n+i+"])*";e.identifier=new RegExp(s+l,"g"),e.identifierStart=new RegExp(s),e.identifierMatch=new RegExp("(?:"+o+"|["+r+n+i+"])+"),e.newline=/[\n\r\u2028\u2029]/,e.lineBreak=new RegExp(`\r
|
|
1081
|
-
|`+e.newline.source),e.allLineBreaks=new RegExp(e.lineBreak.source,"g")}(rm)),rm}var nm={},ka={},VS;function Aw(){if(VS)return ka;VS=1;function e(n,i){this.raw_options=t(n,i),this.disabled=this._get_boolean("disabled"),this.eol=this._get_characters("eol","auto"),this.end_with_newline=this._get_boolean("end_with_newline"),this.indent_size=this._get_number("indent_size",4),this.indent_char=this._get_characters("indent_char"," "),this.indent_level=this._get_number("indent_level"),this.preserve_newlines=this._get_boolean("preserve_newlines",!0),this.max_preserve_newlines=this._get_number("max_preserve_newlines",32786),this.preserve_newlines||(this.max_preserve_newlines=0),this.indent_with_tabs=this._get_boolean("indent_with_tabs",this.indent_char===" "),this.indent_with_tabs&&(this.indent_char=" ",this.indent_size===1&&(this.indent_size=4)),this.wrap_line_length=this._get_number("wrap_line_length",this._get_number("max_char")),this.indent_empty_lines=this._get_boolean("indent_empty_lines"),this.templating=this._get_selection_list("templating",["auto","none","angular","django","erb","handlebars","php","smarty"],["auto"])}e.prototype._get_array=function(n,i){var o=this.raw_options[n],s=i||[];return typeof o=="object"?o!==null&&typeof o.concat=="function"&&(s=o.concat()):typeof o=="string"&&(s=o.split(/[^a-zA-Z0-9_\/\-]+/)),s},e.prototype._get_boolean=function(n,i){var o=this.raw_options[n],s=o===void 0?!!i:!!o;return s},e.prototype._get_characters=function(n,i){var o=this.raw_options[n],s=i||"";return typeof o=="string"&&(s=o.replace(/\\r/,"\r").replace(/\\n/,`
|
|
1082
|
-
`).replace(/\\t/," ")),s},e.prototype._get_number=function(n,i){var o=this.raw_options[n];i=parseInt(i,10),isNaN(i)&&(i=0);var s=parseInt(o,10);return isNaN(s)&&(s=i),s},e.prototype._get_selection=function(n,i,o){var s=this._get_selection_list(n,i,o);if(s.length!==1)throw new Error("Invalid Option Value: The option '"+n+`' can only be one of the following values:
|
|
1083
|
-
`+i+`
|
|
1084
|
-
You passed in: '`+this.raw_options[n]+"'");return s[0]},e.prototype._get_selection_list=function(n,i,o){if(!i||i.length===0)throw new Error("Selection list cannot be empty.");if(o=o||[i[0]],!this._is_valid_selection(o,i))throw new Error("Invalid Default Value!");var s=this._get_array(n,o);if(!this._is_valid_selection(s,i))throw new Error("Invalid Option Value: The option '"+n+`' can contain only the following values:
|
|
1085
|
-
`+i+`
|
|
1086
|
-
You passed in: '`+this.raw_options[n]+"'");return s},e.prototype._is_valid_selection=function(n,i){return n.length&&i.length&&!n.some(function(o){return i.indexOf(o)===-1})};function t(n,i){var o={};n=r(n);var s;for(s in n)s!==i&&(o[s]=n[s]);if(i&&n[i])for(s in n[i])o[s]=n[i][s];return o}function r(n){var i={},o;for(o in n){var s=o.replace(/-/g,"_");i[s]=n[o]}return i}return ka.Options=e,ka.normalizeOpts=r,ka.mergeOpts=t,ka}var HS;function dU(){if(HS)return nm;HS=1;var e=Aw().Options,t=["before-newline","after-newline","preserve-newline"];function r(n){e.call(this,n,"js");var i=this.raw_options.brace_style||null;i==="expand-strict"?this.raw_options.brace_style="expand":i==="collapse-preserve-inline"?this.raw_options.brace_style="collapse,preserve-inline":this.raw_options.braces_on_own_line!==void 0&&(this.raw_options.brace_style=this.raw_options.braces_on_own_line?"expand":"collapse");var o=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_preserve_inline=!1,this.brace_style="collapse";for(var s=0;s<o.length;s++)o[s]==="preserve-inline"?this.brace_preserve_inline=!0:this.brace_style=o[s];this.unindent_chained_methods=this._get_boolean("unindent_chained_methods"),this.break_chained_methods=this._get_boolean("break_chained_methods"),this.space_in_paren=this._get_boolean("space_in_paren"),this.space_in_empty_paren=this._get_boolean("space_in_empty_paren"),this.jslint_happy=this._get_boolean("jslint_happy"),this.space_after_anon_function=this._get_boolean("space_after_anon_function"),this.space_after_named_function=this._get_boolean("space_after_named_function"),this.keep_array_indentation=this._get_boolean("keep_array_indentation"),this.space_before_conditional=this._get_boolean("space_before_conditional",!0),this.unescape_strings=this._get_boolean("unescape_strings"),this.e4x=this._get_boolean("e4x"),this.comma_first=this._get_boolean("comma_first"),this.operator_position=this._get_selection("operator_position",t),this.test_output_raw=this._get_boolean("test_output_raw"),this.jslint_happy&&(this.space_after_anon_function=!0)}return r.prototype=new e,nm.Options=r,nm}var es={},im={},JS;function Rw(){if(JS)return im;JS=1;var e=RegExp.prototype.hasOwnProperty("sticky");function t(r){this.__input=r||"",this.__input_length=this.__input.length,this.__position=0}return t.prototype.restart=function(){this.__position=0},t.prototype.back=function(){this.__position>0&&(this.__position-=1)},t.prototype.hasNext=function(){return this.__position<this.__input_length},t.prototype.next=function(){var r=null;return this.hasNext()&&(r=this.__input.charAt(this.__position),this.__position+=1),r},t.prototype.peek=function(r){var n=null;return r=r||0,r+=this.__position,r>=0&&r<this.__input_length&&(n=this.__input.charAt(r)),n},t.prototype.__match=function(r,n){r.lastIndex=n;var i=r.exec(this.__input);return i&&!(e&&r.sticky)&&i.index!==n&&(i=null),i},t.prototype.test=function(r,n){return n=n||0,n+=this.__position,n>=0&&n<this.__input_length?!!this.__match(r,n):!1},t.prototype.testChar=function(r,n){var i=this.peek(n);return r.lastIndex=0,i!==null&&r.test(i)},t.prototype.match=function(r){var n=this.__match(r,this.__position);return n?this.__position+=n[0].length:n=null,n},t.prototype.read=function(r,n,i){var o="",s;return r&&(s=this.match(r),s&&(o+=s[0])),n&&(s||!r)&&(o+=this.readUntil(n,i)),o},t.prototype.readUntil=function(r,n){var i="",o=this.__position;r.lastIndex=this.__position;var s=r.exec(this.__input);return s?(o=s.index,n&&(o+=s[0].length)):o=this.__input_length,i=this.__input.substring(this.__position,o),this.__position=o,i},t.prototype.readUntilAfter=function(r){return this.readUntil(r,!0)},t.prototype.get_regexp=function(r,n){var i=null,o="g";return n&&e&&(o="y"),typeof r=="string"&&r!==""?i=new RegExp(r,o):r&&(i=new RegExp(r.source,o)),i},t.prototype.get_literal_regexp=function(r){return RegExp(r.replace(/[-\/\\^$*+?.()|[\]{}]/g,"\\$&"))},t.prototype.peekUntilAfter=function(r){var n=this.__position,i=this.readUntilAfter(r);return this.__position=n,i},t.prototype.lookBack=function(r){var n=this.__position-1;return n>=r.length&&this.__input.substring(n-r.length,n).toLowerCase()===r},im.InputScanner=t,im}var ic={},om={},WS;function Ase(){if(WS)return om;WS=1;function e(t){this.__tokens=[],this.__tokens_length=this.__tokens.length,this.__position=0,this.__parent_token=t}return e.prototype.restart=function(){this.__position=0},e.prototype.isEmpty=function(){return this.__tokens_length===0},e.prototype.hasNext=function(){return this.__position<this.__tokens_length},e.prototype.next=function(){var t=null;return this.hasNext()&&(t=this.__tokens[this.__position],this.__position+=1),t},e.prototype.peek=function(t){var r=null;return t=t||0,t+=this.__position,t>=0&&t<this.__tokens_length&&(r=this.__tokens[t]),r},e.prototype.add=function(t){this.__parent_token&&(t.parent=this.__parent_token),this.__tokens.push(t),this.__tokens_length+=1},om.TokenStream=e,om}var sm={},am={},zS;function fh(){if(zS)return am;zS=1;function e(t,r){this._input=t,this._starting_pattern=null,this._match_pattern=null,this._until_pattern=null,this._until_after=!1,r&&(this._starting_pattern=this._input.get_regexp(r._starting_pattern,!0),this._match_pattern=this._input.get_regexp(r._match_pattern,!0),this._until_pattern=this._input.get_regexp(r._until_pattern),this._until_after=r._until_after)}return e.prototype.read=function(){var t=this._input.read(this._starting_pattern);return(!this._starting_pattern||t)&&(t+=this._input.read(this._match_pattern,this._until_pattern,this._until_after)),t},e.prototype.read_match=function(){return this._input.match(this._match_pattern)},e.prototype.until_after=function(t){var r=this._create();return r._until_after=!0,r._until_pattern=this._input.get_regexp(t),r._update(),r},e.prototype.until=function(t){var r=this._create();return r._until_after=!1,r._until_pattern=this._input.get_regexp(t),r._update(),r},e.prototype.starting_with=function(t){var r=this._create();return r._starting_pattern=this._input.get_regexp(t,!0),r._update(),r},e.prototype.matching=function(t){var r=this._create();return r._match_pattern=this._input.get_regexp(t,!0),r._update(),r},e.prototype._create=function(){return new e(this._input,this)},e.prototype._update=function(){},am.Pattern=e,am}var KS;function Rse(){if(KS)return sm;KS=1;var e=fh().Pattern;function t(r,n){e.call(this,r,n),n?this._line_regexp=this._input.get_regexp(n._line_regexp):this.__set_whitespace_patterns("",""),this.newline_count=0,this.whitespace_before_token=""}return t.prototype=new e,t.prototype.__set_whitespace_patterns=function(r,n){r+="\\t ",n+="\\n\\r",this._match_pattern=this._input.get_regexp("["+r+n+"]+",!0),this._newline_regexp=this._input.get_regexp("\\r\\n|["+n+"]")},t.prototype.read=function(){this.newline_count=0,this.whitespace_before_token="";var r=this._input.read(this._match_pattern);if(r===" ")this.whitespace_before_token=" ";else if(r){var n=this.__split(this._newline_regexp,r);this.newline_count=n.length-1,this.whitespace_before_token=n[this.newline_count]}return r},t.prototype.matching=function(r,n){var i=this._create();return i.__set_whitespace_patterns(r,n),i._update(),i},t.prototype._create=function(){return new t(this._input,this)},t.prototype.__split=function(r,n){r.lastIndex=0;for(var i=0,o=[],s=r.exec(n);s;)o.push(n.substring(i,s.index)),i=s.index+s[0].length,s=r.exec(n);return i<n.length?o.push(n.substring(i,n.length)):o.push(""),o},sm.WhitespacePattern=t,sm}var GS;function td(){if(GS)return ic;GS=1;var e=Rw().InputScanner,t=cU().Token,r=Ase().TokenStream,n=Rse().WhitespacePattern,i={START:"TK_START",RAW:"TK_RAW",EOF:"TK_EOF"},o=function(s,l){this._input=new e(s),this._options=l||{},this.__tokens=null,this._patterns={},this._patterns.whitespace=new n(this._input)};return o.prototype.tokenize=function(){this._input.restart(),this.__tokens=new r,this._reset();for(var s,l=new t(i.START,""),u=null,c=[],p=new r;l.type!==i.EOF;){for(s=this._get_next_token(l,u);this._is_comment(s);)p.add(s),s=this._get_next_token(l,u);p.isEmpty()||(s.comments_before=p,p=new r),s.parent=u,this._is_opening(s)?(c.push(u),u=s):u&&this._is_closing(s,u)&&(s.opened=u,u.closed=s,u=c.pop(),s.parent=u),s.previous=l,l.next=s,this.__tokens.add(s),l=s}return this.__tokens},o.prototype._is_first_token=function(){return this.__tokens.isEmpty()},o.prototype._reset=function(){},o.prototype._get_next_token=function(s,l){this._readWhitespace();var u=this._input.read(/.+/g);return u?this._create_token(i.RAW,u):this._create_token(i.EOF,"")},o.prototype._is_comment=function(s){return!1},o.prototype._is_opening=function(s){return!1},o.prototype._is_closing=function(s,l){return!1},o.prototype._create_token=function(s,l){var u=new t(s,l,this._patterns.whitespace.newline_count,this._patterns.whitespace.whitespace_before_token);return u},o.prototype._readWhitespace=function(){return this._patterns.whitespace.read()},ic.Tokenizer=o,ic.TOKEN=i,ic}var lm={},YS;function Nw(){if(YS)return lm;YS=1;function e(t,r){t=typeof t=="string"?t:t.source,r=typeof r=="string"?r:r.source,this.__directives_block_pattern=new RegExp(t+/ beautify( \w+[:]\w+)+ /.source+r,"g"),this.__directive_pattern=/ (\w+)[:](\w+)/g,this.__directives_end_ignore_pattern=new RegExp(t+/\sbeautify\signore:end\s/.source+r,"g")}return e.prototype.get_directives=function(t){if(!t.match(this.__directives_block_pattern))return null;var r={};this.__directive_pattern.lastIndex=0;for(var n=this.__directive_pattern.exec(t);n;)r[n[1]]=n[2],n=this.__directive_pattern.exec(t);return r},e.prototype.readIgnored=function(t){return t.readUntilAfter(this.__directives_end_ignore_pattern)},lm.Directives=e,lm}var um={},XS;function fU(){if(XS)return um;XS=1;var e=fh().Pattern,t={django:!1,erb:!1,handlebars:!1,php:!1,smarty:!1,angular:!1};function r(n,i){e.call(this,n,i),this.__template_pattern=null,this._disabled=Object.assign({},t),this._excluded=Object.assign({},t),i&&(this.__template_pattern=this._input.get_regexp(i.__template_pattern),this._excluded=Object.assign(this._excluded,i._excluded),this._disabled=Object.assign(this._disabled,i._disabled));var o=new e(n);this.__patterns={handlebars_comment:o.starting_with(/{{!--/).until_after(/--}}/),handlebars_unescaped:o.starting_with(/{{{/).until_after(/}}}/),handlebars:o.starting_with(/{{/).until_after(/}}/),php:o.starting_with(/<\?(?:[= ]|php)/).until_after(/\?>/),erb:o.starting_with(/<%[^%]/).until_after(/[^%]%>/),django:o.starting_with(/{%/).until_after(/%}/),django_value:o.starting_with(/{{/).until_after(/}}/),django_comment:o.starting_with(/{#/).until_after(/#}/),smarty:o.starting_with(/{(?=[^}{\s\n])/).until_after(/[^\s\n]}/),smarty_comment:o.starting_with(/{\*/).until_after(/\*}/),smarty_literal:o.starting_with(/{literal}/).until_after(/{\/literal}/)}}return r.prototype=new e,r.prototype._create=function(){return new r(this._input,this)},r.prototype._update=function(){this.__set_templated_pattern()},r.prototype.disable=function(n){var i=this._create();return i._disabled[n]=!0,i._update(),i},r.prototype.read_options=function(n){var i=this._create();for(var o in t)i._disabled[o]=n.templating.indexOf(o)===-1;return i._update(),i},r.prototype.exclude=function(n){var i=this._create();return i._excluded[n]=!0,i._update(),i},r.prototype.read=function(){var n="";this._match_pattern?n=this._input.read(this._starting_pattern):n=this._input.read(this._starting_pattern,this.__template_pattern);for(var i=this._read_template();i;)this._match_pattern?i+=this._input.read(this._match_pattern):i+=this._input.readUntil(this.__template_pattern),n+=i,i=this._read_template();return this._until_after&&(n+=this._input.readUntilAfter(this._until_pattern)),n},r.prototype.__set_templated_pattern=function(){var n=[];this._disabled.php||n.push(this.__patterns.php._starting_pattern.source),this._disabled.handlebars||n.push(this.__patterns.handlebars._starting_pattern.source),this._disabled.erb||n.push(this.__patterns.erb._starting_pattern.source),this._disabled.django||(n.push(this.__patterns.django._starting_pattern.source),n.push(this.__patterns.django_value._starting_pattern.source),n.push(this.__patterns.django_comment._starting_pattern.source)),this._disabled.smarty||n.push(this.__patterns.smarty._starting_pattern.source),this._until_pattern&&n.push(this._until_pattern.source),this.__template_pattern=this._input.get_regexp("(?:"+n.join("|")+")")},r.prototype._read_template=function(){var n="",i=this._input.peek();if(i==="<"){var o=this._input.peek(1);!this._disabled.php&&!this._excluded.php&&o==="?"&&(n=n||this.__patterns.php.read()),!this._disabled.erb&&!this._excluded.erb&&o==="%"&&(n=n||this.__patterns.erb.read())}else i==="{"&&(!this._disabled.handlebars&&!this._excluded.handlebars&&(n=n||this.__patterns.handlebars_comment.read(),n=n||this.__patterns.handlebars_unescaped.read(),n=n||this.__patterns.handlebars.read()),this._disabled.django||(!this._excluded.django&&!this._excluded.handlebars&&(n=n||this.__patterns.django_value.read()),this._excluded.django||(n=n||this.__patterns.django_comment.read(),n=n||this.__patterns.django.read())),this._disabled.smarty||this._disabled.django&&this._disabled.handlebars&&(n=n||this.__patterns.smarty_comment.read(),n=n||this.__patterns.smarty_literal.read(),n=n||this.__patterns.smarty.read()));return n},um.TemplatablePattern=r,um}var QS;function oc(){if(QS)return es;QS=1;var e=Rw().InputScanner,t=td().Tokenizer,r=td().TOKEN,n=Nw().Directives,i=pU(),o=fh().Pattern,s=fU().TemplatablePattern;function l(x,E){return E.indexOf(x)!==-1}var u={START_EXPR:"TK_START_EXPR",END_EXPR:"TK_END_EXPR",START_BLOCK:"TK_START_BLOCK",END_BLOCK:"TK_END_BLOCK",WORD:"TK_WORD",RESERVED:"TK_RESERVED",SEMICOLON:"TK_SEMICOLON",STRING:"TK_STRING",EQUALS:"TK_EQUALS",OPERATOR:"TK_OPERATOR",COMMA:"TK_COMMA",BLOCK_COMMENT:"TK_BLOCK_COMMENT",COMMENT:"TK_COMMENT",DOT:"TK_DOT",UNKNOWN:"TK_UNKNOWN",START:r.START,RAW:r.RAW,EOF:r.EOF},c=new n(/\/\*/,/\*\//),p=/0[xX][0123456789abcdefABCDEF_]*n?|0[oO][01234567_]*n?|0[bB][01_]*n?|\d[\d_]*n|(?:\.\d[\d_]*|\d[\d_]*\.?[\d_]*)(?:[eE][+-]?[\d_]+)?/,d=/[0-9]/,f=/[^\d\.]/,h=">>> === !== &&= ??= ||= << && >= ** != == <= >> || ?? |> < / - + > : & % ? ^ | *".split(" "),y=">>>= ... >>= <<= === >>> !== **= &&= ??= ||= => ^= :: /= << <= == && -= >= >> != -- += ** || ?? ++ %= &= *= |= |> = ! ? > < : / ^ - + * & % ~ |";y=y.replace(/[-[\]{}()*+?.,\\^$|#]/g,"\\$&"),y="\\?\\.(?!\\d) "+y,y=y.replace(/ /g,"|");var b=new RegExp(y),g="continue,try,throw,return,var,let,const,if,switch,case,default,for,while,break,function,import,export".split(","),m=g.concat(["do","in","of","else","get","set","new","catch","finally","typeof","yield","async","await","from","as","class","extends"]),v=new RegExp("^(?:"+m.join("|")+")$"),S,O=function(x,E){t.call(this,x,E),this._patterns.whitespace=this._patterns.whitespace.matching(/\u00A0\u1680\u180e\u2000-\u200a\u202f\u205f\u3000\ufeff/.source,/\u2028\u2029/.source);var _=new o(this._input),C=new s(this._input).read_options(this._options);this.__patterns={template:C,identifier:C.starting_with(i.identifier).matching(i.identifierMatch),number:_.matching(p),punct:_.matching(b),comment:_.starting_with(/\/\//).until(/[\n\r\u2028\u2029]/),block_comment:_.starting_with(/\/\*/).until_after(/\*\//),html_comment_start:_.matching(/<!--/),html_comment_end:_.matching(/-->/),include:_.starting_with(/#include/).until_after(i.lineBreak),shebang:_.starting_with(/#!/).until_after(i.lineBreak),xml:_.matching(/[\s\S]*?<(\/?)([-a-zA-Z:0-9_.]+|{[^}]+?}|!\[CDATA\[[^\]]*?\]\]|)(\s*{[^}]+?}|\s+[-a-zA-Z:0-9_.]+|\s+[-a-zA-Z:0-9_.]+\s*=\s*('[^']*'|"[^"]*"|{([^{}]|{[^}]+?})+?}))*\s*(\/?)\s*>/),single_quote:C.until(/['\\\n\r\u2028\u2029]/),double_quote:C.until(/["\\\n\r\u2028\u2029]/),template_text:C.until(/[`\\$]/),template_expression:C.until(/[`}\\]/)}};O.prototype=new t,O.prototype._is_comment=function(x){return x.type===u.COMMENT||x.type===u.BLOCK_COMMENT||x.type===u.UNKNOWN},O.prototype._is_opening=function(x){return x.type===u.START_BLOCK||x.type===u.START_EXPR},O.prototype._is_closing=function(x,E){return(x.type===u.END_BLOCK||x.type===u.END_EXPR)&&E&&(x.text==="]"&&E.text==="["||x.text===")"&&E.text==="("||x.text==="}"&&E.text==="{")},O.prototype._reset=function(){S=!1},O.prototype._get_next_token=function(x,E){var _=null;this._readWhitespace();var C=this._input.peek();return C===null?this._create_token(u.EOF,""):(_=_||this._read_non_javascript(C),_=_||this._read_string(C),_=_||this._read_pair(C,this._input.peek(1)),_=_||this._read_word(x),_=_||this._read_singles(C),_=_||this._read_comment(C),_=_||this._read_regexp(C,x),_=_||this._read_xml(C,x),_=_||this._read_punctuation(),_=_||this._create_token(u.UNKNOWN,this._input.next()),_)},O.prototype._read_word=function(x){var E;if(E=this.__patterns.identifier.read(),E!=="")return E=E.replace(i.allLineBreaks,`
|
|
1087
|
-
`),!(x.type===u.DOT||x.type===u.RESERVED&&(x.text==="set"||x.text==="get"))&&v.test(E)?(E==="in"||E==="of")&&(x.type===u.WORD||x.type===u.STRING)?this._create_token(u.OPERATOR,E):this._create_token(u.RESERVED,E):this._create_token(u.WORD,E);if(E=this.__patterns.number.read(),E!=="")return this._create_token(u.WORD,E)},O.prototype._read_singles=function(x){var E=null;return x==="("||x==="["?E=this._create_token(u.START_EXPR,x):x===")"||x==="]"?E=this._create_token(u.END_EXPR,x):x==="{"?E=this._create_token(u.START_BLOCK,x):x==="}"?E=this._create_token(u.END_BLOCK,x):x===";"?E=this._create_token(u.SEMICOLON,x):x==="."&&f.test(this._input.peek(1))?E=this._create_token(u.DOT,x):x===","&&(E=this._create_token(u.COMMA,x)),E&&this._input.next(),E},O.prototype._read_pair=function(x,E){var _=null;return x==="#"&&E==="{"&&(_=this._create_token(u.START_BLOCK,x+E)),_&&(this._input.next(),this._input.next()),_},O.prototype._read_punctuation=function(){var x=this.__patterns.punct.read();if(x!=="")return x==="="?this._create_token(u.EQUALS,x):x==="?."?this._create_token(u.DOT,x):this._create_token(u.OPERATOR,x)},O.prototype._read_non_javascript=function(x){var E="";if(x==="#"){if(this._is_first_token()&&(E=this.__patterns.shebang.read(),E))return this._create_token(u.UNKNOWN,E.trim()+`
|
|
1088
|
-
`);if(E=this.__patterns.include.read(),E)return this._create_token(u.UNKNOWN,E.trim()+`
|
|
1089
|
-
`);x=this._input.next();var _="#";if(this._input.hasNext()&&this._input.testChar(d)){do x=this._input.next(),_+=x;while(this._input.hasNext()&&x!=="#"&&x!=="=");return x==="#"||(this._input.peek()==="["&&this._input.peek(1)==="]"?(_+="[]",this._input.next(),this._input.next()):this._input.peek()==="{"&&this._input.peek(1)==="}"&&(_+="{}",this._input.next(),this._input.next())),this._create_token(u.WORD,_)}this._input.back()}else if(x==="<"&&this._is_first_token()){if(E=this.__patterns.html_comment_start.read(),E){for(;this._input.hasNext()&&!this._input.testChar(i.newline);)E+=this._input.next();return S=!0,this._create_token(u.COMMENT,E)}}else if(S&&x==="-"&&(E=this.__patterns.html_comment_end.read(),E))return S=!1,this._create_token(u.COMMENT,E);return null},O.prototype._read_comment=function(x){var E=null;if(x==="/"){var _="";if(this._input.peek(1)==="*"){_=this.__patterns.block_comment.read();var C=c.get_directives(_);C&&C.ignore==="start"&&(_+=c.readIgnored(this._input)),_=_.replace(i.allLineBreaks,`
|
|
1090
|
-
`),E=this._create_token(u.BLOCK_COMMENT,_),E.directives=C}else this._input.peek(1)==="/"&&(_=this.__patterns.comment.read(),E=this._create_token(u.COMMENT,_))}return E},O.prototype._read_string=function(x){if(x==="`"||x==="'"||x==='"'){var E=this._input.next();return this.has_char_escapes=!1,x==="`"?E+=this._read_string_recursive("`",!0,"${"):E+=this._read_string_recursive(x),this.has_char_escapes&&this._options.unescape_strings&&(E=P(E)),this._input.peek()===x&&(E+=this._input.next()),E=E.replace(i.allLineBreaks,`
|
|
1091
|
-
`),this._create_token(u.STRING,E)}return null},O.prototype._allow_regexp_or_xml=function(x){return x.type===u.RESERVED&&l(x.text,["return","case","throw","else","do","typeof","yield"])||x.type===u.END_EXPR&&x.text===")"&&x.opened.previous.type===u.RESERVED&&l(x.opened.previous.text,["if","while","for"])||l(x.type,[u.COMMENT,u.START_EXPR,u.START_BLOCK,u.START,u.END_BLOCK,u.OPERATOR,u.EQUALS,u.EOF,u.SEMICOLON,u.COMMA])},O.prototype._read_regexp=function(x,E){if(x==="/"&&this._allow_regexp_or_xml(E)){for(var _=this._input.next(),C=!1,w=!1;this._input.hasNext()&&(C||w||this._input.peek()!==x)&&!this._input.testChar(i.newline);)_+=this._input.peek(),C?C=!1:(C=this._input.peek()==="\\",this._input.peek()==="["?w=!0:this._input.peek()==="]"&&(w=!1)),this._input.next();return this._input.peek()===x&&(_+=this._input.next(),_+=this._input.read(i.identifier)),this._create_token(u.STRING,_)}return null},O.prototype._read_xml=function(x,E){if(this._options.e4x&&x==="<"&&this._allow_regexp_or_xml(E)){var _="",C=this.__patterns.xml.read_match();if(C){for(var w=C[2].replace(/^{\s+/,"{").replace(/\s+}$/,"}"),A=w.indexOf("{")===0,I=0;C;){var j=!!C[1],R=C[2],q=!!C[C.length-1]||R.slice(0,8)==="![CDATA[";if(!q&&(R===w||A&&R.replace(/^{\s+/,"{").replace(/\s+}$/,"}"))&&(j?--I:++I),_+=C[0],I<=0)break;C=this.__patterns.xml.read_match()}return C||(_+=this._input.match(/[\s\S]*/g)[0]),_=_.replace(i.allLineBreaks,`
|
|
1092
|
-
`),this._create_token(u.STRING,_)}}return null};function P(x){for(var E="",_=0,C=new e(x),w=null;C.hasNext();)if(w=C.match(/([\s]|[^\\]|\\\\)+/g),w&&(E+=w[0]),C.peek()==="\\"){if(C.next(),C.peek()==="x")w=C.match(/x([0-9A-Fa-f]{2})/g);else if(C.peek()==="u")w=C.match(/u([0-9A-Fa-f]{4})/g),w||(w=C.match(/u\{([0-9A-Fa-f]+)\}/g));else{E+="\\",C.hasNext()&&(E+=C.next());continue}if(!w||(_=parseInt(w[1],16),_>126&&_<=255&&w[0].indexOf("x")===0))return x;_>=0&&_<32||_>1114111?E+="\\"+w[0]:_===34||_===39||_===92?E+="\\"+String.fromCharCode(_):E+=String.fromCharCode(_)}return E}return O.prototype._read_string_recursive=function(x,E,_){var C,w;x==="'"?w=this.__patterns.single_quote:x==='"'?w=this.__patterns.double_quote:x==="`"?w=this.__patterns.template_text:x==="}"&&(w=this.__patterns.template_expression);for(var A=w.read(),I="";this._input.hasNext();){if(I=this._input.next(),I===x||!E&&i.newline.test(I)){this._input.back();break}else I==="\\"&&this._input.hasNext()?(C=this._input.peek(),C==="x"||C==="u"?this.has_char_escapes=!0:C==="\r"&&this._input.peek(1)===`
|
|
1093
|
-
`&&this._input.next(),I+=this._input.next()):_&&(_==="${"&&I==="$"&&this._input.peek()==="{"&&(I+=this._input.next()),_===I&&(x==="`"?I+=this._read_string_recursive("}",E,"`"):I+=this._read_string_recursive("`",E,"${"),this._input.hasNext()&&(I+=this._input.next())));I+=w.read(),A+=I}return A},es.Tokenizer=O,es.TOKEN=u,es.positionable_operators=h.slice(),es.line_starters=g.slice(),es}var ZS;function Nse(){if(ZS)return Zh;ZS=1;var e=Pw().Output,t=cU().Token,r=pU(),n=dU().Options,i=oc().Tokenizer,o=oc().line_starters,s=oc().positionable_operators,l=oc().TOKEN;function u(w,A){return A.indexOf(w)!==-1}function c(w){return w.replace(/^\s+/g,"")}function p(w){for(var A={},I=0;I<w.length;I++)A[w[I].replace(/-/g,"_")]=w[I];return A}function d(w,A){return w&&w.type===l.RESERVED&&w.text===A}function f(w,A){return w&&w.type===l.RESERVED&&u(w.text,A)}var h=["case","return","do","if","throw","else","await","break","continue","async"],y=["before-newline","after-newline","preserve-newline"],b=p(y),g=[b.before_newline,b.preserve_newline],m={BlockStatement:"BlockStatement",Statement:"Statement",ObjectLiteral:"ObjectLiteral",ArrayLiteral:"ArrayLiteral",ForInitializer:"ForInitializer",Conditional:"Conditional",Expression:"Expression"};function v(w,A){A.multiline_frame||A.mode===m.ForInitializer||A.mode===m.Conditional||w.remove_indent(A.start_line_index)}function S(w){w=w.replace(r.allLineBreaks,`
|
|
1094
|
-
`);for(var A=[],I=w.indexOf(`
|
|
1095
|
-
`);I!==-1;)A.push(w.substring(0,I)),w=w.substring(I+1),I=w.indexOf(`
|
|
1096
|
-
`);return w.length&&A.push(w),A}function O(w){return w===m.ArrayLiteral}function P(w){return u(w,[m.Expression,m.ForInitializer,m.Conditional])}function x(w,A){for(var I=0;I<w.length;I++){var j=w[I].trim();if(j.charAt(0)!==A)return!1}return!0}function E(w,A){for(var I=0,j=w.length,R;I<j;I++)if(R=w[I],R&&R.indexOf(A)!==0)return!1;return!0}function _(w,A){A=A||{},this._source_text=w||"",this._output=null,this._tokens=null,this._last_last_text=null,this._flags=null,this._previous_flags=null,this._flag_store=null,this._options=new n(A)}_.prototype.create_flags=function(w,A){var I=0;w&&(I=w.indentation_level,!this._output.just_added_newline()&&w.line_indent_level>I&&(I=w.line_indent_level));var j={mode:A,parent:w,last_token:w?w.last_token:new t(l.START_BLOCK,""),last_word:w?w.last_word:"",declaration_statement:!1,declaration_assignment:!1,multiline_frame:!1,inline_frame:!1,if_block:!1,else_block:!1,class_start_block:!1,do_block:!1,do_while:!1,import_block:!1,in_case_statement:!1,in_case:!1,case_body:!1,case_block:!1,indentation_level:I,alignment:0,line_indent_level:w?w.line_indent_level:I,start_line_index:this._output.get_line_number(),ternary_depth:0};return j},_.prototype._reset=function(w){var A=w.match(/^[\t ]*/)[0];this._last_last_text="",this._output=new e(this._options,A),this._output.raw=this._options.test_output_raw,this._flag_store=[],this.set_mode(m.BlockStatement);var I=new i(w,this._options);return this._tokens=I.tokenize(),w},_.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var w,A=this._reset(this._source_text),I=this._options.eol;this._options.eol==="auto"&&(I=`
|
|
1097
|
-
`,A&&r.lineBreak.test(A||"")&&(I=A.match(r.lineBreak)[0]));for(var j=this._tokens.next();j;)this.handle_token(j),this._last_last_text=this._flags.last_token.text,this._flags.last_token=j,j=this._tokens.next();return w=this._output.get_code(I),w},_.prototype.handle_token=function(w,A){w.type===l.START_EXPR?this.handle_start_expr(w):w.type===l.END_EXPR?this.handle_end_expr(w):w.type===l.START_BLOCK?this.handle_start_block(w):w.type===l.END_BLOCK?this.handle_end_block(w):w.type===l.WORD?this.handle_word(w):w.type===l.RESERVED?this.handle_word(w):w.type===l.SEMICOLON?this.handle_semicolon(w):w.type===l.STRING?this.handle_string(w):w.type===l.EQUALS?this.handle_equals(w):w.type===l.OPERATOR?this.handle_operator(w):w.type===l.COMMA?this.handle_comma(w):w.type===l.BLOCK_COMMENT?this.handle_block_comment(w,A):w.type===l.COMMENT?this.handle_comment(w,A):w.type===l.DOT?this.handle_dot(w):w.type===l.EOF?this.handle_eof(w):w.type===l.UNKNOWN?this.handle_unknown(w,A):this.handle_unknown(w,A)},_.prototype.handle_whitespace_and_comments=function(w,A){var I=w.newlines,j=this._options.keep_array_indentation&&O(this._flags.mode);if(w.comments_before)for(var R=w.comments_before.next();R;)this.handle_whitespace_and_comments(R,A),this.handle_token(R,A),R=w.comments_before.next();if(j)for(var q=0;q<I;q+=1)this.print_newline(q>0,A);else if(this._options.max_preserve_newlines&&I>this._options.max_preserve_newlines&&(I=this._options.max_preserve_newlines),this._options.preserve_newlines&&I>1){this.print_newline(!1,A);for(var M=1;M<I;M+=1)this.print_newline(!0,A)}};var C=["async","break","continue","return","throw","yield"];return _.prototype.allow_wrap_or_preserved_newline=function(w,A){if(A=A===void 0?!1:A,!this._output.just_added_newline()){var I=this._options.preserve_newlines&&w.newlines||A,j=u(this._flags.last_token.text,s)||u(w.text,s);if(j){var R=u(this._flags.last_token.text,s)&&u(this._options.operator_position,g)||u(w.text,s);I=I&&R}if(I)this.print_newline(!1,!0);else if(this._options.wrap_line_length){if(f(this._flags.last_token,C))return;this._output.set_wrap_point()}}},_.prototype.print_newline=function(w,A){if(!A&&this._flags.last_token.text!==";"&&this._flags.last_token.text!==","&&this._flags.last_token.text!=="="&&(this._flags.last_token.type!==l.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++"))for(var I=this._tokens.peek();this._flags.mode===m.Statement&&!(this._flags.if_block&&d(I,"else"))&&!this._flags.do_block;)this.restore_mode();this._output.add_new_line(w)&&(this._flags.multiline_frame=!0)},_.prototype.print_token_line_indentation=function(w){this._output.just_added_newline()&&(this._options.keep_array_indentation&&w.newlines&&(w.text==="["||O(this._flags.mode))?(this._output.current_line.set_indent(-1),this._output.current_line.push(w.whitespace_before),this._output.space_before_token=!1):this._output.set_indent(this._flags.indentation_level,this._flags.alignment)&&(this._flags.line_indent_level=this._flags.indentation_level))},_.prototype.print_token=function(w){if(this._output.raw){this._output.add_raw_token(w);return}if(this._options.comma_first&&w.previous&&w.previous.type===l.COMMA&&this._output.just_added_newline()&&this._output.previous_line.last()===","){var A=this._output.previous_line.pop();this._output.previous_line.is_empty()&&(this._output.previous_line.push(A),this._output.trim(!0),this._output.current_line.pop(),this._output.trim()),this.print_token_line_indentation(w),this._output.add_token(","),this._output.space_before_token=!0}this.print_token_line_indentation(w),this._output.non_breaking_space=!0,this._output.add_token(w.text),this._output.previous_token_wrapped&&(this._flags.multiline_frame=!0)},_.prototype.indent=function(){this._flags.indentation_level+=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},_.prototype.deindent=function(){this._flags.indentation_level>0&&(!this._flags.parent||this._flags.indentation_level>this._flags.parent.indentation_level)&&(this._flags.indentation_level-=1,this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},_.prototype.set_mode=function(w){this._flags?(this._flag_store.push(this._flags),this._previous_flags=this._flags):this._previous_flags=this.create_flags(null,w),this._flags=this.create_flags(this._previous_flags,w),this._output.set_indent(this._flags.indentation_level,this._flags.alignment)},_.prototype.restore_mode=function(){this._flag_store.length>0&&(this._previous_flags=this._flags,this._flags=this._flag_store.pop(),this._previous_flags.mode===m.Statement&&v(this._output,this._previous_flags),this._output.set_indent(this._flags.indentation_level,this._flags.alignment))},_.prototype.start_of_object_property=function(){return this._flags.parent.mode===m.ObjectLiteral&&this._flags.mode===m.Statement&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||f(this._flags.last_token,["get","set"]))},_.prototype.start_of_statement=function(w){var A=!1;return A=A||f(this._flags.last_token,["var","let","const"])&&w.type===l.WORD,A=A||d(this._flags.last_token,"do"),A=A||!(this._flags.parent.mode===m.ObjectLiteral&&this._flags.mode===m.Statement)&&f(this._flags.last_token,C)&&!w.newlines,A=A||d(this._flags.last_token,"else")&&!(d(w,"if")&&!w.comments_before),A=A||this._flags.last_token.type===l.END_EXPR&&(this._previous_flags.mode===m.ForInitializer||this._previous_flags.mode===m.Conditional),A=A||this._flags.last_token.type===l.WORD&&this._flags.mode===m.BlockStatement&&!this._flags.in_case&&!(w.text==="--"||w.text==="++")&&this._last_last_text!=="function"&&w.type!==l.WORD&&w.type!==l.RESERVED,A=A||this._flags.mode===m.ObjectLiteral&&(this._flags.last_token.text===":"&&this._flags.ternary_depth===0||f(this._flags.last_token,["get","set"])),A?(this.set_mode(m.Statement),this.indent(),this.handle_whitespace_and_comments(w,!0),this.start_of_object_property()||this.allow_wrap_or_preserved_newline(w,f(w,["do","for","if","while"])),!0):!1},_.prototype.handle_start_expr=function(w){this.start_of_statement(w)||this.handle_whitespace_and_comments(w);var A=m.Expression;if(w.text==="["){if(this._flags.last_token.type===l.WORD||this._flags.last_token.text===")"){f(this._flags.last_token,o)&&(this._output.space_before_token=!0),this.print_token(w),this.set_mode(A),this.indent(),this._options.space_in_paren&&(this._output.space_before_token=!0);return}A=m.ArrayLiteral,O(this._flags.mode)&&(this._flags.last_token.text==="["||this._flags.last_token.text===","&&(this._last_last_text==="]"||this._last_last_text==="}"))&&(this._options.keep_array_indentation||this.print_newline()),u(this._flags.last_token.type,[l.START_EXPR,l.END_EXPR,l.WORD,l.OPERATOR,l.DOT])||(this._output.space_before_token=!0)}else{if(this._flags.last_token.type===l.RESERVED)this._flags.last_token.text==="for"?(this._output.space_before_token=this._options.space_before_conditional,A=m.ForInitializer):u(this._flags.last_token.text,["if","while","switch"])?(this._output.space_before_token=this._options.space_before_conditional,A=m.Conditional):u(this._flags.last_word,["await","async"])?this._output.space_before_token=!0:this._flags.last_token.text==="import"&&w.whitespace_before===""?this._output.space_before_token=!1:(u(this._flags.last_token.text,o)||this._flags.last_token.text==="catch")&&(this._output.space_before_token=!0);else if(this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR)this.start_of_object_property()||this.allow_wrap_or_preserved_newline(w);else if(this._flags.last_token.type===l.WORD){this._output.space_before_token=!1;var I=this._tokens.peek(-3);if(this._options.space_after_named_function&&I){var j=this._tokens.peek(-4);f(I,["async","function"])||I.text==="*"&&f(j,["async","function"])?this._output.space_before_token=!0:this._flags.mode===m.ObjectLiteral?(I.text==="{"||I.text===","||I.text==="*"&&(j.text==="{"||j.text===","))&&(this._output.space_before_token=!0):this._flags.parent&&this._flags.parent.class_start_block&&(this._output.space_before_token=!0)}}else this.allow_wrap_or_preserved_newline(w);(this._flags.last_token.type===l.RESERVED&&(this._flags.last_word==="function"||this._flags.last_word==="typeof")||this._flags.last_token.text==="*"&&(u(this._last_last_text,["function","yield"])||this._flags.mode===m.ObjectLiteral&&u(this._last_last_text,["{",","])))&&(this._output.space_before_token=this._options.space_after_anon_function)}this._flags.last_token.text===";"||this._flags.last_token.type===l.START_BLOCK?this.print_newline():(this._flags.last_token.type===l.END_EXPR||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.END_BLOCK||this._flags.last_token.text==="."||this._flags.last_token.type===l.COMMA)&&this.allow_wrap_or_preserved_newline(w,w.newlines),this.print_token(w),this.set_mode(A),this._options.space_in_paren&&(this._output.space_before_token=!0),this.indent()},_.prototype.handle_end_expr=function(w){for(;this._flags.mode===m.Statement;)this.restore_mode();this.handle_whitespace_and_comments(w),this._flags.multiline_frame&&this.allow_wrap_or_preserved_newline(w,w.text==="]"&&O(this._flags.mode)&&!this._options.keep_array_indentation),this._options.space_in_paren&&(this._flags.last_token.type===l.START_EXPR&&!this._options.space_in_empty_paren?(this._output.trim(),this._output.space_before_token=!1):this._output.space_before_token=!0),this.deindent(),this.print_token(w),this.restore_mode(),v(this._output,this._previous_flags),this._flags.do_while&&this._previous_flags.mode===m.Conditional&&(this._previous_flags.mode=m.Expression,this._flags.do_block=!1,this._flags.do_while=!1)},_.prototype.handle_start_block=function(w){this.handle_whitespace_and_comments(w);var A=this._tokens.peek(),I=this._tokens.peek(1);this._flags.last_word==="switch"&&this._flags.last_token.type===l.END_EXPR?(this.set_mode(m.BlockStatement),this._flags.in_case_statement=!0):this._flags.case_body?this.set_mode(m.BlockStatement):I&&(u(I.text,[":",","])&&u(A.type,[l.STRING,l.WORD,l.RESERVED])||u(A.text,["get","set","..."])&&u(I.type,[l.WORD,l.RESERVED]))?u(this._last_last_text,["class","interface"])&&!u(I.text,[":",","])?this.set_mode(m.BlockStatement):this.set_mode(m.ObjectLiteral):this._flags.last_token.type===l.OPERATOR&&this._flags.last_token.text==="=>"?this.set_mode(m.BlockStatement):u(this._flags.last_token.type,[l.EQUALS,l.START_EXPR,l.COMMA,l.OPERATOR])||f(this._flags.last_token,["return","throw","import","default"])?this.set_mode(m.ObjectLiteral):this.set_mode(m.BlockStatement),this._flags.last_token&&f(this._flags.last_token.previous,["class","extends"])&&(this._flags.class_start_block=!0);var j=!A.comments_before&&A.text==="}",R=j&&this._flags.last_word==="function"&&this._flags.last_token.type===l.END_EXPR;if(this._options.brace_preserve_inline){var q=0,M=null;this._flags.inline_frame=!0;do if(q+=1,M=this._tokens.peek(q-1),M.newlines){this._flags.inline_frame=!1;break}while(M.type!==l.EOF&&!(M.type===l.END_BLOCK&&M.opened===w))}(this._options.brace_style==="expand"||this._options.brace_style==="none"&&w.newlines)&&!this._flags.inline_frame?this._flags.last_token.type!==l.OPERATOR&&(R||this._flags.last_token.type===l.EQUALS||f(this._flags.last_token,h)&&this._flags.last_token.text!=="else")?this._output.space_before_token=!0:this.print_newline(!1,!0):(O(this._previous_flags.mode)&&(this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.COMMA)&&((this._flags.last_token.type===l.COMMA||this._options.space_in_paren)&&(this._output.space_before_token=!0),(this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR&&this._flags.inline_frame)&&(this.allow_wrap_or_preserved_newline(w),this._previous_flags.multiline_frame=this._previous_flags.multiline_frame||this._flags.multiline_frame,this._flags.multiline_frame=!1)),this._flags.last_token.type!==l.OPERATOR&&this._flags.last_token.type!==l.START_EXPR&&(u(this._flags.last_token.type,[l.START_BLOCK,l.SEMICOLON])&&!this._flags.inline_frame?this.print_newline():this._output.space_before_token=!0)),this.print_token(w),this.indent(),!j&&!(this._options.brace_preserve_inline&&this._flags.inline_frame)&&this.print_newline()},_.prototype.handle_end_block=function(w){for(this.handle_whitespace_and_comments(w);this._flags.mode===m.Statement;)this.restore_mode();var A=this._flags.last_token.type===l.START_BLOCK;this._flags.inline_frame&&!A?this._output.space_before_token=!0:this._options.brace_style==="expand"?A||this.print_newline():A||(O(this._flags.mode)&&this._options.keep_array_indentation?(this._options.keep_array_indentation=!1,this.print_newline(),this._options.keep_array_indentation=!0):this.print_newline()),this.restore_mode(),this.print_token(w)},_.prototype.handle_word=function(w){if(w.type===l.RESERVED){if(u(w.text,["set","get"])&&this._flags.mode!==m.ObjectLiteral)w.type=l.WORD;else if(w.text==="import"&&u(this._tokens.peek().text,["(","."]))w.type=l.WORD;else if(u(w.text,["as","from"])&&!this._flags.import_block)w.type=l.WORD;else if(this._flags.mode===m.ObjectLiteral){var A=this._tokens.peek();A.text===":"&&(w.type=l.WORD)}}if(this.start_of_statement(w)?f(this._flags.last_token,["var","let","const"])&&w.type===l.WORD&&(this._flags.declaration_statement=!0):w.newlines&&!P(this._flags.mode)&&(this._flags.last_token.type!==l.OPERATOR||this._flags.last_token.text==="--"||this._flags.last_token.text==="++")&&this._flags.last_token.type!==l.EQUALS&&(this._options.preserve_newlines||!f(this._flags.last_token,["var","let","const","set","get"]))?(this.handle_whitespace_and_comments(w),this.print_newline()):this.handle_whitespace_and_comments(w),this._flags.do_block&&!this._flags.do_while)if(d(w,"while")){this._output.space_before_token=!0,this.print_token(w),this._output.space_before_token=!0,this._flags.do_while=!0;return}else this.print_newline(),this._flags.do_block=!1;if(this._flags.if_block)if(!this._flags.else_block&&d(w,"else"))this._flags.else_block=!0;else{for(;this._flags.mode===m.Statement;)this.restore_mode();this._flags.if_block=!1,this._flags.else_block=!1}if(this._flags.in_case_statement&&f(w,["case","default"])){this.print_newline(),!this._flags.case_block&&(this._flags.case_body||this._options.jslint_happy)&&this.deindent(),this._flags.case_body=!1,this.print_token(w),this._flags.in_case=!0;return}if((this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR)&&!this.start_of_object_property()&&!(u(this._flags.last_token.text,["+","-"])&&this._last_last_text===":"&&this._flags.parent.mode===m.ObjectLiteral)&&this.allow_wrap_or_preserved_newline(w),d(w,"function")){(u(this._flags.last_token.text,["}",";"])||this._output.just_added_newline()&&!(u(this._flags.last_token.text,["(","[","{",":","=",","])||this._flags.last_token.type===l.OPERATOR))&&!this._output.just_added_blankline()&&!w.comments_before&&(this.print_newline(),this.print_newline(!0)),this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD?f(this._flags.last_token,["get","set","new","export"])||f(this._flags.last_token,C)?this._output.space_before_token=!0:d(this._flags.last_token,"default")&&this._last_last_text==="export"?this._output.space_before_token=!0:this._flags.last_token.text==="declare"?this._output.space_before_token=!0:this.print_newline():this._flags.last_token.type===l.OPERATOR||this._flags.last_token.text==="="?this._output.space_before_token=!0:!this._flags.multiline_frame&&(P(this._flags.mode)||O(this._flags.mode))||this.print_newline(),this.print_token(w),this._flags.last_word=w.text;return}var I="NONE";if(this._flags.last_token.type===l.END_BLOCK?this._previous_flags.inline_frame?I="SPACE":f(w,["else","catch","finally","from"])?this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&w.newlines?I="NEWLINE":(I="SPACE",this._output.space_before_token=!0):I="NEWLINE":this._flags.last_token.type===l.SEMICOLON&&this._flags.mode===m.BlockStatement?I="NEWLINE":this._flags.last_token.type===l.SEMICOLON&&P(this._flags.mode)?I="SPACE":this._flags.last_token.type===l.STRING?I="NEWLINE":this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD||this._flags.last_token.text==="*"&&(u(this._last_last_text,["function","yield"])||this._flags.mode===m.ObjectLiteral&&u(this._last_last_text,["{",","]))?I="SPACE":this._flags.last_token.type===l.START_BLOCK?this._flags.inline_frame?I="SPACE":I="NEWLINE":this._flags.last_token.type===l.END_EXPR&&(this._output.space_before_token=!0,I="NEWLINE"),f(w,o)&&this._flags.last_token.text!==")"&&(this._flags.inline_frame||this._flags.last_token.text==="else"||this._flags.last_token.text==="export"?I="SPACE":I="NEWLINE"),f(w,["else","catch","finally"]))if((!(this._flags.last_token.type===l.END_BLOCK&&this._previous_flags.mode===m.BlockStatement)||this._options.brace_style==="expand"||this._options.brace_style==="end-expand"||this._options.brace_style==="none"&&w.newlines)&&!this._flags.inline_frame)this.print_newline();else{this._output.trim(!0);var j=this._output.current_line;j.last()!=="}"&&this.print_newline(),this._output.space_before_token=!0}else I==="NEWLINE"?f(this._flags.last_token,h)?this._output.space_before_token=!0:this._flags.last_token.text==="declare"&&f(w,["var","let","const"])?this._output.space_before_token=!0:this._flags.last_token.type!==l.END_EXPR?(this._flags.last_token.type!==l.START_EXPR||!f(w,["var","let","const"]))&&this._flags.last_token.text!==":"&&(d(w,"if")&&d(w.previous,"else")?this._output.space_before_token=!0:this.print_newline()):f(w,o)&&this._flags.last_token.text!==")"&&this.print_newline():this._flags.multiline_frame&&O(this._flags.mode)&&this._flags.last_token.text===","&&this._last_last_text==="}"?this.print_newline():I==="SPACE"&&(this._output.space_before_token=!0);w.previous&&(w.previous.type===l.WORD||w.previous.type===l.RESERVED)&&(this._output.space_before_token=!0),this.print_token(w),this._flags.last_word=w.text,w.type===l.RESERVED&&(w.text==="do"?this._flags.do_block=!0:w.text==="if"?this._flags.if_block=!0:w.text==="import"?this._flags.import_block=!0:this._flags.import_block&&d(w,"from")&&(this._flags.import_block=!1))},_.prototype.handle_semicolon=function(w){this.start_of_statement(w)?this._output.space_before_token=!1:this.handle_whitespace_and_comments(w);for(var A=this._tokens.peek();this._flags.mode===m.Statement&&!(this._flags.if_block&&d(A,"else"))&&!this._flags.do_block;)this.restore_mode();this._flags.import_block&&(this._flags.import_block=!1),this.print_token(w)},_.prototype.handle_string=function(w){w.text.startsWith("`")&&w.newlines===0&&w.whitespace_before===""&&(w.previous.text===")"||this._flags.last_token.type===l.WORD)||(this.start_of_statement(w)?this._output.space_before_token=!0:(this.handle_whitespace_and_comments(w),this._flags.last_token.type===l.RESERVED||this._flags.last_token.type===l.WORD||this._flags.inline_frame?this._output.space_before_token=!0:this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR||this._flags.last_token.type===l.EQUALS||this._flags.last_token.type===l.OPERATOR?this.start_of_object_property()||this.allow_wrap_or_preserved_newline(w):w.text.startsWith("`")&&this._flags.last_token.type===l.END_EXPR&&(w.previous.text==="]"||w.previous.text===")")&&w.newlines===0?this._output.space_before_token=!0:this.print_newline())),this.print_token(w)},_.prototype.handle_equals=function(w){this.start_of_statement(w)||this.handle_whitespace_and_comments(w),this._flags.declaration_statement&&(this._flags.declaration_assignment=!0),this._output.space_before_token=!0,this.print_token(w),this._output.space_before_token=!0},_.prototype.handle_comma=function(w){this.handle_whitespace_and_comments(w,!0),this.print_token(w),this._output.space_before_token=!0,this._flags.declaration_statement?(P(this._flags.parent.mode)&&(this._flags.declaration_assignment=!1),this._flags.declaration_assignment?(this._flags.declaration_assignment=!1,this.print_newline(!1,!0)):this._options.comma_first&&this.allow_wrap_or_preserved_newline(w)):this._flags.mode===m.ObjectLiteral||this._flags.mode===m.Statement&&this._flags.parent.mode===m.ObjectLiteral?(this._flags.mode===m.Statement&&this.restore_mode(),this._flags.inline_frame||this.print_newline()):this._options.comma_first&&this.allow_wrap_or_preserved_newline(w)},_.prototype.handle_operator=function(w){var A=w.text==="*"&&(f(this._flags.last_token,["function","yield"])||u(this._flags.last_token.type,[l.START_BLOCK,l.COMMA,l.END_BLOCK,l.SEMICOLON])),I=u(w.text,["-","+"])&&(u(this._flags.last_token.type,[l.START_BLOCK,l.START_EXPR,l.EQUALS,l.OPERATOR])||u(this._flags.last_token.text,o)||this._flags.last_token.text===",");if(!this.start_of_statement(w)){var j=!A;this.handle_whitespace_and_comments(w,j)}if(w.text==="*"&&this._flags.last_token.type===l.DOT){this.print_token(w);return}if(w.text==="::"){this.print_token(w);return}if(u(w.text,["-","+"])&&this.start_of_object_property()){this.print_token(w);return}if(this._flags.last_token.type===l.OPERATOR&&u(this._options.operator_position,g)&&this.allow_wrap_or_preserved_newline(w),w.text===":"&&this._flags.in_case){this.print_token(w),this._flags.in_case=!1,this._flags.case_body=!0,this._tokens.peek().type!==l.START_BLOCK?(this.indent(),this.print_newline(),this._flags.case_block=!1):(this._flags.case_block=!0,this._output.space_before_token=!0);return}var R=!0,q=!0,M=!1;if(w.text===":"?this._flags.ternary_depth===0?R=!1:(this._flags.ternary_depth-=1,M=!0):w.text==="?"&&(this._flags.ternary_depth+=1),!I&&!A&&this._options.preserve_newlines&&u(w.text,s)){var K=w.text===":",J=K&&M,oe=K&&!M;switch(this._options.operator_position){case b.before_newline:this._output.space_before_token=!oe,this.print_token(w),(!K||J)&&this.allow_wrap_or_preserved_newline(w),this._output.space_before_token=!0;return;case b.after_newline:this._output.space_before_token=!0,!K||J?this._tokens.peek().newlines?this.print_newline(!1,!0):this.allow_wrap_or_preserved_newline(w):this._output.space_before_token=!1,this.print_token(w),this._output.space_before_token=!0;return;case b.preserve_newline:oe||this.allow_wrap_or_preserved_newline(w),R=!(this._output.just_added_newline()||oe),this._output.space_before_token=R,this.print_token(w),this._output.space_before_token=!0;return}}if(A){this.allow_wrap_or_preserved_newline(w),R=!1;var ye=this._tokens.peek();q=ye&&u(ye.type,[l.WORD,l.RESERVED])}else if(w.text==="...")this.allow_wrap_or_preserved_newline(w),R=this._flags.last_token.type===l.START_BLOCK,q=!1;else if(u(w.text,["--","++","!","~"])||I){if((this._flags.last_token.type===l.COMMA||this._flags.last_token.type===l.START_EXPR)&&this.allow_wrap_or_preserved_newline(w),R=!1,q=!1,w.newlines&&(w.text==="--"||w.text==="++"||w.text==="~")){var ae=f(this._flags.last_token,h)&&w.newlines;ae&&(this._previous_flags.if_block||this._previous_flags.else_block)&&this.restore_mode(),this.print_newline(ae,!0)}this._flags.last_token.text===";"&&P(this._flags.mode)&&(R=!0),this._flags.last_token.type===l.RESERVED?R=!0:this._flags.last_token.type===l.END_EXPR?R=!(this._flags.last_token.text==="]"&&(w.text==="--"||w.text==="++")):this._flags.last_token.type===l.OPERATOR&&(R=u(w.text,["--","-","++","+"])&&u(this._flags.last_token.text,["--","-","++","+"]),u(w.text,["+","-"])&&u(this._flags.last_token.text,["--","++"])&&(q=!0)),(this._flags.mode===m.BlockStatement&&!this._flags.inline_frame||this._flags.mode===m.Statement)&&(this._flags.last_token.text==="{"||this._flags.last_token.text===";")&&this.print_newline()}this._output.space_before_token=this._output.space_before_token||R,this.print_token(w),this._output.space_before_token=q},_.prototype.handle_block_comment=function(w,A){if(this._output.raw){this._output.add_raw_token(w),w.directives&&w.directives.preserve==="end"&&(this._output.raw=this._options.test_output_raw);return}if(w.directives){this.print_newline(!1,A),this.print_token(w),w.directives.preserve==="start"&&(this._output.raw=!0),this.print_newline(!1,!0);return}if(!r.newline.test(w.text)&&!w.newlines){this._output.space_before_token=!0,this.print_token(w),this._output.space_before_token=!0;return}else this.print_block_commment(w,A)},_.prototype.print_block_commment=function(w,A){var I=S(w.text),j,R=!1,q=!1,M=w.whitespace_before,K=M.length;if(this.print_newline(!1,A),this.print_token_line_indentation(w),this._output.add_token(I[0]),this.print_newline(!1,A),I.length>1){for(I=I.slice(1),R=x(I,"*"),q=E(I,M),R&&(this._flags.alignment=1),j=0;j<I.length;j++)R?(this.print_token_line_indentation(w),this._output.add_token(c(I[j]))):q&&I[j]?(this.print_token_line_indentation(w),this._output.add_token(I[j].substring(K))):(this._output.current_line.set_indent(-1),this._output.add_token(I[j])),this.print_newline(!1,A);this._flags.alignment=0}},_.prototype.handle_comment=function(w,A){w.newlines?this.print_newline(!1,A):this._output.trim(!0),this._output.space_before_token=!0,this.print_token(w),this.print_newline(!1,A)},_.prototype.handle_dot=function(w){this.start_of_statement(w)||this.handle_whitespace_and_comments(w,!0),this._flags.last_token.text.match("^[0-9]+$")&&(this._output.space_before_token=!0),f(this._flags.last_token,h)?this._output.space_before_token=!1:this.allow_wrap_or_preserved_newline(w,this._flags.last_token.text===")"&&this._options.break_chained_methods),this._options.unindent_chained_methods&&this._output.just_added_newline()&&this.deindent(),this.print_token(w)},_.prototype.handle_unknown=function(w,A){this.print_token(w),w.text[w.text.length-1]===`
|
|
1098
|
-
`&&this.print_newline(!1,A)},_.prototype.handle_eof=function(w){for(;this._flags.mode===m.Statement;)this.restore_mode();this.handle_whitespace_and_comments(w)},Zh.Beautifier=_,Zh}var eC;function Ise(){if(eC)return nc.exports;eC=1;var e=Nse().Beautifier,t=dU().Options;function r(n,i){var o=new e(n,i);return o.beautify()}return nc.exports=r,nc.exports.defaultOptions=function(){return new t},nc.exports}var sc={exports:{}},cm={},pm={},tC;function hU(){if(tC)return pm;tC=1;var e=Aw().Options;function t(r){e.call(this,r,"css"),this.selector_separator_newline=this._get_boolean("selector_separator_newline",!0),this.newline_between_rules=this._get_boolean("newline_between_rules",!0);var n=this._get_boolean("space_around_selector_separator");this.space_around_combinator=this._get_boolean("space_around_combinator")||n;var i=this._get_selection_list("brace_style",["collapse","expand","end-expand","none","preserve-inline"]);this.brace_style="collapse";for(var o=0;o<i.length;o++)i[o]!=="expand"?this.brace_style="collapse":this.brace_style=i[o]}return t.prototype=new e,pm.Options=t,pm}var rC;function kse(){if(rC)return cm;rC=1;var e=hU().Options,t=Pw().Output,r=Rw().InputScanner,n=Nw().Directives,i=new n(/\/\*/,/\*\//),o=/\r\n|[\r\n]/,s=/\r\n|[\r\n]/g,l=/\s/,u=/(?:\s|\n)+/g,c=/\/\*(?:[\s\S]*?)((?:\*\/)|$)/g,p=/\/\/(?:[^\n\r\u2028\u2029]*)/g;function d(f,h){this._source_text=f||"",this._options=new e(h),this._ch=null,this._input=null,this.NESTED_AT_RULE={page:!0,"font-face":!0,keyframes:!0,media:!0,supports:!0,document:!0},this.CONDITIONAL_GROUP_RULE={media:!0,supports:!0,document:!0},this.NON_SEMICOLON_NEWLINE_PROPERTY=["grid-template-areas","grid-template"]}return d.prototype.eatString=function(f){var h="";for(this._ch=this._input.next();this._ch;){if(h+=this._ch,this._ch==="\\")h+=this._input.next();else if(f.indexOf(this._ch)!==-1||this._ch===`
|
|
1099
|
-
`)break;this._ch=this._input.next()}return h},d.prototype.eatWhitespace=function(f){for(var h=l.test(this._input.peek()),y=0;l.test(this._input.peek());)this._ch=this._input.next(),f&&this._ch===`
|
|
1100
|
-
`&&(y===0||y<this._options.max_preserve_newlines)&&(y++,this._output.add_new_line(!0));return h},d.prototype.foundNestedPseudoClass=function(){for(var f=0,h=1,y=this._input.peek(h);y;){if(y==="{")return!0;if(y==="(")f+=1;else if(y===")"){if(f===0)return!1;f-=1}else if(y===";"||y==="}")return!1;h++,y=this._input.peek(h)}return!1},d.prototype.print_string=function(f){this._output.set_indent(this._indentLevel),this._output.non_breaking_space=!0,this._output.add_token(f)},d.prototype.preserveSingleSpace=function(f){f&&(this._output.space_before_token=!0)},d.prototype.indent=function(){this._indentLevel++},d.prototype.outdent=function(){this._indentLevel>0&&this._indentLevel--},d.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var f=this._source_text,h=this._options.eol;h==="auto"&&(h=`
|
|
1101
|
-
`,f&&o.test(f||"")&&(h=f.match(o)[0])),f=f.replace(s,`
|
|
1102
|
-
`);var y=f.match(/^[\t ]*/)[0];this._output=new t(this._options,y),this._input=new r(f),this._indentLevel=0,this._nestedLevel=0,this._ch=null;for(var b=0,g=!1,m=!1,v=!1,S=!1,O=!1,P=this._ch,x=!1,E,_,C;E=this._input.read(u),_=E!=="",C=P,this._ch=this._input.next(),this._ch==="\\"&&this._input.hasNext()&&(this._ch+=this._input.next()),P=this._ch,this._ch;)if(this._ch==="/"&&this._input.peek()==="*"){this._output.add_new_line(),this._input.back();var w=this._input.read(c),A=i.get_directives(w);A&&A.ignore==="start"&&(w+=i.readIgnored(this._input)),this.print_string(w),this.eatWhitespace(!0),this._output.add_new_line()}else if(this._ch==="/"&&this._input.peek()==="/")this._output.space_before_token=!0,this._input.back(),this.print_string(this._input.read(p)),this.eatWhitespace(!0);else if(this._ch==="$"){this.preserveSingleSpace(_),this.print_string(this._ch);var I=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);I.match(/[ :]$/)&&(I=this.eatString(": ").replace(/\s+$/,""),this.print_string(I),this._output.space_before_token=!0),b===0&&I.indexOf(":")!==-1&&(m=!0,this.indent())}else if(this._ch==="@")if(this.preserveSingleSpace(_),this._input.peek()==="{")this.print_string(this._ch+this.eatString("}"));else{this.print_string(this._ch);var j=this._input.peekUntilAfter(/[: ,;{}()[\]\/='"]/g);j.match(/[ :]$/)&&(j=this.eatString(": ").replace(/\s+$/,""),this.print_string(j),this._output.space_before_token=!0),b===0&&j.indexOf(":")!==-1?(m=!0,this.indent()):j in this.NESTED_AT_RULE?(this._nestedLevel+=1,j in this.CONDITIONAL_GROUP_RULE&&(v=!0)):b===0&&!m&&(S=!0)}else if(this._ch==="#"&&this._input.peek()==="{")this.preserveSingleSpace(_),this.print_string(this._ch+this.eatString("}"));else if(this._ch==="{")m&&(m=!1,this.outdent()),S=!1,v?(v=!1,g=this._indentLevel>=this._nestedLevel):g=this._indentLevel>=this._nestedLevel-1,this._options.newline_between_rules&&g&&this._output.previous_line&&this._output.previous_line.item(-1)!=="{"&&this._output.ensure_empty_line_above("/",","),this._output.space_before_token=!0,this._options.brace_style==="expand"?(this._output.add_new_line(),this.print_string(this._ch),this.indent(),this._output.set_indent(this._indentLevel)):(C==="("?this._output.space_before_token=!1:C!==","&&this.indent(),this.print_string(this._ch)),this.eatWhitespace(!0),this._output.add_new_line();else if(this._ch==="}")this.outdent(),this._output.add_new_line(),C==="{"&&this._output.trim(!0),m&&(this.outdent(),m=!1),this.print_string(this._ch),g=!1,this._nestedLevel&&this._nestedLevel--,this.eatWhitespace(!0),this._output.add_new_line(),this._options.newline_between_rules&&!this._output.just_added_blankline()&&this._input.peek()!=="}"&&this._output.add_new_line(!0),this._input.peek()===")"&&(this._output.trim(!0),this._options.brace_style==="expand"&&this._output.add_new_line(!0));else if(this._ch===":"){for(var R=0;R<this.NON_SEMICOLON_NEWLINE_PROPERTY.length;R++)if(this._input.lookBack(this.NON_SEMICOLON_NEWLINE_PROPERTY[R])){x=!0;break}(g||v)&&!(this._input.lookBack("&")||this.foundNestedPseudoClass())&&!this._input.lookBack("(")&&!S&&b===0?(this.print_string(":"),m||(m=!0,this._output.space_before_token=!0,this.eatWhitespace(!0),this.indent())):(this._input.lookBack(" ")&&(this._output.space_before_token=!0),this._input.peek()===":"?(this._ch=this._input.next(),this.print_string("::")):this.print_string(":"))}else if(this._ch==='"'||this._ch==="'"){var q=C==='"'||C==="'";this.preserveSingleSpace(q||_),this.print_string(this._ch+this.eatString(this._ch)),this.eatWhitespace(!0)}else if(this._ch===";")x=!1,b===0?(m&&(this.outdent(),m=!1),S=!1,this.print_string(this._ch),this.eatWhitespace(!0),this._input.peek()!=="/"&&this._output.add_new_line()):(this.print_string(this._ch),this.eatWhitespace(!0),this._output.space_before_token=!0);else if(this._ch==="(")if(this._input.lookBack("url"))this.print_string(this._ch),this.eatWhitespace(),b++,this.indent(),this._ch=this._input.next(),this._ch===")"||this._ch==='"'||this._ch==="'"?this._input.back():this._ch&&(this.print_string(this._ch+this.eatString(")")),b&&(b--,this.outdent()));else{var M=!1;this._input.lookBack("with")&&(M=!0),this.preserveSingleSpace(_||M),this.print_string(this._ch),m&&C==="$"&&this._options.selector_separator_newline?(this._output.add_new_line(),O=!0):(this.eatWhitespace(),b++,this.indent())}else if(this._ch===")")b&&(b--,this.outdent()),O&&this._input.peek()===";"&&this._options.selector_separator_newline&&(O=!1,this.outdent(),this._output.add_new_line()),this.print_string(this._ch);else if(this._ch===",")this.print_string(this._ch),this.eatWhitespace(!0),this._options.selector_separator_newline&&(!m||O)&&b===0&&!S?this._output.add_new_line():this._output.space_before_token=!0;else if((this._ch===">"||this._ch==="+"||this._ch==="~")&&!m&&b===0)this._options.space_around_combinator?(this._output.space_before_token=!0,this.print_string(this._ch),this._output.space_before_token=!0):(this.print_string(this._ch),this.eatWhitespace(),this._ch&&l.test(this._ch)&&(this._ch=""));else if(this._ch==="]")this.print_string(this._ch);else if(this._ch==="[")this.preserveSingleSpace(_),this.print_string(this._ch);else if(this._ch==="=")this.eatWhitespace(),this.print_string("="),l.test(this._ch)&&(this._ch="");else if(this._ch==="!"&&!this._input.lookBack("\\"))this._output.space_before_token=!0,this.print_string(this._ch);else{var K=C==='"'||C==="'";this.preserveSingleSpace(K||_),this.print_string(this._ch),!this._output.just_added_newline()&&this._input.peek()===`
|
|
1103
|
-
`&&x&&this._output.add_new_line()}var J=this._output.get_code(h);return J},cm.Beautifier=d,cm}var nC;function Mse(){if(nC)return sc.exports;nC=1;var e=kse().Beautifier,t=hU().Options;function r(n,i){var o=new e(n,i);return o.beautify()}return sc.exports=r,sc.exports.defaultOptions=function(){return new t},sc.exports}var ac={exports:{}},dm={},fm={},iC;function mU(){if(iC)return fm;iC=1;var e=Aw().Options;function t(r){e.call(this,r,"html"),this.templating.length===1&&this.templating[0]==="auto"&&(this.templating=["django","erb","handlebars","php"]),this.indent_inner_html=this._get_boolean("indent_inner_html"),this.indent_body_inner_html=this._get_boolean("indent_body_inner_html",!0),this.indent_head_inner_html=this._get_boolean("indent_head_inner_html",!0),this.indent_handlebars=this._get_boolean("indent_handlebars",!0),this.wrap_attributes=this._get_selection("wrap_attributes",["auto","force","force-aligned","force-expand-multiline","aligned-multiple","preserve","preserve-aligned"]),this.wrap_attributes_min_attrs=this._get_number("wrap_attributes_min_attrs",2),this.wrap_attributes_indent_size=this._get_number("wrap_attributes_indent_size",this.indent_size),this.extra_liners=this._get_array("extra_liners",["head","body","/html"]),this.inline=this._get_array("inline",["a","abbr","area","audio","b","bdi","bdo","br","button","canvas","cite","code","data","datalist","del","dfn","em","embed","i","iframe","img","input","ins","kbd","keygen","label","map","mark","math","meter","noscript","object","output","progress","q","ruby","s","samp","select","small","span","strong","sub","sup","svg","template","textarea","time","u","var","video","wbr","text","acronym","big","strike","tt"]),this.inline_custom_elements=this._get_boolean("inline_custom_elements",!0),this.void_elements=this._get_array("void_elements",["area","base","br","col","embed","hr","img","input","keygen","link","menuitem","meta","param","source","track","wbr","!doctype","?xml","basefont","isindex"]),this.unformatted=this._get_array("unformatted",[]),this.content_unformatted=this._get_array("content_unformatted",["pre","textarea"]),this.unformatted_content_delimiter=this._get_characters("unformatted_content_delimiter"),this.indent_scripts=this._get_selection("indent_scripts",["normal","keep","separate"])}return t.prototype=new e,fm.Options=t,fm}var lc={},oC;function sC(){if(oC)return lc;oC=1;var e=td().Tokenizer,t=td().TOKEN,r=Nw().Directives,n=fU().TemplatablePattern,i=fh().Pattern,o={TAG_OPEN:"TK_TAG_OPEN",TAG_CLOSE:"TK_TAG_CLOSE",CONTROL_FLOW_OPEN:"TK_CONTROL_FLOW_OPEN",CONTROL_FLOW_CLOSE:"TK_CONTROL_FLOW_CLOSE",ATTRIBUTE:"TK_ATTRIBUTE",EQUALS:"TK_EQUALS",VALUE:"TK_VALUE",COMMENT:"TK_COMMENT",TEXT:"TK_TEXT",UNKNOWN:"TK_UNKNOWN",START:t.START,RAW:t.RAW,EOF:t.EOF},s=new r(/<\!--/,/-->/),l=function(u,c){e.call(this,u,c),this._current_tag_name="";var p=new n(this._input).read_options(this._options),d=new i(this._input);if(this.__patterns={word:p.until(/[\n\r\t <]/),word_control_flow_close_excluded:p.until(/[\n\r\t <}]/),single_quote:p.until_after(/'/),double_quote:p.until_after(/"/),attribute:p.until(/[\n\r\t =>]|\/>/),element_name:p.until(/[\n\r\t >\/]/),angular_control_flow_start:d.matching(/\@[a-zA-Z]+[^({]*[({]/),handlebars_comment:d.starting_with(/{{!--/).until_after(/--}}/),handlebars:d.starting_with(/{{/).until_after(/}}/),handlebars_open:d.until(/[\n\r\t }]/),handlebars_raw_close:d.until(/}}/),comment:d.starting_with(/<!--/).until_after(/-->/),cdata:d.starting_with(/<!\[CDATA\[/).until_after(/]]>/),conditional_comment:d.starting_with(/<!\[/).until_after(/]>/),processing:d.starting_with(/<\?/).until_after(/\?>/)},this._options.indent_handlebars&&(this.__patterns.word=this.__patterns.word.exclude("handlebars"),this.__patterns.word_control_flow_close_excluded=this.__patterns.word_control_flow_close_excluded.exclude("handlebars")),this._unformatted_content_delimiter=null,this._options.unformatted_content_delimiter){var f=this._input.get_literal_regexp(this._options.unformatted_content_delimiter);this.__patterns.unformatted_content_delimiter=d.matching(f).until_after(f)}};return l.prototype=new e,l.prototype._is_comment=function(u){return!1},l.prototype._is_opening=function(u){return u.type===o.TAG_OPEN||u.type===o.CONTROL_FLOW_OPEN},l.prototype._is_closing=function(u,c){return u.type===o.TAG_CLOSE&&c&&((u.text===">"||u.text==="/>")&&c.text[0]==="<"||u.text==="}}"&&c.text[0]==="{"&&c.text[1]==="{")||u.type===o.CONTROL_FLOW_CLOSE&&u.text==="}"&&c.text.endsWith("{")},l.prototype._reset=function(){this._current_tag_name=""},l.prototype._get_next_token=function(u,c){var p=null;this._readWhitespace();var d=this._input.peek();return d===null?this._create_token(o.EOF,""):(p=p||this._read_open_handlebars(d,c),p=p||this._read_attribute(d,u,c),p=p||this._read_close(d,c),p=p||this._read_control_flows(d,c),p=p||this._read_raw_content(d,u,c),p=p||this._read_content_word(d,c),p=p||this._read_comment_or_cdata(d),p=p||this._read_processing(d),p=p||this._read_open(d,c),p=p||this._create_token(o.UNKNOWN,this._input.next()),p)},l.prototype._read_comment_or_cdata=function(u){var c=null,p=null,d=null;if(u==="<"){var f=this._input.peek(1);f==="!"&&(p=this.__patterns.comment.read(),p?(d=s.get_directives(p),d&&d.ignore==="start"&&(p+=s.readIgnored(this._input))):p=this.__patterns.cdata.read()),p&&(c=this._create_token(o.COMMENT,p),c.directives=d)}return c},l.prototype._read_processing=function(u){var c=null,p=null,d=null;if(u==="<"){var f=this._input.peek(1);(f==="!"||f==="?")&&(p=this.__patterns.conditional_comment.read(),p=p||this.__patterns.processing.read()),p&&(c=this._create_token(o.COMMENT,p),c.directives=d)}return c},l.prototype._read_open=function(u,c){var p=null,d=null;return(!c||c.type===o.CONTROL_FLOW_OPEN)&&u==="<"&&(p=this._input.next(),this._input.peek()==="/"&&(p+=this._input.next()),p+=this.__patterns.element_name.read(),d=this._create_token(o.TAG_OPEN,p)),d},l.prototype._read_open_handlebars=function(u,c){var p=null,d=null;return(!c||c.type===o.CONTROL_FLOW_OPEN)&&this._options.indent_handlebars&&u==="{"&&this._input.peek(1)==="{"&&(this._input.peek(2)==="!"?(p=this.__patterns.handlebars_comment.read(),p=p||this.__patterns.handlebars.read(),d=this._create_token(o.COMMENT,p)):(p=this.__patterns.handlebars_open.read(),d=this._create_token(o.TAG_OPEN,p))),d},l.prototype._read_control_flows=function(u,c){var p="",d=null;if(!this._options.templating.includes("angular")||!this._options.indent_handlebars)return d;if(u==="@"){if(p=this.__patterns.angular_control_flow_start.read(),p==="")return d;for(var f=p.endsWith("(")?1:0,h=0;!(p.endsWith("{")&&f===h);){var y=this._input.next();if(y===null)break;y==="("?f++:y===")"&&h++,p+=y}d=this._create_token(o.CONTROL_FLOW_OPEN,p)}else u==="}"&&c&&c.type===o.CONTROL_FLOW_OPEN&&(p=this._input.next(),d=this._create_token(o.CONTROL_FLOW_CLOSE,p));return d},l.prototype._read_close=function(u,c){var p=null,d=null;return c&&c.type===o.TAG_OPEN&&(c.text[0]==="<"&&(u===">"||u==="/"&&this._input.peek(1)===">")?(p=this._input.next(),u==="/"&&(p+=this._input.next()),d=this._create_token(o.TAG_CLOSE,p)):c.text[0]==="{"&&u==="}"&&this._input.peek(1)==="}"&&(this._input.next(),this._input.next(),d=this._create_token(o.TAG_CLOSE,"}}"))),d},l.prototype._read_attribute=function(u,c,p){var d=null,f="";if(p&&p.text[0]==="<")if(u==="=")d=this._create_token(o.EQUALS,this._input.next());else if(u==='"'||u==="'"){var h=this._input.next();u==='"'?h+=this.__patterns.double_quote.read():h+=this.__patterns.single_quote.read(),d=this._create_token(o.VALUE,h)}else f=this.__patterns.attribute.read(),f&&(c.type===o.EQUALS?d=this._create_token(o.VALUE,f):d=this._create_token(o.ATTRIBUTE,f));return d},l.prototype._is_content_unformatted=function(u){return this._options.void_elements.indexOf(u)===-1&&(this._options.content_unformatted.indexOf(u)!==-1||this._options.unformatted.indexOf(u)!==-1)},l.prototype._read_raw_content=function(u,c,p){var d="";if(p&&p.text[0]==="{")d=this.__patterns.handlebars_raw_close.read();else if(c.type===o.TAG_CLOSE&&c.opened.text[0]==="<"&&c.text[0]!=="/"){var f=c.opened.text.substr(1).toLowerCase();if(f==="script"||f==="style"){var h=this._read_comment_or_cdata(u);if(h)return h.type=o.TEXT,h;d=this._input.readUntil(new RegExp("</"+f+"[\\n\\r\\t ]*?>","ig"))}else this._is_content_unformatted(f)&&(d=this._input.readUntil(new RegExp("</"+f+"[\\n\\r\\t ]*?>","ig")))}return d?this._create_token(o.TEXT,d):null},l.prototype._read_content_word=function(u,c){var p="";if(this._options.unformatted_content_delimiter&&u===this._options.unformatted_content_delimiter[0]&&(p=this.__patterns.unformatted_content_delimiter.read()),p||(p=c&&c.type===o.CONTROL_FLOW_OPEN?this.__patterns.word_control_flow_close_excluded.read():this.__patterns.word.read()),p)return this._create_token(o.TEXT,p)},lc.Tokenizer=l,lc.TOKEN=o,lc}var aC;function qse(){if(aC)return dm;aC=1;var e=mU().Options,t=Pw().Output,r=sC().Tokenizer,n=sC().TOKEN,i=/\r\n|[\r\n]/,o=/\r\n|[\r\n]/g,s=function(g,m){this.indent_level=0,this.alignment_size=0,this.max_preserve_newlines=g.max_preserve_newlines,this.preserve_newlines=g.preserve_newlines,this._output=new t(g,m)};s.prototype.current_line_has_match=function(g){return this._output.current_line.has_match(g)},s.prototype.set_space_before_token=function(g,m){this._output.space_before_token=g,this._output.non_breaking_space=m},s.prototype.set_wrap_point=function(){this._output.set_indent(this.indent_level,this.alignment_size),this._output.set_wrap_point()},s.prototype.add_raw_token=function(g){this._output.add_raw_token(g)},s.prototype.print_preserved_newlines=function(g){var m=0;g.type!==n.TEXT&&g.previous.type!==n.TEXT&&(m=g.newlines?1:0),this.preserve_newlines&&(m=g.newlines<this.max_preserve_newlines+1?g.newlines:this.max_preserve_newlines+1);for(var v=0;v<m;v++)this.print_newline(v>0);return m!==0},s.prototype.traverse_whitespace=function(g){return g.whitespace_before||g.newlines?(this.print_preserved_newlines(g)||(this._output.space_before_token=!0),!0):!1},s.prototype.previous_token_wrapped=function(){return this._output.previous_token_wrapped},s.prototype.print_newline=function(g){this._output.add_new_line(g)},s.prototype.print_token=function(g){g.text&&(this._output.set_indent(this.indent_level,this.alignment_size),this._output.add_token(g.text))},s.prototype.indent=function(){this.indent_level++},s.prototype.deindent=function(){this.indent_level>0&&(this.indent_level--,this._output.set_indent(this.indent_level,this.alignment_size))},s.prototype.get_full_indent=function(g){return g=this.indent_level+(g||0),g<1?"":this._output.get_indent_string(g)};var l=function(g){for(var m=null,v=g.next;v.type!==n.EOF&&g.closed!==v;){if(v.type===n.ATTRIBUTE&&v.text==="type"){v.next&&v.next.type===n.EQUALS&&v.next.next&&v.next.next.type===n.VALUE&&(m=v.next.next.text);break}v=v.next}return m},u=function(g,m){var v=null,S=null;return m.closed?(g==="script"?v="text/javascript":g==="style"&&(v="text/css"),v=l(m)||v,v.search("text/css")>-1?S="css":v.search(/module|((text|application|dojo)\/(x-)?(javascript|ecmascript|jscript|livescript|(ld\+)?json|method|aspect))/)>-1?S="javascript":v.search(/(text|application|dojo)\/(x-)?(html)/)>-1?S="html":v.search(/test\/null/)>-1&&(S="null"),S):null};function c(g,m){return m.indexOf(g)!==-1}function p(g,m,v){this.parent=g||null,this.tag=m?m.tag_name:"",this.indent_level=v||0,this.parser_token=m||null}function d(g){this._printer=g,this._current_frame=null}d.prototype.get_parser_token=function(){return this._current_frame?this._current_frame.parser_token:null},d.prototype.record_tag=function(g){var m=new p(this._current_frame,g,this._printer.indent_level);this._current_frame=m},d.prototype._try_pop_frame=function(g){var m=null;return g&&(m=g.parser_token,this._printer.indent_level=g.indent_level,this._current_frame=g.parent),m},d.prototype._get_frame=function(g,m){for(var v=this._current_frame;v&&g.indexOf(v.tag)===-1;){if(m&&m.indexOf(v.tag)!==-1){v=null;break}v=v.parent}return v},d.prototype.try_pop=function(g,m){var v=this._get_frame([g],m);return this._try_pop_frame(v)},d.prototype.indent_to_tag=function(g){var m=this._get_frame(g);m&&(this._printer.indent_level=m.indent_level)};function f(g,m,v,S){this._source_text=g||"",m=m||{},this._js_beautify=v,this._css_beautify=S,this._tag_stack=null;var O=new e(m,"html");this._options=O,this._is_wrap_attributes_force=this._options.wrap_attributes.substr(0,5)==="force",this._is_wrap_attributes_force_expand_multiline=this._options.wrap_attributes==="force-expand-multiline",this._is_wrap_attributes_force_aligned=this._options.wrap_attributes==="force-aligned",this._is_wrap_attributes_aligned_multiple=this._options.wrap_attributes==="aligned-multiple",this._is_wrap_attributes_preserve=this._options.wrap_attributes.substr(0,8)==="preserve",this._is_wrap_attributes_preserve_aligned=this._options.wrap_attributes==="preserve-aligned"}f.prototype.beautify=function(){if(this._options.disabled)return this._source_text;var g=this._source_text,m=this._options.eol;this._options.eol==="auto"&&(m=`
|
|
1104
|
-
`,g&&i.test(g)&&(m=g.match(i)[0])),g=g.replace(o,`
|
|
1105
|
-
`);var v=g.match(/^[\t ]*/)[0],S={text:"",type:""},O=new h,P=new s(this._options,v),x=new r(g,this._options).tokenize();this._tag_stack=new d(P);for(var E=null,_=x.next();_.type!==n.EOF;)_.type===n.TAG_OPEN||_.type===n.COMMENT?(E=this._handle_tag_open(P,_,O,S,x),O=E):_.type===n.ATTRIBUTE||_.type===n.EQUALS||_.type===n.VALUE||_.type===n.TEXT&&!O.tag_complete?E=this._handle_inside_tag(P,_,O,S):_.type===n.TAG_CLOSE?E=this._handle_tag_close(P,_,O):_.type===n.TEXT?E=this._handle_text(P,_,O):_.type===n.CONTROL_FLOW_OPEN?E=this._handle_control_flow_open(P,_):_.type===n.CONTROL_FLOW_CLOSE?E=this._handle_control_flow_close(P,_):P.add_raw_token(_),S=E,_=x.next();var C=P._output.get_code(m);return C},f.prototype._handle_control_flow_open=function(g,m){var v={text:m.text,type:m.type};return g.set_space_before_token(m.newlines||m.whitespace_before!=="",!0),m.newlines?g.print_preserved_newlines(m):g.set_space_before_token(m.newlines||m.whitespace_before!=="",!0),g.print_token(m),g.indent(),v},f.prototype._handle_control_flow_close=function(g,m){var v={text:m.text,type:m.type};return g.deindent(),m.newlines?g.print_preserved_newlines(m):g.set_space_before_token(m.newlines||m.whitespace_before!=="",!0),g.print_token(m),v},f.prototype._handle_tag_close=function(g,m,v){var S={text:m.text,type:m.type};return g.alignment_size=0,v.tag_complete=!0,g.set_space_before_token(m.newlines||m.whitespace_before!=="",!0),v.is_unformatted?g.add_raw_token(m):(v.tag_start_char==="<"&&(g.set_space_before_token(m.text[0]==="/",!0),this._is_wrap_attributes_force_expand_multiline&&v.has_wrapped_attrs&&g.print_newline(!1)),g.print_token(m)),v.indent_content&&!(v.is_unformatted||v.is_content_unformatted)&&(g.indent(),v.indent_content=!1),!v.is_inline_element&&!(v.is_unformatted||v.is_content_unformatted)&&g.set_wrap_point(),S},f.prototype._handle_inside_tag=function(g,m,v,S){var O=v.has_wrapped_attrs,P={text:m.text,type:m.type};return g.set_space_before_token(m.newlines||m.whitespace_before!=="",!0),v.is_unformatted?g.add_raw_token(m):v.tag_start_char==="{"&&m.type===n.TEXT?g.print_preserved_newlines(m)?(m.newlines=0,g.add_raw_token(m)):g.print_token(m):(m.type===n.ATTRIBUTE?g.set_space_before_token(!0):(m.type===n.EQUALS||m.type===n.VALUE&&m.previous.type===n.EQUALS)&&g.set_space_before_token(!1),m.type===n.ATTRIBUTE&&v.tag_start_char==="<"&&((this._is_wrap_attributes_preserve||this._is_wrap_attributes_preserve_aligned)&&(g.traverse_whitespace(m),O=O||m.newlines!==0),this._is_wrap_attributes_force&&v.attr_count>=this._options.wrap_attributes_min_attrs&&(S.type!==n.TAG_OPEN||this._is_wrap_attributes_force_expand_multiline)&&(g.print_newline(!1),O=!0)),g.print_token(m),O=O||g.previous_token_wrapped(),v.has_wrapped_attrs=O),P},f.prototype._handle_text=function(g,m,v){var S={text:m.text,type:"TK_CONTENT"};return v.custom_beautifier_name?this._print_custom_beatifier_text(g,m,v):v.is_unformatted||v.is_content_unformatted?g.add_raw_token(m):(g.traverse_whitespace(m),g.print_token(m)),S},f.prototype._print_custom_beatifier_text=function(g,m,v){var S=this;if(m.text!==""){var O=m.text,P,x=1,E="",_="";v.custom_beautifier_name==="javascript"&&typeof this._js_beautify=="function"?P=this._js_beautify:v.custom_beautifier_name==="css"&&typeof this._css_beautify=="function"?P=this._css_beautify:v.custom_beautifier_name==="html"&&(P=function(R,q){var M=new f(R,q,S._js_beautify,S._css_beautify);return M.beautify()}),this._options.indent_scripts==="keep"?x=0:this._options.indent_scripts==="separate"&&(x=-g.indent_level);var C=g.get_full_indent(x);if(O=O.replace(/\n[ \t]*$/,""),v.custom_beautifier_name!=="html"&&O[0]==="<"&&O.match(/^(<!--|<!\[CDATA\[)/)){var w=/^(<!--[^\n]*|<!\[CDATA\[)(\n?)([ \t\n]*)([\s\S]*)(-->|]]>)$/.exec(O);if(!w){g.add_raw_token(m);return}E=C+w[1]+`
|
|
1106
|
-
`,O=w[4],w[5]&&(_=C+w[5]),O=O.replace(/\n[ \t]*$/,""),(w[2]||w[3].indexOf(`
|
|
1107
|
-
`)!==-1)&&(w=w[3].match(/[ \t]+$/),w&&(m.whitespace_before=w[0]))}if(O)if(P){var A=function(){this.eol=`
|
|
1108
|
-
`};A.prototype=this._options.raw_options;var I=new A;O=P(C+O,I)}else{var j=m.whitespace_before;j&&(O=O.replace(new RegExp(`
|
|
1109
|
-
(`+j+")?","g"),`
|
|
1110
|
-
`)),O=C+O.replace(/\n/g,`
|
|
1111
|
-
`+C)}E&&(O?O=E+O+`
|
|
1112
|
-
`+_:O=E+_),g.print_newline(!1),O&&(m.text=O,m.whitespace_before="",m.newlines=0,g.add_raw_token(m),g.print_newline(!0))}},f.prototype._handle_tag_open=function(g,m,v,S,O){var P=this._get_tag_open_token(m);if((v.is_unformatted||v.is_content_unformatted)&&!v.is_empty_element&&m.type===n.TAG_OPEN&&!P.is_start_tag?(g.add_raw_token(m),P.start_tag_token=this._tag_stack.try_pop(P.tag_name)):(g.traverse_whitespace(m),this._set_tag_position(g,m,P,v,S),P.is_inline_element||g.set_wrap_point(),g.print_token(m)),P.is_start_tag&&this._is_wrap_attributes_force){var x=0,E;do E=O.peek(x),E.type===n.ATTRIBUTE&&(P.attr_count+=1),x+=1;while(E.type!==n.EOF&&E.type!==n.TAG_CLOSE)}return(this._is_wrap_attributes_force_aligned||this._is_wrap_attributes_aligned_multiple||this._is_wrap_attributes_preserve_aligned)&&(P.alignment_size=m.text.length+1),!P.tag_complete&&!P.is_unformatted&&(g.alignment_size=P.alignment_size),P};var h=function(g,m){if(this.parent=g||null,this.text="",this.type="TK_TAG_OPEN",this.tag_name="",this.is_inline_element=!1,this.is_unformatted=!1,this.is_content_unformatted=!1,this.is_empty_element=!1,this.is_start_tag=!1,this.is_end_tag=!1,this.indent_content=!1,this.multiline_content=!1,this.custom_beautifier_name=null,this.start_tag_token=null,this.attr_count=0,this.has_wrapped_attrs=!1,this.alignment_size=0,this.tag_complete=!1,this.tag_start_char="",this.tag_check="",!m)this.tag_complete=!0;else{var v;this.tag_start_char=m.text[0],this.text=m.text,this.tag_start_char==="<"?(v=m.text.match(/^<([^\s>]*)/),this.tag_check=v?v[1]:""):(v=m.text.match(/^{{~?(?:[\^]|#\*?)?([^\s}]+)/),this.tag_check=v?v[1]:"",(m.text.startsWith("{{#>")||m.text.startsWith("{{~#>"))&&this.tag_check[0]===">"&&(this.tag_check===">"&&m.next!==null?this.tag_check=m.next.text.split(" ")[0]:this.tag_check=m.text.split(">")[1])),this.tag_check=this.tag_check.toLowerCase(),m.type===n.COMMENT&&(this.tag_complete=!0),this.is_start_tag=this.tag_check.charAt(0)!=="/",this.tag_name=this.is_start_tag?this.tag_check:this.tag_check.substr(1),this.is_end_tag=!this.is_start_tag||m.closed&&m.closed.text==="/>";var S=2;this.tag_start_char==="{"&&this.text.length>=3&&this.text.charAt(2)==="~"&&(S=3),this.is_end_tag=this.is_end_tag||this.tag_start_char==="{"&&(this.text.length<3||/[^#\^]/.test(this.text.charAt(S)))}};f.prototype._get_tag_open_token=function(g){var m=new h(this._tag_stack.get_parser_token(),g);return m.alignment_size=this._options.wrap_attributes_indent_size,m.is_end_tag=m.is_end_tag||c(m.tag_check,this._options.void_elements),m.is_empty_element=m.tag_complete||m.is_start_tag&&m.is_end_tag,m.is_unformatted=!m.tag_complete&&c(m.tag_check,this._options.unformatted),m.is_content_unformatted=!m.is_empty_element&&c(m.tag_check,this._options.content_unformatted),m.is_inline_element=c(m.tag_name,this._options.inline)||this._options.inline_custom_elements&&m.tag_name.includes("-")||m.tag_start_char==="{",m},f.prototype._set_tag_position=function(g,m,v,S,O){if(v.is_empty_element||(v.is_end_tag?v.start_tag_token=this._tag_stack.try_pop(v.tag_name):(this._do_optional_end_element(v)&&(v.is_inline_element||g.print_newline(!1)),this._tag_stack.record_tag(v),(v.tag_name==="script"||v.tag_name==="style")&&!(v.is_unformatted||v.is_content_unformatted)&&(v.custom_beautifier_name=u(v.tag_check,m)))),c(v.tag_check,this._options.extra_liners)&&(g.print_newline(!1),g._output.just_added_blankline()||g.print_newline(!0)),v.is_empty_element){if(v.tag_start_char==="{"&&v.tag_check==="else"){this._tag_stack.indent_to_tag(["if","unless","each"]),v.indent_content=!0;var P=g.current_line_has_match(/{{#if/);P||g.print_newline(!1)}v.tag_name==="!--"&&O.type===n.TAG_CLOSE&&S.is_end_tag&&v.text.indexOf(`
|
|
1113
|
-
`)===-1||(v.is_inline_element||v.is_unformatted||g.print_newline(!1),this._calcluate_parent_multiline(g,v))}else if(v.is_end_tag){var x=!1;x=v.start_tag_token&&v.start_tag_token.multiline_content,x=x||!v.is_inline_element&&!(S.is_inline_element||S.is_unformatted)&&!(O.type===n.TAG_CLOSE&&v.start_tag_token===S)&&O.type!=="TK_CONTENT",(v.is_content_unformatted||v.is_unformatted)&&(x=!1),x&&g.print_newline(!1)}else v.indent_content=!v.custom_beautifier_name,v.tag_start_char==="<"&&(v.tag_name==="html"?v.indent_content=this._options.indent_inner_html:v.tag_name==="head"?v.indent_content=this._options.indent_head_inner_html:v.tag_name==="body"&&(v.indent_content=this._options.indent_body_inner_html)),!(v.is_inline_element||v.is_unformatted)&&(O.type!=="TK_CONTENT"||v.is_content_unformatted)&&g.print_newline(!1),this._calcluate_parent_multiline(g,v)},f.prototype._calcluate_parent_multiline=function(g,m){m.parent&&g._output.just_added_newline()&&!((m.is_inline_element||m.is_unformatted)&&m.parent.is_inline_element)&&(m.parent.multiline_content=!0)};var y=["address","article","aside","blockquote","details","div","dl","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","header","hr","main","menu","nav","ol","p","pre","section","table","ul"],b=["a","audio","del","ins","map","noscript","video"];return f.prototype._do_optional_end_element=function(g){var m=null;if(!(g.is_empty_element||!g.is_start_tag||!g.parent)){if(g.tag_name==="body")m=m||this._tag_stack.try_pop("head");else if(g.tag_name==="li")m=m||this._tag_stack.try_pop("li",["ol","ul","menu"]);else if(g.tag_name==="dd"||g.tag_name==="dt")m=m||this._tag_stack.try_pop("dt",["dl"]),m=m||this._tag_stack.try_pop("dd",["dl"]);else if(g.parent.tag_name==="p"&&y.indexOf(g.tag_name)!==-1){var v=g.parent.parent;(!v||b.indexOf(v.tag_name)===-1)&&(m=m||this._tag_stack.try_pop("p"))}else g.tag_name==="rp"||g.tag_name==="rt"?(m=m||this._tag_stack.try_pop("rt",["ruby","rtc"]),m=m||this._tag_stack.try_pop("rp",["ruby","rtc"])):g.tag_name==="optgroup"?m=m||this._tag_stack.try_pop("optgroup",["select"]):g.tag_name==="option"?m=m||this._tag_stack.try_pop("option",["select","datalist","optgroup"]):g.tag_name==="colgroup"?m=m||this._tag_stack.try_pop("caption",["table"]):g.tag_name==="thead"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"])):g.tag_name==="tbody"||g.tag_name==="tfoot"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"]),m=m||this._tag_stack.try_pop("thead",["table"]),m=m||this._tag_stack.try_pop("tbody",["table"])):g.tag_name==="tr"?(m=m||this._tag_stack.try_pop("caption",["table"]),m=m||this._tag_stack.try_pop("colgroup",["table"]),m=m||this._tag_stack.try_pop("tr",["table","thead","tbody","tfoot"])):(g.tag_name==="th"||g.tag_name==="td")&&(m=m||this._tag_stack.try_pop("td",["table","thead","tbody","tfoot","tr"]),m=m||this._tag_stack.try_pop("th",["table","thead","tbody","tfoot","tr"]));return g.parent=this._tag_stack.get_parser_token(),m}},dm.Beautifier=f,dm}var lC;function jse(){if(lC)return ac.exports;lC=1;var e=qse().Beautifier,t=mU().Options;function r(n,i,o,s){var l=new e(n,i,o,s);return l.beautify()}return ac.exports=r,ac.exports.defaultOptions=function(){return new t},ac.exports}var uC;function Dse(){if(uC)return Ia;uC=1;var e=Ise(),t=Mse(),r=jse();function n(i,o,s,l){return s=s||e,l=l||t,r(i,o,s,l)}return n.defaultOptions=r.defaultOptions,Ia.js=e,Ia.css=t,Ia.html=n,Ia}var cC;function Lse(){return cC||(cC=1,function(e){function t(r,n,i){var o=function(s,l){return r.js_beautify(s,l)};return o.js=r.js_beautify,o.css=n.css_beautify,o.html=i.html_beautify,o.js_beautify=r.js_beautify,o.css_beautify=n.css_beautify,o.html_beautify=i.html_beautify,o}(function(r){var n=Dse();n.js_beautify=n.js,n.css_beautify=n.css,n.html_beautify=n.html,r.exports=t(n,n,n)})(e)}(Qh)),Qh.exports}var $se=Lse();const{global:Fse}=__STORYBOOK_MODULE_GLOBAL__,{setDefaultProjectAnnotations:fle,setProjectAnnotations:hle,composeStory:mle,composeStories:yle}=__STORYBOOK_MODULE_PREVIEW_API__;var{window:yU}=Fse;yU.STORYBOOK_ENV="vue3";yU.PLUGINS_SETUP_FUNCTIONS||=new Set;({...X3});try{module?.hot?.decline&&module.hot.decline()}catch{}Goe(e=>{e.directive("dp-validate-multiselect",{mounted:()=>{},updated:()=>{}})});const Bse={actions:{argTypesRegex:"^on[A-Z].*"},controls:{expanded:!0,matchers:{color:/(background|color)$/i,date:/Date$/}},docs:{transformSource:e=>{const t=e.substr(0,e.length-12).substr(10);return $se.html(t)}}},Use=["autodocs"],Vse=Object.freeze(Object.defineProperty({__proto__:null,parameters:Bse,tags:Use},Symbol.toStringTag,{value:"Module"}));X0();const{composeConfigs:Hse,PreviewWeb:Jse}=__STORYBOOK_MODULE_PREVIEW_API__,Wse=(e=[])=>{const t=[e[0]??ese,e[1]??fse,e[2]??Sse,e[3]??Pse,e[4]??Vse];return Hse(t)};window.__STORYBOOK_PREVIEW__=window.__STORYBOOK_PREVIEW__||new Jse(Nee,Wse);window.__STORYBOOK_STORY_STORE__=window.__STORYBOOK_STORY_STORE__||window.__STORYBOOK_PREVIEW__.storyStore;export{HF as $,_o as A,_a as B,gt as C,Au as D,Tu as E,Nt as F,xu as G,mE as H,wF as I,JF as J,zf as K,wE as L,VF as M,EE as N,E2 as O,Hl as P,A2 as Q,gF as R,zE as S,BB as T,dle as U,Rr as V,Tt as W,cg as X,ple as Y,Os as Z,ne as _,oh as a,sB as a0,_E as a1,Pu as a2,Fi as a3,ow as a4,LE as a5,c2 as a6,$2 as a7,Ze as b,gB as c,T2 as d,Vl as e,EB as f,s2 as g,O2 as h,P2 as i,Xf as j,Kn as k,Ts as l,GE as m,va as n,Ys as o,sh as p,ba as q,R2 as r,r3 as s,hE as t,C2 as u,ew as v,t3 as w,Ki as x,eh as y,XE as z};
|