@html-validate/commitlint-config 3.6.10 → 3.6.11

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/commitlint.js +1061 -2574
  2. package/package.json +2 -2
@@ -2207,8 +2207,8 @@ var init_CommitParser = __esm({
2207
2207
  parseMerge() {
2208
2208
  const { commit, options } = this;
2209
2209
  const correspondence = options.mergeCorrespondence || [];
2210
- const merge = this.currentLine();
2211
- const matches = merge && options.mergePattern ? merge.match(options.mergePattern) : null;
2210
+ const merge2 = this.currentLine();
2211
+ const matches = merge2 && options.mergePattern ? merge2.match(options.mergePattern) : null;
2212
2212
  if (matches) {
2213
2213
  this.nextLine();
2214
2214
  commit.merge = matches[0] || null;
@@ -2600,1497 +2600,6 @@ var require_compare_func = __commonJS({
2600
2600
  }
2601
2601
  });
2602
2602
 
2603
- // node_modules/lodash.camelcase/index.js
2604
- var require_lodash = __commonJS({
2605
- "node_modules/lodash.camelcase/index.js"(exports, module) {
2606
- var INFINITY = 1 / 0;
2607
- var symbolTag = "[object Symbol]";
2608
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
2609
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
2610
- var rsAstralRange = "\\ud800-\\udfff";
2611
- var rsComboMarksRange = "\\u0300-\\u036f\\ufe20-\\ufe23";
2612
- var rsComboSymbolsRange = "\\u20d0-\\u20f0";
2613
- var rsDingbatRange = "\\u2700-\\u27bf";
2614
- var rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff";
2615
- var rsMathOpRange = "\\xac\\xb1\\xd7\\xf7";
2616
- var rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf";
2617
- var rsPunctuationRange = "\\u2000-\\u206f";
2618
- var rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";
2619
- var rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde";
2620
- var rsVarRange = "\\ufe0e\\ufe0f";
2621
- var rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
2622
- var rsApos = "['\u2019]";
2623
- var rsAstral = "[" + rsAstralRange + "]";
2624
- var rsBreak = "[" + rsBreakRange + "]";
2625
- var rsCombo = "[" + rsComboMarksRange + rsComboSymbolsRange + "]";
2626
- var rsDigits = "\\d+";
2627
- var rsDingbat = "[" + rsDingbatRange + "]";
2628
- var rsLower = "[" + rsLowerRange + "]";
2629
- var rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]";
2630
- var rsFitz = "\\ud83c[\\udffb-\\udfff]";
2631
- var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
2632
- var rsNonAstral = "[^" + rsAstralRange + "]";
2633
- var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
2634
- var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
2635
- var rsUpper = "[" + rsUpperRange + "]";
2636
- var rsZWJ = "\\u200d";
2637
- var rsLowerMisc = "(?:" + rsLower + "|" + rsMisc + ")";
2638
- var rsUpperMisc = "(?:" + rsUpper + "|" + rsMisc + ")";
2639
- var rsOptLowerContr = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?";
2640
- var rsOptUpperContr = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?";
2641
- var reOptMod = rsModifier + "?";
2642
- var rsOptVar = "[" + rsVarRange + "]?";
2643
- var rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
2644
- var rsSeq = rsOptVar + reOptMod + rsOptJoin;
2645
- var rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq;
2646
- var rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")";
2647
- var reApos = RegExp(rsApos, "g");
2648
- var reComboMark = RegExp(rsCombo, "g");
2649
- var reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g");
2650
- var reUnicodeWord = RegExp([
2651
- rsUpper + "?" + rsLower + "+" + rsOptLowerContr + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")",
2652
- rsUpperMisc + "+" + rsOptUpperContr + "(?=" + [rsBreak, rsUpper + rsLowerMisc, "$"].join("|") + ")",
2653
- rsUpper + "?" + rsLowerMisc + "+" + rsOptLowerContr,
2654
- rsUpper + "+" + rsOptUpperContr,
2655
- rsDigits,
2656
- rsEmoji
2657
- ].join("|"), "g");
2658
- var reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + "]");
2659
- var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
2660
- var deburredLetters = {
2661
- // Latin-1 Supplement block.
2662
- "\xC0": "A",
2663
- "\xC1": "A",
2664
- "\xC2": "A",
2665
- "\xC3": "A",
2666
- "\xC4": "A",
2667
- "\xC5": "A",
2668
- "\xE0": "a",
2669
- "\xE1": "a",
2670
- "\xE2": "a",
2671
- "\xE3": "a",
2672
- "\xE4": "a",
2673
- "\xE5": "a",
2674
- "\xC7": "C",
2675
- "\xE7": "c",
2676
- "\xD0": "D",
2677
- "\xF0": "d",
2678
- "\xC8": "E",
2679
- "\xC9": "E",
2680
- "\xCA": "E",
2681
- "\xCB": "E",
2682
- "\xE8": "e",
2683
- "\xE9": "e",
2684
- "\xEA": "e",
2685
- "\xEB": "e",
2686
- "\xCC": "I",
2687
- "\xCD": "I",
2688
- "\xCE": "I",
2689
- "\xCF": "I",
2690
- "\xEC": "i",
2691
- "\xED": "i",
2692
- "\xEE": "i",
2693
- "\xEF": "i",
2694
- "\xD1": "N",
2695
- "\xF1": "n",
2696
- "\xD2": "O",
2697
- "\xD3": "O",
2698
- "\xD4": "O",
2699
- "\xD5": "O",
2700
- "\xD6": "O",
2701
- "\xD8": "O",
2702
- "\xF2": "o",
2703
- "\xF3": "o",
2704
- "\xF4": "o",
2705
- "\xF5": "o",
2706
- "\xF6": "o",
2707
- "\xF8": "o",
2708
- "\xD9": "U",
2709
- "\xDA": "U",
2710
- "\xDB": "U",
2711
- "\xDC": "U",
2712
- "\xF9": "u",
2713
- "\xFA": "u",
2714
- "\xFB": "u",
2715
- "\xFC": "u",
2716
- "\xDD": "Y",
2717
- "\xFD": "y",
2718
- "\xFF": "y",
2719
- "\xC6": "Ae",
2720
- "\xE6": "ae",
2721
- "\xDE": "Th",
2722
- "\xFE": "th",
2723
- "\xDF": "ss",
2724
- // Latin Extended-A block.
2725
- "\u0100": "A",
2726
- "\u0102": "A",
2727
- "\u0104": "A",
2728
- "\u0101": "a",
2729
- "\u0103": "a",
2730
- "\u0105": "a",
2731
- "\u0106": "C",
2732
- "\u0108": "C",
2733
- "\u010A": "C",
2734
- "\u010C": "C",
2735
- "\u0107": "c",
2736
- "\u0109": "c",
2737
- "\u010B": "c",
2738
- "\u010D": "c",
2739
- "\u010E": "D",
2740
- "\u0110": "D",
2741
- "\u010F": "d",
2742
- "\u0111": "d",
2743
- "\u0112": "E",
2744
- "\u0114": "E",
2745
- "\u0116": "E",
2746
- "\u0118": "E",
2747
- "\u011A": "E",
2748
- "\u0113": "e",
2749
- "\u0115": "e",
2750
- "\u0117": "e",
2751
- "\u0119": "e",
2752
- "\u011B": "e",
2753
- "\u011C": "G",
2754
- "\u011E": "G",
2755
- "\u0120": "G",
2756
- "\u0122": "G",
2757
- "\u011D": "g",
2758
- "\u011F": "g",
2759
- "\u0121": "g",
2760
- "\u0123": "g",
2761
- "\u0124": "H",
2762
- "\u0126": "H",
2763
- "\u0125": "h",
2764
- "\u0127": "h",
2765
- "\u0128": "I",
2766
- "\u012A": "I",
2767
- "\u012C": "I",
2768
- "\u012E": "I",
2769
- "\u0130": "I",
2770
- "\u0129": "i",
2771
- "\u012B": "i",
2772
- "\u012D": "i",
2773
- "\u012F": "i",
2774
- "\u0131": "i",
2775
- "\u0134": "J",
2776
- "\u0135": "j",
2777
- "\u0136": "K",
2778
- "\u0137": "k",
2779
- "\u0138": "k",
2780
- "\u0139": "L",
2781
- "\u013B": "L",
2782
- "\u013D": "L",
2783
- "\u013F": "L",
2784
- "\u0141": "L",
2785
- "\u013A": "l",
2786
- "\u013C": "l",
2787
- "\u013E": "l",
2788
- "\u0140": "l",
2789
- "\u0142": "l",
2790
- "\u0143": "N",
2791
- "\u0145": "N",
2792
- "\u0147": "N",
2793
- "\u014A": "N",
2794
- "\u0144": "n",
2795
- "\u0146": "n",
2796
- "\u0148": "n",
2797
- "\u014B": "n",
2798
- "\u014C": "O",
2799
- "\u014E": "O",
2800
- "\u0150": "O",
2801
- "\u014D": "o",
2802
- "\u014F": "o",
2803
- "\u0151": "o",
2804
- "\u0154": "R",
2805
- "\u0156": "R",
2806
- "\u0158": "R",
2807
- "\u0155": "r",
2808
- "\u0157": "r",
2809
- "\u0159": "r",
2810
- "\u015A": "S",
2811
- "\u015C": "S",
2812
- "\u015E": "S",
2813
- "\u0160": "S",
2814
- "\u015B": "s",
2815
- "\u015D": "s",
2816
- "\u015F": "s",
2817
- "\u0161": "s",
2818
- "\u0162": "T",
2819
- "\u0164": "T",
2820
- "\u0166": "T",
2821
- "\u0163": "t",
2822
- "\u0165": "t",
2823
- "\u0167": "t",
2824
- "\u0168": "U",
2825
- "\u016A": "U",
2826
- "\u016C": "U",
2827
- "\u016E": "U",
2828
- "\u0170": "U",
2829
- "\u0172": "U",
2830
- "\u0169": "u",
2831
- "\u016B": "u",
2832
- "\u016D": "u",
2833
- "\u016F": "u",
2834
- "\u0171": "u",
2835
- "\u0173": "u",
2836
- "\u0174": "W",
2837
- "\u0175": "w",
2838
- "\u0176": "Y",
2839
- "\u0177": "y",
2840
- "\u0178": "Y",
2841
- "\u0179": "Z",
2842
- "\u017B": "Z",
2843
- "\u017D": "Z",
2844
- "\u017A": "z",
2845
- "\u017C": "z",
2846
- "\u017E": "z",
2847
- "\u0132": "IJ",
2848
- "\u0133": "ij",
2849
- "\u0152": "Oe",
2850
- "\u0153": "oe",
2851
- "\u0149": "'n",
2852
- "\u017F": "ss"
2853
- };
2854
- var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
2855
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
2856
- var root = freeGlobal || freeSelf || Function("return this")();
2857
- function arrayReduce(array, iteratee, accumulator, initAccum) {
2858
- var index = -1, length = array ? array.length : 0;
2859
- if (initAccum && length) {
2860
- accumulator = array[++index];
2861
- }
2862
- while (++index < length) {
2863
- accumulator = iteratee(accumulator, array[index], index, array);
2864
- }
2865
- return accumulator;
2866
- }
2867
- function asciiToArray(string) {
2868
- return string.split("");
2869
- }
2870
- function asciiWords(string) {
2871
- return string.match(reAsciiWord) || [];
2872
- }
2873
- function basePropertyOf(object) {
2874
- return function(key) {
2875
- return object == null ? void 0 : object[key];
2876
- };
2877
- }
2878
- var deburrLetter = basePropertyOf(deburredLetters);
2879
- function hasUnicode(string) {
2880
- return reHasUnicode.test(string);
2881
- }
2882
- function hasUnicodeWord(string) {
2883
- return reHasUnicodeWord.test(string);
2884
- }
2885
- function stringToArray(string) {
2886
- return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
2887
- }
2888
- function unicodeToArray(string) {
2889
- return string.match(reUnicode) || [];
2890
- }
2891
- function unicodeWords(string) {
2892
- return string.match(reUnicodeWord) || [];
2893
- }
2894
- var objectProto = Object.prototype;
2895
- var objectToString = objectProto.toString;
2896
- var Symbol2 = root.Symbol;
2897
- var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
2898
- var symbolToString = symbolProto ? symbolProto.toString : void 0;
2899
- function baseSlice(array, start, end) {
2900
- var index = -1, length = array.length;
2901
- if (start < 0) {
2902
- start = -start > length ? 0 : length + start;
2903
- }
2904
- end = end > length ? length : end;
2905
- if (end < 0) {
2906
- end += length;
2907
- }
2908
- length = start > end ? 0 : end - start >>> 0;
2909
- start >>>= 0;
2910
- var result = Array(length);
2911
- while (++index < length) {
2912
- result[index] = array[index + start];
2913
- }
2914
- return result;
2915
- }
2916
- function baseToString(value) {
2917
- if (typeof value == "string") {
2918
- return value;
2919
- }
2920
- if (isSymbol(value)) {
2921
- return symbolToString ? symbolToString.call(value) : "";
2922
- }
2923
- var result = value + "";
2924
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
2925
- }
2926
- function castSlice(array, start, end) {
2927
- var length = array.length;
2928
- end = end === void 0 ? length : end;
2929
- return !start && end >= length ? array : baseSlice(array, start, end);
2930
- }
2931
- function createCaseFirst(methodName) {
2932
- return function(string) {
2933
- string = toString(string);
2934
- var strSymbols = hasUnicode(string) ? stringToArray(string) : void 0;
2935
- var chr = strSymbols ? strSymbols[0] : string.charAt(0);
2936
- var trailing = strSymbols ? castSlice(strSymbols, 1).join("") : string.slice(1);
2937
- return chr[methodName]() + trailing;
2938
- };
2939
- }
2940
- function createCompounder(callback) {
2941
- return function(string) {
2942
- return arrayReduce(words(deburr(string).replace(reApos, "")), callback, "");
2943
- };
2944
- }
2945
- function isObjectLike2(value) {
2946
- return !!value && typeof value == "object";
2947
- }
2948
- function isSymbol(value) {
2949
- return typeof value == "symbol" || isObjectLike2(value) && objectToString.call(value) == symbolTag;
2950
- }
2951
- function toString(value) {
2952
- return value == null ? "" : baseToString(value);
2953
- }
2954
- var camelCase3 = createCompounder(function(result, word, index) {
2955
- word = word.toLowerCase();
2956
- return result + (index ? capitalize(word) : word);
2957
- });
2958
- function capitalize(string) {
2959
- return upperFirst2(toString(string).toLowerCase());
2960
- }
2961
- function deburr(string) {
2962
- string = toString(string);
2963
- return string && string.replace(reLatin, deburrLetter).replace(reComboMark, "");
2964
- }
2965
- var upperFirst2 = createCaseFirst("toUpperCase");
2966
- function words(string, pattern, guard) {
2967
- string = toString(string);
2968
- pattern = guard ? void 0 : pattern;
2969
- if (pattern === void 0) {
2970
- return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
2971
- }
2972
- return string.match(pattern) || [];
2973
- }
2974
- module.exports = camelCase3;
2975
- }
2976
- });
2977
-
2978
- // node_modules/lodash.kebabcase/index.js
2979
- var require_lodash2 = __commonJS({
2980
- "node_modules/lodash.kebabcase/index.js"(exports, module) {
2981
- var INFINITY = 1 / 0;
2982
- var symbolTag = "[object Symbol]";
2983
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
2984
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
2985
- var rsAstralRange = "\\ud800-\\udfff";
2986
- var rsComboMarksRange = "\\u0300-\\u036f\\ufe20-\\ufe23";
2987
- var rsComboSymbolsRange = "\\u20d0-\\u20f0";
2988
- var rsDingbatRange = "\\u2700-\\u27bf";
2989
- var rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff";
2990
- var rsMathOpRange = "\\xac\\xb1\\xd7\\xf7";
2991
- var rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf";
2992
- var rsPunctuationRange = "\\u2000-\\u206f";
2993
- var rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";
2994
- var rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde";
2995
- var rsVarRange = "\\ufe0e\\ufe0f";
2996
- var rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
2997
- var rsApos = "['\u2019]";
2998
- var rsBreak = "[" + rsBreakRange + "]";
2999
- var rsCombo = "[" + rsComboMarksRange + rsComboSymbolsRange + "]";
3000
- var rsDigits = "\\d+";
3001
- var rsDingbat = "[" + rsDingbatRange + "]";
3002
- var rsLower = "[" + rsLowerRange + "]";
3003
- var rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]";
3004
- var rsFitz = "\\ud83c[\\udffb-\\udfff]";
3005
- var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
3006
- var rsNonAstral = "[^" + rsAstralRange + "]";
3007
- var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
3008
- var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
3009
- var rsUpper = "[" + rsUpperRange + "]";
3010
- var rsZWJ = "\\u200d";
3011
- var rsLowerMisc = "(?:" + rsLower + "|" + rsMisc + ")";
3012
- var rsUpperMisc = "(?:" + rsUpper + "|" + rsMisc + ")";
3013
- var rsOptLowerContr = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?";
3014
- var rsOptUpperContr = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?";
3015
- var reOptMod = rsModifier + "?";
3016
- var rsOptVar = "[" + rsVarRange + "]?";
3017
- var rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
3018
- var rsSeq = rsOptVar + reOptMod + rsOptJoin;
3019
- var rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq;
3020
- var reApos = RegExp(rsApos, "g");
3021
- var reComboMark = RegExp(rsCombo, "g");
3022
- var reUnicodeWord = RegExp([
3023
- rsUpper + "?" + rsLower + "+" + rsOptLowerContr + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")",
3024
- rsUpperMisc + "+" + rsOptUpperContr + "(?=" + [rsBreak, rsUpper + rsLowerMisc, "$"].join("|") + ")",
3025
- rsUpper + "?" + rsLowerMisc + "+" + rsOptLowerContr,
3026
- rsUpper + "+" + rsOptUpperContr,
3027
- rsDigits,
3028
- rsEmoji
3029
- ].join("|"), "g");
3030
- var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
3031
- var deburredLetters = {
3032
- // Latin-1 Supplement block.
3033
- "\xC0": "A",
3034
- "\xC1": "A",
3035
- "\xC2": "A",
3036
- "\xC3": "A",
3037
- "\xC4": "A",
3038
- "\xC5": "A",
3039
- "\xE0": "a",
3040
- "\xE1": "a",
3041
- "\xE2": "a",
3042
- "\xE3": "a",
3043
- "\xE4": "a",
3044
- "\xE5": "a",
3045
- "\xC7": "C",
3046
- "\xE7": "c",
3047
- "\xD0": "D",
3048
- "\xF0": "d",
3049
- "\xC8": "E",
3050
- "\xC9": "E",
3051
- "\xCA": "E",
3052
- "\xCB": "E",
3053
- "\xE8": "e",
3054
- "\xE9": "e",
3055
- "\xEA": "e",
3056
- "\xEB": "e",
3057
- "\xCC": "I",
3058
- "\xCD": "I",
3059
- "\xCE": "I",
3060
- "\xCF": "I",
3061
- "\xEC": "i",
3062
- "\xED": "i",
3063
- "\xEE": "i",
3064
- "\xEF": "i",
3065
- "\xD1": "N",
3066
- "\xF1": "n",
3067
- "\xD2": "O",
3068
- "\xD3": "O",
3069
- "\xD4": "O",
3070
- "\xD5": "O",
3071
- "\xD6": "O",
3072
- "\xD8": "O",
3073
- "\xF2": "o",
3074
- "\xF3": "o",
3075
- "\xF4": "o",
3076
- "\xF5": "o",
3077
- "\xF6": "o",
3078
- "\xF8": "o",
3079
- "\xD9": "U",
3080
- "\xDA": "U",
3081
- "\xDB": "U",
3082
- "\xDC": "U",
3083
- "\xF9": "u",
3084
- "\xFA": "u",
3085
- "\xFB": "u",
3086
- "\xFC": "u",
3087
- "\xDD": "Y",
3088
- "\xFD": "y",
3089
- "\xFF": "y",
3090
- "\xC6": "Ae",
3091
- "\xE6": "ae",
3092
- "\xDE": "Th",
3093
- "\xFE": "th",
3094
- "\xDF": "ss",
3095
- // Latin Extended-A block.
3096
- "\u0100": "A",
3097
- "\u0102": "A",
3098
- "\u0104": "A",
3099
- "\u0101": "a",
3100
- "\u0103": "a",
3101
- "\u0105": "a",
3102
- "\u0106": "C",
3103
- "\u0108": "C",
3104
- "\u010A": "C",
3105
- "\u010C": "C",
3106
- "\u0107": "c",
3107
- "\u0109": "c",
3108
- "\u010B": "c",
3109
- "\u010D": "c",
3110
- "\u010E": "D",
3111
- "\u0110": "D",
3112
- "\u010F": "d",
3113
- "\u0111": "d",
3114
- "\u0112": "E",
3115
- "\u0114": "E",
3116
- "\u0116": "E",
3117
- "\u0118": "E",
3118
- "\u011A": "E",
3119
- "\u0113": "e",
3120
- "\u0115": "e",
3121
- "\u0117": "e",
3122
- "\u0119": "e",
3123
- "\u011B": "e",
3124
- "\u011C": "G",
3125
- "\u011E": "G",
3126
- "\u0120": "G",
3127
- "\u0122": "G",
3128
- "\u011D": "g",
3129
- "\u011F": "g",
3130
- "\u0121": "g",
3131
- "\u0123": "g",
3132
- "\u0124": "H",
3133
- "\u0126": "H",
3134
- "\u0125": "h",
3135
- "\u0127": "h",
3136
- "\u0128": "I",
3137
- "\u012A": "I",
3138
- "\u012C": "I",
3139
- "\u012E": "I",
3140
- "\u0130": "I",
3141
- "\u0129": "i",
3142
- "\u012B": "i",
3143
- "\u012D": "i",
3144
- "\u012F": "i",
3145
- "\u0131": "i",
3146
- "\u0134": "J",
3147
- "\u0135": "j",
3148
- "\u0136": "K",
3149
- "\u0137": "k",
3150
- "\u0138": "k",
3151
- "\u0139": "L",
3152
- "\u013B": "L",
3153
- "\u013D": "L",
3154
- "\u013F": "L",
3155
- "\u0141": "L",
3156
- "\u013A": "l",
3157
- "\u013C": "l",
3158
- "\u013E": "l",
3159
- "\u0140": "l",
3160
- "\u0142": "l",
3161
- "\u0143": "N",
3162
- "\u0145": "N",
3163
- "\u0147": "N",
3164
- "\u014A": "N",
3165
- "\u0144": "n",
3166
- "\u0146": "n",
3167
- "\u0148": "n",
3168
- "\u014B": "n",
3169
- "\u014C": "O",
3170
- "\u014E": "O",
3171
- "\u0150": "O",
3172
- "\u014D": "o",
3173
- "\u014F": "o",
3174
- "\u0151": "o",
3175
- "\u0154": "R",
3176
- "\u0156": "R",
3177
- "\u0158": "R",
3178
- "\u0155": "r",
3179
- "\u0157": "r",
3180
- "\u0159": "r",
3181
- "\u015A": "S",
3182
- "\u015C": "S",
3183
- "\u015E": "S",
3184
- "\u0160": "S",
3185
- "\u015B": "s",
3186
- "\u015D": "s",
3187
- "\u015F": "s",
3188
- "\u0161": "s",
3189
- "\u0162": "T",
3190
- "\u0164": "T",
3191
- "\u0166": "T",
3192
- "\u0163": "t",
3193
- "\u0165": "t",
3194
- "\u0167": "t",
3195
- "\u0168": "U",
3196
- "\u016A": "U",
3197
- "\u016C": "U",
3198
- "\u016E": "U",
3199
- "\u0170": "U",
3200
- "\u0172": "U",
3201
- "\u0169": "u",
3202
- "\u016B": "u",
3203
- "\u016D": "u",
3204
- "\u016F": "u",
3205
- "\u0171": "u",
3206
- "\u0173": "u",
3207
- "\u0174": "W",
3208
- "\u0175": "w",
3209
- "\u0176": "Y",
3210
- "\u0177": "y",
3211
- "\u0178": "Y",
3212
- "\u0179": "Z",
3213
- "\u017B": "Z",
3214
- "\u017D": "Z",
3215
- "\u017A": "z",
3216
- "\u017C": "z",
3217
- "\u017E": "z",
3218
- "\u0132": "IJ",
3219
- "\u0133": "ij",
3220
- "\u0152": "Oe",
3221
- "\u0153": "oe",
3222
- "\u0149": "'n",
3223
- "\u017F": "ss"
3224
- };
3225
- var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
3226
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
3227
- var root = freeGlobal || freeSelf || Function("return this")();
3228
- function arrayReduce(array, iteratee, accumulator, initAccum) {
3229
- var index = -1, length = array ? array.length : 0;
3230
- if (initAccum && length) {
3231
- accumulator = array[++index];
3232
- }
3233
- while (++index < length) {
3234
- accumulator = iteratee(accumulator, array[index], index, array);
3235
- }
3236
- return accumulator;
3237
- }
3238
- function asciiWords(string) {
3239
- return string.match(reAsciiWord) || [];
3240
- }
3241
- function basePropertyOf(object) {
3242
- return function(key) {
3243
- return object == null ? void 0 : object[key];
3244
- };
3245
- }
3246
- var deburrLetter = basePropertyOf(deburredLetters);
3247
- function hasUnicodeWord(string) {
3248
- return reHasUnicodeWord.test(string);
3249
- }
3250
- function unicodeWords(string) {
3251
- return string.match(reUnicodeWord) || [];
3252
- }
3253
- var objectProto = Object.prototype;
3254
- var objectToString = objectProto.toString;
3255
- var Symbol2 = root.Symbol;
3256
- var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
3257
- var symbolToString = symbolProto ? symbolProto.toString : void 0;
3258
- function baseToString(value) {
3259
- if (typeof value == "string") {
3260
- return value;
3261
- }
3262
- if (isSymbol(value)) {
3263
- return symbolToString ? symbolToString.call(value) : "";
3264
- }
3265
- var result = value + "";
3266
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
3267
- }
3268
- function createCompounder(callback) {
3269
- return function(string) {
3270
- return arrayReduce(words(deburr(string).replace(reApos, "")), callback, "");
3271
- };
3272
- }
3273
- function isObjectLike2(value) {
3274
- return !!value && typeof value == "object";
3275
- }
3276
- function isSymbol(value) {
3277
- return typeof value == "symbol" || isObjectLike2(value) && objectToString.call(value) == symbolTag;
3278
- }
3279
- function toString(value) {
3280
- return value == null ? "" : baseToString(value);
3281
- }
3282
- function deburr(string) {
3283
- string = toString(string);
3284
- return string && string.replace(reLatin, deburrLetter).replace(reComboMark, "");
3285
- }
3286
- var kebabCase2 = createCompounder(function(result, word, index) {
3287
- return result + (index ? "-" : "") + word.toLowerCase();
3288
- });
3289
- function words(string, pattern, guard) {
3290
- string = toString(string);
3291
- pattern = guard ? void 0 : pattern;
3292
- if (pattern === void 0) {
3293
- return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
3294
- }
3295
- return string.match(pattern) || [];
3296
- }
3297
- module.exports = kebabCase2;
3298
- }
3299
- });
3300
-
3301
- // node_modules/lodash.snakecase/index.js
3302
- var require_lodash3 = __commonJS({
3303
- "node_modules/lodash.snakecase/index.js"(exports, module) {
3304
- var INFINITY = 1 / 0;
3305
- var symbolTag = "[object Symbol]";
3306
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
3307
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
3308
- var rsAstralRange = "\\ud800-\\udfff";
3309
- var rsComboMarksRange = "\\u0300-\\u036f\\ufe20-\\ufe23";
3310
- var rsComboSymbolsRange = "\\u20d0-\\u20f0";
3311
- var rsDingbatRange = "\\u2700-\\u27bf";
3312
- var rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff";
3313
- var rsMathOpRange = "\\xac\\xb1\\xd7\\xf7";
3314
- var rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf";
3315
- var rsPunctuationRange = "\\u2000-\\u206f";
3316
- var rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";
3317
- var rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde";
3318
- var rsVarRange = "\\ufe0e\\ufe0f";
3319
- var rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
3320
- var rsApos = "['\u2019]";
3321
- var rsBreak = "[" + rsBreakRange + "]";
3322
- var rsCombo = "[" + rsComboMarksRange + rsComboSymbolsRange + "]";
3323
- var rsDigits = "\\d+";
3324
- var rsDingbat = "[" + rsDingbatRange + "]";
3325
- var rsLower = "[" + rsLowerRange + "]";
3326
- var rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]";
3327
- var rsFitz = "\\ud83c[\\udffb-\\udfff]";
3328
- var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
3329
- var rsNonAstral = "[^" + rsAstralRange + "]";
3330
- var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
3331
- var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
3332
- var rsUpper = "[" + rsUpperRange + "]";
3333
- var rsZWJ = "\\u200d";
3334
- var rsLowerMisc = "(?:" + rsLower + "|" + rsMisc + ")";
3335
- var rsUpperMisc = "(?:" + rsUpper + "|" + rsMisc + ")";
3336
- var rsOptLowerContr = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?";
3337
- var rsOptUpperContr = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?";
3338
- var reOptMod = rsModifier + "?";
3339
- var rsOptVar = "[" + rsVarRange + "]?";
3340
- var rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
3341
- var rsSeq = rsOptVar + reOptMod + rsOptJoin;
3342
- var rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq;
3343
- var reApos = RegExp(rsApos, "g");
3344
- var reComboMark = RegExp(rsCombo, "g");
3345
- var reUnicodeWord = RegExp([
3346
- rsUpper + "?" + rsLower + "+" + rsOptLowerContr + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")",
3347
- rsUpperMisc + "+" + rsOptUpperContr + "(?=" + [rsBreak, rsUpper + rsLowerMisc, "$"].join("|") + ")",
3348
- rsUpper + "?" + rsLowerMisc + "+" + rsOptLowerContr,
3349
- rsUpper + "+" + rsOptUpperContr,
3350
- rsDigits,
3351
- rsEmoji
3352
- ].join("|"), "g");
3353
- var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
3354
- var deburredLetters = {
3355
- // Latin-1 Supplement block.
3356
- "\xC0": "A",
3357
- "\xC1": "A",
3358
- "\xC2": "A",
3359
- "\xC3": "A",
3360
- "\xC4": "A",
3361
- "\xC5": "A",
3362
- "\xE0": "a",
3363
- "\xE1": "a",
3364
- "\xE2": "a",
3365
- "\xE3": "a",
3366
- "\xE4": "a",
3367
- "\xE5": "a",
3368
- "\xC7": "C",
3369
- "\xE7": "c",
3370
- "\xD0": "D",
3371
- "\xF0": "d",
3372
- "\xC8": "E",
3373
- "\xC9": "E",
3374
- "\xCA": "E",
3375
- "\xCB": "E",
3376
- "\xE8": "e",
3377
- "\xE9": "e",
3378
- "\xEA": "e",
3379
- "\xEB": "e",
3380
- "\xCC": "I",
3381
- "\xCD": "I",
3382
- "\xCE": "I",
3383
- "\xCF": "I",
3384
- "\xEC": "i",
3385
- "\xED": "i",
3386
- "\xEE": "i",
3387
- "\xEF": "i",
3388
- "\xD1": "N",
3389
- "\xF1": "n",
3390
- "\xD2": "O",
3391
- "\xD3": "O",
3392
- "\xD4": "O",
3393
- "\xD5": "O",
3394
- "\xD6": "O",
3395
- "\xD8": "O",
3396
- "\xF2": "o",
3397
- "\xF3": "o",
3398
- "\xF4": "o",
3399
- "\xF5": "o",
3400
- "\xF6": "o",
3401
- "\xF8": "o",
3402
- "\xD9": "U",
3403
- "\xDA": "U",
3404
- "\xDB": "U",
3405
- "\xDC": "U",
3406
- "\xF9": "u",
3407
- "\xFA": "u",
3408
- "\xFB": "u",
3409
- "\xFC": "u",
3410
- "\xDD": "Y",
3411
- "\xFD": "y",
3412
- "\xFF": "y",
3413
- "\xC6": "Ae",
3414
- "\xE6": "ae",
3415
- "\xDE": "Th",
3416
- "\xFE": "th",
3417
- "\xDF": "ss",
3418
- // Latin Extended-A block.
3419
- "\u0100": "A",
3420
- "\u0102": "A",
3421
- "\u0104": "A",
3422
- "\u0101": "a",
3423
- "\u0103": "a",
3424
- "\u0105": "a",
3425
- "\u0106": "C",
3426
- "\u0108": "C",
3427
- "\u010A": "C",
3428
- "\u010C": "C",
3429
- "\u0107": "c",
3430
- "\u0109": "c",
3431
- "\u010B": "c",
3432
- "\u010D": "c",
3433
- "\u010E": "D",
3434
- "\u0110": "D",
3435
- "\u010F": "d",
3436
- "\u0111": "d",
3437
- "\u0112": "E",
3438
- "\u0114": "E",
3439
- "\u0116": "E",
3440
- "\u0118": "E",
3441
- "\u011A": "E",
3442
- "\u0113": "e",
3443
- "\u0115": "e",
3444
- "\u0117": "e",
3445
- "\u0119": "e",
3446
- "\u011B": "e",
3447
- "\u011C": "G",
3448
- "\u011E": "G",
3449
- "\u0120": "G",
3450
- "\u0122": "G",
3451
- "\u011D": "g",
3452
- "\u011F": "g",
3453
- "\u0121": "g",
3454
- "\u0123": "g",
3455
- "\u0124": "H",
3456
- "\u0126": "H",
3457
- "\u0125": "h",
3458
- "\u0127": "h",
3459
- "\u0128": "I",
3460
- "\u012A": "I",
3461
- "\u012C": "I",
3462
- "\u012E": "I",
3463
- "\u0130": "I",
3464
- "\u0129": "i",
3465
- "\u012B": "i",
3466
- "\u012D": "i",
3467
- "\u012F": "i",
3468
- "\u0131": "i",
3469
- "\u0134": "J",
3470
- "\u0135": "j",
3471
- "\u0136": "K",
3472
- "\u0137": "k",
3473
- "\u0138": "k",
3474
- "\u0139": "L",
3475
- "\u013B": "L",
3476
- "\u013D": "L",
3477
- "\u013F": "L",
3478
- "\u0141": "L",
3479
- "\u013A": "l",
3480
- "\u013C": "l",
3481
- "\u013E": "l",
3482
- "\u0140": "l",
3483
- "\u0142": "l",
3484
- "\u0143": "N",
3485
- "\u0145": "N",
3486
- "\u0147": "N",
3487
- "\u014A": "N",
3488
- "\u0144": "n",
3489
- "\u0146": "n",
3490
- "\u0148": "n",
3491
- "\u014B": "n",
3492
- "\u014C": "O",
3493
- "\u014E": "O",
3494
- "\u0150": "O",
3495
- "\u014D": "o",
3496
- "\u014F": "o",
3497
- "\u0151": "o",
3498
- "\u0154": "R",
3499
- "\u0156": "R",
3500
- "\u0158": "R",
3501
- "\u0155": "r",
3502
- "\u0157": "r",
3503
- "\u0159": "r",
3504
- "\u015A": "S",
3505
- "\u015C": "S",
3506
- "\u015E": "S",
3507
- "\u0160": "S",
3508
- "\u015B": "s",
3509
- "\u015D": "s",
3510
- "\u015F": "s",
3511
- "\u0161": "s",
3512
- "\u0162": "T",
3513
- "\u0164": "T",
3514
- "\u0166": "T",
3515
- "\u0163": "t",
3516
- "\u0165": "t",
3517
- "\u0167": "t",
3518
- "\u0168": "U",
3519
- "\u016A": "U",
3520
- "\u016C": "U",
3521
- "\u016E": "U",
3522
- "\u0170": "U",
3523
- "\u0172": "U",
3524
- "\u0169": "u",
3525
- "\u016B": "u",
3526
- "\u016D": "u",
3527
- "\u016F": "u",
3528
- "\u0171": "u",
3529
- "\u0173": "u",
3530
- "\u0174": "W",
3531
- "\u0175": "w",
3532
- "\u0176": "Y",
3533
- "\u0177": "y",
3534
- "\u0178": "Y",
3535
- "\u0179": "Z",
3536
- "\u017B": "Z",
3537
- "\u017D": "Z",
3538
- "\u017A": "z",
3539
- "\u017C": "z",
3540
- "\u017E": "z",
3541
- "\u0132": "IJ",
3542
- "\u0133": "ij",
3543
- "\u0152": "Oe",
3544
- "\u0153": "oe",
3545
- "\u0149": "'n",
3546
- "\u017F": "ss"
3547
- };
3548
- var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
3549
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
3550
- var root = freeGlobal || freeSelf || Function("return this")();
3551
- function arrayReduce(array, iteratee, accumulator, initAccum) {
3552
- var index = -1, length = array ? array.length : 0;
3553
- if (initAccum && length) {
3554
- accumulator = array[++index];
3555
- }
3556
- while (++index < length) {
3557
- accumulator = iteratee(accumulator, array[index], index, array);
3558
- }
3559
- return accumulator;
3560
- }
3561
- function asciiWords(string) {
3562
- return string.match(reAsciiWord) || [];
3563
- }
3564
- function basePropertyOf(object) {
3565
- return function(key) {
3566
- return object == null ? void 0 : object[key];
3567
- };
3568
- }
3569
- var deburrLetter = basePropertyOf(deburredLetters);
3570
- function hasUnicodeWord(string) {
3571
- return reHasUnicodeWord.test(string);
3572
- }
3573
- function unicodeWords(string) {
3574
- return string.match(reUnicodeWord) || [];
3575
- }
3576
- var objectProto = Object.prototype;
3577
- var objectToString = objectProto.toString;
3578
- var Symbol2 = root.Symbol;
3579
- var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
3580
- var symbolToString = symbolProto ? symbolProto.toString : void 0;
3581
- function baseToString(value) {
3582
- if (typeof value == "string") {
3583
- return value;
3584
- }
3585
- if (isSymbol(value)) {
3586
- return symbolToString ? symbolToString.call(value) : "";
3587
- }
3588
- var result = value + "";
3589
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
3590
- }
3591
- function createCompounder(callback) {
3592
- return function(string) {
3593
- return arrayReduce(words(deburr(string).replace(reApos, "")), callback, "");
3594
- };
3595
- }
3596
- function isObjectLike2(value) {
3597
- return !!value && typeof value == "object";
3598
- }
3599
- function isSymbol(value) {
3600
- return typeof value == "symbol" || isObjectLike2(value) && objectToString.call(value) == symbolTag;
3601
- }
3602
- function toString(value) {
3603
- return value == null ? "" : baseToString(value);
3604
- }
3605
- function deburr(string) {
3606
- string = toString(string);
3607
- return string && string.replace(reLatin, deburrLetter).replace(reComboMark, "");
3608
- }
3609
- var snakeCase2 = createCompounder(function(result, word, index) {
3610
- return result + (index ? "_" : "") + word.toLowerCase();
3611
- });
3612
- function words(string, pattern, guard) {
3613
- string = toString(string);
3614
- pattern = guard ? void 0 : pattern;
3615
- if (pattern === void 0) {
3616
- return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
3617
- }
3618
- return string.match(pattern) || [];
3619
- }
3620
- module.exports = snakeCase2;
3621
- }
3622
- });
3623
-
3624
- // node_modules/lodash.upperfirst/index.js
3625
- var require_lodash4 = __commonJS({
3626
- "node_modules/lodash.upperfirst/index.js"(exports, module) {
3627
- var INFINITY = 1 / 0;
3628
- var symbolTag = "[object Symbol]";
3629
- var rsAstralRange = "\\ud800-\\udfff";
3630
- var rsComboMarksRange = "\\u0300-\\u036f\\ufe20-\\ufe23";
3631
- var rsComboSymbolsRange = "\\u20d0-\\u20f0";
3632
- var rsVarRange = "\\ufe0e\\ufe0f";
3633
- var rsAstral = "[" + rsAstralRange + "]";
3634
- var rsCombo = "[" + rsComboMarksRange + rsComboSymbolsRange + "]";
3635
- var rsFitz = "\\ud83c[\\udffb-\\udfff]";
3636
- var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
3637
- var rsNonAstral = "[^" + rsAstralRange + "]";
3638
- var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
3639
- var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
3640
- var rsZWJ = "\\u200d";
3641
- var reOptMod = rsModifier + "?";
3642
- var rsOptVar = "[" + rsVarRange + "]?";
3643
- var rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
3644
- var rsSeq = rsOptVar + reOptMod + rsOptJoin;
3645
- var rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")";
3646
- var reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g");
3647
- var reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + "]");
3648
- var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
3649
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
3650
- var root = freeGlobal || freeSelf || Function("return this")();
3651
- function asciiToArray(string) {
3652
- return string.split("");
3653
- }
3654
- function hasUnicode(string) {
3655
- return reHasUnicode.test(string);
3656
- }
3657
- function stringToArray(string) {
3658
- return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
3659
- }
3660
- function unicodeToArray(string) {
3661
- return string.match(reUnicode) || [];
3662
- }
3663
- var objectProto = Object.prototype;
3664
- var objectToString = objectProto.toString;
3665
- var Symbol2 = root.Symbol;
3666
- var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
3667
- var symbolToString = symbolProto ? symbolProto.toString : void 0;
3668
- function baseSlice(array, start, end) {
3669
- var index = -1, length = array.length;
3670
- if (start < 0) {
3671
- start = -start > length ? 0 : length + start;
3672
- }
3673
- end = end > length ? length : end;
3674
- if (end < 0) {
3675
- end += length;
3676
- }
3677
- length = start > end ? 0 : end - start >>> 0;
3678
- start >>>= 0;
3679
- var result = Array(length);
3680
- while (++index < length) {
3681
- result[index] = array[index + start];
3682
- }
3683
- return result;
3684
- }
3685
- function baseToString(value) {
3686
- if (typeof value == "string") {
3687
- return value;
3688
- }
3689
- if (isSymbol(value)) {
3690
- return symbolToString ? symbolToString.call(value) : "";
3691
- }
3692
- var result = value + "";
3693
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
3694
- }
3695
- function castSlice(array, start, end) {
3696
- var length = array.length;
3697
- end = end === void 0 ? length : end;
3698
- return !start && end >= length ? array : baseSlice(array, start, end);
3699
- }
3700
- function createCaseFirst(methodName) {
3701
- return function(string) {
3702
- string = toString(string);
3703
- var strSymbols = hasUnicode(string) ? stringToArray(string) : void 0;
3704
- var chr = strSymbols ? strSymbols[0] : string.charAt(0);
3705
- var trailing = strSymbols ? castSlice(strSymbols, 1).join("") : string.slice(1);
3706
- return chr[methodName]() + trailing;
3707
- };
3708
- }
3709
- function isObjectLike2(value) {
3710
- return !!value && typeof value == "object";
3711
- }
3712
- function isSymbol(value) {
3713
- return typeof value == "symbol" || isObjectLike2(value) && objectToString.call(value) == symbolTag;
3714
- }
3715
- function toString(value) {
3716
- return value == null ? "" : baseToString(value);
3717
- }
3718
- var upperFirst2 = createCaseFirst("toUpperCase");
3719
- module.exports = upperFirst2;
3720
- }
3721
- });
3722
-
3723
- // node_modules/lodash.startcase/index.js
3724
- var require_lodash5 = __commonJS({
3725
- "node_modules/lodash.startcase/index.js"(exports, module) {
3726
- var INFINITY = 1 / 0;
3727
- var symbolTag = "[object Symbol]";
3728
- var reAsciiWord = /[^\x00-\x2f\x3a-\x40\x5b-\x60\x7b-\x7f]+/g;
3729
- var reLatin = /[\xc0-\xd6\xd8-\xf6\xf8-\xff\u0100-\u017f]/g;
3730
- var rsAstralRange = "\\ud800-\\udfff";
3731
- var rsComboMarksRange = "\\u0300-\\u036f\\ufe20-\\ufe23";
3732
- var rsComboSymbolsRange = "\\u20d0-\\u20f0";
3733
- var rsDingbatRange = "\\u2700-\\u27bf";
3734
- var rsLowerRange = "a-z\\xdf-\\xf6\\xf8-\\xff";
3735
- var rsMathOpRange = "\\xac\\xb1\\xd7\\xf7";
3736
- var rsNonCharRange = "\\x00-\\x2f\\x3a-\\x40\\x5b-\\x60\\x7b-\\xbf";
3737
- var rsPunctuationRange = "\\u2000-\\u206f";
3738
- var rsSpaceRange = " \\t\\x0b\\f\\xa0\\ufeff\\n\\r\\u2028\\u2029\\u1680\\u180e\\u2000\\u2001\\u2002\\u2003\\u2004\\u2005\\u2006\\u2007\\u2008\\u2009\\u200a\\u202f\\u205f\\u3000";
3739
- var rsUpperRange = "A-Z\\xc0-\\xd6\\xd8-\\xde";
3740
- var rsVarRange = "\\ufe0e\\ufe0f";
3741
- var rsBreakRange = rsMathOpRange + rsNonCharRange + rsPunctuationRange + rsSpaceRange;
3742
- var rsApos = "['\u2019]";
3743
- var rsAstral = "[" + rsAstralRange + "]";
3744
- var rsBreak = "[" + rsBreakRange + "]";
3745
- var rsCombo = "[" + rsComboMarksRange + rsComboSymbolsRange + "]";
3746
- var rsDigits = "\\d+";
3747
- var rsDingbat = "[" + rsDingbatRange + "]";
3748
- var rsLower = "[" + rsLowerRange + "]";
3749
- var rsMisc = "[^" + rsAstralRange + rsBreakRange + rsDigits + rsDingbatRange + rsLowerRange + rsUpperRange + "]";
3750
- var rsFitz = "\\ud83c[\\udffb-\\udfff]";
3751
- var rsModifier = "(?:" + rsCombo + "|" + rsFitz + ")";
3752
- var rsNonAstral = "[^" + rsAstralRange + "]";
3753
- var rsRegional = "(?:\\ud83c[\\udde6-\\uddff]){2}";
3754
- var rsSurrPair = "[\\ud800-\\udbff][\\udc00-\\udfff]";
3755
- var rsUpper = "[" + rsUpperRange + "]";
3756
- var rsZWJ = "\\u200d";
3757
- var rsLowerMisc = "(?:" + rsLower + "|" + rsMisc + ")";
3758
- var rsUpperMisc = "(?:" + rsUpper + "|" + rsMisc + ")";
3759
- var rsOptLowerContr = "(?:" + rsApos + "(?:d|ll|m|re|s|t|ve))?";
3760
- var rsOptUpperContr = "(?:" + rsApos + "(?:D|LL|M|RE|S|T|VE))?";
3761
- var reOptMod = rsModifier + "?";
3762
- var rsOptVar = "[" + rsVarRange + "]?";
3763
- var rsOptJoin = "(?:" + rsZWJ + "(?:" + [rsNonAstral, rsRegional, rsSurrPair].join("|") + ")" + rsOptVar + reOptMod + ")*";
3764
- var rsSeq = rsOptVar + reOptMod + rsOptJoin;
3765
- var rsEmoji = "(?:" + [rsDingbat, rsRegional, rsSurrPair].join("|") + ")" + rsSeq;
3766
- var rsSymbol = "(?:" + [rsNonAstral + rsCombo + "?", rsCombo, rsRegional, rsSurrPair, rsAstral].join("|") + ")";
3767
- var reApos = RegExp(rsApos, "g");
3768
- var reComboMark = RegExp(rsCombo, "g");
3769
- var reUnicode = RegExp(rsFitz + "(?=" + rsFitz + ")|" + rsSymbol + rsSeq, "g");
3770
- var reUnicodeWord = RegExp([
3771
- rsUpper + "?" + rsLower + "+" + rsOptLowerContr + "(?=" + [rsBreak, rsUpper, "$"].join("|") + ")",
3772
- rsUpperMisc + "+" + rsOptUpperContr + "(?=" + [rsBreak, rsUpper + rsLowerMisc, "$"].join("|") + ")",
3773
- rsUpper + "?" + rsLowerMisc + "+" + rsOptLowerContr,
3774
- rsUpper + "+" + rsOptUpperContr,
3775
- rsDigits,
3776
- rsEmoji
3777
- ].join("|"), "g");
3778
- var reHasUnicode = RegExp("[" + rsZWJ + rsAstralRange + rsComboMarksRange + rsComboSymbolsRange + rsVarRange + "]");
3779
- var reHasUnicodeWord = /[a-z][A-Z]|[A-Z]{2,}[a-z]|[0-9][a-zA-Z]|[a-zA-Z][0-9]|[^a-zA-Z0-9 ]/;
3780
- var deburredLetters = {
3781
- // Latin-1 Supplement block.
3782
- "\xC0": "A",
3783
- "\xC1": "A",
3784
- "\xC2": "A",
3785
- "\xC3": "A",
3786
- "\xC4": "A",
3787
- "\xC5": "A",
3788
- "\xE0": "a",
3789
- "\xE1": "a",
3790
- "\xE2": "a",
3791
- "\xE3": "a",
3792
- "\xE4": "a",
3793
- "\xE5": "a",
3794
- "\xC7": "C",
3795
- "\xE7": "c",
3796
- "\xD0": "D",
3797
- "\xF0": "d",
3798
- "\xC8": "E",
3799
- "\xC9": "E",
3800
- "\xCA": "E",
3801
- "\xCB": "E",
3802
- "\xE8": "e",
3803
- "\xE9": "e",
3804
- "\xEA": "e",
3805
- "\xEB": "e",
3806
- "\xCC": "I",
3807
- "\xCD": "I",
3808
- "\xCE": "I",
3809
- "\xCF": "I",
3810
- "\xEC": "i",
3811
- "\xED": "i",
3812
- "\xEE": "i",
3813
- "\xEF": "i",
3814
- "\xD1": "N",
3815
- "\xF1": "n",
3816
- "\xD2": "O",
3817
- "\xD3": "O",
3818
- "\xD4": "O",
3819
- "\xD5": "O",
3820
- "\xD6": "O",
3821
- "\xD8": "O",
3822
- "\xF2": "o",
3823
- "\xF3": "o",
3824
- "\xF4": "o",
3825
- "\xF5": "o",
3826
- "\xF6": "o",
3827
- "\xF8": "o",
3828
- "\xD9": "U",
3829
- "\xDA": "U",
3830
- "\xDB": "U",
3831
- "\xDC": "U",
3832
- "\xF9": "u",
3833
- "\xFA": "u",
3834
- "\xFB": "u",
3835
- "\xFC": "u",
3836
- "\xDD": "Y",
3837
- "\xFD": "y",
3838
- "\xFF": "y",
3839
- "\xC6": "Ae",
3840
- "\xE6": "ae",
3841
- "\xDE": "Th",
3842
- "\xFE": "th",
3843
- "\xDF": "ss",
3844
- // Latin Extended-A block.
3845
- "\u0100": "A",
3846
- "\u0102": "A",
3847
- "\u0104": "A",
3848
- "\u0101": "a",
3849
- "\u0103": "a",
3850
- "\u0105": "a",
3851
- "\u0106": "C",
3852
- "\u0108": "C",
3853
- "\u010A": "C",
3854
- "\u010C": "C",
3855
- "\u0107": "c",
3856
- "\u0109": "c",
3857
- "\u010B": "c",
3858
- "\u010D": "c",
3859
- "\u010E": "D",
3860
- "\u0110": "D",
3861
- "\u010F": "d",
3862
- "\u0111": "d",
3863
- "\u0112": "E",
3864
- "\u0114": "E",
3865
- "\u0116": "E",
3866
- "\u0118": "E",
3867
- "\u011A": "E",
3868
- "\u0113": "e",
3869
- "\u0115": "e",
3870
- "\u0117": "e",
3871
- "\u0119": "e",
3872
- "\u011B": "e",
3873
- "\u011C": "G",
3874
- "\u011E": "G",
3875
- "\u0120": "G",
3876
- "\u0122": "G",
3877
- "\u011D": "g",
3878
- "\u011F": "g",
3879
- "\u0121": "g",
3880
- "\u0123": "g",
3881
- "\u0124": "H",
3882
- "\u0126": "H",
3883
- "\u0125": "h",
3884
- "\u0127": "h",
3885
- "\u0128": "I",
3886
- "\u012A": "I",
3887
- "\u012C": "I",
3888
- "\u012E": "I",
3889
- "\u0130": "I",
3890
- "\u0129": "i",
3891
- "\u012B": "i",
3892
- "\u012D": "i",
3893
- "\u012F": "i",
3894
- "\u0131": "i",
3895
- "\u0134": "J",
3896
- "\u0135": "j",
3897
- "\u0136": "K",
3898
- "\u0137": "k",
3899
- "\u0138": "k",
3900
- "\u0139": "L",
3901
- "\u013B": "L",
3902
- "\u013D": "L",
3903
- "\u013F": "L",
3904
- "\u0141": "L",
3905
- "\u013A": "l",
3906
- "\u013C": "l",
3907
- "\u013E": "l",
3908
- "\u0140": "l",
3909
- "\u0142": "l",
3910
- "\u0143": "N",
3911
- "\u0145": "N",
3912
- "\u0147": "N",
3913
- "\u014A": "N",
3914
- "\u0144": "n",
3915
- "\u0146": "n",
3916
- "\u0148": "n",
3917
- "\u014B": "n",
3918
- "\u014C": "O",
3919
- "\u014E": "O",
3920
- "\u0150": "O",
3921
- "\u014D": "o",
3922
- "\u014F": "o",
3923
- "\u0151": "o",
3924
- "\u0154": "R",
3925
- "\u0156": "R",
3926
- "\u0158": "R",
3927
- "\u0155": "r",
3928
- "\u0157": "r",
3929
- "\u0159": "r",
3930
- "\u015A": "S",
3931
- "\u015C": "S",
3932
- "\u015E": "S",
3933
- "\u0160": "S",
3934
- "\u015B": "s",
3935
- "\u015D": "s",
3936
- "\u015F": "s",
3937
- "\u0161": "s",
3938
- "\u0162": "T",
3939
- "\u0164": "T",
3940
- "\u0166": "T",
3941
- "\u0163": "t",
3942
- "\u0165": "t",
3943
- "\u0167": "t",
3944
- "\u0168": "U",
3945
- "\u016A": "U",
3946
- "\u016C": "U",
3947
- "\u016E": "U",
3948
- "\u0170": "U",
3949
- "\u0172": "U",
3950
- "\u0169": "u",
3951
- "\u016B": "u",
3952
- "\u016D": "u",
3953
- "\u016F": "u",
3954
- "\u0171": "u",
3955
- "\u0173": "u",
3956
- "\u0174": "W",
3957
- "\u0175": "w",
3958
- "\u0176": "Y",
3959
- "\u0177": "y",
3960
- "\u0178": "Y",
3961
- "\u0179": "Z",
3962
- "\u017B": "Z",
3963
- "\u017D": "Z",
3964
- "\u017A": "z",
3965
- "\u017C": "z",
3966
- "\u017E": "z",
3967
- "\u0132": "IJ",
3968
- "\u0133": "ij",
3969
- "\u0152": "Oe",
3970
- "\u0153": "oe",
3971
- "\u0149": "'n",
3972
- "\u017F": "ss"
3973
- };
3974
- var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
3975
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
3976
- var root = freeGlobal || freeSelf || Function("return this")();
3977
- function arrayReduce(array, iteratee, accumulator, initAccum) {
3978
- var index = -1, length = array ? array.length : 0;
3979
- if (initAccum && length) {
3980
- accumulator = array[++index];
3981
- }
3982
- while (++index < length) {
3983
- accumulator = iteratee(accumulator, array[index], index, array);
3984
- }
3985
- return accumulator;
3986
- }
3987
- function asciiToArray(string) {
3988
- return string.split("");
3989
- }
3990
- function asciiWords(string) {
3991
- return string.match(reAsciiWord) || [];
3992
- }
3993
- function basePropertyOf(object) {
3994
- return function(key) {
3995
- return object == null ? void 0 : object[key];
3996
- };
3997
- }
3998
- var deburrLetter = basePropertyOf(deburredLetters);
3999
- function hasUnicode(string) {
4000
- return reHasUnicode.test(string);
4001
- }
4002
- function hasUnicodeWord(string) {
4003
- return reHasUnicodeWord.test(string);
4004
- }
4005
- function stringToArray(string) {
4006
- return hasUnicode(string) ? unicodeToArray(string) : asciiToArray(string);
4007
- }
4008
- function unicodeToArray(string) {
4009
- return string.match(reUnicode) || [];
4010
- }
4011
- function unicodeWords(string) {
4012
- return string.match(reUnicodeWord) || [];
4013
- }
4014
- var objectProto = Object.prototype;
4015
- var objectToString = objectProto.toString;
4016
- var Symbol2 = root.Symbol;
4017
- var symbolProto = Symbol2 ? Symbol2.prototype : void 0;
4018
- var symbolToString = symbolProto ? symbolProto.toString : void 0;
4019
- function baseSlice(array, start, end) {
4020
- var index = -1, length = array.length;
4021
- if (start < 0) {
4022
- start = -start > length ? 0 : length + start;
4023
- }
4024
- end = end > length ? length : end;
4025
- if (end < 0) {
4026
- end += length;
4027
- }
4028
- length = start > end ? 0 : end - start >>> 0;
4029
- start >>>= 0;
4030
- var result = Array(length);
4031
- while (++index < length) {
4032
- result[index] = array[index + start];
4033
- }
4034
- return result;
4035
- }
4036
- function baseToString(value) {
4037
- if (typeof value == "string") {
4038
- return value;
4039
- }
4040
- if (isSymbol(value)) {
4041
- return symbolToString ? symbolToString.call(value) : "";
4042
- }
4043
- var result = value + "";
4044
- return result == "0" && 1 / value == -INFINITY ? "-0" : result;
4045
- }
4046
- function castSlice(array, start, end) {
4047
- var length = array.length;
4048
- end = end === void 0 ? length : end;
4049
- return !start && end >= length ? array : baseSlice(array, start, end);
4050
- }
4051
- function createCaseFirst(methodName) {
4052
- return function(string) {
4053
- string = toString(string);
4054
- var strSymbols = hasUnicode(string) ? stringToArray(string) : void 0;
4055
- var chr = strSymbols ? strSymbols[0] : string.charAt(0);
4056
- var trailing = strSymbols ? castSlice(strSymbols, 1).join("") : string.slice(1);
4057
- return chr[methodName]() + trailing;
4058
- };
4059
- }
4060
- function createCompounder(callback) {
4061
- return function(string) {
4062
- return arrayReduce(words(deburr(string).replace(reApos, "")), callback, "");
4063
- };
4064
- }
4065
- function isObjectLike2(value) {
4066
- return !!value && typeof value == "object";
4067
- }
4068
- function isSymbol(value) {
4069
- return typeof value == "symbol" || isObjectLike2(value) && objectToString.call(value) == symbolTag;
4070
- }
4071
- function toString(value) {
4072
- return value == null ? "" : baseToString(value);
4073
- }
4074
- function deburr(string) {
4075
- string = toString(string);
4076
- return string && string.replace(reLatin, deburrLetter).replace(reComboMark, "");
4077
- }
4078
- var startCase2 = createCompounder(function(result, word, index) {
4079
- return result + (index ? " " : "") + upperFirst2(word);
4080
- });
4081
- var upperFirst2 = createCaseFirst("toUpperCase");
4082
- function words(string, pattern, guard) {
4083
- string = toString(string);
4084
- pattern = guard ? void 0 : pattern;
4085
- if (pattern === void 0) {
4086
- return hasUnicodeWord(string) ? unicodeWords(string) : asciiWords(string);
4087
- }
4088
- return string.match(pattern) || [];
4089
- }
4090
- module.exports = startCase2;
4091
- }
4092
- });
4093
-
4094
2603
  // node_modules/ajv/dist/compile/codegen/code.js
