lwc 2.17.0 → 2.19.1

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 (34) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +137 -137
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +137 -137
  3. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +116 -116
  4. package/dist/engine-dom/iife/es5/engine-dom.js +148 -149
  5. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -1
  6. package/dist/engine-dom/iife/es5/engine-dom_debug.js +127 -128
  7. package/dist/engine-dom/umd/es2017/engine-dom.js +137 -137
  8. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +116 -116
  9. package/dist/engine-dom/umd/es5/engine-dom.js +148 -149
  10. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -1
  11. package/dist/engine-dom/umd/es5/engine-dom_debug.js +127 -128
  12. package/dist/engine-server/commonjs/es2017/engine-server.js +114 -114
  13. package/dist/engine-server/esm/es2017/engine-server.js +114 -114
  14. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +20 -20
  15. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +20 -20
  16. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +20 -20
  17. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +20 -20
  18. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +20 -20
  19. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +20 -20
  20. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +20 -20
  21. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +20 -20
  22. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +20 -20
  23. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  24. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  25. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  26. package/dist/wire-service/iife/es5/wire-service.js +4 -4
  27. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  28. package/dist/wire-service/iife/es5/wire-service_debug.js +4 -4
  29. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  30. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  31. package/dist/wire-service/umd/es5/wire-service.js +4 -4
  32. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  33. package/dist/wire-service/umd/es5/wire-service_debug.js +4 -4
  34. package/package.json +7 -7
@@ -6,11 +6,11 @@
6
6
 
7
7
  function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf2(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
8
8
 
9
- function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct; } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
9
+ function _construct(Parent, args, Class) { if (_isNativeReflectConstruct()) { _construct = Reflect.construct.bind(); } else { _construct = function _construct(Parent, args, Class) { var a = [null]; a.push.apply(a, args); var Constructor = Function.bind.apply(Parent, a); var instance = new Constructor(); if (Class) _setPrototypeOf(instance, Class.prototype); return instance; }; } return _construct.apply(null, arguments); }
10
10
 
11
11
  function _isNativeFunction(fn) { return Function.toString.call(fn).indexOf("[native code]") !== -1; }
12
12
 
