@tamagui/code-to-html 1.110.2 → 1.110.4

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.
@@ -21846,6 +21846,9 @@ var require_preprocessor_mixin = __commonJS({
21846
21846
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
21847
21847
  return self;
21848
21848
  }
21849
+ function _call_super3(_this, derived, args) {
21850
+ return derived = _get_prototype_of3(derived), _possible_constructor_return3(_this, _is_native_reflect_construct3() ? Reflect.construct(derived, args || [], _get_prototype_of3(_this).constructor) : derived.apply(_this, args));
21851
+ }
21849
21852
  function _class_call_check6(instance, Constructor) {
21850
21853
  if (!(instance instanceof Constructor))
21851
21854
  throw new TypeError("Cannot call a class as a function");
@@ -21888,34 +21891,23 @@ var require_preprocessor_mixin = __commonJS({
21888
21891
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
21889
21892
  }
21890
21893
  function _is_native_reflect_construct3() {
21891
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
21892
- if (typeof Proxy == "function") return !0;
21893
21894
  try {
21894
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
21895
- })), !0;
21895
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
21896
+ }));
21896
21897
  } catch {
21897
- return !1;
21898
21898
  }
21899
- }
21900
- function _create_super3(Derived) {
21901
- var hasNativeReflectConstruct = _is_native_reflect_construct3();
21902
- return function() {
21903
- var Super = _get_prototype_of3(Derived), result;
21904
- if (hasNativeReflectConstruct) {
21905
- var NewTarget = _get_prototype_of3(this).constructor;
21906
- result = Reflect.construct(Super, arguments, NewTarget);
21907
- } else
21908
- result = Super.apply(this, arguments);
21909
- return _possible_constructor_return3(this, result);
21910
- };
21899
+ return (_is_native_reflect_construct3 = function() {
21900
+ return !!result;
21901
+ })();
21911
21902
  }
