@anhnv/lexical-playground 0.39.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/DateTimeComponent-DX3ALs4U.cjs +1 -0
- package/dist/DateTimeComponent-DaF6ca1f.js +174 -0
- package/dist/EquationComponent-BrbIAXFZ.js +105 -0
- package/dist/EquationComponent-DFRdSLyf.cjs +3 -0
- package/dist/ExcalidrawComponent-B2RIlh-t.js +174 -0
- package/dist/ExcalidrawComponent-VGrNBMwa.cjs +1 -0
- package/dist/ImageComponent-CFLPSAon.cjs +1 -0
- package/dist/ImageComponent-Dr9Y0gPd.js +286 -0
- package/dist/ImageResizer-riowDF8s.cjs +1 -0
- package/dist/ImageResizer-wZz1Oitl.js +199 -0
- package/dist/PollComponent-DpWrUNaL.js +152 -0
- package/dist/PollComponent-hitipp8H.cjs +1 -0
- package/dist/QuestionComponent-BYluUh-8.cjs +1 -0
- package/dist/QuestionComponent-DQFO_Or8.js +60 -0
- package/dist/StickyComponent-B-sytJ7W.js +161 -0
- package/dist/StickyComponent-DGi089bO.cjs +1 -0
- package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
- package/dist/_commonjsHelpers-DwGv2jUC.cjs +1 -0
- package/dist/babel-CqfpZa5G.js +7195 -0
- package/dist/babel-CryJy3T1.cjs +15 -0
- package/dist/estree-CJTW2kur.cjs +44 -0
- package/dist/estree-DmlwiAu4.js +4453 -0
- package/dist/fonts/Assistant/Assistant-Bold.woff2 +0 -0
- package/dist/fonts/Assistant/Assistant-Medium.woff2 +0 -0
- package/dist/fonts/Assistant/Assistant-Regular.woff2 +0 -0
- package/dist/fonts/Assistant/Assistant-SemiBold.woff2 +0 -0
- package/dist/fonts/Cascadia/CascadiaCode-Regular.woff2 +0 -0
- package/dist/fonts/ComicShanns/ComicShanns-Regular-279a7b317d12eb88de06167bd672b4b4.woff2 +0 -0
- package/dist/fonts/ComicShanns/ComicShanns-Regular-6e066e8de2ac57ea9283adb9c24d7f0c.woff2 +0 -0
- package/dist/fonts/ComicShanns/ComicShanns-Regular-dc6a8806fa96795d7b3be5026f989a17.woff2 +0 -0
- package/dist/fonts/ComicShanns/ComicShanns-Regular-fcb0fc02dcbee4c9846b3e2508668039.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-349fac6ca4700ffec595a7150a0d1e1d.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-3f2c5db56cc93c5a6873b1361d730c16.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-41b173a47b57366892116a575a43e2b6.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-623ccf21b21ef6b3a0d87738f77eb071.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-a88b72a24fb54c9f94e3b5fdaa7481c9.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-b9dcf9d2e50a1eaf42fc664b50a3fd0d.woff2 +0 -0
- package/dist/fonts/Excalifont/Excalifont-Regular-be310b9bcd4f1a43f571c46df7809174.woff2 +0 -0
- package/dist/fonts/Liberation/LiberationSans-Regular.woff2 +0 -0
- package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYE98RXi4EwSsbg.woff2 +0 -0
- package/dist/fonts/Lilita/Lilita-Regular-i7dPIFZ9Zz-WBtRtedDbYEF8RXi4EwQ.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTA3j6zbXWjgevT5.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTQ3j6zbXWjgeg.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTk3j6zbXWjgevT5.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTo3j6zbXWjgevT5.woff2 +0 -0
- package/dist/fonts/Nunito/Nunito-Regular-XRXI3I6Li01BKofiOc5wtlZ2di8HDIkhdTs3j6zbXWjgevT5.woff2 +0 -0
- package/dist/fonts/Virgil/Virgil-Regular.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-019d66dcad46dc156b162d267f981c20.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-04b718e5623574919c8b0dea5f301444.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-069e77aac84590e2e991d0a0176d34f2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-06c77b8c66e51ed6c63ccb502dd8b8af.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-08e0dc436ad0ad61ba5558db0674d762.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-093b9ef39a46ceae95a1df18a0a3a326.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-095c169f3314805276f603a362766abd.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-09850c4077f3fffe707905872e0e2460.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0986d134c05864f5025962eef9f994a0.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0b5d723fdc4e249c140f0909e87d03b4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0f626226ba1272e832aea87bafd9720e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0f7fb1e0d5015bb1371343153ecf7ce3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0fa55a080fcd0f9dc2e0b0058b793df8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-0facdf1ea213ba40261022f5d5ed4493.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-10a7ae9a371830a80c3d844acf1c02d7.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-112c051027b2d766c19a519f6ee1f4f7.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-11c345711937f0ba4b8f7b6b919c8440.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-12b52b58eb3df36804b9a654ec9ee194.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-13ae07ed2e272d26d59bc0691cd7117a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-13d2887ec8ee73c43acdabc52a05af7b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-145aa02cdd91946e67dc934e1acffe75.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-15dc6d811c9cd078f9086a740d5a1038.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-173945821411c09f70c95f98d590e697.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-1b611157cd46bb184d4fa4dae2d6a2b8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-1e6fd68f1f3902ce48ce8c69df385622.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-1ee544f0f1dac422545c505baa788992.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-1fdc0c67ed57263a80fd108c1f6ccf24.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-203b0e569e3b14aac86a003dc3fa523e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-20cc1bbf50e7efb442756cb605672c1f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-20e7bf72fa05de9adf7dbcc7bf51dde6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-21430ee05a1248901da8d0de08744d47.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-23686f7f29da6e8008c36dd3a80c83d6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-23ad2d71b280f00b1363b95b7bea94eb.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-23f228f3999c01983860012330e4be08.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-24476a126f129212beb33f66853ea151.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-24a21c1e4449222e8d1898d69ff3a404.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-25b7f38e18f035f96cb5e547bd2bd08c.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-29cec36cd205b211da97acabaa62f055.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2a26d20a23b00898ce82f09d2ee47c3f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2adbc89c11e65905393d3dfc468b9d5b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2b7441d46298788ac94e610ffcc709b6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2b77e8ebfb2367ab2662396a60e7d320.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2cf96d082d35ea3d8106851223ad0d16.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2d43040e86ff03ba677f6f9c04cd0805.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-2e33e8dc771ef5e1d9127d60a6b73679.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-33432927cd87d40cfe393c7482bf221f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-353f33792a8f60dc69323ddf635a269e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-36925dfe329a45086cbb7fc5c20d45ac.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3717077e38f98d89eae729b6c14e56dc.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3756e81d3e149cf6099163ee79944fec.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-395c35dd584b56b0789f58a0559beaf1.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3c9de2ae0ea4bc91a510942dfa4be8d2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3cc70dbb64df5b21f1326cc24dee2195.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3e1f8f654357353bf0e04ba5c34b5f7f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3e63ed8162808a9e425ed80a8bc79114.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-3eaa538115d76932653c21d8dc28f207.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4095eb84ef3874e2600247bee0b04026.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-41521fade99856108931b4768b1b2648.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-450da755d5bcb70906e1295e559b9602.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-452225341522a7942f0f6aab1a5c91a3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4535823663ad81405188a528d8f2b1a2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4806e761d750087c2d734fc64596eaff.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4a0fdb40036e87b40aa08dd30584cb85.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4a38cc3e9cf104e69ba246d37f8cf135.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4aca6a43e59aceee2166b0c7e4e85ef1.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4bfaa8ffa64c5ee560aa2daba7c9cbd3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4dc6d5f188d5c96d44815cd1e81aa885.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4ddc14ed3eb0c3e46364317dfc0144a3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4ee10ae43505e2e0bc62656ced49c0fa.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-4f50e5136e136527280bc902c5817561.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-51502f1206be09c565f1547c406e9558.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-51a0e808bbc8361236ac521a119758a3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-52a84a22fd1369bffeaf21da2d6158dc.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5330a2119a716e4e7224ed108b085dac.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-543fa46ace099a7099dad69123399400.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-544fc28abe2c5c30e62383fd4dac255f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-54acdfc2166ad7fcbd074f75fd4a56ba.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5572b3513ba8df57a3d5d7303ee6b11b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-56467a5c8840c4d23a60b2f935114848.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-56a32a7689abd0326e57c10c6c069bb4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-57862b464a55b18c7bf234ce22907d73.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-583d166e56ba0de4b77eabb47ef67839.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5882ffa04f32584d26109137e2da4352.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-58fd02350d0bc52cf1ca3bb32ce9766e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5935a5775af3d5c6307ac667bd9ae74e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-59e9ff77b0efaf684bc09274fb6908c9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5a1ce3117cfe90c48e8fb4a9a00f694d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5a45d991244d4c7140217e1e5f5ca4f4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5a7fac4b8b23a6e4e5ba0c9bf1756c91.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5b0ed6971aaab9c8ad563230bd5471a7.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-5d2898fbc097a7e24c6f38d80587621e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-603aefd23e350ba7eb124273e3c9bcf1.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-60a3089806700d379f11827ee9843b6b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-60a41c7e1c68f22424e6d22df544bc82.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-642b26e2e5f5fb780b51b593dbc8c851.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-66493ba5a8367f2928812f446f47b56a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-670ba603758d94268e8606f240a42e12.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-671a2c20b1eb9e4ef8a192833940e319.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-684d65f1793cac449dde5d59cb3c47fb.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-69c09cc5fa3e55c74fc4821f76909cc3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-6ae5b42180ad70b971c91e7eefb8eba2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-6e092f71c1e634059ada0e52abadce67.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-6f3256af8454371776bc46670d33cc65.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-6fe5c5973cc06f74b2387a631ea36b88.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-70c2eb8d64e71a42a834eb857ea9df51.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-70e811fd7994e61f408c923de6ddd078.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7197d6fda6cba7c3874c53d6381ca239.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-72252d73220fa3cd856677888cee1635.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-72536a3d71b694a0d53dd90ddceae41e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-726303e0774b4e678bff8c2deb6ca603.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-733171b4ffcd17ea1fe1c0ba627173bf.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-739bc1a567439c7cffcd1614644593d2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-73e309718fd16cea44b4d54a33581811.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7494dc504ae00ee9cd0505f990f88c5d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-74e2263a91439c25b91d5132ce9f4d62.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-761d05e3cd968cf574166867998ef06a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7718fe60986d8b42b1be9c5ace5ccf25.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-774d4f764a1299da5d28ec2f2ffe0d69.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-79d494361ae093b69e74ee9dbe65bfd4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-79f007c1c6d07557120982951ea67998.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7a07ddc0f0c0f5f4a9bad6ee3dda66b5.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7ab2bed91166a9dca83a5ebfbe2a7f38.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7ccce86603f80a099ddb0cb21d4ae3e3.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7e4bde7e9c7f84cd34d8a845e384c746.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7e929f262f30c8ee78bf398150b1a7cd.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7eb9fffd1aa890d07d0f88cc82e6cfe4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-7f855356ab893b0d2b9c1c83b8116f0e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-829615148e6357d826b9242eb7fbbd1e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-866fa7613df6b3fd272bcfd4530c0bb9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-87599f94b6cc129d505b375798d0d751.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8c2f33cee3993174f7e87c28e4bf42ee.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8d3bcabb847b56243b16afe62adaaf21.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8de5b863cb50dfefdd07cb11c774d579.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8e9f97f01034820170065b2921b4fb5e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-8f476c4c99813d57cbe6eca4727388ad.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-903bb6865f3452e2fda42e3a25547bc5.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-91ddb2969bf2d31ba02ad82998d1314c.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-938d90c10ff8c20386af7f242c05d6b0.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-93fc8f28a33234bcadf1527cafabd502.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-95429962233afd82db1c27df1500a28c.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9544732d2e62d1a429674f8ee41b5d3a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9592bfc861f07bcb8d75c196b370e548.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-95bfd249da4902577b4b7d76ebdd0b44.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-968cffdc8ee679da094e77ebf50f58ef.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-97f7f48ce90c9429bf32ae51469db74d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-982b630266d87db93d2539affb1275c6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-98f2ad84457de7f3740d9920b8fa8667.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-99a16ef6a64934d5781933dbd9c46b2e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9cfb2a77a4e45025105ad29a1748b90d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9d81066dd2b337c938df6e90380a00dc.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-9eb5a99df4e76ac3363453ac9ca288b1.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a004ddfcb26e67bd6e678c8ed19e25ce.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a0ca5df4258213d7fc9fce80f65ce760.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a1f916d6039285c4ffb900cd654e418f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a203b91dad570bf05a58c3c3ddb529bf.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a365e82ed54697a52f27adcea1315fe8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a4c34be6d42152e64b0df90bc4607f64.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-a7accba310e821da5505f71c03b76bdb.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-aa0d470430e6391eca720c7cfa44446f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-aa5c9ca6cf4fba00433b7aa3fa10671a.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ac9ceb44437becc3e9c4dbfebab7fc2d.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b1220a3c61f85cc0408deedb4c5f57a2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b358f7a51ece39a3247942b1feabdb29.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b57aaedfd8ebdf3931f25119dc6a5eb2.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b5c1596551c256e0e9cf02028595b092.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b6d128682ee29e471486354d486a1b90.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b6fd38ca30869792244804b04bc058da.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b7d203b051eff504ff59ddca7576b6a9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-b96d9226ce77ec94ceca043d712182e6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ba3de316d63c7e339987b16f41a0b879.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-bafff7a14c27403dcc6cf1432e8ea836.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-bd77e3c7f9e0b072d96af37f73d1aa32.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-be549ab72f0719d606a5c01e2c0219b6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c16ed9740b85badf16e86ea782a3062f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c1f94158256bb1f3bf665b053d895af9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c40533fdf4cc57177b12803598af7e59.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c4a687ac4f0c2766eefc9f77ed99cddf.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c69f61a4ab18d0488c8d1fc12e7028e8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c8b71798409ccc126ee264a00aadcf21.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-c99eda15fc26a2941579560f76c3a5cf.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cb17fc3db95f6d139afc9d31a8e93293.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cbaaefaaf326668277aa24dfa93c4d28.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cd145ce4a0ea18469358df53c207bc1b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cdbce89e82cc1ab53a2decbf5819278f.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ce4884f96f11589608b76b726a755803.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cf2cc71752631e579e35b0e423bf2638.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cf6ff4e0f491ca0cf3038187a997b9b4.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-cfb211578629b7e8153b37240de6a9d5.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-d0cf73942fea1c74edbdf0b3011f4656.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-d2666cbed13462c5dc36fa2f15c202ca.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-d3716376641d615e2995605b29bca7b6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-dac48066b5883d8b4551fc584f0c2a3e.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-dbea1af6dcd9860be40c3d18254338f5.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e11567fd2accf9957cd0d3c2be937d87.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e2ead7ea7da0437f085f42ffc05f8d13.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e3fcf5180fd466c8915c4e8069491054.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e480d9c614742d05f0e78f274f1e69e6.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e4bca6cfa53e499cae0a6be4894a90e9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e51ef413167c6e14e0c0fdcc585f2fc9.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e5f453bb04da18eed01675eeebd88bf8.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-e656f091b9dc4709722c9f4b84d3c797.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ec181b795ac1fb5a50d700b6e996d745.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-ee8bae97908d5147b423f77ad0d3c1bb.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f0f13b5c60e0af5553bd359f5513be1b.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f2b54d4e7be0eaefe1c2c56836fa5368.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f56414bf9bced67990def8660e306759.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f5d079153c99a25b9be5b8583c4cc8a7.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f6032fc06eb20480f096199713f70885.woff2 +0 -0
- package/dist/fonts/Xiaolai/Xiaolai-Regular-f8ee5d36068a42b51d0e4a1116cfcec1.woff2 +0 -0
- package/dist/html-C9xlBp6Q.cjs +25 -0
- package/dist/html-COoGaLph.js +2788 -0
- package/dist/index-BF-WAqsp.cjs +5 -0
- package/dist/index-C0BTrOQP.js +28947 -0
- package/dist/index.cjs +1 -0
- package/dist/index.d.ts +2 -0
- package/dist/index.mjs +4 -0
- package/dist/logo.svg +1 -0
- package/dist/markdown-B0Hak0DU.cjs +62 -0
- package/dist/markdown-BDWdOrGs.js +3192 -0
- package/dist/postcss-Byg44mmr.cjs +61 -0
- package/dist/postcss-CCzdrMa5.js +4735 -0
- package/dist/standalone-9koseMU7.js +2429 -0
- package/dist/standalone-B68uB4ar.cjs +29 -0
- package/dist/style.css +1 -0
- package/dist/typescript-BKKrhwbC.cjs +21 -0
- package/dist/typescript-BWpY7CXP.js +12965 -0
- package/package.json +106 -0
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});var ds=Object.defineProperty,Xn=(e,t)=>{for(var n in t)ds(e,n,{get:t[n],enumerable:!0})},Zr={};Xn(Zr,{languages:()=>ps,options:()=>os,printers:()=>is});var fs=[{name:"JavaScript",type:"programming",aceMode:"javascript",extensions:[".js","._js",".bones",".cjs",".es",".es6",".gs",".jake",".javascript",".jsb",".jscad",".jsfl",".jslib",".jsm",".jspre",".jss",".mjs",".njs",".pac",".sjs",".ssjs",".xsjs",".xsjslib",".start.frag",".end.frag",".wxs"],filenames:["Jakefile","start.frag","end.frag"],tmScope:"source.js",aliases:["js","node"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell","zx"],parsers:["babel","acorn","espree","meriyah","babel-flow","babel-ts","flow","typescript"],vscodeLanguageIds:["javascript","mongo"],linguistLanguageId:183},{name:"Flow",type:"programming",aceMode:"javascript",extensions:[".js.flow"],filenames:[],tmScope:"source.js",aliases:[],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",interpreters:["chakra","d8","gjs","js","node","nodejs","qjs","rhino","v8","v8-shell"],parsers:["flow","babel-flow"],vscodeLanguageIds:["javascript"],linguistLanguageId:183},{name:"JSX",type:"programming",aceMode:"javascript",extensions:[".jsx"],filenames:void 0,tmScope:"source.js.jsx",aliases:void 0,codemirrorMode:"jsx",codemirrorMimeType:"text/jsx",interpreters:void 0,parsers:["babel","babel-flow","babel-ts","flow","typescript","espree","meriyah"],vscodeLanguageIds:["javascriptreact"],group:"JavaScript",linguistLanguageId:183},{name:"TypeScript",type:"programming",aceMode:"typescript",extensions:[".ts",".cts",".mts"],tmScope:"source.ts",aliases:["ts"],codemirrorMode:"javascript",codemirrorMimeType:"application/typescript",interpreters:["bun","deno","ts-node","tsx"],parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescript"],linguistLanguageId:378},{name:"TSX",type:"programming",aceMode:"tsx",extensions:[".tsx"],tmScope:"source.tsx",codemirrorMode:"jsx",codemirrorMimeType:"text/typescript-jsx",group:"TypeScript",parsers:["typescript","babel-ts"],vscodeLanguageIds:["typescriptreact"],linguistLanguageId:94901924}],eu={};Xn(eu,{canAttachComment:()=>Oo,embed:()=>vp,features:()=>iy,getVisitorKeys:()=>ou,handleComments:()=>Ei,hasPrettierIgnore:()=>yr,insertPragma:()=>_p,isBlockComment:()=>he,isGap:()=>gi,massageAstNode:()=>wo,print:()=>Yr,printComment:()=>Gp,printPrettierIgnored:()=>Yr,willPrintOwnComments:()=>xi});var Rn=(e,t)=>(n,r,...u)=>n|1&&r==null?void 0:(t.call(r)??r[e]).apply(r,u),ms=String.prototype.replaceAll??function(e,t){return e.global?this.replace(e,t):this.split(e).join(t)},Fs=Rn("replaceAll",function(){if(typeof this=="string")return ms}),z=Fs;function Es(e){return this[e<0?this.length+e:e]}var As=Rn("at",function(){if(Array.isArray(this)||typeof this=="string")return Es}),O=As;function gs(e){return e!==null&&typeof e=="object"}var tu=gs;function*Cs(e,t){let{getVisitorKeys:n,filter:r=()=>!0}=t,u=a=>tu(a)&&r(a);for(let a of n(e)){let s=e[a];if(Array.isArray(s))for(let o of s)u(o)&&(yield o);else u(s)&&(yield s)}}function*hs(e,t){let n=[e];for(let r=0;r<n.length;r++){let u=n[r];for(let a of Cs(u,t))yield a,n.push(a)}}function xs(e,{getVisitorKeys:t,predicate:n}){for(let r of hs(e,{getVisitorKeys:t}))if(n(r))return!0;return!1}var Ts=()=>/[#*0-9]\uFE0F?\u20E3|[\xA9\xAE\u203C\u2049\u2122\u2139\u2194-\u2199\u21A9\u21AA\u231A\u231B\u2328\u23CF\u23ED-\u23EF\u23F1\u23F2\u23F8-\u23FA\u24C2\u25AA\u25AB\u25B6\u25C0\u25FB\u25FC\u25FE\u2600-\u2604\u260E\u2611\u2614\u2615\u2618\u2620\u2622\u2623\u2626\u262A\u262E\u262F\u2638-\u263A\u2640\u2642\u2648-\u2653\u265F\u2660\u2663\u2665\u2666\u2668\u267B\u267E\u267F\u2692\u2694-\u2697\u2699\u269B\u269C\u26A0\u26A7\u26AA\u26B0\u26B1\u26BD\u26BE\u26C4\u26C8\u26CF\u26D1\u26E9\u26F0-\u26F5\u26F7\u26F8\u26FA\u2702\u2708\u2709\u270F\u2712\u2714\u2716\u271D\u2721\u2733\u2734\u2744\u2747\u2757\u2763\u27A1\u2934\u2935\u2B05-\u2B07\u2B1B\u2B1C\u2B55\u3030\u303D\u3297\u3299]\uFE0F?|[\u261D\u270C\u270D](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\u270A\u270B](?:\uD83C[\uDFFB-\uDFFF])?|[\u23E9-\u23EC\u23F0\u23F3\u25FD\u2693\u26A1\u26AB\u26C5\u26CE\u26D4\u26EA\u26FD\u2705\u2728\u274C\u274E\u2753-\u2755\u2795-\u2797\u27B0\u27BF\u2B50]|\u26D3\uFE0F?(?:\u200D\uD83D\uDCA5)?|\u26F9(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\u2764\uFE0F?(?:\u200D(?:\uD83D\uDD25|\uD83E\uDE79))?|\uD83C(?:[\uDC04\uDD70\uDD71\uDD7E\uDD7F\uDE02\uDE37\uDF21\uDF24-\uDF2C\uDF36\uDF7D\uDF96\uDF97\uDF99-\uDF9B\uDF9E\uDF9F\uDFCD\uDFCE\uDFD4-\uDFDF\uDFF5\uDFF7]\uFE0F?|[\uDF85\uDFC2\uDFC7](?:\uD83C[\uDFFB-\uDFFF])?|[\uDFC4\uDFCA](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDFCB\uDFCC](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDCCF\uDD8E\uDD91-\uDD9A\uDE01\uDE1A\uDE2F\uDE32-\uDE36\uDE38-\uDE3A\uDE50\uDE51\uDF00-\uDF20\uDF2D-\uDF35\uDF37-\uDF43\uDF45-\uDF4A\uDF4C-\uDF7C\uDF7E-\uDF84\uDF86-\uDF93\uDFA0-\uDFC1\uDFC5\uDFC6\uDFC8\uDFC9\uDFCF-\uDFD3\uDFE0-\uDFF0\uDFF8-\uDFFF]|\uDDE6\uD83C[\uDDE8-\uDDEC\uDDEE\uDDF1\uDDF2\uDDF4\uDDF6-\uDDFA\uDDFC\uDDFD\uDDFF]|\uDDE7\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEF\uDDF1-\uDDF4\uDDF6-\uDDF9\uDDFB\uDDFC\uDDFE\uDDFF]|\uDDE8\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDEE\uDDF0-\uDDF7\uDDFA-\uDDFF]|\uDDE9\uD83C[\uDDEA\uDDEC\uDDEF\uDDF0\uDDF2\uDDF4\uDDFF]|\uDDEA\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDED\uDDF7-\uDDFA]|\uDDEB\uD83C[\uDDEE-\uDDF0\uDDF2\uDDF4\uDDF7]|\uDDEC\uD83C[\uDDE6\uDDE7\uDDE9-\uDDEE\uDDF1-\uDDF3\uDDF5-\uDDFA\uDDFC\uDDFE]|\uDDED\uD83C[\uDDF0\uDDF2\uDDF3\uDDF7\uDDF9\uDDFA]|\uDDEE\uD83C[\uDDE8-\uDDEA\uDDF1-\uDDF4\uDDF6-\uDDF9]|\uDDEF\uD83C[\uDDEA\uDDF2\uDDF4\uDDF5]|\uDDF0\uD83C[\uDDEA\uDDEC-\uDDEE\uDDF2\uDDF3\uDDF5\uDDF7\uDDFC\uDDFE\uDDFF]|\uDDF1\uD83C[\uDDE6-\uDDE8\uDDEE\uDDF0\uDDF7-\uDDFB\uDDFE]|\uDDF2\uD83C[\uDDE6\uDDE8-\uDDED\uDDF0-\uDDFF]|\uDDF3\uD83C[\uDDE6\uDDE8\uDDEA-\uDDEC\uDDEE\uDDF1\uDDF4\uDDF5\uDDF7\uDDFA\uDDFF]|\uDDF4\uD83C\uDDF2|\uDDF5\uD83C[\uDDE6\uDDEA-\uDDED\uDDF0-\uDDF3\uDDF7-\uDDF9\uDDFC\uDDFE]|\uDDF6\uD83C\uDDE6|\uDDF7\uD83C[\uDDEA\uDDF4\uDDF8\uDDFA\uDDFC]|\uDDF8\uD83C[\uDDE6-\uDDEA\uDDEC-\uDDF4\uDDF7-\uDDF9\uDDFB\uDDFD-\uDDFF]|\uDDF9\uD83C[\uDDE6\uDDE8\uDDE9\uDDEB-\uDDED\uDDEF-\uDDF4\uDDF7\uDDF9\uDDFB\uDDFC\uDDFF]|\uDDFA\uD83C[\uDDE6\uDDEC\uDDF2\uDDF3\uDDF8\uDDFE\uDDFF]|\uDDFB\uD83C[\uDDE6\uDDE8\uDDEA\uDDEC\uDDEE\uDDF3\uDDFA]|\uDDFC\uD83C[\uDDEB\uDDF8]|\uDDFD\uD83C\uDDF0|\uDDFE\uD83C[\uDDEA\uDDF9]|\uDDFF\uD83C[\uDDE6\uDDF2\uDDFC]|\uDF44(?:\u200D\uD83D\uDFEB)?|\uDF4B(?:\u200D\uD83D\uDFE9)?|\uDFC3(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDFF3\uFE0F?(?:\u200D(?:\u26A7\uFE0F?|\uD83C\uDF08))?|\uDFF4(?:\u200D\u2620\uFE0F?|\uDB40\uDC67\uDB40\uDC62\uDB40(?:\uDC65\uDB40\uDC6E\uDB40\uDC67|\uDC73\uDB40\uDC63\uDB40\uDC74|\uDC77\uDB40\uDC6C\uDB40\uDC73)\uDB40\uDC7F)?)|\uD83D(?:[\uDC3F\uDCFD\uDD49\uDD4A\uDD6F\uDD70\uDD73\uDD76-\uDD79\uDD87\uDD8A-\uDD8D\uDDA5\uDDA8\uDDB1\uDDB2\uDDBC\uDDC2-\uDDC4\uDDD1-\uDDD3\uDDDC-\uDDDE\uDDE1\uDDE3\uDDE8\uDDEF\uDDF3\uDDFA\uDECB\uDECD-\uDECF\uDEE0-\uDEE5\uDEE9\uDEF0\uDEF3]\uFE0F?|[\uDC42\uDC43\uDC46-\uDC50\uDC66\uDC67\uDC6B-\uDC6D\uDC72\uDC74-\uDC76\uDC78\uDC7C\uDC83\uDC85\uDC8F\uDC91\uDCAA\uDD7A\uDD95\uDD96\uDE4C\uDE4F\uDEC0\uDECC](?:\uD83C[\uDFFB-\uDFFF])?|[\uDC6E-\uDC71\uDC73\uDC77\uDC81\uDC82\uDC86\uDC87\uDE45-\uDE47\uDE4B\uDE4D\uDE4E\uDEA3\uDEB4\uDEB5](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD74\uDD90](?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?|[\uDC00-\uDC07\uDC09-\uDC14\uDC16-\uDC25\uDC27-\uDC3A\uDC3C-\uDC3E\uDC40\uDC44\uDC45\uDC51-\uDC65\uDC6A\uDC79-\uDC7B\uDC7D-\uDC80\uDC84\uDC88-\uDC8E\uDC90\uDC92-\uDCA9\uDCAB-\uDCFC\uDCFF-\uDD3D\uDD4B-\uDD4E\uDD50-\uDD67\uDDA4\uDDFB-\uDE2D\uDE2F-\uDE34\uDE37-\uDE41\uDE43\uDE44\uDE48-\uDE4A\uDE80-\uDEA2\uDEA4-\uDEB3\uDEB7-\uDEBF\uDEC1-\uDEC5\uDED0-\uDED2\uDED5-\uDED8\uDEDC-\uDEDF\uDEEB\uDEEC\uDEF4-\uDEFC\uDFE0-\uDFEB\uDFF0]|\uDC08(?:\u200D\u2B1B)?|\uDC15(?:\u200D\uD83E\uDDBA)?|\uDC26(?:\u200D(?:\u2B1B|\uD83D\uDD25))?|\uDC3B(?:\u200D\u2744\uFE0F?)?|\uDC41\uFE0F?(?:\u200D\uD83D\uDDE8\uFE0F?)?|\uDC68(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDC68\uDC69]\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?)|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?\uDC68\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDD1D\uDEEF]\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE]|[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3])))?))?|\uDC69(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:\uDC8B\u200D\uD83D)?[\uDC68\uDC69]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?|\uDC69\u200D\uD83D(?:\uDC66(?:\u200D\uD83D\uDC66)?|\uDC67(?:\u200D\uD83D[\uDC66\uDC67])?))|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFC-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFD-\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFD\uDFFF]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D\uD83D(?:[\uDC68\uDC69]|\uDC8B\u200D\uD83D[\uDC68\uDC69])\uD83C[\uDFFB-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE]|\uDEEF\u200D\uD83D\uDC69\uD83C[\uDFFB-\uDFFE])))?))?|\uDD75(?:\uD83C[\uDFFB-\uDFFF]|\uFE0F)?(?:\u200D[\u2640\u2642]\uFE0F?)?|\uDE2E(?:\u200D\uD83D\uDCA8)?|\uDE35(?:\u200D\uD83D\uDCAB)?|\uDE36(?:\u200D\uD83C\uDF2B\uFE0F?)?|\uDE42(?:\u200D[\u2194\u2195]\uFE0F?)?|\uDEB6(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?)|\uD83E(?:[\uDD0C\uDD0F\uDD18-\uDD1F\uDD30-\uDD34\uDD36\uDD77\uDDB5\uDDB6\uDDBB\uDDD2\uDDD3\uDDD5\uDEC3-\uDEC5\uDEF0\uDEF2-\uDEF8](?:\uD83C[\uDFFB-\uDFFF])?|[\uDD26\uDD35\uDD37-\uDD39\uDD3C-\uDD3E\uDDB8\uDDB9\uDDCD\uDDCF\uDDD4\uDDD6-\uDDDD](?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDDDE\uDDDF](?:\u200D[\u2640\u2642]\uFE0F?)?|[\uDD0D\uDD0E\uDD10-\uDD17\uDD20-\uDD25\uDD27-\uDD2F\uDD3A\uDD3F-\uDD45\uDD47-\uDD76\uDD78-\uDDB4\uDDB7\uDDBA\uDDBC-\uDDCC\uDDD0\uDDE0-\uDDFF\uDE70-\uDE7C\uDE80-\uDE8A\uDE8E-\uDEC2\uDEC6\uDEC8\uDECD-\uDEDC\uDEDF-\uDEEA\uDEEF]|\uDDCE(?:\uD83C[\uDFFB-\uDFFF])?(?:\u200D(?:[\u2640\u2642]\uFE0F?(?:\u200D\u27A1\uFE0F?)?|\u27A1\uFE0F?))?|\uDDD1(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1|\uDDD1\u200D\uD83E\uDDD2(?:\u200D\uD83E\uDDD2)?|\uDDD2(?:\u200D\uD83E\uDDD2)?))|\uD83C(?:\uDFFB(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFC-\uDFFF])))?|\uDFFC(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\uDFFD(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\uDFFE(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\uDFFF(?:\u200D(?:[\u2695\u2696\u2708]\uFE0F?|\u2764\uFE0F?\u200D(?:\uD83D\uDC8B\u200D)?\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE]|\uD83C[\uDF3E\uDF73\uDF7C\uDF84\uDF93\uDFA4\uDFA8\uDFEB\uDFED]|\uD83D(?:[\uDCBB\uDCBC\uDD27\uDD2C\uDE80\uDE92]|\uDC30\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3\uDE70]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF]|\uDEEF\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFE])))?))?|\uDEF1(?:\uD83C(?:\uDFFB(?:\u200D\uD83E\uDEF2\uD83C[\uDFFC-\uDFFF])?|\uDFFC(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFD-\uDFFF])?|\uDFFD(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])?|\uDFFE(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFD\uDFFF])?|\uDFFF(?:\u200D\uD83E\uDEF2\uD83C[\uDFFB-\uDFFE])?))?)/g;function Ss(e){return e===12288||e>=65281&&e<=65376||e>=65504&&e<=65510}function bs(e){return e>=4352&&e<=4447||e===8986||e===8987||e===9001||e===9002||e>=9193&&e<=9196||e===9200||e===9203||e===9725||e===9726||e===9748||e===9749||e>=9776&&e<=9783||e>=9800&&e<=9811||e===9855||e>=9866&&e<=9871||e===9875||e===9889||e===9898||e===9899||e===9917||e===9918||e===9924||e===9925||e===9934||e===9940||e===9962||e===9970||e===9971||e===9973||e===9978||e===9981||e===9989||e===9994||e===9995||e===10024||e===10060||e===10062||e>=10067&&e<=10069||e===10071||e>=10133&&e<=10135||e===10160||e===10175||e===11035||e===11036||e===11088||e===11093||e>=11904&&e<=11929||e>=11931&&e<=12019||e>=12032&&e<=12245||e>=12272&&e<=12287||e>=12289&&e<=12350||e>=12353&&e<=12438||e>=12441&&e<=12543||e>=12549&&e<=12591||e>=12593&&e<=12686||e>=12688&&e<=12773||e>=12783&&e<=12830||e>=12832&&e<=12871||e>=12880&&e<=42124||e>=42128&&e<=42182||e>=43360&&e<=43388||e>=44032&&e<=55203||e>=63744&&e<=64255||e>=65040&&e<=65049||e>=65072&&e<=65106||e>=65108&&e<=65126||e>=65128&&e<=65131||e>=94176&&e<=94180||e>=94192&&e<=94198||e>=94208&&e<=101589||e>=101631&&e<=101662||e>=101760&&e<=101874||e>=110576&&e<=110579||e>=110581&&e<=110587||e===110589||e===110590||e>=110592&&e<=110882||e===110898||e>=110928&&e<=110930||e===110933||e>=110948&&e<=110951||e>=110960&&e<=111355||e>=119552&&e<=119638||e>=119648&&e<=119670||e===126980||e===127183||e===127374||e>=127377&&e<=127386||e>=127488&&e<=127490||e>=127504&&e<=127547||e>=127552&&e<=127560||e===127568||e===127569||e>=127584&&e<=127589||e>=127744&&e<=127776||e>=127789&&e<=127797||e>=127799&&e<=127868||e>=127870&&e<=127891||e>=127904&&e<=127946||e>=127951&&e<=127955||e>=127968&&e<=127984||e===127988||e>=127992&&e<=128062||e===128064||e>=128066&&e<=128252||e>=128255&&e<=128317||e>=128331&&e<=128334||e>=128336&&e<=128359||e===128378||e===128405||e===128406||e===128420||e>=128507&&e<=128591||e>=128640&&e<=128709||e===128716||e>=128720&&e<=128722||e>=128725&&e<=128728||e>=128732&&e<=128735||e===128747||e===128748||e>=128756&&e<=128764||e>=128992&&e<=129003||e===129008||e>=129292&&e<=129338||e>=129340&&e<=129349||e>=129351&&e<=129535||e>=129648&&e<=129660||e>=129664&&e<=129674||e>=129678&&e<=129734||e===129736||e>=129741&&e<=129756||e>=129759&&e<=129770||e>=129775&&e<=129784||e>=131072&&e<=196605||e>=196608&&e<=262141}var Bs="©®‼⁉™ℹ↔↕↖↗↘↙↩↪⌨⏏⏱⏲⏸⏹⏺▪▫▶◀◻◼☀☁☂☃☄☎☑☘☝☠☢☣☦☪☮☯☸☹☺♀♂♟♠♣♥♦♨♻♾⚒⚔⚕⚖⚗⚙⚛⚜⚠⚧⚰⚱⛈⛏⛑⛓⛩⛱⛷⛸⛹✂✈✉✌✍✏✒✔✖✝✡✳✴❄❇❣❤➡⤴⤵⬅⬆⬇",vs=/[^\x20-\x7F]/u,Ps=new Set(Bs);function ks(e){if(!e)return 0;if(!vs.test(e))return e.length;e=e.replace(Ts(),n=>Ps.has(n)?" ":" ");let t=0;for(let n of e){let r=n.codePointAt(0);r<=31||r>=127&&r<=159||r>=768&&r<=879||r>=65024&&r<=65039||(t+=Ss(r)||bs(r)?2:1)}return t}var it=ks;function _n(e){return(t,n,r)=>{let u=!!r?.backwards;if(n===!1)return!1;let{length:a}=t,s=n;for(;s>=0&&s<a;){let o=t.charAt(s);if(e instanceof RegExp){if(!e.test(o))return s}else if(!e.includes(o))return s;u?s--:s++}return s===-1||s===a?s:!1}}var pt=_n(" "),ws=_n(",; "),Is=_n(/[^\n\r]/u),xr=e=>e===`
|
|
2
|
+
`||e==="\r"||e==="\u2028"||e==="\u2029";function Ns(e,t,n){let r=!!n?.backwards;if(t===!1)return!1;let u=e.charAt(t);if(r){if(e.charAt(t-1)==="\r"&&u===`
|
|
3
|
+
`)return t-2;if(xr(u))return t-1}else{if(u==="\r"&&e.charAt(t+1)===`
|
|
4
|
+
`)return t+2;if(xr(u))return t+1}return t}var lt=Ns;function js(e,t,n={}){let r=pt(e,n.backwards?t-1:t,n),u=lt(e,r,n);return r!==u}var oe=js;function Ms(e,t){if(t===!1)return!1;if(e.charAt(t)==="/"&&e.charAt(t+1)==="*"){for(let n=t+2;n<e.length;++n)if(e.charAt(n)==="*"&&e.charAt(n+1)==="/")return n+2}return t}var Wn=Ms;function Ls(e,t){return t===!1?!1:e.charAt(t)==="/"&&e.charAt(t+1)==="/"?Is(e,t):t}var Un=Ls;function Os(e,t){let n=null,r=t;for(;r!==n;)n=r,r=ws(e,r),r=Wn(e,r),r=pt(e,r);return r=Un(e,r),r=lt(e,r),r!==!1&&oe(e,r)}var $n=Os;function Js(e){return Array.isArray(e)&&e.length>0}var _=Js,qs=()=>{},Xs=qs,nu=Object.freeze({character:"'",codePoint:39}),ru=Object.freeze({character:'"',codePoint:34}),Rs=Object.freeze({preferred:nu,alternate:ru}),_s=Object.freeze({preferred:ru,alternate:nu});function Ws(e,t){let{preferred:n,alternate:r}=t===!0||t==="'"?Rs:_s,{length:u}=e,a=0,s=0;for(let o=0;o<u;o++){let p=e.charCodeAt(o);p===n.codePoint?a++:p===r.codePoint&&s++}return(a>s?r:n).character}var uu=Ws,Us=/\\(["'\\])|(["'])/gu;function $s(e,t){let n=t==='"'?"'":'"',r=z(0,e,Us,(u,a,s)=>a?a===n?n:u:s===t?"\\"+s:s);return t+r+t}var Gs=$s;function Vs(e,t){let n=e.slice(1,-1),r=t.parser==="json"||t.parser==="jsonc"||t.parser==="json5"&&t.quoteProps==="preserve"&&!t.singleQuote?'"':t.__isInHtmlAttribute?"'":uu(n,t.singleQuote);return e.charAt(0)===r?e:Gs(n,r)}var ct=Vs,au=e=>Number.isInteger(e)&&e>=0;function j(e){let t=e.range?.[0]??e.start,n=(e.declaration?.decorators??e.decorators)?.[0];return n?Math.min(j(n),t):t}function N(e){return e.range?.[1]??e.end}function nn(e,t){let n=j(e);return au(n)&&n===j(t)}function Ks(e,t){let n=N(e);return au(n)&&n===N(t)}function Hs(e,t){return nn(e,t)&&Ks(e,t)}var xt=null;function bt(e){if(xt!==null&&typeof xt.property){let t=xt;return xt=bt.prototype=null,t}return xt=bt.prototype=e??Object.create(null),new bt}var zs=10;for(let e=0;e<=zs;e++)bt();function Ys(e){return bt(e)}function Qs(e,t="type"){Ys(e);function n(r){let u=r[t],a=e[u];if(!Array.isArray(a))throw Object.assign(new Error(`Missing visitor keys for '${u}'.`),{node:r});return a}return n}var su=Qs,i=[["decorators","key","typeAnnotation","value"],[],["elementType"],["expression"],["expression","typeAnnotation"],["left","right"],["argument"],["directives","body"],["label"],["callee","typeArguments","arguments"],["body"],["decorators","id","typeParameters","superClass","superTypeArguments","mixins","implements","body","superTypeParameters"],["id","typeParameters"],["decorators","key","typeParameters","params","returnType","body"],["decorators","variance","key","typeAnnotation","value"],["name","typeAnnotation"],["test","consequent","alternate"],["checkType","extendsType","trueType","falseType"],["value"],["id","body"],["declaration","specifiers","source","attributes"],["id"],["id","typeParameters","extends","body"],["typeAnnotation"],["id","typeParameters","right"],["body","test"],["members"],["id","init"],["exported"],["left","right","body"],["id","typeParameters","params","predicate","returnType","body"],["id","params","body","typeParameters","returnType"],["key","value"],["local"],["objectType","indexType"],["typeParameter"],["types"],["node"],["object","property"],["argument","cases"],["pattern","body","guard"],["literal"],["decorators","key","value"],["expressions"],["qualification","id"],["decorators","key","typeAnnotation"],["typeParameters","params","returnType"],["expression","typeArguments"],["params"],["parameterName","typeAnnotation"]],Zs={AccessorProperty:i[0],AnyTypeAnnotation:i[1],ArgumentPlaceholder:i[1],ArrayExpression:["elements"],ArrayPattern:["elements","typeAnnotation","decorators"],ArrayTypeAnnotation:i[2],ArrowFunctionExpression:["typeParameters","params","predicate","returnType","body"],AsConstExpression:i[3],AsExpression:i[4],AssignmentExpression:i[5],AssignmentPattern:["left","right","decorators","typeAnnotation"],AwaitExpression:i[6],BigIntLiteral:i[1],BigIntLiteralTypeAnnotation:i[1],BigIntTypeAnnotation:i[1],BinaryExpression:i[5],BindExpression:["object","callee"],BlockStatement:i[7],BooleanLiteral:i[1],BooleanLiteralTypeAnnotation:i[1],BooleanTypeAnnotation:i[1],BreakStatement:i[8],CallExpression:i[9],CatchClause:["param","body"],ChainExpression:i[3],ClassAccessorProperty:i[0],ClassBody:i[10],ClassDeclaration:i[11],ClassExpression:i[11],ClassImplements:i[12],ClassMethod:i[13],ClassPrivateMethod:i[13],ClassPrivateProperty:i[14],ClassProperty:i[14],ComponentDeclaration:["id","params","body","typeParameters","rendersType"],ComponentParameter:["name","local"],ComponentTypeAnnotation:["params","rest","typeParameters","rendersType"],ComponentTypeParameter:i[15],ConditionalExpression:i[16],ConditionalTypeAnnotation:i[17],ContinueStatement:i[8],DebuggerStatement:i[1],DeclareClass:["id","typeParameters","extends","mixins","implements","body"],DeclareComponent:["id","params","rest","typeParameters","rendersType"],DeclaredPredicate:i[18],DeclareEnum:i[19],DeclareExportAllDeclaration:["source","attributes"],DeclareExportDeclaration:i[20],DeclareFunction:["id","predicate"],DeclareHook:i[21],DeclareInterface:i[22],DeclareModule:i[19],DeclareModuleExports:i[23],DeclareNamespace:i[19],DeclareOpaqueType:["id","typeParameters","supertype","lowerBound","upperBound"],DeclareTypeAlias:i[24],DeclareVariable:i[21],Decorator:i[3],Directive:i[18],DirectiveLiteral:i[1],DoExpression:i[10],DoWhileStatement:i[25],EmptyStatement:i[1],EmptyTypeAnnotation:i[1],EnumBigIntBody:i[26],EnumBigIntMember:i[27],EnumBooleanBody:i[26],EnumBooleanMember:i[27],EnumDeclaration:i[19],EnumDefaultedMember:i[21],EnumNumberBody:i[26],EnumNumberMember:i[27],EnumStringBody:i[26],EnumStringMember:i[27],EnumSymbolBody:i[26],ExistsTypeAnnotation:i[1],ExperimentalRestProperty:i[6],ExperimentalSpreadProperty:i[6],ExportAllDeclaration:["source","attributes","exported"],ExportDefaultDeclaration:["declaration"],ExportDefaultSpecifier:i[28],ExportNamedDeclaration:i[20],ExportNamespaceSpecifier:i[28],ExportSpecifier:["local","exported"],ExpressionStatement:i[3],File:["program"],ForInStatement:i[29],ForOfStatement:i[29],ForStatement:["init","test","update","body"],FunctionDeclaration:i[30],FunctionExpression:i[30],FunctionTypeAnnotation:["typeParameters","this","params","rest","returnType"],FunctionTypeParam:i[15],GenericTypeAnnotation:i[12],HookDeclaration:i[31],HookTypeAnnotation:["params","returnType","rest","typeParameters"],Identifier:["typeAnnotation","decorators"],IfStatement:i[16],ImportAttribute:i[32],ImportDeclaration:["specifiers","source","attributes"],ImportDefaultSpecifier:i[33],ImportExpression:["source","options"],ImportNamespaceSpecifier:i[33],ImportSpecifier:["imported","local"],IndexedAccessType:i[34],InferredPredicate:i[1],InferTypeAnnotation:i[35],InterfaceDeclaration:i[22],InterfaceExtends:i[12],InterfaceTypeAnnotation:["extends","body"],InterpreterDirective:i[1],IntersectionTypeAnnotation:i[36],JsExpressionRoot:i[37],JsonRoot:i[37],JSXAttribute:["name","value"],JSXClosingElement:["name"],JSXClosingFragment:i[1],JSXElement:["openingElement","children","closingElement"],JSXEmptyExpression:i[1],JSXExpressionContainer:i[3],JSXFragment:["openingFragment","children","closingFragment"],JSXIdentifier:i[1],JSXMemberExpression:i[38],JSXNamespacedName:["namespace","name"],JSXOpeningElement:["name","typeArguments","attributes"],JSXOpeningFragment:i[1],JSXSpreadAttribute:i[6],JSXSpreadChild:i[3],JSXText:i[1],KeyofTypeAnnotation:i[6],LabeledStatement:["label","body"],Literal:i[1],LogicalExpression:i[5],MatchArrayPattern:["elements","rest"],MatchAsPattern:["pattern","target"],MatchBindingPattern:i[21],MatchExpression:i[39],MatchExpressionCase:i[40],MatchIdentifierPattern:i[21],MatchLiteralPattern:i[41],MatchMemberPattern:["base","property"],MatchObjectPattern:["properties","rest"],MatchObjectPatternProperty:["key","pattern"],MatchOrPattern:["patterns"],MatchRestPattern:i[6],MatchStatement:i[39],MatchStatementCase:i[40],MatchUnaryPattern:i[6],MatchWildcardPattern:i[1],MemberExpression:i[38],MetaProperty:["meta","property"],MethodDefinition:i[42],MixedTypeAnnotation:i[1],ModuleExpression:i[10],NeverTypeAnnotation:i[1],NewExpression:i[9],NGChainedExpression:i[43],NGEmptyExpression:i[1],NGMicrosyntax:i[10],NGMicrosyntaxAs:["key","alias"],NGMicrosyntaxExpression:["expression","alias"],NGMicrosyntaxKey:i[1],NGMicrosyntaxKeyedExpression:["key","expression"],NGMicrosyntaxLet:i[32],NGPipeExpression:["left","right","arguments"],NGRoot:i[37],NullableTypeAnnotation:i[23],NullLiteral:i[1],NullLiteralTypeAnnotation:i[1],NumberLiteralTypeAnnotation:i[1],NumberTypeAnnotation:i[1],NumericLiteral:i[1],ObjectExpression:["properties"],ObjectMethod:i[13],ObjectPattern:["decorators","properties","typeAnnotation"],ObjectProperty:i[42],ObjectTypeAnnotation:["properties","indexers","callProperties","internalSlots"],ObjectTypeCallProperty:i[18],ObjectTypeIndexer:["variance","id","key","value"],ObjectTypeInternalSlot:["id","value"],ObjectTypeMappedTypeProperty:["keyTparam","propType","sourceType","variance"],ObjectTypeProperty:["key","value","variance"],ObjectTypeSpreadProperty:i[6],OpaqueType:["id","typeParameters","supertype","impltype","lowerBound","upperBound"],OptionalCallExpression:i[9],OptionalIndexedAccessType:i[34],OptionalMemberExpression:i[38],ParenthesizedExpression:i[3],PipelineBareFunction:["callee"],PipelinePrimaryTopicReference:i[1],PipelineTopicExpression:i[3],Placeholder:i[1],PrivateIdentifier:i[1],PrivateName:i[21],Program:i[7],Property:i[32],PropertyDefinition:i[14],QualifiedTypeIdentifier:i[44],QualifiedTypeofIdentifier:i[44],RegExpLiteral:i[1],RestElement:["argument","typeAnnotation","decorators"],ReturnStatement:i[6],SatisfiesExpression:i[4],SequenceExpression:i[43],SpreadElement:i[6],StaticBlock:i[10],StringLiteral:i[1],StringLiteralTypeAnnotation:i[1],StringTypeAnnotation:i[1],Super:i[1],SwitchCase:["test","consequent"],SwitchStatement:["discriminant","cases"],SymbolTypeAnnotation:i[1],TaggedTemplateExpression:["tag","typeArguments","quasi"],TemplateElement:i[1],TemplateLiteral:["quasis","expressions"],ThisExpression:i[1],ThisTypeAnnotation:i[1],ThrowStatement:i[6],TopicReference:i[1],TryStatement:["block","handler","finalizer"],TSAbstractAccessorProperty:i[45],TSAbstractKeyword:i[1],TSAbstractMethodDefinition:i[32],TSAbstractPropertyDefinition:i[45],TSAnyKeyword:i[1],TSArrayType:i[2],TSAsExpression:i[4],TSAsyncKeyword:i[1],TSBigIntKeyword:i[1],TSBooleanKeyword:i[1],TSCallSignatureDeclaration:i[46],TSClassImplements:i[47],TSConditionalType:i[17],TSConstructorType:i[46],TSConstructSignatureDeclaration:i[46],TSDeclareFunction:i[31],TSDeclareKeyword:i[1],TSDeclareMethod:["decorators","key","typeParameters","params","returnType"],TSEmptyBodyFunctionExpression:["id","typeParameters","params","returnType"],TSEnumBody:i[26],TSEnumDeclaration:i[19],TSEnumMember:["id","initializer"],TSExportAssignment:i[3],TSExportKeyword:i[1],TSExternalModuleReference:i[3],TSFunctionType:i[46],TSImportEqualsDeclaration:["id","moduleReference"],TSImportType:["options","qualifier","typeArguments","source"],TSIndexedAccessType:i[34],TSIndexSignature:["parameters","typeAnnotation"],TSInferType:i[35],TSInstantiationExpression:i[47],TSInterfaceBody:i[10],TSInterfaceDeclaration:i[22],TSInterfaceHeritage:i[47],TSIntersectionType:i[36],TSIntrinsicKeyword:i[1],TSJSDocAllType:i[1],TSJSDocNonNullableType:i[23],TSJSDocNullableType:i[23],TSJSDocUnknownType:i[1],TSLiteralType:i[41],TSMappedType:["key","constraint","nameType","typeAnnotation"],TSMethodSignature:["key","typeParameters","params","returnType"],TSModuleBlock:i[10],TSModuleDeclaration:i[19],TSNamedTupleMember:["label","elementType"],TSNamespaceExportDeclaration:i[21],TSNeverKeyword:i[1],TSNonNullExpression:i[3],TSNullKeyword:i[1],TSNumberKeyword:i[1],TSObjectKeyword:i[1],TSOptionalType:i[23],TSParameterProperty:["parameter","decorators"],TSParenthesizedType:i[23],TSPrivateKeyword:i[1],TSPropertySignature:["key","typeAnnotation"],TSProtectedKeyword:i[1],TSPublicKeyword:i[1],TSQualifiedName:i[5],TSReadonlyKeyword:i[1],TSRestType:i[23],TSSatisfiesExpression:i[4],TSStaticKeyword:i[1],TSStringKeyword:i[1],TSSymbolKeyword:i[1],TSTemplateLiteralType:["quasis","types"],TSThisType:i[1],TSTupleType:["elementTypes"],TSTypeAliasDeclaration:["id","typeParameters","typeAnnotation"],TSTypeAnnotation:i[23],TSTypeAssertion:i[4],TSTypeLiteral:i[26],TSTypeOperator:i[23],TSTypeParameter:["name","constraint","default"],TSTypeParameterDeclaration:i[48],TSTypeParameterInstantiation:i[48],TSTypePredicate:i[49],TSTypeQuery:["exprName","typeArguments"],TSTypeReference:["typeName","typeArguments"],TSUndefinedKeyword:i[1],TSUnionType:i[36],TSUnknownKeyword:i[1],TSVoidKeyword:i[1],TupleTypeAnnotation:["types","elementTypes"],TupleTypeLabeledElement:["label","elementType","variance"],TupleTypeSpreadElement:["label","typeAnnotation"],TypeAlias:i[24],TypeAnnotation:i[23],TypeCastExpression:i[4],TypeofTypeAnnotation:["argument","typeArguments"],TypeOperator:i[23],TypeParameter:["bound","default","variance"],TypeParameterDeclaration:i[48],TypeParameterInstantiation:i[48],TypePredicate:i[49],UnaryExpression:i[6],UndefinedTypeAnnotation:i[1],UnionTypeAnnotation:i[36],UnknownTypeAnnotation:i[1],UpdateExpression:i[6],V8IntrinsicIdentifier:i[1],VariableDeclaration:["declarations"],VariableDeclarator:i[27],Variance:i[1],VoidPattern:i[1],VoidTypeAnnotation:i[1],WhileStatement:i[25],WithStatement:["object","body"],YieldExpression:i[6]},eo=su(Zs),ou=eo;function to(e){let t=new Set(e);return n=>t.has(n?.type)}var w=to;function no(e){return e.extra?.raw??e.raw}var ie=no,ro=w(["Block","CommentBlock","MultiLine"]),he=ro,uo=w(["AnyTypeAnnotation","ThisTypeAnnotation","NumberTypeAnnotation","VoidTypeAnnotation","BooleanTypeAnnotation","BigIntTypeAnnotation","SymbolTypeAnnotation","StringTypeAnnotation","NeverTypeAnnotation","UndefinedTypeAnnotation","UnknownTypeAnnotation","EmptyTypeAnnotation","MixedTypeAnnotation"]),iu=uo,ao=w(["Line","CommentLine","SingleLine","HashbangComment","HTMLOpen","HTMLClose","Hashbang","InterpreterDirective"]),Mt=ao;function so(e,t){let n=t.split(".");for(let r=n.length-1;r>=0;r--){let u=n[r];if(r===0)return e.type==="Identifier"&&e.name===u;if(r===1&&e.type==="MetaProperty"&&e.property.type==="Identifier"&&e.property.name===u){e=e.meta;continue}if(e.type==="MemberExpression"&&!e.optional&&!e.computed&&e.property.type==="Identifier"&&e.property.name===u){e=e.object;continue}return!1}}function oo(e,t){return t.some(n=>so(e,n))}var Gn=oo;function io({type:e}){return e.startsWith("TS")&&e.endsWith("Keyword")}var pu=io;function po({node:e,parent:t}){return e?.type!=="EmptyStatement"?!1:t.type==="IfStatement"?t.consequent===e||t.alternate===e:t.type==="DoWhileStatement"||t.type==="ForInStatement"||t.type==="ForOfStatement"||t.type==="ForStatement"||t.type==="LabeledStatement"||t.type==="WithStatement"||t.type==="WhileStatement"?t.body===e:!1}var Vn=po;function Sn(e,t){return t(e)||xs(e,{getVisitorKeys:ou,predicate:t})}function Kn(e){return e.type==="AssignmentExpression"||e.type==="BinaryExpression"||e.type==="LogicalExpression"||e.type==="NGPipeExpression"||e.type==="ConditionalExpression"||L(e)||R(e)||e.type==="SequenceExpression"||e.type==="TaggedTemplateExpression"||e.type==="BindExpression"||e.type==="UpdateExpression"&&!e.prefix||Fe(e)||e.type==="TSNonNullExpression"||e.type==="ChainExpression"}function lo(e){return e.expressions?e.expressions[0]:e.left??e.test??e.callee??e.object??e.tag??e.argument??e.expression}function lu(e){if(e.expressions)return["expressions",0];if(e.left)return["left"];if(e.test)return["test"];if(e.object)return["object"];if(e.callee)return["callee"];if(e.tag)return["tag"];if(e.argument)return["argument"];if(e.expression)return["expression"];throw new Error("Unexpected node has no left side.")}var co=w(["ExportDefaultDeclaration","DeclareExportDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportAllDeclaration"]),ee=w(["ArrayExpression"]),Ae=w(["ObjectExpression"]);function Do(e){return e.type==="LogicalExpression"&&e.operator==="??"}function be(e){return e.type==="NumericLiteral"||e.type==="Literal"&&typeof e.value=="number"}function yo(e){return e.type==="BooleanLiteral"||e.type==="Literal"&&typeof e.value=="boolean"}function cu(e){return e.type==="UnaryExpression"&&(e.operator==="+"||e.operator==="-")&&be(e.argument)}function Q(e){return!!(e&&(e.type==="StringLiteral"||e.type==="Literal"&&typeof e.value=="string"))}function Du(e){return e.type==="RegExpLiteral"||e.type==="Literal"&&!!e.regex}var Hn=w(["Literal","BooleanLiteral","BigIntLiteral","DirectiveLiteral","NullLiteral","NumericLiteral","RegExpLiteral","StringLiteral"]),fo=w(["Identifier","ThisExpression","Super","PrivateName","PrivateIdentifier"]),Xe=w(["ObjectTypeAnnotation","TSTypeLiteral","TSMappedType"]),kt=w(["FunctionExpression","ArrowFunctionExpression"]);function mo(e){return e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&e.body.type==="BlockStatement"}function Dn(e){return L(e)&&e.callee.type==="Identifier"&&["async","inject","fakeAsync","waitForAsync"].includes(e.callee.name)}var Y=w(["JSXElement","JSXFragment"]);function Lt(e){return e.method&&e.kind==="init"||e.kind==="get"||e.kind==="set"}function yu(e){return(e.type==="ObjectTypeProperty"||e.type==="ObjectTypeInternalSlot")&&!e.static&&!e.method&&e.kind!=="get"&&e.kind!=="set"&&e.value.type==="FunctionTypeAnnotation"}function Fo(e){return(e.type==="TypeAnnotation"||e.type==="TSTypeAnnotation")&&e.typeAnnotation.type==="FunctionTypeAnnotation"&&!e.static&&!nn(e,e.typeAnnotation)}var Ne=w(["BinaryExpression","LogicalExpression","NGPipeExpression"]);function ot(e){return R(e)||e.type==="BindExpression"&&!!e.object}var Eo=w(["TSThisType","NullLiteralTypeAnnotation","BooleanLiteralTypeAnnotation","StringLiteralTypeAnnotation","BigIntLiteralTypeAnnotation","NumberLiteralTypeAnnotation","TSLiteralType","TSTemplateLiteralType"]);function zn(e){return pu(e)||iu(e)||Eo(e)||e.type==="GenericTypeAnnotation"&&!e.typeParameters||e.type==="TSTypeReference"&&!e.typeArguments}function Ao(e){return e.type==="Identifier"&&(e.name==="beforeEach"||e.name==="beforeAll"||e.name==="afterEach"||e.name==="afterAll")}var go=["it","it.only","it.skip","describe","describe.only","describe.skip","test","test.only","test.skip","test.fixme","test.step","test.describe","test.describe.only","test.describe.skip","test.describe.fixme","test.describe.parallel","test.describe.parallel.only","test.describe.serial","test.describe.serial.only","skip","xit","xdescribe","xtest","fit","fdescribe","ftest"];function Co(e){return Gn(e,go)}function rn(e,t){if(e?.type!=="CallExpression"||e.optional)return!1;let n=ye(e);if(n.length===1){if(Dn(e)&&rn(t))return kt(n[0]);if(Ao(e.callee))return Dn(n[0])}else if((n.length===2||n.length===3)&&(n[0].type==="TemplateLiteral"||Q(n[0]))&&Co(e.callee))return n[2]&&!be(n[2])?!1:(n.length===2?kt(n[1]):mo(n[1])&&te(n[1]).length<=1)||Dn(n[1]);return!1}var du=e=>t=>(t?.type==="ChainExpression"&&(t=t.expression),e(t)),L=du(w(["CallExpression","OptionalCallExpression"])),R=du(w(["MemberExpression","OptionalMemberExpression"]));function Tr(e,t=5){return fu(e,t)<=t}function fu(e,t){let n=0;for(let r in e){let u=e[r];if(tu(u)&&typeof u.type=="string"&&(n++,n+=fu(u,t-n)),n>t)return n}return n}var ho=.25;function Yn(e,t){let{printWidth:n}=t;if(g(e))return!1;let r=n*ho;if(e.type==="ThisExpression"||e.type==="Identifier"&&e.name.length<=r||cu(e)&&!g(e.argument))return!0;let u=e.type==="Literal"&&"regex"in e&&e.regex.pattern||e.type==="RegExpLiteral"&&e.pattern;return u?u.length<=r:Q(e)?ct(ie(e),t).length<=r:e.type==="TemplateLiteral"?e.expressions.length===0&&e.quasis[0].value.raw.length<=r&&!e.quasis[0].value.raw.includes(`
|
|
5
|
+
`):e.type==="UnaryExpression"?Yn(e.argument,{printWidth:n}):e.type==="CallExpression"&&e.arguments.length===0&&e.callee.type==="Identifier"?e.callee.name.length<=r-2:Hn(e)}function Ee(e,t){return Y(t)?un(t):g(t,b.Leading,n=>oe(e,N(n)))}function Sr(e){return e.quasis.some(t=>t.value.raw.includes(`
|
|
6
|
+
`))}function mu(e,t){return(e.type==="TemplateLiteral"&&Sr(e)||e.type==="TaggedTemplateExpression"&&Sr(e.quasi))&&!oe(t,j(e),{backwards:!0})}function Fu(e){if(!g(e))return!1;let t=O(0,He(e,b.Dangling),-1);return t&&!he(t)}function xo(e){if(e.length<=1)return!1;let t=0;for(let n of e)if(kt(n)){if(t+=1,t>1)return!0}else if(L(n)){for(let r of ye(n))if(kt(r))return!0}return!1}function Eu(e){let{node:t,parent:n,key:r}=e;return r==="callee"&&L(t)&&L(n)&&n.arguments.length>0&&t.arguments.length>n.arguments.length}var To=new Set(["!","-","+","~"]);function me(e,t=2){if(t<=0)return!1;if(e.type==="ChainExpression"||e.type==="TSNonNullExpression")return me(e.expression,t);let n=r=>me(r,t-1);if(Du(e))return it(e.pattern??e.regex.pattern)<=5;if(Hn(e)||fo(e)||e.type==="ArgumentPlaceholder")return!0;if(e.type==="TemplateLiteral")return e.quasis.every(r=>!r.value.raw.includes(`
|
|
7
|
+
`))&&e.expressions.every(n);if(Ae(e))return e.properties.every(r=>!r.computed&&(r.shorthand||r.value&&n(r.value)));if(ee(e))return e.elements.every(r=>r===null||n(r));if(yt(e)){if(e.type==="ImportExpression"||me(e.callee,t)){let r=ye(e);return r.length<=t&&r.every(n)}return!1}return R(e)?me(e.object,t)&&me(e.property,t):e.type==="UnaryExpression"&&To.has(e.operator)||e.type==="UpdateExpression"?me(e.argument,t):!1}function Pe(e,t="es5"){return e.trailingComma==="es5"&&t==="es5"||e.trailingComma==="all"&&(t==="all"||t==="es5")}function ne(e,t){switch(e.type){case"BinaryExpression":case"LogicalExpression":case"AssignmentExpression":case"NGPipeExpression":return ne(e.left,t);case"MemberExpression":case"OptionalMemberExpression":return ne(e.object,t);case"TaggedTemplateExpression":return e.tag.type==="FunctionExpression"?!1:ne(e.tag,t);case"CallExpression":case"OptionalCallExpression":return e.callee.type==="FunctionExpression"?!1:ne(e.callee,t);case"ConditionalExpression":return ne(e.test,t);case"UpdateExpression":return!e.prefix&&ne(e.argument,t);case"BindExpression":return e.object&&ne(e.object,t);case"SequenceExpression":return ne(e.expressions[0],t);case"ChainExpression":case"TSSatisfiesExpression":case"TSAsExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return ne(e.expression,t);default:return t(e)}}var br={"==":!0,"!=":!0,"===":!0,"!==":!0},Ut={"*":!0,"/":!0,"%":!0},bn={">>":!0,">>>":!0,"<<":!0};function Qn(e,t){return!(Yt(t)!==Yt(e)||e==="**"||br[e]&&br[t]||t==="%"&&Ut[e]||e==="%"&&Ut[t]||t!==e&&Ut[t]&&Ut[e]||bn[e]&&bn[t])}var So=new Map([["|>"],["??"],["||"],["&&"],["|"],["^"],["&"],["==","===","!=","!=="],["<",">","<=",">=","in","instanceof"],[">>","<<",">>>"],["+","-"],["*","/","%"],["**"]].flatMap((e,t)=>e.map(n=>[n,t])));function Yt(e){return So.get(e)}function bo(e){return!!bn[e]||e==="|"||e==="^"||e==="&"}function Bo(e){if(e.rest)return!0;let t=te(e);return O(0,t,-1)?.type==="RestElement"}var yn=new WeakMap;function te(e){if(yn.has(e))return yn.get(e);let t=[];return e.this&&t.push(e.this),t.push(...e.params),e.rest&&t.push(e.rest),yn.set(e,t),t}function vo(e,t){let{node:n}=e,r=0,u=()=>t(e,r++);n.this&&e.call(u,"this"),e.each(u,"params"),n.rest&&e.call(u,"rest")}var dn=new WeakMap;function ye(e){if(dn.has(e))return dn.get(e);if(e.type==="ChainExpression")return ye(e.expression);let t;return e.type==="ImportExpression"||e.type==="TSImportType"?(t=[e.source],e.options&&t.push(e.options)):e.type==="TSExternalModuleReference"?t=[e.expression]:t=e.arguments,dn.set(e,t),t}function Qt(e,t){let{node:n}=e;if(n.type==="ChainExpression")return e.call(()=>Qt(e,t),"expression");n.type==="ImportExpression"||n.type==="TSImportType"?(e.call(()=>t(e,0),"source"),n.options&&e.call(()=>t(e,1),"options")):n.type==="TSExternalModuleReference"?e.call(()=>t(e,0),"expression"):e.each(t,"arguments")}function Br(e,t){let n=[];if(e.type==="ChainExpression"&&(e=e.expression,n.push("expression")),e.type==="ImportExpression"||e.type==="TSImportType"){if(t===0||t===(e.options?-2:-1))return[...n,"source"];if(e.options&&(t===1||t===-1))return[...n,"options"];throw new RangeError("Invalid argument index")}else if(e.type==="TSExternalModuleReference"){if(t===0||t===-1)return[...n,"expression"]}else if(t<0&&(t=e.arguments.length+t),t>=0&&t<e.arguments.length)return[...n,"arguments",t];throw new RangeError("Invalid argument index")}function Dt(e){return e.value.trim()==="prettier-ignore"&&!e.unignore}function un(e){return e?.prettierIgnore||g(e,b.PrettierIgnore)}var b={Leading:2,Trailing:4,Dangling:8,Block:16,Line:32,PrettierIgnore:64,First:128,Last:256},Au=(e,t)=>{if(typeof e=="function"&&(t=e,e=0),e||t)return(n,r,u)=>!(e&b.Leading&&!n.leading||e&b.Trailing&&!n.trailing||e&b.Dangling&&(n.leading||n.trailing)||e&b.Block&&!he(n)||e&b.Line&&!Mt(n)||e&b.First&&r!==0||e&b.Last&&r!==u.length-1||e&b.PrettierIgnore&&!Dt(n)||t&&!t(n))};function g(e,t,n){if(!_(e?.comments))return!1;let r=Au(t,n);return r?e.comments.some(r):!0}function He(e,t,n){if(!Array.isArray(e?.comments))return[];let r=Au(t,n);return r?e.comments.filter(r):e.comments}var ke=(e,{originalText:t})=>$n(t,N(e));function yt(e){return L(e)||e.type==="NewExpression"||e.type==="ImportExpression"}function _e(e){return e&&(e.type==="ObjectProperty"||e.type==="Property"&&!Lt(e))}var Fe=w(["TSAsExpression","TSSatisfiesExpression","AsExpression","AsConstExpression","SatisfiesExpression"]),Be=w(["TSUnionType","UnionTypeAnnotation"]),Ot=w(["TSIntersectionType","IntersectionTypeAnnotation"]),Re=w(["TSConditionalType","ConditionalTypeAnnotation"]),Po=e=>e?.type==="TSAsExpression"&&e.typeAnnotation.type==="TSTypeReference"&&e.typeAnnotation.typeName.type==="Identifier"&&e.typeAnnotation.typeName.name==="const",Bn=w(["TSTypeAliasDeclaration","TypeAlias"]);function gu({key:e,parent:t}){return!(e==="types"&&Be(t)||e==="types"&&Ot(t))}var ko=new Set(["range","raw","comments","leadingComments","trailingComments","innerComments","extra","start","end","loc","flags","errors","tokens"]),at=e=>{for(let t of e.quasis)delete t.value};function Cu(e,t,n){if(e.type==="Program"&&delete t.sourceType,(e.type==="BigIntLiteral"||e.type==="Literal")&&e.bigint&&(t.bigint=e.bigint.toLowerCase()),e.type==="EmptyStatement"&&!Vn({node:e,parent:n})||e.type==="JSXText"||e.type==="JSXExpressionContainer"&&(e.expression.type==="Literal"||e.expression.type==="StringLiteral")&&e.expression.value===" ")return null;if((e.type==="Property"||e.type==="ObjectProperty"||e.type==="MethodDefinition"||e.type==="ClassProperty"||e.type==="ClassMethod"||e.type==="PropertyDefinition"||e.type==="TSDeclareMethod"||e.type==="TSPropertySignature"||e.type==="ObjectTypeProperty"||e.type==="ImportAttribute")&&e.key&&!e.computed){let{key:u}=e;Q(u)||be(u)?t.key=String(u.value):u.type==="Identifier"&&(t.key=u.name)}if(e.type==="JSXElement"&&e.openingElement.name.name==="style"&&e.openingElement.attributes.some(u=>u.type==="JSXAttribute"&&u.name.name==="jsx"))for(let{type:u,expression:a}of t.children)u==="JSXExpressionContainer"&&a.type==="TemplateLiteral"&&at(a);e.type==="JSXAttribute"&&e.name.name==="css"&&e.value.type==="JSXExpressionContainer"&&e.value.expression.type==="TemplateLiteral"&&at(t.value.expression),e.type==="JSXAttribute"&&e.value?.type==="Literal"&&/["']|"|'/u.test(e.value.value)&&(t.value.value=z(0,e.value.value,/["']|"|'/gu,'"'));let r=e.expression||e.callee;if(e.type==="Decorator"&&r.type==="CallExpression"&&r.callee.name==="Component"&&r.arguments.length===1){let u=e.expression.arguments[0].properties;for(let[a,s]of t.expression.arguments[0].properties.entries())switch(u[a].key.name){case"styles":ee(s.value)&&at(s.value.elements[0]);break;case"template":s.value.type==="TemplateLiteral"&&at(s.value);break}}e.type==="TaggedTemplateExpression"&&(e.tag.type==="MemberExpression"||e.tag.type==="Identifier"&&(e.tag.name==="gql"||e.tag.name==="graphql"||e.tag.name==="css"||e.tag.name==="md"||e.tag.name==="markdown"||e.tag.name==="html")||e.tag.type==="CallExpression")&&at(t.quasi),e.type==="TemplateLiteral"&&at(t),e.type==="ChainExpression"&&e.expression.type==="TSNonNullExpression"&&(t.type="TSNonNullExpression",t.expression.type="ChainExpression")}Cu.ignoredProperties=ko;var wo=Cu,Io=w(["File","TemplateElement","TSEmptyBodyFunctionExpression","ChainExpression"]),No=(e,[t])=>t?.type==="ComponentParameter"&&t.shorthand&&t.name===e&&t.local!==t.name||t?.type==="MatchObjectPatternProperty"&&t.shorthand&&t.key===e&&t.value!==t.key||t?.type==="ObjectProperty"&&t.shorthand&&t.key===e&&t.value!==t.key||t?.type==="Property"&&t.shorthand&&t.key===e&&!Lt(t)&&t.value!==t.key,jo=(e,[t])=>!!(e.type==="FunctionExpression"&&t.type==="MethodDefinition"&&t.value===e&&te(e).length===0&&!e.returnType&&!_(e.typeParameters)&&e.body),vr=(e,[t])=>t?.typeAnnotation===e&&Po(t),Mo=(e,[t,...n])=>vr(e,[t])||t?.typeName===e&&vr(t,n);function Lo(e,t){return Io(e)||No(e,t)||jo(e,t)?!1:e.type==="EmptyStatement"?Vn({node:e,parent:t[0]}):!(Mo(e,t)||e.type==="TSTypeAnnotation"&&t[0].type==="TSPropertySignature")}var Oo=Lo;function Jo(e){let t=e.type||e.kind||"(unknown type)",n=String(e.name||e.id&&(typeof e.id=="object"?e.id.name:e.id)||e.key&&(typeof e.key=="object"?e.key.name:e.key)||e.value&&(typeof e.value=="object"?"":String(e.value))||e.operator||"");return n.length>20&&(n=n.slice(0,19)+"…"),t+(n?" "+n:"")}function Zn(e,t){(e.comments??(e.comments=[])).push(t),t.printed=!1,t.nodeDescription=Jo(e)}function V(e,t){t.leading=!0,t.trailing=!1,Zn(e,t)}function le(e,t,n){t.leading=!1,t.trailing=!1,n&&(t.marker=n),Zn(e,t)}function W(e,t){t.leading=!1,t.trailing=!0,Zn(e,t)}function qo(e,t){let n=null,r=t;for(;r!==n;)n=r,r=pt(e,r),r=Wn(e,r),r=Un(e,r),r=lt(e,r);return r}var ft=qo;function Xo(e,t){let n=ft(e,t);return n===!1?"":e.charAt(n)}var ge=Xo;function Ro(e,t,n){for(let r=t;r<n;++r)if(e.charAt(r)===`
|
|
8
|
+
`)return!0;return!1}var ce=Ro,fn=new WeakMap;function _o(e){return fn.has(e)||fn.set(e,he(e)&&e.value[0]==="*"&&/@(?:type|satisfies)\b/u.test(e.value)),fn.get(e)}var hu=_o,er=(e,t)=>Mt(e)||!ce(t,j(e),N(e));function Wo(e){return[wu,Tu,vu,ei,Vo,tr,nr,xu,Su,ai,ni,ri,ur,ku,si,bu,Pu,rr,Ko,yi,Iu,ar].some(t=>t(e))}function Uo(e){return[Go,vu,Tu,ku,tr,nr,xu,Su,Pu,ti,ui,ur,pi,rr,ci,Di,di,Iu,mi,fi,ar].some(t=>t(e))}function $o(e){return[wu,tr,nr,Zo,bu,ur,Qo,Yo,rr,li,ar].some(t=>t(e))}function Ye(e,t){let n=(e.body||e.properties).find(({type:r})=>r!=="EmptyStatement");n?V(n,t):le(e,t)}function vn(e,t){e.type==="BlockStatement"?Ye(e,t):V(e,t)}function Go({comment:e,followingNode:t}){return t&&hu(e)?(V(t,e),!0):!1}function tr({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){if(n?.type!=="IfStatement"||!r)return!1;if(ge(u,N(e))===")")return W(t,e),!0;if(r.type==="BlockStatement"&&r===n.consequent&&j(e)>=N(t)&&N(e)<=j(r))return V(r,e),!0;if(t===n.consequent&&r===n.alternate){let a=ft(u,N(n.consequent));if(r.type==="BlockStatement"&&j(e)>=a&&N(e)<=j(r))return V(r,e),!0;if(j(e)<a||n.alternate.type==="BlockStatement")return t.type==="BlockStatement"||er(e,u)&&!ce(u,j(t),j(e))?(W(t,e),!0):(le(n,e),!0)}return r.type==="BlockStatement"?(Ye(r,e),!0):r.type==="IfStatement"?(vn(r.consequent,e),!0):n.consequent===r?(V(r,e),!0):!1}function nr({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return n?.type!=="WhileStatement"||!r?!1:ge(u,N(e))===")"?(W(t,e),!0):r.type==="BlockStatement"?(Ye(r,e),!0):n.body===r?(V(r,e),!0):!1}function xu({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return n?.type!=="TryStatement"&&n?.type!=="CatchClause"||!r?!1:n.type==="CatchClause"&&t?(W(t,e),!0):r.type==="BlockStatement"?(Ye(r,e),!0):r.type==="TryStatement"?(vn(r.finalizer,e),!0):r.type==="CatchClause"?(vn(r.body,e),!0):!1}function Vo({comment:e,enclosingNode:t,followingNode:n}){return R(t)&&n?.type==="Identifier"?(V(t,e),!0):!1}function Ko({comment:e,enclosingNode:t,followingNode:n,options:r}){return!r.experimentalTernaries||!(t?.type==="ConditionalExpression"||Re(t))?!1:n?.type==="ConditionalExpression"||Re(n)?(le(t,e),!0):!1}function Tu({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u,options:a}){let s=t&&!ce(u,N(t),j(e));return(!t||!s)&&(n?.type==="ConditionalExpression"||Re(n))&&r?a.experimentalTernaries&&n.alternate===r&&!(he(e)&&!ce(a.originalText,j(e),N(e)))?(le(n,e),!0):(V(r,e),!0):!1}var Ho=w(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function Su({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){if(Ho(n)){if(_(n.decorators)&&r?.type!=="Decorator")return W(O(0,n.decorators,-1),e),!0;if(n.body&&r===n.body)return Ye(n.body,e),!0;if(r){if(n.superClass&&r===n.superClass&&t&&(t===n.id||t===n.typeParameters))return W(t,e),!0;for(let u of["implements","extends","mixins"])if(n[u]&&r===n[u][0])return t&&(t===n.id||t===n.typeParameters||t===n.superClass)?W(t,e):le(n,e,u),!0}}return!1}var zo=w(["ClassMethod","ClassProperty","PropertyDefinition","TSAbstractPropertyDefinition","TSAbstractMethodDefinition","TSDeclareMethod","MethodDefinition","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","TSParameterProperty"]);function bu({comment:e,precedingNode:t,enclosingNode:n,text:r}){return n&&t&&ge(r,N(e))==="("&&(n.type==="Property"||n.type==="TSDeclareMethod"||n.type==="TSAbstractMethodDefinition")&&t.type==="Identifier"&&n.key===t&&ge(r,N(t))!==":"||t?.type==="Decorator"&&zo(n)&&(Mt(e)||e.placement==="ownLine")?(W(t,e),!0):!1}var Bu=w(["FunctionDeclaration","FunctionExpression","ClassMethod","MethodDefinition","ObjectMethod"]);function Yo({comment:e,precedingNode:t,enclosingNode:n,text:r}){return ge(r,N(e))!=="("?!1:t&&Bu(n)?(W(t,e),!0):!1}function Qo({comment:e,enclosingNode:t,text:n}){if(t?.type!=="ArrowFunctionExpression")return!1;let r=ft(n,N(e));return r!==!1&&n.slice(r,r+2)==="=>"?(le(t,e),!0):!1}function Zo({comment:e,enclosingNode:t,text:n}){return ge(n,N(e))!==")"?!1:t&&(Nu(t)&&te(t).length===0||yt(t)&&ye(t).length===0)?(le(t,e),!0):(t?.type==="MethodDefinition"||t?.type==="TSAbstractMethodDefinition")&&te(t.value).length===0?(le(t.value,e),!0):!1}function ei({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return t?.type==="ComponentTypeParameter"&&(n?.type==="DeclareComponent"||n?.type==="ComponentTypeAnnotation")&&r?.type!=="ComponentTypeParameter"||(t?.type==="ComponentParameter"||t?.type==="RestElement")&&n?.type==="ComponentDeclaration"&&ge(u,N(e))===")"?(W(t,e),!0):!1}function vu({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return t?.type==="FunctionTypeParam"&&n?.type==="FunctionTypeAnnotation"&&r?.type!=="FunctionTypeParam"||(t?.type==="Identifier"||t?.type==="AssignmentPattern"||t?.type==="ObjectPattern"||t?.type==="ArrayPattern"||t?.type==="RestElement"||t?.type==="TSParameterProperty")&&Nu(n)&&ge(u,N(e))===")"?(W(t,e),!0):!he(e)&&r?.type==="BlockStatement"&&Bu(n)&&(n.type==="MethodDefinition"?n.value.body:n.body)===r&&ft(u,N(e))===j(r)?(Ye(r,e),!0):!1}function Pu({comment:e,enclosingNode:t}){return t?.type==="LabeledStatement"?(V(t,e),!0):!1}function rr({comment:e,enclosingNode:t}){return(t?.type==="ContinueStatement"||t?.type==="BreakStatement")&&!t.label?(W(t,e),!0):!1}function ti({comment:e,precedingNode:t,enclosingNode:n}){return L(n)&&t&&n.callee===t&&n.arguments.length>0?(V(n.arguments[0],e),!0):!1}function ni({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return Be(n)?(Dt(e)&&(r.prettierIgnore=!0,e.unignore=!0),t?(W(t,e),!0):!1):(Be(r)&&Dt(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function ri({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return n&&n.type==="MatchOrPattern"?(Dt(e)&&(r.prettierIgnore=!0,e.unignore=!0),t?(W(t,e),!0):!1):(r&&r.type==="MatchOrPattern"&&Dt(e)&&(r.types[0].prettierIgnore=!0,e.unignore=!0),!1)}function ui({comment:e,enclosingNode:t}){return _e(t)?(V(t,e),!0):!1}function ur({comment:e,enclosingNode:t,ast:n,isLastComment:r}){return n?.body?.length===0?(r?le(n,e):V(n,e),!0):t?.type==="Program"&&t.body.length===0&&!_(t.directives)?(r?le(t,e):V(t,e),!0):!1}function ai({comment:e,enclosingNode:t,followingNode:n}){return(t?.type==="ForInStatement"||t?.type==="ForOfStatement")&&n!==t.body?(V(t,e),!0):!1}function ku({comment:e,precedingNode:t,enclosingNode:n,text:r}){if(n?.type==="ImportSpecifier"||n?.type==="ExportSpecifier")return V(n,e),!0;let u=t?.type==="ImportSpecifier"&&n?.type==="ImportDeclaration",a=t?.type==="ExportSpecifier"&&n?.type==="ExportNamedDeclaration";return(u||a)&&oe(r,N(e))?(W(t,e),!0):!1}function si({comment:e,enclosingNode:t}){return t?.type==="AssignmentPattern"?(V(t,e),!0):!1}var oi=w(["VariableDeclarator","AssignmentExpression","TypeAlias","TSTypeAliasDeclaration"]),ii=w(["ObjectExpression","ArrayExpression","TemplateLiteral","TaggedTemplateExpression","ObjectTypeAnnotation","TSTypeLiteral"]);function pi({comment:e,enclosingNode:t,followingNode:n}){return oi(t)&&n&&(ii(n)||he(e))?(V(n,e),!0):!1}function li({comment:e,enclosingNode:t,precedingNode:n,followingNode:r,text:u}){return!r&&(t?.type==="TSMethodSignature"||t?.type==="TSDeclareFunction"||t?.type==="TSAbstractMethodDefinition")&&(!n||n!==t.returnType)&&ge(u,N(e))===";"?(W(t,e),!0):!1}function wu({comment:e,enclosingNode:t,followingNode:n}){if(Dt(e)&&t?.type==="TSMappedType"&&n===t.key)return t.prettierIgnore=!0,e.unignore=!0,!0}function Iu({comment:e,precedingNode:t,enclosingNode:n}){if(n?.type==="TSMappedType"&&!t)return le(n,e),!0}function ci({comment:e,enclosingNode:t,followingNode:n}){return!t||t.type!=="SwitchCase"||t.test||!n||n!==t.consequent[0]?!1:(n.type==="BlockStatement"&&Mt(e)?Ye(n,e):le(t,e),!0)}function Di({comment:e,precedingNode:t,enclosingNode:n,followingNode:r}){return Be(t)&&((n.type==="TSArrayType"||n.type==="ArrayTypeAnnotation")&&!r||Ot(n))?(W(O(0,t.types,-1),e),!0):!1}function yi({comment:e,enclosingNode:t,precedingNode:n,followingNode:r}){if((t?.type==="ObjectPattern"||t?.type==="ArrayPattern")&&r?.type==="TSTypeAnnotation")return n?W(n,e):le(t,e),!0}function di({comment:e,precedingNode:t,enclosingNode:n,followingNode:r,text:u}){return!r&&n?.type==="UnaryExpression"&&(t?.type==="LogicalExpression"||t?.type==="BinaryExpression")&&ce(u,j(n.argument),j(t.right))&&er(e,u)&&!ce(u,j(t.right),j(e))?(W(t.right,e),!0):!1}function fi({enclosingNode:e,followingNode:t,comment:n}){if(e&&(e.type==="TSPropertySignature"||e.type==="ObjectTypeProperty")&&(Be(t)||Ot(t)))return V(t,n),!0}function ar({enclosingNode:e,precedingNode:t,followingNode:n,comment:r,text:u}){if(Fe(e)&&t===e.expression&&!er(r,u))return n?V(n,r):W(e,r),!0}function mi({comment:e,enclosingNode:t,followingNode:n,precedingNode:r}){return t&&n&&r&&t.type==="ArrowFunctionExpression"&&t.returnType===r&&(r.type==="TSTypeAnnotation"||r.type==="TypeAnnotation")?(V(n,e),!0):!1}var Nu=w(["ArrowFunctionExpression","FunctionExpression","FunctionDeclaration","ObjectMethod","ClassMethod","TSDeclareFunction","TSCallSignatureDeclaration","TSConstructSignatureDeclaration","TSMethodSignature","TSConstructorType","TSFunctionType","TSDeclareMethod"]),Fi={endOfLine:Uo,ownLine:Wo,remaining:$o},Ei=Fi;function Ai(e,{parser:t}){if(t==="flow"||t==="hermes"||t==="babel-flow")return e=z(0,e,/[\s(]/gu,""),e===""||e==="/*"||e==="/*::"}var gi=Ai,Ci=w(["ClassDeclaration","ClassExpression","DeclareClass","DeclareInterface","InterfaceDeclaration","TSInterfaceDeclaration"]);function hi(e){let{key:t,parent:n}=e;if(t==="types"&&Be(n)||t==="argument"&&n.type==="JSXSpreadAttribute"||t==="expression"&&n.type==="JSXSpreadChild"||t==="superClass"&&(n.type==="ClassDeclaration"||n.type==="ClassExpression")||(t==="id"||t==="typeParameters")&&Ci(n)||t==="patterns"&&n.type==="MatchOrPattern")return!0;let{node:r}=e;return un(r)?!1:Be(r)?gu(e):!!Y(r)}var xi=hi,Qe="string",je="array",mt="cursor",Ze="indent",et="align",tt="trim",fe="group",We="fill",Se="if-break",nt="indent-if-break",rt="line-suffix",Ue="line-suffix-boundary",pe="line",Le="label",Oe="break-parent",ju=new Set([mt,Ze,et,tt,fe,We,Se,nt,rt,Ue,pe,Le,Oe]);function Ti(e){if(typeof e=="string")return Qe;if(Array.isArray(e))return je;if(!e)return;let{type:t}=e;if(ju.has(t))return t}var $e=Ti,Si=e=>new Intl.ListFormat("en-US",{type:"disjunction"}).format(e);function bi(e){let t=e===null?"null":typeof e;if(t!=="string"&&t!=="object")return`Unexpected doc '${t}',
|
|
9
|
+
Expected it to be 'string' or 'object'.`;if($e(e))throw new Error("doc is valid.");let n=Object.prototype.toString.call(e);if(n!=="[object Object]")return`Unexpected doc '${n}'.`;let r=Si([...ju].map(u=>`'${u}'`));return`Unexpected doc.type '${e.type}'.
|
|
10
|
+
Expected it to be ${r}.`}var Bi=class extends Error{name="InvalidDocError";constructor(e){super(bi(e)),this.doc=e}},wt=Bi,Pr={};function vi(e,t,n,r){let u=[e];for(;u.length>0;){let a=u.pop();if(a===Pr){n(u.pop());continue}n&&u.push(a,Pr);let s=$e(a);if(!s)throw new wt(a);if(t?.(a)!==!1)switch(s){case je:case We:{let o=s===je?a:a.parts;for(let p=o.length,l=p-1;l>=0;--l)u.push(o[l]);break}case Se:u.push(a.flatContents,a.breakContents);break;case fe:if(r&&a.expandedStates)for(let o=a.expandedStates.length,p=o-1;p>=0;--p)u.push(a.expandedStates[p]);else u.push(a.contents);break;case et:case Ze:case nt:case Le:case rt:u.push(a.contents);break;case Qe:case mt:case tt:case Ue:case pe:case Oe:break;default:throw new wt(a)}}}var sr=vi;function Ft(e,t){if(typeof e=="string")return t(e);let n=new Map;return r(e);function r(a){if(n.has(a))return n.get(a);let s=u(a);return n.set(a,s),s}function u(a){switch($e(a)){case je:return t(a.map(r));case We:return t({...a,parts:a.parts.map(r)});case Se:return t({...a,breakContents:r(a.breakContents),flatContents:r(a.flatContents)});case fe:{let{expandedStates:s,contents:o}=a;return s?(s=s.map(r),o=s[0]):o=r(o),t({...a,contents:o,expandedStates:s})}case et:case Ze:case nt:case Le:case rt:return t({...a,contents:r(a.contents)});case Qe:case mt:case tt:case Ue:case pe:case Oe:return t(a);default:throw new wt(a)}}}function Mu(e,t,n){let r=n,u=!1;function a(s){if(u)return!1;let o=t(s);o!==void 0&&(u=!0,r=o)}return sr(e,a),r}function Pi(e){if(e.type===fe&&e.break||e.type===pe&&e.hard||e.type===Oe)return!0}function re(e){return Mu(e,Pi,!1)}function kr(e){if(e.length>0){let t=O(0,e,-1);!t.expandedStates&&!t.break&&(t.break="propagated")}return null}function ki(e){let t=new Set,n=[];function r(a){if(a.type===Oe&&kr(n),a.type===fe){if(n.push(a),t.has(a))return!1;t.add(a)}}function u(a){a.type===fe&&n.pop().break&&kr(n)}sr(e,r,u,!0)}function wi(e){return e.type===pe&&!e.hard?e.soft?"":" ":e.type===Se?e.flatContents:e}function Zt(e){return Ft(e,wi)}function Ii(e){switch($e(e)){case We:if(e.parts.every(t=>t===""))return"";break;case fe:if(!e.contents&&!e.id&&!e.break&&!e.expandedStates)return"";if(e.contents.type===fe&&e.contents.id===e.id&&e.contents.break===e.break&&e.contents.expandedStates===e.expandedStates)return e.contents;break;case et:case Ze:case nt:case rt:if(!e.contents)return"";break;case Se:if(!e.flatContents&&!e.breakContents)return"";break;case je:{let t=[];for(let n of e){if(!n)continue;let[r,...u]=Array.isArray(n)?n:[n];typeof r=="string"&&typeof O(0,t,-1)=="string"?t[t.length-1]+=r:t.push(r),t.push(...u)}return t.length===0?"":t.length===1?t[0]:t}case Qe:case mt:case tt:case Ue:case pe:case Le:case Oe:break;default:throw new wt(e)}return e}function or(e){return Ft(e,t=>Ii(t))}function ze(e,t=qu){return Ft(e,n=>typeof n=="string"?M(t,n.split(`
|
|
11
|
+
`)):n)}function Ni(e){if(e.type===pe)return!0}function ji(e){return Mu(e,Ni,!1)}function Pn(e,t){return e.type===Le?{...e,contents:t(e.contents)}:t(e)}function Mi(e){let t=!0;return sr(e,n=>{switch($e(n)){case Qe:if(n==="")break;case tt:case Ue:case pe:case Oe:return t=!1,!1}}),t}var Li=Xs;function E(e){return{type:Ze,contents:e}}function Ce(e,t){return{type:et,contents:t,n:e}}function Oi(e){return Ce(Number.NEGATIVE_INFINITY,e)}function Lu(e){return Ce(-1,e)}function Ji(e,t,n){let r=e;if(t>0){for(let u=0;u<Math.floor(t/n);++u)r=E(r);r=Ce(t%n,r),r=Ce(Number.NEGATIVE_INFINITY,r)}return r}var Me={type:Oe},$t={type:mt};function Ou(e){return{type:We,parts:e}}function c(e,t={}){return Li(t.expandedStates),{type:fe,id:t.id,contents:e,break:!!t.shouldBreak,expandedStates:t.expandedStates}}function Ke(e,t){return c(e[0],{...t,expandedStates:e})}function k(e,t="",n={}){return{type:Se,breakContents:e,flatContents:t,groupId:n.groupId}}function It(e,t){return{type:nt,contents:e,groupId:t.groupId,negate:t.negate}}function M(e,t){let n=[];for(let r=0;r<t.length;r++)r!==0&&n.push(e),n.push(t[r]);return n}function Jt(e,t){return e?{type:Le,label:e,contents:t}:t}var x={type:pe},m={type:pe,soft:!0},Ju={type:pe,hard:!0},A=[Ju,Me],qi={type:pe,hard:!0,literal:!0},qu=[qi,Me];function wr(e){return{type:rt,contents:e}}var ve={type:Ue},Xi="cr",Ri="crlf",_i="\r",Wi=`\r
|
|
12
|
+
`,Ui=`
|
|
13
|
+
`,$i=Ui;function Gi(e){return e===Xi?_i:e===Ri?Wi:$i}var Vi={type:0},Ki={type:1},Xu={value:"",length:0,queue:[],get root(){return Xu}};function Ru(e,t,n){let r=t.type===1?e.queue.slice(0,-1):[...e.queue,t],u="",a=0,s=0,o=0;for(let F of r)switch(F.type){case 0:y(),n.useTabs?p(1):l(n.tabWidth);break;case 3:{let{string:B}=F;y(),u+=B,a+=B.length;break}case 2:{let{width:B}=F;s+=1,o+=B;break}default:throw new Error(`Unexpected indent comment '${F.type}'.`)}return d(),{...e,value:u,length:a,queue:r};function p(F){u+=" ".repeat(F),a+=n.tabWidth*F}function l(F){u+=" ".repeat(F),a+=F}function y(){n.useTabs?D():d()}function D(){s>0&&p(s),f()}function d(){o>0&&l(o),f()}function f(){s=0,o=0}}function Hi(e,t,n){if(!t)return e;if(t.type==="root")return{...e,root:e};if(t===Number.NEGATIVE_INFINITY)return e.root;let r;return typeof t=="number"?t<0?r=Ki:r={type:2,width:t}:r={type:3,string:t},Ru(e,r,n)}function zi(e,t){return Ru(e,Vi,t)}function Yi(e){let t=0;for(let n=e.length-1;n>=0;n--){let r=e[n];if(r===" "||r===" ")t++;else break}return t}function _u(e){let t=Yi(e);return{text:t===0?e:e.slice(0,e.length-t),count:t}}var se=Symbol("MODE_BREAK"),Te=Symbol("MODE_FLAT"),kn=Symbol("DOC_FILL_PRINTED_LENGTH");function Gt(e,t,n,r,u,a){if(n===Number.POSITIVE_INFINITY)return!0;let s=t.length,o=!1,p=[e],l="";for(;n>=0;){if(p.length===0){if(s===0)return!0;p.push(t[--s]);continue}let{mode:y,doc:D}=p.pop(),d=$e(D);switch(d){case Qe:D&&(o&&(l+=" ",n-=1,o=!1),l+=D,n-=it(D));break;case je:case We:{let f=d===je?D:D.parts,F=D[kn]??0;for(let B=f.length-1;B>=F;B--)p.push({mode:y,doc:f[B]});break}case Ze:case et:case nt:case Le:p.push({mode:y,doc:D.contents});break;case tt:{let{text:f,count:F}=_u(l);l=f,n+=F;break}case fe:{if(a&&D.break)return!1;let f=D.break?se:y,F=D.expandedStates&&f===se?O(0,D.expandedStates,-1):D.contents;p.push({mode:f,doc:F});break}case Se:{let f=(D.groupId?u[D.groupId]||Te:y)===se?D.breakContents:D.flatContents;f&&p.push({mode:y,doc:f});break}case pe:if(y===se||D.hard)return!0;D.soft||(o=!0);break;case rt:r=!0;break;case Ue:if(r)return!1;break}}return!1}function Wu(e,t){let n=Object.create(null),r=t.printWidth,u=Gi(t.endOfLine),a=0,s=[{indent:Xu,mode:se,doc:e}],o="",p=!1,l=[],y=[],D=[],d=[],f=0;for(ki(e);s.length>0;){let{indent:S,mode:h,doc:T}=s.pop();switch($e(T)){case Qe:{let I=u!==`
|
|
14
|
+
`?z(0,T,`
|
|
15
|
+
`,u):T;I&&(o+=I,s.length>0&&(a+=it(I)));break}case je:for(let I=T.length-1;I>=0;I--)s.push({indent:S,mode:h,doc:T[I]});break;case mt:if(y.length>=2)throw new Error("There are too many 'cursor' in doc.");y.push(f+o.length);break;case Ze:s.push({indent:zi(S,t),mode:h,doc:T.contents});break;case et:s.push({indent:Hi(S,T.n,t),mode:h,doc:T.contents});break;case tt:v();break;case fe:switch(h){case Te:if(!p){s.push({indent:S,mode:T.break?se:Te,doc:T.contents});break}case se:{p=!1;let I={indent:S,mode:Te,doc:T.contents},J=r-a,H=l.length>0;if(!T.break&&Gt(I,s,J,H,n))s.push(I);else if(T.expandedStates){let q=O(0,T.expandedStates,-1);if(T.break){s.push({indent:S,mode:se,doc:q});break}else for(let U=1;U<T.expandedStates.length+1;U++)if(U>=T.expandedStates.length){s.push({indent:S,mode:se,doc:q});break}else{let $=T.expandedStates[U],ae={indent:S,mode:Te,doc:$};if(Gt(ae,s,J,H,n)){s.push(ae);break}}}else s.push({indent:S,mode:se,doc:T.contents});break}}T.id&&(n[T.id]=O(0,s,-1).mode);break;case We:{let I=r-a,J=T[kn]??0,{parts:H}=T,q=H.length-J;if(q===0)break;let U=H[J+0],$=H[J+1],ae={indent:S,mode:Te,doc:U},xe={indent:S,mode:se,doc:U},P=Gt(ae,[],I,l.length>0,n,!0);if(q===1){P?s.push(ae):s.push(xe);break}let G={indent:S,mode:Te,doc:$},K={indent:S,mode:se,doc:$};if(q===2){P?s.push(G,ae):s.push(K,xe);break}let we=H[J+2],Ve={indent:S,mode:h,doc:{...T,[kn]:J+2}},Rt=Gt({indent:S,mode:Te,doc:[U,$,we]},[],I,l.length>0,n,!0);s.push(Ve),Rt?s.push(G,ae):P?s.push(K,ae):s.push(K,xe);break}case Se:case nt:{let I=T.groupId?n[T.groupId]:h;if(I===se){let J=T.type===Se?T.breakContents:T.negate?T.contents:E(T.contents);J&&s.push({indent:S,mode:h,doc:J})}if(I===Te){let J=T.type===Se?T.flatContents:T.negate?E(T.contents):T.contents;J&&s.push({indent:S,mode:h,doc:J})}break}case rt:l.push({indent:S,mode:h,doc:T.contents});break;case Ue:l.length>0&&s.push({indent:S,mode:h,doc:Ju});break;case pe:switch(h){case Te:if(T.hard)p=!0;else{T.soft||(o+=" ",a+=1);break}case se:if(l.length>0){s.push({indent:S,mode:h,doc:T},...l.reverse()),l.length=0;break}T.literal?(o+=u,a=0,S.root&&(S.root.value&&(o+=S.root.value),a=S.root.length)):(v(),o+=u+S.value,a=S.length);break}break;case Le:s.push({indent:S,mode:h,doc:T.contents});break;case Oe:break;default:throw new wt(T)}s.length===0&&l.length>0&&(s.push(...l.reverse()),l.length=0)}let F=D.join("")+o,B=[...d,...y];if(B.length!==2)return{formatted:F};let C=B[0];return{formatted:F,cursorNodeStart:C,cursorNodeText:F.slice(C,O(0,B,-1))};function v(){let{text:S,count:h}=_u(o);S&&(D.push(S),f+=S.length),o="",a-=h,y.length>0&&(d.push(...y.map(T=>Math.min(T,f))),y.length=0)}}function Qi(e,t,n=0){let r=0;for(let u=n;u<e.length;++u)e[u]===" "?r=r+t-r%t:r++;return r}var Zi=Qi;function ep(e,t){let n=e.lastIndexOf(`
|
|
16
|
+
`);return n===-1?0:Zi(e.slice(n+1).match(/^[\t ]*/u)[0],t)}var tp=ep;function Uu(e,t,n){let{node:r}=e;if(r.type==="TemplateLiteral"&&ap(e)){let p=rp(e,t,n);if(p)return p}let u="expressions";r.type==="TSTemplateLiteralType"&&(u="types");let a=[],s=e.map(n,u);a.push(ve,"`");let o=0;return e.each(({index:p,node:l})=>{if(a.push(n()),l.tail)return;let{tabWidth:y}=t,D=l.value.raw,d=D.includes(`
|
|
17
|
+
`)?tp(D,y):o;o=d;let f=s[p],F=r[u][p],B=ce(t.originalText,N(l),j(r.quasis[p+1]));if(!B){let v=Wu(f,{...t,printWidth:Number.POSITIVE_INFINITY}).formatted;v.includes(`
|
|
18
|
+
`)?B=!0:f=v}B&&(g(F)||F.type==="Identifier"||R(F)||F.type==="ConditionalExpression"||F.type==="SequenceExpression"||Fe(F)||Ne(F))&&(f=[E([m,f]),m]);let C=d===0&&D.endsWith(`
|
|
19
|
+
`)?Ce(Number.NEGATIVE_INFINITY,f):Ji(f,d,y);a.push(c(["${",C,ve,"}"]))},"quasis"),a.push("`"),a}function np(e,t,n){let r=n("quasi"),{node:u}=e,a="",s=He(u.quasi,b.Leading)[0];return s&&(ce(t.originalText,N(u.typeArguments??u.tag),j(s))?a=m:a=" "),Jt(r.label&&{tagged:!0,...r.label},[n("tag"),n("typeArguments"),a,ve,r])}function rp(e,t,n){let{node:r}=e,u=r.quasis[0].value.raw.trim().split(/\s*\|\s*/u);if(u.length>1||u.some(a=>a.length>0)){t.__inJestEach=!0;let a=e.map(n,"expressions");t.__inJestEach=!1;let s=a.map(D=>"${"+Wu(D,{...t,printWidth:Number.POSITIVE_INFINITY,endOfLine:"lf"}).formatted+"}"),o=[{hasLineBreak:!1,cells:[]}];for(let D=1;D<r.quasis.length;D++){let d=O(0,o,-1),f=s[D-1];d.cells.push(f),f.includes(`
|
|
20
|
+
`)&&(d.hasLineBreak=!0),r.quasis[D].value.raw.includes(`
|
|
21
|
+
`)&&o.push({hasLineBreak:!1,cells:[]})}let p=Math.max(u.length,...o.map(D=>D.cells.length)),l=Array.from({length:p}).fill(0),y=[{cells:u},...o.filter(D=>D.cells.length>0)];for(let{cells:D}of y.filter(d=>!d.hasLineBreak))for(let[d,f]of D.entries())l[d]=Math.max(l[d],it(f));return[ve,"`",E([A,M(A,y.map(D=>M(" | ",D.cells.map((d,f)=>D.hasLineBreak?d:d+" ".repeat(l[f]-it(d))))))]),A,"`"]}}function up(e,t){let{node:n}=e,r=t();return g(n)&&(r=c([E([m,r]),m])),["${",r,ve,"}"]}function ir(e,t){return e.map(()=>up(e,t),"expressions")}function $u(e,t){return Ft(e,n=>typeof n=="string"?t?z(0,n,/(\\*)`/gu,"$1$1\\`"):Gu(n):n)}function Gu(e){return z(0,e,/([\\`]|\$\{)/gu,"\\$1")}function ap({node:e,parent:t}){let n=/^[fx]?(?:describe|it|test)$/u;return t.type==="TaggedTemplateExpression"&&t.quasi===e&&t.tag.type==="MemberExpression"&&t.tag.property.type==="Identifier"&&t.tag.property.name==="each"&&(t.tag.object.type==="Identifier"&&n.test(t.tag.object.name)||t.tag.object.type==="MemberExpression"&&t.tag.object.property.type==="Identifier"&&(t.tag.object.property.name==="only"||t.tag.object.property.name==="skip")&&t.tag.object.object.type==="Identifier"&&n.test(t.tag.object.object.name))}var wn=[(e,t)=>e.type==="ObjectExpression"&&t==="properties",(e,t)=>e.type==="CallExpression"&&e.callee.type==="Identifier"&&e.callee.name==="Component"&&t==="arguments",(e,t)=>e.type==="Decorator"&&t==="expression"];function sp(e){let t=r=>r.type==="TemplateLiteral",n=(r,u)=>_e(r)&&!r.computed&&r.key.type==="Identifier"&&r.key.name==="styles"&&u==="value";return e.match(t,(r,u)=>ee(r)&&u==="elements",n,...wn)||e.match(t,n,...wn)}function op(e){return e.match(t=>t.type==="TemplateLiteral",(t,n)=>_e(t)&&!t.computed&&t.key.type==="Identifier"&&t.key.name==="template"&&n==="value",...wn)}function mn(e,t){return g(e,b.Block|b.Leading,({value:n})=>n===` ${t} `)}function Vu({node:e,parent:t},n){return mn(e,n)||ip(t)&&mn(t,n)||t.type==="ExpressionStatement"&&mn(t,n)}function ip(e){return e.type==="AsConstExpression"||e.type==="TSAsExpression"&&e.typeAnnotation.type==="TSTypeReference"&&e.typeAnnotation.typeName.type==="Identifier"&&e.typeAnnotation.typeName.name==="const"}async function pp(e,t,n){let{node:r}=n,u="";for(let[p,l]of r.quasis.entries()){let{raw:y}=l.value;p>0&&(u+="@prettier-placeholder-"+(p-1)+"-id"),u+=y}let a=await e(u,{parser:"scss"}),s=ir(n,t),o=lp(a,s);if(!o)throw new Error("Couldn't insert all the expressions");return["`",E([A,o]),m,"`"]}function lp(e,t){if(!_(t))return e;let n=0,r=Ft(or(e),u=>typeof u!="string"||!u.includes("@prettier-placeholder")?u:u.split(/@prettier-placeholder-(\d+)-id/u).map((a,s)=>s%2===0?ze(a):(n++,t[a])));return t.length===n?r:null}function cp(e){return e.match(void 0,(t,n)=>n==="quasi"&&t.type==="TaggedTemplateExpression"&&Gn(t.tag,["css","css.global","css.resolve"]))||e.match(void 0,(t,n)=>n==="expression"&&t.type==="JSXExpressionContainer",(t,n)=>n==="children"&&t.type==="JSXElement"&&t.openingElement.name.type==="JSXIdentifier"&&t.openingElement.name.name==="style"&&t.openingElement.attributes.some(r=>r.type==="JSXAttribute"&&r.name.type==="JSXIdentifier"&&r.name.name==="jsx"))}function Vt(e){return e.type==="Identifier"&&e.name==="styled"}function Ir(e){return/^[A-Z]/u.test(e.object.name)&&e.property.name==="extend"}function Dp({parent:e}){if(!e||e.type!=="TaggedTemplateExpression")return!1;let t=e.tag.type==="ParenthesizedExpression"?e.tag.expression:e.tag;switch(t.type){case"MemberExpression":return Vt(t.object)||Ir(t);case"CallExpression":return Vt(t.callee)||t.callee.type==="MemberExpression"&&(t.callee.object.type==="MemberExpression"&&(Vt(t.callee.object.object)||Ir(t.callee.object))||t.callee.object.type==="CallExpression"&&Vt(t.callee.object.callee));case"Identifier":return t.name==="css";default:return!1}}function yp({parent:e,grandparent:t}){return t?.type==="JSXAttribute"&&e.type==="JSXExpressionContainer"&&t.name.type==="JSXIdentifier"&&t.name.name==="css"}var dp=e=>cp(e)||Dp(e)||yp(e)||sp(e);async function fp(e,t,n){let{node:r}=n,u=r.quasis.length,a=ir(n,t),s=[];for(let o=0;o<u;o++){let p=r.quasis[o],l=o===0,y=o===u-1,D=p.value.cooked,d=D.split(`
|
|
22
|
+
`),f=d.length,F=a[o],B=f>2&&d[0].trim()===""&&d[1].trim()==="",C=f>2&&d[f-1].trim()===""&&d[f-2].trim()==="",v=d.every(h=>/^\s*(?:#[^\n\r]*)?$/u.test(h));if(!y&&/#[^\n\r]*$/u.test(d[f-1]))return null;let S=null;v?S=mp(d):S=await e(D,{parser:"graphql"}),S?(S=$u(S,!1),!l&&B&&s.push(""),s.push(S),!y&&C&&s.push("")):!l&&!y&&B&&s.push(""),F&&s.push(F)}return["`",E([A,M(A,s)]),A,"`"]}function mp(e){let t=[],n=!1,r=e.map(u=>u.trim());for(let[u,a]of r.entries())a!==""&&(r[u-1]===""&&n?t.push([A,a]):t.push(a),n=!0);return t.length===0?null:M(A,t)}function Fp({node:e,parent:t}){return Vu({node:e,parent:t},"GraphQL")||t&&(t.type==="TaggedTemplateExpression"&&(t.tag.type==="MemberExpression"&&t.tag.object.name==="graphql"&&t.tag.property.name==="experimental"||t.tag.type==="Identifier"&&(t.tag.name==="gql"||t.tag.name==="graphql"))||t.type==="CallExpression"&&t.callee.type==="Identifier"&&t.callee.name==="graphql")}var Fn=0;async function Ku(e,t,n,r,u){let{node:a}=r,s=Fn;Fn=Fn+1>>>0;let o=v=>`PRETTIER_HTML_PLACEHOLDER_${v}_${s}_IN_JS`,p=a.quasis.map((v,S,h)=>S===h.length-1?v.value.cooked:v.value.cooked+o(S)).join(""),l=ir(r,n),y=new RegExp(o("(\\d+)"),"gu"),D=0,d=await t(p,{parser:e,__onHtmlRoot(v){D=v.children.length}}),f=Ft(d,v=>{if(typeof v!="string")return v;let S=[],h=v.split(y);for(let T=0;T<h.length;T++){let I=h[T];if(T%2===0){I&&(I=Gu(I),u.__embeddedInHtml&&(I=z(0,I,/<\/(?=script\b)/giu,"<\\/")),S.push(I));continue}let J=Number(I);S.push(l[J])}return S}),F=/^\s/u.test(p)?" ":"",B=/\s$/u.test(p)?" ":"",C=u.htmlWhitespaceSensitivity==="ignore"?A:F&&B?x:null;return C?c(["`",E([C,c(f)]),C,"`"]):Jt({hug:!1},c(["`",F,D>1?E(c(f)):c(f),B,"`"]))}function Ep(e){return Vu(e,"HTML")||e.match(t=>t.type==="TemplateLiteral",(t,n)=>t.type==="TaggedTemplateExpression"&&t.tag.type==="Identifier"&&t.tag.name==="html"&&n==="quasi")}var Ap=Ku.bind(void 0,"html"),gp=Ku.bind(void 0,"angular");async function Cp(e,t,n){let{node:r}=n,u=z(0,r.quasis[0].value.raw,/((?:\\\\)*)\\`/gu,(p,l)=>"\\".repeat(l.length/2)+"`"),a=hp(u),s=a!=="";s&&(u=z(0,u,new RegExp(`^${a}`,"gmu"),""));let o=$u(await e(u,{parser:"markdown",__inJsTemplate:!0}),!0);return["`",s?E([m,o]):[qu,Oi(o)],m,"`"]}function hp(e){let t=e.match(/^([^\S\n]*)\S/mu);return t===null?"":t[1]}function xp({node:e,parent:t}){return t?.type==="TaggedTemplateExpression"&&e.quasis.length===1&&t.tag.type==="Identifier"&&(t.tag.name==="md"||t.tag.name==="markdown")}var Tp=[{test:dp,print:pp},{test:Fp,print:fp},{test:Ep,print:Ap},{test:op,print:gp},{test:xp,print:Cp}].map(({test:e,print:t})=>({test:e,print:bp(t)}));function Sp(e){let{node:t}=e;if(t.type!=="TemplateLiteral"||Bp(t))return;let n=Tp.find(({test:r})=>r(e));if(n)return t.quasis.length===1&&t.quasis[0].value.raw.trim()===""?"``":n.print}function bp(e){return async(...t)=>{let n=await e(...t);return n&&Jt({embed:!0,...n.label},n)}}function Bp({quasis:e}){return e.some(({value:{cooked:t}})=>t===null)}var vp=Sp,Pp=/\*\/$/,kp=/^\/\*\*?/,Hu=/^\s*(\/\*\*?(.|\r?\n)*?\*\/)/,wp=/(^|\s+)\/\/([^\n\r]*)/g,Nr=/^(\r?\n)+/,Ip=/(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g,jr=/(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g,Np=/(\r?\n|^) *\* ?/g,zu=[];function jp(e){let t=e.match(Hu);return t?t[0].trimStart():""}function Mp(e){let t=e.match(Hu)?.[0];return t==null?e:e.slice(t.length)}function Lp(e){e=z(0,e.replace(kp,"").replace(Pp,""),Np,"$1");let t="";for(;t!==e;)t=e,e=z(0,e,Ip,`
|
|
23
|
+
$1 $2
|
|
24
|
+
`);e=e.replace(Nr,"").trimEnd();let n=Object.create(null),r=z(0,e,jr,"").replace(Nr,"").trimEnd(),u;for(;u=jr.exec(e);){let a=z(0,u[2],wp,"");if(typeof n[u[1]]=="string"||Array.isArray(n[u[1]])){let s=n[u[1]];n[u[1]]=[...zu,...Array.isArray(s)?s:[s],a]}else n[u[1]]=a}return{comments:r,pragmas:n}}function Op({comments:e="",pragmas:t={}}){let n=Object.keys(t),r=n.flatMap(a=>Mr(a,t[a])).map(a=>` * ${a}
|
|
25
|
+
`).join("");if(!e){if(n.length===0)return"";if(n.length===1&&!Array.isArray(t[n[0]])){let a=t[n[0]];return`/** ${Mr(n[0],a)[0]} */`}}let u=e.split(`
|
|
26
|
+
`).map(a=>` * ${a}`).join(`
|
|
27
|
+
`)+`
|
|
28
|
+
`;return`/**
|
|
29
|
+
`+(e?u:"")+(e&&n.length>0?` *
|
|
30
|
+
`:"")+r+" */"}function Mr(e,t){return[...zu,...Array.isArray(t)?t:[t]].map(n=>`@${e} ${n}`.trim())}var Jp="format";function qp(e){if(!e.startsWith("#!"))return"";let t=e.indexOf(`
|
|
31
|
+
`);return t===-1?e:e.slice(0,t)}var Xp=qp;function Rp(e){let t=Xp(e);t&&(e=e.slice(t.length+1));let n=jp(e),{pragmas:r,comments:u}=Lp(n);return{shebang:t,text:e,pragmas:r,comments:u}}function _p(e){let{shebang:t,text:n,pragmas:r,comments:u}=Rp(e),a=Mp(n),s=Op({pragmas:{[Jp]:"",...r},comments:u.trimStart()});return(t?`${t}
|
|
32
|
+
`:"")+s+(a.startsWith(`
|
|
33
|
+
`)?`
|
|
34
|
+
`:`
|
|
35
|
+
|
|
36
|
+
`)+a}function Wp(e){if(!he(e))return!1;let t=`*${e.value}*`.split(`
|
|
37
|
+
`);return t.length>1&&t.every(n=>n.trimStart()[0]==="*")}var En=new WeakMap;function Up(e){return En.has(e)||En.set(e,Wp(e)),En.get(e)}var $p=Up;function Gp(e,t){let n=e.node;if(Mt(n))return t.originalText.slice(j(n),N(n)).trimEnd();if($p(n))return Vp(n);if(he(n))return["/*",ze(n.value),"*/"];throw new Error("Not a comment: "+JSON.stringify(n))}function Vp(e){let t=e.value.split(`
|
|
38
|
+
`);return["/*",M(A,t.map((n,r)=>r===0?n.trimEnd():" "+(r<t.length-1?n.trim():n.trimStart()))),"*/"]}function In(e,t){if(e.isRoot)return!1;let{node:n,key:r,parent:u}=e;if(t.__isInHtmlInterpolation&&!t.bracketSpacing&&Yp(n)&&St(e))return!0;if(Kp(n))return!1;if(n.type==="Identifier"){if(n.extra?.parenthesized&&/^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(n.name)||r==="left"&&(n.name==="async"&&!u.await||n.name==="let")&&u.type==="ForOfStatement")return!0;if(n.name==="let"){let a=e.findAncestor(s=>s.type==="ForOfStatement")?.left;if(a&&ne(a,s=>s===n))return!0}if(r==="object"&&n.name==="let"&&u.type==="MemberExpression"&&u.computed&&!u.optional){let a=e.findAncestor(o=>o.type==="ExpressionStatement"||o.type==="ForStatement"||o.type==="ForInStatement"),s=a?a.type==="ExpressionStatement"?a.expression:a.type==="ForStatement"?a.init:a.left:void 0;if(s&&ne(s,o=>o===n))return!0}if(r==="expression")switch(n.name){case"await":case"interface":case"module":case"using":case"yield":case"let":case"component":case"hook":case"type":{let a=e.findAncestor(s=>!Fe(s));if(a!==u&&a.type==="ExpressionStatement")return!0}}return!1}if(n.type==="ObjectExpression"||n.type==="FunctionExpression"||n.type==="ClassExpression"||n.type==="DoExpression"){let a=e.findAncestor(s=>s.type==="ExpressionStatement")?.expression;if(a&&ne(a,s=>s===n))return!0}if(n.type==="ObjectExpression"){let a=e.findAncestor(s=>s.type==="ArrowFunctionExpression")?.body;if(a&&a.type!=="SequenceExpression"&&a.type!=="AssignmentExpression"&&ne(a,s=>s===n))return!0}switch(u.type){case"ParenthesizedExpression":return!1;case"ClassDeclaration":case"ClassExpression":if(r==="superClass"&&(n.type==="ArrowFunctionExpression"||n.type==="AssignmentExpression"||n.type==="AwaitExpression"||n.type==="BinaryExpression"||n.type==="ConditionalExpression"||n.type==="LogicalExpression"||n.type==="NewExpression"||n.type==="ObjectExpression"||n.type==="SequenceExpression"||n.type==="TaggedTemplateExpression"||n.type==="UnaryExpression"||n.type==="UpdateExpression"||n.type==="YieldExpression"||n.type==="TSNonNullExpression"||n.type==="ClassExpression"&&_(n.decorators)))return!0;break;case"ExportDefaultDeclaration":return Yu(e,t)||n.type==="SequenceExpression";case"Decorator":if(r==="expression"&&!Zp(n))return!0;break;case"TypeAnnotation":if(e.match(void 0,void 0,(a,s)=>s==="returnType"&&a.type==="ArrowFunctionExpression")&&zp(n))return!0;break;case"BinaryExpression":if(r==="left"&&(u.operator==="in"||u.operator==="instanceof")&&n.type==="UnaryExpression")return!0;break;case"VariableDeclarator":if(r==="init"&&e.match(void 0,void 0,(a,s)=>s==="declarations"&&a.type==="VariableDeclaration",(a,s)=>s==="left"&&a.type==="ForInStatement"))return!0;break}switch(n.type){case"UpdateExpression":if(u.type==="UnaryExpression")return n.prefix&&(n.operator==="++"&&u.operator==="+"||n.operator==="--"&&u.operator==="-");case"UnaryExpression":switch(u.type){case"UnaryExpression":return n.operator===u.operator&&(n.operator==="+"||n.operator==="-");case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return r==="object";case"TaggedTemplateExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"BinaryExpression":return r==="left"&&u.operator==="**";case"TSNonNullExpression":return!0;default:return!1}case"BinaryExpression":if(u.type==="UpdateExpression"||n.operator==="in"&&Hp(e))return!0;if(n.operator==="|>"&&n.extra?.parenthesized){let a=e.grandparent;if(a.type==="BinaryExpression"&&a.operator==="|>")return!0}case"TSTypeAssertion":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"LogicalExpression":switch(u.type){case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return!Fe(n);case"ConditionalExpression":return Fe(n)||Do(n);case"CallExpression":case"NewExpression":case"OptionalCallExpression":return r==="callee";case"ClassExpression":case"ClassDeclaration":return r==="superClass";case"TSTypeAssertion":case"TaggedTemplateExpression":case"UnaryExpression":case"JSXSpreadAttribute":case"SpreadElement":case"BindExpression":case"AwaitExpression":case"TSNonNullExpression":case"UpdateExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return r==="object";case"AssignmentExpression":case"AssignmentPattern":return r==="left"&&(n.type==="TSTypeAssertion"||Fe(n));case"LogicalExpression":if(n.type==="LogicalExpression")return u.operator!==n.operator;case"BinaryExpression":{let{operator:a,type:s}=n;if(!a&&s!=="TSTypeAssertion")return!0;let o=Yt(a),p=u.operator,l=Yt(p);return!!(l>o||r==="right"&&l===o||l===o&&!Qn(p,a)||l<o&&a==="%"&&(p==="+"||p==="-")||bo(p))}default:return!1}case"SequenceExpression":return u.type!=="ForStatement";case"YieldExpression":if(u.type==="AwaitExpression"||u.type==="TSTypeAssertion")return!0;case"AwaitExpression":switch(u.type){case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"SpreadElement":case"TSAsExpression":case"TSSatisfiesExpression":case"TSNonNullExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"BindExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":return r==="object";case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"ConditionalExpression":return r==="test";case"BinaryExpression":return!(!n.argument&&u.operator==="|>");default:return!1}case"TSFunctionType":if(e.match(a=>a.type==="TSFunctionType",(a,s)=>s==="typeAnnotation"&&a.type==="TSTypeAnnotation",(a,s)=>s==="returnType"&&a.type==="ArrowFunctionExpression"))return!0;case"TSConditionalType":case"TSConstructorType":case"ConditionalTypeAnnotation":if(r==="extendsType"&&Re(n)&&u.type===n.type||r==="checkType"&&Re(u))return!0;if(r==="extendsType"&&u.type==="TSConditionalType"){let{typeAnnotation:a}=n.returnType||n.typeAnnotation;if(a.type==="TSTypePredicate"&&a.typeAnnotation&&(a=a.typeAnnotation.typeAnnotation),a.type==="TSInferType"&&a.typeParameter.constraint)return!0}case"TSUnionType":case"TSIntersectionType":if(Be(u)||Ot(u))return!0;case"TSInferType":if(n.type==="TSInferType"){if(u.type==="TSRestType")return!1;if(r==="types"&&(u.type==="TSUnionType"||u.type==="TSIntersectionType")&&n.typeParameter.type==="TSTypeParameter"&&n.typeParameter.constraint)return!0}case"TSTypeOperator":return u.type==="TSArrayType"||u.type==="TSOptionalType"||u.type==="TSRestType"||r==="objectType"&&u.type==="TSIndexedAccessType"||u.type==="TSTypeOperator"||u.type==="TSTypeAnnotation"&&e.grandparent.type.startsWith("TSJSDoc");case"TSTypeQuery":return r==="objectType"&&u.type==="TSIndexedAccessType"||r==="elementType"&&u.type==="TSArrayType";case"TypeOperator":return u.type==="ArrayTypeAnnotation"||u.type==="NullableTypeAnnotation"||r==="objectType"&&(u.type==="IndexedAccessType"||u.type==="OptionalIndexedAccessType")||u.type==="TypeOperator";case"TypeofTypeAnnotation":return r==="objectType"&&(u.type==="IndexedAccessType"||u.type==="OptionalIndexedAccessType")||r==="elementType"&&u.type==="ArrayTypeAnnotation";case"ArrayTypeAnnotation":return u.type==="NullableTypeAnnotation";case"IntersectionTypeAnnotation":case"UnionTypeAnnotation":return u.type==="TypeOperator"||u.type==="KeyofTypeAnnotation"||u.type==="ArrayTypeAnnotation"||u.type==="NullableTypeAnnotation"||u.type==="IntersectionTypeAnnotation"||u.type==="UnionTypeAnnotation"||r==="objectType"&&(u.type==="IndexedAccessType"||u.type==="OptionalIndexedAccessType");case"InferTypeAnnotation":case"NullableTypeAnnotation":return u.type==="ArrayTypeAnnotation"||r==="objectType"&&(u.type==="IndexedAccessType"||u.type==="OptionalIndexedAccessType");case"ComponentTypeAnnotation":case"FunctionTypeAnnotation":{if(n.type==="ComponentTypeAnnotation"&&(n.rendersType===null||n.rendersType===void 0))return!1;if(e.match(void 0,(s,o)=>o==="typeAnnotation"&&s.type==="TypeAnnotation",(s,o)=>o==="returnType"&&s.type==="ArrowFunctionExpression")||e.match(void 0,(s,o)=>o==="typeAnnotation"&&s.type==="TypePredicate",(s,o)=>o==="typeAnnotation"&&s.type==="TypeAnnotation",(s,o)=>o==="returnType"&&s.type==="ArrowFunctionExpression"))return!0;let a=u.type==="NullableTypeAnnotation"?e.grandparent:u;return a.type==="UnionTypeAnnotation"||a.type==="IntersectionTypeAnnotation"||a.type==="ArrayTypeAnnotation"||r==="objectType"&&(a.type==="IndexedAccessType"||a.type==="OptionalIndexedAccessType")||r==="checkType"&&u.type==="ConditionalTypeAnnotation"||r==="extendsType"&&u.type==="ConditionalTypeAnnotation"&&n.returnType?.type==="InferTypeAnnotation"&&n.returnType?.typeParameter.bound||a.type==="NullableTypeAnnotation"||u.type==="FunctionTypeParam"&&u.name===null&&te(n).some(s=>s.typeAnnotation?.type==="NullableTypeAnnotation")}case"OptionalIndexedAccessType":return r==="objectType"&&u.type==="IndexedAccessType";case"StringLiteral":case"NumericLiteral":case"Literal":if(typeof n.value=="string"&&u.type==="ExpressionStatement"&&typeof u.directive!="string"){let a=e.grandparent;return a.type==="Program"||a.type==="BlockStatement"}return r==="object"&&R(u)&&be(n);case"AssignmentExpression":return!((r==="init"||r==="update")&&u.type==="ForStatement"||r==="expression"&&n.left.type!=="ObjectPattern"&&u.type==="ExpressionStatement"||r==="key"&&u.type==="TSPropertySignature"||u.type==="AssignmentExpression"||r==="expressions"&&u.type==="SequenceExpression"&&e.match(void 0,void 0,(a,s)=>(s==="init"||s==="update")&&a.type==="ForStatement")||r==="value"&&u.type==="Property"&&e.match(void 0,void 0,(a,s)=>s==="properties"&&a.type==="ObjectPattern")||u.type==="NGChainedExpression"||r==="node"&&u.type==="JsExpressionRoot");case"ConditionalExpression":switch(u.type){case"TaggedTemplateExpression":case"UnaryExpression":case"SpreadElement":case"BinaryExpression":case"LogicalExpression":case"NGPipeExpression":case"ExportDefaultDeclaration":case"AwaitExpression":case"JSXSpreadAttribute":case"TSTypeAssertion":case"TypeCastExpression":case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":return!0;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"ConditionalExpression":return t.experimentalTernaries?!1:r==="test";case"MemberExpression":case"OptionalMemberExpression":return r==="object";default:return!1}case"FunctionExpression":switch(u.type){case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"TaggedTemplateExpression":return!0;default:return!1}case"ArrowFunctionExpression":switch(u.type){case"BinaryExpression":return u.operator!=="|>"||n.extra?.parenthesized;case"NewExpression":case"CallExpression":case"OptionalCallExpression":return r==="callee";case"MemberExpression":case"OptionalMemberExpression":return r==="object";case"TSAsExpression":case"TSSatisfiesExpression":case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":case"TSNonNullExpression":case"BindExpression":case"TaggedTemplateExpression":case"UnaryExpression":case"LogicalExpression":case"AwaitExpression":case"TSTypeAssertion":case"MatchExpressionCase":return!0;case"TSInstantiationExpression":return r==="expression";case"ConditionalExpression":return r==="test";default:return!1}case"ClassExpression":return u.type==="NewExpression"?r==="callee":!1;case"OptionalMemberExpression":case"OptionalCallExpression":case"CallExpression":case"MemberExpression":if(Qp(e))return!0;case"TaggedTemplateExpression":case"TSNonNullExpression":if(r==="callee"&&(u.type==="BindExpression"||u.type==="NewExpression")){let a=n;for(;a;)switch(a.type){case"CallExpression":case"OptionalCallExpression":return!0;case"MemberExpression":case"OptionalMemberExpression":case"BindExpression":a=a.object;break;case"TaggedTemplateExpression":a=a.tag;break;case"TSNonNullExpression":a=a.expression;break;default:return!1}}return!1;case"BindExpression":return r==="callee"&&(u.type==="BindExpression"||u.type==="NewExpression")||r==="object"&&R(u);case"NGPipeExpression":return!(u.type==="NGRoot"||u.type==="NGMicrosyntaxExpression"||u.type==="ObjectProperty"&&!n.extra?.parenthesized||ee(u)||r==="arguments"&&L(u)||r==="right"&&u.type==="NGPipeExpression"||r==="property"&&u.type==="MemberExpression"||u.type==="AssignmentExpression");case"JSXFragment":case"JSXElement":return r==="callee"||r==="left"&&u.type==="BinaryExpression"&&u.operator==="<"||!ee(u)&&u.type!=="ArrowFunctionExpression"&&u.type!=="AssignmentExpression"&&u.type!=="AssignmentPattern"&&u.type!=="BinaryExpression"&&u.type!=="NewExpression"&&u.type!=="ConditionalExpression"&&u.type!=="ExpressionStatement"&&u.type!=="JsExpressionRoot"&&u.type!=="JSXAttribute"&&u.type!=="JSXElement"&&u.type!=="JSXExpressionContainer"&&u.type!=="JSXFragment"&&u.type!=="LogicalExpression"&&!L(u)&&!_e(u)&&u.type!=="ReturnStatement"&&u.type!=="ThrowStatement"&&u.type!=="TypeCastExpression"&&u.type!=="VariableDeclarator"&&u.type!=="YieldExpression"&&u.type!=="MatchExpressionCase";case"TSInstantiationExpression":return r==="object"&&R(u);case"MatchOrPattern":return u.type==="MatchAsPattern"}return!1}var Kp=w(["BlockStatement","BreakStatement","ComponentDeclaration","ClassBody","ClassDeclaration","ClassMethod","ClassProperty","PropertyDefinition","ClassPrivateProperty","ContinueStatement","DebuggerStatement","DeclareComponent","DeclareClass","DeclareExportAllDeclaration","DeclareExportDeclaration","DeclareFunction","DeclareHook","DeclareInterface","DeclareModule","DeclareModuleExports","DeclareNamespace","DeclareVariable","DeclareEnum","DoWhileStatement","EnumDeclaration","ExportAllDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExpressionStatement","ForInStatement","ForOfStatement","ForStatement","FunctionDeclaration","HookDeclaration","IfStatement","ImportDeclaration","InterfaceDeclaration","LabeledStatement","MethodDefinition","ReturnStatement","SwitchStatement","ThrowStatement","TryStatement","TSDeclareFunction","TSEnumDeclaration","TSImportEqualsDeclaration","TSInterfaceDeclaration","TSModuleDeclaration","TSNamespaceExportDeclaration","TypeAlias","VariableDeclaration","WhileStatement","WithStatement"]);function Hp(e){let t=0,{node:n}=e;for(;n;){let r=e.getParentNode(t++);if(r?.type==="ForStatement"&&r.init===n)return!0;n=r}return!1}function zp(e){return Sn(e,t=>t.type==="ObjectTypeAnnotation"&&Sn(t,n=>n.type==="FunctionTypeAnnotation"))}function Yp(e){return Ae(e)}function St(e){let{parent:t,key:n}=e;switch(t.type){case"NGPipeExpression":if(n==="arguments"&&e.isLast)return e.callParent(St);break;case"ObjectProperty":if(n==="value")return e.callParent(()=>e.key==="properties"&&e.isLast);break;case"BinaryExpression":case"LogicalExpression":if(n==="right")return e.callParent(St);break;case"ConditionalExpression":if(n==="alternate")return e.callParent(St);break;case"UnaryExpression":if(t.prefix)return e.callParent(St);break}return!1}function Yu(e,t){let{node:n,parent:r}=e;return n.type==="FunctionExpression"||n.type==="ClassExpression"?r.type==="ExportDefaultDeclaration"||!In(e,t):!Kn(n)||r.type!=="ExportDefaultDeclaration"&&In(e,t)?!1:e.call(()=>Yu(e,t),...lu(n))}function Qp(e){return!!(e.match(void 0,(t,n)=>n==="expression"&&t.type==="ChainExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(t=>t.type==="OptionalCallExpression"||t.type==="OptionalMemberExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(t=>t.type==="OptionalCallExpression"||t.type==="OptionalMemberExpression",(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(void 0,(t,n)=>n==="expression"&&t.type==="ChainExpression",(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(void 0,(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="expression"&&t.type==="ChainExpression",(t,n)=>n==="tag"&&t.type==="TaggedTemplateExpression")||e.match(t=>t.type==="OptionalMemberExpression"||t.type==="OptionalCallExpression",(t,n)=>n==="object"&&t.type==="MemberExpression"||n==="callee"&&(t.type==="CallExpression"||t.type==="NewExpression"))||e.match(t=>t.type==="OptionalMemberExpression"||t.type==="OptionalCallExpression",(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="object"&&t.type==="MemberExpression"||n==="callee"&&t.type==="CallExpression")||e.match(t=>t.type==="CallExpression"||t.type==="MemberExpression",(t,n)=>n==="expression"&&t.type==="ChainExpression")&&(e.match(void 0,void 0,(t,n)=>n==="callee"&&(t.type==="CallExpression"&&!t.optional||t.type==="NewExpression")||n==="object"&&t.type==="MemberExpression"&&!t.optional)||e.match(void 0,void 0,(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="object"&&t.type==="MemberExpression"||n==="callee"&&t.type==="CallExpression"))||e.match(t=>t.type==="CallExpression"||t.type==="MemberExpression",(t,n)=>n==="expression"&&t.type==="TSNonNullExpression",(t,n)=>n==="expression"&&t.type==="ChainExpression",(t,n)=>n==="object"&&t.type==="MemberExpression"||n==="callee"&&t.type==="CallExpression"))}function Nn(e){return e.type==="Identifier"?!0:R(e)?!e.computed&&!e.optional&&e.property.type==="Identifier"&&Nn(e.object):!1}function Zp(e){return e.type==="ChainExpression"&&(e=e.expression),Nn(e)||L(e)&&!e.optional&&Nn(e.callee)}var Ge=In;function el(e,t){let n=t-1;n=pt(e,n,{backwards:!0}),n=lt(e,n,{backwards:!0}),n=pt(e,n,{backwards:!0});let r=lt(e,n,{backwards:!0});return n!==r}var tl=el,nl=()=>!0;function pr(e,t){let n=e.node;return n.printed=!0,t.printer.printComment(e,t)}function rl(e,t){let n=e.node,r=[pr(e,t)],{printer:u,originalText:a,locStart:s,locEnd:o}=t;if(u.isBlockComment?.(n)){let l=oe(a,o(n))?oe(a,s(n),{backwards:!0})?A:x:" ";r.push(l)}else r.push(A);let p=lt(a,pt(a,o(n)));return p!==!1&&oe(a,p)&&r.push(A),r}function ul(e,t,n){let r=e.node,u=pr(e,t),{printer:a,originalText:s,locStart:o}=t,p=a.isBlockComment?.(r);if(n?.hasLineSuffix&&!n?.isBlock||oe(s,o(r),{backwards:!0})){let l=tl(s,o(r));return{doc:wr([A,l?A:"",u]),isBlock:p,hasLineSuffix:!0}}return!p||n?.hasLineSuffix?{doc:[wr([" ",u]),Me],isBlock:p,hasLineSuffix:!0}:{doc:[" ",u],isBlock:p,hasLineSuffix:!1}}function X(e,t,n={}){let{node:r}=e;if(!_(r?.comments))return"";let{indent:u=!1,marker:a,filter:s=nl}=n,o=[];if(e.each(({node:l})=>{l.leading||l.trailing||l.marker!==a||!s(l)||o.push(pr(e,t))},"comments"),o.length===0)return"";let p=M(A,o);return u?E([A,p]):p}function an(e,t){let n=e.node;if(!n)return{};let r=t[Symbol.for("printedComments")];if((n.comments||[]).filter(o=>!r.has(o)).length===0)return{leading:"",trailing:""};let u=[],a=[],s;return e.each(()=>{let o=e.node;if(r?.has(o))return;let{leading:p,trailing:l}=o;p?u.push(rl(e,t)):l&&(s=ul(e,t,s),a.push(s.doc))},"comments"),{leading:u,trailing:a}}function de(e,t,n){let{leading:r,trailing:u}=an(e,n);return!r&&!u?t:Pn(t,a=>[r,a,u])}var en=class extends Error{name="ArgExpansionBailout"};function ut(e,t,n,r,u){let a=e.node,s=te(a),o=u&&a.typeParameters?n("typeParameters"):"";if(s.length===0)return[o,"(",X(e,t,{filter:f=>ge(t.originalText,N(f))===")"}),")"];let{parent:p}=e,l=rn(p),y=Qu(a),D=[];if(vo(e,(f,F)=>{let B=F===s.length-1;B&&a.rest&&D.push("..."),D.push(n()),!B&&(D.push(","),l||y?D.push(" "):ke(s[F],t)?D.push(A,A):D.push(x))}),r&&!sl(e)){if(re(o)||re(D))throw new en;return c([Zt(o),"(",Zt(D),")"])}let d=s.every(f=>!_(f.decorators));return y&&d?[o,"(",...D,")"]:l?[o,"(",...D,")"]:(yu(p)||Fo(p)||p.type==="TypeAlias"||p.type==="UnionTypeAnnotation"||p.type==="IntersectionTypeAnnotation"||p.type==="FunctionTypeAnnotation"&&p.returnType===a)&&s.length===1&&s[0].name===null&&a.this!==s[0]&&s[0].typeAnnotation&&a.typeParameters===null&&zn(s[0].typeAnnotation)&&!a.rest?t.arrowParens==="always"||a.type==="HookTypeAnnotation"?["(",...D,")"]:D:[o,"(",E([m,...D]),k(!Bo(a)&&Pe(t,"all")?",":""),m,")"]}function Qu(e){if(!e)return!1;let t=te(e);if(t.length!==1)return!1;let[n]=t;return!g(n)&&(n.type==="ObjectPattern"||n.type==="ArrayPattern"||n.type==="Identifier"&&n.typeAnnotation&&(n.typeAnnotation.type==="TypeAnnotation"||n.typeAnnotation.type==="TSTypeAnnotation")&&Xe(n.typeAnnotation.typeAnnotation)||n.type==="FunctionTypeParam"&&Xe(n.typeAnnotation)&&n!==e.rest||n.type==="AssignmentPattern"&&(n.left.type==="ObjectPattern"||n.left.type==="ArrayPattern")&&(n.right.type==="Identifier"||Ae(n.right)&&n.right.properties.length===0||ee(n.right)&&n.right.elements.length===0))}function al(e){let t;return e.returnType?(t=e.returnType,t.typeAnnotation&&(t=t.typeAnnotation)):e.typeAnnotation&&(t=e.typeAnnotation),t}function Et(e,t){let n=al(e);if(!n)return!1;let r=e.typeParameters?.params;if(r){if(r.length>1)return!1;if(r.length===1){let u=r[0];if(u.constraint||u.default)return!1}}return te(e).length===1&&(Xe(n)||re(t))}function sl(e){return e.match(t=>t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement",(t,n)=>{if(t.type==="CallExpression"&&n==="arguments"&&t.arguments.length===1&&t.callee.type==="CallExpression"){let r=t.callee.callee;return r.type==="Identifier"||r.type==="MemberExpression"&&!r.computed&&r.object.type==="Identifier"&&r.property.type==="Identifier"}return!1},(t,n)=>t.type==="VariableDeclarator"&&n==="init"||t.type==="ExportDefaultDeclaration"&&n==="declaration"||t.type==="TSExportAssignment"&&n==="expression"||t.type==="AssignmentExpression"&&n==="right"&&t.left.type==="MemberExpression"&&t.left.object.type==="Identifier"&&t.left.object.name==="module"&&t.left.property.type==="Identifier"&&t.left.property.name==="exports",t=>t.type!=="VariableDeclaration"||t.kind==="const"&&t.declarations.length===1)}function ol(e){let t=te(e);return t.length>1&&t.some(n=>n.type==="TSParameterProperty")}function Bt(e,t){return(t==="params"||t==="this"||t==="rest")&&Qu(e)}function ue(e){let{node:t}=e;return!t.optional||t.type==="Identifier"&&t===e.parent.key?"":L(t)||R(t)&&t.computed||t.type==="OptionalIndexedAccessType"?"?.":"?"}function Zu(e){return e.node.definite||e.match(void 0,(t,n)=>n==="id"&&t.type==="VariableDeclarator"&&t.definite)?"!":""}var il=w(["DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","DeclareVariable","DeclareExportDeclaration","DeclareExportAllDeclaration","DeclareOpaqueType","DeclareTypeAlias","DeclareEnum","DeclareInterface"]);function De(e){let{node:t}=e;return t.declare||il(t)&&e.parent.type!=="DeclareExportDeclaration"?"declare ":""}var pl=w(["TSAbstractMethodDefinition","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]);function sn({node:e}){return e.abstract||pl(e)?"abstract ":""}function Je(e,t,n){return e.type==="EmptyStatement"?g(e,b.Leading)?[" ",t]:t:e.type==="BlockStatement"||n?[" ",t]:E([x,t])}function on(e){return e.accessibility?e.accessibility+" ":""}var ll=/^[\$A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0370-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u048A-\u052F\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-\u08B4\u08B6-\u08BD\u0904-\u0939\u093D\u0950\u0958-\u0961\u0971-\u0980\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\u0AF9\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-\u0C39\u0C3D\u0C58-\u0C5A\u0C60\u0C61\u0C80\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBD\u0CDE\u0CE0\u0CE1\u0CF1\u0CF2\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D\u0D4E\u0D54-\u0D56\u0D5F-\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-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1711\u1720-\u1731\u1740-\u1751\u1760-\u176C\u176E-\u1770\u1780-\u17B3\u17D7\u17DC\u1820-\u1877\u1880-\u1884\u1887-\u18A8\u18AA\u18B0-\u18F5\u1900-\u191E\u1950-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u1A00-\u1A16\u1A20-\u1A54\u1AA7\u1B05-\u1B33\u1B45-\u1B4B\u1B83-\u1BA0\u1BAE\u1BAF\u1BBA-\u1BE5\u1C00-\u1C23\u1C4D-\u1C4F\u1C5A-\u1C7D\u1C80-\u1C88\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-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA61F\uA62A\uA62B\uA640-\uA66E\uA67F-\uA69D\uA6A0-\uA6EF\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA801\uA803-\uA805\uA807-\uA80A\uA80C-\uA822\uA840-\uA873\uA882-\uA8B3\uA8F2-\uA8F7\uA8FB\uA8FD\uA90A-\uA925\uA930-\uA946\uA960-\uA97C\uA984-\uA9B2\uA9CF\uA9E0-\uA9E4\uA9E6-\uA9EF\uA9FA-\uA9FE\uAA00-\uAA28\uAA40-\uAA42\uAA44-\uAA4B\uAA60-\uAA76\uAA7A\uAA7E-\uAAAF\uAAB1\uAAB5\uAAB6\uAAB9-\uAABD\uAAC0\uAAC2\uAADB-\uAADD\uAAE0-\uAAEA\uAAF2-\uAAF4\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\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][\$0-9A-Z_a-z\xAA\xB5\xBA\xC0-\xD6\xD8-\xF6\xF8-\u02C1\u02C6-\u02D1\u02E0-\u02E4\u02EC\u02EE\u0300-\u0374\u0376\u0377\u037A-\u037D\u037F\u0386\u0388-\u038A\u038C\u038E-\u03A1\u03A3-\u03F5\u03F7-\u0481\u0483-\u0487\u048A-\u052F\u0531-\u0556\u0559\u0561-\u0587\u0591-\u05BD\u05BF\u05C1\u05C2\u05C4\u05C5\u05C7\u05D0-\u05EA\u05F0-\u05F2\u0610-\u061A\u0620-\u0669\u066E-\u06D3\u06D5-\u06DC\u06DF-\u06E8\u06EA-\u06FC\u06FF\u0710-\u074A\u074D-\u07B1\u07C0-\u07F5\u07FA\u0800-\u082D\u0840-\u085B\u08A0-\u08B4\u08B6-\u08BD\u08D4-\u08E1\u08E3-\u0963\u0966-\u096F\u0971-\u0983\u0985-\u098C\u098F\u0990\u0993-\u09A8\u09AA-\u09B0\u09B2\u09B6-\u09B9\u09BC-\u09C4\u09C7\u09C8\u09CB-\u09CE\u09D7\u09DC\u09DD\u09DF-\u09E3\u09E6-\u09F1\u0A01-\u0A03\u0A05-\u0A0A\u0A0F\u0A10\u0A13-\u0A28\u0A2A-\u0A30\u0A32\u0A33\u0A35\u0A36\u0A38\u0A39\u0A3C\u0A3E-\u0A42\u0A47\u0A48\u0A4B-\u0A4D\u0A51\u0A59-\u0A5C\u0A5E\u0A66-\u0A75\u0A81-\u0A83\u0A85-\u0A8D\u0A8F-\u0A91\u0A93-\u0AA8\u0AAA-\u0AB0\u0AB2\u0AB3\u0AB5-\u0AB9\u0ABC-\u0AC5\u0AC7-\u0AC9\u0ACB-\u0ACD\u0AD0\u0AE0-\u0AE3\u0AE6-\u0AEF\u0AF9\u0B01-\u0B03\u0B05-\u0B0C\u0B0F\u0B10\u0B13-\u0B28\u0B2A-\u0B30\u0B32\u0B33\u0B35-\u0B39\u0B3C-\u0B44\u0B47\u0B48\u0B4B-\u0B4D\u0B56\u0B57\u0B5C\u0B5D\u0B5F-\u0B63\u0B66-\u0B6F\u0B71\u0B82\u0B83\u0B85-\u0B8A\u0B8E-\u0B90\u0B92-\u0B95\u0B99\u0B9A\u0B9C\u0B9E\u0B9F\u0BA3\u0BA4\u0BA8-\u0BAA\u0BAE-\u0BB9\u0BBE-\u0BC2\u0BC6-\u0BC8\u0BCA-\u0BCD\u0BD0\u0BD7\u0BE6-\u0BEF\u0C00-\u0C03\u0C05-\u0C0C\u0C0E-\u0C10\u0C12-\u0C28\u0C2A-\u0C39\u0C3D-\u0C44\u0C46-\u0C48\u0C4A-\u0C4D\u0C55\u0C56\u0C58-\u0C5A\u0C60-\u0C63\u0C66-\u0C6F\u0C80-\u0C83\u0C85-\u0C8C\u0C8E-\u0C90\u0C92-\u0CA8\u0CAA-\u0CB3\u0CB5-\u0CB9\u0CBC-\u0CC4\u0CC6-\u0CC8\u0CCA-\u0CCD\u0CD5\u0CD6\u0CDE\u0CE0-\u0CE3\u0CE6-\u0CEF\u0CF1\u0CF2\u0D01-\u0D03\u0D05-\u0D0C\u0D0E-\u0D10\u0D12-\u0D3A\u0D3D-\u0D44\u0D46-\u0D48\u0D4A-\u0D4E\u0D54-\u0D57\u0D5F-\u0D63\u0D66-\u0D6F\u0D7A-\u0D7F\u0D82\u0D83\u0D85-\u0D96\u0D9A-\u0DB1\u0DB3-\u0DBB\u0DBD\u0DC0-\u0DC6\u0DCA\u0DCF-\u0DD4\u0DD6\u0DD8-\u0DDF\u0DE6-\u0DEF\u0DF2\u0DF3\u0E01-\u0E3A\u0E40-\u0E4E\u0E50-\u0E59\u0E81\u0E82\u0E84\u0E87\u0E88\u0E8A\u0E8D\u0E94-\u0E97\u0E99-\u0E9F\u0EA1-\u0EA3\u0EA5\u0EA7\u0EAA\u0EAB\u0EAD-\u0EB9\u0EBB-\u0EBD\u0EC0-\u0EC4\u0EC6\u0EC8-\u0ECD\u0ED0-\u0ED9\u0EDC-\u0EDF\u0F00\u0F18\u0F19\u0F20-\u0F29\u0F35\u0F37\u0F39\u0F3E-\u0F47\u0F49-\u0F6C\u0F71-\u0F84\u0F86-\u0F97\u0F99-\u0FBC\u0FC6\u1000-\u1049\u1050-\u109D\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\u135D-\u135F\u1380-\u138F\u13A0-\u13F5\u13F8-\u13FD\u1401-\u166C\u166F-\u167F\u1681-\u169A\u16A0-\u16EA\u16EE-\u16F8\u1700-\u170C\u170E-\u1714\u1720-\u1734\u1740-\u1753\u1760-\u176C\u176E-\u1770\u1772\u1773\u1780-\u17D3\u17D7\u17DC\u17DD\u17E0-\u17E9\u180B-\u180D\u1810-\u1819\u1820-\u1877\u1880-\u18AA\u18B0-\u18F5\u1900-\u191E\u1920-\u192B\u1930-\u193B\u1946-\u196D\u1970-\u1974\u1980-\u19AB\u19B0-\u19C9\u19D0-\u19D9\u1A00-\u1A1B\u1A20-\u1A5E\u1A60-\u1A7C\u1A7F-\u1A89\u1A90-\u1A99\u1AA7\u1AB0-\u1ABD\u1B00-\u1B4B\u1B50-\u1B59\u1B6B-\u1B73\u1B80-\u1BF3\u1C00-\u1C37\u1C40-\u1C49\u1C4D-\u1C7D\u1C80-\u1C88\u1CD0-\u1CD2\u1CD4-\u1CF6\u1CF8\u1CF9\u1D00-\u1DF5\u1DFB-\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\u200C\u200D\u203F\u2040\u2054\u2071\u207F\u2090-\u209C\u20D0-\u20DC\u20E1\u20E5-\u20F0\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-\u2CF3\u2D00-\u2D25\u2D27\u2D2D\u2D30-\u2D67\u2D6F\u2D7F-\u2D96\u2DA0-\u2DA6\u2DA8-\u2DAE\u2DB0-\u2DB6\u2DB8-\u2DBE\u2DC0-\u2DC6\u2DC8-\u2DCE\u2DD0-\u2DD6\u2DD8-\u2DDE\u2DE0-\u2DFF\u2E2F\u3005-\u3007\u3021-\u302F\u3031-\u3035\u3038-\u303C\u3041-\u3096\u3099\u309A\u309D-\u309F\u30A1-\u30FA\u30FC-\u30FF\u3105-\u312D\u3131-\u318E\u31A0-\u31BA\u31F0-\u31FF\u3400-\u4DB5\u4E00-\u9FD5\uA000-\uA48C\uA4D0-\uA4FD\uA500-\uA60C\uA610-\uA62B\uA640-\uA66F\uA674-\uA67D\uA67F-\uA6F1\uA717-\uA71F\uA722-\uA788\uA78B-\uA7AE\uA7B0-\uA7B7\uA7F7-\uA827\uA840-\uA873\uA880-\uA8C5\uA8D0-\uA8D9\uA8E0-\uA8F7\uA8FB\uA8FD\uA900-\uA92D\uA930-\uA953\uA960-\uA97C\uA980-\uA9C0\uA9CF-\uA9D9\uA9E0-\uA9FE\uAA00-\uAA36\uAA40-\uAA4D\uAA50-\uAA59\uAA60-\uAA76\uAA7A-\uAAC2\uAADB-\uAADD\uAAE0-\uAAEF\uAAF2-\uAAF6\uAB01-\uAB06\uAB09-\uAB0E\uAB11-\uAB16\uAB20-\uAB26\uAB28-\uAB2E\uAB30-\uAB5A\uAB5C-\uAB65\uAB70-\uABEA\uABEC\uABED\uABF0-\uABF9\uAC00-\uD7A3\uD7B0-\uD7C6\uD7CB-\uD7FB\uF900-\uFA6D\uFA70-\uFAD9\uFB00-\uFB06\uFB13-\uFB17\uFB1D-\uFB28\uFB2A-\uFB36\uFB38-\uFB3C\uFB3E\uFB40\uFB41\uFB43\uFB44\uFB46-\uFBB1\uFBD3-\uFD3D\uFD50-\uFD8F\uFD92-\uFDC7\uFDF0-\uFDFB\uFE00-\uFE0F\uFE20-\uFE2F\uFE33\uFE34\uFE4D-\uFE4F\uFE70-\uFE74\uFE76-\uFEFC\uFF10-\uFF19\uFF21-\uFF3A\uFF3F\uFF41-\uFF5A\uFF66-\uFFBE\uFFC2-\uFFC7\uFFCA-\uFFCF\uFFD2-\uFFD7\uFFDA-\uFFDC]*$/,cl=e=>ll.test(e),Dl=cl;function yl(e){return e.length===1?e:e.toLowerCase().replace(/^([+-]?[\d.]+e)(?:\+|(-))?0*(?=\d)/u,"$1$2").replace(/^([+-]?[\d.]+)e[+-]?0+$/u,"$1").replace(/^([+-])?\./u,"$10.").replace(/(\.\d+?)0+(?=e|$)/u,"$1").replace(/\.(?=e|$)/u,"")}var dt=yl,dl=0;function ea(e,t,n){let{node:r,parent:u,grandparent:a,key:s}=e,o=s!=="body"&&(u.type==="IfStatement"||u.type==="WhileStatement"||u.type==="SwitchStatement"||u.type==="DoWhileStatement"),p=r.operator==="|>"&&e.root.extra?.__isUsingHackPipeline,l=jn(e,t,n,!1,o);if(o)return l;if(p)return c(l);if(s==="callee"&&(L(u)||u.type==="NewExpression")||u.type==="UnaryExpression"||R(u)&&!u.computed)return c([E([m,...l]),m]);let y=u.type==="ReturnStatement"||u.type==="ThrowStatement"||u.type==="JSXExpressionContainer"&&a.type==="JSXAttribute"||r.operator!=="|"&&u.type==="JsExpressionRoot"||r.type!=="NGPipeExpression"&&(u.type==="NGRoot"&&t.parser==="__ng_binding"||u.type==="NGMicrosyntaxExpression"&&a.type==="NGMicrosyntax"&&a.body.length===1)||r===u.body&&u.type==="ArrowFunctionExpression"||r!==u.body&&u.type==="ForStatement"||u.type==="ConditionalExpression"&&a.type!=="ReturnStatement"&&a.type!=="ThrowStatement"&&!L(a)&&a.type!=="NewExpression"||u.type==="TemplateLiteral"||ml(e),D=u.type==="AssignmentExpression"||u.type==="VariableDeclarator"||u.type==="ClassProperty"||u.type==="PropertyDefinition"||u.type==="TSAbstractPropertyDefinition"||u.type==="ClassPrivateProperty"||_e(u),d=Ne(r.left)&&Qn(r.operator,r.left.operator);if(y||Nt(r)&&!d||!Nt(r)&&D)return c(l);if(l.length===0)return"";let f=Y(r.right),F=l.findIndex(T=>typeof T!="string"&&!Array.isArray(T)&&T.type===fe),B=l.slice(0,F===-1?1:F+1),C=l.slice(B.length,f?-1:void 0),v=Symbol("logicalChain-"+ ++dl),S=c([...B,E(C)],{id:v});if(!f)return S;let h=O(0,l,-1);return c([S,It(h,{groupId:v})])}function jn(e,t,n,r,u){let{node:a}=e;if(!Ne(a))return[c(n())];let s=[];Qn(a.operator,a.left.operator)?s=e.call(()=>jn(e,t,n,!0,u),"left"):s.push(c(n("left")));let o=Nt(a),p=a.right.type==="ChainExpression"?a.right.expression:a.right,l=(a.operator==="|>"||a.type==="NGPipeExpression"||fl(e,t))&&!Ee(t.originalText,p),y=!g(p,b.Leading,hu)&&Ee(t.originalText,p),D=a.type==="NGPipeExpression"?"|":a.operator,d=a.type==="NGPipeExpression"&&a.arguments.length>0?c(E([m,": ",M([x,": "],e.map(()=>Ce(2,c(n())),"arguments"))])):"",f;if(o)f=[D,Ee(t.originalText,p)?E([x,n("right"),d]):[" ",n("right"),d]];else{let C=D==="|>"&&e.root.extra?.__isUsingHackPipeline?e.call(()=>jn(e,t,n,!0,u),"right"):n("right");if(t.experimentalOperatorPosition==="start"){let v="";if(y)switch($e(C)){case je:v=C.splice(0,1)[0];break;case Le:v=C.contents.splice(0,1)[0];break}f=[x,v,D," ",C,d]}else f=[l?x:"",D,l?" ":x,C,d]}let{parent:F}=e,B=g(a.left,b.Trailing|b.Line);if((B||!(u&&a.type==="LogicalExpression")&&F.type!==a.type&&a.left.type!==a.type&&a.right.type!==a.type)&&(f=c(f,{shouldBreak:B})),t.experimentalOperatorPosition==="start"?s.push(o||y?" ":"",f):s.push(l?"":" ",f),r&&g(a)){let C=or(de(e,s,t));return C.type===We?C.parts:Array.isArray(C)?C:[C]}return s}function Nt(e){return e.type!=="LogicalExpression"?!1:!!(Ae(e.right)&&e.right.properties.length>0||ee(e.right)&&e.right.elements.length>0||Y(e.right))}var Lr=e=>e.type==="BinaryExpression"&&e.operator==="|";function fl(e,t){return(t.parser==="__vue_expression"||t.parser==="__vue_ts_expression")&&Lr(e.node)&&!e.hasAncestor(n=>!Lr(n)&&n.type!=="JsExpressionRoot")}function ml(e){if(e.key!=="arguments")return!1;let{parent:t}=e;if(!(L(t)&&!t.optional&&t.arguments.length===1))return!1;let{callee:n}=t;return n.type==="Identifier"&&n.name==="Boolean"}function ta(e,t,n){let{node:r}=e,{parent:u}=e,a=u.type!=="TypeParameterInstantiation"&&(!Re(u)||!t.experimentalTernaries)&&u.type!=="TSTypeParameterInstantiation"&&u.type!=="GenericTypeAnnotation"&&u.type!=="TSTypeReference"&&u.type!=="TSTypeAssertion"&&u.type!=="TupleTypeAnnotation"&&u.type!=="TSTupleType"&&!(u.type==="FunctionTypeParam"&&!u.name&&e.grandparent.this!==u)&&!((Bn(u)||u.type==="VariableDeclarator")&&Ee(t.originalText,r))&&!(Bn(u)&&g(u.id,b.Trailing|b.Line)),s=na(r),o=e.map(()=>{let f=n();return s||(f=Ce(2,f)),de(e,f,t)},"types"),p="",l="";if(gu(e)&&({leading:p,trailing:l}=an(e,t)),s)return[p,M(" | ",o),l];let y=a&&!Ee(t.originalText,r),D=[k([y?x:"","| "]),M([x,"| "],o)];if(Ge(e,t))return[p,c([E(D),m]),l];let d=[p,c(D)];return(u.type==="TupleTypeAnnotation"||u.type==="TSTupleType")&&u[u.type==="TupleTypeAnnotation"&&u.types?"types":"elementTypes"].length>1?[c([E([k(["(",m]),d]),m,k(")")]),l]:[c(a?E(d):d),l]}var Fl=w(["VoidTypeAnnotation","TSVoidKeyword","NullLiteralTypeAnnotation","TSNullKeyword"]),El=w(["ObjectTypeAnnotation","TSTypeLiteral","GenericTypeAnnotation","TSTypeReference"]);function na(e){let{types:t}=e;if(t.some(r=>g(r)))return!1;let n=t.find(r=>El(r));return n?t.every(r=>r===n||Fl(r)):!1}function Al(e){return zn(e)||Xe(e)?!0:Be(e)?na(e):!1}var gl=new WeakSet;function Z(e,t,n="typeAnnotation"){let{node:{[n]:r}}=e;if(!r)return"";let u=!1;if(r.type==="TSTypeAnnotation"||r.type==="TypeAnnotation"){let a=e.call(ra,n);(a==="=>"||a===":"&&g(r,b.Leading))&&(u=!0),gl.add(r)}return u?[" ",t(n)]:t(n)}var ra=e=>e.match(t=>t.type==="TSTypeAnnotation",(t,n)=>(n==="returnType"||n==="typeAnnotation")&&(t.type==="TSFunctionType"||t.type==="TSConstructorType"))?"=>":e.match(t=>t.type==="TSTypeAnnotation",(t,n)=>n==="typeAnnotation"&&(t.type==="TSJSDocNullableType"||t.type==="TSJSDocNonNullableType"||t.type==="TSTypePredicate"))||e.match(t=>t.type==="TypeAnnotation",(t,n)=>n==="typeAnnotation"&&t.type==="Identifier",(t,n)=>n==="id"&&t.type==="DeclareFunction")||e.match(t=>t.type==="TypeAnnotation",(t,n)=>n==="typeAnnotation"&&t.type==="Identifier",(t,n)=>n==="id"&&t.type==="DeclareHook")||e.match(t=>t.type==="TypeAnnotation",(t,n)=>n==="bound"&&t.type==="TypeParameter"&&t.usesExtendsBound)?"":":";function ua(e,t,n){let r=ra(e);return r?[r," ",n("typeAnnotation")]:n("typeAnnotation")}function Cl(e,t,n,r){let{node:u}=e,a=u.inexact?"...":"";return g(u,b.Dangling)?c([n,a,X(e,t,{indent:!0}),m,r]):[n,a,r]}function lr(e,t,n){let{node:r}=e,u=[],a="[",s="]",o=r.type==="TupleTypeAnnotation"&&r.types?"types":r.type==="TSTupleType"||r.type==="TupleTypeAnnotation"?"elementTypes":"elements",p=r[o];if(p.length===0)u.push(Cl(e,t,a,s));else{let l=O(0,p,-1),y=l?.type!=="RestElement"&&!r.inexact,D=l===null,d=Symbol("array"),f=!t.__inJestEach&&p.length>1&&p.every((C,v,S)=>{let h=C?.type;if(!ee(C)&&!Ae(C))return!1;let T=S[v+1];if(T&&h!==T.type)return!1;let I=ee(C)?"elements":"properties";return C[I]&&C[I].length>1}),F=aa(r,t),B=y?D?",":Pe(t)?F?k(",","",{groupId:d}):k(","):"":"";u.push(c([a,E([m,F?xl(e,t,n,B):[hl(e,t,n,o,r.inexact),B],X(e,t)]),m,s],{shouldBreak:f,id:d}))}return u.push(ue(e),Z(e,n)),u}function aa(e,t){return ee(e)&&e.elements.length>0&&e.elements.every(n=>n&&(be(n)||cu(n)&&!g(n.argument))&&!g(n,b.Trailing|b.Line,r=>!oe(t.originalText,j(r),{backwards:!0})))}function sa({node:e},{originalText:t}){let n=N(e);if(n===j(e))return!1;let{length:r}=t;for(;n<r&&t[n]!==",";)n=Wn(t,Un(t,n+1));return $n(t,n)}function hl(e,t,n,r,u){let a=[];return e.each(({node:s,isLast:o})=>{a.push(s?c(n()):""),(!o||u)&&a.push([",",x,s&&sa(e,t)?m:""])},r),u&&a.push("..."),a}function xl(e,t,n,r){let u=[];return e.each(({isLast:a,next:s})=>{u.push([n(),a?r:","]),a||u.push(sa(e,t)?[A,A]:g(s,b.Leading|b.Line)?A:x)},"elements"),Ou(u)}function Tl(e,t,n){let{node:r}=e,u=ye(r);if(u.length===0)return["(",X(e,t),")"];let a=u.length-1;if(Bl(u)){let D=["("];return Qt(e,(d,f)=>{D.push(n()),f!==a&&D.push(", ")}),D.push(")"),D}let s=!1,o=[];Qt(e,({node:D},d)=>{let f=n();d===a||(ke(D,t)?(s=!0,f=[f,",",A,A]):f=[f,",",x]),o.push(f)});let p=!t.parser.startsWith("__ng_")&&r.type!=="ImportExpression"&&r.type!=="TSImportType"&&r.type!=="TSExternalModuleReference"&&Pe(t,"all")?",":"";function l(){return c(["(",E([x,...o]),p,x,")"],{shouldBreak:!0})}if(s||e.parent.type!=="Decorator"&&xo(u))return l();if(bl(u)){let D=o.slice(1);if(D.some(re))return l();let d;try{d=n(Br(r,0),{expandFirstArg:!0})}catch(f){if(f instanceof en)return l();throw f}return re(d)?[Me,Ke([["(",c(d,{shouldBreak:!0}),", ",...D,")"],l()])]:Ke([["(",d,", ",...D,")"],["(",c(d,{shouldBreak:!0}),", ",...D,")"],l()])}if(Sl(u,o,t)){let D=o.slice(0,-1);if(D.some(re))return l();let d;try{d=n(Br(r,-1),{expandLastArg:!0})}catch(f){if(f instanceof en)return l();throw f}return re(d)?[Me,Ke([["(",...D,c(d,{shouldBreak:!0}),")"],l()])]:Ke([["(",...D,d,")"],["(",...D,c(d,{shouldBreak:!0}),")"],l()])}let y=["(",E([m,...o]),k(p),m,")"];return Eu(e)?y:c(y,{shouldBreak:o.some(re)||s})}function vt(e,t=!1){return Ae(e)&&(e.properties.length>0||g(e))||ee(e)&&(e.elements.length>0||g(e))||e.type==="TSTypeAssertion"&&vt(e.expression)||Fe(e)&&vt(e.expression)||e.type==="FunctionExpression"||e.type==="ArrowFunctionExpression"&&(!e.returnType||!e.returnType.typeAnnotation||e.returnType.typeAnnotation.type!=="TSTypeReference"||vl(e.body))&&(e.body.type==="BlockStatement"||e.body.type==="ArrowFunctionExpression"&&vt(e.body,!0)||Ae(e.body)||ee(e.body)||!t&&(L(e.body)||e.body.type==="ConditionalExpression")||Y(e.body))||e.type==="DoExpression"||e.type==="ModuleExpression"}function Sl(e,t,n){let r=O(0,e,-1);if(e.length===1){let a=O(0,t,-1);if(a.label?.embed&&a.label?.hug!==!1)return!0}let u=O(0,e,-2);return!g(r,b.Leading)&&!g(r,b.Trailing)&&vt(r)&&(!u||u.type!==r.type)&&(e.length!==2||u.type!=="ArrowFunctionExpression"||!ee(r))&&!(e.length>1&&aa(r,n))}function bl(e){if(e.length!==2)return!1;let[t,n]=e;return t.type==="ModuleExpression"&&Pl(n)?!0:!g(t)&&(t.type==="FunctionExpression"||t.type==="ArrowFunctionExpression"&&t.body.type==="BlockStatement")&&n.type!=="FunctionExpression"&&n.type!=="ArrowFunctionExpression"&&n.type!=="ConditionalExpression"&&oa(n)&&!vt(n)}function oa(e){if(e.type==="ParenthesizedExpression")return oa(e.expression);if(Fe(e)||e.type==="TypeCastExpression"){let{typeAnnotation:t}=e;if(t.type==="TypeAnnotation"&&(t=t.typeAnnotation),t.type==="TSArrayType"&&(t=t.elementType,t.type==="TSArrayType"&&(t=t.elementType)),t.type==="GenericTypeAnnotation"||t.type==="TSTypeReference"){let n=t.type==="GenericTypeAnnotation"?t.typeParameters:t.typeArguments;n?.params.length===1&&(t=n.params[0])}return zn(t)&&me(e.expression,1)}return yt(e)&&ye(e).length>1?!1:Ne(e)?me(e.left,1)&&me(e.right,1):Du(e)||me(e)}function Bl(e){return e.length===2?Or(e,0):e.length===3?e[0].type==="Identifier"&&Or(e,1):!1}function Or(e,t){let n=e[t],r=e[t+1];return n.type==="ArrowFunctionExpression"&&te(n).length===0&&n.body.type==="BlockStatement"&&r.type==="ArrayExpression"&&!e.some(u=>g(u))}function vl(e){return e.type==="BlockStatement"&&(e.body.some(t=>t.type!=="EmptyStatement")||g(e,b.Dangling))}function Pl(e){if(!(e.type==="ObjectExpression"&&e.properties.length===1))return!1;let[t]=e.properties;return _e(t)?!t.computed&&(t.key.type==="Identifier"&&t.key.name==="type"||Q(t.key)&&t.key.value==="type")&&Q(t.value)&&t.value.value==="module":!1}var Mn=Tl;function kl(e,t,n){return[n("object"),c(E([m,ia(e,t,n)]))]}function ia(e,t,n){return["::",n("callee")]}var wl=e=>((e.type==="ChainExpression"||e.type==="TSNonNullExpression")&&(e=e.expression),L(e)&&ye(e).length>0);function Il(e){let{node:t,ancestors:n}=e;for(let r of n){if(!(R(r)&&r.object===t||r.type==="TSNonNullExpression"&&r.expression===t))return r.type==="NewExpression"&&r.callee===t;t=r}return!1}function Nl(e,t,n){let r=n("object"),u=pa(e,t,n),{node:a}=e,s=e.findAncestor(l=>!(R(l)||l.type==="TSNonNullExpression")),o=e.findAncestor(l=>!(l.type==="ChainExpression"||l.type==="TSNonNullExpression")),p=s.type==="BindExpression"||s.type==="AssignmentExpression"&&s.left.type!=="Identifier"||Il(e)||a.computed||a.object.type==="Identifier"&&a.property.type==="Identifier"&&!R(o)||(o.type==="AssignmentExpression"||o.type==="VariableDeclarator")&&(wl(a.object)||r.label?.memberChain);return Jt(r.label,[r,p?u:c(E([m,u]))])}function pa(e,t,n){let r=n("property"),{node:u}=e,a=ue(e);return u.computed?!u.property||be(u.property)?[a,"[",r,"]"]:c([a,"[",E([m,r]),m,"]"]):[a,".",r]}function la(e,t,n){if(e.node.type==="ChainExpression")return e.call(()=>la(e,t,n),"expression");let r=(e.parent.type==="ChainExpression"?e.grandparent:e.parent).type==="ExpressionStatement",u=[];function a(P){let{originalText:G}=t,K=ft(G,N(P));return G.charAt(K)===")"?K!==!1&&$n(G,K+1):ke(P,t)}function s(){let{node:P}=e;if(P.type==="ChainExpression")return e.call(s,"expression");if(L(P)&&(ot(P.callee)||L(P.callee))){let G=a(P);u.unshift({node:P,hasTrailingEmptyLine:G,printed:[de(e,[ue(e),n("typeArguments"),Mn(e,t,n)],t),G?A:""]}),e.call(s,"callee")}else ot(P)?(u.unshift({node:P,needsParens:Ge(e,t),printed:de(e,R(P)?pa(e,t,n):ia(e,t,n),t)}),e.call(s,"object")):P.type==="TSNonNullExpression"?(u.unshift({node:P,printed:de(e,"!",t)}),e.call(s,"expression")):u.unshift({node:P,printed:n()})}let{node:o}=e;u.unshift({node:o,printed:[ue(e),n("typeArguments"),Mn(e,t,n)]}),o.callee&&e.call(s,"callee");let p=[],l=[u[0]],y=1;for(;y<u.length&&(u[y].node.type==="TSNonNullExpression"||L(u[y].node)||R(u[y].node)&&u[y].node.computed&&be(u[y].node.property));++y)l.push(u[y]);if(!L(u[0].node))for(;y+1<u.length&&ot(u[y].node)&&ot(u[y+1].node);++y)l.push(u[y]);p.push(l),l=[];let D=!1;for(;y<u.length;++y){if(D&&ot(u[y].node)){if(u[y].node.computed&&be(u[y].node.property)){l.push(u[y]);continue}p.push(l),l=[],D=!1}(L(u[y].node)||u[y].node.type==="ImportExpression")&&(D=!0),l.push(u[y]),g(u[y].node,b.Trailing)&&(p.push(l),l=[],D=!1)}l.length>0&&p.push(l);function d(P){return/^[A-Z]|^[$_]+$/u.test(P)}function f(P){return P.length<=t.tabWidth}function F(P){let G=P[1][0]?.node.computed;if(P[0].length===1){let we=P[0][0].node;return we.type==="ThisExpression"||we.type==="Identifier"&&(d(we.name)||r&&f(we.name)||G)}let K=O(0,P[0],-1).node;return R(K)&&K.property.type==="Identifier"&&(d(K.property.name)||G)}let B=p.length>=2&&!g(p[1][0].node)&&F(p);function C(P){let G=P.map(K=>K.printed);return P.length>0&&O(0,P,-1).needsParens?["(",...G,")"]:G}function v(P){return P.length===0?"":E([A,M(A,P.map(C))])}let S=p.map(C),h=S,T=B?3:2,I=p.flat(),J=I.slice(1,-1).some(P=>g(P.node,b.Leading))||I.slice(0,-1).some(P=>g(P.node,b.Trailing))||p[T]&&g(p[T][0].node,b.Leading);if(p.length<=T&&!J&&!p.some(P=>O(0,P,-1).hasTrailingEmptyLine))return Eu(e)?h:c(h);let H=O(0,p[B?1:0],-1).node,q=!L(H)&&a(H),U=[C(p[0]),B?p.slice(1,2).map(C):"",q?A:"",v(p.slice(B?2:1))],$=u.map(({node:P})=>P).filter(L);function ae(){let P=O(0,O(0,p,-1),-1).node,G=O(0,S,-1);return L(P)&&re(G)&&$.slice(0,-1).some(K=>K.arguments.some(kt))}let xe;return J||$.length>2&&$.some(P=>!P.arguments.every(G=>me(G)))||S.slice(0,-1).some(re)||ae()?xe=c(U):xe=[re(h)||q?Me:"",Ke([h,U])],Jt({memberChain:!0},xe)}var jl=la;function tn(e,t,n){let{node:r}=e,u=r.type==="NewExpression",a=ue(e),s=ye(r),o=r.type!=="TSImportType"&&r.typeArguments?n("typeArguments"):"",p=s.length===1&&mu(s[0],t.originalText);if(p||Ll(e)||Ol(e)||rn(r,e.parent)){let D=[];if(Qt(e,()=>{D.push(n())}),!(p&&D[0].label?.embed))return[u?"new ":"",Jr(e,n),a,o,"(",M(", ",D),")"]}let l=r.type==="ImportExpression"||r.type==="TSImportType"||r.type==="TSExternalModuleReference";if(!l&&!u&&ot(r.callee)&&!e.call(()=>Ge(e,t),"callee",...r.callee.type==="ChainExpression"?["expression"]:[]))return jl(e,t,n);let y=[u?"new ":"",Jr(e,n),a,o,Mn(e,t,n)];return l||L(r.callee)?c(y):y}function Jr(e,t){let{node:n}=e;return n.type==="ImportExpression"?`import${n.phase?`.${n.phase}`:""}`:n.type==="TSImportType"?"import":n.type==="TSExternalModuleReference"?"require":t("callee")}var Ml=["require","require.resolve","require.resolve.paths","import.meta.resolve"];function Ll(e){let{node:t}=e;if(!(t.type==="ImportExpression"||t.type==="TSImportType"||t.type==="TSExternalModuleReference"||t.type==="CallExpression"&&!t.optional&&Gn(t.callee,Ml)))return!1;let n=ye(t);return n.length===1&&Q(n[0])&&!g(n[0])}function Ol(e){let{node:t}=e;if(t.type!=="CallExpression"||t.optional||t.callee.type!=="Identifier")return!1;let n=ye(t);return t.callee.name==="require"?(n.length===1&&Q(n[0])||n.length>1)&&!g(n[0]):t.callee.name==="define"&&e.parent.type==="ExpressionStatement"?n.length===1||n.length===2&&n[0].type==="ArrayExpression"||n.length===3&&Q(n[0])&&n[1].type==="ArrayExpression":!1}function qt(e,t,n,r,u,a){let s=Xl(e,t,n,r,a),o=a?n(a,{assignmentLayout:s}):"";switch(s){case"break-after-operator":return c([c(r),u,c(E([x,o]))]);case"never-break-after-operator":return c([c(r),u," ",o]);case"fluid":{let p=Symbol("assignment");return c([c(r),u,c(E(x),{id:p}),ve,It(o,{groupId:p})])}case"break-lhs":return c([r,u," ",c(o)]);case"chain":return[c(r),u,x,o];case"chain-tail":return[c(r),u,E([x,o])];case"chain-tail-arrow-chain":return[c(r),u,o];case"only-left":return r}}function Jl(e,t,n){let{node:r}=e;return qt(e,t,n,n("left"),[" ",r.operator],"right")}function ql(e,t,n){return qt(e,t,n,n("id")," =","init")}function Xl(e,t,n,r,u){let{node:a}=e,s=a[u];if(!s)return"only-left";let o=!Kt(s);if(e.match(Kt,ca,y=>!o||y.type!=="ExpressionStatement"&&y.type!=="VariableDeclaration"))return o?s.type==="ArrowFunctionExpression"&&s.body.type==="ArrowFunctionExpression"?"chain-tail-arrow-chain":"chain-tail":"chain";if(!o&&Kt(s.right)||Ee(t.originalText,s))return"break-after-operator";if(a.type==="ImportAttribute"||s.type==="CallExpression"&&s.callee.name==="require"||t.parser==="json5"||t.parser==="jsonc"||t.parser==="json")return"never-break-after-operator";let p=ji(r);if(_l(a)||$l(a)||Da(a)&&p)return"break-lhs";let l=Gl(a,r,t);return e.call(()=>Rl(e,t,n,l),u)?"break-after-operator":Wl(a)?"break-lhs":!p&&(l||s.type==="TemplateLiteral"||s.type==="TaggedTemplateExpression"||yo(s)||be(s)||s.type==="ClassExpression")?"never-break-after-operator":"fluid"}function Rl(e,t,n,r){let u=e.node;if(Ne(u)&&!Nt(u))return!0;switch(u.type){case"StringLiteralTypeAnnotation":case"SequenceExpression":return!0;case"TSConditionalType":case"ConditionalTypeAnnotation":if(!t.experimentalTernaries&&!Hl(u))break;return!0;case"ConditionalExpression":{if(!t.experimentalTernaries){let{test:l}=u;return Ne(l)&&!Nt(l)}let{consequent:o,alternate:p}=u;return o.type==="ConditionalExpression"||p.type==="ConditionalExpression"}case"ClassExpression":return _(u.decorators)}if(r)return!1;let a=u,s=[];for(;;)if(a.type==="UnaryExpression"||a.type==="AwaitExpression"||a.type==="YieldExpression"&&a.argument!==null)a=a.argument,s.push("argument");else if(a.type==="TSNonNullExpression")a=a.expression,s.push("expression");else break;return!!(Q(a)||e.call(()=>ya(e,t,n),...s))}function _l(e){if(ca(e)){let t=e.left||e.id;return t.type==="ObjectPattern"&&t.properties.length>2&&t.properties.some(n=>_e(n)&&(!n.shorthand||n.value?.type==="AssignmentPattern"))}return!1}function Kt(e){return e.type==="AssignmentExpression"}function ca(e){return Kt(e)||e.type==="VariableDeclarator"}function Wl(e){let t=Ul(e);if(_(t)){let n=e.type==="TSTypeAliasDeclaration"?"constraint":"bound";if(t.length>1&&t.some(r=>r[n]||r.default))return!0}return!1}function Ul(e){if(Bn(e))return e.typeParameters?.params}function $l(e){if(e.type!=="VariableDeclarator")return!1;let{typeAnnotation:t}=e.id;if(!t||!t.typeAnnotation)return!1;let n=qr(t.typeAnnotation);return _(n)&&n.length>1&&n.some(r=>_(qr(r))||r.type==="TSConditionalType")}function Da(e){return e.type==="VariableDeclarator"&&e.init?.type==="ArrowFunctionExpression"}function qr(e){let t;switch(e.type){case"GenericTypeAnnotation":t=e.typeParameters;break;case"TSTypeReference":t=e.typeArguments;break}return t?.params}function ya(e,t,n,r=!1){let{node:u}=e,a=()=>ya(e,t,n,!0);if(u.type==="ChainExpression"||u.type==="TSNonNullExpression")return e.call(a,"expression");if(L(u)){if(tn(e,t,n).label?.memberChain)return!1;let s=ye(u);return!(s.length===0||s.length===1&&Yn(s[0],t))||Vl(u,n)?!1:e.call(a,"callee")}return R(u)?e.call(a,"object"):r&&(u.type==="Identifier"||u.type==="ThisExpression")}function Gl(e,t,n){return _e(e)?(t=or(t),typeof t=="string"&&it(t)<n.tabWidth+3):!1}function Vl(e,t){let n=Kl(e);if(_(n)){if(n.length>1)return!0;if(n.length===1){let u=n[0];if(Be(u)||Ot(u)||u.type==="TSTypeLiteral"||u.type==="ObjectTypeAnnotation")return!0}let r=e.typeParameters?"typeParameters":"typeArguments";if(re(t(r)))return!0}return!1}function Kl(e){return(e.typeParameters??e.typeArguments)?.params}function Xr(e){switch(e.type){case"FunctionTypeAnnotation":case"GenericTypeAnnotation":case"TSFunctionType":return!!e.typeParameters;case"TSTypeReference":return!!e.typeArguments;default:return!1}}function Hl(e){return Xr(e.checkType)||Xr(e.extendsType)}var Ht=new WeakMap;function da(e){return/^(?:\d+|\d+\.\d+)$/u.test(e)}function Rr(e,t){return t.parser==="json"||t.parser==="jsonc"||!Q(e.key)||ct(ie(e.key),t).slice(1,-1)!==e.key.value?!1:!!(Dl(e.key.value)&&!(t.parser==="babel-ts"&&e.type==="ClassProperty"||(t.parser==="typescript"||t.parser==="oxc-ts")&&e.type==="PropertyDefinition")||da(e.key.value)&&String(Number(e.key.value))===e.key.value&&e.type!=="ImportAttribute"&&(t.parser==="babel"||t.parser==="acorn"||t.parser==="oxc"||t.parser==="espree"||t.parser==="meriyah"||t.parser==="__babel_estree"))}function zl(e,t){let{key:n}=e.node;return(n.type==="Identifier"||be(n)&&da(dt(ie(n)))&&String(n.value)===dt(ie(n))&&!(t.parser==="typescript"||t.parser==="babel-ts"||t.parser==="oxc-ts"))&&(t.parser==="json"||t.parser==="jsonc"||t.quoteProps==="consistent"&&Ht.get(e.parent))}function Xt(e,t,n){let{node:r}=e;if(r.computed)return["[",n("key"),"]"];let{parent:u}=e,{key:a}=r;if(t.quoteProps==="consistent"&&!Ht.has(u)){let s=e.siblings.some(o=>!o.computed&&Q(o.key)&&!Rr(o,t));Ht.set(u,s)}if(zl(e,t)){let s=ct(JSON.stringify(a.type==="Identifier"?a.name:a.value.toString()),t);return e.call(()=>de(e,s,t),"key")}return Rr(r,t)&&(t.quoteProps==="as-needed"||t.quoteProps==="consistent"&&!Ht.get(u))?e.call(()=>de(e,/^\d/u.test(a.value)?dt(a.value):a.value,t),"key"):n("key")}function An(e,t,n){let{node:r}=e;return r.shorthand?n("value"):qt(e,t,n,Xt(e,t,n),":","value")}var Yl=({node:e,key:t,parent:n})=>t==="value"&&e.type==="FunctionExpression"&&(n.type==="ObjectMethod"||n.type==="ClassMethod"||n.type==="ClassPrivateMethod"||n.type==="MethodDefinition"||n.type==="TSAbstractMethodDefinition"||n.type==="TSDeclareMethod"||n.type==="Property"&&Lt(n));function fa(e,t,n,r){if(Yl(e))return cr(e,t,n);let{node:u}=e,a=!1;if((u.type==="FunctionDeclaration"||u.type==="FunctionExpression")&&r?.expandLastArg){let{parent:y}=e;L(y)&&(ye(y).length>1||te(u).every(D=>D.type==="Identifier"&&!D.typeAnnotation))&&(a=!0)}let s=[De(e),u.async?"async ":"",`function${u.generator?"*":""} `,u.id?n("id"):""],o=ut(e,t,n,a),p=pn(e,n),l=Et(u,p);return s.push(n("typeParameters"),c([l?c(o):o,p]),u.body?" ":"",n("body")),t.semi&&(u.declare||!u.body)&&s.push(";"),s}function Ln(e,t,n){let{node:r}=e,{kind:u}=r,a=r.value||r,s=[];return!u||u==="init"||u==="method"||u==="constructor"?a.async&&s.push("async "):s.push(u," "),a.generator&&s.push("*"),s.push(Xt(e,t,n),r.optional?"?":"",r===a?cr(e,t,n):n("value")),s}function cr(e,t,n){let{node:r}=e,u=ut(e,t,n),a=pn(e,n),s=ol(r),o=Et(r,a),p=[n("typeParameters"),c([s?c(u,{shouldBreak:!0}):o?c(u):u,a])];return r.body?p.push(" ",n("body")):p.push(t.semi?";":""),p}function Ql(e){let t=te(e);return t.length===1&&!e.typeParameters&&!g(e,b.Dangling)&&t[0].type==="Identifier"&&!t[0].typeAnnotation&&!g(t[0])&&!t[0].optional&&!e.predicate&&!e.returnType}function ma(e,t){if(t.arrowParens==="always")return!1;if(t.arrowParens==="avoid"){let{node:n}=e;return Ql(n)}return!1}function pn(e,t){let{node:n}=e,r=[Z(e,t,"returnType")];return n.predicate&&r.push(t("predicate")),r}function Fa(e,t,n){let{node:r}=e,u=[];if(r.argument){let o=n("argument");tc(t,r.argument)?o=["(",E([A,o]),A,")"]:(Ne(r.argument)||t.experimentalTernaries&&r.argument.type==="ConditionalExpression"&&(r.argument.consequent.type==="ConditionalExpression"||r.argument.alternate.type==="ConditionalExpression"))&&(o=c([k("("),E([m,o]),m,k(")")])),u.push(" ",o)}let a=g(r,b.Dangling),s=t.semi&&a&&g(r,b.Last|b.Line);return s&&u.push(";"),a&&u.push(" ",X(e,t)),!s&&t.semi&&u.push(";"),u}function Zl(e,t,n){return["return",Fa(e,t,n)]}function ec(e,t,n){return["throw",Fa(e,t,n)]}function tc(e,t){if(Ee(e.originalText,t)||g(t,b.Leading,n=>ce(e.originalText,j(n),N(n)))&&!Y(t))return!0;if(Kn(t)){let n=t,r;for(;r=lo(n);)if(n=r,Ee(e.originalText,n))return!0}return!1}function nc(e,t){if(t.semi||Aa(e,t)||Ca(e,t)||ga(e,t))return!1;let{node:n,key:r,parent:u}=e;return!!(n.type==="ExpressionStatement"&&(r==="body"&&(u.type==="Program"||u.type==="BlockStatement"||u.type==="StaticBlock"||u.type==="TSModuleBlock")||r==="consequent"&&u.type==="SwitchCase")&&e.call(()=>Ea(e,t),"expression"))}function Ea(e,t){let{node:n}=e;switch(n.type){case"ParenthesizedExpression":case"TypeCastExpression":case"ArrayExpression":case"ArrayPattern":case"TemplateLiteral":case"TemplateElement":case"RegExpLiteral":return!0;case"ArrowFunctionExpression":if(!ma(e,t))return!0;break;case"UnaryExpression":{let{prefix:r,operator:u}=n;if(r&&(u==="+"||u==="-"))return!0;break}case"BindExpression":if(!n.object)return!0;break;case"Literal":if(n.regex)return!0;break;default:if(Y(n))return!0}return Ge(e,t)?!0:Kn(n)?e.call(()=>Ea(e,t),...lu(n)):!1}var Dr=({node:e,parent:t})=>e.type==="ExpressionStatement"&&t.type==="Program"&&t.body.length===1&&(Array.isArray(t.directives)&&t.directives.length===0||!t.directives);function Aa(e,t){return(t.parentParser==="markdown"||t.parentParser==="mdx")&&Dr(e)&&Y(e.node.expression)}function ga(e,t){return t.__isHtmlInlineEventHandler&&Dr(e)}function Ca(e,t){return(t.parser==="__vue_event_binding"||t.parser==="__vue_ts_event_binding")&&Dr(e)}var rc=class extends Error{name="UnexpectedNodeError";constructor(e,t,n="type"){super(`Unexpected ${t} node ${n}: ${JSON.stringify(e[n])}.`),this.node=e}},At=rc;function uc(e){if(typeof e!="string")throw new TypeError("Expected a string");return e.replace(/[|\\{}()[\]^$+*?.]/g,"\\$&").replace(/-/g,"\\x2d")}var ac=class{#e;constructor(e){this.#e=new Set(e)}getLeadingWhitespaceCount(e){let t=this.#e,n=0;for(let r=0;r<e.length&&t.has(e.charAt(r));r++)n++;return n}getTrailingWhitespaceCount(e){let t=this.#e,n=0;for(let r=e.length-1;r>=0&&t.has(e.charAt(r));r--)n++;return n}getLeadingWhitespace(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(0,t)}getTrailingWhitespace(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(e.length-t)}hasLeadingWhitespace(e){return this.#e.has(e.charAt(0))}hasTrailingWhitespace(e){return this.#e.has(O(0,e,-1))}trimStart(e){let t=this.getLeadingWhitespaceCount(e);return e.slice(t)}trimEnd(e){let t=this.getTrailingWhitespaceCount(e);return e.slice(0,e.length-t)}trim(e){return this.trimEnd(this.trimStart(e))}split(e,t=!1){let n=`[${uc([...this.#e].join(""))}]+`,r=new RegExp(t?`(${n})`:n,"u");return e.split(r)}hasWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,n=>t.has(n))}hasNonWhitespaceCharacter(e){let t=this.#e;return Array.prototype.some.call(e,n=>!t.has(n))}isWhitespaceOnly(e){let t=this.#e;return Array.prototype.every.call(e,n=>t.has(n))}#t(e){let t=Number.POSITIVE_INFINITY;for(let n of e.split(`
|
|
39
|
+
`)){if(n.length===0)continue;let r=this.getLeadingWhitespaceCount(n);if(r===0)return 0;n.length!==r&&r<t&&(t=r)}return t===Number.POSITIVE_INFINITY?0:t}dedentString(e){let t=this.#t(e);return t===0?e:e.split(`
|
|
40
|
+
`).map(n=>n.slice(t)).join(`
|
|
41
|
+
`)}},sc=ac,zt=new sc(`
|
|
42
|
+
\r `),gn=e=>e===""||e===x||e===A||e===m;function oc(e,t,n){let{node:r}=e;if(r.type==="JSXElement"&&xc(r))return[n("openingElement"),n("closingElement")];let u=r.type==="JSXElement"?n("openingElement"):n("openingFragment"),a=r.type==="JSXElement"?n("closingElement"):n("closingFragment");if(r.children.length===1&&r.children[0].type==="JSXExpressionContainer"&&(r.children[0].expression.type==="TemplateLiteral"||r.children[0].expression.type==="TaggedTemplateExpression"))return[u,...e.map(n,"children"),a];r.children=r.children.map(h=>Tc(h)?{type:"JSXText",value:" ",raw:" "}:h);let s=r.children.some(Y),o=r.children.filter(h=>h.type==="JSXExpressionContainer").length>1,p=r.type==="JSXElement"&&r.openingElement.attributes.length>1,l=re(u)||s||p||o,y=e.parent.rootMarker==="mdx",D=t.singleQuote?"{' '}":'{" "}',d=y?x:k([D,m]," "),f=r.openingElement?.name?.name==="fbt",F=ic(e,t,n,d,f),B=r.children.some(h=>jt(h));for(let h=F.length-2;h>=0;h--){let T=F[h]===""&&F[h+1]==="",I=F[h]===A&&F[h+1]===""&&F[h+2]===A,J=(F[h]===m||F[h]===A)&&F[h+1]===""&&F[h+2]===d,H=F[h]===d&&F[h+1]===""&&(F[h+2]===m||F[h+2]===A),q=F[h]===d&&F[h+1]===""&&F[h+2]===d,U=F[h]===m&&F[h+1]===""&&F[h+2]===A||F[h]===A&&F[h+1]===""&&F[h+2]===m;I&&B||T||J||q||U?F.splice(h,2):H&&F.splice(h+1,2)}for(;F.length>0&&gn(O(0,F,-1));)F.pop();for(;F.length>1&&gn(F[0])&&gn(F[1]);)F.shift(),F.shift();let C=[""];for(let[h,T]of F.entries()){if(T===d){if(h===1&&Mi(F[h-1])){if(F.length===2){C.push([C.pop(),D]);continue}C.push([D,A],"");continue}else if(h===F.length-1){C.push([C.pop(),D]);continue}else if(F[h-1]===""&&F[h-2]===A){C.push([C.pop(),D]);continue}}h%2===0?C.push([C.pop(),T]):C.push(T,""),re(T)&&(l=!0)}let v=B?Ou(C):c(C,{shouldBreak:!0});if(t.cursorNode?.type==="JSXText"&&r.children.includes(t.cursorNode)?v=[$t,v,$t]:t.nodeBeforeCursor?.type==="JSXText"&&r.children.includes(t.nodeBeforeCursor)?v=[$t,v]:t.nodeAfterCursor?.type==="JSXText"&&r.children.includes(t.nodeAfterCursor)&&(v=[v,$t]),y)return v;let S=c([u,E([A,v]),A,a]);return l?S:Ke([c([u,...F,a]),S])}function ic(e,t,n,r,u){let a="",s=[a];function o(l){a=l,s.push([s.pop(),l])}function p(l){l!==""&&(a=l,s.push(l,""))}return e.each(({node:l,next:y})=>{if(l.type==="JSXText"){let D=ie(l);if(jt(l)){let d=zt.split(D,!0);d[0]===""&&(d.shift(),/\n/u.test(d[0])?p(Wr(u,d[1],l,y)):p(r),d.shift());let f;if(O(0,d,-1)===""&&(d.pop(),f=d.pop()),d.length===0)return;for(let[F,B]of d.entries())F%2===1?p(x):o(B);f!==void 0?/\n/u.test(f)?p(Wr(u,a,l,y)):p(r):p(_r(u,a,l,y))}else/\n/u.test(D)?D.match(/\n/gu).length>1&&p(A):p(r)}else{let D=n();if(o(D),y&&jt(y)){let d=zt.trim(ie(y)),[f]=zt.split(d);p(_r(u,f,l,y))}else p(A)}},"children"),s}function _r(e,t,n,r){return e?"":n.type==="JSXElement"&&!n.closingElement||r?.type==="JSXElement"&&!r.closingElement?t.length===1?m:A:m}function Wr(e,t,n,r){return e?A:t.length===1?n.type==="JSXElement"&&!n.closingElement||r?.type==="JSXElement"&&!r.closingElement?A:m:A}var pc=w(["ArrayExpression","JSXAttribute","JSXElement","JSXExpressionContainer","JSXFragment","ExpressionStatement","NewExpression","CallExpression","OptionalCallExpression","ConditionalExpression","JsExpressionRoot","MatchExpressionCase"]);function lc(e,t,n){let{parent:r}=e;if(pc(r))return t;let u=cc(e),a=Ge(e,n);return c([a?"":k("("),E([m,t]),m,a?"":k(")")],{shouldBreak:u})}function cc(e){return e.match(void 0,(t,n)=>n==="body"&&t.type==="ArrowFunctionExpression",(t,n)=>n==="arguments"&&L(t))&&(e.match(void 0,void 0,void 0,(t,n)=>n==="expression"&&t.type==="JSXExpressionContainer")||e.match(void 0,void 0,void 0,(t,n)=>n==="expression"&&t.type==="ChainExpression",(t,n)=>n==="expression"&&t.type==="JSXExpressionContainer"))}function Dc(e,t,n){let{node:r}=e,u=[n("name")];if(r.value){let a;if(Q(r.value)){let s=ie(r.value),o=z(0,z(0,s.slice(1,-1),"'","'"),""",'"'),p=uu(o,t.jsxSingleQuote);o=p==='"'?z(0,o,'"',"""):z(0,o,"'","'"),a=e.call(()=>de(e,ze(p+o+p),t),"value")}else a=n("value");u.push("=",a)}return u}function yc(e,t,n){let{node:r}=e,u=(a,s)=>a.type==="JSXEmptyExpression"||!g(a)&&(ee(a)||Ae(a)||a.type==="ArrowFunctionExpression"||a.type==="AwaitExpression"&&(u(a.argument,a)||a.argument.type==="JSXElement")||L(a)||a.type==="ChainExpression"&&L(a.expression)||a.type==="FunctionExpression"||a.type==="TemplateLiteral"||a.type==="TaggedTemplateExpression"||a.type==="DoExpression"||Y(s)&&(a.type==="ConditionalExpression"||Ne(a)));return u(r.expression,e.parent)?c(["{",n("expression"),ve,"}"]):c(["{",E([m,n("expression")]),m,ve,"}"])}function dc(e,t,n){let{node:r}=e,u=g(r.name)||g(r.typeArguments);if(r.selfClosing&&r.attributes.length===0&&!u)return["<",n("name"),n("typeArguments")," />"];if(r.attributes?.length===1&&Q(r.attributes[0].value)&&!r.attributes[0].value.value.includes(`
|
|
43
|
+
`)&&!u&&!g(r.attributes[0]))return c(["<",n("name"),n("typeArguments")," ",...e.map(n,"attributes"),r.selfClosing?" />":">"]);let a=r.attributes?.some(o=>Q(o.value)&&o.value.value.includes(`
|
|
44
|
+
`)),s=t.singleAttributePerLine&&r.attributes.length>1?A:x;return c(["<",n("name"),n("typeArguments"),E(e.map(()=>[s,n()],"attributes")),...fc(r,t,u)],{shouldBreak:a})}function fc(e,t,n){return e.selfClosing?[x,"/>"]:mc(e,t,n)?[">"]:[m,">"]}function mc(e,t,n){let r=e.attributes.length>0&&g(O(0,e.attributes,-1),b.Trailing);return e.attributes.length===0&&!n||(t.bracketSameLine||t.jsxBracketSameLine)&&(!n||e.attributes.length>0)&&!r}function Fc(e,t,n){let{node:r}=e,u=["</"],a=n("name");return g(r.name,b.Leading|b.Line)?u.push(E([A,a]),A):g(r.name,b.Leading|b.Block)?u.push(" ",a):u.push(a),u.push(">"),u}function Ec(e,t){let{node:n}=e,r=g(n),u=g(n,b.Line),a=n.type==="JSXOpeningFragment";return[a?"<":"</",E([u?A:r&&!a?" ":"",X(e,t)]),u?A:"",">"]}function Ac(e,t,n){let r=de(e,oc(e,t,n),t);return lc(e,r,t)}function gc(e,t){let{node:n}=e,r=g(n,b.Line);return[X(e,t,{indent:r}),r?A:""]}function Cc(e,t,n){let{node:r}=e;return["{",e.call(({node:u})=>{let a=["...",n()];return g(u)?[E([m,de(e,a,t)]),m]:a},r.type==="JSXSpreadAttribute"?"argument":"expression"),"}"]}function hc(e,t,n){let{node:r}=e;if(r.type.startsWith("JSX"))switch(r.type){case"JSXAttribute":return Dc(e,t,n);case"JSXIdentifier":return r.name;case"JSXNamespacedName":return M(":",[n("namespace"),n("name")]);case"JSXMemberExpression":return M(".",[n("object"),n("property")]);case"JSXSpreadAttribute":case"JSXSpreadChild":return Cc(e,t,n);case"JSXExpressionContainer":return yc(e,t,n);case"JSXFragment":case"JSXElement":return Ac(e,t,n);case"JSXOpeningElement":return dc(e,t,n);case"JSXClosingElement":return Fc(e,t,n);case"JSXOpeningFragment":case"JSXClosingFragment":return Ec(e,t);case"JSXEmptyExpression":return gc(e,t);case"JSXText":throw new Error("JSXText should be handled by JSXElement");default:throw new At(r,"JSX")}}function xc(e){if(e.children.length===0)return!0;if(e.children.length>1)return!1;let t=e.children[0];return t.type==="JSXText"&&!jt(t)}function jt(e){return e.type==="JSXText"&&(zt.hasNonWhitespaceCharacter(ie(e))||!/\n/u.test(ie(e)))}function Tc(e){return e.type==="JSXExpressionContainer"&&Q(e.expression)&&e.expression.value===" "&&!g(e.expression)}function Sc(e){let{node:t,parent:n}=e;if(!Y(t)||!Y(n))return!1;let{index:r,siblings:u}=e,a;for(let s=r;s>0;s--){let o=u[s-1];if(!(o.type==="JSXText"&&!jt(o))){a=o;break}}return a?.type==="JSXExpressionContainer"&&a.expression.type==="JSXEmptyExpression"&&un(a.expression)}function bc(e){return un(e.node)||Sc(e)}var yr=bc;function Bc(e,t,n){let{node:r}=e;if(r.type.startsWith("NG"))switch(r.type){case"NGRoot":return n("node");case"NGPipeExpression":return ea(e,t,n);case"NGChainedExpression":return c(M([";",x],e.map(()=>kc(e)?n():["(",n(),")"],"expressions")));case"NGEmptyExpression":return"";case"NGMicrosyntax":return e.map(()=>[e.isFirst?"":Ur(e)?" ":[";",x],n()],"body");case"NGMicrosyntaxKey":return/^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/iu.test(r.name)?r.name:JSON.stringify(r.name);case"NGMicrosyntaxExpression":return[n("expression"),r.alias===null?"":[" as ",n("alias")]];case"NGMicrosyntaxKeyedExpression":{let{index:u,parent:a}=e,s=Ur(e)||vc(e)||(u===1&&(r.key.name==="then"||r.key.name==="else"||r.key.name==="as")||u===2&&(r.key.name==="else"&&a.body[u-1].type==="NGMicrosyntaxKeyedExpression"&&a.body[u-1].key.name==="then"||r.key.name==="track"))&&a.body[0].type==="NGMicrosyntaxExpression";return[n("key"),s?" ":": ",n("expression")]}case"NGMicrosyntaxLet":return["let ",n("key"),r.value===null?"":[" = ",n("value")]];case"NGMicrosyntaxAs":return[n("key")," as ",n("alias")];default:throw new At(r,"Angular")}}function Ur({node:e,index:t}){return e.type==="NGMicrosyntaxKeyedExpression"&&e.key.name==="of"&&t===1}function vc(e){let{node:t}=e;return e.parent.body[1].key.name==="of"&&t.type==="NGMicrosyntaxKeyedExpression"&&t.key.name==="track"&&t.key.type==="NGMicrosyntaxKey"}var Pc=w(["CallExpression","OptionalCallExpression","AssignmentExpression"]);function kc({node:e}){return Sn(e,Pc)}function ha(e,t,n){let{node:r}=e;return c([M(x,e.map(n,"decorators")),xa(r,t)?A:x])}function wc(e,t,n){return Ta(e.node)?[M(A,e.map(n,"declaration","decorators")),A]:""}function Ic(e,t,n){let{node:r,parent:u}=e,{decorators:a}=r;if(!_(a)||Ta(u)||yr(e))return"";let s=r.type==="ClassExpression"||r.type==="ClassDeclaration"||xa(r,t);return[e.key==="declaration"&&co(u)?A:s?Me:"",M(x,e.map(n,"decorators")),x]}function xa(e,t){return e.decorators.some(n=>oe(t.originalText,N(n)))}function Ta(e){if(e.type!=="ExportDefaultDeclaration"&&e.type!=="ExportNamedDeclaration"&&e.type!=="DeclareExportDeclaration")return!1;let t=e.declaration?.decorators;return _(t)&&nn(e,t[0])}var Cn=new WeakMap;function Sa(e){return Cn.has(e)||Cn.set(e,e.type==="ConditionalExpression"&&!ne(e,t=>t.type==="ObjectExpression")),Cn.get(e)}var Nc=e=>e.type==="SequenceExpression";function jc(e,t,n,r={}){let u=[],a,s=[],o=!1,p=!r.expandLastArg&&e.node.body.type==="ArrowFunctionExpression",l;(function v(){let{node:S}=e,h=Mc(e,t,n,r);if(u.length===0)u.push(h);else{let{leading:T,trailing:I}=an(e,t);u.push([T,h]),s.unshift(I)}p&&(o||(o=S.returnType&&te(S).length>0||S.typeParameters||te(S).some(T=>T.type!=="Identifier"))),!p||S.body.type!=="ArrowFunctionExpression"?(a=n("body",r),l=S.body):e.call(v,"body")})();let y=!Ee(t.originalText,l)&&(Nc(l)||Lc(l,a,t)||!o&&Sa(l)),D=e.key==="callee"&&yt(e.parent),d=Symbol("arrow-chain"),f=Oc(e,r,{signatureDocs:u,shouldBreak:o}),F=!1,B=!1,C=!1;return p&&(D||r.assignmentLayout)&&(B=!0,C=!g(e.node,b.Leading&b.Line),F=r.assignmentLayout==="chain-tail-arrow-chain"||D&&!y),a=Jc(e,t,r,{bodyDoc:a,bodyComments:s,functionBody:l,shouldPutBodyOnSameLine:y}),c([c(B?E([C?m:"",f]):f,{shouldBreak:F,id:d})," =>",p?It(a,{groupId:d}):c(a),p&&D?k(m,"",{groupId:d}):""])}function Mc(e,t,n,r){let{node:u}=e,a=[];if(u.async&&a.push("async "),ma(e,t))a.push(n(["params",0]));else{let o=r.expandLastArg||r.expandFirstArg,p=pn(e,n);if(o){if(re(p))throw new en;p=c(Zt(p))}a.push(c([ut(e,t,n,o,!0),p]))}let s=X(e,t,{filter(o){let p=ft(t.originalText,N(o));return p!==!1&&t.originalText.slice(p,p+2)==="=>"}});return s&&a.push(" ",s),a}function Lc(e,t,n){return ee(e)||Ae(e)||e.type==="ArrowFunctionExpression"||e.type==="DoExpression"||e.type==="BlockStatement"||Y(e)||t.label?.hug!==!1&&(t.label?.embed||mu(e,n.originalText))}function Oc(e,t,{signatureDocs:n,shouldBreak:r}){if(n.length===1)return n[0];let{parent:u,key:a}=e;return a!=="callee"&&yt(u)||Ne(u)?c([n[0]," =>",E([x,M([" =>",x],n.slice(1))])],{shouldBreak:r}):a==="callee"&&yt(u)||t.assignmentLayout?c(M([" =>",x],n),{shouldBreak:r}):c(E(M([" =>",x],n)),{shouldBreak:r})}function Jc(e,t,n,{bodyDoc:r,bodyComments:u,functionBody:a,shouldPutBodyOnSameLine:s}){let{node:o,parent:p}=e,l=n.expandLastArg&&Pe(t,"all")?k(","):"",y=(n.expandLastArg||p.type==="JSXExpressionContainer")&&!g(o)?m:"";return s&&Sa(a)?[" ",c([k("","("),E([m,r]),k("",")"),l,y]),u]:s?[" ",r,u]:[E([x,r,u]),l,y]}var qc=Array.prototype.findLast??function(e){for(let t=this.length-1;t>=0;t--){let n=this[t];if(e(n,t,this))return n}},Xc=Rn("findLast",function(){if(Array.isArray(this))return qc}),Rc=Xc;function On(e,t,n,r){let{node:u}=e,a=[],s=Rc(0,u[r],o=>o.type!=="EmptyStatement");return e.each(({node:o})=>{o.type!=="EmptyStatement"&&(a.push(n()),o!==s&&(a.push(A),ke(o,t)&&a.push(A)))},r),a}function ba(e,t,n){let r=_c(e,t,n),{node:u,parent:a}=e;if(u.type==="Program"&&a?.type!=="ModuleExpression")return r?[r,A]:"";let s=[];if(u.type==="StaticBlock"&&s.push("static "),s.push("{"),r)s.push(E([A,r]),A);else{let o=e.grandparent;a.type==="ArrowFunctionExpression"||a.type==="FunctionExpression"||a.type==="FunctionDeclaration"||a.type==="ComponentDeclaration"||a.type==="HookDeclaration"||a.type==="ObjectMethod"||a.type==="ClassMethod"||a.type==="ClassPrivateMethod"||a.type==="ForStatement"||a.type==="WhileStatement"||a.type==="DoWhileStatement"||a.type==="DoExpression"||a.type==="ModuleExpression"||a.type==="CatchClause"&&!o.finalizer||a.type==="TSModuleDeclaration"||a.type==="MatchStatementCase"||u.type==="StaticBlock"||s.push(A)}return s.push("}"),s}function _c(e,t,n){let{node:r}=e,u=_(r.directives),a=r.body.some(p=>p.type!=="EmptyStatement"),s=g(r,b.Dangling);if(!u&&!a&&!s)return"";let o=[];return u&&(o.push(On(e,t,n,"directives")),(a||s)&&(o.push(A),ke(O(0,r.directives,-1),t)&&o.push(A))),a&&o.push(On(e,t,n,"body")),s&&o.push(X(e,t)),o}function Wc(e){let t=new WeakMap;return function(n){return t.has(n)||t.set(n,Symbol(e)),t.get(n)}}var Uc=Wc;function dr(e,t,n){let{node:r}=e,u=[],a=r.type==="ObjectTypeAnnotation",s=!Ba(e),o=s?x:A,p=g(r,b.Dangling),[l,y]=a&&r.exact?["{|","|}"]:"{}",D;if($c(e,({node:d,next:f,isLast:F})=>{if(D??(D=d),u.push(n()),s&&a){let{parent:B}=e;B.inexact||!F?u.push(","):Pe(t)&&u.push(k(","))}!s&&(Gc({node:d,next:f},t)||Pa({node:d,next:f},t))&&u.push(";"),F||(u.push(o),ke(d,t)&&u.push(A))}),p&&u.push(X(e,t)),r.type==="ObjectTypeAnnotation"&&r.inexact){let d;g(r,b.Dangling)?d=[g(r,b.Line)||oe(t.originalText,N(O(0,He(r),-1)))?A:x,"..."]:d=[D?x:"","..."],u.push(d)}if(s){let d=p||t.objectWrap==="preserve"&&D&&ce(t.originalText,j(r),j(D)),f;if(u.length===0)f=l+y;else{let F=t.bracketSpacing?x:m;f=[l,E([F,...u]),F,y]}return e.match(void 0,(F,B)=>B==="typeAnnotation",(F,B)=>B==="typeAnnotation",Bt)||e.match(void 0,(F,B)=>F.type==="FunctionTypeParam"&&B==="typeAnnotation",Bt)?f:c(f,{shouldBreak:d})}return[l,u.length>0?[E([A,u]),A]:"",y]}function Ba(e){let{node:t}=e;if(t.type==="ObjectTypeAnnotation"){let{key:n,parent:r}=e;return n==="body"&&(r.type==="InterfaceDeclaration"||r.type==="DeclareInterface"||r.type==="DeclareClass")}return t.type==="ClassBody"||t.type==="TSInterfaceBody"}function $c(e,t){let{node:n}=e;if(n.type==="ClassBody"||n.type==="TSInterfaceBody"){e.each(t,"body");return}if(n.type==="TSTypeLiteral"){e.each(t,"members");return}if(n.type==="ObjectTypeAnnotation"){let r=["properties","indexers","callProperties","internalSlots"].flatMap(u=>e.map(({node:a,index:s})=>({node:a,loc:j(a),selector:[u,s]}),u)).sort((u,a)=>u.loc-a.loc);for(let[u,{node:a,selector:s}]of r.entries())e.call(()=>t({node:a,next:r[u+1]?.node,isLast:u===r.length-1}),...s)}}function Ie(e,t){let{parent:n}=e;return e.callParent(Ba)?t.semi||n.type==="ObjectTypeAnnotation"?";":"":n.type==="TSTypeLiteral"?e.isLast?t.semi?k(";"):"":t.semi||Pa({node:e.node,next:e.next},t)?";":k("",";"):""}var $r=w(["ClassProperty","PropertyDefinition","ClassPrivateProperty","ClassAccessorProperty","AccessorProperty","TSAbstractPropertyDefinition","TSAbstractAccessorProperty"]),va=e=>{if(e.computed||e.typeAnnotation)return!1;let{type:t,name:n}=e.key;return t==="Identifier"&&(n==="static"||n==="get"||n==="set")};function Gc({node:e,next:t},n){if(n.semi||!$r(e))return!1;if(!e.value&&va(e))return!0;if(!t||t.static||t.accessibility||t.readonly)return!1;if(!t.computed){let r=t.key?.name;if(r==="in"||r==="instanceof")return!0}if($r(t)&&t.variance&&!t.static&&!t.declare)return!0;switch(t.type){case"ClassProperty":case"PropertyDefinition":case"TSAbstractPropertyDefinition":return t.computed;case"MethodDefinition":case"TSAbstractMethodDefinition":case"ClassMethod":case"ClassPrivateMethod":{if((t.value?t.value.async:t.async)||t.kind==="get"||t.kind==="set")return!1;let r=t.value?t.value.generator:t.generator;return!!(t.computed||r)}case"TSIndexSignature":return!0}return!1}var Vc=w(["TSPropertySignature"]);function Pa({node:e,next:t},n){return n.semi||!Vc(e)?!1:va(e)?!0:t?t.type==="TSCallSignatureDeclaration":!1}var Kc=Uc("heritageGroup"),Hc=w(["TSInterfaceDeclaration","DeclareInterface","InterfaceDeclaration","InterfaceTypeAnnotation"]);function fr(e,t,n){let{node:r}=e,u=Hc(r),a=[De(e),sn(e),u?"interface":"class"],s=wa(e),o=[],p=[];if(r.type!=="InterfaceTypeAnnotation"){r.id&&o.push(" ");for(let y of["id","typeParameters"])if(r[y]){let{leading:D,trailing:d}=e.call(()=>an(e,t),y);o.push(D,n(y),E(d))}}if(r.superClass){let y=[Qc(e,t,n),n(r.superTypeArguments?"superTypeArguments":"superTypeParameters")],D=e.call(()=>["extends ",de(e,y,t)],"superClass");s?p.push(x,c(D)):p.push(" ",D)}else p.push(xn(e,t,n,"extends"));p.push(xn(e,t,n,"mixins"),xn(e,t,n,"implements"));let l;return s?(l=Kc(r),a.push(c([...o,E(p)],{id:l}))):a.push(...o,...p),!u&&s&&zc(r.body)?a.push(k(A," ",{groupId:l})):a.push(" "),a.push(n("body")),a}function zc(e){return e.type==="ObjectTypeAnnotation"?["properties","indexers","callProperties","internalSlots"].some(t=>_(e[t])):_(e.body)}function ka(e){let t=e.superClass?1:0;for(let n of["extends","mixins","implements"])if(Array.isArray(e[n])&&(t+=e[n].length),t>1)return!0;return t>1}function Yc(e){let{node:t}=e;if(g(t.id,b.Trailing)||g(t.typeParameters,b.Trailing)||g(t.superClass)||ka(t))return!0;if(t.superClass)return e.parent.type==="AssignmentExpression"?!1:!(t.superTypeArguments??t.superTypeParameters)&&R(t.superClass);let n=t.extends?.[0]??t.mixins?.[0]??t.implements?.[0];return n?n.type==="InterfaceExtends"&&n.id.type==="QualifiedTypeIdentifier"&&!n.typeParameters||(n.type==="TSClassImplements"||n.type==="TSInterfaceHeritage")&&R(n.expression)&&!n.typeArguments:!1}var hn=new WeakMap;function wa(e){let{node:t}=e;return hn.has(t)||hn.set(t,Yc(e)),hn.get(t)}function xn(e,t,n,r){let{node:u}=e;if(!_(u[r]))return"";let a=X(e,t,{marker:r}),s=M([",",x],e.map(n,r));if(!ka(u)){let o=[`${r} `,a,s];return wa(e)?[x,c(o)]:[" ",o]}return[x,a,a&&A,r,c(E([x,s]))]}function Qc(e,t,n){let r=n("superClass"),{parent:u}=e;return u.type==="AssignmentExpression"?c(k(["(",E([m,r]),m,")"],r)):r}function Ia(e,t,n){let{node:r}=e,u=[];return _(r.decorators)&&u.push(ha(e,t,n)),u.push(on(r)),r.static&&u.push("static "),u.push(sn(e)),r.override&&u.push("override "),u.push(Ln(e,t,n)),u}function Na(e,t,n){let{node:r}=e,u=[];_(r.decorators)&&u.push(ha(e,t,n)),u.push(De(e),on(r)),r.static&&u.push("static "),u.push(sn(e)),r.override&&u.push("override "),r.readonly&&u.push("readonly "),r.variance&&u.push(n("variance")),(r.type==="ClassAccessorProperty"||r.type==="AccessorProperty"||r.type==="TSAbstractAccessorProperty")&&u.push("accessor "),u.push(Xt(e,t,n),ue(e),Zu(e),Z(e,n));let a=r.type==="TSAbstractPropertyDefinition"||r.type==="TSAbstractAccessorProperty";return[qt(e,t,n,u," =",a?void 0:"value"),t.semi?";":""]}var Zc=w(["TSAsExpression","TSTypeAssertion","TSNonNullExpression","TSInstantiationExpression","TSSatisfiesExpression"]);function ja(e){return Zc(e)?ja(e.expression):e}var eD=w(["FunctionExpression","ArrowFunctionExpression"]);function tD(e){return e.type==="MemberExpression"||e.type==="OptionalMemberExpression"||e.type==="Identifier"&&e.name!=="undefined"}function nD(e,t){if(Ca(e,t)){let n=ja(e.node.expression);return eD(n)||tD(n)}return!(!t.semi||Aa(e,t)||ga(e,t))}function rD(e,t,n){return[n("expression"),nD(e,t)?";":""]}function uD(e,t,n){if(t.__isVueBindings||t.__isVueForBindingLeft){let r=e.map(n,"program","body",0,"params");if(r.length===1)return r[0];let u=M([",",x],r);return t.__isVueForBindingLeft?["(",E([m,c(u)]),m,")"]:u}if(t.__isEmbeddedTypescriptGenericParameters){let r=e.map(n,"program","body",0,"typeParameters","params");return M([",",x],r)}}function aD(e,t){let{node:n}=e;switch(n.type){case"RegExpLiteral":return Gr(n);case"BigIntLiteral":return Jn(n.extra.raw);case"NumericLiteral":return dt(n.extra.raw);case"StringLiteral":return ze(ct(n.extra.raw,t));case"NullLiteral":return"null";case"BooleanLiteral":return String(n.value);case"DirectiveLiteral":return Vr(n.extra.raw,t);case"Literal":{if(n.regex)return Gr(n.regex);if(n.bigint)return Jn(n.raw);let{value:r}=n;return typeof r=="number"?dt(n.raw):typeof r=="string"?sD(e)?Vr(n.raw,t):ze(ct(n.raw,t)):String(r)}}}function sD(e){if(e.key!=="expression")return;let{parent:t}=e;return t.type==="ExpressionStatement"&&typeof t.directive=="string"}function Jn(e){return e.toLowerCase()}function Gr({pattern:e,flags:t}){return t=[...t].sort().join(""),`/${e}/${t}`}var oD="use strict";function Vr(e,t){let n=e.slice(1,-1);if(n===oD||!(n.includes('"')||n.includes("'"))){let r=t.singleQuote?"'":'"';return r+n+r}return e}function iD(e,t,n){let r=e.originalText.slice(t,n);for(let u of e[Symbol.for("comments")]){let a=j(u);if(a>n)break;let s=N(u);if(s<t)continue;let o=a-t,p=s-t;r=r.slice(0,o)+z(0,r.slice(o,p),/[^\n]/gu," ")+r.slice(p)}return r}var ln=iD,Ma=w(["ImportDeclaration","ExportDefaultDeclaration","ExportNamedDeclaration","ExportAllDeclaration","DeclareExportDeclaration","DeclareExportAllDeclaration"]),pD=w(["EnumBooleanBody","EnumNumberBody","EnumBigIntBody","EnumStringBody","EnumSymbolBody"]);function mr(e,t,n){let{node:r,parent:u}=e,a=pD(r),s=r.type==="TSEnumBody"||a,o=Ma(r),p=a&&r.hasUnknownMembers,l=s?"members":o?"attributes":"properties",y=r[l],D=s||r.type==="ObjectPattern"&&u.type!=="FunctionDeclaration"&&u.type!=="FunctionExpression"&&u.type!=="ArrowFunctionExpression"&&u.type!=="ObjectMethod"&&u.type!=="ClassMethod"&&u.type!=="ClassPrivateMethod"&&u.type!=="AssignmentPattern"&&u.type!=="CatchClause"&&r.properties.some(C=>C.value&&(C.value.type==="ObjectPattern"||C.value.type==="ArrayPattern"))||r.type!=="ObjectPattern"&&t.objectWrap==="preserve"&&y.length>0&&lD(r,y[0],t),d=[],f=e.map(({node:C})=>{let v=[...d,c(n())];return d=[",",x],ke(C,t)&&d.push(A),v},l);if(p){let C;if(g(r,b.Dangling)){let v=g(r,b.Line);C=[X(e,t),v||oe(t.originalText,N(O(0,He(r),-1)))?A:x,"..."]}else C=["..."];f.push([...d,...C])}let F=!(p||O(0,y,-1)?.type==="RestElement"),B;if(f.length===0){if(!g(r,b.Dangling))return["{}",Z(e,n)];B=c(["{",X(e,t,{indent:!0}),m,"}",ue(e),Z(e,n)])}else{let C=t.bracketSpacing?x:m;B=["{",E([C,...f]),k(F&&Pe(t)?",":""),C,"}",ue(e),Z(e,n)]}return e.match(C=>C.type==="ObjectPattern"&&!_(C.decorators),Bt)||Xe(r)&&(e.match(void 0,(C,v)=>v==="typeAnnotation",(C,v)=>v==="typeAnnotation",Bt)||e.match(void 0,(C,v)=>C.type==="FunctionTypeParam"&&v==="typeAnnotation",Bt))||!D&&e.match(C=>C.type==="ObjectPattern",C=>C.type==="AssignmentExpression"||C.type==="VariableDeclarator")?B:c(B,{shouldBreak:D})}function lD(e,t,n){let r=n.originalText,u=j(e),a=j(t);if(Ma(e)){let s=j(e),o=ln(n,s,a);u=s+o.lastIndexOf("{")}return ce(r,u,a)}function cD(e,t,n){let{node:r}=e;return["import",r.phase?` ${r.phase}`:"",Ja(r),Xa(e,t,n),qa(e,t,n),_a(e,t,n),t.semi?";":""]}var La=e=>e.type==="ExportDefaultDeclaration"||e.type==="DeclareExportDeclaration"&&e.default;function Oa(e,t,n){let{node:r}=e,u=[wc(e,t,n),De(e),"export",La(r)?" default":""],{declaration:a,exported:s}=r;return g(r,b.Dangling)&&(u.push(" ",X(e,t)),Fu(r)&&u.push(A)),a?u.push(" ",n("declaration")):(u.push(dD(r)),r.type==="ExportAllDeclaration"||r.type==="DeclareExportAllDeclaration"?(u.push(" *"),s&&u.push(" as ",n("exported"))):u.push(Xa(e,t,n)),u.push(qa(e,t,n),_a(e,t,n))),u.push(yD(r,t)),u}var DD=w(["ClassDeclaration","ComponentDeclaration","FunctionDeclaration","TSInterfaceDeclaration","DeclareClass","DeclareComponent","DeclareFunction","DeclareHook","HookDeclaration","TSDeclareFunction","EnumDeclaration"]);function yD(e,t){return t.semi&&(!e.declaration||La(e)&&!DD(e.declaration))?";":""}function Fr(e,t=!0){return e&&e!=="value"?`${t?" ":""}${e}${t?"":" "}`:""}function Ja(e,t){return Fr(e.importKind,t)}function dD(e){return Fr(e.exportKind)}function qa(e,t,n){let{node:r}=e;return r.source?[Ra(r,t)?" from":""," ",n("source")]:""}function Xa(e,t,n){let{node:r}=e;if(!Ra(r,t))return"";let u=[" "];if(_(r.specifiers)){let a=[],s=[];e.each(()=>{let o=e.node.type;if(o==="ExportNamespaceSpecifier"||o==="ExportDefaultSpecifier"||o==="ImportNamespaceSpecifier"||o==="ImportDefaultSpecifier")a.push(n());else if(o==="ExportSpecifier"||o==="ImportSpecifier")s.push(n());else throw new At(r,"specifier")},"specifiers"),u.push(M(", ",a)),s.length>0&&(a.length>0&&u.push(", "),s.length>1||a.length>0||r.specifiers.some(o=>g(o))?u.push(c(["{",E([t.bracketSpacing?x:m,M([",",x],s)]),k(Pe(t)?",":""),t.bracketSpacing?x:m,"}"])):u.push(["{",t.bracketSpacing?" ":"",...s,t.bracketSpacing?" ":"","}"]))}else u.push("{}");return u}function Ra(e,t){return e.type!=="ImportDeclaration"||_(e.specifiers)||e.importKind==="type"?!0:ln(t,j(e),j(e.source)).trimEnd().endsWith("from")}function fD(e,t){if(e.extra?.deprecatedAssertSyntax)return"assert";let n=ln(t,N(e.source),e.attributes?.[0]?j(e.attributes[0]):N(e)).trimStart();return n.startsWith("assert")?"assert":n.startsWith("with")||_(e.attributes)?"with":void 0}var mD=e=>{let{attributes:t}=e;if(t.length!==1)return!1;let[n]=t,{type:r,key:u,value:a}=n;return r==="ImportAttribute"&&(u.type==="Identifier"&&u.name==="type"||Q(u)&&u.value==="type")&&Q(a)&&!g(n)&&!g(u)&&!g(a)};function _a(e,t,n){let{node:r}=e;if(!r.source)return"";let u=fD(r,t);if(!u)return"";let a=mr(e,t,n);return mD(r)&&(a=Zt(a)),[` ${u} `,a]}function FD(e,t,n){let{node:r}=e,{type:u}=r,a=u.startsWith("Import"),s=a?"imported":"local",o=a?"local":"exported",p=r[s],l=r[o],y="",D="";return u==="ExportNamespaceSpecifier"||u==="ImportNamespaceSpecifier"?y="*":p&&(y=n(s)),l&&!ED(r)&&(D=n(o)),[Fr(u==="ImportSpecifier"?r.importKind:r.exportKind,!1),y,y&&D?" as ":"",D]}function ED(e){if(e.type!=="ImportSpecifier"&&e.type!=="ExportSpecifier")return!1;let{local:t,[e.type==="ImportSpecifier"?"imported":"exported"]:n}=e;return t.type!==n.type||!Hs(t,n)?!1:Q(t)?t.value===n.value&&ie(t)===ie(n):t.type==="Identifier"?t.name===n.name:!1}function qn(e,t){return["...",t("argument"),Z(e,t)]}function AD(e){let t=[e];for(let n=0;n<t.length;n++){let r=t[n];for(let u of["test","consequent","alternate"]){let a=r[u];if(Y(a))return!0;a.type==="ConditionalExpression"&&t.push(a)}}return!1}function gD(e,t,n){let{node:r}=e,u=r.type==="ConditionalExpression",a=u?"alternate":"falseType",{parent:s}=e,o=u?n("test"):[n("checkType")," ","extends"," ",n("extendsType")];return s.type===r.type&&s[a]===r?Ce(2,o):o}var CD=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function hD(e){let{node:t}=e;if(t.type!=="ConditionalExpression")return!1;let n,r=t;for(let u=0;!n;u++){let a=e.getParentNode(u);if(a.type==="ChainExpression"&&a.expression===r||L(a)&&a.callee===r||R(a)&&a.object===r||a.type==="TSNonNullExpression"&&a.expression===r){r=a;continue}a.type==="NewExpression"&&a.callee===r||Fe(a)&&a.expression===r?(n=e.getParentNode(u+1),r=a):n=a}return r===t?!1:n[CD.get(n.type)]===r}function xD(e,t,n){let{node:r}=e,u=r.type==="ConditionalExpression",a=u?"consequent":"trueType",s=u?"alternate":"falseType",o=u?["test"]:["checkType","extendsType"],p=r[a],l=r[s],y=[],D=!1,{parent:d}=e,f=d.type===r.type&&o.some(q=>d[q]===r),F=d.type===r.type&&!f,B,C,v=0;do C=B||r,B=e.getParentNode(v),v++;while(B&&B.type===r.type&&o.every(q=>B[q]!==C));let S=B||d,h=C;if(u&&(Y(r[o[0]])||Y(p)||Y(l)||AD(h))){D=!0,F=!0;let q=$=>[k("("),E([m,$]),m,k(")")],U=$=>$.type==="NullLiteral"||$.type==="Literal"&&$.value===null||$.type==="Identifier"&&$.name==="undefined";y.push(" ? ",U(p)?n(a):q(n(a))," : ",l.type===r.type||U(l)?n(s):q(n(s)))}else{let q=$=>t.useTabs?E(n($)):Ce(2,n($)),U=[x,"? ",p.type===r.type?k("","("):"",q(a),p.type===r.type?k("",")"):"",x,": ",q(s)];y.push(d.type!==r.type||d[s]===r||f?U:t.useTabs?Lu(E(U)):Ce(Math.max(0,t.tabWidth-2),U))}let T=q=>d===S?c(q):q,I=!D&&(R(d)||d.type==="NGPipeExpression"&&d.left===r)&&!d.computed,J=hD(e),H=T([gD(e,t,n),F?y:E(y),u&&I&&!J?m:""]);return f||J?c([E([m,H]),m]):H}function TD(e,t){return(R(t)||t.type==="NGPipeExpression"&&t.left===e)&&!t.computed}function SD(e,t,n,r){return[...e.map(u=>He(u)),He(t),He(n)].flat().some(u=>he(u)&&ce(r.originalText,j(u),N(u)))}var bD=new Map([["AssignmentExpression","right"],["VariableDeclarator","init"],["ReturnStatement","argument"],["ThrowStatement","argument"],["UnaryExpression","argument"],["YieldExpression","argument"],["AwaitExpression","argument"]]);function BD(e){let{node:t}=e;if(t.type!=="ConditionalExpression")return!1;let n,r=t;for(let u=0;!n;u++){let a=e.getParentNode(u);if(a.type==="ChainExpression"&&a.expression===r||L(a)&&a.callee===r||R(a)&&a.object===r||a.type==="TSNonNullExpression"&&a.expression===r){r=a;continue}a.type==="NewExpression"&&a.callee===r||Fe(a)&&a.expression===r?(n=e.getParentNode(u+1),r=a):n=a}return r===t?!1:n[bD.get(n.type)]===r}var Tn=e=>[k("("),E([m,e]),m,k(")")];function Er(e,t,n,r){if(!t.experimentalTernaries)return xD(e,t,n);let{node:u}=e,a=u.type==="ConditionalExpression",s=Re(u),o=a?"consequent":"trueType",p=a?"alternate":"falseType",l=a?["test"]:["checkType","extendsType"],y=u[o],D=u[p],d=l.map(ht=>u[ht]),{parent:f}=e,F=f.type===u.type,B=F&&l.some(ht=>f[ht]===u),C=F&&f[p]===u,v=y.type===u.type,S=D.type===u.type,h=S||C,T=t.tabWidth>2||t.useTabs,I,J,H=0;do J=I||u,I=e.getParentNode(H),H++;while(I&&I.type===u.type&&l.every(ht=>I[ht]!==J));let q=I||f,U=r&&r.assignmentLayout&&r.assignmentLayout!=="break-after-operator"&&(f.type==="AssignmentExpression"||f.type==="VariableDeclarator"||f.type==="ClassProperty"||f.type==="PropertyDefinition"||f.type==="ClassPrivateProperty"||f.type==="ObjectProperty"||f.type==="Property"),$=(f.type==="ReturnStatement"||f.type==="ThrowStatement")&&!(v||S),ae=a&&q.type==="JSXExpressionContainer"&&e.grandparent.type!=="JSXAttribute",xe=BD(e),P=TD(u,f),G=s&&Ge(e,t),K=T?t.useTabs?" ":" ".repeat(t.tabWidth-1):"",we=SD(d,y,D,t)||v||S,Ve=!h&&!F&&!s&&(ae?y.type==="NullLiteral"||y.type==="Literal"&&y.value===null:Yn(y,t)&&Tr(u.test,3)),Rt=h||C||s&&!F||F&&a&&Tr(u.test,1)||Ve,Ar=[];!v&&g(y,b.Dangling)&&e.call(()=>{Ar.push(X(e,t),A)},"consequent");let gt=[];g(u.test,b.Dangling)&&e.call(()=>{gt.push(X(e,t))},"test"),!S&&g(D,b.Dangling)&&e.call(()=>{gt.push(X(e,t))},"alternate"),g(u,b.Dangling)&>.push(X(e,t));let gr=Symbol("test"),ls=Symbol("consequent"),_t=Symbol("test-and-consequent"),cs=a?[Tn(n("test")),u.test.type==="ConditionalExpression"?Me:""]:[n("checkType")," ","extends"," ",Re(u.extendsType)||u.extendsType.type==="TSMappedType"?n("extendsType"):c(Tn(n("extendsType")))],Cr=c([cs," ?"],{id:gr}),Ds=n(o),Wt=E([v||ae&&(Y(y)||F||h)?A:x,Ar,Ds]),ys=Rt?c([Cr,h?Wt:k(Wt,c(Wt,{id:ls}),{groupId:gr})],{id:_t}):[Cr,Wt],cn=n(p),hr=Ve?k(cn,Lu(Tn(cn)),{groupId:_t}):cn,Ct=[ys,gt.length>0?[E([A,gt]),A]:S?A:Ve?k(x," ",{groupId:_t}):x,":",S?" ":T?Rt?k(K,k(h||Ve?" ":K," "),{groupId:_t}):k(K," "):" ",S?hr:c([E(hr),ae&&!Ve?m:""]),P&&!xe?m:"",we?Me:""];return U&&!we?c(E([m,c(Ct)])):U||$?c(E(Ct)):xe||s&&B?c([E([m,Ct]),G?m:""]):f===q?c(Ct):Ct}function vD(e,t,n,r){let{node:u}=e;if(Hn(u))return aD(e,t);switch(u.type){case"JsExpressionRoot":return n("node");case"JsonRoot":return[X(e,t),n("node"),A];case"File":return uD(e,t,n)??n("program");case"ExpressionStatement":return rD(e,t,n);case"ChainExpression":return n("expression");case"ParenthesizedExpression":return!g(u.expression)&&(Ae(u.expression)||ee(u.expression))?["(",n("expression"),")"]:c(["(",E([m,n("expression")]),m,")"]);case"AssignmentExpression":return Jl(e,t,n);case"VariableDeclarator":return ql(e,t,n);case"BinaryExpression":case"LogicalExpression":return ea(e,t,n);case"AssignmentPattern":return[n("left")," = ",n("right")];case"OptionalMemberExpression":case"MemberExpression":return Nl(e,t,n);case"MetaProperty":return[n("meta"),".",n("property")];case"BindExpression":return kl(e,t,n);case"Identifier":return[u.name,ue(e),Zu(e),Z(e,n)];case"V8IntrinsicIdentifier":return["%",u.name];case"SpreadElement":return qn(e,n);case"RestElement":return qn(e,n);case"FunctionDeclaration":case"FunctionExpression":return fa(e,t,n,r);case"ArrowFunctionExpression":return jc(e,t,n,r);case"YieldExpression":return[`yield${u.delegate?"*":""}`,u.argument?[" ",n("argument")]:""];case"AwaitExpression":{let a=["await"];if(u.argument){a.push(" ",n("argument"));let{parent:s}=e;if(L(s)&&s.callee===u||R(s)&&s.object===u){a=[E([m,...a]),m];let o=e.findAncestor(p=>p.type==="AwaitExpression"||p.type==="BlockStatement");if(o?.type!=="AwaitExpression"||!ne(o.argument,p=>p===u))return c(a)}}return a}case"ExportDefaultDeclaration":case"ExportNamedDeclaration":case"ExportAllDeclaration":return Oa(e,t,n);case"ImportDeclaration":return cD(e,t,n);case"ImportSpecifier":case"ExportSpecifier":case"ImportNamespaceSpecifier":case"ExportNamespaceSpecifier":case"ImportDefaultSpecifier":case"ExportDefaultSpecifier":return FD(e,t,n);case"ImportAttribute":return An(e,t,n);case"Program":case"BlockStatement":case"StaticBlock":return ba(e,t,n);case"ClassBody":return dr(e,t,n);case"ThrowStatement":return ec(e,t,n);case"ReturnStatement":return Zl(e,t,n);case"NewExpression":case"ImportExpression":case"OptionalCallExpression":case"CallExpression":return tn(e,t,n);case"ObjectExpression":case"ObjectPattern":return mr(e,t,n);case"Property":return Lt(u)?Ln(e,t,n):An(e,t,n);case"ObjectProperty":return An(e,t,n);case"ObjectMethod":return Ln(e,t,n);case"Decorator":return["@",n("expression")];case"ArrayExpression":case"ArrayPattern":return lr(e,t,n);case"SequenceExpression":{let{parent:a}=e;if(a.type==="ExpressionStatement"||a.type==="ForStatement"){let o=[];return e.each(({isFirst:p})=>{p?o.push(n()):o.push(",",E([x,n()]))},"expressions"),c(o)}let s=M([",",x],e.map(n,"expressions"));return(a.type==="ReturnStatement"||a.type==="ThrowStatement")&&e.key==="argument"||a.type==="ArrowFunctionExpression"&&e.key==="body"?c(k([E([m,s]),m],s)):c(s)}case"ThisExpression":return"this";case"Super":return"super";case"Directive":return[n("value"),t.semi?";":""];case"UnaryExpression":{let a=[u.operator];return/[a-z]$/u.test(u.operator)&&a.push(" "),g(u.argument)?a.push(c(["(",E([m,n("argument")]),m,")"])):a.push(n("argument")),a}case"UpdateExpression":return[u.prefix?u.operator:"",n("argument"),u.prefix?"":u.operator];case"ConditionalExpression":return Er(e,t,n,r);case"VariableDeclaration":{let a=e.map(n,"declarations"),s=e.parent,o=s.type==="ForStatement"||s.type==="ForInStatement"||s.type==="ForOfStatement",p=u.declarations.some(y=>y.init),l;return a.length===1&&!g(u.declarations[0])?l=a[0]:a.length>0&&(l=E(a[0])),c([De(e),u.kind,l?[" ",l]:"",E(a.slice(1).map(y=>[",",p&&!o?A:x,y])),t.semi&&!(o&&s.body!==u)?";":""])}case"WithStatement":return c(["with (",n("object"),")",Je(u.body,n("body"))]);case"IfStatement":{let a=Je(u.consequent,n("consequent")),s=[c(["if (",c([E([m,n("test")]),m]),")",a])];if(u.alternate){let o=g(u.consequent,b.Trailing|b.Line)||Fu(u),p=u.consequent.type==="BlockStatement"&&!o;s.push(p?" ":A),g(u,b.Dangling)&&s.push(X(e,t),o?A:" "),s.push("else",c(Je(u.alternate,n("alternate"),u.alternate.type==="IfStatement")))}return s}case"ForStatement":{let a=Je(u.body,n("body")),s=X(e,t),o=s?[s,m]:"";return!u.init&&!u.test&&!u.update?[o,c(["for (;;)",a])]:[o,c(["for (",c([E([m,n("init"),";",x,n("test"),";",u.update?[x,n("update")]:k("",x)]),m]),")",a])]}case"WhileStatement":return c(["while (",c([E([m,n("test")]),m]),")",Je(u.body,n("body"))]);case"ForInStatement":return c(["for (",n("left")," in ",n("right"),")",Je(u.body,n("body"))]);case"ForOfStatement":return c(["for",u.await?" await":""," (",n("left")," of ",n("right"),")",Je(u.body,n("body"))]);case"DoWhileStatement":{let a=Je(u.body,n("body"));return[c(["do",a]),u.body.type==="BlockStatement"?" ":A,"while (",c([E([m,n("test")]),m]),")",t.semi?";":""]}case"DoExpression":return[u.async?"async ":"","do ",n("body")];case"BreakStatement":case"ContinueStatement":return[u.type==="BreakStatement"?"break":"continue",u.label?[" ",n("label")]:"",t.semi?";":""];case"LabeledStatement":return[n("label"),`:${u.body.type==="EmptyStatement"&&!g(u.body,b.Leading)?"":" "}`,n("body")];case"TryStatement":return["try ",n("block"),u.handler?[" ",n("handler")]:"",u.finalizer?[" finally ",n("finalizer")]:""];case"CatchClause":if(u.param){let a=g(u.param,o=>!he(o)||o.leading&&oe(t.originalText,N(o))||o.trailing&&oe(t.originalText,j(o),{backwards:!0})),s=n("param");return["catch ",a?["(",E([m,s]),m,") "]:["(",s,") "],n("body")]}return["catch ",n("body")];case"SwitchStatement":return[c(["switch (",E([m,n("discriminant")]),m,")"])," {",u.cases.length>0?E([A,M(A,e.map(({node:a,isLast:s})=>[n(),!s&&ke(a,t)?A:""],"cases"))]):"",A,"}"];case"SwitchCase":{let a=[];u.test?a.push("case ",n("test"),":"):a.push("default:"),g(u,b.Dangling)&&a.push(" ",X(e,t));let s=u.consequent.filter(o=>o.type!=="EmptyStatement");if(s.length>0){let o=On(e,t,n,"consequent");a.push(s.length===1&&s[0].type==="BlockStatement"?[" ",o]:E([A,o]))}return a}case"DebuggerStatement":return["debugger",t.semi?";":""];case"ClassDeclaration":case"ClassExpression":return fr(e,t,n);case"ClassMethod":case"ClassPrivateMethod":case"MethodDefinition":return Ia(e,t,n);case"ClassProperty":case"PropertyDefinition":case"ClassPrivateProperty":case"ClassAccessorProperty":case"AccessorProperty":return Na(e,t,n);case"TemplateElement":return ze(u.value.raw);case"TemplateLiteral":return Uu(e,t,n);case"TaggedTemplateExpression":return np(e,t,n);case"PrivateIdentifier":return["#",u.name];case"PrivateName":return["#",n("id")];case"TopicReference":return"%";case"ArgumentPlaceholder":return"?";case"ModuleExpression":return["module ",n("body")];case"VoidPattern":return"void";case"EmptyStatement":if(Vn(e))return";";default:throw new At(u,"ESTree")}}function Wa(e){return[e("elementType"),"[]"]}var PD=w(["SatisfiesExpression","TSSatisfiesExpression"]);function Ua(e,t,n){let{parent:r,node:u,key:a}=e,s=u.type==="AsConstExpression"?"const":n("typeAnnotation"),o=[n("expression")," ",PD(u)?"satisfies":"as"," ",s];return a==="callee"&&L(r)||a==="object"&&R(r)?c([E([m,...o]),m]):o}function kD(e,t,n){let{node:r}=e,u=[De(e),"component"];r.id&&u.push(" ",n("id")),u.push(n("typeParameters"));let a=wD(e,t,n);return r.rendersType?u.push(c([a," ",n("rendersType")])):u.push(c([a])),r.body&&u.push(" ",n("body")),t.semi&&r.type==="DeclareComponent"&&u.push(";"),u}function wD(e,t,n){let{node:r}=e,u=r.params;if(r.rest&&(u=[...u,r.rest]),u.length===0)return["(",X(e,t,{filter:s=>ge(t.originalText,N(s))===")"}),")"];let a=[];return ND(e,(s,o)=>{let p=o===u.length-1;p&&r.rest&&a.push("..."),a.push(n()),!p&&(a.push(","),ke(u[o],t)?a.push(A,A):a.push(x))}),["(",E([m,...a]),k(Pe(t,"all")&&!ID(r,u)?",":""),m,")"]}function ID(e,t){return e.rest||O(0,t,-1)?.type==="RestElement"}function ND(e,t){let{node:n}=e,r=0,u=a=>t(a,r++);e.each(u,"params"),n.rest&&e.call(u,"rest")}function jD(e,t,n){let{node:r}=e;return r.shorthand?n("local"):[n("name")," as ",n("local")]}function MD(e,t,n){let{node:r}=e,u=[];return r.name&&u.push(n("name"),r.optional?"?: ":": "),u.push(n("typeAnnotation")),u}function $a(e,t,n){return mr(e,t,n)}function LD(e,t,n){let{node:r}=e;return[r.type==="EnumSymbolBody"||r.explicitType?`of ${r.type.slice(4,-4).toLowerCase()} `:"",$a(e,t,n)]}function Ga(e,t){let{node:n}=e,r=t("id");n.computed&&(r=["[",r,"]"]);let u="";return n.initializer&&(u=t("initializer")),n.init&&(u=t("init")),u?[r," = ",u]:r}function Va(e,t){let{node:n}=e;return[De(e),n.const?"const ":"","enum ",t("id")," ",t("body")]}function Ka(e,t,n){let{node:r}=e,u=[sn(e)];(r.type==="TSConstructorType"||r.type==="TSConstructSignatureDeclaration")&&u.push("new ");let a=ut(e,t,n,!1,!0),s=[];return r.type==="FunctionTypeAnnotation"?s.push(OD(e)?" => ":": ",n("returnType")):s.push(Z(e,n,"returnType")),Et(r,s)&&(a=c(a)),u.push(a,s),[c(u),r.type==="TSConstructSignatureDeclaration"||r.type==="TSCallSignatureDeclaration"?Ie(e,t):""]}function OD(e){let{node:t,parent:n}=e;return t.type==="FunctionTypeAnnotation"&&(yu(n)||!((n.type==="ObjectTypeProperty"||n.type==="ObjectTypeInternalSlot")&&!n.variance&&!n.optional&&nn(n,t)||n.type==="ObjectTypeCallProperty"||e.getParentNode(2)?.type==="DeclareFunction"))}function JD(e,t,n){let{node:r}=e,u=["hook"];r.id&&u.push(" ",n("id"));let a=ut(e,t,n,!1,!0),s=pn(e,n),o=Et(r,s);return u.push(c([o?c(a):a,s]),r.body?" ":"",n("body")),u}function qD(e,t,n){let{node:r}=e,u=[De(e),"hook"];return r.id&&u.push(" ",n("id")),t.semi&&u.push(";"),u}function Kr(e){let{node:t}=e;return t.type==="HookTypeAnnotation"&&e.getParentNode(2)?.type==="DeclareHook"}function XD(e,t,n){let{node:r}=e,u=ut(e,t,n,!1,!0),a=[Kr(e)?": ":" => ",n("returnType")];return c([Kr(e)?"":"hook ",Et(r,a)?c(u):u,a])}function Ha(e,t,n){return[n("objectType"),ue(e),"[",n("indexType"),"]"]}function za(e,t,n){return["infer ",n("typeParameter")]}function Ya(e,t,n){let r=!1;return c(e.map(({isFirst:u,previous:a,node:s,index:o})=>{let p=n();if(u)return p;let l=Xe(s),y=Xe(a);return y&&l?[" & ",r?E(p):p]:!y&&!l||Ee(t.originalText,s)?t.experimentalOperatorPosition==="start"?E([x,"& ",p]):E([" &",x,p]):(o>1&&(r=!0),[" & ",o>1?E(p):p])},"types"))}function RD(e){switch(e){case null:return"";case"PlusOptional":return"+?";case"MinusOptional":return"-?";case"Optional":return"?"}}function _D(e,t,n){let{node:r}=e;return[c([r.variance?n("variance"):"","[",E([n("keyTparam")," in ",n("sourceType")]),"]",RD(r.optional),": ",n("propType")]),Ie(e,t)]}function Hr(e,t){return e==="+"||e==="-"?e+t:t}function WD(e,t,n){let{node:r}=e,u=!1;if(t.objectWrap==="preserve"){let a=j(r),s=ln(t,a+1,j(r.key)),o=a+1+s.search(/\S/u);ce(t.originalText,a,o)&&(u=!0)}return c(["{",E([t.bracketSpacing?x:m,g(r,b.Dangling)?c([X(e,t),A]):"",c([r.readonly?[Hr(r.readonly,"readonly")," "]:"","[",n("key")," in ",n("constraint"),r.nameType?[" as ",n("nameType")]:"","]",r.optional?Hr(r.optional,"?"):"",r.typeAnnotation?": ":"",n("typeAnnotation")]),t.semi?k(";"):""]),t.bracketSpacing?x:m,"}"],{shouldBreak:u})}function UD(e,t,n){let{node:r}=e;return[c(["match (",E([m,n("argument")]),m,")"])," {",r.cases.length>0?E([A,M(A,e.map(({node:u,isLast:a})=>[n(),!a&&ke(u,t)?A:""],"cases"))]):"",A,"}"]}function $D(e,t,n){let{node:r}=e,u=g(r,b.Dangling)?[" ",X(e,t)]:[],a=r.type==="MatchStatementCase"?[" ",n("body")]:E([x,n("body"),","]);return[n("pattern"),r.guard?c([E([x,"if (",n("guard"),")"])]):"",c([" =>",u,a])]}function GD(e,t,n){let{node:r}=e;switch(r.type){case"MatchOrPattern":return HD(e,t,n);case"MatchAsPattern":return[n("pattern")," as ",n("target")];case"MatchWildcardPattern":return["_"];case"MatchLiteralPattern":return n("literal");case"MatchUnaryPattern":return[r.operator,n("argument")];case"MatchIdentifierPattern":return n("id");case"MatchMemberPattern":{let u=r.property.type==="Identifier"?[".",n("property")]:["[",E([m,n("property")]),m,"]"];return c([n("base"),u])}case"MatchBindingPattern":return[r.kind," ",n("id")];case"MatchObjectPattern":{let u=e.map(n,"properties");return r.rest&&u.push(n("rest")),c(["{",E([m,M([",",x],u)]),r.rest?"":k(","),m,"}"])}case"MatchArrayPattern":{let u=e.map(n,"elements");return r.rest&&u.push(n("rest")),c(["[",E([m,M([",",x],u)]),r.rest?"":k(","),m,"]"])}case"MatchObjectPatternProperty":return r.shorthand?n("pattern"):c([n("key"),":",E([x,n("pattern")])]);case"MatchRestPattern":{let u=["..."];return r.argument&&u.push(n("argument")),u}}}var Qa=w(["MatchWildcardPattern","MatchLiteralPattern","MatchUnaryPattern","MatchIdentifierPattern"]);function VD(e){let{patterns:t}=e;if(t.some(r=>g(r)))return!1;let n=t.find(r=>r.type==="MatchObjectPattern");return n?t.every(r=>r===n||Qa(r)):!1}function KD(e){return Qa(e)||e.type==="MatchObjectPattern"?!0:e.type==="MatchOrPattern"?VD(e):!1}function HD(e,t,n){let{node:r}=e,{parent:u}=e,a=u.type!=="MatchStatementCase"&&u.type!=="MatchExpressionCase"&&u.type!=="MatchArrayPattern"&&u.type!=="MatchObjectPatternProperty"&&!Ee(t.originalText,r),s=KD(r),o=e.map(()=>{let l=n();return s||(l=Ce(2,l)),de(e,l,t)},"patterns");if(s)return M(" | ",o);let p=[k(["| "]),M([x,"| "],o)];return Ge(e,t)?c([E([k([m]),p]),m]):u.type==="MatchArrayPattern"&&u.elements.length>1?c([E([k(["(",m]),p]),m,k(")")]):c(a?E(p):p)}function zD(e,t,n){let{node:r}=e,u=[De(e),"opaque type ",n("id"),n("typeParameters")];if(r.supertype&&u.push(": ",n("supertype")),r.lowerBound||r.upperBound){let a=[];r.lowerBound&&a.push(E([x,"super ",n("lowerBound")])),r.upperBound&&a.push(E([x,"extends ",n("upperBound")])),u.push(c(a))}return r.impltype&&u.push(" = ",n("impltype")),u.push(t.semi?";":""),u}function Za(e,t,n){let{node:r}=e;return["...",...r.type==="TupleTypeSpreadElement"&&r.label?[n("label"),": "]:[],n("typeAnnotation")]}function es(e,t,n){let{node:r}=e;return[r.variance?n("variance"):"",n("label"),r.optional?"?":"",": ",n("elementType")]}function ts(e,t,n){let{node:r}=e,u=[De(e),"type ",n("id"),n("typeParameters")],a=r.type==="TSTypeAliasDeclaration"?"typeAnnotation":"right";return[qt(e,t,n,u," =",a),t.semi?";":""]}function YD(e,t,n){let{node:r}=e;return te(r).length===1&&r.type.startsWith("TS")&&!r[n][0].constraint&&e.parent.type==="ArrowFunctionExpression"&&!(t.filepath&&/\.ts$/u.test(t.filepath))}function Pt(e,t,n,r){let{node:u}=e;if(!u[r])return"";if(!Array.isArray(u[r]))return n(r);let a=rn(e.grandparent),s=e.match(p=>!(p[r].length===1&&Xe(p[r][0])),void 0,(p,l)=>l==="typeAnnotation",p=>p.type==="Identifier",Da);if(u[r].length===0||!s&&(a||u[r].length===1&&(u[r][0].type==="NullableTypeAnnotation"||Al(u[r][0]))))return["<",M(", ",e.map(n,r)),QD(e,t),">"];let o=u.type==="TSTypeParameterInstantiation"?"":YD(e,t,r)?",":Pe(t)?k(","):"";return c(["<",E([m,M([",",x],e.map(n,r))]),o,m,">"])}function QD(e,t){let{node:n}=e;if(!g(n,b.Dangling))return"";let r=!g(n,b.Line),u=X(e,t,{indent:!r});return r?u:[u,A]}function ns(e,t,n){let{node:r}=e,u=[r.const?"const ":""],a=r.type==="TSTypeParameter"?n("name"):r.name;if(r.variance&&u.push(n("variance")),r.in&&u.push("in "),r.out&&u.push("out "),u.push(a),r.bound&&(r.usesExtendsBound&&u.push(" extends "),u.push(Z(e,n,"bound"))),r.constraint){let s=Symbol("constraint");u.push(" extends",c(E(x),{id:s}),ve,It(n("constraint"),{groupId:s}))}if(r.default){let s=Symbol("default");u.push(" =",c(E(x),{id:s}),ve,It(n("default"),{groupId:s}))}return c(u)}function rs(e,t){let{node:n}=e;return[n.type==="TSTypePredicate"&&n.asserts?"asserts ":n.type==="TypePredicate"&&n.kind?`${n.kind} `:"",t("parameterName"),n.typeAnnotation?[" is ",Z(e,t)]:""]}function us({node:e},t){let n=e.type==="TSTypeQuery"?"exprName":"argument";return["typeof ",t(n),t("typeArguments")]}function ZD(e,t,n){let{node:r}=e;if(iu(r))return r.type.slice(0,-14).toLowerCase();switch(r.type){case"ComponentDeclaration":case"DeclareComponent":case"ComponentTypeAnnotation":return kD(e,t,n);case"ComponentParameter":return jD(e,t,n);case"ComponentTypeParameter":return MD(e,t,n);case"HookDeclaration":return JD(e,t,n);case"DeclareHook":return qD(e,t,n);case"HookTypeAnnotation":return XD(e,t,n);case"DeclareFunction":return[De(e),"function ",n("id"),n("predicate"),t.semi?";":""];case"DeclareModule":return["declare module ",n("id")," ",n("body")];case"DeclareModuleExports":return["declare module.exports",Z(e,n),t.semi?";":""];case"DeclareNamespace":return["declare namespace ",n("id")," ",n("body")];case"DeclareVariable":return[De(e),r.kind??"var"," ",n("id"),t.semi?";":""];case"DeclareExportDeclaration":case"DeclareExportAllDeclaration":return Oa(e,t,n);case"DeclareOpaqueType":case"OpaqueType":return zD(e,t,n);case"DeclareTypeAlias":case"TypeAlias":return ts(e,t,n);case"IntersectionTypeAnnotation":return Ya(e,t,n);case"UnionTypeAnnotation":return ta(e,t,n);case"ConditionalTypeAnnotation":return Er(e,t,n);case"InferTypeAnnotation":return za(e,t,n);case"FunctionTypeAnnotation":return Ka(e,t,n);case"TupleTypeAnnotation":return lr(e,t,n);case"TupleTypeLabeledElement":return es(e,t,n);case"TupleTypeSpreadElement":return Za(e,t,n);case"GenericTypeAnnotation":return[n("id"),Pt(e,t,n,"typeParameters")];case"IndexedAccessType":case"OptionalIndexedAccessType":return Ha(e,t,n);case"TypeAnnotation":return ua(e,t,n);case"TypeParameter":return ns(e,t,n);case"TypeofTypeAnnotation":return us(e,n);case"ExistsTypeAnnotation":return"*";case"ArrayTypeAnnotation":return Wa(n);case"DeclareEnum":case"EnumDeclaration":return Va(e,n);case"EnumBooleanBody":case"EnumNumberBody":case"EnumBigIntBody":case"EnumStringBody":case"EnumSymbolBody":return LD(e,t,n);case"EnumBooleanMember":case"EnumNumberMember":case"EnumBigIntMember":case"EnumStringMember":case"EnumDefaultedMember":return Ga(e,n);case"FunctionTypeParam":{let u=r.name?n("name"):e.parent.this===r?"this":"";return[u,ue(e),u?": ":"",n("typeAnnotation")]}case"DeclareClass":case"DeclareInterface":case"InterfaceDeclaration":case"InterfaceTypeAnnotation":return fr(e,t,n);case"ObjectTypeAnnotation":return dr(e,t,n);case"ClassImplements":case"InterfaceExtends":return[n("id"),n("typeParameters")];case"NullableTypeAnnotation":return["?",n("typeAnnotation")];case"Variance":{let{kind:u}=r;return u==="plus"?"+":"-"}case"KeyofTypeAnnotation":return["keyof ",n("argument")];case"ObjectTypeCallProperty":return[r.static?"static ":"",n("value"),Ie(e,t)];case"ObjectTypeMappedTypeProperty":return _D(e,t,n);case"ObjectTypeIndexer":return[r.static?"static ":"",r.variance?n("variance"):"","[",n("id"),r.id?": ":"",n("key"),"]: ",n("value"),Ie(e,t)];case"ObjectTypeProperty":{let u="";return r.proto?u="proto ":r.static&&(u="static "),[u,r.kind!=="init"?r.kind+" ":"",r.variance?n("variance"):"",Xt(e,t,n),ue(e),Lt(r)?"":": ",n("value"),Ie(e,t)]}case"ObjectTypeInternalSlot":return[r.static?"static ":"","[[",n("id"),"]]",ue(e),r.method?"":": ",n("value"),Ie(e,t)];case"ObjectTypeSpreadProperty":return qn(e,n);case"QualifiedTypeofIdentifier":case"QualifiedTypeIdentifier":return[n("qualification"),".",n("id")];case"NullLiteralTypeAnnotation":return"null";case"BooleanLiteralTypeAnnotation":return String(r.value);case"StringLiteralTypeAnnotation":return ze(ct(ie(r),t));case"NumberLiteralTypeAnnotation":return dt(ie(r));case"BigIntLiteralTypeAnnotation":return Jn(ie(r));case"TypeCastExpression":return["(",n("expression"),Z(e,n),")"];case"TypePredicate":return rs(e,n);case"TypeOperator":return[r.operator," ",n("typeAnnotation")];case"TypeParameterDeclaration":case"TypeParameterInstantiation":return Pt(e,t,n,"params");case"InferredPredicate":case"DeclaredPredicate":return[e.key==="predicate"&&e.parent.type!=="DeclareFunction"&&!e.parent.returnType?": ":" ","%checks",...r.type==="DeclaredPredicate"?["(",n("value"),")"]:[]];case"AsExpression":case"AsConstExpression":case"SatisfiesExpression":return Ua(e,t,n);case"MatchExpression":case"MatchStatement":return UD(e,t,n);case"MatchExpressionCase":case"MatchStatementCase":return $D(e,t,n);case"MatchOrPattern":case"MatchAsPattern":case"MatchWildcardPattern":case"MatchLiteralPattern":case"MatchUnaryPattern":case"MatchIdentifierPattern":case"MatchMemberPattern":case"MatchBindingPattern":case"MatchObjectPattern":case"MatchObjectPatternProperty":case"MatchRestPattern":case"MatchArrayPattern":return GD(e,t,n)}}function ey(e,t,n){let{node:r}=e,u=r.parameters.length>1?k(Pe(t)?",":""):"",a=c([E([m,M([", ",m],e.map(n,"parameters"))]),u,m]);return[e.key==="body"&&e.parent.type==="ClassBody"&&r.static?"static ":"",r.readonly?"readonly ":"","[",r.parameters?a:"","]",Z(e,n),Ie(e,t)]}function zr(e,t,n){let{node:r}=e;return[r.postfix?"":n,Z(e,t),r.postfix?n:""]}function ty(e,t,n){let{node:r}=e,u=[],a=r.kind&&r.kind!=="method"?`${r.kind} `:"";u.push(on(r),a,r.computed?"[":"",n("key"),r.computed?"]":"",ue(e));let s=ut(e,t,n,!1,!0),o=Z(e,n,"returnType"),p=Et(r,o);return u.push(p?c(s):s),r.returnType&&u.push(c(o)),[c(u),Ie(e,t)]}function ny(e,t,n){let{node:r}=e;return[De(e),r.kind==="global"?"":`${r.kind} `,n("id"),r.body?[" ",c(n("body"))]:t.semi?";":""]}function ry(e,t,n){let{node:r}=e,u=!(ee(r.expression)||Ae(r.expression)),a=c(["<",E([m,n("typeAnnotation")]),m,">"]),s=[k("("),E([m,n("expression")]),m,k(")")];return u?Ke([[a,n("expression")],[a,c(s,{shouldBreak:!0})],[a,n("expression")]]):c([a,n("expression")])}function uy(e,t,n){let{node:r}=e;if(r.type.startsWith("TS")){if(pu(r))return r.type.slice(2,-7).toLowerCase();switch(r.type){case"TSThisType":return"this";case"TSTypeAssertion":return ry(e,t,n);case"TSDeclareFunction":return fa(e,t,n);case"TSExportAssignment":return["export = ",n("expression"),t.semi?";":""];case"TSModuleBlock":return ba(e,t,n);case"TSInterfaceBody":case"TSTypeLiteral":return dr(e,t,n);case"TSTypeAliasDeclaration":return ts(e,t,n);case"TSQualifiedName":return[n("left"),".",n("right")];case"TSAbstractMethodDefinition":case"TSDeclareMethod":return Ia(e,t,n);case"TSAbstractAccessorProperty":case"TSAbstractPropertyDefinition":return Na(e,t,n);case"TSInterfaceHeritage":case"TSClassImplements":case"TSInstantiationExpression":return[n("expression"),n("typeArguments")];case"TSTemplateLiteralType":return Uu(e,t,n);case"TSNamedTupleMember":return es(e,t,n);case"TSRestType":return Za(e,t,n);case"TSOptionalType":return[n("typeAnnotation"),"?"];case"TSInterfaceDeclaration":return fr(e,t,n);case"TSTypeParameterDeclaration":case"TSTypeParameterInstantiation":return Pt(e,t,n,"params");case"TSTypeParameter":return ns(e,t,n);case"TSAsExpression":case"TSSatisfiesExpression":return Ua(e,t,n);case"TSArrayType":return Wa(n);case"TSPropertySignature":return[r.readonly?"readonly ":"",Xt(e,t,n),ue(e),Z(e,n),Ie(e,t)];case"TSParameterProperty":return[on(r),r.static?"static ":"",r.override?"override ":"",r.readonly?"readonly ":"",n("parameter")];case"TSTypeQuery":return us(e,n);case"TSIndexSignature":return ey(e,t,n);case"TSTypePredicate":return rs(e,n);case"TSNonNullExpression":return[n("expression"),"!"];case"TSImportType":return[tn(e,t,n),r.qualifier?[".",n("qualifier")]:"",Pt(e,t,n,"typeArguments")];case"TSLiteralType":return n("literal");case"TSIndexedAccessType":return Ha(e,t,n);case"TSTypeOperator":return[r.operator," ",n("typeAnnotation")];case"TSMappedType":return WD(e,t,n);case"TSMethodSignature":return ty(e,t,n);case"TSNamespaceExportDeclaration":return["export as namespace ",n("id"),t.semi?";":""];case"TSEnumDeclaration":return Va(e,n);case"TSEnumBody":return $a(e,t,n);case"TSEnumMember":return Ga(e,n);case"TSImportEqualsDeclaration":return["import ",Ja(r,!1),n("id")," = ",n("moduleReference"),t.semi?";":""];case"TSExternalModuleReference":return tn(e,t,n);case"TSModuleDeclaration":return ny(e,t,n);case"TSConditionalType":return Er(e,t,n);case"TSInferType":return za(e,t,n);case"TSIntersectionType":return Ya(e,t,n);case"TSUnionType":return ta(e,t,n);case"TSFunctionType":case"TSCallSignatureDeclaration":case"TSConstructorType":case"TSConstructSignatureDeclaration":return Ka(e,t,n);case"TSTupleType":return lr(e,t,n);case"TSTypeReference":return[n("typeName"),Pt(e,t,n,"typeArguments")];case"TSTypeAnnotation":return ua(e,t,n);case"TSEmptyBodyFunctionExpression":return cr(e,t,n);case"TSJSDocAllType":return"*";case"TSJSDocUnknownType":return"?";case"TSJSDocNullableType":return zr(e,n,"?");case"TSJSDocNonNullableType":return zr(e,n,"!");default:throw new At(r,"TypeScript")}}}function ay(e,t,n,r){for(let u of[Bc,hc,ZD,uy,vD]){let a=u(e,t,n,r);if(a!==void 0)return a}}var sy=w(["ClassMethod","ClassPrivateMethod","ClassProperty","ClassAccessorProperty","AccessorProperty","TSAbstractAccessorProperty","PropertyDefinition","TSAbstractPropertyDefinition","ClassPrivateProperty","MethodDefinition","TSAbstractMethodDefinition","TSDeclareMethod"]);function oy(e,t,n,r){e.isRoot&&t.__onHtmlBindingRoot?.(e.node,t);let{node:u}=e,a=yr(e)?t.originalText.slice(j(u),N(u)):ay(e,t,n,r);if(!a)return"";if(sy(u))return a;let s=_(u.decorators),o=Ic(e,t,n),p=u.type==="ClassExpression";if(s&&!p)return Pn(a,D=>c([o,D]));let l=Ge(e,t),y=nc(e,t);return!o&&!l&&!y?a:Pn(a,D=>[y?";":"",l?"(":"",l&&p&&s?[E([x,o,D]),x]:[o,D],l?")":""])}var Yr=oy,iy={experimental_avoidAstMutation:!0},py=[{name:"JSON.stringify",type:"data",aceMode:"json",extensions:[".importmap"],filenames:["package.json","package-lock.json","composer.json"],tmScope:"source.json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json-stringify"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON",type:"data",aceMode:"json",extensions:[".json",".4DForm",".4DProject",".avsc",".geojson",".gltf",".har",".ice",".JSON-tmLanguage",".json.example",".mcmeta",".sarif",".tact",".tfstate",".tfstate.backup",".topojson",".webapp",".webmanifest",".yy",".yyp"],filenames:[".all-contributorsrc",".arcconfig",".auto-changelog",".c8rc",".htmlhintrc",".imgbotconfig",".nycrc",".tern-config",".tern-project",".watchmanconfig",".babelrc",".jscsrc",".jshintrc",".jslintrc",".swcrc"],tmScope:"source.json",aliases:["geojson","jsonl","sarif","topojson"],codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json"],vscodeLanguageIds:["json"],linguistLanguageId:174},{name:"JSON with Comments",type:"data",aceMode:"javascript",extensions:[".jsonc",".code-snippets",".code-workspace",".sublime-build",".sublime-color-scheme",".sublime-commands",".sublime-completions",".sublime-keymap",".sublime-macro",".sublime-menu",".sublime-mousemap",".sublime-project",".sublime-settings",".sublime-theme",".sublime-workspace",".sublime_metrics",".sublime_session"],filenames:[],tmScope:"source.json.comments",aliases:["jsonc"],codemirrorMode:"javascript",codemirrorMimeType:"text/javascript",group:"JSON",parsers:["jsonc"],vscodeLanguageIds:["jsonc"],linguistLanguageId:423},{name:"JSON5",type:"data",aceMode:"json5",extensions:[".json5"],tmScope:"source.js",codemirrorMode:"javascript",codemirrorMimeType:"application/json",parsers:["json5"],vscodeLanguageIds:["json5"],linguistLanguageId:175}],as={};Xn(as,{getVisitorKeys:()=>Dy,massageAstNode:()=>ss,print:()=>yy});var st=[[]],ly={JsonRoot:["node"],ArrayExpression:["elements"],ObjectExpression:["properties"],ObjectProperty:["key","value"],UnaryExpression:["argument"],NullLiteral:st[0],BooleanLiteral:st[0],StringLiteral:st[0],NumericLiteral:st[0],Identifier:st[0],TemplateLiteral:["quasis"],TemplateElement:st[0]},cy=su(ly),Dy=cy;function yy(e,t,n){let{node:r}=e;switch(r.type){case"JsonRoot":return[n("node"),A];case"ArrayExpression":{if(r.elements.length===0)return"[]";let u=e.map(()=>e.node===null?"null":n(),"elements");return["[",E([A,M([",",A],u)]),A,"]"]}case"ObjectExpression":return r.properties.length===0?"{}":["{",E([A,M([",",A],e.map(n,"properties"))]),A,"}"];case"ObjectProperty":return[n("key"),": ",n("value")];case"UnaryExpression":return[r.operator==="+"?"":r.operator,n("argument")];case"NullLiteral":return"null";case"BooleanLiteral":return r.value?"true":"false";case"StringLiteral":return JSON.stringify(r.value);case"NumericLiteral":return Qr(e)?JSON.stringify(String(r.value)):JSON.stringify(r.value);case"Identifier":return Qr(e)?JSON.stringify(r.name):r.name;case"TemplateLiteral":return n(["quasis",0]);case"TemplateElement":return JSON.stringify(r.value.cooked);default:throw new At(r,"JSON")}}function Qr(e){return e.key==="key"&&e.parent.type==="ObjectProperty"}var dy=new Set(["start","end","extra","loc","comments","leadingComments","trailingComments","innerComments","errors","range","tokens"]);function ss(e,t){let{type:n}=e;if(n==="ObjectProperty"){let{key:r}=e;r.type==="Identifier"?t.key={type:"StringLiteral",value:r.name}:r.type==="NumericLiteral"&&(t.key={type:"StringLiteral",value:String(r.value)});return}if(n==="UnaryExpression"&&e.operator==="+")return t.argument;if(n==="ArrayExpression"){for(let[r,u]of e.elements.entries())u===null&&t.elements.splice(r,0,{type:"NullLiteral"});return}if(n==="TemplateLiteral")return{type:"StringLiteral",value:e.quasis[0].value.cooked}}ss.ignoredProperties=dy;var Tt={bracketSpacing:{category:"Common",type:"boolean",default:!0,description:"Print spaces between brackets.",oppositeDescription:"Do not print spaces between brackets."},objectWrap:{category:"Common",type:"choice",default:"preserve",description:"How to wrap object literals.",choices:[{value:"preserve",description:"Keep as multi-line, if there is a newline between the opening brace and first property."},{value:"collapse",description:"Fit to a single line when possible."}]},singleQuote:{category:"Common",type:"boolean",default:!1,description:"Use single quotes instead of double quotes."},bracketSameLine:{category:"Common",type:"boolean",default:!1,description:"Put > of opening tags on the last line instead of on a new line."},singleAttributePerLine:{category:"Common",type:"boolean",default:!1,description:"Enforce single attribute per line in HTML, Vue and JSX."}},qe="JavaScript",fy={arrowParens:{category:qe,type:"choice",default:"always",description:"Include parentheses around a sole arrow function parameter.",choices:[{value:"always",description:"Always include parens. Example: `(x) => x`"},{value:"avoid",description:"Omit parens when possible. Example: `x => x`"}]},bracketSameLine:Tt.bracketSameLine,objectWrap:Tt.objectWrap,bracketSpacing:Tt.bracketSpacing,jsxBracketSameLine:{category:qe,type:"boolean",description:"Put > on the last line instead of at a new line.",deprecated:"2.4.0"},semi:{category:qe,type:"boolean",default:!0,description:"Print semicolons.",oppositeDescription:"Do not print semicolons, except at the beginning of lines which may need them."},experimentalOperatorPosition:{category:qe,type:"choice",default:"end",description:"Where to print operators when binary expressions wrap lines.",choices:[{value:"start",description:"Print operators at the start of new lines."},{value:"end",description:"Print operators at the end of previous lines."}]},experimentalTernaries:{category:qe,type:"boolean",default:!1,description:"Use curious ternaries, with the question mark after the condition.",oppositeDescription:"Default behavior of ternaries; keep question marks on the same line as the consequent."},singleQuote:Tt.singleQuote,jsxSingleQuote:{category:qe,type:"boolean",default:!1,description:"Use single quotes in JSX."},quoteProps:{category:qe,type:"choice",default:"as-needed",description:"Change when properties in objects are quoted.",choices:[{value:"as-needed",description:"Only add quotes around object properties where required."},{value:"consistent",description:"If at least one property in an object requires quotes, quote all properties."},{value:"preserve",description:"Respect the input use of quotes in object properties."}]},trailingComma:{category:qe,type:"choice",default:"all",description:"Print trailing commas wherever possible when multi-line.",choices:[{value:"all",description:"Trailing commas wherever possible (including function arguments)."},{value:"es5",description:"Trailing commas where valid in ES5 (objects, arrays, etc.)"},{value:"none",description:"No trailing commas."}]},singleAttributePerLine:Tt.singleAttributePerLine},os=fy,is={estree:eu,"estree-json":as},ps=[...fs,...py];exports.default=Zr;exports.languages=ps;exports.options=os;exports.printers=is;
|