4095
2604
  var require_code = __commonJS({
4096
2605
  "node_modules/ajv/dist/compile/codegen/code.js"(exports) {
@@ -10650,7 +9159,7 @@ var require_ini = __commonJS({
10650
9159
  duplicates[keyRaw] = (duplicates?.[keyRaw] || 0) + 1;
10651
9160
  isArray = duplicates[keyRaw] > 1;
10652
9161
  }
10653
- const key = isArray ? keyRaw.slice(0, -2) : keyRaw;
9162
+ const key = isArray && keyRaw.endsWith("[]") ? keyRaw.slice(0, -2) : keyRaw;
10654
9163
  if (key === "__proto__") {
10655
9164
  continue;
10656
9165
  }
@@ -10707,7 +9216,7 @@ var require_ini = __commonJS({
10707
9216
  }
10708
9217
  return val.split(";").join("\\;").split("#").join("\\#");
10709
9218
  };
10710
- var unsafe = (val, doUnesc) => {
9219
+ var unsafe = (val) => {
10711
9220
  val = (val || "").trim();
10712
9221
  if (isQuoted(val)) {
10713
9222
  if (val.charAt(0) === "'") {
@@ -10755,728 +9264,6 @@ var require_ini = __commonJS({
10755
9264
  }
10756
9265
  });
10757
9266
 
10758
- // node_modules/lodash.mergewith/index.js
10759
- var require_lodash6 = __commonJS({
10760
- "node_modules/lodash.mergewith/index.js"(exports, module) {
10761
- var LARGE_ARRAY_SIZE = 200;
10762
- var HASH_UNDEFINED = "__lodash_hash_undefined__";
10763
- var HOT_COUNT = 800;
10764
- var HOT_SPAN = 16;
10765
- var MAX_SAFE_INTEGER = 9007199254740991;
10766
- var argsTag = "[object Arguments]";
10767
- var arrayTag = "[object Array]";
10768
- var asyncTag = "[object AsyncFunction]";
10769
- var boolTag = "[object Boolean]";
10770
- var dateTag = "[object Date]";
10771
- var errorTag = "[object Error]";
10772
- var funcTag = "[object Function]";
10773
- var genTag = "[object GeneratorFunction]";
10774
- var mapTag = "[object Map]";
10775
- var numberTag = "[object Number]";
10776
- var nullTag = "[object Null]";
10777
- var objectTag = "[object Object]";
10778
- var proxyTag = "[object Proxy]";
10779
- var regexpTag = "[object RegExp]";
10780
- var setTag = "[object Set]";
10781
- var stringTag = "[object String]";
10782
- var undefinedTag = "[object Undefined]";
10783
- var weakMapTag = "[object WeakMap]";
10784
- var arrayBufferTag = "[object ArrayBuffer]";
10785
- var dataViewTag = "[object DataView]";
10786
- var float32Tag = "[object Float32Array]";
10787
- var float64Tag = "[object Float64Array]";
10788
- var int8Tag = "[object Int8Array]";
10789
- var int16Tag = "[object Int16Array]";
10790
- var int32Tag = "[object Int32Array]";
10791
- var uint8Tag = "[object Uint8Array]";
10792
- var uint8ClampedTag = "[object Uint8ClampedArray]";
10793
- var uint16Tag = "[object Uint16Array]";
10794
- var uint32Tag = "[object Uint32Array]";
10795
- var reRegExpChar = /[\\^$.*+?()[\]{}|]/g;
10796
- var reIsHostCtor = /^\[object .+?Constructor\]$/;
10797
- var reIsUint = /^(?:0|[1-9]\d*)$/;
10798
- var typedArrayTags = {};
10799
- typedArrayTags[float32Tag] = typedArrayTags[float64Tag] = typedArrayTags[int8Tag] = typedArrayTags[int16Tag] = typedArrayTags[int32Tag] = typedArrayTags[uint8Tag] = typedArrayTags[uint8ClampedTag] = typedArrayTags[uint16Tag] = typedArrayTags[uint32Tag] = true;
10800
- typedArrayTags[argsTag] = typedArrayTags[arrayTag] = typedArrayTags[arrayBufferTag] = typedArrayTags[boolTag] = typedArrayTags[dataViewTag] = typedArrayTags[dateTag] = typedArrayTags[errorTag] = typedArrayTags[funcTag] = typedArrayTags[mapTag] = typedArrayTags[numberTag] = typedArrayTags[objectTag] = typedArrayTags[regexpTag] = typedArrayTags[setTag] = typedArrayTags[stringTag] = typedArrayTags[weakMapTag] = false;
10801
- var freeGlobal = typeof global == "object" && global && global.Object === Object && global;
10802
- var freeSelf = typeof self == "object" && self && self.Object === Object && self;
10803
- var root = freeGlobal || freeSelf || Function("return this")();
10804
- var freeExports = typeof exports == "object" && exports && !exports.nodeType && exports;
10805
- var freeModule = freeExports && typeof module == "object" && module && !module.nodeType && module;
10806
- var moduleExports = freeModule && freeModule.exports === freeExports;
10807
- var freeProcess = moduleExports && freeGlobal.process;
10808
- var nodeUtil = (function() {
10809
- try {
10810
- var types = freeModule && freeModule.require && freeModule.require("util").types;
10811
- if (types) {
10812
- return types;
10813
- }
10814
- return freeProcess && freeProcess.binding && freeProcess.binding("util");
10815
- } catch (e2) {
10816
- }
10817
- })();
10818
- var nodeIsTypedArray = nodeUtil && nodeUtil.isTypedArray;
10819
- function apply(func, thisArg, args) {
10820
- switch (args.length) {
10821
- case 0:
10822
- return func.call(thisArg);
10823
- case 1:
10824
- return func.call(thisArg, args[0]);
10825
- case 2:
10826
- return func.call(thisArg, args[0], args[1]);
10827
- case 3:
10828
- return func.call(thisArg, args[0], args[1], args[2]);
10829
- }
10830
- return func.apply(thisArg, args);
10831
- }
10832
- function baseTimes(n2, iteratee) {
10833
- var index = -1, result = Array(n2);
10834
- while (++index < n2) {
10835
- result[index] = iteratee(index);
10836
- }
10837
- return result;
10838
- }
10839
- function baseUnary(func) {
10840
- return function(value) {
10841
- return func(value);
10842
- };
10843
- }
10844
- function getValue(object, key) {
10845
- return object == null ? void 0 : object[key];
10846
- }
10847
- function overArg(func, transform) {
10848
- return function(arg) {
10849
- return func(transform(arg));
10850
- };
10851
- }
10852
- var arrayProto = Array.prototype;
10853
- var funcProto = Function.prototype;
10854
- var objectProto = Object.prototype;
10855
- var coreJsData = root["__core-js_shared__"];
10856
- var funcToString = funcProto.toString;
10857
- var hasOwnProperty3 = objectProto.hasOwnProperty;
10858
- var maskSrcKey = (function() {
10859
- var uid = /[^.]+$/.exec(coreJsData && coreJsData.keys && coreJsData.keys.IE_PROTO || "");
10860
- return uid ? "Symbol(src)_1." + uid : "";
10861
- })();
10862
- var nativeObjectToString = objectProto.toString;
10863
- var objectCtorString = funcToString.call(Object);
10864
- var reIsNative = RegExp(
10865
- "^" + funcToString.call(hasOwnProperty3).replace(reRegExpChar, "\\$&").replace(/hasOwnProperty|(function).*?(?=\\\()| for .+?(?=\\\])/g, "$1.*?") + "$"
10866
- );
10867
- var Buffer2 = moduleExports ? root.Buffer : void 0;
10868
- var Symbol2 = root.Symbol;
10869
- var Uint8Array2 = root.Uint8Array;
10870
- var allocUnsafe = Buffer2 ? Buffer2.allocUnsafe : void 0;
10871
- var getPrototype = overArg(Object.getPrototypeOf, Object);
10872
- var objectCreate = Object.create;
10873
- var propertyIsEnumerable = objectProto.propertyIsEnumerable;
10874
- var splice = arrayProto.splice;
10875
- var symToStringTag = Symbol2 ? Symbol2.toStringTag : void 0;
10876
- var defineProperty = (function() {
10877
- try {
10878
- var func = getNative(Object, "defineProperty");
10879
- func({}, "", {});
10880
- return func;
10881
- } catch (e2) {
10882
- }
10883
- })();
10884
- var nativeIsBuffer = Buffer2 ? Buffer2.isBuffer : void 0;
10885
- var nativeMax = Math.max;
10886
- var nativeNow = Date.now;
10887
- var Map2 = getNative(root, "Map");
10888
- var nativeCreate = getNative(Object, "create");
10889
- var baseCreate = /* @__PURE__ */ (function() {
10890
- function object() {
10891
- }
10892
- return function(proto) {
10893
- if (!isObject(proto)) {
10894
- return {};
10895
- }
10896
- if (objectCreate) {
10897
- return objectCreate(proto);
10898
- }
10899
- object.prototype = proto;
10900
- var result = new object();
10901
- object.prototype = void 0;
10902
- return result;
10903
- };
10904
- })();
10905
- function Hash(entries) {
10906
- var index = -1, length = entries == null ? 0 : entries.length;
10907
- this.clear();
10908
- while (++index < length) {
10909
- var entry = entries[index];
10910
- this.set(entry[0], entry[1]);
10911
- }
10912
- }
10913
- function hashClear() {
10914
- this.__data__ = nativeCreate ? nativeCreate(null) : {};
10915
- this.size = 0;
10916
- }
10917
- function hashDelete(key) {
10918
- var result = this.has(key) && delete this.__data__[key];
10919
- this.size -= result ? 1 : 0;
10920
- return result;
10921
- }
10922
- function hashGet(key) {
10923
- var data = this.__data__;
10924
- if (nativeCreate) {
10925
- var result = data[key];
10926
- return result === HASH_UNDEFINED ? void 0 : result;
10927
- }
10928
- return hasOwnProperty3.call(data, key) ? data[key] : void 0;
10929
- }
10930
- function hashHas(key) {
10931
- var data = this.__data__;
10932
- return nativeCreate ? data[key] !== void 0 : hasOwnProperty3.call(data, key);
10933
- }
10934
- function hashSet(key, value) {
10935
- var data = this.__data__;
10936
- this.size += this.has(key) ? 0 : 1;
10937
- data[key] = nativeCreate && value === void 0 ? HASH_UNDEFINED : value;
10938
- return this;
10939
- }
10940
- Hash.prototype.clear = hashClear;
10941
- Hash.prototype["delete"] = hashDelete;
10942
- Hash.prototype.get = hashGet;
10943
- Hash.prototype.has = hashHas;
10944
- Hash.prototype.set = hashSet;
10945
- function ListCache(entries) {
10946
- var index = -1, length = entries == null ? 0 : entries.length;
10947
- this.clear();
10948
- while (++index < length) {
10949
- var entry = entries[index];
10950
- this.set(entry[0], entry[1]);
10951
- }
10952
- }
10953
- function listCacheClear() {
10954
- this.__data__ = [];
10955
- this.size = 0;
10956
- }
10957
- function listCacheDelete(key) {
10958
- var data = this.__data__, index = assocIndexOf(data, key);
10959
- if (index < 0) {
10960
- return false;
10961
- }
10962
- var lastIndex = data.length - 1;
10963
- if (index == lastIndex) {
10964
- data.pop();
10965
- } else {
10966
- splice.call(data, index, 1);
10967
- }
10968
- --this.size;
10969
- return true;
10970
- }
10971
- function listCacheGet(key) {
10972
- var data = this.__data__, index = assocIndexOf(data, key);
10973
- return index < 0 ? void 0 : data[index][1];
10974
- }
10975
- function listCacheHas(key) {
10976
- return assocIndexOf(this.__data__, key) > -1;
10977
- }
10978
- function listCacheSet(key, value) {
10979
- var data = this.__data__, index = assocIndexOf(data, key);
10980
- if (index < 0) {
10981
- ++this.size;
10982
- data.push([key, value]);
10983
- } else {
10984
- data[index][1] = value;
10985
- }
10986
- return this;
10987
- }
10988
- ListCache.prototype.clear = listCacheClear;
10989
- ListCache.prototype["delete"] = listCacheDelete;
10990
- ListCache.prototype.get = listCacheGet;
10991
- ListCache.prototype.has = listCacheHas;
10992
- ListCache.prototype.set = listCacheSet;
10993
- function MapCache(entries) {
10994
- var index = -1, length = entries == null ? 0 : entries.length;
10995
- this.clear();
10996
- while (++index < length) {
10997
- var entry = entries[index];
10998
- this.set(entry[0], entry[1]);
10999
- }
11000
- }
11001
- function mapCacheClear() {
11002
- this.size = 0;
11003
- this.__data__ = {
11004
- "hash": new Hash(),
11005
- "map": new (Map2 || ListCache)(),
11006
- "string": new Hash()
11007
- };
11008
- }
11009
- function mapCacheDelete(key) {
11010
- var result = getMapData(this, key)["delete"](key);
11011
- this.size -= result ? 1 : 0;
11012
- return result;
11013
- }
11014
- function mapCacheGet(key) {
11015
- return getMapData(this, key).get(key);
11016
- }
11017
- function mapCacheHas(key) {
11018
- return getMapData(this, key).has(key);
11019
- }
11020
- function mapCacheSet(key, value) {
11021
- var data = getMapData(this, key), size = data.size;
11022
- data.set(key, value);
11023
- this.size += data.size == size ? 0 : 1;
11024
- return this;
11025
- }
11026
- MapCache.prototype.clear = mapCacheClear;
11027
- MapCache.prototype["delete"] = mapCacheDelete;
11028
- MapCache.prototype.get = mapCacheGet;
11029
- MapCache.prototype.has = mapCacheHas;
11030
- MapCache.prototype.set = mapCacheSet;
11031
- function Stack(entries) {
11032
- var data = this.__data__ = new ListCache(entries);
11033
- this.size = data.size;
11034
- }
11035
- function stackClear() {
11036
- this.__data__ = new ListCache();
11037
- this.size = 0;
11038
- }
11039
- function stackDelete(key) {
11040
- var data = this.__data__, result = data["delete"](key);
11041
- this.size = data.size;
11042
- return result;
11043
- }
11044
- function stackGet(key) {
11045
- return this.__data__.get(key);
11046
- }
11047
- function stackHas(key) {
11048
- return this.__data__.has(key);
11049
- }
11050
- function stackSet(key, value) {
11051
- var data = this.__data__;
11052
- if (data instanceof ListCache) {
11053
- var pairs = data.__data__;
11054
- if (!Map2 || pairs.length < LARGE_ARRAY_SIZE - 1) {
11055
- pairs.push([key, value]);
11056
- this.size = ++data.size;
11057
- return this;
11058
- }
11059
- data = this.__data__ = new MapCache(pairs);
11060
- }
11061
- data.set(key, value);
11062
- this.size = data.size;
11063
- return this;
11064
- }
11065
- Stack.prototype.clear = stackClear;
11066
- Stack.prototype["delete"] = stackDelete;
11067
- Stack.prototype.get = stackGet;
11068
- Stack.prototype.has = stackHas;
11069
- Stack.prototype.set = stackSet;
11070
- function arrayLikeKeys(value, inherited) {
11071
- var isArr = isArray(value), isArg = !isArr && isArguments(value), isBuff = !isArr && !isArg && isBuffer(value), isType = !isArr && !isArg && !isBuff && isTypedArray(value), skipIndexes = isArr || isArg || isBuff || isType, result = skipIndexes ? baseTimes(value.length, String) : [], length = result.length;
11072
- for (var key in value) {
11073
- if ((inherited || hasOwnProperty3.call(value, key)) && !(skipIndexes && // Safari 9 has enumerable `arguments.length` in strict mode.
11074
- (key == "length" || // Node.js 0.10 has enumerable non-index properties on buffers.
11075
- isBuff && (key == "offset" || key == "parent") || // PhantomJS 2 has enumerable non-index properties on typed arrays.
11076
- isType && (key == "buffer" || key == "byteLength" || key == "byteOffset") || // Skip index properties.
11077
- isIndex(key, length)))) {
11078
- result.push(key);
11079
- }
11080
- }
11081
- return result;
11082
- }
11083
- function assignMergeValue(object, key, value) {
11084
- if (value !== void 0 && !eq(object[key], value) || value === void 0 && !(key in object)) {
11085
- baseAssignValue(object, key, value);
11086
- }
11087
- }
11088
- function assignValue(object, key, value) {
11089
- var objValue = object[key];
11090
- if (!(hasOwnProperty3.call(object, key) && eq(objValue, value)) || value === void 0 && !(key in object)) {
11091
- baseAssignValue(object, key, value);
11092
- }
11093
- }
11094
- function assocIndexOf(array, key) {
11095
- var length = array.length;
11096
- while (length--) {
11097
- if (eq(array[length][0], key)) {
11098
- return length;
11099
- }
11100
- }
11101
- return -1;
11102
- }
11103
- function baseAssignValue(object, key, value) {
11104
- if (key == "__proto__" && defineProperty) {
11105
- defineProperty(object, key, {
11106
- "configurable": true,
11107
- "enumerable": true,
11108
- "value": value,
11109
- "writable": true
11110
- });
11111
- } else {
11112
- object[key] = value;
11113
- }
11114
- }
11115
- var baseFor = createBaseFor();
11116
- function baseGetTag(value) {
11117
- if (value == null) {
11118
- return value === void 0 ? undefinedTag : nullTag;
11119
- }
11120
- return symToStringTag && symToStringTag in Object(value) ? getRawTag(value) : objectToString(value);
11121
- }
11122
- function baseIsArguments(value) {
11123
- return isObjectLike2(value) && baseGetTag(value) == argsTag;
11124
- }
11125
- function baseIsNative(value) {
11126
- if (!isObject(value) || isMasked(value)) {
11127
- return false;
11128
- }
11129
- var pattern = isFunction2(value) ? reIsNative : reIsHostCtor;
11130
- return pattern.test(toSource(value));
11131
- }
11132
- function baseIsTypedArray(value) {
11133
- return isObjectLike2(value) && isLength(value.length) && !!typedArrayTags[baseGetTag(value)];
11134
- }
11135
- function baseKeysIn(object) {
11136
- if (!isObject(object)) {
11137
- return nativeKeysIn(object);
11138
- }
11139
- var isProto = isPrototype(object), result = [];
11140
- for (var key in object) {
11141
- if (!(key == "constructor" && (isProto || !hasOwnProperty3.call(object, key)))) {
11142
- result.push(key);
11143
- }
11144
- }
11145
- return result;
11146
- }
11147
- function baseMerge(object, source, srcIndex, customizer, stack) {
11148
- if (object === source) {
11149
- return;
11150
- }
11151
- baseFor(source, function(srcValue, key) {
11152
- stack || (stack = new Stack());
11153
- if (isObject(srcValue)) {
11154
- baseMergeDeep(object, source, key, srcIndex, baseMerge, customizer, stack);
11155
- } else {
11156
- var newValue = customizer ? customizer(safeGet(object, key), srcValue, key + "", object, source, stack) : void 0;
11157
- if (newValue === void 0) {
11158
- newValue = srcValue;
11159
- }
11160
- assignMergeValue(object, key, newValue);
11161
- }
11162
- }, keysIn);
11163
- }
11164
- function baseMergeDeep(object, source, key, srcIndex, mergeFunc, customizer, stack) {
11165
- var objValue = safeGet(object, key), srcValue = safeGet(source, key), stacked = stack.get(srcValue);
11166
- if (stacked) {
11167
- assignMergeValue(object, key, stacked);
11168
- return;
11169
- }
11170
- var newValue = customizer ? customizer(objValue, srcValue, key + "", object, source, stack) : void 0;
11171
- var isCommon = newValue === void 0;
11172
- if (isCommon) {
11173
- var isArr = isArray(srcValue), isBuff = !isArr && isBuffer(srcValue), isTyped = !isArr && !isBuff && isTypedArray(srcValue);
11174
- newValue = srcValue;
11175
- if (isArr || isBuff || isTyped) {
11176
- if (isArray(objValue)) {
11177
- newValue = objValue;
11178
- } else if (isArrayLikeObject(objValue)) {
11179
- newValue = copyArray(objValue);
11180
- } else if (isBuff) {
11181
- isCommon = false;
11182
- newValue = cloneBuffer(srcValue, true);
11183
- } else if (isTyped) {
11184
- isCommon = false;
11185
- newValue = cloneTypedArray(srcValue, true);
11186
- } else {
11187
- newValue = [];
11188
- }
11189
- } else if (isPlainObject2(srcValue) || isArguments(srcValue)) {
11190
- newValue = objValue;
11191
- if (isArguments(objValue)) {
11192
- newValue = toPlainObject(objValue);
11193
- } else if (!isObject(objValue) || isFunction2(objValue)) {
11194
- newValue = initCloneObject(srcValue);
11195
- }
11196
- } else {
11197
- isCommon = false;
11198
- }
11199
- }
11200
- if (isCommon) {
11201
- stack.set(srcValue, newValue);
11202
- mergeFunc(newValue, srcValue, srcIndex, customizer, stack);
11203
- stack["delete"](srcValue);
11204
- }
11205
- assignMergeValue(object, key, newValue);
11206
- }
11207
- function baseRest(func, start) {
11208
- return setToString(overRest(func, start, identity), func + "");
11209
- }
11210
- var baseSetToString = !defineProperty ? identity : function(func, string) {
11211
- return defineProperty(func, "toString", {
11212
- "configurable": true,
11213
- "enumerable": false,
11214
- "value": constant(string),
11215
- "writable": true
11216
- });
11217
- };
11218
- function cloneBuffer(buffer, isDeep) {
11219
- if (isDeep) {
11220
- return buffer.slice();
11221
- }
11222
- var length = buffer.length, result = allocUnsafe ? allocUnsafe(length) : new buffer.constructor(length);
11223
- buffer.copy(result);
11224
- return result;
11225
- }
11226
- function cloneArrayBuffer(arrayBuffer) {
11227
- var result = new arrayBuffer.constructor(arrayBuffer.byteLength);
11228
- new Uint8Array2(result).set(new Uint8Array2(arrayBuffer));
11229
- return result;
11230
- }
11231
- function cloneTypedArray(typedArray, isDeep) {
11232
- var buffer = isDeep ? cloneArrayBuffer(typedArray.buffer) : typedArray.buffer;
11233
- return new typedArray.constructor(buffer, typedArray.byteOffset, typedArray.length);
11234
- }
11235
- function copyArray(source, array) {
11236
- var index = -1, length = source.length;
11237
- array || (array = Array(length));
11238
- while (++index < length) {
11239
- array[index] = source[index];
11240
- }
11241
- return array;
11242
- }
11243
- function copyObject(source, props, object, customizer) {
11244
- var isNew = !object;
11245
- object || (object = {});
11246
- var index = -1, length = props.length;
11247
- while (++index < length) {
11248
- var key = props[index];
11249
- var newValue = customizer ? customizer(object[key], source[key], key, object, source) : void 0;
11250
- if (newValue === void 0) {
11251
- newValue = source[key];
11252
- }
11253
- if (isNew) {
11254
- baseAssignValue(object, key, newValue);
11255
- } else {
11256
- assignValue(object, key, newValue);
11257
- }
11258
- }
11259
- return object;
11260
- }
11261
- function createAssigner(assigner) {
11262
- return baseRest(function(object, sources) {
11263
- var index = -1, length = sources.length, customizer = length > 1 ? sources[length - 1] : void 0, guard = length > 2 ? sources[2] : void 0;
11264
- customizer = assigner.length > 3 && typeof customizer == "function" ? (length--, customizer) : void 0;
11265
- if (guard && isIterateeCall(sources[0], sources[1], guard)) {
11266
- customizer = length < 3 ? void 0 : customizer;
11267
- length = 1;
11268
- }
11269
- object = Object(object);
11270
- while (++index < length) {
11271
- var source = sources[index];
11272
- if (source) {
11273
- assigner(object, source, index, customizer);
11274
- }
11275
- }
11276
- return object;
11277
- });
11278
- }
11279
- function createBaseFor(fromRight) {
11280
- return function(object, iteratee, keysFunc) {
11281
- var index = -1, iterable = Object(object), props = keysFunc(object), length = props.length;
11282
- while (length--) {
11283
- var key = props[fromRight ? length : ++index];
11284
- if (iteratee(iterable[key], key, iterable) === false) {
11285
- break;
11286
- }
11287
- }
11288
- return object;
11289
- };
11290
- }
11291
- function getMapData(map, key) {
11292
- var data = map.__data__;
11293
- return isKeyable(key) ? data[typeof key == "string" ? "string" : "hash"] : data.map;
11294
- }
11295
- function getNative(object, key) {
11296
- var value = getValue(object, key);
11297
- return baseIsNative(value) ? value : void 0;
11298
- }
11299
- function getRawTag(value) {
11300
- var isOwn = hasOwnProperty3.call(value, symToStringTag), tag = value[symToStringTag];
11301
- try {
11302
- value[symToStringTag] = void 0;
11303
- var unmasked = true;
11304
- } catch (e2) {
11305
- }
11306
- var result = nativeObjectToString.call(value);
11307
- if (unmasked) {
11308
- if (isOwn) {
11309
- value[symToStringTag] = tag;
11310
- } else {
11311
- delete value[symToStringTag];
11312
- }
11313
- }
11314
- return result;
11315
- }
11316
- function initCloneObject(object) {
11317
- return typeof object.constructor == "function" && !isPrototype(object) ? baseCreate(getPrototype(object)) : {};
11318
- }
11319
- function isIndex(value, length) {
11320
- var type = typeof value;
11321
- length = length == null ? MAX_SAFE_INTEGER : length;
11322
- return !!length && (type == "number" || type != "symbol" && reIsUint.test(value)) && (value > -1 && value % 1 == 0 && value < length);
11323
- }
11324
- function isIterateeCall(value, index, object) {
11325
- if (!isObject(object)) {
11326
- return false;
11327
- }
11328
- var type = typeof index;
11329
- if (type == "number" ? isArrayLike(object) && isIndex(index, object.length) : type == "string" && index in object) {
11330
- return eq(object[index], value);
11331
- }
11332
- return false;
11333
- }
11334
- function isKeyable(value) {
11335
- var type = typeof value;
11336
- return type == "string" || type == "number" || type == "symbol" || type == "boolean" ? value !== "__proto__" : value === null;
11337
- }
11338
- function isMasked(func) {
11339
- return !!maskSrcKey && maskSrcKey in func;
11340
- }
11341
- function isPrototype(value) {
11342
- var Ctor = value && value.constructor, proto = typeof Ctor == "function" && Ctor.prototype || objectProto;
11343
- return value === proto;
11344
- }
11345
- function nativeKeysIn(object) {
11346
- var result = [];
11347
- if (object != null) {
11348
- for (var key in Object(object)) {
11349
- result.push(key);
11350
- }
11351
- }
11352
- return result;
11353
- }
11354
- function objectToString(value) {
11355
- return nativeObjectToString.call(value);
11356
- }
11357
- function overRest(func, start, transform) {
11358
- start = nativeMax(start === void 0 ? func.length - 1 : start, 0);
11359
- return function() {
11360
- var args = arguments, index = -1, length = nativeMax(args.length - start, 0), array = Array(length);
11361
- while (++index < length) {
11362
- array[index] = args[start + index];
11363
- }
11364
- index = -1;
11365
- var otherArgs = Array(start + 1);
11366
- while (++index < start) {
11367
- otherArgs[index] = args[index];
11368
- }
11369
- otherArgs[start] = transform(array);
11370
- return apply(func, this, otherArgs);
11371
- };
11372
- }
11373
- function safeGet(object, key) {
11374
- if (key === "constructor" && typeof object[key] === "function") {
11375
- return;
11376
- }
11377
- if (key == "__proto__") {
11378
- return;
11379
- }
11380
- return object[key];
11381
- }
11382
- var setToString = shortOut(baseSetToString);
11383
- function shortOut(func) {
11384
- var count = 0, lastCalled = 0;
11385
- return function() {
11386
- var stamp = nativeNow(), remaining = HOT_SPAN - (stamp - lastCalled);
11387
- lastCalled = stamp;
11388
- if (remaining > 0) {
11389
- if (++count >= HOT_COUNT) {
11390
- return arguments[0];
11391
- }
11392
- } else {
11393
- count = 0;
11394
- }
11395
- return func.apply(void 0, arguments);
11396
- };
11397
- }
11398
- function toSource(func) {
11399
- if (func != null) {
11400
- try {
11401
- return funcToString.call(func);
11402
- } catch (e2) {
11403
- }
11404
- try {
11405
- return func + "";
11406
- } catch (e2) {
11407
- }
11408
- }
11409
- return "";
11410
- }
11411
- function eq(value, other) {
11412
- return value === other || value !== value && other !== other;
11413
- }
11414
- var isArguments = baseIsArguments(/* @__PURE__ */ (function() {
11415
- return arguments;
11416
- })()) ? baseIsArguments : function(value) {
11417
- return isObjectLike2(value) && hasOwnProperty3.call(value, "callee") && !propertyIsEnumerable.call(value, "callee");
11418
- };
11419
- var isArray = Array.isArray;
11420
- function isArrayLike(value) {
11421
- return value != null && isLength(value.length) && !isFunction2(value);
11422
- }
11423
- function isArrayLikeObject(value) {
11424
- return isObjectLike2(value) && isArrayLike(value);
11425
- }
11426
- var isBuffer = nativeIsBuffer || stubFalse;
11427
- function isFunction2(value) {
11428
- if (!isObject(value)) {
11429
- return false;
11430
- }
11431
- var tag = baseGetTag(value);
11432
- return tag == funcTag || tag == genTag || tag == asyncTag || tag == proxyTag;
11433
- }
11434
- function isLength(value) {
11435
- return typeof value == "number" && value > -1 && value % 1 == 0 && value <= MAX_SAFE_INTEGER;
11436
- }
11437
- function isObject(value) {
11438
- var type = typeof value;
11439
- return value != null && (type == "object" || type == "function");
11440
- }
11441
- function isObjectLike2(value) {
11442
- return value != null && typeof value == "object";
11443
- }
11444
- function isPlainObject2(value) {
11445
- if (!isObjectLike2(value) || baseGetTag(value) != objectTag) {
11446
- return false;
11447
- }
11448
- var proto = getPrototype(value);
11449
- if (proto === null) {
11450
- return true;
11451
- }
11452
- var Ctor = hasOwnProperty3.call(proto, "constructor") && proto.constructor;
11453
- return typeof Ctor == "function" && Ctor instanceof Ctor && funcToString.call(Ctor) == objectCtorString;
11454
- }
11455
- var isTypedArray = nodeIsTypedArray ? baseUnary(nodeIsTypedArray) : baseIsTypedArray;
11456
- function toPlainObject(value) {
11457
- return copyObject(value, keysIn(value));
11458
- }
11459
- function keysIn(object) {
11460
- return isArrayLike(object) ? arrayLikeKeys(object, true) : baseKeysIn(object);
11461
- }
11462
- var mergeWith3 = createAssigner(function(object, source, srcIndex, customizer) {
11463
- baseMerge(object, source, srcIndex, customizer);
11464
- });
11465
- function constant(value) {
11466
- return function() {
11467
- return value;
11468
- };
11469
- }
11470
- function identity(value) {
11471
- return value;
11472
- }
11473
- function stubFalse() {
11474
- return false;
11475
- }
11476
- module.exports = mergeWith3;
11477
- }
11478
- });
11479
-
11480
9267
  // node_modules/resolve-from/index.js
11481
9268
  var require_resolve_from = __commonJS({
11482
9269
  "node_modules/resolve-from/index.js"(exports, module) {
@@ -12536,7 +10323,7 @@ var require_exception = __commonJS({
12536
10323
  }
12537
10324
  YAMLException.prototype = Object.create(Error.prototype);
12538
10325
  YAMLException.prototype.constructor = YAMLException;
12539
- YAMLException.prototype.toString = function toString(compact) {
10326
+ YAMLException.prototype.toString = function toString2(compact) {
12540
10327
  return this.name + ": " + formatError(this, compact);
12541
10328
  };
12542
10329
  module.exports = YAMLException;
@@ -17006,10 +14793,10 @@ var require_source_map = __commonJS({
17006
14793
  // node_modules/buffer-from/index.js
17007
14794
  var require_buffer_from = __commonJS({
17008
14795
  "node_modules/buffer-from/index.js"(exports, module) {
17009
- var toString = Object.prototype.toString;
14796
+ var toString2 = Object.prototype.toString;
17010
14797
  var isModern = typeof Buffer !== "undefined" && typeof Buffer.alloc === "function" && typeof Buffer.allocUnsafe === "function" && typeof Buffer.from === "function";
17011
14798
  function isArrayBuffer(input) {
17012
- return toString.call(input).slice(8, -1) === "ArrayBuffer";
14799
+ return toString2.call(input).slice(8, -1) === "ArrayBuffer";
17013
14800
  }
17014
14801
  function fromArrayBuffer(obj, byteOffset, length) {
17015
14802
  byteOffset >>>= 0;
@@ -17758,7 +15545,7 @@ var require_typescript = __commonJS({
17758
15545
  clearMap: () => clearMap,
17759
15546
  clearSharedExtendedConfigFileWatcher: () => clearSharedExtendedConfigFileWatcher,
17760
15547
  climbPastPropertyAccess: () => climbPastPropertyAccess,
17761
- clone: () => clone,
15548
+ clone: () => clone2,
17762
15549
  cloneCompilerOptions: () => cloneCompilerOptions,
17763
15550
  closeFileWatcher: () => closeFileWatcher,
17764
15551
  closeFileWatcherOf: () => closeFileWatcherOf,
@@ -17822,7 +15609,7 @@ var require_typescript = __commonJS({
17822
15609
  copyComments: () => copyComments,
17823
15610
  copyEntries: () => copyEntries,
17824
15611
  copyLeadingComments: () => copyLeadingComments,
17825
- copyProperties: () => copyProperties,
15612
+ copyProperties: () => copyProperties2,
17826
15613
  copyTrailingAsLeadingComments: () => copyTrailingAsLeadingComments,
17827
15614
  copyTrailingComments: () => copyTrailingComments,
17828
15615
  couldStartTrivia: () => couldStartTrivia,
@@ -19380,7 +17167,7 @@ var require_typescript = __commonJS({
19380
17167
  nodePosToString: () => nodePosToString,
19381
17168
  nodeSeenTracker: () => nodeSeenTracker,
19382
17169
  nodeStartsNewLexicalEnvironment: () => nodeStartsNewLexicalEnvironment,
19383
- noop: () => noop,
17170
+ noop: () => noop2,
19384
17171
  noopFileWatcher: () => noopFileWatcher,
19385
17172
  normalizePath: () => normalizePath,
19386
17173
  normalizeSlashes: () => normalizeSlashes,
@@ -19760,7 +17547,7 @@ var require_typescript = __commonJS({
19760
17547
  });
19761
17548
  module2.exports = __toCommonJS(typescript_exports);
19762
17549
  var versionMajorMinor = "6.0";
19763
- var version = "6.0.2";
17550
+ var version = "6.0.3";
19764
17551
  var Comparison = /* @__PURE__ */ ((Comparison3) => {
19765
17552
  Comparison3[Comparison3["LessThan"] = -1] = "LessThan";
19766
17553
  Comparison3[Comparison3["EqualTo"] = 0] = "EqualTo";
@@ -20612,7 +18399,7 @@ var require_typescript = __commonJS({
20612
18399
  }
20613
18400
  return result;
20614
18401
  }
20615
- function clone(object) {
18402
+ function clone2(object) {
20616
18403
  const result = {};
20617
18404
  for (const id in object) {
20618
18405
  if (hasOwnProperty3.call(object, id)) {
@@ -20635,7 +18422,7 @@ var require_typescript = __commonJS({
20635
18422
  }
20636
18423
  return result;
20637
18424
  }
20638
- function copyProperties(first2, second) {
18425
+ function copyProperties2(first2, second) {
20639
18426
  for (const id in second) {
20640
18427
  if (hasOwnProperty3.call(second, id)) {
20641
18428
  first2[id] = second[id];
@@ -20830,7 +18617,7 @@ var require_typescript = __commonJS({
20830
18617
  if (value !== void 0 && test2(value)) return value;
20831
18618
  return Debug.fail(`Invalid cast. The supplied value ${value} did not pass the test '${Debug.getFunctionName(test2)}'.`);
20832
18619
  }
20833
- function noop(_2) {
18620
+ function noop2(_2) {
20834
18621
  }
20835
18622
  function returnFalse() {
20836
18623
  return false;
@@ -21165,7 +18952,7 @@ var require_typescript = __commonJS({
21165
18952
  return t2 === void 0 ? void 0 : [t2];
21166
18953
  }
21167
18954
  function enumerateInsertsAndDeletes(newItems, oldItems, comparer, inserted, deleted, unchanged) {
21168
- unchanged ?? (unchanged = noop);
18955
+ unchanged ?? (unchanged = noop2);
21169
18956
  let newIndex = 0;
21170
18957
  let oldIndex = 0;
21171
18958
  const newLen = newItems.length;
@@ -21319,7 +19106,7 @@ var require_typescript = __commonJS({
21319
19106
  function shouldAssertFunction(level, name) {
21320
19107
  if (!shouldAssert(level)) {
21321
19108
  assertionCache[name] = { level, assertion: Debug2[name] };
21322
- Debug2[name] = noop;
19109
+ Debug2[name] = noop2;
21323
19110
  return false;
21324
19111
  }
21325
19112
  return true;
@@ -22640,7 +20427,7 @@ ${lanes.join("\n")}
22640
20427
  }
22641
20428
  }
22642
20429
  }
22643
- var nullTimer = { enter: noop, exit: noop };
20430
+ var nullTimer = { enter: noop2, exit: noop2 };
22644
20431
  var enabled = false;
22645
20432
  var timeorigin = timestamp();
22646
20433
  var marks = /* @__PURE__ */ new Map();
@@ -25409,7 +23196,7 @@ ${lanes.join("\n")}
25409
23196
  return oldTime === 0 ? 0 : newTime === 0 ? 2 : 1;
25410
23197
  }
25411
23198
  var ignoredPaths = ["/node_modules/.", "/.git", "/.#"];
25412
- var curSysLog = noop;
23199
+ var curSysLog = noop2;
25413
23200
  function sysLog(s2) {
25414
23201
  return curSysLog(s2);
25415
23202
  }
@@ -34207,8 +31994,8 @@ ${lanes.join("\n")}
34207
31994
  // Completely ignore indentation for string writers. And map newlines to
34208
31995
  // a single space.
34209
31996
  writeLine: () => str += " ",
34210
- increaseIndent: noop,
34211
- decreaseIndent: noop,
31997
+ increaseIndent: noop2,
31998
+ decreaseIndent: noop2,
34212
31999
  clear: () => str = ""
34213
32000
  };
34214
32001
  }
@@ -42428,23 +40215,23 @@ ${lanes.join("\n")}
42428
40215
  return forEachPropertyAssignment(optionsObject, name, callback);
42429
40216
  }
42430
40217
  function getSynthesizedDeepClone(node, includeTrivia = true) {
42431
- const clone2 = node && getSynthesizedDeepCloneWorker(node);
42432
- if (clone2 && !includeTrivia) suppressLeadingAndTrailingTrivia(clone2);
40218
+ const clone22 = node && getSynthesizedDeepCloneWorker(node);
40219
+ if (clone22 && !includeTrivia) suppressLeadingAndTrailingTrivia(clone22);
42433
40220
  return setParentRecursive(
42434
- clone2,
40221
+ clone22,
42435
40222
  /*incremental*/
42436
40223
  false
42437
40224
  );
42438
40225
  }
42439
40226
  function getSynthesizedDeepCloneWithReplacements(node, includeTrivia, replaceNode) {
42440
- let clone2 = replaceNode(node);
42441
- if (clone2) {
42442
- setOriginalNode(clone2, node);
40227
+ let clone22 = replaceNode(node);
40228
+ if (clone22) {
40229
+ setOriginalNode(clone22, node);
42443
40230
  } else {
42444
- clone2 = getSynthesizedDeepCloneWorker(node, replaceNode);
40231
+ clone22 = getSynthesizedDeepCloneWorker(node, replaceNode);
42445
40232
  }
42446
- if (clone2 && !includeTrivia) suppressLeadingAndTrailingTrivia(clone2);
42447
- return clone2;
40233
+ if (clone22 && !includeTrivia) suppressLeadingAndTrailingTrivia(clone22);
40234
+ return clone22;
42448
40235
  }
42449
40236
  function getSynthesizedDeepCloneWorker(node, replaceNode) {
42450
40237
  const nodeClone = replaceNode ? (n2) => getSynthesizedDeepCloneWithReplacements(
@@ -42468,8 +40255,8 @@ ${lanes.join("\n")}
42468
40255
  nodeClone
42469
40256
  );
42470
40257
  if (visited === node) {
42471
- const clone2 = isStringLiteral(node) ? setOriginalNode(factory.createStringLiteralFromNode(node), node) : isNumericLiteral(node) ? setOriginalNode(factory.createNumericLiteral(node.text, node.numericLiteralFlags), node) : factory.cloneNode(node);
42472
- return setTextRange(clone2, node);
40258
+ const clone22 = isStringLiteral(node) ? setOriginalNode(factory.createStringLiteralFromNode(node), node) : isNumericLiteral(node) ? setOriginalNode(factory.createNumericLiteral(node.text, node.numericLiteralFlags), node) : factory.cloneNode(node);
40259
+ return setTextRange(clone22, node);
42473
40260
  }
42474
40261
  visited.parent = void 0;
42475
40262
  return visited;
@@ -47525,39 +45312,39 @@ ${lanes.join("\n")}
47525
45312
  return node.expression !== expression || node.thisArg !== thisArg ? update(createSyntheticReferenceExpression(expression, thisArg), node) : node;
47526
45313
  }
47527
45314
  function cloneGeneratedIdentifier(node) {
47528
- const clone2 = createBaseIdentifier(node.escapedText);
47529
- clone2.flags |= node.flags & ~16;
47530
- clone2.transformFlags = node.transformFlags;
47531
- setOriginal(clone2, node);
47532
- setIdentifierAutoGenerate(clone2, { ...node.emitNode.autoGenerate });
47533
- return clone2;
45315
+ const clone22 = createBaseIdentifier(node.escapedText);
45316
+ clone22.flags |= node.flags & ~16;
45317
+ clone22.transformFlags = node.transformFlags;
45318
+ setOriginal(clone22, node);
45319
+ setIdentifierAutoGenerate(clone22, { ...node.emitNode.autoGenerate });
45320
+ return clone22;
47534
45321
  }
47535
45322
  function cloneIdentifier(node) {
47536
- const clone2 = createBaseIdentifier(node.escapedText);
47537
- clone2.flags |= node.flags & ~16;
47538
- clone2.jsDoc = node.jsDoc;
47539
- clone2.flowNode = node.flowNode;
47540
- clone2.symbol = node.symbol;
47541
- clone2.transformFlags = node.transformFlags;
47542
- setOriginal(clone2, node);
45323
+ const clone22 = createBaseIdentifier(node.escapedText);
45324
+ clone22.flags |= node.flags & ~16;
45325
+ clone22.jsDoc = node.jsDoc;
45326
+ clone22.flowNode = node.flowNode;
45327
+ clone22.symbol = node.symbol;
45328
+ clone22.transformFlags = node.transformFlags;
45329
+ setOriginal(clone22, node);
47543
45330
  const typeArguments = getIdentifierTypeArguments(node);
47544
- if (typeArguments) setIdentifierTypeArguments(clone2, typeArguments);
47545
- return clone2;
45331
+ if (typeArguments) setIdentifierTypeArguments(clone22, typeArguments);
45332
+ return clone22;
47546
45333
  }
47547
45334
  function cloneGeneratedPrivateIdentifier(node) {
47548
- const clone2 = createBasePrivateIdentifier(node.escapedText);
47549
- clone2.flags |= node.flags & ~16;
47550
- clone2.transformFlags = node.transformFlags;
47551
- setOriginal(clone2, node);
47552
- setIdentifierAutoGenerate(clone2, { ...node.emitNode.autoGenerate });
47553
- return clone2;
45335
+ const clone22 = createBasePrivateIdentifier(node.escapedText);
45336
+ clone22.flags |= node.flags & ~16;
45337
+ clone22.transformFlags = node.transformFlags;
45338
+ setOriginal(clone22, node);
45339
+ setIdentifierAutoGenerate(clone22, { ...node.emitNode.autoGenerate });
45340
+ return clone22;
47554
45341
  }
47555
45342
  function clonePrivateIdentifier(node) {
47556
- const clone2 = createBasePrivateIdentifier(node.escapedText);
47557
- clone2.flags |= node.flags & ~16;
47558
- clone2.transformFlags = node.transformFlags;
47559
- setOriginal(clone2, node);
47560
- return clone2;
45343
+ const clone22 = createBasePrivateIdentifier(node.escapedText);
45344
+ clone22.flags |= node.flags & ~16;
45345
+ clone22.transformFlags = node.transformFlags;
45346
+ setOriginal(clone22, node);
45347
+ return clone22;
47561
45348
  }
47562
45349
  function cloneNode(node) {
47563
45350
  if (node === void 0) {
@@ -47578,17 +45365,17 @@ ${lanes.join("\n")}
47578
45365
  if (isPrivateIdentifier(node)) {
47579
45366
  return clonePrivateIdentifier(node);
47580
45367
  }
47581
- const clone2 = !isNodeKind(node.kind) ? baseFactory2.createBaseTokenNode(node.kind) : baseFactory2.createBaseNode(node.kind);
47582
- clone2.flags |= node.flags & ~16;
47583
- clone2.transformFlags = node.transformFlags;
47584
- setOriginal(clone2, node);
45368
+ const clone22 = !isNodeKind(node.kind) ? baseFactory2.createBaseTokenNode(node.kind) : baseFactory2.createBaseNode(node.kind);
45369
+ clone22.flags |= node.flags & ~16;
45370
+ clone22.transformFlags = node.transformFlags;
45371
+ setOriginal(clone22, node);
47585
45372
  for (const key in node) {
47586
- if (hasProperty(clone2, key) || !hasProperty(node, key)) {
45373
+ if (hasProperty(clone22, key) || !hasProperty(node, key)) {
47587
45374
  continue;
47588
45375
  }
47589
- clone2[key] = node[key];
45376
+ clone22[key] = node[key];
47590
45377
  }
47591
- return clone2;
45378
+ return clone22;
47592
45379
  }
47593
45380
  function createImmediatelyInvokedFunctionExpression(statements, param, paramValue) {
47594
45381
  return createCallExpression(
@@ -52710,7 +50497,7 @@ ${lanes.join("\n")}
52710
50497
  void 0,
52711
50498
  setParentNodes,
52712
50499
  6,
52713
- noop,
50500
+ noop2,
52714
50501
  jsDocParsingMode
52715
50502
  );
52716
50503
  } else {
@@ -52989,7 +50776,7 @@ ${lanes.join("\n")}
52989
50776
  statements,
52990
50777
  endOfFileToken,
52991
50778
  sourceFlags,
52992
- noop
50779
+ noop2
52993
50780
  );
52994
50781
  if (setParentNodes) {
52995
50782
  fixupParentReferences(sourceFile);
@@ -59534,7 +57321,7 @@ ${lanes.join("\n")}
59534
57321
  /* EndOfFileToken */
59535
57322
  ),
59536
57323
  0,
59537
- noop
57324
+ noop2
59538
57325
  );
59539
57326
  const diagnostics = attachFileToDiagnostics(parseDiagnostics, sourceFile);
59540
57327
  if (jsDocDiagnostics) {
@@ -66032,7 +63819,7 @@ ${lanes.join("\n")}
66032
63819
  const diagnosticState = {
66033
63820
  ...state,
66034
63821
  features: state.features & ~8,
66035
- reportDiagnostic: noop
63822
+ reportDiagnostic: noop2
66036
63823
  };
66037
63824
  const diagnosticResult = tryResolve(extensions & (1 | 4), diagnosticState);
66038
63825
  if ((_b2 = diagnosticResult == null ? void 0 : diagnosticResult.value) == null ? void 0 : _b2.isExternalLibraryImport) {
@@ -66050,7 +63837,7 @@ ${lanes.join("\n")}
66050
63837
  compilerOptions: diagnosticsCompilerOptions,
66051
63838
  features: 94,
66052
63839
  conditions: getConditions(diagnosticsCompilerOptions),
66053
- reportDiagnostic: noop
63840
+ reportDiagnostic: noop2
66054
63841
  };
66055
63842
  const diagnosticResult = tryResolve(extensions & (1 | 4), diagnosticState);
66056
63843
  if ((_c2 = diagnosticResult == null ? void 0 : diagnosticResult.value) == null ? void 0 : _c2.isExternalLibraryImport) {
@@ -66509,7 +64296,7 @@ ${lanes.join("\n")}
66509
64296
  features: 0,
66510
64297
  conditions: emptyArray,
66511
64298
  requestContainingDirectory: void 0,
66512
- reportDiagnostic: noop,
64299
+ reportDiagnostic: noop2,
66513
64300
  isConfigLookup: false,
66514
64301
  candidateIsFromPackageJsonField: false,
66515
64302
  resolvedPackageDirectory: false
@@ -70798,6 +68585,8 @@ ${lanes.join("\n")}
70798
68585
  return 1 | 4 | 32 | 8 | 16 | 256;
70799
68586
  case 269:
70800
68587
  return 4;
68588
+ case 173:
68589
+ return node.initializer ? 4 : 0;
70801
68590
  case 300:
70802
68591
  case 249:
70803
68592
  case 250:
@@ -80029,9 +77818,9 @@ ${lanes.join("\n")}
80029
77818
  function serializeExistingTypeNode(context, typeNode, addUndefined) {
80030
77819
  const type = getTypeFromTypeNode2(context, typeNode);
80031
77820
  if (addUndefined && !someType(type, (t2) => !!(t2.flags & 4)) && canReuseTypeNode(context, typeNode)) {
80032
- const clone2 = syntacticNodeBuilder.tryReuseExistingTypeNode(context, typeNode);
80033
- if (clone2) {
80034
- return factory.createUnionTypeNode([clone2, factory.createKeywordTypeNode(
77821
+ const clone22 = syntacticNodeBuilder.tryReuseExistingTypeNode(context, typeNode);
77822
+ if (clone22) {
77823
+ return factory.createUnionTypeNode([clone22, factory.createKeywordTypeNode(
80035
77824
  157
80036
77825
  /* UndefinedKeyword */
80037
77826
  )]);
@@ -84969,9 +82758,9 @@ ${lanes.join("\n")}
84969
82758
  );
84970
82759
  if (signatures.length && mixinCount > 0) {
84971
82760
  signatures = map(signatures, (s2) => {
84972
- const clone2 = cloneSignature(s2);
84973
- clone2.resolvedReturnType = includeMixinType(getReturnTypeOfSignature(s2), types, mixinFlags, i2);
84974
- return clone2;
82761
+ const clone22 = cloneSignature(s2);
82762
+ clone22.resolvedReturnType = includeMixinType(getReturnTypeOfSignature(s2), types, mixinFlags, i2);
82763
+ return clone22;
84975
82764
  });
84976
82765
  }
84977
82766
  constructSignatures = appendSignatures(constructSignatures, signatures);
@@ -85932,12 +83721,12 @@ ${lanes.join("\n")}
85932
83721
  if (!propSet && !(checkFlags & 16) && !indexTypes) {
85933
83722
  if (mergedInstantiations) {
85934
83723
  const links = (_a2 = tryCast(singleProp, isTransientSymbol)) == null ? void 0 : _a2.links;
85935
- const clone2 = createSymbolWithType(singleProp, links == null ? void 0 : links.type);
85936
- clone2.parent = (_c2 = (_b2 = singleProp.valueDeclaration) == null ? void 0 : _b2.symbol) == null ? void 0 : _c2.parent;
85937
- clone2.links.containingType = containingType;
85938
- clone2.links.mapper = links == null ? void 0 : links.mapper;
85939
- clone2.links.writeType = getWriteTypeOfSymbol(singleProp);
85940
- return clone2;
83724
+ const clone22 = createSymbolWithType(singleProp, links == null ? void 0 : links.type);
83725
+ clone22.parent = (_c2 = (_b2 = singleProp.valueDeclaration) == null ? void 0 : _b2.symbol) == null ? void 0 : _c2.parent;
83726
+ clone22.links.containingType = containingType;
83727
+ clone22.links.mapper = links == null ? void 0 : links.mapper;
83728
+ clone22.links.writeType = getWriteTypeOfSymbol(singleProp);
83729
+ return clone22;
85941
83730
  } else {
85942
83731
  return singleProp;
85943
83732
  }
@@ -126216,15 +124005,15 @@ ${lanes.join("\n")}
126216
124005
  );
126217
124006
  }
126218
124007
  function createCopiableReceiverExpr(receiver) {
126219
- const clone2 = nodeIsSynthesized(receiver) ? receiver : factory2.cloneNode(receiver);
124008
+ const clone22 = nodeIsSynthesized(receiver) ? receiver : factory2.cloneNode(receiver);
126220
124009
  if (receiver.kind === 110 && noSubstitution.has(receiver)) {
126221
- noSubstitution.add(clone2);
124010
+ noSubstitution.add(clone22);
126222
124011
  }
126223
124012
  if (isSimpleInlineableExpression(receiver)) {
126224
- return { readExpression: clone2, initializeExpression: void 0 };
124013
+ return { readExpression: clone22, initializeExpression: void 0 };
126225
124014
  }
126226
124015
  const readExpression = factory2.createTempVariable(hoistVariableDeclaration);
126227
- const initializeExpression = factory2.createAssignment(readExpression, clone2);
124016
+ const initializeExpression = factory2.createAssignment(readExpression, clone22);
126228
124017
  return { readExpression, initializeExpression };
126229
124018
  }
126230
124019
  function visitCallExpression(node) {
@@ -127787,10 +125576,10 @@ ${lanes.join("\n")}
127787
125576
  if (declaration) {
127788
125577
  const classAlias = classAliases[declaration.id];
127789
125578
  if (classAlias) {
127790
- const clone2 = factory2.cloneNode(classAlias);
127791
- setSourceMapRange(clone2, node);
127792
- setCommentRange(clone2, node);
127793
- return clone2;
125579
+ const clone22 = factory2.cloneNode(classAlias);
125580
+ setSourceMapRange(clone22, node);
125581
+ setCommentRange(clone22, node);
125582
+ return clone22;
127794
125583
  }
127795
125584
  }
127796
125585
  }
@@ -128759,10 +126548,10 @@ ${lanes.join("\n")}
128759
126548
  if (declaration) {
128760
126549
  const classAlias = classAliases[declaration.id];
128761
126550
  if (classAlias) {
128762
- const clone2 = factory2.cloneNode(classAlias);
128763
- setSourceMapRange(clone2, node);
128764
- setCommentRange(clone2, node);
128765
- return clone2;
126551
+ const clone22 = factory2.cloneNode(classAlias);
126552
+ setSourceMapRange(clone22, node);
126553
+ setCommentRange(clone22, node);
126554
+ return clone22;
128766
126555
  }
128767
126556
  }
128768
126557
  }
@@ -137538,16 +135327,16 @@ ${lanes.join("\n")}
137538
135327
  if (convert) {
137539
135328
  loop = convert(node, outermostLabeledStatement, bodyFunction.part, ancestorFacts);
137540
135329
  } else {
137541
- const clone2 = convertIterationStatementCore(node, initializerFunction, factory2.createBlock(
135330
+ const clone22 = convertIterationStatementCore(node, initializerFunction, factory2.createBlock(
137542
135331
  bodyFunction.part,
137543
135332
  /*multiLine*/
137544
135333
  true
137545
135334
  ));
137546
- loop = factory2.restoreEnclosingLabel(clone2, outermostLabeledStatement, convertedLoopState && resetLabel);
135335
+ loop = factory2.restoreEnclosingLabel(clone22, outermostLabeledStatement, convertedLoopState && resetLabel);
137547
135336
  }
137548
135337
  } else {
137549
- const clone2 = convertIterationStatementCore(node, initializerFunction, Debug.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock)));
137550
- loop = factory2.restoreEnclosingLabel(clone2, outermostLabeledStatement, convertedLoopState && resetLabel);
135338
+ const clone22 = convertIterationStatementCore(node, initializerFunction, Debug.checkDefined(visitNode(node.statement, visitor, isStatement, factory2.liftToBlock)));
135339
+ loop = factory2.restoreEnclosingLabel(clone22, outermostLabeledStatement, convertedLoopState && resetLabel);
137551
135340
  }
137552
135341
  statements.push(loop);
137553
135342
  return statements;
@@ -139931,10 +137720,10 @@ ${lanes.join("\n")}
139931
137720
  if (declaration) {
139932
137721
  const name = renamedCatchVariableDeclarations[getOriginalNodeId(declaration)];
139933
137722
  if (name) {
139934
- const clone2 = setParent(setTextRange(factory2.cloneNode(name), name), name.parent);
139935
- setSourceMapRange(clone2, node);
139936
- setCommentRange(clone2, node);
139937
- return clone2;
137723
+ const clone22 = setParent(setTextRange(factory2.cloneNode(name), name), name.parent);
137724
+ setSourceMapRange(clone22, node);
137725
+ setCommentRange(clone22, node);
137726
+ return clone22;
139938
137727
  }
139939
137728
  }
139940
137729
  }
@@ -147399,27 +145188,27 @@ ${lanes.join("\n")}
147399
145188
  getEmitResolver: notImplemented,
147400
145189
  getEmitHost: notImplemented,
147401
145190
  getEmitHelperFactory: notImplemented,
147402
- startLexicalEnvironment: noop,
147403
- resumeLexicalEnvironment: noop,
147404
- suspendLexicalEnvironment: noop,
145191
+ startLexicalEnvironment: noop2,
145192
+ resumeLexicalEnvironment: noop2,
145193
+ suspendLexicalEnvironment: noop2,
147405
145194
  endLexicalEnvironment: returnUndefined,
147406
- setLexicalEnvironmentFlags: noop,
145195
+ setLexicalEnvironmentFlags: noop2,
147407
145196
  getLexicalEnvironmentFlags: () => 0,
147408
- hoistVariableDeclaration: noop,
147409
- hoistFunctionDeclaration: noop,
147410
- addInitializationStatement: noop,
147411
- startBlockScope: noop,
145197
+ hoistVariableDeclaration: noop2,
145198
+ hoistFunctionDeclaration: noop2,
145199
+ addInitializationStatement: noop2,
145200
+ startBlockScope: noop2,
147412
145201
  endBlockScope: returnUndefined,
147413
- addBlockScopedVariable: noop,
147414
- requestEmitHelper: noop,
145202
+ addBlockScopedVariable: noop2,
145203
+ requestEmitHelper: noop2,
147415
145204
  readEmitHelpers: notImplemented,
147416
- enableSubstitution: noop,
147417
- enableEmitNotification: noop,
145205
+ enableSubstitution: noop2,
145206
+ enableEmitNotification: noop2,
147418
145207
  isSubstitutionEnabled: notImplemented,
147419
145208
  isEmitNotificationEnabled: notImplemented,
147420
145209
  onSubstituteNode: noEmitSubstitution,
147421
145210
  onEmitNode: noEmitNotification,
147422
- addDiagnostic: noop
145211
+ addDiagnostic: noop2
147423
145212
  };
147424
145213
  var brackets = createBracketsMap();
147425
145214
  function isBuildInfoFile(file) {
@@ -153189,7 +150978,7 @@ ${lanes.join("\n")}
153189
150978
  return WatchLogLevel2;
153190
150979
  })(WatchLogLevel || {});
153191
150980
  function getWatchFactory(host, watchLogLevel, log, getDetailWatchInfo2) {
153192
- setSysLog(watchLogLevel === 2 ? log : noop);
150981
+ setSysLog(watchLogLevel === 2 ? log : noop2);
153193
150982
  const plainInvokeFactory = {
153194
150983
  watchFile: (file, callback, pollingInterval, options) => host.watchFile(file, callback, pollingInterval, options),
153195
150984
  watchDirectory: (directory, callback, flags, options) => host.watchDirectory(directory, callback, (flags & 1) !== 0, options)
@@ -155514,7 +153303,7 @@ ${lanes.join("\n")}
155514
153303
  function getDeclarationDiagnosticsForFileNoCache(sourceFile, cancellationToken) {
155515
153304
  return runWithCancellationToken(() => {
155516
153305
  const resolver = getTypeChecker().getEmitResolver(sourceFile, cancellationToken);
155517
- return getDeclarationDiagnostics(getEmitHost(noop), resolver, sourceFile) || emptyArray;
153306
+ return getDeclarationDiagnostics(getEmitHost(noop2), resolver, sourceFile) || emptyArray;
155518
153307
  });
155519
153308
  }
155520
153309
  function getDeclarationDiagnosticsForFile(sourceFile, cancellationToken) {
@@ -157053,7 +154842,7 @@ ${lanes.join("\n")}
157053
154842
  const originalDirectoryExists = host.compilerHost.directoryExists;
157054
154843
  const originalGetDirectories = host.compilerHost.getDirectories;
157055
154844
  const originalRealpath = host.compilerHost.realpath;
157056
- if (!host.useSourceOfProjectReferenceRedirect) return { onProgramCreateComplete: noop, fileExists: fileExists2 };
154845
+ if (!host.useSourceOfProjectReferenceRedirect) return { onProgramCreateComplete: noop2, fileExists: fileExists2 };
157057
154846
  host.compilerHost.fileExists = fileExists2;
157058
154847
  let directoryExists;
157059
154848
  if (originalDirectoryExists) {
@@ -159379,7 +157168,7 @@ ${lanes.join("\n")}
159379
157168
  state,
159380
157169
  getProgram: notImplemented,
159381
157170
  getProgramOrUndefined: returnUndefined,
159382
- releaseProgram: noop,
157171
+ releaseProgram: noop2,
159383
157172
  getCompilerOptions: () => state.compilerOptions,
159384
157173
  getSourceFile: notImplemented,
159385
157174
  getSourceFiles: notImplemented,
@@ -159395,7 +157184,7 @@ ${lanes.join("\n")}
159395
157184
  emitNextAffectedFile: notImplemented,
159396
157185
  getSemanticDiagnosticsOfNextAffectedFile: notImplemented,
159397
157186
  emitBuildInfo: notImplemented,
159398
- close: noop,
157187
+ close: noop2,
159399
157188
  hasChangedEmitSignature: returnFalse
159400
157189
  };
159401
157190
  function toPathInBuildInfoDirectory(path11) {
@@ -159493,7 +157282,7 @@ ${lanes.join("\n")}
159493
157282
  emitBuildInfo: (writeFile22, cancellationToken) => getProgram().emitBuildInfo(writeFile22, cancellationToken),
159494
157283
  getAllDependencies: notImplemented,
159495
157284
  getCurrentDirectory: () => getProgram().getCurrentDirectory(),
159496
- close: noop
157285
+ close: noop2
159497
157286
  };
159498
157287
  function getProgram() {
159499
157288
  return Debug.checkDefined(state.program);
@@ -161123,7 +158912,7 @@ ${lanes.join("\n")}
161123
158912
  }
161124
158913
  return 0;
161125
158914
  }
161126
- var noopFileWatcher = { close: noop };
158915
+ var noopFileWatcher = { close: noop2 };
161127
158916
  var returnNoopFileWatcher = () => noopFileWatcher;
161128
158917
  function createWatchHost(system = sys, reportWatchStatus2) {
161129
158918
  const onWatchStatusChange = reportWatchStatus2 || createWatchStatusReporter(system);
@@ -161131,8 +158920,8 @@ ${lanes.join("\n")}
161131
158920
  onWatchStatusChange,
161132
158921
  watchFile: maybeBind(system, system.watchFile) || returnNoopFileWatcher,
161133
158922
  watchDirectory: maybeBind(system, system.watchDirectory) || returnNoopFileWatcher,
161134
- setTimeout: maybeBind(system, system.setTimeout) || noop,
161135
- clearTimeout: maybeBind(system, system.clearTimeout) || noop,
158923
+ setTimeout: maybeBind(system, system.setTimeout) || noop2,
158924
+ clearTimeout: maybeBind(system, system.clearTimeout) || noop2,
161136
158925
  preferNonRecursiveWatch: system.preferNonRecursiveWatch
161137
158926
  };
161138
158927
  }
@@ -161161,7 +158950,7 @@ ${lanes.join("\n")}
161161
158950
  };
161162
158951
  function createWatchFactory(host, options) {
161163
158952
  const watchLogLevel = host.trace ? options.extendedDiagnostics ? 2 : options.diagnostics ? 1 : 0 : 0;
161164
- const writeLog = watchLogLevel !== 0 ? ((s2) => host.trace(s2)) : noop;
158953
+ const writeLog = watchLogLevel !== 0 ? ((s2) => host.trace(s2)) : noop2;
161165
158954
  const result = getWatchFactory(host, watchLogLevel, writeLog);
161166
158955
  result.writeLog = writeLog;
161167
158956
  return result;
@@ -161269,7 +159058,7 @@ ${lanes.join("\n")}
161269
159058
  function createWatchCompilerHost(system = sys, createProgram2, reportDiagnostic, reportWatchStatus2) {
161270
159059
  const write = (s2) => system.write(s2 + system.newLine);
161271
159060
  const result = createProgramHost(system, createProgram2);
161272
- copyProperties(result, createWatchHost(system, reportWatchStatus2));
159061
+ copyProperties2(result, createWatchHost(system, reportWatchStatus2));
161273
159062
  result.afterProgramCreate = (builderProgram) => {
161274
159063
  const compilerOptions = builderProgram.getCompilerOptions();
161275
159064
  const newLine = getNewLineCharacter(compilerOptions);
@@ -161884,7 +159673,7 @@ ${lanes.join("\n")}
161884
159673
  }
161885
159674
  function getParsedCommandLineFromConfigFileHost(configFileName2) {
161886
159675
  const onUnRecoverableConfigFileDiagnostic = parseConfigFileHost.onUnRecoverableConfigFileDiagnostic;
161887
- parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop;
159676
+ parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop2;
161888
159677
  const parsedCommandLine = getParsedCommandLineOfConfigFile(
161889
159678
  configFileName2,
161890
159679
  /*optionsToExtend*/
@@ -162141,8 +159930,8 @@ ${lanes.join("\n")}
162141
159930
  function createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus) {
162142
159931
  const host = createProgramHost(system, createProgram2);
162143
159932
  host.getModifiedTime = system.getModifiedTime ? (path11) => system.getModifiedTime(path11) : returnUndefined;
162144
- host.setModifiedTime = system.setModifiedTime ? (path11, date) => system.setModifiedTime(path11, date) : noop;
162145
- host.deleteFile = system.deleteFile ? (path11) => system.deleteFile(path11) : noop;
159933
+ host.setModifiedTime = system.setModifiedTime ? (path11, date) => system.setModifiedTime(path11, date) : noop2;
159934
+ host.deleteFile = system.deleteFile ? (path11) => system.deleteFile(path11) : noop2;
162146
159935
  host.reportDiagnostic = reportDiagnostic || createDiagnosticReporter(system);
162147
159936
  host.reportSolutionBuilderStatus = reportSolutionBuilderStatus || createBuilderStatusReporter(system);
162148
159937
  host.now = maybeBind(system, system.now);
@@ -162156,7 +159945,7 @@ ${lanes.join("\n")}
162156
159945
  function createSolutionBuilderWithWatchHost(system = sys, createProgram2, reportDiagnostic, reportSolutionBuilderStatus, reportWatchStatus2) {
162157
159946
  const host = createSolutionBuilderHostBase(system, createProgram2, reportDiagnostic, reportSolutionBuilderStatus);
162158
159947
  const watchHost = createWatchHost(system, reportWatchStatus2);
162159
- copyProperties(host, watchHost);
159948
+ copyProperties2(host, watchHost);
162160
159949
  return host;
162161
159950
  }
162162
159951
  function getCompilerOptionsOfBuildOptions(buildOptions) {
@@ -162342,7 +160131,7 @@ ${lanes.join("\n")}
162342
160131
  } else {
162343
160132
  parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = (d2) => diagnostic = d2;
162344
160133
  parsed = getParsedCommandLineOfConfigFile(configFileName, baseCompilerOptions, parseConfigFileHost, extendedConfigCache, baseWatchOptions);
162345
- parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop;
160134
+ parseConfigFileHost.onUnRecoverableConfigFileDiagnostic = noop2;
162346
160135
  }
162347
160136
  configFileCache.set(configFilePath, parsed || diagnostic);
162348
160137
  mark("SolutionBuilder::afterConfigFileParsing");
@@ -162401,7 +160190,7 @@ ${lanes.join("\n")}
162401
160190
  (resolved) => toResolvedConfigFilePath(state, resolved)
162402
160191
  )
162403
160192
  );
162404
- const noopOnDelete = { onDeleteValue: noop };
160193
+ const noopOnDelete = { onDeleteValue: noop2 };
162405
160194
  mutateMapSkippingNewValues(state.configFileCache, currentProjects, noopOnDelete);
162406
160195
  mutateMapSkippingNewValues(state.projectStatus, currentProjects, noopOnDelete);
162407
160196
  mutateMapSkippingNewValues(state.builderPrograms, currentProjects, noopOnDelete);
@@ -165485,15 +163274,15 @@ ${lanes.join("\n")}
165485
163274
  }
165486
163275
  if (isTupleTypeNode(node) || isTypeLiteralNode(node) || isMappedTypeNode(node)) {
165487
163276
  const visited = visitEachChild2(node, visitExistingNodeTreeSymbols);
165488
- const clone2 = resolver.markNodeReuse(context, visited === node ? factory.cloneNode(node) : visited, node);
165489
- const flags = getEmitFlags(clone2);
165490
- setEmitFlags(clone2, flags | (context.flags & 1024 && isTypeLiteralNode(node) ? 0 : 1));
165491
- return clone2;
163277
+ const clone22 = resolver.markNodeReuse(context, visited === node ? factory.cloneNode(node) : visited, node);
163278
+ const flags = getEmitFlags(clone22);
163279
+ setEmitFlags(clone22, flags | (context.flags & 1024 && isTypeLiteralNode(node) ? 0 : 1));
163280
+ return clone22;
165492
163281
  }
165493
163282
  if (isStringLiteral(node) && !!(context.flags & 268435456) && !node.singleQuote) {
165494
- const clone2 = factory.cloneNode(node);
165495
- clone2.singleQuote = true;
165496
- return clone2;
163283
+ const clone22 = factory.cloneNode(node);
163284
+ clone22.singleQuote = true;
163285
+ return clone22;
165497
163286
  }
165498
163287
  if (isConditionalTypeNode(node)) {
165499
163288
  const checkType = visitNode(node.checkType, visitExistingNodeTreeSymbols, isTypeNode);
@@ -166600,7 +164389,11 @@ ${lanes.join("\n")}
166600
164389
  NameValidationResult2[NameValidationResult2["NameTooLong"] = 2] = "NameTooLong";
166601
164390
  NameValidationResult2[NameValidationResult2["NameStartsWithDot"] = 3] = "NameStartsWithDot";
166602
164391
  NameValidationResult2[NameValidationResult2["NameStartsWithUnderscore"] = 4] = "NameStartsWithUnderscore";
166603
- NameValidationResult2[NameValidationResult2["NameContainsNonURISafeCharacters"] = 5] = "NameContainsNonURISafeCharacters";
164392
+ NameValidationResult2[NameValidationResult2["NameContainsInvalidCharacters"] = 5] = "NameContainsInvalidCharacters";
164393
+ NameValidationResult2[
164394
+ NameValidationResult2["NameContainsNonURISafeCharacters"] = 5
164395
+ /* NameContainsInvalidCharacters */
164396
+ ] = "NameContainsNonURISafeCharacters";
166604
164397
  return NameValidationResult2;
166605
164398
  })(NameValidationResult || {});
166606
164399
  var maxPackageNameLength = 214;
@@ -166646,7 +164439,7 @@ ${lanes.join("\n")}
166646
164439
  return 0;
166647
164440
  }
166648
164441
  }
166649
- if (encodeURIComponent(packageName) !== packageName) {
164442
+ if (!/^[\w.-]+$/.test(packageName)) {
166650
164443
  return 5;
166651
164444
  }
166652
164445
  return 0;
@@ -166672,7 +164465,7 @@ ${lanes.join("\n")}
166672
164465
  case 4:
166673
164466
  return `'${typing}':: ${kind} name '${name}' cannot start with '_'`;
166674
164467
  case 5:
166675
- return `'${typing}':: ${kind} name '${name}' contains non URI safe characters`;
164468
+ return `'${typing}':: ${kind} name '${name}' contains invalid characters`;
166676
164469
  case 0:
166677
164470
  return Debug.fail();
166678
164471
  // Shouldn't have called this.
@@ -168310,7 +166103,7 @@ ${lanes.join("\n")}
168310
166103
  return false;
168311
166104
  }
168312
166105
  function cloneCompilerOptions(options) {
168313
- const result = clone(options);
166106
+ const result = clone2(options);
168314
166107
  setConfigFileInOptions(result, options && options.configFile);
168315
166108
  return result;
168316
166109
  }
@@ -172869,7 +170662,7 @@ ${lanes.join("\n")}
172869
170662
  processImports();
172870
170663
  }
172871
170664
  processCommentPragmas(pragmaContext, sourceText);
172872
- processPragmasIntoFields(pragmaContext, noop);
170665
+ processPragmasIntoFields(pragmaContext, noop2);
172873
170666
  if (externalModule) {
172874
170667
  if (ambientExternalModules) {
172875
170668
  for (const decl of ambientExternalModules) {
@@ -174036,7 +171829,7 @@ interface Symbol {
174036
171829
  return true;
174037
171830
  }
174038
171831
  if (shouldReallyMerge(a2.node, b2.node, parent2)) {
174039
- merge(a2, b2);
171832
+ merge2(a2, b2);
174040
171833
  return true;
174041
171834
  }
174042
171835
  return false;
@@ -174071,7 +171864,7 @@ interface Symbol {
174071
171864
  }
174072
171865
  return a2.body.kind === b2.body.kind && (a2.body.kind !== 268 || areSameModule(a2.body, b2.body));
174073
171866
  }
174074
- function merge(target, source) {
171867
+ function merge2(target, source) {
174075
171868
  target.additionalNodes = target.additionalNodes || [];
174076
171869
  target.additionalNodes.push(source.node);
174077
171870
  if (source.additionalNodes) {
@@ -178832,8 +176625,8 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
178832
176625
  if (typeNode === void 0) {
178833
176626
  return void 0;
178834
176627
  }
178835
- const clone2 = getSynthesizedDeepClone(typeNode);
178836
- let withoutParens = clone2;
176628
+ const clone22 = getSynthesizedDeepClone(typeNode);
176629
+ let withoutParens = clone22;
178837
176630
  while (isParenthesizedTypeNode(withoutParens)) {
178838
176631
  withoutParens = withoutParens.type;
178839
176632
  }
@@ -178841,7 +176634,7 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
178841
176634
  withoutParens.types,
178842
176635
  (t2) => t2.kind === 157
178843
176636
  /* UndefinedKeyword */
178844
- ) ? clone2 : factory.createUnionTypeNode([clone2, factory.createKeywordTypeNode(
176637
+ ) ? clone22 : factory.createUnionTypeNode([clone22, factory.createKeywordTypeNode(
178845
176638
  157
178846
176639
  /* UndefinedKeyword */
178847
176640
  )]);
@@ -180877,7 +178670,7 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
180877
178670
  }
180878
178671
  var NoopCancellationToken = {
180879
178672
  isCancellationRequested: returnFalse,
180880
- throwIfCancellationRequested: noop
178673
+ throwIfCancellationRequested: noop2
180881
178674
  };
180882
178675
  var CancellationTokenObject = class {
180883
178676
  constructor(cancellationToken) {
@@ -181044,7 +178837,7 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
181044
178837
  useCaseSensitiveFileNames: () => useCaseSensitiveFileNames2,
181045
178838
  getNewLine: () => getNewLineCharacter(newSettings),
181046
178839
  getDefaultLibFileName: (options2) => host.getDefaultLibFileName(options2),
181047
- writeFile: noop,
178840
+ writeFile: noop2,
181048
178841
  getCurrentDirectory: () => currentDirectory,
181049
178842
  fileExists: (fileName) => host.fileExists(fileName),
181050
178843
  readFile: (fileName) => host.readFile && host.readFile(fileName),
@@ -181096,7 +178889,7 @@ ${newComment.split("\n").map((c2) => ` * ${c2}`).join("\n")}
181096
178889
  readDirectory: (...args) => compilerHost.readDirectory(...args),
181097
178890
  trace: compilerHost.trace,
181098
178891
  getCurrentDirectory: compilerHost.getCurrentDirectory,
181099
- onUnRecoverableConfigFileDiagnostic: noop
178892
+ onUnRecoverableConfigFileDiagnostic: noop2
181100
178893
  };
181101
178894
  const documentRegistryBucketKey = documentRegistry.getKeyForCompilationSettings(newSettings);
181102
178895
  let releasedScriptKinds = /* @__PURE__ */ new Set();
@@ -214009,7 +211802,7 @@ ${options.prefix}` : "\n" : options.prefix
214009
211802
  clearMap: () => clearMap,
214010
211803
  clearSharedExtendedConfigFileWatcher: () => clearSharedExtendedConfigFileWatcher,
214011
211804
  climbPastPropertyAccess: () => climbPastPropertyAccess,
214012
- clone: () => clone,
211805
+ clone: () => clone2,
214013
211806
  cloneCompilerOptions: () => cloneCompilerOptions,
214014
211807
  closeFileWatcher: () => closeFileWatcher,
214015
211808
  closeFileWatcherOf: () => closeFileWatcherOf,
@@ -214073,7 +211866,7 @@ ${options.prefix}` : "\n" : options.prefix
214073
211866
  copyComments: () => copyComments,
214074
211867
  copyEntries: () => copyEntries,
214075
211868
  copyLeadingComments: () => copyLeadingComments,
214076
- copyProperties: () => copyProperties,
211869
+ copyProperties: () => copyProperties2,
214077
211870
  copyTrailingAsLeadingComments: () => copyTrailingAsLeadingComments,
214078
211871
  copyTrailingComments: () => copyTrailingComments,
214079
211872
  couldStartTrivia: () => couldStartTrivia,
@@ -215631,7 +213424,7 @@ ${options.prefix}` : "\n" : options.prefix
215631
213424
  nodePosToString: () => nodePosToString,
215632
213425
  nodeSeenTracker: () => nodeSeenTracker,
215633
213426
  nodeStartsNewLexicalEnvironment: () => nodeStartsNewLexicalEnvironment,
215634
- noop: () => noop,
213427
+ noop: () => noop2,
215635
213428
  noopFileWatcher: () => noopFileWatcher,
215636
213429
  normalizePath: () => normalizePath,
215637
213430
  normalizeSlashes: () => normalizeSlashes,
@@ -216058,7 +213851,7 @@ ${options.prefix}` : "\n" : options.prefix
216058
213851
  const since = typeof options.since === "string" ? new Version(options.since) : options.since ?? warnAfter;
216059
213852
  const error2 = options.error || errorAfter && version2.compareTo(errorAfter) >= 0;
216060
213853
  const warn = !warnAfter || version2.compareTo(warnAfter) >= 0;
216061
- return error2 ? createErrorDeprecation(name, errorAfter, since, options.message) : warn ? createWarningDeprecation(name, errorAfter, since, options.message) : noop;
213854
+ return error2 ? createErrorDeprecation(name, errorAfter, since, options.message) : warn ? createWarningDeprecation(name, errorAfter, since, options.message) : noop2;
216062
213855
  }
216063
213856
  function wrapFunction(deprecation, func) {
216064
213857
  return function() {
@@ -216220,7 +214013,7 @@ ${options.prefix}` : "\n" : options.prefix
216220
214013
  });
216221
214014
  var nullLog = {
216222
214015
  isEnabled: () => false,
216223
- writeLine: noop
214016
+ writeLine: noop2
216224
214017
  };
216225
214018
  function typingToFileName(cachePath, packageName, installTypingHost, log) {
216226
214019
  try {
@@ -216363,6 +214156,22 @@ ${options.prefix}` : "\n" : options.prefix
216363
214156
  /** @internal */
216364
214157
  installPackage(req) {
216365
214158
  const { fileName, packageName, projectName, projectRootPath, id } = req;
214159
+ const validationResult = ts_JsTyping_exports.validatePackageName(packageName);
214160
+ if (validationResult !== ts_JsTyping_exports.NameValidationResult.Ok) {
214161
+ const message2 = ts_JsTyping_exports.renderPackageNameValidationFailure(validationResult, packageName);
214162
+ if (this.log.isEnabled()) {
214163
+ this.log.writeLine(message2);
214164
+ }
214165
+ const response = {
214166
+ kind: ActionPackageInstalled,
214167
+ projectName,
214168
+ id,
214169
+ success: false,
214170
+ message: message2
214171
+ };
214172
+ this.sendResponse(response);
214173
+ return;
214174
+ }
216366
214175
  const cwd = forEachAncestorDirectory(getDirectoryPath(fileName), (directory) => {
216367
214176
  if (this.installTypingHost.fileExists(combinePaths(directory, "package.json"))) {
216368
214177
  return directory;
@@ -218472,7 +216281,7 @@ ${options.prefix}` : "\n" : options.prefix
218472
216281
  this.typingFiles,
218473
216282
  getStringComparer(!this.useCaseSensitiveFileNames()),
218474
216283
  /*inserted*/
218475
- noop,
216284
+ noop2,
218476
216285
  (removed) => this.detachScriptInfoFromProject(removed)
218477
216286
  )) {
218478
216287
  this.typingFiles = typingFiles;
@@ -220085,13 +217894,13 @@ ${options.prefix}` : "\n" : options.prefix
220085
217894
  isKnownTypesPackageName: returnFalse,
220086
217895
  // Should never be called because we never provide a types registry.
220087
217896
  installPackage: notImplemented,
220088
- enqueueInstallTypingsRequest: noop,
220089
- attach: noop,
220090
- onProjectClosed: noop,
217897
+ enqueueInstallTypingsRequest: noop2,
217898
+ attach: noop2,
217899
+ onProjectClosed: noop2,
220091
217900
  globalTypingsCacheLocation: void 0
220092
217901
  // TODO: GH#18217
220093
217902
  };
220094
- var noopConfigFileWatcher = { close: noop };
217903
+ var noopConfigFileWatcher = { close: noop2 };
220095
217904
  function getConfigFileNameFromCache(info, cache2) {
220096
217905
  if (!cache2) return void 0;
220097
217906
  const configFileForOpenFile = cache2.get(info.path);
@@ -220491,10 +218300,10 @@ ${options.prefix}` : "\n" : options.prefix
220491
218300
  this.seenProjects = /* @__PURE__ */ new Map();
220492
218301
  this.sharedExtendedConfigFileWatchers = /* @__PURE__ */ new Map();
220493
218302
  this.extendedConfigCache = /* @__PURE__ */ new Map();
220494
- this.baseline = noop;
220495
- this.verifyDocumentRegistry = noop;
220496
- this.verifyProgram = noop;
220497
- this.onProjectCreation = noop;
218303
+ this.baseline = noop2;
218304
+ this.verifyDocumentRegistry = noop2;
218305
+ this.verifyProgram = noop2;
218306
+ this.onProjectCreation = noop2;
220498
218307
  var _a2;
220499
218308
  this.host = opts.host;
220500
218309
  this.logger = opts.logger;
@@ -220548,7 +218357,7 @@ ${options.prefix}` : "\n" : options.prefix
220548
218357
  3
220549
218358
  /* verbose */
220550
218359
  ) ? 2 : this.logger.loggingEnabled() ? 1 : 0;
220551
- const log = watchLogLevel !== 0 ? ((s2) => this.logger.info(s2)) : noop;
218360
+ const log = watchLogLevel !== 0 ? ((s2) => this.logger.info(s2)) : noop2;
220552
218361
  this.packageJsonCache = createPackageJsonCache(this);
220553
218362
  this.watchFactory = this.serverMode !== 0 ? {
220554
218363
  watchFile: returnNoopFileWatcher,
@@ -229521,10 +227330,10 @@ var require_merge2 = __commonJS({
229521
227330
  exports.mergeAll = exports.hasOwn = void 0;
229522
227331
  exports.hasOwn = Function.prototype.call.bind(Object.prototype.hasOwnProperty);
229523
227332
  var objToString = Function.prototype.call.bind(Object.prototype.toString);
229524
- function isPlainObject2(obj) {
227333
+ function isPlainObject3(obj) {
229525
227334
  return objToString(obj) === "[object Object]";
229526
227335
  }
229527
- function merge(target, source, options) {
227336
+ function merge2(target, source, options) {
229528
227337
  for (const key of Object.keys(source)) {
229529
227338
  const newValue = source[key];
229530
227339
  if ((0, exports.hasOwn)(target, key)) {
@@ -229533,8 +227342,8 @@ var require_merge2 = __commonJS({
229533
227342
  target[key].push(...newValue);
229534
227343
  continue;
229535
227344
  }
229536
- } else if (isPlainObject2(target[key]) && isPlainObject2(newValue)) {
229537
- target[key] = merge(target[key], newValue, options);
227345
+ } else if (isPlainObject3(target[key]) && isPlainObject3(newValue)) {
227346
+ target[key] = merge2(target[key], newValue, options);
229538
227347
  continue;
229539
227348
  }
229540
227349
  }
@@ -229543,7 +227352,7 @@ var require_merge2 = __commonJS({
229543
227352
  return target;
229544
227353
  }
229545
227354
  function mergeAll(objects, options) {
229546
- return objects.reduce((target, source) => merge(target, source, options), {});
227355
+ return objects.reduce((target, source) => merge2(target, source, options), {});
229547
227356
  }
229548
227357
  exports.mergeAll = mergeAll;
229549
227358
  }
@@ -230135,10 +227944,10 @@ var require_jiti = __commonJS({
230135
227944
  ++i3, s3 = r3;
230136
227945
  }
230137
227946
  }
230138
- var I2 = { ecmaVersion: null, sourceType: "script", onInsertedSemicolon: null, onTrailingComma: null, allowReserved: null, allowReturnOutsideFunction: false, allowImportExportEverywhere: false, allowAwaitOutsideFunction: null, allowSuperOutsideMethod: null, allowHashBang: false, checkPrivateFields: true, locations: false, onToken: null, onComment: null, ranges: false, program: null, sourceFile: null, directSourceFile: null, preserveParens: false }, C2 = false;
227947
+ var I = { ecmaVersion: null, sourceType: "script", onInsertedSemicolon: null, onTrailingComma: null, allowReserved: null, allowReturnOutsideFunction: false, allowImportExportEverywhere: false, allowAwaitOutsideFunction: null, allowSuperOutsideMethod: null, allowHashBang: false, checkPrivateFields: true, locations: false, onToken: null, onComment: null, ranges: false, program: null, sourceFile: null, directSourceFile: null, preserveParens: false }, C2 = false;
230139
227948
  function getOptions(e4) {
230140
227949
  var t4 = {};
230141
- for (var i3 in I2) t4[i3] = e4 && b2(e4, i3) ? e4[i3] : I2[i3];
227950
+ for (var i3 in I) t4[i3] = e4 && b2(e4, i3) ? e4[i3] : I[i3];
230142
227951
  if ("latest" === t4.ecmaVersion ? t4.ecmaVersion = 1e8 : null == t4.ecmaVersion ? (!C2 && "object" == typeof console && console.warn && (C2 = true, console.warn("Since Acorn 8.0.0, options.ecmaVersion is required.\nDefaulting to 2020, but this will stop working in the future.")), t4.ecmaVersion = 11) : t4.ecmaVersion >= 2015 && (t4.ecmaVersion -= 2009), null == t4.allowReserved && (t4.allowReserved = t4.ecmaVersion < 5), e4 && null != e4.allowHashBang || (t4.allowHashBang = t4.ecmaVersion >= 14), S2(t4.onToken)) {
230143
227952
  var s3 = t4.onToken;
230144
227953
  t4.onToken = function(e5) {
@@ -230152,7 +227961,7 @@ var require_jiti = __commonJS({
230152
227961
  };
230153
227962
  })(t4, t4.onComment)), t4;
230154
227963
  }
230155
- var R2 = 256, P2 = 259;
227964
+ var R2 = 256, P = 259;
230156
227965
  function functionFlags(e4, t4) {
230157
227966
  return 2 | (e4 ? 4 : 0) | (t4 ? 8 : 0);
230158
227967
  }
@@ -230400,7 +228209,7 @@ var require_jiti = __commonJS({
230400
228209
  }, L2.parseForAfterInit = function(e4, t4, i3) {
230401
228210
  return (this.type === f2._in || this.options.ecmaVersion >= 6 && this.isContextual("of")) && 1 === t4.declarations.length ? (this.options.ecmaVersion >= 9 && (this.type === f2._in ? i3 > -1 && this.unexpected(i3) : e4.await = i3 > -1), this.parseForIn(e4, t4)) : (i3 > -1 && this.unexpected(i3), this.parseFor(e4, t4));
230402
228211
  }, L2.parseFunctionStatement = function(e4, t4, i3) {
230403
- return this.next(), this.parseFunction(e4, U | (i3 ? 0 : M2), false, t4);
228212
+ return this.next(), this.parseFunction(e4, U2 | (i3 ? 0 : M2), false, t4);
230404
228213
  }, L2.parseIfStatement = function(e4) {
230405
228214
  return this.next(), e4.test = this.parseParenExpression(), e4.consequent = this.parseStatement("if"), e4.alternate = this.eat(f2._else) ? this.parseStatement("if") : null, this.finishNode(e4, "IfStatement");
230406
228215
  }, L2.parseReturnStatement = function(e4) {
@@ -230416,7 +228225,7 @@ var require_jiti = __commonJS({
230416
228225
  }, L2.parseThrowStatement = function(e4) {
230417
228226
  return this.next(), m2.test(this.input.slice(this.lastTokEnd, this.start)) && this.raise(this.lastTokEnd, "Illegal newline after throw"), e4.argument = this.parseExpression(), this.semicolon(), this.finishNode(e4, "ThrowStatement");
230418
228227
  };
230419
- var V = [];
228228
+ var V2 = [];
230420
228229
  L2.parseCatchClauseParam = function() {
230421
228230
  var e4 = this.parseBindingAtom(), t4 = "Identifier" === e4.type;
230422
228231
  return this.enterScope(t4 ? 32 : 0), this.checkLValPattern(e4, t4 ? 4 : 2), this.expect(f2.parenR), e4;
@@ -230466,7 +228275,7 @@ var require_jiti = __commonJS({
230466
228275
  }, L2.parseVarId = function(e4, t4) {
230467
228276
  e4.id = "using" === t4 || "await using" === t4 ? this.parseIdent() : this.parseBindingAtom(), this.checkLValPattern(e4.id, "var" === t4 ? 1 : 2, false);
230468
228277
  };
230469
- var U = 1, M2 = 2;
228278
+ var U2 = 1, M2 = 2;
230470
228279
  function isPrivateNameConflicted(e4, t4) {
230471
228280
  var i3 = t4.key.name, s3 = e4[i3], r3 = "true";
230472
228281
  return "MethodDefinition" !== t4.type || "get" !== t4.kind && "set" !== t4.kind || (r3 = (t4.static ? "s" : "i") + t4.kind), "iget" === s3 && "iset" === r3 || "iset" === s3 && "iget" === r3 || "sget" === s3 && "sset" === r3 || "sset" === s3 && "sget" === r3 ? (e4[i3] = "true", false) : !!s3 || (e4[i3] = r3, false);
@@ -230476,9 +228285,9 @@ var require_jiti = __commonJS({
230476
228285
  return !i3 && ("Identifier" === s3.type && s3.name === t4 || "Literal" === s3.type && s3.value === t4);
230477
228286
  }
230478
228287
  L2.parseFunction = function(e4, t4, i3, s3, r3) {
230479
- this.initFunction(e4), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s3) && (this.type === f2.star && t4 & M2 && this.unexpected(), e4.generator = this.eat(f2.star)), this.options.ecmaVersion >= 8 && (e4.async = !!s3), t4 & U && (e4.id = 4 & t4 && this.type !== f2.name ? null : this.parseIdent(), !e4.id || t4 & M2 || this.checkLValSimple(e4.id, this.strict || e4.generator || e4.async ? this.treatFunctionsAsVar ? 1 : 2 : 3));
228288
+ this.initFunction(e4), (this.options.ecmaVersion >= 9 || this.options.ecmaVersion >= 6 && !s3) && (this.type === f2.star && t4 & M2 && this.unexpected(), e4.generator = this.eat(f2.star)), this.options.ecmaVersion >= 8 && (e4.async = !!s3), t4 & U2 && (e4.id = 4 & t4 && this.type !== f2.name ? null : this.parseIdent(), !e4.id || t4 & M2 || this.checkLValSimple(e4.id, this.strict || e4.generator || e4.async ? this.treatFunctionsAsVar ? 1 : 2 : 3));
230480
228289
  var n3 = this.yieldPos, a3 = this.awaitPos, o3 = this.awaitIdentPos;
230481
- return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(functionFlags(e4.async, e4.generator)), t4 & U || (e4.id = this.type === f2.name ? this.parseIdent() : null), this.parseFunctionParams(e4), this.parseFunctionBody(e4, i3, false, r3), this.yieldPos = n3, this.awaitPos = a3, this.awaitIdentPos = o3, this.finishNode(e4, t4 & U ? "FunctionDeclaration" : "FunctionExpression");
228290
+ return this.yieldPos = 0, this.awaitPos = 0, this.awaitIdentPos = 0, this.enterScope(functionFlags(e4.async, e4.generator)), t4 & U2 || (e4.id = this.type === f2.name ? this.parseIdent() : null), this.parseFunctionParams(e4), this.parseFunctionBody(e4, i3, false, r3), this.yieldPos = n3, this.awaitPos = a3, this.awaitIdentPos = o3, this.finishNode(e4, t4 & U2 ? "FunctionDeclaration" : "FunctionExpression");
230482
228291
  }, L2.parseFunctionParams = function(e4) {
230483
228292
  this.expect(f2.parenL), e4.params = this.parseBindingList(f2.parenR, false, this.options.ecmaVersion >= 8), this.checkYieldAwaitInDefaultParams();
230484
228293
  }, L2.parseClass = function(e4, t4) {
@@ -230563,7 +228372,7 @@ var require_jiti = __commonJS({
230563
228372
  var e4;
230564
228373
  if (this.type === f2._function || (e4 = this.isAsyncFunction())) {
230565
228374
  var t4 = this.startNode();
230566
- return this.next(), e4 && this.next(), this.parseFunction(t4, 4 | U, false, e4);
228375
+ return this.next(), e4 && this.next(), this.parseFunction(t4, 4 | U2, false, e4);
230567
228376
  }
230568
228377
  if (this.type === f2._class) {
230569
228378
  var i3 = this.startNode();
@@ -230604,7 +228413,7 @@ var require_jiti = __commonJS({
230604
228413
  }
230605
228414
  return t4;
230606
228415
  }, L2.parseImport = function(e4) {
230607
- return this.next(), this.type === f2.string ? (e4.specifiers = V, e4.source = this.parseExprAtom()) : (e4.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e4.source = this.type === f2.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e4.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e4, "ImportDeclaration");
228416
+ return this.next(), this.type === f2.string ? (e4.specifiers = V2, e4.source = this.parseExprAtom()) : (e4.specifiers = this.parseImportSpecifiers(), this.expectContextual("from"), e4.source = this.type === f2.string ? this.parseExprAtom() : this.unexpected()), this.options.ecmaVersion >= 16 && (e4.attributes = this.parseWithClause()), this.semicolon(), this.finishNode(e4, "ImportDeclaration");
230608
228417
  }, L2.parseImportSpecifier = function() {
230609
228418
  var e4 = this.startNode();
230610
228419
  return e4.imported = this.parseModuleExportName(), this.eatContextual("as") ? e4.local = this.parseIdent() : (this.checkUnreserved(e4.imported), e4.local = e4.imported), this.checkLValSimple(e4.local, 2), this.finishNode(e4, "ImportSpecifier");
@@ -230792,24 +228601,24 @@ var require_jiti = __commonJS({
230792
228601
  this.token = e4, this.isExpr = !!t4, this.preserveSpace = !!i3, this.override = s3, this.generator = !!r3;
230793
228602
  }, F2 = { b_stat: new acorn_TokContext("{", false), b_expr: new acorn_TokContext("{", true), b_tmpl: new acorn_TokContext("${", false), p_stat: new acorn_TokContext("(", false), p_expr: new acorn_TokContext("(", true), q_tmpl: new acorn_TokContext("`", true, true, function(e4) {
230794
228603
  return e4.tryReadTemplateToken();
230795
- }), f_stat: new acorn_TokContext("function", false), f_expr: new acorn_TokContext("function", true), f_expr_gen: new acorn_TokContext("function", true, false, null, true), f_gen: new acorn_TokContext("function", false, false, null, true) }, B = acorn_Parser.prototype;
230796
- B.initialContext = function() {
228604
+ }), f_stat: new acorn_TokContext("function", false), f_expr: new acorn_TokContext("function", true), f_expr_gen: new acorn_TokContext("function", true, false, null, true), f_gen: new acorn_TokContext("function", false, false, null, true) }, B2 = acorn_Parser.prototype;
228605
+ B2.initialContext = function() {
230797
228606
  return [F2.b_stat];
230798
- }, B.curContext = function() {
228607
+ }, B2.curContext = function() {
230799
228608
  return this.context[this.context.length - 1];
230800
- }, B.braceIsBlock = function(e4) {
228609
+ }, B2.braceIsBlock = function(e4) {
230801
228610
  var t4 = this.curContext();
230802
228611
  return t4 === F2.f_expr || t4 === F2.f_stat || (e4 !== f2.colon || t4 !== F2.b_stat && t4 !== F2.b_expr ? e4 === f2._return || e4 === f2.name && this.exprAllowed ? m2.test(this.input.slice(this.lastTokEnd, this.start)) : e4 === f2._else || e4 === f2.semi || e4 === f2.eof || e4 === f2.parenR || e4 === f2.arrow || (e4 === f2.braceL ? t4 === F2.b_stat : e4 !== f2._var && e4 !== f2._const && e4 !== f2.name && !this.exprAllowed) : !t4.isExpr);
230803
- }, B.inGeneratorContext = function() {
228612
+ }, B2.inGeneratorContext = function() {
230804
228613
  for (var e4 = this.context.length - 1; e4 >= 1; e4--) {
230805
228614
  var t4 = this.context[e4];
230806
228615
  if ("function" === t4.token) return t4.generator;
230807
228616
  }
230808
228617
  return false;
230809
- }, B.updateContext = function(e4) {
228618
+ }, B2.updateContext = function(e4) {
230810
228619
  var t4, i3 = this.type;
230811
228620
  i3.keyword && e4 === f2.dot ? this.exprAllowed = false : (t4 = i3.updateContext) ? t4.call(this, e4) : this.exprAllowed = i3.beforeExpr;
230812
- }, B.overrideContext = function(e4) {
228621
+ }, B2.overrideContext = function(e4) {
230813
228622
  this.curContext() !== e4 && (this.context[this.context.length - 1] = e4);
230814
228623
  }, f2.parenR.updateContext = f2.braceR.updateContext = function() {
230815
228624
  if (1 !== this.context.length) {
@@ -231175,7 +228984,7 @@ var require_jiti = __commonJS({
231175
228984
  return r3;
231176
228985
  }, $.checkUnreserved = function(e4) {
231177
228986
  var t4 = e4.start, i3 = e4.end, s3 = e4.name;
231178
- (this.inGenerator && "yield" === s3 && this.raiseRecoverable(t4, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && "await" === s3 && this.raiseRecoverable(t4, "Cannot use 'await' as identifier inside an async function"), this.currentThisScope().flags & P2 || "arguments" !== s3 || this.raiseRecoverable(t4, "Cannot use 'arguments' in class field initializer"), !this.inClassStaticBlock || "arguments" !== s3 && "await" !== s3 || this.raise(t4, "Cannot use " + s3 + " in class static initialization block"), this.keywords.test(s3) && this.raise(t4, "Unexpected keyword '" + s3 + "'"), this.options.ecmaVersion < 6 && -1 !== this.input.slice(t4, i3).indexOf("\\")) || (this.strict ? this.reservedWordsStrict : this.reservedWords).test(s3) && (this.inAsync || "await" !== s3 || this.raiseRecoverable(t4, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t4, "The keyword '" + s3 + "' is reserved"));
228987
+ (this.inGenerator && "yield" === s3 && this.raiseRecoverable(t4, "Cannot use 'yield' as identifier inside a generator"), this.inAsync && "await" === s3 && this.raiseRecoverable(t4, "Cannot use 'await' as identifier inside an async function"), this.currentThisScope().flags & P || "arguments" !== s3 || this.raiseRecoverable(t4, "Cannot use 'arguments' in class field initializer"), !this.inClassStaticBlock || "arguments" !== s3 && "await" !== s3 || this.raise(t4, "Cannot use " + s3 + " in class static initialization block"), this.keywords.test(s3) && this.raise(t4, "Unexpected keyword '" + s3 + "'"), this.options.ecmaVersion < 6 && -1 !== this.input.slice(t4, i3).indexOf("\\")) || (this.strict ? this.reservedWordsStrict : this.reservedWords).test(s3) && (this.inAsync || "await" !== s3 || this.raiseRecoverable(t4, "Cannot use keyword 'await' outside an async function"), this.raiseRecoverable(t4, "The keyword '" + s3 + "' is reserved"));
231179
228988
  }, $.parseIdent = function(e4) {
231180
228989
  var t4 = this.parseIdentNode();
231181
228990
  return this.next(!!e4), this.finishNode(t4, "Identifier"), e4 || (this.checkUnreserved(t4), "await" !== t4.name || this.awaitIdentPos || (this.awaitIdentPos = t4.start)), t4;
@@ -231194,13 +229003,13 @@ var require_jiti = __commonJS({
231194
229003
  var t4 = this.startNode();
231195
229004
  return this.next(), t4.argument = this.parseMaybeUnary(null, true, false, e4), this.finishNode(t4, "AwaitExpression");
231196
229005
  };
231197
- var W = acorn_Parser.prototype;
231198
- W.raise = function(e4, t4) {
229006
+ var W2 = acorn_Parser.prototype;
229007
+ W2.raise = function(e4, t4) {
231199
229008
  var i3 = getLineInfo(this.input, e4);
231200
229009
  t4 += " (" + i3.line + ":" + i3.column + ")", this.sourceFile && (t4 += " in " + this.sourceFile);
231201
229010
  var s3 = new SyntaxError(t4);
231202
229011
  throw s3.pos = e4, s3.loc = i3, s3.raisedAt = this.pos, s3;
231203
- }, W.raiseRecoverable = W.raise, W.curPosition = function() {
229012
+ }, W2.raiseRecoverable = W2.raise, W2.curPosition = function() {
231204
229013
  if (this.options.locations) return new acorn_Position(this.curLine, this.pos - this.lineStart);
231205
229014
  };
231206
229015
  var G = acorn_Parser.prototype, acorn_Scope = function(e4) {
@@ -231228,7 +229037,7 @@ var require_jiti = __commonJS({
231228
229037
  s3 = true;
231229
229038
  break;
231230
229039
  }
231231
- if (o3.var.push(e4), this.inModule && 1 & o3.flags && delete this.undefinedExports[e4], o3.flags & P2) break;
229040
+ if (o3.var.push(e4), this.inModule && 1 & o3.flags && delete this.undefinedExports[e4], o3.flags & P) break;
231232
229041
  }
231233
229042
  s3 && this.raiseRecoverable(i3, "Identifier '" + e4 + "' has already been declared");
231234
229043
  }, G.checkLocalExport = function(e4) {
@@ -232118,7 +229927,7 @@ var require_jiti = __commonJS({
232118
229927
  var e4 = this.readWord1(), t4 = f2.name;
232119
229928
  return this.keywords.test(e4) && (t4 = d2[e4]), this.finishToken(t4, e4);
232120
229929
  };
232121
- acorn_Parser.acorn = { Parser: acorn_Parser, version: "8.15.0", defaultOptions: I2, Position: acorn_Position, SourceLocation: acorn_SourceLocation, getLineInfo, Node: acorn_Node, TokenType: acorn_TokenType, tokTypes: f2, keywordTypes: d2, TokContext: acorn_TokContext, tokContexts: F2, isIdentifierChar, isIdentifierStart, Token: acorn_Token, isNewLine, lineBreak: m2, lineBreakG: g2, nonASCIIwhitespace: x2 };
229930
+ acorn_Parser.acorn = { Parser: acorn_Parser, version: "8.15.0", defaultOptions: I, Position: acorn_Position, SourceLocation: acorn_SourceLocation, getLineInfo, Node: acorn_Node, TokenType: acorn_TokenType, tokTypes: f2, keywordTypes: d2, TokContext: acorn_TokContext, tokContexts: F2, isIdentifierChar, isIdentifierStart, Token: acorn_Token, isNewLine, lineBreak: m2, lineBreakG: g2, nonASCIIwhitespace: x2 };
232122
229931
  const le = __require("node:module"), ue = __require("node:fs");
232123
229932
  String.fromCharCode;
232124
229933
  const de = /\/$|\/\?|\/#/, fe = /^\.?\//;
@@ -235567,30 +233376,644 @@ var breakingChangeExclamationMark = (parsed, when = "always") => {
235567
233376
  ];
235568
233377
  };
235569
233378
 
233379
+ // node_modules/es-toolkit/dist/predicate/isLength.mjs
233380
+ function isLength(value) {
233381
+ return Number.isSafeInteger(value) && value >= 0;
233382
+ }
233383
+
233384
+ // node_modules/es-toolkit/dist/compat/predicate/isArrayLike.mjs
233385
+ function isArrayLike(value) {
233386
+ return value != null && typeof value !== "function" && isLength(value.length);
233387
+ }
233388
+
233389
+ // node_modules/es-toolkit/dist/_internal/isUnsafeProperty.mjs
233390
+ function isUnsafeProperty(key) {
233391
+ return key === "__proto__";
233392
+ }
233393
+
233394
+ // node_modules/es-toolkit/dist/compat/util/toString.mjs
233395
+ function toString(value) {
233396
+ if (value == null) {
233397
+ return "";
233398
+ }
233399
+ if (typeof value === "string") {
233400
+ return value;
233401
+ }
233402
+ if (Array.isArray(value)) {
233403
+ return value.map(toString).join(",");
233404
+ }
233405
+ const result = String(value);
233406
+ if (result === "0" && Object.is(Number(value), -0)) {
233407
+ return "-0";
233408
+ }
233409
+ return result;
233410
+ }
233411
+
233412
+ // node_modules/es-toolkit/dist/predicate/isPrimitive.mjs
233413
+ function isPrimitive(value) {
233414
+ return value == null || typeof value !== "object" && typeof value !== "function";
233415
+ }
233416
+
233417
+ // node_modules/es-toolkit/dist/compat/_internal/getSymbols.mjs
233418
+ function getSymbols(object) {
233419
+ return Object.getOwnPropertySymbols(object).filter((symbol) => Object.prototype.propertyIsEnumerable.call(object, symbol));
233420
+ }
233421
+
233422
+ // node_modules/es-toolkit/dist/compat/_internal/getTag.mjs
233423
+ function getTag(value) {
233424
+ if (value == null) {
233425
+ return value === void 0 ? "[object Undefined]" : "[object Null]";
233426
+ }
233427
+ return Object.prototype.toString.call(value);
233428
+ }
233429
+
233430
+ // node_modules/es-toolkit/dist/compat/_internal/tags.mjs
233431
+ var regexpTag = "[object RegExp]";
233432
+ var stringTag = "[object String]";
233433
+ var numberTag = "[object Number]";
233434
+ var booleanTag = "[object Boolean]";
233435
+ var argumentsTag = "[object Arguments]";
233436
+ var symbolTag = "[object Symbol]";
233437
+ var dateTag = "[object Date]";
233438
+ var mapTag = "[object Map]";
233439
+ var setTag = "[object Set]";
233440
+ var arrayTag = "[object Array]";
233441
+ var arrayBufferTag = "[object ArrayBuffer]";
233442
+ var objectTag = "[object Object]";
233443
+ var dataViewTag = "[object DataView]";
233444
+ var uint8ArrayTag = "[object Uint8Array]";
233445
+ var uint8ClampedArrayTag = "[object Uint8ClampedArray]";
233446
+ var uint16ArrayTag = "[object Uint16Array]";
233447
+ var uint32ArrayTag = "[object Uint32Array]";
233448
+ var int8ArrayTag = "[object Int8Array]";
233449
+ var int16ArrayTag = "[object Int16Array]";
233450
+ var int32ArrayTag = "[object Int32Array]";
233451
+ var float32ArrayTag = "[object Float32Array]";
233452
+ var float64ArrayTag = "[object Float64Array]";
233453
+
233454
+ // node_modules/es-toolkit/dist/_internal/globalThis.mjs
233455
+ var globalThis_ = typeof globalThis === "object" && globalThis || typeof window === "object" && window || typeof self === "object" && self || typeof global === "object" && global || /* @__PURE__ */ (function() {
233456
+ return this;
233457
+ })() || Function("return this")();
233458
+
233459
+ // node_modules/es-toolkit/dist/predicate/isBuffer.mjs
233460
+ function isBuffer(x2) {
233461
+ return typeof globalThis_.Buffer !== "undefined" && globalThis_.Buffer.isBuffer(x2);
233462
+ }
233463
+
233464
+ // node_modules/es-toolkit/dist/predicate/isTypedArray.mjs
233465
+ function isTypedArray(x2) {
233466
+ return ArrayBuffer.isView(x2) && !(x2 instanceof DataView);
233467
+ }
233468
+
233469
+ // node_modules/es-toolkit/dist/object/cloneDeepWith.mjs
233470
+ function cloneDeepWith(obj, cloneValue) {
233471
+ return cloneDeepWithImpl(obj, void 0, obj, /* @__PURE__ */ new Map(), cloneValue);
233472
+ }
233473
+ function cloneDeepWithImpl(valueToClone, keyToClone, objectToClone, stack = /* @__PURE__ */ new Map(), cloneValue = void 0) {
233474
+ const cloned = cloneValue?.(valueToClone, keyToClone, objectToClone, stack);
233475
+ if (cloned !== void 0) {
233476
+ return cloned;
233477
+ }
233478
+ if (isPrimitive(valueToClone)) {
233479
+ return valueToClone;
233480
+ }
233481
+ if (stack.has(valueToClone)) {
233482
+ return stack.get(valueToClone);
233483
+ }
233484
+ if (Array.isArray(valueToClone)) {
233485
+ const result = new Array(valueToClone.length);
233486
+ stack.set(valueToClone, result);
233487
+ for (let i2 = 0; i2 < valueToClone.length; i2++) {
233488
+ result[i2] = cloneDeepWithImpl(valueToClone[i2], i2, objectToClone, stack, cloneValue);
233489
+ }
233490
+ if (Object.hasOwn(valueToClone, "index")) {
233491
+ result.index = valueToClone.index;
233492
+ }
233493
+ if (Object.hasOwn(valueToClone, "input")) {
233494
+ result.input = valueToClone.input;
233495
+ }
233496
+ return result;
233497
+ }
233498
+ if (valueToClone instanceof Date) {
233499
+ return new Date(valueToClone.getTime());
233500
+ }
233501
+ if (valueToClone instanceof RegExp) {
233502
+ const result = new RegExp(valueToClone.source, valueToClone.flags);
233503
+ result.lastIndex = valueToClone.lastIndex;
233504
+ return result;
233505
+ }
233506
+ if (valueToClone instanceof Map) {
233507
+ const result = /* @__PURE__ */ new Map();
233508
+ stack.set(valueToClone, result);
233509
+ for (const [key, value] of valueToClone) {
233510
+ result.set(key, cloneDeepWithImpl(value, key, objectToClone, stack, cloneValue));
233511
+ }
233512
+ return result;
233513
+ }
233514
+ if (valueToClone instanceof Set) {
233515
+ const result = /* @__PURE__ */ new Set();
233516
+ stack.set(valueToClone, result);
233517
+ for (const value of valueToClone) {
233518
+ result.add(cloneDeepWithImpl(value, void 0, objectToClone, stack, cloneValue));
233519
+ }
233520
+ return result;
233521
+ }
233522
+ if (isBuffer(valueToClone)) {
233523
+ return valueToClone.subarray();
233524
+ }
233525
+ if (isTypedArray(valueToClone)) {
233526
+ const result = new (Object.getPrototypeOf(valueToClone)).constructor(valueToClone.length);
233527
+ stack.set(valueToClone, result);
233528
+ for (let i2 = 0; i2 < valueToClone.length; i2++) {
233529
+ result[i2] = cloneDeepWithImpl(valueToClone[i2], i2, objectToClone, stack, cloneValue);
233530
+ }
233531
+ return result;
233532
+ }
233533
+ if (valueToClone instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && valueToClone instanceof SharedArrayBuffer) {
233534
+ return valueToClone.slice(0);
233535
+ }
233536
+ if (valueToClone instanceof DataView) {
233537
+ const result = new DataView(valueToClone.buffer.slice(0), valueToClone.byteOffset, valueToClone.byteLength);
233538
+ stack.set(valueToClone, result);
233539
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
233540
+ return result;
233541
+ }
233542
+ if (typeof File !== "undefined" && valueToClone instanceof File) {
233543
+ const result = new File([valueToClone], valueToClone.name, {
233544
+ type: valueToClone.type
233545
+ });
233546
+ stack.set(valueToClone, result);
233547
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
233548
+ return result;
233549
+ }
233550
+ if (typeof Blob !== "undefined" && valueToClone instanceof Blob) {
233551
+ const result = new Blob([valueToClone], { type: valueToClone.type });
233552
+ stack.set(valueToClone, result);
233553
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
233554
+ return result;
233555
+ }
233556
+ if (valueToClone instanceof Error) {
233557
+ const result = structuredClone(valueToClone);
233558
+ stack.set(valueToClone, result);
233559
+ result.message = valueToClone.message;
233560
+ result.name = valueToClone.name;
233561
+ result.stack = valueToClone.stack;
233562
+ result.cause = valueToClone.cause;
233563
+ result.constructor = valueToClone.constructor;
233564
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
233565
+ return result;
233566
+ }
233567
+ if (valueToClone instanceof Boolean) {
233568
+ const result = new Boolean(valueToClone.valueOf());
233569
+ stack.set(valueToClone, result);
233570
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
233571
+ return result;
233572
+ }
233573
+ if (valueToClone instanceof Number) {
233574
+ const result = new Number(valueToClone.valueOf());
233575
+ stack.set(valueToClone, result);
233576
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
233577
+ return result;
233578
+ }
233579
+ if (valueToClone instanceof String) {
233580
+ const result = new String(valueToClone.valueOf());
233581
+ stack.set(valueToClone, result);
233582
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
233583
+ return result;
233584
+ }
233585
+ if (typeof valueToClone === "object" && isCloneableObject(valueToClone)) {
233586
+ const result = Object.create(Object.getPrototypeOf(valueToClone));
233587
+ stack.set(valueToClone, result);
233588
+ copyProperties(result, valueToClone, objectToClone, stack, cloneValue);
233589
+ return result;
233590
+ }
233591
+ return valueToClone;
233592
+ }
233593
+ function copyProperties(target, source, objectToClone = target, stack, cloneValue) {
233594
+ const keys = [...Object.keys(source), ...getSymbols(source)];
233595
+ for (let i2 = 0; i2 < keys.length; i2++) {
233596
+ const key = keys[i2];
233597
+ const descriptor = Object.getOwnPropertyDescriptor(target, key);
233598
+ if (descriptor == null || descriptor.writable) {
233599
+ target[key] = cloneDeepWithImpl(source[key], key, objectToClone, stack, cloneValue);
233600
+ }
233601
+ }
233602
+ }
233603
+ function isCloneableObject(object) {
233604
+ switch (getTag(object)) {
233605
+ case argumentsTag:
233606
+ case arrayTag:
233607
+ case arrayBufferTag:
233608
+ case dataViewTag:
233609
+ case booleanTag:
233610
+ case dateTag:
233611
+ case float32ArrayTag:
233612
+ case float64ArrayTag:
233613
+ case int8ArrayTag:
233614
+ case int16ArrayTag:
233615
+ case int32ArrayTag:
233616
+ case mapTag:
233617
+ case numberTag:
233618
+ case objectTag:
233619
+ case regexpTag:
233620
+ case setTag:
233621
+ case stringTag:
233622
+ case symbolTag:
233623
+ case uint8ArrayTag:
233624
+ case uint8ClampedArrayTag:
233625
+ case uint16ArrayTag:
233626
+ case uint32ArrayTag: {
233627
+ return true;
233628
+ }
233629
+ default: {
233630
+ return false;
233631
+ }
233632
+ }
233633
+ }
233634
+
233635
+ // node_modules/es-toolkit/dist/compat/object/cloneDeepWith.mjs
233636
+ function cloneDeepWith2(obj, customizer) {
233637
+ return cloneDeepWith(obj, (value, key, object, stack) => {
233638
+ const cloned = customizer?.(value, key, object, stack);
233639
+ if (cloned !== void 0) {
233640
+ return cloned;
233641
+ }
233642
+ if (typeof obj !== "object") {
233643
+ return void 0;
233644
+ }
233645
+ if (getTag(obj) === objectTag && typeof obj.constructor !== "function") {
233646
+ const result = {};
233647
+ stack.set(obj, result);
233648
+ copyProperties(result, obj, object, stack);
233649
+ return result;
233650
+ }
233651
+ switch (Object.prototype.toString.call(obj)) {
233652
+ case numberTag:
233653
+ case stringTag:
233654
+ case booleanTag: {
233655
+ const result = new obj.constructor(obj?.valueOf());
233656
+ copyProperties(result, obj);
233657
+ return result;
233658
+ }
233659
+ case argumentsTag: {
233660
+ const result = {};
233661
+ copyProperties(result, obj);
233662
+ result.length = obj.length;
233663
+ result[Symbol.iterator] = obj[Symbol.iterator];
233664
+ return result;
233665
+ }
233666
+ default: {
233667
+ return void 0;
233668
+ }
233669
+ }
233670
+ });
233671
+ }
233672
+
233673
+ // node_modules/es-toolkit/dist/compat/object/cloneDeep.mjs
233674
+ function cloneDeep(obj) {
233675
+ return cloneDeepWith2(obj);
233676
+ }
233677
+
233678
+ // node_modules/es-toolkit/dist/compat/predicate/isArguments.mjs
233679
+ function isArguments(value) {
233680
+ return value !== null && typeof value === "object" && getTag(value) === "[object Arguments]";
233681
+ }
233682
+
233683
+ // node_modules/es-toolkit/dist/compat/predicate/isObjectLike.mjs
233684
+ function isObjectLike(value) {
233685
+ return typeof value === "object" && value !== null;
233686
+ }
233687
+
233688
+ // node_modules/es-toolkit/dist/compat/predicate/isArrayLikeObject.mjs
233689
+ function isArrayLikeObject(value) {
233690
+ return isObjectLike(value) && isArrayLike(value);
233691
+ }
233692
+
233693
+ // node_modules/es-toolkit/dist/function/noop.mjs
233694
+ function noop() {
233695
+ }
233696
+
233697
+ // node_modules/es-toolkit/dist/compat/predicate/isTypedArray.mjs
233698
+ function isTypedArray2(x2) {
233699
+ return isTypedArray(x2);
233700
+ }
233701
+
233702
+ // node_modules/es-toolkit/dist/compat/predicate/isPlainObject.mjs
233703
+ function isPlainObject(object) {
233704
+ if (typeof object !== "object") {
233705
+ return false;
233706
+ }
233707
+ if (object == null) {
233708
+ return false;
233709
+ }
233710
+ if (Object.getPrototypeOf(object) === null) {
233711
+ return true;
233712
+ }
233713
+ if (Object.prototype.toString.call(object) !== "[object Object]") {
233714
+ const tag = object[Symbol.toStringTag];
233715
+ if (tag == null) {
233716
+ return false;
233717
+ }
233718
+ const isTagReadonly = !Object.getOwnPropertyDescriptor(object, Symbol.toStringTag)?.writable;
233719
+ if (isTagReadonly) {
233720
+ return false;
233721
+ }
233722
+ return object.toString() === `[object ${tag}]`;
233723
+ }
233724
+ let proto = object;
233725
+ while (Object.getPrototypeOf(proto) !== null) {
233726
+ proto = Object.getPrototypeOf(proto);
233727
+ }
233728
+ return Object.getPrototypeOf(object) === proto;
233729
+ }
233730
+
233731
+ // node_modules/es-toolkit/dist/object/clone.mjs
233732
+ function clone(obj) {
233733
+ if (isPrimitive(obj)) {
233734
+ return obj;
233735
+ }
233736
+ if (Array.isArray(obj) || isTypedArray(obj) || obj instanceof ArrayBuffer || typeof SharedArrayBuffer !== "undefined" && obj instanceof SharedArrayBuffer) {
233737
+ return obj.slice(0);
233738
+ }
233739
+ const prototype = Object.getPrototypeOf(obj);
233740
+ if (prototype == null) {
233741
+ return Object.assign(Object.create(prototype), obj);
233742
+ }
233743
+ const Constructor = prototype.constructor;
233744
+ if (obj instanceof Date || obj instanceof Map || obj instanceof Set) {
233745
+ return new Constructor(obj);
233746
+ }
233747
+ if (obj instanceof RegExp) {
233748
+ const newRegExp = new Constructor(obj);
233749
+ newRegExp.lastIndex = obj.lastIndex;
233750
+ return newRegExp;
233751
+ }
233752
+ if (obj instanceof DataView) {
233753
+ return new Constructor(obj.buffer.slice(0));
233754
+ }
233755
+ if (obj instanceof Error) {
233756
+ let newError;
233757
+ if (obj instanceof AggregateError) {
233758
+ newError = new Constructor(obj.errors, obj.message, { cause: obj.cause });
233759
+ } else {
233760
+ newError = new Constructor(obj.message, { cause: obj.cause });
233761
+ }
233762
+ newError.stack = obj.stack;
233763
+ Object.assign(newError, obj);
233764
+ return newError;
233765
+ }
233766
+ if (typeof File !== "undefined" && obj instanceof File) {
233767
+ const newFile = new Constructor([obj], obj.name, { type: obj.type, lastModified: obj.lastModified });
233768
+ return newFile;
233769
+ }
233770
+ if (typeof obj === "object") {
233771
+ const newObject = Object.create(prototype);
233772
+ return Object.assign(newObject, obj);
233773
+ }
233774
+ return obj;
233775
+ }
233776
+
233777
+ // node_modules/es-toolkit/dist/compat/object/mergeWith.mjs
233778
+ function mergeWith(object, ...otherArgs) {
233779
+ const sources = otherArgs.slice(0, -1);
233780
+ const merge2 = otherArgs[otherArgs.length - 1];
233781
+ let result = object;
233782
+ for (let i2 = 0; i2 < sources.length; i2++) {
233783
+ const source = sources[i2];
233784
+ result = mergeWithDeep(result, source, merge2, /* @__PURE__ */ new Map());
233785
+ }
233786
+ return result;
233787
+ }
233788
+ function mergeWithDeep(target, source, merge2, stack) {
233789
+ if (isPrimitive(target)) {
233790
+ target = Object(target);
233791
+ }
233792
+ if (source == null || typeof source !== "object") {
233793
+ return target;
233794
+ }
233795
+ if (stack.has(source)) {
233796
+ return clone(stack.get(source));
233797
+ }
233798
+ stack.set(source, target);
233799
+ if (Array.isArray(source)) {
233800
+ source = source.slice();
233801
+ for (let i2 = 0; i2 < source.length; i2++) {
233802
+ source[i2] = source[i2] ?? void 0;
233803
+ }
233804
+ }
233805
+ const sourceKeys = [...Object.keys(source), ...getSymbols(source)];
233806
+ for (let i2 = 0; i2 < sourceKeys.length; i2++) {
233807
+ const key = sourceKeys[i2];
233808
+ if (isUnsafeProperty(key)) {
233809
+ continue;
233810
+ }
233811
+ let sourceValue = source[key];
233812
+ let targetValue = target[key];
233813
+ if (isArguments(sourceValue)) {
233814
+ sourceValue = { ...sourceValue };
233815
+ }
233816
+ if (isArguments(targetValue)) {
233817
+ targetValue = { ...targetValue };
233818
+ }
233819
+ if (isBuffer(sourceValue)) {
233820
+ sourceValue = cloneDeep(sourceValue);
233821
+ }
233822
+ if (Array.isArray(sourceValue)) {
233823
+ if (Array.isArray(targetValue)) {
233824
+ const cloned = [];
233825
+ const targetKeys = Reflect.ownKeys(targetValue);
233826
+ for (let i3 = 0; i3 < targetKeys.length; i3++) {
233827
+ const targetKey = targetKeys[i3];
233828
+ cloned[targetKey] = targetValue[targetKey];
233829
+ }
233830
+ targetValue = cloned;
233831
+ } else if (isArrayLikeObject(targetValue)) {
233832
+ const cloned = [];
233833
+ for (let i3 = 0; i3 < targetValue.length; i3++) {
233834
+ cloned[i3] = targetValue[i3];
233835
+ }
233836
+ targetValue = cloned;
233837
+ } else {
233838
+ targetValue = [];
233839
+ }
233840
+ }
233841
+ const merged = merge2(targetValue, sourceValue, key, target, source, stack);
233842
+ if (merged !== void 0) {
233843
+ target[key] = merged;
233844
+ } else if (Array.isArray(sourceValue)) {
233845
+ target[key] = mergeWithDeep(targetValue, sourceValue, merge2, stack);
233846
+ } else if (isObjectLike(targetValue) && isObjectLike(sourceValue) && (isPlainObject(targetValue) || isPlainObject(sourceValue) || isTypedArray2(targetValue) || isTypedArray2(sourceValue))) {
233847
+ target[key] = mergeWithDeep(targetValue, sourceValue, merge2, stack);
233848
+ } else if (targetValue == null && isPlainObject(sourceValue)) {
233849
+ target[key] = mergeWithDeep({}, sourceValue, merge2, stack);
233850
+ } else if (targetValue == null && isTypedArray2(sourceValue)) {
233851
+ target[key] = cloneDeep(sourceValue);
233852
+ } else if (targetValue === void 0 || sourceValue !== void 0) {
233853
+ target[key] = sourceValue;
233854
+ }
233855
+ }
233856
+ return target;
233857
+ }
233858
+
233859
+ // node_modules/es-toolkit/dist/compat/object/merge.mjs
233860
+ function merge(object, ...sources) {
233861
+ return mergeWith(object, ...sources, noop);
233862
+ }
233863
+
233864
+ // node_modules/es-toolkit/dist/string/capitalize.mjs
233865
+ function capitalize(str) {
233866
+ return str.charAt(0).toUpperCase() + str.slice(1).toLowerCase();
233867
+ }
233868
+
233869
+ // node_modules/es-toolkit/dist/string/deburr.mjs
233870
+ var deburrMap = /* @__PURE__ */ new Map([
233871
+ ["\xC6", "Ae"],
233872
+ ["\xD0", "D"],
233873
+ ["\xD8", "O"],
233874
+ ["\xDE", "Th"],
233875
+ ["\xDF", "ss"],
233876
+ ["\xE6", "ae"],
233877
+ ["\xF0", "d"],
233878
+ ["\xF8", "o"],
233879
+ ["\xFE", "th"],
233880
+ ["\u0110", "D"],
233881
+ ["\u0111", "d"],
233882
+ ["\u0126", "H"],
233883
+ ["\u0127", "h"],
233884
+ ["\u0131", "i"],
233885
+ ["\u0132", "IJ"],
233886
+ ["\u0133", "ij"],
233887
+ ["\u0138", "k"],
233888
+ ["\u013F", "L"],
233889
+ ["\u0140", "l"],
233890
+ ["\u0141", "L"],
233891
+ ["\u0142", "l"],
233892
+ ["\u0149", "'n"],
233893
+ ["\u014A", "N"],
233894
+ ["\u014B", "n"],
233895
+ ["\u0152", "Oe"],
233896
+ ["\u0153", "oe"],
233897
+ ["\u0166", "T"],
233898
+ ["\u0167", "t"],
233899
+ ["\u017F", "s"]
233900
+ ]);
233901
+ function deburr(str) {
233902
+ str = str.normalize("NFD");
233903
+ let result = "";
233904
+ for (let i2 = 0; i2 < str.length; i2++) {
233905
+ const char = str[i2];
233906
+ if (char >= "\u0300" && char <= "\u036F" || char >= "\uFE20" && char <= "\uFE23") {
233907
+ continue;
233908
+ }
233909
+ result += deburrMap.get(char) ?? char;
233910
+ }
233911
+ return result;
233912
+ }
233913
+
233914
+ // node_modules/es-toolkit/dist/compat/string/deburr.mjs
233915
+ function deburr2(str) {
233916
+ return deburr(toString(str));
233917
+ }
233918
+
233919
+ // node_modules/es-toolkit/dist/string/words.mjs
233920
+ var CASE_SPLIT_PATTERN = new RegExp("\\p{Lu}?\\p{Ll}+|[0-9]+|\\p{Lu}+(?!\\p{Ll})|\\p{Emoji_Presentation}|\\p{Extended_Pictographic}|\\p{L}+", "gu");
233921
+ function words(str) {
233922
+ return Array.from(str.match(CASE_SPLIT_PATTERN) ?? []);
233923
+ }
233924
+
233925
+ // node_modules/es-toolkit/dist/string/camelCase.mjs
233926
+ function camelCase(str) {
233927
+ const words$1 = words(str);
233928
+ if (words$1.length === 0) {
233929
+ return "";
233930
+ }
233931
+ const [first, ...rest] = words$1;
233932
+ return `${first.toLowerCase()}${rest.map((word) => capitalize(word)).join("")}`;
233933
+ }
233934
+
233935
+ // node_modules/es-toolkit/dist/compat/_internal/normalizeForCase.mjs
233936
+ function normalizeForCase(str) {
233937
+ if (typeof str !== "string") {
233938
+ str = toString(str);
233939
+ }
233940
+ return str.replace(/['\u2019]/g, "");
233941
+ }
233942
+
233943
+ // node_modules/es-toolkit/dist/compat/string/camelCase.mjs
233944
+ function camelCase2(str) {
233945
+ return camelCase(normalizeForCase(deburr2(str)));
233946
+ }
233947
+
233948
+ // node_modules/es-toolkit/dist/string/kebabCase.mjs
233949
+ function kebabCase(str) {
233950
+ const words$1 = words(str);
233951
+ return words$1.map((word) => word.toLowerCase()).join("-");
233952
+ }
233953
+
233954
+ // node_modules/es-toolkit/dist/compat/string/kebabCase.mjs
233955
+ function kebabCase2(str) {
233956
+ return kebabCase(normalizeForCase(deburr2(str)));
233957
+ }
233958
+
233959
+ // node_modules/es-toolkit/dist/string/snakeCase.mjs
233960
+ function snakeCase(str) {
233961
+ const words$1 = words(str);
233962
+ return words$1.map((word) => word.toLowerCase()).join("_");
233963
+ }
233964
+
233965
+ // node_modules/es-toolkit/dist/compat/string/snakeCase.mjs
233966
+ function snakeCase2(str) {
233967
+ return snakeCase(normalizeForCase(deburr2(str)));
233968
+ }
233969
+
233970
+ // node_modules/es-toolkit/dist/compat/string/startCase.mjs
233971
+ function startCase(str) {
233972
+ const words$1 = words(normalizeForCase(deburr2(str)).trim());
233973
+ let result = "";
233974
+ for (let i2 = 0; i2 < words$1.length; i2++) {
233975
+ const word = words$1[i2];
233976
+ if (result) {
233977
+ result += " ";
233978
+ }
233979
+ if (word === word.toUpperCase()) {
233980
+ result += word;
233981
+ } else {
233982
+ result += word[0].toUpperCase() + word.slice(1).toLowerCase();
233983
+ }
233984
+ }
233985
+ return result;
233986
+ }
233987
+
233988
+ // node_modules/es-toolkit/dist/string/upperFirst.mjs
233989
+ function upperFirst(str) {
233990
+ return str.substring(0, 1).toUpperCase() + str.substring(1);
233991
+ }
233992
+
233993
+ // node_modules/es-toolkit/dist/compat/string/upperFirst.mjs
233994
+ function upperFirst2(str) {
233995
+ return upperFirst(toString(str));
233996
+ }
233997
+
235570
233998
  // node_modules/@commitlint/ensure/lib/to-case.js
235571
- var import_lodash = __toESM(require_lodash(), 1);
235572
- var import_lodash2 = __toESM(require_lodash2(), 1);
235573
- var import_lodash3 = __toESM(require_lodash3(), 1);
235574
- var import_lodash4 = __toESM(require_lodash4(), 1);
235575
- var import_lodash5 = __toESM(require_lodash5(), 1);
235576
233999
  function toCase(input, target) {
235577
234000
  switch (target) {
235578
234001
  case "camel-case":
235579
- return (0, import_lodash.default)(input);
234002
+ return camelCase2(input);
235580
234003
  case "kebab-case":
235581
- return (0, import_lodash2.default)(input);
234004
+ return kebabCase2(input);
235582
234005
  case "snake-case":
235583
- return (0, import_lodash3.default)(input);
234006
+ return snakeCase2(input);
235584
234007
  case "pascal-case":
235585
- return (0, import_lodash4.default)((0, import_lodash.default)(input));
234008
+ return upperFirst2(camelCase2(input));
235586
234009
  case "start-case":
235587
- return (0, import_lodash5.default)(input);
234010
+ return startCase(input);
235588
234011
  case "upper-case":
235589
234012
  case "uppercase":
235590
234013
  return input.toUpperCase();
235591
234014
  case "sentence-case":
235592
234015
  case "sentencecase":
235593
- return (0, import_lodash4.default)(input);
234016
+ return upperFirst2(input);
235594
234017
  case "lower-case":
235595
234018
  case "lowercase":
235596
234019
  case "lowerCase":
@@ -236477,13 +234900,21 @@ import path from "node:path";
236477
234900
  import os from "node:os";
236478
234901
  import fs from "node:fs";
236479
234902
  var isWindows = process2.platform === "win32";
236480
- var readRc = (filePath) => {
234903
+ var untildify = (pathWithTilde) => pathWithTilde && pathWithTilde.startsWith("~") ? path.join(os.homedir(), pathWithTilde.slice(1)) : pathWithTilde;
234904
+ var readConfigValue = (filePath, key) => {
234905
+ if (!filePath) {
234906
+ return;
234907
+ }
236481
234908
  try {
236482
- return import_ini.default.parse(fs.readFileSync(filePath, "utf8")).prefix;
234909
+ return import_ini.default.parse(fs.readFileSync(filePath, "utf8"))[key];
236483
234910
  } catch {
236484
234911
  }
236485
234912
  };
236486
- var getEnvNpmPrefix = () => Object.keys(process2.env).reduce((prefix2, name) => /^npm_config_prefix$/i.test(name) ? process2.env[name] : prefix2, void 0);
234913
+ var getEnvironmentNpmConfigValue = (key) => {
234914
+ const normalizedKey = `npm_config_${key.replaceAll("-", "_")}`.toLowerCase();
234915
+ const environmentKey = Object.keys(process2.env).find((name) => name.toLowerCase() === normalizedKey);
234916
+ return environmentKey ? process2.env[environmentKey] : void 0;
234917
+ };
236487
234918
  var getGlobalNpmrc = () => {
236488
234919
  if (isWindows && process2.env.APPDATA) {
236489
234920
  return path.join(process2.env.APPDATA, "/npm/etc/npmrc");
@@ -236502,64 +234933,122 @@ var getDefaultNpmPrefix = () => {
236502
234933
  const { APPDATA } = process2.env;
236503
234934
  return APPDATA ? path.join(APPDATA, "npm") : path.dirname(process2.execPath);
236504
234935
  }
234936
+ if (process2.execPath.includes("/Cellar/node")) {
234937
+ return process2.execPath.slice(0, process2.execPath.indexOf("/Cellar/node"));
234938
+ }
236505
234939
  return path.dirname(path.dirname(process2.execPath));
236506
234940
  };
236507
234941
  var getNpmPrefix = () => {
236508
- const envPrefix = getEnvNpmPrefix();
236509
- if (envPrefix) {
236510
- return envPrefix;
234942
+ const environmentPrefix = getEnvironmentNpmConfigValue("prefix");
234943
+ if (environmentPrefix !== void 0) {
234944
+ return environmentPrefix;
236511
234945
  }
236512
- const homePrefix = readRc(path.join(os.homedir(), ".npmrc"));
236513
- if (homePrefix) {
234946
+ const homePrefix = readConfigValue(path.join(os.homedir(), ".npmrc"), "prefix");
234947
+ if (homePrefix !== void 0) {
236514
234948
  return homePrefix;
236515
234949
  }
236516
234950
  if (process2.env.PREFIX) {
236517
234951
  return process2.env.PREFIX;
236518
234952
  }
236519
- const globalPrefix = readRc(getGlobalNpmrc());
236520
- if (globalPrefix) {
234953
+ const globalPrefix = readConfigValue(getGlobalNpmrc(), "prefix");
234954
+ if (globalPrefix !== void 0) {
236521
234955
  return globalPrefix;
236522
234956
  }
236523
234957
  return getDefaultNpmPrefix();
236524
234958
  };
236525
- var npmPrefix = path.resolve(getNpmPrefix());
236526
- var getYarnWindowsDirectory = () => {
236527
- if (isWindows && process2.env.LOCALAPPDATA) {
236528
- const dir = path.join(process2.env.LOCALAPPDATA, "Yarn");
236529
- if (fs.existsSync(dir)) {
236530
- return dir;
236531
- }
234959
+ var npmPrefix = path.resolve(untildify(getNpmPrefix()));
234960
+ var getYarnHomeDirectory = () => {
234961
+ if (process2.getuid?.() === 0 && !process2.env.FAKEROOTKEY) {
234962
+ return "/usr/local/share";
236532
234963
  }
236533
- return false;
234964
+ return os.homedir();
236534
234965
  };
236535
- var getYarnPrefix = () => {
236536
- if (process2.env.PREFIX) {
236537
- return process2.env.PREFIX;
234966
+ var getYarnDataDirectory = () => {
234967
+ if (isWindows) {
234968
+ return process2.env.LOCALAPPDATA ? path.join(process2.env.LOCALAPPDATA, "Yarn/Data") : path.join(os.homedir(), ".config/yarn");
236538
234969
  }
236539
- const windowsPrefix = getYarnWindowsDirectory();
236540
- if (windowsPrefix) {
236541
- return windowsPrefix;
234970
+ if (process2.env.XDG_DATA_HOME) {
234971
+ return path.join(process2.env.XDG_DATA_HOME, "yarn");
236542
234972
  }
236543
- const configPrefix = path.join(os.homedir(), ".config/yarn");
236544
- if (fs.existsSync(configPrefix)) {
236545
- return configPrefix;
234973
+ return path.join(getYarnHomeDirectory(), ".config/yarn");
234974
+ };
234975
+ var getYarnBinPrefix = () => {
234976
+ if (process2.env.PREFIX) {
234977
+ return process2.env.PREFIX;
236546
234978
  }
236547
- const homePrefix = path.join(os.homedir(), ".yarn-config");
236548
- if (fs.existsSync(homePrefix)) {
236549
- return homePrefix;
234979
+ if (isWindows) {
234980
+ return process2.env.LOCALAPPDATA ? path.join(process2.env.LOCALAPPDATA, "Yarn") : path.join(os.homedir(), ".yarn");
236550
234981
  }
236551
- return npmPrefix;
234982
+ return `${process2.env.DESTDIR ?? ""}/usr/local`;
236552
234983
  };
236553
234984
  var globalDirectory = {};
236554
234985
  globalDirectory.npm = {};
236555
234986
  globalDirectory.npm.prefix = npmPrefix;
236556
234987
  globalDirectory.npm.packages = path.join(npmPrefix, isWindows ? "node_modules" : "lib/node_modules");
236557
234988
  globalDirectory.npm.binaries = isWindows ? npmPrefix : path.join(npmPrefix, "bin");
236558
- var yarnPrefix = path.resolve(getYarnPrefix());
234989
+ var yarnDataDir = path.resolve(getYarnDataDirectory());
236559
234990
  globalDirectory.yarn = {};
236560
- globalDirectory.yarn.prefix = yarnPrefix;
236561
- globalDirectory.yarn.packages = path.join(yarnPrefix, getYarnWindowsDirectory() ? "Data/global/node_modules" : "global/node_modules");
236562
- globalDirectory.yarn.binaries = path.join(globalDirectory.yarn.packages, ".bin");
234991
+ globalDirectory.yarn.prefix = yarnDataDir;
234992
+ globalDirectory.yarn.packages = path.join(yarnDataDir, "global/node_modules");
234993
+ globalDirectory.yarn.binaries = path.join(path.resolve(getYarnBinPrefix()), "bin");
234994
+ var getPnpmDataDirectory = () => {
234995
+ if (process2.env.PNPM_HOME) {
234996
+ return process2.env.PNPM_HOME;
234997
+ }
234998
+ if (process2.env.XDG_DATA_HOME) {
234999
+ return path.join(process2.env.XDG_DATA_HOME, "pnpm");
235000
+ }
235001
+ if (process2.platform === "darwin") {
235002
+ return path.join(os.homedir(), "Library/pnpm");
235003
+ }
235004
+ if (!isWindows) {
235005
+ return path.join(os.homedir(), ".local/share/pnpm");
235006
+ }
235007
+ if (process2.env.LOCALAPPDATA) {
235008
+ return path.join(process2.env.LOCALAPPDATA, "pnpm");
235009
+ }
235010
+ return path.join(os.homedir(), ".pnpm");
235011
+ };
235012
+ var getPnpmConfigFilePath = () => {
235013
+ if (process2.env.XDG_CONFIG_HOME) {
235014
+ return path.join(process2.env.XDG_CONFIG_HOME, "pnpm", "rc");
235015
+ }
235016
+ if (isWindows) {
235017
+ const localConfigHome = process2.env.LOCALAPPDATA ?? path.join(os.homedir(), "AppData", "Local");
235018
+ return path.join(localConfigHome, "pnpm", "config", "rc");
235019
+ }
235020
+ if (process2.platform === "darwin") {
235021
+ return path.join(os.homedir(), "Library", "Preferences", "pnpm", "rc");
235022
+ }
235023
+ return path.join(os.homedir(), ".config", "pnpm", "rc");
235024
+ };
235025
+ var getPnpmConfigValue = (key) => {
235026
+ const environmentValue = getEnvironmentNpmConfigValue(key);
235027
+ if (environmentValue !== void 0) {
235028
+ return environmentValue;
235029
+ }
235030
+ const pnpmGlobalValue = readConfigValue(getPnpmConfigFilePath(), key);
235031
+ if (pnpmGlobalValue !== void 0) {
235032
+ return pnpmGlobalValue;
235033
+ }
235034
+ const homeValue = readConfigValue(path.join(os.homedir(), ".npmrc"), key);
235035
+ if (homeValue !== void 0) {
235036
+ return homeValue;
235037
+ }
235038
+ const globalValue = readConfigValue(getGlobalNpmrc(), key);
235039
+ if (globalValue !== void 0) {
235040
+ return globalValue;
235041
+ }
235042
+ };
235043
+ var pnpmDataDir = path.resolve(getPnpmDataDirectory());
235044
+ var pnpmGlobalDir = getPnpmConfigValue("global-dir");
235045
+ var pnpmGlobalBinDir = getPnpmConfigValue("global-bin-dir");
235046
+ var resolvedPnpmGlobalDir = path.resolve(untildify(pnpmGlobalDir ?? path.join(pnpmDataDir, "global")));
235047
+ var resolvedPnpmGlobalBinDir = path.resolve(untildify(pnpmGlobalBinDir ?? pnpmDataDir));
235048
+ globalDirectory.pnpm = {};
235049
+ globalDirectory.pnpm.prefix = pnpmDataDir;
235050
+ globalDirectory.pnpm.packages = path.join(resolvedPnpmGlobalDir, "5/node_modules");
235051
+ globalDirectory.pnpm.binaries = resolvedPnpmGlobalBinDir;
236563
235052
  var global_directory_default = globalDirectory;
236564
235053
 
236565
235054
  // node_modules/import-meta-resolve/lib/resolve.js
@@ -237828,7 +236317,6 @@ function moduleResolve(specifier, base, conditions2, preserveSymlinks) {
237828
236317
  }
237829
236318
 
237830
236319
  // node_modules/@commitlint/resolve-extends/lib/index.js
237831
- var import_lodash6 = __toESM(require_lodash6(), 1);
237832
236320
  var import_resolve_from = __toESM(require_resolve_from(), 1);
237833
236321
  var require3 = createRequire2(import.meta.url);
237834
236322
  var dynamicImport = async (id) => {
@@ -237885,7 +236373,7 @@ async function resolveExtends(config = {}, context = {}) {
237885
236373
  const { extends: e2 } = config;
237886
236374
  const extended = await loadExtends(config, context);
237887
236375
  extended.push(config);
237888
- return extended.reduce((r2, { extends: _2, ...c2 }) => (0, import_lodash6.default)(r2, c2, (objValue, srcValue, key) => {
236376
+ return extended.reduce((r2, { extends: _2, ...c2 }) => mergeWith(r2, c2, (objValue, srcValue, key) => {
237889
236377
  if (key === "plugins") {
237890
236378
  if (Array.isArray(objValue)) {
237891
236379
  return objValue.concat(srcValue);
@@ -238034,7 +236522,7 @@ function resolveGlobalSilent(specifier) {
238034
236522
  }
238035
236523
 
238036
236524
  // node_modules/is-plain-obj/index.js
238037
- function isPlainObject(value) {
236525
+ function isPlainObject2(value) {
238038
236526
  if (typeof value !== "object" || value === null) {
238039
236527
  return false;
238040
236528
  }
@@ -238042,9 +236530,6 @@ function isPlainObject(value) {
238042
236530
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
238043
236531
  }
238044
236532
 
238045
- // node_modules/@commitlint/load/lib/load.js
238046
- var import_lodash7 = __toESM(require_lodash6(), 1);
238047
-
238048
236533
  // node_modules/@commitlint/load/lib/utils/load-config.js
238049
236534
  var import_cosmiconfig = __toESM(require_dist(), 1);
238050
236535
  import { existsSync, readFileSync } from "node:fs";
@@ -238175,7 +236660,7 @@ var isEsmModule = (cwd) => {
238175
236660
  };
238176
236661
 
238177
236662
  // node_modules/@commitlint/load/lib/utils/load-parser-opts.js
238178
- function isObjectLike(obj) {
236663
+ function isObjectLike2(obj) {
238179
236664
  return Boolean(obj) && typeof obj === "object";
238180
236665
  }
238181
236666
  function isParserOptsFunction(obj) {
@@ -238194,7 +236679,7 @@ async function loadParserOpts(pendingParser) {
238194
236679
  }
238195
236680
  if (typeof parser2.parserOpts === "object") {
238196
236681
  parser2.parserOpts = await parser2.parserOpts;
238197
- if (isObjectLike(parser2.parserOpts) && isObjectLike(parser2.parserOpts.parserOpts)) {
236682
+ if (isObjectLike2(parser2.parserOpts) && isObjectLike2(parser2.parserOpts.parserOpts)) {
238198
236683
  const { parserOpts: inner, ...rest } = parser2.parserOpts;
238199
236684
  parser2.parserOpts = { ...inner, ...rest };
238200
236685
  }
@@ -238441,7 +236926,7 @@ async function load(seed = {}, options = {}) {
238441
236926
  validateConfig(loaded.filepath || "", resolvedConfig);
238442
236927
  config = resolvedConfig;
238443
236928
  }
238444
- config = (0, import_lodash7.default)({
236929
+ config = merge({
238445
236930
  extends: [],
238446
236931
  plugins: [],
238447
236932
  rules: {}
@@ -238480,7 +236965,7 @@ async function load(seed = {}, options = {}) {
238480
236965
  return registry;
238481
236966
  }, {});
238482
236967
  const helpUrl = typeof extended.helpUrl === "string" ? extended.helpUrl : typeof config.helpUrl === "string" ? config.helpUrl : "https://github.com/conventional-changelog/commitlint/#what-is-commitlint";
238483
- const prompt = extended.prompt && isPlainObject(extended.prompt) ? extended.prompt : {};
236968
+ const prompt = extended.prompt && isPlainObject2(extended.prompt) ? extended.prompt : {};
238484
236969
  return {
238485
236970
  extends: Array.isArray(extended.extends) ? extended.extends : typeof extended.extends === "string" ? [extended.extends] : [],
238486
236971
  // Resolve config-relative formatter module
@@ -238652,9 +237137,9 @@ var GitClient = class {
238652
237137
  * @yields Raw commits data.
238653
237138
  */
238654
237139
  async *getRawCommits(params = {}) {
238655
- const { path: path11, from = "", to = "HEAD", format: format4 = "%B", ignore, reverse, merges, since } = params;
237140
+ const { path: path11, from = "", to = "HEAD", format: format4 = "%B", ignore, reverse, merges, since, firstParent } = params;
238656
237141
  const shouldNotIgnore = ignore ? (chunk2) => !ignore.test(chunk2) : () => true;
238657
- const stdout = this.execStream("log", `--format=${format4}%n${SCISSOR2}`, since && `--since=${since instanceof Date ? since.toISOString() : since}`, reverse && "--reverse", merges && "--merges", merges === false && "--no-merges", [from, to].filter(Boolean).join(".."), ...path11 ? ["--", ...toArray(path11)] : []);
237142
+ const stdout = this.execStream("log", `--format=${format4}%n${SCISSOR2}`, since && `--since=${since instanceof Date ? since.toISOString() : since}`, reverse && "--reverse", merges && "--merges", merges === false && "--no-merges", firstParent && "--first-parent", [from, to].filter(Boolean).join(".."), ...path11 ? ["--", ...toArray(path11)] : []);
238658
237143
  const commitsStream = splitStream(stdout, `${SCISSOR2}
238659
237144
  `);
238660
237145
  let chunk;
@@ -238947,71 +237432,70 @@ async function getEditCommit(cwd, edit) {
238947
237432
 
238948
237433
  // node_modules/tinyexec/dist/main.mjs
238949
237434
  import { createRequire as e } from "node:module";
238950
- import { spawn as t } from "node:child_process";
238951
- import { delimiter as n, dirname as r, normalize as i, resolve as a } from "node:path";
238952
- import { cwd as o } from "node:process";
238953
- import { PassThrough as s } from "node:stream";
238954
- import c from "node:readline";
238955
- var l = (e2, t2) => () => (t2 || e2((t2 = { exports: {} }).exports, t2), t2.exports);
238956
- var u = /* @__PURE__ */ e(import.meta.url);
238957
- var d = /^path$/i;
238958
- var f = {
237435
+ import { spawn as t, spawnSync as n } from "node:child_process";
237436
+ import { delimiter as r, dirname as i, normalize as a, resolve as o } from "node:path";
237437
+ import { cwd as s } from "node:process";
237438
+ import { pipeline as c } from "node:stream/promises";
237439
+ import { PassThrough as l } from "node:stream";
237440
+ import u from "node:readline";
237441
+ var d = (e2, t2) => () => (t2 || e2((t2 = { exports: {} }).exports, t2), t2.exports);
237442
+ var f = /* @__PURE__ */ e(import.meta.url);
237443
+ var p = /^path$/i;
237444
+ var m = {
238959
237445
  key: "PATH",
238960
237446
  value: ""
238961
237447
  };
238962
- function p(e2) {
237448
+ function h(e2) {
238963
237449
  for (const t2 in e2) {
238964
- if (!Object.prototype.hasOwnProperty.call(e2, t2) || !d.test(t2)) continue;
237450
+ if (!Object.prototype.hasOwnProperty.call(e2, t2) || !p.test(t2)) continue;
238965
237451
  const n2 = e2[t2];
238966
- if (!n2) return f;
237452
+ if (!n2) return m;
238967
237453
  return {
238968
237454
  key: t2,
238969
237455
  value: n2
238970
237456
  };
238971
237457
  }
238972
- return f;
237458
+ return m;
238973
237459
  }
238974
- function m(e2, t2) {
238975
- const i2 = t2.value.split(n);
238976
- const o2 = [];
237460
+ function g(e2, t2) {
237461
+ const n2 = t2.value.split(r);
237462
+ const a2 = [];
238977
237463
  let s2 = e2;
238978
237464
  let c2;
238979
237465
  do {
238980
- o2.push(a(s2, "node_modules", ".bin"));
237466
+ a2.push(o(s2, "node_modules", ".bin"));
238981
237467
  c2 = s2;
238982
- s2 = r(s2);
237468
+ s2 = i(s2);
238983
237469
  } while (s2 !== c2);
238984
- const l2 = o2.concat(i2).join(n);
237470
+ a2.push(i(process.execPath));
237471
+ const l2 = a2.concat(n2).join(r);
238985
237472
  return {
238986
237473
  key: t2.key,
238987
237474
  value: l2
238988
237475
  };
238989
237476
  }
238990
- function h(e2, t2) {
237477
+ function _(e2, t2) {
238991
237478
  const n2 = {
238992
237479
  ...process.env,
238993
237480
  ...t2
238994
237481
  };
238995
- const r2 = m(e2, p(n2));
237482
+ const r2 = g(e2, h(n2));
238996
237483
  n2[r2.key] = r2.value;
238997
237484
  return n2;
238998
237485
  }
238999
- var g = (e2) => {
237486
+ var v = (e2) => {
239000
237487
  let t2 = e2.length;
239001
- const n2 = new s();
237488
+ const n2 = new l();
239002
237489
  const r2 = () => {
239003
- if (--t2 === 0) n2.emit("end");
237490
+ if (--t2 === 0) n2.end();
239004
237491
  };
239005
- for (const t3 of e2) {
239006
- t3.pipe(n2, { end: false });
239007
- t3.on("end", r2);
239008
- }
237492
+ for (const t3 of e2) c(t3, n2, { end: false }).then(r2).catch(r2);
239009
237493
  return n2;
239010
237494
  };
239011
- var _ = /* @__PURE__ */ l(((e2, t2) => {
237495
+ var y = /* @__PURE__ */ d(((e2, t2) => {
239012
237496
  t2.exports = a2;
239013
237497
  a2.sync = o2;
239014
- var n2 = u("fs");
237498
+ var n2 = f("fs");
239015
237499
  function r2(e3, t3) {
239016
237500
  var n3 = t3.pathExt !== void 0 ? t3.pathExt : process.env.PATHEXT;
239017
237501
  if (!n3) return true;
@@ -239036,10 +237520,10 @@ var _ = /* @__PURE__ */ l(((e2, t2) => {
239036
237520
  return i2(n2.statSync(e3), e3, t3);
239037
237521
  }
239038
237522
  }));
239039
- var v = /* @__PURE__ */ l(((e2, t2) => {
237523
+ var b = /* @__PURE__ */ d(((e2, t2) => {
239040
237524
  t2.exports = r2;
239041
237525
  r2.sync = i2;
239042
- var n2 = u("fs");
237526
+ var n2 = f("fs");
239043
237527
  function r2(e3, t3, r3) {
239044
237528
  n2.stat(e3, function(e4, n3) {
239045
237529
  r3(e4, e4 ? false : a2(n3, t3));
@@ -239064,11 +237548,11 @@ var v = /* @__PURE__ */ l(((e2, t2) => {
239064
237548
  return n3 & l2 || n3 & c2 && i3 === o3 || n3 & s2 && r3 === a3 || n3 & u2 && a3 === 0;
239065
237549
  }
239066
237550
  }));
239067
- var y = /* @__PURE__ */ l(((e2, t2) => {
239068
- u("fs");
237551
+ var x = /* @__PURE__ */ d(((e2, t2) => {
237552
+ f("fs");
239069
237553
  var n2;
239070
- if (process.platform === "win32" || global.TESTING_WINDOWS) n2 = _();
239071
- else n2 = v();
237554
+ if (process.platform === "win32" || global.TESTING_WINDOWS) n2 = y();
237555
+ else n2 = b();
239072
237556
  t2.exports = r2;
239073
237557
  r2.sync = i2;
239074
237558
  function r2(e3, t3, i3) {
@@ -239104,11 +237588,11 @@ var y = /* @__PURE__ */ l(((e2, t2) => {
239104
237588
  }
239105
237589
  }
239106
237590
  }));
239107
- var b = /* @__PURE__ */ l(((e2, t2) => {
237591
+ var S = /* @__PURE__ */ d(((e2, t2) => {
239108
237592
  const n2 = process.platform === "win32" || process.env.OSTYPE === "cygwin" || process.env.OSTYPE === "msys";
239109
- const r2 = u("path");
237593
+ const r2 = f("path");
239110
237594
  const i2 = n2 ? ";" : ":";
239111
- const a2 = y();
237595
+ const a2 = x();
239112
237596
  const o2 = (e3) => Object.assign(/* @__PURE__ */ new Error(`not found: ${e3}`), { code: "ENOENT" });
239113
237597
  const s2 = (e3, t3) => {
239114
237598
  const r3 = t3.colon || i2;
@@ -239175,7 +237659,7 @@ var b = /* @__PURE__ */ l(((e2, t2) => {
239175
237659
  t2.exports = c2;
239176
237660
  c2.sync = l2;
239177
237661
  }));
239178
- var x = /* @__PURE__ */ l(((e2, t2) => {
237662
+ var C = /* @__PURE__ */ d(((e2, t2) => {
239179
237663
  const n2 = (e3 = {}) => {
239180
237664
  const t3 = e3.env || process.env;
239181
237665
  if ((e3.platform || process.platform) !== "win32") return "PATH";
@@ -239184,10 +237668,10 @@ var x = /* @__PURE__ */ l(((e2, t2) => {
239184
237668
  t2.exports = n2;
239185
237669
  t2.exports.default = n2;
239186
237670
  }));
239187
- var S = /* @__PURE__ */ l(((e2, t2) => {
239188
- const n2 = u("path");
239189
- const r2 = b();
239190
- const i2 = x();
237671
+ var w = /* @__PURE__ */ d(((e2, t2) => {
237672
+ const n2 = f("path");
237673
+ const r2 = S();
237674
+ const i2 = C();
239191
237675
  function a2(e3, t3) {
239192
237676
  const a3 = e3.options.env || process.env;
239193
237677
  const o3 = process.cwd();
@@ -239215,7 +237699,7 @@ var S = /* @__PURE__ */ l(((e2, t2) => {
239215
237699
  }
239216
237700
  t2.exports = o2;
239217
237701
  }));
239218
- var C = /* @__PURE__ */ l(((e2, t2) => {
237702
+ var T = /* @__PURE__ */ d(((e2, t2) => {
239219
237703
  const n2 = /([()\][%!^"`<>&|;, *?])/g;
239220
237704
  function r2(e3) {
239221
237705
  e3 = e3.replace(n2, "^$1");
@@ -239233,11 +237717,11 @@ var C = /* @__PURE__ */ l(((e2, t2) => {
239233
237717
  t2.exports.command = r2;
239234
237718
  t2.exports.argument = i2;
239235
237719
  }));
239236
- var w = /* @__PURE__ */ l(((e2, t2) => {
237720
+ var E = /* @__PURE__ */ d(((e2, t2) => {
239237
237721
  t2.exports = /^#!(.*)/;
239238
237722
  }));
239239
- var T = /* @__PURE__ */ l(((e2, t2) => {
239240
- const n2 = w();
237723
+ var D = /* @__PURE__ */ d(((e2, t2) => {
237724
+ const n2 = E();
239241
237725
  t2.exports = (e3 = "") => {
239242
237726
  const t3 = e3.match(n2);
239243
237727
  if (!t3) return null;
@@ -239247,9 +237731,9 @@ var T = /* @__PURE__ */ l(((e2, t2) => {
239247
237731
  return i2 ? `${a2} ${i2}` : a2;
239248
237732
  };
239249
237733
  }));
239250
- var E = /* @__PURE__ */ l(((e2, t2) => {
239251
- const n2 = u("fs");
239252
- const r2 = T();
237734
+ var O = /* @__PURE__ */ d(((e2, t2) => {
237735
+ const n2 = f("fs");
237736
+ const r2 = D();
239253
237737
  function i2(e3) {
239254
237738
  const t3 = 150;
239255
237739
  const i3 = Buffer.alloc(t3);
@@ -239264,11 +237748,11 @@ var E = /* @__PURE__ */ l(((e2, t2) => {
239264
237748
  }
239265
237749
  t2.exports = i2;
239266
237750
  }));
239267
- var D = /* @__PURE__ */ l(((e2, t2) => {
239268
- const n2 = u("path");
239269
- const r2 = S();
239270
- const i2 = C();
239271
- const a2 = E();
237751
+ var k = /* @__PURE__ */ d(((e2, t2) => {
237752
+ const n2 = f("path");
237753
+ const r2 = w();
237754
+ const i2 = T();
237755
+ const a2 = O();
239272
237756
  const o2 = process.platform === "win32";
239273
237757
  const s2 = /\.(?:com|exe)$/i;
239274
237758
  const c2 = /node_modules[\\/].bin[\\/][^\\/]+\.cmd$/i;
@@ -239282,7 +237766,7 @@ var D = /* @__PURE__ */ l(((e2, t2) => {
239282
237766
  }
239283
237767
  return e3.file;
239284
237768
  }
239285
- function d2(e3) {
237769
+ function u2(e3) {
239286
237770
  if (!o2) return e3;
239287
237771
  const t3 = l2(e3);
239288
237772
  const r3 = !s2.test(t3);
@@ -239302,7 +237786,7 @@ var D = /* @__PURE__ */ l(((e2, t2) => {
239302
237786
  }
239303
237787
  return e3;
239304
237788
  }
239305
- function f2(e3, t3, n3) {
237789
+ function d2(e3, t3, n3) {
239306
237790
  if (t3 && !Array.isArray(t3)) {
239307
237791
  n3 = t3;
239308
237792
  t3 = null;
@@ -239319,11 +237803,11 @@ var D = /* @__PURE__ */ l(((e2, t2) => {
239319
237803
  args: t3
239320
237804
  }
239321
237805
  };
239322
- return n3.shell ? r3 : d2(r3);
237806
+ return n3.shell ? r3 : u2(r3);
239323
237807
  }
239324
- t2.exports = f2;
237808
+ t2.exports = d2;
239325
237809
  }));
239326
- var O = /* @__PURE__ */ l(((e2, t2) => {
237810
+ var A = /* @__PURE__ */ d(((e2, t2) => {
239327
237811
  const n2 = process.platform === "win32";
239328
237812
  function r2(e3, t3) {
239329
237813
  return Object.assign(/* @__PURE__ */ new Error(`${t3} ${e3.command} ENOENT`), {
@@ -239360,10 +237844,10 @@ var O = /* @__PURE__ */ l(((e2, t2) => {
239360
237844
  notFoundError: r2
239361
237845
  };
239362
237846
  }));
239363
- var k = /* @__PURE__ */ l(((e2, t2) => {
239364
- const n2 = u("child_process");
239365
- const r2 = D();
239366
- const i2 = O();
237847
+ var j = /* @__PURE__ */ d(((e2, t2) => {
237848
+ const n2 = f("child_process");
237849
+ const r2 = k();
237850
+ const i2 = A();
239367
237851
  function a2(e3, t3, a3) {
239368
237852
  const o3 = r2(e3, t3, a3);
239369
237853
  const s2 = n2.spawn(o3.command, o3.args, o3.options);
@@ -239382,10 +237866,8 @@ var k = /* @__PURE__ */ l(((e2, t2) => {
239382
237866
  t2.exports._parse = r2;
239383
237867
  t2.exports._enoent = i2;
239384
237868
  }));
239385
- var A = k();
239386
- var j = class extends Error {
239387
- result;
239388
- output;
237869
+ var M = j();
237870
+ var N = class extends Error {
239389
237871
  get exitCode() {
239390
237872
  if (this.result.exitCode !== null) return this.result.exitCode;
239391
237873
  }
@@ -239395,18 +237877,18 @@ var j = class extends Error {
239395
237877
  this.output = t2;
239396
237878
  }
239397
237879
  };
239398
- var M = {
237880
+ var F = {
239399
237881
  timeout: void 0,
239400
237882
  persist: false
239401
237883
  };
239402
- var N = { windowsHide: true };
239403
- function P(e2, t2) {
237884
+ var L = { windowsHide: true };
237885
+ function R(e2, t2) {
239404
237886
  return {
239405
- command: i(e2),
237887
+ command: a(e2),
239406
237888
  args: t2 ?? []
239407
237889
  };
239408
237890
  }
239409
- function F(e2) {
237891
+ function z(e2) {
239410
237892
  const t2 = new AbortController();
239411
237893
  for (const n2 of e2) {
239412
237894
  if (n2.aborted) {
@@ -239420,12 +237902,15 @@ function F(e2) {
239420
237902
  }
239421
237903
  return t2.signal;
239422
237904
  }
239423
- async function I(e2) {
237905
+ async function B(e2) {
239424
237906
  let t2 = "";
239425
- for await (const n2 of e2) t2 += n2.toString();
237907
+ try {
237908
+ for await (const n2 of e2) t2 += n2.toString();
237909
+ } catch {
237910
+ }
239426
237911
  return t2;
239427
237912
  }
239428
- var L = class {
237913
+ var V = class {
239429
237914
  _process;
239430
237915
  _aborted = false;
239431
237916
  _options;
@@ -239445,7 +237930,7 @@ var L = class {
239445
237930
  }
239446
237931
  constructor(e2, t2, n2) {
239447
237932
  this._options = {
239448
- ...M,
237933
+ ...F,
239449
237934
  ...n2
239450
237935
  };
239451
237936
  this._command = e2;
@@ -239464,7 +237949,7 @@ var L = class {
239464
237949
  return this._process?.killed === true;
239465
237950
  }
239466
237951
  pipe(e2, t2, n2) {
239467
- return z(e2, t2, {
237952
+ return W(e2, t2, {
239468
237953
  ...n2,
239469
237954
  stdin: this
239470
237955
  });
@@ -239475,29 +237960,30 @@ var L = class {
239475
237960
  const t2 = [];
239476
237961
  if (this._streamErr) t2.push(this._streamErr);
239477
237962
  if (this._streamOut) t2.push(this._streamOut);
239478
- const n2 = g(t2);
239479
- const r2 = c.createInterface({ input: n2 });
237963
+ const n2 = v(t2);
237964
+ const r2 = u.createInterface({ input: n2 });
239480
237965
  for await (const e3 of r2) yield e3.toString();
239481
237966
  await this._processClosed;
239482
237967
  e2.removeAllListeners();
239483
237968
  if (this._thrownError) throw this._thrownError;
239484
- if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new j(this);
237969
+ if (this._options?.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new N(this);
239485
237970
  }
239486
237971
  async _waitForOutput() {
239487
237972
  const e2 = this._process;
239488
237973
  if (!e2) throw new Error("No process was started");
239489
- const [t2, n2] = await Promise.all([this._streamOut ? I(this._streamOut) : "", this._streamErr ? I(this._streamErr) : ""]);
237974
+ const [t2, n2] = await Promise.all([this._streamOut ? B(this._streamOut) : "", this._streamErr ? B(this._streamErr) : ""]);
239490
237975
  await this._processClosed;
239491
- if (this._options?.stdin) await this._options.stdin;
237976
+ const { stdin: r2 } = this._options;
237977
+ if (r2 && typeof r2 !== "string") await r2;
239492
237978
  e2.removeAllListeners();
239493
237979
  if (this._thrownError) throw this._thrownError;
239494
- const r2 = {
237980
+ const i2 = {
239495
237981
  stderr: n2,
239496
237982
  stdout: t2,
239497
237983
  exitCode: this.exitCode
239498
237984
  };
239499
- if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new j(this, r2);
239500
- return r2;
237985
+ if (this._options.throwOnError && this.exitCode !== 0 && this.exitCode !== void 0) throw new N(this, i2);
237986
+ return i2;
239501
237987
  }
239502
237988
  then(e2, t2) {
239503
237989
  return this._waitForOutput().then(e2, t2);
@@ -239505,10 +237991,10 @@ var L = class {
239505
237991
  _streamOut;
239506
237992
  _streamErr;
239507
237993
  spawn() {
239508
- const e2 = o();
237994
+ const e2 = s();
239509
237995
  const n2 = this._options;
239510
237996
  const r2 = {
239511
- ...N,
237997
+ ...L,
239512
237998
  ...n2.nodeOptions
239513
237999
  };
239514
238000
  const i2 = [];
@@ -239516,19 +238002,20 @@ var L = class {
239516
238002
  if (n2.timeout !== void 0) i2.push(AbortSignal.timeout(n2.timeout));
239517
238003
  if (n2.signal !== void 0) i2.push(n2.signal);
239518
238004
  if (n2.persist === true) r2.detached = true;
239519
- if (i2.length > 0) r2.signal = F(i2);
239520
- r2.env = h(e2, r2.env);
239521
- const { command: a2, args: s2 } = P(this._command, this._args);
239522
- const c2 = (0, A._parse)(a2, s2, r2);
238005
+ if (i2.length > 0) r2.signal = z(i2);
238006
+ r2.env = _(e2, r2.env);
238007
+ const { command: a2, args: o2 } = R(this._command, this._args);
238008
+ const c2 = (0, M._parse)(a2, o2, r2);
239523
238009
  const l2 = t(c2.command, c2.args, c2.options);
239524
238010
  if (l2.stderr) this._streamErr = l2.stderr;
239525
238011
  if (l2.stdout) this._streamOut = l2.stdout;
239526
238012
  this._process = l2;
239527
238013
  l2.once("error", this._onError);
239528
238014
  l2.once("close", this._onClose);
239529
- if (n2.stdin !== void 0 && l2.stdin && n2.stdin.process) {
239530
- const { stdout: e3 } = n2.stdin.process;
239531
- if (e3) e3.pipe(l2.stdin);
238015
+ if (l2.stdin) {
238016
+ const { stdin: e3 } = n2;
238017
+ if (typeof e3 === "string") l2.stdin.end(e3);
238018
+ else e3?.process?.stdout?.pipe(l2.stdin);
239532
238019
  }
239533
238020
  }
239534
238021
  _resetState() {
@@ -239549,12 +238036,12 @@ var L = class {
239549
238036
  if (this._resolveClose) this._resolveClose();
239550
238037
  };
239551
238038
  };
239552
- var R = (e2, t2, n2) => {
239553
- const r2 = new L(e2, t2, n2);
238039
+ var U = (e2, t2, n2) => {
238040
+ const r2 = new V(e2, t2, n2);
239554
238041
  r2.spawn();
239555
238042
  return r2;
239556
238043
  };
239557
- var z = R;
238044
+ var W = U;
239558
238045
 
239559
238046
  // node_modules/@commitlint/read/lib/read.js
239560
238047
  async function getCommitMessages(settings) {
@@ -239564,14 +238051,14 @@ async function getCommitMessages(settings) {
239564
238051
  return getEditCommit(cwd, edit);
239565
238052
  }
239566
238053
  if (last) {
239567
- const gitCommandResult = await R("git", ["log", "-1", "--pretty=format:%B"], { nodeOptions: { cwd } });
238054
+ const gitCommandResult = await U("git", ["log", "-1", "--pretty=format:%B"], { nodeOptions: { cwd } });
239568
238055
  let output2 = gitCommandResult.stdout.trim();
239569
238056
  if (output2[0] == '"' && output2[output2.length - 1] == '"')
239570
238057
  output2 = output2.slice(1, -1);
239571
238058
  return [output2];
239572
238059
  }
239573
238060
  if (!from && fromLastTag) {
239574
- const output2 = await R("git", [
238061
+ const output2 = await U("git", [
239575
238062
  "describe",
239576
238063
  "--abbrev=40",
239577
238064
  "--always",
@@ -239916,7 +238403,7 @@ import { format as format2 } from "util";
239916
238403
  import { normalize, resolve as resolve3 } from "path";
239917
238404
 
239918
238405
  // node_modules/yargs-parser/build/lib/string-utils.js
239919
- function camelCase2(str) {
238406
+ function camelCase3(str) {
239920
238407
  const isCamelCase = str !== str.toLowerCase() && str !== str.toUpperCase();
239921
238408
  if (!isCamelCase) {
239922
238409
  str = str.toLowerCase();
@@ -240320,7 +238807,7 @@ var YargsParser = class {
240320
238807
  ;
240321
238808
  [].concat(...Object.keys(aliases).map((k2) => aliases[k2])).forEach((alias) => {
240322
238809
  if (configuration["camel-case-expansion"] && alias.includes("-")) {
240323
- delete argv[alias.split(".").map((prop) => camelCase2(prop)).join(".")];
238810
+ delete argv[alias.split(".").map((prop) => camelCase3(prop)).join(".")];
240324
238811
  }
240325
238812
  delete argv[alias];
240326
238813
  });
@@ -240402,7 +238889,7 @@ var YargsParser = class {
240402
238889
  function setArg(key, val, shouldStripQuotes = inputIsString) {
240403
238890
  if (/-/.test(key) && configuration["camel-case-expansion"]) {
240404
238891
  const alias = key.split(".").map(function(prop) {
240405
- return camelCase2(prop);
238892
+ return camelCase3(prop);
240406
238893
  }).join(".");
240407
238894
  addNewAlias(key, alias);
240408
238895
  }
@@ -240550,7 +239037,7 @@ var YargsParser = class {
240550
239037
  if (i2 === 0) {
240551
239038
  key = key.substring(prefix2.length);
240552
239039
  }
240553
- return camelCase2(key);
239040
+ return camelCase3(key);
240554
239041
  });
240555
239042
  if ((configOnly && flags.configs[keys.join(".")] || !configOnly) && !hasKey(argv2, keys)) {
240556
239043
  setArg(keys.join("."), env2[envVar]);
@@ -240670,7 +239157,7 @@ var YargsParser = class {
240670
239157
  flags.aliases[key] = [].concat(aliases[key] || []);
240671
239158
  flags.aliases[key].concat(key).forEach(function(x2) {
240672
239159
  if (/-/.test(x2) && configuration["camel-case-expansion"]) {
240673
- const c2 = camelCase2(x2);
239160
+ const c2 = camelCase3(x2);
240674
239161
  if (c2 !== key && flags.aliases[key].indexOf(c2) === -1) {
240675
239162
  flags.aliases[key].push(c2);
240676
239163
  newAliases[c2] = true;
@@ -240891,7 +239378,7 @@ var yargsParser = function Parser(args, opts) {
240891
239378
  yargsParser.detailed = function(args, opts) {
240892
239379
  return parser.parse(args.slice(), opts);
240893
239380
  };
240894
- yargsParser.camelCase = camelCase2;
239381
+ yargsParser.camelCase = camelCase3;
240895
239382
  yargsParser.decamelize = decamelize;
240896
239383
  yargsParser.looksLikeNumber = looksLikeNumber;
240897
239384
  var lib_default5 = yargsParser;
@@ -244678,7 +243165,7 @@ async function main(args) {
244678
243165
  }
244679
243166
  const format4 = await loadFormatter(loaded, flags);
244680
243167
  if (flags.edit) {
244681
- const result = R("git", ["config", "core.commentChar"]);
243168
+ const result = U("git", ["config", "core.commentChar"]);
244682
243169
  const output3 = await result;
244683
243170
  if (result.exitCode && result.exitCode > 1) {
244684
243171
  console.warn("Could not determine core.commentChar git configuration", output3.stderr);