13
- function _get2() { if (typeof Reflect !== "undefined" && Reflect.get) { _get2 = Reflect.get; } else { _get2 = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get2.apply(this, arguments); }
13
+ function _get2() { if (typeof Reflect !== "undefined" && Reflect.get) { _get2 = Reflect.get.bind(); } else { _get2 = function _get(target, property, receiver) { var base = _superPropBase(target, property); if (!base) return; var desc = Object.getOwnPropertyDescriptor(base, property); if (desc.get) { return desc.get.call(arguments.length < 3 ? target : receiver); } return desc.value; }; } return _get2.apply(this, arguments); }
14
14
 
15
15
  function _superPropBase(object, property) { while (!Object.prototype.hasOwnProperty.call(object, property)) { object = _getPrototypeOf2(object); if (object === null) break; } return object; }
16
16
 
@@ -18,7 +18,7 @@
18
18
 
19
19
  function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
20
20
 
21
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf || function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
21
+ function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
22
22
 
23
23
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = _getPrototypeOf2(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = _getPrototypeOf2(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return _possibleConstructorReturn(this, result); }; }
24
24
 
@@ -28,7 +28,7 @@
28
28
 
29
29
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
30
30
 
31
- function _getPrototypeOf2(o) { _getPrototypeOf2 = Object.setPrototypeOf ? Object.getPrototypeOf : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf2(o); }
31
+ function _getPrototypeOf2(o) { _getPrototypeOf2 = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf2(o); }
32
32
 
33
33
  function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
34
34
 
@@ -228,7 +228,6 @@
228
228
  var AriaAttrNameToPropNameMap = create(null);
229
229
  var AriaPropNameToAttrNameMap = create(null); // Synthetic creation of all AOM property descriptors for Custom Elements
230
230
 
231
- // Synthetic creation of all AOM property descriptors for Custom Elements
232
231
  forEach.call(AriaPropertyNames, function (propName) {
233
232
  var attrName = StringToLowerCase.call(StringReplace.call(propName, /^aria/, function () {
234
233
  return 'aria-';
@@ -351,7 +350,7 @@
351
350
  var XML_NAMESPACE = 'http://www.w3.org/XML/1998/namespace';
352
351
  var SVG_NAMESPACE = 'http://www.w3.org/2000/svg';
353
352
  var XLINK_NAMESPACE = 'http://www.w3.org/1999/xlink';
354
- /** version: 2.17.0 */
353
+ /** version: 2.19.1 */
355
354
 
356
355
  /*
357
356
  * Copyright (c) 2018, salesforce.com, inc.
@@ -1778,7 +1777,7 @@
1778
1777
  associateVM(elm, vm);
1779
1778
 
1780
1779
  if (vm.renderMode === 1
1781
- /* Shadow */
1780
+ /* RenderMode.Shadow */
1782
1781
  ) {
1783
1782
  vm.renderRoot = doAttachShadow(vm);
1784
1783
  } else {
@@ -2753,9 +2752,9 @@
2753
2752
 
2754
2753
  if (!isUndefined$1(ctorRenderMode)) {
2755
2754
  renderMode = ctorRenderMode === 'light' ? 0
2756
- /* Light */
2755
+ /* RenderMode.Light */
2757
2756
  : 1
2758
- /* Shadow */
2757
+ /* RenderMode.Shadow */
2759
2758
  ;
2760
2759
  }
2761
2760
 
@@ -2862,10 +2861,10 @@
2862
2861
  propsConfig: EmptyObject,
2863
2862
  methods: EmptyObject,
2864
2863
  renderMode: 1
2865
- /* Shadow */
2864
+ /* RenderMode.Shadow */
2866
2865
  ,
2867
2866
  shadowSupportMode: "reset"
2868
- /* Default */
2867
+ /* ShadowSupportMode.Default */
2869
2868
  ,
2870
2869
  wire: EmptyObject,
2871
2870
  bridge: BaseBridgeElement,
@@ -2895,7 +2894,7 @@
2895
2894
  publicProps[key] = {
2896
2895
  config: propsConfig[key] || 0,
2897
2896
  type: "any"
2898
- /* any */
2897
+ /* PropDefType.any */
2899
2898
  ,
2900
2899
  attr: htmlPropertyToAttribute(key)
2901
2900
  };
@@ -2978,9 +2977,9 @@
2978
2977
  function isVBaseElement(vnode) {
2979
2978
  var type = vnode.type;
2980
2979
  return type === 2
2981
- /* Element */
2980
+ /* VNodeType.Element */
2982
2981
  || type === 3
2983
- /* CustomElement */
2982
+ /* VNodeType.CustomElement */
2984
2983
  ;
2985
2984
  }
2986
2985
 
@@ -3286,33 +3285,33 @@
3286
3285
 
3287
3286
  switch (n2.type) {
3288
3287
  case 0
3289
- /* Text */
3288
+ /* VNodeType.Text */
3290
3289
  :
3291
3290
  // VText has no special capability, fallback to the owner's renderer
3292
3291
  patchText(n1, n2, renderer);
3293
3292
  break;
3294
3293
 
3295
3294
  case 1
3296
- /* Comment */
3295
+ /* VNodeType.Comment */
3297
3296
  :
3298
3297
  // VComment has no special capability, fallback to the owner's renderer
3299
3298
  patchComment(n1, n2, renderer);
3300
3299
  break;
3301
3300
 
3302
3301
  case 4
3303
- /* Static */
3302
+ /* VNodeType.Static */
3304
3303
  :
3305
3304
  n2.elm = n1.elm;
3306
3305
  break;
3307
3306
 
3308
3307
  case 2
3309
- /* Element */
3308
+ /* VNodeType.Element */
3310
3309
  :
3311
3310
  patchElement(n1, n2, (_a = n2.data.renderer) !== null && _a !== void 0 ? _a : renderer);
3312
3311
  break;
3313
3312
 
3314
3313
  case 3
3315
- /* CustomElement */
3314
+ /* VNodeType.CustomElement */
3316
3315
  :
3317
3316
  patchCustomElement(n1, n2, (_b = n2.data.renderer) !== null && _b !== void 0 ? _b : renderer);
3318
3317
  break;
@@ -3324,35 +3323,35 @@
3324
3323
 
3325
3324
  switch (node.type) {
3326
3325
  case 0
3327
- /* Text */
3326
+ /* VNodeType.Text */
3328
3327
  :
3329
3328
  // VText has no special capability, fallback to the owner's renderer
3330
3329
  mountText(node, parent, anchor, renderer);
3331
3330
  break;
3332
3331
 
3333
3332
  case 1
3334
- /* Comment */
3333
+ /* VNodeType.Comment */
3335
3334
  :
3336
3335
  // VComment has no special capability, fallback to the owner's renderer
3337
3336
  mountComment(node, parent, anchor, renderer);
3338
3337
  break;
3339
3338
 
3340
3339
  case 4
3341
- /* Static */
3340
+ /* VNodeType.Static */
3342
3341
  :
3343
3342
  // VStatic cannot have a custom renderer associated to them, using owner's renderer
3344
3343
  mountStatic(node, parent, anchor, renderer);
3345
3344
  break;
3346
3345
 
3347
3346
  case 2
3348
- /* Element */
3347
+ /* VNodeType.Element */
3349
3348
  :
3350
3349
  // If the vnode data has a renderer override use it, else fallback to owner's renderer
3351
3350
  mountElement(node, parent, anchor, (_a = node.data.renderer) !== null && _a !== void 0 ? _a : renderer);
3352
3351
  break;
3353
3352
 
3354
3353
  case 3
3355
- /* CustomElement */
3354
+ /* VNodeType.CustomElement */
3356
3355
  :
3357
3356
  // If the vnode data has a renderer override use it, else fallback to owner's renderer
3358
3357
  mountCustomElement(node, parent, anchor, (_b = node.data.renderer) !== null && _b !== void 0 ? _b : renderer);
@@ -3426,9 +3425,9 @@
3426
3425
 
3427
3426
  if (isSyntheticShadowDefined) {
3428
3427
  if (shadowMode === 1
3429
- /* Synthetic */
3428
+ /* ShadowMode.Synthetic */
3430
3429
  || renderMode === 0
3431
- /* Light */
3430
+ /* RenderMode.Light */
3432
3431
  ) {
3433
3432
  elm[KEY__SHADOW_STATIC] = true;
3434
3433
  }
@@ -3528,20 +3527,20 @@
3528
3527
 
3529
3528
  switch (type) {
3530
3529
  case 2
3531
- /* Element */
3530
+ /* VNodeType.Element */
3532
3531
  :
3533
3532
  {
3534
3533
  // Slot content is removed to trigger slotchange event when removing slot.
3535
3534
  // Only required for synthetic shadow.
3536
3535
  var shouldRemoveChildren = sel === 'slot' && vnode.owner.shadowMode === 1
3537
- /* Synthetic */
3536
+ /* ShadowMode.Synthetic */
3538
3537
  ;
3539
3538
  unmountVNodes(vnode.children, elm, renderer, shouldRemoveChildren);
3540
3539
  break;
3541
3540
  }
3542
3541
 
3543
3542
  case 3
3544
- /* CustomElement */
3543
+ /* VNodeType.CustomElement */
3545
3544
  :
3546
3545
  {
3547
3546
  var vm = vnode.vm; // No need to unmount the children here, `removeVM` will take care of removing the
@@ -3602,9 +3601,9 @@
3602
3601
 
3603
3602
  if (isSyntheticShadowDefined) {
3604
3603
  if (shadowMode === 1
3605
- /* Synthetic */
3604
+ /* ShadowMode.Synthetic */
3606
3605
  || renderMode === 0
3607
- /* Light */
3606
+ /* RenderMode.Light */
3608
3607
  ) {
3609
3608
  elm[KEY__SHADOW_RESOLVER] = renderRoot[KEY__SHADOW_RESOLVER];
3610
3609
  }
@@ -3649,13 +3648,13 @@
3649
3648
  setScopeTokenClassIfNecessary(elm, owner, renderer);
3650
3649
 
3651
3650
  if (owner.shadowMode === 1
3652
- /* Synthetic */
3651
+ /* ShadowMode.Synthetic */
3653
3652
  ) {
3654
3653
  var context = vnode.data.context;
3655
3654
  var stylesheetToken = owner.context.stylesheetToken;
3656
3655
 
3657
3656
  if (!isUndefined$1(context) && !isUndefined$1(context.lwc) && context.lwc.dom === "manual"
3658
- /* Manual */
3657
+ /* LwcDomMode.Manual */
3659
3658
  ) {
3660
3659
  // this element will now accept any manual content inserted into it
3661
3660
  observeElementChildNodes(elm);
@@ -3686,9 +3685,9 @@
3686
3685
  shadowMode = vm.shadowMode;
3687
3686
 
3688
3687
  if (shadowMode === 1
3689
- /* Synthetic */
3688
+ /* ShadowMode.Synthetic */
3690
3689
  || renderMode === 0
3691
- /* Light */
3690
+ /* RenderMode.Light */
3692
3691
  ) {
3693
3692
  // slow path
3694
3693
  allocateInSlot(vm, children); // save the allocated children in case this vnode is reused.
@@ -3715,7 +3714,7 @@
3715
3714
  setScopeTokenClassIfNecessary(elm, owner, renderer);
3716
3715
 
3717
3716
  if (owner.shadowMode === 1
3718
- /* Synthetic */
3717
+ /* ShadowMode.Synthetic */
3719
3718
  ) {
3720
3719
  var stylesheetToken = owner.context.stylesheetToken; // when running in synthetic shadow mode, we need to set the shadowToken value
3721
3720
  // into each element from the template, so they can be styled accordingly.
@@ -3983,7 +3982,7 @@
3983
3982
  function st(fragment, key) {
3984
3983
  return {
3985
3984
  type: 4
3986
- /* Static */
3985
+ /* VNodeType.Static */
3987
3986
  ,
3988
3987
  sel: undefined,
3989
3988
  key: key,
@@ -4002,7 +4001,7 @@
4002
4001
  var key = data.key;
4003
4002
  return {
4004
4003
  type: 2
4005
- /* Element */
4004
+ /* VNodeType.Element */
4006
4005
  ,
4007
4006
  sel: sel,
4008
4007
  data: data,
@@ -4035,14 +4034,14 @@
4035
4034
  shadowMode = vmBeingRendered.shadowMode;
4036
4035
 
4037
4036
  if (renderMode === 0
4038
- /* Light */
4037
+ /* RenderMode.Light */
4039
4038
  ) {
4040
4039
  sc(children);
4041
4040
  return children;
4042
4041
  }
4043
4042
 
4044
4043
  if (shadowMode === 1
4045
- /* Synthetic */
4044
+ /* ShadowMode.Synthetic */
4046
4045
  ) {
4047
4046
  // TODO [#1276]: compiler should give us some sort of indicator when a vnodes collection is dynamic
4048
4047
  sc(children);
@@ -4060,7 +4059,7 @@
4060
4059
  var elm, aChildren, vm;
4061
4060
  var vnode = {
4062
4061
  type: 3
4063
- /* CustomElement */
4062
+ /* VNodeType.CustomElement */
4064
4063
  ,
4065
4064
  sel: sel,
4066
4065
  data: data,
@@ -4146,7 +4145,7 @@
4146
4145
  var sel, key, elm;
4147
4146
  return {
4148
4147
  type: 0
4149
- /* Text */
4148
+ /* VNodeType.Text */
4150
4149
  ,
4151
4150
  sel: sel,
4152
4151
  text: text,
@@ -4161,7 +4160,7 @@
4161
4160
  var sel, key, elm;
4162
4161
  return {
4163
4162
  type: 1
4164
- /* Comment */
4163
+ /* VNodeType.Comment */
4165
4164
  ,
4166
4165
  sel: sel,
4167
4166
  text: text,
@@ -4218,7 +4217,7 @@
4218
4217
  shadowMode = vmBeingRendered.shadowMode;
4219
4218
 
4220
4219
  if (shadowMode === 1
4221
- /* Synthetic */
4220
+ /* ShadowMode.Synthetic */
4222
4221
  ) {
4223
4222
  return StringReplace.call(id, /\S+/g, function (id) {
4224
4223
  return "".concat(id, "-").concat(idx);
@@ -4246,7 +4245,7 @@
4246
4245
  shadowMode = vmBeingRendered.shadowMode; // Apply transformation only for fragment-only-urls, and only in shadow DOM
4247
4246
 
4248
4247
  if (shadowMode === 1
4249
- /* Synthetic */
4248
+ /* ShadowMode.Synthetic */
4250
4249
  && /^#/.test(url)) {
4251
4250
  return "".concat(url, "-").concat(idx);
4252
4251
  }
@@ -4394,9 +4393,9 @@
4394
4393
  var newStylesheets = template.stylesheets,
4395
4394
  newStylesheetToken = template.stylesheetToken;
4396
4395
  var isSyntheticShadow = renderMode === 1
4397
- /* Shadow */
4396
+ /* RenderMode.Shadow */
4398
4397
  && shadowMode === 1
4399
- /* Synthetic */
4398
+ /* ShadowMode.Synthetic */
4400
4399
  ;
4401
4400
  var hasScopedStyles = context.hasScopedStyles;
4402
4401
  var newToken;
@@ -4456,26 +4455,26 @@
4456
4455
  var isScopedCss = stylesheet[KEY__SCOPED_CSS]; // Apply the scope token only if the stylesheet itself is scoped, or if we're rendering synthetic shadow.
4457
4456
 
4458
4457
  var scopeToken = isScopedCss || vm.shadowMode === 1
4459
- /* Synthetic */
4458
+ /* ShadowMode.Synthetic */
4460
4459
  && vm.renderMode === 1
4461
- /* Shadow */
4460
+ /* RenderMode.Shadow */
4462
4461
  ? stylesheetToken : undefined; // Use the actual `:host` selector if we're rendering global CSS for light DOM, or if we're rendering
4463
4462
  // native shadow DOM. Synthetic shadow DOM never uses `:host`.
4464
4463
 
4465
4464
  var useActualHostSelector = vm.renderMode === 0
4466
- /* Light */
4465
+ /* RenderMode.Light */
4467
4466
  ? !isScopedCss : vm.shadowMode === 0
4468
- /* Native */
4467
+ /* ShadowMode.Native */
4469
4468
  ; // Use the native :dir() pseudoclass only in native shadow DOM. Otherwise, in synthetic shadow,
4470
4469
  // we use an attribute selector on the host to simulate :dir().
4471
4470
 
4472
4471
  var useNativeDirPseudoclass = void 0;
4473
4472
 
4474
4473
  if (vm.renderMode === 1
4475
- /* Shadow */
4474
+ /* RenderMode.Shadow */
4476
4475
  ) {
4477
4476
  useNativeDirPseudoclass = vm.shadowMode === 0
4478
- /* Native */
4477
+ /* ShadowMode.Native */
4479
4478
  ;
4480
4479
  } else {
4481
4480
  // Light DOM components should only render `[dir]` if they're inside of a synthetic shadow root.
@@ -4486,7 +4485,7 @@
4486
4485
  }
4487
4486
 
4488
4487
  useNativeDirPseudoclass = isNull(root) || root.shadowMode === 0
4489
- /* Native */
4488
+ /* ShadowMode.Native */
4490
4489
  ;
4491
4490
  }
4492
4491
 
@@ -4517,7 +4516,7 @@
4517
4516
 
4518
4517
  while (!isNull(owner)) {
4519
4518
  if (owner.renderMode === 1
4520
- /* Shadow */
4519
+ /* RenderMode.Shadow */
4521
4520
  ) {
4522
4521
  return owner;
4523
4522
  }
@@ -4532,7 +4531,7 @@
4532
4531
  var owner = getNearestShadowComponent(vm);
4533
4532
 
4534
4533
  if (!isNull(owner) && owner.shadowMode === 1
4535
- /* Synthetic */
4534
+ /* ShadowMode.Synthetic */
4536
4535
  ) {
4537
4536
  // Synthetic-within-native is impossible. So if the nearest shadow component is
4538
4537
  // synthetic, we know we won't find a native component if we go any further.
@@ -4550,9 +4549,9 @@
4550
4549
  insertStylesheet = _vm$renderer2.insertStylesheet;
4551
4550
 
4552
4551
  if (renderMode === 1
4553
- /* Shadow */
4552
+ /* RenderMode.Shadow */
4554
4553
  && shadowMode === 1
4555
- /* Synthetic */
4554
+ /* ShadowMode.Synthetic */
4556
4555
  ) {
4557
4556
  for (var _i17 = 0; _i17 < stylesheets.length; _i17++) {
4558
4557
  insertStylesheet(stylesheets[_i17]);
@@ -4605,7 +4604,7 @@
4605
4604
 
4606
4605
  if (isProfilerEnabled) {
4607
4606
  currentDispatcher(opId, 0
4608
- /* Start */
4607
+ /* Phase.Start */
4609
4608
  , vm.tagName, vm.idx, vm.renderMode, vm.shadowMode);
4610
4609
  }
4611
4610
  }
@@ -4614,7 +4613,7 @@
4614
4613
 
4615
4614
  if (isProfilerEnabled) {
4616
4615
  currentDispatcher(opId, 1
4617
- /* Stop */
4616
+ /* Phase.Stop */
4618
4617
  , vm.tagName, vm.idx, vm.renderMode, vm.shadowMode);
4619
4618
  }
4620
4619
  }
@@ -4623,7 +4622,7 @@
4623
4622
 
4624
4623
  if (isProfilerEnabled) {
4625
4624
  currentDispatcher(opId, 0
4626
- /* Start */
4625
+ /* Phase.Start */
4627
4626
  , vm === null || vm === void 0 ? void 0 : vm.tagName, vm === null || vm === void 0 ? void 0 : vm.idx, vm === null || vm === void 0 ? void 0 : vm.renderMode, vm === null || vm === void 0 ? void 0 : vm.shadowMode);
4628
4627
  }
4629
4628
  }
@@ -4632,7 +4631,7 @@
4632
4631
 
4633
4632
  if (isProfilerEnabled) {
4634
4633
  currentDispatcher(opId, 1
4635
- /* Stop */
4634
+ /* Phase.Stop */
4636
4635
  , vm === null || vm === void 0 ? void 0 : vm.tagName, vm === null || vm === void 0 ? void 0 : vm.idx, vm === null || vm === void 0 ? void 0 : vm.renderMode, vm === null || vm === void 0 ? void 0 : vm.shadowMode);
4637
4636
  }
4638
4637
  }
@@ -4666,7 +4665,7 @@
4666
4665
  if (template === defaultEmptyTemplate) return;
4667
4666
 
4668
4667
  if (vm.renderMode === 0
4669
- /* Light */
4668
+ /* RenderMode.Light */
4670
4669
  ) {
4671
4670
  assert.isTrue(template.renderMode === 'light', "Light DOM components can't render shadow DOM templates. Add an 'lwc:render-mode=\"light\"' directive to the root template tag of ".concat(getComponentTag(vm), "."));
4672
4671
  } else {
@@ -4691,19 +4690,19 @@
4691
4690
 
4692
4691
  var hasStyleToken = !isUndefined$1(stylesheetToken);
4693
4692
  var isSyntheticShadow = shadowMode === 1
4694
- /* Synthetic */
4693
+ /* ShadowMode.Synthetic */
4695
4694
  ;
4696
4695
  var cacheKey = 0;
4697
4696
 
4698
4697
  if (hasStyleToken && hasScopedStyles) {
4699
4698
  cacheKey |= 1
4700
- /* HAS_SCOPED_STYLE */
4699
+ /* FragmentCache.HAS_SCOPED_STYLE */
4701
4700
  ;
4702
4701
  }
4703
4702
 
4704
4703
  if (hasStyleToken && isSyntheticShadow) {
4705
4704
  cacheKey |= 2
4706
- /* SHADOW_MODE_SYNTHETIC */
4705
+ /* FragmentCache.SHADOW_MODE_SYNTHETIC */
4707
4706
  ;
4708
4707
  }
4709
4708
 
@@ -4768,7 +4767,7 @@
4768
4767
  // pre
4769
4768
  vmBeingRendered = vm;
4770
4769
  logOperationStart(1
4771
- /* Render */
4770
+ /* OperationId.Render */
4772
4771
  , vm);
4773
4772
  }, function () {
4774
4773
  // job
@@ -4828,7 +4827,7 @@
4828
4827
  isUpdatingTemplate = isUpdatingTemplateInception;
4829
4828
  vmBeingRendered = vmOfTemplateBeingUpdatedInception;
4830
4829
  logOperationEnd(1
4831
- /* Render */
4830
+ /* OperationId.Render */
4832
4831
  , vm);
4833
4832
  });
4834
4833
 
@@ -4867,7 +4866,7 @@
4867
4866
  var vmBeingConstructedInception = vmBeingConstructed;
4868
4867
  var error;
4869
4868
  logOperationStart(0
4870
- /* Constructor */
4869
+ /* OperationId.Constructor */
4871
4870
  , vm);
4872
4871
  vmBeingConstructed = vm;
4873
4872
  /**
@@ -4890,7 +4889,7 @@
4890
4889
  error = Object(e);
4891
4890
  } finally {
4892
4891
  logOperationEnd(0
4893
- /* Constructor */
4892
+ /* OperationId.Constructor */
4894
4893
  , vm);
4895
4894
  vmBeingConstructed = vmBeingConstructedInception;
4896
4895
 
@@ -5087,12 +5086,12 @@
5087
5086
  function connectRootElement(elm) {
5088
5087
  var vm = getAssociatedVM(elm);
5089
5088
  logGlobalOperationStart(7
5090
- /* GlobalHydrate */
5089
+ /* OperationId.GlobalHydrate */
5091
5090
  , vm); // Usually means moving the element from one place to another, which is observable via
5092
5091
  // life-cycle hooks.
5093
5092
 
5094
5093
  if (vm.state === 1
5095
- /* connected */
5094
+ /* VMState.connected */
5096
5095
  ) {
5097
5096
  disconnectRootElement(elm);
5098
5097
  }
@@ -5100,7 +5099,7 @@
5100
5099
  runConnectedCallback(vm);
5101
5100
  rehydrate(vm);
5102
5101
  logGlobalOperationEnd(7
5103
- /* GlobalHydrate */
5102
+ /* OperationId.GlobalHydrate */
5104
5103
  , vm);
5105
5104
  }
5106
5105
 
@@ -5119,7 +5118,7 @@
5119
5118
  var state = vm.state;
5120
5119
 
5121
5120
  if (state !== 2
5122
- /* disconnected */
5121
+ /* VMState.disconnected */
5123
5122
  ) {
5124
5123
  var oar = vm.oar,
5125
5124
  tro = vm.tro; // Making sure that any observing record will not trigger the rehydrated on this vm
@@ -5148,7 +5147,7 @@
5148
5147
  var ancestor = vm.owner;
5149
5148
 
5150
5149
  while (!isNull(ancestor) && ancestor.renderMode === 0
5151
- /* Light */
5150
+ /* RenderMode.Light */
5152
5151
  ) {
5153
5152
  ancestor = ancestor.owner;
5154
5153
  }
@@ -5167,7 +5166,7 @@
5167
5166
  def: def,
5168
5167
  idx: idx++,
5169
5168
  state: 0
5170
- /* created */
5169
+ /* VMState.created */
5171
5170
  ,
5172
5171
  isScheduled: false,
5173
5172
  isDirty: true,
@@ -5227,57 +5226,57 @@
5227
5226
 
5228
5227
  if (isSyntheticShadowDefined) {
5229
5228
  if (def.renderMode === 0
5230
- /* Light */
5229
+ /* RenderMode.Light */
5231
5230
  ) {
5232
5231
  // ShadowMode.Native implies "not synthetic shadow" which is consistent with how
5233
5232
  // everything defaults to native when the synthetic shadow polyfill is unavailable.
5234
5233
  shadowMode = 0
5235
- /* Native */
5234
+ /* ShadowMode.Native */
5236
5235
  ;
5237
5236
  } else if (isNativeShadowDefined) {
5238
5237
  // Not combined with above condition because @lwc/features only supports identifiers in
5239
5238
  // the if-condition.
5240
5239
  if (runtimeFlags.ENABLE_MIXED_SHADOW_MODE) {
5241
5240
  if (def.shadowSupportMode === "any"
5242
- /* Any */
5241
+ /* ShadowSupportMode.Any */
5243
5242
  ) {
5244
5243
  shadowMode = 0
5245
- /* Native */
5244
+ /* ShadowMode.Native */
5246
5245
  ;
5247
5246
  } else {
5248
5247
  var shadowAncestor = getNearestShadowAncestor(vm);
5249
5248
 
5250
5249
  if (!isNull(shadowAncestor) && shadowAncestor.shadowMode === 0
5251
- /* Native */
5250
+ /* ShadowMode.Native */
5252
5251
  ) {
5253
5252
  // Transitive support for native Shadow DOM. A component in native mode
5254
5253
  // transitively opts all of its descendants into native.
5255
5254
  shadowMode = 0
5256
- /* Native */
5255
+ /* ShadowMode.Native */
5257
5256
  ;
5258
5257
  } else {
5259
5258
  // Synthetic if neither this component nor any of its ancestors are configured
5260
5259
  // to be native.
5261
5260
  shadowMode = 1
5262
- /* Synthetic */
5261
+ /* ShadowMode.Synthetic */
5263
5262
  ;
5264
5263
  }
5265
5264
  }
5266
5265
  } else {
5267
5266
  shadowMode = 1
5268
- /* Synthetic */
5267
+ /* ShadowMode.Synthetic */
5269
5268
  ;
5270
5269
  }
5271
5270
  } else {
5272
5271
  // Synthetic if there is no native Shadow DOM support.
5273
5272
  shadowMode = 1
5274
- /* Synthetic */
5273
+ /* ShadowMode.Synthetic */
5275
5274
  ;
5276
5275
  }
5277
5276
  } else {
5278
5277
  // Native if the synthetic shadow polyfill is unavailable.
5279
5278
  shadowMode = 0
5280
- /* Native */
5279
+ /* ShadowMode.Native */
5281
5280
  ;
5282
5281
  }
5283
5282
 
@@ -5321,7 +5320,7 @@
5321
5320
  runWithBoundaryProtection(vm, vm, function () {
5322
5321
  // pre
5323
5322
  logOperationStart(2
5324
- /* Patch */
5323
+ /* OperationId.Patch */
5325
5324
  , vm);
5326
5325
  }, function () {
5327
5326
  // job
@@ -5329,14 +5328,14 @@
5329
5328
  }, function () {
5330
5329
  // post
5331
5330
  logOperationEnd(2
5332
- /* Patch */
5331
+ /* OperationId.Patch */
5333
5332
  , vm);
5334
5333
  });
5335
5334
  }
5336
5335
  }
5337
5336
 
5338
5337
  if (vm.state === 1
5339
- /* connected */
5338
+ /* VMState.connected */
5340
5339
  ) {
5341
5340
  // If the element is connected, that means connectedCallback was already issued, and
5342
5341
  // any successive rendering should finish with the call to renderedCallback, otherwise
@@ -5362,11 +5361,11 @@
5362
5361
 
5363
5362
  if (!isUndefined$1(renderedCallback)) {
5364
5363
  logOperationStart(4
5365
- /* RenderedCallback */
5364
+ /* OperationId.RenderedCallback */
5366
5365
  , vm);
5367
5366
  invokeComponentCallback(vm, renderedCallback);
5368
5367
  logOperationEnd(4
5369
- /* RenderedCallback */
5368
+ /* OperationId.RenderedCallback */
5370
5369
  , vm);
5371
5370
  }
5372
5371
  }
@@ -5375,7 +5374,7 @@
5375
5374
 
5376
5375
  function flushRehydrationQueue() {
5377
5376
  logGlobalOperationStart(8
5378
- /* GlobalRehydrate */
5377
+ /* OperationId.GlobalRehydrate */
5379
5378
  );
5380
5379
 
5381
5380
  var vms = rehydrateQueue.sort(function (a, b) {
@@ -5400,7 +5399,7 @@
5400
5399
 
5401
5400
 
5402
5401
  logGlobalOperationEnd(8
5403
- /* GlobalRehydrate */
5402
+ /* OperationId.GlobalRehydrate */
5404
5403
  ); // re-throwing the original error will break the current tick, but since the next tick is
5405
5404
  // already scheduled, it should continue patching the rest.
5406
5405
 
@@ -5409,7 +5408,7 @@
5409
5408
  }
5410
5409
 
5411
5410
  logGlobalOperationEnd(8
5412
- /* GlobalRehydrate */
5411
+ /* OperationId.GlobalRehydrate */
5413
5412
  );
5414
5413
  }
5415
5414
 
@@ -5417,13 +5416,13 @@
5417
5416
  var state = vm.state;
5418
5417
 
5419
5418
  if (state === 1
5420
- /* connected */
5419
+ /* VMState.connected */
5421
5420
  ) {
5422
5421
  return; // nothing to do since it was already connected
5423
5422
  }
5424
5423
 
5425
5424
  vm.state = 1
5426
- /* connected */
5425
+ /* VMState.connected */
5427
5426
  ; // reporting connection
5428
5427
 
5429
5428
  var connected = Services.connected;
@@ -5440,11 +5439,11 @@
5440
5439
 
5441
5440
  if (!isUndefined$1(connectedCallback)) {
5442
5441
  logOperationStart(3
5443
- /* ConnectedCallback */
5442
+ /* OperationId.ConnectedCallback */
5444
5443
  , vm);
5445
5444
  invokeComponentCallback(vm, connectedCallback);
5446
5445
  logOperationEnd(3
5447
- /* ConnectedCallback */
5446
+ /* OperationId.ConnectedCallback */
5448
5447
  , vm);
5449
5448
  }
5450
5449
  }
@@ -5464,7 +5463,7 @@
5464
5463
  }
5465
5464
 
5466
5465
  vm.state = 2
5467
- /* disconnected */
5466
+ /* VMState.disconnected */
5468
5467
  ; // reporting disconnection
5469
5468
 
5470
5469
  var disconnected = Services.disconnected;
@@ -5481,11 +5480,11 @@
5481
5480
 
5482
5481
  if (!isUndefined$1(disconnectedCallback)) {
5483
5482
  logOperationStart(5
5484
- /* DisconnectedCallback */
5483
+ /* OperationId.DisconnectedCallback */
5485
5484
  , vm);
5486
5485
  invokeComponentCallback(vm, disconnectedCallback);
5487
5486
  logOperationEnd(5
5488
- /* DisconnectedCallback */
5487
+ /* OperationId.DisconnectedCallback */
5489
5488
  , vm);
5490
5489
  }
5491
5490
  }
@@ -5535,13 +5534,13 @@
5535
5534
  if (!isNull(vnode) && !isUndefined$1(vnode.elm)) {
5536
5535
  switch (vnode.type) {
5537
5536
  case 2
5538
- /* Element */
5537
+ /* VNodeType.Element */
5539
5538
  :
5540
5539
  recursivelyDisconnectChildren(vnode.children);
5541
5540
  break;
5542
5541
 
5543
5542
  case 3
5544
- /* CustomElement */
5543
+ /* VNodeType.CustomElement */
5545
5544
  :
5546
5545
  {
5547
5546
  var vm = getAssociatedVM(vnode.elm);
@@ -5625,13 +5624,13 @@
5625
5624
  resetComponentRoot(vm); // remove offenders
5626
5625
 
5627
5626
  logOperationStart(6
5628
- /* ErrorCallback */
5627
+ /* OperationId.ErrorCallback */
5629
5628
  , vm); // error boundaries must have an ErrorCallback
5630
5629
 
5631
5630
  var errorCallback = errorBoundaryVm.def.errorCallback;
5632
5631
  invokeComponentCallback(errorBoundaryVm, errorCallback, [error, error.wcStack]);
5633
5632
  logOperationEnd(6
5634
- /* ErrorCallback */
5633
+ /* OperationId.ErrorCallback */
5635
5634
  , vm);
5636
5635
  }
5637
5636
  }
@@ -5721,7 +5720,7 @@
5721
5720
  var config;
5722
5721
  ro.observe(function () {
5723
5722
  return config = configCallback(component);
5724
- }); // eslint-disable-next-line lwc-internal/no-invalid-todo
5723
+ }); // eslint-disable-next-line @lwc/lwc-internal/no-invalid-todo
5725
5724
  // TODO: dev-mode validation of config based on the adapter.configSchema
5726
5725
  // @ts-ignore it is assigned in the observe() callback
5727
5726
 
@@ -5756,7 +5755,7 @@
5756
5755
  // guarantee that the linkage can be forged.
5757
5756
  var contextRegistrationEvent = new WireContextRegistrationEvent(adapterContextToken, {
5758
5757
  setNewContext: function setNewContext(newContext) {
5759
- // eslint-disable-next-line lwc-internal/no-invalid-todo
5758
+ // eslint-disable-next-line @lwc/lwc-internal/no-invalid-todo
5760
5759
  // TODO: dev-mode validation of config based on the adapter.contextSchema
5761
5760
  callbackWhenContextIsReady(newContext);
5762
5761
  },
@@ -5816,7 +5815,7 @@
5816
5815
  // (ever), while context can have identity
5817
5816
 
5818
5817
  if (vm.state === 1
5819
- /* connected */
5818
+ /* VMState.connected */
5820
5819
  ) {
5821
5820
  computeConfigAndUpdate();
5822
5821
  }
@@ -6033,34 +6032,34 @@
6033
6032
 
6034
6033
  switch (vnode.type) {
6035
6034
  case 0
6036
- /* Text */
6035
+ /* VNodeType.Text */
6037
6036
  :
6038
6037
  // VText has no special capability, fallback to the owner's renderer
6039
6038
  hydratedNode = hydrateText(node, vnode, renderer);
6040
6039
  break;
6041
6040
 
6042
6041
  case 1
6043
- /* Comment */
6042
+ /* VNodeType.Comment */
6044
6043
  :
6045
6044
  // VComment has no special capability, fallback to the owner's renderer
6046
6045
  hydratedNode = hydrateComment(node, vnode, renderer);
6047
6046
  break;
6048
6047
 
6049
6048
  case 4
6050
- /* Static */
6049
+ /* VNodeType.Static */
6051
6050
  :
6052
6051
  // VStatic are cacheable and cannot have custom renderer associated to them
6053
6052
  hydratedNode = hydrateStaticElement(node, vnode, renderer);
6054
6053
  break;
6055
6054
 
6056
6055
  case 2
6057
- /* Element */
6056
+ /* VNodeType.Element */
6058
6057
  :
6059
6058
  hydratedNode = hydrateElement(node, vnode, (_a = vnode.data.renderer) !== null && _a !== void 0 ? _a : renderer);
6060
6059
  break;
6061
6060
 
6062
6061
  case 3
6063
- /* CustomElement */
6062
+ /* VNodeType.CustomElement */
6064
6063
  :
6065
6064
  hydratedNode = hydrateCustomElement(node, vnode, (_b = vnode.data.renderer) !== null && _b !== void 0 ? _b : renderer);
6066
6065
  break;
@@ -6073,7 +6072,7 @@
6073
6072
  var _a;
6074
6073
 
6075
6074
  if (!hasCorrectNodeType(vnode, node, 3
6076
- /* TEXT */
6075
+ /* EnvNodeTypes.TEXT */
6077
6076
  , renderer)) {
6078
6077
  return handleMismatch(node, vnode, renderer);
6079
6078
  }
@@ -6088,7 +6087,7 @@
6088
6087
  var _a;
6089
6088
 
6090
6089
  if (!hasCorrectNodeType(vnode, node, 8
6091
- /* COMMENT */
6090
+ /* EnvNodeTypes.COMMENT */
6092
6091
  , renderer)) {
6093
6092
  return handleMismatch(node, vnode, renderer);
6094
6093
  }
@@ -6110,7 +6109,7 @@
6110
6109
 
6111
6110
  function hydrateElement(elm, vnode, renderer) {
6112
6111
  if (!hasCorrectNodeType(vnode, elm, 1
6113
- /* ELEMENT */
6112
+ /* EnvNodeTypes.ELEMENT */
6114
6113
  , renderer) || !isMatchingElement(vnode, elm, renderer)) {
6115
6114
  return handleMismatch(elm, vnode, renderer);
6116
6115
  }
@@ -6119,7 +6118,7 @@
6119
6118
  var owner = vnode.owner;
6120
6119
  var context = vnode.data.context;
6121
6120
  var isDomManual = Boolean(!isUndefined$1(context) && !isUndefined$1(context.lwc) && context.lwc.dom === "manual"
6122
- /* Manual */
6121
+ /* LwcDomMode.Manual */
6123
6122
  );
6124
6123
 
6125
6124
  if (isDomManual) {
@@ -6150,7 +6149,7 @@
6150
6149
 
6151
6150
  function hydrateCustomElement(elm, vnode, renderer) {
6152
6151
  if (!hasCorrectNodeType(vnode, elm, 1
6153
- /* ELEMENT */
6152
+ /* EnvNodeTypes.ELEMENT */
6154
6153
  , renderer) || !isMatchingElement(vnode, elm, renderer)) {
6155
6154
  return handleMismatch(elm, vnode, renderer);
6156
6155
  }
@@ -6173,7 +6172,7 @@
6173
6172
  runConnectedCallback(vm);
6174
6173
 
6175
6174
  if (vm.renderMode !== 0
6176
- /* Light */
6175
+ /* RenderMode.Light */
6177
6176
  ) {
6178
6177
  var _getFirstChild2 = renderer.getFirstChild; // VM is not rendering in Light DOM, we can proceed and hydrate the slotted content.
6179
6178
  // Note: for Light DOM, this is handled while hydrating the VM
@@ -6368,10 +6367,10 @@
6368
6367
  getAttribute = renderer.getAttribute;
6369
6368
 
6370
6369
  if (getProperty(client, 'nodeType') === 3
6371
- /* TEXT */
6370
+ /* EnvNodeTypes.TEXT */
6372
6371
  ) {
6373
6372
  if (!hasCorrectNodeType(vnode, ssr, 3
6374
- /* TEXT */
6373
+ /* EnvNodeTypes.TEXT */
6375
6374
  , renderer)) {
6376
6375
  return false;
6377
6376
  }
@@ -6380,10 +6379,10 @@
6380
6379
  }
6381
6380
 
6382
6381
  if (getProperty(client, 'nodeType') === 8
6383
- /* COMMENT */
6382
+ /* EnvNodeTypes.COMMENT */
6384
6383
  ) {
6385
6384
  if (!hasCorrectNodeType(vnode, ssr, 8
6386
- /* COMMENT */
6385
+ /* EnvNodeTypes.COMMENT */
6387
6386
  , renderer)) {
6388
6387
  return false;
6389
6388
  }
@@ -6392,7 +6391,7 @@
6392
6391
  }
6393
6392
 
6394
6393
  if (!hasCorrectNodeType(vnode, ssr, 1
6395
- /* ELEMENT */
6394
+ /* EnvNodeTypes.ELEMENT */
6396
6395
  , renderer)) {
6397
6396
  return false;
6398
6397
  }
@@ -6460,7 +6459,7 @@
6460
6459
 
6461
6460
  return ctor;
6462
6461
  }
6463
- /* version: 2.17.0 */
6462
+ /* version: 2.19.1 */
6464
6463
 
6465
6464
  /*
6466
6465
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7078,7 +7077,7 @@
7078
7077
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
7079
7078
  */
7080
7079
  // TODO [#2472]: Remove this workaround when appropriate.
7081
- // eslint-disable-next-line lwc-internal/no-global-node
7080
+ // eslint-disable-next-line @lwc/lwc-internal/no-global-node
7082
7081
 
7083
7082
 
7084
7083
  var _Node$1 = Node;
@@ -7185,7 +7184,7 @@
7185
7184
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
7186
7185
  */
7187
7186
  // TODO [#2472]: Remove this workaround when appropriate.
7188
- // eslint-disable-next-line lwc-internal/no-global-node
7187
+ // eslint-disable-next-line @lwc/lwc-internal/no-global-node
7189
7188
 
7190
7189
 
7191
7190
  var _Node = Node;
@@ -7258,7 +7257,7 @@
7258
7257
  });
7259
7258
  freeze(LightningElement);
7260
7259
  seal(LightningElement.prototype);
7261
- /* version: 2.17.0 */
7260
+ /* version: 2.19.1 */
7262
7261
 
7263
7262
  exports.LightningElement = LightningElement;
7264
7263
  exports.__unstable__ProfilerControl = profilerControl;