drizzle-kit 0.9.48 → 0.9.49

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 (4) hide show
  1. package/LICENSE +674 -0
  2. package/index.js +976 -622
  3. package/package.json +14 -13
  4. package/readme.md +83 -0
package/index.js CHANGED
@@ -1,54 +1,23 @@
1
1
  #!/usr/bin/env node
2
+ "use strict";
2
3
  var __create = Object.create;
3
4
  var __defProp = Object.defineProperty;
4
- var __defProps = Object.defineProperties;
5
5
  var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
6
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
7
6
  var __getOwnPropNames = Object.getOwnPropertyNames;
8
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
9
7
  var __getProtoOf = Object.getPrototypeOf;
10
8
  var __hasOwnProp = Object.prototype.hasOwnProperty;
11
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
12
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
13
- var __spreadValues = (a, b) => {
14
- for (var prop in b || (b = {}))
15
- if (__hasOwnProp.call(b, prop))
16
- __defNormalProp(a, prop, b[prop]);
17
- if (__getOwnPropSymbols)
18
- for (var prop of __getOwnPropSymbols(b)) {
19
- if (__propIsEnum.call(b, prop))
20
- __defNormalProp(a, prop, b[prop]);
21
- }
22
- return a;
23
- };
24
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
25
- var __markAsModule = (target) => __defProp(target, "__esModule", { value: true });
26
- var __objRest = (source, exclude) => {
27
- var target = {};
28
- for (var prop in source)
29
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
30
- target[prop] = source[prop];
31
- if (source != null && __getOwnPropSymbols)
32
- for (var prop of __getOwnPropSymbols(source)) {
33
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
34
- target[prop] = source[prop];
35
- }
36
- return target;
37
- };
38
9
  var __commonJS = (cb, mod) => function __require() {
39
10
  return mod || (0, cb[__getOwnPropNames(cb)[0]])((mod = { exports: {} }).exports, mod), mod.exports;
40
11
  };
41
- var __reExport = (target, module2, copyDefault, desc) => {
42
- if (module2 && typeof module2 === "object" || typeof module2 === "function") {
43
- for (let key of __getOwnPropNames(module2))
44
- if (!__hasOwnProp.call(target, key) && (copyDefault || key !== "default"))
45
- __defProp(target, key, { get: () => module2[key], enumerable: !(desc = __getOwnPropDesc(module2, key)) || desc.enumerable });
12
+ var __copyProps = (to, from, except, desc) => {
13
+ if (from && typeof from === "object" || typeof from === "function") {
14
+ for (let key of __getOwnPropNames(from))
15
+ if (!__hasOwnProp.call(to, key) && key !== except)
16
+ __defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable });
46
17
  }
47
- return target;
48
- };
49
- var __toESM = (module2, isNodeMode) => {
50
- return __reExport(__markAsModule(__defProp(module2 != null ? __create(__getProtoOf(module2)) : {}, "default", !isNodeMode && module2 && module2.__esModule ? { get: () => module2.default, enumerable: true } : { value: module2, enumerable: true })), module2);
18
+ return to;
51
19
  };
20
+ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__getProtoOf(mod)) : {}, __copyProps(isNodeMode || !mod || !mod.__esModule ? __defProp(target, "default", { value: mod, enumerable: true }) : target, mod));
52
21
 
53
22
  // node_modules/.pnpm/commander@8.3.0/node_modules/commander/lib/error.js