21912
21903
  var Mixin = require_mixin(), PositionTrackingPreprocessorMixin = /* @__PURE__ */ function(Mixin2) {
21913
21904
  _inherits3(PositionTrackingPreprocessorMixin2, Mixin2);
21914
- var _super = _create_super3(PositionTrackingPreprocessorMixin2);
21915
21905
  function PositionTrackingPreprocessorMixin2(preprocessor) {
21916
21906
  _class_call_check6(this, PositionTrackingPreprocessorMixin2);
21917
21907
  var _this;
21918
- return _this = _super.call(this, preprocessor), _this.preprocessor = preprocessor, _this.isEol = !1, _this.lineStartPos = 0, _this.droppedBufferSize = 0, _this.offset = 0, _this.col = 0, _this.line = 1, _this;
21908
+ return _this = _call_super3(this, PositionTrackingPreprocessorMixin2, [
21909
+ preprocessor
21910
+ ]), _this.preprocessor = preprocessor, _this.isEol = !1, _this.lineStartPos = 0, _this.droppedBufferSize = 0, _this.offset = 0, _this.col = 0, _this.line = 1, _this;
21919
21911
  }
21920
21912
  return _create_class2(PositionTrackingPreprocessorMixin2, [
21921
21913
  {
@@ -21955,6 +21947,9 @@ var require_tokenizer_mixin = __commonJS({
21955
21947
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
21956
21948
  return self;
21957
21949
  }
21950
+ function _call_super3(_this, derived, args) {
21951
+ return derived = _get_prototype_of3(derived), _possible_constructor_return3(_this, _is_native_reflect_construct3() ? Reflect.construct(derived, args || [], _get_prototype_of3(_this).constructor) : derived.apply(_this, args));
21952
+ }
21958
21953
  function _class_call_check6(instance, Constructor) {
21959
21954
  if (!(instance instanceof Constructor))
21960
21955
  throw new TypeError("Cannot call a class as a function");
@@ -21997,34 +21992,23 @@ var require_tokenizer_mixin = __commonJS({
21997
21992
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
21998
21993
  }
21999
21994
  function _is_native_reflect_construct3() {
22000
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
22001
- if (typeof Proxy == "function") return !0;
22002
21995
  try {
22003
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22004
- })), !0;
21996
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
21997
+ }));
22005
21998
  } catch {
22006
- return !1;
22007
21999
  }
22008
- }
22009
- function _create_super3(Derived) {
22010
- var hasNativeReflectConstruct = _is_native_reflect_construct3();
22011
- return function() {
22012
- var Super = _get_prototype_of3(Derived), result;
22013
- if (hasNativeReflectConstruct) {
22014
- var NewTarget = _get_prototype_of3(this).constructor;
22015
- result = Reflect.construct(Super, arguments, NewTarget);
22016
- } else
22017
- result = Super.apply(this, arguments);
22018
- return _possible_constructor_return3(this, result);
22019
- };
22000
+ return (_is_native_reflect_construct3 = function() {
22001
+ return !!result;
22002
+ })();
22020
22003
  }
22021
22004
  var Mixin = require_mixin(), Tokenizer = require_tokenizer(), PositionTrackingPreprocessorMixin = require_preprocessor_mixin(), LocationInfoTokenizerMixin = /* @__PURE__ */ function(Mixin1) {
22022
22005
  _inherits3(LocationInfoTokenizerMixin2, Mixin1);
22023
- var _super = _create_super3(LocationInfoTokenizerMixin2);
22024
22006
  function LocationInfoTokenizerMixin2(tokenizer) {
22025
22007
  _class_call_check6(this, LocationInfoTokenizerMixin2);
22026
22008
  var _this;
22027
- return _this = _super.call(this, tokenizer), _this.tokenizer = tokenizer, _this.posTracker = Mixin.install(tokenizer.preprocessor, PositionTrackingPreprocessorMixin), _this.currentAttrLocation = null, _this.ctLoc = null, _this;
22009
+ return _this = _call_super3(this, LocationInfoTokenizerMixin2, [
22010
+ tokenizer
22011
+ ]), _this.tokenizer = tokenizer, _this.posTracker = Mixin.install(tokenizer.preprocessor, PositionTrackingPreprocessorMixin), _this.currentAttrLocation = null, _this.ctLoc = null, _this;
22028
22012
  }
22029
22013
  return _create_class2(LocationInfoTokenizerMixin2, [
22030
22014
  {
@@ -22111,6 +22095,9 @@ var require_open_element_stack_mixin = __commonJS({
22111
22095
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
22112
22096
  return self;
22113
22097
  }
22098
+ function _call_super3(_this, derived, args) {
22099
+ return derived = _get_prototype_of3(derived), _possible_constructor_return3(_this, _is_native_reflect_construct3() ? Reflect.construct(derived, args || [], _get_prototype_of3(_this).constructor) : derived.apply(_this, args));
22100
+ }
22114
22101
  function _class_call_check6(instance, Constructor) {
22115
22102
  if (!(instance instanceof Constructor))
22116
22103
  throw new TypeError("Cannot call a class as a function");
@@ -22153,34 +22140,23 @@ var require_open_element_stack_mixin = __commonJS({
22153
22140
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
22154
22141
  }
22155
22142
  function _is_native_reflect_construct3() {
22156
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
22157
- if (typeof Proxy == "function") return !0;
22158
22143
  try {
22159
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22160
- })), !0;
22144
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22145
+ }));
22161
22146
  } catch {
22162
- return !1;
22163
22147
  }
22164
- }
22165
- function _create_super3(Derived) {
22166
- var hasNativeReflectConstruct = _is_native_reflect_construct3();
22167
- return function() {
22168
- var Super = _get_prototype_of3(Derived), result;
22169
- if (hasNativeReflectConstruct) {
22170
- var NewTarget = _get_prototype_of3(this).constructor;
22171
- result = Reflect.construct(Super, arguments, NewTarget);
22172
- } else
22173
- result = Super.apply(this, arguments);
22174
- return _possible_constructor_return3(this, result);
22175
- };
22148
+ return (_is_native_reflect_construct3 = function() {
22149
+ return !!result;
22150
+ })();
22176
22151
  }
22177
22152
  var Mixin = require_mixin(), LocationInfoOpenElementStackMixin = /* @__PURE__ */ function(Mixin2) {
22178
22153
  _inherits3(LocationInfoOpenElementStackMixin2, Mixin2);
22179
- var _super = _create_super3(LocationInfoOpenElementStackMixin2);
22180
22154
  function LocationInfoOpenElementStackMixin2(stack, opts) {
22181
22155
  _class_call_check6(this, LocationInfoOpenElementStackMixin2);
22182
22156
  var _this;
22183
- return _this = _super.call(this, stack), _this.onItemPop = opts.onItemPop, _this;
22157
+ return _this = _call_super3(this, LocationInfoOpenElementStackMixin2, [
22158
+ stack
22159
+ ]), _this.onItemPop = opts.onItemPop, _this;
22184
22160
  }
22185
22161
  return _create_class2(LocationInfoOpenElementStackMixin2, [
22186
22162
  {
@@ -22216,6 +22192,9 @@ var require_parser_mixin = __commonJS({
22216
22192
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
22217
22193
  return self;
22218
22194
  }
22195
+ function _call_super3(_this, derived, args) {
22196
+ return derived = _get_prototype_of3(derived), _possible_constructor_return3(_this, _is_native_reflect_construct3() ? Reflect.construct(derived, args || [], _get_prototype_of3(_this).constructor) : derived.apply(_this, args));
22197
+ }
22219
22198
  function _class_call_check6(instance, Constructor) {
22220
22199
  if (!(instance instanceof Constructor))
22221
22200
  throw new TypeError("Cannot call a class as a function");
@@ -22258,34 +22237,23 @@ var require_parser_mixin = __commonJS({
22258
22237
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
22259
22238
  }
22260
22239
  function _is_native_reflect_construct3() {
22261
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
22262
- if (typeof Proxy == "function") return !0;
22263
22240
  try {
22264
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22265
- })), !0;
22241
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22242
+ }));
22266
22243
  } catch {
22267
- return !1;
22268
22244
  }
22269
- }
22270
- function _create_super3(Derived) {
22271
- var hasNativeReflectConstruct = _is_native_reflect_construct3();
22272
- return function() {
22273
- var Super = _get_prototype_of3(Derived), result;
22274
- if (hasNativeReflectConstruct) {
22275
- var NewTarget = _get_prototype_of3(this).constructor;
22276
- result = Reflect.construct(Super, arguments, NewTarget);
22277
- } else
22278
- result = Super.apply(this, arguments);
22279
- return _possible_constructor_return3(this, result);
22280
- };
22245
+ return (_is_native_reflect_construct3 = function() {
22246
+ return !!result;
22247
+ })();
22281
22248
  }
22282
22249
  var Mixin = require_mixin(), Tokenizer = require_tokenizer(), LocationInfoTokenizerMixin = require_tokenizer_mixin(), LocationInfoOpenElementStackMixin = require_open_element_stack_mixin(), HTML = require_html(), $ = HTML.TAG_NAMES, LocationInfoParserMixin = /* @__PURE__ */ function(Mixin1) {
22283
22250
  _inherits3(LocationInfoParserMixin2, Mixin1);
22284
- var _super = _create_super3(LocationInfoParserMixin2);
22285
22251
  function LocationInfoParserMixin2(parser) {
22286
22252
  _class_call_check6(this, LocationInfoParserMixin2);
22287
22253
  var _this;
22288
- return _this = _super.call(this, parser), _this.parser = parser, _this.treeAdapter = _this.parser.treeAdapter, _this.posTracker = null, _this.lastStartTagToken = null, _this.lastFosterParentingLocation = null, _this.currentToken = null, _this;
22254
+ return _this = _call_super3(this, LocationInfoParserMixin2, [
22255
+ parser
22256
+ ]), _this.parser = parser, _this.treeAdapter = _this.parser.treeAdapter, _this.posTracker = null, _this.lastStartTagToken = null, _this.lastFosterParentingLocation = null, _this.currentToken = null, _this;
22289
22257
  }
22290
22258
  return _create_class2(LocationInfoParserMixin2, [
22291
22259
  {
@@ -22409,6 +22377,9 @@ var require_mixin_base = __commonJS({
22409
22377
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
22410
22378
  return self;
22411
22379
  }
22380
+ function _call_super3(_this, derived, args) {
22381
+ return derived = _get_prototype_of3(derived), _possible_constructor_return3(_this, _is_native_reflect_construct3() ? Reflect.construct(derived, args || [], _get_prototype_of3(_this).constructor) : derived.apply(_this, args));
22382
+ }
22412
22383
  function _class_call_check6(instance, Constructor) {
22413
22384
  if (!(instance instanceof Constructor))
22414
22385
  throw new TypeError("Cannot call a class as a function");
@@ -22451,34 +22422,23 @@ var require_mixin_base = __commonJS({
22451
22422
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
22452
22423
  }
22453
22424
  function _is_native_reflect_construct3() {
22454
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
22455
- if (typeof Proxy == "function") return !0;
22456
22425
  try {
22457
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22458
- })), !0;
22426
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22427
+ }));
22459
22428
  } catch {
22460
- return !1;
22461
22429
  }
22462
- }
22463
- function _create_super3(Derived) {
22464
- var hasNativeReflectConstruct = _is_native_reflect_construct3();
22465
- return function() {
22466
- var Super = _get_prototype_of3(Derived), result;
22467
- if (hasNativeReflectConstruct) {
22468
- var NewTarget = _get_prototype_of3(this).constructor;
22469
- result = Reflect.construct(Super, arguments, NewTarget);
22470
- } else
22471
- result = Super.apply(this, arguments);
22472
- return _possible_constructor_return3(this, result);
22473
- };
22430
+ return (_is_native_reflect_construct3 = function() {
22431
+ return !!result;
22432
+ })();
22474
22433
  }
22475
22434
  var Mixin = require_mixin(), ErrorReportingMixinBase = /* @__PURE__ */ function(Mixin2) {
22476
22435
  _inherits3(ErrorReportingMixinBase2, Mixin2);
22477
- var _super = _create_super3(ErrorReportingMixinBase2);
22478
22436
  function ErrorReportingMixinBase2(host, opts) {
22479
22437
  _class_call_check6(this, ErrorReportingMixinBase2);
22480
22438
  var _this;
22481
- return _this = _super.call(this, host), _this.posTracker = null, _this.onParseError = opts.onParseError, _this;
22439
+ return _this = _call_super3(this, ErrorReportingMixinBase2, [
22440
+ host
22441
+ ]), _this.posTracker = null, _this.onParseError = opts.onParseError, _this;
22482
22442
  }
22483
22443
  return _create_class2(ErrorReportingMixinBase2, [
22484
22444
  {
@@ -22527,6 +22487,9 @@ var require_preprocessor_mixin2 = __commonJS({
22527
22487
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
22528
22488
  return self;
22529
22489
  }
22490
+ function _call_super3(_this, derived, args) {
22491
+ return derived = _get_prototype_of3(derived), _possible_constructor_return3(_this, _is_native_reflect_construct3() ? Reflect.construct(derived, args || [], _get_prototype_of3(_this).constructor) : derived.apply(_this, args));
22492
+ }
22530
22493
  function _class_call_check6(instance, Constructor) {
22531
22494
  if (!(instance instanceof Constructor))
22532
22495
  throw new TypeError("Cannot call a class as a function");
@@ -22583,34 +22546,24 @@ var require_preprocessor_mixin2 = __commonJS({
22583
22546
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
22584
22547
  }
22585
22548
  function _is_native_reflect_construct3() {
22586
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
22587
- if (typeof Proxy == "function") return !0;
22588
22549
  try {
22589
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22590
- })), !0;
22550
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22551
+ }));
22591
22552
  } catch {
22592
- return !1;
22593
22553
  }
22594
- }
22595
- function _create_super3(Derived) {
22596
- var hasNativeReflectConstruct = _is_native_reflect_construct3();
22597
- return function() {
22598
- var Super = _get_prototype_of3(Derived), result;
22599
- if (hasNativeReflectConstruct) {
22600
- var NewTarget = _get_prototype_of3(this).constructor;
22601
- result = Reflect.construct(Super, arguments, NewTarget);
22602
- } else
22603
- result = Super.apply(this, arguments);
22604
- return _possible_constructor_return3(this, result);
22605
- };
22554
+ return (_is_native_reflect_construct3 = function() {
22555
+ return !!result;
22556
+ })();
22606
22557
  }
22607
22558
  var ErrorReportingMixinBase = require_mixin_base(), PositionTrackingPreprocessorMixin = require_preprocessor_mixin(), Mixin = require_mixin(), ErrorReportingPreprocessorMixin = /* @__PURE__ */ function(ErrorReportingMixinBase2) {
22608
22559
  _inherits3(ErrorReportingPreprocessorMixin2, ErrorReportingMixinBase2);
22609
- var _super = _create_super3(ErrorReportingPreprocessorMixin2);
22610
22560
  function ErrorReportingPreprocessorMixin2(preprocessor, opts) {
22611
22561
  _class_call_check6(this, ErrorReportingPreprocessorMixin2);
22612
22562
  var _this;
22613
- return _this = _super.call(this, preprocessor, opts), _this.posTracker = Mixin.install(preprocessor, PositionTrackingPreprocessorMixin), _this.lastErrOffset = -1, _this;
22563
+ return _this = _call_super3(this, ErrorReportingPreprocessorMixin2, [
22564
+ preprocessor,
22565
+ opts
22566
+ ]), _this.posTracker = Mixin.install(preprocessor, PositionTrackingPreprocessorMixin), _this.lastErrOffset = -1, _this;
22614
22567
  }
22615
22568
  return _create_class2(ErrorReportingPreprocessorMixin2, [
22616
22569
  {
@@ -22634,6 +22587,9 @@ var require_tokenizer_mixin2 = __commonJS({
22634
22587
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
22635
22588
  return self;
22636
22589
  }
22590
+ function _call_super3(_this, derived, args) {
22591
+ return derived = _get_prototype_of3(derived), _possible_constructor_return3(_this, _is_native_reflect_construct3() ? Reflect.construct(derived, args || [], _get_prototype_of3(_this).constructor) : derived.apply(_this, args));
22592
+ }
22637
22593
  function _class_call_check6(instance, Constructor) {
22638
22594
  if (!(instance instanceof Constructor))
22639
22595
  throw new TypeError("Cannot call a class as a function");
@@ -22667,34 +22623,24 @@ var require_tokenizer_mixin2 = __commonJS({
22667
22623
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
22668
22624
  }
22669
22625
  function _is_native_reflect_construct3() {
22670
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
22671
- if (typeof Proxy == "function") return !0;
22672
22626
  try {
22673
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22674
- })), !0;
22627
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22628
+ }));
22675
22629
  } catch {
22676
- return !1;
22677
22630
  }
22678
- }
22679
- function _create_super3(Derived) {
22680
- var hasNativeReflectConstruct = _is_native_reflect_construct3();
22681
- return function() {
22682
- var Super = _get_prototype_of3(Derived), result;
22683
- if (hasNativeReflectConstruct) {
22684
- var NewTarget = _get_prototype_of3(this).constructor;
22685
- result = Reflect.construct(Super, arguments, NewTarget);
22686
- } else
22687
- result = Super.apply(this, arguments);
22688
- return _possible_constructor_return3(this, result);
22689
- };
22631
+ return (_is_native_reflect_construct3 = function() {
22632
+ return !!result;
22633
+ })();
22690
22634
  }
22691
22635
  var ErrorReportingMixinBase = require_mixin_base(), ErrorReportingPreprocessorMixin = require_preprocessor_mixin2(), Mixin = require_mixin(), ErrorReportingTokenizerMixin = /* @__PURE__ */ function(ErrorReportingMixinBase2) {
22692
22636
  _inherits3(ErrorReportingTokenizerMixin2, ErrorReportingMixinBase2);
22693
- var _super = _create_super3(ErrorReportingTokenizerMixin2);
22694
22637
  function ErrorReportingTokenizerMixin2(tokenizer, opts) {
22695
22638
  _class_call_check6(this, ErrorReportingTokenizerMixin2);
22696
22639
  var _this;
22697
- _this = _super.call(this, tokenizer, opts);
22640
+ _this = _call_super3(this, ErrorReportingTokenizerMixin2, [
22641
+ tokenizer,
22642
+ opts
22643
+ ]);
22698
22644
  var preprocessorMixin = Mixin.install(tokenizer.preprocessor, ErrorReportingPreprocessorMixin, opts);
22699
22645
  return _this.posTracker = preprocessorMixin.posTracker, _this;
22700
22646
  }
@@ -22713,6 +22659,9 @@ var require_parser_mixin2 = __commonJS({
22713
22659
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
22714
22660
  return self;
22715
22661
  }
22662
+ function _call_super3(_this, derived, args) {
22663
+ return derived = _get_prototype_of3(derived), _possible_constructor_return3(_this, _is_native_reflect_construct3() ? Reflect.construct(derived, args || [], _get_prototype_of3(_this).constructor) : derived.apply(_this, args));
22664
+ }
22716
22665
  function _class_call_check6(instance, Constructor) {
22717
22666
  if (!(instance instanceof Constructor))
22718
22667
  throw new TypeError("Cannot call a class as a function");
@@ -22755,34 +22704,24 @@ var require_parser_mixin2 = __commonJS({
22755
22704
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
22756
22705
  }
22757
22706
  function _is_native_reflect_construct3() {
22758
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
22759
- if (typeof Proxy == "function") return !0;
22760
22707
  try {
22761
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22762
- })), !0;
22708
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
22709
+ }));
22763
22710
  } catch {
22764
- return !1;
22765
22711
  }
22766
- }
22767
- function _create_super3(Derived) {
22768
- var hasNativeReflectConstruct = _is_native_reflect_construct3();
22769
- return function() {
22770
- var Super = _get_prototype_of3(Derived), result;
22771
- if (hasNativeReflectConstruct) {
22772
- var NewTarget = _get_prototype_of3(this).constructor;
22773
- result = Reflect.construct(Super, arguments, NewTarget);
22774
- } else
22775
- result = Super.apply(this, arguments);
22776
- return _possible_constructor_return3(this, result);
22777
- };
22712
+ return (_is_native_reflect_construct3 = function() {
22713
+ return !!result;
22714
+ })();
22778
22715
  }
22779
22716
  var ErrorReportingMixinBase = require_mixin_base(), ErrorReportingTokenizerMixin = require_tokenizer_mixin2(), LocationInfoTokenizerMixin = require_tokenizer_mixin(), Mixin = require_mixin(), ErrorReportingParserMixin = /* @__PURE__ */ function(ErrorReportingMixinBase2) {
22780
22717
  _inherits3(ErrorReportingParserMixin2, ErrorReportingMixinBase2);
22781
- var _super = _create_super3(ErrorReportingParserMixin2);
22782
22718
  function ErrorReportingParserMixin2(parser, opts) {
22783
22719
  _class_call_check6(this, ErrorReportingParserMixin2);
22784
22720
  var _this;
22785
- return _this = _super.call(this, parser, opts), _this.opts = opts, _this.ctLoc = null, _this.locBeforeToken = !1, _this;
22721
+ return _this = _call_super3(this, ErrorReportingParserMixin2, [
22722
+ parser,
22723
+ opts
22724
+ ]), _this.opts = opts, _this.ctLoc = null, _this.locBeforeToken = !1, _this;
22786
22725
  }
22787
22726
  return _create_class2(ErrorReportingParserMixin2, [
22788
22727
  {
@@ -24468,6 +24407,9 @@ function _assert_this_initialized(self) {
24468
24407
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
24469
24408
  return self;
24470
24409
  }
24410
+ function _call_super(_this, derived, args) {
24411
+ return derived = _get_prototype_of(derived), _possible_constructor_return(_this, _is_native_reflect_construct() ? Reflect.construct(derived, args || [], _get_prototype_of(_this).constructor) : derived.apply(_this, args));
24412
+ }
24471
24413
  function _class_call_check3(instance, Constructor) {
24472
24414
  if (!(instance instanceof Constructor))
24473
24415
  throw new TypeError("Cannot call a class as a function");
@@ -24501,38 +24443,28 @@ function _type_of(obj) {
24501
24443
  return obj && typeof Symbol < "u" && obj.constructor === Symbol ? "symbol" : typeof obj;
24502
24444
  }
24503
24445
  function _is_native_reflect_construct() {
24504
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
24505
- if (typeof Proxy == "function") return !0;
24506
24446
  try {
24507
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
24508
- })), !0;
24447
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
24448
+ }));
24509
24449
  } catch {
24510
- return !1;
24511
24450
  }
24512
- }
24513
- function _create_super(Derived) {
24514
- var hasNativeReflectConstruct = _is_native_reflect_construct();
24515
- return function() {
24516
- var Super = _get_prototype_of(Derived), result;
24517
- if (hasNativeReflectConstruct) {
24518
- var NewTarget = _get_prototype_of(this).constructor;
24519
- result = Reflect.construct(Super, arguments, NewTarget);
24520
- } else
24521
- result = Super.apply(this, arguments);
24522
- return _possible_constructor_return(this, result);
24523
- };
24451
+ return (_is_native_reflect_construct = function() {
24452
+ return !!result;
24453
+ })();
24524
24454
  }
24525
24455
  var checks = Object.keys(types_exports), DefinedInfo = /* @__PURE__ */ function(Info3) {
24526
24456
  "use strict";
24527
24457
  _inherits(DefinedInfo2, Info3);
24528
- var _super = _create_super(DefinedInfo2);
24529
24458
  function DefinedInfo2(property, attribute, mask, space) {
24530
24459
  _class_call_check3(this, DefinedInfo2);
24531
24460
  var _this, index2 = -1;
24532
- if (_this = _super.call(this, property, attribute), mark(_assert_this_initialized(_this), "space", space), typeof mask == "number")
24461
+ if (_this = _call_super(this, DefinedInfo2, [
24462
+ property,
24463
+ attribute
24464
+ ]), mark(_this, "space", space), typeof mask == "number")
24533
24465
  for (; ++index2 < checks.length; ) {
24534
24466
  var check = checks[index2];
24535
- mark(_assert_this_initialized(_this), checks[index2], (mask & types_exports[check]) === types_exports[check]);
24467
+ mark(_this, checks[index2], (mask & types_exports[check]) === types_exports[check]);
24536
24468
  }
24537
24469
  return _this;
24538
24470
  }
@@ -24700,7 +24632,8 @@ var html = create({
24700
24632
  autoComplete: spaceSeparated,
24701
24633
  autoFocus: boolean,
24702
24634
  autoPlay: boolean,
24703
- capture: boolean,
24635
+ blocking: spaceSeparated,
24636
+ capture: null,
24704
24637
  charSet: null,
24705
24638
  checked: boolean,
24706
24639
  cite: null,
@@ -24725,6 +24658,7 @@ var html = create({
24725
24658
  draggable: booleanish,
24726
24659
  encType: null,
24727
24660
  enterKeyHint: null,
24661
+ fetchPriority: null,
24728
24662
  form: null,
24729
24663
  formAction: null,
24730
24664
  formEncType: null,
@@ -24742,6 +24676,7 @@ var html = create({
24742
24676
  id: null,
24743
24677
  imageSizes: null,
24744
24678
  imageSrcSet: null,
24679
+ inert: boolean,
24745
24680
  inputMode: null,
24746
24681
  integrity: null,
24747
24682
  is: null,
@@ -24777,6 +24712,7 @@ var html = create({
24777
24712
  onAuxClick: null,
24778
24713
  onBeforeMatch: null,
24779
24714
  onBeforePrint: null,
24715
+ onBeforeToggle: null,
24780
24716
  onBeforeUnload: null,
24781
24717
  onBlur: null,
24782
24718
  onCancel: null,
@@ -24865,6 +24801,9 @@ var html = create({
24865
24801
  ping: spaceSeparated,
24866
24802
  placeholder: null,
24867
24803
  playsInline: boolean,
24804
+ popover: null,
24805
+ popoverTarget: null,
24806
+ popoverTargetAction: null,
24868
24807
  poster: null,
24869
24808
  preload: null,
24870
24809
  readOnly: boolean,
@@ -24879,6 +24818,9 @@ var html = create({
24879
24818
  scoped: boolean,
24880
24819
  seamless: boolean,
24881
24820
  selected: boolean,
24821
+ shadowRootClonable: boolean,
24822
+ shadowRootDelegatesFocus: boolean,
24823
+ shadowRootMode: null,
24882
24824
  shape: null,
24883
24825
  size: number,
24884
24826
  sizes: null,
@@ -24902,6 +24844,7 @@ var html = create({
24902
24844
  value: booleanish,
24903
24845
  width: number,
24904
24846
  wrap: null,
24847
+ writingSuggestions: null,
24905
24848
  // Legacy.
24906
24849
  // See: https://html.spec.whatwg.org/#other-elements,-attributes-and-apis
24907
24850
  align: null,
@@ -25180,6 +25123,7 @@ var svg = create({
25180
25123
  textAnchor: "text-anchor",
25181
25124
  textDecoration: "text-decoration",
25182
25125
  textRendering: "text-rendering",
25126
+ transformOrigin: "transform-origin",
25183
25127
  typeOf: "typeof",
25184
25128
  underlinePosition: "underline-position",
25185
25129
  underlineThickness: "underline-thickness",
@@ -25545,6 +25489,7 @@ var svg = create({
25545
25489
  typeOf: commaOrSpaceSeparated,
25546
25490
  to: null,
25547
25491
  transform: null,
25492
+ transformOrigin: null,
25548
25493
  u1: null,
25549
25494
  u2: null,
25550
25495
  underlinePosition: number,
@@ -25703,14 +25648,14 @@ function zwitch(key2, options) {
25703
25648
  }
25704
25649
 
25705
25650
  // ../../../node_modules/stringify-entities/lib/core.js
25651
+ var defaultSubsetRegex = /["&'<>`]/g, surrogatePairsRegex = /[\uD800-\uDBFF][\uDC00-\uDFFF]/g, controlCharactersRegex = (
25652
+ // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape
25653
+ /[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g
25654
+ ), regexEscapeRegex = /[|\\{}()[\]^$+*?.]/g, subsetToRegexCache = /* @__PURE__ */ new WeakMap();
25706
25655
  function core(value, options) {
25707
- if (value = value.replace(options.subset ? charactersToExpression(options.subset) : /["&'<>`]/g, basic2), options.subset || options.escapeOnly)
25656
+ if (value = value.replace(options.subset ? charactersToExpressionCached(options.subset) : defaultSubsetRegex, basic2), options.subset || options.escapeOnly)
25708
25657
  return value;
25709
- return value.replace(/[\uD800-\uDBFF][\uDC00-\uDFFF]/g, surrogate).replace(
25710
- // eslint-disable-next-line no-control-regex, unicorn/no-hex-escape
25711
- /[\x01-\t\v\f\x0E-\x1F\x7F\x81\x8D\x8F\x90\x9D\xA0-\uFFFF]/g,
25712
- basic2
25713
- );
25658
+ return value.replace(surrogatePairsRegex, surrogate).replace(controlCharactersRegex, basic2);
25714
25659
  function surrogate(pair, index2, all3) {
25715
25660
  return options.format((pair.charCodeAt(0) - 55296) * 1024 + pair.charCodeAt(1) - 56320 + 65536, all3.charCodeAt(index2 + 2), options);
25716
25661
  }
@@ -25718,22 +25663,28 @@ function core(value, options) {
25718
25663
  return options.format(character.charCodeAt(0), all3.charCodeAt(index2 + 1), options);
25719
25664
  }
25720
25665
  }
25666
+ function charactersToExpressionCached(subset) {
25667
+ var cached = subsetToRegexCache.get(subset);
25668
+ return cached || (cached = charactersToExpression(subset), subsetToRegexCache.set(subset, cached)), cached;
25669
+ }
25721
25670
  function charactersToExpression(subset) {
25722
25671
  for (var groups = [], index2 = -1; ++index2 < subset.length; )
25723
- groups.push(subset[index2].replace(/[|\\{}()[\]^$+*?.]/g, "\\$&"));
25672
+ groups.push(subset[index2].replace(regexEscapeRegex, "\\$&"));
25724
25673
  return new RegExp("(?:" + groups.join("|") + ")", "g");
25725
25674
  }
25726
25675
 
25727
25676
  // ../../../node_modules/stringify-entities/lib/util/to-hexadecimal.js
25677
+ var hexadecimalRegex = /[\dA-Fa-f]/;
25728
25678
  function toHexadecimal(code, next, omit) {
25729
25679
  var value = "&#x" + code.toString(16).toUpperCase();
25730
- return omit && next && !/[\dA-Fa-f]/.test(String.fromCharCode(next)) ? value : value + ";";
25680
+ return omit && next && !hexadecimalRegex.test(String.fromCharCode(next)) ? value : value + ";";
25731
25681
  }
25732
25682
 
25733
25683
  // ../../../node_modules/stringify-entities/lib/util/to-decimal.js
25684
+ var decimalRegex = /\d/;
25734
25685
  function toDecimal(code, next, omit) {
25735
25686
  var value = "&#" + String(code);
25736
- return omit && next && !/\d/.test(String.fromCharCode(next)) ? value : value + ";";
25687
+ return omit && next && !decimalRegex.test(String.fromCharCode(next)) ? value : value + ";";
25737
25688
  }
25738
25689
 
25739
25690
  // ../../../node_modules/character-entities-legacy/index.js
@@ -26118,12 +26069,13 @@ var dangerous = [
26118
26069
  var own3 = {}.hasOwnProperty, characters = {}, key;
26119
26070
  for (key in characterEntitiesHtml4)
26120
26071
  own3.call(characterEntitiesHtml4, key) && (characters[characterEntitiesHtml4[key]] = key);
26072
+ var notAlphanumericRegex = /[^\dA-Za-z]/;
26121
26073
  function toNamed(code, next, omit, attribute) {
26122
26074
  var character = String.fromCharCode(code);
26123
26075
  if (own3.call(characters, character)) {
26124
26076
  var name = characters[character], value = "&" + name;
26125
26077
  return omit && characterEntitiesLegacy.includes(name) && !dangerous.includes(name) && (!attribute || next && next !== 61 && /* `=` */
26126
- /[^\da-z]/i.test(String.fromCharCode(next))) ? value : value + ";";
26078
+ notAlphanumericRegex.test(String.fromCharCode(next))) ? value : value + ";";
26127
26079
  }
26128
26080
  return "";
26129
26081
  }
@@ -33842,7 +33794,7 @@ function isPlainObject(value) {
33842
33794
  return (prototype === null || prototype === Object.prototype || Object.getPrototypeOf(prototype) === null) && !(Symbol.toStringTag in value) && !(Symbol.iterator in value);
33843
33795
  }
33844
33796
 
33845
- // ../../../node_modules/trough/index.js
33797
+ // ../../../node_modules/trough/lib/index.js
33846
33798
  function _array_like_to_array4(arr, len) {
33847
33799
  (len == null || len > arr.length) && (len = arr.length);
33848
33800
  for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i];
@@ -33926,7 +33878,7 @@ function wrap(middleware, callback) {
33926
33878
  throw exception;
33927
33879
  return done(exception);
33928
33880
  }
33929
- fnExpectsCallback || (_instanceof2(result, Promise) ? result.then(then, done) : _instanceof2(result, Error) ? done(result) : then(result));
33881
+ fnExpectsCallback || (result && result.then && typeof result.then == "function" ? result.then(then, done) : _instanceof2(result, Error) ? done(result) : then(result));
33930
33882
  }
33931
33883
  function done(error) {
33932
33884
  for (var _len = arguments.length, output = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++)
@@ -33967,6 +33919,9 @@ function _assert_this_initialized2(self) {
33967
33919
  throw new ReferenceError("this hasn't been initialised - super() hasn't been called");
33968
33920
  return self;
33969
33921
  }
33922
+ function _call_super2(_this, derived, args) {
33923
+ return derived = _get_prototype_of2(derived), _possible_constructor_return2(_this, _is_native_reflect_construct2() ? Reflect.construct(derived, args || [], _get_prototype_of2(_this).constructor) : derived.apply(_this, args));
33924
+ }
33970
33925
  function _class_call_check4(instance, Constructor) {
33971
33926
  if (!(instance instanceof Constructor))
33972
33927
  throw new TypeError("Cannot call a class as a function");
@@ -34036,31 +33991,18 @@ function _wrap_native_super(Class) {
34036
33991
  }, _wrap_native_super(Class);
34037
33992
  }
34038
33993
  function _is_native_reflect_construct2() {
34039
- if (typeof Reflect > "u" || !Reflect.construct || Reflect.construct.sham) return !1;
34040
- if (typeof Proxy == "function") return !0;
34041
33994
  try {
34042
- return Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
34043
- })), !0;
33995
+ var result = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function() {
33996
+ }));
34044
33997
  } catch {
34045
- return !1;
34046
33998
  }
34047
- }
34048
- function _create_super2(Derived) {
34049
- var hasNativeReflectConstruct = _is_native_reflect_construct2();
34050
- return function() {
34051
- var Super = _get_prototype_of2(Derived), result;
34052
- if (hasNativeReflectConstruct) {
34053
- var NewTarget = _get_prototype_of2(this).constructor;
34054
- result = Reflect.construct(Super, arguments, NewTarget);
34055
- } else
34056
- result = Super.apply(this, arguments);
34057
- return _possible_constructor_return2(this, result);
34058
- };
33999
+ return (_is_native_reflect_construct2 = function() {
34000
+ return !!result;
34001
+ })();
34059
34002
  }
34060
34003
  var VFileMessage = /* @__PURE__ */ function(Error1) {
34061
34004
  "use strict";
34062
34005
  _inherits2(VFileMessage2, Error1);
34063
- var _super = _create_super2(VFileMessage2);
34064
34006
  function VFileMessage2(reason, place, origin) {
34065
34007
  _class_call_check4(this, VFileMessage2);
34066
34008
  var _this, parts = [
@@ -34078,7 +34020,7 @@ var VFileMessage = /* @__PURE__ */ function(Error1) {
34078
34020
  column: null
34079
34021
  }
34080
34022
  };
34081
- if (_this = _super.call(this), typeof place == "string" && (origin = place, place = void 0), typeof origin == "string") {
34023
+ if (_this = _call_super2(this, VFileMessage2), typeof place == "string" && (origin = place, place = void 0), typeof origin == "string") {
34082
34024
  var index2 = origin.indexOf(":");
34083
34025
  index2 === -1 ? parts[1] = origin : (parts[0] = origin.slice(0, index2), parts[1] = origin.slice(index2 + 1));
34084
34026
  }