All files / prettier/plugins estree.mjs

95.22% Statements 11789/12380
95.45% Branches 5732/6005
97.35% Functions 553/568
95.22% Lines 11789/12380

Press n or j to go to the next uncovered block, b, p or k for the previous block.

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696 697 698 699 700 701 702 703 704 705 706 707 708 709 710 711 712 713 714 715 716 717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762 763 764 765 766 767 768 769 770 771 772 773 774 775 776 777 778 779 780 781 782 783 784 785 786 787 788 789 790 791 792 793 794 795 796 797 798 799 800 801 802 803 804 805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827 828 829 830 831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861 862 863 864 865 866 867 868 869 870 871 872 873 874 875 876 877 878 879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923 924 925 926 927 928 929 930 931 932 933 934 935 936 937 938 939 940 941 942 943 944 945 946 947 948 949 950 951 952 953 954 955 956 957 958 959 960 961 962 963 964 965 966 967 968 969 970 971 972 973 974 975 976 977 978 979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011 1012 1013 1014 1015 1016 1017 1018 1019 1020 1021 1022 1023 1024 1025 1026 1027 1028 1029 1030 1031 1032 1033 1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067 1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080 1081 1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100 1101 1102 1103 1104 1105 1106 1107 1108 1109 1110 1111 1112 1113 1114 1115 1116 1117 1118 1119 1120 1121 1122 1123 1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 1137 1138 1139 1140 1141 1142 1143 1144 1145 1146 1147 1148 1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197 1198 1199 1200 1201 1202 1203 1204 1205 1206 1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 1227 1228 1229 1230 1231 1232 1233 1234 1235 1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 1246 1247 1248 1249 1250 1251 1252 1253 1254 1255 1256 1257 1258 1259 1260 1261 1262 1263 1264 1265 1266 1267 1268 1269 1270 1271 1272 1273 1274 1275 1276 1277 1278 1279 1280 1281 1282 1283 1284 1285 1286 1287 1288 1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 1303 1304 1305 1306 1307 1308 1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325 1326 1327 1328 1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366 1367 1368 1369 1370 1371 1372 1373 1374 1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 1389 1390 1391 1392 1393 1394 1395 1396 1397 1398 1399 1400 1401 1402 1403 1404 1405 1406 1407 1408 1409 1410 1411 1412 1413 1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 1424 1425 1426 1427 1428 1429 1430 1431 1432 1433 1434 1435 1436 1437 1438 1439 1440 1441 1442 1443 1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 1469 1470 1471 1472 1473 1474 1475 1476 1477 1478 1479 1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498 1499 1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518 1519 1520 1521 1522 1523 1524 1525 1526 1527 1528 1529 1530 1531 1532 1533 1534 1535 1536 1537 1538 1539 1540 1541 1542 1543 1544 1545 1546 1547 1548 1549 1550 1551 1552 1553 1554 1555 1556 1557 1558 1559 1560 1561 1562 1563 1564 1565 1566 1567 1568 1569 1570 1571 1572 1573 1574 1575 1576 1577 1578 1579 1580 1581 1582 1583 1584 1585 1586 1587 1588 1589 1590 1591 1592 1593 1594 1595 1596 1597 1598 1599 1600 1601 1602 1603 1604 1605 1606 1607 1608 1609 1610 1611 1612 1613 1614 1615 1616 1617 1618 1619 1620 1621 1622 1623 1624 1625 1626 1627 1628 1629 1630 1631 1632 1633 1634 1635 1636 1637 1638 1639 1640 1641 1642 1643 1644 1645 1646 1647 1648 1649 1650 1651 1652 1653 1654 1655 1656 1657 1658 1659 1660 1661 1662 1663 1664 1665 1666 1667 1668 1669 1670 1671 1672 1673 1674 1675 1676 1677 1678 1679 1680 1681 1682 1683 1684 1685 1686 1687 1688 1689 1690 1691 1692 1693 1694 1695 1696 1697 1698 1699 1700 1701 1702 1703 1704 1705 1706 1707 1708 1709 1710 1711 1712 1713 1714 1715 1716 1717 1718 1719 1720 1721 1722 1723 1724 1725 1726 1727 1728 1729 1730 1731 1732 1733 1734 1735 1736 1737 1738 1739 1740 1741 1742 1743 1744 1745 1746 1747 1748 1749 1750 1751 1752 1753 1754 1755 1756 1757 1758 1759 1760 1761 1762 1763 1764 1765 1766 1767 1768 1769 1770 1771 1772 1773 1774 1775 1776 1777 1778 1779 1780 1781 1782 1783 1784 1785 1786 1787 1788 1789 1790 1791 1792 1793 1794 1795 1796 1797 1798 1799 1800 1801 1802 1803 1804 1805 1806 1807 1808 1809 1810 1811 1812 1813 1814 1815 1816 1817 1818 1819 1820 1821 1822 1823 1824 1825 1826 1827 1828 1829 1830 1831 1832 1833 1834 1835 1836 1837 1838 1839 1840 1841 1842 1843 1844 1845 1846 1847 1848 1849 1850 1851 1852 1853 1854 1855 1856 1857 1858 1859 1860 1861 1862 1863 1864 1865 1866 1867 1868 1869 1870 1871 1872 1873 1874 1875 1876 1877 1878 1879 1880 1881 1882 1883 1884 1885 1886 1887 1888 1889 1890 1891 1892 1893 1894 1895 1896 1897 1898 1899 1900 1901 1902 1903 1904 1905 1906 1907 1908 1909 1910 1911 1912 1913 1914 1915 1916 1917 1918 1919 1920 1921 1922 1923 1924 1925 1926 1927 1928 1929 1930 1931 1932 1933 1934 1935 1936 1937 1938 1939 1940 1941 1942 1943 1944 1945 1946 1947 1948 1949 1950 1951 1952 1953 1954 1955 1956 1957 1958 1959 1960 1961 1962 1963 1964 1965 1966 1967 1968 1969 1970 1971 1972 1973 1974 1975 1976 1977 1978 1979 1980 1981 1982 1983 1984 1985 1986 1987 1988 1989 1990 1991 1992 1993 1994 1995 1996 1997 1998 1999 2000 2001 2002 2003 2004 2005 2006 2007 2008 2009 2010 2011 2012 2013 2014 2015 2016 2017 2018 2019 2020 2021 2022 2023 2024 2025 2026 2027 2028 2029 2030 2031 2032 2033 2034 2035 2036 2037 2038 2039 2040 2041 2042 2043 2044 2045 2046 2047 2048 2049 2050 2051 2052 2053 2054 2055 2056 2057 2058 2059 2060 2061 2062 2063 2064 2065 2066 2067 2068 2069 2070 2071 2072 2073 2074 2075 2076 2077 2078 2079 2080 2081 2082 2083 2084 2085 2086 2087 2088 2089 2090 2091 2092 2093 2094 2095 2096 2097 2098 2099 2100 2101 2102 2103 2104 2105 2106 2107 2108 2109 2110 2111 2112 2113 2114 2115 2116 2117 2118 2119 2120 2121 2122 2123 2124 2125 2126 2127 2128 2129 2130 2131 2132 2133 2134 2135 2136 2137 2138 2139 2140 2141 2142 2143 2144 2145 2146 2147 2148 2149 2150 2151 2152 2153 2154 2155 2156 2157 2158 2159 2160 2161 2162 2163 2164 2165 2166 2167 2168 2169 2170 2171 2172 2173 2174 2175 2176 2177 2178 2179 2180 2181 2182 2183 2184 2185 2186 2187 2188 2189 2190 2191 2192 2193 2194 2195 2196 2197 2198 2199 2200 2201 2202 2203 2204 2205 2206 2207 2208 2209 2210 2211 2212 2213 2214 2215 2216 2217 2218 2219 2220 2221 2222 2223 2224 2225 2226 2227 2228 2229 2230 2231 2232 2233 2234 2235 2236 2237 2238 2239 2240 2241 2242 2243 2244 2245 2246 2247 2248 2249 2250 2251 2252 2253 2254 2255 2256 2257 2258 2259 2260 2261 2262 2263 2264 2265 2266 2267 2268 2269 2270 2271 2272 2273 2274 2275 2276 2277 2278 2279 2280 2281 2282 2283 2284 2285 2286 2287 2288 2289 2290 2291 2292 2293 2294 2295 2296 2297 2298 2299 2300 2301 2302 2303 2304 2305 2306 2307 2308 2309 2310 2311 2312 2313 2314 2315 2316 2317 2318 2319 2320 2321 2322 2323 2324 2325 2326 2327 2328 2329 2330 2331 2332 2333 2334 2335 2336 2337 2338 2339 2340 2341 2342 2343 2344 2345 2346 2347 2348 2349 2350 2351 2352 2353 2354 2355 2356 2357 2358 2359 2360 2361 2362 2363 2364 2365 2366 2367 2368 2369 2370 2371 2372 2373 2374 2375 2376 2377 2378 2379 2380 2381 2382 2383 2384 2385 2386 2387 2388 2389 2390 2391 2392 2393 2394 2395 2396 2397 2398 2399 2400 2401 2402 2403 2404 2405 2406 2407 2408 2409 2410 2411 2412 2413 2414 2415 2416 2417 2418 2419 2420 2421 2422 2423 2424 2425 2426 2427 2428 2429 2430 2431 2432 2433 2434 2435 2436 2437 2438 2439 2440 2441 2442 2443 2444 2445 2446 2447 2448 2449 2450 2451 2452 2453 2454 2455 2456 2457 2458 2459 2460 2461 2462 2463 2464 2465 2466 2467 2468 2469 2470 2471 2472 2473 2474 2475 2476 2477 2478 2479 2480 2481 2482 2483 2484 2485 2486 2487 2488 2489 2490 2491 2492 2493 2494 2495 2496 2497 2498 2499 2500 2501 2502 2503 2504 2505 2506 2507 2508 2509 2510 2511 2512 2513 2514 2515 2516 2517 2518 2519 2520 2521 2522 2523 2524 2525 2526 2527 2528 2529 2530 2531 2532 2533 2534 2535 2536 2537 2538 2539 2540 2541 2542 2543 2544 2545 2546 2547 2548 2549 2550 2551 2552 2553 2554 2555 2556 2557 2558 2559 2560 2561 2562 2563 2564 2565 2566 2567 2568 2569 2570 2571 2572 2573 2574 2575 2576 2577 2578 2579 2580 2581 2582 2583 2584 2585 2586 2587 2588 2589 2590 2591 2592 2593 2594 2595 2596 2597 2598 2599 2600 2601 2602 2603 2604 2605 2606 2607 2608 2609 2610 2611 2612 2613 2614 2615 2616 2617 2618 2619 2620 2621 2622 2623 2624 2625 2626 2627 2628 2629 2630 2631 2632 2633 2634 2635 2636 2637 2638 2639 2640 2641 2642 2643 2644 2645 2646 2647 2648 2649 2650 2651 2652 2653 2654 2655 2656 2657 2658 2659 2660 2661 2662 2663 2664 2665 2666 2667 2668 2669 2670 2671 2672 2673 2674 2675 2676 2677 2678 2679 2680 2681 2682 2683 2684 2685 2686 2687 2688 2689 2690 2691 2692 2693 2694 2695 2696 2697 2698 2699 2700 2701 2702 2703 2704 2705 2706 2707 2708 2709 2710 2711 2712 2713 2714 2715 2716 2717 2718 2719 2720 2721 2722 2723 2724 2725 2726 2727 2728 2729 2730 2731 2732 2733 2734 2735 2736 2737 2738 2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 2751 2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 2763 2764 2765 2766 2767 2768 2769 2770 2771 2772 2773 2774 2775 2776 2777 2778 2779 2780 2781 2782 2783 2784 2785 2786 2787 2788 2789 2790 2791 2792 2793 2794 2795 2796 2797 2798 2799 2800 2801 2802 2803 2804 2805 2806 2807 2808 2809 2810 2811 2812 2813 2814 2815 2816 2817 2818 2819 2820 2821 2822 2823 2824 2825 2826 2827 2828 2829 2830 2831 2832 2833 2834 2835 2836 2837 2838 2839 2840 2841 2842 2843 2844 2845 2846 2847 2848 2849 2850 2851 2852 2853 2854 2855 2856 2857 2858 2859 2860 2861 2862 2863 2864 2865 2866 2867 2868 2869 2870 2871 2872 2873 2874 2875 2876 2877 2878 2879 2880 2881 2882 2883 2884 2885 2886 2887 2888 2889 2890 2891 2892 2893 2894 2895 2896 2897 2898 2899 2900 2901 2902 2903 2904 2905 2906 2907 2908 2909 2910 2911 2912 2913 2914 2915 2916 2917 2918 2919 2920 2921 2922 2923 2924 2925 2926 2927 2928 2929 2930 2931 2932 2933 2934 2935 2936 2937 2938 2939 2940 2941 2942 2943 2944 2945 2946 2947 2948 2949 2950 2951 2952 2953 2954 2955 2956 2957 2958 2959 2960 2961 2962 2963 2964 2965 2966 2967 2968 2969 2970 2971 2972 2973 2974 2975 2976 2977 2978 2979 2980 2981 2982 2983 2984 2985 2986 2987 2988 2989 2990 2991 2992 2993 2994 2995 2996 2997 2998 2999 3000 3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 3013 3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 3025 3026 3027 3028 3029 3030 3031 3032 3033 3034 3035 3036 3037 3038 3039 3040 3041 3042 3043 3044 3045 3046 3047 3048 3049 3050 3051 3052 3053 3054 3055 3056 3057 3058 3059 3060 3061 3062 3063 3064 3065 3066 3067 3068 3069 3070 3071 3072 3073 3074 3075 3076 3077 3078 3079 3080 3081 3082 3083 3084 3085 3086 3087 3088 3089 3090 3091 3092 3093 3094 3095 3096 3097 3098 3099 3100 3101 3102 3103 3104 3105 3106 3107 3108 3109 3110 3111 3112 3113 3114 3115 3116 3117 3118 3119 3120 3121 3122 3123 3124 3125 3126 3127 3128 3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 3141 3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 3153 3154 3155 3156 3157 3158 3159 3160 3161 3162 3163 3164 3165 3166 3167 3168 3169 3170 3171 3172 3173 3174 3175 3176 3177 3178 3179 3180 3181 3182 3183 3184 3185 3186 3187 3188 3189 3190 3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 3201 3202 3203 3204 3205 3206 3207 3208 3209 3210 3211 3212 3213 3214 3215 3216 3217 3218 3219 3220 3221 3222 3223 3224 3225 3226 3227 3228 3229 3230 3231 3232 3233 3234 3235 3236 3237 3238 3239 3240 3241 3242 3243 3244 3245 3246 3247 3248 3249 3250 3251 3252 3253 3254 3255 3256 3257 3258 3259 3260 3261 3262 3263 3264 3265 3266 3267 3268 3269 3270 3271 3272 3273 3274 3275 3276 3277 3278 3279 3280 3281 3282 3283 3284 3285 3286 3287 3288 3289 3290 3291 3292 3293 3294 3295 3296 3297 3298 3299 3300 3301 3302 3303 3304 3305 3306 3307 3308 3309 3310 3311 3312 3313 3314 3315 3316 3317 3318 3319 3320 3321 3322 3323 3324 3325 3326 3327 3328 3329 3330 3331 3332 3333 3334 3335 3336 3337 3338 3339 3340 3341 3342 3343 3344 3345 3346 3347 3348 3349 3350 3351 3352 3353 3354 3355 3356 3357 3358 3359 3360 3361 3362 3363 3364 3365 3366 3367 3368 3369 3370 3371 3372 3373 3374 3375 3376 3377 3378 3379 3380 3381 3382 3383 3384 3385 3386 3387 3388 3389 3390 3391 3392 3393 3394 3395 3396 3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 3409 3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 3421 3422 3423 3424 3425 3426 3427 3428 3429 3430 3431 3432 3433 3434 3435 3436 3437 3438 3439 3440 3441 3442 3443 3444 3445 3446 3447 3448 3449 3450 3451 3452 3453 3454 3455 3456 3457 3458 3459 3460 3461 3462 3463 3464 3465 3466 3467 3468 3469 3470 3471 3472 3473 3474 3475 3476 3477 3478 3479 3480 3481 3482 3483 3484 3485 3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 3498 3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 3510 3511 3512 3513 3514 3515 3516 3517 3518 3519 3520 3521 3522 3523 3524 3525 3526 3527 3528 3529 3530 3531 3532 3533 3534 3535 3536 3537 3538 3539 3540 3541 3542 3543 3544 3545 3546 3547 3548 3549 3550 3551 3552 3553 3554 3555 3556 3557 3558 3559 3560 3561 3562 3563 3564 3565 3566 3567 3568 3569 3570 3571 3572 3573 3574 3575 3576 3577 3578 3579 3580 3581 3582 3583 3584 3585 3586 3587 3588 3589 3590 3591 3592 3593 3594 3595 3596 3597 3598 3599 3600 3601 3602 3603 3604 3605 3606 3607 3608 3609 3610 3611 3612 3613 3614 3615 3616 3617 3618 3619 3620 3621 3622 3623 3624 3625 3626 3627 3628 3629 3630 3631 3632 3633 3634 3635 3636 3637 3638 3639 3640 3641 3642 3643 3644 3645 3646 3647 3648 3649 3650 3651 3652 3653 3654 3655 3656 3657 3658 3659 3660 3661 3662 3663 3664 3665 3666 3667 3668 3669 3670 3671 3672 3673 3674 3675 3676 3677 3678 3679 3680 3681 3682 3683 3684 3685 3686 3687 3688 3689 3690 3691 3692 3693 3694 3695 3696 3697 3698 3699 3700 3701 3702 3703 3704 3705 3706 3707 3708 3709 3710 3711 3712 3713 3714 3715 3716 3717 3718 3719 3720 3721 3722 3723 3724 3725 3726 3727 3728 3729 3730 3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 3743 3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 3755 3756 3757 3758 3759 3760 3761 3762 3763 3764 3765 3766 3767 3768 3769 3770 3771 3772 3773 3774 3775 3776 3777 3778 3779 3780 3781 3782 3783 3784 3785 3786 3787 3788 3789 3790 3791 3792 3793 3794 3795 3796 3797 3798 3799 3800 3801 3802 3803 3804 3805 3806 3807 3808 3809 3810 3811 3812 3813 3814 3815 3816 3817 3818 3819 3820 3821 3822 3823 3824 3825 3826 3827 3828 3829 3830 3831 3832 3833 3834 3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 3851 3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 3867 3868 3869 3870 3871 3872 3873 3874 3875 3876 3877 3878 3879 3880 3881 3882 3883 3884 3885 3886 3887 3888 3889 3890 3891 3892 3893 3894 3895 3896 3897 3898 3899 3900 3901 3902 3903 3904 3905 3906 3907 3908 3909 3910 3911 3912 3913 3914 3915 3916 3917 3918 3919 3920 3921 3922 3923 3924 3925 3926 3927 3928 3929 3930 3931 3932 3933 3934 3935 3936 3937 3938 3939 3940 3941 3942 3943 3944 3945 3946 3947 3948 3949 3950 3951 3952 3953 3954 3955 3956 3957 3958 3959 3960 3961 3962 3963 3964 3965 3966 3967 3968 3969 3970 3971 3972 3973 3974 3975 3976 3977 3978 3979 3980 3981 3982 3983 3984 3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 3997 3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 4009 4010 4011 4012 4013 4014 4015 4016 4017 4018 4019 4020 4021 4022 4023 4024 4025 4026 4027 4028 4029 4030 4031 4032 4033 4034 4035 4036 4037 4038 4039 4040 4041 4042 4043 4044 4045 4046 4047 4048 4049 4050 4051 4052 4053 4054 4055 4056 4057 4058 4059 4060 4061 4062 4063 4064 4065 4066 4067 4068 4069 4070 4071 4072 4073 4074 4075 4076 4077 4078 4079 4080 4081 4082 4083 4084 4085 4086 4087 4088 4089 4090 4091 4092 4093 4094 4095 4096 4097 4098 4099 4100 4101 4102 4103 4104 4105 4106 4107 4108 4109 4110 4111 4112 4113 4114 4115 4116 4117 4118 4119 4120 4121 4122 4123 4124 4125 4126 4127 4128 4129 4130 4131 4132 4133 4134 4135 4136 4137 4138 4139 4140 4141 4142 4143 4144 4145 4146 4147 4148 4149 4150 4151 4152 4153 4154 4155 4156 4157 4158 4159 4160 4161 4162 4163 4164 4165 4166 4167 4168 4169 4170 4171 4172 4173 4174 4175 4176 4177 4178 4179 4180 4181 4182 4183 4184 4185 4186 4187 4188 4189 4190 4191 4192 4193 4194 4195 4196 4197 4198 4199 4200 4201 4202 4203 4204 4205 4206 4207 4208 4209 4210 4211 4212 4213 4214 4215 4216 4217 4218 4219 4220 4221 4222 4223 4224 4225 4226 4227 4228 4229 4230 4231 4232 4233 4234 4235 4236 4237 4238 4239 4240 4241 4242 4243 4244 4245 4246 4247 4248 4249 4250 4251 4252 4253 4254 4255 4256 4257 4258 4259 4260 4261 4262 4263 4264 4265 4266 4267 4268 4269 4270 4271 4272 4273 4274 4275 4276 4277 4278 4279 4280 4281 4282 4283 4284 4285 4286 4287 4288 4289 4290 4291 4292 4293 4294 4295 4296 4297 4298 4299 4300 4301 4302 4303 4304 4305 4306 4307 4308 4309 4310 4311 4312 4313 4314 4315 4316 4317 4318 4319 4320 4321 4322 4323 4324 4325 4326 4327 4328 4329 4330 4331 4332 4333 4334 4335 4336 4337 4338 4339 4340 4341 4342 4343 4344 4345 4346 4347 4348 4349 4350 4351 4352 4353 4354 4355 4356 4357 4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 4372 4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 4386 4387 4388 4389 4390 4391 4392 4393 4394 4395 4396 4397 4398 4399 4400 4401 4402 4403 4404 4405 4406 4407 4408 4409 4410 4411 4412 4413 4414 4415 4416 4417 4418 4419 4420 4421 4422 4423 4424 4425 4426 4427 4428 4429 4430 4431 4432 4433 4434 4435 4436 4437 4438 4439 4440 4441 4442 4443 4444 4445 4446 4447 4448 4449 4450 4451 4452 4453 4454 4455 4456 4457 4458 4459 4460 4461 4462 4463 4464 4465 4466 4467 4468 4469 4470 4471 4472 4473 4474 4475 4476 4477 4478 4479 4480 4481 4482 4483 4484 4485 4486 4487 4488 4489 4490 4491 4492 4493 4494 4495 4496 4497 4498 4499 4500 4501 4502 4503 4504 4505 4506 4507 4508 4509 4510 4511 4512 4513 4514 4515 4516 4517 4518 4519 4520 4521 4522 4523 4524 4525 4526 4527 4528 4529 4530 4531 4532 4533 4534 4535 4536 4537 4538 4539 4540 4541 4542 4543 4544 4545 4546 4547 4548 4549 4550 4551 4552 4553 4554 4555 4556 4557 4558 4559 4560 4561 4562 4563 4564 4565 4566 4567 4568 4569 4570 4571 4572 4573 4574 4575 4576 4577 4578 4579 4580 4581 4582 4583 4584 4585 4586 4587 4588 4589 4590 4591 4592 4593 4594 4595 4596 4597 4598 4599 4600 4601 4602 4603 4604 4605 4606 4607 4608 4609 4610 4611 4612 4613 4614 4615 4616 4617 4618 4619 4620 4621 4622 4623 4624 4625 4626 4627 4628 4629 4630 4631 4632 4633 4634 4635 4636 4637 4638 4639 4640 4641 4642 4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 4659 4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 4675 4676 4677 4678 4679 4680 4681 4682 4683 4684 4685 4686 4687 4688 4689 4690 4691 4692 4693 4694 4695 4696 4697 4698 4699 4700 4701 4702 4703 4704 4705 4706 4707 4708 4709 4710 4711 4712 4713 4714 4715 4716 4717 4718 4719 4720 4721 4722 4723 4724 4725 4726 4727 4728 4729 4730 4731 4732 4733 4734 4735 4736 4737 4738 4739 4740 4741 4742 4743 4744 4745 4746 4747 4748 4749 4750 4751 4752 4753 4754 4755 4756 4757 4758 4759 4760 4761 4762 4763 4764 4765 4766 4767 4768 4769 4770 4771 4772 4773 4774 4775 4776 4777 4778 4779 4780 4781 4782 4783 4784 4785 4786 4787 4788 4789 4790 4791 4792 4793 4794 4795 4796 4797 4798 4799 4800 4801 4802 4803 4804 4805 4806 4807 4808 4809 4810 4811 4812 4813 4814 4815 4816 4817 4818 4819 4820 4821 4822 4823 4824 4825 4826 4827 4828 4829 4830 4831 4832 4833 4834 4835 4836 4837 4838 4839 4840 4841 4842 4843 4844 4845 4846 4847 4848 4849 4850 4851 4852 4853 4854 4855 4856 4857 4858 4859 4860 4861 4862 4863 4864 4865 4866 4867 4868 4869 4870 4871 4872 4873 4874 4875 4876 4877 4878 4879 4880 4881 4882 4883 4884 4885 4886 4887 4888 4889 4890 4891 4892 4893 4894 4895 4896 4897 4898 4899 4900 4901 4902 4903 4904 4905 4906 4907 4908 4909 4910 4911 4912 4913 4914 4915 4916 4917 4918 4919 4920 4921 4922 4923 4924 4925 4926 4927 4928 4929 4930 4931 4932 4933 4934 4935 4936 4937 4938 4939 4940 4941 4942 4943 4944 4945 4946 4947 4948 4949 4950 4951 4952 4953 4954 4955 4956 4957 4958 4959 4960 4961 4962 4963 4964 4965 4966 4967 4968 4969 4970 4971 4972 4973 4974 4975 4976 4977 4978 4979 4980 4981 4982 4983 4984 4985 4986 4987 4988 4989 4990 4991 4992 4993 4994 4995 4996 4997 4998 4999 5000 5001 5002 5003 5004 5005 5006 5007 5008 5009 5010 5011 5012 5013 5014 5015 5016 5017 5018 5019 5020 5021 5022 5023 5024 5025 5026 5027 5028 5029 5030 5031 5032 5033 5034 5035 5036 5037 5038 5039 5040 5041 5042 5043 5044 5045 5046 5047 5048 5049 5050 5051 5052 5053 5054 5055 5056 5057 5058 5059 5060 5061 5062 5063 5064 5065 5066 5067 5068 5069 5070 5071 5072 5073 5074 5075 5076 5077 5078 5079 5080 5081 5082 5083 5084 5085 5086 5087 5088 5089 5090 5091 5092 5093 5094 5095 5096 5097 5098 5099 5100 5101 5102 5103 5104 5105 5106 5107 5108 5109 5110 5111 5112 5113 5114 5115 5116 5117 5118 5119 5120 5121 5122 5123 5124 5125 5126 5127 5128 5129 5130 5131 5132 5133 5134 5135 5136 5137 5138 5139 5140 5141 5142 5143 5144 5145 5146 5147 5148 5149 5150 5151 5152 5153 5154 5155 5156 5157 5158 5159 5160 5161 5162 5163 5164 5165 5166 5167 5168 5169 5170 5171 5172 5173 5174 5175 5176 5177 5178 5179 5180 5181 5182 5183 5184 5185 5186 5187 5188 5189 5190 5191 5192 5193 5194 5195 5196 5197 5198 5199 5200 5201 5202 5203 5204 5205 5206 5207 5208 5209 5210 5211 5212 5213 5214 5215 5216 5217 5218 5219 5220 5221 5222 5223 5224 5225 5226 5227 5228 5229 5230 5231 5232 5233 5234 5235 5236 5237 5238 5239 5240 5241 5242 5243 5244 5245 5246 5247 5248 5249 5250 5251 5252 5253 5254 5255 5256 5257 5258 5259 5260 5261 5262 5263 5264 5265 5266 5267 5268 5269 5270 5271 5272 5273 5274 5275 5276 5277 5278 5279 5280 5281 5282 5283 5284 5285 5286 5287 5288 5289 5290 5291 5292 5293 5294 5295 5296 5297 5298 5299 5300 5301 5302 5303 5304 5305 5306 5307 5308 5309 5310 5311 5312 5313 5314 5315 5316 5317 5318 5319 5320 5321 5322 5323 5324 5325 5326 5327 5328 5329 5330 5331 5332 5333 5334 5335 5336 5337 5338 5339 5340 5341 5342 5343 5344 5345 5346 5347 5348 5349 5350 5351 5352 5353 5354 5355 5356 5357 5358 5359 5360 5361 5362 5363 5364 5365 5366 5367 5368 5369 5370 5371 5372 5373 5374 5375 5376 5377 5378 5379 5380 5381 5382 5383 5384 5385 5386 5387 5388 5389 5390 5391 5392 5393 5394 5395 5396 5397 5398 5399 5400 5401 5402 5403 5404 5405 5406 5407 5408 5409 5410 5411 5412 5413 5414 5415 5416 5417 5418 5419 5420 5421 5422 5423 5424 5425 5426 5427 5428 5429 5430 5431 5432 5433 5434 5435 5436 5437 5438 5439 5440 5441 5442 5443 5444 5445 5446 5447 5448 5449 5450 5451 5452 5453 5454 5455 5456 5457 5458 5459 5460 5461 5462 5463 5464 5465 5466 5467 5468 5469 5470 5471 5472 5473 5474 5475 5476 5477 5478 5479 5480 5481 5482 5483 5484 5485 5486 5487 5488 5489 5490 5491 5492 5493 5494 5495 5496 5497 5498 5499 5500 5501 5502 5503 5504 5505 5506 5507 5508 5509 5510 5511 5512 5513 5514 5515 5516 5517 5518 5519 5520 5521 5522 5523 5524 5525 5526 5527 5528 5529 5530 5531 5532 5533 5534 5535 5536 5537 5538 5539 5540 5541 5542 5543 5544 5545 5546 5547 5548 5549 5550 5551 5552 5553 5554 5555 5556 5557 5558 5559 5560 5561 5562 5563 5564 5565 5566 5567 5568 5569 5570 5571 5572 5573 5574 5575 5576 5577 5578 5579 5580 5581 5582 5583 5584 5585 5586 5587 5588 5589 5590 5591 5592 5593 5594 5595 5596 5597 5598 5599 5600 5601 5602 5603 5604 5605 5606 5607 5608 5609 5610 5611 5612 5613 5614 5615 5616 5617 5618 5619 5620 5621 5622 5623 5624 5625 5626 5627 5628 5629 5630 5631 5632 5633 5634 5635 5636 5637 5638 5639 5640 5641 5642 5643 5644 5645 5646 5647 5648 5649 5650 5651 5652 5653 5654 5655 5656 5657 5658 5659 5660 5661 5662 5663 5664 5665 5666 5667 5668 5669 5670 5671 5672 5673 5674 5675 5676 5677 5678 5679 5680 5681 5682 5683 5684 5685 5686 5687 5688 5689 5690 5691 5692 5693 5694 5695 5696 5697 5698 5699 5700 5701 5702 5703 5704 5705 5706 5707 5708 5709 5710 5711 5712 5713 5714 5715 5716 5717 5718 5719 5720 5721 5722 5723 5724 5725 5726 5727 5728 5729 5730 5731 5732 5733 5734 5735 5736 5737 5738 5739 5740 5741 5742 5743 5744 5745 5746 5747 5748 5749 5750 5751 5752 5753 5754 5755 5756 5757 5758 5759 5760 5761 5762 5763 5764 5765 5766 5767 5768 5769 5770 5771 5772 5773 5774 5775 5776 5777 5778 5779 5780 5781 5782 5783 5784 5785 5786 5787 5788 5789 5790 5791 5792 5793 5794 5795 5796 5797 5798 5799 5800 5801 5802 5803 5804 5805 5806 5807 5808 5809 5810 5811 5812 5813 5814 5815 5816 5817 5818 5819 5820 5821 5822 5823 5824 5825 5826 5827 5828 5829 5830 5831 5832 5833 5834 5835 5836 5837 5838 5839 5840 5841 5842 5843 5844 5845 5846 5847 5848 5849 5850 5851 5852 5853 5854 5855 5856 5857 5858 5859 5860 5861 5862 5863 5864 5865 5866 5867 5868 5869 5870 5871 5872 5873 5874 5875 5876 5877 5878 5879 5880 5881 5882 5883 5884 5885 5886 5887 5888 5889 5890 5891 5892 5893 5894 5895 5896 5897 5898 5899 5900 5901 5902 5903 5904 5905 5906 5907 5908 5909 5910 5911 5912 5913 5914 5915 5916 5917 5918 5919 5920 5921 5922 5923 5924 5925 5926 5927 5928 5929 5930 5931 5932 5933 5934 5935 5936 5937 5938 5939 5940 5941 5942 5943 5944 5945 5946 5947 5948 5949 5950 5951 5952 5953 5954 5955 5956 5957 5958 5959 5960 5961 5962 5963 5964 5965 5966 5967 5968 5969 5970 5971 5972 5973 5974 5975 5976 5977 5978 5979 5980 5981 5982 5983 5984 5985 5986 5987 5988 5989 5990 5991 5992 5993 5994 5995 5996 5997 5998 5999 6000 6001 6002 6003 6004 6005 6006 6007 6008 6009 6010 6011 6012 6013 6014 6015 6016 6017 6018 6019 6020 6021 6022 6023 6024 6025 6026 6027 6028 6029 6030 6031 6032 6033 6034 6035 6036 6037 6038 6039 6040 6041 6042 6043 6044 6045 6046 6047 6048 6049 6050 6051 6052 6053 6054 6055 6056 6057 6058 6059 6060 6061 6062 6063 6064 6065 6066 6067 6068 6069 6070 6071 6072 6073 6074 6075 6076 6077 6078 6079 6080 6081 6082 6083 6084 6085 6086 6087 6088 6089 6090 6091 6092 6093 6094 6095 6096 6097 6098 6099 6100 6101 6102 6103 6104 6105 6106 6107 6108 6109 6110 6111 6112 6113 6114 6115 6116 6117 6118 6119 6120 6121 6122 6123 6124 6125 6126 6127 6128 6129 6130 6131 6132 6133 6134 6135 6136 6137 6138 6139 6140 6141 6142 6143 6144 6145 6146 6147 6148 6149 6150 6151 6152 6153 6154 6155 6156 6157 6158 6159 6160 6161 6162 6163 6164 6165 6166 6167 6168 6169 6170 6171 6172 6173 6174 6175 6176 6177 6178 6179 6180 6181 6182 6183 6184 6185 6186 6187 6188 6189 6190 6191 6192 6193 6194 6195 6196 6197 6198 6199 6200 6201 6202 6203 6204 6205 6206 6207 6208 6209 6210 6211 6212 6213 6214 6215 6216 6217 6218 6219 6220 6221 6222 6223 6224 6225 6226 6227 6228 6229 6230 6231 6232 6233 6234 6235 6236 6237 6238 6239 6240 6241 6242 6243 6244 6245 6246 6247 6248 6249 6250 6251 6252 6253 6254 6255 6256 6257 6258 6259 6260 6261 6262 6263 6264 6265 6266 6267 6268 6269 6270 6271 6272 6273 6274 6275 6276 6277 6278 6279 6280 6281 6282 6283 6284 6285 6286 6287 6288 6289 6290 6291 6292 6293 6294 6295 6296 6297 6298 6299 6300 6301 6302 6303 6304 6305 6306 6307 6308 6309 6310 6311 6312 6313 6314 6315 6316 6317 6318 6319 6320 6321 6322 6323 6324 6325 6326 6327 6328 6329 6330 6331 6332 6333 6334 6335 6336 6337 6338 6339 6340 6341 6342 6343 6344 6345 6346 6347 6348 6349 6350 6351 6352 6353 6354 6355 6356 6357 6358 6359 6360 6361 6362 6363 6364 6365 6366 6367 6368 6369 6370 6371 6372 6373 6374 6375 6376 6377 6378 6379 6380 6381 6382 6383 6384 6385 6386 6387 6388 6389 6390 6391 6392 6393 6394 6395 6396 6397 6398 6399 6400 6401 6402 6403 6404 6405 6406 6407 6408 6409 6410 6411 6412 6413 6414 6415 6416 6417 6418 6419 6420 6421 6422 6423 6424 6425 6426 6427 6428 6429 6430 6431 6432 6433 6434 6435 6436 6437 6438 6439 6440 6441 6442 6443 6444 6445 6446 6447 6448 6449 6450 6451 6452 6453 6454 6455 6456 6457 6458 6459 6460 6461 6462 6463 6464 6465 6466 6467 6468 6469 6470 6471 6472 6473 6474 6475 6476 6477 6478 6479 6480 6481 6482 6483 6484 6485 6486 6487 6488 6489 6490 6491 6492 6493 6494 6495 6496 6497 6498 6499 6500 6501 6502 6503 6504 6505 6506 6507 6508 6509 6510 6511 6512 6513 6514 6515 6516 6517 6518 6519 6520 6521 6522 6523 6524 6525 6526 6527 6528 6529 6530 6531 6532 6533 6534 6535 6536 6537 6538 6539 6540 6541 6542 6543 6544 6545 6546 6547 6548 6549 6550 6551 6552 6553 6554 6555 6556 6557 6558 6559 6560 6561 6562 6563 6564 6565 6566 6567 6568 6569 6570 6571 6572 6573 6574 6575 6576 6577 6578 6579 6580 6581 6582 6583 6584 6585 6586 6587 6588 6589 6590 6591 6592 6593 6594 6595 6596 6597 6598 6599 6600 6601 6602 6603 6604 6605 6606 6607 6608 6609 6610 6611 6612 6613 6614 6615 6616 6617 6618 6619 6620 6621 6622 6623 6624 6625 6626 6627 6628 6629 6630 6631 6632 6633 6634 6635 6636 6637 6638 6639 6640 6641 6642 6643 6644 6645 6646 6647 6648 6649 6650 6651 6652 6653 6654 6655 6656 6657 6658 6659 6660 6661 6662 6663 6664 6665 6666 6667 6668 6669 6670 6671 6672 6673 6674 6675 6676 6677 6678 6679 6680 6681 6682 6683 6684 6685 6686 6687 6688 6689 6690 6691 6692 6693 6694 6695 6696 6697 6698 6699 6700 6701 6702 6703 6704 6705 6706 6707 6708 6709 6710 6711 6712 6713 6714 6715 6716 6717 6718 6719 6720 6721 6722 6723 6724 6725 6726 6727 6728 6729 6730 6731 6732 6733 6734 6735 6736 6737 6738 6739 6740 6741 6742 6743 6744 6745 6746 6747 6748 6749 6750 6751 6752 6753 6754 6755 6756 6757 6758 6759 6760 6761 6762 6763 6764 6765 6766 6767 6768 6769 6770 6771 6772 6773 6774 6775 6776 6777 6778 6779 6780 6781 6782 6783 6784 6785 6786 6787 6788 6789 6790 6791 6792 6793 6794 6795 6796 6797 6798 6799 6800 6801 6802 6803 6804 6805 6806 6807 6808 6809 6810 6811 6812 6813 6814 6815 6816 6817 6818 6819 6820 6821 6822 6823 6824 6825 6826 6827 6828 6829 6830 6831 6832 6833 6834 6835 6836 6837 6838 6839 6840 6841 6842 6843 6844 6845 6846 6847 6848 6849 6850 6851 6852 6853 6854 6855 6856 6857 6858 6859 6860 6861 6862 6863 6864 6865 6866 6867 6868 6869 6870 6871 6872 6873 6874 6875 6876 6877 6878 6879 6880 6881 6882 6883 6884 6885 6886 6887 6888 6889 6890 6891 6892 6893 6894 6895 6896 6897 6898 6899 6900 6901 6902 6903 6904 6905 6906 6907 6908 6909 6910 6911 6912 6913 6914 6915 6916 6917 6918 6919 6920 6921 6922 6923 6924 6925 6926 6927 6928 6929 6930 6931 6932 6933 6934 6935 6936 6937 6938 6939 6940 6941 6942 6943 6944 6945 6946 6947 6948 6949 6950 6951 6952 6953 6954 6955 6956 6957 6958 6959 6960 6961 6962 6963 6964 6965 6966 6967 6968 6969 6970 6971 6972 6973 6974 6975 6976 6977 6978 6979 6980 6981 6982 6983 6984 6985 6986 6987 6988 6989 6990 6991 6992 6993 6994 6995 6996 6997 6998 6999 7000 7001 7002 7003 7004 7005 7006 7007 7008 7009 7010 7011 7012 7013 7014 7015 7016 7017 7018 7019 7020 7021 7022 7023 7024 7025 7026 7027 7028 7029 7030 7031 7032 7033 7034 7035 7036 7037 7038 7039 7040 7041 7042 7043 7044 7045 7046 7047 7048 7049 7050 7051 7052 7053 7054 7055 7056 7057 7058 7059 7060 7061 7062 7063 7064 7065 7066 7067 7068 7069 7070 7071 7072 7073 7074 7075 7076 7077 7078 7079 7080 7081 7082 7083 7084 7085 7086 7087 7088 7089 7090 7091 7092 7093 7094 7095 7096 7097 7098 7099 7100 7101 7102 7103 7104 7105 7106 7107 7108 7109 7110 7111 7112 7113 7114 7115 7116 7117 7118 7119 7120 7121 7122 7123 7124 7125 7126 7127 7128 7129 7130 7131 7132 7133 7134 7135 7136 7137 7138 7139 7140 7141 7142 7143 7144 7145 7146 7147 7148 7149 7150 7151 7152 7153 7154 7155 7156 7157 7158 7159 7160 7161 7162 7163 7164 7165 7166 7167 7168 7169 7170 7171 7172 7173 7174 7175 7176 7177 7178 7179 7180 7181 7182 7183 7184 7185 7186 7187 7188 7189 7190 7191 7192 7193 7194 7195 7196 7197 7198 7199 7200 7201 7202 7203 7204 7205 7206 7207 7208 7209 7210 7211 7212 7213 7214 7215 7216 7217 7218 7219 7220 7221 7222 7223 7224 7225 7226 7227 7228 7229 7230 7231 7232 7233 7234 7235 7236 7237 7238 7239 7240 7241 7242 7243 7244 7245 7246 7247 7248 7249 7250 7251 7252 7253 7254 7255 7256 7257 7258 7259 7260 7261 7262 7263 7264 7265 7266 7267 7268 7269 7270 7271 7272 7273 7274 7275 7276 7277 7278 7279 7280 7281 7282 7283 7284 7285 7286 7287 7288 7289 7290 7291 7292 7293 7294 7295 7296 7297 7298 7299 7300 7301 7302 7303 7304 7305 7306 7307 7308 7309 7310 7311 7312 7313 7314 7315 7316 7317 7318 7319 7320 7321 7322 7323 7324 7325 7326 7327 7328 7329 7330 7331 7332 7333 7334 7335 7336 7337 7338 7339 7340 7341 7342 7343 7344 7345 7346 7347 7348 7349 7350 7351 7352 7353 7354 7355 7356 7357 7358 7359 7360 7361 7362 7363 7364 7365 7366 7367 7368 7369 7370 7371 7372 7373 7374 7375 7376 7377 7378 7379 7380 7381 7382 7383 7384 7385 7386 7387 7388 7389 7390 7391 7392 7393 7394 7395 7396 7397 7398 7399 7400 7401 7402 7403 7404 7405 7406 7407 7408 7409 7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 7420 7421 7422 7423 7424 7425 7426 7427 7428 7429 7430 7431 7432 7433 7434 7435 7436 7437 7438 7439 7440 7441 7442 7443 7444 7445 7446 7447 7448 7449 7450 7451 7452 7453 7454 7455 7456 7457 7458 7459 7460 7461 7462 7463 7464 7465 7466 7467 7468 7469 7470 7471 7472 7473 7474 7475 7476 7477 7478 7479 7480 7481 7482 7483 7484 7485 7486 7487 7488 7489 7490 7491 7492 7493 7494 7495 7496 7497 7498 7499 7500 7501 7502 7503 7504 7505 7506 7507 7508 7509 7510 7511 7512 7513 7514 7515 7516 7517 7518 7519 7520 7521 7522 7523 7524 7525 7526 7527 7528 7529 7530 7531 7532 7533 7534 7535 7536 7537 7538 7539 7540 7541 7542 7543 7544 7545 7546 7547 7548 7549 7550 7551 7552 7553 7554 7555 7556 7557 7558 7559 7560 7561 7562 7563 7564 7565 7566 7567 7568 7569 7570 7571 7572 7573 7574 7575 7576 7577 7578 7579 7580 7581 7582 7583 7584 7585 7586 7587 7588 7589 7590 7591 7592 7593 7594 7595 7596 7597 7598 7599 7600 7601 7602 7603 7604 7605 7606 7607 7608 7609 7610 7611 7612 7613 7614 7615 7616 7617 7618 7619 7620 7621 7622 7623 7624 7625 7626 7627 7628 7629 7630 7631 7632 7633 7634 7635 7636 7637 7638 7639 7640 7641 7642 7643 7644 7645 7646 7647 7648 7649 7650 7651 7652 7653 7654 7655 7656 7657 7658 7659 7660 7661 7662 7663 7664 7665 7666 7667 7668 7669 7670 7671 7672 7673 7674 7675 7676 7677 7678 7679 7680 7681 7682 7683 7684 7685 7686 7687 7688 7689 7690 7691 7692 7693 7694 7695 7696 7697 7698 7699 7700 7701 7702 7703 7704 7705 7706 7707 7708 7709 7710 7711 7712 7713 7714 7715 7716 7717 7718 7719 7720 7721 7722 7723 7724 7725 7726 7727 7728 7729 7730 7731 7732 7733 7734 7735 7736 7737 7738 7739 7740 7741 7742 7743 7744 7745 7746 7747 7748 7749 7750 7751 7752 7753 7754 7755 7756 7757 7758 7759 7760 7761 7762 7763 7764 7765 7766 7767 7768 7769 7770 7771 7772 7773 7774 7775 7776 7777 7778 7779 7780 7781 7782 7783 7784 7785 7786 7787 7788 7789 7790 7791 7792 7793 7794 7795 7796 7797 7798 7799 7800 7801 7802 7803 7804 7805 7806 7807 7808 7809 7810 7811 7812 7813 7814 7815 7816 7817 7818 7819 7820 7821 7822 7823 7824 7825 7826 7827 7828 7829 7830 7831 7832 7833 7834 7835 7836 7837 7838 7839 7840 7841 7842 7843 7844 7845 7846 7847 7848 7849 7850 7851 7852 7853 7854 7855 7856 7857 7858 7859 7860 7861 7862 7863 7864 7865 7866 7867 7868 7869 7870 7871 7872 7873 7874 7875 7876 7877 7878 7879 7880 7881 7882 7883 7884 7885 7886 7887 7888 7889 7890 7891 7892 7893 7894 7895 7896 7897 7898 7899 7900 7901 7902 7903 7904 7905 7906 7907 7908 7909 7910 7911 7912 7913 7914 7915 7916 7917 7918 7919 7920 7921 7922 7923 7924 7925 7926 7927 7928 7929 7930 7931 7932 7933 7934 7935 7936 7937 7938 7939 7940 7941 7942 7943 7944 7945 7946 7947 7948 7949 7950 7951 7952 7953 7954 7955 7956 7957 7958 7959 7960 7961 7962 7963 7964 7965 7966 7967 7968 7969 7970 7971 7972 7973 7974 7975 7976 7977 7978 7979 7980 7981 7982 7983 7984 7985 7986 7987 7988 7989 7990 7991 7992 7993 7994 7995 7996 7997 7998 7999 8000 8001 8002 8003 8004 8005 8006 8007 8008 8009 8010 8011 8012 8013 8014 8015 8016 8017 8018 8019 8020 8021 8022 8023 8024 8025 8026 8027 8028 8029 8030 8031 8032 8033 8034 8035 8036 8037 8038 8039 8040 8041 8042 8043 8044 8045 8046 8047 8048 8049 8050 8051 8052 8053 8054 8055 8056 8057 8058 8059 8060 8061 8062 8063 8064 8065 8066 8067 8068 8069 8070 8071 8072 8073 8074 8075 8076 8077 8078 8079 8080 8081 8082 8083 8084 8085 8086 8087 8088 8089 8090 8091 8092 8093 8094 8095 8096 8097 8098 8099 8100 8101 8102 8103 8104 8105 8106 8107 8108 8109 8110 8111 8112 8113 8114 8115 8116 8117 8118 8119 8120 8121 8122 8123 8124 8125 8126 8127 8128 8129 8130 8131 8132 8133 8134 8135 8136 8137 8138 8139 8140 8141 8142 8143 8144 8145 8146 8147 8148 8149 8150 8151 8152 8153 8154 8155 8156 8157 8158 8159 8160 8161 8162 8163 8164 8165 8166 8167 8168 8169 8170 8171 8172 8173 8174 8175 8176 8177 8178 8179 8180 8181 8182 8183 8184 8185 8186 8187 8188 8189 8190 8191 8192 8193 8194 8195 8196 8197 8198 8199 8200 8201 8202 8203 8204 8205 8206 8207 8208 8209 8210 8211 8212 8213 8214 8215 8216 8217 8218 8219 8220 8221 8222 8223 8224 8225 8226 8227 8228 8229 8230 8231 8232 8233 8234 8235 8236 8237 8238 8239 8240 8241 8242 8243 8244 8245 8246 8247 8248 8249 8250 8251 8252 8253 8254 8255 8256 8257 8258 8259 8260 8261 8262 8263 8264 8265 8266 8267 8268 8269 8270 8271 8272 8273 8274 8275 8276 8277 8278 8279 8280 8281 8282 8283 8284 8285 8286 8287 8288 8289 8290 8291 8292 8293 8294 8295 8296 8297 8298 8299 8300 8301 8302 8303 8304 8305 8306 8307 8308 8309 8310 8311 8312 8313 8314 8315 8316 8317 8318 8319 8320 8321 8322 8323 8324 8325 8326 8327 8328 8329 8330 8331 8332 8333 8334 8335 8336 8337 8338 8339 8340 8341 8342 8343 8344 8345 8346 8347 8348 8349 8350 8351 8352 8353 8354 8355 8356 8357 8358 8359 8360 8361 8362 8363 8364 8365 8366 8367 8368 8369 8370 8371 8372 8373 8374 8375 8376 8377 8378 8379 8380 8381 8382 8383 8384 8385 8386 8387 8388 8389 8390 8391 8392 8393 8394 8395 8396 8397 8398 8399 8400 8401 8402 8403 8404 8405 8406 8407 8408 8409 8410 8411 8412 8413 8414 8415 8416 8417 8418 8419 8420 8421 8422 8423 8424 8425 8426 8427 8428 8429 8430 8431 8432 8433 8434 8435 8436 8437 8438 8439 8440 8441 8442 8443 8444 8445 8446 8447 8448 8449 8450 8451 8452 8453 8454 8455 8456 8457 8458 8459 8460 8461 8462 8463 8464 8465 8466 8467 8468 8469 8470 8471 8472 8473 8474 8475 8476 8477 8478 8479 8480 8481 8482 8483 8484 8485 8486 8487 8488 8489 8490 8491 8492 8493 8494 8495 8496 8497 8498 8499 8500 8501 8502 8503 8504 8505 8506 8507 8508 8509 8510 8511 8512 8513 8514 8515 8516 8517 8518 8519 8520 8521 8522 8523 8524 8525 8526 8527 8528 8529 8530 8531 8532 8533 8534 8535 8536 8537 8538 8539 8540 8541 8542 8543 8544 8545 8546 8547 8548 8549 8550 8551 8552 8553 8554 8555 8556 8557 8558 8559 8560 8561 8562 8563 8564 8565 8566 8567 8568 8569 8570 8571 8572 8573 8574 8575 8576 8577 8578 8579 8580 8581 8582 8583 8584 8585 8586 8587 8588 8589 8590 8591 8592 8593 8594 8595 8596 8597 8598 8599 8600 8601 8602 8603 8604 8605 8606 8607 8608 8609 8610 8611 8612 8613 8614 8615 8616 8617 8618 8619 8620 8621 8622 8623 8624 8625 8626 8627 8628 8629 8630 8631 8632 8633 8634 8635 8636 8637 8638 8639 8640 8641 8642 8643 8644 8645 8646 8647 8648 8649 8650 8651 8652 8653 8654 8655 8656 8657 8658 8659 8660 8661 8662 8663 8664 8665 8666 8667 8668 8669 8670 8671 8672 8673 8674 8675 8676 8677 8678 8679 8680 8681 8682 8683 8684 8685 8686 8687 8688 8689 8690 8691 8692 8693 8694 8695 8696 8697 8698 8699 8700 8701 8702 8703 8704 8705 8706 8707 8708 8709 8710 8711 8712 8713 8714 8715 8716 8717 8718 8719 8720 8721 8722 8723 8724 8725 8726 8727 8728 8729 8730 8731 8732 8733 8734 8735 8736 8737 8738 8739 8740 8741 8742 8743 8744 8745 8746 8747 8748 8749 8750 8751 8752 8753 8754 8755 8756 8757 8758 8759 8760 8761 8762 8763 8764 8765 8766 8767 8768 8769 8770 8771 8772 8773 8774 8775 8776 8777 8778 8779 8780 8781 8782 8783 8784 8785 8786 8787 8788 8789 8790 8791 8792 8793 8794 8795 8796 8797 8798 8799 8800 8801 8802 8803 8804 8805 8806 8807 8808 8809 8810 8811 8812 8813 8814 8815 8816 8817 8818 8819 8820 8821 8822 8823 8824 8825 8826 8827 8828 8829 8830 8831 8832 8833 8834 8835 8836 8837 8838 8839 8840 8841 8842 8843 8844 8845 8846 8847 8848 8849 8850 8851 8852 8853 8854 8855 8856 8857 8858 8859 8860 8861 8862 8863 8864 8865 8866 8867 8868 8869 8870 8871 8872 8873 8874 8875 8876 8877 8878 8879 8880 8881 8882 8883 8884 8885 8886 8887 8888 8889 8890 8891 8892 8893 8894 8895 8896 8897 8898 8899 8900 8901 8902 8903 8904 8905 8906 8907 8908 8909 8910 8911 8912 8913 8914 8915 8916 8917 8918 8919 8920 8921 8922 8923 8924 8925 8926 8927 8928 8929 8930 8931 8932 8933 8934 8935 8936 8937 8938 8939 8940 8941 8942 8943 8944 8945 8946 8947 8948 8949 8950 8951 8952 8953 8954 8955 8956 8957 8958 8959 8960 8961 8962 8963 8964 8965 8966 8967 8968 8969 8970 8971 8972 8973 8974 8975 8976 8977 8978 8979 8980 8981 8982 8983 8984 8985 8986 8987 8988 8989 8990 8991 8992 8993 8994 8995 8996 8997 8998 8999 9000 9001 9002 9003 9004 9005 9006 9007 9008 9009 9010 9011 9012 9013 9014 9015 9016 9017 9018 9019 9020 9021 9022 9023 9024 9025 9026 9027 9028 9029 9030 9031 9032 9033 9034 9035 9036 9037 9038 9039 9040 9041 9042 9043 9044 9045 9046 9047 9048 9049 9050 9051 9052 9053 9054 9055 9056 9057 9058 9059 9060 9061 9062 9063 9064 9065 9066 9067 9068 9069 9070 9071 9072 9073 9074 9075 9076 9077 9078 9079 9080 9081 9082 9083 9084 9085 9086 9087 9088 9089 9090 9091 9092 9093 9094 9095 9096 9097 9098 9099 9100 9101 9102 9103 9104 9105 9106 9107 9108 9109 9110 9111 9112 9113 9114 9115 9116 9117 9118 9119 9120 9121 9122 9123 9124 9125 9126 9127 9128 9129 9130 9131 9132 9133 9134 9135 9136 9137 9138 9139 9140 9141 9142 9143 9144 9145 9146 9147 9148 9149 9150 9151 9152 9153 9154 9155 9156 9157 9158 9159 9160 9161 9162 9163 9164 9165 9166 9167 9168 9169 9170 9171 9172 9173 9174 9175 9176 9177 9178 9179 9180 9181 9182 9183 9184 9185 9186 9187 9188 9189 9190 9191 9192 9193 9194 9195 9196 9197 9198 9199 9200 9201 9202 9203 9204 9205 9206 9207 9208 9209 9210 9211 9212 9213 9214 9215 9216 9217 9218 9219 9220 9221 9222 9223 9224 9225 9226 9227 9228 9229 9230 9231 9232 9233 9234 9235 9236 9237 9238 9239 9240 9241 9242 9243 9244 9245 9246 9247 9248 9249 9250 9251 9252 9253 9254 9255 9256 9257 9258 9259 9260 9261 9262 9263 9264 9265 9266 9267 9268 9269 9270 9271 9272 9273 9274 9275 9276 9277 9278 9279 9280 9281 9282 9283 9284 9285 9286 9287 9288 9289 9290 9291 9292 9293 9294 9295 9296 9297 9298 9299 9300 9301 9302 9303 9304 9305 9306 9307 9308 9309 9310 9311 9312 9313 9314 9315 9316 9317 9318 9319 9320 9321 9322 9323 9324 9325 9326 9327 9328 9329 9330 9331 9332 9333 9334 9335 9336 9337 9338 9339 9340 9341 9342 9343 9344 9345 9346 9347 9348 9349 9350 9351 9352 9353 9354 9355 9356 9357 9358 9359 9360 9361 9362 9363 9364 9365 9366 9367 9368 9369 9370 9371 9372 9373 9374 9375 9376 9377 9378 9379 9380 9381 9382 9383 9384 9385 9386 9387 9388 9389 9390 9391 9392 9393 9394 9395 9396 9397 9398 9399 9400 9401 9402 9403 9404 9405 9406 9407 9408 9409 9410 9411 9412 9413 9414 9415 9416 9417 9418 9419 9420 9421 9422 9423 9424 9425 9426 9427 9428 9429 9430 9431 9432 9433 9434 9435 9436 9437 9438 9439 9440 9441 9442 9443 9444 9445 9446 9447 9448 9449 9450 9451 9452 9453 9454 9455 9456 9457 9458 9459 9460 9461 9462 9463 9464 9465 9466 9467 9468 9469 9470 9471 9472 9473 9474 9475 9476 9477 9478 9479 9480 9481 9482 9483 9484 9485 9486 9487 9488 9489 9490 9491 9492 9493 9494 9495 9496 9497 9498 9499 9500 9501 9502 9503 9504 9505 9506 9507 9508 9509 9510 9511 9512 9513 9514 9515 9516 9517 9518 9519 9520 9521 9522 9523 9524 9525 9526 9527 9528 9529 9530 9531 9532 9533 9534 9535 9536 9537 9538 9539 9540 9541 9542 9543 9544 9545 9546 9547 9548 9549 9550 9551 9552 9553 9554 9555 9556 9557 9558 9559 9560 9561 9562 9563 9564 9565 9566 9567 9568 9569 9570 9571 9572 9573 9574 9575 9576 9577 9578 9579 9580 9581 9582 9583 9584 9585 9586 9587 9588 9589 9590 9591 9592 9593 9594 9595 9596 9597 9598 9599 9600 9601 9602 9603 9604 9605 9606 9607 9608 9609 9610 9611 9612 9613 9614 9615 9616 9617 9618 9619 9620 9621 9622 9623 9624 9625 9626 9627 9628 9629 9630 9631 9632 9633 9634 9635 9636 9637 9638 9639 9640 9641 9642 9643 9644 9645 9646 9647 9648 9649 9650 9651 9652 9653 9654 9655 9656 9657 9658 9659 9660 9661 9662 9663 9664 9665 9666 9667 9668 9669 9670 9671 9672 9673 9674 9675 9676 9677 9678 9679 9680 9681 9682 9683 9684 9685 9686 9687 9688 9689 9690 9691 9692 9693 9694 9695 9696 9697 9698 9699 9700 9701 9702 9703 9704 9705 9706 9707 9708 9709 9710 9711 9712 9713 9714 9715 9716 9717 9718 9719 9720 9721 9722 9723 9724 9725 9726 9727 9728 9729 9730 9731 9732 9733 9734 9735 9736 9737 9738 9739 9740 9741 9742 9743 9744 9745 9746 9747 9748 9749 9750 9751 9752 9753 9754 9755 9756 9757 9758 9759 9760 9761 9762 9763 9764 9765 9766 9767 9768 9769 9770 9771 9772 9773 9774 9775 9776 9777 9778 9779 9780 9781 9782 9783 9784 9785 9786 9787 9788 9789 9790 9791 9792 9793 9794 9795 9796 9797 9798 9799 9800 9801 9802 9803 9804 9805 9806 9807 9808 9809 9810 9811 9812 9813 9814 9815 9816 9817 9818 9819 9820 9821 9822 9823 9824 9825 9826 9827 9828 9829 9830 9831 9832 9833 9834 9835 9836 9837 9838 9839 9840 9841 9842 9843 9844 9845 9846 9847 9848 9849 9850 9851 9852 9853 9854 9855 9856 9857 9858 9859 9860 9861 9862 9863 9864 9865 9866 9867 9868 9869 9870 9871 9872 9873 9874 9875 9876 9877 9878 9879 9880 9881 9882 9883 9884 9885 9886 9887 9888 9889 9890 9891 9892 9893 9894 9895 9896 9897 9898 9899 9900 9901 9902 9903 9904 9905 9906 9907 9908 9909 9910 9911 9912 9913 9914 9915 9916 9917 9918 9919 9920 9921 9922 9923 9924 9925 9926 9927 9928 9929 9930 9931 9932 9933 9934 9935 9936 9937 9938 9939 9940 9941 9942 9943 9944 9945 9946 9947 9948 9949 9950 9951 9952 9953 9954 9955 9956 9957 9958 9959 9960 9961 9962 9963 9964 9965 9966 9967 9968 9969 9970 9971 9972 9973 9974 9975 9976 9977 9978 9979 9980 9981 9982 9983 9984 9985 9986 9987 9988 9989 9990 9991 9992 9993 9994 9995 9996 9997 9998 9999 10000 10001 10002 10003 10004 10005 10006 10007 10008 10009 10010 10011 10012 10013 10014 10015 10016 10017 10018 10019 10020 10021 10022 10023 10024 10025 10026 10027 10028 10029 10030 10031 10032 10033 10034 10035 10036 10037 10038 10039 10040 10041 10042 10043 10044 10045 10046 10047 10048 10049 10050 10051 10052 10053 10054 10055 10056 10057 10058 10059 10060 10061 10062 10063 10064 10065 10066 10067 10068 10069 10070 10071 10072 10073 10074 10075 10076 10077 10078 10079 10080 10081 10082 10083 10084 10085 10086 10087 10088 10089 10090 10091 10092 10093 10094 10095 10096 10097 10098 10099 10100 10101 10102 10103 10104 10105 10106 10107 10108 10109 10110 10111 10112 10113 10114 10115 10116 10117 10118 10119 10120 10121 10122 10123 10124 10125 10126 10127 10128 10129 10130 10131 10132 10133 10134 10135 10136 10137 10138 10139 10140 10141 10142 10143 10144 10145 10146 10147 10148 10149 10150 10151 10152 10153 10154 10155 10156 10157 10158 10159 10160 10161 10162 10163 10164 10165 10166 10167 10168 10169 10170 10171 10172 10173 10174 10175 10176 10177 10178 10179 10180 10181 10182 10183 10184 10185 10186 10187 10188 10189 10190 10191 10192 10193 10194 10195 10196 10197 10198 10199 10200 10201 10202 10203 10204 10205 10206 10207 10208 10209 10210 10211 10212 10213 10214 10215 10216 10217 10218 10219 10220 10221 10222 10223 10224 10225 10226 10227 10228 10229 10230 10231 10232 10233 10234 10235 10236 10237 10238 10239 10240 10241 10242 10243 10244 10245 10246 10247 10248 10249 10250 10251 10252 10253 10254 10255 10256 10257 10258 10259 10260 10261 10262 10263 10264 10265 10266 10267 10268 10269 10270 10271 10272 10273 10274 10275 10276 10277 10278 10279 10280 10281 10282 10283 10284 10285 10286 10287 10288 10289 10290 10291 10292 10293 10294 10295 10296 10297 10298 10299 10300 10301 10302 10303 10304 10305 10306 10307 10308 10309 10310 10311 10312 10313 10314 10315 10316 10317 10318 10319 10320 10321 10322 10323 10324 10325 10326 10327 10328 10329 10330 10331 10332 10333 10334 10335 10336 10337 10338 10339 10340 10341 10342 10343 10344 10345 10346 10347 10348 10349 10350 10351 10352 10353 10354 10355 10356 10357 10358 10359 10360 10361 10362 10363 10364 10365 10366 10367 10368 10369 10370 10371 10372 10373 10374 10375 10376 10377 10378 10379 10380 10381 10382 10383 10384 10385 10386 10387 10388 10389 10390 10391 10392 10393 10394 10395 10396 10397 10398 10399 10400 10401 10402 10403 10404 10405 10406 10407 10408 10409 10410 10411 10412 10413 10414 10415 10416 10417 10418 10419 10420 10421 10422 10423 10424 10425 10426 10427 10428 10429 10430 10431 10432 10433 10434 10435 10436 10437 10438 10439 10440 10441 10442 10443 10444 10445 10446 10447 10448 10449 10450 10451 10452 10453 10454 10455 10456 10457 10458 10459 10460 10461 10462 10463 10464 10465 10466 10467 10468 10469 10470 10471 10472 10473 10474 10475 10476 10477 10478 10479 10480 10481 10482 10483 10484 10485 10486 10487 10488 10489 10490 10491 10492 10493 10494 10495 10496 10497 10498 10499 10500 10501 10502 10503 10504 10505 10506 10507 10508 10509 10510 10511 10512 10513 10514 10515 10516 10517 10518 10519 10520 10521 10522 10523 10524 10525 10526 10527 10528 10529 10530 10531 10532 10533 10534 10535 10536 10537 10538 10539 10540 10541 10542 10543 10544 10545 10546 10547 10548 10549 10550 10551 10552 10553 10554 10555 10556 10557 10558 10559 10560 10561 10562 10563 10564 10565 10566 10567 10568 10569 10570 10571 10572 10573 10574 10575 10576 10577 10578 10579 10580 10581 10582 10583 10584 10585 10586 10587 10588 10589 10590 10591 10592 10593 10594 10595 10596 10597 10598 10599 10600 10601 10602 10603 10604 10605 10606 10607 10608 10609 10610 10611 10612 10613 10614 10615 10616 10617 10618 10619 10620 10621 10622 10623 10624 10625 10626 10627 10628 10629 10630 10631 10632 10633 10634 10635 10636 10637 10638 10639 10640 10641 10642 10643 10644 10645 10646 10647 10648 10649 10650 10651 10652 10653 10654 10655 10656 10657 10658 10659 10660 10661 10662 10663 10664 10665 10666 10667 10668 10669 10670 10671 10672 10673 10674 10675 10676 10677 10678 10679 10680 10681 10682 10683 10684 10685 10686 10687 10688 10689 10690 10691 10692 10693 10694 10695 10696 10697 10698 10699 10700 10701 10702 10703 10704 10705 10706 10707 10708 10709 10710 10711 10712 10713 10714 10715 10716 10717 10718 10719 10720 10721 10722 10723 10724 10725 10726 10727 10728 10729 10730 10731 10732 10733 10734 10735 10736 10737 10738 10739 10740 10741 10742 10743 10744 10745 10746 10747 10748 10749 10750 10751 10752 10753 10754 10755 10756 10757 10758 10759 10760 10761 10762 10763 10764 10765 10766 10767 10768 10769 10770 10771 10772 10773 10774 10775 10776 10777 10778 10779 10780 10781 10782 10783 10784 10785 10786 10787 10788 10789 10790 10791 10792 10793 10794 10795 10796 10797 10798 10799 10800 10801 10802 10803 10804 10805 10806 10807 10808 10809 10810 10811 10812 10813 10814 10815 10816 10817 10818 10819 10820 10821 10822 10823 10824 10825 10826 10827 10828 10829 10830 10831 10832 10833 10834 10835 10836 10837 10838 10839 10840 10841 10842 10843 10844 10845 10846 10847 10848 10849 10850 10851 10852 10853 10854 10855 10856 10857 10858 10859 10860 10861 10862 10863 10864 10865 10866 10867 10868 10869 10870 10871 10872 10873 10874 10875 10876 10877 10878 10879 10880 10881 10882 10883 10884 10885 10886 10887 10888 10889 10890 10891 10892 10893 10894 10895 10896 10897 10898 10899 10900 10901 10902 10903 10904 10905 10906 10907 10908 10909 10910 10911 10912 10913 10914 10915 10916 10917 10918 10919 10920 10921 10922 10923 10924 10925 10926 10927 10928 10929 10930 10931 10932 10933 10934 10935 10936 10937 10938 10939 10940 10941 10942 10943 10944 10945 10946 10947 10948 10949 10950 10951 10952 10953 10954 10955 10956 10957 10958 10959 10960 10961 10962 10963 10964 10965 10966 10967 10968 10969 10970 10971 10972 10973 10974 10975 10976 10977 10978 10979 10980 10981 10982 10983 10984 10985 10986 10987 10988 10989 10990 10991 10992 10993 10994 10995 10996 10997 10998 10999 11000 11001 11002 11003 11004 11005 11006 11007 11008 11009 11010 11011 11012 11013 11014 11015 11016 11017 11018 11019 11020 11021 11022 11023 11024 11025 11026 11027 11028 11029 11030 11031 11032 11033 11034 11035 11036 11037 11038 11039 11040 11041 11042 11043 11044 11045 11046 11047 11048 11049 11050 11051 11052 11053 11054 11055 11056 11057 11058 11059 11060 11061 11062 11063 11064 11065 11066 11067 11068 11069 11070 11071 11072 11073 11074 11075 11076 11077 11078 11079 11080 11081 11082 11083 11084 11085 11086 11087 11088 11089 11090 11091 11092 11093 11094 11095 11096 11097 11098 11099 11100 11101 11102 11103 11104 11105 11106 11107 11108 11109 11110 11111 11112 11113 11114 11115 11116 11117 11118 11119 11120 11121 11122 11123 11124 11125 11126 11127 11128 11129 11130 11131 11132 11133 11134 11135 11136 11137 11138 11139 11140 11141 11142 11143 11144 11145 11146 11147 11148 11149 11150 11151 11152 11153 11154 11155 11156 11157 11158 11159 11160 11161 11162 11163 11164 11165 11166 11167 11168 11169 11170 11171 11172 11173 11174 11175 11176 11177 11178 11179 11180 11181 11182 11183 11184 11185 11186 11187 11188 11189 11190 11191 11192 11193 11194 11195 11196 11197 11198 11199 11200 11201 11202 11203 11204 11205 11206 11207 11208 11209 11210 11211 11212 11213 11214 11215 11216 11217 11218 11219 11220 11221 11222 11223 11224 11225 11226 11227 11228 11229 11230 11231 11232 11233 11234 11235 11236 11237 11238 11239 11240 11241 11242 11243 11244 11245 11246 11247 11248 11249 11250 11251 11252 11253 11254 11255 11256 11257 11258 11259 11260 11261 11262 11263 11264 11265 11266 11267 11268 11269 11270 11271 11272 11273 11274 11275 11276 11277 11278 11279 11280 11281 11282 11283 11284 11285 11286 11287 11288 11289 11290 11291 11292 11293 11294 11295 11296 11297 11298 11299 11300 11301 11302 11303 11304 11305 11306 11307 11308 11309 11310 11311 11312 11313 11314 11315 11316 11317 11318 11319 11320 11321 11322 11323 11324 11325 11326 11327 11328 11329 11330 11331 11332 11333 11334 11335 11336 11337 11338 11339 11340 11341 11342 11343 11344 11345 11346 11347 11348 11349 11350 11351 11352 11353 11354 11355 11356 11357 11358 11359 11360 11361 11362 11363 11364 11365 11366 11367 11368 11369 11370 11371 11372 11373 11374 11375 11376 11377 11378 11379 11380 11381 11382 11383 11384 11385 11386 11387 11388 11389 11390 11391 11392 11393 11394 11395 11396 11397 11398 11399 11400 11401 11402 11403 11404 11405 11406 11407 11408 11409 11410 11411 11412 11413 11414 11415 11416 11417 11418 11419 11420 11421 11422 11423 11424 11425 11426 11427 11428 11429 11430 11431 11432 11433 11434 11435 11436 11437 11438 11439 11440 11441 11442 11443 11444 11445 11446 11447 11448 11449 11450 11451 11452 11453 11454 11455 11456 11457 11458 11459 11460 11461 11462 11463 11464 11465 11466 11467 11468 11469 11470 11471 11472 11473 11474 11475 11476 11477 11478 11479 11480 11481 11482 11483 11484 11485 11486 11487 11488 11489 11490 11491 11492 11493 11494 11495 11496 11497 11498 11499 11500 11501 11502 11503 11504 11505 11506 11507 11508 11509 11510 11511 11512 11513 11514 11515 11516 11517 11518 11519 11520 11521 11522 11523 11524 11525 11526 11527 11528 11529 11530 11531 11532 11533 11534 11535 11536 11537 11538 11539 11540 11541 11542 11543 11544 11545 11546 11547 11548 11549 11550 11551 11552 11553 11554 11555 11556 11557 11558 11559 11560 11561 11562 11563 11564 11565 11566 11567 11568 11569 11570 11571 11572 11573 11574 11575 11576 11577 11578 11579 11580 11581 11582 11583 11584 11585 11586 11587 11588 11589 11590 11591 11592 11593 11594 11595 11596 11597 11598 11599 11600 11601 11602 11603 11604 11605 11606 11607 11608 11609 11610 11611 11612 11613 11614 11615 11616 11617 11618 11619 11620 11621 11622 11623 11624 11625 11626 11627 11628 11629 11630 11631 11632 11633 11634 11635 11636 11637 11638 11639 11640 11641 11642 11643 11644 11645 11646 11647 11648 11649 11650 11651 11652 11653 11654 11655 11656 11657 11658 11659 11660 11661 11662 11663 11664 11665 11666 11667 11668 11669 11670 11671 11672 11673 11674 11675 11676 11677 11678 11679 11680 11681 11682 11683 11684 11685 11686 11687 11688 11689 11690 11691 11692 11693 11694 11695 11696 11697 11698 11699 11700 11701 11702 11703 11704 11705 11706 11707 11708 11709 11710 11711 11712 11713 11714 11715 11716 11717 11718 11719 11720 11721 11722 11723 11724 11725 11726 11727 11728 11729 11730 11731 11732 11733 11734 11735 11736 11737 11738 11739 11740 11741 11742 11743 11744 11745 11746 11747 11748 11749 11750 11751 11752 11753 11754 11755 11756 11757 11758 11759 11760 11761 11762 11763 11764 11765 11766 11767 11768 11769 11770 11771 11772 11773 11774 11775 11776 11777 11778 11779 11780 11781 11782 11783 11784 11785 11786 11787 11788 11789 11790 11791 11792 11793 11794 11795 11796 11797 11798 11799 11800 11801 11802 11803 11804 11805 11806 11807 11808 11809 11810 11811 11812 11813 11814 11815 11816 11817 11818 11819 11820 11821 11822 11823 11824 11825 11826 11827 11828 11829 11830 11831 11832 11833 11834 11835 11836 11837 11838 11839 11840 11841 11842 11843 11844 11845 11846 11847 11848 11849 11850 11851 11852 11853 11854 11855 11856 11857 11858 11859 11860 11861 11862 11863 11864 11865 11866 11867 11868 11869 11870 11871 11872 11873 11874 11875 11876 11877 11878 11879 11880 11881 11882 11883 11884 11885 11886 11887 11888 11889 11890 11891 11892 11893 11894 11895 11896 11897 11898 11899 11900 11901 11902 11903 11904 11905 11906 11907 11908 11909 11910 11911 11912 11913 11914 11915 11916 11917 11918 11919 11920 11921 11922 11923 11924 11925 11926 11927 11928 11929 11930 11931 11932 11933 11934 11935 11936 11937 11938 11939 11940 11941 11942 11943 11944 11945 11946 11947 11948 11949 11950 11951 11952 11953 11954 11955 11956 11957 11958 11959 11960 11961 11962 11963 11964 11965 11966 11967 11968 11969 11970 11971 11972 11973 11974 11975 11976 11977 11978 11979 11980 11981 11982 11983 11984 11985 11986 11987 11988 11989 11990 11991 11992 11993 11994 11995 11996 11997 11998 11999 12000 12001 12002 12003 12004 12005 12006 12007 12008 12009 12010 12011 12012 12013 12014 12015 12016 12017 12018 12019 12020 12021 12022 12023 12024 12025 12026 12027 12028 12029 12030 12031 12032 12033 12034 12035 12036 12037 12038 12039 12040 12041 12042 12043 12044 12045 12046 12047 12048 12049 12050 12051 12052 12053 12054 12055 12056 12057 12058 12059 12060 12061 12062 12063 12064 12065 12066 12067 12068 12069 12070 12071 12072 12073 12074 12075 12076 12077 12078 12079 12080 12081 12082 12083 12084 12085 12086 12087 12088 12089 12090 12091 12092 12093 12094 12095 12096 12097 12098 12099 12100 12101 12102 12103 12104 12105 12106 12107 12108 12109 12110 12111 12112 12113 12114 12115 12116 12117 12118 12119 12120 12121 12122 12123 12124 12125 12126 12127 12128 12129 12130 12131 12132 12133 12134 12135 12136 12137 12138 12139 12140 12141 12142 12143 12144 12145 12146 12147 12148 12149 12150 12151 12152 12153 12154 12155 12156 12157 12158 12159 12160 12161 12162 12163 12164 12165 12166 12167 12168 12169 12170 12171 12172 12173 12174 12175 12176 12177 12178 12179 12180 12181 12182 12183 12184 12185 12186 12187 12188 12189 12190 12191 12192 12193 12194 12195 12196 12197 12198 12199 12200 12201 12202 12203 12204 12205 12206 12207 12208 12209 12210 12211 12212 12213 12214 12215 12216 12217 12218 12219 12220 12221 12222 12223 12224 12225 12226 12227 12228 12229 12230 12231 12232 12233 12234 12235 12236 12237 12238 12239 12240 12241 12242 12243 12244 12245 12246 12247 12248 12249 12250 12251 12252 12253 12254 12255 12256 12257 12258 12259 12260 12261 12262 12263 12264 12265 12266 12267 12268 12269 12270 12271 12272 12273 12274 12275 12276 12277 12278 12279 12280 12281 12282 12283 12284 12285 12286 12287 12288 12289 12290 12291 12292 12293 12294 12295 12296 12297 12298 12299 12300 12301 12302 12303 12304 12305 12306 12307 12308 12309 12310 12311 12312 12313 12314 12315 12316 12317 12318 12319 12320 12321 12322 12323 12324 12325 12326 12327 12328 12329 12330 12331 12332 12333 12334 12335 12336 12337 12338 12339 12340 12341 12342 12343 12344 12345 12346 12347 12348 12349 12350 12351 12352 12353 12354 12355 12356 12357 12358 12359 12360 12361 12362 12363 12364 12365 12366 12367 12368 12369 12370 12371 12372 12373 12374 12375 12376 12377 12378 12379 12380 12381252x 252x   252x 252x 1008x 1008x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 37580x     37580x 37580x 37580x         252x 252x 252x 252x 252x 279674x     279674x 279674x 279674x   252x 252x 252x 252x 1724x 1724x 1724x 252x 252x 252x 880x 880x 880x 880x 1849x 1849x 337x 212x 212x 198x 212x 1849x 541x 504x 1849x 880x 211x 211x 211x 880x 880x 753x 702x 702x 829x 211x 211x 211x 753x 51x 51x 753x 160x 211x 252x 252x 252x 68x 252x 252x 252x 285x 285x 285x 285x 285x 285x 252x 252x 252x 252x 252x 252x 47218x 47218x 15307x 15307x 38970x 31843x 31843x 68x 68x 20544x 285x 285x     285x     285x 285x 68x 47218x 252x 252x 252x 1008x 1008x 727916x 727916x     727916x 727916x 727916x 1348714x 1348714x 309764x 10682x 10682x 1348714x 716755x 716755x 1348714x 1348714x 727916x 479x 479x   1008x 1008x 252x 252x 252x 252x 252x 252x 395459x 395459x 395459x     395459x 395459x 1504x     1504x 461x 461x 395459x 393955x     393955x 178398x 178398x 393955x 216600x 395459x 252x 252x 252x 167050x 167050x 167050x 167050x 167050x 167050x 167050x 167050x 167050x 252x 252x 252x 308149x 308149x     308149x 2257x 40749x 2257x 2257x 40749x   305892x 308149x 252x 252x 252x 228216x 228216x     228216x 10682x 10682x 217534x 228216x 252x 252x 252x 161909x 161909x 161909x 161909x 241842x 241842x 241842x 241842x 241842x 161909x 161909x 161909x 161909x 252x 252x 252x 4056642x 4056642x 4056642x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 42464x 42464x 42464x 42464x 42464x 42464x 486275x 1498x 486275x 1393x 1393x 486275x 42464x 42464x 252x 252x 252x 22353x 22353x 22353x 22353x 22353x 22353x 22353x 22353x 22353x 1814x 577x 577x 1814x 277x 277x 1814x     1814x 1814x 22353x 22353x 22353x 252x 252x 252x 43396x 43396x 43396x 43396x 40008x 40008x 40008x 40008x 40008x 43396x 43396x 43396x 21043x 21043x 22353x 22353x 22353x 22353x 22353x 22353x 22353x 22353x 43396x 252x 252x 252x 252x 178003x 178003x 178003x 178003x     178003x 178003x 156x 156x 177847x 178003x 296248x 296248x 296248x 296248x     296248x 296248x 2840x 2840x 2840x 2840x 1572x 1572x 1572x 1572x 1991x 1991x 1991x 252x 252x 252x 6552x 6552x 3276x 3276x 3276x 3276x 6552x 6552x 6552x 252x 252x 2772x 2772x 504x 504x 504x 252x 252x 504x 504x 504x 1155724x 1155724x         1155724x 1155724x         1155724x 1155724x 504x 504x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 7812x 7812x 7812x 7812x 252x 252x 252x 94533x 94533x 94533x 94533x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 56278x 56278x 56278x 57970x 57970x 24965x 24965x 57970x 31313x 31313x 1692x 1692x 56278x 3551x 3551x 3551x 3551x 3551x 252x 252x 252x 37140x 37140x 37140x 252x 252x 252x 445x 445x 445x 11530x 11530x 11530x 9478x 9478x 36x 36x 9478x 9478x 1999x 1999x 9x 9x 1999x 630x 630x 1999x 11x 11x 1999x 575x 575x 1987x 608x 608x 1975x 77x 77x 1975x 9x 9x 80x 80x 80x   1999x 252x 252x 252x 252x 252x 252x 252x 252x 252x 5270x 5270x 5270x 48595x 48595x 48595x 24665x 24665x 24665x 8566x 8566x 8566x 111870x 111870x 111870x 111870x 111870x 5197x 5197x 5197x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 54x 54x 54x 26490x 26490x 26490x 252x 44439x 44439x 44439x 15511x 15511x 15511x 15511x 15511x 14023x 14023x 14023x 252x 252x 252x 252x 252x 130172x 130172x 130172x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 7945x 7945x 6857x 7945x 7945x 25374x 25374x 25374x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 3551x 3551x 3551x 71774x 71774x 24735x 24735x 47039x 71774x 25716x 342x 342x 25716x 360x 360x 71774x 1482x 18x 18x 1482x 1482x 44855x 71774x 252x 704923x 1631x 1631x 704923x 252x 252x 252x 252x 252x 252x 252x 1080x 1080x 1080x 1080x 2358x 2358x 2358x 12850x 12850x 1278x 1278x 1278x 12850x 1188x 1188x 12850x 1170x 2358x 252x 6124x 6124x 6124x 108x 108x 6016x 6124x 623x 623x 6124x 6124x 4x 4x 6124x 333x 333x 6124x 45x 45x 6124x     6124x 54x 54x 4957x 6124x 114251x 114251x 4326x 4326x 109925x 109925x 109925x 109925x 109925x 114251x 539x 539x 539x 31064x 31064x 31064x 893x 893x 695x 695x 198x 198x 198x 198x 198x 198x 893x 893x 32357x 32357x 24767x 24767x 7590x 32232x 18497x 2007x 2007x 198x 198x 18497x 1066x 1066x 131x 131x 1066x 935x 18497x 7261x 32357x 39317x 39317x 39317x 39317x 252x 5049x 5049x 54x 54x 5049x 16x 16x 4979x 5049x 81x 81x 5049x 3414x 3414x 5049x 61x 61x 5049x 148x 148x 148x 148x 5049x 178x 178x 5049x 317x 309x 309x 309x 8x 8x 5049x 283x 283x 5049x 117x 117x 380x 5049x 203x 203x 203x 81857x 81857x 81857x 39858x 39858x 39858x 39858x 39858x 39858x 3009x 39858x 39858x 7810x 39858x 332x 16x 16x 316x 39858x 39858x 9127x 484x 484x 8643x 39858x 3715x 39858x 8x 39858x 12x 39858x 75x 39858x 39858x 39858x 39858x 39858x 39858x 39858x 181x 39858x 15589x 39858x 39858x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 34546x 34546x 25918x 25918x 34536x 54x 54x 34546x 432x 432x 34546x 297x 297x 34546x 357x 357x 34546x 189x 189x 7299x 34546x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 79260x 79260x 79260x 3746x 3746x 3746x 13971x 13971x 13971x 66x 66x 13905x 13905x 13905x 13905x 13905x 13905x 13971x 13971x 252x 93194x 93194x 56141x 56141x 37053x 93194x 24x 24x 93194x 350x 93194x 36703x 36703x 93194x 66x 66x 37053x 37053x 93194x 18658x 18658x 18658x 18658x 18658x 24x 24x 18658x 243x 18658x 18415x 18415x 18658x 66x 66x 18658x 252x 168207x 168207x 124153x 124153x 168207x 5x 5x 44049x 168207x 387x 387x 108x 108x 387x 44049x 44049x 168207x 35450x 35450x 35450x           35450x 387x 387x 387x 387x 387x 108x 108x 35450x 35063x 35063x 35450x 7758x 7758x 7758x       7758x 122x 14x 14x 14x 14x 14x 122x 108x 108x     7758x 7416x 7416x 7758x     7636x 7758x 70543x 70543x 70543x 1068003x 1068003x 1068003x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 52898x 529x 529x 529x 52898x 48833x 48833x 252x 1784259x 1784259x 1732005x 1732005x 52254x 1784259x 1784259x 22182x 22182x 21538x 21538x 644x 22182x 22182x 252x 3755x 3755x 3755x 99173x 99173x 99173x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x       252x 88x 88x 88x 14x 14x 88x     88x     88x     88x     88x     88x               88x 2x 88x             88x     88x                 88x 88x                                       88x     88x     88x       88x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 2329592x 2329592x 1275751x 1275751x 2329144x 657090x 657090x 2328946x     396751x 396751x 396751x 396751x 2329592x 252x 252x 252x 252x                                       252x           252x 252x 252x 252x 252x 150911x 150911x 150911x 2139774x 2139774x 60128x 60128x 60128x 2139774x 60128x 60128x 2079646x 2139774x     2139774x 56969x 56969x 2022677x 2139774x 2139774x 559219x 559219x 1689773x 1689773x 559219x 559219x 2139774x 24407x 24407x 2139774x 127067x 9x 27x 27x 127067x 127058x 127058x 127067x 2139774x 2139774x 2139774x 2139774x 2139774x 63063x 63063x 2139774x 2139774x 2139774x 2139774x 2139774x 2139774x 1248921x 2139774x   2139774x 2139774x 150911x 252x 252x 252x 91080x 91080x 67275x 67275x 23805x 23805x 23805x 183590x 61194x 61194x 122396x 122396x 122396x 183590x 23805x 122396x 122396x 41332x 122396x 1504x 122396x 453x 453x 453x 453x 453x 122396x 7829x 7829x 19x 19x 7829x 7810x 7810x 7829x 7829x 122396x 122396x 122396x 122396x 122396x 5182x 122396x 122396x 122396x 122396x 122396x 122396x 66096x 122396x   122396x 122396x 91080x 147447x 147447x 147447x 147447x 2017302x 56124x 56124x 1961178x 2017302x 12952x 12952x 12952x 2017302x 147447x 147447x 147447x 1642992x 1642992x 2564x 2564x 1642992x 6878x 6878x 1642992x 1061x 1061x 1642992x 99588x 99588x 99588x 931x 931x 692x 692x 692x 692x 692x 692x 692x 428x 428x 692x 931x 931x 3235x 3235x 3235x 3235x 60128x 478x 478x 60128x 4676x 4676x 22x 22x 4654x 4654x 60128x 3235x 60128x 4676x 4676x 453x 453x 4676x 60128x 3235x 3235x 3235x 3235x 3235x 3235x 3235x 3235x 30911x 30911x 1192x 1192x 30911x 234x 234x 29485x 30911x 9326x 9326x 9326x 66486x 66486x 66486x 315x     315x 66486x 1754x     1754x 18x 18x 1736x 66486x 66486x 66486x 66486x 1960x     1960x 66486x 38x     38x 66486x 22602x 22602x 82636x 46955x 46955x 82636x 82636x 25164x 25164x 25164x 25164x 82636x 2029x 82636x 33652x 33652x 35681x 35681x 22602x 510x 510x 22602x 17262x 17262x 4830x 4830x 66486x 66486x 66486x 66486x 66486x 66486x 66486x 39817x 66486x   66486x 43866x 66486x 17096x 17096x 17096x 63124x 63124x 63124x 63124x 63124x 63124x 318186x 318186x 2449x 2449x 318186x 47859x 47859x 47859x 19451x 19451x 19451x 229x 229x 229x 2216x 2216x 1145x 487x 487x 2216x 2216x 2216x 2216x 2216x 823x 823x 2216x 229x 229x 229x 252x 252x 252x 252x 252x                 252x 252x                   252x 252x                                             252x 252x 252x 276635x 276635x 276635x 276635x 31756x 31756x 31756x 31756x 592753x 592753x 592753x 592753x 592753x 592753x 592753x 592753x 592753x 592753x 592753x 592753x 592753x 592753x 592753x 31x 31x 31x 720x 720x 720x 13018x 13018x 13018x 4126x 4126x 4126x 4126x 123445x 123445x 123445x 18062x 18062x 123445x 123445x 123445x 123445x 123445x 123445x 123445x 24436x 24436x 24436x 24436x 24436x 24436x 24436x 24436x 24436x 698x 698x 698x 698x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 89767x 89767x 89767x 89767x 89767x 126890x 38392x 38392x 126890x 126890x 89767x 89767x 2366x 2366x 2366x 2366x 470x 1034x 1034x 470x 470x 470x 2366x 2366x 40057x 40057x 40057x 40057x 252x 252x 12667x 12667x     12667x 12667x 12667x 252x 12703x 12703x 12667x 12667x 12703x 12703x 252x 252x 252x 43858x 43858x 43858x 31155x 31155x 43843x 1652x 1652x 11051x 11051x 11051x   43858x 1652x 1652x 1652x 1652x 1652x 1652x 1652x 1652x 1652x 1652x 1652x 1652x 1652x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 5858x 5858x 5858x 5858x 5858x 5858x 62x 62x 5858x 5858x 5858x 5858x 5858x 5858x 5858x 5858x 2358x 2358x 2358x 2358x 2358x 1218x 1218x 1218x 1218x 2x 2x 1218x 1218x 2282x 2282x 2282x 2282x 2282x 252x 252x 30792x 30792x 30792x 30792x 65472x 65472x 65472x 65472x 65472x 65472x 30792x 30792x 252x 252x 252x 24252x 24252x 24252x 24252x 252x 252x 252x 52631x 52631x 185493x 27641x 27641x 185493x 24990x 52631x 252x 252x 252x 252x 13850x 13850x 13845x 13845x 13845x 660x 660x 660x 13845x 13845x 13850x 13850x 252x 252x 252x 252x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 20916x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 17472x 5634x 5634x 5634x 5634x 5634x 5634x 5634x 5634x 5634x 5634x 5634x 5634x 5634x 5634x 5634x 557x 557x 557x 557x 557x 379x 557x 178x 178x 557x 18x 18x 18x 18x     18x 17472x 17472x 63x 63x 63x 17409x 17472x 42526x 42526x 42526x 42526x 42526x 42526x 42526x 42526x 41498x 41498x 1028x 1028x 1028x 1028x 30991x 36x 36x 36x 42526x 425x 425x 425x 425x 425x 407x 74x 74x 74x 333x 407x 162x 162x 162x 171x 171x 171x 425x 30991x 225x 225x 225x 30991x       30991x 333x 333x 333x 27x 42526x 41525x 41525x 41525x 41525x 41525x 41525x 41525x 41525x 41417x 41417x 108x 108x 108x 108x 18363x 36x 36x 36x 18363x 36x 36x 36x 36x 36x 36x 36x   41525x 35893x 35893x 35893x 35893x 35893x 35893x 35893x 35803x 35803x 35893x 27x 27x 27x 25871x 27x 27x 27x 25871x       10531x 18x 18x 18x 18x 35893x 20494x 20494x 20494x 20494x 20494x 20494x 310x 310x 310x 20184x 20494x 18583x 18583x 18583x 18583x 18583x 18583x 18583x 18111x 18111x 18583x 18583x 472x 472x 18583x 18583x         18583x 38147x 38147x 38147x 38147x 38147x 38147x 38147x 38147x 38147x 38147x 424x 45x 45x 45x 424x 81x 81x 81x 343x 343x 343x 37723x 38147x 5524x 5524x 5524x 5524x 5524x 5524x       5524x 5524x 252x 252x 252x 252x 252x 252x 252x 252x 35821x 35821x 35821x 35821x 35821x 35821x 35821x 390x 7x 7x 7x 7x 7x 7x 7x 7x 390x 152x 152x 152x 231x 231x 62x 62x 62x 231x 357x 114x 112x 114x 2x 2x 114x 114x 357x 55x 390x 35486x 35821x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 23994x 23994x 23994x 23994x 23994x 23994x 23994x 23994x 41x 23994x 34x 34x 34x 23994x 47x 47x 47x 23913x 23994x 252x 252x 252x 252x 252x 252x 252x 4993x 4993x 4993x 4993x 4993x 4993x 4993x 4311x 4311x 4993x 188x 188x 188x 494x 4993x 4995x 4995x 4947x 4947x 48x 4995x 2x 2x 2x 46x 4995x 5524x 5524x 4609x 4609x 5524x 418x 418x 418x 5524x 39x 39x 39x 458x 5524x 20502x 20502x 20502x 20502x 20502x 20502x 20502x 20502x 6x 6x 6x 20502x 2x 2x 2x 20494x 20502x 38170x 38170x 38170x 38170x 38170x 38170x 38170x 38170x 6x 6x 6x 38170x 331x 331x 331x 38170x 90x 90x 90x 90x 90x 90x 90x 90x 90x 37743x 38170x 34777x 34777x 18x 18x 18x 34759x 34777x 39077x 39077x 612x 612x 612x 38465x 39077x 15888x 15888x 15888x 15888x 15888x 15888x 54x 54x 54x 15834x 15888x 19535x 19535x 19535x 19535x 19535x 19535x 19535x 112x 12x 12x 12x 112x 112x 112x 112x     19535x 8x 8x 8x 19423x 19535x 15834x 15834x 13x 13x 13x 15821x 15834x 40277x 40277x 40277x 244x 113x 244x 131x 131x 244x 244x 40277x 233x 122x 233x 111x 111x 233x 233x 39800x 40277x 19589x 19589x 54x 54x 54x 19535x 19589x 36123x 36123x 36123x 36123x 36123x 36123x 36123x 252x 252x 252x 36123x 36123x 36123x 216x 216x 216x 35655x 36123x 18945x 18945x 18x 18x 18x 18927x 18945x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 15644x 15644x 15644x 15644x 15644x 15644x 243x 243x 243x 15401x 15644x 4769x 4769x 4769x 4769x 4769x 4769x 4769x 4x 4x 4x 4765x 4769x 26550x 26550x 12x 12x 12x 12x 26550x 33417x 33417x 33379x 33379x 10334x 30x 30x 30x 33417x 15113x 15113x 15113x 15113x 15113x 15113x 15050x 15050x 15113x 9x 7102x 54x 54x 63x 15113x 15050x 15050x 15050x 15050x 15050x 15050x 15050x 8x 8x 8x 8x 8x 8x 8x 8x 15042x 15050x 18583x 18583x 18583x 18583x 18583x 18583x 18583x 28x 20x 28x 8x 8x 28x 28x 18583x 15042x 15042x 15042x 15042x 15042x 15042x 15042x 15042x 234x 234x 234x 234x 234x 234x 234x 198x 234x 180x 180x 180x 234x 14862x 15042x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 142749x 142749x 142749x 61351x 61351x 61351x 218x 218x 61351x 1033496x 1033496x 1033496x 1033496x 2406x 2406x 468x 468x 468x 468x 468x 468x 468x 468x 468x 2406x 252x 252x 3235x 3235x 3235x   3235x   3235x 3235x 3235x 3235x 252x 252x 252x 252x 252x 252x 3235x 3235x 3235x 1737x 1737x 1737x 28x 28x     28x     28x     28x     28x 28x 28x 1765x 1765x 1765x 1765x 1765x 1765x 1765x 2137x 2137x 2109x 2109x 99x 2109x 2010x 2010x 2109x 2137x         2137x 28x 28x 28x 2137x   2137x 2137x 1765x 1765x 1765x 99x 99x 99x 1765x 2038x 2038x 2038x 1765x 2109x 99x 2109x 2010x 2010x 2109x 1765x 99x     99x 99x 1765x 3775x 28x 28x 3775x 3775x 1765x 3874x 3874x 3874x 1765x 743x 743x 743x 743x 743x 824x 824x       824x     824x 743x 743x   743x 743x 743x 743x 743x 81x 743x           743x 743x 1968x 1968x 1968x 1968x                                                                                                                                                             1968x 3235x 3235x 3235x 3235x 3235x 3235x 3235x 3235x 3235x 3235x 3235x 3235x 58812x 58812x 58812x 31379x           31379x 31379x 31379x 28144x 28144x 31379x 31379x 58812x 15826x 48621x 48621x 15826x 58812x             58812x 1737x 1737x 58812x 28x 28x 28x 28x 28x 28x 58812x     58812x 4624x 4624x 2579x 2579x 2579x 2579x 2579x 2579x 2579x 2579x 4624x 4624x 2045x 2045x 2045x 2045x 2045x 1608x 2045x 437x                                                 437x 437x 437x 437x 2045x 2045x 4624x 4624x 457x 457x 457x 457x 457x 457x 457x 4624x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 58812x 198x 198x 198x 198x 198x     198x 198x 198x 198x 198x 198x 198x 198x 198x 198x 198x 198x 198x 36x 36x 36x     36x 36x 162x 162x 198x               162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 162x 198x         162x 162x 58812x 58812x 612x 612x 9x 9x 9x 9x 9x 612x 603x 603x 18x 18x 603x 612x 612x 58812x     58812x 70x     70x 58812x 3842x 3842x 3099x 3099x 1448x 1448x 1448x 3099x 3099x     3842x 3842x 743x         743x               743x 743x 743x 743x 743x 743x 3842x 3842x 58812x 18x 18x 58812x 478x 58812x   58812x 58812x       58812x 3235x 3235x                                     3235x 3235x 252x 252x 607x 607x 607x 1856x 198x 1856x 1658x 1658x 1856x 607x 607x 252x 252x 252x 607x 607x 607x     607x 607x 607x 607x 607x 607x 252x 252x 252x 3298x 3298x 3298x 3298x 126x 126x 126x 126x 126x 3172x 3298x 8x 8x 3172x 3172x 3172x 3172x 3172x 5687x 5687x 3172x 3172x 2515x 2515x 5687x 5687x 5687x 5687x 5687x 5687x 5687x 5687x 5687x 5687x 2065x 2065x 2065x 2065x 2065x 221x 2065x 1844x 1844x 2065x 5687x 218x 218x 5687x 5687x 3172x 3172x 3172x 3298x 2533x 2533x 2533x 2533x 2533x 2533x 2533x 2533x 2533x 29x 29x 29x 29x 29x 11x 29x 18x 18x 29x 2533x 2533x 2533x 2533x 2533x 2533x 2533x 2533x 126x 126x 126x 126x 126x 126x 126x 126x 126x 126x 1170x 1170x 1170x 1170x 126x 126x 126x 1170x 1170x 1170x 1170x 1170x 1170x 1170x 1170x 1170x 18x 18x 1170x 342x 342x 1170x 126x 126x 126x 126x 126x 126x 126x 126x 126x 126x 486x 1476x 1476x 1476x 1476x 1476x 486x 126x 126x 126x 126x 126x 126x 126x 126x 126x 504x 504x 504x 504x 504x 126x 126x 126x 126x 126x 126x 126x 126x 126x 2106x 2106x 2106x 2106x 49x 49x 2106x 2106x 1706x 1706x 1706x 1706x 1706x 1706x 217x 217x 4821x 2147x 1232x 1232x 1232x 1232x 1232x 2147x 2147x 2674x 217x 217x 4694x 4694x 4694x 4694x 4694x 4694x 4694x 4694x 4694x 3290x 3290x 3290x 3290x 252x 252x 252x 252x 252x 252x 252x 3994x 3994x 3994x 3994x 3994x 3994x 3994x 3994x 3994x 3988x 3988x 3988x 3994x 3994x 3175x 3175x 3175x 3175x 3175x 3175x 3175x 8210x 8210x 8210x 8210x 8210x 8210x 8210x 7808x 7808x 7808x 7601x 7601x 7601x 252x 252x 935x 935x 935x 935x 935x 935x 935x 935x 935x 908x 908x 935x 9x 9x 899x 935x 908x 908x 239x 239x 669x 669x 8249x 7049x 7049x 1200x 4176x 2688x 2688x 1488x 1488x 1200x 669x 908x 908x 4937x 4937x 74x 4937x 4937x 1025x 1025x 1025x 261x 261x 261x 4663x 4663x 2440x 2440x 4663x 4663x 4663x 840x 840x 840x 252x 840x 4663x 158x 158x 158x 18x 27x 27x 158x 4663x 893x 4663x 332x 4663x 4663x 4012x 4012x 4012x 4937x 4937x 953x 953x 4937x 252x 252x 252x 150x 150x 150x 150x 150x 150x 289x 289x 289x 289x 289x 289x 289x 289x 289x 289x 289x 289x 289x 5x 5x 284x 289x 163x 289x 121x 111x 289x 166x 166x 15x 15x 166x 166x 25x 25x 289x 10x 10x 289x 139x 139x 289x 274x 150x 163x 163x 163x 163x 163x 392x 317x 317x 392x 15x 350x 60x 60x 75x 75x 163x 163x 3984x 3984x 3984x 3984x 3984x 160x 160x 3984x 252x 252x 252x 252x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 648x 16080x 11965x 11965x 4115x 4115x 16064x 5035x 5035x 4575x 3779x 3779x 297x 297x 297x 297x 297x 297x 297x 297x 3779x 3779x 4575x 4575x 460x 460x 460x 4115x 648x 648x 648x 648x 648x 429x 429x 219x 219x 219x 219x 219x 648x 648x 648x 648x 648x 648x 3824x 3824x 3626x 3626x 3824x 3824x 252x 252x 3824x 3824x 649x 649x 3824x 17x 17x 3824x 252x 252x 252x 51x 51x 51x 51x 51x 51x 51x 51x 51x 51x 51x 51x 20x 20x 20x 20x 20x 20x 20x 20x 51x 51x 51x 51x 51x 51x 51x 51x 51x 51x 51x 51x 51x 51x 51x 3158x 3158x 53x 53x 3158x 3158x 3158x 3158x 252x 252x 252x 1090501x 1090501x 1090501x 5059x 1090501x 1085564x 1085564x 4937x 4937x 4937x 4937x 4937x 4937x 1083338x 15903x 15903x 14071x 14071x 15903x 48x 48x 1784x 1784x 1784x 1784x 1784x 1090501x 5059x 5059x 5059x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 24x 24x 24x 24x 24x 24x 24x 24x 24x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 18x 18x 18x 18x 18x 18x 18x 18x 6x 6x 18x 12x 12x 18x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 37x     37x 31x 31x 31x 37x 24x 55x 55x 98x 98x 98x 252x 252x 252x 252x 252x 55x 55x 43x 43x 12x 54x     12x 55x 252x 252x 252x 55x 55x 55x 12x 12x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x 55x     55x 55x 55x 252x 252x 1218x 1218x 1218x 1218x 1218x 1218x 1218x 1218x 1218x 1218x 1218x 1218x 14258x 346x 346x 14258x 1218x 1218x 252x 252x 252x 1076088x 1076088x 1076088x 18913x 18913x 1057175x 1076088x 5x 5x 1076088x 133033x 133033x 1076088x 316532x 24x 24x 316532x 26x 26x 316532x 1015x 1015x 1015x 1015x 104x 104x 1015x 68x 68x 1015x 316532x 718x 718x 718x 718x 718x 569x 569x 718x 331x 331x 718x 316532x 6694x 6694x 6694x 6694x 6694x 6694x 6694x 6694x 6694x 6694x 73x 73x 73x 73x 60x 60x 73x 6694x 6694x 316023x 316023x 1076088x 23146x 23146x 23146x 23146x 12136x 12136x 23146x 616x 616x 23146x 1076088x 15267x 15267x 15267x 15267x 15267x 2392x 2392x 15267x 769x 769x 15267x 606220x 1076088x 155x 1076088x 1076088x 1545x 173x 173x 1372x 1076088x 269x 269x 269x 269x 269x 206x 269x 1076088x 352x 67x 67x 285x 1076088x 11723x 11723x 11723x 11723x 11723x 32x 32x 11691x 1076088x 1076088x 1076088x 1076088x 21862x 778x 778x 21084x 1076088x 18082x 17306x 17306x 17306x 17306x 18082x 70x 70x 18012x 1076088x 604676x 1076088x 558x 36x 36x 1076088x 1076088x 6611x 6611x 399x 6611x 14x 6611x 6611x 29x 6611x 14x 6611x 6611x 6611x 290x 6611x 1224x 6611x 2x 6611x 4639x 6611x 1076088x 17031x     17031x 133x 133x 17031x 14x 14x 4x 4x 14x 1076088x 1076088x 1076088x 1076088x 1076088x 1076088x 1076088x 1076088x 24803x 24803x 24803x 24803x 24803x 24803x 143x 24803x 5279x 24803x 24803x 24803x 886x 24803x 24803x 7x 24803x 24803x 24803x 24803x 24803x 24803x 24803x 24803x 24803x 799x 24803x 24803x 298x 24803x 24803x 1525x 24803x 4418x 1277x 1277x 24803x 24803x 5140x 5140x 56x 56x 5084x 5084x 5084x 5140x 214x 214x 5140x 57x 57x 5140x 443x 443x 5140x 624x 624x 5140x 221x 221x 3525x 3525x 24803x 9449x 24803x 1076088x 621x 27x 27x 594x 1076088x 852x 11x 11x 1076088x 1076088x 1892x 1892x 1892x 1892x 1892x 1892x 1892x 1892x 1892x 1892x 1892x 1892x 225x 1892x 1892x 131x 1892x 1892x 1892x 59x 1892x 114x 1892x 63x 16x 16x 47x 1892x 1300x 1892x 1076088x 287x 287x 287x 287x 287x 8x 8x 1076088x 1076088x 1076088x 1076088x 1026x 56x 56x 1026x 66x 66x 1026x 42x 42x 12x 12x 42x 22x 22x 42x 1076088x 1076088x 1076088x 2317x 135x 135x 1076088x 1076088x 2314x 132x 6x 6x 132x 4x 4x 132x 1076088x 1076088x 2433x 1076088x 107x 1076088x 1076088x 9x 1076088x 1076088x 127x 1076088x 183x 1076088x 1076088x 2344x 1076088x 1076088x 3229x 1076088x 1076088x 1417x 16x 16x 1401x 1401x 1401x 1401x 1417x 2x 2x 1399x 1399x 1399x 1399x 1399x 1417x 9x 9x 1417x 1417x 1311x 1311x 1417x 1299x 6x 8x 8x 8x 1417x 1417x 1076088x 1076088x 20x 1076088x 1076088x 1076088x 80309x 792x 792x 792x 80309x 1076088x 10938x 34x 34x 10938x 9100x 9100x 10938x 2x 2x 10938x 454x 454x 10938x 201x 201x 201x 10938x 72x 72x 10938x 22x 22x 22x 10938x     10938x 60x 60x 10938x 15x 15x 1201x 1076088x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 15208x 342x 15208x 15208x 15208x 2312x 15208x 3712x 2029x 2029x 1683x 15208x 15208x 2354x 15208x 6488x 15208x 1076088x 6736x 6736x 6736x 6736x 2004x 6736x 34x 6736x 6736x 4698x 6736x 1076088x 16672x 16672x 112x 16672x 16672x 16672x 9822x 16672x 16672x 23x 16672x 16672x 16672x 16672x 16672x 16672x 16672x 16672x 16672x 16672x 16672x 16672x 186x 16672x 411x 16672x 6118x 16672x 1076088x 413x 413x 18x 413x 395x 413x 1076088x 1076088x 1076088x 1076088x 114410x 1053x 1053x 1076088x 1076088x 1076088x 116488x 388x 388x 788x 788x 788x 160x 788x 788x 788x 335x 335x 788x 788x 788x 17x 17x 788x 48x 48x 788x 228x 788x 788x 388x 116100x 1076088x 426x 1076088x 242x 242x 214x 214x 28x 1076088x 1076088x 17491x 1076088x 38x 1076088x 294385x 1076088x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 988x 988x 988x 988x 4552x 4552x 133x 133x 4419x 4419x 855x 988x 109x 109x 109x 109x 109x 109x 388x 388x 388x 18x 18x 18x 18x 2x 2x 2x   18x 5x 5x 5x   18x 18x 2x 2x 2x   18x 1x 1x 1x   18x 1x 1x 1x   18x 7x 18x 412x 412x 412x 90x 63x 63x 90x 90x 412x 179x 179x 143x 143x 143x 143x 412x 114410x 114410x 114410x 114410x 114410x 114410x 114410x 114410x 114366x 114366x 114366x 114410x 114329x 114329x 114329x 114329x 114329x 114329x 114410x 114315x 114315x 114315x 114315x 114315x 114410x 114308x 114308x 114308x 114308x 114308x 114308x 114410x 109x 109x 114301x 114301x 114301x 114410x 113931x 113931x 113931x 114410x 438x 438x 113863x 113863x 113863x 114410x 1842x 1842x 1842x 1842x 1404x 1404x 1404x 1404x 114410x 471x 471x 113392x 113392x 113392x 113392x 113392x 114410x 35x 35x 113357x 114410x 673x 673x 285x 285x 673x 94x 94x 294x 673x 352x 352x 10x 10x 352x 352x 252x 252x 252x 193x 193x 193x 193x 193x 193x 193x 193x 252x 252x 252x 252x 4570x 4570x 4570x 4570x 4570x 642x 642x 642x 642x 642x 642x 642x 237x 118x 237x 237x 642x 405x 405x 642x 642x 642x 642x 642x     642x 642x 865x 865x 865x 865x 865x 865x 865x 193x 193x 193x 193x 193x 193x 193x 193x 193x 193x 865x 505x 505x 505x 505x 505x 505x 167x 865x 65444x 65444x 65444x 60908x 60908x 4536x 4536x 4536x 4536x 4536x 4536x 4536x 5619x 2556x 2556x 3063x 4536x 65078x 1844x 1844x 2692x 65444x 65444x 67958x 67958x 67958x     67958x 67958x 67958x 67958x 67958x 66546x 66546x 1412x 1412x 1412x 1412x 1507x 1507x     1507x 1507x 642x 1507x 865x 865x 865x 865x 865x 865x 865x 1412x 1412x 67958x 63819x 63819x 63819x 62547x 62547x 1272x 63819x 252x 252x 252x                   252x 252x 252x 252x 4521x 4521x     4521x 4521x 252x 252x 252x 252x 252x 252x 252x 252x         252x 252x 837x 837x 837x 1408x 1408x 837x 837x 252x 837x 837x 837x 1374x 1374x 837x 837x 252x       252x       252x     252x               252x 837x 837x 837x 252x 837x 837x 837x 252x 837x 837x 252x 4521x 4521x 4521x 4521x 4521x 4521x 4521x 4521x 4521x 252x             252x 35192x 35192x 35192x 35192x 35192x 35192x 252x             252x 252x 252x 252x 252x 252x 252x 13103x 13103x 13103x 13103x 5391x 5391x 13103x 13103x 13103x 118x 118x 7594x 19548x 102x 102x 102x 102x 102x 102x 19446x 7594x 7594x 7594x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 41190x 41190x 41190x 41190x 41190x 41190x 41190x 514x 41190x 20x 20x 41190x 13101x 22201x 22201x 22201x 22201x 13103x 14860x 14860x 13103x 1002x 1002x 1002x 7594x 13101x 30852x 657x 65x 30x 30x 30x 35x 35x 657x 89x 89x 592x       657x 30852x 19037x 30852x 11661x 11661x 30852x 3939x 3939x 30852x 13103x 13103x 27x 13101x 9x 7567x     13101x 21x 21x 7573x 7573x 7573x 7573x 7573x 7573x 13101x 3793x 3793x 3780x 3780x 3780x 3780x 13103x 7594x 7594x 7594x 7594x 18763x 18763x 18763x 7594x 20649x 54x 54x 20595x 20595x 20649x 7594x 19548x 12377x 12377x 3684x 3684x 3684x 3684x 3684x 3684x 1594x 1594x 1214x 1214x 1214x 1214x 1214x 1214x 1214x 1214x 1594x 380x 380x 1594x 1594x 3684x 3684x 3684x 3684x 3684x 3684x 3684x 1735x 1735x 1735x 3684x 226x 226x 3684x 19726x 8134x 19726x 11592x 11592x 19726x 3684x 1509x 1220x 1220x 1220x 1220x 1220x 1220x 1220x 1220x 1509x 289x 289x 3684x 1949x 1949x 1949x 1949x 1949x 1949x 1949x 1949x 1949x 12377x 8693x 292x 292x 8693x     19548x 7171x 7171x 7171x 7171x 837x 837x 837x 837x 837x 837x 837x 837x 837x 837x 7171x 6334x 6334x 7171x 7594x 7594x 7594x 2786x 2786x 54x 54x 2786x 186x 186x 2546x 2786x 2434x 2434x 270x 270x 2434x 180x 180x 1984x 2434x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 13103x 13103x 13103x 8760x 8760x 4343x 4343x 4343x 4343x 4343x 4343x 4343x 4343x 4343x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 6249x 6249x 6249x 6249x 6249x 6096x 6096x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2771x 2249x 2249x 2249x 2249x 2249x 2771x 522x 522x 522x 522x 522x 2771x 2771x 2771x 2771x 2771x 6096x 3325x 3325x 6096x 6096x 6249x 6249x 6794x 6794x 6794x 6794x 3054x 3054x 3740x 3740x 3740x 3740x 3740x 3740x 3740x 6794x 12294x 12294x 12294x 12294x 12294x 2625x 2625x 2625x 2625x 2625x 2625x 2625x 12294x 773x 773x 773x 773x 773x 773x 773x 773x 12294x 692x 692x 692x 692x 692x 692x 692x 692x 692x 12294x 8977x 12294x 12294x 12294x 12294x 12294x 12294x 12294x 12294x 12294x 12294x 12294x 12294x 12294x 8977x 8977x 1692x 1692x 7285x 7285x 7285x 7285x 7285x 8975x 6380x 6380x 905x 8977x 7285x 7285x 918x 918x 918x 918x 7285x 7285x 7285x 7285x 7285x 7285x 7285x 71x 71x 71x 71x 71x 71x 949x 7285x 7285x 7550x 7550x 7550x 7550x 7550x 7550x 32x 7550x 24x 7518x 7494x 7494x 7550x 7550x 7550x 1014x 1014x 1014x 1014x 1014x 1014x 1014x 1014x 1014x 1014x 1014x 1014x 1014x 1014x 1014x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 13103x 296x 296x 296x 296x 296x 296x 296x 296x 281x 281x 281x 281x 281x 281x 281x 281x 185x 185x 96x 96x 96x 96x 281x 281x 281x 281x 281x 281x 1026447x 1026447x 1026447x 952627x 952627x 73820x 1026447x 6249x 1026447x 26166x 1026447x 67x 1026447x 6x 1026447x 1026447x 281x 1026447x 6794x 1026447x 1026447x 13103x 1026447x 12294x 1026447x 7550x 1026447x 1026447x 1014x 1014x 1014x 1014x 1014x 1026447x 296x 296x 296x 296x 296x 1026447x   1026447x   1026447x 1026447x 12596x 12596x 5364x 5364x 12594x 3820x 3820x 3412x 12596x 12596x 41510x 41510x 41510x 19548x 19548x 19548x 1030977x 1030977x 1030977x 1027374x 1027374x 3603x 3603x 1023873x 4301x 4301x 2648x 2648x 1653x 1653x 1653x 1030977x 1030977x 252x 252x 1032181x 1032181x 1032181x 252x 252x 252x 252x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 1306x 1306x 24138x 22x 22x 24138x 976x 976x 24138x 24138x 24138x 24138x 9712x 9712x 24138x     12122x 12122x 12122x 12122x 12122x 12122x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 24138x 12001x 12001x 121x 121x 121x 121x 121x 121x 121x 24138x 29348x 29348x 29348x 29348x 261x 261x 29087x 29348x 5126x 5126x 5126x 5126x 5126x 5126x 5126x 5126x 5126x 5126x 5126x 29348x 23961x 23961x 29087x 29348x 29348x 29348x 29348x 29348x 29348x 29348x 29348x 29348x 153x 153x 153x 153x 153x 153x 153x 153x 29348x 29348x 29348x 648x 648x 648x 648x 29348x 28439x 28439x 84x 84x 84x 84x 84x 84x 84x 84x 84x 28439x 28439x 2781x 2781x 36x 36x 27x 27x 36x 9x 9x 36x 36x 2781x 28439x 25658x 25658x 25658x 25658x 25658x 25658x 25658x 25658x 28439x 29087x 29087x 29087x 29087x 29087x 29348x 29348x 16717x 16717x 29348x 2988x 29348x 26099x 26099x 29348x 370x 370x     370x 370x 28717x 29348x 61268x 61268x 43280x 43280x 61268x 594x 594x 61268x 225x 225x 61238x 774x 774x 16395x 61268x 252x 28498x 28498x 44x 28498x 28498x 252x 252x 1030652x 1030652x 1030652x 1026447x 1026447x 4205x 1023548x 2133x 2133x 2133x 2133x 1030652x 242x 1030652x 295x 295x 295x 295x 295x 295x 295x 295x 295x 1030652x 5x 1030652x 313x 313x 575x 575x 313x 313x 313x 1030652x 439x 1030652x 408x 408x 408x 408x 1030652x 213x 213x 213x 213x 213x 213x 213x 213x 1030652x 144x 144x 144x 144x 144x 1030652x 13x 1030652x   1030652x 1030652x 475x 475x 475x 97x 97x 97x 97x 252x 252x 252x 252x 252x 300x 300x 300x 252x 252x 409x 409x 409x 409x 409x 409x 409x 2828x 2828x 2756x 2756x 72x 72x 72x 72x 2828x 1023694x 1023694x 1023694x 1023694x 383x 383x 1023694x 1023694x 1023396x 1023396x 1023694x 1023694x 1023694x 1023694x 1023694x 1023694x 1023694x 455x 455x 455x 455x 455x 3211x 3211x 3211x 479x 479x 3211x 3211x 3211x 252x 252x 252x 330x 252x 252x 252x 48029x 48029x 48029x 48029x 15241x 15241x 32788x 47986x 99x 99x 261x 261x 162x 162x 99x 99x 99x 99x 32689x 32689x 32689x 44097x 44097x 44097x 207x 207x 11408x 11201x 11201x 44097x 32689x 32689x 32689x 42664x 48029x 48029x 48029x 8360x 8360x 8360x 8360x 8360x 48029x 491x 491x 47986x 220x 220x     220x 220x 220x 220x 220x 220x           220x 207x 207x 207x 207x 207x 207x 207x 207x 13x 13x 13x 13x 13x 13x 47986x 7649x 7649x 111x 111x 7538x 7538x 7538x 7538x 7538x 7649x 330x 330x 330x     7649x 3444x 3444x 3444x 3444x 3444x 3444x 3444x 3444x 3764x 3764x 3764x 3764x 3764x 3764x 24329x 24329x 24329x 24329x 24329x 24329x 24329x 47986x 105x 105x 24224x 47986x 48029x 48029x 33293x 33293x 6487x 6487x 6487x 6487x 6487x 6487x 6487x 6487x 6487x 6487x 6487x 33293x 33293x 31978x 31978x 31978x 31978x 31978x 31978x 31978x 31978x 31978x 24928x 24928x 24928x 24928x 24928x 24928x 24928x 39x 39x 24928x 31939x 31939x 31939x 31939x 31939x 31939x 31978x 7817x 31978x 31978x 31978x 32198x 32198x 27052x 27052x 5146x 32198x 2x 2x 32198x 32198x 354x 354x     354x 64x 64x 4x 4x 64x 24x 24x     24x 64x 16x 16x 4x 4x 16x 64x 64x 354x 18x 18x 354x 54x 54x 354x 354x 32788x 32788x 5448x 5448x 5448x 5448x 5448x 5448x 32788x 1919x 596x 596x 596x 1919x 1919x 25421x 32788x 6044x 6044x 6044x 6044x 6044x 52x 52x 52x 4x 4x 4x 252x 252x 252x 252x 539x 12x 12x 539x 252x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 33031x 57693x 57693x 57693x 57693x 57693x 52386x 52386x 57693x 2027x 2027x 3280x 57693x 252x 252x 17529x 17529x           17529x 17529x 17529x 5903x 5903x 5903x 5903x 5903x 5903x 5903x 101x 101x 5802x 5903x 17529x 46544x 46544x 40x 40x 46544x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 4199x 46544x 24736x 24736x 24736x 24736x 24736x 24736x 24736x 24736x 24736x 24736x 42305x 40x 40x 40x 40x 40x 17569x 17529x 17529x 17529x 17529x 17529x 46544x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17653x 128x 17653x 17525x 17525x 17653x 17529x 16184x 18873x 2693x 18873x 16180x 16180x 18873x 16184x 17529x 17529x 17529x 17529x 43683x 4051x 18x 18x 18x 4033x 4033x 4033x 4033x 43683x 21680x 21680x 43665x 43683x 113x 113x 113x 113x 43683x 17529x 17507x 17507x 17529x 13914x 13914x 17529x 3220x 3220x 17529x 17417x 17417x 17417x 15191x 15191x 15191x 2226x 2226x 2226x 2226x 2226x 2226x 17417x 17417x 17529x 17529x 48050x 48050x 48050x 48050x 48050x 48050x 48050x 58x 58x 47992x 48050x 17529x 2541x     2541x 2541x 17529x 17529x 17529x 17529x 17529x 17529x 30350x 30350x 30350x 30350x 17529x 14988x 74x 74x 14914x 14914x 2541x 2541x 2541x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 17529x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 1718x 17529x 17529x 1312x 17529x 859x 17417x 1682x 1682x 1682x 1682x 1682x 1682x 1682x 1682x 2541x 17529x 252x 252x 252x 46468x 46468x 46468x 46468x 46468x 46468x 46468x 46468x 46468x 46392x 46392x 46392x 46468x 45443x 46468x 2662x 2662x 3892x 2662x 2662x 2660x 2660x 2660x 2660x 2660x 2660x 2660x 2660x 2660x 2660x 2662x 46468x 17636x 17636x 17636x 46468x 17529x 17529x 26279x 46468x 46468x 46468x 46468x 46468x 46468x 46468x 1802x 1802x 24477x 46468x 28939x 28939x 28939x 365x 365x 28574x 28939x 46392x 46392x 46392x 5643x 5643x 46392x 20925x 20925x 19824x 46280x 964x 964x 46392x 27x 27x 18833x 46392x 252x 252x 54973x 54973x 54973x 54973x 54973x 54973x 10673x 54973x 54973x 18061x 54973x 54973x 22604x 22604x 22604x 22604x 22604x 22604x 22604x 22604x 22604x 54973x 207x 54973x 54973x 54973x 285x 54973x 121x 54973x 56x 54973x 2966x 54973x 54973x 10455x 10455x 10455x 10455x 10455x 10455x 10455x 10455x 10455x 10455x 10455x 20076x 20076x 20076x 54973x 54973x 54973x 54973x 2966x 2966x 52007x 52007x 52007x 52007x 52007x 52007x 54973x 462x 462x 54973x 54973x 703x 703x 54973x 54973x 2983x 2983x 47859x 54973x 179x 179x 47680x 47680x 47680x 47680x 53740x 9970x 9970x 53717x 28x 28x 54973x 15078x 15078x 22604x 54973x 47680x 47680x 47680x 2140x 2140x 45540x 47680x 47680x 59x 47680x 47680x 256x 174x 174x 82x 47680x 2230x 1231x 1231x 1231x 999x 2230x 2230x 47680x 160x 47680x 47680x 9781x 9781x 33228x 33228x 47680x 33822x 570x 570x 33822x 24x 24x 33252x 33228x 33228x 33822x 47680x 29597x 29597x 47680x 6765x 6765x 26463x 47680x 47859x 47859x 27224x 27224x 172x 567x 567x 567x 27224x 27224x 20635x 47859x 162634x 162634x 162634x 58314x 58314x 58314x 37710x 37710x 37710x 315x 315x 28x 28x 315x 37682x 37710x 252x 252x 252x 252x 37710x 37710x 37710x 2976x 2976x 37710x 47760x 47760x 30382x 30382x 17378x 47760x 13893x 13893x 3485x 3485x 3485x 47760x 68x 47760x 47760x 48607x 48607x 48607x 48607x 252x 252x 252x 252x 3635x 3635x 3635x 956x 956x 3635x 36307x 36307x 36307x 36307x 36307x 265x 265x 36307x 4870x 4870x 313x 313x 4557x 4870x 4870x 2471x 2471x 4870x 30x 30x 2056x 2056x 36307x 4389x 4389x 36307x 36307x 47680x 47680x 31623x 31623x 16057x 16057x 47680x 47680x 2086x 2086x 2086x 43x 4x 4x 39x 39x 39x 26x 26x 39x 43x 43x     43x 2056x 2086x 2086x 2086x 2086x 2086x 186x 186x 363x 363x 363x 363x 56x 363x 130x 130x 130x 130x 363x 177x 363x 363x 186x 186x 252x 252x 36880x 36880x 36880x 36880x 36880x 18222x 18222x 18222x 18222x 18222x 335x 335x 335x 18222x 18222x 18222x 18222x 18658x 18658x 18658x 18658x 18658x 24705x 24705x 66x 66x 24705x 24705x 18658x 18658x 6047x 24705x 9x 24705x 183x 6038x 5855x 5855x 18658x 36880x 3121x 328x 328x 2793x 2793x 15537x 15537x 15537x 36880x 1335x 1335x 36801x 89x 89x 36880x 36880x 36880x 142x 122x 122x 20x 20x 13971x 13971x 13971x 13971x 13971x 36880x 36880x 36880x 36880x 36880x 36880x 20013x 20013x     20013x 20013x 4248x 4248x 15765x 20013x 20013x 18347x 18347x 18347x 3563x 3563x 2146x 2146x 18347x 334x 334x 18347x 18347x 18347x 18347x 18347x 18347x 14450x 14450x 18347x 18347x 429x 114x 114x 393x 309x 309x 12x 12x 309x 429x 18347x 18347x 3147x 3147x 3147x 3147x 1086x 28x 28x 28x 1058x 3147x 3147x 3147x 3147x 3147x 4453x 4453x 4453x 4453x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 1774x 1774x 1774x 124x 124x 1650x 1774x 519x 519x 1131x 1774x 7712x 7712x 4403x 4403x 7712x 1774x 1774x 1535x 7712x 54x 54x 54x 54x 54x 54x 54x 54x 54x 54x 22x 22x 54x 24x 24x 54x 54x 54x 3150x 3150x 3150x 3150x 3150x 3150x 3150x 3150x 3150x 3150x 3150x 604x 604x 604x 604x 1297x 1297x 604x 604x 693x 693x 1297x 100x 100x 593x 593x 1297x 1297x 511x 72x 72x 439x 439x 1297x 10x 10x 1297x 604x 604x 604x 1683x 1683x 1683x 1683x 1683x 1683x 16620x 16620x 16202x 16202x 16620x 1683x 1683x 203x 203x 1683x 1683x 1683x 1683x 1683x 1683x 119x 119x 1683x 92x 92x 92x 92x 92x 58x 58x 58x 58x 58x 58x 92x 1683x 1683x 1398x 1398x 1398x 1398x 1398x 1949x 1949x 1949x 1949x 1949x 1949x 1949x 158x 158x 1949x 1949x 1949x 1949x 1949x 1949x 1949x 1949x 1949x 1949x 1949x 1398x 1398x 1398x 1398x 1949x 551x 551x 551x 551x 551x 551x 551x 551x 1949x 12x 12x 1949x 1949x 1949x 138x 138x 138x 138x 138x 138x 138x 138x 138x 144x 144x 144x 18x 18x 18x 18x 18x 18x 18x 18x 50x 50x 50x 50x 50x 50x 50x 50x 80x 80x 80x 80x 80x 80x 80x 80x 80x 80x 80x 252x 393648x 393648x 393648x 393648x 393648x 377164x 377164x 16484x 393648x 16457x 16457x 370x 370x 16457x 16457x 393648x 393648x 252x 32840x 32840x 32840x 32840x 32840x 32840x 32840x 690x 690x 32150x 32150x 32150x 32150x 32150x 32840x 32022x 32022x 32022x 32022x 32022x 32022x 32022x 32022x 32022x 32022x 32022x 32840x 31668x 31668x 31668x 31668x 31668x 31668x 31668x 31668x 31668x 31668x 32840x 31636x 31636x 31636x 31636x 31636x 31636x 31636x 31636x 31636x 31636x 31636x 32840x 524x 524x 31626x 252x 16383x 16383x                     16383x 16383x 16383x 518x 518x 518x 234x 234x 234x 234x 234x 234x 234x 234x 84x 84x 84x 84x 84x 84x 84x 84x 84x 252x 252x 498739x 498739x 498739x 5225x 498739x 493514x 493514x 498739x 2470x 2470x 2755x 498739x 317981x 317981x 317969x 317969x 317981x 317981x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 47229x 47229x 47229x 47229x 47229x 47229x 47229x 47229x 252x 252x 252x 252x 252x 13623x 13623x 13623x 87547x 87547x 87547x 151x 151x 87541x 820x 820x 86576x 87547x 310x 310x 310x 6023x 6023x 1014x 1014x 6023x 3632x 3632x 1377x 6023x 1196x 1196x 1196x 6992x 6992x 6992x 252x 252x 1598x 1598x 1598x 1598x 1478x 1478x 120x 120x 120x 120x 120x 120x 120x 1598x 8265x 8265x 8265x 8265x 8265x 8265x 8265x 8265x 8265x 8265x 8265x 1598x 1598x 1598x 8265x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 4954x 4954x 3611x 3611x 1343x 4954x 83x 83x 4954x 4954x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 5558x 5558x 5558x 5558x 5558x 5558x 5558x 5558x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 6667x 8265x 8265x 8265x 8265x 8265x 8265x 8445x 8445x 3961x 10338x 10338x 10338x 27x 27x 10338x 8445x 8445x 16837x 16837x 16837x 16837x 16837x 5558x 5558x 5558x 14041x 14041x 8484x 8484x 8484x 8484x 8484x 8484x 5558x 5558x 1x 1x 5558x 5558x 1109x 1109x 1109x 9669x 9669x 8560x 8560x 8560x 8560x 1109x 1109x 1109x 252x 252x 252x 252x 252x 252x 252x 49674x 49674x 26092x 26092x 23582x 49674x 252x 252x 252x 252x 2249x 2249x 2249x 45047x 45047x 43222x 43222x 43808x 620x 45047x 615x 615x 45047x 70x 70x 1140x 45047x 44949x 44949x 44949x 5078x 442x 44949x 44949x 45756x 45756x 45756x 807x 807x 44949x 44949x 45756x 351x 351x 351x 351x 351x 45756x 190x 190x 190x 190x 190x 190x 190x 190x 45756x 443x 443x 443x 443x 443x 443x 443x 443x 443x 44316x 45756x 23876x 23876x 23876x 5438x 5438x 18438x 18438x 18438x 18438x 18438x 18438x 18438x 18438x 23876x 252x 252x 252x 14289x 14289x 2547x 2547x 11742x 11742x 14289x 520x 520x 406x 520x 447x 447x 520x 11742x 11742x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 14289x 103x 103x 11742x 14289x 4453x 4453x 4453x 4453x 4453x 4453x 4018x 254x 254x 4453x 435x 435x 435x 4453x 258x 258x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4453x 4277x 4453x 176x 176x 4453x 4453x 4749x 4749x 4749x 4749x 21283x 21283x 16534x 16534x 4749x 4749x 4749x 4749x   21283x 34744x 34744x 34744x 34744x 34744x 70x 70x 34744x 34744x 7740x 7740x 7740x 7740x 7740x 7570x 7570x 397x 7570x 702x 702x 702x 702x 702x 702x 702x 7570x 7570x 7740x 7740x 7740x 18x 18x 7740x 36x 36x 7740x 7722x 7722x 7740x 7740x 7089x 7089x 7089x 651x 651x 651x 7570x 7570x 7461x 7461x 7461x 127x 127x 127x 127x 7570x 127x 127x 7570x 3228x 3228x 3228x 6520x 6520x 270x 270x 6520x 3228x 7173x 7570x 252x 252x 252x 17542x 17542x 13248x 13248x 13248x 836x 836x 836x 13248x 13248x 17542x 17542x 252x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 21227x 21227x 21227x 21227x 21227x 21227x 21227x 21227x 16758x 21227x 4139x 4139x 4139x 4139x 21227x 5624x 5326x 5295x 5624x 5624x 21227x 16758x 16758x 21227x 4139x 4139x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 643x 643x 643x 643x 643x 643x 643x 16758x 16758x 16758x 16758x 16758x 16758x 16758x 16758x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 17088x 21227x 21227x 21227x 21227x 171x 171x 21227x 2692x 21227x 18535x 18535x 18535x 3742x 2x 2x 3740x 3740x 18533x 18533x 18533x 18533x 18533x 18533x 18533x 18533x 18533x 18533x 18533x 18533x 18533x 18533x 20897x 20897x 74x 74x 74x 74x 74x 74x 20897x 21227x 2x 2x 20897x 21227x 16493x 16493x 16493x 16493x 16758x 16758x 15273x 15273x 1485x 16758x 493x 493x 493x 493x 493x 493x 493x 493x 493x 16758x 16758x 643x 643x 349x 16758x 16758x 16758x 16758x 16758x 16758x 1104x 1104x 1104x 1104x 1104x 1104x 1104x 1104x 1104x 1104x 1104x 1104x 16758x 16758x 252x 252x 252x 34594x     34594x 34594x 34594x             252x 252x 252x 252x 34594x 34594x 34594x 34594x 34594x 34594x 34594x 34594x 34594x 34594x 101590x 408x 408x 101182x 101590x 66588x 66588x 38619x 38619x 66588x 34594x 34594x 34594x 252x 252x 42655x 42655x 42655x 42655x 15975x 15975x 26680x 42287x 44x 44x 26680x 42211x 18953x 42287x 7727x 7727x 724x 724x 7727x 26680x 26680x 42655x 42655x 42655x 42655x 42655x 42655x 42655x 7763x 7763x 34892x 42655x 367x 367x 90x 90x 90x 90x 90x 90x 90x 17x 17x 90x 367x 42651x 33524x 33524x 42655x 1091x 1091x 34892x 42655x 252x 252x 504x 504x 504x 3328x 3257x 3257x 3328x 504x 504x 252x 252x 252x 252x 2118x 2118x 2118x 2118x 27142x 27142x 27142x 14886x 14886x 27142x 5075x 5075x 7181x 7181x 7181x 7181x 7181x 7181x 7181x 7181x 27142x 27142x 4617x 4617x 4617x 4617x 4617x 4617x 4617x 27142x 27142x 27142x 27142x 27142x 27142x 27142x 27142x 27142x 27142x 27142x 27142x 4617x 4617x 4617x 4591x 4591x 26x 26x 26x 26x 3682x 14x 14x 12x 4617x 2153x 2153x 2153x 2153x 2153x 28x 28x 2153x 56x 56x 2153x 60x 60x 2153x 2153x 185x 5x 5x 185x 185x 2153x 226x 226x 226x 226x 226x 226x 226x 226x 2153x 50x 50x 2153x 2153x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 4953x 4953x 4953x 4953x 4953x 4953x 4953x 4953x 4461x 4461x 4953x 4953x 1251x 1251x 1251x 1251x 1251x 1251x 1251x 1251x 1251x 1251x 1251x 1251x 183x 1251x 1068x 1068x 4953x 3702x 3702x 4953x 4953x 4953x 4953x 4953x 4953x 331x 331x 26x 331x 305x 305x 331x 331x 4953x 4622x 4622x 4953x 4953x 143x 4953x 4810x 4810x 4953x 4953x 4953x 252x 376x 376x 376x 82x 82x 82x 82x 82x 82x 593x 593x 116x 116x 593x 593x 13608x 13608x 13608x 13346x 13346x 262x 262x 262x 262x 13608x 26x 13608x 13608x 13608x 13608x 13608x 13608x 13608x 1251x 1251x 1251x 1251x 61x 61x 61x 61x 1190x 1251x 3867x 3867x 3867x 3867x 262x 262x 3867x 3867x 248x 248x 3867x 3867x 4x 4x 3867x 3867x 3867x 2854x 2854x 2854x 2854x 2854x 147x 147x 2854x 2854x 554x 554x 2854x 2854x 8x 8x 2854x 35x 35x 2854x 40x 40x 2854x 167x 167x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 2854x 4723x 4723x 4723x 4723x 6831x 6831x 145x 145x 6831x 3558x 3558x 1143x 1143x 3558x 4723x 4723x 78x 78x 4723x 4723x 4723x 4723x 4723x 4723x 573x 573x 573x 573x 70x 70x 573x 116x 116x 573x 573x 35x 35x 573x 264x 264x 4x 4x 264x 573x 6x 6x 342x 569x 573x 573x 51x 573x 573x 573x 573x 271x 271x 56x 56x 271x 271x 47x 47x 168x 168x 573x 2x 573x 18x 573x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 36x 36x     36x 36x 252x 252x 252x 252x 36x 36x 36x 252x 252x 1023489x 1023489x 986590x 986590x 36899x 1016503x 1023489x 799x 799x 36100x 1023489x 4564x 4564x 4564x 4564x 4564x 4564x 4564x 4564x 4564x 4564x 136x 4564x 56x 49x 49x 7x 4564x 160x 160x 16x 16x 144x 144x 4564x 62x 4x 4x 58x 4564x 254x 5x 5x 249x 4564x 3896x 207x 207x 4564x 4564x 382x 382x 4564x 1909x 1909x 1856x 1856x 1856x 1856x 4564x 83539x 83539x 83539x 83573x 83573x 83573x 252x 252x 46667x 46667x 46667x 36x 36x 15x 15x 46667x 46631x 43770x 43770x 46667x 46667x 252x 252x 8191x 8191x 155x 155x 92x 92x 63x 155x 155x 8191x 5x 5x 5x 5x 5x 5x 5x 5x 5x 5x 8191x 252x 252x 83331x 83331x 83331x 83331x 128x 83331x 191x 83331x 14276x 83331x 16129x 83331x 1169x 83331x 1388x 83331x 427x 83331x 49623x 236x 236x 49623x 344x 344x 49043x 49623x 23364x 23364x 49623x 21602x 21602x 4077x 4077x 83331x 83331x 21602x 21602x 20201x 20201x 1401x 21602x 21602x 543x 543x 543x 364x 364x 364x 364x 885x 885x 885x 36x 36x 885x 885x 885x 252x 252x 3612x 3612x 3612x 33430x 33430x 2126x 2126x 31304x 33430x 30196x 30196x 1108x 1108x 1108x 3612x     3612x 3612x 252x 252x 252x 2069x 2069x 2069x 2069x 2069x 2069x 2069x 2069x 2069x 2069x 2069x 2069x 252x 2828x 2828x 2828x 2828x 2828x 2828x 2828x 2828x 2828x 2828x 54x 54x 18x 18x 54x 2828x 2049x 2828x 779x 779x 174x 174x 115x 115x 779x 605x 605x 779x 779x 779x 779x 779x 2828x 2828x 2828x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 2828x 2828x 982x 982x 1846x 2828x 5877x 5877x 5877x 2129x 2129x 2129x 779x 779x 779x 2848x 2848x 2848x 290x 290x 2558x 2848x 2364x 2364x 2558x 2558x 2848x 2674x 2674x 2674x 194x 194x 2480x 2670x 2079x 2079x 2079x 2969x 2969x 928x 2969x 2041x 2041x     2079x 2079x 2079x 1226x 55x 55x 1226x 1226x 598x 598x 598x 598x 598x 598x 598x 598x 598x 598x 598x 598x 1226x 628x 628x 628x 628x 628x 628x 628x 628x 1226x 2674x 401x 401x 2480x 2674x 5232x 5232x 4286x 4286x 946x 946x 946x 946x 946x 946x 5232x 2558x 2558x 2558x 55x 55x 2503x 2503x 2503x 2558x 2558x 2558x 15x 15x 2558x 389x 389x 2558x 2558x 2848x 2848x 2848x 290x 290x 2558x 2848x 2099x 2099x 459x 2848x 408x 394x 394x 408x 408x 394x 394x 408x 459x 459x 2848x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 202x 2969x 2041x 2041x 2969x 1399x 1399x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 2969x 928x 928x 2041x 2041x 2969x 2969x 2969x 469x 469x 2969x 11x 11x 1561x 1561x 1561x 2969x   2969x 2969x 252x 252x 27170x 27170x 27170x 27170x 27170x 27170x 27170x 27170x 27170x 27170x 8082x 8082x 27170x 27170x 51416x 51067x 51067x 51067x 51416x 51416x 51416x 27170x 27170x 8082x 8082x 27170x 27170x 27170x 1399x 27170x 21441x 21441x 21441x 27170x 27170x 27170x 27170x 27170x 27170x 51067x 51067x 51067x 92x 92x 51067x 1039x 1039x 51067x 27170x 27170x 162x 162x 36x 36x 36x 36x 36x 24x 24x 24x 24x 36x 36x 36x 162x 126x 126x 162x 162x 27170x 27170x 27170x 27170x 27170x 27170x 27170x 27170x 27170x 2402x 2273x 2273x 129x 129x 129x 129x 129x 129x 129x 129x 27170x 24768x 24768x 24768x 24768x 24768x 24768x 24768x 24768x 24768x 24768x 24768x 24768x 24768x 24897x 24897x 24897x 27110x 8523x 8523x 8523x 8523x 8523x 8261x 8261x 8261x 27170x 23825x 23825x 11445x 11445x 27170x 1701x 1701x 23196x 27170x 3548x 3548x 3548x 252x 252x 8060x 8060x 8060x 13409x 13409x 39966x 39966x 261x 261x 39966x 5349x 5349x 39966x 13148x 7799x 8060x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 1656x 1656x 7661x 9317x 252x 252x 252x 252x 252x 252x 252x 252x 252x 9317x 9317x 9317x 389x 389x 8928x 8928x 9317x 11761x 11761x 2833x 2833x 2833x 11761x 248x 248x 11761x 8680x 8680x 11761x 9317x 6886x 6886x 2042x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 12604x 12604x 12604x 9317x 3457x 9317x 9317x 9317x 9317x 1129x 1129x 1129x 1715x 1715x 1715x 1715x 1129x 1129x 1129x 1129x 1129x 1129x 1129x 1129x 9317x 8188x 8188x 8188x 8188x 8188x 8188x 8188x 8188x 8188x 8188x 8188x 8188x 8188x 8188x 8188x 9317x 9317x 9317x 9317x 9317x 9317x 28187x 28187x 138x 138x 138x 138x 28187x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 9317x 252x 252x 6419x 6419x 6419x 6419x 6419x 6419x 6419x 6419x 6419x 6419x 6419x 101x 101x 101x 101x 6419x 6419x 252x 252x 252x 252x 252x 252x 252x 252x 252x 6419x 6419x 6419x 150x 150x 6269x 6269x 6419x 8682x 8682x 2413x 2413x 2413x 8682x 180x 180x 8682x 6089x 6089x 8682x 6419x 4428x 4428x 1841x 6419x 252x 7015x 7015x 7015x 7015x 252x 15736x 15736x 9317x 9317x 6419x 6419x 6419x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 9158x 9158x 9158x 15736x 2871x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 81x 81x 81x 81x 81x 81x 81x 81x 3911x 3830x 3830x 3830x 3830x 3830x 15736x 15736x 15736x 15736x               6419x 14873x         15736x         14873x 81x 81x 6419x 6419x 6419x 12089x 6269x 6269x 15736x 150x 150x 150x 150x 150x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 15736x 2957x 2957x 2957x 2957x 889x 889x 889x 889x 889x 2957x 2957x 15736x 15736x 15736x 612x 15736x 15736x 15736x 15736x 15736x 15736x 837x 837x 837x 837x 837x 837x 15736x 15736x 5098x 5098x 15736x 15736x 15736x 15736x 15736x 603x 603x 603x 603x 603x 603x 603x 603x 15736x 1361x 1361x 15736x 15736x 15736x 252x 252x 815501x 815501x 815501x 83331x 83331x 815501x 815501x 815501x 815501x 434x 815501x 247x 815501x 8191x 815501x 815501x 1014x 815501x 46667x 815501x 1857x 815501x 815501x 385x 385x 35x 35x 350x 350x 350x 350x 350x 350x 350x 815501x 10455x 815501x 20076x 815501x 815501x 23896x 815501x 1158x 815501x 815501x 33031x 815501x 75x 815501x 236x 220x 220x 236x 236x 236x 236x 236x 236x 815501x 315127x 315127x 315127x 315127x 315127x 315127x 815501x 22x 815501x 815501x 815501x 815501x 968x 815501x 815501x 14186x 815501x 17088x 815501x 845x 845x 91x 91x 845x 793x 793x 845x 815501x 1043x 1043x 1027x 1027x 1027x 113x 113x 113x 113x 113x 52x 52x 113x 70x 70x 113x 1027x 973x 815501x 815501x 815501x 2705x 815501x 2069x 815501x 815501x 815501x 815501x 815501x 815501x 2969x 815501x 416x 815501x 815501x 815501x 42421x 815501x 4723x 815501x 651x 815501x 7089x 815501x 815501x 815501x 815501x 41598x 815501x 815501x 17882x 815501x 13895x 328x 328x 13567x 815501x 815501x 9893x 815501x 815501x 258x 815501x 922x 815501x 815501x 7835x 815501x 566x 566x 219x 219x 501x 219x 407x 282x 282x 219x 219x 219x 347x 566x 198x 198x 149x 149x 815501x 3908x 815501x 170x 815501x 427x 815501x 815501x 6732x 6732x 2191x 2191x 6732x 906x 906x 906x 6732x 5826x 5826x 6732x 815501x 560x 560x 560x 560x 560x 815501x 15197x 815501x 19903x 19903x 19903x 19903x 19903x 19903x 19718x 19903x 185x 185x 19903x 19903x 19903x 19903x 19903x 19903x 173x 173x 173x 19903x 19903x 19903x 19903x 18973x 18973x 19903x 19903x 815501x 41x 41x 41x 41x 41x 41x 815501x 2524x 2524x 2524x 2524x 2524x 2524x 2524x 2524x 2524x 994x 994x 994x 994x 994x 994x 994x 117x 117x 117x 117x 117x 994x 994x 994x 994x 994x 994x 994x 994x 994x 994x 994x 2524x 2524x 815501x 731x 731x 731x 731x 347x 347x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 384x 815501x 366x 366x 366x 366x 366x 366x 815501x 475x 475x 475x 475x 475x 475x 475x 475x 815501x 715x 715x 715x 715x 715x 715x 715x 715x 715x 715x 815501x 177x 177x 177x 177x 131x 177x 46x 46x 177x 177x 177x 177x 177x 177x 177x 177x 815501x 60x 815501x 815501x 1147x 1147x 188x 188x 1147x 1147x 815501x 198x 9x 9x 189x 815501x 261x 261x 261x 261x 261x 261x 815501x 240x 189x 189x 189x 18x 18x 189x 189x 189x 189x 189x 189x 189x 189x 51x 815501x 815501x 498x 498x 498x 498x 498x 498x 498x 498x 498x 457x 457x 457x 457x 457x 860x 860x 457x 457x 457x 457x 498x 498x 498x 498x 815501x 860x 645x 860x 215x 215x 860x 54x 54x 860x 860x 860x 860x 703x 703x 703x 703x 703x 860x 860x 815501x 815501x 14x 815501x 815501x 4723x 815501x 815501x 815501x 3726x 815501x 815501x 815501x 815501x 815501x 2828x 815501x 5687x 815501x 3290x 815501x 2533x 815501x 526x 815501x 556x 815501x 815501x 84x 815501x 60x 815501x 60x 815501x 815501x 815501x   815501x 815501x 252x 252x 687x 687x 687x 687x 687x 4x 4x 687x 687x 288x 288x 687x 687x 395x 395x 687x 687x 21x 21x 666x 687x 252x 252x 59x 59x 59x 59x 40x 40x 59x 59x 59x 9x 59x 50x 50x 59x 25x 25x 59x 15x 15x 59x 59x 59x 59x 59x 59x 8x 8x 59x 19x 19x 19x 19x       19x 19x 19x 19x 40x 40x 57x 57x 8x 8x 57x 57x 40x 40x 17x 57x 3x 57x 14x 14x 40x 40x 40x 40x 40x 59x 59x 59x 59x 59x 59x 40x 40x 40x 32x 32x 32x 32x 40x 40x 40x 40x 40x 40x 40x 40x 8x 8x 40x 21x 21x 21x 14x 14x 7x 21x 34x 34x 34x 34x 32x 32x 34x 34x 34x 252x 252x 91x 91x 91x 133x 133x 133x 133x 3x 3x 133x 133x 30x 30x 133x 40x 40x 133x 63x 63x 70x 133x 91x 91x 91x 91x 91x 91x 91x 91x 91x 91x 91x 252x 252x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 14x 16x 16x 16x 16x 16x 16x 16x 16x 16x 16x 16x 82x 82x 82x 82x 82x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 41x 8x 8x 41x 41x 41x 252x 252x 730x 730x 730x 730x 730x 730x 724x 724x 730x 123x 123x 730x 730x 275x 275x 31x 275x 275x 275x 275x 275x 275x 275x 730x 275x 31x 275x 244x 244x 730x 455x 455x 730x 730x 730x 252x 252x 27x 27x 27x 16x 27x 5x 27x 3x 27x 3x 27x 27x 27x 27x 27x 27x 27x 27x 27x 27x 27x 27x 27x 27x 66x 66x 34x 34x 32x 66x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 94x 94x 163x 163x 163x 163x 163x 163x 163x 163x 163x 54x 54x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 163x 252x 252x 952627x 952627x 952627x 18407x 18407x 952627x 952627x 952627x 952627x 952627x 59x 952627x 21x 952627x 34x 952627x 14x 952627x 16x 952627x 41x 952627x 230x 952627x 177x 177x 177x 177x 177x 177x 177x 952627x 63x 952627x 10x 10x 10x 10x 10x 952627x 2x 952627x 436x 436x 436x 436x 436x 436x 436x 436x 952627x 952627x 123x 952627x 952627x 54x 952627x 952627x 1906x 952627x 255x 952627x 1133x 952627x 71x 952627x 12x 952627x 1398x 952627x 176x 952627x 8x 952627x 2x 952627x 14448x 14448x 14448x 14448x 952627x 952627x 47x 952627x 952627x 952627x 11364x 952627x 1106x 952627x 127x 952627x 98x 952627x 185x 952627x 952627x 50x 952627x 952627x 952627x 952627x 952627x 50x 50x 19x 19x 19x 19x 50x 50x 50x 952627x 952627x 952627x 952627x 952627x 66x 952627x 1396x 1396x 1396x 1396x 1396x 1396x 1396x 1396x 1396x 1396x 952627x 952627x 952627x 282x 952627x 952627x 395x 952627x 3221x 952627x 176x 176x 176x 176x 952627x 15x 952627x 102x 952627x 27x 952627x 420x 420x 420x 420x 420x 420x 420x 420x 420x 420x 952627x 19049x 19049x 4x 19049x 24x 24x 19049x 19049x 19049x 19049x 19049x 19049x 19049x 19049x 19049x 19049x 952627x 8082x 952627x 14x 14x 14x 14x 14x 14x 14x 14x 14x 952627x 952627x 228x 952627x 952627x 146x 952627x 212x 952627x 129x 952627x 3654x 952627x 10340x 952627x 8x 952627x 2292x 2292x 2292x 2292x 2292x 2292x 952627x 28x 952627x 9x 952627x 952627x 5356x 952627x 952627x 952627x 92x 92x 92x 92x 92x 92x 92x 952627x 952627x 952627x 69x 952627x 952627x 252x 252x 844696x 844696x 844696x 844696x 815501x 815501x 837639x 4169x 4169x 844696x 844696x 844696x 844696x 16x 844696x 172x 172x 172x 172x 172x 172x 172x 172x 172x 172x 172x 172x 172x 172x 128x 128x 128x 128x 128x 128x 44x 44x 844696x 103x 844696x 6x 844696x 234x 844696x 844696x 1115x 844696x 1244x 844696x 290x 844696x 844696x 141x 844696x 844696x 26x 844696x 844696x 844696x 844696x 844696x 530x 530x 530x 530x 530x 530x 530x 844696x 8x 844696x 72x 844696x 48x 844696x 6x 844696x 448x 844696x 844696x 1825x 844696x 1047x 844696x 844696x 618x 844696x 333x 844696x 962x 962x 962x 962x 962x 962x 844696x 123x 123x 123x 123x 123x 123x 123x 844696x 107x 844696x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 77x 844696x 56x 844696x 558x 844696x 22x 22x 22x 22x 22x 22x 22x 22x 22x 22x 22x 844696x 882x 844696x 91x 844696x 129x 844696x 163x 844696x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 148x 124x 124x 148x 148x 844696x 2x 844696x 41x 844696x 41x 844696x 67x 844696x 60x 60x 60x 60x 60x 60x 60x 60x 60x 60x 60x 60x 60x 844696x 18x 844696x 267x 267x 267x 267x 31x 267x 236x 236x 226x 226x 236x 267x 267x 31x 267x 234x 236x 2x 2x 267x 267x 844696x 468x 844696x 132x 844696x 349x 844696x 550x 844696x 844696x 844696x 844696x 551x 844696x 254x 844696x 5491x 5491x 5491x 5491x 5491x 5491x 5491x 5491x 5491x 5491x 844696x 5019x 844696x 92x 844696x 844696x 3x 844696x 3x 844696x 9x 9x 9x 9x 9x 9x 844696x 9x 9x 9x 9x 9x 9x 844696x 844696x 844696x   844696x 844696x 252x 252x 1031870x 1031870x 1218x 1218x 1030652x 1030652x 1030652x 1030652x 1030652x 1030652x 1031870x 4669923x 4669923x 1030322x 1030322x 4669923x 1031870x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 1031870x 1031870x 1031870x 18949x 18949x 1031870x 1031870x 1071x 1071x 1030469x 1031870x 6775x 6775x 1023694x 1023694x 1023694x 1031870x 205x 205x 1023489x 1023489x 1031870x 1005515x 1005515x 17974x 17974x 17974x 17974x 17974x 17974x 1031870x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 548x 548x 548x 548x 32x 548x 32x 2x 2x 30x 30x 30x 30x 30x 30x 30x 30x 30x 30x 30x 548x 30x 28x 28x 28x 28x 28x 28x 28x 30x 548x 111x 548x 20x 548x 8x 548x 12x 548x 166x 548x 91x 548x 30x 548x 8x 548x 8x 548x   548x 548x 121x 121x 121x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x                                                     252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x 252x  
var __defProp = Object.defineProperty;
var __typeError = (msg) => {
  throw TypeError(msg);
};
var __export = (target, all) => {
  for (var name in all)
    __defProp(target, name, { get: all[name], enumerable: true });
};
var __accessCheck = (obj, member, msg) => member.has(obj) || __typeError("Cannot " + msg);
var __privateGet = (obj, member, getter) => (__accessCheck(obj, member, "read from private field"), getter ? getter.call(obj) : member.get(obj));
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value);
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value);
 
// src/plugins/estree.js
var estree_exports = {};
__export(estree_exports, {
  languages: () => languages,
  options: () => options_default,
  printers: () => printers
});
 
// src/language-js/languages.evaluate.js
var languages_evaluate_default = [
  {
    "name": "JavaScript",
    "type": "programming",
    "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"
    ],
    "tmScope": "source.js",
    "aceMode": "javascript",
    "aliases": [
      "js",
      "node"
    ],
    "codemirrorMode": "javascript",
    "codemirrorMimeType": "text/javascript",
    "interpreters": [
      "chakra",
      "d8",
      "gjs",
      "js",
      "node",
      "nodejs",
      "qjs",
      "rhino",
      "v8",
      "v8-shell",
      "zx"
    ],
    "filenames": [
      "Jakefile",
      "start.frag",
      "end.frag"
    ],
    "parsers": [
      "babel",
      "acorn",
      "espree",
      "meriyah",
      "babel-flow",
      "babel-ts",
      "flow",
      "typescript"
    ],
    "vscodeLanguageIds": [
      "javascript",
      "mongo"
    ],
    "linguistLanguageId": 183
  },
  {
    "name": "Flow",
    "type": "programming",
    "extensions": [
      ".js.flow"
    ],
    "tmScope": "source.js",
    "aceMode": "javascript",
    "aliases": [],
    "codemirrorMode": "javascript",
    "codemirrorMimeType": "text/javascript",
    "interpreters": [
      "chakra",
      "d8",
      "gjs",
      "js",
      "node",
      "nodejs",
      "qjs",
      "rhino",
      "v8",
      "v8-shell"
    ],
    "filenames": [],
    "parsers": [
      "flow",
      "babel-flow"
    ],
    "vscodeLanguageIds": [
      "javascript"
    ],
    "linguistLanguageId": 183
  },
  {
    "name": "JSX",
    "type": "programming",
    "extensions": [
      ".jsx"
    ],
    "tmScope": "source.js.jsx",
    "aceMode": "javascript",
    "aliases": void 0,
    "codemirrorMode": "jsx",
    "codemirrorMimeType": "text/jsx",
    "interpreters": void 0,
    "filenames": void 0,
    "parsers": [
      "babel",
      "babel-flow",
      "babel-ts",
      "flow",
      "typescript",
      "espree",
      "meriyah"
    ],
    "vscodeLanguageIds": [
      "javascriptreact"
    ],
    "group": "JavaScript",
    "linguistLanguageId": 183
  },
  {
    "name": "TypeScript",
    "type": "programming",
    "extensions": [
      ".ts",
      ".cts",
      ".mts"
    ],
    "tmScope": "source.ts",
    "aceMode": "typescript",
    "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",
    "extensions": [
      ".tsx"
    ],
    "tmScope": "source.tsx",
    "aceMode": "javascript",
    "codemirrorMode": "jsx",
    "codemirrorMimeType": "text/jsx",
    "group": "TypeScript",
    "parsers": [
      "typescript",
      "babel-ts"
    ],
    "vscodeLanguageIds": [
      "typescriptreact"
    ],
    "linguistLanguageId": 94901924
  }
];
 
// src/language-js/printer.js
var printer_exports = {};
__export(printer_exports, {
  canAttachComment: () => canAttachComment,
  embed: () => embed_default,
  experimentalFeatures: () => experimentalFeatures,
  getCommentChildNodes: () => getCommentChildNodes,
  getVisitorKeys: () => get_visitor_keys_default,
  handleComments: () => handle_comments_exports,
  insertPragma: () => insertPragma,
  isBlockComment: () => is_block_comment_default,
  isGap: () => isGap,
  massageAstNode: () => clean_default,
  print: () => print_default,
  printComment: () => printComment,
  willPrintOwnComments: () => willPrintOwnComments
});
 
// scripts/build/shims/string-replace-all.js
var stringReplaceAll = (isOptionalObject, original, pattern, replacement) => {
  if (isOptionalObject && (original === void 0 || original === null)) {
    return;
  }
  if (original.replaceAll) {
    return original.replaceAll(pattern, replacement);
  }
  if (pattern.global) {
    return original.replace(pattern, replacement);
  }
  return original.split(pattern).join(replacement);
};
var string_replace_all_default = stringReplaceAll;
 
// scripts/build/shims/at.js
var at = (isOptionalObject, object, index) => {
  if (isOptionalObject && (object === void 0 || object === null)) {
    return;
  }
  if (Array.isArray(object) || typeof object === "string") {
    return object[index < 0 ? object.length + index : index];
  }
  return object.at(index);
};
var at_default = at;
 
// src/utils/is-object.js
function isObject(object) {
  return object !== null && typeof object === "object";
}
var is_object_default = isObject;
 
// src/utils/ast-utils.js
function* getChildren(node, options2) {
  const { getVisitorKeys: getVisitorKeys3, filter = () => true } = options2;
  const isMatchedNode = (node2) => is_object_default(node2) && filter(node2);
  for (const key of getVisitorKeys3(node)) {
    const value = node[key];
    if (Array.isArray(value)) {
      for (const child of value) {
        if (isMatchedNode(child)) {
          yield child;
        }
      }
    } else if (isMatchedNode(value)) {
      yield value;
    }
  }
}
function* getDescendants(node, options2) {
  const queue = [node];
  for (let index = 0; index < queue.length; index++) {
    const node2 = queue[index];
    for (const child of getChildren(node2, options2)) {
      yield child;
      queue.push(child);
    }
  }
}
function hasDescendant(node, { getVisitorKeys: getVisitorKeys3, predicate }) {
  for (const descendant of getDescendants(node, { getVisitorKeys: getVisitorKeys3 })) {
    if (predicate(descendant)) {
      return true;
    }
  }
  return false;
}
 
// node_modules/emoji-regex/index.mjs
var emoji_regex_default = () => {
  return /[#*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\uDC70\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-\uDED7\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFC-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFD-\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB\uDFFC\uDFFE\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFD\uDFFF])))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D\uDC68\uD83C[\uDFFB-\uDFFE])))?))?|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83D[\uDC68\uDC69]\uD83C[\uDFFB-\uDFFE])))?))?|\uDC6F(?:\u200D[\u2640\u2642]\uFE0F?)?|\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\uDD3D\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-\uDE89\uDE8F-\uDEC2\uDEC6\uDECE-\uDEDC\uDEDF-\uDEE9]|\uDD3C(?:\u200D[\u2640\u2642]\uFE0F?|\uD83C[\uDFFB-\uDFFF])?|\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]|\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\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]|\uD83E(?:[\uDDAF\uDDBC\uDDBD](?:\u200D\u27A1\uFE0F?)?|[\uDDB0-\uDDB3]|\uDD1D\u200D\uD83E\uDDD1\uD83C[\uDFFB-\uDFFF])))?))?|\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;
};
 
// node_modules/get-east-asian-width/lookup.js
function isFullWidth(x) {
  return x === 12288 || x >= 65281 && x <= 65376 || x >= 65504 && x <= 65510;
}
function isWide(x) {
  return x >= 4352 && x <= 4447 || x === 8986 || x === 8987 || x === 9001 || x === 9002 || x >= 9193 && x <= 9196 || x === 9200 || x === 9203 || x === 9725 || x === 9726 || x === 9748 || x === 9749 || x >= 9776 && x <= 9783 || x >= 9800 && x <= 9811 || x === 9855 || x >= 9866 && x <= 9871 || x === 9875 || x === 9889 || x === 9898 || x === 9899 || x === 9917 || x === 9918 || x === 9924 || x === 9925 || x === 9934 || x === 9940 || x === 9962 || x === 9970 || x === 9971 || x === 9973 || x === 9978 || x === 9981 || x === 9989 || x === 9994 || x === 9995 || x === 10024 || x === 10060 || x === 10062 || x >= 10067 && x <= 10069 || x === 10071 || x >= 10133 && x <= 10135 || x === 10160 || x === 10175 || x === 11035 || x === 11036 || x === 11088 || x === 11093 || x >= 11904 && x <= 11929 || x >= 11931 && x <= 12019 || x >= 12032 && x <= 12245 || x >= 12272 && x <= 12287 || x >= 12289 && x <= 12350 || x >= 12353 && x <= 12438 || x >= 12441 && x <= 12543 || x >= 12549 && x <= 12591 || x >= 12593 && x <= 12686 || x >= 12688 && x <= 12773 || x >= 12783 && x <= 12830 || x >= 12832 && x <= 12871 || x >= 12880 && x <= 42124 || x >= 42128 && x <= 42182 || x >= 43360 && x <= 43388 || x >= 44032 && x <= 55203 || x >= 63744 && x <= 64255 || x >= 65040 && x <= 65049 || x >= 65072 && x <= 65106 || x >= 65108 && x <= 65126 || x >= 65128 && x <= 65131 || x >= 94176 && x <= 94180 || x === 94192 || x === 94193 || x >= 94208 && x <= 100343 || x >= 100352 && x <= 101589 || x >= 101631 && x <= 101640 || x >= 110576 && x <= 110579 || x >= 110581 && x <= 110587 || x === 110589 || x === 110590 || x >= 110592 && x <= 110882 || x === 110898 || x >= 110928 && x <= 110930 || x === 110933 || x >= 110948 && x <= 110951 || x >= 110960 && x <= 111355 || x >= 119552 && x <= 119638 || x >= 119648 && x <= 119670 || x === 126980 || x === 127183 || x === 127374 || x >= 127377 && x <= 127386 || x >= 127488 && x <= 127490 || x >= 127504 && x <= 127547 || x >= 127552 && x <= 127560 || x === 127568 || x === 127569 || x >= 127584 && x <= 127589 || x >= 127744 && x <= 127776 || x >= 127789 && x <= 127797 || x >= 127799 && x <= 127868 || x >= 127870 && x <= 127891 || x >= 127904 && x <= 127946 || x >= 127951 && x <= 127955 || x >= 127968 && x <= 127984 || x === 127988 || x >= 127992 && x <= 128062 || x === 128064 || x >= 128066 && x <= 128252 || x >= 128255 && x <= 128317 || x >= 128331 && x <= 128334 || x >= 128336 && x <= 128359 || x === 128378 || x === 128405 || x === 128406 || x === 128420 || x >= 128507 && x <= 128591 || x >= 128640 && x <= 128709 || x === 128716 || x >= 128720 && x <= 128722 || x >= 128725 && x <= 128727 || x >= 128732 && x <= 128735 || x === 128747 || x === 128748 || x >= 128756 && x <= 128764 || x >= 128992 && x <= 129003 || x === 129008 || x >= 129292 && x <= 129338 || x >= 129340 && x <= 129349 || x >= 129351 && x <= 129535 || x >= 129648 && x <= 129660 || x >= 129664 && x <= 129673 || x >= 129679 && x <= 129734 || x >= 129742 && x <= 129756 || x >= 129759 && x <= 129769 || x >= 129776 && x <= 129784 || x >= 131072 && x <= 196605 || x >= 196608 && x <= 262141;
}
 
// node_modules/get-east-asian-width/index.js
var _isNarrowWidth = (codePoint) => !(isFullWidth(codePoint) || isWide(codePoint));
 
// src/utils/get-string-width.js
var notAsciiRegex = /[^\x20-\x7F]/u;
function getStringWidth(text) {
  if (!text) {
    return 0;
  }
  if (!notAsciiRegex.test(text)) {
    return text.length;
  }
  text = text.replace(emoji_regex_default(), "  ");
  let width = 0;
  for (const character of text) {
    const codePoint = character.codePointAt(0);
    if (codePoint <= 31 || codePoint >= 127 && codePoint <= 159) {
      continue;
    }
    if (codePoint >= 768 && codePoint <= 879) {
      continue;
    }
    width += _isNarrowWidth(codePoint) ? 1 : 2;
  }
  return width;
}
var get_string_width_default = getStringWidth;
 
// src/utils/skip.js
function skip(characters) {
  return (text, startIndex, options2) => {
    const backwards = Boolean(options2 == null ? void 0 : options2.backwards);
    if (startIndex === false) {
      return false;
    }
    const { length } = text;
    let cursor2 = startIndex;
    while (cursor2 >= 0 && cursor2 < length) {
      const character = text.charAt(cursor2);
      if (characters instanceof RegExp) {
        if (!characters.test(character)) {
          return cursor2;
        }
      } else if (!characters.includes(character)) {
        return cursor2;
      }
      backwards ? cursor2-- : cursor2++;
    }
    if (cursor2 === -1 || cursor2 === length) {
      return cursor2;
    }
    return false;
  };
}
var skipWhitespace = skip(/\s/u);
var skipSpaces = skip(" 	");
var skipToLineEnd = skip(",; 	");
var skipEverythingButNewLine = skip(/[^\n\r]/u);
 
// src/utils/skip-newline.js
function skipNewline(text, startIndex, options2) {
  const backwards = Boolean(options2 == null ? void 0 : options2.backwards);
  if (startIndex === false) {
    return false;
  }
  const character = text.charAt(startIndex);
  if (backwards) {
    if (text.charAt(startIndex - 1) === "\r" && character === "\n") {
      return startIndex - 2;
    }
    if (character === "\n" || character === "\r" || character === "\u2028" || character === "\u2029") {
      return startIndex - 1;
    }
  } else {
    if (character === "\r" && text.charAt(startIndex + 1) === "\n") {
      return startIndex + 2;
    }
    if (character === "\n" || character === "\r" || character === "\u2028" || character === "\u2029") {
      return startIndex + 1;
    }
  }
  return startIndex;
}
var skip_newline_default = skipNewline;
 
// src/utils/has-newline.js
function hasNewline(text, startIndex, options2 = {}) {
  const idx = skipSpaces(
    text,
    options2.backwards ? startIndex - 1 : startIndex,
    options2
  );
  const idx2 = skip_newline_default(text, idx, options2);
  return idx !== idx2;
}
var has_newline_default = hasNewline;
 
// src/utils/skip-inline-comment.js
function skipInlineComment(text, startIndex) {
  if (startIndex === false) {
    return false;
  }
  if (text.charAt(startIndex) === "/" && text.charAt(startIndex + 1) === "*") {
    for (let i = startIndex + 2; i < text.length; ++i) {
      if (text.charAt(i) === "*" && text.charAt(i + 1) === "/") {
        return i + 2;
      }
    }
  }
  return startIndex;
}
var skip_inline_comment_default = skipInlineComment;
 
// src/utils/skip-trailing-comment.js
function skipTrailingComment(text, startIndex) {
  if (startIndex === false) {
    return false;
  }
  if (text.charAt(startIndex) === "/" && text.charAt(startIndex + 1) === "/") {
    return skipEverythingButNewLine(text, startIndex);
  }
  return startIndex;
}
var skip_trailing_comment_default = skipTrailingComment;
 
// src/utils/is-next-line-empty.js
function isNextLineEmpty(text, startIndex) {
  let oldIdx = null;
  let idx = startIndex;
  while (idx !== oldIdx) {
    oldIdx = idx;
    idx = skipToLineEnd(text, idx);
    idx = skip_inline_comment_default(text, idx);
    idx = skipSpaces(text, idx);
  }
  idx = skip_trailing_comment_default(text, idx);
  idx = skip_newline_default(text, idx);
  return idx !== false && has_newline_default(text, idx);
}
var is_next_line_empty_default = isNextLineEmpty;
 
// src/utils/is-non-empty-array.js
function isNonEmptyArray(object) {
  return Array.isArray(object) && object.length > 0;
}
var is_non_empty_array_default = isNonEmptyArray;
 
// scripts/build/shims/assert.js
var assert = new Proxy(() => {
}, { get: () => assert });
var assert_default = assert;
 
// src/utils/get-preferred-quote.js
var SINGLE_QUOTE = "'";
var DOUBLE_QUOTE = '"';
function getPreferredQuote(text, preferredQuoteOrPreferSingleQuote) {
  const preferred = preferredQuoteOrPreferSingleQuote === true || preferredQuoteOrPreferSingleQuote === SINGLE_QUOTE ? SINGLE_QUOTE : DOUBLE_QUOTE;
  const alternate = preferred === SINGLE_QUOTE ? DOUBLE_QUOTE : SINGLE_QUOTE;
  let preferredQuoteCount = 0;
  let alternateQuoteCount = 0;
  for (const character of text) {
    if (character === preferred) {
      preferredQuoteCount++;
    } else if (character === alternate) {
      alternateQuoteCount++;
    }
  }
  return preferredQuoteCount > alternateQuoteCount ? alternate : preferred;
}
var get_preferred_quote_default = getPreferredQuote;
 
// src/utils/make-string.js
function makeString(rawText, enclosingQuote, unescapeUnnecessaryEscapes) {
  const otherQuote = enclosingQuote === '"' ? "'" : '"';
  const regex = /\\(.)|(["'])/gsu;
  const raw = string_replace_all_default(
    /* isOptionalObject */
    false,
    rawText,
    regex,
    (match, escaped, quote) => {
      if (escaped === otherQuote) {
        return escaped;
      }
      if (quote === enclosingQuote) {
        return "\\" + quote;
      }
      if (quote) {
        return quote;
      }
      return unescapeUnnecessaryEscapes && /^[^\n\r"'0-7\\bfnrt-vx\u2028\u2029]$/u.test(escaped) ? escaped : "\\" + escaped;
    }
  );
  return enclosingQuote + raw + enclosingQuote;
}
var make_string_default = makeString;
 
// src/utils/print-string.js
function printString(raw, options2) {
  assert_default.ok(/^(?<quote>["']).*\k<quote>$/su.test(raw));
  const rawContent = raw.slice(1, -1);
  const enclosingQuote = options2.parser === "json" || options2.parser === "jsonc" || // This was added before we have the `jsonc` parser
  // If `{quoteProps: "preserve"}` and `{singleQuote: false}` (default value),
  // and `{parser: "json5"}`, double quotes are always used for strings.
  // This effectively allows using the `json5` parser for “JSON with comments and trailing commas”.
  // See https://github.com/prettier/prettier/pull/10323
  // See https://github.com/prettier/prettier/pull/15831#discussion_r1431010636
  options2.parser === "json5" && options2.quoteProps === "preserve" && !options2.singleQuote ? '"' : options2.__isInHtmlAttribute ? "'" : get_preferred_quote_default(rawContent, options2.singleQuote);
  const originalQuote = raw.charAt(0);
  if (originalQuote === enclosingQuote) {
    return raw;
  }
  return make_string_default(
    rawContent,
    enclosingQuote,
    // Until Prettier 3.3.3, this option was set to true for most parsers, with some exceptions like CSS.
    // Since Prettier 3.3.4, it is set to false for all parsers.
    // For more details, please see https://github.com/prettier/prettier/issues/16542#issuecomment-2282249280.
    false
  );
}
var print_string_default = printString;
 
// src/language-js/loc.js
var isIndex = (value) => Number.isInteger(value) && value >= 0;
function locStart(node) {
  var _a, _b, _c;
  const start = ((_a = node.range) == null ? void 0 : _a[0]) ?? node.start;
  if (false) {
    throw new TypeError("Can't not locate node.");
  }
  const firstDecorator = (_c = ((_b = node.declaration) == null ? void 0 : _b.decorators) ?? node.decorators) == null ? void 0 : _c[0];
  if (firstDecorator) {
    return Math.min(locStart(firstDecorator), start);
  }
  return start;
}
function locEnd(node) {
  var _a;
  const end = ((_a = node.range) == null ? void 0 : _a[1]) ?? node.end;
  if (false) {
    throw new TypeError("Can't not locate node.");
  }
  return end;
}
function hasSameLocStart(nodeA, nodeB) {
  const nodeAStart = locStart(nodeA);
  return isIndex(nodeAStart) && nodeAStart === locStart(nodeB);
}
function hasSameLocEnd(nodeA, nodeB) {
  const nodeAEnd = locEnd(nodeA);
  return isIndex(nodeAEnd) && nodeAEnd === locEnd(nodeB);
}
function hasSameLoc(nodeA, nodeB) {
  return hasSameLocStart(nodeA, nodeB) && hasSameLocEnd(nodeA, nodeB);
}
 
// node_modules/to-fast-properties/index.js
var fastProto = null;
function FastObject(object) {
  if (fastProto !== null && typeof fastProto.property) {
    const result = fastProto;
    fastProto = FastObject.prototype = null;
    return result;
  }
  fastProto = FastObject.prototype = object == null ? /* @__PURE__ */ Object.create(null) : object;
  return new FastObject();
}
var inlineCacheCutoff = 10;
for (let index = 0; index <= inlineCacheCutoff; index++) {
  FastObject();
}
function toFastproperties(object) {
  return FastObject(object);
}
 
// src/utils/create-get-visitor-keys.js
function createGetVisitorKeys(visitorKeys2, typeProperty = "type") {
  toFastproperties(visitorKeys2);
  function getVisitorKeys3(node) {
    const type = node[typeProperty];
    if (false) {
      throw new Error(
        `Can't get node type, you must pass the wrong typeProperty '${typeProperty}'`
      );
    }
    const keys = visitorKeys2[type];
    if (!Array.isArray(keys)) {
      throw Object.assign(new Error(`Missing visitor keys for '${type}'.`), {
        node
      });
    }
    return keys;
  }
  return getVisitorKeys3;
}
var create_get_visitor_keys_default = createGetVisitorKeys;
 
// src/language-js/traverse/visitor-keys.evaluate.js
var visitor_keys_evaluate_default = {
  "ArrayExpression": [
    "elements"
  ],
  "AssignmentExpression": [
    "left",
    "right"
  ],
  "BinaryExpression": [
    "left",
    "right"
  ],
  "InterpreterDirective": [],
  "Directive": [
    "value"
  ],
  "DirectiveLiteral": [],
  "BlockStatement": [
    "directives",
    "body"
  ],
  "BreakStatement": [
    "label"
  ],
  "CallExpression": [
    "callee",
    "arguments",
    "typeParameters",
    "typeArguments"
  ],
  "CatchClause": [
    "param",
    "body"
  ],
  "ConditionalExpression": [
    "test",
    "consequent",
    "alternate"
  ],
  "ContinueStatement": [
    "label"
  ],
  "DebuggerStatement": [],
  "DoWhileStatement": [
    "body",
    "test"
  ],
  "EmptyStatement": [],
  "ExpressionStatement": [
    "expression"
  ],
  "File": [
    "program"
  ],
  "ForInStatement": [
    "left",
    "right",
    "body"
  ],
  "ForStatement": [
    "init",
    "test",
    "update",
    "body"
  ],
  "FunctionDeclaration": [
    "id",
    "typeParameters",
    "params",
    "predicate",
    "returnType",
    "body"
  ],
  "FunctionExpression": [
    "id",
    "typeParameters",
    "params",
    "returnType",
    "body"
  ],
  "Identifier": [
    "typeAnnotation",
    "decorators"
  ],
  "IfStatement": [
    "test",
    "consequent",
    "alternate"
  ],
  "LabeledStatement": [
    "label",
    "body"
  ],
  "StringLiteral": [],
  "NumericLiteral": [],
  "NullLiteral": [],
  "BooleanLiteral": [],
  "RegExpLiteral": [],
  "LogicalExpression": [
    "left",
    "right"
  ],
  "MemberExpression": [
    "object",
    "property"
  ],
  "NewExpression": [
    "callee",
    "arguments",
    "typeParameters",
    "typeArguments"
  ],
  "Program": [
    "directives",
    "body"
  ],
  "ObjectExpression": [
    "properties"
  ],
  "ObjectMethod": [
    "decorators",
    "key",
    "typeParameters",
    "params",
    "returnType",
    "body"
  ],
  "ObjectProperty": [
    "key",
    "value",
    "decorators"
  ],
  "RestElement": [
    "argument",
    "typeAnnotation",
    "decorators"
  ],
  "ReturnStatement": [
    "argument"
  ],
  "SequenceExpression": [
    "expressions"
  ],
  "ParenthesizedExpression": [
    "expression"
  ],
  "SwitchCase": [
    "test",
    "consequent"
  ],
  "SwitchStatement": [
    "discriminant",
    "cases"
  ],
  "ThisExpression": [],
  "ThrowStatement": [
    "argument"
  ],
  "TryStatement": [
    "block",
    "handler",
    "finalizer"
  ],
  "UnaryExpression": [
    "argument"
  ],
  "UpdateExpression": [
    "argument"
  ],
  "VariableDeclaration": [
    "declarations"
  ],
  "VariableDeclarator": [
    "id",
    "init"
  ],
  "WhileStatement": [
    "test",
    "body"
  ],
  "WithStatement": [
    "object",
    "body"
  ],
  "AssignmentPattern": [
    "left",
    "right",
    "decorators",
    "typeAnnotation"
  ],
  "ArrayPattern": [
    "elements",
    "typeAnnotation",
    "decorators"
  ],
  "ArrowFunctionExpression": [
    "typeParameters",
    "params",
    "predicate",
    "returnType",
    "body"
  ],
  "ClassBody": [
    "body"
  ],
  "ClassExpression": [
    "decorators",
    "id",
    "typeParameters",
    "superClass",
    "superTypeParameters",
    "mixins",
    "implements",
    "body",
    "superTypeArguments"
  ],
  "ClassDeclaration": [
    "decorators",
    "id",
    "typeParameters",
    "superClass",
    "superTypeParameters",
    "mixins",
    "implements",
    "body",
    "superTypeArguments"
  ],
  "ExportAllDeclaration": [
    "source",
    "attributes",
    "exported"
  ],
  "ExportDefaultDeclaration": [
    "declaration"
  ],
  "ExportNamedDeclaration": [
    "declaration",
    "specifiers",
    "source",
    "attributes"
  ],
  "ExportSpecifier": [
    "local",
    "exported"
  ],
  "ForOfStatement": [
    "left",
    "right",
    "body"
  ],
  "ImportDeclaration": [
    "specifiers",
    "source",
    "attributes"
  ],
  "ImportDefaultSpecifier": [
    "local"
  ],
  "ImportNamespaceSpecifier": [
    "local"
  ],
  "ImportSpecifier": [
    "imported",
    "local"
  ],
  "ImportExpression": [
    "source",
    "options"
  ],
  "MetaProperty": [
    "meta",
    "property"
  ],
  "ClassMethod": [
    "decorators",
    "key",
    "typeParameters",
    "params",
    "returnType",
    "body"
  ],
  "ObjectPattern": [
    "properties",
    "typeAnnotation",
    "decorators"
  ],
  "SpreadElement": [
    "argument"
  ],
  "Super": [],
  "TaggedTemplateExpression": [
    "tag",
    "typeParameters",
    "quasi",
    "typeArguments"
  ],
  "TemplateElement": [],
  "TemplateLiteral": [
    "quasis",
    "expressions"
  ],
  "YieldExpression": [
    "argument"
  ],
  "AwaitExpression": [
    "argument"
  ],
  "BigIntLiteral": [],
  "ExportNamespaceSpecifier": [
    "exported"
  ],
  "OptionalMemberExpression": [
    "object",
    "property"
  ],
  "OptionalCallExpression": [
    "callee",
    "arguments",
    "typeParameters",
    "typeArguments"
  ],
  "ClassProperty": [
    "decorators",
    "variance",
    "key",
    "typeAnnotation",
    "value"
  ],
  "ClassAccessorProperty": [
    "decorators",
    "key",
    "typeAnnotation",
    "value"
  ],
  "ClassPrivateProperty": [
    "decorators",
    "variance",
    "key",
    "typeAnnotation",
    "value"
  ],
  "ClassPrivateMethod": [
    "decorators",
    "key",
    "typeParameters",
    "params",
    "returnType",
    "body"
  ],
  "PrivateName": [
    "id"
  ],
  "StaticBlock": [
    "body"
  ],
  "ImportAttribute": [
    "key",
    "value"
  ],
  "AnyTypeAnnotation": [],
  "ArrayTypeAnnotation": [
    "elementType"
  ],
  "BooleanTypeAnnotation": [],
  "BooleanLiteralTypeAnnotation": [],
  "NullLiteralTypeAnnotation": [],
  "ClassImplements": [
    "id",
    "typeParameters"
  ],
  "DeclareClass": [
    "id",
    "typeParameters",
    "extends",
    "mixins",
    "implements",
    "body"
  ],
  "DeclareFunction": [
    "id",
    "predicate"
  ],
  "DeclareInterface": [
    "id",
    "typeParameters",
    "extends",
    "body"
  ],
  "DeclareModule": [
    "id",
    "body"
  ],
  "DeclareModuleExports": [
    "typeAnnotation"
  ],
  "DeclareTypeAlias": [
    "id",
    "typeParameters",
    "right"
  ],
  "DeclareOpaqueType": [
    "id",
    "typeParameters",
    "supertype"
  ],
  "DeclareVariable": [
    "id"
  ],
  "DeclareExportDeclaration": [
    "declaration",
    "specifiers",
    "source",
    "attributes"
  ],
  "DeclareExportAllDeclaration": [
    "source",
    "attributes"
  ],
  "DeclaredPredicate": [
    "value"
  ],
  "ExistsTypeAnnotation": [],
  "FunctionTypeAnnotation": [
    "typeParameters",
    "this",
    "params",
    "rest",
    "returnType"
  ],
  "FunctionTypeParam": [
    "name",
    "typeAnnotation"
  ],
  "GenericTypeAnnotation": [
    "id",
    "typeParameters"
  ],
  "InferredPredicate": [],
  "InterfaceExtends": [
    "id",
    "typeParameters"
  ],
  "InterfaceDeclaration": [
    "id",
    "typeParameters",
    "extends",
    "body"
  ],
  "InterfaceTypeAnnotation": [
    "extends",
    "body"
  ],
  "IntersectionTypeAnnotation": [
    "types"
  ],
  "MixedTypeAnnotation": [],
  "EmptyTypeAnnotation": [],
  "NullableTypeAnnotation": [
    "typeAnnotation"
  ],
  "NumberLiteralTypeAnnotation": [],
  "NumberTypeAnnotation": [],
  "ObjectTypeAnnotation": [
    "properties",
    "indexers",
    "callProperties",
    "internalSlots"
  ],
  "ObjectTypeInternalSlot": [
    "id",
    "value"
  ],
  "ObjectTypeCallProperty": [
    "value"
  ],
  "ObjectTypeIndexer": [
    "variance",
    "id",
    "key",
    "value"
  ],
  "ObjectTypeProperty": [
    "key",
    "value",
    "variance"
  ],
  "ObjectTypeSpreadProperty": [
    "argument"
  ],
  "OpaqueType": [
    "id",
    "typeParameters",
    "supertype",
    "impltype"
  ],
  "QualifiedTypeIdentifier": [
    "qualification",
    "id"
  ],
  "StringLiteralTypeAnnotation": [],
  "StringTypeAnnotation": [],
  "SymbolTypeAnnotation": [],
  "ThisTypeAnnotation": [],
  "TupleTypeAnnotation": [
    "types",
    "elementTypes"
  ],
  "TypeofTypeAnnotation": [
    "argument",
    "typeArguments"
  ],
  "TypeAlias": [
    "id",
    "typeParameters",
    "right"
  ],
  "TypeAnnotation": [
    "typeAnnotation"
  ],
  "TypeCastExpression": [
    "expression",
    "typeAnnotation"
  ],
  "TypeParameter": [
    "bound",
    "default",
    "variance"
  ],
  "TypeParameterDeclaration": [
    "params"
  ],
  "TypeParameterInstantiation": [
    "params"
  ],
  "UnionTypeAnnotation": [
    "types"
  ],
  "Variance": [],
  "VoidTypeAnnotation": [],
  "EnumDeclaration": [
    "id",
    "body"
  ],
  "EnumBooleanBody": [
    "members"
  ],
  "EnumNumberBody": [
    "members"
  ],
  "EnumStringBody": [
    "members"
  ],
  "EnumSymbolBody": [
    "members"
  ],
  "EnumBooleanMember": [
    "id",
    "init"
  ],
  "EnumNumberMember": [
    "id",
    "init"
  ],
  "EnumStringMember": [
    "id",
    "init"
  ],
  "EnumDefaultedMember": [
    "id"
  ],
  "IndexedAccessType": [
    "objectType",
    "indexType"
  ],
  "OptionalIndexedAccessType": [
    "objectType",
    "indexType"
  ],
  "JSXAttribute": [
    "name",
    "value"
  ],
  "JSXClosingElement": [
    "name"
  ],
  "JSXElement": [
    "openingElement",
    "children",
    "closingElement"
  ],
  "JSXEmptyExpression": [],
  "JSXExpressionContainer": [
    "expression"
  ],
  "JSXSpreadChild": [
    "expression"
  ],
  "JSXIdentifier": [],
  "JSXMemberExpression": [
    "object",
    "property"
  ],
  "JSXNamespacedName": [
    "namespace",
    "name"
  ],
  "JSXOpeningElement": [
    "name",
    "typeParameters",
    "typeArguments",
    "attributes"
  ],
  "JSXSpreadAttribute": [
    "argument"
  ],
  "JSXText": [],
  "JSXFragment": [
    "openingFragment",
    "children",
    "closingFragment"
  ],
  "JSXOpeningFragment": [],
  "JSXClosingFragment": [],
  "Noop": [],
  "Placeholder": [],
  "V8IntrinsicIdentifier": [],
  "ArgumentPlaceholder": [],
  "BindExpression": [
    "object",
    "callee"
  ],
  "Decorator": [
    "expression"
  ],
  "DoExpression": [
    "body"
  ],
  "ExportDefaultSpecifier": [
    "exported"
  ],
  "ModuleExpression": [
    "body"
  ],
  "TopicReference": [],
  "PipelineTopicExpression": [
    "expression"
  ],
  "PipelineBareFunction": [
    "callee"
  ],
  "PipelinePrimaryTopicReference": [],
  "TSParameterProperty": [
    "parameter",
    "decorators"
  ],
  "TSDeclareFunction": [
    "id",
    "typeParameters",
    "params",
    "returnType",
    "body"
  ],
  "TSDeclareMethod": [
    "decorators",
    "key",
    "typeParameters",
    "params",
    "returnType"
  ],
  "TSQualifiedName": [
    "left",
    "right"
  ],
  "TSCallSignatureDeclaration": [
    "typeParameters",
    "parameters",
    "typeAnnotation",
    "params",
    "returnType"
  ],
  "TSConstructSignatureDeclaration": [
    "typeParameters",
    "parameters",
    "typeAnnotation",
    "params",
    "returnType"
  ],
  "TSPropertySignature": [
    "key",
    "typeAnnotation"
  ],
  "TSMethodSignature": [
    "key",
    "typeParameters",
    "parameters",
    "typeAnnotation",
    "params",
    "returnType"
  ],
  "TSIndexSignature": [
    "parameters",
    "typeAnnotation"
  ],
  "TSAnyKeyword": [],
  "TSBooleanKeyword": [],
  "TSBigIntKeyword": [],
  "TSIntrinsicKeyword": [],
  "TSNeverKeyword": [],
  "TSNullKeyword": [],
  "TSNumberKeyword": [],
  "TSObjectKeyword": [],
  "TSStringKeyword": [],
  "TSSymbolKeyword": [],
  "TSUndefinedKeyword": [],
  "TSUnknownKeyword": [],
  "TSVoidKeyword": [],
  "TSThisType": [],
  "TSFunctionType": [
    "typeParameters",
    "parameters",
    "typeAnnotation",
    "params",
    "returnType"
  ],
  "TSConstructorType": [
    "typeParameters",
    "parameters",
    "typeAnnotation",
    "params",
    "returnType"
  ],
  "TSTypeReference": [
    "typeName",
    "typeParameters",
    "typeArguments"
  ],
  "TSTypePredicate": [
    "parameterName",
    "typeAnnotation"
  ],
  "TSTypeQuery": [
    "exprName",
    "typeParameters",
    "typeArguments"
  ],
  "TSTypeLiteral": [
    "members"
  ],
  "TSArrayType": [
    "elementType"
  ],
  "TSTupleType": [
    "elementTypes"
  ],
  "TSOptionalType": [
    "typeAnnotation"
  ],
  "TSRestType": [
    "typeAnnotation"
  ],
  "TSNamedTupleMember": [
    "label",
    "elementType"
  ],
  "TSUnionType": [
    "types"
  ],
  "TSIntersectionType": [
    "types"
  ],
  "TSConditionalType": [
    "checkType",
    "extendsType",
    "trueType",
    "falseType"
  ],
  "TSInferType": [
    "typeParameter"
  ],
  "TSParenthesizedType": [
    "typeAnnotation"
  ],
  "TSTypeOperator": [
    "typeAnnotation"
  ],
  "TSIndexedAccessType": [
    "objectType",
    "indexType"
  ],
  "TSMappedType": [
    "nameType",
    "typeAnnotation",
    "key",
    "constraint"
  ],
  "TSTemplateLiteralType": [
    "quasis",
    "types"
  ],
  "TSLiteralType": [
    "literal"
  ],
  "TSExpressionWithTypeArguments": [
    "expression",
    "typeParameters"
  ],
  "TSInterfaceDeclaration": [
    "id",
    "typeParameters",
    "extends",
    "body"
  ],
  "TSInterfaceBody": [
    "body"
  ],
  "TSTypeAliasDeclaration": [
    "id",
    "typeParameters",
    "typeAnnotation"
  ],
  "TSInstantiationExpression": [
    "expression",
    "typeParameters",
    "typeArguments"
  ],
  "TSAsExpression": [
    "expression",
    "typeAnnotation"
  ],
  "TSSatisfiesExpression": [
    "expression",
    "typeAnnotation"
  ],
  "TSTypeAssertion": [
    "typeAnnotation",
    "expression"
  ],
  "TSEnumBody": [
    "members"
  ],
  "TSEnumDeclaration": [
    "id",
    "body"
  ],
  "TSEnumMember": [
    "id",
    "initializer"
  ],
  "TSModuleDeclaration": [
    "id",
    "body"
  ],
  "TSModuleBlock": [
    "body"
  ],
  "TSImportType": [
    "argument",
    "options",
    "qualifier",
    "typeParameters",
    "typeArguments"
  ],
  "TSImportEqualsDeclaration": [
    "id",
    "moduleReference"
  ],
  "TSExternalModuleReference": [
    "expression"
  ],
  "TSNonNullExpression": [
    "expression"
  ],
  "TSExportAssignment": [
    "expression"
  ],
  "TSNamespaceExportDeclaration": [
    "id"
  ],
  "TSTypeAnnotation": [
    "typeAnnotation"
  ],
  "TSTypeParameterInstantiation": [
    "params"
  ],
  "TSTypeParameterDeclaration": [
    "params"
  ],
  "TSTypeParameter": [
    "constraint",
    "default",
    "name"
  ],
  "ChainExpression": [
    "expression"
  ],
  "ExperimentalRestProperty": [
    "argument"
  ],
  "ExperimentalSpreadProperty": [
    "argument"
  ],
  "Literal": [],
  "MethodDefinition": [
    "decorators",
    "key",
    "value"
  ],
  "PrivateIdentifier": [],
  "Property": [
    "key",
    "value"
  ],
  "PropertyDefinition": [
    "decorators",
    "key",
    "typeAnnotation",
    "value",
    "variance"
  ],
  "AccessorProperty": [
    "decorators",
    "key",
    "typeAnnotation",
    "value"
  ],
  "TSAbstractAccessorProperty": [
    "decorators",
    "key",
    "typeAnnotation"
  ],
  "TSAbstractKeyword": [],
  "TSAbstractMethodDefinition": [
    "key",
    "value"
  ],
  "TSAbstractPropertyDefinition": [
    "decorators",
    "key",
    "typeAnnotation"
  ],
  "TSAsyncKeyword": [],
  "TSClassImplements": [
    "expression",
    "typeArguments",
    "typeParameters"
  ],
  "TSDeclareKeyword": [],
  "TSEmptyBodyFunctionExpression": [
    "id",
    "typeParameters",
    "params",
    "returnType"
  ],
  "TSExportKeyword": [],
  "TSInterfaceHeritage": [
    "expression",
    "typeArguments",
    "typeParameters"
  ],
  "TSPrivateKeyword": [],
  "TSProtectedKeyword": [],
  "TSPublicKeyword": [],
  "TSReadonlyKeyword": [],
  "TSStaticKeyword": [],
  "AsConstExpression": [
    "expression"
  ],
  "AsExpression": [
    "expression",
    "typeAnnotation"
  ],
  "BigIntLiteralTypeAnnotation": [],
  "BigIntTypeAnnotation": [],
  "ComponentDeclaration": [
    "id",
    "params",
    "body",
    "typeParameters",
    "rendersType"
  ],
  "ComponentParameter": [
    "name",
    "local"
  ],
  "ComponentTypeAnnotation": [
    "params",
    "rest",
    "typeParameters",
    "rendersType"
  ],
  "ComponentTypeParameter": [
    "name",
    "typeAnnotation"
  ],
  "ConditionalTypeAnnotation": [
    "checkType",
    "extendsType",
    "trueType",
    "falseType"
  ],
  "DeclareComponent": [
    "id",
    "params",
    "rest",
    "typeParameters",
    "rendersType"
  ],
  "DeclareEnum": [
    "id",
    "body"
  ],
  "DeclareHook": [
    "id"
  ],
  "DeclareNamespace": [
    "id",
    "body"
  ],
  "EnumBigIntBody": [
    "members"
  ],
  "EnumBigIntMember": [
    "id",
    "init"
  ],
  "HookDeclaration": [
    "id",
    "params",
    "body",
    "typeParameters",
    "returnType"
  ],
  "HookTypeAnnotation": [
    "params",
    "returnType",
    "rest",
    "typeParameters"
  ],
  "InferTypeAnnotation": [
    "typeParameter"
  ],
  "KeyofTypeAnnotation": [
    "argument"
  ],
  "ObjectTypeMappedTypeProperty": [
    "keyTparam",
    "propType",
    "sourceType",
    "variance"
  ],
  "QualifiedTypeofIdentifier": [
    "qualification",
    "id"
  ],
  "TupleTypeLabeledElement": [
    "label",
    "elementType",
    "variance"
  ],
  "TupleTypeSpreadElement": [
    "label",
    "typeAnnotation"
  ],
  "TypeOperator": [
    "typeAnnotation"
  ],
  "TypePredicate": [
    "parameterName",
    "typeAnnotation",
    "asserts"
  ],
  "NGChainedExpression": [
    "expressions"
  ],
  "NGEmptyExpression": [],
  "NGPipeExpression": [
    "left",
    "right",
    "arguments"
  ],
  "NGMicrosyntax": [
    "body"
  ],
  "NGMicrosyntaxAs": [
    "key",
    "alias"
  ],
  "NGMicrosyntaxExpression": [
    "expression",
    "alias"
  ],
  "NGMicrosyntaxKey": [],
  "NGMicrosyntaxKeyedExpression": [
    "key",
    "expression"
  ],
  "NGMicrosyntaxLet": [
    "key",
    "value"
  ],
  "NGRoot": [
    "node"
  ],
  "JsExpressionRoot": [
    "node"
  ],
  "JsonRoot": [
    "node"
  ],
  "TSJSDocAllType": [],
  "TSJSDocUnknownType": [],
  "TSJSDocNullableType": [
    "typeAnnotation"
  ],
  "TSJSDocNonNullableType": [
    "typeAnnotation"
  ],
  "NeverTypeAnnotation": [],
  "SatisfiesExpression": [
    "expression",
    "typeAnnotation"
  ],
  "UndefinedTypeAnnotation": [],
  "UnknownTypeAnnotation": []
};
 
// src/language-js/traverse/get-visitor-keys.js
var getVisitorKeys = create_get_visitor_keys_default(visitor_keys_evaluate_default);
var get_visitor_keys_default = getVisitorKeys;
 
// src/language-js/utils/create-type-check-function.js
function createTypeCheckFunction(typesArray) {
  const types = new Set(typesArray);
  return (node) => types.has(node == null ? void 0 : node.type);
}
var create_type_check_function_default = createTypeCheckFunction;
 
// src/language-js/utils/get-raw.js
function getRaw(node) {
  var _a;
  return ((_a = node.extra) == null ? void 0 : _a.raw) ?? node.raw;
}
var get_raw_default = getRaw;
 
// src/language-js/utils/is-block-comment.js
var isBlockComment = create_type_check_function_default([
  "Block",
  "CommentBlock",
  // `meriyah`
  "MultiLine"
]);
var is_block_comment_default = isBlockComment;
 
// src/language-js/utils/is-flow-keyword-type.js
var isFlowKeywordType = create_type_check_function_default([
  "AnyTypeAnnotation",
  "ThisTypeAnnotation",
  "NumberTypeAnnotation",
  "VoidTypeAnnotation",
  "BooleanTypeAnnotation",
  "BigIntTypeAnnotation",
  "SymbolTypeAnnotation",
  "StringTypeAnnotation",
  "NeverTypeAnnotation",
  "UndefinedTypeAnnotation",
  "UnknownTypeAnnotation",
  // FLow only
  "EmptyTypeAnnotation",
  "MixedTypeAnnotation"
]);
var is_flow_keyword_type_default = isFlowKeywordType;
 
// src/language-js/utils/is-line-comment.js
var isLineComment = create_type_check_function_default([
  "Line",
  "CommentLine",
  // `meriyah` has `SingleLine`, `HashbangComment`, `HTMLOpen`, and `HTMLClose`
  "SingleLine",
  "HashbangComment",
  "HTMLOpen",
  "HTMLClose",
  // `espree`, and `oxc`(with `{astType: 'ts'}`)
  "Hashbang",
  // `babel` and `flow` hashbang
  "InterpreterDirective"
]);
var is_line_comment_default = isLineComment;
 
// src/language-js/utils/is-node-matches.js
function isNodeMatchesNameOrPath(node, nameOrPath) {
  const names = nameOrPath.split(".");
  for (let index = names.length - 1; index >= 0; index--) {
    const name = names[index];
    if (index === 0) {
      return node.type === "Identifier" && node.name === name;
    }
    if (node.type !== "MemberExpression" || node.optional || node.computed || node.property.type !== "Identifier" || node.property.name !== name) {
      return false;
    }
    node = node.object;
  }
}
function isNodeMatches(node, nameOrPaths) {
  return nameOrPaths.some(
    (nameOrPath) => isNodeMatchesNameOrPath(node, nameOrPath)
  );
}
var is_node_matches_default = isNodeMatches;
 
// src/language-js/utils/is-ts-keyword-type.js
function isTsKeywordType({ type }) {
  return type.startsWith("TS") && type.endsWith("Keyword");
}
var is_ts_keyword_type_default = isTsKeywordType;
 
// src/language-js/utils/index.js
function hasNode(node, predicate) {
  return predicate(node) || hasDescendant(node, { getVisitorKeys: get_visitor_keys_default, predicate });
}
function hasNakedLeftSide(node) {
  return node.type === "AssignmentExpression" || node.type === "BinaryExpression" || node.type === "LogicalExpression" || node.type === "NGPipeExpression" || node.type === "ConditionalExpression" || isCallExpression(node) || isMemberExpression(node) || node.type === "SequenceExpression" || node.type === "TaggedTemplateExpression" || node.type === "BindExpression" || node.type === "UpdateExpression" && !node.prefix || isBinaryCastExpression(node) || node.type === "TSNonNullExpression" || node.type === "ChainExpression";
}
function getLeftSide(node) {
  if (node.expressions) {
    return node.expressions[0];
  }
  return node.left ?? node.test ?? node.callee ?? node.object ?? node.tag ?? node.argument ?? node.expression;
}
function getLeftSidePathName(node) {
  if (node.expressions) {
    return ["expressions", 0];
  }
  if (node.left) {
    return ["left"];
  }
  if (node.test) {
    return ["test"];
  }
  if (node.object) {
    return ["object"];
  }
  if (node.callee) {
    return ["callee"];
  }
  if (node.tag) {
    return ["tag"];
  }
  if (node.argument) {
    return ["argument"];
  }
  if (node.expression) {
    return ["expression"];
  }
  throw new Error("Unexpected node has no left side.");
}
var isExportDeclaration = create_type_check_function_default([
  "ExportDefaultDeclaration",
  "DeclareExportDeclaration",
  "ExportNamedDeclaration",
  "ExportAllDeclaration",
  "DeclareExportAllDeclaration"
]);
var isArrayExpression = create_type_check_function_default(["ArrayExpression"]);
var isObjectExpression = create_type_check_function_default(["ObjectExpression"]);
function isNullishCoalescing(node) {
  return node.type === "LogicalExpression" && node.operator === "??";
}
function isNumericLiteral(node) {
  return node.type === "NumericLiteral" || node.type === "Literal" && typeof node.value === "number";
}
function isBooleanLiteral(node) {
  return node.type === "BooleanLiteral" || node.type === "Literal" && typeof node.value === "boolean";
}
function isSignedNumericLiteral(node) {
  return node.type === "UnaryExpression" && (node.operator === "+" || node.operator === "-") && isNumericLiteral(node.argument);
}
function isStringLiteral(node) {
  return Boolean(
    node && (node.type === "StringLiteral" || node.type === "Literal" && typeof node.value === "string")
  );
}
function isRegExpLiteral(node) {
  return node.type === "RegExpLiteral" || node.type === "Literal" && Boolean(node.regex);
}
var isLiteral = create_type_check_function_default([
  "Literal",
  "BooleanLiteral",
  "BigIntLiteral",
  // Babel, flow use `BigIntLiteral` too
  "DirectiveLiteral",
  "NullLiteral",
  "NumericLiteral",
  "RegExpLiteral",
  "StringLiteral"
]);
var isSingleWordType = create_type_check_function_default([
  "Identifier",
  "ThisExpression",
  "Super",
  "PrivateName",
  "PrivateIdentifier"
]);
var isObjectType = create_type_check_function_default([
  "ObjectTypeAnnotation",
  "TSTypeLiteral",
  "TSMappedType"
]);
var isFunctionOrArrowExpression = create_type_check_function_default([
  "FunctionExpression",
  "ArrowFunctionExpression"
]);
function isFunctionOrArrowExpressionWithBody(node) {
  return node.type === "FunctionExpression" || node.type === "ArrowFunctionExpression" && node.body.type === "BlockStatement";
}
function isAngularTestWrapper(node) {
  return isCallExpression(node) && node.callee.type === "Identifier" && ["async", "inject", "fakeAsync", "waitForAsync"].includes(node.callee.name);
}
var isJsxElement = create_type_check_function_default(["JSXElement", "JSXFragment"]);
function isMethod(node) {
  return node.method && node.kind === "init" || node.kind === "get" || node.kind === "set";
}
function isFlowObjectTypePropertyAFunction(node) {
  return (node.type === "ObjectTypeProperty" || node.type === "ObjectTypeInternalSlot") && !node.static && !node.method && // @ts-expect-error -- exists on `ObjectTypeProperty` but not `ObjectTypeInternalSlot`
  node.kind !== "get" && // @ts-expect-error -- exists on `ObjectTypeProperty` but not `ObjectTypeInternalSlot`
  node.kind !== "set" && node.value.type === "FunctionTypeAnnotation";
}
function isTypeAnnotationAFunction(node) {
  return (node.type === "TypeAnnotation" || node.type === "TSTypeAnnotation") && node.typeAnnotation.type === "FunctionTypeAnnotation" && !node.static && !hasSameLocStart(node, node.typeAnnotation);
}
var isBinaryish = create_type_check_function_default([
  "BinaryExpression",
  "LogicalExpression",
  "NGPipeExpression"
]);
function isMemberish(node) {
  return isMemberExpression(node) || node.type === "BindExpression" && Boolean(node.object);
}
var isSimpleTypeAnnotation = create_type_check_function_default([
  "TSThisType",
  // literals
  "NullLiteralTypeAnnotation",
  "BooleanLiteralTypeAnnotation",
  "StringLiteralTypeAnnotation",
  "BigIntLiteralTypeAnnotation",
  "NumberLiteralTypeAnnotation",
  "TSLiteralType",
  "TSTemplateLiteralType"
]);
function isSimpleType(node) {
  return is_ts_keyword_type_default(node) || is_flow_keyword_type_default(node) || isSimpleTypeAnnotation(node) || (node.type === "GenericTypeAnnotation" || node.type === "TSTypeReference") && // @ts-expect-error -- `GenericTypeAnnotation`
  !node.typeParameters && // @ts-expect-error -- `TSTypeReference`
  !node.typeArguments;
}
function isUnitTestSetupIdentifier(node) {
  return node.type === "Identifier" && (node.name === "beforeEach" || node.name === "beforeAll" || node.name === "afterEach" || node.name === "afterAll");
}
var testCallCalleePatterns = [
  "it",
  "it.only",
  "it.skip",
  "describe",
  "describe.only",
  "describe.skip",
  "test",
  "test.only",
  "test.skip",
  "test.step",
  "test.describe",
  "test.describe.only",
  "test.describe.parallel",
  "test.describe.parallel.only",
  "test.describe.serial",
  "test.describe.serial.only",
  "skip",
  "xit",
  "xdescribe",
  "xtest",
  "fit",
  "fdescribe",
  "ftest"
];
function isTestCallCallee(node) {
  return is_node_matches_default(node, testCallCalleePatterns);
}
function isTestCall(node, parent) {
  if ((node == null ? void 0 : node.type) !== "CallExpression" || node.optional) {
    return false;
  }
  const args = getCallArguments(node);
  if (args.length === 1) {
    if (isAngularTestWrapper(node) && isTestCall(parent)) {
      return isFunctionOrArrowExpression(args[0]);
    }
    if (isUnitTestSetupIdentifier(node.callee)) {
      return isAngularTestWrapper(args[0]);
    }
  } else if ((args.length === 2 || args.length === 3) && (args[0].type === "TemplateLiteral" || isStringLiteral(args[0])) && isTestCallCallee(node.callee)) {
    if (args[2] && !isNumericLiteral(args[2])) {
      return false;
    }
    return (args.length === 2 ? isFunctionOrArrowExpression(args[1]) : isFunctionOrArrowExpressionWithBody(args[1]) && getFunctionParameters(args[1]).length <= 1) || isAngularTestWrapper(args[1]);
  }
  return false;
}
var skipChainExpression = (fn) => (node) => {
  if ((node == null ? void 0 : node.type) === "ChainExpression") {
    node = node.expression;
  }
  return fn(node);
};
var isCallExpression = skipChainExpression(
  create_type_check_function_default(["CallExpression", "OptionalCallExpression"])
);
var isMemberExpression = skipChainExpression(
  create_type_check_function_default(["MemberExpression", "OptionalMemberExpression"])
);
function isSimpleExpressionByNodeCount(node, maxInnerNodeCount = 5) {
  const count = getExpressionInnerNodeCount(node, maxInnerNodeCount);
  return count <= maxInnerNodeCount;
}
function getExpressionInnerNodeCount(node, maxCount) {
  let count = 0;
  for (const k in node) {
    const prop = node[k];
    if (prop && typeof prop === "object" && typeof prop.type === "string") {
      count++;
      count += getExpressionInnerNodeCount(prop, maxCount - count);
    }
    if (count > maxCount) {
      return count;
    }
  }
  return count;
}
var LONE_SHORT_ARGUMENT_THRESHOLD_RATE = 0.25;
function isLoneShortArgument(node, options2) {
  const { printWidth } = options2;
  if (hasComment(node)) {
    return false;
  }
  const threshold = printWidth * LONE_SHORT_ARGUMENT_THRESHOLD_RATE;
  if (node.type === "ThisExpression" || node.type === "Identifier" && node.name.length <= threshold || isSignedNumericLiteral(node) && !hasComment(node.argument)) {
    return true;
  }
  const regexpPattern = node.type === "Literal" && "regex" in node && node.regex.pattern || node.type === "RegExpLiteral" && node.pattern;
  if (regexpPattern) {
    return regexpPattern.length <= threshold;
  }
  if (isStringLiteral(node)) {
    return print_string_default(get_raw_default(node), options2).length <= threshold;
  }
  if (node.type === "TemplateLiteral") {
    return node.expressions.length === 0 && node.quasis[0].value.raw.length <= threshold && !node.quasis[0].value.raw.includes("\n");
  }
  if (node.type === "UnaryExpression") {
    return isLoneShortArgument(node.argument, { printWidth });
  }
  if (node.type === "CallExpression" && node.arguments.length === 0 && node.callee.type === "Identifier") {
    return node.callee.name.length <= threshold - 2;
  }
  return isLiteral(node);
}
function hasLeadingOwnLineComment(text, node) {
  if (isJsxElement(node)) {
    return hasNodeIgnoreComment(node);
  }
  return hasComment(
    node,
    CommentCheckFlags.Leading,
    (comment) => has_newline_default(text, locEnd(comment))
  );
}
function templateLiteralHasNewLines(template) {
  return template.quasis.some((quasi) => quasi.value.raw.includes("\n"));
}
function isTemplateOnItsOwnLine(node, text) {
  return (node.type === "TemplateLiteral" && templateLiteralHasNewLines(node) || node.type === "TaggedTemplateExpression" && templateLiteralHasNewLines(node.quasi)) && !has_newline_default(text, locStart(node), { backwards: true });
}
function needsHardlineAfterDanglingComment(node) {
  if (!hasComment(node)) {
    return false;
  }
  const lastDanglingComment = at_default(
    /* isOptionalObject */
    false,
    getComments(node, CommentCheckFlags.Dangling),
    -1
  );
  return lastDanglingComment && !is_block_comment_default(lastDanglingComment);
}
function isFunctionCompositionArgs(args) {
  if (args.length <= 1) {
    return false;
  }
  let count = 0;
  for (const arg of args) {
    if (isFunctionOrArrowExpression(arg)) {
      count += 1;
      if (count > 1) {
        return true;
      }
    } else if (isCallExpression(arg)) {
      for (const childArg of getCallArguments(arg)) {
        if (isFunctionOrArrowExpression(childArg)) {
          return true;
        }
      }
    }
  }
  return false;
}
function isLongCurriedCallExpression(path) {
  const { node, parent, key } = path;
  return key === "callee" && isCallExpression(node) && isCallExpression(parent) && parent.arguments.length > 0 && node.arguments.length > parent.arguments.length;
}
var simpleCallArgumentUnaryOperators = /* @__PURE__ */ new Set(["!", "-", "+", "~"]);
function isSimpleCallArgument(node, depth = 2) {
  if (depth <= 0) {
    return false;
  }
  if (node.type === "ChainExpression" || node.type === "TSNonNullExpression") {
    return isSimpleCallArgument(node.expression, depth);
  }
  const isChildSimple = (child) => isSimpleCallArgument(child, depth - 1);
  if (isRegExpLiteral(node)) {
    return get_string_width_default(node.pattern ?? node.regex.pattern) <= 5;
  }
  if (isLiteral(node) || isSingleWordType(node) || node.type === "ArgumentPlaceholder") {
    return true;
  }
  if (node.type === "TemplateLiteral") {
    return node.quasis.every((element) => !element.value.raw.includes("\n")) && node.expressions.every(isChildSimple);
  }
  if (isObjectExpression(node)) {
    return node.properties.every(
      (p) => !p.computed && (p.shorthand || p.value && isChildSimple(p.value))
    );
  }
  if (isArrayExpression(node)) {
    return node.elements.every((x) => x === null || isChildSimple(x));
  }
  if (isCallLikeExpression(node)) {
    if (node.type === "ImportExpression" || isSimpleCallArgument(node.callee, depth)) {
      const args = getCallArguments(node);
      return args.length <= depth && args.every(isChildSimple);
    }
    return false;
  }
  if (isMemberExpression(node)) {
    return isSimpleCallArgument(node.object, depth) && isSimpleCallArgument(node.property, depth);
  }
  if (node.type === "UnaryExpression" && simpleCallArgumentUnaryOperators.has(node.operator) || node.type === "UpdateExpression") {
    return isSimpleCallArgument(node.argument, depth);
  }
  return false;
}
function identity(x) {
  return x;
}
function shouldPrintComma(options2, level = "es5") {
  return options2.trailingComma === "es5" && level === "es5" || options2.trailingComma === "all" && (level === "all" || level === "es5");
}
function startsWithNoLookaheadToken(node, predicate) {
  switch (node.type) {
    case "BinaryExpression":
    case "LogicalExpression":
    case "AssignmentExpression":
    case "NGPipeExpression":
      return startsWithNoLookaheadToken(node.left, predicate);
    case "MemberExpression":
    case "OptionalMemberExpression":
      return startsWithNoLookaheadToken(node.object, predicate);
    case "TaggedTemplateExpression":
      if (node.tag.type === "FunctionExpression") {
        return false;
      }
      return startsWithNoLookaheadToken(node.tag, predicate);
    case "CallExpression":
    case "OptionalCallExpression":
      if (node.callee.type === "FunctionExpression") {
        return false;
      }
      return startsWithNoLookaheadToken(node.callee, predicate);
    case "ConditionalExpression":
      return startsWithNoLookaheadToken(node.test, predicate);
    case "UpdateExpression":
      return !node.prefix && startsWithNoLookaheadToken(node.argument, predicate);
    case "BindExpression":
      return node.object && startsWithNoLookaheadToken(node.object, predicate);
    case "SequenceExpression":
      return startsWithNoLookaheadToken(node.expressions[0], predicate);
    case "ChainExpression":
    case "TSSatisfiesExpression":
    case "TSAsExpression":
    case "TSNonNullExpression":
    case "AsExpression":
    case "AsConstExpression":
    case "SatisfiesExpression":
      return startsWithNoLookaheadToken(node.expression, predicate);
    default:
      return predicate(node);
  }
}
var equalityOperators = {
  "==": true,
  "!=": true,
  "===": true,
  "!==": true
};
var multiplicativeOperators = {
  "*": true,
  "/": true,
  "%": true
};
var bitshiftOperators = {
  ">>": true,
  ">>>": true,
  "<<": true
};
function shouldFlatten(parentOp, nodeOp) {
  if (getPrecedence(nodeOp) !== getPrecedence(parentOp)) {
    return false;
  }
  if (parentOp === "**") {
    return false;
  }
  if (equalityOperators[parentOp] && equalityOperators[nodeOp]) {
    return false;
  }
  if (nodeOp === "%" && multiplicativeOperators[parentOp] || parentOp === "%" && multiplicativeOperators[nodeOp]) {
    return false;
  }
  if (nodeOp !== parentOp && multiplicativeOperators[nodeOp] && multiplicativeOperators[parentOp]) {
    return false;
  }
  if (bitshiftOperators[parentOp] && bitshiftOperators[nodeOp]) {
    return false;
  }
  return true;
}
var PRECEDENCE = new Map(
  [
    ["|>"],
    ["??"],
    ["||"],
    ["&&"],
    ["|"],
    ["^"],
    ["&"],
    ["==", "===", "!=", "!=="],
    ["<", ">", "<=", ">=", "in", "instanceof"],
    [">>", "<<", ">>>"],
    ["+", "-"],
    ["*", "/", "%"],
    ["**"]
  ].flatMap(
    (operators, index) => operators.map((operator) => [operator, index])
  )
);
function getPrecedence(operator) {
  return PRECEDENCE.get(operator);
}
function isBitwiseOperator(operator) {
  return Boolean(bitshiftOperators[operator]) || operator === "|" || operator === "^" || operator === "&";
}
function hasRestParameter(node) {
  var _a;
  if (node.rest) {
    return true;
  }
  const parameters = getFunctionParameters(node);
  return ((_a = at_default(
    /* isOptionalObject */
    false,
    parameters,
    -1
  )) == null ? void 0 : _a.type) === "RestElement";
}
var functionParametersCache = /* @__PURE__ */ new WeakMap();
function getFunctionParameters(node) {
  if (functionParametersCache.has(node)) {
    return functionParametersCache.get(node);
  }
  const parameters = [];
  if (node.this) {
    parameters.push(node.this);
  }
  if (Array.isArray(node.parameters)) {
    parameters.push(...node.parameters);
  } else if (Array.isArray(node.params)) {
    parameters.push(...node.params);
  }
  if (node.rest) {
    parameters.push(node.rest);
  }
  functionParametersCache.set(node, parameters);
  return parameters;
}
function iterateFunctionParametersPath(path, iteratee) {
  const { node } = path;
  let index = 0;
  const callback = (childPath) => iteratee(childPath, index++);
  if (node.this) {
    path.call(callback, "this");
  }
  if (Array.isArray(node.parameters)) {
    path.each(callback, "parameters");
  } else if (Array.isArray(node.params)) {
    path.each(callback, "params");
  }
  if (node.rest) {
    path.call(callback, "rest");
  }
}
var callArgumentsCache = /* @__PURE__ */ new WeakMap();
function getCallArguments(node) {
  if (callArgumentsCache.has(node)) {
    return callArgumentsCache.get(node);
  }
  if (node.type === "ChainExpression") {
    return getCallArguments(node.expression);
  }
  let args = node.arguments;
  if (node.type === "ImportExpression" || node.type === "TSImportType") {
    args = [node.type === "ImportExpression" ? node.source : node.argument];
    if (node.options) {
      args.push(node.options);
    }
  }
  callArgumentsCache.set(node, args);
  return args;
}
function iterateCallArgumentsPath(path, iteratee) {
  const { node } = path;
  if (node.type === "ChainExpression") {
    return path.call(
      () => iterateCallArgumentsPath(path, iteratee),
      "expression"
    );
  }
  if (node.type === "ImportExpression" || node.type === "TSImportType") {
    path.call(
      (sourcePath) => iteratee(sourcePath, 0),
      node.type === "ImportExpression" ? "source" : "argument"
    );
    if (node.options) {
      path.call((sourcePath) => iteratee(sourcePath, 1), "options");
    }
  } else {
    path.each(iteratee, "arguments");
  }
}
function getCallArgumentSelector(node, index) {
  const selectors = [];
  if (node.type === "ChainExpression") {
    node = node.expression;
    selectors.push("expression");
  }
  if (node.type === "ImportExpression" || node.type === "TSImportType") {
    if (index === 0 || index === (node.options ? -2 : -1)) {
      return [
        ...selectors,
        node.type === "ImportExpression" ? "source" : "argument"
      ];
    }
    if (node.options && (index === 1 || index === -1)) {
      return [...selectors, "options"];
    }
    throw new RangeError("Invalid argument index");
  }
  if (index < 0) {
    index = node.arguments.length + index;
  }
  if (index < 0 || index >= node.arguments.length) {
    throw new RangeError("Invalid argument index");
  }
  return [...selectors, "arguments", index];
}
function isPrettierIgnoreComment(comment) {
  return comment.value.trim() === "prettier-ignore" && !comment.unignore;
}
function hasNodeIgnoreComment(node) {
  return (node == null ? void 0 : node.prettierIgnore) || hasComment(node, CommentCheckFlags.PrettierIgnore);
}
var CommentCheckFlags = {
  /** Check comment is a leading comment */
  Leading: 1 << 1,
  /** Check comment is a trailing comment */
  Trailing: 1 << 2,
  /** Check comment is a dangling comment */
  Dangling: 1 << 3,
  /** Check comment is a block comment */
  Block: 1 << 4,
  /** Check comment is a line comment */
  Line: 1 << 5,
  /** Check comment is a `prettier-ignore` comment */
  PrettierIgnore: 1 << 6,
  /** Check comment is the first attached comment */
  First: 1 << 7,
  /** Check comment is the last attached comment */
  Last: 1 << 8
};
var getCommentTestFunction = (flags, fn) => {
  if (typeof flags === "function") {
    fn = flags;
    flags = 0;
  }
  if (flags || fn) {
    return (comment, index, comments) => !(flags & CommentCheckFlags.Leading && !comment.leading || flags & CommentCheckFlags.Trailing && !comment.trailing || flags & CommentCheckFlags.Dangling && (comment.leading || comment.trailing) || flags & CommentCheckFlags.Block && !is_block_comment_default(comment) || flags & CommentCheckFlags.Line && !is_line_comment_default(comment) || flags & CommentCheckFlags.First && index !== 0 || flags & CommentCheckFlags.Last && index !== comments.length - 1 || flags & CommentCheckFlags.PrettierIgnore && !isPrettierIgnoreComment(comment) || fn && !fn(comment));
  }
};
function hasComment(node, flags, fn) {
  if (!is_non_empty_array_default(node == null ? void 0 : node.comments)) {
    return false;
  }
  const test = getCommentTestFunction(flags, fn);
  return test ? node.comments.some(test) : true;
}
function getComments(node, flags, fn) {
  if (!Array.isArray(node == null ? void 0 : node.comments)) {
    return [];
  }
  const test = getCommentTestFunction(flags, fn);
  return test ? node.comments.filter(test) : node.comments;
}
var isNextLineEmpty2 = (node, { originalText }) => is_next_line_empty_default(originalText, locEnd(node));
function isCallLikeExpression(node) {
  return isCallExpression(node) || node.type === "NewExpression" || node.type === "ImportExpression";
}
function isObjectProperty(node) {
  return node && (node.type === "ObjectProperty" || node.type === "Property" && !isMethod(node));
}
var isBinaryCastExpression = create_type_check_function_default([
  // TS
  "TSAsExpression",
  "TSSatisfiesExpression",
  // Flow
  "AsExpression",
  "AsConstExpression",
  "SatisfiesExpression"
]);
var isUnionType = create_type_check_function_default([
  "TSUnionType",
  "UnionTypeAnnotation"
]);
var isIntersectionType = create_type_check_function_default([
  "TSIntersectionType",
  "IntersectionTypeAnnotation"
]);
var isConditionalType = create_type_check_function_default([
  "TSConditionalType",
  "ConditionalTypeAnnotation"
]);
 
// src/language-js/clean.js
var ignoredProperties = /* @__PURE__ */ new Set([
  "range",
  "raw",
  "comments",
  "leadingComments",
  "trailingComments",
  "innerComments",
  "extra",
  "start",
  "end",
  "loc",
  "flags",
  "errors",
  "tokens"
]);
var removeTemplateElementsValue = (node) => {
  for (const templateElement of node.quasis) {
    delete templateElement.value;
  }
};
function clean(original, cloned) {
  var _a;
  if (original.type === "Program") {
    delete cloned.sourceType;
  }
  if ((original.type === "BigIntLiteral" || original.type === "BigIntLiteralTypeAnnotation") && original.value) {
    cloned.value = original.value.toLowerCase();
  }
  if ((original.type === "BigIntLiteral" || original.type === "Literal") && original.bigint) {
    cloned.bigint = original.bigint.toLowerCase();
  }
  if (original.type === "EmptyStatement") {
    return null;
  }
  if (original.type === "JSXText") {
    return null;
  }
  if (original.type === "JSXExpressionContainer" && (original.expression.type === "Literal" || original.expression.type === "StringLiteral") && original.expression.value === " ") {
    return null;
  }
  if ((original.type === "Property" || original.type === "ObjectProperty" || original.type === "MethodDefinition" || original.type === "ClassProperty" || original.type === "ClassMethod" || original.type === "PropertyDefinition" || original.type === "TSDeclareMethod" || original.type === "TSPropertySignature" || original.type === "ObjectTypeProperty" || original.type === "ImportAttribute") && original.key && !original.computed) {
    const { key } = original;
    if (isStringLiteral(key) || isNumericLiteral(key)) {
      cloned.key = String(key.value);
    } else if (key.type === "Identifier") {
      cloned.key = key.name;
    }
  }
  if (original.type === "JSXElement" && original.openingElement.name.name === "style" && original.openingElement.attributes.some(
    (attr) => attr.type === "JSXAttribute" && attr.name.name === "jsx"
  )) {
    for (const { type, expression: expression2 } of cloned.children) {
      if (type === "JSXExpressionContainer" && expression2.type === "TemplateLiteral") {
        removeTemplateElementsValue(expression2);
      }
    }
  }
  if (original.type === "JSXAttribute" && original.name.name === "css" && original.value.type === "JSXExpressionContainer" && original.value.expression.type === "TemplateLiteral") {
    removeTemplateElementsValue(cloned.value.expression);
  }
  if (original.type === "JSXAttribute" && ((_a = original.value) == null ? void 0 : _a.type) === "Literal" && /["']|&quot;|&apos;/u.test(original.value.value)) {
    cloned.value.value = string_replace_all_default(
      /* isOptionalObject */
      false,
      original.value.value,
      /["']|&quot;|&apos;/gu,
      '"'
    );
  }
  const expression = original.expression || original.callee;
  if (original.type === "Decorator" && expression.type === "CallExpression" && expression.callee.name === "Component" && expression.arguments.length === 1) {
    const astProps = original.expression.arguments[0].properties;
    for (const [
      index,
      prop
    ] of cloned.expression.arguments[0].properties.entries()) {
      switch (astProps[index].key.name) {
        case "styles":
          if (isArrayExpression(prop.value)) {
            removeTemplateElementsValue(prop.value.elements[0]);
          }
          break;
        case "template":
          if (prop.value.type === "TemplateLiteral") {
            removeTemplateElementsValue(prop.value);
          }
          break;
      }
    }
  }
  if (original.type === "TaggedTemplateExpression" && (original.tag.type === "MemberExpression" || original.tag.type === "Identifier" && (original.tag.name === "gql" || original.tag.name === "graphql" || original.tag.name === "css" || original.tag.name === "md" || original.tag.name === "markdown" || original.tag.name === "html") || original.tag.type === "CallExpression")) {
    removeTemplateElementsValue(cloned.quasi);
  }
  if (original.type === "TemplateLiteral") {
    removeTemplateElementsValue(cloned);
  }
  if (original.type === "ChainExpression" && original.expression.type === "TSNonNullExpression") {
    cloned.type = "TSNonNullExpression";
    cloned.expression.type = "ChainExpression";
  }
}
clean.ignoredProperties = ignoredProperties;
var clean_default = clean;
 
// src/document/constants.js
var DOC_TYPE_STRING = "string";
var DOC_TYPE_ARRAY = "array";
var DOC_TYPE_CURSOR = "cursor";
var DOC_TYPE_INDENT = "indent";
var DOC_TYPE_ALIGN = "align";
var DOC_TYPE_TRIM = "trim";
var DOC_TYPE_GROUP = "group";
var DOC_TYPE_FILL = "fill";
var DOC_TYPE_IF_BREAK = "if-break";
var DOC_TYPE_INDENT_IF_BREAK = "indent-if-break";
var DOC_TYPE_LINE_SUFFIX = "line-suffix";
var DOC_TYPE_LINE_SUFFIX_BOUNDARY = "line-suffix-boundary";
var DOC_TYPE_LINE = "line";
var DOC_TYPE_LABEL = "label";
var DOC_TYPE_BREAK_PARENT = "break-parent";
var VALID_OBJECT_DOC_TYPES = /* @__PURE__ */ new Set([
  DOC_TYPE_CURSOR,
  DOC_TYPE_INDENT,
  DOC_TYPE_ALIGN,
  DOC_TYPE_TRIM,
  DOC_TYPE_GROUP,
  DOC_TYPE_FILL,
  DOC_TYPE_IF_BREAK,
  DOC_TYPE_INDENT_IF_BREAK,
  DOC_TYPE_LINE_SUFFIX,
  DOC_TYPE_LINE_SUFFIX_BOUNDARY,
  DOC_TYPE_LINE,
  DOC_TYPE_LABEL,
  DOC_TYPE_BREAK_PARENT
]);
 
// src/document/utils/get-doc-type.js
function getDocType(doc) {
  if (typeof doc === "string") {
    return DOC_TYPE_STRING;
  }
  if (Array.isArray(doc)) {
    return DOC_TYPE_ARRAY;
  }
  if (!doc) {
    return;
  }
  const { type } = doc;
  if (VALID_OBJECT_DOC_TYPES.has(type)) {
    return type;
  }
}
var get_doc_type_default = getDocType;
 
// src/document/invalid-doc-error.js
var disjunctionListFormat = (list) => new Intl.ListFormat("en-US", { type: "disjunction" }).format(list);
function getDocErrorMessage(doc) {
  const type = doc === null ? "null" : typeof doc;
  if (type !== "string" && type !== "object") {
    return `Unexpected doc '${type}', 
Expected it to be 'string' or 'object'.`;
  }
  if (get_doc_type_default(doc)) {
    throw new Error("doc is valid.");
  }
  const objectType = Object.prototype.toString.call(doc);
  if (objectType !== "[object Object]") {
    return `Unexpected doc '${objectType}'.`;
  }
  const EXPECTED_TYPE_VALUES = disjunctionListFormat(
    [...VALID_OBJECT_DOC_TYPES].map((type2) => `'${type2}'`)
  );
  return `Unexpected doc.type '${doc.type}'.
Expected it to be ${EXPECTED_TYPE_VALUES}.`;
}
var InvalidDocError = class extends Error {
  name = "InvalidDocError";
  constructor(doc) {
    super(getDocErrorMessage(doc));
    this.doc = doc;
  }
};
var invalid_doc_error_default = InvalidDocError;
 
// src/document/utils/traverse-doc.js
var traverseDocOnExitStackMarker = {};
function traverseDoc(doc, onEnter, onExit, shouldTraverseConditionalGroups) {
  const docsStack = [doc];
  while (docsStack.length > 0) {
    const doc2 = docsStack.pop();
    if (doc2 === traverseDocOnExitStackMarker) {
      onExit(docsStack.pop());
      continue;
    }
    if (onExit) {
      docsStack.push(doc2, traverseDocOnExitStackMarker);
    }
    const docType = get_doc_type_default(doc2);
    if (!docType) {
      throw new invalid_doc_error_default(doc2);
    }
    if ((onEnter == null ? void 0 : onEnter(doc2)) === false) {
      continue;
    }
    switch (docType) {
      case DOC_TYPE_ARRAY:
      case DOC_TYPE_FILL: {
        const parts = docType === DOC_TYPE_ARRAY ? doc2 : doc2.parts;
        for (let ic = parts.length, i = ic - 1; i >= 0; --i) {
          docsStack.push(parts[i]);
        }
        break;
      }
      case DOC_TYPE_IF_BREAK:
        docsStack.push(doc2.flatContents, doc2.breakContents);
        break;
      case DOC_TYPE_GROUP:
        if (shouldTraverseConditionalGroups && doc2.expandedStates) {
          for (let ic = doc2.expandedStates.length, i = ic - 1; i >= 0; --i) {
            docsStack.push(doc2.expandedStates[i]);
          }
        } else {
          docsStack.push(doc2.contents);
        }
        break;
      case DOC_TYPE_ALIGN:
      case DOC_TYPE_INDENT:
      case DOC_TYPE_INDENT_IF_BREAK:
      case DOC_TYPE_LABEL:
      case DOC_TYPE_LINE_SUFFIX:
        docsStack.push(doc2.contents);
        break;
      case DOC_TYPE_STRING:
      case DOC_TYPE_CURSOR:
      case DOC_TYPE_TRIM:
      case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
      case DOC_TYPE_LINE:
      case DOC_TYPE_BREAK_PARENT:
        break;
      default:
        throw new invalid_doc_error_default(doc2);
    }
  }
}
var traverse_doc_default = traverseDoc;
 
// src/document/utils.js
function mapDoc(doc, cb) {
  if (typeof doc === "string") {
    return cb(doc);
  }
  const mapped = /* @__PURE__ */ new Map();
  return rec(doc);
  function rec(doc2) {
    if (mapped.has(doc2)) {
      return mapped.get(doc2);
    }
    const result = process2(doc2);
    mapped.set(doc2, result);
    return result;
  }
  function process2(doc2) {
    switch (get_doc_type_default(doc2)) {
      case DOC_TYPE_ARRAY:
        return cb(doc2.map(rec));
      case DOC_TYPE_FILL:
        return cb({ ...doc2, parts: doc2.parts.map(rec) });
      case DOC_TYPE_IF_BREAK:
        return cb({
          ...doc2,
          breakContents: rec(doc2.breakContents),
          flatContents: rec(doc2.flatContents)
        });
      case DOC_TYPE_GROUP: {
        let { expandedStates, contents } = doc2;
        if (expandedStates) {
          expandedStates = expandedStates.map(rec);
          contents = expandedStates[0];
        } else {
          contents = rec(contents);
        }
        return cb({ ...doc2, contents, expandedStates });
      }
      case DOC_TYPE_ALIGN:
      case DOC_TYPE_INDENT:
      case DOC_TYPE_INDENT_IF_BREAK:
      case DOC_TYPE_LABEL:
      case DOC_TYPE_LINE_SUFFIX:
        return cb({ ...doc2, contents: rec(doc2.contents) });
      case DOC_TYPE_STRING:
      case DOC_TYPE_CURSOR:
      case DOC_TYPE_TRIM:
      case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
      case DOC_TYPE_LINE:
      case DOC_TYPE_BREAK_PARENT:
        return cb(doc2);
      default:
        throw new invalid_doc_error_default(doc2);
    }
  }
}
function findInDoc(doc, fn, defaultValue) {
  let result = defaultValue;
  let shouldSkipFurtherProcessing = false;
  function findInDocOnEnterFn(doc2) {
    if (shouldSkipFurtherProcessing) {
      return false;
    }
    const maybeResult = fn(doc2);
    if (maybeResult !== void 0) {
      shouldSkipFurtherProcessing = true;
      result = maybeResult;
    }
  }
  traverse_doc_default(doc, findInDocOnEnterFn);
  return result;
}
function willBreakFn(doc) {
  if (doc.type === DOC_TYPE_GROUP && doc.break) {
    return true;
  }
  if (doc.type === DOC_TYPE_LINE && doc.hard) {
    return true;
  }
  if (doc.type === DOC_TYPE_BREAK_PARENT) {
    return true;
  }
}
function willBreak(doc) {
  return findInDoc(doc, willBreakFn, false);
}
function breakParentGroup(groupStack) {
  if (groupStack.length > 0) {
    const parentGroup = at_default(
      /* isOptionalObject */
      false,
      groupStack,
      -1
    );
    if (!parentGroup.expandedStates && !parentGroup.break) {
      parentGroup.break = "propagated";
    }
  }
  return null;
}
function propagateBreaks(doc) {
  const alreadyVisitedSet = /* @__PURE__ */ new Set();
  const groupStack = [];
  function propagateBreaksOnEnterFn(doc2) {
    if (doc2.type === DOC_TYPE_BREAK_PARENT) {
      breakParentGroup(groupStack);
    }
    if (doc2.type === DOC_TYPE_GROUP) {
      groupStack.push(doc2);
      if (alreadyVisitedSet.has(doc2)) {
        return false;
      }
      alreadyVisitedSet.add(doc2);
    }
  }
  function propagateBreaksOnExitFn(doc2) {
    if (doc2.type === DOC_TYPE_GROUP) {
      const group2 = groupStack.pop();
      if (group2.break) {
        breakParentGroup(groupStack);
      }
    }
  }
  traverse_doc_default(
    doc,
    propagateBreaksOnEnterFn,
    propagateBreaksOnExitFn,
    /* shouldTraverseConditionalGroups */
    true
  );
}
function removeLinesFn(doc) {
  if (doc.type === DOC_TYPE_LINE && !doc.hard) {
    return doc.soft ? "" : " ";
  }
  if (doc.type === DOC_TYPE_IF_BREAK) {
    return doc.flatContents;
  }
  return doc;
}
function removeLines(doc) {
  return mapDoc(doc, removeLinesFn);
}
function cleanDocFn(doc) {
  switch (get_doc_type_default(doc)) {
    case DOC_TYPE_FILL:
      if (doc.parts.every((part) => part === "")) {
        return "";
      }
      break;
    case DOC_TYPE_GROUP:
      if (!doc.contents && !doc.id && !doc.break && !doc.expandedStates) {
        return "";
      }
      if (doc.contents.type === DOC_TYPE_GROUP && doc.contents.id === doc.id && doc.contents.break === doc.break && doc.contents.expandedStates === doc.expandedStates) {
        return doc.contents;
      }
      break;
    case DOC_TYPE_ALIGN:
    case DOC_TYPE_INDENT:
    case DOC_TYPE_INDENT_IF_BREAK:
    case DOC_TYPE_LINE_SUFFIX:
      if (!doc.contents) {
        return "";
      }
      break;
    case DOC_TYPE_IF_BREAK:
      if (!doc.flatContents && !doc.breakContents) {
        return "";
      }
      break;
    case DOC_TYPE_ARRAY: {
      const parts = [];
      for (const part of doc) {
        if (!part) {
          continue;
        }
        const [currentPart, ...restParts] = Array.isArray(part) ? part : [part];
        if (typeof currentPart === "string" && typeof at_default(
          /* isOptionalObject */
          false,
          parts,
          -1
        ) === "string") {
          parts[parts.length - 1] += currentPart;
        } else {
          parts.push(currentPart);
        }
        parts.push(...restParts);
      }
      if (parts.length === 0) {
        return "";
      }
      if (parts.length === 1) {
        return parts[0];
      }
      return parts;
    }
    case DOC_TYPE_STRING:
    case DOC_TYPE_CURSOR:
    case DOC_TYPE_TRIM:
    case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
    case DOC_TYPE_LINE:
    case DOC_TYPE_LABEL:
    case DOC_TYPE_BREAK_PARENT:
      break;
    default:
      throw new invalid_doc_error_default(doc);
  }
  return doc;
}
function cleanDoc(doc) {
  return mapDoc(doc, (currentDoc) => cleanDocFn(currentDoc));
}
function replaceEndOfLine(doc, replacement = literalline) {
  return mapDoc(
    doc,
    (currentDoc) => typeof currentDoc === "string" ? join(replacement, currentDoc.split("\n")) : currentDoc
  );
}
function canBreakFn(doc) {
  if (doc.type === DOC_TYPE_LINE) {
    return true;
  }
}
function canBreak(doc) {
  return findInDoc(doc, canBreakFn, false);
}
function inheritLabel(doc, fn) {
  return doc.type === DOC_TYPE_LABEL ? { ...doc, contents: fn(doc.contents) } : fn(doc);
}
function isEmptyDoc(doc) {
  let isEmpty = true;
  traverse_doc_default(doc, (doc2) => {
    switch (get_doc_type_default(doc2)) {
      case DOC_TYPE_STRING:
        if (doc2 === "") {
          break;
        }
      // fallthrough
      case DOC_TYPE_TRIM:
      case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
      case DOC_TYPE_LINE:
      case DOC_TYPE_BREAK_PARENT:
        isEmpty = false;
        return false;
    }
  });
  return isEmpty;
}
 
// src/document/utils/assert-doc.js
var noop = () => {
};
var assertDoc = true ? noop : function(doc) {
  traverse_doc_default(doc, (doc2) => {
    if (checked.has(doc2)) {
      return false;
    }
    if (typeof doc2 !== "string") {
      checked.add(doc2);
    }
  });
};
var assertDocArray = true ? noop : function(docs, optional = false) {
  if (optional && !docs) {
    return;
  }
  if (!Array.isArray(docs)) {
    throw new TypeError("Unexpected doc array.");
  }
  for (const doc of docs) {
    assertDoc(doc);
  }
};
var assertDocFillParts = true ? noop : (
  /**
   * @param {Doc[]} parts
   */
  function(parts) {
    assertDocArray(parts);
    if (parts.length > 1 && isEmptyDoc(at_default(
      /* isOptionalObject */
      false,
      parts,
      -1
    ))) {
      parts = parts.slice(0, -1);
    }
    for (const [i, doc] of parts.entries()) {
      if (i % 2 === 1 && !isValidSeparator(doc)) {
        const type = get_doc_type_default(doc);
        throw new Error(
          `Unexpected non-line-break doc at ${i}. Doc type is ${type}.`
        );
      }
    }
  }
);
 
// src/document/builders.js
function indent(contents) {
  assertDoc(contents);
  return { type: DOC_TYPE_INDENT, contents };
}
function align(widthOrString, contents) {
  assertDoc(contents);
  return { type: DOC_TYPE_ALIGN, contents, n: widthOrString };
}
function group(contents, opts = {}) {
  assertDoc(contents);
  assertDocArray(
    opts.expandedStates,
    /* optional */
    true
  );
  return {
    type: DOC_TYPE_GROUP,
    id: opts.id,
    contents,
    break: Boolean(opts.shouldBreak),
    expandedStates: opts.expandedStates
  };
}
function dedentToRoot(contents) {
  return align(Number.NEGATIVE_INFINITY, contents);
}
function dedent(contents) {
  return align(-1, contents);
}
function conditionalGroup(states, opts) {
  return group(states[0], { ...opts, expandedStates: states });
}
function fill(parts) {
  assertDocFillParts(parts);
  return { type: DOC_TYPE_FILL, parts };
}
function ifBreak(breakContents, flatContents = "", opts = {}) {
  assertDoc(breakContents);
  if (flatContents !== "") {
    assertDoc(flatContents);
  }
  return {
    type: DOC_TYPE_IF_BREAK,
    breakContents,
    flatContents,
    groupId: opts.groupId
  };
}
function indentIfBreak(contents, opts) {
  assertDoc(contents);
  return {
    type: DOC_TYPE_INDENT_IF_BREAK,
    contents,
    groupId: opts.groupId,
    negate: opts.negate
  };
}
function lineSuffix(contents) {
  assertDoc(contents);
  return { type: DOC_TYPE_LINE_SUFFIX, contents };
}
var lineSuffixBoundary = { type: DOC_TYPE_LINE_SUFFIX_BOUNDARY };
var breakParent = { type: DOC_TYPE_BREAK_PARENT };
var hardlineWithoutBreakParent = { type: DOC_TYPE_LINE, hard: true };
var literallineWithoutBreakParent = {
  type: DOC_TYPE_LINE,
  hard: true,
  literal: true
};
var line = { type: DOC_TYPE_LINE };
var softline = { type: DOC_TYPE_LINE, soft: true };
var hardline = [hardlineWithoutBreakParent, breakParent];
var literalline = [literallineWithoutBreakParent, breakParent];
var cursor = { type: DOC_TYPE_CURSOR };
function join(separator, docs) {
  assertDoc(separator);
  assertDocArray(docs);
  const parts = [];
  for (let i = 0; i < docs.length; i++) {
    if (i !== 0) {
      parts.push(separator);
    }
    parts.push(docs[i]);
  }
  return parts;
}
function addAlignmentToDoc(doc, size, tabWidth) {
  assertDoc(doc);
  let aligned = doc;
  if (size > 0) {
    for (let i = 0; i < Math.floor(size / tabWidth); ++i) {
      aligned = indent(aligned);
    }
    aligned = align(size % tabWidth, aligned);
    aligned = align(Number.NEGATIVE_INFINITY, aligned);
  }
  return aligned;
}
function label(label2, contents) {
  assertDoc(contents);
  return label2 ? { type: DOC_TYPE_LABEL, label: label2, contents } : contents;
}
 
// src/language-js/utils/is-indentable-block-comment.js
function isIndentableBlockCommentInternal(comment) {
  if (!is_block_comment_default(comment)) {
    return false;
  }
  const lines = `*${comment.value}*`.split("\n");
  return lines.length > 1 && lines.every((line2) => line2.trimStart()[0] === "*");
}
var cache = /* @__PURE__ */ new WeakMap();
function isIndentableBlockComment(comment) {
  if (!cache.has(comment)) {
    cache.set(comment, isIndentableBlockCommentInternal(comment));
  }
  return cache.get(comment);
}
var is_indentable_block_comment_default = isIndentableBlockComment;
 
// src/language-js/print/comment.js
function printComment(commentPath, options2) {
  const comment = commentPath.node;
  if (is_line_comment_default(comment)) {
    return options2.originalText.slice(locStart(comment), locEnd(comment)).trimEnd();
  }
  if (is_indentable_block_comment_default(comment)) {
    return printIndentableBlockComment(comment);
  }
  if (is_block_comment_default(comment)) {
    return ["/*", replaceEndOfLine(comment.value), "*/"];
  }
  throw new Error("Not a comment: " + JSON.stringify(comment));
}
function printIndentableBlockComment(comment) {
  const lines = comment.value.split("\n");
  return [
    "/*",
    join(
      hardline,
      lines.map(
        (line2, index) => index === 0 ? line2.trimEnd() : " " + (index < lines.length - 1 ? line2.trim() : line2.trimStart())
      )
    ),
    "*/"
  ];
}
 
// src/language-js/comments/handle-comments.js
var handle_comments_exports = {};
__export(handle_comments_exports, {
  endOfLine: () => handleEndOfLineComment,
  ownLine: () => handleOwnLineComment,
  remaining: () => handleRemainingComment
});
 
// src/main/comments/utils.js
function describeNodeForDebugging(node) {
  const nodeType = node.type || node.kind || "(unknown type)";
  let nodeName = String(
    node.name || node.id && (typeof node.id === "object" ? node.id.name : node.id) || node.key && (typeof node.key === "object" ? node.key.name : node.key) || node.value && (typeof node.value === "object" ? "" : String(node.value)) || node.operator || ""
  );
  if (nodeName.length > 20) {
    nodeName = nodeName.slice(0, 19) + "\u2026";
  }
  return nodeType + (nodeName ? " " + nodeName : "");
}
function addCommentHelper(node, comment) {
  const comments = node.comments ?? (node.comments = []);
  comments.push(comment);
  comment.printed = false;
  comment.nodeDescription = describeNodeForDebugging(node);
}
function addLeadingComment(node, comment) {
  comment.leading = true;
  comment.trailing = false;
  addCommentHelper(node, comment);
}
function addDanglingComment(node, comment, marker) {
  comment.leading = false;
  comment.trailing = false;
  if (marker) {
    comment.marker = marker;
  }
  addCommentHelper(node, comment);
}
function addTrailingComment(node, comment) {
  comment.leading = false;
  comment.trailing = true;
  addCommentHelper(node, comment);
}
 
// src/utils/get-next-non-space-non-comment-character-index.js
function getNextNonSpaceNonCommentCharacterIndex(text, startIndex) {
  let oldIdx = null;
  let nextIdx = startIndex;
  while (nextIdx !== oldIdx) {
    oldIdx = nextIdx;
    nextIdx = skipSpaces(text, nextIdx);
    nextIdx = skip_inline_comment_default(text, nextIdx);
    nextIdx = skip_trailing_comment_default(text, nextIdx);
    nextIdx = skip_newline_default(text, nextIdx);
  }
  return nextIdx;
}
var get_next_non_space_non_comment_character_index_default = getNextNonSpaceNonCommentCharacterIndex;
 
// src/utils/get-next-non-space-non-comment-character.js
function getNextNonSpaceNonCommentCharacter(text, startIndex) {
  const index = get_next_non_space_non_comment_character_index_default(text, startIndex);
  return index === false ? "" : text.charAt(index);
}
var get_next_non_space_non_comment_character_default = getNextNonSpaceNonCommentCharacter;
 
// src/utils/has-newline-in-range.js
function hasNewlineInRange(text, startIndex, endIndex) {
  for (let i = startIndex; i < endIndex; ++i) {
    if (text.charAt(i) === "\n") {
      return true;
    }
  }
  return false;
}
var has_newline_in_range_default = hasNewlineInRange;
 
// src/language-js/utils/is-type-cast-comment.js
var cache2 = /* @__PURE__ */ new WeakMap();
function isTypeCastComment(comment) {
  if (!cache2.has(comment)) {
    cache2.set(
      comment,
      is_block_comment_default(comment) && comment.value[0] === "*" && // TypeScript expects the type to be enclosed in curly brackets, however
      // Closure Compiler accepts types in parens and even without any delimiters at all.
      // That's why we just search for "@type" and "@satisfies".
      /@(?:type|satisfies)\b/u.test(comment.value)
    );
  }
  return cache2.get(comment);
}
var is_type_cast_comment_default = isTypeCastComment;
 
// src/language-js/comments/handle-comments.js
var isSingleLineComment = (comment, text) => is_line_comment_default(comment) || !has_newline_in_range_default(text, locStart(comment), locEnd(comment));
function handleOwnLineComment(context) {
  return [
    handleIgnoreComments,
    handleConditionalExpressionComments,
    handleLastFunctionArgComments,
    handleLastComponentArgComments,
    handleMemberExpressionComments,
    handleIfStatementComments,
    handleWhileComments,
    handleTryStatementComments,
    handleClassComments,
    handleForComments,
    handleUnionTypeComments,
    handleOnlyComments,
    handleModuleSpecifiersComments,
    handleAssignmentPatternComments,
    handleMethodNameComments,
    handleLabeledStatementComments,
    handleBreakAndContinueStatementComments,
    handleNestedConditionalExpressionComments,
    handleCommentsInDestructuringPattern,
    handleTSMappedTypeComments
  ].some((fn) => fn(context));
}
function handleEndOfLineComment(context) {
  return [
    handleClosureTypeCastComments,
    handleLastFunctionArgComments,
    handleConditionalExpressionComments,
    handleModuleSpecifiersComments,
    handleIfStatementComments,
    handleWhileComments,
    handleTryStatementComments,
    handleClassComments,
    handleLabeledStatementComments,
    handleCallExpressionComments,
    handlePropertyComments,
    handleOnlyComments,
    handleVariableDeclaratorComments,
    handleBreakAndContinueStatementComments,
    handleSwitchDefaultCaseComments,
    handleLastUnionElementInExpression,
    handleLastBinaryOperatorOperand,
    handleTSMappedTypeComments
  ].some((fn) => fn(context));
}
function handleRemainingComment(context) {
  return [
    handleIgnoreComments,
    handleIfStatementComments,
    handleWhileComments,
    handleObjectPropertyAssignment,
    handleCommentInEmptyParens,
    handleMethodNameComments,
    handleOnlyComments,
    handleCommentAfterArrowParams,
    handleFunctionNameComments,
    handleBreakAndContinueStatementComments,
    handleTSFunctionTrailingComments
  ].some((fn) => fn(context));
}
function addBlockStatementFirstComment(node, comment) {
  const firstNonEmptyNode = (node.body || node.properties).find(
    ({ type }) => type !== "EmptyStatement"
  );
  if (firstNonEmptyNode) {
    addLeadingComment(firstNonEmptyNode, comment);
  } else {
    addDanglingComment(node, comment);
  }
}
function addBlockOrNotComment(node, comment) {
  if (node.type === "BlockStatement") {
    addBlockStatementFirstComment(node, comment);
  } else {
    addLeadingComment(node, comment);
  }
}
function handleClosureTypeCastComments({ comment, followingNode }) {
  if (followingNode && is_type_cast_comment_default(comment)) {
    addLeadingComment(followingNode, comment);
    return true;
  }
  return false;
}
function handleIfStatementComments({
  comment,
  precedingNode,
  enclosingNode,
  followingNode,
  text
}) {
  if ((enclosingNode == null ? void 0 : enclosingNode.type) !== "IfStatement" || !followingNode) {
    return false;
  }
  const nextCharacter = get_next_non_space_non_comment_character_default(
    text,
    locEnd(comment)
  );
  if (nextCharacter === ")") {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  if (precedingNode === enclosingNode.consequent && followingNode === enclosingNode.alternate) {
    const maybeElseTokenIndex = get_next_non_space_non_comment_character_index_default(
      text,
      locEnd(enclosingNode.consequent)
    );
    if (locStart(comment) < maybeElseTokenIndex || enclosingNode.alternate.type === "BlockStatement") {
      if (precedingNode.type === "BlockStatement") {
        addTrailingComment(precedingNode, comment);
        return true;
      }
      if (isSingleLineComment(comment, text) && // Comment and `precedingNode` are on same line
      !has_newline_in_range_default(text, locStart(precedingNode), locStart(comment))) {
        addTrailingComment(precedingNode, comment);
        return true;
      }
      addDanglingComment(enclosingNode, comment);
      return true;
    }
  }
  if (followingNode.type === "BlockStatement") {
    addBlockStatementFirstComment(followingNode, comment);
    return true;
  }
  if (followingNode.type === "IfStatement") {
    addBlockOrNotComment(followingNode.consequent, comment);
    return true;
  }
  if (enclosingNode.consequent === followingNode) {
    addLeadingComment(followingNode, comment);
    return true;
  }
  return false;
}
function handleWhileComments({
  comment,
  precedingNode,
  enclosingNode,
  followingNode,
  text
}) {
  if ((enclosingNode == null ? void 0 : enclosingNode.type) !== "WhileStatement" || !followingNode) {
    return false;
  }
  const nextCharacter = get_next_non_space_non_comment_character_default(
    text,
    locEnd(comment)
  );
  if (nextCharacter === ")") {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  if (followingNode.type === "BlockStatement") {
    addBlockStatementFirstComment(followingNode, comment);
    return true;
  }
  if (enclosingNode.body === followingNode) {
    addLeadingComment(followingNode, comment);
    return true;
  }
  return false;
}
function handleTryStatementComments({
  comment,
  precedingNode,
  enclosingNode,
  followingNode
}) {
  if ((enclosingNode == null ? void 0 : enclosingNode.type) !== "TryStatement" && (enclosingNode == null ? void 0 : enclosingNode.type) !== "CatchClause" || !followingNode) {
    return false;
  }
  if (enclosingNode.type === "CatchClause" && precedingNode) {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  if (followingNode.type === "BlockStatement") {
    addBlockStatementFirstComment(followingNode, comment);
    return true;
  }
  if (followingNode.type === "TryStatement") {
    addBlockOrNotComment(followingNode.finalizer, comment);
    return true;
  }
  if (followingNode.type === "CatchClause") {
    addBlockOrNotComment(followingNode.body, comment);
    return true;
  }
  return false;
}
function handleMemberExpressionComments({
  comment,
  enclosingNode,
  followingNode
}) {
  if (isMemberExpression(enclosingNode) && (followingNode == null ? void 0 : followingNode.type) === "Identifier") {
    addLeadingComment(enclosingNode, comment);
    return true;
  }
  return false;
}
function handleNestedConditionalExpressionComments({
  comment,
  enclosingNode,
  followingNode,
  options: options2
}) {
  if (!options2.experimentalTernaries) {
    return false;
  }
  const enclosingIsCond = (enclosingNode == null ? void 0 : enclosingNode.type) === "ConditionalExpression" || isConditionalType(enclosingNode);
  if (!enclosingIsCond) {
    return false;
  }
  const followingIsCond = (followingNode == null ? void 0 : followingNode.type) === "ConditionalExpression" || isConditionalType(followingNode);
  if (followingIsCond) {
    addDanglingComment(enclosingNode, comment);
    return true;
  }
  return false;
}
function handleConditionalExpressionComments({
  comment,
  precedingNode,
  enclosingNode,
  followingNode,
  text,
  options: options2
}) {
  const isSameLineAsPrecedingNode = precedingNode && !has_newline_in_range_default(text, locEnd(precedingNode), locStart(comment));
  if ((!precedingNode || !isSameLineAsPrecedingNode) && ((enclosingNode == null ? void 0 : enclosingNode.type) === "ConditionalExpression" || isConditionalType(enclosingNode)) && followingNode) {
    if (options2.experimentalTernaries && enclosingNode.alternate === followingNode && !(is_block_comment_default(comment) && !has_newline_in_range_default(
      options2.originalText,
      locStart(comment),
      locEnd(comment)
    ))) {
      addDanglingComment(enclosingNode, comment);
      return true;
    }
    addLeadingComment(followingNode, comment);
    return true;
  }
  return false;
}
function handleObjectPropertyAssignment({
  comment,
  precedingNode,
  enclosingNode
}) {
  if (isObjectProperty(enclosingNode) && enclosingNode.shorthand && enclosingNode.key === precedingNode && enclosingNode.value.type === "AssignmentPattern") {
    addTrailingComment(enclosingNode.value.left, comment);
    return true;
  }
  return false;
}
var classLikeNodeTypes = /* @__PURE__ */ new Set([
  "ClassDeclaration",
  "ClassExpression",
  "DeclareClass",
  "DeclareInterface",
  "InterfaceDeclaration",
  "TSInterfaceDeclaration"
]);
function handleClassComments({
  comment,
  precedingNode,
  enclosingNode,
  followingNode
}) {
  if (classLikeNodeTypes.has(enclosingNode == null ? void 0 : enclosingNode.type)) {
    if (is_non_empty_array_default(enclosingNode.decorators) && !((followingNode == null ? void 0 : followingNode.type) === "Decorator")) {
      addTrailingComment(at_default(
        /* isOptionalObject */
        false,
        enclosingNode.decorators,
        -1
      ), comment);
      return true;
    }
    if (enclosingNode.body && followingNode === enclosingNode.body) {
      addBlockStatementFirstComment(enclosingNode.body, comment);
      return true;
    }
    if (followingNode) {
      if (enclosingNode.superClass && followingNode === enclosingNode.superClass && precedingNode && (precedingNode === enclosingNode.id || precedingNode === enclosingNode.typeParameters)) {
        addTrailingComment(precedingNode, comment);
        return true;
      }
      for (const prop of ["implements", "extends", "mixins"]) {
        if (enclosingNode[prop] && followingNode === enclosingNode[prop][0]) {
          if (precedingNode && (precedingNode === enclosingNode.id || precedingNode === enclosingNode.typeParameters || precedingNode === enclosingNode.superClass)) {
            addTrailingComment(precedingNode, comment);
          } else {
            addDanglingComment(enclosingNode, comment, prop);
          }
          return true;
        }
      }
    }
  }
  return false;
}
var propertyLikeNodeTypes = /* @__PURE__ */ new Set([
  "ClassMethod",
  "ClassProperty",
  "PropertyDefinition",
  "TSAbstractPropertyDefinition",
  "TSAbstractMethodDefinition",
  "TSDeclareMethod",
  "MethodDefinition",
  "ClassAccessorProperty",
  "AccessorProperty",
  "TSAbstractAccessorProperty",
  "TSParameterProperty"
]);
function handleMethodNameComments({
  comment,
  precedingNode,
  enclosingNode,
  text
}) {
  if (enclosingNode && precedingNode && get_next_non_space_non_comment_character_default(text, locEnd(comment)) === "(" && // "MethodDefinition" is handled in getCommentChildNodes
  (enclosingNode.type === "Property" || enclosingNode.type === "TSDeclareMethod" || enclosingNode.type === "TSAbstractMethodDefinition") && precedingNode.type === "Identifier" && enclosingNode.key === precedingNode && // special Property case: { key: /*comment*/(value) };
  // comment should be attached to value instead of key
  get_next_non_space_non_comment_character_default(text, locEnd(precedingNode)) !== ":") {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  if ((precedingNode == null ? void 0 : precedingNode.type) === "Decorator" && propertyLikeNodeTypes.has(enclosingNode == null ? void 0 : enclosingNode.type) && (is_line_comment_default(comment) || comment.placement === "ownLine")) {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  return false;
}
var functionLikeNodeTypes = /* @__PURE__ */ new Set([
  "FunctionDeclaration",
  "FunctionExpression",
  "ClassMethod",
  "MethodDefinition",
  "ObjectMethod"
]);
function handleFunctionNameComments({
  comment,
  precedingNode,
  enclosingNode,
  text
}) {
  if (get_next_non_space_non_comment_character_default(text, locEnd(comment)) !== "(") {
    return false;
  }
  if (precedingNode && functionLikeNodeTypes.has(enclosingNode == null ? void 0 : enclosingNode.type)) {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  return false;
}
function handleCommentAfterArrowParams({ comment, enclosingNode, text }) {
  if ((enclosingNode == null ? void 0 : enclosingNode.type) !== "ArrowFunctionExpression") {
    return false;
  }
  const index = get_next_non_space_non_comment_character_index_default(text, locEnd(comment));
  if (index !== false && text.slice(index, index + 2) === "=>") {
    addDanglingComment(enclosingNode, comment);
    return true;
  }
  return false;
}
function handleCommentInEmptyParens({ comment, enclosingNode, text }) {
  if (get_next_non_space_non_comment_character_default(text, locEnd(comment)) !== ")") {
    return false;
  }
  if (enclosingNode && (isRealFunctionLikeNode(enclosingNode) && getFunctionParameters(enclosingNode).length === 0 || isCallLikeExpression(enclosingNode) && getCallArguments(enclosingNode).length === 0)) {
    addDanglingComment(enclosingNode, comment);
    return true;
  }
  if (((enclosingNode == null ? void 0 : enclosingNode.type) === "MethodDefinition" || (enclosingNode == null ? void 0 : enclosingNode.type) === "TSAbstractMethodDefinition") && getFunctionParameters(enclosingNode.value).length === 0) {
    addDanglingComment(enclosingNode.value, comment);
    return true;
  }
  return false;
}
function handleLastComponentArgComments({
  comment,
  precedingNode,
  enclosingNode,
  followingNode,
  text
}) {
  if ((precedingNode == null ? void 0 : precedingNode.type) === "ComponentTypeParameter" && ((enclosingNode == null ? void 0 : enclosingNode.type) === "DeclareComponent" || (enclosingNode == null ? void 0 : enclosingNode.type) === "ComponentTypeAnnotation") && (followingNode == null ? void 0 : followingNode.type) !== "ComponentTypeParameter") {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  if (((precedingNode == null ? void 0 : precedingNode.type) === "ComponentParameter" || (precedingNode == null ? void 0 : precedingNode.type) === "RestElement") && (enclosingNode == null ? void 0 : enclosingNode.type) === "ComponentDeclaration" && get_next_non_space_non_comment_character_default(text, locEnd(comment)) === ")") {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  return false;
}
function handleLastFunctionArgComments({
  comment,
  precedingNode,
  enclosingNode,
  followingNode,
  text
}) {
  if ((precedingNode == null ? void 0 : precedingNode.type) === "FunctionTypeParam" && (enclosingNode == null ? void 0 : enclosingNode.type) === "FunctionTypeAnnotation" && (followingNode == null ? void 0 : followingNode.type) !== "FunctionTypeParam") {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  if (((precedingNode == null ? void 0 : precedingNode.type) === "Identifier" || (precedingNode == null ? void 0 : precedingNode.type) === "AssignmentPattern" || (precedingNode == null ? void 0 : precedingNode.type) === "ObjectPattern" || (precedingNode == null ? void 0 : precedingNode.type) === "ArrayPattern" || (precedingNode == null ? void 0 : precedingNode.type) === "RestElement" || (precedingNode == null ? void 0 : precedingNode.type) === "TSParameterProperty") && isRealFunctionLikeNode(enclosingNode) && get_next_non_space_non_comment_character_default(text, locEnd(comment)) === ")") {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  if (!is_block_comment_default(comment) && ((enclosingNode == null ? void 0 : enclosingNode.type) === "FunctionDeclaration" || (enclosingNode == null ? void 0 : enclosingNode.type) === "FunctionExpression" || (enclosingNode == null ? void 0 : enclosingNode.type) === "ObjectMethod") && (followingNode == null ? void 0 : followingNode.type) === "BlockStatement" && enclosingNode.body === followingNode) {
    const characterAfterCommentIndex = get_next_non_space_non_comment_character_index_default(
      text,
      locEnd(comment)
    );
    if (characterAfterCommentIndex === locStart(followingNode)) {
      addBlockStatementFirstComment(followingNode, comment);
      return true;
    }
  }
  return false;
}
function handleLabeledStatementComments({ comment, enclosingNode }) {
  if ((enclosingNode == null ? void 0 : enclosingNode.type) === "LabeledStatement") {
    addLeadingComment(enclosingNode, comment);
    return true;
  }
  return false;
}
function handleBreakAndContinueStatementComments({ comment, enclosingNode }) {
  if (((enclosingNode == null ? void 0 : enclosingNode.type) === "ContinueStatement" || (enclosingNode == null ? void 0 : enclosingNode.type) === "BreakStatement") && !enclosingNode.label) {
    addTrailingComment(enclosingNode, comment);
    return true;
  }
  return false;
}
function handleCallExpressionComments({
  comment,
  precedingNode,
  enclosingNode
}) {
  if (isCallExpression(enclosingNode) && precedingNode && enclosingNode.callee === precedingNode && enclosingNode.arguments.length > 0) {
    addLeadingComment(enclosingNode.arguments[0], comment);
    return true;
  }
  return false;
}
function handleUnionTypeComments({
  comment,
  precedingNode,
  enclosingNode,
  followingNode
}) {
  if (isUnionType(enclosingNode)) {
    if (isPrettierIgnoreComment(comment)) {
      followingNode.prettierIgnore = true;
      comment.unignore = true;
    }
    if (precedingNode) {
      addTrailingComment(precedingNode, comment);
      return true;
    }
    return false;
  }
  if (isUnionType(followingNode) && isPrettierIgnoreComment(comment)) {
    followingNode.types[0].prettierIgnore = true;
    comment.unignore = true;
  }
  return false;
}
function handlePropertyComments({ comment, enclosingNode }) {
  if (isObjectProperty(enclosingNode)) {
    addLeadingComment(enclosingNode, comment);
    return true;
  }
  return false;
}
function handleOnlyComments({ comment, enclosingNode, ast, isLastComment }) {
  var _a;
  if (((_a = ast == null ? void 0 : ast.body) == null ? void 0 : _a.length) === 0) {
    if (isLastComment) {
      addDanglingComment(ast, comment);
    } else {
      addLeadingComment(ast, comment);
    }
    return true;
  }
  if ((enclosingNode == null ? void 0 : enclosingNode.type) === "Program" && enclosingNode.body.length === 0 && !is_non_empty_array_default(enclosingNode.directives)) {
    if (isLastComment) {
      addDanglingComment(enclosingNode, comment);
    } else {
      addLeadingComment(enclosingNode, comment);
    }
    return true;
  }
  return false;
}
function handleForComments({ comment, enclosingNode }) {
  if ((enclosingNode == null ? void 0 : enclosingNode.type) === "ForInStatement" || (enclosingNode == null ? void 0 : enclosingNode.type) === "ForOfStatement") {
    addLeadingComment(enclosingNode, comment);
    return true;
  }
  return false;
}
function handleModuleSpecifiersComments({
  comment,
  precedingNode,
  enclosingNode,
  text
}) {
  if ((enclosingNode == null ? void 0 : enclosingNode.type) === "ImportSpecifier" || (enclosingNode == null ? void 0 : enclosingNode.type) === "ExportSpecifier") {
    addLeadingComment(enclosingNode, comment);
    return true;
  }
  const isImportDeclaration = (precedingNode == null ? void 0 : precedingNode.type) === "ImportSpecifier" && (enclosingNode == null ? void 0 : enclosingNode.type) === "ImportDeclaration";
  const isExportDeclaration2 = (precedingNode == null ? void 0 : precedingNode.type) === "ExportSpecifier" && (enclosingNode == null ? void 0 : enclosingNode.type) === "ExportNamedDeclaration";
  if ((isImportDeclaration || isExportDeclaration2) && has_newline_default(text, locEnd(comment))) {
    addTrailingComment(precedingNode, comment);
    return true;
  }
  return false;
}
function handleAssignmentPatternComments({ comment, enclosingNode }) {
  if ((enclosingNode == null ? void 0 : enclosingNode.type) === "AssignmentPattern") {
    addLeadingComment(enclosingNode, comment);
    return true;
  }
  return false;
}
var assignmentLikeNodeTypes = /* @__PURE__ */ new Set([
  "VariableDeclarator",
  "AssignmentExpression",
  "TypeAlias",
  "TSTypeAliasDeclaration"
]);
var complexExprNodeTypes = /* @__PURE__ */ new Set([
  "ObjectExpression",
  "ArrayExpression",
  "TemplateLiteral",
  "TaggedTemplateExpression",
  "ObjectTypeAnnotation",
  "TSTypeLiteral"
]);
function handleVariableDeclaratorComments({
  comment,
  enclosingNode,
  followingNode
}) {
  if (assignmentLikeNodeTypes.has(enclosingNode == null ? void 0 : enclosingNode.type) && followingNode && (complexExprNodeTypes.has(followingNode.type) || is_block_comment_default(comment))) {
    addLeadingComment(followingNode, comment);
    return true;
  }
  return false;
}
function handleTSFunctionTrailingComments({
  comment,
  enclosingNode,
  followingNode,
  text
}) {
  if (!followingNode && ((enclosingNode == null ? void 0 : enclosingNode.type) === "TSMethodSignature" || (enclosingNode == null ? void 0 : enclosingNode.type) === "TSDeclareFunction" || (enclosingNode == null ? void 0 : enclosingNode.type) === "TSAbstractMethodDefinition") && get_next_non_space_non_comment_character_default(text, locEnd(comment)) === ";") {
    addTrailingComment(enclosingNode, comment);
    return true;
  }
  return false;
}
function handleIgnoreComments({ comment, enclosingNode, followingNode }) {
  if (isPrettierIgnoreComment(comment) && (enclosingNode == null ? void 0 : enclosingNode.type) === "TSMappedType" && followingNode === enclosingNode.key) {
    enclosingNode.prettierIgnore = true;
    comment.unignore = true;
    return true;
  }
}
function handleTSMappedTypeComments({ comment, precedingNode, enclosingNode }) {
  if ((enclosingNode == null ? void 0 : enclosingNode.type) !== "TSMappedType") {
    return;
  }
  if (!precedingNode) {
    addDanglingComment(enclosingNode, comment);
    return true;
  }
}
function handleSwitchDefaultCaseComments({
  comment,
  enclosingNode,
  followingNode
}) {
  if (!enclosingNode || enclosingNode.type !== "SwitchCase" || enclosingNode.test || !followingNode || followingNode !== enclosingNode.consequent[0]) {
    return false;
  }
  if (followingNode.type === "BlockStatement" && is_line_comment_default(comment)) {
    addBlockStatementFirstComment(followingNode, comment);
  } else {
    addDanglingComment(enclosingNode, comment);
  }
  return true;
}
function handleLastUnionElementInExpression({
  comment,
  precedingNode,
  enclosingNode,
  followingNode
}) {
  if (isUnionType(precedingNode) && ((enclosingNode.type === "TSArrayType" || enclosingNode.type === "ArrayTypeAnnotation") && !followingNode || isIntersectionType(enclosingNode))) {
    addTrailingComment(at_default(
      /* isOptionalObject */
      false,
      precedingNode.types,
      -1
    ), comment);
    return true;
  }
  return false;
}
function handleCommentsInDestructuringPattern({
  comment,
  enclosingNode,
  precedingNode,
  followingNode
}) {
  if (((enclosingNode == null ? void 0 : enclosingNode.type) === "ObjectPattern" || (enclosingNode == null ? void 0 : enclosingNode.type) === "ArrayPattern") && (followingNode == null ? void 0 : followingNode.type) === "TSTypeAnnotation") {
    if (precedingNode) {
      addTrailingComment(precedingNode, comment);
    } else {
      addDanglingComment(enclosingNode, comment);
    }
    return true;
  }
}
function handleLastBinaryOperatorOperand({
  comment,
  precedingNode,
  enclosingNode,
  followingNode,
  text
}) {
  if (!followingNode && (enclosingNode == null ? void 0 : enclosingNode.type) === "UnaryExpression" && ((precedingNode == null ? void 0 : precedingNode.type) === "LogicalExpression" || (precedingNode == null ? void 0 : precedingNode.type) === "BinaryExpression")) {
    if (
      // Multiline expression
      has_newline_in_range_default(
        text,
        locStart(enclosingNode.argument),
        locStart(precedingNode.right)
      ) && isSingleLineComment(comment, text) && // Comment and `precedingNode.right` are on same line
      !has_newline_in_range_default(text, locStart(precedingNode.right), locStart(comment))
    ) {
      addTrailingComment(precedingNode.right, comment);
      return true;
    }
  }
  return false;
}
var isRealFunctionLikeNode = create_type_check_function_default([
  "ArrowFunctionExpression",
  "FunctionExpression",
  "FunctionDeclaration",
  "ObjectMethod",
  "ClassMethod",
  "TSDeclareFunction",
  "TSCallSignatureDeclaration",
  "TSConstructSignatureDeclaration",
  "TSMethodSignature",
  "TSConstructorType",
  "TSFunctionType",
  "TSDeclareMethod"
]);
 
// src/language-js/comments/printer-methods.js
var nodeTypesCanNotAttachComment = /* @__PURE__ */ new Set([
  "EmptyStatement",
  "TemplateElement",
  // There is no similar node in Babel AST
  // ```ts
  // class Foo {
  //   bar();
  //      ^^^ TSEmptyBodyFunctionExpression
  // }
  // ```
  "TSEmptyBodyFunctionExpression",
  // There is no similar node in Babel AST, `a?.b`
  "ChainExpression"
]);
function canAttachComment(node) {
  return !nodeTypesCanNotAttachComment.has(node.type);
}
function getCommentChildNodes(node, options2) {
  var _a;
  if ((options2.parser === "typescript" || options2.parser === "flow" || options2.parser === "hermes" || options2.parser === "acorn" || options2.parser === "oxc" || options2.parser === "oxc-ts" || options2.parser === "espree" || options2.parser === "meriyah" || options2.parser === "__babel_estree") && node.type === "MethodDefinition" && ((_a = node.value) == null ? void 0 : _a.type) === "FunctionExpression" && getFunctionParameters(node.value).length === 0 && !node.value.returnType && !is_non_empty_array_default(node.value.typeParameters) && node.value.body) {
    return [...node.decorators || [], node.key, node.value.body];
  }
}
function willPrintOwnComments(path) {
  const { node, parent } = path;
  return (isJsxElement(node) || parent && (parent.type === "JSXSpreadAttribute" || parent.type === "JSXSpreadChild" || isUnionType(parent) || (parent.type === "ClassDeclaration" || parent.type === "ClassExpression") && parent.superClass === node)) && (!hasNodeIgnoreComment(node) || isUnionType(parent));
}
function isGap(text, { parser }) {
  if (parser === "flow" || parser === "hermes" || parser === "babel-flow") {
    text = string_replace_all_default(
      /* isOptionalObject */
      false,
      text,
      /[\s(]/gu,
      ""
    );
    return text === "" || text === "/*" || text === "/*::";
  }
}
 
// src/common/end-of-line.js
function convertEndOfLineToChars(value) {
  switch (value) {
    case "cr":
      return "\r";
    case "crlf":
      return "\r\n";
    default:
      return "\n";
  }
}
 
// src/document/printer.js
var MODE_BREAK = Symbol("MODE_BREAK");
var MODE_FLAT = Symbol("MODE_FLAT");
var CURSOR_PLACEHOLDER = Symbol("cursor");
var DOC_FILL_PRINTED_LENGTH = Symbol("DOC_FILL_PRINTED_LENGTH");
function rootIndent() {
  return { value: "", length: 0, queue: [] };
}
function makeIndent(ind, options2) {
  return generateInd(ind, { type: "indent" }, options2);
}
function makeAlign(indent2, widthOrDoc, options2) {
  if (widthOrDoc === Number.NEGATIVE_INFINITY) {
    return indent2.root || rootIndent();
  }
  if (widthOrDoc < 0) {
    return generateInd(indent2, { type: "dedent" }, options2);
  }
  if (!widthOrDoc) {
    return indent2;
  }
  if (widthOrDoc.type === "root") {
    return { ...indent2, root: indent2 };
  }
  const alignType = typeof widthOrDoc === "string" ? "stringAlign" : "numberAlign";
  return generateInd(indent2, { type: alignType, n: widthOrDoc }, options2);
}
function generateInd(ind, newPart, options2) {
  const queue = newPart.type === "dedent" ? ind.queue.slice(0, -1) : [...ind.queue, newPart];
  let value = "";
  let length = 0;
  let lastTabs = 0;
  let lastSpaces = 0;
  for (const part of queue) {
    switch (part.type) {
      case "indent":
        flush();
        if (options2.useTabs) {
          addTabs(1);
        } else {
          addSpaces(options2.tabWidth);
        }
        break;
      case "stringAlign":
        flush();
        value += part.n;
        length += part.n.length;
        break;
      case "numberAlign":
        lastTabs += 1;
        lastSpaces += part.n;
        break;
      default:
        throw new Error(`Unexpected type '${part.type}'`);
    }
  }
  flushSpaces();
  return { ...ind, value, length, queue };
  function addTabs(count) {
    value += "	".repeat(count);
    length += options2.tabWidth * count;
  }
  function addSpaces(count) {
    value += " ".repeat(count);
    length += count;
  }
  function flush() {
    if (options2.useTabs) {
      flushTabs();
    } else {
      flushSpaces();
    }
  }
  function flushTabs() {
    if (lastTabs > 0) {
      addTabs(lastTabs);
    }
    resetLast();
  }
  function flushSpaces() {
    if (lastSpaces > 0) {
      addSpaces(lastSpaces);
    }
    resetLast();
  }
  function resetLast() {
    lastTabs = 0;
    lastSpaces = 0;
  }
}
function trim(out) {
  let trimCount = 0;
  let cursorCount = 0;
  let outIndex = out.length;
  outer: while (outIndex--) {
    const last = out[outIndex];
    if (last === CURSOR_PLACEHOLDER) {
      cursorCount++;
      continue;
    }
    if (false) {
      throw new Error(`Unexpected value in trim: '${typeof last}'`);
    }
    for (let charIndex = last.length - 1; charIndex >= 0; charIndex--) {
      const char = last[charIndex];
      if (char === " " || char === "	") {
        trimCount++;
      } else {
        out[outIndex] = last.slice(0, charIndex + 1);
        break outer;
      }
    }
  }
  if (trimCount > 0 || cursorCount > 0) {
    out.length = outIndex + 1;
    while (cursorCount-- > 0) {
      out.push(CURSOR_PLACEHOLDER);
    }
  }
  return trimCount;
}
function fits(next, restCommands, width, hasLineSuffix, groupModeMap, mustBeFlat) {
  if (width === Number.POSITIVE_INFINITY) {
    return true;
  }
  let restIdx = restCommands.length;
  const cmds = [next];
  const out = [];
  while (width >= 0) {
    if (cmds.length === 0) {
      if (restIdx === 0) {
        return true;
      }
      cmds.push(restCommands[--restIdx]);
      continue;
    }
    const { mode, doc } = cmds.pop();
    const docType = get_doc_type_default(doc);
    switch (docType) {
      case DOC_TYPE_STRING:
        out.push(doc);
        width -= get_string_width_default(doc);
        break;
      case DOC_TYPE_ARRAY:
      case DOC_TYPE_FILL: {
        const parts = docType === DOC_TYPE_ARRAY ? doc : doc.parts;
        const end = doc[DOC_FILL_PRINTED_LENGTH] ?? 0;
        for (let i = parts.length - 1; i >= end; i--) {
          cmds.push({ mode, doc: parts[i] });
        }
        break;
      }
      case DOC_TYPE_INDENT:
      case DOC_TYPE_ALIGN:
      case DOC_TYPE_INDENT_IF_BREAK:
      case DOC_TYPE_LABEL:
        cmds.push({ mode, doc: doc.contents });
        break;
      case DOC_TYPE_TRIM:
        width += trim(out);
        break;
      case DOC_TYPE_GROUP: {
        if (mustBeFlat && doc.break) {
          return false;
        }
        const groupMode = doc.break ? MODE_BREAK : mode;
        const contents = doc.expandedStates && groupMode === MODE_BREAK ? at_default(
          /* isOptionalObject */
          false,
          doc.expandedStates,
          -1
        ) : doc.contents;
        cmds.push({ mode: groupMode, doc: contents });
        break;
      }
      case DOC_TYPE_IF_BREAK: {
        const groupMode = doc.groupId ? groupModeMap[doc.groupId] || MODE_FLAT : mode;
        const contents = groupMode === MODE_BREAK ? doc.breakContents : doc.flatContents;
        if (contents) {
          cmds.push({ mode, doc: contents });
        }
        break;
      }
      case DOC_TYPE_LINE:
        if (mode === MODE_BREAK || doc.hard) {
          return true;
        }
        if (!doc.soft) {
          out.push(" ");
          width--;
        }
        break;
      case DOC_TYPE_LINE_SUFFIX:
        hasLineSuffix = true;
        break;
      case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
        if (hasLineSuffix) {
          return false;
        }
        break;
    }
  }
  return false;
}
function printDocToString(doc, options2) {
  const groupModeMap = {};
  const width = options2.printWidth;
  const newLine = convertEndOfLineToChars(options2.endOfLine);
  let pos = 0;
  const cmds = [{ ind: rootIndent(), mode: MODE_BREAK, doc }];
  const out = [];
  let shouldRemeasure = false;
  const lineSuffix2 = [];
  let printedCursorCount = 0;
  propagateBreaks(doc);
  while (cmds.length > 0) {
    const { ind, mode, doc: doc2 } = cmds.pop();
    switch (get_doc_type_default(doc2)) {
      case DOC_TYPE_STRING: {
        const formatted = newLine !== "\n" ? string_replace_all_default(
          /* isOptionalObject */
          false,
          doc2,
          "\n",
          newLine
        ) : doc2;
        out.push(formatted);
        if (cmds.length > 0) {
          pos += get_string_width_default(formatted);
        }
        break;
      }
      case DOC_TYPE_ARRAY:
        for (let i = doc2.length - 1; i >= 0; i--) {
          cmds.push({ ind, mode, doc: doc2[i] });
        }
        break;
      case DOC_TYPE_CURSOR:
        if (printedCursorCount >= 2) {
          throw new Error("There are too many 'cursor' in doc.");
        }
        out.push(CURSOR_PLACEHOLDER);
        printedCursorCount++;
        break;
      case DOC_TYPE_INDENT:
        cmds.push({ ind: makeIndent(ind, options2), mode, doc: doc2.contents });
        break;
      case DOC_TYPE_ALIGN:
        cmds.push({
          ind: makeAlign(ind, doc2.n, options2),
          mode,
          doc: doc2.contents
        });
        break;
      case DOC_TYPE_TRIM:
        pos -= trim(out);
        break;
      case DOC_TYPE_GROUP:
        switch (mode) {
          case MODE_FLAT:
            if (!shouldRemeasure) {
              cmds.push({
                ind,
                mode: doc2.break ? MODE_BREAK : MODE_FLAT,
                doc: doc2.contents
              });
              break;
            }
          // fallthrough
          case MODE_BREAK: {
            shouldRemeasure = false;
            const next = { ind, mode: MODE_FLAT, doc: doc2.contents };
            const rem = width - pos;
            const hasLineSuffix = lineSuffix2.length > 0;
            if (!doc2.break && fits(next, cmds, rem, hasLineSuffix, groupModeMap)) {
              cmds.push(next);
            } else {
              if (doc2.expandedStates) {
                const mostExpanded = at_default(
                  /* isOptionalObject */
                  false,
                  doc2.expandedStates,
                  -1
                );
                if (doc2.break) {
                  cmds.push({ ind, mode: MODE_BREAK, doc: mostExpanded });
                  break;
                } else {
                  for (let i = 1; i < doc2.expandedStates.length + 1; i++) {
                    if (i >= doc2.expandedStates.length) {
                      cmds.push({ ind, mode: MODE_BREAK, doc: mostExpanded });
                      break;
                    } else {
                      const state = doc2.expandedStates[i];
                      const cmd = { ind, mode: MODE_FLAT, doc: state };
                      if (fits(cmd, cmds, rem, hasLineSuffix, groupModeMap)) {
                        cmds.push(cmd);
                        break;
                      }
                    }
                  }
                }
              } else {
                cmds.push({ ind, mode: MODE_BREAK, doc: doc2.contents });
              }
            }
            break;
          }
        }
        if (doc2.id) {
          groupModeMap[doc2.id] = at_default(
            /* isOptionalObject */
            false,
            cmds,
            -1
          ).mode;
        }
        break;
      // Fills each line with as much code as possible before moving to a new
      // line with the same indentation.
      //
      // Expects doc.parts to be an array of alternating content and
      // whitespace. The whitespace contains the linebreaks.
      //
      // For example:
      //   ["I", line, "love", line, "monkeys"]
      // or
      //   [{ type: group, ... }, softline, { type: group, ... }]
      //
      // It uses this parts structure to handle three main layout cases:
      // * The first two content items fit on the same line without
      //   breaking
      //   -> output the first content item and the whitespace "flat".
      // * Only the first content item fits on the line without breaking
      //   -> output the first content item "flat" and the whitespace with
      //   "break".
      // * Neither content item fits on the line without breaking
      //   -> output the first content item and the whitespace with "break".
      case DOC_TYPE_FILL: {
        const rem = width - pos;
        const offset = doc2[DOC_FILL_PRINTED_LENGTH] ?? 0;
        const { parts } = doc2;
        const length = parts.length - offset;
        if (length === 0) {
          break;
        }
        const content = parts[offset + 0];
        const whitespace = parts[offset + 1];
        const contentFlatCmd = { ind, mode: MODE_FLAT, doc: content };
        const contentBreakCmd = { ind, mode: MODE_BREAK, doc: content };
        const contentFits = fits(
          contentFlatCmd,
          [],
          rem,
          lineSuffix2.length > 0,
          groupModeMap,
          true
        );
        if (length === 1) {
          if (contentFits) {
            cmds.push(contentFlatCmd);
          } else {
            cmds.push(contentBreakCmd);
          }
          break;
        }
        const whitespaceFlatCmd = { ind, mode: MODE_FLAT, doc: whitespace };
        const whitespaceBreakCmd = { ind, mode: MODE_BREAK, doc: whitespace };
        if (length === 2) {
          if (contentFits) {
            cmds.push(whitespaceFlatCmd, contentFlatCmd);
          } else {
            cmds.push(whitespaceBreakCmd, contentBreakCmd);
          }
          break;
        }
        const secondContent = parts[offset + 2];
        const remainingCmd = {
          ind,
          mode,
          doc: { ...doc2, [DOC_FILL_PRINTED_LENGTH]: offset + 2 }
        };
        const firstAndSecondContentFlatCmd = {
          ind,
          mode: MODE_FLAT,
          doc: [content, whitespace, secondContent]
        };
        const firstAndSecondContentFits = fits(
          firstAndSecondContentFlatCmd,
          [],
          rem,
          lineSuffix2.length > 0,
          groupModeMap,
          true
        );
        if (firstAndSecondContentFits) {
          cmds.push(remainingCmd, whitespaceFlatCmd, contentFlatCmd);
        } else if (contentFits) {
          cmds.push(remainingCmd, whitespaceBreakCmd, contentFlatCmd);
        } else {
          cmds.push(remainingCmd, whitespaceBreakCmd, contentBreakCmd);
        }
        break;
      }
      case DOC_TYPE_IF_BREAK:
      case DOC_TYPE_INDENT_IF_BREAK: {
        const groupMode = doc2.groupId ? groupModeMap[doc2.groupId] : mode;
        if (groupMode === MODE_BREAK) {
          const breakContents = doc2.type === DOC_TYPE_IF_BREAK ? doc2.breakContents : doc2.negate ? doc2.contents : indent(doc2.contents);
          if (breakContents) {
            cmds.push({ ind, mode, doc: breakContents });
          }
        }
        if (groupMode === MODE_FLAT) {
          const flatContents = doc2.type === DOC_TYPE_IF_BREAK ? doc2.flatContents : doc2.negate ? indent(doc2.contents) : doc2.contents;
          if (flatContents) {
            cmds.push({ ind, mode, doc: flatContents });
          }
        }
        break;
      }
      case DOC_TYPE_LINE_SUFFIX:
        lineSuffix2.push({ ind, mode, doc: doc2.contents });
        break;
      case DOC_TYPE_LINE_SUFFIX_BOUNDARY:
        if (lineSuffix2.length > 0) {
          cmds.push({ ind, mode, doc: hardlineWithoutBreakParent });
        }
        break;
      case DOC_TYPE_LINE:
        switch (mode) {
          case MODE_FLAT:
            if (!doc2.hard) {
              if (!doc2.soft) {
                out.push(" ");
                pos += 1;
              }
              break;
            } else {
              shouldRemeasure = true;
            }
          // fallthrough
          case MODE_BREAK:
            if (lineSuffix2.length > 0) {
              cmds.push({ ind, mode, doc: doc2 }, ...lineSuffix2.reverse());
              lineSuffix2.length = 0;
              break;
            }
            if (doc2.literal) {
              if (ind.root) {
                out.push(newLine, ind.root.value);
                pos = ind.root.length;
              } else {
                out.push(newLine);
                pos = 0;
              }
            } else {
              pos -= trim(out);
              out.push(newLine + ind.value);
              pos = ind.length;
            }
            break;
        }
        break;
      case DOC_TYPE_LABEL:
        cmds.push({ ind, mode, doc: doc2.contents });
        break;
      case DOC_TYPE_BREAK_PARENT:
        break;
      default:
        throw new invalid_doc_error_default(doc2);
    }
    if (cmds.length === 0 && lineSuffix2.length > 0) {
      cmds.push(...lineSuffix2.reverse());
      lineSuffix2.length = 0;
    }
  }
  const cursorPlaceholderIndex = out.indexOf(CURSOR_PLACEHOLDER);
  if (cursorPlaceholderIndex !== -1) {
    const otherCursorPlaceholderIndex = out.indexOf(
      CURSOR_PLACEHOLDER,
      cursorPlaceholderIndex + 1
    );
    if (otherCursorPlaceholderIndex === -1) {
      return {
        formatted: out.filter((char) => char !== CURSOR_PLACEHOLDER).join("")
      };
    }
    const beforeCursor = out.slice(0, cursorPlaceholderIndex).join("");
    const aroundCursor = out.slice(cursorPlaceholderIndex + 1, otherCursorPlaceholderIndex).join("");
    const afterCursor = out.slice(otherCursorPlaceholderIndex + 1).join("");
    return {
      formatted: beforeCursor + aroundCursor + afterCursor,
      cursorNodeStart: beforeCursor.length,
      cursorNodeText: aroundCursor
    };
  }
  return { formatted: out.join("") };
}
 
// src/utils/get-alignment-size.js
function getAlignmentSize(text, tabWidth, startIndex = 0) {
  let size = 0;
  for (let i = startIndex; i < text.length; ++i) {
    if (text[i] === "	") {
      size = size + tabWidth - size % tabWidth;
    } else {
      size++;
    }
  }
  return size;
}
var get_alignment_size_default = getAlignmentSize;
 
// src/utils/get-indent-size.js
function getIndentSize(value, tabWidth) {
  const lastNewlineIndex = value.lastIndexOf("\n");
  if (lastNewlineIndex === -1) {
    return 0;
  }
  return get_alignment_size_default(
    // All the leading whitespaces
    value.slice(lastNewlineIndex + 1).match(/^[\t ]*/u)[0],
    tabWidth
  );
}
var get_indent_size_default = getIndentSize;
 
// src/language-js/print/template-literal.js
function printTemplateLiteral(path, options2, print3) {
  const { node } = path;
  const isTemplateLiteral = node.type === "TemplateLiteral";
  if (isTemplateLiteral && isJestEachTemplateLiteral(path)) {
    const printed = printJestEachTemplateLiteral(path, options2, print3);
    if (printed) {
      return printed;
    }
  }
  let expressionsKey = "expressions";
  if (node.type === "TSTemplateLiteralType") {
    expressionsKey = "types";
  }
  const parts = [];
  const expressionDocs = path.map(print3, expressionsKey);
  parts.push(lineSuffixBoundary, "`");
  let previousQuasiIndentSize = 0;
  path.each(({ index, node: quasi }) => {
    parts.push(print3());
    if (quasi.tail) {
      return;
    }
    const { tabWidth } = options2;
    const text = quasi.value.raw;
    const indentSize = text.includes("\n") ? get_indent_size_default(text, tabWidth) : previousQuasiIndentSize;
    previousQuasiIndentSize = indentSize;
    let expressionDoc = expressionDocs[index];
    const expression = node[expressionsKey][index];
    let interpolationHasNewline = has_newline_in_range_default(
      options2.originalText,
      locEnd(quasi),
      locStart(node.quasis[index + 1])
    );
    if (!interpolationHasNewline) {
      const renderedExpression = printDocToString(expressionDoc, {
        ...options2,
        printWidth: Number.POSITIVE_INFINITY
      }).formatted;
      if (renderedExpression.includes("\n")) {
        interpolationHasNewline = true;
      } else {
        expressionDoc = renderedExpression;
      }
    }
    if (interpolationHasNewline && (hasComment(expression) || expression.type === "Identifier" || isMemberExpression(expression) || expression.type === "ConditionalExpression" || expression.type === "SequenceExpression" || isBinaryCastExpression(expression) || isBinaryish(expression))) {
      expressionDoc = [indent([softline, expressionDoc]), softline];
    }
    const aligned = indentSize === 0 && text.endsWith("\n") ? align(Number.NEGATIVE_INFINITY, expressionDoc) : addAlignmentToDoc(expressionDoc, indentSize, tabWidth);
    parts.push(group(["${", aligned, lineSuffixBoundary, "}"]));
  }, "quasis");
  parts.push("`");
  return parts;
}
function printTaggedTemplateLiteral(path, options2, print3) {
  const quasiDoc = print3("quasi");
  const { node } = path;
  let space = "";
  const quasiLeadingComment = getComments(
    node.quasi,
    CommentCheckFlags.Leading
  )[0];
  if (quasiLeadingComment) {
    if (has_newline_in_range_default(
      options2.originalText,
      locEnd(node.typeArguments ?? node.typeParameters ?? node.tag),
      locStart(quasiLeadingComment)
    )) {
      space = softline;
    } else {
      space = " ";
    }
  }
  return label(quasiDoc.label && { tagged: true, ...quasiDoc.label }, [
    print3("tag"),
    print3(node.typeArguments ? "typeArguments" : "typeParameters"),
    space,
    lineSuffixBoundary,
    quasiDoc
  ]);
}
function printJestEachTemplateLiteral(path, options2, print3) {
  const { node } = path;
  const headerNames = node.quasis[0].value.raw.trim().split(/\s*\|\s*/u);
  if (headerNames.length > 1 || headerNames.some((headerName) => headerName.length > 0)) {
    options2.__inJestEach = true;
    const expressions = path.map(print3, "expressions");
    options2.__inJestEach = false;
    const parts = [];
    const stringifiedExpressions = expressions.map(
      (doc) => "${" + printDocToString(doc, {
        ...options2,
        printWidth: Number.POSITIVE_INFINITY,
        endOfLine: "lf"
      }).formatted + "}"
    );
    const tableBody = [{ hasLineBreak: false, cells: [] }];
    for (let i = 1; i < node.quasis.length; i++) {
      const row = at_default(
        /* isOptionalObject */
        false,
        tableBody,
        -1
      );
      const correspondingExpression = stringifiedExpressions[i - 1];
      row.cells.push(correspondingExpression);
      if (correspondingExpression.includes("\n")) {
        row.hasLineBreak = true;
      }
      if (node.quasis[i].value.raw.includes("\n")) {
        tableBody.push({ hasLineBreak: false, cells: [] });
      }
    }
    const maxColumnCount = Math.max(
      headerNames.length,
      ...tableBody.map((row) => row.cells.length)
    );
    const maxColumnWidths = Array.from({ length: maxColumnCount }).fill(0);
    const table = [
      { cells: headerNames },
      ...tableBody.filter((row) => row.cells.length > 0)
    ];
    for (const { cells } of table.filter((row) => !row.hasLineBreak)) {
      for (const [index, cell] of cells.entries()) {
        maxColumnWidths[index] = Math.max(
          maxColumnWidths[index],
          get_string_width_default(cell)
        );
      }
    }
    parts.push(
      lineSuffixBoundary,
      "`",
      indent([
        hardline,
        join(
          hardline,
          table.map(
            (row) => join(
              " | ",
              row.cells.map(
                (cell, index) => row.hasLineBreak ? cell : cell + " ".repeat(maxColumnWidths[index] - get_string_width_default(cell))
              )
            )
          )
        )
      ]),
      hardline,
      "`"
    );
    return parts;
  }
}
function printTemplateExpression(path, print3) {
  const { node } = path;
  let printed = print3();
  if (hasComment(node)) {
    printed = group([indent([softline, printed]), softline]);
  }
  return ["${", printed, lineSuffixBoundary, "}"];
}
function printTemplateExpressions(path, print3) {
  return path.map(
    (path2) => printTemplateExpression(path2, print3),
    "expressions"
  );
}
function escapeTemplateCharacters(doc, raw) {
  return mapDoc(doc, (currentDoc) => {
    if (typeof currentDoc === "string") {
      return raw ? string_replace_all_default(
        /* isOptionalObject */
        false,
        currentDoc,
        /(\\*)`/gu,
        "$1$1\\`"
      ) : uncookTemplateElementValue(currentDoc);
    }
    return currentDoc;
  });
}
function uncookTemplateElementValue(cookedValue) {
  return string_replace_all_default(
    /* isOptionalObject */
    false,
    cookedValue,
    /([\\`]|\$\{)/gu,
    String.raw`\$1`
  );
}
function isJestEachTemplateLiteral({ node, parent }) {
  const jestEachTriggerRegex = /^[fx]?(?:describe|it|test)$/u;
  return parent.type === "TaggedTemplateExpression" && parent.quasi === node && parent.tag.type === "MemberExpression" && parent.tag.property.type === "Identifier" && parent.tag.property.name === "each" && (parent.tag.object.type === "Identifier" && jestEachTriggerRegex.test(parent.tag.object.name) || parent.tag.object.type === "MemberExpression" && parent.tag.object.property.type === "Identifier" && (parent.tag.object.property.name === "only" || parent.tag.object.property.name === "skip") && parent.tag.object.object.type === "Identifier" && jestEachTriggerRegex.test(parent.tag.object.object.name));
}
 
// src/language-js/embed/utils.js
var angularComponentObjectExpressionPredicates = [
  (node, name) => node.type === "ObjectExpression" && name === "properties",
  (node, name) => node.type === "CallExpression" && node.callee.type === "Identifier" && node.callee.name === "Component" && name === "arguments",
  (node, name) => node.type === "Decorator" && name === "expression"
];
function isAngularComponentStyles(path) {
  const isTemplateLiteral = (node) => node.type === "TemplateLiteral";
  const isObjectPropertyNamedStyles = (node, key) => isObjectProperty(node) && !node.computed && node.key.type === "Identifier" && node.key.name === "styles" && key === "value";
  return path.match(
    isTemplateLiteral,
    (node, name) => isArrayExpression(node) && name === "elements",
    isObjectPropertyNamedStyles,
    ...angularComponentObjectExpressionPredicates
  ) || path.match(
    isTemplateLiteral,
    isObjectPropertyNamedStyles,
    ...angularComponentObjectExpressionPredicates
  );
}
function isAngularComponentTemplate(path) {
  return path.match(
    (node) => node.type === "TemplateLiteral",
    (node, name) => isObjectProperty(node) && !node.computed && node.key.type === "Identifier" && node.key.name === "template" && name === "value",
    ...angularComponentObjectExpressionPredicates
  );
}
function hasLeadingBlockCommentWithName(node, languageName) {
  return hasComment(
    node,
    CommentCheckFlags.Block | CommentCheckFlags.Leading,
    ({ value }) => value === ` ${languageName} `
  );
}
function hasLanguageComment({ node, parent }, languageName) {
  return hasLeadingBlockCommentWithName(node, languageName) || isAsConstExpression(parent) && hasLeadingBlockCommentWithName(parent, languageName) || parent.type === "ExpressionStatement" && hasLeadingBlockCommentWithName(parent, languageName);
}
function isAsConstExpression(node) {
  return node.type === "AsConstExpression" || node.type === "TSAsExpression" && node.typeAnnotation.type === "TSTypeReference" && node.typeAnnotation.typeName.type === "Identifier" && node.typeAnnotation.typeName.name === "const";
}
 
// src/language-js/embed/css.js
async function printEmbedCss(textToDoc, print3, path) {
  const { node } = path;
  const rawQuasis = node.quasis.map((q) => q.value.raw);
  let placeholderID = 0;
  const text = rawQuasis.reduce(
    (prevVal, currVal, idx) => idx === 0 ? currVal : prevVal + "@prettier-placeholder-" + placeholderID++ + "-id" + currVal,
    ""
  );
  const quasisDoc = await textToDoc(text, { parser: "scss" });
  const expressionDocs = printTemplateExpressions(path, print3);
  const newDoc = replacePlaceholders(quasisDoc, expressionDocs);
  if (!newDoc) {
    throw new Error("Couldn't insert all the expressions");
  }
  return ["`", indent([hardline, newDoc]), softline, "`"];
}
function replacePlaceholders(quasisDoc, expressionDocs) {
  if (!is_non_empty_array_default(expressionDocs)) {
    return quasisDoc;
  }
  let replaceCounter = 0;
  const newDoc = mapDoc(cleanDoc(quasisDoc), (doc) => {
    if (typeof doc !== "string" || !doc.includes("@prettier-placeholder")) {
      return doc;
    }
    return doc.split(/@prettier-placeholder-(\d+)-id/u).map((component, idx) => {
      if (idx % 2 === 0) {
        return replaceEndOfLine(component);
      }
      replaceCounter++;
      return expressionDocs[component];
    });
  });
  return expressionDocs.length === replaceCounter ? newDoc : null;
}
function isStyledJsx({ node, parent, grandparent }) {
  return grandparent && node.quasis && parent.type === "JSXExpressionContainer" && grandparent.type === "JSXElement" && grandparent.openingElement.name.name === "style" && grandparent.openingElement.attributes.some(
    (attribute) => attribute.type === "JSXAttribute" && attribute.name.name === "jsx"
  ) || (parent == null ? void 0 : parent.type) === "TaggedTemplateExpression" && parent.tag.type === "Identifier" && parent.tag.name === "css" || (parent == null ? void 0 : parent.type) === "TaggedTemplateExpression" && parent.tag.type === "MemberExpression" && parent.tag.object.name === "css" && (parent.tag.property.name === "global" || parent.tag.property.name === "resolve");
}
function isStyledIdentifier(node) {
  return node.type === "Identifier" && node.name === "styled";
}
function isStyledExtend(node) {
  return /^[A-Z]/u.test(node.object.name) && node.property.name === "extend";
}
function isStyledComponents({ parent }) {
  if (!parent || parent.type !== "TaggedTemplateExpression") {
    return false;
  }
  const tag = parent.tag.type === "ParenthesizedExpression" ? parent.tag.expression : parent.tag;
  switch (tag.type) {
    case "MemberExpression":
      return (
        // styled.foo``
        isStyledIdentifier(tag.object) || // Component.extend``
        isStyledExtend(tag)
      );
    case "CallExpression":
      return (
        // styled(Component)``
        isStyledIdentifier(tag.callee) || tag.callee.type === "MemberExpression" && (tag.callee.object.type === "MemberExpression" && // styled.foo.attrs({})``
        (isStyledIdentifier(tag.callee.object.object) || // Component.extend.attrs({})``
        isStyledExtend(tag.callee.object)) || // styled(Component).attrs({})``
        tag.callee.object.type === "CallExpression" && isStyledIdentifier(tag.callee.object.callee))
      );
    case "Identifier":
      return tag.name === "css";
    default:
      return false;
  }
}
function isCssProp({ parent, grandparent }) {
  return (grandparent == null ? void 0 : grandparent.type) === "JSXAttribute" && parent.type === "JSXExpressionContainer" && grandparent.name.type === "JSXIdentifier" && grandparent.name.name === "css";
}
function printCss(path) {
  if (isStyledJsx(path) || isStyledComponents(path) || isCssProp(path) || isAngularComponentStyles(path)) {
    return printEmbedCss;
  }
}
var css_default = printCss;
 
// src/language-js/embed/graphql.js
async function printEmbedGraphQL(textToDoc, print3, path) {
  const { node } = path;
  const numQuasis = node.quasis.length;
  const expressionDocs = printTemplateExpressions(path, print3);
  const parts = [];
  for (let i = 0; i < numQuasis; i++) {
    const templateElement = node.quasis[i];
    const isFirst = i === 0;
    const isLast = i === numQuasis - 1;
    const text = templateElement.value.cooked;
    const lines = text.split("\n");
    const numLines = lines.length;
    const expressionDoc = expressionDocs[i];
    const startsWithBlankLine = numLines > 2 && lines[0].trim() === "" && lines[1].trim() === "";
    const endsWithBlankLine = numLines > 2 && lines[numLines - 1].trim() === "" && lines[numLines - 2].trim() === "";
    const commentsAndWhitespaceOnly = lines.every(
      (line2) => /^\s*(?:#[^\n\r]*)?$/u.test(line2)
    );
    if (!isLast && /#[^\n\r]*$/u.test(lines[numLines - 1])) {
      return null;
    }
    let doc = null;
    if (commentsAndWhitespaceOnly) {
      doc = printGraphqlComments(lines);
    } else {
      doc = await textToDoc(text, { parser: "graphql" });
    }
    if (doc) {
      doc = escapeTemplateCharacters(doc, false);
      if (!isFirst && startsWithBlankLine) {
        parts.push("");
      }
      parts.push(doc);
      if (!isLast && endsWithBlankLine) {
        parts.push("");
      }
    } else if (!isFirst && !isLast && startsWithBlankLine) {
      parts.push("");
    }
    if (expressionDoc) {
      parts.push(expressionDoc);
    }
  }
  return ["`", indent([hardline, join(hardline, parts)]), hardline, "`"];
}
function printGraphqlComments(lines) {
  const parts = [];
  let seenComment = false;
  const array = lines.map((textLine) => textLine.trim());
  for (const [i, textLine] of array.entries()) {
    if (textLine === "") {
      continue;
    }
    if (array[i - 1] === "" && seenComment) {
      parts.push([hardline, textLine]);
    } else {
      parts.push(textLine);
    }
    seenComment = true;
  }
  return parts.length === 0 ? null : join(hardline, parts);
}
function isGraphQL({ node, parent }) {
  return hasLanguageComment({ node, parent }, "GraphQL") || parent && (parent.type === "TaggedTemplateExpression" && (parent.tag.type === "MemberExpression" && parent.tag.object.name === "graphql" && parent.tag.property.name === "experimental" || parent.tag.type === "Identifier" && (parent.tag.name === "gql" || parent.tag.name === "graphql")) || parent.type === "CallExpression" && parent.callee.type === "Identifier" && parent.callee.name === "graphql");
}
function printGraphql(path) {
  if (isGraphQL(path)) {
    return printEmbedGraphQL;
  }
}
var graphql_default = printGraphql;
 
// src/language-js/embed/html.js
var htmlTemplateLiteralCounter = 0;
async function printEmbedHtmlLike(parser, textToDoc, print3, path, options2) {
  const { node } = path;
  const counter = htmlTemplateLiteralCounter;
  htmlTemplateLiteralCounter = htmlTemplateLiteralCounter + 1 >>> 0;
  const composePlaceholder = (index) => `PRETTIER_HTML_PLACEHOLDER_${index}_${counter}_IN_JS`;
  const text = node.quasis.map(
    (quasi, index, quasis) => index === quasis.length - 1 ? quasi.value.cooked : quasi.value.cooked + composePlaceholder(index)
  ).join("");
  const expressionDocs = printTemplateExpressions(path, print3);
  const placeholderRegex = new RegExp(
    composePlaceholder(String.raw`(\d+)`),
    "gu"
  );
  let topLevelCount = 0;
  const doc = await textToDoc(text, {
    parser,
    __onHtmlRoot(root) {
      topLevelCount = root.children.length;
    }
  });
  const contentDoc = mapDoc(doc, (doc2) => {
    if (typeof doc2 !== "string") {
      return doc2;
    }
    const parts = [];
    const components = doc2.split(placeholderRegex);
    for (let i = 0; i < components.length; i++) {
      let component = components[i];
      if (i % 2 === 0) {
        if (component) {
          component = uncookTemplateElementValue(component);
          if (options2.__embeddedInHtml) {
            component = string_replace_all_default(
              /* isOptionalObject */
              false,
              component,
              /<\/(?=script\b)/giu,
              String.raw`<\/`
            );
          }
          parts.push(component);
        }
        continue;
      }
      const placeholderIndex = Number(component);
      parts.push(expressionDocs[placeholderIndex]);
    }
    return parts;
  });
  const leadingWhitespace = /^\s/u.test(text) ? " " : "";
  const trailingWhitespace = /\s$/u.test(text) ? " " : "";
  const linebreak = options2.htmlWhitespaceSensitivity === "ignore" ? hardline : leadingWhitespace && trailingWhitespace ? line : null;
  if (linebreak) {
    return group(["`", indent([linebreak, group(contentDoc)]), linebreak, "`"]);
  }
  return label(
    { hug: false },
    group([
      "`",
      leadingWhitespace,
      topLevelCount > 1 ? indent(group(contentDoc)) : group(contentDoc),
      trailingWhitespace,
      "`"
    ])
  );
}
function isHtml(path) {
  return hasLanguageComment(path, "HTML") || path.match(
    (node) => node.type === "TemplateLiteral",
    (node, name) => node.type === "TaggedTemplateExpression" && node.tag.type === "Identifier" && node.tag.name === "html" && name === "quasi"
  );
}
var printEmbedHtml = printEmbedHtmlLike.bind(void 0, "html");
var printEmbedAngular = printEmbedHtmlLike.bind(void 0, "angular");
function printHtml(path) {
  if (isHtml(path)) {
    return printEmbedHtml;
  }
  if (isAngularComponentTemplate(path)) {
    return printEmbedAngular;
  }
}
var html_default = printHtml;
 
// src/language-js/embed/markdown.js
async function printEmbedMarkdown(textToDoc, print3, path) {
  const { node } = path;
  let text = string_replace_all_default(
    /* isOptionalObject */
    false,
    node.quasis[0].value.raw,
    /((?:\\\\)*)\\`/gu,
    (_, backslashes) => "\\".repeat(backslashes.length / 2) + "`"
  );
  const indentation = getIndentation(text);
  const hasIndent = indentation !== "";
  if (hasIndent) {
    text = string_replace_all_default(
      /* isOptionalObject */
      false,
      text,
      new RegExp(`^${indentation}`, "gmu"),
      ""
    );
  }
  const doc = escapeTemplateCharacters(
    await textToDoc(text, { parser: "markdown", __inJsTemplate: true }),
    true
  );
  return [
    "`",
    hasIndent ? indent([softline, doc]) : [literalline, dedentToRoot(doc)],
    softline,
    "`"
  ];
}
function getIndentation(str) {
  const firstMatchedIndent = str.match(/^([^\S\n]*)\S/mu);
  return firstMatchedIndent === null ? "" : firstMatchedIndent[1];
}
function printMarkdown(path) {
  if (isMarkdown(path)) {
    return printEmbedMarkdown;
  }
}
function isMarkdown({ node, parent }) {
  return (parent == null ? void 0 : parent.type) === "TaggedTemplateExpression" && node.quasis.length === 1 && parent.tag.type === "Identifier" && (parent.tag.name === "md" || parent.tag.name === "markdown");
}
var markdown_default = printMarkdown;
 
// src/language-js/embed/index.js
function embed(path) {
  const { node } = path;
  if (node.type !== "TemplateLiteral" || // Bail out if any of the quasis have an invalid escape sequence
  // (which would make the `cooked` value be `null`)
  hasInvalidCookedValue(node)) {
    return;
  }
  let embedder;
  for (const getEmbedder of [
    css_default,
    graphql_default,
    html_default,
    markdown_default
  ]) {
    embedder = getEmbedder(path);
    if (!embedder) {
      continue;
    }
    if (node.quasis.length === 1 && node.quasis[0].value.raw.trim() === "") {
      return "``";
    }
    return async (...args) => {
      const doc = await embedder(...args);
      return doc && label({ embed: true, ...doc.label }, doc);
    };
  }
}
function hasInvalidCookedValue({ quasis }) {
  return quasis.some(({ value: { cooked } }) => cooked === null);
}
var embed_default = embed;
 
// node_modules/jest-docblock/build/index.js
var commentEndRe = /\*\/$/;
var commentStartRe = /^\/\*\*?/;
var docblockRe = /^\s*(\/\*\*?(.|\r?\n)*?\*\/)/;
var lineCommentRe = /(^|\s+)\/\/([^\n\r]*)/g;
var ltrimNewlineRe = /^(\r?\n)+/;
var multilineRe = /(?:^|\r?\n) *(@[^\n\r]*?) *\r?\n *(?![^\n\r@]*\/\/[^]*)([^\s@][^\n\r@]+?) *\r?\n/g;
var propertyRe = /(?:^|\r?\n) *@(\S+) *([^\n\r]*)/g;
var stringStartRe = /(\r?\n|^) *\* ?/g;
var STRING_ARRAY = [];
function extract(contents) {
  const match = contents.match(docblockRe);
  return match ? match[0].trimStart() : "";
}
function strip(contents) {
  const matchResult = contents.match(docblockRe);
  const match = matchResult == null ? void 0 : matchResult[0];
  return match == null ? contents : contents.slice(match.length);
}
function parseWithComments(docblock) {
  const line2 = "\n";
  docblock = string_replace_all_default(
    /* isOptionalObject */
    false,
    docblock.replace(commentStartRe, "").replace(commentEndRe, ""),
    stringStartRe,
    "$1"
  );
  let prev = "";
  while (prev !== docblock) {
    prev = docblock;
    docblock = string_replace_all_default(
      /* isOptionalObject */
      false,
      docblock,
      multilineRe,
      `${line2}$1 $2${line2}`
    );
  }
  docblock = docblock.replace(ltrimNewlineRe, "").trimEnd();
  const result = /* @__PURE__ */ Object.create(null);
  const comments = string_replace_all_default(
    /* isOptionalObject */
    false,
    docblock,
    propertyRe,
    ""
  ).replace(ltrimNewlineRe, "").trimEnd();
  let match;
  while (match = propertyRe.exec(docblock)) {
    const nextPragma = string_replace_all_default(
      /* isOptionalObject */
      false,
      match[2],
      lineCommentRe,
      ""
    );
    if (typeof result[match[1]] === "string" || Array.isArray(result[match[1]])) {
      const resultElement = result[match[1]];
      result[match[1]] = [...STRING_ARRAY, ...Array.isArray(resultElement) ? resultElement : [resultElement], nextPragma];
    } else {
      result[match[1]] = nextPragma;
    }
  }
  return {
    comments,
    pragmas: result
  };
}
function print({
  comments = "",
  pragmas = {}
}) {
  const line2 = "\n";
  const head = "/**";
  const start = " *";
  const tail = " */";
  const keys = Object.keys(pragmas);
  const printedObject = keys.flatMap((key) => printKeyValues(key, pragmas[key])).map((keyValue) => `${start} ${keyValue}${line2}`).join("");
  if (!comments) {
    if (keys.length === 0) {
      return "";
    }
    if (keys.length === 1 && !Array.isArray(pragmas[keys[0]])) {
      const value = pragmas[keys[0]];
      return `${head} ${printKeyValues(keys[0], value)[0]}${tail}`;
    }
  }
  const printedComments = comments.split(line2).map((textLine) => `${start} ${textLine}`).join(line2) + line2;
  return head + line2 + (comments ? printedComments : "") + (comments && keys.length > 0 ? start + line2 : "") + printedObject + tail;
}
function printKeyValues(key, valueOrArray) {
  return [...STRING_ARRAY, ...Array.isArray(valueOrArray) ? valueOrArray : [valueOrArray]].map((value) => `@${key} ${value}`.trim());
}
 
// src/utils/pragma/pragma.evaluate.js
var FORMAT_PRAGMA_TO_INSERT = "format";
 
// src/language-js/utils/get-shebang.js
function getShebang(text) {
  if (!text.startsWith("#!")) {
    return "";
  }
  const index = text.indexOf("\n");
  if (index === -1) {
    return text;
  }
  return text.slice(0, index);
}
var get_shebang_default = getShebang;
 
// src/language-js/pragma.js
function parseDocBlock(text) {
  const shebang = get_shebang_default(text);
  if (shebang) {
    text = text.slice(shebang.length + 1);
  }
  const docBlock = extract(text);
  const { pragmas, comments } = parseWithComments(docBlock);
  return { shebang, text, pragmas, comments };
}
function insertPragma(originalText) {
  const { shebang, text, pragmas, comments } = parseDocBlock(originalText);
  const strippedText = strip(text);
  let docBlock = print({
    pragmas: {
      [FORMAT_PRAGMA_TO_INSERT]: "",
      ...pragmas
    },
    comments: comments.trimStart()
  });
  if (false) {
    docBlock = normalizeEndOfLine(docBlock);
  }
  return (shebang ? `${shebang}
` : "") + docBlock + (strippedText.startsWith("\n") ? "\n" : "\n\n") + strippedText;
}
 
// src/main/print-ignored.js
function printIgnored(path, options2) {
  const {
    originalText,
    [Symbol.for("comments")]: comments,
    locStart: locStart2,
    locEnd: locEnd2,
    [Symbol.for("printedComments")]: printedComments
  } = options2;
  const { node } = path;
  const start = locStart2(node);
  const end = locEnd2(node);
  for (const comment of comments) {
    if (locStart2(comment) >= start && locEnd2(comment) <= end) {
      printedComments.add(comment);
    }
  }
  return originalText.slice(start, end);
}
var print_ignored_default = printIgnored;
 
// src/language-js/needs-parens.js
function needsParens(path, options2) {
  var _a, _b, _c, _d, _e, _f, _g, _h, _i;
  if (path.isRoot) {
    return false;
  }
  const { node, key, parent } = path;
  if (options2.__isInHtmlInterpolation && !options2.bracketSpacing && endsWithRightBracket(node) && isFollowedByRightBracket(path)) {
    return true;
  }
  if (isStatement(node)) {
    return false;
  }
  if (node.type === "Identifier") {
    if (((_a = node.extra) == null ? void 0 : _a.parenthesized) && /^PRETTIER_HTML_PLACEHOLDER_\d+_\d+_IN_JS$/u.test(node.name)) {
      return true;
    }
    if (key === "left" && (node.name === "async" && !parent.await || node.name === "let") && parent.type === "ForOfStatement") {
      return true;
    }
    if (node.name === "let") {
      const expression = (_b = path.findAncestor(
        (node2) => node2.type === "ForOfStatement"
      )) == null ? void 0 : _b.left;
      if (expression && startsWithNoLookaheadToken(
        expression,
        (leftmostNode) => leftmostNode === node
      )) {
        return true;
      }
    }
    if (key === "object" && node.name === "let" && parent.type === "MemberExpression" && parent.computed && !parent.optional) {
      const statement = path.findAncestor(
        (node2) => node2.type === "ExpressionStatement" || node2.type === "ForStatement" || node2.type === "ForInStatement"
      );
      const expression = !statement ? void 0 : statement.type === "ExpressionStatement" ? statement.expression : statement.type === "ForStatement" ? statement.init : statement.left;
      if (expression && startsWithNoLookaheadToken(
        expression,
        (leftmostNode) => leftmostNode === node
      )) {
        return true;
      }
    }
    if (key === "expression") {
      switch (node.name) {
        case "await":
        case "interface":
        case "module":
        case "using":
        case "yield":
        case "let":
        case "component":
        case "hook":
        case "type": {
          const ancestorNeitherAsNorSatisfies = path.findAncestor(
            (node2) => !isBinaryCastExpression(node2)
          );
          if (ancestorNeitherAsNorSatisfies !== parent && ancestorNeitherAsNorSatisfies.type === "ExpressionStatement") {
            return true;
          }
        }
      }
    }
    return false;
  }
  if (node.type === "ObjectExpression" || node.type === "FunctionExpression" || node.type === "ClassExpression" || node.type === "DoExpression") {
    const expression = (_c = path.findAncestor(
      (node2) => node2.type === "ExpressionStatement"
    )) == null ? void 0 : _c.expression;
    if (expression && startsWithNoLookaheadToken(
      expression,
      (leftmostNode) => leftmostNode === node
    )) {
      return true;
    }
  }
  if (node.type === "ObjectExpression") {
    const arrowFunctionBody = (_d = path.findAncestor(
      (node2) => node2.type === "ArrowFunctionExpression"
    )) == null ? void 0 : _d.body;
    if (arrowFunctionBody && arrowFunctionBody.type !== "SequenceExpression" && // these have parens added anyway
    arrowFunctionBody.type !== "AssignmentExpression" && startsWithNoLookaheadToken(
      arrowFunctionBody,
      (leftmostNode) => leftmostNode === node
    )) {
      return true;
    }
  }
  switch (parent.type) {
    case "ParenthesizedExpression":
      return false;
    case "ClassDeclaration":
    case "ClassExpression":
      if (key === "superClass" && (node.type === "ArrowFunctionExpression" || node.type === "AssignmentExpression" || node.type === "AwaitExpression" || node.type === "BinaryExpression" || node.type === "ConditionalExpression" || node.type === "LogicalExpression" || node.type === "NewExpression" || node.type === "ObjectExpression" || node.type === "SequenceExpression" || node.type === "TaggedTemplateExpression" || node.type === "UnaryExpression" || node.type === "UpdateExpression" || node.type === "YieldExpression" || node.type === "TSNonNullExpression" || node.type === "ClassExpression" && is_non_empty_array_default(node.decorators))) {
        return true;
      }
      break;
    case "ExportDefaultDeclaration":
      return (
        // `export default function` or `export default class` can't be followed by
        // anything after. So an expression like `export default (function(){}).toString()`
        // needs to be followed by a parentheses
        shouldWrapFunctionForExportDefault(path, options2) || // `export default (foo, bar)` also needs parentheses
        node.type === "SequenceExpression"
      );
    case "Decorator":
      if (key === "expression" && !canDecoratorExpressionUnparenthesized(node)) {
        return true;
      }
      break;
    case "TypeAnnotation":
      if (path.match(
        void 0,
        void 0,
        (node2, key2) => key2 === "returnType" && node2.type === "ArrowFunctionExpression"
      ) && includesFunctionTypeInObjectType(node)) {
        return true;
      }
      break;
    // A user typing `!foo instanceof Bar` probably intended
    // `!(foo instanceof Bar)`, so format to `(!foo) instance Bar` to what is
    // really happening
    case "BinaryExpression":
      if (key === "left" && (parent.operator === "in" || parent.operator === "instanceof") && node.type === "UnaryExpression") {
        return true;
      }
      break;
    case "VariableDeclarator":
      if (key === "init" && path.match(
        void 0,
        void 0,
        (node2, key2) => key2 === "declarations" && node2.type === "VariableDeclaration",
        (node2, key2) => key2 === "left" && node2.type === "ForInStatement"
      )) {
        return true;
      }
      break;
  }
  switch (node.type) {
    case "UpdateExpression":
      if (parent.type === "UnaryExpression") {
        return node.prefix && (node.operator === "++" && parent.operator === "+" || node.operator === "--" && parent.operator === "-");
      }
    // else fallthrough
    case "UnaryExpression":
      switch (parent.type) {
        case "UnaryExpression":
          return node.operator === parent.operator && (node.operator === "+" || node.operator === "-");
        case "BindExpression":
          return true;
        case "MemberExpression":
        case "OptionalMemberExpression":
          return key === "object";
        case "TaggedTemplateExpression":
          return true;
        case "NewExpression":
        case "CallExpression":
        case "OptionalCallExpression":
          return key === "callee";
        case "BinaryExpression":
          return key === "left" && parent.operator === "**";
        case "TSNonNullExpression":
          return true;
        default:
          return false;
      }
    case "BinaryExpression":
      if (parent.type === "UpdateExpression") {
        return true;
      }
      if (node.operator === "in" && isPathInForStatementInitializer(path)) {
        return true;
      }
      if (node.operator === "|>" && ((_e = node.extra) == null ? void 0 : _e.parenthesized)) {
        const grandParent = path.grandparent;
        if (grandParent.type === "BinaryExpression" && grandParent.operator === "|>") {
          return true;
        }
      }
    // fallthrough
    case "TSTypeAssertion":
    case "TSAsExpression":
    case "TSSatisfiesExpression":
    case "AsExpression":
    case "AsConstExpression":
    case "SatisfiesExpression":
    case "LogicalExpression":
      switch (parent.type) {
        case "TSAsExpression":
        case "TSSatisfiesExpression":
        case "AsExpression":
        case "AsConstExpression":
        case "SatisfiesExpression":
          return !isBinaryCastExpression(node);
        case "ConditionalExpression":
          return isBinaryCastExpression(node) || isNullishCoalescing(node);
        case "CallExpression":
        case "NewExpression":
        case "OptionalCallExpression":
          return key === "callee";
        case "ClassExpression":
        case "ClassDeclaration":
          return key === "superClass";
        case "TSTypeAssertion":
        case "TaggedTemplateExpression":
        case "UnaryExpression":
        case "JSXSpreadAttribute":
        case "SpreadElement":
        case "BindExpression":
        case "AwaitExpression":
        case "TSNonNullExpression":
        case "UpdateExpression":
          return true;
        case "MemberExpression":
        case "OptionalMemberExpression":
          return key === "object";
        case "AssignmentExpression":
        case "AssignmentPattern":
          return key === "left" && (node.type === "TSTypeAssertion" || isBinaryCastExpression(node));
        case "LogicalExpression":
          if (node.type === "LogicalExpression") {
            return parent.operator !== node.operator;
          }
        // else fallthrough
        case "BinaryExpression": {
          const { operator, type } = node;
          if (!operator && type !== "TSTypeAssertion") {
            return true;
          }
          const precedence = getPrecedence(operator);
          const parentOperator = parent.operator;
          const parentPrecedence = getPrecedence(parentOperator);
          if (parentPrecedence > precedence) {
            return true;
          }
          if (key === "right" && parentPrecedence === precedence) {
            return true;
          }
          if (parentPrecedence === precedence && !shouldFlatten(parentOperator, operator)) {
            return true;
          }
          if (parentPrecedence < precedence && operator === "%") {
            return parentOperator === "+" || parentOperator === "-";
          }
          if (isBitwiseOperator(parentOperator)) {
            return true;
          }
          return false;
        }
        default:
          return false;
      }
    case "SequenceExpression":
      if (parent.type === "ForStatement") {
        return false;
      }
      return true;
    case "YieldExpression":
      if (parent.type === "AwaitExpression" || parent.type === "TSTypeAssertion") {
        return true;
      }
    // else fallthrough
    case "AwaitExpression":
      switch (parent.type) {
        case "TaggedTemplateExpression":
        case "UnaryExpression":
        case "LogicalExpression":
        case "SpreadElement":
        case "TSAsExpression":
        case "TSSatisfiesExpression":
        case "TSNonNullExpression":
        case "AsExpression":
        case "AsConstExpression":
        case "SatisfiesExpression":
        case "BindExpression":
          return true;
        case "MemberExpression":
        case "OptionalMemberExpression":
          return key === "object";
        case "NewExpression":
        case "CallExpression":
        case "OptionalCallExpression":
          return key === "callee";
        case "ConditionalExpression":
          return key === "test";
        case "BinaryExpression":
          if (!node.argument && parent.operator === "|>") {
            return false;
          }
          return true;
        default:
          return false;
      }
    case "TSFunctionType":
      if (path.match(
        (node2) => node2.type === "TSFunctionType",
        (node2, key2) => key2 === "typeAnnotation" && node2.type === "TSTypeAnnotation",
        (node2, key2) => key2 === "returnType" && node2.type === "ArrowFunctionExpression"
      )) {
        return true;
      }
    // fallthrough
    case "TSConditionalType":
    case "TSConstructorType":
    case "ConditionalTypeAnnotation":
      if (key === "extendsType" && isConditionalType(node) && parent.type === node.type) {
        return true;
      }
      if (key === "checkType" && isConditionalType(parent)) {
        return true;
      }
      if (key === "extendsType" && parent.type === "TSConditionalType") {
        let { typeAnnotation } = node.returnType || node.typeAnnotation;
        if (typeAnnotation.type === "TSTypePredicate" && typeAnnotation.typeAnnotation) {
          typeAnnotation = typeAnnotation.typeAnnotation.typeAnnotation;
        }
        if (typeAnnotation.type === "TSInferType" && typeAnnotation.typeParameter.constraint) {
          return true;
        }
      }
    // fallthrough
    case "TSUnionType":
    case "TSIntersectionType":
      if ((isUnionType(parent) || isIntersectionType(parent)) && parent.types.length > 1 && (!node.types || node.types.length > 1)) {
        return true;
      }
    // fallthrough
    case "TSInferType":
      if (node.type === "TSInferType") {
        if (parent.type === "TSRestType") {
          return false;
        }
        if (key === "types" && (parent.type === "TSUnionType" || parent.type === "TSIntersectionType") && node.typeParameter.type === "TSTypeParameter" && node.typeParameter.constraint) {
          return true;
        }
      }
    // fallthrough
    case "TSTypeOperator":
      return parent.type === "TSArrayType" || parent.type === "TSOptionalType" || parent.type === "TSRestType" || key === "objectType" && parent.type === "TSIndexedAccessType" || parent.type === "TSTypeOperator" || parent.type === "TSTypeAnnotation" && path.grandparent.type.startsWith("TSJSDoc");
    case "TSTypeQuery":
      return key === "objectType" && parent.type === "TSIndexedAccessType" || key === "elementType" && parent.type === "TSArrayType";
    // Same as `TSTypeOperator`, but for Flow syntax
    case "TypeOperator":
      return parent.type === "ArrayTypeAnnotation" || parent.type === "NullableTypeAnnotation" || key === "objectType" && (parent.type === "IndexedAccessType" || parent.type === "OptionalIndexedAccessType") || parent.type === "TypeOperator";
    // Same as `TSTypeQuery`, but for Flow syntax
    case "TypeofTypeAnnotation":
      return key === "objectType" && (parent.type === "IndexedAccessType" || parent.type === "OptionalIndexedAccessType") || key === "elementType" && parent.type === "ArrayTypeAnnotation";
    case "ArrayTypeAnnotation":
      return parent.type === "NullableTypeAnnotation";
    case "IntersectionTypeAnnotation":
    case "UnionTypeAnnotation":
      return parent.type === "TypeOperator" || parent.type === "ArrayTypeAnnotation" || parent.type === "NullableTypeAnnotation" || parent.type === "IntersectionTypeAnnotation" || parent.type === "UnionTypeAnnotation" || key === "objectType" && (parent.type === "IndexedAccessType" || parent.type === "OptionalIndexedAccessType");
    case "InferTypeAnnotation":
    case "NullableTypeAnnotation":
      return parent.type === "ArrayTypeAnnotation" || key === "objectType" && (parent.type === "IndexedAccessType" || parent.type === "OptionalIndexedAccessType");
    case "ComponentTypeAnnotation":
    case "FunctionTypeAnnotation": {
      if (node.type === "ComponentTypeAnnotation" && (node.rendersType === null || node.rendersType === void 0)) {
        return false;
      }
      if (path.match(
        void 0,
        (node2, key2) => key2 === "typeAnnotation" && node2.type === "TypeAnnotation",
        (node2, key2) => key2 === "returnType" && node2.type === "ArrowFunctionExpression"
      )) {
        return true;
      }
      if (path.match(
        void 0,
        (node2, key2) => key2 === "typeAnnotation" && node2.type === "TypePredicate",
        (node2, key2) => key2 === "typeAnnotation" && node2.type === "TypeAnnotation",
        (node2, key2) => key2 === "returnType" && node2.type === "ArrowFunctionExpression"
      )) {
        return true;
      }
      const ancestor = parent.type === "NullableTypeAnnotation" ? path.grandparent : parent;
      return ancestor.type === "UnionTypeAnnotation" || ancestor.type === "IntersectionTypeAnnotation" || ancestor.type === "ArrayTypeAnnotation" || key === "objectType" && (ancestor.type === "IndexedAccessType" || ancestor.type === "OptionalIndexedAccessType") || key === "checkType" && parent.type === "ConditionalTypeAnnotation" || key === "extendsType" && parent.type === "ConditionalTypeAnnotation" && ((_f = node.returnType) == null ? void 0 : _f.type) === "InferTypeAnnotation" && ((_g = node.returnType) == null ? void 0 : _g.typeParameter.bound) || // We should check ancestor's parent to know whether the parentheses
      // are really needed, but since ??T doesn't make sense this check
      // will almost never be true.
      ancestor.type === "NullableTypeAnnotation" || // See #5283
      parent.type === "FunctionTypeParam" && parent.name === null && getFunctionParameters(node).some(
        (param) => {
          var _a2;
          return ((_a2 = param.typeAnnotation) == null ? void 0 : _a2.type) === "NullableTypeAnnotation";
        }
      );
    }
    // fallthrough
    case "OptionalIndexedAccessType":
      return key === "objectType" && parent.type === "IndexedAccessType";
    case "StringLiteral":
    case "NumericLiteral":
    case "Literal":
      if (typeof node.value === "string" && parent.type === "ExpressionStatement" && typeof parent.directive !== "string") {
        const grandParent = path.grandparent;
        return grandParent.type === "Program" || grandParent.type === "BlockStatement";
      }
      return key === "object" && isMemberExpression(parent) && isNumericLiteral(node);
    case "AssignmentExpression":
      if ((key === "init" || key === "update") && parent.type === "ForStatement") {
        return false;
      }
      if (key === "expression" && node.left.type !== "ObjectPattern" && parent.type === "ExpressionStatement") {
        return false;
      }
      if (key === "key" && parent.type === "TSPropertySignature") {
        return false;
      }
      if (parent.type === "AssignmentExpression") {
        return false;
      }
      if (key === "expressions" && parent.type === "SequenceExpression" && path.match(
        void 0,
        void 0,
        (node2, name) => (name === "init" || name === "update") && node2.type === "ForStatement"
      )) {
        return false;
      }
      if (key === "value" && parent.type === "Property" && path.match(
        void 0,
        void 0,
        (node2, name) => name === "properties" && node2.type === "ObjectPattern"
      )) {
        return false;
      }
      if (parent.type === "NGChainedExpression") {
        return false;
      }
      if (key === "node" && parent.type === "JsExpressionRoot") {
        return false;
      }
      return true;
    case "ConditionalExpression":
      switch (parent.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 true;
        case "NewExpression":
        case "CallExpression":
        case "OptionalCallExpression":
          return key === "callee";
        case "ConditionalExpression":
          if (!options2.experimentalTernaries) {
            return key === "test";
          }
          return false;
        case "MemberExpression":
        case "OptionalMemberExpression":
          return key === "object";
        default:
          return false;
      }
    case "FunctionExpression":
      switch (parent.type) {
        case "NewExpression":
        case "CallExpression":
        case "OptionalCallExpression":
          return key === "callee";
        case "TaggedTemplateExpression":
          return true;
        // This is basically a kind of IIFE.
        default:
          return false;
      }
    case "ArrowFunctionExpression":
      switch (parent.type) {
        case "BinaryExpression":
          return parent.operator !== "|>" || ((_h = node.extra) == null ? void 0 : _h.parenthesized);
        case "NewExpression":
        case "CallExpression":
        case "OptionalCallExpression":
          return key === "callee";
        case "MemberExpression":
        case "OptionalMemberExpression":
          return key === "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":
          return true;
        case "ConditionalExpression":
          return key === "test";
        default:
          return false;
      }
    case "ClassExpression":
      switch (parent.type) {
        case "NewExpression":
          return key === "callee";
        default:
          return false;
      }
    case "OptionalMemberExpression":
    case "OptionalCallExpression":
    case "CallExpression":
    case "MemberExpression":
      if (shouldAddParenthesesToChainElement(path)) {
        return true;
      }
    // fallthrough
    case "TaggedTemplateExpression":
    case "TSNonNullExpression":
      if (key === "callee" && (parent.type === "BindExpression" || parent.type === "NewExpression")) {
        let object = node;
        while (object) {
          switch (object.type) {
            case "CallExpression":
            case "OptionalCallExpression":
              return true;
            case "MemberExpression":
            case "OptionalMemberExpression":
            case "BindExpression":
              object = object.object;
              break;
            // tagged templates are basically member expressions from a grammar perspective
            // see https://tc39.github.io/ecma262/#prod-MemberExpression
            case "TaggedTemplateExpression":
              object = object.tag;
              break;
            case "TSNonNullExpression":
              object = object.expression;
              break;
            default:
              return false;
          }
        }
      }
      return false;
    case "BindExpression":
      return key === "callee" && (parent.type === "BindExpression" || parent.type === "NewExpression") || key === "object" && isMemberExpression(parent);
    case "NGPipeExpression":
      if (parent.type === "NGRoot" || parent.type === "NGMicrosyntaxExpression" || parent.type === "ObjectProperty" && // Preserve parens for compatibility with AngularJS expressions
      !((_i = node.extra) == null ? void 0 : _i.parenthesized) || isArrayExpression(parent) || key === "arguments" && isCallExpression(parent) || key === "right" && parent.type === "NGPipeExpression" || key === "property" && parent.type === "MemberExpression" || parent.type === "AssignmentExpression") {
        return false;
      }
      return true;
    case "JSXFragment":
    case "JSXElement":
      return key === "callee" || key === "left" && parent.type === "BinaryExpression" && parent.operator === "<" || !isArrayExpression(parent) && parent.type !== "ArrowFunctionExpression" && parent.type !== "AssignmentExpression" && parent.type !== "AssignmentPattern" && parent.type !== "BinaryExpression" && parent.type !== "NewExpression" && parent.type !== "ConditionalExpression" && parent.type !== "ExpressionStatement" && parent.type !== "JsExpressionRoot" && parent.type !== "JSXAttribute" && parent.type !== "JSXElement" && parent.type !== "JSXExpressionContainer" && parent.type !== "JSXFragment" && parent.type !== "LogicalExpression" && !isCallExpression(parent) && !isObjectProperty(parent) && parent.type !== "ReturnStatement" && parent.type !== "ThrowStatement" && parent.type !== "TypeCastExpression" && parent.type !== "VariableDeclarator" && parent.type !== "YieldExpression";
    case "TSInstantiationExpression":
      return key === "object" && isMemberExpression(parent);
  }
  return false;
}
var isStatement = create_type_check_function_default([
  "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 isPathInForStatementInitializer(path) {
  let i = 0;
  let { node } = path;
  while (node) {
    const parent = path.getParentNode(i++);
    if ((parent == null ? void 0 : parent.type) === "ForStatement" && parent.init === node) {
      return true;
    }
    node = parent;
  }
  return false;
}
function includesFunctionTypeInObjectType(node) {
  return hasNode(
    node,
    (node2) => node2.type === "ObjectTypeAnnotation" && hasNode(node2, (node3) => node3.type === "FunctionTypeAnnotation")
  );
}
function endsWithRightBracket(node) {
  return isObjectExpression(node);
}
function isFollowedByRightBracket(path) {
  const { parent, key } = path;
  switch (parent.type) {
    case "NGPipeExpression":
      if (key === "arguments" && path.isLast) {
        return path.callParent(isFollowedByRightBracket);
      }
      break;
    case "ObjectProperty":
      if (key === "value") {
        return path.callParent(() => path.key === "properties" && path.isLast);
      }
      break;
    case "BinaryExpression":
    case "LogicalExpression":
      if (key === "right") {
        return path.callParent(isFollowedByRightBracket);
      }
      break;
    case "ConditionalExpression":
      if (key === "alternate") {
        return path.callParent(isFollowedByRightBracket);
      }
      break;
    case "UnaryExpression":
      if (parent.prefix) {
        return path.callParent(isFollowedByRightBracket);
      }
      break;
  }
  return false;
}
function shouldWrapFunctionForExportDefault(path, options2) {
  const { node, parent } = path;
  if (node.type === "FunctionExpression" || node.type === "ClassExpression") {
    return parent.type === "ExportDefaultDeclaration" || // in some cases the function is already wrapped
    // (e.g. `export default (function() {})();`)
    // in this case we don't need to add extra parens
    !needsParens(path, options2);
  }
  if (!hasNakedLeftSide(node) || parent.type !== "ExportDefaultDeclaration" && needsParens(path, options2)) {
    return false;
  }
  return path.call(
    () => shouldWrapFunctionForExportDefault(path, options2),
    ...getLeftSidePathName(node)
  );
}
function shouldAddParenthesesToChainElement(path) {
  if (
    // ESTree
    path.match(
      void 0,
      (node, name) => name === "expression" && node.type === "ChainExpression",
      (node, name) => name === "tag" && node.type === "TaggedTemplateExpression"
    ) || // Babel
    path.match(
      (node) => node.type === "OptionalCallExpression" || node.type === "OptionalMemberExpression",
      (node, name) => name === "tag" && node.type === "TaggedTemplateExpression"
    ) || // Babel-ts
    // (a?.b)!``;
    // (a?.b!)``;
    path.match(
      (node) => node.type === "OptionalCallExpression" || node.type === "OptionalMemberExpression",
      (node, name) => name === "expression" && node.type === "TSNonNullExpression",
      (node, name) => name === "tag" && node.type === "TaggedTemplateExpression"
    ) || // case (a?.b)!``; in Typescript
    path.match(
      void 0,
      (node, name) => name === "expression" && node.type === "ChainExpression",
      (node, name) => name === "expression" && node.type === "TSNonNullExpression",
      (node, name) => name === "tag" && node.type === "TaggedTemplateExpression"
    ) || // case (a?.b!)``; in Typescript
    path.match(
      void 0,
      (node, name) => name === "expression" && node.type === "TSNonNullExpression",
      (node, name) => name === "expression" && node.type === "ChainExpression",
      (node, name) => name === "tag" && node.type === "TaggedTemplateExpression"
    )
  ) {
    return true;
  }
  if (path.match(
    (node) => node.type === "OptionalMemberExpression" || node.type === "OptionalCallExpression",
    (node, name) => name === "object" && node.type === "MemberExpression" || name === "callee" && (node.type === "CallExpression" || node.type === "NewExpression")
  ) || path.match(
    (node) => node.type === "OptionalMemberExpression" || node.type === "OptionalCallExpression",
    (node, name) => name === "expression" && node.type === "TSNonNullExpression",
    (node, name) => name === "object" && node.type === "MemberExpression" || name === "callee" && node.type === "CallExpression"
  )) {
    return true;
  }
  if (path.match(
    (node) => node.type === "CallExpression" || node.type === "MemberExpression",
    (node, name) => name === "expression" && node.type === "ChainExpression"
  ) && (path.match(
    void 0,
    void 0,
    (node, name) => name === "callee" && (node.type === "CallExpression" && !node.optional || node.type === "NewExpression") || name === "object" && node.type === "MemberExpression" && !node.optional
  ) || path.match(
    void 0,
    void 0,
    (node, name) => name === "expression" && node.type === "TSNonNullExpression",
    (node, name) => name === "object" && node.type === "MemberExpression" || name === "callee" && node.type === "CallExpression"
  ))) {
    return true;
  }
  if (path.match(
    (node) => node.type === "CallExpression" || node.type === "MemberExpression",
    (node, name) => name === "expression" && node.type === "TSNonNullExpression",
    (node, name) => name === "expression" && node.type === "ChainExpression",
    (node, name) => name === "object" && node.type === "MemberExpression" || name === "callee" && node.type === "CallExpression"
  )) {
    return true;
  }
  return false;
}
function isDecoratorMemberExpression(node) {
  if (node.type === "Identifier") {
    return true;
  }
  if (isMemberExpression(node)) {
    return !node.computed && !node.optional && node.property.type === "Identifier" && isDecoratorMemberExpression(node.object);
  }
  return false;
}
function canDecoratorExpressionUnparenthesized(node) {
  if (node.type === "ChainExpression") {
    node = node.expression;
  }
  return isDecoratorMemberExpression(node) || isCallExpression(node) && !node.optional && isDecoratorMemberExpression(node.callee);
}
var needs_parens_default = needsParens;
 
// src/utils/is-previous-line-empty.js
function isPreviousLineEmpty(text, startIndex) {
  let idx = startIndex - 1;
  idx = skipSpaces(text, idx, { backwards: true });
  idx = skip_newline_default(text, idx, { backwards: true });
  idx = skipSpaces(text, idx, { backwards: true });
  const idx2 = skip_newline_default(text, idx, { backwards: true });
  return idx !== idx2;
}
var is_previous_line_empty_default = isPreviousLineEmpty;
 
// src/main/comments/print.js
var returnTrue = () => true;
function printComment2(path, options2) {
  const comment = path.node;
  comment.printed = true;
  return options2.printer.printComment(path, options2);
}
function printLeadingComment(path, options2) {
  var _a;
  const comment = path.node;
  const parts = [printComment2(path, options2)];
  const { printer, originalText, locStart: locStart2, locEnd: locEnd2 } = options2;
  const isBlock = (_a = printer.isBlockComment) == null ? void 0 : _a.call(printer, comment);
  if (isBlock) {
    const lineBreak = has_newline_default(originalText, locEnd2(comment)) ? has_newline_default(originalText, locStart2(comment), {
      backwards: true
    }) ? hardline : line : " ";
    parts.push(lineBreak);
  } else {
    parts.push(hardline);
  }
  const index = skip_newline_default(
    originalText,
    skipSpaces(originalText, locEnd2(comment))
  );
  if (index !== false && has_newline_default(originalText, index)) {
    parts.push(hardline);
  }
  return parts;
}
function printTrailingComment(path, options2, previousComment) {
  var _a;
  const comment = path.node;
  const printed = printComment2(path, options2);
  const { printer, originalText, locStart: locStart2 } = options2;
  const isBlock = (_a = printer.isBlockComment) == null ? void 0 : _a.call(printer, comment);
  if ((previousComment == null ? void 0 : previousComment.hasLineSuffix) && !(previousComment == null ? void 0 : previousComment.isBlock) || has_newline_default(originalText, locStart2(comment), { backwards: true })) {
    const isLineBeforeEmpty = is_previous_line_empty_default(
      originalText,
      locStart2(comment)
    );
    return {
      doc: lineSuffix([hardline, isLineBeforeEmpty ? hardline : "", printed]),
      isBlock,
      hasLineSuffix: true
    };
  }
  if (!isBlock || (previousComment == null ? void 0 : previousComment.hasLineSuffix)) {
    return {
      doc: [lineSuffix([" ", printed]), breakParent],
      isBlock,
      hasLineSuffix: true
    };
  }
  return { doc: [" ", printed], isBlock, hasLineSuffix: false };
}
function printDanglingComments(path, options2, danglingCommentsPrintOptions = {}) {
  const { node } = path;
  if (!is_non_empty_array_default(node == null ? void 0 : node.comments)) {
    return "";
  }
  const {
    indent: shouldIndent = false,
    marker,
    filter = returnTrue
  } = danglingCommentsPrintOptions;
  const parts = [];
  path.each(({ node: comment }) => {
    if (comment.leading || comment.trailing || comment.marker !== marker || !filter(comment)) {
      return;
    }
    parts.push(printComment2(path, options2));
  }, "comments");
  if (parts.length === 0) {
    return "";
  }
  const doc = join(hardline, parts);
  return shouldIndent ? indent([hardline, doc]) : doc;
}
function printCommentsSeparately(path, options2) {
  const value = path.node;
  if (!value) {
    return {};
  }
  const ignored = options2[Symbol.for("printedComments")];
  const comments = (value.comments || []).filter(
    (comment) => !ignored.has(comment)
  );
  if (comments.length === 0) {
    return { leading: "", trailing: "" };
  }
  const leadingParts = [];
  const trailingParts = [];
  let printedTrailingComment;
  path.each(() => {
    const comment = path.node;
    if (ignored == null ? void 0 : ignored.has(comment)) {
      return;
    }
    const { leading, trailing } = comment;
    if (leading) {
      leadingParts.push(printLeadingComment(path, options2));
    } else if (trailing) {
      printedTrailingComment = printTrailingComment(
        path,
        options2,
        printedTrailingComment
      );
      trailingParts.push(printedTrailingComment.doc);
    }
  }, "comments");
  return { leading: leadingParts, trailing: trailingParts };
}
function printComments(path, doc, options2) {
  const { leading, trailing } = printCommentsSeparately(path, options2);
  if (!leading && !trailing) {
    return doc;
  }
  return inheritLabel(doc, (doc2) => [leading, doc2, trailing]);
}
 
// src/utils/unexpected-node-error.js
var UnexpectedNodeError = class extends Error {
  name = "UnexpectedNodeError";
  constructor(node, language, typeProperty = "type") {
    super(
      `Unexpected ${language} node ${typeProperty}: ${JSON.stringify(
        node[typeProperty]
      )}.`
    );
    this.node = node;
  }
};
var unexpected_node_error_default = UnexpectedNodeError;
 
// node_modules/escape-string-regexp/index.js
function escapeStringRegexp(string) {
  if (typeof string !== "string") {
    throw new TypeError("Expected a string");
  }
  return string.replace(/[|\\{}()[\]^$+*?.]/g, "\\$&").replace(/-/g, "\\x2d");
}
 
// src/utils/whitespace-utils.js
var _whitespaceCharacters;
var WhitespaceUtils = class {
  constructor(whitespaceCharacters) {
    __privateAdd(this, _whitespaceCharacters);
    __privateSet(this, _whitespaceCharacters, new Set(whitespaceCharacters));
    if (false) {
      throw new TypeError(
        `Invalid characters: ${JSON.stringify(whitespaceCharacters)}`
      );
    }
  }
  getLeadingWhitespaceCount(text) {
    const whitespaceCharacters = __privateGet(this, _whitespaceCharacters);
    let count = 0;
    for (let index = 0; index < text.length && whitespaceCharacters.has(text.charAt(index)); index++) {
      count++;
    }
    return count;
  }
  getTrailingWhitespaceCount(text) {
    const whitespaceCharacters = __privateGet(this, _whitespaceCharacters);
    let count = 0;
    for (let index = text.length - 1; index >= 0 && whitespaceCharacters.has(text.charAt(index)); index--) {
      count++;
    }
    return count;
  }
  getLeadingWhitespace(text) {
    const count = this.getLeadingWhitespaceCount(text);
    return text.slice(0, count);
  }
  getTrailingWhitespace(text) {
    const count = this.getTrailingWhitespaceCount(text);
    return text.slice(text.length - count);
  }
  hasLeadingWhitespace(text) {
    return __privateGet(this, _whitespaceCharacters).has(text.charAt(0));
  }
  hasTrailingWhitespace(text) {
    return __privateGet(this, _whitespaceCharacters).has(at_default(
      /* isOptionalObject */
      false,
      text,
      -1
    ));
  }
  trimStart(text) {
    const count = this.getLeadingWhitespaceCount(text);
    return text.slice(count);
  }
  trimEnd(text) {
    const count = this.getTrailingWhitespaceCount(text);
    return text.slice(0, text.length - count);
  }
  trim(text) {
    return this.trimEnd(this.trimStart(text));
  }
  split(text, captureWhitespace = false) {
    const pattern = `[${escapeStringRegexp(
      [...__privateGet(this, _whitespaceCharacters)].join("")
    )}]+`;
    const regexp = new RegExp(
      captureWhitespace ? `(${pattern})` : pattern,
      "u"
    );
    return text.split(regexp);
  }
  hasWhitespaceCharacter(text) {
    const whitespaceCharacters = __privateGet(this, _whitespaceCharacters);
    return Array.prototype.some.call(
      text,
      (character) => whitespaceCharacters.has(character)
    );
  }
  hasNonWhitespaceCharacter(text) {
    const whitespaceCharacters = __privateGet(this, _whitespaceCharacters);
    return Array.prototype.some.call(
      text,
      (character) => !whitespaceCharacters.has(character)
    );
  }
  isWhitespaceOnly(text) {
    const whitespaceCharacters = __privateGet(this, _whitespaceCharacters);
    return Array.prototype.every.call(
      text,
      (character) => whitespaceCharacters.has(character)
    );
  }
};
_whitespaceCharacters = new WeakMap();
var whitespace_utils_default = WhitespaceUtils;
 
// src/language-js/print/jsx.js
var jsxWhitespaceUtils = new whitespace_utils_default(" \n\r	");
var isEmptyStringOrAnyLine = (doc) => doc === "" || doc === line || doc === hardline || doc === softline;
function printJsxElementInternal(path, options2, print3) {
  var _a, _b, _c, _d, _e;
  const { node } = path;
  if (node.type === "JSXElement" && isEmptyJsxElement(node)) {
    return [print3("openingElement"), print3("closingElement")];
  }
  const openingLines = node.type === "JSXElement" ? print3("openingElement") : print3("openingFragment");
  const closingLines = node.type === "JSXElement" ? print3("closingElement") : print3("closingFragment");
  if (node.children.length === 1 && node.children[0].type === "JSXExpressionContainer" && (node.children[0].expression.type === "TemplateLiteral" || node.children[0].expression.type === "TaggedTemplateExpression")) {
    return [openingLines, ...path.map(print3, "children"), closingLines];
  }
  node.children = node.children.map((child) => {
    if (isJsxWhitespaceExpression(child)) {
      return {
        type: "JSXText",
        value: " ",
        raw: " "
      };
    }
    return child;
  });
  const containsTag = node.children.some(isJsxElement);
  const containsMultipleExpressions = node.children.filter((child) => child.type === "JSXExpressionContainer").length > 1;
  const containsMultipleAttributes = node.type === "JSXElement" && node.openingElement.attributes.length > 1;
  let forcedBreak = willBreak(openingLines) || containsTag || containsMultipleAttributes || containsMultipleExpressions;
  const isMdxBlock = path.parent.rootMarker === "mdx";
  const rawJsxWhitespace = options2.singleQuote ? "{' '}" : '{" "}';
  const jsxWhitespace = isMdxBlock ? line : ifBreak([rawJsxWhitespace, softline], " ");
  const isFacebookTranslationTag = ((_b = (_a = node.openingElement) == null ? void 0 : _a.name) == null ? void 0 : _b.name) === "fbt";
  const children = printJsxChildren(
    path,
    options2,
    print3,
    jsxWhitespace,
    isFacebookTranslationTag
  );
  const containsText = node.children.some(
    (child) => isMeaningfulJsxText(child)
  );
  for (let i = children.length - 2; i >= 0; i--) {
    const isPairOfEmptyStrings = children[i] === "" && children[i + 1] === "";
    const isPairOfHardlines = children[i] === hardline && children[i + 1] === "" && children[i + 2] === hardline;
    const isLineFollowedByJsxWhitespace = (children[i] === softline || children[i] === hardline) && children[i + 1] === "" && children[i + 2] === jsxWhitespace;
    const isJsxWhitespaceFollowedByLine = children[i] === jsxWhitespace && children[i + 1] === "" && (children[i + 2] === softline || children[i + 2] === hardline);
    const isDoubleJsxWhitespace = children[i] === jsxWhitespace && children[i + 1] === "" && children[i + 2] === jsxWhitespace;
    const isPairOfHardOrSoftLines = children[i] === softline && children[i + 1] === "" && children[i + 2] === hardline || children[i] === hardline && children[i + 1] === "" && children[i + 2] === softline;
    if (isPairOfHardlines && containsText || isPairOfEmptyStrings || isLineFollowedByJsxWhitespace || isDoubleJsxWhitespace || isPairOfHardOrSoftLines) {
      children.splice(i, 2);
    } else if (isJsxWhitespaceFollowedByLine) {
      children.splice(i + 1, 2);
    }
  }
  while (children.length > 0 && isEmptyStringOrAnyLine(at_default(
    /* isOptionalObject */
    false,
    children,
    -1
  ))) {
    children.pop();
  }
  while (children.length > 1 && isEmptyStringOrAnyLine(children[0]) && isEmptyStringOrAnyLine(children[1])) {
    children.shift();
    children.shift();
  }
  const multilineChildren = [""];
  for (const [i, child] of children.entries()) {
    if (child === jsxWhitespace) {
      if (i === 1 && isEmptyDoc(children[i - 1])) {
        if (children.length === 2) {
          multilineChildren.push([multilineChildren.pop(), rawJsxWhitespace]);
          continue;
        }
        multilineChildren.push([rawJsxWhitespace, hardline], "");
        continue;
      } else if (i === children.length - 1) {
        multilineChildren.push([multilineChildren.pop(), rawJsxWhitespace]);
        continue;
      } else if (children[i - 1] === "" && children[i - 2] === hardline) {
        multilineChildren.push([multilineChildren.pop(), rawJsxWhitespace]);
        continue;
      }
    }
    if (i % 2 === 0) {
      multilineChildren.push([multilineChildren.pop(), child]);
    } else {
      multilineChildren.push(child, "");
    }
    if (willBreak(child)) {
      forcedBreak = true;
    }
  }
  let content = containsText ? fill(multilineChildren) : group(multilineChildren, { shouldBreak: true });
  if (((_c = options2.cursorNode) == null ? void 0 : _c.type) === "JSXText" && node.children.includes(options2.cursorNode)) {
    content = [cursor, content, cursor];
  } else if (((_d = options2.nodeBeforeCursor) == null ? void 0 : _d.type) === "JSXText" && node.children.includes(options2.nodeBeforeCursor)) {
    content = [cursor, content];
  } else if (((_e = options2.nodeAfterCursor) == null ? void 0 : _e.type) === "JSXText" && node.children.includes(options2.nodeAfterCursor)) {
    content = [content, cursor];
  }
  if (isMdxBlock) {
    return content;
  }
  const multiLineElem = group([
    openingLines,
    indent([hardline, content]),
    hardline,
    closingLines
  ]);
  if (forcedBreak) {
    return multiLineElem;
  }
  return conditionalGroup([
    group([openingLines, ...children, closingLines]),
    multiLineElem
  ]);
}
function printJsxChildren(path, options2, print3, jsxWhitespace, isFacebookTranslationTag) {
  let prevPart = "";
  const parts = [prevPart];
  function push(doc) {
    prevPart = doc;
    parts.push([parts.pop(), doc]);
  }
  function pushLine(doc) {
    if (doc === "") {
      return;
    }
    prevPart = doc;
    parts.push(doc, "");
  }
  path.each(({ node, next }) => {
    if (node.type === "JSXText") {
      const text = get_raw_default(node);
      if (isMeaningfulJsxText(node)) {
        const words = jsxWhitespaceUtils.split(
          text,
          /* captureWhitespace */
          true
        );
        if (words[0] === "") {
          words.shift();
          if (/\n/u.test(words[0])) {
            pushLine(
              separatorWithWhitespace(
                isFacebookTranslationTag,
                words[1],
                node,
                next
              )
            );
          } else {
            pushLine(jsxWhitespace);
          }
          words.shift();
        }
        let endWhitespace;
        if (at_default(
          /* isOptionalObject */
          false,
          words,
          -1
        ) === "") {
          words.pop();
          endWhitespace = words.pop();
        }
        if (words.length === 0) {
          return;
        }
        for (const [i, word] of words.entries()) {
          if (i % 2 === 1) {
            pushLine(line);
          } else {
            push(word);
          }
        }
        if (endWhitespace !== void 0) {
          if (/\n/u.test(endWhitespace)) {
            pushLine(
              separatorWithWhitespace(
                isFacebookTranslationTag,
                prevPart,
                node,
                next
              )
            );
          } else {
            pushLine(jsxWhitespace);
          }
        } else {
          pushLine(
            separatorNoWhitespace(
              isFacebookTranslationTag,
              prevPart,
              node,
              next
            )
          );
        }
      } else if (/\n/u.test(text)) {
        if (text.match(/\n/gu).length > 1) {
          pushLine(hardline);
        }
      } else {
        pushLine(jsxWhitespace);
      }
    } else {
      const printedChild = print3();
      push(printedChild);
      const directlyFollowedByMeaningfulText = next && isMeaningfulJsxText(next);
      if (directlyFollowedByMeaningfulText) {
        const trimmed = jsxWhitespaceUtils.trim(get_raw_default(next));
        const [firstWord] = jsxWhitespaceUtils.split(trimmed);
        pushLine(
          separatorNoWhitespace(
            isFacebookTranslationTag,
            firstWord,
            node,
            next
          )
        );
      } else {
        pushLine(hardline);
      }
    }
  }, "children");
  return parts;
}
function separatorNoWhitespace(isFacebookTranslationTag, child, childNode, nextNode) {
  if (isFacebookTranslationTag) {
    return "";
  }
  if (childNode.type === "JSXElement" && !childNode.closingElement || (nextNode == null ? void 0 : nextNode.type) === "JSXElement" && !nextNode.closingElement) {
    return child.length === 1 ? softline : hardline;
  }
  return softline;
}
function separatorWithWhitespace(isFacebookTranslationTag, child, childNode, nextNode) {
  if (isFacebookTranslationTag) {
    return hardline;
  }
  if (child.length === 1) {
    return childNode.type === "JSXElement" && !childNode.closingElement || (nextNode == null ? void 0 : nextNode.type) === "JSXElement" && !nextNode.closingElement ? hardline : softline;
  }
  return hardline;
}
var NO_WRAP_PARENTS = /* @__PURE__ */ new Set([
  "ArrayExpression",
  "JSXAttribute",
  "JSXElement",
  "JSXExpressionContainer",
  "JSXFragment",
  "ExpressionStatement",
  "CallExpression",
  "OptionalCallExpression",
  "ConditionalExpression",
  "JsExpressionRoot"
]);
function maybeWrapJsxElementInParens(path, elem, options2) {
  const { parent } = path;
  if (NO_WRAP_PARENTS.has(parent.type)) {
    return elem;
  }
  const shouldBreak = path.match(
    void 0,
    (node) => node.type === "ArrowFunctionExpression",
    isCallExpression,
    (node) => node.type === "JSXExpressionContainer"
  );
  const needsParens2 = needs_parens_default(path, options2);
  return group(
    [
      needsParens2 ? "" : ifBreak("("),
      indent([softline, elem]),
      softline,
      needsParens2 ? "" : ifBreak(")")
    ],
    { shouldBreak }
  );
}
function printJsxAttribute(path, options2, print3) {
  const { node } = path;
  const parts = [];
  parts.push(print3("name"));
  if (node.value) {
    let res;
    if (isStringLiteral(node.value)) {
      const raw = get_raw_default(node.value);
      let final = string_replace_all_default(
        /* isOptionalObject */
        false,
        string_replace_all_default(
          /* isOptionalObject */
          false,
          raw.slice(1, -1),
          "&apos;",
          "'"
        ),
        "&quot;",
        '"'
      );
      const quote = get_preferred_quote_default(final, options2.jsxSingleQuote);
      final = quote === '"' ? string_replace_all_default(
        /* isOptionalObject */
        false,
        final,
        '"',
        "&quot;"
      ) : string_replace_all_default(
        /* isOptionalObject */
        false,
        final,
        "'",
        "&apos;"
      );
      res = path.call(
        () => printComments(path, replaceEndOfLine(quote + final + quote), options2),
        "value"
      );
    } else {
      res = print3("value");
    }
    parts.push("=", res);
  }
  return parts;
}
function printJsxExpressionContainer(path, options2, print3) {
  const { node } = path;
  const shouldInline = (node2, parent) => node2.type === "JSXEmptyExpression" || !hasComment(node2) && (isArrayExpression(node2) || isObjectExpression(node2) || node2.type === "ArrowFunctionExpression" || node2.type === "AwaitExpression" && (shouldInline(node2.argument, node2) || node2.argument.type === "JSXElement") || isCallExpression(node2) || node2.type === "ChainExpression" && isCallExpression(node2.expression) || node2.type === "FunctionExpression" || node2.type === "TemplateLiteral" || node2.type === "TaggedTemplateExpression" || node2.type === "DoExpression" || isJsxElement(parent) && (node2.type === "ConditionalExpression" || isBinaryish(node2)));
  if (shouldInline(node.expression, path.parent)) {
    return group(["{", print3("expression"), lineSuffixBoundary, "}"]);
  }
  return group([
    "{",
    indent([softline, print3("expression")]),
    softline,
    lineSuffixBoundary,
    "}"
  ]);
}
function printJsxOpeningElement(path, options2, print3) {
  var _a, _b;
  const { node } = path;
  const nameHasComments = hasComment(node.name) || hasComment(node.typeParameters) || hasComment(node.typeArguments);
  if (node.selfClosing && node.attributes.length === 0 && !nameHasComments) {
    return [
      "<",
      print3("name"),
      node.typeArguments ? print3("typeArguments") : print3("typeParameters"),
      " />"
    ];
  }
  if (((_a = node.attributes) == null ? void 0 : _a.length) === 1 && isStringLiteral(node.attributes[0].value) && !node.attributes[0].value.value.includes("\n") && // We should break for the following cases:
  // <div
  //   // comment
  //   attr="value"
  // >
  // <div
  //   attr="value"
  //   // comment
  // >
  !nameHasComments && !hasComment(node.attributes[0])) {
    return group([
      "<",
      print3("name"),
      node.typeArguments ? print3("typeArguments") : print3("typeParameters"),
      " ",
      ...path.map(print3, "attributes"),
      node.selfClosing ? " />" : ">"
    ]);
  }
  const shouldBreak = (_b = node.attributes) == null ? void 0 : _b.some(
    (attr) => isStringLiteral(attr.value) && attr.value.value.includes("\n")
  );
  const attributeLine = options2.singleAttributePerLine && node.attributes.length > 1 ? hardline : line;
  return group(
    [
      "<",
      print3("name"),
      node.typeArguments ? print3("typeArguments") : print3("typeParameters"),
      indent(path.map(() => [attributeLine, print3()], "attributes")),
      ...printEndOfOpeningTag(node, options2, nameHasComments)
    ],
    { shouldBreak }
  );
}
function printEndOfOpeningTag(node, options2, nameHasComments) {
  if (node.selfClosing) {
    return [line, "/>"];
  }
  const bracketSameLine = shouldPrintBracketSameLine(
    node,
    options2,
    nameHasComments
  );
  if (bracketSameLine) {
    return [">"];
  }
  return [softline, ">"];
}
function shouldPrintBracketSameLine(node, options2, nameHasComments) {
  const lastAttrHasTrailingComments = node.attributes.length > 0 && hasComment(at_default(
    /* isOptionalObject */
    false,
    node.attributes,
    -1
  ), CommentCheckFlags.Trailing);
  return (
    // Simple tags (no attributes and no comment in tag name) should be
    // kept unbroken regardless of `bracketSameLine`.
    // jsxBracketSameLine is deprecated in favour of bracketSameLine,
    // but is still needed for backwards compatibility.
    node.attributes.length === 0 && !nameHasComments || (options2.bracketSameLine || options2.jsxBracketSameLine) && // We should print the bracket in a new line for the following cases:
    // <div
    //   // comment
    // >
    // <div
    //   attr // comment
    // >
    (!nameHasComments || node.attributes.length > 0) && !lastAttrHasTrailingComments
  );
}
function printJsxClosingElement(path, options2, print3) {
  const { node } = path;
  const parts = [];
  parts.push("</");
  const printed = print3("name");
  if (hasComment(node.name, CommentCheckFlags.Leading | CommentCheckFlags.Line)) {
    parts.push(indent([hardline, printed]), hardline);
  } else if (hasComment(node.name, CommentCheckFlags.Leading | CommentCheckFlags.Block)) {
    parts.push(" ", printed);
  } else {
    parts.push(printed);
  }
  parts.push(">");
  return parts;
}
function printJsxOpeningClosingFragment(path, options2) {
  const { node } = path;
  const nodeHasComment = hasComment(node);
  const hasOwnLineComment = hasComment(node, CommentCheckFlags.Line);
  const isOpeningFragment = node.type === "JSXOpeningFragment";
  return [
    isOpeningFragment ? "<" : "</",
    indent([
      hasOwnLineComment ? hardline : nodeHasComment && !isOpeningFragment ? " " : "",
      printDanglingComments(path, options2)
    ]),
    hasOwnLineComment ? hardline : "",
    ">"
  ];
}
function printJsxElement(path, options2, print3) {
  const elem = printComments(
    path,
    printJsxElementInternal(path, options2, print3),
    options2
  );
  return maybeWrapJsxElementInParens(path, elem, options2);
}
function printJsxEmptyExpression(path, options2) {
  const { node } = path;
  const requiresHardline = hasComment(node, CommentCheckFlags.Line);
  return [
    printDanglingComments(path, options2, { indent: requiresHardline }),
    requiresHardline ? hardline : ""
  ];
}
function printJsxSpreadAttributeOrChild(path, options2, print3) {
  const { node } = path;
  return [
    "{",
    path.call(
      ({ node: node2 }) => {
        const printed = ["...", print3()];
        if (!hasComment(node2) || !willPrintOwnComments(path)) {
          return printed;
        }
        return [
          indent([softline, printComments(path, printed, options2)]),
          softline
        ];
      },
      node.type === "JSXSpreadAttribute" ? "argument" : "expression"
    ),
    "}"
  ];
}
function printJsx(path, options2, print3) {
  const { node } = path;
  if (!node.type.startsWith("JSX")) {
    return;
  }
  switch (node.type) {
    case "JSXAttribute":
      return printJsxAttribute(path, options2, print3);
    case "JSXIdentifier":
      return node.name;
    case "JSXNamespacedName":
      return join(":", [print3("namespace"), print3("name")]);
    case "JSXMemberExpression":
      return join(".", [print3("object"), print3("property")]);
    case "JSXSpreadAttribute":
    case "JSXSpreadChild":
      return printJsxSpreadAttributeOrChild(path, options2, print3);
    case "JSXExpressionContainer":
      return printJsxExpressionContainer(path, options2, print3);
    case "JSXFragment":
    case "JSXElement":
      return printJsxElement(path, options2, print3);
    case "JSXOpeningElement":
      return printJsxOpeningElement(path, options2, print3);
    case "JSXClosingElement":
      return printJsxClosingElement(path, options2, print3);
    case "JSXOpeningFragment":
    case "JSXClosingFragment":
      return printJsxOpeningClosingFragment(
        path,
        options2
        /*, print*/
      );
    case "JSXEmptyExpression":
      return printJsxEmptyExpression(
        path,
        options2
        /*, print*/
      );
    case "JSXText":
      throw new Error("JSXText should be handled by JSXElement");
    default:
      throw new unexpected_node_error_default(node, "JSX");
  }
}
function isEmptyJsxElement(node) {
  if (node.children.length === 0) {
    return true;
  }
  if (node.children.length > 1) {
    return false;
  }
  const child = node.children[0];
  return child.type === "JSXText" && !isMeaningfulJsxText(child);
}
function isMeaningfulJsxText(node) {
  return node.type === "JSXText" && (jsxWhitespaceUtils.hasNonWhitespaceCharacter(get_raw_default(node)) || !/\n/u.test(get_raw_default(node)));
}
function isJsxWhitespaceExpression(node) {
  return node.type === "JSXExpressionContainer" && isStringLiteral(node.expression) && node.expression.value === " " && !hasComment(node.expression);
}
function hasJsxIgnoreComment(path) {
  const { node, parent } = path;
  if (!isJsxElement(node) || !isJsxElement(parent)) {
    return false;
  }
  const { index, siblings } = path;
  let prevSibling;
  for (let i = index; i > 0; i--) {
    const candidate = siblings[i - 1];
    if (candidate.type === "JSXText" && !isMeaningfulJsxText(candidate)) {
      continue;
    }
    prevSibling = candidate;
    break;
  }
  return (prevSibling == null ? void 0 : prevSibling.type) === "JSXExpressionContainer" && prevSibling.expression.type === "JSXEmptyExpression" && hasNodeIgnoreComment(prevSibling.expression);
}
 
// src/language-js/utils/is-ignored.js
function isIgnored(path) {
  return hasNodeIgnoreComment(path.node) || hasJsxIgnoreComment(path);
}
var is_ignored_default = isIgnored;
 
// src/language-js/print/binaryish.js
var uid = 0;
function printBinaryishExpression(path, options2, print3) {
  var _a;
  const { node, parent, grandparent, key } = path;
  const isInsideParenthesis = key !== "body" && (parent.type === "IfStatement" || parent.type === "WhileStatement" || parent.type === "SwitchStatement" || parent.type === "DoWhileStatement");
  const isHackPipeline = node.operator === "|>" && ((_a = path.root.extra) == null ? void 0 : _a.__isUsingHackPipeline);
  const parts = printBinaryishExpressions(
    path,
    options2,
    print3,
    /* isNested */
    false,
    isInsideParenthesis
  );
  if (isInsideParenthesis) {
    return parts;
  }
  if (isHackPipeline) {
    return group(parts);
  }
  if (isCallExpression(parent) && parent.callee === node || parent.type === "UnaryExpression" || isMemberExpression(parent) && !parent.computed) {
    return group([indent([softline, ...parts]), softline]);
  }
  const shouldNotIndent = parent.type === "ReturnStatement" || parent.type === "ThrowStatement" || parent.type === "JSXExpressionContainer" && grandparent.type === "JSXAttribute" || node.operator !== "|" && parent.type === "JsExpressionRoot" || node.type !== "NGPipeExpression" && (parent.type === "NGRoot" && options2.parser === "__ng_binding" || parent.type === "NGMicrosyntaxExpression" && grandparent.type === "NGMicrosyntax" && grandparent.body.length === 1) || node === parent.body && parent.type === "ArrowFunctionExpression" || node !== parent.body && parent.type === "ForStatement" || parent.type === "ConditionalExpression" && grandparent.type !== "ReturnStatement" && grandparent.type !== "ThrowStatement" && !isCallExpression(grandparent) || parent.type === "TemplateLiteral";
  const shouldIndentIfInlining = parent.type === "AssignmentExpression" || parent.type === "VariableDeclarator" || parent.type === "ClassProperty" || parent.type === "PropertyDefinition" || parent.type === "TSAbstractPropertyDefinition" || parent.type === "ClassPrivateProperty" || isObjectProperty(parent);
  const samePrecedenceSubExpression = isBinaryish(node.left) && shouldFlatten(node.operator, node.left.operator);
  if (shouldNotIndent || shouldInlineLogicalExpression(node) && !samePrecedenceSubExpression || !shouldInlineLogicalExpression(node) && shouldIndentIfInlining) {
    return group(parts);
  }
  if (parts.length === 0) {
    return "";
  }
  const hasJsx = isJsxElement(node.right);
  const firstGroupIndex = parts.findIndex(
    (part) => typeof part !== "string" && !Array.isArray(part) && part.type === DOC_TYPE_GROUP
  );
  const headParts = parts.slice(
    0,
    firstGroupIndex === -1 ? 1 : firstGroupIndex + 1
  );
  const rest = parts.slice(headParts.length, hasJsx ? -1 : void 0);
  const groupId = Symbol("logicalChain-" + ++uid);
  const chain = group(
    [
      // Don't include the initial expression in the indentation
      // level. The first item is guaranteed to be the first
      // left-most expression.
      ...headParts,
      indent(rest)
    ],
    { id: groupId }
  );
  if (!hasJsx) {
    return chain;
  }
  const jsxPart = at_default(
    /* isOptionalObject */
    false,
    parts,
    -1
  );
  return group([chain, indentIfBreak(jsxPart, { groupId })]);
}
function printBinaryishExpressions(path, options2, print3, isNested, isInsideParenthesis) {
  var _a;
  const { node } = path;
  if (!isBinaryish(node)) {
    return [group(print3())];
  }
  let parts = [];
  if (shouldFlatten(node.operator, node.left.operator)) {
    parts = path.call(
      (left) => printBinaryishExpressions(
        left,
        options2,
        print3,
        /* isNested */
        true,
        isInsideParenthesis
      ),
      "left"
    );
  } else {
    parts.push(group(print3("left")));
  }
  const shouldInline = shouldInlineLogicalExpression(node);
  const lineBeforeOperator = (node.operator === "|>" || node.type === "NGPipeExpression" || isVueFilterSequenceExpression(path, options2)) && !hasLeadingOwnLineComment(options2.originalText, node.right);
  const hasTypeCastComment = hasComment(
    node.right,
    CommentCheckFlags.Leading,
    is_type_cast_comment_default
  );
  const commentBeforeOperator = !hasTypeCastComment && hasLeadingOwnLineComment(options2.originalText, node.right);
  const operator = node.type === "NGPipeExpression" ? "|" : node.operator;
  const rightSuffix = node.type === "NGPipeExpression" && node.arguments.length > 0 ? group(
    indent([
      softline,
      ": ",
      join(
        [line, ": "],
        path.map(() => align(2, group(print3())), "arguments")
      )
    ])
  ) : "";
  let right;
  if (shouldInline) {
    right = [
      operator,
      hasLeadingOwnLineComment(options2.originalText, node.right) ? indent([line, print3("right"), rightSuffix]) : [" ", print3("right"), rightSuffix]
    ];
  } else {
    const isHackPipeline = operator === "|>" && ((_a = path.root.extra) == null ? void 0 : _a.__isUsingHackPipeline);
    const rightContent = isHackPipeline ? path.call(
      (left) => printBinaryishExpressions(
        left,
        options2,
        print3,
        /* isNested */
        true,
        isInsideParenthesis
      ),
      "right"
    ) : print3("right");
    if (options2.experimentalOperatorPosition === "start") {
      let comment = "";
      if (commentBeforeOperator) {
        switch (get_doc_type_default(rightContent)) {
          case DOC_TYPE_ARRAY:
            comment = rightContent.splice(0, 1)[0];
            break;
          case DOC_TYPE_LABEL:
            comment = rightContent.contents.splice(0, 1)[0];
            break;
        }
      }
      right = [line, comment, operator, " ", rightContent, rightSuffix];
    } else {
      right = [
        lineBeforeOperator ? line : "",
        operator,
        lineBeforeOperator ? " " : line,
        rightContent,
        rightSuffix
      ];
    }
  }
  const { parent } = path;
  const shouldBreak = hasComment(
    node.left,
    CommentCheckFlags.Trailing | CommentCheckFlags.Line
  );
  const shouldGroup = shouldBreak || !(isInsideParenthesis && node.type === "LogicalExpression") && parent.type !== node.type && node.left.type !== node.type && node.right.type !== node.type;
  if (shouldGroup) {
    right = group(right, { shouldBreak });
  }
  if (options2.experimentalOperatorPosition === "start") {
    parts.push(shouldInline || commentBeforeOperator ? " " : "", right);
  } else {
    parts.push(lineBeforeOperator ? "" : " ", right);
  }
  if (isNested && hasComment(node)) {
    const printed = cleanDoc(printComments(path, parts, options2));
    if (printed.type === DOC_TYPE_FILL) {
      return printed.parts;
    }
    return Array.isArray(printed) ? printed : [printed];
  }
  return parts;
}
function shouldInlineLogicalExpression(node) {
  if (node.type !== "LogicalExpression") {
    return false;
  }
  if (isObjectExpression(node.right) && node.right.properties.length > 0) {
    return true;
  }
  if (isArrayExpression(node.right) && node.right.elements.length > 0) {
    return true;
  }
  if (isJsxElement(node.right)) {
    return true;
  }
  return false;
}
var isBitwiseOrExpression = (node) => node.type === "BinaryExpression" && node.operator === "|";
function isVueFilterSequenceExpression(path, options2) {
  return (options2.parser === "__vue_expression" || options2.parser === "__vue_ts_expression") && isBitwiseOrExpression(path.node) && !path.hasAncestor(
    (node) => !isBitwiseOrExpression(node) && node.type !== "JsExpressionRoot"
  );
}
 
// src/language-js/print/angular.js
function printAngular(path, options2, print3) {
  const { node } = path;
  if (!node.type.startsWith("NG")) {
    return;
  }
  switch (node.type) {
    case "NGRoot":
      return [
        print3("node"),
        hasComment(node.node) ? " //" + getComments(node.node)[0].value.trimEnd() : ""
      ];
    case "NGPipeExpression":
      return printBinaryishExpression(path, options2, print3);
    case "NGChainedExpression":
      return group(
        join(
          [";", line],
          path.map(
            () => hasNgSideEffect(path) ? print3() : ["(", print3(), ")"],
            "expressions"
          )
        )
      );
    case "NGEmptyExpression":
      return "";
    case "NGMicrosyntax":
      return path.map(
        () => [
          path.isFirst ? "" : isNgForOf(path) ? " " : [";", line],
          print3()
        ],
        "body"
      );
    case "NGMicrosyntaxKey":
      return /^[$_a-z][\w$]*(?:-[$_a-z][\w$])*$/iu.test(node.name) ? node.name : JSON.stringify(node.name);
    case "NGMicrosyntaxExpression":
      return [
        print3("expression"),
        node.alias === null ? "" : [" as ", print3("alias")]
      ];
    case "NGMicrosyntaxKeyedExpression": {
      const { index, parent } = path;
      const shouldNotPrintColon = isNgForOf(path) || isNgForOfTrack(path) || (index === 1 && (node.key.name === "then" || node.key.name === "else" || node.key.name === "as") || index === 2 && (node.key.name === "else" && parent.body[index - 1].type === "NGMicrosyntaxKeyedExpression" && parent.body[index - 1].key.name === "then" || node.key.name === "track")) && parent.body[0].type === "NGMicrosyntaxExpression";
      return [
        print3("key"),
        shouldNotPrintColon ? " " : ": ",
        print3("expression")
      ];
    }
    case "NGMicrosyntaxLet":
      return [
        "let ",
        print3("key"),
        node.value === null ? "" : [" = ", print3("value")]
      ];
    case "NGMicrosyntaxAs":
      return [print3("key"), " as ", print3("alias")];
    default:
      throw new unexpected_node_error_default(node, "Angular");
  }
}
function isNgForOf({ node, index }) {
  return node.type === "NGMicrosyntaxKeyedExpression" && node.key.name === "of" && index === 1;
}
function isNgForOfTrack(path) {
  const { node } = path;
  return path.parent.body[1].key.name === "of" && node.type === "NGMicrosyntaxKeyedExpression" && node.key.name === "track" && node.key.type === "NGMicrosyntaxKey";
}
var hasSideEffect = create_type_check_function_default([
  "CallExpression",
  "OptionalCallExpression",
  "AssignmentExpression"
]);
function hasNgSideEffect({ node }) {
  return hasNode(node, hasSideEffect);
}
 
// src/language-js/print/decorators.js
function printClassMemberDecorators(path, options2, print3) {
  const { node } = path;
  return group([
    join(line, path.map(print3, "decorators")),
    hasNewlineBetweenOrAfterDecorators(node, options2) ? hardline : line
  ]);
}
function printDecoratorsBeforeExport(path, options2, print3) {
  if (!hasDecoratorsBeforeExport(path.node)) {
    return "";
  }
  return [
    join(hardline, path.map(print3, "declaration", "decorators")),
    hardline
  ];
}
function printDecorators(path, options2, print3) {
  const { node, parent } = path;
  const { decorators } = node;
  if (!is_non_empty_array_default(decorators) || // If the parent node is an export declaration and the decorator
  // was written before the export, the export will be responsible
  // for printing the decorators.
  hasDecoratorsBeforeExport(parent) || // Decorators already printed in ignored node
  is_ignored_default(path)) {
    return "";
  }
  const shouldBreak = node.type === "ClassExpression" || node.type === "ClassDeclaration" || hasNewlineBetweenOrAfterDecorators(node, options2);
  return [
    path.key === "declaration" && isExportDeclaration(parent) ? hardline : shouldBreak ? breakParent : "",
    join(line, path.map(print3, "decorators")),
    line
  ];
}
function hasNewlineBetweenOrAfterDecorators(node, options2) {
  return node.decorators.some(
    (decorator) => has_newline_default(options2.originalText, locEnd(decorator))
  );
}
function hasDecoratorsBeforeExport(node) {
  var _a;
  if (node.type !== "ExportDefaultDeclaration" && node.type !== "ExportNamedDeclaration" && node.type !== "DeclareExportDeclaration") {
    return false;
  }
  const decorators = (_a = node.declaration) == null ? void 0 : _a.decorators;
  return is_non_empty_array_default(decorators) && hasSameLocStart(node, decorators[0]);
}
 
// src/common/errors.js
var ArgExpansionBailout = class extends Error {
  name = "ArgExpansionBailout";
};
 
// src/language-js/print/call-arguments.js
function printCallArguments(path, options2, print3) {
  const { node } = path;
  const args = getCallArguments(node);
  if (args.length === 0) {
    return ["(", printDanglingComments(path, options2), ")"];
  }
  const lastArgIndex = args.length - 1;
  if (isReactHookCallWithDepsArray(args)) {
    const parts = ["("];
    iterateCallArgumentsPath(path, (path2, index) => {
      parts.push(print3());
      if (index !== lastArgIndex) {
        parts.push(", ");
      }
    });
    parts.push(")");
    return parts;
  }
  let anyArgEmptyLine = false;
  const printedArguments = [];
  iterateCallArgumentsPath(path, ({ node: arg }, index) => {
    let argDoc = print3();
    if (index === lastArgIndex) {
    } else if (isNextLineEmpty2(arg, options2)) {
      anyArgEmptyLine = true;
      argDoc = [argDoc, ",", hardline, hardline];
    } else {
      argDoc = [argDoc, ",", line];
    }
    printedArguments.push(argDoc);
  });
  const maybeTrailingComma = (
    // Angular does not allow trailing comma
    !options2.parser.startsWith("__ng_") && // Dynamic imports cannot have trailing commas
    node.type !== "ImportExpression" && node.type !== "TSImportType" && shouldPrintComma(options2, "all") ? "," : ""
  );
  function allArgsBrokenOut() {
    return group(
      ["(", indent([line, ...printedArguments]), maybeTrailingComma, line, ")"],
      { shouldBreak: true }
    );
  }
  if (anyArgEmptyLine || path.parent.type !== "Decorator" && isFunctionCompositionArgs(args)) {
    return allArgsBrokenOut();
  }
  if (shouldExpandFirstArg(args)) {
    const tailArgs = printedArguments.slice(1);
    if (tailArgs.some(willBreak)) {
      return allArgsBrokenOut();
    }
    let firstArg;
    try {
      firstArg = print3(getCallArgumentSelector(node, 0), {
        expandFirstArg: true
      });
    } catch (caught) {
      if (caught instanceof ArgExpansionBailout) {
        return allArgsBrokenOut();
      }
      throw caught;
    }
    if (willBreak(firstArg)) {
      return [
        breakParent,
        conditionalGroup([
          ["(", group(firstArg, { shouldBreak: true }), ", ", ...tailArgs, ")"],
          allArgsBrokenOut()
        ])
      ];
    }
    return conditionalGroup([
      ["(", firstArg, ", ", ...tailArgs, ")"],
      ["(", group(firstArg, { shouldBreak: true }), ", ", ...tailArgs, ")"],
      allArgsBrokenOut()
    ]);
  }
  if (shouldExpandLastArg(args, printedArguments, options2)) {
    const headArgs = printedArguments.slice(0, -1);
    if (headArgs.some(willBreak)) {
      return allArgsBrokenOut();
    }
    let lastArg;
    try {
      lastArg = print3(getCallArgumentSelector(node, -1), {
        expandLastArg: true
      });
    } catch (caught) {
      if (caught instanceof ArgExpansionBailout) {
        return allArgsBrokenOut();
      }
      throw caught;
    }
    if (willBreak(lastArg)) {
      return [
        breakParent,
        conditionalGroup([
          ["(", ...headArgs, group(lastArg, { shouldBreak: true }), ")"],
          allArgsBrokenOut()
        ])
      ];
    }
    return conditionalGroup([
      ["(", ...headArgs, lastArg, ")"],
      ["(", ...headArgs, group(lastArg, { shouldBreak: true }), ")"],
      allArgsBrokenOut()
    ]);
  }
  const contents = [
    "(",
    indent([softline, ...printedArguments]),
    ifBreak(maybeTrailingComma),
    softline,
    ")"
  ];
  if (isLongCurriedCallExpression(path)) {
    return contents;
  }
  return group(contents, {
    shouldBreak: printedArguments.some(willBreak) || anyArgEmptyLine
  });
}
function couldExpandArg(arg, arrowChainRecursion = false) {
  return isObjectExpression(arg) && (arg.properties.length > 0 || hasComment(arg)) || isArrayExpression(arg) && (arg.elements.length > 0 || hasComment(arg)) || arg.type === "TSTypeAssertion" && couldExpandArg(arg.expression) || isBinaryCastExpression(arg) && couldExpandArg(arg.expression) || arg.type === "FunctionExpression" || arg.type === "ArrowFunctionExpression" && // we want to avoid breaking inside composite return types but not simple keywords
  // https://github.com/prettier/prettier/issues/4070
  // export class Thing implements OtherThing {
  //   do: (type: Type) => Provider<Prop> = memoize(
  //     (type: ObjectType): Provider<Opts> => {}
  //   );
  // }
  // https://github.com/prettier/prettier/issues/6099
  // app.get("/", (req, res): void => {
  //   res.send("Hello World!");
  // });
  (!arg.returnType || !arg.returnType.typeAnnotation || arg.returnType.typeAnnotation.type !== "TSTypeReference" || // https://github.com/prettier/prettier/issues/7542
  isNonEmptyBlockStatement(arg.body)) && (arg.body.type === "BlockStatement" || arg.body.type === "ArrowFunctionExpression" && couldExpandArg(arg.body, true) || isObjectExpression(arg.body) || isArrayExpression(arg.body) || !arrowChainRecursion && (isCallExpression(arg.body) || arg.body.type === "ConditionalExpression") || isJsxElement(arg.body)) || arg.type === "DoExpression" || arg.type === "ModuleExpression";
}
function shouldExpandLastArg(args, argDocs, options2) {
  var _a, _b;
  const lastArg = at_default(
    /* isOptionalObject */
    false,
    args,
    -1
  );
  if (args.length === 1) {
    const lastArgDoc = at_default(
      /* isOptionalObject */
      false,
      argDocs,
      -1
    );
    if (((_a = lastArgDoc.label) == null ? void 0 : _a.embed) && ((_b = lastArgDoc.label) == null ? void 0 : _b.hug) !== false) {
      return true;
    }
  }
  const penultimateArg = at_default(
    /* isOptionalObject */
    false,
    args,
    -2
  );
  return !hasComment(lastArg, CommentCheckFlags.Leading) && !hasComment(lastArg, CommentCheckFlags.Trailing) && couldExpandArg(lastArg) && // If the last two arguments are of the same type,
  // disable last element expansion.
  (!penultimateArg || penultimateArg.type !== lastArg.type) && // useMemo(() => func(), [foo, bar, baz])
  (args.length !== 2 || penultimateArg.type !== "ArrowFunctionExpression" || !isArrayExpression(lastArg)) && !(args.length > 1 && isConciselyPrintedArray(lastArg, options2));
}
function shouldExpandFirstArg(args) {
  if (args.length !== 2) {
    return false;
  }
  const [firstArg, secondArg] = args;
  if (firstArg.type === "ModuleExpression" && isTypeModuleObjectExpression(secondArg)) {
    return true;
  }
  return !hasComment(firstArg) && (firstArg.type === "FunctionExpression" || firstArg.type === "ArrowFunctionExpression" && firstArg.body.type === "BlockStatement") && secondArg.type !== "FunctionExpression" && secondArg.type !== "ArrowFunctionExpression" && secondArg.type !== "ConditionalExpression" && isHopefullyShortCallArgument(secondArg) && !couldExpandArg(secondArg);
}
function isHopefullyShortCallArgument(node) {
  if (node.type === "ParenthesizedExpression") {
    return isHopefullyShortCallArgument(node.expression);
  }
  if (isBinaryCastExpression(node) || node.type === "TypeCastExpression") {
    let { typeAnnotation } = node;
    if (typeAnnotation.type === "TypeAnnotation") {
      typeAnnotation = typeAnnotation.typeAnnotation;
    }
    if (typeAnnotation.type === "TSArrayType") {
      typeAnnotation = typeAnnotation.elementType;
      if (typeAnnotation.type === "TSArrayType") {
        typeAnnotation = typeAnnotation.elementType;
      }
    }
    if (typeAnnotation.type === "GenericTypeAnnotation" || typeAnnotation.type === "TSTypeReference") {
      const typeArguments = typeAnnotation.typeArguments ?? typeAnnotation.typeParameters;
      if ((typeArguments == null ? void 0 : typeArguments.params.length) === 1) {
        typeAnnotation = typeArguments.params[0];
      }
    }
    return isSimpleType(typeAnnotation) && isSimpleCallArgument(node.expression, 1);
  }
  if (isCallLikeExpression(node) && getCallArguments(node).length > 1) {
    return false;
  }
  if (isBinaryish(node)) {
    return isSimpleCallArgument(node.left, 1) && isSimpleCallArgument(node.right, 1);
  }
  return isRegExpLiteral(node) || isSimpleCallArgument(node);
}
function isReactHookCallWithDepsArray(args) {
  if (args.length === 2) {
    return isValidHookCallbackAndDepsFormat(
      args,
      /* baseIndex */
      0
    );
  }
  if (args.length === 3) {
    return args[0].type === "Identifier" && isValidHookCallbackAndDepsFormat(
      args,
      /* baseIndex */
      1
    );
  }
  return false;
}
function isValidHookCallbackAndDepsFormat(args, baseIndex) {
  const maybeArrowFunction = args[baseIndex];
  const maybeDepsArray = args[baseIndex + 1];
  return maybeArrowFunction.type === "ArrowFunctionExpression" && getFunctionParameters(maybeArrowFunction).length === 0 && maybeArrowFunction.body.type === "BlockStatement" && maybeDepsArray.type === "ArrayExpression" && !args.some((arg) => hasComment(arg));
}
function isNonEmptyBlockStatement(node) {
  return node.type === "BlockStatement" && (node.body.some((node2) => node2.type !== "EmptyStatement") || hasComment(node, CommentCheckFlags.Dangling));
}
function isTypeModuleObjectExpression(node) {
  return node.type === "ObjectExpression" && node.properties.length === 1 && isObjectProperty(node.properties[0]) && node.properties[0].key.type === "Identifier" && node.properties[0].key.name === "type" && isStringLiteral(node.properties[0].value) && node.properties[0].value.value === "module";
}
var call_arguments_default = printCallArguments;
 
// src/language-js/print/member.js
var isCallExpressionWithArguments = (node) => {
  if (node.type === "ChainExpression" || node.type === "TSNonNullExpression") {
    node = node.expression;
  }
  return isCallExpression(node) && getCallArguments(node).length > 0;
};
function printMemberExpression(path, options2, print3) {
  var _a;
  const objectDoc = print3("object");
  const lookupDoc = printMemberLookup(path, options2, print3);
  const { node } = path;
  const firstNonMemberParent = path.findAncestor(
    (node2) => !(isMemberExpression(node2) || node2.type === "TSNonNullExpression")
  );
  const firstNonChainElementWrapperParent = path.findAncestor(
    (node2) => !(node2.type === "ChainExpression" || node2.type === "TSNonNullExpression")
  );
  const shouldInline = firstNonMemberParent && (firstNonMemberParent.type === "NewExpression" || firstNonMemberParent.type === "BindExpression" || firstNonMemberParent.type === "AssignmentExpression" && firstNonMemberParent.left.type !== "Identifier") || node.computed || node.object.type === "Identifier" && node.property.type === "Identifier" && !isMemberExpression(firstNonChainElementWrapperParent) || (firstNonChainElementWrapperParent.type === "AssignmentExpression" || firstNonChainElementWrapperParent.type === "VariableDeclarator") && (isCallExpressionWithArguments(node.object) || ((_a = objectDoc.label) == null ? void 0 : _a.memberChain));
  return label(objectDoc.label, [
    objectDoc,
    shouldInline ? lookupDoc : group(indent([softline, lookupDoc]))
  ]);
}
function printMemberLookup(path, options2, print3) {
  const property = print3("property");
  const { node } = path;
  const optional = printOptionalToken(path);
  if (!node.computed) {
    return [optional, ".", property];
  }
  if (!node.property || isNumericLiteral(node.property)) {
    return [optional, "[", property, "]"];
  }
  return group([optional, "[", indent([softline, property]), softline, "]"]);
}
 
// src/language-js/print/member-chain.js
function printMemberChain(path, options2, print3) {
  if (path.node.type === "ChainExpression") {
    return path.call(
      () => printMemberChain(path, options2, print3),
      "expression"
    );
  }
  const isExpressionStatement = (path.parent.type === "ChainExpression" ? path.grandparent : path.parent).type === "ExpressionStatement";
  const printedNodes = [];
  function shouldInsertEmptyLineAfter(node2) {
    const { originalText } = options2;
    const nextCharIndex = get_next_non_space_non_comment_character_index_default(
      originalText,
      locEnd(node2)
    );
    const nextChar = originalText.charAt(nextCharIndex);
    if (nextChar === ")") {
      return nextCharIndex !== false && is_next_line_empty_default(originalText, nextCharIndex + 1);
    }
    return isNextLineEmpty2(node2, options2);
  }
  function rec() {
    const { node: node2 } = path;
    if (node2.type === "ChainExpression") {
      return path.call(rec, "expression");
    }
    if (isCallExpression(node2) && (isMemberish(node2.callee) || isCallExpression(node2.callee))) {
      const hasTrailingEmptyLine = shouldInsertEmptyLineAfter(node2);
      printedNodes.unshift({
        node: node2,
        hasTrailingEmptyLine,
        printed: [
          printComments(
            path,
            [
              printOptionalToken(path),
              printFunctionTypeParameters(path, options2, print3),
              call_arguments_default(path, options2, print3)
            ],
            options2
          ),
          hasTrailingEmptyLine ? hardline : ""
        ]
      });
      path.call(rec, "callee");
    } else if (isMemberish(node2)) {
      printedNodes.unshift({
        node: node2,
        needsParens: needs_parens_default(path, options2),
        printed: printComments(
          path,
          isMemberExpression(node2) ? printMemberLookup(path, options2, print3) : printBindExpressionCallee(path, options2, print3),
          options2
        )
      });
      path.call(rec, "object");
    } else if (node2.type === "TSNonNullExpression") {
      printedNodes.unshift({
        node: node2,
        printed: printComments(path, "!", options2)
      });
      path.call(rec, "expression");
    } else {
      printedNodes.unshift({
        node: node2,
        printed: print3()
      });
    }
  }
  const { node } = path;
  printedNodes.unshift({
    node,
    printed: [
      printOptionalToken(path),
      printFunctionTypeParameters(path, options2, print3),
      call_arguments_default(path, options2, print3)
    ]
  });
  if (node.callee) {
    path.call(rec, "callee");
  }
  const groups = [];
  let currentGroup = [printedNodes[0]];
  let i = 1;
  for (; i < printedNodes.length; ++i) {
    if (printedNodes[i].node.type === "TSNonNullExpression" || isCallExpression(printedNodes[i].node) || isMemberExpression(printedNodes[i].node) && printedNodes[i].node.computed && isNumericLiteral(printedNodes[i].node.property)) {
      currentGroup.push(printedNodes[i]);
    } else {
      break;
    }
  }
  if (!isCallExpression(printedNodes[0].node)) {
    for (; i + 1 < printedNodes.length; ++i) {
      if (isMemberish(printedNodes[i].node) && isMemberish(printedNodes[i + 1].node)) {
        currentGroup.push(printedNodes[i]);
      } else {
        break;
      }
    }
  }
  groups.push(currentGroup);
  currentGroup = [];
  let hasSeenCallExpression = false;
  for (; i < printedNodes.length; ++i) {
    if (hasSeenCallExpression && isMemberish(printedNodes[i].node)) {
      if (printedNodes[i].node.computed && isNumericLiteral(printedNodes[i].node.property)) {
        currentGroup.push(printedNodes[i]);
        continue;
      }
      groups.push(currentGroup);
      currentGroup = [];
      hasSeenCallExpression = false;
    }
    if (isCallExpression(printedNodes[i].node) || printedNodes[i].node.type === "ImportExpression") {
      hasSeenCallExpression = true;
    }
    currentGroup.push(printedNodes[i]);
    if (hasComment(printedNodes[i].node, CommentCheckFlags.Trailing)) {
      groups.push(currentGroup);
      currentGroup = [];
      hasSeenCallExpression = false;
    }
  }
  if (currentGroup.length > 0) {
    groups.push(currentGroup);
  }
  function isFactory(name) {
    return /^[A-Z]|^[$_]+$/u.test(name);
  }
  function isShort(name) {
    return name.length <= options2.tabWidth;
  }
  function shouldNotWrap(groups2) {
    var _a;
    const hasComputed = (_a = groups2[1][0]) == null ? void 0 : _a.node.computed;
    if (groups2[0].length === 1) {
      const firstNode = groups2[0][0].node;
      return firstNode.type === "ThisExpression" || firstNode.type === "Identifier" && (isFactory(firstNode.name) || isExpressionStatement && isShort(firstNode.name) || hasComputed);
    }
    const lastNode = at_default(
      /* isOptionalObject */
      false,
      groups2[0],
      -1
    ).node;
    return isMemberExpression(lastNode) && lastNode.property.type === "Identifier" && (isFactory(lastNode.property.name) || hasComputed);
  }
  const shouldMerge = groups.length >= 2 && !hasComment(groups[1][0].node) && shouldNotWrap(groups);
  function printGroup(printedGroup) {
    const printed = printedGroup.map((tuple) => tuple.printed);
    if (printedGroup.length > 0 && at_default(
      /* isOptionalObject */
      false,
      printedGroup,
      -1
    ).needsParens) {
      return ["(", ...printed, ")"];
    }
    return printed;
  }
  function printIndentedGroup(groups2) {
    if (groups2.length === 0) {
      return "";
    }
    return indent([hardline, join(hardline, groups2.map(printGroup))]);
  }
  const printedGroups = groups.map(printGroup);
  const oneLine = printedGroups;
  const cutoff = shouldMerge ? 3 : 2;
  const flatGroups = groups.flat();
  const nodeHasComment = flatGroups.slice(1, -1).some((node2) => hasComment(node2.node, CommentCheckFlags.Leading)) || flatGroups.slice(0, -1).some((node2) => hasComment(node2.node, CommentCheckFlags.Trailing)) || groups[cutoff] && hasComment(groups[cutoff][0].node, CommentCheckFlags.Leading);
  if (groups.length <= cutoff && !nodeHasComment && !groups.some((g) => at_default(
    /* isOptionalObject */
    false,
    g,
    -1
  ).hasTrailingEmptyLine)) {
    if (isLongCurriedCallExpression(path)) {
      return oneLine;
    }
    return group(oneLine);
  }
  const lastNodeBeforeIndent = at_default(
    /* isOptionalObject */
    false,
    groups[shouldMerge ? 1 : 0],
    -1
  ).node;
  const shouldHaveEmptyLineBeforeIndent = !isCallExpression(lastNodeBeforeIndent) && shouldInsertEmptyLineAfter(lastNodeBeforeIndent);
  const expanded = [
    printGroup(groups[0]),
    shouldMerge ? groups.slice(1, 2).map(printGroup) : "",
    shouldHaveEmptyLineBeforeIndent ? hardline : "",
    printIndentedGroup(groups.slice(shouldMerge ? 2 : 1))
  ];
  const callExpressions = printedNodes.map(({ node: node2 }) => node2).filter(isCallExpression);
  function lastGroupWillBreakAndOtherCallsHaveFunctionArguments() {
    const lastGroupNode = at_default(
      /* isOptionalObject */
      false,
      at_default(
        /* isOptionalObject */
        false,
        groups,
        -1
      ),
      -1
    ).node;
    const lastGroupDoc = at_default(
      /* isOptionalObject */
      false,
      printedGroups,
      -1
    );
    return isCallExpression(lastGroupNode) && willBreak(lastGroupDoc) && callExpressions.slice(0, -1).some((node2) => node2.arguments.some(isFunctionOrArrowExpression));
  }
  let result;
  if (nodeHasComment || callExpressions.length > 2 && callExpressions.some(
    (expr) => !expr.arguments.every((arg) => isSimpleCallArgument(arg))
  ) || printedGroups.slice(0, -1).some(willBreak) || lastGroupWillBreakAndOtherCallsHaveFunctionArguments()) {
    result = group(expanded);
  } else {
    result = [
      // We only need to check `oneLine` because if `expanded` is chosen
      // that means that the parent group has already been broken
      // naturally
      willBreak(oneLine) || shouldHaveEmptyLineBeforeIndent ? breakParent : "",
      conditionalGroup([oneLine, expanded])
    ];
  }
  return label({ memberChain: true }, result);
}
var member_chain_default = printMemberChain;
 
// src/language-js/print/call-expression.js
function printCallExpression(path, options2, print3) {
  var _a;
  const { node } = path;
  const isNew = node.type === "NewExpression";
  const isDynamicImport = node.type === "ImportExpression";
  const optional = printOptionalToken(path);
  const args = getCallArguments(node);
  const isTemplateLiteralSingleArg = args.length === 1 && isTemplateOnItsOwnLine(args[0], options2.originalText);
  if (isTemplateLiteralSingleArg || // Dangling comments are not handled, all these special cases should have arguments #9668
  // We want to keep CommonJS- and AMD-style require calls, and AMD-style
  // define calls, as a unit.
  // e.g. `define(["some/lib"], (lib) => {`
  isCommonsJsOrAmdModuleDefinition(path) || // Keep test declarations on a single line
  // e.g. `it('long name', () => {`
  isTestCall(node, path.parent)) {
    const printed = [];
    iterateCallArgumentsPath(path, () => {
      printed.push(print3());
    });
    if (!(isTemplateLiteralSingleArg && ((_a = printed[0].label) == null ? void 0 : _a.embed))) {
      return [
        isNew ? "new " : "",
        printCallee(path, print3),
        optional,
        printFunctionTypeParameters(path, options2, print3),
        "(",
        join(", ", printed),
        ")"
      ];
    }
  }
  if (!isDynamicImport && !isNew && isMemberish(node.callee) && !path.call(
    (path2) => needs_parens_default(path2, options2),
    "callee",
    ...node.callee.type === "ChainExpression" ? ["expression"] : []
  )) {
    return member_chain_default(path, options2, print3);
  }
  const contents = [
    isNew ? "new " : "",
    printCallee(path, print3),
    optional,
    printFunctionTypeParameters(path, options2, print3),
    call_arguments_default(path, options2, print3)
  ];
  if (isDynamicImport || isCallExpression(node.callee)) {
    return group(contents);
  }
  return contents;
}
function printCallee(path, print3) {
  const { node } = path;
  if (node.type === "ImportExpression") {
    return `import${node.phase ? `.${node.phase}` : ""}`;
  }
  return print3("callee");
}
function isCommonsJsOrAmdModuleDefinition(path) {
  const { node } = path;
  if (node.type !== "CallExpression" || node.optional) {
    return false;
  }
  if (node.callee.type !== "Identifier") {
    return false;
  }
  const args = getCallArguments(node);
  if (node.callee.name === "require") {
    return args.length === 1 && isStringLiteral(args[0]) || args.length > 1;
  }
  if (node.callee.name === "define" && path.parent.type === "ExpressionStatement") {
    return args.length === 1 || args.length === 2 && args[0].type === "ArrayExpression" || args.length === 3 && isStringLiteral(args[0]) && args[1].type === "ArrayExpression";
  }
  return false;
}
 
// src/language-js/print/assignment.js
function printAssignment(path, options2, print3, leftDoc, operator, rightPropertyName) {
  const layout = chooseLayout(path, options2, print3, leftDoc, rightPropertyName);
  const rightDoc = rightPropertyName ? print3(rightPropertyName, { assignmentLayout: layout }) : "";
  switch (layout) {
    // First break after operator, then the sides are broken independently on their own lines
    case "break-after-operator":
      return group([group(leftDoc), operator, group(indent([line, rightDoc]))]);
    // First break right-hand side, then left-hand side
    case "never-break-after-operator":
      return group([group(leftDoc), operator, " ", rightDoc]);
    // First break right-hand side, then after operator
    case "fluid": {
      const groupId = Symbol("assignment");
      return group([
        group(leftDoc),
        operator,
        group(indent(line), { id: groupId }),
        lineSuffixBoundary,
        indentIfBreak(rightDoc, { groupId })
      ]);
    }
    case "break-lhs":
      return group([leftDoc, operator, " ", group(rightDoc)]);
    // Parts of assignment chains aren't wrapped in groups.
    // Once one of them breaks, the chain breaks too.
    case "chain":
      return [group(leftDoc), operator, line, rightDoc];
    case "chain-tail":
      return [group(leftDoc), operator, indent([line, rightDoc])];
    case "chain-tail-arrow-chain":
      return [group(leftDoc), operator, rightDoc];
    case "only-left":
      return leftDoc;
  }
}
function printAssignmentExpression(path, options2, print3) {
  const { node } = path;
  return printAssignment(
    path,
    options2,
    print3,
    print3("left"),
    [" ", node.operator],
    "right"
  );
}
function printVariableDeclarator(path, options2, print3) {
  return printAssignment(path, options2, print3, print3("id"), " =", "init");
}
function chooseLayout(path, options2, print3, leftDoc, rightPropertyName) {
  const { node } = path;
  const rightNode = node[rightPropertyName];
  if (!rightNode) {
    return "only-left";
  }
  const isTail = !isAssignment(rightNode);
  const shouldUseChainFormatting = path.match(
    isAssignment,
    isAssignmentOrVariableDeclarator,
    (node2) => !isTail || node2.type !== "ExpressionStatement" && node2.type !== "VariableDeclaration"
  );
  if (shouldUseChainFormatting) {
    return !isTail ? "chain" : rightNode.type === "ArrowFunctionExpression" && rightNode.body.type === "ArrowFunctionExpression" ? "chain-tail-arrow-chain" : "chain-tail";
  }
  const isHeadOfLongChain = !isTail && isAssignment(rightNode.right);
  if (isHeadOfLongChain || hasLeadingOwnLineComment(options2.originalText, rightNode)) {
    return "break-after-operator";
  }
  if (node.type === "ImportAttribute" || rightNode.type === "CallExpression" && rightNode.callee.name === "require" || // do not put values on a separate line from the key in json
  options2.parser === "json5" || options2.parser === "jsonc" || options2.parser === "json") {
    return "never-break-after-operator";
  }
  const canBreakLeftDoc = canBreak(leftDoc);
  if (isComplexDestructuring(node) || hasComplexTypeAnnotation(node) || isArrowFunctionVariableDeclarator(node) && canBreakLeftDoc) {
    return "break-lhs";
  }
  const hasShortKey = isObjectPropertyWithShortKey(node, leftDoc, options2);
  if (path.call(
    () => shouldBreakAfterOperator(path, options2, print3, hasShortKey),
    rightPropertyName
  )) {
    return "break-after-operator";
  }
  if (isComplexTypeAliasParams(node)) {
    return "break-lhs";
  }
  if (!canBreakLeftDoc && (hasShortKey || rightNode.type === "TemplateLiteral" || rightNode.type === "TaggedTemplateExpression" || isBooleanLiteral(rightNode) || isNumericLiteral(rightNode) || rightNode.type === "ClassExpression")) {
    return "never-break-after-operator";
  }
  return "fluid";
}
function shouldBreakAfterOperator(path, options2, print3, hasShortKey) {
  const rightNode = path.node;
  if (isBinaryish(rightNode) && !shouldInlineLogicalExpression(rightNode)) {
    return true;
  }
  switch (rightNode.type) {
    case "StringLiteralTypeAnnotation":
    case "SequenceExpression":
      return true;
    case "TSConditionalType":
    case "ConditionalTypeAnnotation":
      if (!options2.experimentalTernaries && !shouldBreakBeforeConditionalType(rightNode)) {
        break;
      }
      return true;
    case "ConditionalExpression": {
      if (!options2.experimentalTernaries) {
        const { test } = rightNode;
        return isBinaryish(test) && !shouldInlineLogicalExpression(test);
      }
      const { consequent, alternate } = rightNode;
      return consequent.type === "ConditionalExpression" || alternate.type === "ConditionalExpression";
    }
    case "ClassExpression":
      return is_non_empty_array_default(rightNode.decorators);
  }
  if (hasShortKey) {
    return false;
  }
  let node = rightNode;
  const propertiesForPath = [];
  while (true) {
    if (node.type === "UnaryExpression" || node.type === "AwaitExpression" || node.type === "YieldExpression" && node.argument !== null) {
      node = node.argument;
      propertiesForPath.push("argument");
    } else if (node.type === "TSNonNullExpression") {
      node = node.expression;
      propertiesForPath.push("expression");
    } else {
      break;
    }
  }
  if (isStringLiteral(node) || path.call(
    () => isPoorlyBreakableMemberOrCallChain(path, options2, print3),
    ...propertiesForPath
  )) {
    return true;
  }
  return false;
}
function isComplexDestructuring(node) {
  if (isAssignmentOrVariableDeclarator(node)) {
    const leftNode = node.left || node.id;
    return leftNode.type === "ObjectPattern" && leftNode.properties.length > 2 && leftNode.properties.some(
      (property) => {
        var _a;
        return isObjectProperty(property) && (!property.shorthand || ((_a = property.value) == null ? void 0 : _a.type) === "AssignmentPattern");
      }
    );
  }
  return false;
}
function isAssignment(node) {
  return node.type === "AssignmentExpression";
}
function isAssignmentOrVariableDeclarator(node) {
  return isAssignment(node) || node.type === "VariableDeclarator";
}
function isComplexTypeAliasParams(node) {
  const typeParams = getTypeParametersFromTypeAlias(node);
  if (is_non_empty_array_default(typeParams)) {
    const constraintPropertyName = node.type === "TSTypeAliasDeclaration" ? "constraint" : "bound";
    if (typeParams.length > 1 && typeParams.some((param) => param[constraintPropertyName] || param.default)) {
      return true;
    }
  }
  return false;
}
var isTypeAlias = create_type_check_function_default([
  "TSTypeAliasDeclaration",
  "TypeAlias"
]);
function getTypeParametersFromTypeAlias(node) {
  var _a;
  if (isTypeAlias(node)) {
    return (_a = node.typeParameters) == null ? void 0 : _a.params;
  }
}
function hasComplexTypeAnnotation(node) {
  if (node.type !== "VariableDeclarator") {
    return false;
  }
  const { typeAnnotation } = node.id;
  if (!typeAnnotation || !typeAnnotation.typeAnnotation) {
    return false;
  }
  const typeParams = getTypeParametersFromTypeReference(
    typeAnnotation.typeAnnotation
  );
  return is_non_empty_array_default(typeParams) && typeParams.length > 1 && typeParams.some(
    (param) => is_non_empty_array_default(getTypeParametersFromTypeReference(param)) || param.type === "TSConditionalType"
  );
}
function isArrowFunctionVariableDeclarator(node) {
  var _a;
  return node.type === "VariableDeclarator" && ((_a = node.init) == null ? void 0 : _a.type) === "ArrowFunctionExpression";
}
var isTypeReference = create_type_check_function_default([
  "TSTypeReference",
  "GenericTypeAnnotation"
]);
function getTypeParametersFromTypeReference(node) {
  var _a;
  if (isTypeReference(node)) {
    return (_a = node.typeArguments ?? node.typeParameters) == null ? void 0 : _a.params;
  }
}
function isPoorlyBreakableMemberOrCallChain(path, options2, print3, deep = false) {
  var _a;
  const { node } = path;
  const goDeeper = () => isPoorlyBreakableMemberOrCallChain(path, options2, print3, true);
  if (node.type === "ChainExpression" || node.type === "TSNonNullExpression") {
    return path.call(goDeeper, "expression");
  }
  if (isCallExpression(node)) {
    const doc = printCallExpression(path, options2, print3);
    if ((_a = doc.label) == null ? void 0 : _a.memberChain) {
      return false;
    }
    const args = getCallArguments(node);
    const isPoorlyBreakableCall = args.length === 0 || args.length === 1 && isLoneShortArgument(args[0], options2);
    if (!isPoorlyBreakableCall) {
      return false;
    }
    if (isCallExpressionWithComplexTypeArguments(node, print3)) {
      return false;
    }
    return path.call(goDeeper, "callee");
  }
  if (isMemberExpression(node)) {
    return path.call(goDeeper, "object");
  }
  return deep && (node.type === "Identifier" || node.type === "ThisExpression");
}
function isObjectPropertyWithShortKey(node, keyDoc, options2) {
  if (!isObjectProperty(node)) {
    return false;
  }
  keyDoc = cleanDoc(keyDoc);
  const MIN_OVERLAP_FOR_BREAK = 3;
  return typeof keyDoc === "string" && get_string_width_default(keyDoc) < options2.tabWidth + MIN_OVERLAP_FOR_BREAK;
}
function isCallExpressionWithComplexTypeArguments(node, print3) {
  const typeArgs = getTypeArgumentsFromCallExpression(node);
  if (is_non_empty_array_default(typeArgs)) {
    if (typeArgs.length > 1) {
      return true;
    }
    if (typeArgs.length === 1) {
      const firstArg = typeArgs[0];
      if (isUnionType(firstArg) || isIntersectionType(firstArg) || firstArg.type === "TSTypeLiteral" || firstArg.type === "ObjectTypeAnnotation") {
        return true;
      }
    }
    const typeArgsKeyName = node.typeParameters ? "typeParameters" : "typeArguments";
    if (willBreak(print3(typeArgsKeyName))) {
      return true;
    }
  }
  return false;
}
function getTypeArgumentsFromCallExpression(node) {
  var _a;
  return (_a = node.typeParameters ?? node.typeArguments) == null ? void 0 : _a.params;
}
function shouldBreakBeforeConditionalType(node) {
  function isGeneric(subNode) {
    switch (subNode.type) {
      case "FunctionTypeAnnotation":
      case "GenericTypeAnnotation":
      case "TSFunctionType":
        return Boolean(subNode.typeParameters);
      case "TSTypeReference":
        return Boolean(
          // TODO: Use `typeArguments` only when babel align with TS.
          subNode.typeArguments ?? subNode.typeParameters
        );
      default:
        return false;
    }
  }
  return isGeneric(node.checkType) || isGeneric(node.extendsType);
}
 
// src/language-js/print/function-parameters.js
function printFunctionParameters(path, options2, print3, expandArg, printTypeParams) {
  const functionNode = path.node;
  const parameters = getFunctionParameters(functionNode);
  const typeParams = printTypeParams ? printFunctionTypeParameters(path, options2, print3) : "";
  if (parameters.length === 0) {
    return [
      typeParams,
      "(",
      printDanglingComments(path, options2, {
        filter: (comment) => get_next_non_space_non_comment_character_default(
          options2.originalText,
          locEnd(comment)
        ) === ")"
      }),
      ")"
    ];
  }
  const { parent } = path;
  const isParametersInTestCall = isTestCall(parent);
  const shouldHugParameters = shouldHugTheOnlyFunctionParameter(functionNode);
  const printed = [];
  iterateFunctionParametersPath(path, (parameterPath, index) => {
    const isLastParameter = index === parameters.length - 1;
    if (isLastParameter && functionNode.rest) {
      printed.push("...");
    }
    printed.push(print3());
    if (isLastParameter) {
      return;
    }
    printed.push(",");
    if (isParametersInTestCall || shouldHugParameters) {
      printed.push(" ");
    } else if (isNextLineEmpty2(parameters[index], options2)) {
      printed.push(hardline, hardline);
    } else {
      printed.push(line);
    }
  });
  if (expandArg && !isDecoratedFunction(path)) {
    if (willBreak(typeParams) || willBreak(printed)) {
      throw new ArgExpansionBailout();
    }
    return group([removeLines(typeParams), "(", removeLines(printed), ")"]);
  }
  const hasNotParameterDecorator = parameters.every(
    (node) => !is_non_empty_array_default(node.decorators)
  );
  if (shouldHugParameters && hasNotParameterDecorator) {
    return [typeParams, "(", ...printed, ")"];
  }
  if (isParametersInTestCall) {
    return [typeParams, "(", ...printed, ")"];
  }
  const isFlowShorthandWithOneArg = (isFlowObjectTypePropertyAFunction(parent) || isTypeAnnotationAFunction(parent) || parent.type === "TypeAlias" || parent.type === "UnionTypeAnnotation" || parent.type === "IntersectionTypeAnnotation" || parent.type === "FunctionTypeAnnotation" && parent.returnType === functionNode) && parameters.length === 1 && parameters[0].name === null && // `type q = (this: string) => void;`
  functionNode.this !== parameters[0] && parameters[0].typeAnnotation && functionNode.typeParameters === null && isSimpleType(parameters[0].typeAnnotation) && !functionNode.rest;
  if (isFlowShorthandWithOneArg) {
    if (options2.arrowParens === "always" || functionNode.type === "HookTypeAnnotation") {
      return ["(", ...printed, ")"];
    }
    return printed;
  }
  return [
    typeParams,
    "(",
    indent([softline, ...printed]),
    ifBreak(
      !hasRestParameter(functionNode) && shouldPrintComma(options2, "all") ? "," : ""
    ),
    softline,
    ")"
  ];
}
function shouldHugTheOnlyFunctionParameter(node) {
  if (!node) {
    return false;
  }
  const parameters = getFunctionParameters(node);
  if (parameters.length !== 1) {
    return false;
  }
  const [parameter] = parameters;
  return !hasComment(parameter) && (parameter.type === "ObjectPattern" || parameter.type === "ArrayPattern" || parameter.type === "Identifier" && parameter.typeAnnotation && (parameter.typeAnnotation.type === "TypeAnnotation" || parameter.typeAnnotation.type === "TSTypeAnnotation") && isObjectType(parameter.typeAnnotation.typeAnnotation) || parameter.type === "FunctionTypeParam" && isObjectType(parameter.typeAnnotation) && parameter !== node.rest || parameter.type === "AssignmentPattern" && (parameter.left.type === "ObjectPattern" || parameter.left.type === "ArrayPattern") && (parameter.right.type === "Identifier" || isObjectExpression(parameter.right) && parameter.right.properties.length === 0 || isArrayExpression(parameter.right) && parameter.right.elements.length === 0));
}
function getReturnTypeNode(functionNode) {
  let returnTypeNode;
  if (functionNode.returnType) {
    returnTypeNode = functionNode.returnType;
    if (returnTypeNode.typeAnnotation) {
      returnTypeNode = returnTypeNode.typeAnnotation;
    }
  } else if (functionNode.typeAnnotation) {
    returnTypeNode = functionNode.typeAnnotation;
  }
  return returnTypeNode;
}
function shouldGroupFunctionParameters(functionNode, returnTypeDoc) {
  var _a;
  const returnTypeNode = getReturnTypeNode(functionNode);
  if (!returnTypeNode) {
    return false;
  }
  const typeParameters = (_a = functionNode.typeParameters) == null ? void 0 : _a.params;
  if (typeParameters) {
    if (typeParameters.length > 1) {
      return false;
    }
    if (typeParameters.length === 1) {
      const typeParameter = typeParameters[0];
      if (typeParameter.constraint || typeParameter.default) {
        return false;
      }
    }
  }
  return getFunctionParameters(functionNode).length === 1 && (isObjectType(returnTypeNode) || willBreak(returnTypeDoc));
}
function isDecoratedFunction(path) {
  return path.match(
    (node) => node.type === "ArrowFunctionExpression" && node.body.type === "BlockStatement",
    (node, name) => {
      if (node.type === "CallExpression" && name === "arguments" && node.arguments.length === 1 && node.callee.type === "CallExpression") {
        const decorator = node.callee.callee;
        return decorator.type === "Identifier" || decorator.type === "MemberExpression" && !decorator.computed && decorator.object.type === "Identifier" && decorator.property.type === "Identifier";
      }
      return false;
    },
    (node, name) => node.type === "VariableDeclarator" && name === "init" || node.type === "ExportDefaultDeclaration" && name === "declaration" || node.type === "TSExportAssignment" && name === "expression" || node.type === "AssignmentExpression" && name === "right" && node.left.type === "MemberExpression" && node.left.object.type === "Identifier" && node.left.object.name === "module" && node.left.property.type === "Identifier" && node.left.property.name === "exports",
    (node) => node.type !== "VariableDeclaration" || node.kind === "const" && node.declarations.length === 1
  );
}
function shouldBreakFunctionParameters(functionNode) {
  const parameters = getFunctionParameters(functionNode);
  return parameters.length > 1 && parameters.some((parameter) => parameter.type === "TSParameterProperty");
}
 
// src/language-js/print/type-annotation.js
var isVoidType = create_type_check_function_default([
  "VoidTypeAnnotation",
  "TSVoidKeyword",
  "NullLiteralTypeAnnotation",
  "TSNullKeyword"
]);
var isObjectLikeType = create_type_check_function_default([
  "ObjectTypeAnnotation",
  "TSTypeLiteral",
  // This is a bit aggressive but captures Array<{x}>
  "GenericTypeAnnotation",
  "TSTypeReference"
]);
function shouldHugUnionType(node) {
  const { types } = node;
  if (types.some((node2) => hasComment(node2))) {
    return false;
  }
  const objectType = types.find((node2) => isObjectLikeType(node2));
  if (!objectType) {
    return false;
  }
  return types.every((node2) => node2 === objectType || isVoidType(node2));
}
function shouldHugType(node) {
  if (isSimpleType(node) || isObjectType(node)) {
    return true;
  }
  if (isUnionType(node)) {
    return shouldHugUnionType(node);
  }
  return false;
}
function printOpaqueType(path, options2, print3) {
  const semi = options2.semi ? ";" : "";
  const { node } = path;
  const parts = [
    printDeclareToken(path),
    "opaque type ",
    print3("id"),
    print3("typeParameters")
  ];
  if (node.supertype) {
    parts.push(": ", print3("supertype"));
  }
  if (node.impltype) {
    parts.push(" = ", print3("impltype"));
  }
  parts.push(semi);
  return parts;
}
function printTypeAlias(path, options2, print3) {
  const semi = options2.semi ? ";" : "";
  const { node } = path;
  const parts = [printDeclareToken(path)];
  parts.push("type ", print3("id"), print3("typeParameters"));
  const rightPropertyName = node.type === "TSTypeAliasDeclaration" ? "typeAnnotation" : "right";
  return [
    printAssignment(path, options2, print3, parts, " =", rightPropertyName),
    semi
  ];
}
function printIntersectionType(path, options2, print3) {
  let wasIndented = false;
  return group(
    path.map(({ isFirst, previous, node, index }) => {
      const doc = print3();
      if (isFirst) {
        return doc;
      }
      const currentIsObjectType = isObjectType(node);
      const previousIsObjectType = isObjectType(previous);
      if (previousIsObjectType && currentIsObjectType) {
        return [" & ", wasIndented ? indent(doc) : doc];
      }
      if (
        // If no object is involved, go to the next line if it breaks
        !previousIsObjectType && !currentIsObjectType || hasLeadingOwnLineComment(options2.originalText, node)
      ) {
        if (options2.experimentalOperatorPosition === "start") {
          return indent([line, "& ", doc]);
        }
        return indent([" &", line, doc]);
      }
      if (index > 1) {
        wasIndented = true;
      }
      return [" & ", index > 1 ? indent(doc) : doc];
    }, "types")
  );
}
function printUnionType(path, options2, print3) {
  const { node } = path;
  const { parent } = path;
  const shouldIndent = parent.type !== "TypeParameterInstantiation" && (!isConditionalType(parent) || !options2.experimentalTernaries) && parent.type !== "TSTypeParameterInstantiation" && parent.type !== "GenericTypeAnnotation" && parent.type !== "TSTypeReference" && parent.type !== "TSTypeAssertion" && parent.type !== "TupleTypeAnnotation" && parent.type !== "TSTupleType" && !(parent.type === "FunctionTypeParam" && !parent.name && path.grandparent.this !== parent) && !((parent.type === "TypeAlias" || parent.type === "VariableDeclarator" || parent.type === "TSTypeAliasDeclaration") && hasLeadingOwnLineComment(options2.originalText, node));
  const shouldHug = shouldHugType(node);
  const printed = path.map((typePath) => {
    let printedType = print3();
    if (!shouldHug) {
      printedType = align(2, printedType);
    }
    return printComments(typePath, printedType, options2);
  }, "types");
  if (shouldHug) {
    return join(" | ", printed);
  }
  const shouldAddStartLine = shouldIndent && !hasLeadingOwnLineComment(options2.originalText, node);
  const code = [
    ifBreak([shouldAddStartLine ? line : "", "| "]),
    join([line, "| "], printed)
  ];
  if (needs_parens_default(path, options2)) {
    return group([indent(code), softline]);
  }
  if (parent.type === "TupleTypeAnnotation" || parent.type === "TSTupleType") {
    const elementTypes = parent[
      // TODO: Remove `types` when babel changes AST of `TupleTypeAnnotation`
      parent.type === "TupleTypeAnnotation" && parent.types ? "types" : "elementTypes"
    ];
    if (elementTypes.length > 1) {
      return group([
        indent([ifBreak(["(", softline]), code]),
        softline,
        ifBreak(")")
      ]);
    }
  }
  return group(shouldIndent ? indent(code) : code);
}
function isFlowArrowFunctionTypeAnnotation(path) {
  var _a;
  const { node, parent } = path;
  return node.type === "FunctionTypeAnnotation" && (isFlowObjectTypePropertyAFunction(parent) || !((parent.type === "ObjectTypeProperty" || parent.type === "ObjectTypeInternalSlot") && !parent.variance && !parent.optional && hasSameLocStart(parent, node) || parent.type === "ObjectTypeCallProperty" || ((_a = path.getParentNode(2)) == null ? void 0 : _a.type) === "DeclareFunction"));
}
function printFunctionType(path, options2, print3) {
  const { node } = path;
  const parts = [
    // `TSConstructorType` only
    printAbstractToken(path)
  ];
  if (node.type === "TSConstructorType" || node.type === "TSConstructSignatureDeclaration") {
    parts.push("new ");
  }
  let parametersDoc = printFunctionParameters(
    path,
    options2,
    print3,
    /* expandArg */
    false,
    /* printTypeParams */
    true
  );
  const returnTypeDoc = [];
  if (node.type === "FunctionTypeAnnotation") {
    returnTypeDoc.push(
      isFlowArrowFunctionTypeAnnotation(path) ? " => " : ": ",
      print3("returnType")
    );
  } else {
    returnTypeDoc.push(
      printTypeAnnotationProperty(
        path,
        print3,
        node.returnType ? "returnType" : "typeAnnotation"
      )
    );
  }
  if (shouldGroupFunctionParameters(node, returnTypeDoc)) {
    parametersDoc = group(parametersDoc);
  }
  parts.push(parametersDoc, returnTypeDoc);
  return group(parts);
}
function printIndexedAccessType(path, options2, print3) {
  return [
    print3("objectType"),
    printOptionalToken(path),
    "[",
    print3("indexType"),
    "]"
  ];
}
function printInferType(path, options2, print3) {
  return ["infer ", print3("typeParameter")];
}
function printJSDocType(path, print3, token) {
  const { node } = path;
  return [
    node.postfix ? "" : token,
    printTypeAnnotationProperty(path, print3),
    node.postfix ? token : ""
  ];
}
function printRestType(path, options2, print3) {
  const { node } = path;
  return [
    "...",
    ...node.type === "TupleTypeSpreadElement" && node.label ? [print3("label"), ": "] : [],
    print3("typeAnnotation")
  ];
}
function printNamedTupleMember(path, options2, print3) {
  const { node } = path;
  return [
    // `TupleTypeLabeledElement` only
    node.variance ? print3("variance") : "",
    print3("label"),
    node.optional ? "?" : "",
    ": ",
    print3("elementType")
  ];
}
var typeAnnotationNodesCheckedLeadingComments = /* @__PURE__ */ new WeakSet();
function printTypeAnnotationProperty(path, print3, propertyName = "typeAnnotation") {
  const {
    node: { [propertyName]: typeAnnotation }
  } = path;
  if (!typeAnnotation) {
    return "";
  }
  let shouldPrintLeadingSpace = false;
  if (typeAnnotation.type === "TSTypeAnnotation" || typeAnnotation.type === "TypeAnnotation") {
    const firstToken = path.call(getTypeAnnotationFirstToken, propertyName);
    if (firstToken === "=>" || firstToken === ":" && hasComment(typeAnnotation, CommentCheckFlags.Leading)) {
      shouldPrintLeadingSpace = true;
    }
    typeAnnotationNodesCheckedLeadingComments.add(typeAnnotation);
  }
  return shouldPrintLeadingSpace ? [" ", print3(propertyName)] : print3(propertyName);
}
var getTypeAnnotationFirstToken = (path) => {
  if (
    // TypeScript
    path.match(
      (node) => node.type === "TSTypeAnnotation",
      (node, key) => (key === "returnType" || key === "typeAnnotation") && (node.type === "TSFunctionType" || node.type === "TSConstructorType")
    )
  ) {
    return "=>";
  }
  if (
    // TypeScript
    path.match(
      (node) => node.type === "TSTypeAnnotation",
      (node, key) => key === "typeAnnotation" && (node.type === "TSJSDocNullableType" || node.type === "TSJSDocNonNullableType" || node.type === "TSTypePredicate")
    ) || /*
        Flow
    
        ```js
        declare function foo(): void;
                            ^^^^^^^^ `TypeAnnotation`
        ```
        */
    path.match(
      (node) => node.type === "TypeAnnotation",
      (node, key) => key === "typeAnnotation" && node.type === "Identifier",
      (node, key) => key === "id" && node.type === "DeclareFunction"
    ) || /*
    Flow
    ```js
    declare hook foo(): void;
                    ^^^^^^^^ `TypeAnnotation`
    ```
    */
    path.match(
      (node) => node.type === "TypeAnnotation",
      (node, key) => key === "typeAnnotation" && node.type === "Identifier",
      (node, key) => key === "id" && node.type === "DeclareHook"
    ) || /*
        Flow
    
        ```js
        type A = () => infer R extends string;
                                       ^^^^^^ `TypeAnnotation`
        ```
        */
    path.match(
      (node) => node.type === "TypeAnnotation",
      (node, key) => key === "bound" && node.type === "TypeParameter" && node.usesExtendsBound
    )
  ) {
    return "";
  }
  return ":";
};
function printTypeAnnotation(path, options2, print3) {
  if (false) {
    const { node } = path;
    if (!typeAnnotationNodesCheckedLeadingComments.has(node)) {
      throw Object.assign(
        new Error(
          `'${node.type}' should be printed by '${printTypeAnnotationProperty.name}' function.`
        ),
        { parentNode: path.parent, propertyName: path.key }
      );
    }
  }
  const token = getTypeAnnotationFirstToken(path);
  return token ? [token, " ", print3("typeAnnotation")] : print3("typeAnnotation");
}
function printArrayType(print3) {
  return [print3("elementType"), "[]"];
}
function printTypeQuery({ node }, print3) {
  const argumentPropertyName = node.type === "TSTypeQuery" ? "exprName" : "argument";
  const typeArgsPropertyName = (
    // TODO: Use `typeArguments` only when babel align with TS.
    node.type === "TypeofTypeAnnotation" || node.typeArguments ? "typeArguments" : "typeParameters"
  );
  return ["typeof ", print3(argumentPropertyName), print3(typeArgsPropertyName)];
}
function printTypePredicate(path, print3) {
  const { node } = path;
  const prefix = node.type === "TSTypePredicate" && node.asserts ? "asserts " : node.type === "TypePredicate" && node.kind ? `${node.kind} ` : "";
  return [
    prefix,
    print3("parameterName"),
    node.typeAnnotation ? [" is ", printTypeAnnotationProperty(path, print3)] : ""
  ];
}
 
// src/language-js/print/misc.js
function printOptionalToken(path) {
  const { node } = path;
  if (!node.optional || // It's an optional computed method parsed by typescript-estree.
  // "?" is printed in `printMethod`.
  node.type === "Identifier" && node === path.parent.key) {
    return "";
  }
  if (isCallExpression(node) || isMemberExpression(node) && node.computed || node.type === "OptionalIndexedAccessType") {
    return "?.";
  }
  return "?";
}
function printDefiniteToken(path) {
  return path.node.definite || path.match(
    void 0,
    (node, name) => name === "id" && node.type === "VariableDeclarator" && node.definite
  ) ? "!" : "";
}
var flowDeclareNodeTypes = /* @__PURE__ */ new Set([
  "DeclareClass",
  "DeclareComponent",
  "DeclareFunction",
  "DeclareHook",
  "DeclareVariable",
  "DeclareExportDeclaration",
  "DeclareExportAllDeclaration",
  "DeclareOpaqueType",
  "DeclareTypeAlias",
  "DeclareEnum",
  "DeclareInterface"
]);
function printDeclareToken(path) {
  const { node } = path;
  return (
    // TypeScript
    node.declare || // Flow
    flowDeclareNodeTypes.has(node.type) && path.parent.type !== "DeclareExportDeclaration" ? "declare " : ""
  );
}
var tsAbstractNodeTypes = /* @__PURE__ */ new Set([
  "TSAbstractMethodDefinition",
  "TSAbstractPropertyDefinition",
  "TSAbstractAccessorProperty"
]);
function printAbstractToken({ node }) {
  return node.abstract || tsAbstractNodeTypes.has(node.type) ? "abstract " : "";
}
function printFunctionTypeParameters(path, options2, print3) {
  const fun = path.node;
  if (fun.typeArguments) {
    return print3("typeArguments");
  }
  if (fun.typeParameters) {
    return print3("typeParameters");
  }
  return "";
}
function printBindExpressionCallee(path, options2, print3) {
  return ["::", print3("callee")];
}
function adjustClause(node, clause, forceSpace) {
  if (node.type === "EmptyStatement") {
    return ";";
  }
  if (node.type === "BlockStatement" || forceSpace) {
    return [" ", clause];
  }
  return indent([line, clause]);
}
function printRestSpread(path, print3) {
  return ["...", print3("argument"), printTypeAnnotationProperty(path, print3)];
}
function printTypeScriptAccessibilityToken(node) {
  return node.accessibility ? node.accessibility + " " : "";
}
 
// src/language-js/print/array.js
function printEmptyArrayElements(path, options2, openBracket, closeBracket) {
  const { node } = path;
  const inexact = node.inexact ? "..." : "";
  if (!hasComment(node, CommentCheckFlags.Dangling)) {
    return [openBracket, inexact, closeBracket];
  }
  return group([
    openBracket,
    inexact,
    printDanglingComments(path, options2, { indent: true }),
    softline,
    closeBracket
  ]);
}
function printArray(path, options2, print3) {
  const { node } = path;
  const parts = [];
  const openBracket = "[";
  const closeBracket = "]";
  const elementsProperty = (
    // TODO: Remove `types` when babel changes AST of `TupleTypeAnnotation`
    node.type === "TupleTypeAnnotation" && node.types ? "types" : node.type === "TSTupleType" || node.type === "TupleTypeAnnotation" ? "elementTypes" : "elements"
  );
  const elements = node[elementsProperty];
  if (elements.length === 0) {
    parts.push(
      printEmptyArrayElements(path, options2, openBracket, closeBracket)
    );
  } else {
    const lastElem = at_default(
      /* isOptionalObject */
      false,
      elements,
      -1
    );
    const canHaveTrailingComma = (lastElem == null ? void 0 : lastElem.type) !== "RestElement" && !node.inexact;
    const needsForcedTrailingComma = lastElem === null;
    const groupId = Symbol("array");
    const shouldBreak = !options2.__inJestEach && elements.length > 1 && elements.every((element, i, elements2) => {
      const elementType = element == null ? void 0 : element.type;
      if (!isArrayExpression(element) && !isObjectExpression(element)) {
        return false;
      }
      const nextElement = elements2[i + 1];
      if (nextElement && elementType !== nextElement.type) {
        return false;
      }
      const itemsKey = isArrayExpression(element) ? "elements" : "properties";
      return element[itemsKey] && element[itemsKey].length > 1;
    });
    const shouldUseConciseFormatting = isConciselyPrintedArray(node, options2);
    const trailingComma = !canHaveTrailingComma ? "" : needsForcedTrailingComma ? "," : !shouldPrintComma(options2) ? "" : shouldUseConciseFormatting ? ifBreak(",", "", { groupId }) : ifBreak(",");
    parts.push(
      group(
        [
          openBracket,
          indent([
            softline,
            shouldUseConciseFormatting ? printArrayElementsConcisely(path, options2, print3, trailingComma) : [
              printArrayElements(
                path,
                options2,
                print3,
                elementsProperty,
                node.inexact
              ),
              trailingComma
            ],
            printDanglingComments(path, options2)
          ]),
          softline,
          closeBracket
        ],
        { shouldBreak, id: groupId }
      )
    );
  }
  parts.push(
    printOptionalToken(path),
    printTypeAnnotationProperty(path, print3)
  );
  return parts;
}
function isConciselyPrintedArray(node, options2) {
  return isArrayExpression(node) && node.elements.length > 1 && node.elements.every(
    (element) => element && (isNumericLiteral(element) || isSignedNumericLiteral(element) && !hasComment(element.argument)) && !hasComment(
      element,
      CommentCheckFlags.Trailing | CommentCheckFlags.Line,
      (comment) => !has_newline_default(options2.originalText, locStart(comment), {
        backwards: true
      })
    )
  );
}
function isLineAfterElementEmpty({ node }, { originalText: text }) {
  const skipComment = (idx) => skip_inline_comment_default(text, skip_trailing_comment_default(text, idx));
  const skipToComma = (currentIdx) => text[currentIdx] === "," ? currentIdx : skipToComma(skipComment(currentIdx + 1));
  return is_next_line_empty_default(text, skipToComma(locEnd(node)));
}
function printArrayElements(path, options2, print3, elementsProperty, inexact) {
  const parts = [];
  path.each(({ node, isLast }) => {
    parts.push(node ? group(print3()) : "");
    if (!isLast || inexact) {
      parts.push([
        ",",
        line,
        node && isLineAfterElementEmpty(path, options2) ? softline : ""
      ]);
    }
  }, elementsProperty);
  if (inexact) {
    parts.push("...");
  }
  return parts;
}
function printArrayElementsConcisely(path, options2, print3, trailingComma) {
  const parts = [];
  path.each(({ isLast, next }) => {
    parts.push([print3(), isLast ? trailingComma : ","]);
    if (!isLast) {
      parts.push(
        isLineAfterElementEmpty(path, options2) ? [hardline, hardline] : hasComment(next, CommentCheckFlags.Leading | CommentCheckFlags.Line) ? hardline : line
      );
    }
  }, "elements");
  return fill(parts);
}
 
// node_modules/is-es5-identifier-name/index.js
var identifierRegexp = /^[\$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]*$/;
var isEs5IdentifierName = (id) => identifierRegexp.test(id);
var is_es5_identifier_name_default = isEs5IdentifierName;
 
// src/utils/print-number.js
function printNumber(rawNumber) {
  if (rawNumber.length === 1) {
    return rawNumber;
  }
  return rawNumber.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 print_number_default = printNumber;
 
// src/language-js/print/property.js
var needsQuoteProps = /* @__PURE__ */ new WeakMap();
function isSimpleNumber(numberString) {
  return /^(?:\d+|\d+\.\d+)$/u.test(numberString);
}
function isStringKeySafeToUnquote(node, options2) {
  if (options2.parser === "json" || options2.parser === "jsonc" || !isStringLiteral(node.key) || print_string_default(get_raw_default(node.key), options2).slice(1, -1) !== node.key.value) {
    return false;
  }
  if (is_es5_identifier_name_default(node.key.value) && // With `--strictPropertyInitialization`, TS treats properties with quoted names differently than unquoted ones.
  // See https://github.com/microsoft/TypeScript/pull/20075
  !(options2.parser === "babel-ts" && node.type === "ClassProperty" || (options2.parser === "typescript" || options2.parser === "oxc-ts") && node.type === "PropertyDefinition")) {
    return true;
  }
  if (isSimpleNumber(node.key.value) && String(Number(node.key.value)) === node.key.value && node.type !== "ImportAttribute" && (options2.parser === "babel" || options2.parser === "acorn" || options2.parser === "oxc" || options2.parser === "espree" || options2.parser === "meriyah" || options2.parser === "__babel_estree")) {
    return true;
  }
  return false;
}
function shouldQuotePropertyKey(path, options2) {
  const { key } = path.node;
  return (key.type === "Identifier" || isNumericLiteral(key) && isSimpleNumber(print_number_default(get_raw_default(key))) && // Avoid converting 999999999999999999999 to 1e+21, 0.99999999999999999 to 1 and 1.0 to 1.
  String(key.value) === print_number_default(get_raw_default(key)) && // Quoting number keys is safe in JS and Flow, but not in TypeScript (as
  // mentioned in `isStringKeySafeToUnquote`).
  !(options2.parser === "typescript" || options2.parser === "babel-ts" || options2.parser === "oxc-ts")) && (options2.parser === "json" || options2.parser === "jsonc" || options2.quoteProps === "consistent" && needsQuoteProps.get(path.parent));
}
function printPropertyKey(path, options2, print3) {
  const { node } = path;
  if (node.computed) {
    return ["[", print3("key"), "]"];
  }
  const { parent } = path;
  const { key } = node;
  if (options2.quoteProps === "consistent" && !needsQuoteProps.has(parent)) {
    const objectHasStringProp = path.siblings.some(
      (prop) => !prop.computed && isStringLiteral(prop.key) && !isStringKeySafeToUnquote(prop, options2)
    );
    needsQuoteProps.set(parent, objectHasStringProp);
  }
  if (shouldQuotePropertyKey(path, options2)) {
    const prop = print_string_default(
      JSON.stringify(
        key.type === "Identifier" ? key.name : key.value.toString()
      ),
      options2
    );
    return path.call((keyPath) => printComments(keyPath, prop, options2), "key");
  }
  if (isStringKeySafeToUnquote(node, options2) && (options2.quoteProps === "as-needed" || options2.quoteProps === "consistent" && !needsQuoteProps.get(parent))) {
    return path.call(
      (keyPath) => printComments(
        keyPath,
        /^\d/u.test(key.value) ? print_number_default(key.value) : key.value,
        options2
      ),
      "key"
    );
  }
  return print3("key");
}
function printProperty(path, options2, print3) {
  const { node } = path;
  if (node.shorthand) {
    return print3("value");
  }
  return printAssignment(
    path,
    options2,
    print3,
    printPropertyKey(path, options2, print3),
    ":",
    "value"
  );
}
 
// src/language-js/print/function.js
var isMethodValue = ({ node, key, parent }) => key === "value" && node.type === "FunctionExpression" && (parent.type === "ObjectMethod" || parent.type === "ClassMethod" || parent.type === "ClassPrivateMethod" || parent.type === "MethodDefinition" || parent.type === "TSAbstractMethodDefinition" || parent.type === "TSDeclareMethod" || parent.type === "Property" && isMethod(parent));
function printFunction(path, options2, print3, args) {
  if (isMethodValue(path)) {
    return printMethodValue(path, options2, print3);
  }
  const { node } = path;
  let expandArg = false;
  if ((node.type === "FunctionDeclaration" || node.type === "FunctionExpression") && (args == null ? void 0 : args.expandLastArg)) {
    const { parent } = path;
    if (isCallExpression(parent) && (getCallArguments(parent).length > 1 || getFunctionParameters(node).every(
      (param) => param.type === "Identifier" && !param.typeAnnotation
    ))) {
      expandArg = true;
    }
  }
  const parts = [
    printDeclareToken(path),
    node.async ? "async " : "",
    `function${node.generator ? "*" : ""} `,
    node.id ? print3("id") : ""
  ];
  const parametersDoc = printFunctionParameters(
    path,
    options2,
    print3,
    expandArg
  );
  const returnTypeDoc = printReturnType(path, print3);
  const shouldGroupParameters = shouldGroupFunctionParameters(
    node,
    returnTypeDoc
  );
  parts.push(
    printFunctionTypeParameters(path, options2, print3),
    group([
      shouldGroupParameters ? group(parametersDoc) : parametersDoc,
      returnTypeDoc
    ]),
    node.body ? " " : "",
    print3("body")
  );
  if (options2.semi && (node.declare || !node.body)) {
    parts.push(";");
  }
  return parts;
}
function printMethod(path, options2, print3) {
  const { node } = path;
  const { kind } = node;
  const value = node.value || node;
  const parts = [];
  if (!kind || kind === "init" || kind === "method" || kind === "constructor") {
    if (value.async) {
      parts.push("async ");
    }
  } else {
    assert_default.ok(kind === "get" || kind === "set");
    parts.push(kind, " ");
  }
  if (value.generator) {
    parts.push("*");
  }
  parts.push(
    printPropertyKey(path, options2, print3),
    node.optional ? "?" : "",
    node === value ? printMethodValue(path, options2, print3) : print3("value")
  );
  return parts;
}
function printMethodValue(path, options2, print3) {
  const { node } = path;
  const parametersDoc = printFunctionParameters(path, options2, print3);
  const returnTypeDoc = printReturnType(path, print3);
  const shouldBreakParameters = shouldBreakFunctionParameters(node);
  const shouldGroupParameters = shouldGroupFunctionParameters(
    node,
    returnTypeDoc
  );
  const parts = [
    printFunctionTypeParameters(path, options2, print3),
    group([
      shouldBreakParameters ? group(parametersDoc, { shouldBreak: true }) : shouldGroupParameters ? group(parametersDoc) : parametersDoc,
      returnTypeDoc
    ])
  ];
  if (node.body) {
    parts.push(" ", print3("body"));
  } else {
    parts.push(options2.semi ? ";" : "");
  }
  return parts;
}
function canPrintParamsWithoutParens(node) {
  const parameters = getFunctionParameters(node);
  return parameters.length === 1 && !node.typeParameters && !hasComment(node, CommentCheckFlags.Dangling) && parameters[0].type === "Identifier" && !parameters[0].typeAnnotation && !hasComment(parameters[0]) && !parameters[0].optional && !node.predicate && !node.returnType;
}
function shouldPrintParamsWithoutParens(path, options2) {
  if (options2.arrowParens === "always") {
    return false;
  }
  if (options2.arrowParens === "avoid") {
    const { node } = path;
    return canPrintParamsWithoutParens(node);
  }
  return false;
}
function printReturnType(path, print3) {
  const { node } = path;
  const returnType = printTypeAnnotationProperty(path, print3, "returnType");
  const parts = [returnType];
  if (node.predicate) {
    parts.push(print3("predicate"));
  }
  return parts;
}
function printReturnOrThrowArgument(path, options2, print3) {
  const { node } = path;
  const semi = options2.semi ? ";" : "";
  const parts = [];
  if (node.argument) {
    let argumentDoc = print3("argument");
    if (returnArgumentHasLeadingComment(options2, node.argument)) {
      argumentDoc = ["(", indent([hardline, argumentDoc]), hardline, ")"];
    } else if (isBinaryish(node.argument) || options2.experimentalTernaries && node.argument.type === "ConditionalExpression" && (node.argument.consequent.type === "ConditionalExpression" || node.argument.alternate.type === "ConditionalExpression")) {
      argumentDoc = group([
        ifBreak("("),
        indent([softline, argumentDoc]),
        softline,
        ifBreak(")")
      ]);
    }
    parts.push(" ", argumentDoc);
  }
  const hasDanglingComments = hasComment(node, CommentCheckFlags.Dangling);
  const shouldPrintSemiBeforeComments = semi && hasDanglingComments && hasComment(node, CommentCheckFlags.Last | CommentCheckFlags.Line);
  if (shouldPrintSemiBeforeComments) {
    parts.push(semi);
  }
  if (hasDanglingComments) {
    parts.push(" ", printDanglingComments(path, options2));
  }
  if (!shouldPrintSemiBeforeComments) {
    parts.push(semi);
  }
  return parts;
}
function printReturnStatement(path, options2, print3) {
  return ["return", printReturnOrThrowArgument(path, options2, print3)];
}
function printThrowStatement(path, options2, print3) {
  return ["throw", printReturnOrThrowArgument(path, options2, print3)];
}
function returnArgumentHasLeadingComment(options2, argument) {
  if (hasLeadingOwnLineComment(options2.originalText, argument) || hasComment(
    argument,
    CommentCheckFlags.Leading,
    (comment) => has_newline_in_range_default(
      options2.originalText,
      locStart(comment),
      locEnd(comment)
    )
  ) && !isJsxElement(argument)) {
    return true;
  }
  if (hasNakedLeftSide(argument)) {
    let leftMost = argument;
    let newLeftMost;
    while (newLeftMost = getLeftSide(leftMost)) {
      leftMost = newLeftMost;
      if (hasLeadingOwnLineComment(options2.originalText, leftMost)) {
        return true;
      }
    }
  }
  return false;
}
 
// src/language-js/print/arrow-function.js
var shouldAddParensIfNotBreakCache = /* @__PURE__ */ new WeakMap();
function shouldAddParensIfNotBreak(node) {
  if (!shouldAddParensIfNotBreakCache.has(node)) {
    shouldAddParensIfNotBreakCache.set(
      node,
      node.type === "ConditionalExpression" && !startsWithNoLookaheadToken(
        node,
        (node2) => node2.type === "ObjectExpression"
      )
    );
  }
  return shouldAddParensIfNotBreakCache.get(node);
}
var shouldAlwaysAddParens = (node) => node.type === "SequenceExpression";
function printArrowFunction(path, options2, print3, args = {}) {
  const signatureDocs = [];
  let bodyDoc;
  const bodyComments = [];
  let shouldBreakChain = false;
  const shouldPrintAsChain = !args.expandLastArg && path.node.body.type === "ArrowFunctionExpression";
  let functionBody;
  (function rec() {
    const { node } = path;
    const signatureDoc = printArrowFunctionSignature(
      path,
      options2,
      print3,
      args
    );
    if (signatureDocs.length === 0) {
      signatureDocs.push(signatureDoc);
    } else {
      const { leading, trailing } = printCommentsSeparately(path, options2);
      signatureDocs.push([leading, signatureDoc]);
      bodyComments.unshift(trailing);
    }
    if (shouldPrintAsChain) {
      shouldBreakChain || (shouldBreakChain = // Always break the chain if:
      node.returnType && getFunctionParameters(node).length > 0 || node.typeParameters || getFunctionParameters(node).some(
        (param) => param.type !== "Identifier"
      ));
    }
    if (!shouldPrintAsChain || node.body.type !== "ArrowFunctionExpression") {
      bodyDoc = print3("body", args);
      functionBody = node.body;
    } else {
      path.call(rec, "body");
    }
  })();
  const shouldPutBodyOnSameLine = !hasLeadingOwnLineComment(options2.originalText, functionBody) && (shouldAlwaysAddParens(functionBody) || mayBreakAfterShortPrefix(functionBody, bodyDoc, options2) || !shouldBreakChain && shouldAddParensIfNotBreak(functionBody));
  const isCallee = path.key === "callee" && isCallLikeExpression(path.parent);
  const chainGroupId = Symbol("arrow-chain");
  const signaturesDoc = printArrowFunctionSignatures(path, args, {
    signatureDocs,
    shouldBreak: shouldBreakChain
  });
  let shouldBreakSignatures = false;
  let shouldIndentSignatures = false;
  let shouldPrintSoftlineInIndent = false;
  if (shouldPrintAsChain && (isCallee || // isAssignmentRhs
  args.assignmentLayout)) {
    shouldIndentSignatures = true;
    shouldPrintSoftlineInIndent = !hasComment(
      path.node,
      CommentCheckFlags.Leading & CommentCheckFlags.Line
    );
    shouldBreakSignatures = args.assignmentLayout === "chain-tail-arrow-chain" || isCallee && !shouldPutBodyOnSameLine;
  }
  bodyDoc = printArrowFunctionBody(path, options2, args, {
    bodyDoc,
    bodyComments,
    functionBody,
    shouldPutBodyOnSameLine
  });
  return group([
    group(
      shouldIndentSignatures ? indent([shouldPrintSoftlineInIndent ? softline : "", signaturesDoc]) : signaturesDoc,
      { shouldBreak: shouldBreakSignatures, id: chainGroupId }
    ),
    " =>",
    shouldPrintAsChain ? indentIfBreak(bodyDoc, { groupId: chainGroupId }) : group(bodyDoc),
    shouldPrintAsChain && isCallee ? ifBreak(softline, "", { groupId: chainGroupId }) : ""
  ]);
}
function printArrowFunctionSignature(path, options2, print3, args) {
  const { node } = path;
  const parts = [];
  if (node.async) {
    parts.push("async ");
  }
  if (shouldPrintParamsWithoutParens(path, options2)) {
    parts.push(print3(["params", 0]));
  } else {
    const expandArg = args.expandLastArg || args.expandFirstArg;
    let returnTypeDoc = printReturnType(path, print3);
    if (expandArg) {
      if (willBreak(returnTypeDoc)) {
        throw new ArgExpansionBailout();
      }
      returnTypeDoc = group(removeLines(returnTypeDoc));
    }
    parts.push(
      group([
        printFunctionParameters(
          path,
          options2,
          print3,
          expandArg,
          /* printTypeParams */
          true
        ),
        returnTypeDoc
      ])
    );
  }
  const dangling = printDanglingComments(path, options2, {
    filter(comment) {
      const nextCharacter = get_next_non_space_non_comment_character_index_default(
        options2.originalText,
        locEnd(comment)
      );
      return nextCharacter !== false && options2.originalText.slice(nextCharacter, nextCharacter + 2) === "=>";
    }
  });
  if (dangling) {
    parts.push(" ", dangling);
  }
  return parts;
}
function mayBreakAfterShortPrefix(functionBody, bodyDoc, options2) {
  var _a, _b;
  return isArrayExpression(functionBody) || isObjectExpression(functionBody) || functionBody.type === "ArrowFunctionExpression" || functionBody.type === "DoExpression" || functionBody.type === "BlockStatement" || isJsxElement(functionBody) || ((_a = bodyDoc.label) == null ? void 0 : _a.hug) !== false && (((_b = bodyDoc.label) == null ? void 0 : _b.embed) || isTemplateOnItsOwnLine(functionBody, options2.originalText));
}
function printArrowFunctionSignatures(path, args, { signatureDocs, shouldBreak }) {
  if (signatureDocs.length === 1) {
    return signatureDocs[0];
  }
  const { parent, key } = path;
  if (key !== "callee" && isCallLikeExpression(parent) || isBinaryish(parent)) {
    return group(
      [
        signatureDocs[0],
        " =>",
        indent([line, join([" =>", line], signatureDocs.slice(1))])
      ],
      { shouldBreak }
    );
  }
  if (key === "callee" && isCallLikeExpression(parent) || // isAssignmentRhs
  args.assignmentLayout) {
    return group(join([" =>", line], signatureDocs), { shouldBreak });
  }
  return group(indent(join([" =>", line], signatureDocs)), { shouldBreak });
}
function printArrowFunctionBody(path, options2, args, { bodyDoc, bodyComments, functionBody, shouldPutBodyOnSameLine }) {
  const { node, parent } = path;
  const trailingComma = args.expandLastArg && shouldPrintComma(options2, "all") ? ifBreak(",") : "";
  const trailingSpace = (args.expandLastArg || parent.type === "JSXExpressionContainer") && !hasComment(node) ? softline : "";
  if (shouldPutBodyOnSameLine && shouldAddParensIfNotBreak(functionBody)) {
    return [
      " ",
      group([
        ifBreak("", "("),
        indent([softline, bodyDoc]),
        ifBreak("", ")"),
        trailingComma,
        trailingSpace
      ]),
      bodyComments
    ];
  }
  return shouldPutBodyOnSameLine ? [" ", bodyDoc, bodyComments] : [indent([line, bodyDoc, bodyComments]), trailingComma, trailingSpace];
}
 
// scripts/build/shims/array-find-last.js
var arrayFindLast = (isOptionalObject, array, callback) => {
  if (isOptionalObject && (array === void 0 || array === null)) {
    return;
  }
  if (array.findLast) {
    return array.findLast(callback);
  }
  for (let index = array.length - 1; index >= 0; index--) {
    const element = array[index];
    if (callback(element, index, array)) {
      return element;
    }
  }
};
var array_find_last_default = arrayFindLast;
 
// src/language-js/print/statement.js
function printStatementSequence(path, options2, print3, property) {
  const { node } = path;
  const parts = [];
  const lastStatement = array_find_last_default(
    /* isOptionalObject */
    false,
    node[property],
    (statement) => statement.type !== "EmptyStatement"
  );
  path.each(({ node: node2 }) => {
    if (node2.type === "EmptyStatement") {
      return;
    }
    parts.push(print3());
    if (node2 !== lastStatement) {
      parts.push(hardline);
      if (isNextLineEmpty2(node2, options2)) {
        parts.push(hardline);
      }
    }
  }, property);
  return parts;
}
 
// src/language-js/print/block.js
function printBlock(path, options2, print3) {
  const bodyDoc = printBlockBody(path, options2, print3);
  const { node, parent } = path;
  if (node.type === "Program" && (parent == null ? void 0 : parent.type) !== "ModuleExpression") {
    return bodyDoc ? [bodyDoc, hardline] : "";
  }
  const parts = [];
  if (node.type === "StaticBlock") {
    parts.push("static ");
  }
  parts.push("{");
  if (bodyDoc) {
    parts.push(indent([hardline, bodyDoc]), hardline);
  } else {
    const parentParent = path.grandparent;
    if (!(parent.type === "ArrowFunctionExpression" || parent.type === "FunctionExpression" || parent.type === "FunctionDeclaration" || parent.type === "ComponentDeclaration" || parent.type === "HookDeclaration" || parent.type === "ObjectMethod" || parent.type === "ClassMethod" || parent.type === "ClassPrivateMethod" || parent.type === "ForStatement" || parent.type === "WhileStatement" || parent.type === "DoWhileStatement" || parent.type === "DoExpression" || parent.type === "ModuleExpression" || parent.type === "CatchClause" && !parentParent.finalizer || parent.type === "TSModuleDeclaration" || node.type === "StaticBlock")) {
      parts.push(hardline);
    }
  }
  parts.push("}");
  return parts;
}
function printBlockBody(path, options2, print3) {
  const { node } = path;
  const hasDirectives = is_non_empty_array_default(node.directives);
  const hasBody = node.body.some((node2) => node2.type !== "EmptyStatement");
  const hasDanglingComments = hasComment(node, CommentCheckFlags.Dangling);
  if (!hasDirectives && !hasBody && !hasDanglingComments) {
    return "";
  }
  const parts = [];
  if (hasDirectives) {
    parts.push(printStatementSequence(path, options2, print3, "directives"));
    if (hasBody || hasDanglingComments) {
      parts.push(hardline);
      if (isNextLineEmpty2(at_default(
        /* isOptionalObject */
        false,
        node.directives,
        -1
      ), options2)) {
        parts.push(hardline);
      }
    }
  }
  if (hasBody) {
    parts.push(printStatementSequence(path, options2, print3, "body"));
  }
  if (hasDanglingComments) {
    parts.push(printDanglingComments(path, options2));
  }
  return parts;
}
 
// src/utils/create-group-id-mapper.js
function createGroupIdMapper(description) {
  const groupIds = /* @__PURE__ */ new WeakMap();
  return function(node) {
    if (!groupIds.has(node)) {
      groupIds.set(node, Symbol(description));
    }
    return groupIds.get(node);
  };
}
var create_group_id_mapper_default = createGroupIdMapper;
 
// src/language-js/print/type-parameters.js
var getTypeParametersGroupId = create_group_id_mapper_default("typeParameters");
function shouldForceTrailingComma(path, options2, paramsKey) {
  const { node } = path;
  return getFunctionParameters(node).length === 1 && node.type.startsWith("TS") && !node[paramsKey][0].constraint && path.parent.type === "ArrowFunctionExpression" && !(options2.filepath && /\.ts$/u.test(options2.filepath));
}
function printTypeParameters(path, options2, print3, paramsKey) {
  const { node } = path;
  if (!node[paramsKey]) {
    return "";
  }
  if (!Array.isArray(node[paramsKey])) {
    return print3(paramsKey);
  }
  const isParameterInTestCall = isTestCall(path.grandparent);
  const isArrowFunctionVariable = path.match(
    (node2) => !(node2[paramsKey].length === 1 && isObjectType(node2[paramsKey][0])),
    void 0,
    (node2, name) => name === "typeAnnotation",
    (node2) => node2.type === "Identifier",
    isArrowFunctionVariableDeclarator
  );
  const shouldInline = node[paramsKey].length === 0 || !isArrowFunctionVariable && (isParameterInTestCall || node[paramsKey].length === 1 && (node[paramsKey][0].type === "NullableTypeAnnotation" || shouldHugType(node[paramsKey][0])));
  if (shouldInline) {
    return [
      "<",
      join(", ", path.map(print3, paramsKey)),
      printDanglingCommentsForInline(path, options2),
      ">"
    ];
  }
  const trailingComma = node.type === "TSTypeParameterInstantiation" ? "" : shouldForceTrailingComma(path, options2, paramsKey) ? "," : shouldPrintComma(options2) ? ifBreak(",") : "";
  return group(
    [
      "<",
      indent([softline, join([",", line], path.map(print3, paramsKey))]),
      trailingComma,
      softline,
      ">"
    ],
    { id: getTypeParametersGroupId(node) }
  );
}
function printDanglingCommentsForInline(path, options2) {
  const { node } = path;
  if (!hasComment(node, CommentCheckFlags.Dangling)) {
    return "";
  }
  const hasOnlyBlockComments = !hasComment(node, CommentCheckFlags.Line);
  const printed = printDanglingComments(path, options2, {
    indent: !hasOnlyBlockComments
  });
  if (hasOnlyBlockComments) {
    return printed;
  }
  return [printed, hardline];
}
function printTypeParameter(path, options2, print3) {
  const { node } = path;
  const parts = [node.const ? "const " : ""];
  const name = node.type === "TSTypeParameter" ? print3("name") : node.name;
  if (node.variance) {
    parts.push(print3("variance"));
  }
  if (node.in) {
    parts.push("in ");
  }
  if (node.out) {
    parts.push("out ");
  }
  parts.push(name);
  if (node.bound) {
    if (node.usesExtendsBound) {
      parts.push(" extends ");
    }
    parts.push(printTypeAnnotationProperty(path, print3, "bound"));
  }
  if (node.constraint) {
    const groupId = Symbol("constraint");
    parts.push(
      " extends",
      group(indent(line), { id: groupId }),
      lineSuffixBoundary,
      indentIfBreak(print3("constraint"), { groupId })
    );
  }
  if (node.default) {
    parts.push(" = ", print3("default"));
  }
  return group(parts);
}
 
// src/language-js/print/class.js
var isClassProperty = create_type_check_function_default([
  "ClassProperty",
  "PropertyDefinition",
  "ClassPrivateProperty",
  "ClassAccessorProperty",
  "AccessorProperty",
  "TSAbstractPropertyDefinition",
  "TSAbstractAccessorProperty"
]);
function printClass(path, options2, print3) {
  const { node } = path;
  const parts = [printDeclareToken(path), printAbstractToken(path), "class"];
  const groupMode = hasComment(node.id, CommentCheckFlags.Trailing) || hasComment(node.typeParameters, CommentCheckFlags.Trailing) || hasComment(node.superClass) || is_non_empty_array_default(node.extends) || // DeclareClass
  is_non_empty_array_default(node.mixins) || is_non_empty_array_default(node.implements);
  const partsGroup = [];
  const extendsParts = [];
  if (node.id) {
    partsGroup.push(" ", print3("id"));
  }
  partsGroup.push(print3("typeParameters"));
  if (node.superClass) {
    const printed = [
      printSuperClass(path, options2, print3),
      print3(
        // TODO: Use `superTypeArguments` only when babel align with TS.
        node.superTypeArguments ? "superTypeArguments" : "superTypeParameters"
      )
    ];
    const printedWithComments = path.call(
      (superClass) => ["extends ", printComments(superClass, printed, options2)],
      "superClass"
    );
    if (groupMode) {
      extendsParts.push(line, group(printedWithComments));
    } else {
      extendsParts.push(" ", printedWithComments);
    }
  } else {
    extendsParts.push(printHeritageClauses(path, options2, print3, "extends"));
  }
  extendsParts.push(
    printHeritageClauses(path, options2, print3, "mixins"),
    printHeritageClauses(path, options2, print3, "implements")
  );
  let heritageGroupId;
  if (groupMode) {
    let printedPartsGroup;
    if (shouldIndentOnlyHeritageClauses(node)) {
      printedPartsGroup = [...partsGroup, indent(extendsParts)];
    } else {
      printedPartsGroup = indent([...partsGroup, extendsParts]);
    }
    heritageGroupId = getHeritageGroupId(node);
    parts.push(group(printedPartsGroup, { id: heritageGroupId }));
  } else {
    parts.push(...partsGroup, ...extendsParts);
  }
  const classBody = node.body;
  if (groupMode && is_non_empty_array_default(classBody.body)) {
    parts.push(ifBreak(hardline, " ", { groupId: heritageGroupId }));
  } else {
    parts.push(" ");
  }
  parts.push(print3("body"));
  return parts;
}
var getHeritageGroupId = create_group_id_mapper_default("heritageGroup");
function printHardlineAfterHeritage(node) {
  return ifBreak(hardline, "", { groupId: getHeritageGroupId(node) });
}
function hasMultipleHeritage(node) {
  return ["extends", "mixins", "implements"].reduce(
    (count, key) => count + (Array.isArray(node[key]) ? node[key].length : 0),
    node.superClass ? 1 : 0
  ) > 1;
}
function shouldIndentOnlyHeritageClauses(node) {
  return node.typeParameters && !hasComment(
    node.typeParameters,
    CommentCheckFlags.Trailing | CommentCheckFlags.Line
  ) && !hasMultipleHeritage(node);
}
function printHeritageClauses(path, options2, print3, listName) {
  const { node } = path;
  if (!is_non_empty_array_default(node[listName])) {
    return "";
  }
  const printedLeadingComments = printDanglingComments(path, options2, {
    marker: listName
  });
  return [
    shouldIndentOnlyHeritageClauses(node) ? ifBreak(" ", line, {
      groupId: getTypeParametersGroupId(node.typeParameters)
    }) : line,
    printedLeadingComments,
    printedLeadingComments && hardline,
    listName,
    group(indent([line, join([",", line], path.map(print3, listName))]))
  ];
}
function printSuperClass(path, options2, print3) {
  const printed = print3("superClass");
  const { parent } = path;
  if (parent.type === "AssignmentExpression") {
    return group(
      ifBreak(["(", indent([softline, printed]), softline, ")"], printed)
    );
  }
  return printed;
}
function printClassMethod(path, options2, print3) {
  const { node } = path;
  const parts = [];
  if (is_non_empty_array_default(node.decorators)) {
    parts.push(printClassMemberDecorators(path, options2, print3));
  }
  parts.push(printTypeScriptAccessibilityToken(node));
  if (node.static) {
    parts.push("static ");
  }
  parts.push(printAbstractToken(path));
  if (node.override) {
    parts.push("override ");
  }
  parts.push(printMethod(path, options2, print3));
  return parts;
}
function printClassProperty(path, options2, print3) {
  const { node } = path;
  const parts = [];
  const semi = options2.semi ? ";" : "";
  if (is_non_empty_array_default(node.decorators)) {
    parts.push(printClassMemberDecorators(path, options2, print3));
  }
  parts.push(printDeclareToken(path), printTypeScriptAccessibilityToken(node));
  if (node.static) {
    parts.push("static ");
  }
  parts.push(printAbstractToken(path));
  if (node.override) {
    parts.push("override ");
  }
  if (node.readonly) {
    parts.push("readonly ");
  }
  if (node.variance) {
    parts.push(print3("variance"));
  }
  if (node.type === "ClassAccessorProperty" || node.type === "AccessorProperty" || node.type === "TSAbstractAccessorProperty") {
    parts.push("accessor ");
  }
  parts.push(
    printPropertyKey(path, options2, print3),
    printOptionalToken(path),
    printDefiniteToken(path),
    printTypeAnnotationProperty(path, print3)
  );
  const isAbstractProperty = node.type === "TSAbstractPropertyDefinition" || node.type === "TSAbstractAccessorProperty";
  return [
    printAssignment(
      path,
      options2,
      print3,
      parts,
      " =",
      isAbstractProperty ? void 0 : "value"
    ),
    semi
  ];
}
function printClassBody(path, options2, print3) {
  const { node } = path;
  const parts = [];
  path.each(({ node: node2, next, isLast }) => {
    parts.push(print3());
    if (!options2.semi && isClassProperty(node2) && shouldPrintSemicolonAfterClassProperty(node2, next)) {
      parts.push(";");
    }
    if (!isLast) {
      parts.push(hardline);
      if (isNextLineEmpty2(node2, options2)) {
        parts.push(hardline);
      }
    }
  }, "body");
  if (hasComment(node, CommentCheckFlags.Dangling)) {
    parts.push(printDanglingComments(path, options2));
  }
  return [
    "{",
    parts.length > 0 ? [indent([hardline, parts]), hardline] : "",
    "}"
  ];
}
function shouldPrintSemicolonAfterClassProperty(node, nextNode) {
  var _a;
  const { type, name } = node.key;
  if (!node.computed && type === "Identifier" && (name === "static" || name === "get" || name === "set") && !node.value && !node.typeAnnotation) {
    return true;
  }
  if (!nextNode) {
    return false;
  }
  if (nextNode.static || nextNode.accessibility || // TypeScript
  nextNode.readonly) {
    return false;
  }
  if (!nextNode.computed) {
    const name2 = (_a = nextNode.key) == null ? void 0 : _a.name;
    if (name2 === "in" || name2 === "instanceof") {
      return true;
    }
  }
  if (isClassProperty(nextNode) && nextNode.variance && !nextNode.static && !nextNode.declare) {
    return true;
  }
  switch (nextNode.type) {
    case "ClassProperty":
    case "PropertyDefinition":
    case "TSAbstractPropertyDefinition":
      return nextNode.computed;
    case "MethodDefinition":
    case "TSAbstractMethodDefinition":
    case "ClassMethod":
    case "ClassPrivateMethod": {
      const isAsync = nextNode.value ? nextNode.value.async : nextNode.async;
      if (isAsync || nextNode.kind === "get" || nextNode.kind === "set") {
        return false;
      }
      const isGenerator = nextNode.value ? nextNode.value.generator : nextNode.generator;
      if (nextNode.computed || isGenerator) {
        return true;
      }
      return false;
    }
    case "TSIndexSignature":
      return true;
  }
  return false;
}
 
// src/language-js/utils/vue-event-binding.js
var isVueEventBindingTsNode = create_type_check_function_default([
  "TSAsExpression",
  // `foo as number`
  "TSTypeAssertion",
  // `(<number>foo)`
  "TSNonNullExpression",
  // `foo!`
  "TSInstantiationExpression",
  // `foo<string>`
  "TSSatisfiesExpression"
  // `foo satisfies T`
]);
function unwrapVueEventBindingTsNode(node) {
  if (isVueEventBindingTsNode(node)) {
    return unwrapVueEventBindingTsNode(node.expression);
  }
  return node;
}
var isVueEventBindingFunctionExpression = create_type_check_function_default([
  "FunctionExpression",
  "ArrowFunctionExpression"
]);
function isVueEventBindingMemberExpression(node) {
  return node.type === "MemberExpression" || node.type === "OptionalMemberExpression" || node.type === "Identifier" && node.name !== "undefined";
}
 
// src/language-js/print/semicolon.js
function shouldPrintLeadingSemicolon(path, options2) {
  if (options2.semi || isSingleJsxExpressionStatementInMarkdown(path, options2) || isSingleVueEventBindingExpressionStatement(path, options2)) {
    return false;
  }
  const { node, key, parent } = path;
  if (node.type === "ExpressionStatement" && // `Program.directives` don't need leading semicolon
  (key === "body" && (parent.type === "Program" || parent.type === "BlockStatement" || parent.type === "StaticBlock" || parent.type === "TSModuleBlock") || key === "consequent" && parent.type === "SwitchCase") && path.call(() => expressionNeedsASIProtection(path, options2), "expression")) {
    return true;
  }
  return false;
}
function expressionNeedsASIProtection(path, options2) {
  const { node } = path;
  switch (node.type) {
    case "ParenthesizedExpression":
    case "TypeCastExpression":
    case "ArrayExpression":
    case "ArrayPattern":
    case "TemplateLiteral":
    case "TemplateElement":
    case "RegExpLiteral":
      return true;
    case "ArrowFunctionExpression":
      if (!shouldPrintParamsWithoutParens(path, options2)) {
        return true;
      }
      break;
    case "UnaryExpression": {
      const { prefix, operator } = node;
      if (prefix && (operator === "+" || operator === "-")) {
        return true;
      }
      break;
    }
    case "BindExpression":
      if (!node.object) {
        return true;
      }
      break;
    case "Literal":
      if (node.regex) {
        return true;
      }
      break;
    default:
      if (isJsxElement(node)) {
        return true;
      }
  }
  if (needs_parens_default(path, options2)) {
    return true;
  }
  if (!hasNakedLeftSide(node)) {
    return false;
  }
  return path.call(
    () => expressionNeedsASIProtection(path, options2),
    ...getLeftSidePathName(node)
  );
}
function isSingleJsxExpressionStatementInMarkdown({ node, parent }, options2) {
  return (options2.parentParser === "markdown" || options2.parentParser === "mdx") && node.type === "ExpressionStatement" && isJsxElement(node.expression) && parent.type === "Program" && parent.body.length === 1;
}
function isSingleVueEventBindingExpressionStatement({ node, parent }, options2) {
  return (options2.parser === "__vue_event_binding" || options2.parser === "__vue_ts_event_binding") && node.type === "ExpressionStatement" && parent.type === "Program" && parent.body.length === 1;
}
 
// src/language-js/print/expression-statement.js
function printExpressionStatement(path, options2, print3) {
  const parts = [print3("expression")];
  if (isSingleVueEventBindingExpressionStatement(path, options2)) {
    const expression = unwrapVueEventBindingTsNode(path.node.expression);
    if (isVueEventBindingFunctionExpression(expression) || isVueEventBindingMemberExpression(expression)) {
      parts.push(";");
    }
  } else if (isSingleJsxExpressionStatementInMarkdown(path, options2)) {
  } else if (options2.semi) {
    parts.push(";");
  }
  return parts;
}
 
// src/language-js/print/html-binding.js
function printHtmlBinding(path, options2, print3) {
  if (options2.__isVueBindings || options2.__isVueForBindingLeft) {
    const parameterDocs = path.map(print3, "program", "body", 0, "params");
    if (parameterDocs.length === 1) {
      return parameterDocs[0];
    }
    const doc = join([",", line], parameterDocs);
    return options2.__isVueForBindingLeft ? ["(", indent([softline, group(doc)]), softline, ")"] : doc;
  }
  if (options2.__isEmbeddedTypescriptGenericParameters) {
    const parameterDocs = path.map(
      print3,
      "program",
      "body",
      0,
      "typeParameters",
      "params"
    );
    return join([",", line], parameterDocs);
  }
}
 
// src/language-js/print/literal.js
function printLiteral(path, options2) {
  const { node } = path;
  switch (node.type) {
    case "RegExpLiteral":
      return printRegex(node);
    case "BigIntLiteral":
      return printBigInt(node.extra.raw);
    case "NumericLiteral":
      return print_number_default(node.extra.raw);
    case "StringLiteral":
      return replaceEndOfLine(print_string_default(node.extra.raw, options2));
    case "NullLiteral":
      return "null";
    case "BooleanLiteral":
      return String(node.value);
    case "DirectiveLiteral":
      return printDirective(node.extra.raw, options2);
    case "Literal": {
      if (node.regex) {
        return printRegex(node.regex);
      }
      if (node.bigint) {
        return printBigInt(node.raw);
      }
      const { value } = node;
      if (typeof value === "number") {
        return print_number_default(node.raw);
      }
      if (typeof value === "string") {
        return isDirective(path) ? printDirective(node.raw, options2) : replaceEndOfLine(print_string_default(node.raw, options2));
      }
      return String(value);
    }
  }
}
function isDirective(path) {
  if (path.key !== "expression") {
    return;
  }
  const { parent } = path;
  return parent.type === "ExpressionStatement" && typeof parent.directive === "string";
}
function printBigInt(raw) {
  return raw.toLowerCase();
}
function printRegex({ pattern, flags }) {
  flags = [...flags].sort().join("");
  return `/${pattern}/${flags}`;
}
function printDirective(rawText, options2) {
  const rawContent = rawText.slice(1, -1);
  if (rawContent.includes('"') || rawContent.includes("'")) {
    return rawText;
  }
  const enclosingQuote = options2.singleQuote ? "'" : '"';
  return enclosingQuote + rawContent + enclosingQuote;
}
 
// src/language-js/utils/get-text-without-comments.js
function getTextWithoutComments(options2, start, end) {
  let text = options2.originalText.slice(start, end);
  for (const comment of options2[Symbol.for("comments")]) {
    const commentStart = locStart(comment);
    if (commentStart > end) {
      break;
    }
    const commentEnd = locEnd(comment);
    if (commentEnd < start) {
      continue;
    }
    const commentLength = commentEnd - commentStart;
    text = text.slice(0, commentStart - start) + " ".repeat(commentLength) + text.slice(commentEnd - start);
  }
  if (false) {
    assert_default.ok(text.length === end - start);
  }
  return text;
}
var get_text_without_comments_default = getTextWithoutComments;
 
// src/language-js/print/module.js
function printImportDeclaration(path, options2, print3) {
  const { node } = path;
  return [
    "import",
    node.phase ? ` ${node.phase}` : "",
    printImportKind(node),
    printModuleSpecifiers(path, options2, print3),
    printModuleSource(path, options2, print3),
    printImportAttributes(path, options2, print3),
    options2.semi ? ";" : ""
  ];
}
var isDefaultExport = (node) => node.type === "ExportDefaultDeclaration" || node.type === "DeclareExportDeclaration" && node.default;
function printExportDeclaration(path, options2, print3) {
  const { node } = path;
  const parts = [
    printDecoratorsBeforeExport(path, options2, print3),
    printDeclareToken(path),
    "export",
    isDefaultExport(node) ? " default" : ""
  ];
  const { declaration, exported } = node;
  if (hasComment(node, CommentCheckFlags.Dangling)) {
    parts.push(" ", printDanglingComments(path, options2));
    if (needsHardlineAfterDanglingComment(node)) {
      parts.push(hardline);
    }
  }
  if (declaration) {
    parts.push(" ", print3("declaration"));
  } else {
    parts.push(printExportKind(node));
    if (node.type === "ExportAllDeclaration" || node.type === "DeclareExportAllDeclaration") {
      parts.push(" *");
      if (exported) {
        parts.push(" as ", print3("exported"));
      }
    } else {
      parts.push(printModuleSpecifiers(path, options2, print3));
    }
    parts.push(
      printModuleSource(path, options2, print3),
      printImportAttributes(path, options2, print3)
    );
  }
  parts.push(printSemicolonAfterExportDeclaration(node, options2));
  return parts;
}
var shouldOmitSemicolon = create_type_check_function_default([
  "ClassDeclaration",
  "ComponentDeclaration",
  "FunctionDeclaration",
  "TSInterfaceDeclaration",
  "DeclareClass",
  "DeclareComponent",
  "DeclareFunction",
  "DeclareHook",
  "HookDeclaration",
  "TSDeclareFunction",
  "EnumDeclaration"
]);
function printSemicolonAfterExportDeclaration(node, options2) {
  if (options2.semi && (!node.declaration || isDefaultExport(node) && !shouldOmitSemicolon(node.declaration))) {
    return ";";
  }
  return "";
}
function printImportOrExportKind(kind, spaceBeforeKind = true) {
  return kind && kind !== "value" ? `${spaceBeforeKind ? " " : ""}${kind}${spaceBeforeKind ? "" : " "}` : "";
}
function printImportKind(node, spaceBeforeKind) {
  return printImportOrExportKind(node.importKind, spaceBeforeKind);
}
function printExportKind(node) {
  return printImportOrExportKind(node.exportKind);
}
function printModuleSource(path, options2, print3) {
  const { node } = path;
  if (!node.source) {
    return "";
  }
  const parts = [];
  if (shouldPrintSpecifiers(node, options2)) {
    parts.push(" from");
  }
  parts.push(" ", print3("source"));
  return parts;
}
function printModuleSpecifiers(path, options2, print3) {
  const { node } = path;
  if (!shouldPrintSpecifiers(node, options2)) {
    return "";
  }
  const parts = [" "];
  if (is_non_empty_array_default(node.specifiers)) {
    const standaloneSpecifiers = [];
    const groupedSpecifiers = [];
    path.each(() => {
      const specifierType = path.node.type;
      if (specifierType === "ExportNamespaceSpecifier" || specifierType === "ExportDefaultSpecifier" || specifierType === "ImportNamespaceSpecifier" || specifierType === "ImportDefaultSpecifier") {
        standaloneSpecifiers.push(print3());
      } else if (specifierType === "ExportSpecifier" || specifierType === "ImportSpecifier") {
        groupedSpecifiers.push(print3());
      } else {
        throw new unexpected_node_error_default(node, "specifier");
      }
    }, "specifiers");
    parts.push(join(", ", standaloneSpecifiers));
    if (groupedSpecifiers.length > 0) {
      if (standaloneSpecifiers.length > 0) {
        parts.push(", ");
      }
      const canBreak2 = groupedSpecifiers.length > 1 || standaloneSpecifiers.length > 0 || node.specifiers.some((node2) => hasComment(node2));
      if (canBreak2) {
        parts.push(
          group([
            "{",
            indent([
              options2.bracketSpacing ? line : softline,
              join([",", line], groupedSpecifiers)
            ]),
            ifBreak(shouldPrintComma(options2) ? "," : ""),
            options2.bracketSpacing ? line : softline,
            "}"
          ])
        );
      } else {
        parts.push([
          "{",
          options2.bracketSpacing ? " " : "",
          ...groupedSpecifiers,
          options2.bracketSpacing ? " " : "",
          "}"
        ]);
      }
    }
  } else {
    parts.push("{}");
  }
  return parts;
}
function shouldPrintSpecifiers(node, options2) {
  if (node.type !== "ImportDeclaration" || is_non_empty_array_default(node.specifiers) || node.importKind === "type") {
    return true;
  }
  const text = get_text_without_comments_default(
    options2,
    locStart(node),
    locStart(node.source)
  );
  return text.trimEnd().endsWith("from");
}
function getImportAttributesKeyword(node, options2) {
  var _a, _b;
  if ((_a = node.extra) == null ? void 0 : _a.deprecatedAssertSyntax) {
    return "assert";
  }
  const textBetweenSourceAndAttributes = get_text_without_comments_default(
    options2,
    locEnd(node.source),
    ((_b = node.attributes) == null ? void 0 : _b[0]) ? locStart(node.attributes[0]) : locEnd(node)
  ).trimStart();
  if (textBetweenSourceAndAttributes.startsWith("assert")) {
    return "assert";
  }
  if (textBetweenSourceAndAttributes.startsWith("with")) {
    return "with";
  }
  return is_non_empty_array_default(node.attributes) ? "with" : void 0;
}
function printImportAttributes(path, options2, print3) {
  const { node } = path;
  if (!node.source) {
    return "";
  }
  const keyword = getImportAttributesKeyword(node, options2);
  if (!keyword) {
    return "";
  }
  const parts = [` ${keyword} {`];
  if (is_non_empty_array_default(node.attributes)) {
    if (options2.bracketSpacing) {
      parts.push(" ");
    }
    parts.push(join(", ", path.map(print3, "attributes")));
    if (options2.bracketSpacing) {
      parts.push(" ");
    }
  }
  parts.push("}");
  return parts;
}
function printModuleSpecifier(path, options2, print3) {
  const { node } = path;
  const { type } = node;
  const isImportSpecifier = type.startsWith("Import");
  const leftSideProperty = isImportSpecifier ? "imported" : "local";
  const rightSideProperty = isImportSpecifier ? "local" : "exported";
  const leftSideNode = node[leftSideProperty];
  const rightSideNode = node[rightSideProperty];
  let left = "";
  let right = "";
  if (type === "ExportNamespaceSpecifier" || type === "ImportNamespaceSpecifier") {
    left = "*";
  } else if (leftSideNode) {
    left = print3(leftSideProperty);
  }
  if (rightSideNode && !isShorthandSpecifier(node)) {
    right = print3(rightSideProperty);
  }
  return [
    printImportOrExportKind(
      type === "ImportSpecifier" ? node.importKind : node.exportKind,
      /* spaceBeforeKind */
      false
    ),
    left,
    left && right ? " as " : "",
    right
  ];
}
function isShorthandSpecifier(specifier) {
  if (specifier.type !== "ImportSpecifier" && specifier.type !== "ExportSpecifier") {
    return false;
  }
  const {
    local,
    [specifier.type === "ImportSpecifier" ? "imported" : "exported"]: importedOrExported
  } = specifier;
  if (local.type !== importedOrExported.type || !hasSameLoc(local, importedOrExported)) {
    return false;
  }
  if (isStringLiteral(local)) {
    return local.value === importedOrExported.value && get_raw_default(local) === get_raw_default(importedOrExported);
  }
  switch (local.type) {
    case "Identifier":
      return local.name === importedOrExported.name;
    default:
      return false;
  }
}
 
// src/language-js/print/object.js
function printObject(path, options2, print3) {
  var _a;
  const semi = options2.semi ? ";" : "";
  const { node } = path;
  const isTypeAnnotation = node.type === "ObjectTypeAnnotation";
  const isEnumBody = node.type === "TSEnumBody" || node.type === "EnumBooleanBody" || node.type === "EnumNumberBody" || node.type === "EnumBigIntBody" || node.type === "EnumStringBody" || node.type === "EnumSymbolBody";
  const fields = [
    node.type === "TSTypeLiteral" || isEnumBody ? "members" : node.type === "TSInterfaceBody" ? "body" : "properties"
  ];
  if (isTypeAnnotation) {
    fields.push("indexers", "callProperties", "internalSlots");
  }
  const propsAndLoc = fields.flatMap(
    (field) => path.map(
      ({ node: node2 }) => ({
        node: node2,
        printed: print3(),
        loc: locStart(node2)
      }),
      field
    )
  );
  if (fields.length > 1) {
    propsAndLoc.sort((a, b) => a.loc - b.loc);
  }
  const { parent, key } = path;
  const isFlowInterfaceLikeBody = isTypeAnnotation && key === "body" && (parent.type === "InterfaceDeclaration" || parent.type === "DeclareInterface" || parent.type === "DeclareClass");
  const shouldBreak = node.type === "TSInterfaceBody" || isEnumBody || isFlowInterfaceLikeBody || node.type === "ObjectPattern" && parent.type !== "FunctionDeclaration" && parent.type !== "FunctionExpression" && parent.type !== "ArrowFunctionExpression" && parent.type !== "ObjectMethod" && parent.type !== "ClassMethod" && parent.type !== "ClassPrivateMethod" && parent.type !== "AssignmentPattern" && parent.type !== "CatchClause" && node.properties.some(
    (property) => property.value && (property.value.type === "ObjectPattern" || property.value.type === "ArrayPattern")
  ) || node.type !== "ObjectPattern" && options2.objectWrap === "preserve" && propsAndLoc.length > 0 && has_newline_in_range_default(
    options2.originalText,
    locStart(node),
    propsAndLoc[0].loc
  );
  const separator = isFlowInterfaceLikeBody ? ";" : node.type === "TSInterfaceBody" || node.type === "TSTypeLiteral" ? ifBreak(semi, ";") : ",";
  const leftBrace = node.exact ? "{|" : "{";
  const rightBrace = node.exact ? "|}" : "}";
  let separatorParts = [];
  const props = propsAndLoc.map((prop) => {
    const result = [...separatorParts, group(prop.printed)];
    separatorParts = [separator, line];
    if ((prop.node.type === "TSPropertySignature" || prop.node.type === "TSMethodSignature" || prop.node.type === "TSConstructSignatureDeclaration" || prop.node.type === "TSCallSignatureDeclaration") && hasComment(prop.node, CommentCheckFlags.PrettierIgnore)) {
      separatorParts.shift();
    }
    if (isNextLineEmpty2(prop.node, options2)) {
      separatorParts.push(hardline);
    }
    return result;
  });
  if (node.inexact || node.hasUnknownMembers) {
    let printed;
    if (hasComment(node, CommentCheckFlags.Dangling)) {
      const hasLineComments = hasComment(node, CommentCheckFlags.Line);
      const printedDanglingComments = printDanglingComments(path, options2);
      printed = [
        printedDanglingComments,
        hasLineComments || has_newline_default(options2.originalText, locEnd(at_default(
          /* isOptionalObject */
          false,
          getComments(node),
          -1
        ))) ? hardline : line,
        "..."
      ];
    } else {
      printed = ["..."];
    }
    props.push([...separatorParts, ...printed]);
  }
  const lastElem = (_a = at_default(
    /* isOptionalObject */
    false,
    propsAndLoc,
    -1
  )) == null ? void 0 : _a.node;
  const canHaveTrailingSeparator = !(node.inexact || node.hasUnknownMembers || lastElem && (lastElem.type === "RestElement" || (lastElem.type === "TSPropertySignature" || lastElem.type === "TSCallSignatureDeclaration" || lastElem.type === "TSMethodSignature" || lastElem.type === "TSConstructSignatureDeclaration" || lastElem.type === "TSIndexSignature") && hasComment(lastElem, CommentCheckFlags.PrettierIgnore)));
  let content;
  if (props.length === 0) {
    if (!hasComment(node, CommentCheckFlags.Dangling)) {
      return [leftBrace, rightBrace, printTypeAnnotationProperty(path, print3)];
    }
    content = group([
      leftBrace,
      printDanglingComments(path, options2, { indent: true }),
      softline,
      rightBrace,
      printOptionalToken(path),
      printTypeAnnotationProperty(path, print3)
    ]);
  } else {
    content = [
      isFlowInterfaceLikeBody && is_non_empty_array_default(node.properties) ? printHardlineAfterHeritage(parent) : "",
      leftBrace,
      indent([options2.bracketSpacing ? line : softline, ...props]),
      ifBreak(
        canHaveTrailingSeparator && (separator !== "," || shouldPrintComma(options2)) ? separator : ""
      ),
      options2.bracketSpacing ? line : softline,
      rightBrace,
      printOptionalToken(path),
      printTypeAnnotationProperty(path, print3)
    ];
  }
  if (path.match(
    (node2) => node2.type === "ObjectPattern" && !is_non_empty_array_default(node2.decorators),
    shouldHugTheOnlyParameter
  ) || isObjectType(node) && (path.match(
    void 0,
    (node2, name) => name === "typeAnnotation",
    (node2, name) => name === "typeAnnotation",
    shouldHugTheOnlyParameter
  ) || path.match(
    void 0,
    (node2, name) => node2.type === "FunctionTypeParam" && name === "typeAnnotation",
    shouldHugTheOnlyParameter
  )) || // Assignment printing logic (printAssignment) is responsible
  // for adding a group if needed
  !shouldBreak && path.match(
    (node2) => node2.type === "ObjectPattern",
    (node2) => node2.type === "AssignmentExpression" || node2.type === "VariableDeclarator"
  )) {
    return content;
  }
  return group(content, { shouldBreak });
}
function shouldHugTheOnlyParameter(node, name) {
  return (name === "params" || name === "parameters" || name === "this" || name === "rest") && shouldHugTheOnlyFunctionParameter(node);
}
 
// src/language-js/print/ternary-old.js
function conditionalExpressionChainContainsJsx(node) {
  const conditionalExpressions = [node];
  for (let index = 0; index < conditionalExpressions.length; index++) {
    const conditionalExpression = conditionalExpressions[index];
    for (const property of ["test", "consequent", "alternate"]) {
      const node2 = conditionalExpression[property];
      if (isJsxElement(node2)) {
        return true;
      }
      if (node2.type === "ConditionalExpression") {
        conditionalExpressions.push(node2);
      }
    }
  }
  return false;
}
function printTernaryTest(path, options2, print3) {
  const { node } = path;
  const isConditionalExpression = node.type === "ConditionalExpression";
  const alternateNodePropertyName = isConditionalExpression ? "alternate" : "falseType";
  const { parent } = path;
  const printed = isConditionalExpression ? print3("test") : [print3("checkType"), " ", "extends", " ", print3("extendsType")];
  if (parent.type === node.type && parent[alternateNodePropertyName] === node) {
    return align(2, printed);
  }
  return printed;
}
var ancestorNameMap = /* @__PURE__ */ new Map([
  ["AssignmentExpression", "right"],
  ["VariableDeclarator", "init"],
  ["ReturnStatement", "argument"],
  ["ThrowStatement", "argument"],
  ["UnaryExpression", "argument"],
  ["YieldExpression", "argument"],
  ["AwaitExpression", "argument"]
]);
function shouldExtraIndentForConditionalExpression(path) {
  const { node } = path;
  if (node.type !== "ConditionalExpression") {
    return false;
  }
  let parent;
  let child = node;
  for (let ancestorCount = 0; !parent; ancestorCount++) {
    const node2 = path.getParentNode(ancestorCount);
    if (node2.type === "ChainExpression" && node2.expression === child || isCallExpression(node2) && node2.callee === child || isMemberExpression(node2) && node2.object === child || node2.type === "TSNonNullExpression" && node2.expression === child) {
      child = node2;
      continue;
    }
    if (node2.type === "NewExpression" && node2.callee === child || isBinaryCastExpression(node2) && node2.expression === child) {
      parent = path.getParentNode(ancestorCount + 1);
      child = node2;
    } else {
      parent = node2;
    }
  }
  if (child === node) {
    return false;
  }
  return parent[ancestorNameMap.get(parent.type)] === child;
}
function printTernaryOld(path, options2, print3) {
  const { node } = path;
  const isConditionalExpression = node.type === "ConditionalExpression";
  const consequentNodePropertyName = isConditionalExpression ? "consequent" : "trueType";
  const alternateNodePropertyName = isConditionalExpression ? "alternate" : "falseType";
  const testNodePropertyNames = isConditionalExpression ? ["test"] : ["checkType", "extendsType"];
  const consequentNode = node[consequentNodePropertyName];
  const alternateNode = node[alternateNodePropertyName];
  const parts = [];
  let jsxMode = false;
  const { parent } = path;
  const isParentTest = parent.type === node.type && testNodePropertyNames.some((prop) => parent[prop] === node);
  let forceNoIndent = parent.type === node.type && !isParentTest;
  let currentParent;
  let previousParent;
  let i = 0;
  do {
    previousParent = currentParent || node;
    currentParent = path.getParentNode(i);
    i++;
  } while (currentParent && currentParent.type === node.type && testNodePropertyNames.every(
    (prop) => currentParent[prop] !== previousParent
  ));
  const firstNonConditionalParent = currentParent || parent;
  const lastConditionalParent = previousParent;
  if (isConditionalExpression && (isJsxElement(node[testNodePropertyNames[0]]) || isJsxElement(consequentNode) || isJsxElement(alternateNode) || conditionalExpressionChainContainsJsx(lastConditionalParent))) {
    jsxMode = true;
    forceNoIndent = true;
    const wrap = (doc) => [
      ifBreak("("),
      indent([softline, doc]),
      softline,
      ifBreak(")")
    ];
    const isNil = (node2) => node2.type === "NullLiteral" || node2.type === "Literal" && node2.value === null || node2.type === "Identifier" && node2.name === "undefined";
    parts.push(
      " ? ",
      isNil(consequentNode) ? print3(consequentNodePropertyName) : wrap(print3(consequentNodePropertyName)),
      " : ",
      alternateNode.type === node.type || isNil(alternateNode) ? print3(alternateNodePropertyName) : wrap(print3(alternateNodePropertyName))
    );
  } else {
    const printBranch = (nodePropertyName) => options2.useTabs ? indent(print3(nodePropertyName)) : align(2, print3(nodePropertyName));
    const part = [
      line,
      "? ",
      consequentNode.type === node.type ? ifBreak("", "(") : "",
      printBranch(consequentNodePropertyName),
      consequentNode.type === node.type ? ifBreak("", ")") : "",
      line,
      ": ",
      printBranch(alternateNodePropertyName)
    ];
    parts.push(
      parent.type !== node.type || parent[alternateNodePropertyName] === node || isParentTest ? part : options2.useTabs ? dedent(indent(part)) : align(Math.max(0, options2.tabWidth - 2), part)
    );
  }
  const shouldBreak = [
    consequentNodePropertyName,
    alternateNodePropertyName,
    ...testNodePropertyNames
  ].some(
    (property) => hasComment(
      node[property],
      (comment) => is_block_comment_default(comment) && has_newline_in_range_default(
        options2.originalText,
        locStart(comment),
        locEnd(comment)
      )
    )
  );
  const maybeGroup = (doc) => parent === firstNonConditionalParent ? group(doc, { shouldBreak }) : shouldBreak ? [doc, breakParent] : doc;
  const breakClosingParen = !jsxMode && (isMemberExpression(parent) || parent.type === "NGPipeExpression" && parent.left === node) && !parent.computed;
  const shouldExtraIndent = shouldExtraIndentForConditionalExpression(path);
  const result = maybeGroup([
    printTernaryTest(path, options2, print3),
    forceNoIndent ? parts : indent(parts),
    isConditionalExpression && breakClosingParen && !shouldExtraIndent ? softline : ""
  ]);
  return isParentTest || shouldExtraIndent ? group([indent([softline, result]), softline]) : result;
}
 
// src/language-js/print/ternary.js
function shouldBreakClosingParen(node, parent) {
  return (isMemberExpression(parent) || parent.type === "NGPipeExpression" && parent.left === node) && !parent.computed;
}
function hasMultilineBlockComments(testNodes, consequentNode, alternateNode, options2) {
  const comments = [
    ...testNodes.map((node) => getComments(node)),
    getComments(consequentNode),
    getComments(alternateNode)
  ].flat();
  return comments.some(
    (comment) => is_block_comment_default(comment) && has_newline_in_range_default(
      options2.originalText,
      locStart(comment),
      locEnd(comment)
    )
  );
}
var ancestorNameMap2 = /* @__PURE__ */ new Map([
  ["AssignmentExpression", "right"],
  ["VariableDeclarator", "init"],
  ["ReturnStatement", "argument"],
  ["ThrowStatement", "argument"],
  ["UnaryExpression", "argument"],
  ["YieldExpression", "argument"],
  ["AwaitExpression", "argument"]
]);
function shouldExtraIndentForConditionalExpression2(path) {
  const { node } = path;
  if (node.type !== "ConditionalExpression") {
    return false;
  }
  let parent;
  let child = node;
  for (let ancestorCount = 0; !parent; ancestorCount++) {
    const node2 = path.getParentNode(ancestorCount);
    if (node2.type === "ChainExpression" && node2.expression === child || isCallExpression(node2) && node2.callee === child || isMemberExpression(node2) && node2.object === child || node2.type === "TSNonNullExpression" && node2.expression === child) {
      child = node2;
      continue;
    }
    if (node2.type === "NewExpression" && node2.callee === child || isBinaryCastExpression(node2) && node2.expression === child) {
      parent = path.getParentNode(ancestorCount + 1);
      child = node2;
    } else {
      parent = node2;
    }
  }
  if (child === node) {
    return false;
  }
  return parent[ancestorNameMap2.get(parent.type)] === child;
}
var wrapInParens = (doc) => [
  ifBreak("("),
  indent([softline, doc]),
  softline,
  ifBreak(")")
];
function printTernary(path, options2, print3, args) {
  if (!options2.experimentalTernaries) {
    return printTernaryOld(path, options2, print3);
  }
  const { node } = path;
  const isConditionalExpression = node.type === "ConditionalExpression";
  const isTSConditional = isConditionalType(node);
  const consequentNodePropertyName = isConditionalExpression ? "consequent" : "trueType";
  const alternateNodePropertyName = isConditionalExpression ? "alternate" : "falseType";
  const testNodePropertyNames = isConditionalExpression ? ["test"] : ["checkType", "extendsType"];
  const consequentNode = node[consequentNodePropertyName];
  const alternateNode = node[alternateNodePropertyName];
  const testNodes = testNodePropertyNames.map((prop) => node[prop]);
  const { parent } = path;
  const isParentTernary = parent.type === node.type;
  const isInTest = isParentTernary && testNodePropertyNames.some((prop) => parent[prop] === node);
  const isInAlternate = isParentTernary && parent[alternateNodePropertyName] === node;
  const isConsequentTernary = consequentNode.type === node.type;
  const isAlternateTernary = alternateNode.type === node.type;
  const isInChain = isAlternateTernary || isInAlternate;
  const isBigTabs = options2.tabWidth > 2 || options2.useTabs;
  let currentParent;
  let previousParent;
  let i = 0;
  do {
    previousParent = currentParent || node;
    currentParent = path.getParentNode(i);
    i++;
  } while (currentParent && currentParent.type === node.type && testNodePropertyNames.every(
    (prop) => currentParent[prop] !== previousParent
  ));
  const firstNonConditionalParent = currentParent || parent;
  const isOnSameLineAsAssignment = args && args.assignmentLayout && args.assignmentLayout !== "break-after-operator" && (parent.type === "AssignmentExpression" || parent.type === "VariableDeclarator" || parent.type === "ClassProperty" || parent.type === "PropertyDefinition" || parent.type === "ClassPrivateProperty" || parent.type === "ObjectProperty" || parent.type === "Property");
  const isOnSameLineAsReturn = (parent.type === "ReturnStatement" || parent.type === "ThrowStatement") && !(isConsequentTernary || isAlternateTernary);
  const isInJsx = isConditionalExpression && firstNonConditionalParent.type === "JSXExpressionContainer" && path.grandparent.type !== "JSXAttribute";
  const shouldExtraIndent = shouldExtraIndentForConditionalExpression2(path);
  const breakClosingParen = shouldBreakClosingParen(node, parent);
  const breakTSClosingParen = isTSConditional && needs_parens_default(path, options2);
  const fillTab = !isBigTabs ? "" : options2.useTabs ? "	" : " ".repeat(options2.tabWidth - 1);
  const shouldBreak = hasMultilineBlockComments(
    testNodes,
    consequentNode,
    alternateNode,
    options2
  ) || isConsequentTernary || isAlternateTernary;
  const tryToParenthesizeAlternate = !isInChain && !isParentTernary && !isTSConditional && (isInJsx ? (
    // In JSX, we want this with a null-consequent to mirror booleans:
    //
    //   {!foo ? null : (
    //     something.else()
    //   )}
    //
    // But not in the general case, where it's (subjectively) better to have things multiline.
    consequentNode.type === "NullLiteral" || consequentNode.type === "Literal" && consequentNode.value === null
  ) : (
    // Right now, we do this when:
    // 1. The test is simple and,
    // 2. The consequent is short.
    // This heuristic could probably be refined over time, but felt right after moderate amounts of tinkering.
    isLoneShortArgument(consequentNode, options2) && isSimpleExpressionByNodeCount(node.test, 3)
  ));
  const shouldGroupTestAndConsequent = isInChain || isInAlternate || isTSConditional && !isParentTernary || isParentTernary && isConditionalExpression && isSimpleExpressionByNodeCount(node.test, 1) || tryToParenthesizeAlternate;
  const consequentComments = [];
  if (!isConsequentTernary && hasComment(consequentNode, CommentCheckFlags.Dangling)) {
    path.call((childPath) => {
      consequentComments.push(
        printDanglingComments(childPath, options2),
        hardline
      );
    }, "consequent");
  }
  const alternateComments = [];
  if (hasComment(node.test, CommentCheckFlags.Dangling)) {
    path.call((childPath) => {
      alternateComments.push(printDanglingComments(childPath, options2));
    }, "test");
  }
  if (!isAlternateTernary && hasComment(alternateNode, CommentCheckFlags.Dangling)) {
    path.call((childPath) => {
      alternateComments.push(printDanglingComments(childPath, options2));
    }, "alternate");
  }
  if (hasComment(node, CommentCheckFlags.Dangling)) {
    alternateComments.push(printDanglingComments(path, options2));
  }
  const testId = Symbol("test");
  const consequentId = Symbol("consequent");
  const testAndConsequentId = Symbol("test-and-consequent");
  const printedTest = isConditionalExpression ? [
    wrapInParens(print3("test")),
    node.test.type === "ConditionalExpression" ? breakParent : ""
  ] : [
    print3("checkType"),
    " ",
    "extends",
    " ",
    isConditionalType(node.extendsType) || node.extendsType.type === "TSMappedType" ? print3("extendsType") : group(wrapInParens(print3("extendsType")))
  ];
  const printedTestWithQuestionMark = group([printedTest, " ?"], {
    id: testId
  });
  const printedConsequent = print3(consequentNodePropertyName);
  const consequent = indent([
    isConsequentTernary || isInJsx && (isJsxElement(consequentNode) || isParentTernary || isInChain) ? hardline : line,
    consequentComments,
    printedConsequent
  ]);
  const printedTestAndConsequent = shouldGroupTestAndConsequent ? group(
    [
      printedTestWithQuestionMark,
      // Avoid indenting consequent if it isn't a chain, even if the test breaks.
      isInChain ? consequent : (
        // If the test breaks, also break the consequent
        ifBreak(consequent, group(consequent, { id: consequentId }), {
          groupId: testId
        })
      )
    ],
    { id: testAndConsequentId }
  ) : [printedTestWithQuestionMark, consequent];
  const printedAlternate = print3(alternateNodePropertyName);
  const printedAlternateWithParens = tryToParenthesizeAlternate ? ifBreak(printedAlternate, dedent(wrapInParens(printedAlternate)), {
    groupId: testAndConsequentId
  }) : printedAlternate;
  const parts = [
    printedTestAndConsequent,
    alternateComments.length > 0 ? [indent([hardline, alternateComments]), hardline] : isAlternateTernary ? hardline : tryToParenthesizeAlternate ? ifBreak(line, " ", { groupId: testAndConsequentId }) : line,
    ":",
    isAlternateTernary ? " " : !isBigTabs ? " " : shouldGroupTestAndConsequent ? ifBreak(
      fillTab,
      ifBreak(
        isInChain || tryToParenthesizeAlternate ? " " : fillTab,
        " "
      ),
      { groupId: testAndConsequentId }
    ) : ifBreak(fillTab, " "),
    isAlternateTernary ? printedAlternateWithParens : group([
      indent(printedAlternateWithParens),
      isInJsx && !tryToParenthesizeAlternate ? softline : ""
    ]),
    breakClosingParen && !shouldExtraIndent ? softline : "",
    shouldBreak ? breakParent : ""
  ];
  const result = isOnSameLineAsAssignment && !shouldBreak ? (
    // We try to preserve the case of a single-line ternary bumped to the line after assignment:
    //
    //   const foo =
    //     cond ? result : otherwise;
    //
    // However, this sadly means that tests are always shunted to the next line in this case,
    // which I'm ambivalent about but some people like keeping on the same line as the assignment.
    group(indent([softline, group(parts)]))
  ) : isOnSameLineAsAssignment || isOnSameLineAsReturn ? group(indent(parts)) : shouldExtraIndent || isTSConditional && isInTest ? group([
    indent([softline, parts]),
    breakTSClosingParen ? softline : ""
  ]) : parent === firstNonConditionalParent ? group(parts) : parts;
  return result;
}
 
// src/language-js/print/estree.js
function printEstree(path, options2, print3, args) {
  const { node } = path;
  if (isLiteral(node)) {
    return printLiteral(path, options2);
  }
  const semi = options2.semi ? ";" : "";
  let parts = [];
  switch (node.type) {
    case "JsExpressionRoot":
      return print3("node");
    case "JsonRoot":
      return [printDanglingComments(path, options2), print3("node"), hardline];
    case "File":
      return printHtmlBinding(path, options2, print3) ?? print3("program");
    // Babel extension.
    case "EmptyStatement":
      return "";
    case "ExpressionStatement":
      return printExpressionStatement(path, options2, print3);
    case "ChainExpression":
      return print3("expression");
    // Babel non-standard node. Used for Closure-style type casts. See postprocess.js.
    case "ParenthesizedExpression": {
      const shouldHug = !hasComment(node.expression) && (isObjectExpression(node.expression) || isArrayExpression(node.expression));
      if (shouldHug) {
        return ["(", print3("expression"), ")"];
      }
      return group([
        "(",
        indent([softline, print3("expression")]),
        softline,
        ")"
      ]);
    }
    case "AssignmentExpression":
      return printAssignmentExpression(path, options2, print3);
    case "VariableDeclarator":
      return printVariableDeclarator(path, options2, print3);
    case "BinaryExpression":
    case "LogicalExpression":
      return printBinaryishExpression(path, options2, print3);
    case "AssignmentPattern":
      return [print3("left"), " = ", print3("right")];
    case "OptionalMemberExpression":
    case "MemberExpression":
      return printMemberExpression(path, options2, print3);
    case "MetaProperty":
      return [print3("meta"), ".", print3("property")];
    case "BindExpression":
      if (node.object) {
        parts.push(print3("object"));
      }
      parts.push(
        group(
          indent([softline, printBindExpressionCallee(path, options2, print3)])
        )
      );
      return parts;
    case "Identifier":
      return [
        node.name,
        printOptionalToken(path),
        printDefiniteToken(path),
        printTypeAnnotationProperty(path, print3)
      ];
    case "V8IntrinsicIdentifier":
      return ["%", node.name];
    case "SpreadElement":
    case "SpreadElementPattern":
    case "SpreadPropertyPattern":
    case "RestElement":
      return printRestSpread(path, print3);
    case "FunctionDeclaration":
    case "FunctionExpression":
      return printFunction(path, options2, print3, args);
    case "ArrowFunctionExpression":
      return printArrowFunction(path, options2, print3, args);
    case "YieldExpression":
      parts.push("yield");
      if (node.delegate) {
        parts.push("*");
      }
      if (node.argument) {
        parts.push(" ", print3("argument"));
      }
      return parts;
    case "AwaitExpression":
      parts.push("await");
      if (node.argument) {
        parts.push(" ", print3("argument"));
        const { parent } = path;
        if (isCallExpression(parent) && parent.callee === node || isMemberExpression(parent) && parent.object === node) {
          parts = [indent([softline, ...parts]), softline];
          const parentAwaitOrBlock = path.findAncestor(
            (node2) => node2.type === "AwaitExpression" || node2.type === "BlockStatement"
          );
          if ((parentAwaitOrBlock == null ? void 0 : parentAwaitOrBlock.type) !== "AwaitExpression" || !startsWithNoLookaheadToken(
            parentAwaitOrBlock.argument,
            (leftmostNode) => leftmostNode === node
          )) {
            return group(parts);
          }
        }
      }
      return parts;
    case "ExportDefaultDeclaration":
    case "ExportNamedDeclaration":
    case "ExportAllDeclaration":
      return printExportDeclaration(path, options2, print3);
    case "ImportDeclaration":
      return printImportDeclaration(path, options2, print3);
    case "ImportSpecifier":
    case "ExportSpecifier":
    case "ImportNamespaceSpecifier":
    case "ExportNamespaceSpecifier":
    case "ImportDefaultSpecifier":
    case "ExportDefaultSpecifier":
      return printModuleSpecifier(path, options2, print3);
    case "ImportAttribute":
      return printProperty(path, options2, print3);
    case "Program":
    case "BlockStatement":
    case "StaticBlock":
      return printBlock(path, options2, print3);
    case "ClassBody":
      return printClassBody(path, options2, print3);
    case "ThrowStatement":
      return printThrowStatement(path, options2, print3);
    case "ReturnStatement":
      return printReturnStatement(path, options2, print3);
    case "NewExpression":
    case "ImportExpression":
    case "OptionalCallExpression":
    case "CallExpression":
      return printCallExpression(path, options2, print3);
    case "ObjectExpression":
    case "ObjectPattern":
      return printObject(path, options2, print3);
    case "Property":
      if (isMethod(node)) {
        return printMethod(path, options2, print3);
      }
      return printProperty(path, options2, print3);
    // Babel
    case "ObjectProperty":
      return printProperty(path, options2, print3);
    // Babel
    case "ObjectMethod":
      return printMethod(path, options2, print3);
    case "Decorator":
      return ["@", print3("expression")];
    case "ArrayExpression":
    case "ArrayPattern":
      return printArray(path, options2, print3);
    case "SequenceExpression": {
      const { parent } = path;
      if (parent.type === "ExpressionStatement" || parent.type === "ForStatement") {
        const parts3 = [];
        path.each(({ isFirst }) => {
          if (isFirst) {
            parts3.push(print3());
          } else {
            parts3.push(",", indent([line, print3()]));
          }
        }, "expressions");
        return group(parts3);
      }
      const parts2 = join([",", line], path.map(print3, "expressions"));
      if ((parent.type === "ReturnStatement" || parent.type === "ThrowStatement") && path.key === "argument" || parent.type === "ArrowFunctionExpression" && path.key === "body") {
        return group(ifBreak([indent([softline, parts2]), softline], parts2));
      }
      return group(parts2);
    }
    case "ThisExpression":
      return "this";
    case "Super":
      return "super";
    case "Directive":
      return [print3("value"), semi];
    // Babel 6
    case "UnaryExpression":
      parts.push(node.operator);
      if (/[a-z]$/u.test(node.operator)) {
        parts.push(" ");
      }
      if (hasComment(node.argument)) {
        parts.push(
          group(["(", indent([softline, print3("argument")]), softline, ")"])
        );
      } else {
        parts.push(print3("argument"));
      }
      return parts;
    case "UpdateExpression":
      return [
        node.prefix ? node.operator : "",
        print3("argument"),
        node.prefix ? "" : node.operator
      ];
    case "ConditionalExpression":
      return printTernary(path, options2, print3, args);
    case "VariableDeclaration": {
      const printed = path.map(print3, "declarations");
      const parentNode = path.parent;
      const isParentForLoop = parentNode.type === "ForStatement" || parentNode.type === "ForInStatement" || parentNode.type === "ForOfStatement";
      const hasValue = node.declarations.some((decl) => decl.init);
      let firstVariable;
      if (printed.length === 1 && !hasComment(node.declarations[0])) {
        firstVariable = printed[0];
      } else if (printed.length > 0) {
        firstVariable = indent(printed[0]);
      }
      parts = [
        printDeclareToken(path),
        node.kind,
        firstVariable ? [" ", firstVariable] : "",
        indent(
          printed.slice(1).map((p) => [
            ",",
            hasValue && !isParentForLoop ? hardline : line,
            p
          ])
        )
      ];
      if (!(isParentForLoop && parentNode.body !== node)) {
        parts.push(semi);
      }
      return group(parts);
    }
    case "WithStatement":
      return group([
        "with (",
        print3("object"),
        ")",
        adjustClause(node.body, print3("body"))
      ]);
    case "IfStatement": {
      const consequent = adjustClause(node.consequent, print3("consequent"));
      const opening = group([
        "if (",
        group([indent([softline, print3("test")]), softline]),
        ")",
        consequent
      ]);
      parts.push(opening);
      if (node.alternate) {
        const commentOnOwnLine = hasComment(
          node.consequent,
          CommentCheckFlags.Trailing | CommentCheckFlags.Line
        ) || needsHardlineAfterDanglingComment(node);
        const elseOnSameLine = node.consequent.type === "BlockStatement" && !commentOnOwnLine;
        parts.push(elseOnSameLine ? " " : hardline);
        if (hasComment(node, CommentCheckFlags.Dangling)) {
          parts.push(
            printDanglingComments(path, options2),
            commentOnOwnLine ? hardline : " "
          );
        }
        parts.push(
          "else",
          group(
            adjustClause(
              node.alternate,
              print3("alternate"),
              node.alternate.type === "IfStatement"
            )
          )
        );
      }
      return parts;
    }
    case "ForStatement": {
      const body = adjustClause(node.body, print3("body"));
      const dangling = printDanglingComments(path, options2);
      const printedComments = dangling ? [dangling, softline] : "";
      if (!node.init && !node.test && !node.update) {
        return [printedComments, group(["for (;;)", body])];
      }
      return [
        printedComments,
        group([
          "for (",
          group([
            indent([
              softline,
              print3("init"),
              ";",
              line,
              print3("test"),
              ";",
              line,
              print3("update")
            ]),
            softline
          ]),
          ")",
          body
        ])
      ];
    }
    case "WhileStatement":
      return group([
        "while (",
        group([indent([softline, print3("test")]), softline]),
        ")",
        adjustClause(node.body, print3("body"))
      ]);
    case "ForInStatement":
      return group([
        "for (",
        print3("left"),
        " in ",
        print3("right"),
        ")",
        adjustClause(node.body, print3("body"))
      ]);
    case "ForOfStatement":
      return group([
        "for",
        node.await ? " await" : "",
        " (",
        print3("left"),
        " of ",
        print3("right"),
        ")",
        adjustClause(node.body, print3("body"))
      ]);
    case "DoWhileStatement": {
      const clause = adjustClause(node.body, print3("body"));
      const doBody = group(["do", clause]);
      parts = [doBody];
      if (node.body.type === "BlockStatement") {
        parts.push(" ");
      } else {
        parts.push(hardline);
      }
      parts.push(
        "while (",
        group([indent([softline, print3("test")]), softline]),
        ")",
        semi
      );
      return parts;
    }
    case "DoExpression":
      return [node.async ? "async " : "", "do ", print3("body")];
    case "BreakStatement":
    case "ContinueStatement":
      parts.push(node.type === "BreakStatement" ? "break" : "continue");
      if (node.label) {
        parts.push(" ", print3("label"));
      }
      parts.push(semi);
      return parts;
    case "LabeledStatement":
      if (node.body.type === "EmptyStatement") {
        return [print3("label"), ":;"];
      }
      return [print3("label"), ": ", print3("body")];
    case "TryStatement":
      return [
        "try ",
        print3("block"),
        node.handler ? [" ", print3("handler")] : "",
        node.finalizer ? [" finally ", print3("finalizer")] : ""
      ];
    case "CatchClause":
      if (node.param) {
        const parameterHasComments = hasComment(
          node.param,
          (comment) => !is_block_comment_default(comment) || comment.leading && has_newline_default(options2.originalText, locEnd(comment)) || comment.trailing && has_newline_default(options2.originalText, locStart(comment), {
            backwards: true
          })
        );
        const param = print3("param");
        return [
          "catch ",
          parameterHasComments ? ["(", indent([softline, param]), softline, ") "] : ["(", param, ") "],
          print3("body")
        ];
      }
      return ["catch ", print3("body")];
    // Note: ignoring n.lexical because it has no printing consequences.
    case "SwitchStatement":
      return [
        group([
          "switch (",
          indent([softline, print3("discriminant")]),
          softline,
          ")"
        ]),
        " {",
        node.cases.length > 0 ? indent([
          hardline,
          join(
            hardline,
            path.map(
              ({ node: node2, isLast }) => [
                print3(),
                !isLast && isNextLineEmpty2(node2, options2) ? hardline : ""
              ],
              "cases"
            )
          )
        ]) : "",
        hardline,
        "}"
      ];
    case "SwitchCase": {
      if (node.test) {
        parts.push("case ", print3("test"), ":");
      } else {
        parts.push("default:");
      }
      if (hasComment(node, CommentCheckFlags.Dangling)) {
        parts.push(" ", printDanglingComments(path, options2));
      }
      const consequent = node.consequent.filter(
        (node2) => node2.type !== "EmptyStatement"
      );
      if (consequent.length > 0) {
        const cons = printStatementSequence(path, options2, print3, "consequent");
        parts.push(
          consequent.length === 1 && consequent[0].type === "BlockStatement" ? [" ", cons] : indent([hardline, cons])
        );
      }
      return parts;
    }
    // JSX extensions below.
    case "DebuggerStatement":
      return ["debugger", semi];
    case "ClassDeclaration":
    case "ClassExpression":
      return printClass(path, options2, print3);
    case "ClassMethod":
    case "ClassPrivateMethod":
    case "MethodDefinition":
      return printClassMethod(path, options2, print3);
    case "ClassProperty":
    case "PropertyDefinition":
    case "ClassPrivateProperty":
    case "ClassAccessorProperty":
    case "AccessorProperty":
      return printClassProperty(path, options2, print3);
    case "TemplateElement":
      return replaceEndOfLine(node.value.raw);
    case "TemplateLiteral":
      return printTemplateLiteral(path, options2, print3);
    case "TaggedTemplateExpression":
      return printTaggedTemplateLiteral(path, options2, print3);
    case "PrivateIdentifier":
      return ["#", node.name];
    case "PrivateName":
      return ["#", print3("id")];
    // For hack-style pipeline
    case "TopicReference":
      return "%";
    case "ArgumentPlaceholder":
      return "?";
    case "ModuleExpression":
      return ["module ", print3("body")];
    case "InterpreterDirective":
    // Printed as comment
    default:
      throw new unexpected_node_error_default(node, "ESTree");
  }
}
 
// src/language-js/print/cast-expression.js
function printBinaryCastExpression(path, options2, print3) {
  const { parent, node, key } = path;
  const parts = [print3("expression")];
  switch (node.type) {
    case "AsConstExpression":
      parts.push(" as const");
      break;
    case "AsExpression":
    case "TSAsExpression":
      parts.push(" as ", print3("typeAnnotation"));
      break;
    case "SatisfiesExpression":
    case "TSSatisfiesExpression":
      parts.push(" satisfies ", print3("typeAnnotation"));
      break;
  }
  if (key === "callee" && isCallExpression(parent) || key === "object" && isMemberExpression(parent)) {
    return group([indent([softline, ...parts]), softline]);
  }
  return parts;
}
 
// src/language-js/print/component.js
function printComponent(path, options2, print3) {
  const { node } = path;
  const parts = [printDeclareToken(path), "component"];
  if (node.id) {
    parts.push(" ", print3("id"));
  }
  parts.push(print3("typeParameters"));
  const parametersDoc = printComponentParameters(path, options2, print3);
  if (node.rendersType) {
    parts.push(group([parametersDoc, " ", print3("rendersType")]));
  } else {
    parts.push(group([parametersDoc]));
  }
  if (node.body) {
    parts.push(" ", print3("body"));
  }
  if (options2.semi && node.type === "DeclareComponent") {
    parts.push(";");
  }
  return parts;
}
function printComponentParameters(path, options2, print3) {
  const { node: componentNode } = path;
  let parameters = componentNode.params;
  if (componentNode.rest) {
    parameters = [...parameters, componentNode.rest];
  }
  if (parameters.length === 0) {
    return [
      "(",
      printDanglingComments(path, options2, {
        filter: (comment) => get_next_non_space_non_comment_character_default(
          options2.originalText,
          locEnd(comment)
        ) === ")"
      }),
      ")"
    ];
  }
  const printed = [];
  iterateComponentParametersPath(path, (parameterPath, index) => {
    const isLastParameter = index === parameters.length - 1;
    if (isLastParameter && componentNode.rest) {
      printed.push("...");
    }
    printed.push(print3());
    if (isLastParameter) {
      return;
    }
    printed.push(",");
    if (isNextLineEmpty2(parameters[index], options2)) {
      printed.push(hardline, hardline);
    } else {
      printed.push(line);
    }
  });
  return [
    "(",
    indent([softline, ...printed]),
    ifBreak(
      shouldPrintComma(options2, "all") && !hasRestParameter2(componentNode, parameters) ? "," : ""
    ),
    softline,
    ")"
  ];
}
function hasRestParameter2(componentNode, parameters) {
  var _a;
  return componentNode.rest || ((_a = at_default(
    /* isOptionalObject */
    false,
    parameters,
    -1
  )) == null ? void 0 : _a.type) === "RestElement";
}
function iterateComponentParametersPath(path, iteratee) {
  const { node } = path;
  let index = 0;
  const callback = (childPath) => iteratee(childPath, index++);
  path.each(callback, "params");
  if (node.rest) {
    path.call(callback, "rest");
  }
}
function printComponentParameter(path, options2, print3) {
  const { node } = path;
  if (node.shorthand) {
    return print3("local");
  }
  return [print3("name"), " as ", print3("local")];
}
function printComponentTypeParameter(path, options2, print3) {
  const { node } = path;
  const printed = [];
  if (node.name) {
    printed.push(print3("name"), node.optional ? "?: " : ": ");
  }
  printed.push(print3("typeAnnotation"));
  return printed;
}
 
// src/language-js/print/enum.js
function printEnumBody(path, options2, print3) {
  return printObject(path, options2, print3);
}
function printEnumMember(path, print3) {
  const { node } = path;
  let idDoc = print3("id");
  if (node.computed) {
    idDoc = ["[", idDoc, "]"];
  }
  let initializerDoc = "";
  if (node.initializer) {
    initializerDoc = print3("initializer");
  }
  if (node.init) {
    initializerDoc = print3("init");
  }
  if (!initializerDoc) {
    return idDoc;
  }
  return [idDoc, " = ", initializerDoc];
}
function printEnumDeclaration(path, print3) {
  const { node } = path;
  return [
    printDeclareToken(path),
    node.const ? "const " : "",
    "enum ",
    print3("id"),
    " ",
    print3("body")
  ];
}
 
// src/language-js/print/hook.js
function printHook(path, options2, print3) {
  const { node } = path;
  const parts = ["hook"];
  if (node.id) {
    parts.push(" ", print3("id"));
  }
  const parametersDoc = printFunctionParameters(
    path,
    options2,
    print3,
    false,
    true
  );
  const returnTypeDoc = printReturnType(path, print3);
  const shouldGroupParameters = shouldGroupFunctionParameters(
    node,
    returnTypeDoc
  );
  parts.push(
    group([
      shouldGroupParameters ? group(parametersDoc) : parametersDoc,
      returnTypeDoc
    ]),
    node.body ? " " : "",
    print3("body")
  );
  return parts;
}
function printDeclareHook(path, options2, print3) {
  const { node } = path;
  const parts = [printDeclareToken(path), "hook"];
  if (node.id) {
    parts.push(" ", print3("id"));
  }
  if (options2.semi) {
    parts.push(";");
  }
  return parts;
}
function isDeclareHookTypeAnnotation(path) {
  var _a;
  const { node } = path;
  return node.type === "HookTypeAnnotation" && ((_a = path.getParentNode(2)) == null ? void 0 : _a.type) === "DeclareHook";
}
function printHookTypeAnnotation(path, options2, print3) {
  const { node } = path;
  const parts = [];
  parts.push(isDeclareHookTypeAnnotation(path) ? "" : "hook ");
  let parametersDoc = printFunctionParameters(
    path,
    options2,
    print3,
    /* expandArg */
    false,
    /* printTypeParams */
    true
  );
  const returnTypeDoc = [];
  returnTypeDoc.push(
    isDeclareHookTypeAnnotation(path) ? ": " : " => ",
    print3("returnType")
  );
  if (shouldGroupFunctionParameters(node, returnTypeDoc)) {
    parametersDoc = group(parametersDoc);
  }
  parts.push(parametersDoc, returnTypeDoc);
  return group(parts);
}
 
// src/language-js/print/interface.js
function printInterface(path, options2, print3) {
  const { node } = path;
  const parts = [printDeclareToken(path), "interface"];
  const partsGroup = [];
  const extendsParts = [];
  if (node.type !== "InterfaceTypeAnnotation") {
    partsGroup.push(" ", print3("id"), print3("typeParameters"));
  }
  const shouldIndentOnlyHeritageClauses2 = node.typeParameters && !hasComment(
    node.typeParameters,
    CommentCheckFlags.Trailing | CommentCheckFlags.Line
  );
  if (is_non_empty_array_default(node.extends)) {
    extendsParts.push(
      shouldIndentOnlyHeritageClauses2 ? ifBreak(" ", line, {
        groupId: getTypeParametersGroupId(node.typeParameters)
      }) : line,
      "extends ",
      (node.extends.length === 1 ? identity : indent)(
        join([",", line], path.map(print3, "extends"))
      )
    );
  }
  if (hasComment(node.id, CommentCheckFlags.Trailing) || is_non_empty_array_default(node.extends)) {
    if (shouldIndentOnlyHeritageClauses2) {
      parts.push(group([...partsGroup, indent(extendsParts)]));
    } else {
      parts.push(group(indent([...partsGroup, ...extendsParts])));
    }
  } else {
    parts.push(...partsGroup, ...extendsParts);
  }
  parts.push(" ", print3("body"));
  return group(parts);
}
 
// src/language-js/print/mapped-type.js
function printFlowMappedTypeOptionalModifier(optional) {
  switch (optional) {
    case null:
      return "";
    case "PlusOptional":
      return "+?";
    case "MinusOptional":
      return "-?";
    case "Optional":
      return "?";
  }
}
function printFlowMappedTypeProperty(path, options2, print3) {
  const { node } = path;
  return group([
    node.variance ? print3("variance") : "",
    "[",
    indent([print3("keyTparam"), " in ", print3("sourceType")]),
    "]",
    printFlowMappedTypeOptionalModifier(node.optional),
    ": ",
    print3("propType")
  ]);
}
function printTypeScriptMappedTypeModifier(tokenNode, keyword) {
  if (tokenNode === "+" || tokenNode === "-") {
    return tokenNode + keyword;
  }
  return keyword;
}
function printTypeScriptMappedType(path, options2, print3) {
  const { node } = path;
  let shouldBreak = false;
  if (options2.objectWrap === "preserve") {
    const start = locStart(node);
    const textAfter = get_text_without_comments_default(
      options2,
      start + 1,
      locStart(node.key)
    );
    const nextTokenIndex = start + 1 + textAfter.search(/\S/u);
    if (has_newline_in_range_default(options2.originalText, start, nextTokenIndex)) {
      shouldBreak = true;
    }
  }
  return group(
    [
      "{",
      indent([
        options2.bracketSpacing ? line : softline,
        hasComment(node, CommentCheckFlags.Dangling) ? group([printDanglingComments(path, options2), hardline]) : "",
        group([
          node.readonly ? [
            printTypeScriptMappedTypeModifier(node.readonly, "readonly"),
            " "
          ] : "",
          "[",
          print3("key"),
          " in ",
          print3("constraint"),
          node.nameType ? [" as ", print3("nameType")] : "",
          "]",
          node.optional ? printTypeScriptMappedTypeModifier(node.optional, "?") : "",
          node.typeAnnotation ? ": " : "",
          print3("typeAnnotation")
        ]),
        options2.semi ? ifBreak(";") : ""
      ]),
      options2.bracketSpacing ? line : softline,
      "}"
    ],
    { shouldBreak }
  );
}
 
// src/language-js/print/flow.js
function printFlow(path, options2, print3) {
  const { node } = path;
  if (is_flow_keyword_type_default(node)) {
    return node.type.slice(0, -14).toLowerCase();
  }
  const semi = options2.semi ? ";" : "";
  switch (node.type) {
    case "ComponentDeclaration":
    case "DeclareComponent":
    case "ComponentTypeAnnotation":
      return printComponent(path, options2, print3);
    case "ComponentParameter":
      return printComponentParameter(path, options2, print3);
    case "ComponentTypeParameter":
      return printComponentTypeParameter(path, options2, print3);
    case "HookDeclaration":
      return printHook(path, options2, print3);
    case "DeclareHook":
      return printDeclareHook(path, options2, print3);
    case "HookTypeAnnotation":
      return printHookTypeAnnotation(path, options2, print3);
    case "DeclareClass":
      return printClass(path, options2, print3);
    case "DeclareFunction":
      return [
        printDeclareToken(path),
        "function ",
        print3("id"),
        print3("predicate"),
        semi
      ];
    case "DeclareModule":
      return ["declare module ", print3("id"), " ", print3("body")];
    case "DeclareModuleExports":
      return [
        "declare module.exports",
        printTypeAnnotationProperty(path, print3),
        semi
      ];
    case "DeclareNamespace":
      return ["declare namespace ", print3("id"), " ", print3("body")];
    case "DeclareVariable":
      return [
        printDeclareToken(path),
        // TODO: Only use `node.kind` when babel update AST
        node.kind ?? "var",
        " ",
        print3("id"),
        semi
      ];
    case "DeclareExportDeclaration":
    case "DeclareExportAllDeclaration":
      return printExportDeclaration(path, options2, print3);
    case "DeclareOpaqueType":
    case "OpaqueType":
      return printOpaqueType(path, options2, print3);
    case "DeclareTypeAlias":
    case "TypeAlias":
      return printTypeAlias(path, options2, print3);
    case "IntersectionTypeAnnotation":
      return printIntersectionType(path, options2, print3);
    case "UnionTypeAnnotation":
      return printUnionType(path, options2, print3);
    case "ConditionalTypeAnnotation":
      return printTernary(path, options2, print3);
    case "InferTypeAnnotation":
      return printInferType(path, options2, print3);
    case "FunctionTypeAnnotation":
      return printFunctionType(path, options2, print3);
    case "TupleTypeAnnotation":
      return printArray(path, options2, print3);
    case "TupleTypeLabeledElement":
      return printNamedTupleMember(path, options2, print3);
    case "TupleTypeSpreadElement":
      return printRestType(path, options2, print3);
    case "GenericTypeAnnotation":
      return [
        print3("id"),
        printTypeParameters(path, options2, print3, "typeParameters")
      ];
    case "IndexedAccessType":
    case "OptionalIndexedAccessType":
      return printIndexedAccessType(path, options2, print3);
    // Type Annotations for Facebook Flow, typically stripped out or
    // transformed away before printing.
    case "TypeAnnotation":
      return printTypeAnnotation(path, options2, print3);
    case "TypeParameter":
      return printTypeParameter(path, options2, print3);
    case "TypeofTypeAnnotation":
      return printTypeQuery(path, print3);
    case "ExistsTypeAnnotation":
      return "*";
    case "ArrayTypeAnnotation":
      return printArrayType(print3);
    case "DeclareEnum":
    case "EnumDeclaration":
      return printEnumDeclaration(path, print3);
    case "EnumBooleanBody":
    case "EnumNumberBody":
    case "EnumBigIntBody":
    case "EnumStringBody":
    case "EnumSymbolBody":
      return [
        node.type === "EnumSymbolBody" || node.explicitType ? `of ${node.type.slice(
          // `Enum`
          4,
          // `Body`
          -4
        ).toLowerCase()} ` : "",
        printEnumBody(path, options2, print3)
      ];
    case "EnumBooleanMember":
    case "EnumNumberMember":
    case "EnumBigIntMember":
    case "EnumStringMember":
    case "EnumDefaultedMember":
      return printEnumMember(path, print3);
    case "FunctionTypeParam": {
      const name = node.name ? print3("name") : path.parent.this === node ? "this" : "";
      return [
        name,
        printOptionalToken(path),
        // `flow` doesn't wrap the `typeAnnotation` with `TypeAnnotation`, so the colon
        // needs to be added separately.
        name ? ": " : "",
        print3("typeAnnotation")
      ];
    }
    case "DeclareInterface":
    case "InterfaceDeclaration":
    case "InterfaceTypeAnnotation":
      return printInterface(path, options2, print3);
    case "ClassImplements":
    case "InterfaceExtends":
      return [print3("id"), print3("typeParameters")];
    case "NullableTypeAnnotation":
      return ["?", print3("typeAnnotation")];
    case "Variance": {
      const { kind } = node;
      assert_default.ok(kind === "plus" || kind === "minus");
      return kind === "plus" ? "+" : "-";
    }
    case "KeyofTypeAnnotation":
      return ["keyof ", print3("argument")];
    case "ObjectTypeCallProperty":
      return [node.static ? "static " : "", print3("value")];
    case "ObjectTypeMappedTypeProperty":
      return printFlowMappedTypeProperty(path, options2, print3);
    case "ObjectTypeIndexer":
      return [
        node.static ? "static " : "",
        node.variance ? print3("variance") : "",
        "[",
        print3("id"),
        node.id ? ": " : "",
        print3("key"),
        "]: ",
        print3("value")
      ];
    case "ObjectTypeProperty": {
      let modifier = "";
      if (node.proto) {
        modifier = "proto ";
      } else if (node.static) {
        modifier = "static ";
      }
      return [
        modifier,
        node.kind !== "init" ? node.kind + " " : "",
        node.variance ? print3("variance") : "",
        printPropertyKey(path, options2, print3),
        printOptionalToken(path),
        isMethod(node) ? "" : ": ",
        print3("value")
      ];
    }
    case "ObjectTypeAnnotation":
      return printObject(path, options2, print3);
    case "ObjectTypeInternalSlot":
      return [
        node.static ? "static " : "",
        "[[",
        print3("id"),
        "]]",
        printOptionalToken(path),
        node.method ? "" : ": ",
        print3("value")
      ];
    // Same as `RestElement`
    case "ObjectTypeSpreadProperty":
      return printRestSpread(path, print3);
    case "QualifiedTypeofIdentifier":
    case "QualifiedTypeIdentifier":
      return [print3("qualification"), ".", print3("id")];
    case "NullLiteralTypeAnnotation":
      return "null";
    case "BooleanLiteralTypeAnnotation":
      return String(node.value);
    case "StringLiteralTypeAnnotation":
      return replaceEndOfLine(print_string_default(get_raw_default(node), options2));
    case "NumberLiteralTypeAnnotation":
      return print_number_default(get_raw_default(node));
    case "BigIntLiteralTypeAnnotation":
      return printBigInt(get_raw_default(node));
    case "TypeCastExpression":
      return [
        "(",
        print3("expression"),
        printTypeAnnotationProperty(path, print3),
        ")"
      ];
    case "TypePredicate":
      return printTypePredicate(path, print3);
    case "TypeOperator":
      return [node.operator, " ", print3("typeAnnotation")];
    case "TypeParameterDeclaration":
    case "TypeParameterInstantiation":
      return printTypeParameters(path, options2, print3, "params");
    // Deprecated https://github.com/facebook/flow/commit/b98ae5528d9a073ddc62fc8ce418bbb1f2f80a82
    case "InferredPredicate":
    case "DeclaredPredicate":
      return [
        // The return type will already add the colon, but otherwise we
        // need to do it ourselves
        path.key === "predicate" && path.parent.type !== "DeclareFunction" && !path.parent.returnType ? ": " : " ",
        "%checks",
        ...node.type === "DeclaredPredicate" ? ["(", print3("value"), ")"] : []
      ];
    case "AsExpression":
    case "AsConstExpression":
    case "SatisfiesExpression":
      return printBinaryCastExpression(path, options2, print3);
  }
}
 
// src/language-js/print/typescript.js
function printTypescript(path, options2, print3) {
  var _a;
  const { node } = path;
  if (!node.type.startsWith("TS")) {
    return;
  }
  if (is_ts_keyword_type_default(node)) {
    return node.type.slice(2, -7).toLowerCase();
  }
  const semi = options2.semi ? ";" : "";
  const parts = [];
  switch (node.type) {
    case "TSThisType":
      return "this";
    case "TSTypeAssertion": {
      const shouldBreakAfterCast = !(isArrayExpression(node.expression) || isObjectExpression(node.expression));
      const castGroup = group([
        "<",
        indent([softline, print3("typeAnnotation")]),
        softline,
        ">"
      ]);
      const exprContents = [
        ifBreak("("),
        indent([softline, print3("expression")]),
        softline,
        ifBreak(")")
      ];
      if (shouldBreakAfterCast) {
        return conditionalGroup([
          [castGroup, print3("expression")],
          [castGroup, group(exprContents, { shouldBreak: true })],
          [castGroup, print3("expression")]
        ]);
      }
      return group([castGroup, print3("expression")]);
    }
    case "TSDeclareFunction":
      return printFunction(path, options2, print3);
    case "TSExportAssignment":
      return ["export = ", print3("expression"), semi];
    case "TSModuleBlock":
      return printBlock(path, options2, print3);
    case "TSInterfaceBody":
    case "TSTypeLiteral":
      return printObject(path, options2, print3);
    case "TSTypeAliasDeclaration":
      return printTypeAlias(path, options2, print3);
    case "TSQualifiedName":
      return [print3("left"), ".", print3("right")];
    case "TSAbstractMethodDefinition":
    case "TSDeclareMethod":
      return printClassMethod(path, options2, print3);
    case "TSAbstractAccessorProperty":
    case "TSAbstractPropertyDefinition":
      return printClassProperty(path, options2, print3);
    case "TSInterfaceHeritage":
    case "TSClassImplements":
    case "TSExpressionWithTypeArguments":
    // Babel AST
    case "TSInstantiationExpression":
      return [
        print3("expression"),
        print3(
          // TODO: Use `typeArguments` only when babel align with TS.
          node.typeArguments ? "typeArguments" : "typeParameters"
        )
      ];
    case "TSTemplateLiteralType":
      return printTemplateLiteral(path, options2, print3);
    case "TSNamedTupleMember":
      return printNamedTupleMember(path, options2, print3);
    case "TSRestType":
      return printRestType(path, options2, print3);
    case "TSOptionalType":
      return [print3("typeAnnotation"), "?"];
    case "TSInterfaceDeclaration":
      return printInterface(path, options2, print3);
    case "TSTypeParameterDeclaration":
    case "TSTypeParameterInstantiation":
      return printTypeParameters(path, options2, print3, "params");
    case "TSTypeParameter":
      return printTypeParameter(path, options2, print3);
    case "TSAsExpression":
    case "TSSatisfiesExpression":
      return printBinaryCastExpression(path, options2, print3);
    case "TSArrayType":
      return printArrayType(print3);
    case "TSPropertySignature":
      return [
        node.readonly ? "readonly " : "",
        printPropertyKey(path, options2, print3),
        printOptionalToken(path),
        printTypeAnnotationProperty(path, print3)
      ];
    case "TSParameterProperty":
      return [
        printTypeScriptAccessibilityToken(node),
        node.static ? "static " : "",
        node.override ? "override " : "",
        node.readonly ? "readonly " : "",
        print3("parameter")
      ];
    case "TSTypeQuery":
      return printTypeQuery(path, print3);
    case "TSIndexSignature": {
      const trailingComma = node.parameters.length > 1 ? ifBreak(shouldPrintComma(options2) ? "," : "") : "";
      const parametersGroup = group([
        indent([
          softline,
          join([", ", softline], path.map(print3, "parameters"))
        ]),
        trailingComma,
        softline
      ]);
      const isClassMember = path.parent.type === "ClassBody" && path.key === "body";
      return [
        // `static` only allowed in class member
        isClassMember && node.static ? "static " : "",
        node.readonly ? "readonly " : "",
        "[",
        node.parameters ? parametersGroup : "",
        "]",
        printTypeAnnotationProperty(path, print3),
        isClassMember ? semi : ""
      ];
    }
    case "TSTypePredicate":
      return printTypePredicate(path, print3);
    case "TSNonNullExpression":
      return [print3("expression"), "!"];
    case "TSImportType":
      return [
        "import",
        call_arguments_default(path, options2, print3),
        !node.qualifier ? "" : [".", print3("qualifier")],
        printTypeParameters(
          path,
          options2,
          print3,
          node.typeArguments ? "typeArguments" : "typeParameters"
        )
      ];
    case "TSLiteralType":
      return print3("literal");
    case "TSIndexedAccessType":
      return printIndexedAccessType(path, options2, print3);
    case "TSTypeOperator":
      return [node.operator, " ", print3("typeAnnotation")];
    case "TSMappedType":
      return printTypeScriptMappedType(path, options2, print3);
    case "TSMethodSignature": {
      const kind = node.kind && node.kind !== "method" ? `${node.kind} ` : "";
      parts.push(
        printTypeScriptAccessibilityToken(node),
        kind,
        node.computed ? "[" : "",
        print3("key"),
        node.computed ? "]" : "",
        printOptionalToken(path)
      );
      const parametersDoc = printFunctionParameters(
        path,
        options2,
        print3,
        /* expandArg */
        false,
        /* printTypeParams */
        true
      );
      const returnTypePropertyName = node.returnType ? "returnType" : "typeAnnotation";
      const returnTypeNode = node[returnTypePropertyName];
      const returnTypeDoc = returnTypeNode ? printTypeAnnotationProperty(path, print3, returnTypePropertyName) : "";
      const shouldGroupParameters = shouldGroupFunctionParameters(
        node,
        returnTypeDoc
      );
      parts.push(shouldGroupParameters ? group(parametersDoc) : parametersDoc);
      if (returnTypeNode) {
        parts.push(group(returnTypeDoc));
      }
      return group(parts);
    }
    case "TSNamespaceExportDeclaration":
      return ["export as namespace ", print3("id"), options2.semi ? ";" : ""];
    case "TSEnumDeclaration":
      return printEnumDeclaration(path, print3);
    case "TSEnumBody":
      return printEnumBody(path, options2, print3);
    case "TSEnumMember":
      return printEnumMember(path, print3);
    case "TSImportEqualsDeclaration":
      return [
        node.isExport ? "export " : "",
        "import ",
        printImportKind(
          node,
          /* spaceBeforeKind */
          false
        ),
        print3("id"),
        " = ",
        print3("moduleReference"),
        options2.semi ? ";" : ""
      ];
    case "TSExternalModuleReference":
      return ["require(", print3("expression"), ")"];
    case "TSModuleDeclaration": {
      const { parent } = path;
      const parentIsDeclaration = parent.type === "TSModuleDeclaration";
      const bodyIsDeclaration = ((_a = node.body) == null ? void 0 : _a.type) === "TSModuleDeclaration";
      if (parentIsDeclaration) {
        parts.push(".");
      } else {
        parts.push(printDeclareToken(path));
        if (node.kind !== "global") {
          parts.push(node.kind, " ");
        }
      }
      parts.push(print3("id"));
      if (bodyIsDeclaration) {
        parts.push(print3("body"));
      } else if (node.body) {
        parts.push(" ", group(print3("body")));
      } else {
        parts.push(semi);
      }
      return parts;
    }
    case "TSConditionalType":
      return printTernary(path, options2, print3);
    case "TSInferType":
      return printInferType(path, options2, print3);
    case "TSIntersectionType":
      return printIntersectionType(path, options2, print3);
    case "TSUnionType":
      return printUnionType(path, options2, print3);
    case "TSFunctionType":
    case "TSCallSignatureDeclaration":
    case "TSConstructorType":
    case "TSConstructSignatureDeclaration":
      return printFunctionType(path, options2, print3);
    case "TSTupleType":
      return printArray(path, options2, print3);
    case "TSTypeReference":
      return [
        print3("typeName"),
        printTypeParameters(
          path,
          options2,
          print3,
          // TODO: Use `typeArguments` only when babel align with TS.
          node.typeArguments ? "typeArguments" : "typeParameters"
        )
      ];
    case "TSTypeAnnotation":
      return printTypeAnnotation(path, options2, print3);
    case "TSEmptyBodyFunctionExpression":
      return printMethodValue(path, options2, print3);
    // These are not valid TypeScript. Printing them just for the sake of error recovery.
    case "TSJSDocAllType":
      return "*";
    case "TSJSDocUnknownType":
      return "?";
    case "TSJSDocNullableType":
      return printJSDocType(
        path,
        print3,
        /* token */
        "?"
      );
    case "TSJSDocNonNullableType":
      return printJSDocType(
        path,
        print3,
        /* token */
        "!"
      );
    case "TSParenthesizedType":
    // Removed in `../parse/postprocess.js`
    default:
      throw new unexpected_node_error_default(node, "TypeScript");
  }
}
 
// src/language-js/print/index.js
function printWithoutParentheses(path, options2, print3, args) {
  if (is_ignored_default(path)) {
    return print_ignored_default(path, options2);
  }
  for (const printer of [
    printAngular,
    printJsx,
    printFlow,
    printTypescript,
    printEstree
  ]) {
    const doc = printer(path, options2, print3, args);
    if (doc !== void 0) {
      return doc;
    }
  }
}
var shouldPrintDirectly = create_type_check_function_default([
  "ClassMethod",
  "ClassPrivateMethod",
  "ClassProperty",
  "ClassAccessorProperty",
  "AccessorProperty",
  "TSAbstractAccessorProperty",
  "PropertyDefinition",
  "TSAbstractPropertyDefinition",
  "ClassPrivateProperty",
  "MethodDefinition",
  "TSAbstractMethodDefinition",
  "TSDeclareMethod"
]);
function print2(path, options2, print3, args) {
  var _a;
  if (path.isRoot) {
    (_a = options2.__onHtmlBindingRoot) == null ? void 0 : _a.call(options2, path.node, options2);
  }
  const doc = printWithoutParentheses(path, options2, print3, args);
  if (!doc) {
    return "";
  }
  const { node } = path;
  if (shouldPrintDirectly(node)) {
    return doc;
  }
  const hasDecorators = is_non_empty_array_default(node.decorators);
  const decoratorsDoc = printDecorators(path, options2, print3);
  const isClassExpression = node.type === "ClassExpression";
  if (hasDecorators && !isClassExpression) {
    return inheritLabel(doc, (doc2) => group([decoratorsDoc, doc2]));
  }
  const needsParens2 = needs_parens_default(path, options2);
  const needsSemi = shouldPrintLeadingSemicolon(path, options2);
  if (!decoratorsDoc && !needsParens2 && !needsSemi) {
    return doc;
  }
  return inheritLabel(doc, (doc2) => [
    needsSemi ? ";" : "",
    needsParens2 ? "(" : "",
    needsParens2 && isClassExpression && hasDecorators ? [indent([line, decoratorsDoc, doc2]), line] : [decoratorsDoc, doc2],
    needsParens2 ? ")" : ""
  ]);
}
var print_default = print2;
 
// src/language-js/printer.js
var experimentalFeatures = {
  // TODO: Make this default behavior
  avoidAstMutation: true
};
 
// src/language-json/languages.evaluate.js
var languages_evaluate_default2 = [
  {
    "name": "JSON.stringify",
    "type": "data",
    "extensions": [
      ".importmap"
    ],
    "tmScope": "source.json",
    "aceMode": "json",
    "aliases": [
      "geojson",
      "jsonl",
      "sarif",
      "topojson"
    ],
    "codemirrorMode": "javascript",
    "codemirrorMimeType": "application/json",
    "filenames": [
      "package.json",
      "package-lock.json",
      "composer.json"
    ],
    "parsers": [
      "json-stringify"
    ],
    "vscodeLanguageIds": [
      "json"
    ],
    "linguistLanguageId": 174
  },
  {
    "name": "JSON",
    "type": "data",
    "extensions": [
      ".json",
      ".4DForm",
      ".4DProject",
      ".avsc",
      ".geojson",
      ".gltf",
      ".har",
      ".ice",
      ".JSON-tmLanguage",
      ".json.example",
      ".mcmeta",
      ".sarif",
      ".tact",
      ".tfstate",
      ".tfstate.backup",
      ".topojson",
      ".webapp",
      ".webmanifest",
      ".yy",
      ".yyp"
    ],
    "tmScope": "source.json",
    "aceMode": "json",
    "aliases": [
      "geojson",
      "jsonl",
      "sarif",
      "topojson"
    ],
    "codemirrorMode": "javascript",
    "codemirrorMimeType": "application/json",
    "filenames": [
      ".all-contributorsrc",
      ".arcconfig",
      ".auto-changelog",
      ".c8rc",
      ".htmlhintrc",
      ".imgbotconfig",
      ".nycrc",
      ".tern-config",
      ".tern-project",
      ".watchmanconfig",
      ".babelrc",
      ".jscsrc",
      ".jshintrc",
      ".jslintrc",
      ".swcrc"
    ],
    "parsers": [
      "json"
    ],
    "vscodeLanguageIds": [
      "json"
    ],
    "linguistLanguageId": 174
  },
  {
    "name": "JSON with Comments",
    "type": "data",
    "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"
    ],
    "tmScope": "source.json.comments",
    "aceMode": "javascript",
    "aliases": [
      "jsonc"
    ],
    "codemirrorMode": "javascript",
    "codemirrorMimeType": "text/javascript",
    "group": "JSON",
    "filenames": [],
    "parsers": [
      "jsonc"
    ],
    "vscodeLanguageIds": [
      "jsonc"
    ],
    "linguistLanguageId": 423
  },
  {
    "name": "JSON5",
    "type": "data",
    "extensions": [
      ".json5"
    ],
    "tmScope": "source.js",
    "aceMode": "javascript",
    "codemirrorMode": "javascript",
    "codemirrorMimeType": "application/json",
    "parsers": [
      "json5"
    ],
    "vscodeLanguageIds": [
      "json5"
    ],
    "linguistLanguageId": 175
  }
];
 
// src/language-json/printer-estree-json.js
var printer_estree_json_exports = {};
__export(printer_estree_json_exports, {
  getVisitorKeys: () => get_visitor_keys_default2,
  massageAstNode: () => clean2,
  print: () => genericPrint
});
 
// src/language-json/visitor-keys.js
var visitorKeys = {
  JsonRoot: ["node"],
  ArrayExpression: ["elements"],
  ObjectExpression: ["properties"],
  ObjectProperty: ["key", "value"],
  UnaryExpression: ["argument"],
  NullLiteral: [],
  BooleanLiteral: [],
  StringLiteral: [],
  NumericLiteral: [],
  Identifier: [],
  TemplateLiteral: ["quasis"],
  TemplateElement: []
};
var visitor_keys_default = visitorKeys;
 
// src/language-json/get-visitor-keys.js
var getVisitorKeys2 = create_get_visitor_keys_default(visitor_keys_default);
var get_visitor_keys_default2 = getVisitorKeys2;
 
// src/language-json/printer-estree-json.js
function genericPrint(path, options2, print3) {
  const { node } = path;
  switch (node.type) {
    case "JsonRoot":
      return [print3("node"), hardline];
    case "ArrayExpression": {
      if (node.elements.length === 0) {
        return "[]";
      }
      const printed = path.map(
        () => path.node === null ? "null" : print3(),
        "elements"
      );
      return [
        "[",
        indent([hardline, join([",", hardline], printed)]),
        hardline,
        "]"
      ];
    }
    case "ObjectExpression":
      return node.properties.length === 0 ? "{}" : [
        "{",
        indent([
          hardline,
          join([",", hardline], path.map(print3, "properties"))
        ]),
        hardline,
        "}"
      ];
    case "ObjectProperty":
      return [print3("key"), ": ", print3("value")];
    case "UnaryExpression":
      return [node.operator === "+" ? "" : node.operator, print3("argument")];
    case "NullLiteral":
      return "null";
    case "BooleanLiteral":
      return node.value ? "true" : "false";
    case "StringLiteral":
      return JSON.stringify(node.value);
    case "NumericLiteral":
      return isObjectKey(path) ? JSON.stringify(String(node.value)) : JSON.stringify(node.value);
    case "Identifier":
      return isObjectKey(path) ? JSON.stringify(node.name) : node.name;
    case "TemplateLiteral":
      return print3(["quasis", 0]);
    case "TemplateElement":
      return JSON.stringify(node.value.cooked);
    default:
      throw new unexpected_node_error_default(node, "JSON");
  }
}
function isObjectKey(path) {
  return path.key === "key" && path.parent.type === "ObjectProperty";
}
var ignoredProperties2 = /* @__PURE__ */ new Set([
  "start",
  "end",
  "extra",
  "loc",
  "comments",
  "leadingComments",
  "trailingComments",
  "innerComments",
  "errors",
  "range",
  "tokens"
]);
function clean2(original, cloned) {
  const { type } = original;
  if (type === "ObjectProperty") {
    const { key } = original;
    if (key.type === "Identifier") {
      cloned.key = { type: "StringLiteral", value: key.name };
    } else if (key.type === "NumericLiteral") {
      cloned.key = { type: "StringLiteral", value: String(key.value) };
    }
    return;
  }
  if (type === "UnaryExpression" && original.operator === "+") {
    return cloned.argument;
  }
  if (type === "ArrayExpression") {
    for (const [index, element] of original.elements.entries()) {
      if (element === null) {
        cloned.elements.splice(index, 0, { type: "NullLiteral" });
      }
    }
    return;
  }
  if (type === "TemplateLiteral") {
    return { type: "StringLiteral", value: original.quasis[0].value.cooked };
  }
}
clean2.ignoredProperties = ignoredProperties2;
 
// src/common/common-options.evaluate.js
var common_options_evaluate_default = {
  "bracketSpacing": {
    "category": "Common",
    "type": "boolean",
    "default": true,
    "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": false,
    "description": "Use single quotes instead of double quotes."
  },
  "proseWrap": {
    "category": "Common",
    "type": "choice",
    "default": "preserve",
    "description": "How to wrap prose.",
    "choices": [
      {
        "value": "always",
        "description": "Wrap prose if it exceeds the print width."
      },
      {
        "value": "never",
        "description": "Do not wrap prose."
      },
      {
        "value": "preserve",
        "description": "Wrap prose as-is."
      }
    ]
  },
  "bracketSameLine": {
    "category": "Common",
    "type": "boolean",
    "default": false,
    "description": "Put > of opening tags on the last line instead of on a new line."
  },
  "singleAttributePerLine": {
    "category": "Common",
    "type": "boolean",
    "default": false,
    "description": "Enforce single attribute per line in HTML, Vue and JSX."
  }
};
 
// src/language-js/options.js
var CATEGORY_JAVASCRIPT = "JavaScript";
var options = {
  arrowParens: {
    category: CATEGORY_JAVASCRIPT,
    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: common_options_evaluate_default.bracketSameLine,
  objectWrap: common_options_evaluate_default.objectWrap,
  bracketSpacing: common_options_evaluate_default.bracketSpacing,
  jsxBracketSameLine: {
    category: CATEGORY_JAVASCRIPT,
    type: "boolean",
    description: "Put > on the last line instead of at a new line.",
    deprecated: "2.4.0"
  },
  semi: {
    category: CATEGORY_JAVASCRIPT,
    type: "boolean",
    default: true,
    description: "Print semicolons.",
    oppositeDescription: "Do not print semicolons, except at the beginning of lines which may need them."
  },
  experimentalOperatorPosition: {
    category: CATEGORY_JAVASCRIPT,
    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: CATEGORY_JAVASCRIPT,
    type: "boolean",
    default: false,
    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: common_options_evaluate_default.singleQuote,
  jsxSingleQuote: {
    category: CATEGORY_JAVASCRIPT,
    type: "boolean",
    default: false,
    description: "Use single quotes in JSX."
  },
  quoteProps: {
    category: CATEGORY_JAVASCRIPT,
    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: CATEGORY_JAVASCRIPT,
    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: common_options_evaluate_default.singleAttributePerLine
};
var options_default = options;
 
// src/plugins/estree.js
var printers = {
  estree: printer_exports,
  "estree-json": printer_estree_json_exports
};
var languages = [...languages_evaluate_default, ...languages_evaluate_default2];
 
// with-default-export:src/plugins/estree.js
var estree_default = estree_exports;
export {
  estree_default as default,
  languages,
  options_default as options,
  printers
};