54
23
  var require_error = __commonJS({
@@ -1616,9 +1585,9 @@ var require_commander = __commonJS({
1616
1585
  }
1617
1586
  });
1618
1587
 
1619
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/_virtual/_tslib.js
1588
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/_virtual/_tslib.js
1620
1589
  var require_tslib = __commonJS({
1621
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/_virtual/_tslib.js"(exports) {
1590
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/_virtual/_tslib.js"(exports) {
1622
1591
  "use strict";
1623
1592
  Object.defineProperty(exports, "__esModule", { value: true });
1624
1593
  exports.__assign = function() {
@@ -1698,9 +1667,9 @@ var require_tslib = __commonJS({
1698
1667
  }
1699
1668
  });
1700
1669
 
1701
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/types.js
1670
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/types.js
1702
1671
  var require_types = __commonJS({
1703
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/types.js"(exports) {
1672
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/types.js"(exports) {
1704
1673
  "use strict";
1705
1674
  Object.defineProperty(exports, "__esModule", { value: true });
1706
1675
  exports.ActionTypes = void 0;
@@ -1734,9 +1703,9 @@ var require_types = __commonJS({
1734
1703
  }
1735
1704
  });
1736
1705
 
1737
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/actionTypes.js
1706
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/actionTypes.js
1738
1707
  var require_actionTypes = __commonJS({
1739
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/actionTypes.js"(exports) {
1708
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/actionTypes.js"(exports) {
1740
1709
  "use strict";
1741
1710
  Object.defineProperty(exports, "__esModule", { value: true });
1742
1711
  var types2 = require_types();
@@ -1779,9 +1748,9 @@ var require_actionTypes = __commonJS({
1779
1748
  }
1780
1749
  });
1781
1750
 
1782
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/constants.js
1751
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/constants.js
1783
1752
  var require_constants = __commonJS({
1784
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/constants.js"(exports) {
1753
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/constants.js"(exports) {
1785
1754
  "use strict";
1786
1755
  Object.defineProperty(exports, "__esModule", { value: true });
1787
1756
  var STATE_DELIMITER = ".";
@@ -1795,9 +1764,9 @@ var require_constants = __commonJS({
1795
1764
  }
1796
1765
  });
1797
1766
 
1798
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/environment.js
1767
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/environment.js
1799
1768
  var require_environment = __commonJS({
1800
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/environment.js"(exports) {
1769
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/environment.js"(exports) {
1801
1770
  "use strict";
1802
1771
  Object.defineProperty(exports, "__esModule", { value: true });
1803
1772
  var IS_PRODUCTION = process.env.NODE_ENV === "production";
@@ -1805,9 +1774,9 @@ var require_environment = __commonJS({
1805
1774
  }
1806
1775
  });
1807
1776
 
1808
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/utils.js
1777
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/utils.js
1809
1778
  var require_utils = __commonJS({
1810
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/utils.js"(exports) {
1779
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/utils.js"(exports) {
1811
1780
  "use strict";
1812
1781
  Object.defineProperty(exports, "__esModule", { value: true });
1813
1782
  var _tslib = require_tslib();
@@ -2396,9 +2365,9 @@ var require_utils = __commonJS({
2396
2365
  }
2397
2366
  });
2398
2367
 
2399
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/actions.js
2368
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/actions.js
2400
2369
  var require_actions = __commonJS({
2401
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/actions.js"(exports) {
2370
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/actions.js"(exports) {
2402
2371
  "use strict";
2403
2372
  Object.defineProperty(exports, "__esModule", { value: true });
2404
2373
  var _tslib = require_tslib();
@@ -2776,9 +2745,9 @@ var require_actions = __commonJS({
2776
2745
  }
2777
2746
  });
2778
2747
 
2779
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/serviceScope.js
2748
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/serviceScope.js
2780
2749
  var require_serviceScope = __commonJS({
2781
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/serviceScope.js"(exports) {
2750
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/serviceScope.js"(exports) {
2782
2751
  "use strict";
2783
2752
  Object.defineProperty(exports, "__esModule", { value: true });
2784
2753
  var serviceStack = [];
@@ -2796,9 +2765,9 @@ var require_serviceScope = __commonJS({
2796
2765
  }
2797
2766
  });
2798
2767
 
2799
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/Actor.js
2768
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/Actor.js
2800
2769
  var require_Actor = __commonJS({
2801
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/Actor.js"(exports) {
2770
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/Actor.js"(exports) {
2802
2771
  "use strict";
2803
2772
  Object.defineProperty(exports, "__esModule", { value: true });
2804
2773
  var _tslib = require_tslib();
@@ -2889,9 +2858,9 @@ var require_Actor = __commonJS({
2889
2858
  }
2890
2859
  });
2891
2860
 
2892
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/stateUtils.js
2861
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/stateUtils.js
2893
2862
  var require_stateUtils = __commonJS({
2894
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/stateUtils.js"(exports) {
2863
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/stateUtils.js"(exports) {
2895
2864
  "use strict";
2896
2865
  Object.defineProperty(exports, "__esModule", { value: true });
2897
2866
  var _tslib = require_tslib();
@@ -2902,6 +2871,8 @@ var require_stateUtils = __commonJS({
2902
2871
  function getChildren(stateNode) {
2903
2872
  return Object.keys(stateNode.states).map(function(key) {
2904
2873
  return stateNode.states[key];
2874
+ }).filter(function(sn) {
2875
+ return sn.type !== "history";
2905
2876
  });
2906
2877
  }
2907
2878
  function getAllStateNodes(stateNode) {
@@ -2957,9 +2928,6 @@ var require_stateUtils = __commonJS({
2957
2928
  try {
2958
2929
  for (var _e = (e_3 = void 0, _tslib.__values(getChildren(s))), _f = _e.next(); !_f.done; _f = _e.next()) {
2959
2930
  var child = _f.value;
2960
- if (child.type === "history") {
2961
- continue;
2962
- }
2963
2931
  if (!configuration.has(child)) {
2964
2932
  configuration.add(child);
2965
2933
  if (prevAdjList.get(child)) {
@@ -3141,9 +3109,9 @@ var require_stateUtils = __commonJS({
3141
3109
  }
3142
3110
  });
3143
3111
 
3144
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/State.js
3112
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/State.js
3145
3113
  var require_State = __commonJS({
3146
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/State.js"(exports) {
3114
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/State.js"(exports) {
3147
3115
  "use strict";
3148
3116
  Object.defineProperty(exports, "__esModule", { value: true });
3149
3117
  var _tslib = require_tslib();
@@ -3338,9 +3306,9 @@ var require_State = __commonJS({
3338
3306
  }
3339
3307
  });
3340
3308
 
3341
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/scheduler.js
3309
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/scheduler.js
3342
3310
  var require_scheduler = __commonJS({
3343
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/scheduler.js"(exports) {
3311
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/scheduler.js"(exports) {
3344
3312
  "use strict";
3345
3313
  Object.defineProperty(exports, "__esModule", { value: true });
3346
3314
  var _tslib = require_tslib();
@@ -3403,9 +3371,9 @@ var require_scheduler = __commonJS({
3403
3371
  }
3404
3372
  });
3405
3373
 
3406
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/registry.js
3374
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/registry.js
3407
3375
  var require_registry = __commonJS({
3408
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/registry.js"(exports) {
3376
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/registry.js"(exports) {
3409
3377
  "use strict";
3410
3378
  Object.defineProperty(exports, "__esModule", { value: true });
3411
3379
  var children = /* @__PURE__ */ new Map();
@@ -3429,9 +3397,9 @@ var require_registry = __commonJS({
3429
3397
  }
3430
3398
  });
3431
3399
 
3432
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/devTools.js
3400
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/devTools.js
3433
3401
  var require_devTools = __commonJS({
3434
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/devTools.js"(exports) {
3402
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/devTools.js"(exports) {
3435
3403
  "use strict";
3436
3404
  Object.defineProperty(exports, "__esModule", { value: true });
3437
3405
  var environment = require_environment();
@@ -3473,9 +3441,9 @@ var require_devTools = __commonJS({
3473
3441
  }
3474
3442
  });
3475
3443
 
3476
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/behaviors.js
3444
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/behaviors.js
3477
3445
  var require_behaviors = __commonJS({
3478
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/behaviors.js"(exports) {
3446
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/behaviors.js"(exports) {
3479
3447
  "use strict";
3480
3448
  Object.defineProperty(exports, "__esModule", { value: true });
3481
3449
  var actions2 = require_actions();
@@ -3593,9 +3561,9 @@ var require_behaviors = __commonJS({
3593
3561
  }
3594
3562
  });
3595
3563
 
3596
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/interpreter.js
3564
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/interpreter.js
3597
3565
  var require_interpreter = __commonJS({
3598
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/interpreter.js"(exports) {
3566
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/interpreter.js"(exports) {
3599
3567
  "use strict";
3600
3568
  Object.defineProperty(exports, "__esModule", { value: true });
3601
3569
  var _tslib = require_tslib();
@@ -3629,7 +3597,6 @@ var require_interpreter = __commonJS({
3629
3597
  options = Interpreter2.defaultOptions;
3630
3598
  }
3631
3599
  this.machine = machine;
3632
- this.scheduler = new scheduler.Scheduler();
3633
3600
  this.delayedEventsMap = {};
3634
3601
  this.listeners = /* @__PURE__ */ new Set();
3635
3602
  this.contextListeners = /* @__PURE__ */ new Set();
@@ -3865,11 +3832,15 @@ var require_interpreter = __commonJS({
3865
3832
  resolvedCompleteListener = nextListenerOrObserver.complete.bind(nextListenerOrObserver);
3866
3833
  }
3867
3834
  this.listeners.add(listener);
3868
- if (this.status === exports.InterpreterStatus.Running) {
3835
+ if (this.status !== exports.InterpreterStatus.NotStarted) {
3869
3836
  listener(this.state);
3870
3837
  }
3871
3838
  if (resolvedCompleteListener) {
3872
- this.onDone(resolvedCompleteListener);
3839
+ if (this.status === exports.InterpreterStatus.Stopped) {
3840
+ resolvedCompleteListener();
3841
+ } else {
3842
+ this.onDone(resolvedCompleteListener);
3843
+ }
3873
3844
  }
3874
3845
  return {
3875
3846
  unsubscribe: function() {
@@ -4034,6 +4005,7 @@ var require_interpreter = __commonJS({
4034
4005
  child.stop();
4035
4006
  }
4036
4007
  });
4008
+ this.children.clear();
4037
4009
  try {
4038
4010
  for (var _p = _tslib.__values(Object.keys(this.delayedEventsMap)), _q = _p.next(); !_q.done; _q = _p.next()) {
4039
4011
  var key = _q.value;
@@ -4053,8 +4025,12 @@ var require_interpreter = __commonJS({
4053
4025
  }
4054
4026
  }
4055
4027
  this.scheduler.clear();
4028
+ this.scheduler = new scheduler.Scheduler({
4029
+ deferEvents: this.options.deferEvents
4030
+ });
4056
4031
  this.initialized = false;
4057
4032
  this.status = exports.InterpreterStatus.Stopped;
4033
+ this._initialState = void 0;
4058
4034
  registry.registry.free(this.sessionId);
4059
4035
  return this;
4060
4036
  };
@@ -4665,9 +4641,9 @@ var require_interpreter = __commonJS({
4665
4641
  }
4666
4642
  });
4667
4643
 
4668
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/invokeUtils.js
4644
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/invokeUtils.js
4669
4645
  var require_invokeUtils = __commonJS({
4670
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/invokeUtils.js"(exports) {
4646
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/invokeUtils.js"(exports) {
4671
4647
  "use strict";
4672
4648
  Object.defineProperty(exports, "__esModule", { value: true });
4673
4649
  var _tslib = require_tslib();
@@ -4707,9 +4683,9 @@ var require_invokeUtils = __commonJS({
4707
4683
  }
4708
4684
  });
4709
4685
 
4710
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/StateNode.js
4686
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/StateNode.js
4711
4687
  var require_StateNode = __commonJS({
4712
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/StateNode.js"(exports) {
4688
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/StateNode.js"(exports) {
4713
4689
  "use strict";
4714
4690
  Object.defineProperty(exports, "__esModule", { value: true });
4715
4691
  var _tslib = require_tslib();
@@ -5418,7 +5394,7 @@ var require_StateNode = __commonJS({
5418
5394
  transitions: stateTransition.transitions,
5419
5395
  children,
5420
5396
  done: isDone,
5421
- tags: currentState === null || currentState === void 0 ? void 0 : currentState.tags,
5397
+ tags: stateUtils.getTagsFromConfiguration(resolvedConfiguration),
5422
5398
  machine: this
5423
5399
  });
5424
5400
  var didUpdateContext = context !== updatedContext;
@@ -5448,7 +5424,6 @@ var require_StateNode = __commonJS({
5448
5424
  var changed = maybeNextState.changed || (history ? !!maybeNextState.actions.length || didUpdateContext || typeof history.value !== typeof maybeNextState.value || !State2.stateValuesEqual(maybeNextState.value, history.value) : void 0);
5449
5425
  maybeNextState.changed = changed;
5450
5426
  maybeNextState.history = history;
5451
- maybeNextState.tags = stateUtils.getTagsFromConfiguration(maybeNextState.configuration);
5452
5427
  return maybeNextState;
5453
5428
  };
5454
5429
  StateNode2.prototype.getStateNode = function(stateKey) {
@@ -5874,9 +5849,9 @@ var require_StateNode = __commonJS({
5874
5849
  }
5875
5850
  });
5876
5851
 
5877
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/Machine.js
5852
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/Machine.js
5878
5853
  var require_Machine = __commonJS({
5879
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/Machine.js"(exports) {
5854
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/Machine.js"(exports) {
5880
5855
  "use strict";
5881
5856
  Object.defineProperty(exports, "__esModule", { value: true });
5882
5857
  var StateNode = require_StateNode();
@@ -5894,9 +5869,9 @@ var require_Machine = __commonJS({
5894
5869
  }
5895
5870
  });
5896
5871
 
5897
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/mapState.js
5872
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/mapState.js
5898
5873
  var require_mapState = __commonJS({
5899
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/mapState.js"(exports) {
5874
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/mapState.js"(exports) {
5900
5875
  "use strict";
5901
5876
  Object.defineProperty(exports, "__esModule", { value: true });
5902
5877
  var _tslib = require_tslib();
@@ -5930,9 +5905,9 @@ var require_mapState = __commonJS({
5930
5905
  }
5931
5906
  });
5932
5907
 
5933
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/match.js
5908
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/match.js
5934
5909
  var require_match = __commonJS({
5935
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/match.js"(exports) {
5910
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/match.js"(exports) {
5936
5911
  "use strict";
5937
5912
  Object.defineProperty(exports, "__esModule", { value: true });
5938
5913
  var _tslib = require_tslib();
@@ -5966,9 +5941,9 @@ var require_match = __commonJS({
5966
5941
  }
5967
5942
  });
5968
5943
 
5969
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/schema.js
5944
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/schema.js
5970
5945
  var require_schema = __commonJS({
5971
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/schema.js"(exports) {
5946
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/schema.js"(exports) {
5972
5947
  "use strict";
5973
5948
  Object.defineProperty(exports, "__esModule", { value: true });
5974
5949
  function createSchema(schema2) {
@@ -5980,9 +5955,9 @@ var require_schema = __commonJS({
5980
5955
  }
5981
5956
  });
5982
5957
 
5983
- // node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/index.js
5958
+ // node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/index.js
5984
5959
  var require_lib = __commonJS({
5985
- "node_modules/.pnpm/xstate@4.30.6/node_modules/xstate/lib/index.js"(exports) {
5960
+ "node_modules/.pnpm/xstate@4.32.1/node_modules/xstate/lib/index.js"(exports) {
5986
5961
  "use strict";
5987
5962
  Object.defineProperty(exports, "__esModule", { value: true });
5988
5963
  var actions2 = require_actions();
@@ -6414,13 +6389,13 @@ var require_lib3 = __commonJS({
6414
6389
  }
6415
6390
  });
6416
6391
 
6417
- // node_modules/.pnpm/ansi-colors@4.1.1/node_modules/ansi-colors/symbols.js
6392
+ // node_modules/.pnpm/ansi-colors@4.1.3/node_modules/ansi-colors/symbols.js
6418
6393
  var require_symbols = __commonJS({
6419
- "node_modules/.pnpm/ansi-colors@4.1.1/node_modules/ansi-colors/symbols.js"(exports, module2) {
6394
+ "node_modules/.pnpm/ansi-colors@4.1.3/node_modules/ansi-colors/symbols.js"(exports, module2) {
6420
6395
  "use strict";
6421
- var isHyper = process.env.TERM_PROGRAM === "Hyper";
6422
- var isWindows = process.platform === "win32";
6423
- var isLinux = process.platform === "linux";
6396
+ var isHyper = typeof process !== "undefined" && process.env.TERM_PROGRAM === "Hyper";
6397
+ var isWindows = typeof process !== "undefined" && process.platform === "win32";
6398
+ var isLinux = typeof process !== "undefined" && process.platform === "linux";
6424
6399
  var common2 = {
6425
6400
  ballotDisabled: "\u2612",
6426
6401
  ballotOff: "\u2610",
@@ -6443,6 +6418,7 @@ var require_symbols = __commonJS({
6443
6418
  pilcrow2: "\u2761",
6444
6419
  pilcrow: "\xB6",
6445
6420
  plusMinus: "\xB1",
6421
+ question: "?",
6446
6422
  section: "\xA7",
6447
6423
  starsOff: "\u2606",
6448
6424
  starsOn: "\u2605",
@@ -6454,7 +6430,6 @@ var require_symbols = __commonJS({
6454
6430
  ellipsisLarge: "...",
6455
6431
  ellipsis: "...",
6456
6432
  info: "i",
6457
- question: "?",
6458
6433
  questionSmall: "?",
6459
6434
  pointer: ">",
6460
6435
  pointerSmall: "\xBB",
@@ -6469,7 +6444,6 @@ var require_symbols = __commonJS({
6469
6444
  ellipsisLarge: "\u22EF",
6470
6445
  ellipsis: "\u2026",
6471
6446
  info: "\u2139",
6472
- question: "?",
6473
6447
  questionFull: "\uFF1F",
6474
6448
  questionSmall: "\uFE56",
6475
6449
  pointer: isLinux ? "\u25B8" : "\u276F",
@@ -6485,17 +6459,25 @@ var require_symbols = __commonJS({
6485
6459
  }
6486
6460
  });
6487
6461
 
6488
- // node_modules/.pnpm/ansi-colors@4.1.1/node_modules/ansi-colors/index.js
6462
+ // node_modules/.pnpm/ansi-colors@4.1.3/node_modules/ansi-colors/index.js
6489
6463
  var require_ansi_colors = __commonJS({
6490
- "node_modules/.pnpm/ansi-colors@4.1.1/node_modules/ansi-colors/index.js"(exports, module2) {
6464
+ "node_modules/.pnpm/ansi-colors@4.1.3/node_modules/ansi-colors/index.js"(exports, module2) {
6491
6465
  "use strict";
6492
6466
  var isObject2 = (val) => val !== null && typeof val === "object" && !Array.isArray(val);
6493
6467
  var ANSI_REGEX = /[\u001b\u009b][[\]#;?()]*(?:(?:(?:[^\W_]*;?[^\W_]*)\u0007)|(?:(?:[0-9]{1,4}(;[0-9]{0,4})*)?[~0-9=<>cf-nqrtyA-PRZ]))/g;
6494
- var create = () => {
6495
- const colors = { enabled: true, visible: true, styles: {}, keys: {} };
6496
- if ("FORCE_COLOR" in process.env) {
6497
- colors.enabled = process.env.FORCE_COLOR !== "0";
6468
+ var hasColor = () => {
6469
+ if (typeof process !== "undefined") {
6470
+ return process.env.FORCE_COLOR !== "0";
6498
6471
  }
6472
+ return false;
6473
+ };
6474
+ var create = () => {
6475
+ const colors = {
6476
+ enabled: hasColor(),
6477
+ visible: true,
6478
+ styles: {},
6479
+ keys: {}
6480
+ };
6499
6481
  const ansi = (style2) => {
6500
6482
  let open = style2.open = `\x1B[${style2.codes[0]}m`;
6501
6483
  let close = style2.close = `\x1B[${style2.codes[1]}m`;
@@ -7038,15 +7020,16 @@ var require_keypress = __commonJS({
7038
7020
  }
7039
7021
  var keypress = (s = "", event2 = {}) => {
7040
7022
  let parts;
7041
- let key = __spreadValues({
7023
+ let key = {
7042
7024
  name: event2.name,
7043
7025
  ctrl: false,
7044
7026
  meta: false,
7045
7027
  shift: false,
7046
7028
  option: false,
7047
7029
  sequence: s,
7048
- raw: s
7049
- }, event2);
7030
+ raw: s,
7031
+ ...event2
7032
+ };
7050
7033
  if (Buffer.isBuffer(s)) {
7051
7034
  if (s[0] > 127 && s[1] === void 0) {
7052
7035
  s[0] -= 128;
@@ -7129,7 +7112,7 @@ var require_keypress = __commonJS({
7129
7112
  return off;
7130
7113
  };
7131
7114
  keypress.action = (buf, key, customActions) => {
7132
- let obj = __spreadValues(__spreadValues({}, combos), customActions);
7115
+ let obj = { ...combos, ...customActions };
7133
7116
  if (key.ctrl) {
7134
7117
  key.action = obj.ctrl[key.name];
7135
7118
  return key;
@@ -7221,7 +7204,7 @@ var require_state = __commonJS({
7221
7204
  this.submitted = false;
7222
7205
  }
7223
7206
  clone() {
7224
- let state = __spreadValues({}, this);
7207
+ let state = { ...this };
7225
7208
  state.status = this.status;
7226
7209
  state.buffer = Buffer.from(state.buffer);
7227
7210
  delete state.clone;
@@ -7378,7 +7361,8 @@ var require_symbols2 = __commonJS({
7378
7361
  var isWindows = process.platform === "win32";
7379
7362
  var colors = require_ansi_colors();
7380
7363
  var utils = require_utils2();
7381
- var symbols = __spreadProps(__spreadValues({}, colors.symbols), {
7364
+ var symbols = {
7365
+ ...colors.symbols,
7382
7366
  upDownDoubleArrow: "\u21D5",
7383
7367
  upDownDoubleArrow2: "\u2B0D",
7384
7368
  upDownArrow: "\u2195",
@@ -7427,7 +7411,7 @@ var require_symbols2 = __commonJS({
7427
7411
  disabled: isWindows ? "(|)" : "\u24BE"
7428
7412
  },
7429
7413
  numbers: ["\u24EA", "\u2460", "\u2461", "\u2462", "\u2463", "\u2464", "\u2465", "\u2466", "\u2467", "\u2468", "\u2469", "\u246A", "\u246B", "\u246C", "\u246D", "\u246E", "\u246F", "\u2470", "\u2471", "\u2472", "\u2473", "\u3251", "\u3252", "\u3253", "\u3254", "\u3255", "\u3256", "\u3257", "\u3258", "\u3259", "\u325A", "\u325B", "\u325C", "\u325D", "\u325E", "\u325F", "\u32B1", "\u32B2", "\u32B3", "\u32B4", "\u32B5", "\u32B6", "\u32B7", "\u32B8", "\u32B9", "\u32BA", "\u32BB", "\u32BC", "\u32BD", "\u32BE", "\u32BF"]
7430
- });
7414
+ };
7431
7415
  symbols.merge = (options) => {
7432
7416
  let result2 = utils.merge({}, colors.symbols, symbols, options.symbols);
7433
7417
  delete result2.merge;
@@ -8154,7 +8138,7 @@ var require_array = __commonJS({
8154
8138
  if (!this.isDisabled(ele)) {
8155
8139
  this.longest = Math.max(this.longest, colors.unstyle(ele.message).length);
8156
8140
  }
8157
- let choice = __spreadValues({}, ele);
8141
+ let choice = { ...ele };
8158
8142
  ele.reset = (input = choice.input, value = choice.value) => {
8159
8143
  for (let key of Object.keys(choice))
8160
8144
  ele[key] = choice[key];
@@ -8180,7 +8164,7 @@ var require_array = __commonJS({
8180
8164
  return choice;
8181
8165
  }
8182
8166
  async newItem(item, i, parent) {
8183
- let ele = __spreadValues({ name: "New choice name?", editable: true, newChoice: true }, item);
8167
+ let ele = { name: "New choice name?", editable: true, newChoice: true, ...item };
8184
8168
  let choice = await this.addChoice(ele, i, parent);
8185
8169
  choice.updateChoice = () => {
8186
8170
  delete choice.newChoice;
@@ -8832,7 +8816,7 @@ var require_autocomplete = __commonJS({
8832
8816
  let style = this.options.highlight ? this.options.highlight.bind(this) : this.styles.placeholder;
8833
8817
  let color = highlight(this.input, style);
8834
8818
  let choices = this.choices;
8835
- this.choices = choices.map((ch) => __spreadProps(__spreadValues({}, ch), { message: color(ch.message) }));
8819
+ this.choices = choices.map((ch) => ({ ...ch, message: color(ch.message) }));
8836
8820
  await super.render();
8837
8821
  this.choices = choices;
8838
8822
  }
@@ -8900,7 +8884,7 @@ var require_form = __commonJS({
8900
8884
  var placeholder = require_placeholder();
8901
8885
  var FormPrompt = class extends SelectPrompt {
8902
8886
  constructor(options) {
8903
- super(__spreadProps(__spreadValues({}, options), { multiple: true }));
8887
+ super({ ...options, multiple: true });
8904
8888
  this.type = "form";
8905
8889
  this.initial = this.options.initial;
8906
8890
  this.align = [this.options.align, "right"].find((v) => v != null);
@@ -9126,7 +9110,7 @@ var require_basicauth = __commonJS({
9126
9110
  ];
9127
9111
  class BasicAuthPrompt extends AuthPrompt.create(authenticate) {
9128
9112
  constructor(options) {
9129
- super(__spreadProps(__spreadValues({}, options), { choices }));
9113
+ super({ ...options, choices });
9130
9114
  }
9131
9115
  static create(authenticate2) {
9132
9116
  return factory(authenticate2);
@@ -9240,7 +9224,7 @@ var require_editable = __commonJS({
9240
9224
  var form = Form.prototype;
9241
9225
  var Editable = class extends Select2 {
9242
9226
  constructor(options) {
9243
- super(__spreadProps(__spreadValues({}, options), { multiple: true }));
9227
+ super({ ...options, multiple: true });
9244
9228
  this.align = [this.options.align, "left"].find((v) => v != null);
9245
9229
  this.emptyError = "";
9246
9230
  this.values = {};
@@ -9675,7 +9659,7 @@ var require_multiselect = __commonJS({
9675
9659
  var Select2 = require_select();
9676
9660
  var MultiSelect = class extends Select2 {
9677
9661
  constructor(options) {
9678
- super(__spreadProps(__spreadValues({}, options), { multiple: true }));
9662
+ super({ ...options, multiple: true });
9679
9663
  }
9680
9664
  };
9681
9665
  module2.exports = MultiSelect;
@@ -9689,7 +9673,7 @@ var require_number = __commonJS({
9689
9673
  var StringPrompt = require_string();
9690
9674
  var NumberPrompt = class extends StringPrompt {
9691
9675
  constructor(options = {}) {
9692
- super(__spreadValues({ style: "number" }, options));
9676
+ super({ style: "number", ...options });
9693
9677
  this.min = this.isValue(options.min) ? this.toNumber(options.min) : -Infinity;
9694
9678
  this.max = this.isValue(options.max) ? this.toNumber(options.max) : Infinity;
9695
9679
  this.delay = options.delay != null ? options.delay : 1e3;
@@ -10095,7 +10079,7 @@ var require_interpolate = __commonJS({
10095
10079
  module2.exports = async (prompt) => {
10096
10080
  let options = prompt.options;
10097
10081
  let required = new Set(options.required === true ? [] : options.required || []);
10098
- let defaults = __spreadValues(__spreadValues({}, options.values), options.initial);
10082
+ let defaults = { ...options.values, ...options.initial };
10099
10083
  let { tabstops, items, keys } = await tokenize(options, defaults);
10100
10084
  let result2 = createFn("result", prompt, options);
10101
10085
  let format = createFn("format", prompt, options);
@@ -10382,7 +10366,7 @@ var require_sort = __commonJS({
10382
10366
  var Prompt = require_select();
10383
10367
  var Sort = class extends Prompt {
10384
10368
  constructor(options) {
10385
- super(__spreadProps(__spreadValues({}, options), { reorder: false, sort: true, multiple: true }));
10369
+ super({ ...options, reorder: false, sort: true, multiple: true });
10386
10370
  this.state.hint = [this.options.hint, hint].find(this.isValue.bind(this));
10387
10371
  }
10388
10372
  indicator() {
@@ -10548,7 +10532,7 @@ var require_survey = __commonJS({
10548
10532
  };
10549
10533
  function createScale(n, options = {}) {
10550
10534
  if (Array.isArray(options.scale)) {
10551
- return options.scale.map((ele) => __spreadValues({}, ele));
10535
+ return options.scale.map((ele) => ({ ...ele }));
10552
10536
  }
10553
10537
  let scale = [];
10554
10538
  for (let i = 1; i < n + 1; i++)
@@ -10760,7 +10744,7 @@ var require_enquirer = __commonJS({
10760
10744
  constructor(options, answers) {
10761
10745
  super();
10762
10746
  this.options = utils.merge({}, options);
10763
- this.answers = __spreadValues({}, answers);
10747
+ this.answers = { ...answers };
10764
10748
  }
10765
10749
  register(type2, fn) {
10766
10750
  if (utils.isObject(type2)) {
@@ -11800,6 +11784,7 @@ var require_typescript = __commonJS({
11800
11784
  d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __());
11801
11785
  };
11802
11786
  }();
11787
+ var ts2;
11803
11788
  (function(ts3) {
11804
11789
  function createMapData() {
11805
11790
  var sentinel = {};
@@ -12034,6 +12019,7 @@ var require_typescript = __commonJS({
12034
12019
  ShimCollections2.createSetShim = createSetShim;
12035
12020
  })(ShimCollections = ts3.ShimCollections || (ts3.ShimCollections = {}));
12036
12021
  })(ts2 || (ts2 = {}));
12022
+ var ts2;
12037
12023
  (function(ts3) {
12038
12024
  ts3.versionMajorMinor = "4.2";
12039
12025
  ts3.version = "4.2.4";
@@ -12055,6 +12041,7 @@ var require_typescript = __commonJS({
12055
12041
  NativeCollections2.tryGetNativeSet = tryGetNativeSet;
12056
12042
  })(NativeCollections = ts3.NativeCollections || (ts3.NativeCollections = {}));
12057
12043
  })(ts2 || (ts2 = {}));
12044
+ var ts2;
12058
12045
  (function(ts3) {
12059
12046
  function getCollectionImplementation(name, nativeFactory, shimFactory) {
12060
12047
  var _a;
@@ -13809,6 +13796,7 @@ var require_typescript = __commonJS({
13809
13796
  }
13810
13797
  ts3.takeWhile = takeWhile;
13811
13798
  })(ts2 || (ts2 = {}));
13799
+ var ts2;
13812
13800
  (function(ts3) {
13813
13801
  var LogLevel;
13814
13802
  (function(LogLevel2) {
@@ -14384,6 +14372,7 @@ var require_typescript = __commonJS({
14384
14372
  Debug2.deprecate = deprecate;
14385
14373
  })(Debug = ts3.Debug || (ts3.Debug = {}));
14386
14374
  })(ts2 || (ts2 = {}));
14375
+ var ts2;
14387
14376
  (function(ts3) {
14388
14377
  var versionRegExp = /^(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\.(0|[1-9]\d*)(?:\-([a-z0-9-.]+))?(?:\+([a-z0-9-.]+))?)?)?$/i;
14389
14378
  var prereleaseRegExp = /^(?:0|[1-9]\d*|[a-z-][a-z0-9-]*)(?:\.(?:0|[1-9]\d*|[a-z-][a-z0-9-]*))*$/i;
@@ -14668,6 +14657,7 @@ var require_typescript = __commonJS({
14668
14657
  return "" + comparator.operator + comparator.operand;
14669
14658
  }
14670
14659
  })(ts2 || (ts2 = {}));
14660
+ var ts2;
14671
14661
  (function(ts3) {
14672
14662
  function hasRequiredAPI(performance2, PerformanceObserver2) {
14673
14663
  return typeof performance2 === "object" && typeof performance2.timeOrigin === "number" && typeof performance2.mark === "function" && typeof performance2.measure === "function" && typeof performance2.now === "function" && typeof PerformanceObserver2 === "function";
@@ -14738,6 +14728,7 @@ var require_typescript = __commonJS({
14738
14728
  return +new Date();
14739
14729
  };
14740
14730
  })(ts2 || (ts2 = {}));
14731
+ var ts2;
14741
14732
  (function(ts3) {
14742
14733
  var performance2;
14743
14734
  (function(performance3) {
@@ -14843,6 +14834,7 @@ var require_typescript = __commonJS({
14843
14834
  performance3.disable = disable;
14844
14835
  })(performance2 = ts3.performance || (ts3.performance = {}));
14845
14836
  })(ts2 || (ts2 = {}));
14837
+ var ts2;
14846
14838
  (function(ts3) {
14847
14839
  var _a;
14848
14840
  var nullLogger = {
@@ -14876,6 +14868,7 @@ var require_typescript = __commonJS({
14876
14868
  }
14877
14869
  ts3.perfLogger = etwModule && etwModule.logEvent ? etwModule : nullLogger;
14878
14870
  })(ts2 || (ts2 = {}));
14871
+ var ts2;
14879
14872
  (function(ts3) {
14880
14873
  })(ts2 || (ts2 = {}));
14881
14874
  (function(ts3) {
@@ -15101,6 +15094,7 @@ var require_typescript = __commonJS({
15101
15094
  (function(ts3) {
15102
15095
  ts3.startTracing = ts3.tracingEnabled.startTracing;
15103
15096
  })(ts2 || (ts2 = {}));
15097
+ var ts2;
15104
15098
  (function(ts3) {
15105
15099
  var SyntaxKind;
15106
15100
  (function(SyntaxKind2) {
@@ -16647,6 +16641,7 @@ var require_typescript = __commonJS({
16647
16641
  }
16648
16642
  };
16649
16643
  })(ts2 || (ts2 = {}));
16644
+ var ts2;
16650
16645
  (function(ts3) {
16651
16646
  ts3.directorySeparator = "/";
16652
16647
  ts3.altDirectorySeparator = "\\";
@@ -17107,6 +17102,7 @@ var require_typescript = __commonJS({
17107
17102
  }
17108
17103
  ts3.isNodeModulesDirectory = isNodeModulesDirectory;
17109
17104
  })(ts2 || (ts2 = {}));
17105
+ var ts2;
17110
17106
  (function(ts3) {
17111
17107
  function generateDjb2Hash(data) {
17112
17108
  var acc = 5381;
@@ -18261,6 +18257,7 @@ var require_typescript = __commonJS({
18261
18257
  ts3.Debug.isDebugging = true;
18262
18258
  }
18263
18259
  })(ts2 || (ts2 = {}));
18260
+ var ts2;
18264
18261
  (function(ts3) {
18265
18262
  function diag(code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated) {
18266
18263
  return { code, category, key, message, reportsUnnecessary, elidedInCompatabilityPyramid, reportsDeprecated };
@@ -19849,6 +19846,7 @@ var require_typescript = __commonJS({
19849
19846
  Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name: diag(18035, ts3.DiagnosticCategory.Error, "Invalid_value_for_jsxFragmentFactory_0_is_not_a_valid_identifier_or_qualified_name_18035", "Invalid value for 'jsxFragmentFactory'. '{0}' is not a valid identifier or qualified-name.")
19850
19847
  };
19851
19848
  })(ts2 || (ts2 = {}));
19849
+ var ts2;
19852
19850
  (function(ts3) {
19853
19851
  var _a;
19854
19852
  function tokenIsIdentifierOrKeyword(token) {
@@ -21789,6 +21787,7 @@ var require_typescript = __commonJS({
21789
21787
  }
21790
21788
  ts3.utf16EncodeAsString = utf16EncodeAsString;
21791
21789
  })(ts2 || (ts2 = {}));
21790
+ var ts2;
21792
21791
  (function(ts3) {
21793
21792
  function isExternalModuleNameRelative(moduleName) {
21794
21793
  return ts3.pathIsRelative(moduleName) || ts3.isRootedDiskPath(moduleName);
@@ -23152,6 +23151,7 @@ var require_typescript = __commonJS({
23152
23151
  }
23153
23152
  ts3.isStringLiteralLike = isStringLiteralLike;
23154
23153
  })(ts2 || (ts2 = {}));
23154
+ var ts2;
23155
23155
  (function(ts3) {
23156
23156
  ts3.resolvingEmptyArray = [];
23157
23157
  ts3.externalHelpersModuleNameText = "tslib";
@@ -28816,6 +28816,7 @@ var require_typescript = __commonJS({
28816
28816
  }
28817
28817
  ts3.containsIgnoredPath = containsIgnoredPath;
28818
28818
  })(ts2 || (ts2 = {}));
28819
+ var ts2;
28819
28820
  (function(ts3) {
28820
28821
  function createBaseNodeFactory() {
28821
28822
  var NodeConstructor;
@@ -28848,6 +28849,7 @@ var require_typescript = __commonJS({
28848
28849
  }
28849
28850
  ts3.createBaseNodeFactory = createBaseNodeFactory;
28850
28851
  })(ts2 || (ts2 = {}));
28852
+ var ts2;
28851
28853
  (function(ts3) {
28852
28854
  function createParenthesizerRules(factory) {
28853
28855
  return {
@@ -29097,6 +29099,7 @@ var require_typescript = __commonJS({
29097
29099
  }
29098
29100
  };
29099
29101
  })(ts2 || (ts2 = {}));
29102
+ var ts2;
29100
29103
  (function(ts3) {
29101
29104
  function createNodeConverters(factory) {
29102
29105
  return {
@@ -29196,6 +29199,7 @@ var require_typescript = __commonJS({
29196
29199
  convertToAssignmentElementTarget: ts3.notImplemented
29197
29200
  };
29198
29201
  })(ts2 || (ts2 = {}));
29202
+ var ts2;
29199
29203
  (function(ts3) {
29200
29204
  var nextAutoGenerateId = 0;
29201
29205
  var NodeFactoryFlags;
@@ -33065,6 +33069,7 @@ var require_typescript = __commonJS({
33065
33069
  return destRanges;
33066
33070
  }
33067
33071
  })(ts2 || (ts2 = {}));
33072
+ var ts2;
33068
33073
  (function(ts3) {
33069
33074
  function getOrCreateEmitNode(node) {
33070
33075
  var _a;
@@ -33260,6 +33265,7 @@ var require_typescript = __commonJS({
33260
33265
  }
33261
33266
  ts3.ignoreSourceNewlines = ignoreSourceNewlines;
33262
33267
  })(ts2 || (ts2 = {}));
33268
+ var ts2;
33263
33269
  (function(ts3) {
33264
33270
  function createEmitHelperFactory(context) {
33265
33271
  var factory = context.factory;
@@ -33668,6 +33674,7 @@ var require_typescript = __commonJS({
33668
33674
  }
33669
33675
  ts3.isCallToHelper = isCallToHelper;
33670
33676
  })(ts2 || (ts2 = {}));
33677
+ var ts2;
33671
33678
  (function(ts3) {
33672
33679
  function isNumericLiteral(node) {
33673
33680
  return node.kind === 8;
@@ -34450,6 +34457,7 @@ var require_typescript = __commonJS({
34450
34457
  }
34451
34458
  ts3.isSyntaxList = isSyntaxList;
34452
34459
  })(ts2 || (ts2 = {}));
34460
+ var ts2;
34453
34461
  (function(ts3) {
34454
34462
  function createEmptyExports(factory) {
34455
34463
  return factory.createExportDeclaration(void 0, void 0, false, factory.createNamedExports([]), void 0);
@@ -34939,12 +34947,14 @@ var require_typescript = __commonJS({
34939
34947
  }
34940
34948
  ts3.isStaticModifier = isStaticModifier;
34941
34949
  })(ts2 || (ts2 = {}));
34950
+ var ts2;
34942
34951
  (function(ts3) {
34943
34952
  function setTextRange(range, location) {
34944
34953
  return location ? ts3.setTextRangePosEnd(range, location.pos, location.end) : range;
34945
34954
  }
34946
34955
  ts3.setTextRange = setTextRange;
34947
34956
  })(ts2 || (ts2 = {}));
34957
+ var ts2;
34948
34958
  (function(ts3) {
34949
34959
  var SignatureFlags;
34950
34960
  (function(SignatureFlags2) {
@@ -41118,6 +41128,7 @@ var require_typescript = __commonJS({
41118
41128
  }
41119
41129
  ts3.tagNamesAreEquivalent = tagNamesAreEquivalent;
41120
41130
  })(ts2 || (ts2 = {}));
41131
+ var ts2;
41121
41132
  (function(ts3) {
41122
41133
  ts3.compileOnSaveCommandLineOption = { name: "compileOnSave", type: "boolean" };
41123
41134
  var jsxOptionMap = new ts3.Map(ts3.getEntries({
@@ -43779,6 +43790,7 @@ var require_typescript = __commonJS({
43779
43790
  }
43780
43791
  }
43781
43792
  })(ts2 || (ts2 = {}));
43793
+ var ts2;
43782
43794
  (function(ts3) {
43783
43795
  function trace(host) {
43784
43796
  host.trace(ts3.formatMessage.apply(void 0, arguments));
@@ -44845,6 +44857,7 @@ var require_typescript = __commonJS({
44845
44857
  return value !== void 0 ? { value } : void 0;
44846
44858
  }
44847
44859
  })(ts2 || (ts2 = {}));
44860
+ var ts2;
44848
44861
  (function(ts3) {
44849
44862
  var ModuleInstanceState;
44850
44863
  (function(ModuleInstanceState2) {
@@ -47535,6 +47548,7 @@ var require_typescript = __commonJS({
47535
47548
  return container.symbol && container.symbol.exports && container.symbol.exports.get(name);
47536
47549
  }
47537
47550
  })(ts2 || (ts2 = {}));
47551
+ var ts2;
47538
47552
  (function(ts3) {
47539
47553
  function createGetSymbolWalker(getRestTypeOfSignature, getTypePredicateOfSignature, getReturnTypeOfSignature, getBaseTypes, resolveStructuredTypeMembers, getTypeOfSymbol, getResolvedSymbol, getIndexTypeOfStructuredType, getConstraintOfTypeParameter, getFirstIdentifier, getTypeArguments) {
47540
47554
  return getSymbolWalker;
@@ -47698,6 +47712,7 @@ var require_typescript = __commonJS({
47698
47712
  }
47699
47713
  ts3.createGetSymbolWalker = createGetSymbolWalker;
47700
47714
  })(ts2 || (ts2 = {}));
47715
+ var ts2;
47701
47716
  (function(ts3) {
47702
47717
  var ambientModuleSymbolRegex = /^".+"$/;
47703
47718
  var anon = "(anonymous)";
@@ -79155,6 +79170,7 @@ var require_typescript = __commonJS({
79155
79170
  }
79156
79171
  ts3.signatureHasLiteralTypes = signatureHasLiteralTypes;
79157
79172
  })(ts2 || (ts2 = {}));
79173
+ var ts2;
79158
79174
  (function(ts3) {
79159
79175
  var isTypeNodeOrTypeParameterDeclaration = ts3.or(ts3.isTypeNode, ts3.isTypeParameterDeclaration);
79160
79176
  function visitNode(node, visitor, test, lift) {
@@ -79606,6 +79622,7 @@ var require_typescript = __commonJS({
79606
79622
  return ts3.singleOrUndefined(nodes);
79607
79623
  }
79608
79624
  })(ts2 || (ts2 = {}));
79625
+ var ts2;
79609
79626
  (function(ts3) {
79610
79627
  function createSourceMapGenerator(host, file, sourceRoot, sourcesDirectoryPath, generatorOptions) {
79611
79628
  var _a = generatorOptions.extendedDiagnostics ? ts3.performance.createTimer("Source Map", "beforeSourcemap", "afterSourcemap") : ts3.performance.nullTimer, enter = _a.enter, exit = _a.exit;
@@ -80157,6 +80174,7 @@ var require_typescript = __commonJS({
80157
80174
  getGeneratedPosition: ts3.identity
80158
80175
  };
80159
80176
  })(ts2 || (ts2 = {}));
80177
+ var ts2;
80160
80178
  (function(ts3) {
80161
80179
  function getOriginalNodeId(node) {
80162
80180
  node = ts3.getOriginalNode(node);
@@ -80443,6 +80461,7 @@ var require_typescript = __commonJS({
80443
80461
  }
80444
80462
  ts3.isInitializedProperty = isInitializedProperty;
80445
80463
  })(ts2 || (ts2 = {}));
80464
+ var ts2;
80446
80465
  (function(ts3) {
80447
80466
  var FlattenLevel;
80448
80467
  (function(FlattenLevel2) {
@@ -80781,6 +80800,7 @@ var require_typescript = __commonJS({
80781
80800
  return name;
80782
80801
  }
80783
80802
  })(ts2 || (ts2 = {}));
80803
+ var ts2;
80784
80804
  (function(ts3) {
80785
80805
  var ProcessLevel;
80786
80806
  (function(ProcessLevel2) {
@@ -80834,6 +80854,7 @@ var require_typescript = __commonJS({
80834
80854
  return ts3.setTextRange(ts3.factory.createStringLiteral(text), node);
80835
80855
  }
80836
80856
  })(ts2 || (ts2 = {}));
80857
+ var ts2;
80837
80858
  (function(ts3) {
80838
80859
  var USE_NEW_TYPE_METADATA_FORMAT = false;
80839
80860
  var TypeScriptSubstitutionFlags;
@@ -82448,6 +82469,7 @@ var require_typescript = __commonJS({
82448
82469
  }
82449
82470
  ts3.transformTypeScript = transformTypeScript;
82450
82471
  })(ts2 || (ts2 = {}));
82472
+ var ts2;
82451
82473
  (function(ts3) {
82452
82474
  var ClassPropertySubstitutionFlags;
82453
82475
  (function(ClassPropertySubstitutionFlags2) {
@@ -83066,6 +83088,7 @@ var require_typescript = __commonJS({
83066
83088
  return ts3.factory.createCallExpression(ts3.factory.createPropertyAccessExpression(weakMapName, "set"), void 0, [receiver, initializer || ts3.factory.createVoidZero()]);
83067
83089
  }
83068
83090
  })(ts2 || (ts2 = {}));
83091
+ var ts2;
83069
83092
  (function(ts3) {
83070
83093
  var ES2017SubstitutionFlags;
83071
83094
  (function(ES2017SubstitutionFlags2) {
@@ -83501,6 +83524,7 @@ var require_typescript = __commonJS({
83501
83524
  }
83502
83525
  ts3.createSuperAccessVariableStatement = createSuperAccessVariableStatement;
83503
83526
  })(ts2 || (ts2 = {}));
83527
+ var ts2;
83504
83528
  (function(ts3) {
83505
83529
  var ESNextSubstitutionFlags;
83506
83530
  (function(ESNextSubstitutionFlags2) {
@@ -84117,6 +84141,7 @@ var require_typescript = __commonJS({
84117
84141
  }
84118
84142
  ts3.transformES2018 = transformES2018;
84119
84143
  })(ts2 || (ts2 = {}));
84144
+ var ts2;
84120
84145
  (function(ts3) {
84121
84146
  function transformES2019(context) {
84122
84147
  var factory = context.factory;
@@ -84147,6 +84172,7 @@ var require_typescript = __commonJS({
84147
84172
  }
84148
84173
  ts3.transformES2019 = transformES2019;
84149
84174
  })(ts2 || (ts2 = {}));
84175
+ var ts2;
84150
84176
  (function(ts3) {
84151
84177
  function transformES2020(context) {
84152
84178
  var factory = context.factory, hoistVariableDeclaration = context.hoistVariableDeclaration;
@@ -84295,6 +84321,7 @@ var require_typescript = __commonJS({
84295
84321
  }
84296
84322
  ts3.transformES2020 = transformES2020;
84297
84323
  })(ts2 || (ts2 = {}));
84324
+ var ts2;
84298
84325
  (function(ts3) {
84299
84326
  function transformESNext(context) {
84300
84327
  var hoistVariableDeclaration = context.hoistVariableDeclaration, factory = context.factory;
@@ -84344,6 +84371,7 @@ var require_typescript = __commonJS({
84344
84371
  }
84345
84372
  ts3.transformESNext = transformESNext;
84346
84373
  })(ts2 || (ts2 = {}));
84374
+ var ts2;
84347
84375
  (function(ts3) {
84348
84376
  function transformJsx(context) {
84349
84377
  var factory = context.factory, emitHelpers = context.getEmitHelperFactory;
@@ -84949,6 +84977,7 @@ var require_typescript = __commonJS({
84949
84977
  diams: 9830
84950
84978
  }));
84951
84979
  })(ts2 || (ts2 = {}));
84980
+ var ts2;
84952
84981
  (function(ts3) {
84953
84982
  function transformES2016(context) {
84954
84983
  var factory = context.factory, hoistVariableDeclaration = context.hoistVariableDeclaration;
@@ -85008,6 +85037,7 @@ var require_typescript = __commonJS({
85008
85037
  }
85009
85038
  ts3.transformES2016 = transformES2016;
85010
85039
  })(ts2 || (ts2 = {}));
85040
+ var ts2;
85011
85041
  (function(ts3) {
85012
85042
  var ES2015SubstitutionFlags;
85013
85043
  (function(ES2015SubstitutionFlags2) {
@@ -86937,6 +86967,7 @@ var require_typescript = __commonJS({
86937
86967
  }
86938
86968
  ts3.transformES2015 = transformES2015;
86939
86969
  })(ts2 || (ts2 = {}));
86970
+ var ts2;
86940
86971
  (function(ts3) {
86941
86972
  function transformES5(context) {
86942
86973
  var factory = context.factory;
@@ -87009,6 +87040,7 @@ var require_typescript = __commonJS({
87009
87040
  }
87010
87041
  ts3.transformES5 = transformES5;
87011
87042
  })(ts2 || (ts2 = {}));
87043
+ var ts2;
87012
87044
  (function(ts3) {
87013
87045
  var OpCode;
87014
87046
  (function(OpCode2) {
@@ -88606,6 +88638,7 @@ var require_typescript = __commonJS({
88606
88638
  }
88607
88639
  ts3.transformGenerators = transformGenerators;
88608
88640
  })(ts2 || (ts2 = {}));
88641
+ var ts2;
88609
88642
  (function(ts3) {
88610
88643
  function transformModule(context) {
88611
88644
  function getTransformModuleDelegate(moduleKind2) {
@@ -89469,6 +89502,7 @@ var require_typescript = __commonJS({
89469
89502
  text: '\n var __syncRequire = typeof module === "object" && typeof module.exports === "object";'
89470
89503
  };
89471
89504
  })(ts2 || (ts2 = {}));
89505
+ var ts2;
89472
89506
  (function(ts3) {
89473
89507
  function transformSystemModule(context) {
89474
89508
  var factory = context.factory, startLexicalEnvironment = context.startLexicalEnvironment, endLexicalEnvironment = context.endLexicalEnvironment, hoistVariableDeclaration = context.hoistVariableDeclaration;
@@ -90298,6 +90332,7 @@ var require_typescript = __commonJS({
90298
90332
  }
90299
90333
  ts3.transformSystemModule = transformSystemModule;
90300
90334
  })(ts2 || (ts2 = {}));
90335
+ var ts2;
90301
90336
  (function(ts3) {
90302
90337
  function transformECMAScriptModule(context) {
90303
90338
  var factory = context.factory, emitHelpers = context.getEmitHelperFactory;
@@ -90394,6 +90429,7 @@ var require_typescript = __commonJS({
90394
90429
  }
90395
90430
  ts3.transformECMAScriptModule = transformECMAScriptModule;
90396
90431
  })(ts2 || (ts2 = {}));
90432
+ var ts2;
90397
90433
  (function(ts3) {
90398
90434
  function canProduceDiagnostics(node) {
90399
90435
  return ts3.isVariableDeclaration(node) || ts3.isPropertyDeclaration(node) || ts3.isPropertySignature(node) || ts3.isBindingElement(node) || ts3.isSetAccessor(node) || ts3.isGetAccessor(node) || ts3.isConstructSignatureDeclaration(node) || ts3.isCallSignatureDeclaration(node) || ts3.isMethodDeclaration(node) || ts3.isMethodSignature(node) || ts3.isFunctionDeclaration(node) || ts3.isParameter(node) || ts3.isTypeParameterDeclaration(node) || ts3.isExpressionWithTypeArguments(node) || ts3.isImportEqualsDeclaration(node) || ts3.isTypeAliasDeclaration(node) || ts3.isConstructorDeclaration(node) || ts3.isIndexSignatureDeclaration(node) || ts3.isPropertyAccessExpression(node) || ts3.isJSDocTypeAlias(node);
@@ -90654,6 +90690,7 @@ var require_typescript = __commonJS({
90654
90690
  }
90655
90691
  ts3.createGetSymbolAccessibilityDiagnosticForNode = createGetSymbolAccessibilityDiagnosticForNode;
90656
90692
  })(ts2 || (ts2 = {}));
90693
+ var ts2;
90657
90694
  (function(ts3) {
90658
90695
  function getDeclarationDiagnostics(host, resolver, file) {
90659
90696
  var compilerOptions = host.getCompilerOptions();
@@ -91855,6 +91892,7 @@ var require_typescript = __commonJS({
91855
91892
  return false;
91856
91893
  }
91857
91894
  })(ts2 || (ts2 = {}));
91895
+ var ts2;
91858
91896
  (function(ts3) {
91859
91897
  function getModuleTransformer(moduleKind) {
91860
91898
  switch (moduleKind) {
@@ -92266,6 +92304,7 @@ var require_typescript = __commonJS({
92266
92304
  addDiagnostic: ts3.noop
92267
92305
  };
92268
92306
  })(ts2 || (ts2 = {}));
92307
+ var ts2;
92269
92308
  (function(ts3) {
92270
92309
  var brackets = createBracketsMap();
92271
92310
  var syntheticParent = { pos: -1, end: -1 };
@@ -96673,6 +96712,7 @@ var require_typescript = __commonJS({
96673
96712
  TempFlags2[TempFlags2["_i"] = 268435456] = "_i";
96674
96713
  })(TempFlags || (TempFlags = {}));
96675
96714
  })(ts2 || (ts2 = {}));
96715
+ var ts2;
96676
96716
  (function(ts3) {
96677
96717
  function createCachedDirectoryStructureHost(host, currentDirectory, useCaseSensitiveFileNames) {
96678
96718
  if (!host.getDirectories || !host.readDirectory) {
@@ -97065,6 +97105,7 @@ var require_typescript = __commonJS({
97065
97105
  }
97066
97106
  ts3.closeFileWatcherOf = closeFileWatcherOf;
97067
97107
  })(ts2 || (ts2 = {}));
97108
+ var ts2;
97068
97109
  (function(ts3) {
97069
97110
  function findConfigFile(searchPath, fileExists, configName) {
97070
97111
  if (configName === void 0) {
@@ -100216,6 +100257,7 @@ var require_typescript = __commonJS({
100216
100257
  }
100217
100258
  ts3.getModuleNameStringLiteralAt = getModuleNameStringLiteralAt;
100218
100259
  })(ts2 || (ts2 = {}));
100260
+ var ts2;
100219
100261
  (function(ts3) {
100220
100262
  function getFileEmitOutput(program2, sourceFile, emitOnlyDtsFiles, cancellationToken, customTransformers, forceDtsEmit) {
100221
100263
  var outputFiles = [];
@@ -100571,6 +100613,7 @@ var require_typescript = __commonJS({
100571
100613
  }
100572
100614
  })(BuilderState = ts3.BuilderState || (ts3.BuilderState = {}));
100573
100615
  })(ts2 || (ts2 = {}));
100616
+ var ts2;
100574
100617
  (function(ts3) {
100575
100618
  var BuilderFileEmit;
100576
100619
  (function(BuilderFileEmit2) {
@@ -101383,6 +101426,7 @@ var require_typescript = __commonJS({
101383
101426
  }
101384
101427
  ts3.createRedirectedBuilderProgram = createRedirectedBuilderProgram;
101385
101428
  })(ts2 || (ts2 = {}));
101429
+ var ts2;
101386
101430
  (function(ts3) {
101387
101431
  function createSemanticDiagnosticsBuilderProgram(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences) {
101388
101432
  return ts3.createBuilderProgram(ts3.BuilderProgramKind.SemanticDiagnosticsBuilderProgram, ts3.getBuilderCreationParameters(newProgramOrRootNames, hostOrOptions, oldProgramOrHost, configFileParsingDiagnosticsOrOldProgram, configFileParsingDiagnostics, projectReferences));
@@ -101398,6 +101442,7 @@ var require_typescript = __commonJS({
101398
101442
  }
101399
101443
  ts3.createAbstractBuilder = createAbstractBuilder;
101400
101444
  })(ts2 || (ts2 = {}));
101445
+ var ts2;
101401
101446
  (function(ts3) {
101402
101447
  function removeIgnoredPath(path2) {
101403
101448
  if (ts3.endsWith(path2, "/node_modules/.staging")) {
@@ -102004,6 +102049,7 @@ var require_typescript = __commonJS({
102004
102049
  }
102005
102050
  ts3.createResolutionCache = createResolutionCache;
102006
102051
  })(ts2 || (ts2 = {}));
102052
+ var ts2;
102007
102053
  (function(ts3) {
102008
102054
  var moduleSpecifiers;
102009
102055
  (function(moduleSpecifiers2) {
@@ -102530,6 +102576,7 @@ var require_typescript = __commonJS({
102530
102576
  }
102531
102577
  })(moduleSpecifiers = ts3.moduleSpecifiers || (ts3.moduleSpecifiers = {}));
102532
102578
  })(ts2 || (ts2 = {}));
102579
+ var ts2;
102533
102580
  (function(ts3) {
102534
102581
  var sysFormatDiagnosticsHost = ts3.sys ? {
102535
102582
  getCurrentDirectory: function() {
@@ -103054,6 +103101,7 @@ var require_typescript = __commonJS({
103054
103101
  }
103055
103102
  ts3.performIncrementalCompilation = performIncrementalCompilation;
103056
103103
  })(ts2 || (ts2 = {}));
103104
+ var ts2;
103057
103105
  (function(ts3) {
103058
103106
  function readBuilderProgram(compilerOptions, host) {
103059
103107
  if (ts3.outFile(compilerOptions))
@@ -103573,6 +103621,7 @@ var require_typescript = __commonJS({
103573
103621
  }
103574
103622
  ts3.createWatchProgram = createWatchProgram;
103575
103623
  })(ts2 || (ts2 = {}));
103624
+ var ts2;
103576
103625
  (function(ts3) {
103577
103626
  var UpToDateStatusType;
103578
103627
  (function(UpToDateStatusType2) {
@@ -103597,6 +103646,7 @@ var require_typescript = __commonJS({
103597
103646
  }
103598
103647
  ts3.resolveConfigFileProjectName = resolveConfigFileProjectName;
103599
103648
  })(ts2 || (ts2 = {}));
103649
+ var ts2;
103600
103650
  (function(ts3) {
103601
103651
  var minimumDate = new Date(-864e13);
103602
103652
  var maximumDate = new Date(864e13);
@@ -105084,6 +105134,7 @@ var require_typescript = __commonJS({
105084
105134
  }
105085
105135
  }
105086
105136
  })(ts2 || (ts2 = {}));
105137
+ var ts2;
105087
105138
  (function(ts3) {
105088
105139
  var server;
105089
105140
  (function(server2) {
@@ -105120,6 +105171,7 @@ var require_typescript = __commonJS({
105120
105171
  server2.nowString = nowString;
105121
105172
  })(server = ts3.server || (ts3.server = {}));
105122
105173
  })(ts2 || (ts2 = {}));
105174
+ var ts2;
105123
105175
  (function(ts3) {
105124
105176
  var JsTyping;
105125
105177
  (function(JsTyping2) {
@@ -105401,6 +105453,7 @@ var require_typescript = __commonJS({
105401
105453
  }
105402
105454
  })(JsTyping = ts3.JsTyping || (ts3.JsTyping = {}));
105403
105455
  })(ts2 || (ts2 = {}));
105456
+ var ts2;
105404
105457
  (function(ts3) {
105405
105458
  var ScriptSnapshot;
105406
105459
  (function(ScriptSnapshot2) {
@@ -105669,6 +105722,7 @@ var require_typescript = __commonJS({
105669
105722
  ClassificationType2[ClassificationType2["bigintLiteral"] = 25] = "bigintLiteral";
105670
105723
  })(ClassificationType = ts3.ClassificationType || (ts3.ClassificationType = {}));
105671
105724
  })(ts2 || (ts2 = {}));
105725
+ var ts2;
105672
105726
  (function(ts3) {
105673
105727
  ts3.scanner = ts3.createScanner(99, true);
105674
105728
  var SemanticMeaning;
@@ -108168,6 +108222,7 @@ var require_typescript = __commonJS({
108168
108222
  }
108169
108223
  ts3.isNonGlobalDeclaration = isNonGlobalDeclaration;
108170
108224
  })(ts2 || (ts2 = {}));
108225
+ var ts2;
108171
108226
  (function(ts3) {
108172
108227
  function createClassifier() {
108173
108228
  var scanner = ts3.createScanner(99, false);
@@ -108999,6 +109054,7 @@ var require_typescript = __commonJS({
108999
109054
  }
109000
109055
  ts3.getEncodedSyntacticClassifications = getEncodedSyntacticClassifications;
109001
109056
  })(ts2 || (ts2 = {}));
109057
+ var ts2;
109002
109058
  (function(ts3) {
109003
109059
  var classifier;
109004
109060
  (function(classifier2) {
@@ -109243,6 +109299,7 @@ var require_typescript = __commonJS({
109243
109299
  })(v2020 = classifier2.v2020 || (classifier2.v2020 = {}));
109244
109300
  })(classifier = ts3.classifier || (ts3.classifier = {}));
109245
109301
  })(ts2 || (ts2 = {}));
109302
+ var ts2;
109246
109303
  (function(ts3) {
109247
109304
  var Completions;
109248
109305
  (function(Completions2) {
@@ -109846,6 +109903,7 @@ var require_typescript = __commonJS({
109846
109903
  })(StringCompletions = Completions2.StringCompletions || (Completions2.StringCompletions = {}));
109847
109904
  })(Completions = ts3.Completions || (ts3.Completions = {}));
109848
109905
  })(ts2 || (ts2 = {}));
109906
+ var ts2;
109849
109907
  (function(ts3) {
109850
109908
  var Completions;
109851
109909
  (function(Completions2) {
@@ -111741,6 +111799,7 @@ var require_typescript = __commonJS({
111741
111799
  }
111742
111800
  })(Completions = ts3.Completions || (ts3.Completions = {}));
111743
111801
  })(ts2 || (ts2 = {}));
111802
+ var ts2;
111744
111803
  (function(ts3) {
111745
111804
  var DocumentHighlights;
111746
111805
  (function(DocumentHighlights2) {
@@ -112156,6 +112215,7 @@ var require_typescript = __commonJS({
112156
112215
  }
112157
112216
  })(DocumentHighlights = ts3.DocumentHighlights || (ts3.DocumentHighlights = {}));
112158
112217
  })(ts2 || (ts2 = {}));
112218
+ var ts2;
112159
112219
  (function(ts3) {
112160
112220
  function createDocumentRegistry(useCaseSensitiveFileNames, currentDirectory) {
112161
112221
  return createDocumentRegistryInternal(useCaseSensitiveFileNames, currentDirectory);
@@ -112286,6 +112346,7 @@ var require_typescript = __commonJS({
112286
112346
  }).join("|");
112287
112347
  }
112288
112348
  })(ts2 || (ts2 = {}));
112349
+ var ts2;
112289
112350
  (function(ts3) {
112290
112351
  var FindAllReferences;
112291
112352
  (function(FindAllReferences2) {
@@ -112808,6 +112869,7 @@ var require_typescript = __commonJS({
112808
112869
  }
112809
112870
  })(FindAllReferences = ts3.FindAllReferences || (ts3.FindAllReferences = {}));
112810
112871
  })(ts2 || (ts2 = {}));
112872
+ var ts2;
112811
112873
  (function(ts3) {
112812
112874
  var FindAllReferences;
112813
112875
  (function(FindAllReferences2) {
@@ -114508,6 +114570,7 @@ var require_typescript = __commonJS({
114508
114570
  })(Core = FindAllReferences2.Core || (FindAllReferences2.Core = {}));
114509
114571
  })(FindAllReferences = ts3.FindAllReferences || (ts3.FindAllReferences = {}));
114510
114572
  })(ts2 || (ts2 = {}));
114573
+ var ts2;
114511
114574
  (function(ts3) {
114512
114575
  var CallHierarchy;
114513
114576
  (function(CallHierarchy2) {
@@ -114902,6 +114965,7 @@ var require_typescript = __commonJS({
114902
114965
  CallHierarchy2.getOutgoingCalls = getOutgoingCalls;
114903
114966
  })(CallHierarchy = ts3.CallHierarchy || (ts3.CallHierarchy = {}));
114904
114967
  })(ts2 || (ts2 = {}));
114968
+ var ts2;
114905
114969
  (function(ts3) {
114906
114970
  function getEditsForFileRename(program2, oldFileOrDirPath, newFileOrDirPath, host, formatContext, preferences, sourceMapper) {
114907
114971
  var useCaseSensitiveFileNames = ts3.hostUsesCaseSensitiveFileNames(host);
@@ -115102,6 +115166,7 @@ var require_typescript = __commonJS({
115102
115166
  }
115103
115167
  }
115104
115168
  })(ts2 || (ts2 = {}));
115169
+ var ts2;
115105
115170
  (function(ts3) {
115106
115171
  var GoToDefinition;
115107
115172
  (function(GoToDefinition2) {
@@ -115358,6 +115423,7 @@ var require_typescript = __commonJS({
115358
115423
  }
115359
115424
  })(GoToDefinition = ts3.GoToDefinition || (ts3.GoToDefinition = {}));
115360
115425
  })(ts2 || (ts2 = {}));
115426
+ var ts2;
115361
115427
  (function(ts3) {
115362
115428
  var JsDoc;
115363
115429
  (function(JsDoc2) {
@@ -115700,6 +115766,7 @@ var require_typescript = __commonJS({
115700
115766
  }
115701
115767
  })(JsDoc = ts3.JsDoc || (ts3.JsDoc = {}));
115702
115768
  })(ts2 || (ts2 = {}));
115769
+ var ts2;
115703
115770
  (function(ts3) {
115704
115771
  var NavigateTo;
115705
115772
  (function(NavigateTo2) {
@@ -115803,6 +115870,7 @@ var require_typescript = __commonJS({
115803
115870
  }
115804
115871
  })(NavigateTo = ts3.NavigateTo || (ts3.NavigateTo = {}));
115805
115872
  })(ts2 || (ts2 = {}));
115873
+ var ts2;
115806
115874
  (function(ts3) {
115807
115875
  var NavigationBar;
115808
115876
  (function(NavigationBar2) {
@@ -116518,6 +116586,7 @@ var require_typescript = __commonJS({
116518
116586
  }
116519
116587
  })(NavigationBar = ts3.NavigationBar || (ts3.NavigationBar = {}));
116520
116588
  })(ts2 || (ts2 = {}));
116589
+ var ts2;
116521
116590
  (function(ts3) {
116522
116591
  var OrganizeImports;
116523
116592
  (function(OrganizeImports2) {
@@ -116832,6 +116901,7 @@ var require_typescript = __commonJS({
116832
116901
  }
116833
116902
  })(OrganizeImports = ts3.OrganizeImports || (ts3.OrganizeImports = {}));
116834
116903
  })(ts2 || (ts2 = {}));
116904
+ var ts2;
116835
116905
  (function(ts3) {
116836
116906
  var OutliningElementsCollector;
116837
116907
  (function(OutliningElementsCollector2) {
@@ -117141,6 +117211,7 @@ var require_typescript = __commonJS({
117141
117211
  }
117142
117212
  })(OutliningElementsCollector = ts3.OutliningElementsCollector || (ts3.OutliningElementsCollector = {}));
117143
117213
  })(ts2 || (ts2 = {}));
117214
+ var ts2;
117144
117215
  (function(ts3) {
117145
117216
  var PatternMatchKind;
117146
117217
  (function(PatternMatchKind2) {
@@ -117474,6 +117545,7 @@ var require_typescript = __commonJS({
117474
117545
  });
117475
117546
  }
117476
117547
  })(ts2 || (ts2 = {}));
117548
+ var ts2;
117477
117549
  (function(ts3) {
117478
117550
  function preProcessFile(sourceText, readImportFiles, detectJavaScriptImports) {
117479
117551
  if (readImportFiles === void 0) {
@@ -117776,6 +117848,7 @@ var require_typescript = __commonJS({
117776
117848
  }
117777
117849
  ts3.preProcessFile = preProcessFile;
117778
117850
  })(ts2 || (ts2 = {}));
117851
+ var ts2;
117779
117852
  (function(ts3) {
117780
117853
  var Rename;
117781
117854
  (function(Rename2) {
@@ -117887,6 +117960,7 @@ var require_typescript = __commonJS({
117887
117960
  }
117888
117961
  })(Rename = ts3.Rename || (ts3.Rename = {}));
117889
117962
  })(ts2 || (ts2 = {}));
117963
+ var ts2;
117890
117964
  (function(ts3) {
117891
117965
  var SmartSelectionRange;
117892
117966
  (function(SmartSelectionRange2) {
@@ -118083,6 +118157,7 @@ var require_typescript = __commonJS({
118083
118157
  }
118084
118158
  })(SmartSelectionRange = ts3.SmartSelectionRange || (ts3.SmartSelectionRange = {}));
118085
118159
  })(ts2 || (ts2 = {}));
118160
+ var ts2;
118086
118161
  (function(ts3) {
118087
118162
  var SignatureHelp;
118088
118163
  (function(SignatureHelp2) {
@@ -118566,6 +118641,7 @@ var require_typescript = __commonJS({
118566
118641
  }
118567
118642
  })(SignatureHelp = ts3.SignatureHelp || (ts3.SignatureHelp = {}));
118568
118643
  })(ts2 || (ts2 = {}));
118644
+ var ts2;
118569
118645
  (function(ts3) {
118570
118646
  var base64UrlRegExp = /^data:(?:application\/json(?:;charset=[uU][tT][fF]-8);base64,([A-Za-z0-9+\/=]+)$)?/;
118571
118647
  function getSourceMapper(host) {
@@ -118709,6 +118785,7 @@ var require_typescript = __commonJS({
118709
118785
  };
118710
118786
  }
118711
118787
  })(ts2 || (ts2 = {}));
118788
+ var ts2;
118712
118789
  (function(ts3) {
118713
118790
  var visitedNestedConvertibleFunctions = new ts3.Map();
118714
118791
  function computeSuggestionDiagnostics(sourceFile, program2, cancellationToken) {
@@ -118892,6 +118969,7 @@ var require_typescript = __commonJS({
118892
118969
  return false;
118893
118970
  }
118894
118971
  })(ts2 || (ts2 = {}));
118972
+ var ts2;
118895
118973
  (function(ts3) {
118896
118974
  var SymbolDisplay;
118897
118975
  (function(SymbolDisplay2) {
@@ -119493,6 +119571,7 @@ var require_typescript = __commonJS({
119493
119571
  }
119494
119572
  })(SymbolDisplay = ts3.SymbolDisplay || (ts3.SymbolDisplay = {}));
119495
119573
  })(ts2 || (ts2 = {}));
119574
+ var ts2;
119496
119575
  (function(ts3) {
119497
119576
  function transpileModule(input, transpileOptions) {
119498
119577
  var diagnostics = [];
@@ -119609,6 +119688,7 @@ var require_typescript = __commonJS({
119609
119688
  }
119610
119689
  ts3.fixupCompilerOptions = fixupCompilerOptions;
119611
119690
  })(ts2 || (ts2 = {}));
119691
+ var ts2;
119612
119692
  (function(ts3) {
119613
119693
  var formatting;
119614
119694
  (function(formatting2) {
@@ -119691,6 +119771,7 @@ var require_typescript = __commonJS({
119691
119771
  formatting2.FormattingContext = FormattingContext;
119692
119772
  })(formatting = ts3.formatting || (ts3.formatting = {}));
119693
119773
  })(ts2 || (ts2 = {}));
119774
+ var ts2;
119694
119775
  (function(ts3) {
119695
119776
  var formatting;
119696
119777
  (function(formatting2) {
@@ -119925,6 +120006,7 @@ var require_typescript = __commonJS({
119925
120006
  formatting2.getFormattingScanner = getFormattingScanner;
119926
120007
  })(formatting = ts3.formatting || (ts3.formatting = {}));
119927
120008
  })(ts2 || (ts2 = {}));
120009
+ var ts2;
119928
120010
  (function(ts3) {
119929
120011
  var formatting;
119930
120012
  (function(formatting2) {
@@ -119949,6 +120031,7 @@ var require_typescript = __commonJS({
119949
120031
  })(RuleFlags = formatting2.RuleFlags || (formatting2.RuleFlags = {}));
119950
120032
  })(formatting = ts3.formatting || (ts3.formatting = {}));
119951
120033
  })(ts2 || (ts2 = {}));
120034
+ var ts2;
119952
120035
  (function(ts3) {
119953
120036
  var formatting;
119954
120037
  (function(formatting2) {
@@ -120554,6 +120637,7 @@ var require_typescript = __commonJS({
120554
120637
  }
120555
120638
  })(formatting = ts3.formatting || (ts3.formatting = {}));
120556
120639
  })(ts2 || (ts2 = {}));
120640
+ var ts2;
120557
120641
  (function(ts3) {
120558
120642
  var formatting;
120559
120643
  (function(formatting2) {
@@ -120665,6 +120749,7 @@ var require_typescript = __commonJS({
120665
120749
  }
120666
120750
  })(formatting = ts3.formatting || (ts3.formatting = {}));
120667
120751
  })(ts2 || (ts2 = {}));
120752
+ var ts2;
120668
120753
  (function(ts3) {
120669
120754
  var formatting;
120670
120755
  (function(formatting2) {
@@ -121565,6 +121650,7 @@ var require_typescript = __commonJS({
121565
121650
  formatting2.getIndentationString = getIndentationString;
121566
121651
  })(formatting = ts3.formatting || (ts3.formatting = {}));
121567
121652
  })(ts2 || (ts2 = {}));
121653
+ var ts2;
121568
121654
  (function(ts3) {
121569
121655
  var formatting;
121570
121656
  (function(formatting2) {
@@ -122041,6 +122127,7 @@ var require_typescript = __commonJS({
122041
122127
  })(SmartIndenter = formatting2.SmartIndenter || (formatting2.SmartIndenter = {}));
122042
122128
  })(formatting = ts3.formatting || (ts3.formatting = {}));
122043
122129
  })(ts2 || (ts2 = {}));
122130
+ var ts2;
122044
122131
  (function(ts3) {
122045
122132
  var textChanges;
122046
122133
  (function(textChanges_3) {
@@ -123186,6 +123273,7 @@ var require_typescript = __commonJS({
123186
123273
  }
123187
123274
  })(textChanges = ts3.textChanges || (ts3.textChanges = {}));
123188
123275
  })(ts2 || (ts2 = {}));
123276
+ var ts2;
123189
123277
  (function(ts3) {
123190
123278
  var codefix;
123191
123279
  (function(codefix2) {
@@ -123284,6 +123372,7 @@ var require_typescript = __commonJS({
123284
123372
  }
123285
123373
  })(codefix = ts3.codefix || (ts3.codefix = {}));
123286
123374
  })(ts2 || (ts2 = {}));
123375
+ var ts2;
123287
123376
  (function(ts3) {
123288
123377
  var refactor;
123289
123378
  (function(refactor_1) {
@@ -123308,6 +123397,7 @@ var require_typescript = __commonJS({
123308
123397
  refactor_1.getEditsForRefactor = getEditsForRefactor;
123309
123398
  })(refactor = ts3.refactor || (ts3.refactor = {}));
123310
123399
  })(ts2 || (ts2 = {}));
123400
+ var ts2;
123311
123401
  (function(ts3) {
123312
123402
  var codefix;
123313
123403
  (function(codefix2) {
@@ -123338,6 +123428,7 @@ var require_typescript = __commonJS({
123338
123428
  }
123339
123429
  })(codefix = ts3.codefix || (ts3.codefix = {}));
123340
123430
  })(ts2 || (ts2 = {}));
123431
+ var ts2;
123341
123432
  (function(ts3) {
123342
123433
  var codefix;
123343
123434
  (function(codefix2) {
@@ -123357,6 +123448,7 @@ var require_typescript = __commonJS({
123357
123448
  });
123358
123449
  })(codefix = ts3.codefix || (ts3.codefix = {}));
123359
123450
  })(ts2 || (ts2 = {}));
123451
+ var ts2;
123360
123452
  (function(ts3) {
123361
123453
  var codefix;
123362
123454
  (function(codefix2) {
@@ -123440,6 +123532,7 @@ var require_typescript = __commonJS({
123440
123532
  }
123441
123533
  })(codefix = ts3.codefix || (ts3.codefix = {}));
123442
123534
  })(ts2 || (ts2 = {}));
123535
+ var ts2;
123443
123536
  (function(ts3) {
123444
123537
  var codefix;
123445
123538
  (function(codefix2) {
@@ -123669,6 +123762,7 @@ var require_typescript = __commonJS({
123669
123762
  }
123670
123763
  })(codefix = ts3.codefix || (ts3.codefix = {}));
123671
123764
  })(ts2 || (ts2 = {}));
123765
+ var ts2;
123672
123766
  (function(ts3) {
123673
123767
  var codefix;
123674
123768
  (function(codefix2) {
@@ -123770,6 +123864,7 @@ var require_typescript = __commonJS({
123770
123864
  }
123771
123865
  })(codefix = ts3.codefix || (ts3.codefix = {}));
123772
123866
  })(ts2 || (ts2 = {}));
123867
+ var ts2;
123773
123868
  (function(ts3) {
123774
123869
  var codefix;
123775
123870
  (function(codefix2) {
@@ -123807,6 +123902,7 @@ var require_typescript = __commonJS({
123807
123902
  }
123808
123903
  })(codefix = ts3.codefix || (ts3.codefix = {}));
123809
123904
  })(ts2 || (ts2 = {}));
123905
+ var ts2;
123810
123906
  (function(ts3) {
123811
123907
  var codefix;
123812
123908
  (function(codefix2) {
@@ -123836,6 +123932,7 @@ var require_typescript = __commonJS({
123836
123932
  }
123837
123933
  })(codefix = ts3.codefix || (ts3.codefix = {}));
123838
123934
  })(ts2 || (ts2 = {}));
123935
+ var ts2;
123839
123936
  (function(ts3) {
123840
123937
  var codefix;
123841
123938
  (function(codefix2) {
@@ -123873,6 +123970,7 @@ var require_typescript = __commonJS({
123873
123970
  }
123874
123971
  })(codefix = ts3.codefix || (ts3.codefix = {}));
123875
123972
  })(ts2 || (ts2 = {}));
123973
+ var ts2;
123876
123974
  (function(ts3) {
123877
123975
  var codefix;
123878
123976
  (function(codefix2) {
@@ -124026,6 +124124,7 @@ var require_typescript = __commonJS({
124026
124124
  }
124027
124125
  })(codefix = ts3.codefix || (ts3.codefix = {}));
124028
124126
  })(ts2 || (ts2 = {}));
124127
+ var ts2;
124029
124128
  (function(ts3) {
124030
124129
  var codefix;
124031
124130
  (function(codefix2) {
@@ -124241,6 +124340,7 @@ var require_typescript = __commonJS({
124241
124340
  }
124242
124341
  })(codefix = ts3.codefix || (ts3.codefix = {}));
124243
124342
  })(ts2 || (ts2 = {}));
124343
+ var ts2;
124244
124344
  (function(ts3) {
124245
124345
  var codefix;
124246
124346
  (function(codefix2) {
@@ -124716,6 +124816,7 @@ var require_typescript = __commonJS({
124716
124816
  }
124717
124817
  })(codefix = ts3.codefix || (ts3.codefix = {}));
124718
124818
  })(ts2 || (ts2 = {}));
124819
+ var ts2;
124719
124820
  (function(ts3) {
124720
124821
  var codefix;
124721
124822
  (function(codefix2) {
@@ -125111,6 +125212,7 @@ var require_typescript = __commonJS({
125111
125212
  }
125112
125213
  })(codefix = ts3.codefix || (ts3.codefix = {}));
125113
125214
  })(ts2 || (ts2 = {}));
125215
+ var ts2;
125114
125216
  (function(ts3) {
125115
125217
  var codefix;
125116
125218
  (function(codefix2) {
@@ -125150,6 +125252,7 @@ var require_typescript = __commonJS({
125150
125252
  }
125151
125253
  })(codefix = ts3.codefix || (ts3.codefix = {}));
125152
125254
  })(ts2 || (ts2 = {}));
125255
+ var ts2;
125153
125256
  (function(ts3) {
125154
125257
  var codefix;
125155
125258
  (function(codefix2) {
@@ -125213,6 +125316,7 @@ var require_typescript = __commonJS({
125213
125316
  }
125214
125317
  })(codefix = ts3.codefix || (ts3.codefix = {}));
125215
125318
  })(ts2 || (ts2 = {}));
125319
+ var ts2;
125216
125320
  (function(ts3) {
125217
125321
  var codefix;
125218
125322
  (function(codefix2) {
@@ -125253,6 +125357,7 @@ var require_typescript = __commonJS({
125253
125357
  }
125254
125358
  })(codefix = ts3.codefix || (ts3.codefix = {}));
125255
125359
  })(ts2 || (ts2 = {}));
125360
+ var ts2;
125256
125361
  (function(ts3) {
125257
125362
  var codefix;
125258
125363
  (function(codefix2) {
@@ -125302,6 +125407,7 @@ var require_typescript = __commonJS({
125302
125407
  }
125303
125408
  })(codefix = ts3.codefix || (ts3.codefix = {}));
125304
125409
  })(ts2 || (ts2 = {}));
125410
+ var ts2;
125305
125411
  (function(ts3) {
125306
125412
  var codefix;
125307
125413
  (function(codefix2) {
@@ -125389,6 +125495,7 @@ var require_typescript = __commonJS({
125389
125495
  }
125390
125496
  })(codefix = ts3.codefix || (ts3.codefix = {}));
125391
125497
  })(ts2 || (ts2 = {}));
125498
+ var ts2;
125392
125499
  (function(ts3) {
125393
125500
  var codefix;
125394
125501
  (function(codefix2) {
@@ -126238,6 +126345,7 @@ var require_typescript = __commonJS({
126238
126345
  }
126239
126346
  })(codefix = ts3.codefix || (ts3.codefix = {}));
126240
126347
  })(ts2 || (ts2 = {}));
126348
+ var ts2;
126241
126349
  (function(ts3) {
126242
126350
  var codefix;
126243
126351
  (function(codefix2) {
@@ -126272,6 +126380,7 @@ var require_typescript = __commonJS({
126272
126380
  }
126273
126381
  })(codefix = ts3.codefix || (ts3.codefix = {}));
126274
126382
  })(ts2 || (ts2 = {}));
126383
+ var ts2;
126275
126384
  (function(ts3) {
126276
126385
  var codefix;
126277
126386
  (function(codefix2) {
@@ -126324,6 +126433,7 @@ var require_typescript = __commonJS({
126324
126433
  }
126325
126434
  })(codefix = ts3.codefix || (ts3.codefix = {}));
126326
126435
  })(ts2 || (ts2 = {}));
126436
+ var ts2;
126327
126437
  (function(ts3) {
126328
126438
  var codefix;
126329
126439
  (function(codefix2) {
@@ -126373,6 +126483,7 @@ var require_typescript = __commonJS({
126373
126483
  }
126374
126484
  })(codefix = ts3.codefix || (ts3.codefix = {}));
126375
126485
  })(ts2 || (ts2 = {}));
126486
+ var ts2;
126376
126487
  (function(ts3) {
126377
126488
  var codefix;
126378
126489
  (function(codefix2) {
@@ -126485,6 +126596,7 @@ var require_typescript = __commonJS({
126485
126596
  }
126486
126597
  })(codefix = ts3.codefix || (ts3.codefix = {}));
126487
126598
  })(ts2 || (ts2 = {}));
126599
+ var ts2;
126488
126600
  (function(ts3) {
126489
126601
  var codefix;
126490
126602
  (function(codefix2) {
@@ -126694,6 +126806,7 @@ var require_typescript = __commonJS({
126694
126806
  }
126695
126807
  })(codefix = ts3.codefix || (ts3.codefix = {}));
126696
126808
  })(ts2 || (ts2 = {}));
126809
+ var ts2;
126697
126810
  (function(ts3) {
126698
126811
  var codefix;
126699
126812
  (function(codefix2) {
@@ -127011,6 +127124,7 @@ var require_typescript = __commonJS({
127011
127124
  }
127012
127125
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127013
127126
  })(ts2 || (ts2 = {}));
127127
+ var ts2;
127014
127128
  (function(ts3) {
127015
127129
  var codefix;
127016
127130
  (function(codefix2) {
@@ -127047,6 +127161,7 @@ var require_typescript = __commonJS({
127047
127161
  }
127048
127162
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127049
127163
  })(ts2 || (ts2 = {}));
127164
+ var ts2;
127050
127165
  (function(ts3) {
127051
127166
  var codefix;
127052
127167
  (function(codefix2) {
@@ -127101,6 +127216,7 @@ var require_typescript = __commonJS({
127101
127216
  }
127102
127217
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127103
127218
  })(ts2 || (ts2 = {}));
127219
+ var ts2;
127104
127220
  (function(ts3) {
127105
127221
  var codefix;
127106
127222
  (function(codefix2) {
@@ -127150,6 +127266,7 @@ var require_typescript = __commonJS({
127150
127266
  }
127151
127267
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127152
127268
  })(ts2 || (ts2 = {}));
127269
+ var ts2;
127153
127270
  (function(ts3) {
127154
127271
  var codefix;
127155
127272
  (function(codefix2) {
@@ -127202,6 +127319,7 @@ var require_typescript = __commonJS({
127202
127319
  }
127203
127320
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127204
127321
  })(ts2 || (ts2 = {}));
127322
+ var ts2;
127205
127323
  (function(ts3) {
127206
127324
  var codefix;
127207
127325
  (function(codefix2) {
@@ -127235,6 +127353,7 @@ var require_typescript = __commonJS({
127235
127353
  }
127236
127354
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127237
127355
  })(ts2 || (ts2 = {}));
127356
+ var ts2;
127238
127357
  (function(ts3) {
127239
127358
  var codefix;
127240
127359
  (function(codefix2) {
@@ -127270,6 +127389,7 @@ var require_typescript = __commonJS({
127270
127389
  }
127271
127390
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127272
127391
  })(ts2 || (ts2 = {}));
127392
+ var ts2;
127273
127393
  (function(ts3) {
127274
127394
  var codefix;
127275
127395
  (function(codefix2) {
@@ -127305,6 +127425,7 @@ var require_typescript = __commonJS({
127305
127425
  }
127306
127426
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127307
127427
  })(ts2 || (ts2 = {}));
127428
+ var ts2;
127308
127429
  (function(ts3) {
127309
127430
  var codefix;
127310
127431
  (function(codefix2) {
@@ -127348,6 +127469,7 @@ var require_typescript = __commonJS({
127348
127469
  });
127349
127470
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127350
127471
  })(ts2 || (ts2 = {}));
127472
+ var ts2;
127351
127473
  (function(ts3) {
127352
127474
  var codefix;
127353
127475
  (function(codefix2) {
@@ -127380,6 +127502,7 @@ var require_typescript = __commonJS({
127380
127502
  }
127381
127503
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127382
127504
  })(ts2 || (ts2 = {}));
127505
+ var ts2;
127383
127506
  (function(ts3) {
127384
127507
  var codefix;
127385
127508
  (function(codefix2) {
@@ -127429,6 +127552,7 @@ var require_typescript = __commonJS({
127429
127552
  }
127430
127553
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127431
127554
  })(ts2 || (ts2 = {}));
127555
+ var ts2;
127432
127556
  (function(ts3) {
127433
127557
  var codefix;
127434
127558
  (function(codefix2) {
@@ -127474,6 +127598,7 @@ var require_typescript = __commonJS({
127474
127598
  }
127475
127599
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127476
127600
  })(ts2 || (ts2 = {}));
127601
+ var ts2;
127477
127602
  (function(ts3) {
127478
127603
  var codefix;
127479
127604
  (function(codefix2) {
@@ -127522,6 +127647,7 @@ var require_typescript = __commonJS({
127522
127647
  }
127523
127648
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127524
127649
  })(ts2 || (ts2 = {}));
127650
+ var ts2;
127525
127651
  (function(ts3) {
127526
127652
  var codefix;
127527
127653
  (function(codefix2) {
@@ -127832,6 +127958,7 @@ var require_typescript = __commonJS({
127832
127958
  }
127833
127959
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127834
127960
  })(ts2 || (ts2 = {}));
127961
+ var ts2;
127835
127962
  (function(ts3) {
127836
127963
  var codefix;
127837
127964
  (function(codefix2) {
@@ -127905,6 +128032,7 @@ var require_typescript = __commonJS({
127905
128032
  }
127906
128033
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127907
128034
  })(ts2 || (ts2 = {}));
128035
+ var ts2;
127908
128036
  (function(ts3) {
127909
128037
  var codefix;
127910
128038
  (function(codefix2) {
@@ -127935,6 +128063,7 @@ var require_typescript = __commonJS({
127935
128063
  }
127936
128064
  })(codefix = ts3.codefix || (ts3.codefix = {}));
127937
128065
  })(ts2 || (ts2 = {}));
128066
+ var ts2;
127938
128067
  (function(ts3) {
127939
128068
  var codefix;
127940
128069
  (function(codefix2) {
@@ -128010,6 +128139,7 @@ var require_typescript = __commonJS({
128010
128139
  }
128011
128140
  })(codefix = ts3.codefix || (ts3.codefix = {}));
128012
128141
  })(ts2 || (ts2 = {}));
128142
+ var ts2;
128013
128143
  (function(ts3) {
128014
128144
  var codefix;
128015
128145
  (function(codefix2) {
@@ -128057,6 +128187,7 @@ var require_typescript = __commonJS({
128057
128187
  }
128058
128188
  })(codefix = ts3.codefix || (ts3.codefix = {}));
128059
128189
  })(ts2 || (ts2 = {}));
128190
+ var ts2;
128060
128191
  (function(ts3) {
128061
128192
  var codefix;
128062
128193
  (function(codefix2) {
@@ -128134,6 +128265,7 @@ var require_typescript = __commonJS({
128134
128265
  }
128135
128266
  })(codefix = ts3.codefix || (ts3.codefix = {}));
128136
128267
  })(ts2 || (ts2 = {}));
128268
+ var ts2;
128137
128269
  (function(ts3) {
128138
128270
  var codefix;
128139
128271
  (function(codefix2) {
@@ -128192,6 +128324,7 @@ var require_typescript = __commonJS({
128192
128324
  }
128193
128325
  })(codefix = ts3.codefix || (ts3.codefix = {}));
128194
128326
  })(ts2 || (ts2 = {}));
128327
+ var ts2;
128195
128328
  (function(ts3) {
128196
128329
  var codefix;
128197
128330
  (function(codefix2) {
@@ -129188,6 +129321,7 @@ var require_typescript = __commonJS({
129188
129321
  }
129189
129322
  })(codefix = ts3.codefix || (ts3.codefix = {}));
129190
129323
  })(ts2 || (ts2 = {}));
129324
+ var ts2;
129191
129325
  (function(ts3) {
129192
129326
  var codefix;
129193
129327
  (function(codefix2) {
@@ -129246,6 +129380,7 @@ var require_typescript = __commonJS({
129246
129380
  }
129247
129381
  })(codefix = ts3.codefix || (ts3.codefix = {}));
129248
129382
  })(ts2 || (ts2 = {}));
129383
+ var ts2;
129249
129384
  (function(ts3) {
129250
129385
  var codefix;
129251
129386
  (function(codefix2) {
@@ -129293,6 +129428,7 @@ var require_typescript = __commonJS({
129293
129428
  }
129294
129429
  })(codefix = ts3.codefix || (ts3.codefix = {}));
129295
129430
  })(ts2 || (ts2 = {}));
129431
+ var ts2;
129296
129432
  (function(ts3) {
129297
129433
  var codefix;
129298
129434
  (function(codefix2) {
@@ -129625,6 +129761,7 @@ var require_typescript = __commonJS({
129625
129761
  codefix2.importSymbols = importSymbols;
129626
129762
  })(codefix = ts3.codefix || (ts3.codefix = {}));
129627
129763
  })(ts2 || (ts2 = {}));
129764
+ var ts2;
129628
129765
  (function(ts3) {
129629
129766
  var codefix;
129630
129767
  (function(codefix2) {
@@ -129814,6 +129951,7 @@ var require_typescript = __commonJS({
129814
129951
  codefix2.getAllSupers = getAllSupers;
129815
129952
  })(codefix = ts3.codefix || (ts3.codefix = {}));
129816
129953
  })(ts2 || (ts2 = {}));
129954
+ var ts2;
129817
129955
  (function(ts3) {
129818
129956
  var codefix;
129819
129957
  (function(codefix2) {
@@ -129902,6 +130040,7 @@ var require_typescript = __commonJS({
129902
130040
  }
129903
130041
  })(codefix = ts3.codefix || (ts3.codefix = {}));
129904
130042
  })(ts2 || (ts2 = {}));
130043
+ var ts2;
129905
130044
  (function(ts3) {
129906
130045
  var codefix;
129907
130046
  (function(codefix2) {
@@ -130020,6 +130159,7 @@ var require_typescript = __commonJS({
130020
130159
  }
130021
130160
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130022
130161
  })(ts2 || (ts2 = {}));
130162
+ var ts2;
130023
130163
  (function(ts3) {
130024
130164
  var codefix;
130025
130165
  (function(codefix2) {
@@ -130084,6 +130224,7 @@ var require_typescript = __commonJS({
130084
130224
  }
130085
130225
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130086
130226
  })(ts2 || (ts2 = {}));
130227
+ var ts2;
130087
130228
  (function(ts3) {
130088
130229
  var codefix;
130089
130230
  (function(codefix2) {
@@ -130127,6 +130268,7 @@ var require_typescript = __commonJS({
130127
130268
  }
130128
130269
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130129
130270
  })(ts2 || (ts2 = {}));
130271
+ var ts2;
130130
130272
  (function(ts3) {
130131
130273
  var codefix;
130132
130274
  (function(codefix2) {
@@ -130161,6 +130303,7 @@ var require_typescript = __commonJS({
130161
130303
  }
130162
130304
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130163
130305
  })(ts2 || (ts2 = {}));
130306
+ var ts2;
130164
130307
  (function(ts3) {
130165
130308
  var codefix;
130166
130309
  (function(codefix2) {
@@ -130196,6 +130339,7 @@ var require_typescript = __commonJS({
130196
130339
  }
130197
130340
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130198
130341
  })(ts2 || (ts2 = {}));
130342
+ var ts2;
130199
130343
  (function(ts3) {
130200
130344
  var codefix;
130201
130345
  (function(codefix2) {
@@ -130265,6 +130409,7 @@ var require_typescript = __commonJS({
130265
130409
  }
130266
130410
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130267
130411
  })(ts2 || (ts2 = {}));
130412
+ var ts2;
130268
130413
  (function(ts3) {
130269
130414
  var codefix;
130270
130415
  (function(codefix2) {
@@ -130320,6 +130465,7 @@ var require_typescript = __commonJS({
130320
130465
  }
130321
130466
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130322
130467
  })(ts2 || (ts2 = {}));
130468
+ var ts2;
130323
130469
  (function(ts3) {
130324
130470
  var codefix;
130325
130471
  (function(codefix2) {
@@ -130343,6 +130489,7 @@ var require_typescript = __commonJS({
130343
130489
  });
130344
130490
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130345
130491
  })(ts2 || (ts2 = {}));
130492
+ var ts2;
130346
130493
  (function(ts3) {
130347
130494
  var codefix;
130348
130495
  (function(codefix2) {
@@ -130390,6 +130537,7 @@ var require_typescript = __commonJS({
130390
130537
  }
130391
130538
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130392
130539
  })(ts2 || (ts2 = {}));
130540
+ var ts2;
130393
130541
  (function(ts3) {
130394
130542
  var codefix;
130395
130543
  (function(codefix2) {
@@ -130425,6 +130573,7 @@ var require_typescript = __commonJS({
130425
130573
  }
130426
130574
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130427
130575
  })(ts2 || (ts2 = {}));
130576
+ var ts2;
130428
130577
  (function(ts3) {
130429
130578
  var codefix;
130430
130579
  (function(codefix2) {
@@ -130459,6 +130608,7 @@ var require_typescript = __commonJS({
130459
130608
  }
130460
130609
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130461
130610
  })(ts2 || (ts2 = {}));
130611
+ var ts2;
130462
130612
  (function(ts3) {
130463
130613
  var codefix;
130464
130614
  (function(codefix2) {
@@ -130498,6 +130648,7 @@ var require_typescript = __commonJS({
130498
130648
  }
130499
130649
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130500
130650
  })(ts2 || (ts2 = {}));
130651
+ var ts2;
130501
130652
  (function(ts3) {
130502
130653
  var codefix;
130503
130654
  (function(codefix2) {
@@ -130574,6 +130725,7 @@ var require_typescript = __commonJS({
130574
130725
  }
130575
130726
  })(codefix = ts3.codefix || (ts3.codefix = {}));
130576
130727
  })(ts2 || (ts2 = {}));
130728
+ var ts2;
130577
130729
  (function(ts3) {
130578
130730
  var refactor;
130579
130731
  (function(refactor2) {
@@ -130776,6 +130928,7 @@ var require_typescript = __commonJS({
130776
130928
  }
130777
130929
  })(refactor = ts3.refactor || (ts3.refactor = {}));
130778
130930
  })(ts2 || (ts2 = {}));
130931
+ var ts2;
130779
130932
  (function(ts3) {
130780
130933
  var refactor;
130781
130934
  (function(refactor2) {
@@ -130936,6 +131089,7 @@ var require_typescript = __commonJS({
130936
131089
  }
130937
131090
  })(refactor = ts3.refactor || (ts3.refactor = {}));
130938
131091
  })(ts2 || (ts2 = {}));
131092
+ var ts2;
130939
131093
  (function(ts3) {
130940
131094
  var refactor;
130941
131095
  (function(refactor2) {
@@ -131153,6 +131307,7 @@ var require_typescript = __commonJS({
131153
131307
  })(convertToOptionalChainExpression = refactor2.convertToOptionalChainExpression || (refactor2.convertToOptionalChainExpression = {}));
131154
131308
  })(refactor = ts3.refactor || (ts3.refactor = {}));
131155
131309
  })(ts2 || (ts2 = {}));
131310
+ var ts2;
131156
131311
  (function(ts3) {
131157
131312
  var refactor;
131158
131313
  (function(refactor2) {
@@ -131327,6 +131482,7 @@ var require_typescript = __commonJS({
131327
131482
  })(addOrRemoveBracesToArrowFunction = refactor2.addOrRemoveBracesToArrowFunction || (refactor2.addOrRemoveBracesToArrowFunction = {}));
131328
131483
  })(refactor = ts3.refactor || (ts3.refactor = {}));
131329
131484
  })(ts2 || (ts2 = {}));
131485
+ var ts2;
131330
131486
  (function(ts3) {
131331
131487
  var refactor;
131332
131488
  (function(refactor2) {
@@ -132674,6 +132830,7 @@ var require_typescript = __commonJS({
132674
132830
  })(extractSymbol = refactor2.extractSymbol || (refactor2.extractSymbol = {}));
132675
132831
  })(refactor = ts3.refactor || (ts3.refactor = {}));
132676
132832
  })(ts2 || (ts2 = {}));
132833
+ var ts2;
132677
132834
  (function(ts3) {
132678
132835
  var refactor;
132679
132836
  (function(refactor2) {
@@ -132878,6 +133035,7 @@ var require_typescript = __commonJS({
132878
133035
  }
132879
133036
  })(refactor = ts3.refactor || (ts3.refactor = {}));
132880
133037
  })(ts2 || (ts2 = {}));
133038
+ var ts2;
132881
133039
  (function(ts3) {
132882
133040
  var refactor;
132883
133041
  (function(refactor2) {
@@ -132932,6 +133090,7 @@ var require_typescript = __commonJS({
132932
133090
  })(generateGetAccessorAndSetAccessor = refactor2.generateGetAccessorAndSetAccessor || (refactor2.generateGetAccessorAndSetAccessor = {}));
132933
133091
  })(refactor = ts3.refactor || (ts3.refactor = {}));
132934
133092
  })(ts2 || (ts2 = {}));
133093
+ var ts2;
132935
133094
  (function(ts3) {
132936
133095
  var refactor;
132937
133096
  (function(refactor2) {
@@ -132948,6 +133107,7 @@ var require_typescript = __commonJS({
132948
133107
  refactor2.refactorKindBeginsWith = refactorKindBeginsWith;
132949
133108
  })(refactor = ts3.refactor || (ts3.refactor = {}));
132950
133109
  })(ts2 || (ts2 = {}));
133110
+ var ts2;
132951
133111
  (function(ts3) {
132952
133112
  var refactor;
132953
133113
  (function(refactor2) {
@@ -133680,6 +133840,7 @@ var require_typescript = __commonJS({
133680
133840
  }
133681
133841
  })(refactor = ts3.refactor || (ts3.refactor = {}));
133682
133842
  })(ts2 || (ts2 = {}));
133843
+ var ts2;
133683
133844
  (function(ts3) {
133684
133845
  var refactor;
133685
133846
  (function(refactor2) {
@@ -133786,6 +133947,7 @@ var require_typescript = __commonJS({
133786
133947
  })(addOrRemoveBracesToArrowFunction = refactor2.addOrRemoveBracesToArrowFunction || (refactor2.addOrRemoveBracesToArrowFunction = {}));
133787
133948
  })(refactor = ts3.refactor || (ts3.refactor = {}));
133788
133949
  })(ts2 || (ts2 = {}));
133950
+ var ts2;
133789
133951
  (function(ts3) {
133790
133952
  var refactor;
133791
133953
  (function(refactor2) {
@@ -134273,6 +134435,7 @@ var require_typescript = __commonJS({
134273
134435
  })(convertParamsToDestructuredObject = refactor2.convertParamsToDestructuredObject || (refactor2.convertParamsToDestructuredObject = {}));
134274
134436
  })(refactor = ts3.refactor || (ts3.refactor = {}));
134275
134437
  })(ts2 || (ts2 = {}));
134438
+ var ts2;
134276
134439
  (function(ts3) {
134277
134440
  var refactor;
134278
134441
  (function(refactor2) {
@@ -134467,6 +134630,7 @@ var require_typescript = __commonJS({
134467
134630
  })(convertStringOrTemplateLiteral = refactor2.convertStringOrTemplateLiteral || (refactor2.convertStringOrTemplateLiteral = {}));
134468
134631
  })(refactor = ts3.refactor || (ts3.refactor = {}));
134469
134632
  })(ts2 || (ts2 = {}));
134633
+ var ts2;
134470
134634
  (function(ts3) {
134471
134635
  var refactor;
134472
134636
  (function(refactor2) {
@@ -134673,6 +134837,7 @@ var require_typescript = __commonJS({
134673
134837
  })(convertArrowFunctionOrFunctionExpression = refactor2.convertArrowFunctionOrFunctionExpression || (refactor2.convertArrowFunctionOrFunctionExpression = {}));
134674
134838
  })(refactor = ts3.refactor || (ts3.refactor = {}));
134675
134839
  })(ts2 || (ts2 = {}));
134840
+ var ts2;
134676
134841
  (function(ts3) {
134677
134842
  var refactor;
134678
134843
  (function(refactor2) {
@@ -134767,6 +134932,7 @@ var require_typescript = __commonJS({
134767
134932
  })(inferFunctionReturnType = refactor2.inferFunctionReturnType || (refactor2.inferFunctionReturnType = {}));
134768
134933
  })(refactor = ts3.refactor || (ts3.refactor = {}));
134769
134934
  })(ts2 || (ts2 = {}));
134935
+ var ts2;
134770
134936
  (function(ts3) {
134771
134937
  ts3.servicesVersion = "0.8";
134772
134938
  function createNode(kind, pos, end, parent) {
@@ -136793,6 +136959,7 @@ var require_typescript = __commonJS({
136793
136959
  ts3.getDefaultLibFilePath = getDefaultLibFilePath;
136794
136960
  ts3.setObjectAllocator(getServicesObjectAllocator());
136795
136961
  })(ts2 || (ts2 = {}));
136962
+ var ts2;
136796
136963
  (function(ts3) {
136797
136964
  var BreakpointResolver;
136798
136965
  (function(BreakpointResolver2) {
@@ -137264,6 +137431,7 @@ var require_typescript = __commonJS({
137264
137431
  BreakpointResolver2.spanInSourceFileAtLocation = spanInSourceFileAtLocation;
137265
137432
  })(BreakpointResolver = ts3.BreakpointResolver || (ts3.BreakpointResolver = {}));
137266
137433
  })(ts2 || (ts2 = {}));
137434
+ var ts2;
137267
137435
  (function(ts3) {
137268
137436
  function transform(source, transformers, compilerOptions) {
137269
137437
  var diagnostics = [];
@@ -137278,6 +137446,7 @@ var require_typescript = __commonJS({
137278
137446
  var debugObjectHost = function() {
137279
137447
  return this;
137280
137448
  }();
137449
+ var ts2;
137281
137450
  (function(ts3) {
137282
137451
  function logInternalError(logger, err) {
137283
137452
  if (logger) {
@@ -147213,9 +147382,9 @@ var require_Parser = __commonJS({
147213
147382
  }
147214
147383
  });
147215
147384
 
147216
- // node_modules/.pnpm/domelementtype@2.2.0/node_modules/domelementtype/lib/index.js
147385
+ // node_modules/.pnpm/domelementtype@2.3.0/node_modules/domelementtype/lib/index.js
147217
147386
  var require_lib8 = __commonJS({
147218
- "node_modules/.pnpm/domelementtype@2.2.0/node_modules/domelementtype/lib/index.js"(exports) {
147387
+ "node_modules/.pnpm/domelementtype@2.3.0/node_modules/domelementtype/lib/index.js"(exports) {
147219
147388
  "use strict";
147220
147389
  Object.defineProperty(exports, "__esModule", { value: true });
147221
147390
  exports.Doctype = exports.CDATA = exports.Tag = exports.Style = exports.Script = exports.Comment = exports.Directive = exports.Text = exports.Root = exports.isTag = exports.ElementType = void 0;
@@ -147247,9 +147416,9 @@ var require_lib8 = __commonJS({
147247
147416
  }
147248
147417
  });
147249
147418
 
147250
- // node_modules/.pnpm/domhandler@4.3.0/node_modules/domhandler/lib/node.js
147419
+ // node_modules/.pnpm/domhandler@4.3.1/node_modules/domhandler/lib/node.js
147251
147420
  var require_node = __commonJS({
147252
- "node_modules/.pnpm/domhandler@4.3.0/node_modules/domhandler/lib/node.js"(exports) {
147421
+ "node_modules/.pnpm/domhandler@4.3.1/node_modules/domhandler/lib/node.js"(exports) {
147253
147422
  "use strict";
147254
147423
  var __extends = exports && exports.__extends || function() {
147255
147424
  var extendStatics = function(d, b) {
@@ -147587,16 +147756,20 @@ var require_node = __commonJS({
147587
147756
  }
147588
147757
  });
147589
147758
 
147590
- // node_modules/.pnpm/domhandler@4.3.0/node_modules/domhandler/lib/index.js
147759
+ // node_modules/.pnpm/domhandler@4.3.1/node_modules/domhandler/lib/index.js
147591
147760
  var require_lib9 = __commonJS({
147592
- "node_modules/.pnpm/domhandler@4.3.0/node_modules/domhandler/lib/index.js"(exports) {
147761
+ "node_modules/.pnpm/domhandler@4.3.1/node_modules/domhandler/lib/index.js"(exports) {
147593
147762
  "use strict";
147594
147763
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
147595
147764
  if (k2 === void 0)
147596
147765
  k2 = k;
147597
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
147598
- return m[k];
147599
- } });
147766
+ var desc = Object.getOwnPropertyDescriptor(m, k);
147767
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
147768
+ desc = { enumerable: true, get: function() {
147769
+ return m[k];
147770
+ } };
147771
+ }
147772
+ Object.defineProperty(o, k2, desc);
147600
147773
  } : function(o, m, k, k2) {
147601
147774
  if (k2 === void 0)
147602
147775
  k2 = k;
@@ -147969,9 +148142,9 @@ var require_lib10 = __commonJS({
147969
148142
  }
147970
148143
  });
147971
148144
 
147972
- // node_modules/.pnpm/dom-serializer@1.3.2/node_modules/dom-serializer/lib/foreignNames.js
148145
+ // node_modules/.pnpm/dom-serializer@1.4.1/node_modules/dom-serializer/lib/foreignNames.js
147973
148146
  var require_foreignNames = __commonJS({
147974
- "node_modules/.pnpm/dom-serializer@1.3.2/node_modules/dom-serializer/lib/foreignNames.js"(exports) {
148147
+ "node_modules/.pnpm/dom-serializer@1.4.1/node_modules/dom-serializer/lib/foreignNames.js"(exports) {
147975
148148
  "use strict";
147976
148149
  Object.defineProperty(exports, "__esModule", { value: true });
147977
148150
  exports.attributeNames = exports.elementNames = void 0;
@@ -148078,9 +148251,9 @@ var require_foreignNames = __commonJS({
148078
148251
  }
148079
148252
  });
148080
148253
 
148081
- // node_modules/.pnpm/dom-serializer@1.3.2/node_modules/dom-serializer/lib/index.js
148254
+ // node_modules/.pnpm/dom-serializer@1.4.1/node_modules/dom-serializer/lib/index.js
148082
148255
  var require_lib11 = __commonJS({
148083
- "node_modules/.pnpm/dom-serializer@1.3.2/node_modules/dom-serializer/lib/index.js"(exports) {
148256
+ "node_modules/.pnpm/dom-serializer@1.4.1/node_modules/dom-serializer/lib/index.js"(exports) {
148084
148257
  "use strict";
148085
148258
  var __assign = exports && exports.__assign || function() {
148086
148259
  __assign = Object.assign || function(t) {
@@ -151640,43 +151813,63 @@ var require_boolbase = __commonJS({
151640
151813
  }
151641
151814
  });
151642
151815
 
151643
- // node_modules/.pnpm/css-what@5.1.0/node_modules/css-what/lib/parse.js
151644
- var require_parse = __commonJS({
151645
- "node_modules/.pnpm/css-what@5.1.0/node_modules/css-what/lib/parse.js"(exports) {
151816
+ // node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/types.js
151817
+ var require_types3 = __commonJS({
151818
+ "node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/types.js"(exports) {
151646
151819
  "use strict";
151647
- var __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {
151648
- if (pack || arguments.length === 2)
151649
- for (var i = 0, l = from.length, ar; i < l; i++) {
151650
- if (ar || !(i in from)) {
151651
- if (!ar)
151652
- ar = Array.prototype.slice.call(from, 0, i);
151653
- ar[i] = from[i];
151654
- }
151655
- }
151656
- return to.concat(ar || Array.prototype.slice.call(from));
151820
+ Object.defineProperty(exports, "__esModule", { value: true });
151821
+ exports.AttributeAction = exports.IgnoreCaseMode = exports.SelectorType = void 0;
151822
+ var SelectorType;
151823
+ (function(SelectorType2) {
151824
+ SelectorType2["Attribute"] = "attribute";
151825
+ SelectorType2["Pseudo"] = "pseudo";
151826
+ SelectorType2["PseudoElement"] = "pseudo-element";
151827
+ SelectorType2["Tag"] = "tag";
151828
+ SelectorType2["Universal"] = "universal";
151829
+ SelectorType2["Adjacent"] = "adjacent";
151830
+ SelectorType2["Child"] = "child";
151831
+ SelectorType2["Descendant"] = "descendant";
151832
+ SelectorType2["Parent"] = "parent";
151833
+ SelectorType2["Sibling"] = "sibling";
151834
+ SelectorType2["ColumnCombinator"] = "column-combinator";
151835
+ })(SelectorType = exports.SelectorType || (exports.SelectorType = {}));
151836
+ exports.IgnoreCaseMode = {
151837
+ Unknown: null,
151838
+ QuirksMode: "quirks",
151839
+ IgnoreCase: true,
151840
+ CaseSensitive: false
151657
151841
  };
151842
+ var AttributeAction;
151843
+ (function(AttributeAction2) {
151844
+ AttributeAction2["Any"] = "any";
151845
+ AttributeAction2["Element"] = "element";
151846
+ AttributeAction2["End"] = "end";
151847
+ AttributeAction2["Equals"] = "equals";
151848
+ AttributeAction2["Exists"] = "exists";
151849
+ AttributeAction2["Hyphen"] = "hyphen";
151850
+ AttributeAction2["Not"] = "not";
151851
+ AttributeAction2["Start"] = "start";
151852
+ })(AttributeAction = exports.AttributeAction || (exports.AttributeAction = {}));
151853
+ }
151854
+ });
151855
+
151856
+ // node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/parse.js
151857
+ var require_parse = __commonJS({
151858
+ "node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/parse.js"(exports) {
151859
+ "use strict";
151658
151860
  Object.defineProperty(exports, "__esModule", { value: true });
151659
- exports.isTraversal = void 0;
151861
+ exports.parse = exports.isTraversal = void 0;
151862
+ var types_1 = require_types3();
151660
151863
  var reName = /^[^\\#]?(?:\\(?:[\da-f]{1,6}\s?|.)|[\w\-\u00b0-\uFFFF])+/;
151661
151864
  var reEscape = /\\([\da-f]{1,6}\s?|(\s)|.)/gi;
151662
151865
  var actionTypes = /* @__PURE__ */ new Map([
151663
- ["~", "element"],
151664
- ["^", "start"],
151665
- ["$", "end"],
151666
- ["*", "any"],
151667
- ["!", "not"],
151668
- ["|", "hyphen"]
151866
+ [126, types_1.AttributeAction.Element],
151867
+ [94, types_1.AttributeAction.Start],
151868
+ [36, types_1.AttributeAction.End],
151869
+ [42, types_1.AttributeAction.Any],
151870
+ [33, types_1.AttributeAction.Not],
151871
+ [124, types_1.AttributeAction.Hyphen]
151669
151872
  ]);
151670
- var Traversals = {
151671
- ">": "child",
151672
- "<": "parent",
151673
- "~": "sibling",
151674
- "+": "adjacent"
151675
- };
151676
- var attribSelectors = {
151677
- "#": ["id", "equals"],
151678
- ".": ["class", "element"]
151679
- };
151680
151873
  var unpackPseudos = /* @__PURE__ */ new Set([
151681
151874
  "has",
151682
151875
  "not",
@@ -151686,65 +151879,21 @@ var require_parse = __commonJS({
151686
151879
  "host",
151687
151880
  "host-context"
151688
151881
  ]);
151689
- var traversalNames = new Set(__spreadArray([
151690
- "descendant"
151691
- ], Object.keys(Traversals).map(function(k) {
151692
- return Traversals[k];
151693
- }), true));
151694
- var caseInsensitiveAttributes = /* @__PURE__ */ new Set([
151695
- "accept",
151696
- "accept-charset",
151697
- "align",
151698
- "alink",
151699
- "axis",
151700
- "bgcolor",
151701
- "charset",
151702
- "checked",
151703
- "clear",
151704
- "codetype",
151705
- "color",
151706
- "compact",
151707
- "declare",
151708
- "defer",
151709
- "dir",
151710
- "direction",
151711
- "disabled",
151712
- "enctype",
151713
- "face",
151714
- "frame",
151715
- "hreflang",
151716
- "http-equiv",
151717
- "lang",
151718
- "language",
151719
- "link",
151720
- "media",
151721
- "method",
151722
- "multiple",
151723
- "nohref",
151724
- "noresize",
151725
- "noshade",
151726
- "nowrap",
151727
- "readonly",
151728
- "rel",
151729
- "rev",
151730
- "rules",
151731
- "scope",
151732
- "scrolling",
151733
- "selected",
151734
- "shape",
151735
- "target",
151736
- "text",
151737
- "type",
151738
- "valign",
151739
- "valuetype",
151740
- "vlink"
151741
- ]);
151742
151882
  function isTraversal(selector) {
151743
- return traversalNames.has(selector.type);
151883
+ switch (selector.type) {
151884
+ case types_1.SelectorType.Adjacent:
151885
+ case types_1.SelectorType.Child:
151886
+ case types_1.SelectorType.Descendant:
151887
+ case types_1.SelectorType.Parent:
151888
+ case types_1.SelectorType.Sibling:
151889
+ case types_1.SelectorType.ColumnCombinator:
151890
+ return true;
151891
+ default:
151892
+ return false;
151893
+ }
151744
151894
  }
151745
151895
  exports.isTraversal = isTraversal;
151746
151896
  var stripQuotesFromPseudos = /* @__PURE__ */ new Set(["contains", "icontains"]);
151747
- var quotes = /* @__PURE__ */ new Set(['"', "'"]);
151748
151897
  function funescape(_, escaped, escapedWhitespace) {
151749
151898
  var high = parseInt(escaped, 16) - 65536;
151750
151899
  return high !== high || escapedWhitespace ? escaped : high < 0 ? String.fromCharCode(high + 65536) : String.fromCharCode(high >> 10 | 55296, high & 1023 | 56320);
@@ -151752,42 +151901,57 @@ var require_parse = __commonJS({
151752
151901
  function unescapeCSS(str2) {
151753
151902
  return str2.replace(reEscape, funescape);
151754
151903
  }
151904
+ function isQuote(c) {
151905
+ return c === 39 || c === 34;
151906
+ }
151755
151907
  function isWhitespace2(c) {
151756
- return c === " " || c === "\n" || c === " " || c === "\f" || c === "\r";
151908
+ return c === 32 || c === 9 || c === 10 || c === 12 || c === 13;
151757
151909
  }
151758
- function parse(selector, options) {
151910
+ function parse(selector) {
151759
151911
  var subselects = [];
151760
- var endIndex = parseSelector(subselects, "" + selector, options, 0);
151912
+ var endIndex = parseSelector(subselects, "".concat(selector), 0);
151761
151913
  if (endIndex < selector.length) {
151762
- throw new Error("Unmatched selector: " + selector.slice(endIndex));
151914
+ throw new Error("Unmatched selector: ".concat(selector.slice(endIndex)));
151763
151915
  }
151764
151916
  return subselects;
151765
151917
  }
151766
- exports.default = parse;
151767
- function parseSelector(subselects, selector, options, selectorIndex) {
151768
- var _a, _b;
151769
- if (options === void 0) {
151770
- options = {};
151771
- }
151918
+ exports.parse = parse;
151919
+ function parseSelector(subselects, selector, selectorIndex) {
151772
151920
  var tokens = [];
151773
- var sawWS = false;
151774
151921
  function getName(offset) {
151775
151922
  var match = selector.slice(selectorIndex + offset).match(reName);
151776
151923
  if (!match) {
151777
- throw new Error("Expected name, found " + selector.slice(selectorIndex));
151924
+ throw new Error("Expected name, found ".concat(selector.slice(selectorIndex)));
151778
151925
  }
151779
151926
  var name = match[0];
151780
151927
  selectorIndex += offset + name.length;
151781
151928
  return unescapeCSS(name);
151782
151929
  }
151783
151930
  function stripWhitespace(offset) {
151784
- while (isWhitespace2(selector.charAt(selectorIndex + offset)))
151785
- offset++;
151786
151931
  selectorIndex += offset;
151932
+ while (selectorIndex < selector.length && isWhitespace2(selector.charCodeAt(selectorIndex))) {
151933
+ selectorIndex++;
151934
+ }
151935
+ }
151936
+ function readValueWithParenthesis() {
151937
+ selectorIndex += 1;
151938
+ var start = selectorIndex;
151939
+ var counter = 1;
151940
+ for (; counter > 0 && selectorIndex < selector.length; selectorIndex++) {
151941
+ if (selector.charCodeAt(selectorIndex) === 40 && !isEscaped(selectorIndex)) {
151942
+ counter++;
151943
+ } else if (selector.charCodeAt(selectorIndex) === 41 && !isEscaped(selectorIndex)) {
151944
+ counter--;
151945
+ }
151946
+ }
151947
+ if (counter) {
151948
+ throw new Error("Parenthesis not matched");
151949
+ }
151950
+ return unescapeCSS(selector.slice(start, selectorIndex - 1));
151787
151951
  }
151788
151952
  function isEscaped(pos) {
151789
151953
  var slashCount = 0;
151790
- while (selector.charAt(--pos) === "\\")
151954
+ while (selector.charCodeAt(--pos) === 92)
151791
151955
  slashCount++;
151792
151956
  return (slashCount & 1) === 1;
151793
151957
  }
@@ -151796,226 +151960,249 @@ var require_parse = __commonJS({
151796
151960
  throw new Error("Did not expect successive traversals.");
151797
151961
  }
151798
151962
  }
151963
+ function addTraversal(type2) {
151964
+ if (tokens.length > 0 && tokens[tokens.length - 1].type === types_1.SelectorType.Descendant) {
151965
+ tokens[tokens.length - 1].type = type2;
151966
+ return;
151967
+ }
151968
+ ensureNotTraversal();
151969
+ tokens.push({ type: type2 });
151970
+ }
151971
+ function addSpecialAttribute(name, action2) {
151972
+ tokens.push({
151973
+ type: types_1.SelectorType.Attribute,
151974
+ name,
151975
+ action: action2,
151976
+ value: getName(1),
151977
+ namespace: null,
151978
+ ignoreCase: "quirks"
151979
+ });
151980
+ }
151981
+ function finalizeSubselector() {
151982
+ if (tokens.length && tokens[tokens.length - 1].type === types_1.SelectorType.Descendant) {
151983
+ tokens.pop();
151984
+ }
151985
+ if (tokens.length === 0) {
151986
+ throw new Error("Empty sub-selector");
151987
+ }
151988
+ subselects.push(tokens);
151989
+ }
151799
151990
  stripWhitespace(0);
151800
- while (selector !== "") {
151801
- var firstChar = selector.charAt(selectorIndex);
151802
- if (isWhitespace2(firstChar)) {
151803
- sawWS = true;
151804
- stripWhitespace(1);
151805
- } else if (firstChar in Traversals) {
151806
- ensureNotTraversal();
151807
- tokens.push({ type: Traversals[firstChar] });
151808
- sawWS = false;
151809
- stripWhitespace(1);
151810
- } else if (firstChar === ",") {
151811
- if (tokens.length === 0) {
151812
- throw new Error("Empty sub-selector");
151813
- }
151814
- subselects.push(tokens);
151815
- tokens = [];
151816
- sawWS = false;
151817
- stripWhitespace(1);
151818
- } else if (selector.startsWith("/*", selectorIndex)) {
151819
- var endIndex = selector.indexOf("*/", selectorIndex + 2);
151820
- if (endIndex < 0) {
151821
- throw new Error("Comment was not terminated");
151822
- }
151823
- selectorIndex = endIndex + 2;
151824
- } else {
151825
- if (sawWS) {
151826
- ensureNotTraversal();
151827
- tokens.push({ type: "descendant" });
151828
- sawWS = false;
151829
- }
151830
- if (firstChar in attribSelectors) {
151831
- var _c = attribSelectors[firstChar], name_1 = _c[0], action = _c[1];
151832
- tokens.push({
151833
- type: "attribute",
151834
- name: name_1,
151835
- action,
151836
- value: getName(1),
151837
- namespace: null,
151838
- ignoreCase: options.xmlMode ? null : false
151839
- });
151840
- } else if (firstChar === "[") {
151841
- stripWhitespace(1);
151842
- var namespace = null;
151843
- if (selector.charAt(selectorIndex) === "|") {
151844
- namespace = "";
151845
- selectorIndex += 1;
151991
+ if (selector.length === selectorIndex) {
151992
+ return selectorIndex;
151993
+ }
151994
+ loop:
151995
+ while (selectorIndex < selector.length) {
151996
+ var firstChar = selector.charCodeAt(selectorIndex);
151997
+ switch (firstChar) {
151998
+ case 32:
151999
+ case 9:
152000
+ case 10:
152001
+ case 12:
152002
+ case 13: {
152003
+ if (tokens.length === 0 || tokens[0].type !== types_1.SelectorType.Descendant) {
152004
+ ensureNotTraversal();
152005
+ tokens.push({ type: types_1.SelectorType.Descendant });
152006
+ }
152007
+ stripWhitespace(1);
152008
+ break;
152009
+ }
152010
+ case 62: {
152011
+ addTraversal(types_1.SelectorType.Child);
152012
+ stripWhitespace(1);
152013
+ break;
151846
152014
  }
151847
- if (selector.startsWith("*|", selectorIndex)) {
151848
- namespace = "*";
151849
- selectorIndex += 2;
151850
- }
151851
- var name_2 = getName(0);
151852
- if (namespace === null && selector.charAt(selectorIndex) === "|" && selector.charAt(selectorIndex + 1) !== "=") {
151853
- namespace = name_2;
151854
- name_2 = getName(1);
151855
- }
151856
- if ((_a = options.lowerCaseAttributeNames) !== null && _a !== void 0 ? _a : !options.xmlMode) {
151857
- name_2 = name_2.toLowerCase();
151858
- }
151859
- stripWhitespace(0);
151860
- var action = "exists";
151861
- var possibleAction = actionTypes.get(selector.charAt(selectorIndex));
151862
- if (possibleAction) {
151863
- action = possibleAction;
151864
- if (selector.charAt(selectorIndex + 1) !== "=") {
151865
- throw new Error("Expected `=`");
151866
- }
151867
- stripWhitespace(2);
151868
- } else if (selector.charAt(selectorIndex) === "=") {
151869
- action = "equals";
152015
+ case 60: {
152016
+ addTraversal(types_1.SelectorType.Parent);
151870
152017
  stripWhitespace(1);
152018
+ break;
151871
152019
  }
151872
- var value = "";
151873
- var ignoreCase = null;
151874
- if (action !== "exists") {
151875
- if (quotes.has(selector.charAt(selectorIndex))) {
151876
- var quote = selector.charAt(selectorIndex);
151877
- var sectionEnd = selectorIndex + 1;
151878
- while (sectionEnd < selector.length && (selector.charAt(sectionEnd) !== quote || isEscaped(sectionEnd))) {
151879
- sectionEnd += 1;
151880
- }
151881
- if (selector.charAt(sectionEnd) !== quote) {
151882
- throw new Error("Attribute value didn't end");
151883
- }
151884
- value = unescapeCSS(selector.slice(selectorIndex + 1, sectionEnd));
151885
- selectorIndex = sectionEnd + 1;
152020
+ case 126: {
152021
+ addTraversal(types_1.SelectorType.Sibling);
152022
+ stripWhitespace(1);
152023
+ break;
152024
+ }
152025
+ case 43: {
152026
+ addTraversal(types_1.SelectorType.Adjacent);
152027
+ stripWhitespace(1);
152028
+ break;
152029
+ }
152030
+ case 46: {
152031
+ addSpecialAttribute("class", types_1.AttributeAction.Element);
152032
+ break;
152033
+ }
152034
+ case 35: {
152035
+ addSpecialAttribute("id", types_1.AttributeAction.Equals);
152036
+ break;
152037
+ }
152038
+ case 91: {
152039
+ stripWhitespace(1);
152040
+ var name_1 = void 0;
152041
+ var namespace = null;
152042
+ if (selector.charCodeAt(selectorIndex) === 124) {
152043
+ name_1 = getName(1);
152044
+ } else if (selector.startsWith("*|", selectorIndex)) {
152045
+ namespace = "*";
152046
+ name_1 = getName(2);
151886
152047
  } else {
151887
- var valueStart = selectorIndex;
151888
- while (selectorIndex < selector.length && (!isWhitespace2(selector.charAt(selectorIndex)) && selector.charAt(selectorIndex) !== "]" || isEscaped(selectorIndex))) {
151889
- selectorIndex += 1;
152048
+ name_1 = getName(0);
152049
+ if (selector.charCodeAt(selectorIndex) === 124 && selector.charCodeAt(selectorIndex + 1) !== 61) {
152050
+ namespace = name_1;
152051
+ name_1 = getName(1);
151890
152052
  }
151891
- value = unescapeCSS(selector.slice(valueStart, selectorIndex));
151892
152053
  }
151893
152054
  stripWhitespace(0);
151894
- var forceIgnore = selector.charAt(selectorIndex);
151895
- if (forceIgnore === "s" || forceIgnore === "S") {
151896
- ignoreCase = false;
151897
- stripWhitespace(1);
151898
- } else if (forceIgnore === "i" || forceIgnore === "I") {
151899
- ignoreCase = true;
152055
+ var action = types_1.AttributeAction.Exists;
152056
+ var possibleAction = actionTypes.get(selector.charCodeAt(selectorIndex));
152057
+ if (possibleAction) {
152058
+ action = possibleAction;
152059
+ if (selector.charCodeAt(selectorIndex + 1) !== 61) {
152060
+ throw new Error("Expected `=`");
152061
+ }
152062
+ stripWhitespace(2);
152063
+ } else if (selector.charCodeAt(selectorIndex) === 61) {
152064
+ action = types_1.AttributeAction.Equals;
151900
152065
  stripWhitespace(1);
151901
152066
  }
151902
- }
151903
- if (!options.xmlMode) {
151904
- ignoreCase !== null && ignoreCase !== void 0 ? ignoreCase : ignoreCase = caseInsensitiveAttributes.has(name_2);
151905
- }
151906
- if (selector.charAt(selectorIndex) !== "]") {
151907
- throw new Error("Attribute selector didn't terminate");
151908
- }
151909
- selectorIndex += 1;
151910
- var attributeSelector = {
151911
- type: "attribute",
151912
- name: name_2,
151913
- action,
151914
- value,
151915
- namespace,
151916
- ignoreCase
151917
- };
151918
- tokens.push(attributeSelector);
151919
- } else if (firstChar === ":") {
151920
- if (selector.charAt(selectorIndex + 1) === ":") {
151921
- tokens.push({
151922
- type: "pseudo-element",
151923
- name: getName(2).toLowerCase()
151924
- });
151925
- continue;
151926
- }
151927
- var name_3 = getName(1).toLowerCase();
151928
- var data = null;
151929
- if (selector.charAt(selectorIndex) === "(") {
151930
- if (unpackPseudos.has(name_3)) {
151931
- if (quotes.has(selector.charAt(selectorIndex + 1))) {
151932
- throw new Error("Pseudo-selector " + name_3 + " cannot be quoted");
151933
- }
151934
- data = [];
151935
- selectorIndex = parseSelector(data, selector, options, selectorIndex + 1);
151936
- if (selector.charAt(selectorIndex) !== ")") {
151937
- throw new Error("Missing closing parenthesis in :" + name_3 + " (" + selector + ")");
151938
- }
151939
- selectorIndex += 1;
151940
- } else {
151941
- selectorIndex += 1;
151942
- var start = selectorIndex;
151943
- var counter = 1;
151944
- for (; counter > 0 && selectorIndex < selector.length; selectorIndex++) {
151945
- if (selector.charAt(selectorIndex) === "(" && !isEscaped(selectorIndex)) {
151946
- counter++;
151947
- } else if (selector.charAt(selectorIndex) === ")" && !isEscaped(selectorIndex)) {
151948
- counter--;
152067
+ var value = "";
152068
+ var ignoreCase = null;
152069
+ if (action !== "exists") {
152070
+ if (isQuote(selector.charCodeAt(selectorIndex))) {
152071
+ var quote = selector.charCodeAt(selectorIndex);
152072
+ var sectionEnd = selectorIndex + 1;
152073
+ while (sectionEnd < selector.length && (selector.charCodeAt(sectionEnd) !== quote || isEscaped(sectionEnd))) {
152074
+ sectionEnd += 1;
152075
+ }
152076
+ if (selector.charCodeAt(sectionEnd) !== quote) {
152077
+ throw new Error("Attribute value didn't end");
152078
+ }
152079
+ value = unescapeCSS(selector.slice(selectorIndex + 1, sectionEnd));
152080
+ selectorIndex = sectionEnd + 1;
152081
+ } else {
152082
+ var valueStart = selectorIndex;
152083
+ while (selectorIndex < selector.length && (!isWhitespace2(selector.charCodeAt(selectorIndex)) && selector.charCodeAt(selectorIndex) !== 93 || isEscaped(selectorIndex))) {
152084
+ selectorIndex += 1;
151949
152085
  }
152086
+ value = unescapeCSS(selector.slice(valueStart, selectorIndex));
151950
152087
  }
151951
- if (counter) {
151952
- throw new Error("Parenthesis not matched");
152088
+ stripWhitespace(0);
152089
+ var forceIgnore = selector.charCodeAt(selectorIndex) | 32;
152090
+ if (forceIgnore === 115) {
152091
+ ignoreCase = false;
152092
+ stripWhitespace(1);
152093
+ } else if (forceIgnore === 105) {
152094
+ ignoreCase = true;
152095
+ stripWhitespace(1);
151953
152096
  }
151954
- data = selector.slice(start, selectorIndex - 1);
151955
- if (stripQuotesFromPseudos.has(name_3)) {
151956
- var quot = data.charAt(0);
151957
- if (quot === data.slice(-1) && quotes.has(quot)) {
151958
- data = data.slice(1, -1);
152097
+ }
152098
+ if (selector.charCodeAt(selectorIndex) !== 93) {
152099
+ throw new Error("Attribute selector didn't terminate");
152100
+ }
152101
+ selectorIndex += 1;
152102
+ var attributeSelector = {
152103
+ type: types_1.SelectorType.Attribute,
152104
+ name: name_1,
152105
+ action,
152106
+ value,
152107
+ namespace,
152108
+ ignoreCase
152109
+ };
152110
+ tokens.push(attributeSelector);
152111
+ break;
152112
+ }
152113
+ case 58: {
152114
+ if (selector.charCodeAt(selectorIndex + 1) === 58) {
152115
+ tokens.push({
152116
+ type: types_1.SelectorType.PseudoElement,
152117
+ name: getName(2).toLowerCase(),
152118
+ data: selector.charCodeAt(selectorIndex) === 40 ? readValueWithParenthesis() : null
152119
+ });
152120
+ continue;
152121
+ }
152122
+ var name_2 = getName(1).toLowerCase();
152123
+ var data = null;
152124
+ if (selector.charCodeAt(selectorIndex) === 40) {
152125
+ if (unpackPseudos.has(name_2)) {
152126
+ if (isQuote(selector.charCodeAt(selectorIndex + 1))) {
152127
+ throw new Error("Pseudo-selector ".concat(name_2, " cannot be quoted"));
152128
+ }
152129
+ data = [];
152130
+ selectorIndex = parseSelector(data, selector, selectorIndex + 1);
152131
+ if (selector.charCodeAt(selectorIndex) !== 41) {
152132
+ throw new Error("Missing closing parenthesis in :".concat(name_2, " (").concat(selector, ")"));
152133
+ }
152134
+ selectorIndex += 1;
152135
+ } else {
152136
+ data = readValueWithParenthesis();
152137
+ if (stripQuotesFromPseudos.has(name_2)) {
152138
+ var quot = data.charCodeAt(0);
152139
+ if (quot === data.charCodeAt(data.length - 1) && isQuote(quot)) {
152140
+ data = data.slice(1, -1);
152141
+ }
151959
152142
  }
151960
152143
  data = unescapeCSS(data);
151961
152144
  }
151962
152145
  }
152146
+ tokens.push({ type: types_1.SelectorType.Pseudo, name: name_2, data });
152147
+ break;
151963
152148
  }
151964
- tokens.push({ type: "pseudo", name: name_3, data });
151965
- } else {
151966
- var namespace = null;
151967
- var name_4 = void 0;
151968
- if (firstChar === "*") {
151969
- selectorIndex += 1;
151970
- name_4 = "*";
151971
- } else if (reName.test(selector.slice(selectorIndex))) {
151972
- if (selector.charAt(selectorIndex) === "|") {
151973
- namespace = "";
151974
- selectorIndex += 1;
151975
- }
151976
- name_4 = getName(0);
151977
- } else {
151978
- if (tokens.length && tokens[tokens.length - 1].type === "descendant") {
151979
- tokens.pop();
151980
- }
151981
- addToken(subselects, tokens);
151982
- return selectorIndex;
152149
+ case 44: {
152150
+ finalizeSubselector();
152151
+ tokens = [];
152152
+ stripWhitespace(1);
152153
+ break;
151983
152154
  }
151984
- if (selector.charAt(selectorIndex) === "|") {
151985
- namespace = name_4;
151986
- if (selector.charAt(selectorIndex + 1) === "*") {
151987
- name_4 = "*";
151988
- selectorIndex += 2;
152155
+ default: {
152156
+ if (selector.startsWith("/*", selectorIndex)) {
152157
+ var endIndex = selector.indexOf("*/", selectorIndex + 2);
152158
+ if (endIndex < 0) {
152159
+ throw new Error("Comment was not terminated");
152160
+ }
152161
+ selectorIndex = endIndex + 2;
152162
+ if (tokens.length === 0) {
152163
+ stripWhitespace(0);
152164
+ }
152165
+ break;
152166
+ }
152167
+ var namespace = null;
152168
+ var name_3 = void 0;
152169
+ if (firstChar === 42) {
152170
+ selectorIndex += 1;
152171
+ name_3 = "*";
152172
+ } else if (firstChar === 124) {
152173
+ name_3 = "";
152174
+ if (selector.charCodeAt(selectorIndex + 1) === 124) {
152175
+ addTraversal(types_1.SelectorType.ColumnCombinator);
152176
+ stripWhitespace(2);
152177
+ break;
152178
+ }
152179
+ } else if (reName.test(selector.slice(selectorIndex))) {
152180
+ name_3 = getName(0);
151989
152181
  } else {
151990
- name_4 = getName(1);
152182
+ break loop;
151991
152183
  }
151992
- }
151993
- if (name_4 === "*") {
151994
- tokens.push({ type: "universal", namespace });
151995
- } else {
151996
- if ((_b = options.lowerCaseTags) !== null && _b !== void 0 ? _b : !options.xmlMode) {
151997
- name_4 = name_4.toLowerCase();
152184
+ if (selector.charCodeAt(selectorIndex) === 124 && selector.charCodeAt(selectorIndex + 1) !== 124) {
152185
+ namespace = name_3;
152186
+ if (selector.charCodeAt(selectorIndex + 1) === 42) {
152187
+ name_3 = "*";
152188
+ selectorIndex += 2;
152189
+ } else {
152190
+ name_3 = getName(1);
152191
+ }
151998
152192
  }
151999
- tokens.push({ type: "tag", name: name_4, namespace });
152193
+ tokens.push(name_3 === "*" ? { type: types_1.SelectorType.Universal, namespace } : { type: types_1.SelectorType.Tag, name: name_3, namespace });
152000
152194
  }
152001
152195
  }
152002
152196
  }
152003
- }
152004
- addToken(subselects, tokens);
152197
+ finalizeSubselector();
152005
152198
  return selectorIndex;
152006
152199
  }
152007
- function addToken(subselects, tokens) {
152008
- if (subselects.length > 0 && tokens.length === 0) {
152009
- throw new Error("Empty sub-selector");
152010
- }
152011
- subselects.push(tokens);
152012
- }
152013
152200
  }
152014
152201
  });
152015
152202
 
152016
- // node_modules/.pnpm/css-what@5.1.0/node_modules/css-what/lib/stringify.js
152203
+ // node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/stringify.js
152017
152204
  var require_stringify2 = __commonJS({
152018
- "node_modules/.pnpm/css-what@5.1.0/node_modules/css-what/lib/stringify.js"(exports) {
152205
+ "node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/stringify.js"(exports) {
152019
152206
  "use strict";
152020
152207
  var __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {
152021
152208
  if (pack || arguments.length === 2)
@@ -152029,98 +152216,129 @@ var require_stringify2 = __commonJS({
152029
152216
  return to.concat(ar || Array.prototype.slice.call(from));
152030
152217
  };
152031
152218
  Object.defineProperty(exports, "__esModule", { value: true });
152032
- var actionTypes = {
152033
- equals: "",
152034
- element: "~",
152035
- start: "^",
152036
- end: "$",
152037
- any: "*",
152038
- not: "!",
152039
- hyphen: "|"
152040
- };
152041
- var charsToEscape = new Set(__spreadArray(__spreadArray([], Object.keys(actionTypes).map(function(typeKey) {
152042
- return actionTypes[typeKey];
152043
- }).filter(Boolean), true), [
152219
+ exports.stringify = void 0;
152220
+ var types_1 = require_types3();
152221
+ var attribValChars = ["\\", '"'];
152222
+ var pseudoValChars = __spreadArray(__spreadArray([], attribValChars, true), ["(", ")"], false);
152223
+ var charsToEscapeInAttributeValue = new Set(attribValChars.map(function(c) {
152224
+ return c.charCodeAt(0);
152225
+ }));
152226
+ var charsToEscapeInPseudoValue = new Set(pseudoValChars.map(function(c) {
152227
+ return c.charCodeAt(0);
152228
+ }));
152229
+ var charsToEscapeInName = new Set(__spreadArray(__spreadArray([], pseudoValChars, true), [
152230
+ "~",
152231
+ "^",
152232
+ "$",
152233
+ "*",
152234
+ "+",
152235
+ "!",
152236
+ "|",
152044
152237
  ":",
152045
152238
  "[",
152046
152239
  "]",
152047
152240
  " ",
152048
- "\\",
152049
- "(",
152050
- ")",
152051
- "'"
152052
- ], false));
152241
+ "."
152242
+ ], false).map(function(c) {
152243
+ return c.charCodeAt(0);
152244
+ }));
152053
152245
  function stringify(selector) {
152054
- return selector.map(stringifySubselector).join(", ");
152055
- }
152056
- exports.default = stringify;
152057
- function stringifySubselector(token) {
152058
- return token.map(stringifyToken).join("");
152246
+ return selector.map(function(token) {
152247
+ return token.map(stringifyToken).join("");
152248
+ }).join(", ");
152059
152249
  }
152060
- function stringifyToken(token) {
152250
+ exports.stringify = stringify;
152251
+ function stringifyToken(token, index, arr) {
152061
152252
  switch (token.type) {
152062
- case "child":
152063
- return " > ";
152064
- case "parent":
152065
- return " < ";
152066
- case "sibling":
152067
- return " ~ ";
152068
- case "adjacent":
152069
- return " + ";
152070
- case "descendant":
152253
+ case types_1.SelectorType.Child:
152254
+ return index === 0 ? "> " : " > ";
152255
+ case types_1.SelectorType.Parent:
152256
+ return index === 0 ? "< " : " < ";
152257
+ case types_1.SelectorType.Sibling:
152258
+ return index === 0 ? "~ " : " ~ ";
152259
+ case types_1.SelectorType.Adjacent:
152260
+ return index === 0 ? "+ " : " + ";
152261
+ case types_1.SelectorType.Descendant:
152071
152262
  return " ";
152072
- case "universal":
152073
- return getNamespace(token.namespace) + "*";
152074
- case "tag":
152263
+ case types_1.SelectorType.ColumnCombinator:
152264
+ return index === 0 ? "|| " : " || ";
152265
+ case types_1.SelectorType.Universal:
152266
+ return token.namespace === "*" && index + 1 < arr.length && "name" in arr[index + 1] ? "" : "".concat(getNamespace(token.namespace), "*");
152267
+ case types_1.SelectorType.Tag:
152075
152268
  return getNamespacedName(token);
152076
- case "pseudo-element":
152077
- return "::" + escapeName(token.name);
152078
- case "pseudo":
152079
- if (token.data === null)
152080
- return ":" + escapeName(token.name);
152081
- if (typeof token.data === "string") {
152082
- return ":" + escapeName(token.name) + "(" + escapeName(token.data) + ")";
152083
- }
152084
- return ":" + escapeName(token.name) + "(" + stringify(token.data) + ")";
152085
- case "attribute": {
152086
- if (token.name === "id" && token.action === "equals" && !token.ignoreCase && !token.namespace) {
152087
- return "#" + escapeName(token.value);
152088
- }
152089
- if (token.name === "class" && token.action === "element" && !token.ignoreCase && !token.namespace) {
152090
- return "." + escapeName(token.value);
152269
+ case types_1.SelectorType.PseudoElement:
152270
+ return "::".concat(escapeName(token.name, charsToEscapeInName)).concat(token.data === null ? "" : "(".concat(escapeName(token.data, charsToEscapeInPseudoValue), ")"));
152271
+ case types_1.SelectorType.Pseudo:
152272
+ return ":".concat(escapeName(token.name, charsToEscapeInName)).concat(token.data === null ? "" : "(".concat(typeof token.data === "string" ? escapeName(token.data, charsToEscapeInPseudoValue) : stringify(token.data), ")"));
152273
+ case types_1.SelectorType.Attribute: {
152274
+ if (token.name === "id" && token.action === types_1.AttributeAction.Equals && token.ignoreCase === "quirks" && !token.namespace) {
152275
+ return "#".concat(escapeName(token.value, charsToEscapeInName));
152276
+ }
152277
+ if (token.name === "class" && token.action === types_1.AttributeAction.Element && token.ignoreCase === "quirks" && !token.namespace) {
152278
+ return ".".concat(escapeName(token.value, charsToEscapeInName));
152091
152279
  }
152092
152280
  var name_1 = getNamespacedName(token);
152093
- if (token.action === "exists") {
152094
- return "[" + name_1 + "]";
152281
+ if (token.action === types_1.AttributeAction.Exists) {
152282
+ return "[".concat(name_1, "]");
152095
152283
  }
152096
- return "[" + name_1 + actionTypes[token.action] + "='" + escapeName(token.value) + "'" + (token.ignoreCase ? "i" : token.ignoreCase === false ? "s" : "") + "]";
152284
+ return "[".concat(name_1).concat(getActionValue(token.action), '="').concat(escapeName(token.value, charsToEscapeInAttributeValue), '"').concat(token.ignoreCase === null ? "" : token.ignoreCase ? " i" : " s", "]");
152097
152285
  }
152098
152286
  }
152099
152287
  }
152288
+ function getActionValue(action) {
152289
+ switch (action) {
152290
+ case types_1.AttributeAction.Equals:
152291
+ return "";
152292
+ case types_1.AttributeAction.Element:
152293
+ return "~";
152294
+ case types_1.AttributeAction.Start:
152295
+ return "^";
152296
+ case types_1.AttributeAction.End:
152297
+ return "$";
152298
+ case types_1.AttributeAction.Any:
152299
+ return "*";
152300
+ case types_1.AttributeAction.Not:
152301
+ return "!";
152302
+ case types_1.AttributeAction.Hyphen:
152303
+ return "|";
152304
+ case types_1.AttributeAction.Exists:
152305
+ throw new Error("Shouldn't be here");
152306
+ }
152307
+ }
152100
152308
  function getNamespacedName(token) {
152101
- return "" + getNamespace(token.namespace) + escapeName(token.name);
152309
+ return "".concat(getNamespace(token.namespace)).concat(escapeName(token.name, charsToEscapeInName));
152102
152310
  }
152103
152311
  function getNamespace(namespace) {
152104
- return namespace !== null ? (namespace === "*" ? "*" : escapeName(namespace)) + "|" : "";
152312
+ return namespace !== null ? "".concat(namespace === "*" ? "*" : escapeName(namespace, charsToEscapeInName), "|") : "";
152105
152313
  }
152106
- function escapeName(str2) {
152107
- return str2.split("").map(function(c) {
152108
- return charsToEscape.has(c) ? "\\" + c : c;
152109
- }).join("");
152314
+ function escapeName(str2, charsToEscape) {
152315
+ var lastIdx = 0;
152316
+ var ret = "";
152317
+ for (var i = 0; i < str2.length; i++) {
152318
+ if (charsToEscape.has(str2.charCodeAt(i))) {
152319
+ ret += "".concat(str2.slice(lastIdx, i), "\\").concat(str2.charAt(i));
152320
+ lastIdx = i + 1;
152321
+ }
152322
+ }
152323
+ return ret.length > 0 ? ret + str2.slice(lastIdx) : str2;
152110
152324
  }
152111
152325
  }
152112
152326
  });
152113
152327
 
152114
- // node_modules/.pnpm/css-what@5.1.0/node_modules/css-what/lib/index.js
152115
- var require_lib14 = __commonJS({
152116
- "node_modules/.pnpm/css-what@5.1.0/node_modules/css-what/lib/index.js"(exports) {
152328
+ // node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/index.js
152329
+ var require_commonjs = __commonJS({
152330
+ "node_modules/.pnpm/css-what@6.1.0/node_modules/css-what/lib/commonjs/index.js"(exports) {
152117
152331
  "use strict";
152118
152332
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
152119
152333
  if (k2 === void 0)
152120
152334
  k2 = k;
152121
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
152122
- return m[k];
152123
- } });
152335
+ var desc = Object.getOwnPropertyDescriptor(m, k);
152336
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
152337
+ desc = { enumerable: true, get: function() {
152338
+ return m[k];
152339
+ } };
152340
+ }
152341
+ Object.defineProperty(o, k2, desc);
152124
152342
  } : function(o, m, k, k2) {
152125
152343
  if (k2 === void 0)
152126
152344
  k2 = k;
@@ -152131,26 +152349,26 @@ var require_lib14 = __commonJS({
152131
152349
  if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports2, p))
152132
152350
  __createBinding(exports2, m, p);
152133
152351
  };
152134
- var __importDefault = exports && exports.__importDefault || function(mod) {
152135
- return mod && mod.__esModule ? mod : { "default": mod };
152136
- };
152137
152352
  Object.defineProperty(exports, "__esModule", { value: true });
152138
- exports.stringify = exports.parse = void 0;
152139
- __exportStar(require_parse(), exports);
152353
+ exports.stringify = exports.parse = exports.isTraversal = void 0;
152354
+ __exportStar(require_types3(), exports);
152140
152355
  var parse_1 = require_parse();
152356
+ Object.defineProperty(exports, "isTraversal", { enumerable: true, get: function() {
152357
+ return parse_1.isTraversal;
152358
+ } });
152141
152359
  Object.defineProperty(exports, "parse", { enumerable: true, get: function() {
152142
- return __importDefault(parse_1).default;
152360
+ return parse_1.parse;
152143
152361
  } });
152144
152362
  var stringify_1 = require_stringify2();
152145
152363
  Object.defineProperty(exports, "stringify", { enumerable: true, get: function() {
152146
- return __importDefault(stringify_1).default;
152364
+ return stringify_1.stringify;
152147
152365
  } });
152148
152366
  }
152149
152367
  });
152150
152368
 
152151
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/procedure.js
152369
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/procedure.js
152152
152370
  var require_procedure = __commonJS({
152153
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/procedure.js"(exports) {
152371
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/procedure.js"(exports) {
152154
152372
  "use strict";
152155
152373
  Object.defineProperty(exports, "__esModule", { value: true });
152156
152374
  exports.isTraversal = exports.procedure = void 0;
@@ -152160,6 +152378,7 @@ var require_procedure = __commonJS({
152160
152378
  attribute: 1,
152161
152379
  pseudo: 0,
152162
152380
  "pseudo-element": 0,
152381
+ "column-combinator": -1,
152163
152382
  descendant: -1,
152164
152383
  child: -1,
152165
152384
  parent: -1,
@@ -152174,11 +152393,12 @@ var require_procedure = __commonJS({
152174
152393
  }
152175
152394
  });
152176
152395
 
152177
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/sort.js
152396
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/sort.js
152178
152397
  var require_sort2 = __commonJS({
152179
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/sort.js"(exports) {
152398
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/sort.js"(exports) {
152180
152399
  "use strict";
152181
152400
  Object.defineProperty(exports, "__esModule", { value: true });
152401
+ var css_what_1 = require_commonjs();
152182
152402
  var procedure_1 = require_procedure();
152183
152403
  var attributes = {
152184
152404
  exists: 10,
@@ -152208,7 +152428,7 @@ var require_sort2 = __commonJS({
152208
152428
  exports.default = sortByProcedure;
152209
152429
  function getProcedure(token) {
152210
152430
  var proc = procedure_1.procedure[token.type];
152211
- if (token.type === "attribute") {
152431
+ if (token.type === css_what_1.SelectorType.Attribute) {
152212
152432
  proc = attributes[token.action];
152213
152433
  if (proc === attributes.equals && token.name === "id") {
152214
152434
  proc = 9;
@@ -152216,7 +152436,7 @@ var require_sort2 = __commonJS({
152216
152436
  if (token.ignoreCase) {
152217
152437
  proc >>= 1;
152218
152438
  }
152219
- } else if (token.type === "pseudo") {
152439
+ } else if (token.type === css_what_1.SelectorType.Pseudo) {
152220
152440
  if (!token.data) {
152221
152441
  proc = 3;
152222
152442
  } else if (token.name === "has" || token.name === "contains") {
@@ -152245,9 +152465,9 @@ var require_sort2 = __commonJS({
152245
152465
  }
152246
152466
  });
152247
152467
 
152248
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/attributes.js
152468
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/attributes.js
152249
152469
  var require_attributes = __commonJS({
152250
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/attributes.js"(exports) {
152470
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/attributes.js"(exports) {
152251
152471
  "use strict";
152252
152472
  Object.defineProperty(exports, "__esModule", { value: true });
152253
152473
  exports.attributeRules = void 0;
@@ -152256,12 +152476,63 @@ var require_attributes = __commonJS({
152256
152476
  function escapeRegex(value) {
152257
152477
  return value.replace(reChars, "\\$&");
152258
152478
  }
152479
+ var caseInsensitiveAttributes = /* @__PURE__ */ new Set([
152480
+ "accept",
152481
+ "accept-charset",
152482
+ "align",
152483
+ "alink",
152484
+ "axis",
152485
+ "bgcolor",
152486
+ "charset",
152487
+ "checked",
152488
+ "clear",
152489
+ "codetype",
152490
+ "color",
152491
+ "compact",
152492
+ "declare",
152493
+ "defer",
152494
+ "dir",
152495
+ "direction",
152496
+ "disabled",
152497
+ "enctype",
152498
+ "face",
152499
+ "frame",
152500
+ "hreflang",
152501
+ "http-equiv",
152502
+ "lang",
152503
+ "language",
152504
+ "link",
152505
+ "media",
152506
+ "method",
152507
+ "multiple",
152508
+ "nohref",
152509
+ "noresize",
152510
+ "noshade",
152511
+ "nowrap",
152512
+ "readonly",
152513
+ "rel",
152514
+ "rev",
152515
+ "rules",
152516
+ "scope",
152517
+ "scrolling",
152518
+ "selected",
152519
+ "shape",
152520
+ "target",
152521
+ "text",
152522
+ "type",
152523
+ "valign",
152524
+ "valuetype",
152525
+ "vlink"
152526
+ ]);
152527
+ function shouldIgnoreCase(selector, options) {
152528
+ return typeof selector.ignoreCase === "boolean" ? selector.ignoreCase : selector.ignoreCase === "quirks" ? !!options.quirksMode : !options.xmlMode && caseInsensitiveAttributes.has(selector.name);
152529
+ }
152259
152530
  exports.attributeRules = {
152260
- equals: function(next, data, _a) {
152261
- var adapter = _a.adapter;
152531
+ equals: function(next, data, options) {
152532
+ var adapter = options.adapter;
152262
152533
  var name = data.name;
152263
152534
  var value = data.value;
152264
- if (data.ignoreCase) {
152535
+ if (shouldIgnoreCase(data, options)) {
152265
152536
  value = value.toLowerCase();
152266
152537
  return function(elem) {
152267
152538
  var attr = adapter.getAttributeValue(elem, name);
@@ -152272,12 +152543,12 @@ var require_attributes = __commonJS({
152272
152543
  return adapter.getAttributeValue(elem, name) === value && next(elem);
152273
152544
  };
152274
152545
  },
152275
- hyphen: function(next, data, _a) {
152276
- var adapter = _a.adapter;
152546
+ hyphen: function(next, data, options) {
152547
+ var adapter = options.adapter;
152277
152548
  var name = data.name;
152278
152549
  var value = data.value;
152279
152550
  var len = value.length;
152280
- if (data.ignoreCase) {
152551
+ if (shouldIgnoreCase(data, options)) {
152281
152552
  value = value.toLowerCase();
152282
152553
  return function hyphenIC(elem) {
152283
152554
  var attr = adapter.getAttributeValue(elem, name);
@@ -152289,13 +152560,13 @@ var require_attributes = __commonJS({
152289
152560
  return attr != null && (attr.length === len || attr.charAt(len) === "-") && attr.substr(0, len) === value && next(elem);
152290
152561
  };
152291
152562
  },
152292
- element: function(next, _a, _b) {
152293
- var name = _a.name, value = _a.value, ignoreCase = _a.ignoreCase;
152294
- var adapter = _b.adapter;
152563
+ element: function(next, data, options) {
152564
+ var adapter = options.adapter;
152565
+ var name = data.name, value = data.value;
152295
152566
  if (/\s/.test(value)) {
152296
152567
  return boolbase_1.falseFunc;
152297
152568
  }
152298
- var regex = new RegExp("(?:^|\\s)".concat(escapeRegex(value), "(?:$|\\s)"), ignoreCase ? "i" : "");
152569
+ var regex = new RegExp("(?:^|\\s)".concat(escapeRegex(value), "(?:$|\\s)"), shouldIgnoreCase(data, options) ? "i" : "");
152299
152570
  return function element(elem) {
152300
152571
  var attr = adapter.getAttributeValue(elem, name);
152301
152572
  return attr != null && attr.length >= value.length && regex.test(attr) && next(elem);
@@ -152308,15 +152579,15 @@ var require_attributes = __commonJS({
152308
152579
  return adapter.hasAttrib(elem, name) && next(elem);
152309
152580
  };
152310
152581
  },
152311
- start: function(next, data, _a) {
152312
- var adapter = _a.adapter;
152582
+ start: function(next, data, options) {
152583
+ var adapter = options.adapter;
152313
152584
  var name = data.name;
152314
152585
  var value = data.value;
152315
152586
  var len = value.length;
152316
152587
  if (len === 0) {
152317
152588
  return boolbase_1.falseFunc;
152318
152589
  }
152319
- if (data.ignoreCase) {
152590
+ if (shouldIgnoreCase(data, options)) {
152320
152591
  value = value.toLowerCase();
152321
152592
  return function(elem) {
152322
152593
  var attr = adapter.getAttributeValue(elem, name);
@@ -152324,37 +152595,37 @@ var require_attributes = __commonJS({
152324
152595
  };
152325
152596
  }
152326
152597
  return function(elem) {
152327
- var _a2;
152328
- return !!((_a2 = adapter.getAttributeValue(elem, name)) === null || _a2 === void 0 ? void 0 : _a2.startsWith(value)) && next(elem);
152598
+ var _a;
152599
+ return !!((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.startsWith(value)) && next(elem);
152329
152600
  };
152330
152601
  },
152331
- end: function(next, data, _a) {
152332
- var adapter = _a.adapter;
152602
+ end: function(next, data, options) {
152603
+ var adapter = options.adapter;
152333
152604
  var name = data.name;
152334
152605
  var value = data.value;
152335
152606
  var len = -value.length;
152336
152607
  if (len === 0) {
152337
152608
  return boolbase_1.falseFunc;
152338
152609
  }
152339
- if (data.ignoreCase) {
152610
+ if (shouldIgnoreCase(data, options)) {
152340
152611
  value = value.toLowerCase();
152341
152612
  return function(elem) {
152342
- var _a2;
152343
- return ((_a2 = adapter.getAttributeValue(elem, name)) === null || _a2 === void 0 ? void 0 : _a2.substr(len).toLowerCase()) === value && next(elem);
152613
+ var _a;
152614
+ return ((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.substr(len).toLowerCase()) === value && next(elem);
152344
152615
  };
152345
152616
  }
152346
152617
  return function(elem) {
152347
- var _a2;
152348
- return !!((_a2 = adapter.getAttributeValue(elem, name)) === null || _a2 === void 0 ? void 0 : _a2.endsWith(value)) && next(elem);
152618
+ var _a;
152619
+ return !!((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.endsWith(value)) && next(elem);
152349
152620
  };
152350
152621
  },
152351
- any: function(next, data, _a) {
152352
- var adapter = _a.adapter;
152622
+ any: function(next, data, options) {
152623
+ var adapter = options.adapter;
152353
152624
  var name = data.name, value = data.value;
152354
152625
  if (value === "") {
152355
152626
  return boolbase_1.falseFunc;
152356
152627
  }
152357
- if (data.ignoreCase) {
152628
+ if (shouldIgnoreCase(data, options)) {
152358
152629
  var regex_1 = new RegExp(escapeRegex(value), "i");
152359
152630
  return function anyIC(elem) {
152360
152631
  var attr = adapter.getAttributeValue(elem, name);
@@ -152362,19 +152633,19 @@ var require_attributes = __commonJS({
152362
152633
  };
152363
152634
  }
152364
152635
  return function(elem) {
152365
- var _a2;
152366
- return !!((_a2 = adapter.getAttributeValue(elem, name)) === null || _a2 === void 0 ? void 0 : _a2.includes(value)) && next(elem);
152636
+ var _a;
152637
+ return !!((_a = adapter.getAttributeValue(elem, name)) === null || _a === void 0 ? void 0 : _a.includes(value)) && next(elem);
152367
152638
  };
152368
152639
  },
152369
- not: function(next, data, _a) {
152370
- var adapter = _a.adapter;
152640
+ not: function(next, data, options) {
152641
+ var adapter = options.adapter;
152371
152642
  var name = data.name;
152372
152643
  var value = data.value;
152373
152644
  if (value === "") {
152374
152645
  return function(elem) {
152375
152646
  return !!adapter.getAttributeValue(elem, name) && next(elem);
152376
152647
  };
152377
- } else if (data.ignoreCase) {
152648
+ } else if (shouldIgnoreCase(data, options)) {
152378
152649
  value = value.toLowerCase();
152379
152650
  return function(elem) {
152380
152651
  var attr = adapter.getAttributeValue(elem, name);
@@ -152389,9 +152660,9 @@ var require_attributes = __commonJS({
152389
152660
  }
152390
152661
  });
152391
152662
 
152392
- // node_modules/.pnpm/nth-check@2.0.1/node_modules/nth-check/lib/parse.js
152663
+ // node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/parse.js
152393
152664
  var require_parse2 = __commonJS({
152394
- "node_modules/.pnpm/nth-check@2.0.1/node_modules/nth-check/lib/parse.js"(exports) {
152665
+ "node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/parse.js"(exports) {
152395
152666
  "use strict";
152396
152667
  Object.defineProperty(exports, "__esModule", { value: true });
152397
152668
  exports.parse = void 0;
@@ -152422,7 +152693,7 @@ var require_parse2 = __commonJS({
152422
152693
  }
152423
152694
  }
152424
152695
  if (number === null || idx2 < formula.length) {
152425
- throw new Error("n-th rule couldn't be parsed ('" + formula + "')");
152696
+ throw new Error("n-th rule couldn't be parsed ('".concat(formula, "')"));
152426
152697
  }
152427
152698
  return [a, sign * number];
152428
152699
  function readSign() {
@@ -152454,18 +152725,21 @@ var require_parse2 = __commonJS({
152454
152725
  }
152455
152726
  });
152456
152727
 
152457
- // node_modules/.pnpm/nth-check@2.0.1/node_modules/nth-check/lib/compile.js
152728
+ // node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/compile.js
152458
152729
  var require_compile = __commonJS({
152459
- "node_modules/.pnpm/nth-check@2.0.1/node_modules/nth-check/lib/compile.js"(exports) {
152730
+ "node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/compile.js"(exports) {
152460
152731
  "use strict";
152732
+ var __importDefault = exports && exports.__importDefault || function(mod) {
152733
+ return mod && mod.__esModule ? mod : { "default": mod };
152734
+ };
152461
152735
  Object.defineProperty(exports, "__esModule", { value: true });
152462
- exports.compile = void 0;
152463
- var boolbase_1 = require_boolbase();
152736
+ exports.generate = exports.compile = void 0;
152737
+ var boolbase_1 = __importDefault(require_boolbase());
152464
152738
  function compile(parsed) {
152465
152739
  var a = parsed[0];
152466
152740
  var b = parsed[1] - 1;
152467
152741
  if (b < 0 && a <= 0)
152468
- return boolbase_1.falseFunc;
152742
+ return boolbase_1.default.falseFunc;
152469
152743
  if (a === -1)
152470
152744
  return function(index) {
152471
152745
  return index <= b;
@@ -152475,7 +152749,7 @@ var require_compile = __commonJS({
152475
152749
  return index === b;
152476
152750
  };
152477
152751
  if (a === 1)
152478
- return b < 0 ? boolbase_1.trueFunc : function(index) {
152752
+ return b < 0 ? boolbase_1.default.trueFunc : function(index) {
152479
152753
  return index >= b;
152480
152754
  };
152481
152755
  var absA = Math.abs(a);
@@ -152487,40 +152761,73 @@ var require_compile = __commonJS({
152487
152761
  };
152488
152762
  }
152489
152763
  exports.compile = compile;
152764
+ function generate(parsed) {
152765
+ var a = parsed[0];
152766
+ var b = parsed[1] - 1;
152767
+ var n = 0;
152768
+ if (a < 0) {
152769
+ var aPos_1 = -a;
152770
+ var minValue_1 = (b % aPos_1 + aPos_1) % aPos_1;
152771
+ return function() {
152772
+ var val = minValue_1 + aPos_1 * n++;
152773
+ return val > b ? null : val;
152774
+ };
152775
+ }
152776
+ if (a === 0)
152777
+ return b < 0 ? function() {
152778
+ return null;
152779
+ } : function() {
152780
+ return n++ === 0 ? b : null;
152781
+ };
152782
+ if (b < 0) {
152783
+ b += a * Math.ceil(-b / a);
152784
+ }
152785
+ return function() {
152786
+ return a * n++ + b;
152787
+ };
152788
+ }
152789
+ exports.generate = generate;
152490
152790
  }
152491
152791
  });
152492
152792
 
152493
- // node_modules/.pnpm/nth-check@2.0.1/node_modules/nth-check/lib/index.js
152494
- var require_lib15 = __commonJS({
152495
- "node_modules/.pnpm/nth-check@2.0.1/node_modules/nth-check/lib/index.js"(exports) {
152793
+ // node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/index.js
152794
+ var require_lib14 = __commonJS({
152795
+ "node_modules/.pnpm/nth-check@2.1.1/node_modules/nth-check/lib/index.js"(exports) {
152496
152796
  "use strict";
152497
152797
  Object.defineProperty(exports, "__esModule", { value: true });
152498
- exports.compile = exports.parse = void 0;
152499
- var parse_1 = require_parse2();
152798
+ exports.sequence = exports.generate = exports.compile = exports.parse = void 0;
152799
+ var parse_js_1 = require_parse2();
152500
152800
  Object.defineProperty(exports, "parse", { enumerable: true, get: function() {
152501
- return parse_1.parse;
152801
+ return parse_js_1.parse;
152502
152802
  } });
152503
- var compile_1 = require_compile();
152803
+ var compile_js_1 = require_compile();
152504
152804
  Object.defineProperty(exports, "compile", { enumerable: true, get: function() {
152505
- return compile_1.compile;
152805
+ return compile_js_1.compile;
152806
+ } });
152807
+ Object.defineProperty(exports, "generate", { enumerable: true, get: function() {
152808
+ return compile_js_1.generate;
152506
152809
  } });
152507
152810
  function nthCheck(formula) {
152508
- return (0, compile_1.compile)((0, parse_1.parse)(formula));
152811
+ return (0, compile_js_1.compile)((0, parse_js_1.parse)(formula));
152509
152812
  }
152510
152813
  exports.default = nthCheck;
152814
+ function sequence(formula) {
152815
+ return (0, compile_js_1.generate)((0, parse_js_1.parse)(formula));
152816
+ }
152817
+ exports.sequence = sequence;
152511
152818
  }
152512
152819
  });
152513
152820
 
152514
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/filters.js
152821
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/filters.js
152515
152822
  var require_filters = __commonJS({
152516
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/filters.js"(exports) {
152823
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/filters.js"(exports) {
152517
152824
  "use strict";
152518
152825
  var __importDefault = exports && exports.__importDefault || function(mod) {
152519
152826
  return mod && mod.__esModule ? mod : { "default": mod };
152520
152827
  };
152521
152828
  Object.defineProperty(exports, "__esModule", { value: true });
152522
152829
  exports.filters = void 0;
152523
- var nth_check_1 = __importDefault(require_lib15());
152830
+ var nth_check_1 = __importDefault(require_lib14());
152524
152831
  var boolbase_1 = require_boolbase();
152525
152832
  function getChildFunc(next, adapter) {
152526
152833
  return function(elem) {
@@ -152664,9 +152971,9 @@ var require_filters = __commonJS({
152664
152971
  }
152665
152972
  });
152666
152973
 
152667
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/pseudos.js
152974
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/pseudos.js
152668
152975
  var require_pseudos = __commonJS({
152669
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/pseudos.js"(exports) {
152976
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/pseudos.js"(exports) {
152670
152977
  "use strict";
152671
152978
  Object.defineProperty(exports, "__esModule", { value: true });
152672
152979
  exports.verifyPseudoArgs = exports.pseudos = void 0;
@@ -152750,9 +153057,9 @@ var require_pseudos = __commonJS({
152750
153057
  }
152751
153058
  });
152752
153059
 
152753
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/aliases.js
153060
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/aliases.js
152754
153061
  var require_aliases = __commonJS({
152755
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/aliases.js"(exports) {
153062
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/aliases.js"(exports) {
152756
153063
  "use strict";
152757
153064
  Object.defineProperty(exports, "__esModule", { value: true });
152758
153065
  exports.aliases = void 0;
@@ -152781,9 +153088,9 @@ var require_aliases = __commonJS({
152781
153088
  }
152782
153089
  });
152783
153090
 
152784
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/subselects.js
153091
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/subselects.js
152785
153092
  var require_subselects = __commonJS({
152786
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/subselects.js"(exports) {
153093
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/subselects.js"(exports) {
152787
153094
  "use strict";
152788
153095
  var __spreadArray = exports && exports.__spreadArray || function(to, from, pack) {
152789
153096
  if (pack || arguments.length === 2)
@@ -152885,14 +153192,14 @@ var require_subselects = __commonJS({
152885
153192
  }
152886
153193
  });
152887
153194
 
152888
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/index.js
153195
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/index.js
152889
153196
  var require_pseudo_selectors = __commonJS({
152890
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/pseudo-selectors/index.js"(exports) {
153197
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/pseudo-selectors/index.js"(exports) {
152891
153198
  "use strict";
152892
153199
  Object.defineProperty(exports, "__esModule", { value: true });
152893
153200
  exports.compilePseudoSelector = exports.aliases = exports.pseudos = exports.filters = void 0;
152894
153201
  var boolbase_1 = require_boolbase();
152895
- var css_what_1 = require_lib14();
153202
+ var css_what_1 = require_commonjs();
152896
153203
  var filters_1 = require_filters();
152897
153204
  Object.defineProperty(exports, "filters", { enumerable: true, get: function() {
152898
153205
  return filters_1.filters;
@@ -152915,7 +153222,7 @@ var require_pseudo_selectors = __commonJS({
152915
153222
  if (data != null) {
152916
153223
  throw new Error("Pseudo ".concat(name, " doesn't have any arguments"));
152917
153224
  }
152918
- var alias = (0, css_what_1.parse)(aliases_1.aliases[name], options);
153225
+ var alias = (0, css_what_1.parse)(aliases_1.aliases[name]);
152919
153226
  return subselects_1.subselects.is(next, alias, options, context, compileToken);
152920
153227
  }
152921
153228
  if (name in filters_1.filters) {
@@ -152936,28 +153243,49 @@ var require_pseudo_selectors = __commonJS({
152936
153243
  }
152937
153244
  });
152938
153245
 
152939
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/general.js
153246
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/general.js
152940
153247
  var require_general = __commonJS({
152941
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/general.js"(exports) {
153248
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/general.js"(exports) {
152942
153249
  "use strict";
152943
153250
  Object.defineProperty(exports, "__esModule", { value: true });
152944
153251
  exports.compileGeneralSelector = void 0;
152945
153252
  var attributes_1 = require_attributes();
152946
153253
  var pseudo_selectors_1 = require_pseudo_selectors();
153254
+ var css_what_1 = require_commonjs();
152947
153255
  function compileGeneralSelector(next, selector, options, context, compileToken) {
152948
153256
  var adapter = options.adapter, equals = options.equals;
152949
153257
  switch (selector.type) {
152950
- case "pseudo-element":
153258
+ case css_what_1.SelectorType.PseudoElement: {
152951
153259
  throw new Error("Pseudo-elements are not supported by css-select");
152952
- case "attribute":
153260
+ }
153261
+ case css_what_1.SelectorType.ColumnCombinator: {
153262
+ throw new Error("Column combinators are not yet supported by css-select");
153263
+ }
153264
+ case css_what_1.SelectorType.Attribute: {
153265
+ if (selector.namespace != null) {
153266
+ throw new Error("Namespaced attributes are not yet supported by css-select");
153267
+ }
153268
+ if (!options.xmlMode || options.lowerCaseAttributeNames) {
153269
+ selector.name = selector.name.toLowerCase();
153270
+ }
152953
153271
  return attributes_1.attributeRules[selector.action](next, selector, options);
152954
- case "pseudo":
153272
+ }
153273
+ case css_what_1.SelectorType.Pseudo: {
152955
153274
  return (0, pseudo_selectors_1.compilePseudoSelector)(next, selector, options, context, compileToken);
152956
- case "tag":
153275
+ }
153276
+ case css_what_1.SelectorType.Tag: {
153277
+ if (selector.namespace != null) {
153278
+ throw new Error("Namespaced tag names are not yet supported by css-select");
153279
+ }
153280
+ var name_1 = selector.name;
153281
+ if (!options.xmlMode || options.lowerCaseTags) {
153282
+ name_1 = name_1.toLowerCase();
153283
+ }
152957
153284
  return function tag(elem) {
152958
- return adapter.getName(elem) === selector.name && next(elem);
153285
+ return adapter.getName(elem) === name_1 && next(elem);
152959
153286
  };
152960
- case "descendant":
153287
+ }
153288
+ case css_what_1.SelectorType.Descendant: {
152961
153289
  if (options.cacheResults === false || typeof WeakSet === "undefined") {
152962
153290
  return function descendant(elem) {
152963
153291
  var current = elem;
@@ -152982,7 +153310,8 @@ var require_general = __commonJS({
152982
153310
  }
152983
153311
  return false;
152984
153312
  };
152985
- case "_flexibleDescendant":
153313
+ }
153314
+ case "_flexibleDescendant": {
152986
153315
  return function flexibleDescendant(elem) {
152987
153316
  var current = elem;
152988
153317
  do {
@@ -152991,18 +153320,21 @@ var require_general = __commonJS({
152991
153320
  } while (current = adapter.getParent(current));
152992
153321
  return false;
152993
153322
  };
152994
- case "parent":
153323
+ }
153324
+ case css_what_1.SelectorType.Parent: {
152995
153325
  return function parent(elem) {
152996
153326
  return adapter.getChildren(elem).some(function(elem2) {
152997
153327
  return adapter.isTag(elem2) && next(elem2);
152998
153328
  });
152999
153329
  };
153000
- case "child":
153330
+ }
153331
+ case css_what_1.SelectorType.Child: {
153001
153332
  return function child(elem) {
153002
153333
  var parent = adapter.getParent(elem);
153003
153334
  return parent != null && adapter.isTag(parent) && next(parent);
153004
153335
  };
153005
- case "sibling":
153336
+ }
153337
+ case css_what_1.SelectorType.Sibling: {
153006
153338
  return function sibling(elem) {
153007
153339
  var siblings = adapter.getSiblings(elem);
153008
153340
  for (var i = 0; i < siblings.length; i++) {
@@ -153015,7 +153347,14 @@ var require_general = __commonJS({
153015
153347
  }
153016
153348
  return false;
153017
153349
  };
153018
- case "adjacent":
153350
+ }
153351
+ case css_what_1.SelectorType.Adjacent: {
153352
+ if (adapter.prevElementSibling) {
153353
+ return function adjacent(elem) {
153354
+ var previous = adapter.prevElementSibling(elem);
153355
+ return previous != null && next(previous);
153356
+ };
153357
+ }
153019
153358
  return function adjacent(elem) {
153020
153359
  var siblings = adapter.getSiblings(elem);
153021
153360
  var lastElement;
@@ -153029,24 +153368,29 @@ var require_general = __commonJS({
153029
153368
  }
153030
153369
  return !!lastElement && next(lastElement);
153031
153370
  };
153032
- case "universal":
153371
+ }
153372
+ case css_what_1.SelectorType.Universal: {
153373
+ if (selector.namespace != null && selector.namespace !== "*") {
153374
+ throw new Error("Namespaced universal selectors are not yet supported by css-select");
153375
+ }
153033
153376
  return next;
153377
+ }
153034
153378
  }
153035
153379
  }
153036
153380
  exports.compileGeneralSelector = compileGeneralSelector;
153037
153381
  }
153038
153382
  });
153039
153383
 
153040
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/compile.js
153384
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/compile.js
153041
153385
  var require_compile2 = __commonJS({
153042
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/compile.js"(exports) {
153386
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/compile.js"(exports) {
153043
153387
  "use strict";
153044
153388
  var __importDefault = exports && exports.__importDefault || function(mod) {
153045
153389
  return mod && mod.__esModule ? mod : { "default": mod };
153046
153390
  };
153047
153391
  Object.defineProperty(exports, "__esModule", { value: true });
153048
153392
  exports.compileToken = exports.compileUnsafe = exports.compile = void 0;
153049
- var css_what_1 = require_lib14();
153393
+ var css_what_1 = require_commonjs();
153050
153394
  var boolbase_1 = require_boolbase();
153051
153395
  var sort_1 = __importDefault(require_sort2());
153052
153396
  var procedure_1 = require_procedure();
@@ -153058,7 +153402,7 @@ var require_compile2 = __commonJS({
153058
153402
  }
153059
153403
  exports.compile = compile;
153060
153404
  function compileUnsafe(selector, options, context) {
153061
- var token = typeof selector === "string" ? (0, css_what_1.parse)(selector, options) : selector;
153405
+ var token = typeof selector === "string" ? (0, css_what_1.parse)(selector) : selector;
153062
153406
  return compileToken(token, options, context);
153063
153407
  }
153064
153408
  exports.compileUnsafe = compileUnsafe;
@@ -153067,11 +153411,15 @@ var require_compile2 = __commonJS({
153067
153411
  return data.some(includesScopePseudo);
153068
153412
  }));
153069
153413
  }
153070
- var DESCENDANT_TOKEN = { type: "descendant" };
153414
+ var DESCENDANT_TOKEN = { type: css_what_1.SelectorType.Descendant };
153071
153415
  var FLEXIBLE_DESCENDANT_TOKEN = {
153072
153416
  type: "_flexibleDescendant"
153073
153417
  };
153074
- var SCOPE_TOKEN = { type: "pseudo", name: "scope", data: null };
153418
+ var SCOPE_TOKEN = {
153419
+ type: css_what_1.SelectorType.Pseudo,
153420
+ name: "scope",
153421
+ data: null
153422
+ };
153075
153423
  function absolutize(token, _a, context) {
153076
153424
  var adapter = _a.adapter;
153077
153425
  var hasContext = !!(context === null || context === void 0 ? void 0 : context.every(function(e) {
@@ -153136,16 +153484,20 @@ var require_compile2 = __commonJS({
153136
153484
  }
153137
153485
  });
153138
153486
 
153139
- // node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/index.js
153140
- var require_lib16 = __commonJS({
153141
- "node_modules/.pnpm/css-select@4.2.1/node_modules/css-select/lib/index.js"(exports) {
153487
+ // node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/index.js
153488
+ var require_lib15 = __commonJS({
153489
+ "node_modules/.pnpm/css-select@4.3.0/node_modules/css-select/lib/index.js"(exports) {
153142
153490
  "use strict";
153143
153491
  var __createBinding = exports && exports.__createBinding || (Object.create ? function(o, m, k, k2) {
153144
153492
  if (k2 === void 0)
153145
153493
  k2 = k;
153146
- Object.defineProperty(o, k2, { enumerable: true, get: function() {
153147
- return m[k];
153148
- } });
153494
+ var desc = Object.getOwnPropertyDescriptor(m, k);
153495
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
153496
+ desc = { enumerable: true, get: function() {
153497
+ return m[k];
153498
+ } };
153499
+ }
153500
+ Object.defineProperty(o, k2, desc);
153149
153501
  } : function(o, m, k, k2) {
153150
153502
  if (k2 === void 0)
153151
153503
  k2 = k;
@@ -153279,7 +153631,7 @@ var require_Selector = __commonJS({
153279
153631
  }
153280
153632
  var CSSSelect;
153281
153633
  var Selector;
153282
- CSSSelect = require_lib16();
153634
+ CSSSelect = require_lib15();
153283
153635
  module2.exports = Selector = function() {
153284
153636
  var self2;
153285
153637
  var Selector2 = /* @__PURE__ */ function() {
@@ -158271,13 +158623,14 @@ var import_xstate = __toESM(require_lib());
158271
158623
  var createResolveTablesMachine = (props) => (0, import_xstate.createMachine)({
158272
158624
  id: "resolveTables",
158273
158625
  initial: "idle",
158274
- context: __spreadProps(__spreadValues({}, props), {
158626
+ context: {
158627
+ ...props,
158275
158628
  missingItemIndex: 0,
158276
158629
  newItemIndex: 0,
158277
158630
  createdTables: [],
158278
158631
  renamedTables: [],
158279
158632
  deletedTables: []
158280
- }),
158633
+ },
158281
158634
  states: {
158282
158635
  idle: {
158283
158636
  entry: (0, import_xstate.send)({ type: "NEXT" }),
@@ -161825,7 +162178,7 @@ function diffForRenamedTables(pairs2) {
161825
162178
  const renamed2 = pairs2.map((it) => {
161826
162179
  const from = it.from;
161827
162180
  const to = it.to;
161828
- const newFrom = __spreadProps(__spreadValues({}, from), { name: to.name });
162181
+ const newFrom = { ...from, name: to.name };
161829
162182
  return [newFrom, to];
161830
162183
  });
161831
162184
  const altered = renamed2.map((pair) => {
@@ -161840,7 +162193,7 @@ function diffForRenamedTable(t1, t2) {
161840
162193
  return findAlternationsInTable(diffed);
161841
162194
  }
161842
162195
  function diffForRenamedColumn(t1, t2) {
161843
- const renamed2 = __spreadProps(__spreadValues({}, t1), { name: t2.name });
162196
+ const renamed2 = { ...t1, name: t2.name };
161844
162197
  const diffed = (0, import_json_diff.diff)(renamed2, t2) || {};
161845
162198
  diffed.name = t2.name;
161846
162199
  return alternationsInColumn(diffed);
@@ -161893,14 +162246,15 @@ function applyJsonDiff(json1, json2) {
161893
162246
  renameNestedObjects(difference, "default", "defaultValue");
161894
162247
  const tableEntries = Object.entries(difference.tables);
161895
162248
  const addedTables = tableEntries.filter((it) => it[0].includes("__added")).map((it) => it[1]).map((it) => {
161896
- return __spreadProps(__spreadValues({}, it), {
162249
+ return {
162250
+ ...it,
161897
162251
  indexes: Object.entries(it.indexes).map((indexEntry) => {
161898
162252
  const idx2 = indexEntry[1];
161899
162253
  const name = idx2["name"];
161900
162254
  const columns = Object.values(idx2["columns"]).map((it2) => it2["name"]);
161901
162255
  return { name, columns, isUnique: idx2["isUnique"] };
161902
162256
  })
161903
- });
162257
+ };
161904
162258
  });
161905
162259
  const deletedTables = tableEntries.filter((it) => it[0].includes("__deleted")).map((it) => it[1]);
161906
162260
  const enumsEntries = Object.entries(difference.enums);
@@ -161919,7 +162273,7 @@ function applyJsonDiff(json1, json2) {
161919
162273
  return { name: it[0], addedValues, deletedValues };
161920
162274
  });
161921
162275
  const alteredTables = Object.keys(difference.tables).filter((it) => !(it.includes("__added") || it.includes("__deleted"))).map((it) => {
161922
- return __spreadValues({ name: it }, difference.tables[it]);
162276
+ return { name: it, ...difference.tables[it] };
161923
162277
  });
161924
162278
  const alteredTablesWithColumns = alteredTables.map((table) => findAlternationsInTable(table));
161925
162279
  return {
@@ -161935,13 +162289,13 @@ var findAlternationsInTable = (table) => {
161935
162289
  var _a;
161936
162290
  const columns = (_a = table.columns) != null ? _a : {};
161937
162291
  const added = Object.keys(columns).filter((it) => it.includes("__added")).map((it) => {
161938
- return __spreadValues({}, columns[it]);
162292
+ return { ...columns[it] };
161939
162293
  });
161940
162294
  const deleted = Object.keys(columns).filter((it) => it.includes("__deleted")).map((it) => {
161941
- return __spreadValues({}, columns[it]);
162295
+ return { ...columns[it] };
161942
162296
  });
161943
162297
  const altered = Object.keys(columns).filter((it) => !(it.includes("__deleted") || it.includes("__added"))).map((it) => {
161944
- return __spreadValues({ name: it }, columns[it]);
162298
+ return { name: it, ...columns[it] };
161945
162299
  });
161946
162300
  const deletedIndexes = Object.values(table.indexes__deleted || {}).map((it) => {
161947
162301
  const name = it["name"];
@@ -161970,51 +162324,51 @@ var alternationsInColumn = (column) => {
161970
162324
  const altered = [column];
161971
162325
  const result2 = altered.map((it) => {
161972
162326
  if (typeof it.name !== "string" && "__old" in it.name) {
161973
- return __spreadProps(__spreadValues({}, it), { name: { type: "changed", old: it.name.__old, new: it.name.__new } });
162327
+ return { ...it, name: { type: "changed", old: it.name.__old, new: it.name.__new } };
161974
162328
  }
161975
162329
  return it;
161976
162330
  }).map((it) => {
161977
162331
  if ("type" in it) {
161978
- return __spreadProps(__spreadValues({}, it), { type: { type: "changed", old: it.type.__old, new: it.type.__new } });
162332
+ return { ...it, type: { type: "changed", old: it.type.__old, new: it.type.__new } };
161979
162333
  }
161980
162334
  return it;
161981
162335
  }).map((it) => {
161982
162336
  if ("defaultValue" in it) {
161983
- return __spreadProps(__spreadValues({}, it), { defaultValue: { type: "changed", old: it.defaultValue.__old, new: it.defaultValue.__new } });
162337
+ return { ...it, defaultValue: { type: "changed", old: it.defaultValue.__old, new: it.defaultValue.__new } };
161984
162338
  }
161985
162339
  if ("defaultValue__added" in it) {
161986
- const _a = it, { defaultValue__added } = _a, others = __objRest(_a, ["defaultValue__added"]);
161987
- return __spreadProps(__spreadValues({}, others), { defaultValue: { type: "added", value: it.defaultValue__added } });
162340
+ const { defaultValue__added, ...others } = it;
162341
+ return { ...others, defaultValue: { type: "added", value: it.defaultValue__added } };
161988
162342
  }
161989
162343
  if ("defaultValue__deleted" in it) {
161990
- const _b = it, { defaultValue__deleted } = _b, others = __objRest(_b, ["defaultValue__deleted"]);
161991
- return __spreadProps(__spreadValues({}, others), { defaultValue: { type: "deleted", value: it.defaultValue__deleted } });
162344
+ const { defaultValue__deleted, ...others } = it;
162345
+ return { ...others, defaultValue: { type: "deleted", value: it.defaultValue__deleted } };
161992
162346
  }
161993
162347
  return it;
161994
162348
  }).map((it) => {
161995
162349
  if ("notNull" in it) {
161996
- return __spreadProps(__spreadValues({}, it), { notNull: { type: "changed", old: it.notNull.__old, new: it.notNull.__new } });
162350
+ return { ...it, notNull: { type: "changed", old: it.notNull.__old, new: it.notNull.__new } };
161997
162351
  }
161998
162352
  if ("notNull__added" in it) {
161999
- const _a = it, { notNull__added } = _a, others = __objRest(_a, ["notNull__added"]);
162000
- return __spreadProps(__spreadValues({}, others), { notNull: { type: "added", value: it.notNull__added } });
162353
+ const { notNull__added, ...others } = it;
162354
+ return { ...others, notNull: { type: "added", value: it.notNull__added } };
162001
162355
  }
162002
162356
  if ("notNull__deleted" in it) {
162003
- const _b = it, { notNull__deleted } = _b, others = __objRest(_b, ["notNull__deleted"]);
162004
- return __spreadProps(__spreadValues({}, others), { notNull: { type: "deleted", value: it.notNull__deleted } });
162357
+ const { notNull__deleted, ...others } = it;
162358
+ return { ...others, notNull: { type: "deleted", value: it.notNull__deleted } };
162005
162359
  }
162006
162360
  return it;
162007
162361
  }).map((it) => {
162008
162362
  if ("references" in it) {
162009
- return __spreadProps(__spreadValues({}, it), { references: { type: "changed", old: it.references.__old, new: it.references.__new } });
162363
+ return { ...it, references: { type: "changed", old: it.references.__old, new: it.references.__new } };
162010
162364
  }
162011
162365
  if ("references__added" in it) {
162012
- const _a = it, { references__added } = _a, others = __objRest(_a, ["references__added"]);
162013
- return __spreadProps(__spreadValues({}, others), { references: { type: "added", value: it.references__added } });
162366
+ const { references__added, ...others } = it;
162367
+ return { ...others, references: { type: "added", value: it.references__added } };
162014
162368
  }
162015
162369
  if ("references__deleted" in it) {
162016
- const _b = it, { references__deleted } = _b, others = __objRest(_b, ["references__deleted"]);
162017
- return __spreadProps(__spreadValues({}, others), { references: { type: "deleted", value: it.references__deleted } });
162370
+ const { references__deleted, ...others } = it;
162371
+ return { ...others, references: { type: "deleted", value: it.references__deleted } };
162018
162372
  }
162019
162373
  return it;
162020
162374
  });