lwc 2.6.1 → 2.7.2

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 (41) hide show
  1. package/dist/engine-dom/esm/es2017/engine-dom.js +590 -394
  2. package/dist/engine-dom/iife/es2017/engine-dom.js +590 -394
  3. package/dist/engine-dom/iife/es2017/engine-dom.min.js +1 -9
  4. package/dist/engine-dom/iife/es2017/engine-dom_debug.js +564 -370
  5. package/dist/engine-dom/iife/es5/engine-dom.js +648 -351
  6. package/dist/engine-dom/iife/es5/engine-dom.min.js +1 -9
  7. package/dist/engine-dom/iife/es5/engine-dom_debug.js +616 -327
  8. package/dist/engine-dom/umd/es2017/engine-dom.js +590 -394
  9. package/dist/engine-dom/umd/es2017/engine-dom.min.js +1 -9
  10. package/dist/engine-dom/umd/es2017/engine-dom_debug.js +564 -370
  11. package/dist/engine-dom/umd/es5/engine-dom.js +648 -351
  12. package/dist/engine-dom/umd/es5/engine-dom.min.js +1 -9
  13. package/dist/engine-dom/umd/es5/engine-dom_debug.js +616 -327
  14. package/dist/engine-server/commonjs/es2017/engine-server.js +670 -472
  15. package/dist/engine-server/commonjs/es2017/engine-server.min.js +1 -9
  16. package/dist/engine-server/esm/es2017/engine-server.js +670 -472
  17. package/dist/synthetic-shadow/esm/es2017/synthetic-shadow.js +74 -9
  18. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.js +74 -9
  19. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow.min.js +2 -2
  20. package/dist/synthetic-shadow/iife/es2017/synthetic-shadow_debug.js +74 -9
  21. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.js +85 -12
  22. package/dist/synthetic-shadow/iife/es5/synthetic-shadow.min.js +2 -2
  23. package/dist/synthetic-shadow/iife/es5/synthetic-shadow_debug.js +85 -12
  24. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.js +74 -9
  25. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow.min.js +2 -2
  26. package/dist/synthetic-shadow/umd/es2017/synthetic-shadow_debug.js +74 -9
  27. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.js +85 -12
  28. package/dist/synthetic-shadow/umd/es5/synthetic-shadow.min.js +2 -2
  29. package/dist/synthetic-shadow/umd/es5/synthetic-shadow_debug.js +85 -12
  30. package/dist/wire-service/esm/es2017/wire-service.js +2 -2
  31. package/dist/wire-service/iife/es2017/wire-service.js +2 -2
  32. package/dist/wire-service/iife/es2017/wire-service_debug.js +2 -2
  33. package/dist/wire-service/iife/es5/wire-service.js +11 -11
  34. package/dist/wire-service/iife/es5/wire-service.min.js +1 -1
  35. package/dist/wire-service/iife/es5/wire-service_debug.js +11 -11
  36. package/dist/wire-service/umd/es2017/wire-service.js +2 -2
  37. package/dist/wire-service/umd/es2017/wire-service_debug.js +2 -2
  38. package/dist/wire-service/umd/es5/wire-service.js +11 -11
  39. package/dist/wire-service/umd/es5/wire-service.min.js +1 -1
  40. package/dist/wire-service/umd/es5/wire-service_debug.js +11 -11
  41. package/package.json +8 -8
@@ -302,7 +302,7 @@ var LWC = (function (exports) {
302
302
  CACHED_PROPERTY_ATTRIBUTE_MAPPING.set(propName, attributeName);
303
303
  return attributeName;
304
304
  }
305
- /** version: 2.6.1 */
305
+ /** version: 2.7.2 */
306
306
 
307
307
  /*
308
308
  * Copyright (c) 2018, salesforce.com, inc.
@@ -416,7 +416,6 @@ var LWC = (function (exports) {
416
416
  ENABLE_NODE_LIST_PATCH: null,
417
417
  ENABLE_HTML_COLLECTIONS_PATCH: null,
418
418
  ENABLE_NODE_PATCH: null,
419
- ENABLE_MIXED_SHADOW_MODE: null,
420
419
  ENABLE_WIRE_SYNC_EMIT: null
421
420
  };
422
421
 
@@ -481,7 +480,7 @@ var LWC = (function (exports) {
481
480
  setFeatureFlag(name, value);
482
481
  }
483
482
  }
484
- /** version: 2.6.1 */
483
+ /** version: 2.7.2 */
485
484
 
486
485
  /* proxy-compat-disable */
487
486
 
@@ -555,6 +554,249 @@ var LWC = (function (exports) {
555
554
  }
556
555
 
557
556
  return styleMap;
557
+ } //
558
+ // Primitives
559
+ //
560
+
561
+
562
+ let ssr$1;
563
+
564
+ function setSsr(ssrImpl) {
565
+ ssr$1 = ssrImpl;
566
+ }
567
+
568
+ let isNativeShadowDefined$1;
569
+
570
+ function setIsNativeShadowDefined(isNativeShadowDefinedImpl) {
571
+ isNativeShadowDefined$1 = isNativeShadowDefinedImpl;
572
+ }
573
+
574
+ let isSyntheticShadowDefined$1;
575
+
576
+ function setIsSyntheticShadowDefined(isSyntheticShadowDefinedImpl) {
577
+ isSyntheticShadowDefined$1 = isSyntheticShadowDefinedImpl;
578
+ }
579
+
580
+ let HTMLElementExported$1;
581
+
582
+ function setHTMLElement(HTMLElementImpl) {
583
+ HTMLElementExported$1 = HTMLElementImpl;
584
+ }
585
+
586
+ let isHydrating$1;
587
+
588
+ function setIsHydrating$1(isHydratingImpl) {
589
+ isHydrating$1 = isHydratingImpl;
590
+ }
591
+
592
+ let insert$1;
593
+
594
+ function setInsert(insertImpl) {
595
+ insert$1 = insertImpl;
596
+ }
597
+
598
+ let remove$1;
599
+
600
+ function setRemove(removeImpl) {
601
+ remove$1 = removeImpl;
602
+ }
603
+
604
+ let createElement$2;
605
+
606
+ function setCreateElement(createElementImpl) {
607
+ createElement$2 = createElementImpl;
608
+ }
609
+
610
+ let createText$1;
611
+
612
+ function setCreateText(createTextImpl) {
613
+ createText$1 = createTextImpl;
614
+ }
615
+
616
+ let createComment$1;
617
+
618
+ function setCreateComment(createCommentImpl) {
619
+ createComment$1 = createCommentImpl;
620
+ }
621
+
622
+ let nextSibling$1;
623
+
624
+ function setNextSibling(nextSiblingImpl) {
625
+ nextSibling$1 = nextSiblingImpl;
626
+ }
627
+
628
+ let attachShadow$1;
629
+
630
+ function setAttachShadow(attachShadowImpl) {
631
+ attachShadow$1 = attachShadowImpl;
632
+ }
633
+
634
+ let getProperty$1;
635
+
636
+ function setGetProperty(getPropertyImpl) {
637
+ getProperty$1 = getPropertyImpl;
638
+ }
639
+
640
+ let setProperty$1;
641
+
642
+ function setSetProperty(setPropertyImpl) {
643
+ setProperty$1 = setPropertyImpl;
644
+ }
645
+
646
+ let setText$1;
647
+
648
+ function setSetText(setTextImpl) {
649
+ setText$1 = setTextImpl;
650
+ }
651
+
652
+ let getAttribute$1;
653
+
654
+ function setGetAttribute(getAttributeImpl) {
655
+ getAttribute$1 = getAttributeImpl;
656
+ }
657
+
658
+ let setAttribute$1;
659
+
660
+ function setSetAttribute(setAttributeImpl) {
661
+ setAttribute$1 = setAttributeImpl;
662
+ }
663
+
664
+ let removeAttribute$1;
665
+
666
+ function setRemoveAttribute(removeAttributeImpl) {
667
+ removeAttribute$1 = removeAttributeImpl;
668
+ }
669
+
670
+ let addEventListener$1;
671
+
672
+ function setAddEventListener(addEventListenerImpl) {
673
+ addEventListener$1 = addEventListenerImpl;
674
+ }
675
+
676
+ let removeEventListener$1;
677
+
678
+ function setRemoveEventListener(removeEventListenerImpl) {
679
+ removeEventListener$1 = removeEventListenerImpl;
680
+ }
681
+
682
+ let dispatchEvent$1;
683
+
684
+ function setDispatchEvent(dispatchEventImpl) {
685
+ dispatchEvent$1 = dispatchEventImpl;
686
+ }
687
+
688
+ let getClassList$1;
689
+
690
+ function setGetClassList(getClassListImpl) {
691
+ getClassList$1 = getClassListImpl;
692
+ }
693
+
694
+ let setCSSStyleProperty$1;
695
+
696
+ function setSetCSSStyleProperty(setCSSStylePropertyImpl) {
697
+ setCSSStyleProperty$1 = setCSSStylePropertyImpl;
698
+ }
699
+
700
+ let getBoundingClientRect$1;
701
+
702
+ function setGetBoundingClientRect(getBoundingClientRectImpl) {
703
+ getBoundingClientRect$1 = getBoundingClientRectImpl;
704
+ }
705
+
706
+ let querySelector$1;
707
+
708
+ function setQuerySelector(querySelectorImpl) {
709
+ querySelector$1 = querySelectorImpl;
710
+ }
711
+
712
+ let querySelectorAll$1;
713
+
714
+ function setQuerySelectorAll(querySelectorAllImpl) {
715
+ querySelectorAll$1 = querySelectorAllImpl;
716
+ }
717
+
718
+ let getElementsByTagName$1;
719
+
720
+ function setGetElementsByTagName(getElementsByTagNameImpl) {
721
+ getElementsByTagName$1 = getElementsByTagNameImpl;
722
+ }
723
+
724
+ let getElementsByClassName$1;
725
+
726
+ function setGetElementsByClassName(getElementsByClassNameImpl) {
727
+ getElementsByClassName$1 = getElementsByClassNameImpl;
728
+ }
729
+
730
+ let getChildren$1;
731
+
732
+ function setGetChildren(getChildrenImpl) {
733
+ getChildren$1 = getChildrenImpl;
734
+ }
735
+
736
+ let getChildNodes$1;
737
+
738
+ function setGetChildNodes(getChildNodesImpl) {
739
+ getChildNodes$1 = getChildNodesImpl;
740
+ }
741
+
742
+ let getFirstChild$1;
743
+
744
+ function setGetFirstChild(getFirstChildImpl) {
745
+ getFirstChild$1 = getFirstChildImpl;
746
+ }
747
+
748
+ let getFirstElementChild$1;
749
+
750
+ function setGetFirstElementChild(getFirstElementChildImpl) {
751
+ getFirstElementChild$1 = getFirstElementChildImpl;
752
+ }
753
+
754
+ let getLastChild$1;
755
+
756
+ function setGetLastChild(getLastChildImpl) {
757
+ getLastChild$1 = getLastChildImpl;
758
+ }
759
+
760
+ let getLastElementChild$1;
761
+
762
+ function setGetLastElementChild(getLastElementChildImpl) {
763
+ getLastElementChild$1 = getLastElementChildImpl;
764
+ }
765
+
766
+ let isConnected$1;
767
+
768
+ function setIsConnected(isConnectedImpl) {
769
+ isConnected$1 = isConnectedImpl;
770
+ }
771
+
772
+ let insertGlobalStylesheet$1;
773
+
774
+ function setInsertGlobalStylesheet(insertGlobalStylesheetImpl) {
775
+ insertGlobalStylesheet$1 = insertGlobalStylesheetImpl;
776
+ }
777
+
778
+ let insertStylesheet$1;
779
+
780
+ function setInsertStylesheet(insertStylesheetImpl) {
781
+ insertStylesheet$1 = insertStylesheetImpl;
782
+ }
783
+
784
+ let assertInstanceOfHTMLElement$1;
785
+
786
+ function setAssertInstanceOfHTMLElement(assertInstanceOfHTMLElementImpl) {
787
+ assertInstanceOfHTMLElement$1 = assertInstanceOfHTMLElementImpl;
788
+ }
789
+
790
+ let defineCustomElement$1;
791
+
792
+ function setDefineCustomElement(defineCustomElementImpl) {
793
+ defineCustomElement$1 = defineCustomElementImpl;
794
+ }
795
+
796
+ let getCustomElement$1;
797
+
798
+ function setGetCustomElement(getCustomElementImpl) {
799
+ getCustomElement$1 = getCustomElementImpl;
558
800
  }
559
801
  /*
560
802
  * Copyright (c) 2019, salesforce.com, inc.
@@ -808,9 +1050,6 @@ var LWC = (function (exports) {
808
1050
  elm,
809
1051
  data: {
810
1052
  on
811
- },
812
- owner: {
813
- renderer
814
1053
  }
815
1054
  } = vnode;
816
1055
 
@@ -823,7 +1062,7 @@ var LWC = (function (exports) {
823
1062
  let name;
824
1063
 
825
1064
  for (name in on) {
826
- renderer.addEventListener(elm, name, listener);
1065
+ addEventListener$1(elm, name, listener);
827
1066
  }
828
1067
  }
829
1068
 
@@ -965,9 +1204,6 @@ var LWC = (function (exports) {
965
1204
  const {
966
1205
  data: {
967
1206
  attrs
968
- },
969
- owner: {
970
- renderer
971
1207
  }
972
1208
  } = vnode;
973
1209
 
@@ -990,10 +1226,6 @@ var LWC = (function (exports) {
990
1226
  }
991
1227
 
992
1228
  const elm = vnode.elm;
993
- const {
994
- setAttribute,
995
- removeAttribute
996
- } = renderer;
997
1229
  let key;
998
1230
  oldAttrs = isUndefined$1(oldAttrs) ? EmptyObject : oldAttrs; // update modified attributes, add new attributes
999
1231
  // this routine is only useful for data-* attributes in all kind of elements
@@ -1008,14 +1240,14 @@ var LWC = (function (exports) {
1008
1240
 
1009
1241
  if (StringCharCodeAt.call(key, 3) === ColonCharCode) {
1010
1242
  // Assume xml namespace
1011
- setAttribute(elm, key, cur, xmlNS);
1243
+ setAttribute$1(elm, key, cur, xmlNS);
1012
1244
  } else if (StringCharCodeAt.call(key, 5) === ColonCharCode) {
1013
1245
  // Assume xlink namespace
1014
- setAttribute(elm, key, cur, xlinkNS);
1015
- } else if (isNull(cur)) {
1016
- removeAttribute(elm, key);
1246
+ setAttribute$1(elm, key, cur, xlinkNS);
1247
+ } else if (isNull(cur) || isUndefined$1(cur)) {
1248
+ removeAttribute$1(elm, key);
1017
1249
  } else {
1018
- setAttribute(elm, key, cur);
1250
+ setAttribute$1(elm, key, cur);
1019
1251
  }
1020
1252
 
1021
1253
  lockAttribute();
@@ -1063,17 +1295,14 @@ var LWC = (function (exports) {
1063
1295
  const isFirstPatch = isUndefined$1(oldProps);
1064
1296
  const {
1065
1297
  elm,
1066
- sel,
1067
- owner: {
1068
- renderer
1069
- }
1298
+ sel
1070
1299
  } = vnode;
1071
1300
 
1072
1301
  for (const key in props) {
1073
1302
  const cur = props[key]; // if it is the first time this element is patched, or the current value is different to the previous value...
1074
1303
 
1075
- if (isFirstPatch || cur !== (isLiveBindingProp(sel, key) ? renderer.getProperty(elm, key) : oldProps[key])) {
1076
- renderer.setProperty(elm, key, cur);
1304
+ if (isFirstPatch || cur !== (isLiveBindingProp(sel, key) ? getProperty$1(elm, key) : oldProps[key])) {
1305
+ setProperty$1(elm, key, cur);
1077
1306
  }
1078
1307
  }
1079
1308
  }
@@ -1142,9 +1371,6 @@ var LWC = (function (exports) {
1142
1371
  elm,
1143
1372
  data: {
1144
1373
  className: newClass
1145
- },
1146
- owner: {
1147
- renderer
1148
1374
  }
1149
1375
  } = vnode;
1150
1376
  const {
@@ -1157,7 +1383,7 @@ var LWC = (function (exports) {
1157
1383
  return;
1158
1384
  }
1159
1385
 
1160
- const classList = renderer.getClassList(elm);
1386
+ const classList = getClassList$1(elm);
1161
1387
  const newClassMap = getMapFromClassName(newClass);
1162
1388
  const oldClassMap = getMapFromClassName(oldClass);
1163
1389
  let name;
@@ -1195,24 +1421,17 @@ var LWC = (function (exports) {
1195
1421
  elm,
1196
1422
  data: {
1197
1423
  style: newStyle
1198
- },
1199
- owner: {
1200
- renderer
1201
1424
  }
1202
1425
  } = vnode;
1203
- const {
1204
- setAttribute,
1205
- removeAttribute
1206
- } = renderer;
1207
1426
 
1208
1427
  if (oldVnode.data.style === newStyle) {
1209
1428
  return;
1210
1429
  }
1211
1430
 
1212
1431
  if (!isString(newStyle) || newStyle === '') {
1213
- removeAttribute(elm, 'style');
1432
+ removeAttribute$1(elm, 'style');
1214
1433
  } else {
1215
- setAttribute(elm, 'style', newStyle);
1434
+ setAttribute$1(elm, 'style', newStyle);
1216
1435
  }
1217
1436
  }
1218
1437
 
@@ -1237,9 +1456,6 @@ var LWC = (function (exports) {
1237
1456
  elm,
1238
1457
  data: {
1239
1458
  classMap
1240
- },
1241
- owner: {
1242
- renderer
1243
1459
  }
1244
1460
  } = vnode;
1245
1461
 
@@ -1247,7 +1463,7 @@ var LWC = (function (exports) {
1247
1463
  return;
1248
1464
  }
1249
1465
 
1250
- const classList = renderer.getClassList(elm);
1466
+ const classList = getClassList$1(elm);
1251
1467
 
1252
1468
  for (const name in classMap) {
1253
1469
  classList.add(name);
@@ -1271,9 +1487,6 @@ var LWC = (function (exports) {
1271
1487
  elm,
1272
1488
  data: {
1273
1489
  styleDecls
1274
- },
1275
- owner: {
1276
- renderer
1277
1490
  }
1278
1491
  } = vnode;
1279
1492
 
@@ -1283,7 +1496,7 @@ var LWC = (function (exports) {
1283
1496
 
1284
1497
  for (let i = 0; i < styleDecls.length; i++) {
1285
1498
  const [prop, value, important] = styleDecls[i];
1286
- renderer.setCSSStyleProperty(elm, prop, value, important);
1499
+ setCSSStyleProperty$1(elm, prop, value, important);
1287
1500
  }
1288
1501
  }
1289
1502
 
@@ -1297,15 +1510,6 @@ var LWC = (function (exports) {
1297
1510
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
1298
1511
  */
1299
1512
 
1300
- /**
1301
- @license
1302
- Copyright (c) 2015 Simon Friis Vindum.
1303
- This code may only be used under the MIT License found at
1304
- https://github.com/snabbdom/snabbdom/blob/master/LICENSE
1305
- Code distributed by Snabbdom as part of the Snabbdom project at
1306
- https://github.com/snabbdom/snabbdom/
1307
- */
1308
-
1309
1513
  function isUndef(s) {
1310
1514
  return s === undefined;
1311
1515
  }
@@ -1393,7 +1597,7 @@ var LWC = (function (exports) {
1393
1597
  } else if (sameVnode(oldStartVnode, newEndVnode)) {
1394
1598
  // Vnode moved right
1395
1599
  patchVnode(oldStartVnode, newEndVnode);
1396
- newEndVnode.hook.move(oldStartVnode, parentElm, oldEndVnode.owner.renderer.nextSibling(oldEndVnode.elm));
1600
+ newEndVnode.hook.move(oldStartVnode, parentElm, nextSibling$1(oldEndVnode.elm));
1397
1601
  oldStartVnode = oldCh[++oldStartIdx];
1398
1602
  newEndVnode = newCh[--newEndIdx];
1399
1603
  } else if (sameVnode(oldEndVnode, newStartVnode)) {
@@ -1875,7 +2079,7 @@ var LWC = (function (exports) {
1875
2079
  defineProperties(proto, getLightningElementPrototypeRestrictionsDescriptors(proto));
1876
2080
  }
1877
2081
  /*
1878
- * Copyright (c) 2020, salesforce.com, inc.
2082
+ * Copyright (c) 2018, salesforce.com, inc.
1879
2083
  * All rights reserved.
1880
2084
  * SPDX-License-Identifier: MIT
1881
2085
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
@@ -2795,9 +2999,7 @@ var LWC = (function (exports) {
2795
2999
 
2796
3000
 
2797
3001
  const LightningElement = function () {
2798
- var _a; // This should be as performant as possible, while any initialization should be done lazily
2799
-
2800
-
3002
+ // This should be as performant as possible, while any initialization should be done lazily
2801
3003
  if (isNull(vmBeingConstructed)) {
2802
3004
  throw new ReferenceError('Illegal constructor');
2803
3005
  }
@@ -2805,15 +3007,14 @@ var LWC = (function (exports) {
2805
3007
  const vm = vmBeingConstructed;
2806
3008
  const {
2807
3009
  def,
2808
- elm,
2809
- renderer
3010
+ elm
2810
3011
  } = vm;
2811
3012
  const {
2812
3013
  bridge
2813
3014
  } = def;
2814
3015
 
2815
3016
  if (process.env.NODE_ENV !== 'production') {
2816
- (_a = renderer.assertInstanceOfHTMLElement) === null || _a === void 0 ? void 0 : _a.call(renderer, vm.elm, `Component creation requires a DOM element to be associated to ${vm}.`);
3017
+ assertInstanceOfHTMLElement$1(vm.elm, `Component creation requires a DOM element to be associated to ${vm}.`);
2817
3018
  }
2818
3019
 
2819
3020
  const component = this;
@@ -2843,7 +3044,7 @@ var LWC = (function (exports) {
2843
3044
  if (vm.renderMode === 1
2844
3045
  /* Shadow */
2845
3046
  ) {
2846
- attachShadow(vm);
3047
+ doAttachShadow(vm);
2847
3048
  } // Adding extra guard rails in DEV mode.
2848
3049
 
2849
3050
 
@@ -2855,17 +3056,16 @@ var LWC = (function (exports) {
2855
3056
  return this;
2856
3057
  };
2857
3058
 
2858
- function attachShadow(vm) {
3059
+ function doAttachShadow(vm) {
2859
3060
  const {
2860
3061
  elm,
2861
3062
  mode,
2862
- renderer,
2863
3063
  shadowMode,
2864
3064
  def: {
2865
3065
  ctor
2866
3066
  }
2867
3067
  } = vm;
2868
- const cmpRoot = renderer.attachShadow(elm, {
3068
+ const cmpRoot = attachShadow$1(elm, {
2869
3069
  [KEY__SYNTHETIC_MODE]: shadowMode === 1
2870
3070
  /* Synthetic */
2871
3071
  ,
@@ -2892,21 +3092,15 @@ var LWC = (function (exports) {
2892
3092
 
2893
3093
  dispatchEvent(event) {
2894
3094
  const {
2895
- elm,
2896
- renderer: {
2897
- dispatchEvent
2898
- }
3095
+ elm
2899
3096
  } = getAssociatedVM(this);
2900
- return dispatchEvent(elm, event);
3097
+ return dispatchEvent$1(elm, event);
2901
3098
  },
2902
3099
 
2903
3100
  addEventListener(type, listener, options) {
2904
3101
  const vm = getAssociatedVM(this);
2905
3102
  const {
2906
- elm,
2907
- renderer: {
2908
- addEventListener
2909
- }
3103
+ elm
2910
3104
  } = vm;
2911
3105
 
2912
3106
  if (process.env.NODE_ENV !== 'production') {
@@ -2917,92 +3111,68 @@ var LWC = (function (exports) {
2917
3111
  }
2918
3112
 
2919
3113
  const wrappedListener = getWrappedComponentsListener(vm, listener);
2920
- addEventListener(elm, type, wrappedListener, options);
3114
+ addEventListener$1(elm, type, wrappedListener, options);
2921
3115
  },
2922
3116
 
2923
3117
  removeEventListener(type, listener, options) {
2924
3118
  const vm = getAssociatedVM(this);
2925
3119
  const {
2926
- elm,
2927
- renderer: {
2928
- removeEventListener
2929
- }
3120
+ elm
2930
3121
  } = vm;
2931
3122
  const wrappedListener = getWrappedComponentsListener(vm, listener);
2932
- removeEventListener(elm, type, wrappedListener, options);
3123
+ removeEventListener$1(elm, type, wrappedListener, options);
2933
3124
  },
2934
3125
 
2935
3126
  hasAttribute(name) {
2936
3127
  const {
2937
- elm,
2938
- renderer: {
2939
- getAttribute
2940
- }
3128
+ elm
2941
3129
  } = getAssociatedVM(this);
2942
- return !isNull(getAttribute(elm, name));
3130
+ return !isNull(getAttribute$1(elm, name));
2943
3131
  },
2944
3132
 
2945
3133
  hasAttributeNS(namespace, name) {
2946
3134
  const {
2947
- elm,
2948
- renderer: {
2949
- getAttribute
2950
- }
3135
+ elm
2951
3136
  } = getAssociatedVM(this);
2952
- return !isNull(getAttribute(elm, name, namespace));
3137
+ return !isNull(getAttribute$1(elm, name, namespace));
2953
3138
  },
2954
3139
 
2955
3140
  removeAttribute(name) {
2956
3141
  const {
2957
- elm,
2958
- renderer: {
2959
- removeAttribute
2960
- }
3142
+ elm
2961
3143
  } = getAssociatedVM(this);
2962
3144
  unlockAttribute(elm, name);
2963
- removeAttribute(elm, name);
3145
+ removeAttribute$1(elm, name);
2964
3146
  lockAttribute();
2965
3147
  },
2966
3148
 
2967
3149
  removeAttributeNS(namespace, name) {
2968
3150
  const {
2969
- elm,
2970
- renderer: {
2971
- removeAttribute
2972
- }
3151
+ elm
2973
3152
  } = getAssociatedVM(this);
2974
3153
  unlockAttribute(elm, name);
2975
- removeAttribute(elm, name, namespace);
3154
+ removeAttribute$1(elm, name, namespace);
2976
3155
  lockAttribute();
2977
3156
  },
2978
3157
 
2979
3158
  getAttribute(name) {
2980
3159
  const {
2981
- elm,
2982
- renderer: {
2983
- getAttribute
2984
- }
3160
+ elm
2985
3161
  } = getAssociatedVM(this);
2986
- return getAttribute(elm, name);
3162
+ return getAttribute$1(elm, name);
2987
3163
  },
2988
3164
 
2989
3165
  getAttributeNS(namespace, name) {
2990
3166
  const {
2991
- elm,
2992
- renderer: {
2993
- getAttribute
2994
- }
3167
+ elm
2995
3168
  } = getAssociatedVM(this);
2996
- return getAttribute(elm, name, namespace);
3169
+ return getAttribute$1(elm, name, namespace);
2997
3170
  },
2998
3171
 
2999
3172
  setAttribute(name, value) {
3000
3173
  const vm = getAssociatedVM(this);
3001
3174
  const {
3002
- elm,
3003
- renderer: {
3004
- setAttribute
3005
- }
3175
+ elm
3006
3176
  } = vm;
3007
3177
 
3008
3178
  if (process.env.NODE_ENV !== 'production') {
@@ -3010,17 +3180,14 @@ var LWC = (function (exports) {
3010
3180
  }
3011
3181
 
3012
3182
  unlockAttribute(elm, name);
3013
- setAttribute(elm, name, value);
3183
+ setAttribute$1(elm, name, value);
3014
3184
  lockAttribute();
3015
3185
  },
3016
3186
 
3017
3187
  setAttributeNS(namespace, name, value) {
3018
3188
  const vm = getAssociatedVM(this);
3019
3189
  const {
3020
- elm,
3021
- renderer: {
3022
- setAttribute
3023
- }
3190
+ elm
3024
3191
  } = vm;
3025
3192
 
3026
3193
  if (process.env.NODE_ENV !== 'production') {
@@ -3028,43 +3195,34 @@ var LWC = (function (exports) {
3028
3195
  }
3029
3196
 
3030
3197
  unlockAttribute(elm, name);
3031
- setAttribute(elm, name, value, namespace);
3198
+ setAttribute$1(elm, name, value, namespace);
3032
3199
  lockAttribute();
3033
3200
  },
3034
3201
 
3035
3202
  getBoundingClientRect() {
3036
3203
  const vm = getAssociatedVM(this);
3037
3204
  const {
3038
- elm,
3039
- renderer: {
3040
- getBoundingClientRect
3041
- }
3205
+ elm
3042
3206
  } = vm;
3043
3207
 
3044
3208
  if (process.env.NODE_ENV !== 'production') {
3045
3209
  warnIfInvokedDuringConstruction(vm, 'getBoundingClientRect()');
3046
3210
  }
3047
3211
 
3048
- return getBoundingClientRect(elm);
3212
+ return getBoundingClientRect$1(elm);
3049
3213
  },
3050
3214
 
3051
3215
  get isConnected() {
3052
3216
  const {
3053
- elm,
3054
- renderer: {
3055
- isConnected
3056
- }
3217
+ elm
3057
3218
  } = getAssociatedVM(this);
3058
- return isConnected(elm);
3219
+ return isConnected$1(elm);
3059
3220
  },
3060
3221
 
3061
3222
  get classList() {
3062
3223
  const vm = getAssociatedVM(this);
3063
3224
  const {
3064
- elm,
3065
- renderer: {
3066
- getClassList
3067
- }
3225
+ elm
3068
3226
  } = vm;
3069
3227
 
3070
3228
  if (process.env.NODE_ENV !== 'production') {
@@ -3073,7 +3231,7 @@ var LWC = (function (exports) {
3073
3231
  assert.isFalse(isBeingConstructed(vm), `Failed to construct ${vm}: The result must not have attributes. Adding or tampering with classname in constructor is not allowed in a web component, use connectedCallback() instead.`);
3074
3232
  }
3075
3233
 
3076
- return getClassList(elm);
3234
+ return getClassList$1(elm);
3077
3235
  },
3078
3236
 
3079
3237
  get template() {
@@ -3107,23 +3265,48 @@ var LWC = (function (exports) {
3107
3265
  }
3108
3266
 
3109
3267
  };
3110
- const queryAndChildGetterDescriptors = create(null);
3111
- const childGetters = [['children', 'getChildren'], ['childNodes', 'getChildNodes'], ['firstChild', 'getFirstChild'], ['firstElementChild', 'getFirstElementChild'], ['lastChild', 'getLastChild'], ['lastElementChild', 'getLastElementChild']]; // Generic passthrough for child getters on HTMLElement to the relevant Renderer APIs
3268
+ const queryAndChildGetterDescriptors = create(null); // The reason we don't just call `import * as renderer from '../renderer'` here is that the bundle size
3269
+ // is smaller if we reference each function individually. Otherwise Rollup will create one big frozen
3270
+ // object representing the renderer, with a lot of methods we don't actually need.
3271
+
3272
+ const childGetters = ['children', 'childNodes', 'firstChild', 'firstElementChild', 'lastChild', 'lastElementChild'];
3273
+
3274
+ function getChildGetter(methodName) {
3275
+ switch (methodName) {
3276
+ case 'children':
3277
+ return getChildren$1;
3278
+
3279
+ case 'childNodes':
3280
+ return getChildNodes$1;
3281
+
3282
+ case 'firstChild':
3283
+ return getFirstChild$1;
3284
+
3285
+ case 'firstElementChild':
3286
+ return getFirstElementChild$1;
3287
+
3288
+ case 'lastChild':
3289
+ return getLastChild$1;
3290
+
3291
+ case 'lastElementChild':
3292
+ return getLastElementChild$1;
3293
+ }
3294
+ } // Generic passthrough for child getters on HTMLElement to the relevant Renderer APIs
3295
+
3112
3296
 
3113
- for (const [elementProp, rendererMethod] of childGetters) {
3114
- queryAndChildGetterDescriptors[elementProp] = {
3297
+ for (const childGetter of childGetters) {
3298
+ queryAndChildGetterDescriptors[childGetter] = {
3115
3299
  get() {
3116
3300
  const vm = getAssociatedVM(this);
3117
3301
  const {
3118
- elm,
3119
- renderer
3302
+ elm
3120
3303
  } = vm;
3121
3304
 
3122
3305
  if (process.env.NODE_ENV !== 'production') {
3123
- warnIfInvokedDuringConstruction(vm, elementProp);
3306
+ warnIfInvokedDuringConstruction(vm, childGetter);
3124
3307
  }
3125
3308
 
3126
- return renderer[rendererMethod](elm);
3309
+ return getChildGetter(childGetter)(elm);
3127
3310
  },
3128
3311
 
3129
3312
  configurable: true,
@@ -3131,22 +3314,38 @@ var LWC = (function (exports) {
3131
3314
  };
3132
3315
  }
3133
3316
 
3134
- const queryMethods = ['getElementsByClassName', 'getElementsByTagName', 'querySelector', 'querySelectorAll']; // Generic passthrough for query APIs on HTMLElement to the relevant Renderer APIs
3317
+ const queryMethods = ['getElementsByClassName', 'getElementsByTagName', 'querySelector', 'querySelectorAll'];
3318
+
3319
+ function getQueryMethod(methodName) {
3320
+ switch (methodName) {
3321
+ case 'getElementsByClassName':
3322
+ return getElementsByClassName$1;
3323
+
3324
+ case 'getElementsByTagName':
3325
+ return getElementsByTagName$1;
3326
+
3327
+ case 'querySelector':
3328
+ return querySelector$1;
3329
+
3330
+ case 'querySelectorAll':
3331
+ return querySelectorAll$1;
3332
+ }
3333
+ } // Generic passthrough for query APIs on HTMLElement to the relevant Renderer APIs
3334
+
3135
3335
 
3136
3336
  for (const queryMethod of queryMethods) {
3137
3337
  queryAndChildGetterDescriptors[queryMethod] = {
3138
3338
  value(arg) {
3139
3339
  const vm = getAssociatedVM(this);
3140
3340
  const {
3141
- elm,
3142
- renderer
3341
+ elm
3143
3342
  } = vm;
3144
3343
 
3145
3344
  if (process.env.NODE_ENV !== 'production') {
3146
3345
  warnIfInvokedDuringConstruction(vm, `${queryMethod}()`);
3147
3346
  }
3148
3347
 
3149
- return renderer[queryMethod](elm, arg);
3348
+ return getQueryMethod(queryMethod)(elm, arg);
3150
3349
  },
3151
3350
 
3152
3351
  configurable: true,
@@ -4302,10 +4501,6 @@ var LWC = (function (exports) {
4302
4501
 
4303
4502
  assert.isTrue(Ctor.constructor, `Missing ${ctorName}.constructor, ${ctorName} should have a "constructor" property.`);
4304
4503
 
4305
- if (!runtimeFlags.ENABLE_MIXED_SHADOW_MODE) {
4306
- assert.isFalse('shadowSupportMode' in Ctor, `${ctorName || 'Anonymous class'} is an invalid LWC component. The shadowSupportMode static property is not available in this environment.`);
4307
- }
4308
-
4309
4504
  if (!isUndefined$1(ctorShadowSupportMode)) {
4310
4505
  assert.invariant(ctorShadowSupportMode === "any"
4311
4506
  /* Any */
@@ -4549,17 +4744,14 @@ var LWC = (function (exports) {
4549
4744
  const token = cmpTemplate === null || cmpTemplate === void 0 ? void 0 : cmpTemplate.stylesheetToken;
4550
4745
 
4551
4746
  if (!isUndefined$1(token) && context.hasScopedStyles) {
4552
- owner.renderer.getClassList(elm).add(token);
4747
+ getClassList$1(elm).add(token);
4553
4748
  }
4554
4749
  }
4555
4750
 
4556
4751
  function updateNodeHook(oldVnode, vnode) {
4557
4752
  const {
4558
4753
  elm,
4559
- text,
4560
- owner: {
4561
- renderer
4562
- }
4754
+ text
4563
4755
  } = vnode;
4564
4756
 
4565
4757
  if (oldVnode.text !== text) {
@@ -4567,7 +4759,7 @@ var LWC = (function (exports) {
4567
4759
  unlockDomMutation();
4568
4760
  }
4569
4761
 
4570
- renderer.setText(elm, text);
4762
+ setText$1(elm, text);
4571
4763
 
4572
4764
  if (process.env.NODE_ENV !== 'production') {
4573
4765
  lockDomMutation();
@@ -4576,15 +4768,11 @@ var LWC = (function (exports) {
4576
4768
  }
4577
4769
 
4578
4770
  function insertNodeHook(vnode, parentNode, referenceNode) {
4579
- const {
4580
- renderer
4581
- } = vnode.owner;
4582
-
4583
4771
  if (process.env.NODE_ENV !== 'production') {
4584
4772
  unlockDomMutation();
4585
4773
  }
4586
4774
 
4587
- renderer.insert(vnode.elm, parentNode, referenceNode);
4775
+ insert$1(vnode.elm, parentNode, referenceNode);
4588
4776
 
4589
4777
  if (process.env.NODE_ENV !== 'production') {
4590
4778
  lockDomMutation();
@@ -4592,15 +4780,11 @@ var LWC = (function (exports) {
4592
4780
  }
4593
4781
 
4594
4782
  function removeNodeHook(vnode, parentNode) {
4595
- const {
4596
- renderer
4597
- } = vnode.owner;
4598
-
4599
4783
  if (process.env.NODE_ENV !== 'production') {
4600
4784
  unlockDomMutation();
4601
4785
  }
4602
4786
 
4603
- renderer.remove(vnode.elm, parentNode);
4787
+ remove$1(vnode.elm, parentNode);
4604
4788
 
4605
4789
  if (process.env.NODE_ENV !== 'production') {
4606
4790
  lockDomMutation();
@@ -4692,13 +4876,15 @@ var LWC = (function (exports) {
4692
4876
 
4693
4877
  function updateChildrenHook(oldVnode, vnode) {
4694
4878
  const {
4695
- children,
4696
- owner
4879
+ elm,
4880
+ children
4697
4881
  } = vnode;
4698
- const fn = hasDynamicChildren(children) ? updateDynamicChildren : updateStaticChildren;
4699
- runWithBoundaryProtection(owner, owner.owner, noop, () => {
4700
- fn(vnode.elm, oldVnode.children, children);
4701
- }, noop);
4882
+
4883
+ if (hasDynamicChildren(children)) {
4884
+ updateDynamicChildren(elm, oldVnode.children, children);
4885
+ } else {
4886
+ updateStaticChildren(elm, oldVnode.children, children);
4887
+ }
4702
4888
  }
4703
4889
 
4704
4890
  function allocateChildrenHook(vnode, vm) {
@@ -4764,8 +4950,7 @@ var LWC = (function (exports) {
4764
4950
  createVM(elm, def, {
4765
4951
  mode,
4766
4952
  owner,
4767
- tagName: sel,
4768
- renderer: owner.renderer
4953
+ tagName: sel
4769
4954
  });
4770
4955
 
4771
4956
  if (process.env.NODE_ENV !== 'production') {
@@ -4811,16 +4996,13 @@ var LWC = (function (exports) {
4811
4996
  const {
4812
4997
  data: {
4813
4998
  attrs = {}
4814
- },
4815
- owner: {
4816
- renderer
4817
4999
  }
4818
5000
  } = vnode;
4819
5001
  let nodesAreCompatible = true; // Validate attributes, though we could always recovery from those by running the update mods.
4820
5002
  // Note: intentionally ONLY matching vnodes.attrs to elm.attrs, in case SSR is adding extra attributes.
4821
5003
 
4822
5004
  for (const [attrName, attrValue] of Object.entries(attrs)) {
4823
- const elmAttrValue = renderer.getAttribute(elm, attrName);
5005
+ const elmAttrValue = getAttribute$1(elm, attrName);
4824
5006
 
4825
5007
  if (String(attrValue) !== elmAttrValue) {
4826
5008
  logError(`Mismatch hydrating element <${elm.tagName.toLowerCase()}>: attribute "${attrName}" has different values, expected "${attrValue}" but found "${elmAttrValue}"`, vnode.owner);
@@ -4836,9 +5018,6 @@ var LWC = (function (exports) {
4836
5018
  data: {
4837
5019
  className,
4838
5020
  classMap
4839
- },
4840
- owner: {
4841
- renderer
4842
5021
  }
4843
5022
  } = vnode;
4844
5023
  let nodesAreCompatible = true;
@@ -4850,7 +5029,7 @@ var LWC = (function (exports) {
4850
5029
  vnodeClassName = className;
4851
5030
  } else if (!isUndefined$1(classMap)) {
4852
5031
  // classMap is used when class is set to static value.
4853
- const classList = renderer.getClassList(elm);
5032
+ const classList = getClassList$1(elm);
4854
5033
  let computedClassName = ''; // all classes from the vnode should be in the element.classList
4855
5034
 
4856
5035
  for (const name in classMap) {
@@ -4880,12 +5059,9 @@ var LWC = (function (exports) {
4880
5059
  data: {
4881
5060
  style,
4882
5061
  styleDecls
4883
- },
4884
- owner: {
4885
- renderer
4886
5062
  }
4887
5063
  } = vnode;
4888
- const elmStyle = renderer.getAttribute(elm, 'style') || '';
5064
+ const elmStyle = getAttribute$1(elm, 'style') || '';
4889
5065
  let vnodeStyle;
4890
5066
  let nodesAreCompatible = true;
4891
5067
 
@@ -5022,12 +5198,12 @@ var LWC = (function (exports) {
5022
5198
  */
5023
5199
 
5024
5200
 
5025
- function getUpgradableConstructor(tagName, renderer) {
5201
+ function getUpgradableConstructor(tagName) {
5026
5202
  // Should never get a tag with upper case letter at this point, the compiler should
5027
5203
  // produce only tags with lowercase letters
5028
5204
  // But, for backwards compatibility, we will lower case the tagName
5029
5205
  tagName = tagName.toLowerCase();
5030
- let CE = renderer.getCustomElement(tagName);
5206
+ let CE = getCustomElement$1(tagName);
5031
5207
 
5032
5208
  if (!isUndefined$1(CE)) {
5033
5209
  return CE;
@@ -5038,7 +5214,7 @@ var LWC = (function (exports) {
5038
5214
  */
5039
5215
 
5040
5216
 
5041
- CE = class LWCUpgradableElement extends renderer.HTMLElement {
5217
+ CE = class LWCUpgradableElement extends HTMLElementExported$1 {
5042
5218
  constructor(upgradeCallback) {
5043
5219
  super();
5044
5220
 
@@ -5048,7 +5224,7 @@ var LWC = (function (exports) {
5048
5224
  }
5049
5225
 
5050
5226
  };
5051
- renderer.defineCustomElement(tagName, CE);
5227
+ defineCustomElement$1(tagName, CE);
5052
5228
  return CE;
5053
5229
  }
5054
5230
  /*
@@ -5066,10 +5242,7 @@ var LWC = (function (exports) {
5066
5242
  const {
5067
5243
  owner
5068
5244
  } = vnode;
5069
- const {
5070
- renderer
5071
- } = owner;
5072
- const elm = renderer.createText(vnode.text);
5245
+ const elm = createText$1(vnode.text);
5073
5246
  linkNodeToShadow(elm, owner);
5074
5247
  vnode.elm = elm;
5075
5248
  },
@@ -5103,10 +5276,7 @@ var LWC = (function (exports) {
5103
5276
  owner,
5104
5277
  text
5105
5278
  } = vnode;
5106
- const {
5107
- renderer
5108
- } = owner;
5109
- const elm = renderer.createComment(text);
5279
+ const elm = createComment$1(text);
5110
5280
  linkNodeToShadow(elm, owner);
5111
5281
  vnode.elm = elm;
5112
5282
  },
@@ -5148,11 +5318,8 @@ var LWC = (function (exports) {
5148
5318
  svg
5149
5319
  }
5150
5320
  } = vnode;
5151
- const {
5152
- renderer
5153
- } = owner;
5154
5321
  const namespace = isTrue(svg) ? SVG_NAMESPACE : undefined;
5155
- const elm = renderer.createElement(sel, namespace);
5322
+ const elm = createElement$2(sel, namespace);
5156
5323
  linkNodeToShadow(elm, owner);
5157
5324
  fallbackElmHook(elm, vnode);
5158
5325
  vnode.elm = elm;
@@ -5212,10 +5379,7 @@ var LWC = (function (exports) {
5212
5379
  sel,
5213
5380
  owner
5214
5381
  } = vnode;
5215
- const {
5216
- renderer
5217
- } = owner;
5218
- const UpgradableConstructor = getUpgradableConstructor(sel, renderer);
5382
+ const UpgradableConstructor = getUpgradableConstructor(sel);
5219
5383
  /**
5220
5384
  * Note: if the upgradable constructor does not expect, or throw when we new it
5221
5385
  * with a callback as the first argument, we could implement a more advanced
@@ -5308,8 +5472,7 @@ var LWC = (function (exports) {
5308
5472
  createVM(elm, def, {
5309
5473
  mode,
5310
5474
  owner,
5311
- tagName: sel,
5312
- renderer: owner.renderer
5475
+ tagName: sel
5313
5476
  });
5314
5477
  vnode.elm = elm;
5315
5478
  const vm = getAssociatedVM(elm);
@@ -5338,12 +5501,11 @@ var LWC = (function (exports) {
5338
5501
 
5339
5502
  function linkNodeToShadow(elm, owner) {
5340
5503
  const {
5341
- renderer,
5342
5504
  renderMode,
5343
5505
  shadowMode
5344
5506
  } = owner; // TODO [#1164]: this should eventually be done by the polyfill directly
5345
5507
 
5346
- if (renderer.isSyntheticShadowDefined) {
5508
+ if (isSyntheticShadowDefined$1) {
5347
5509
  if (shadowMode === 1
5348
5510
  /* Synthetic */
5349
5511
  || renderMode === 0
@@ -5875,7 +6037,6 @@ var LWC = (function (exports) {
5875
6037
  const {
5876
6038
  elm,
5877
6039
  context,
5878
- renderer,
5879
6040
  renderMode,
5880
6041
  shadowMode
5881
6042
  } = vm;
@@ -5902,11 +6063,11 @@ var LWC = (function (exports) {
5902
6063
  } = context;
5903
6064
 
5904
6065
  if (oldHasTokenInClass) {
5905
- renderer.getClassList(elm).remove(makeHostToken(oldToken));
6066
+ getClassList$1(elm).remove(makeHostToken(oldToken));
5906
6067
  }
5907
6068
 
5908
6069
  if (oldHasTokenInAttribute) {
5909
- renderer.removeAttribute(elm, makeHostToken(oldToken));
6070
+ removeAttribute$1(elm, makeHostToken(oldToken));
5910
6071
  } // Apply the new template styling token to the host element, if the new template has any
5911
6072
  // associated stylesheets. In the case of light DOM, also ensure there is at least one scoped stylesheet.
5912
6073
 
@@ -5918,12 +6079,12 @@ var LWC = (function (exports) {
5918
6079
 
5919
6080
  if (!isUndefined$1(newToken)) {
5920
6081
  if (hasScopedStyles) {
5921
- renderer.getClassList(elm).add(makeHostToken(newToken));
6082
+ getClassList$1(elm).add(makeHostToken(newToken));
5922
6083
  newHasTokenInClass = true;
5923
6084
  }
5924
6085
 
5925
6086
  if (isSyntheticShadow) {
5926
- renderer.setAttribute(elm, makeHostToken(newToken), '');
6087
+ setAttribute$1(elm, makeHostToken(newToken), '');
5927
6088
  newHasTokenInAttribute = true;
5928
6089
  }
5929
6090
  } // Update the styling tokens present on the context object.
@@ -6044,7 +6205,6 @@ var LWC = (function (exports) {
6044
6205
 
6045
6206
  function createStylesheet(vm, stylesheets) {
6046
6207
  const {
6047
- renderer,
6048
6208
  renderMode,
6049
6209
  shadowMode
6050
6210
  } = vm;
@@ -6055,9 +6215,9 @@ var LWC = (function (exports) {
6055
6215
  /* Synthetic */
6056
6216
  ) {
6057
6217
  for (let i = 0; i < stylesheets.length; i++) {
6058
- renderer.insertGlobalStylesheet(stylesheets[i]);
6218
+ insertGlobalStylesheet$1(stylesheets[i]);
6059
6219
  }
6060
- } else if (renderer.ssr || renderer.isHydrating()) {
6220
+ } else if (ssr$1 || isHydrating$1()) {
6061
6221
  // Note: We need to ensure that during hydration, the stylesheets method is the same as those in ssr.
6062
6222
  // This works in the client, because the stylesheets are created, and cached in the VM
6063
6223
  // the first time the VM renders.
@@ -6071,10 +6231,10 @@ var LWC = (function (exports) {
6071
6231
 
6072
6232
  for (let i = 0; i < stylesheets.length; i++) {
6073
6233
  if (isGlobal) {
6074
- renderer.insertGlobalStylesheet(stylesheets[i]);
6234
+ insertGlobalStylesheet$1(stylesheets[i]);
6075
6235
  } else {
6076
6236
  // local level
6077
- renderer.insertStylesheet(stylesheets[i], root.cmpRoot);
6237
+ insertStylesheet$1(stylesheets[i], root.cmpRoot);
6078
6238
  }
6079
6239
  }
6080
6240
  }
@@ -6159,7 +6319,7 @@ var LWC = (function (exports) {
6159
6319
  if (isProfilerEnabled) {
6160
6320
  currentDispatcher(opId, 0
6161
6321
  /* Start */
6162
- , vm.tagName, vm.idx);
6322
+ , vm.tagName, vm.idx, vm.renderMode, vm.shadowMode);
6163
6323
  }
6164
6324
  }
6165
6325
 
@@ -6173,7 +6333,7 @@ var LWC = (function (exports) {
6173
6333
  if (isProfilerEnabled) {
6174
6334
  currentDispatcher(opId, 1
6175
6335
  /* Stop */
6176
- , vm.tagName, vm.idx);
6336
+ , vm.tagName, vm.idx, vm.renderMode, vm.shadowMode);
6177
6337
  }
6178
6338
  }
6179
6339
 
@@ -6187,7 +6347,7 @@ var LWC = (function (exports) {
6187
6347
  if (isProfilerEnabled) {
6188
6348
  currentDispatcher(opId, 0
6189
6349
  /* Start */
6190
- , vm === null || vm === void 0 ? void 0 : vm.tagName, vm === null || vm === void 0 ? void 0 : vm.idx);
6350
+ , 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);
6191
6351
  }
6192
6352
  }
6193
6353
 
@@ -6201,7 +6361,7 @@ var LWC = (function (exports) {
6201
6361
  if (isProfilerEnabled) {
6202
6362
  currentDispatcher(opId, 1
6203
6363
  /* Stop */
6204
- , vm === null || vm === void 0 ? void 0 : vm.tagName, vm === null || vm === void 0 ? void 0 : vm.idx);
6364
+ , 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);
6205
6365
  }
6206
6366
  }
6207
6367
  /*
@@ -6766,7 +6926,6 @@ var LWC = (function (exports) {
6766
6926
  const {
6767
6927
  mode,
6768
6928
  owner,
6769
- renderer,
6770
6929
  tagName
6771
6930
  } = options;
6772
6931
  const vm = {
@@ -6781,7 +6940,6 @@ var LWC = (function (exports) {
6781
6940
  tagName,
6782
6941
  mode,
6783
6942
  owner,
6784
- renderer,
6785
6943
  children: EmptyArray,
6786
6944
  aChildren: EmptyArray,
6787
6945
  velements: EmptyArray,
@@ -6836,16 +6994,11 @@ var LWC = (function (exports) {
6836
6994
 
6837
6995
  function computeShadowMode(vm) {
6838
6996
  const {
6839
- def,
6840
- renderer
6997
+ def
6841
6998
  } = vm;
6842
- const {
6843
- isNativeShadowDefined,
6844
- isSyntheticShadowDefined
6845
- } = renderer;
6846
6999
  let shadowMode;
6847
7000
 
6848
- if (isSyntheticShadowDefined) {
7001
+ if (isSyntheticShadowDefined$1) {
6849
7002
  if (def.renderMode === 0
6850
7003
  /* Light */
6851
7004
  ) {
@@ -6854,7 +7007,7 @@ var LWC = (function (exports) {
6854
7007
  shadowMode = 0
6855
7008
  /* Native */
6856
7009
  ;
6857
- } else if (isNativeShadowDefined) {
7010
+ } else if (isNativeShadowDefined$1) {
6858
7011
  if (def.shadowSupportMode === "any"
6859
7012
  /* Any */
6860
7013
  ) {
@@ -6994,13 +7147,12 @@ var LWC = (function (exports) {
6994
7147
 
6995
7148
  function runRenderedCallback(vm) {
6996
7149
  const {
6997
- renderer,
6998
7150
  def: {
6999
7151
  renderedCallback
7000
7152
  }
7001
7153
  } = vm;
7002
7154
 
7003
- if (isTrue(renderer.ssr)) {
7155
+ if (isTrue(ssr$1)) {
7004
7156
  return;
7005
7157
  }
7006
7158
 
@@ -7226,8 +7378,7 @@ var LWC = (function (exports) {
7226
7378
 
7227
7379
  function resetComponentRoot(vm) {
7228
7380
  const {
7229
- children,
7230
- renderer
7381
+ children
7231
7382
  } = vm;
7232
7383
  const rootNode = getRenderRoot(vm);
7233
7384
 
@@ -7235,7 +7386,7 @@ var LWC = (function (exports) {
7235
7386
  const child = children[i];
7236
7387
 
7237
7388
  if (!isNull(child) && !isUndefined$1(child.elm)) {
7238
- renderer.remove(child.elm, rootNode);
7389
+ remove$1(child.elm, rootNode);
7239
7390
  }
7240
7391
  }
7241
7392
 
@@ -7245,7 +7396,7 @@ var LWC = (function (exports) {
7245
7396
  }
7246
7397
 
7247
7398
  function scheduleRehydration(vm) {
7248
- if (isTrue(vm.renderer.ssr) || isTrue(vm.isScheduled)) {
7399
+ if (isTrue(ssr$1) || isTrue(vm.isScheduled)) {
7249
7400
  return;
7250
7401
  }
7251
7402
 
@@ -7490,7 +7641,6 @@ var LWC = (function (exports) {
7490
7641
 
7491
7642
  const {
7492
7643
  elm,
7493
- renderer,
7494
7644
  context: {
7495
7645
  wiredConnecting,
7496
7646
  wiredDisconnecting
@@ -7517,7 +7667,7 @@ var LWC = (function (exports) {
7517
7667
  }
7518
7668
 
7519
7669
  });
7520
- renderer.dispatchEvent(elm, contextRegistrationEvent);
7670
+ dispatchEvent$1(elm, contextRegistrationEvent);
7521
7671
  });
7522
7672
  }
7523
7673
 
@@ -7782,7 +7932,7 @@ var LWC = (function (exports) {
7782
7932
  hooksAreSet = true;
7783
7933
  setSanitizeHtmlContentHook(hooks.sanitizeHtmlContent);
7784
7934
  }
7785
- /* version: 2.6.1 */
7935
+ /* version: 2.7.2 */
7786
7936
 
7787
7937
  /*
7788
7938
  * Copyright (c) 2018, salesforce.com, inc.
@@ -7811,7 +7961,9 @@ var LWC = (function (exports) {
7811
7961
  const styleElements = create(null);
7812
7962
  const styleSheets = create(null);
7813
7963
  const nodesToStyleSheets = new WeakMap();
7814
- let getCustomElement, defineCustomElement, HTMLElementConstructor;
7964
+ let getCustomElement;
7965
+ let defineCustomElement;
7966
+ let HTMLElementConstructor;
7815
7967
 
7816
7968
  function isCustomElementRegistryAvailable() {
7817
7969
  if (typeof customElements === 'undefined') {
@@ -7926,188 +8078,231 @@ var LWC = (function (exports) {
7926
8078
  HTMLElementConstructor.prototype = HTMLElement.prototype;
7927
8079
  }
7928
8080
 
7929
- let isHydrating = false;
8081
+ let hydrating = false;
7930
8082
 
7931
- function setIsHydrating(v) {
7932
- isHydrating = v;
8083
+ function setIsHydrating(value) {
8084
+ hydrating = value;
7933
8085
  }
7934
8086
 
7935
- const renderer = {
7936
- ssr: false,
8087
+ const ssr = false;
7937
8088
 
7938
- isHydrating() {
7939
- return isHydrating;
7940
- },
8089
+ function isHydrating() {
8090
+ return hydrating;
8091
+ }
7941
8092
 
7942
- isNativeShadowDefined: _globalThis[KEY__IS_NATIVE_SHADOW_ROOT_DEFINED],
7943
- isSyntheticShadowDefined: hasOwnProperty$1.call(Element.prototype, KEY__SHADOW_TOKEN),
8093
+ const isNativeShadowDefined = _globalThis[KEY__IS_NATIVE_SHADOW_ROOT_DEFINED];
8094
+ const isSyntheticShadowDefined = hasOwnProperty$1.call(Element.prototype, KEY__SHADOW_TOKEN);
7944
8095
 
7945
- createElement(tagName, namespace) {
7946
- return isUndefined$1(namespace) ? document.createElement(tagName) : document.createElementNS(namespace, tagName);
7947
- },
8096
+ function createElement$1(tagName, namespace) {
8097
+ return isUndefined$1(namespace) ? document.createElement(tagName) : document.createElementNS(namespace, tagName);
8098
+ }
7948
8099
 
7949
- createText(content) {
7950
- return document.createTextNode(content);
7951
- },
8100
+ function createText(content) {
8101
+ return document.createTextNode(content);
8102
+ }
7952
8103
 
7953
- createComment(content) {
7954
- return document.createComment(content);
7955
- },
8104
+ function createComment(content) {
8105
+ return document.createComment(content);
8106
+ }
7956
8107
 
7957
- insert(node, parent, anchor) {
7958
- parent.insertBefore(node, anchor);
7959
- },
8108
+ function insert(node, parent, anchor) {
8109
+ parent.insertBefore(node, anchor);
8110
+ }
7960
8111
 
7961
- remove(node, parent) {
7962
- parent.removeChild(node);
7963
- },
8112
+ function remove(node, parent) {
8113
+ parent.removeChild(node);
8114
+ }
7964
8115
 
7965
- nextSibling(node) {
7966
- return node.nextSibling;
7967
- },
8116
+ function nextSibling(node) {
8117
+ return node.nextSibling;
8118
+ }
7968
8119
 
7969
- attachShadow(element, options) {
7970
- if (isHydrating) {
7971
- return element.shadowRoot;
7972
- }
8120
+ function attachShadow(element, options) {
8121
+ if (hydrating) {
8122
+ return element.shadowRoot;
8123
+ }
7973
8124
 
7974
- return element.attachShadow(options);
7975
- },
8125
+ return element.attachShadow(options);
8126
+ }
7976
8127
 
7977
- setText(node, content) {
7978
- node.nodeValue = content;
7979
- },
8128
+ function setText(node, content) {
8129
+ node.nodeValue = content;
8130
+ }
7980
8131
 
7981
- getProperty(node, key) {
7982
- return node[key];
7983
- },
8132
+ function getProperty(node, key) {
8133
+ return node[key];
8134
+ }
7984
8135
 
7985
- setProperty(node, key, value) {
7986
- if (process.env.NODE_ENV !== 'production') {
7987
- if (node instanceof Element && !(key in node)) {
7988
- // TODO [#1297]: Move this validation to the compiler
7989
- assert.fail(`Unknown public property "${key}" of element <${node.tagName}>. This is likely a typo on the corresponding attribute "${htmlPropertyToAttribute(key)}".`);
7990
- }
8136
+ function setProperty(node, key, value) {
8137
+ if (process.env.NODE_ENV !== 'production') {
8138
+ if (node instanceof Element && !(key in node)) {
8139
+ // TODO [#1297]: Move this validation to the compiler
8140
+ assert.fail(`Unknown public property "${key}" of element <${node.tagName}>. This is likely a typo on the corresponding attribute "${htmlPropertyToAttribute(key)}".`);
7991
8141
  }
8142
+ }
7992
8143
 
7993
- node[key] = value;
7994
- },
8144
+ node[key] = value;
8145
+ }
7995
8146
 
7996
- getAttribute(element, name, namespace) {
7997
- return isUndefined$1(namespace) ? element.getAttribute(name) : element.getAttributeNS(namespace, name);
7998
- },
8147
+ function getAttribute(element, name, namespace) {
8148
+ return isUndefined$1(namespace) ? element.getAttribute(name) : element.getAttributeNS(namespace, name);
8149
+ }
7999
8150
 
8000
- setAttribute(element, name, value, namespace) {
8001
- return isUndefined$1(namespace) ? element.setAttribute(name, value) : element.setAttributeNS(namespace, name, value);
8002
- },
8151
+ function setAttribute(element, name, value, namespace) {
8152
+ return isUndefined$1(namespace) ? element.setAttribute(name, value) : element.setAttributeNS(namespace, name, value);
8153
+ }
8003
8154
 
8004
- removeAttribute(element, name, namespace) {
8005
- if (isUndefined$1(namespace)) {
8006
- element.removeAttribute(name);
8007
- } else {
8008
- element.removeAttributeNS(namespace, name);
8009
- }
8010
- },
8155
+ function removeAttribute(element, name, namespace) {
8156
+ if (isUndefined$1(namespace)) {
8157
+ element.removeAttribute(name);
8158
+ } else {
8159
+ element.removeAttributeNS(namespace, name);
8160
+ }
8161
+ }
8011
8162
 
8012
- addEventListener(target, type, callback, options) {
8013
- target.addEventListener(type, callback, options);
8014
- },
8163
+ function addEventListener(target, type, callback, options) {
8164
+ target.addEventListener(type, callback, options);
8165
+ }
8015
8166
 
8016
- removeEventListener(target, type, callback, options) {
8017
- target.removeEventListener(type, callback, options);
8018
- },
8167
+ function removeEventListener(target, type, callback, options) {
8168
+ target.removeEventListener(type, callback, options);
8169
+ }
8019
8170
 
8020
- dispatchEvent(target, event) {
8021
- return target.dispatchEvent(event);
8022
- },
8171
+ function dispatchEvent(target, event) {
8172
+ return target.dispatchEvent(event);
8173
+ }
8023
8174
 
8024
- getClassList(element) {
8025
- return element.classList;
8026
- },
8175
+ function getClassList(element) {
8176
+ return element.classList;
8177
+ }
8027
8178
 
8028
- setCSSStyleProperty(element, name, value, important) {
8029
- // TODO [#0]: How to avoid this type casting? Shall we use a different type interface to
8030
- // represent elements in the engine?
8031
- element.style.setProperty(name, value, important ? 'important' : '');
8032
- },
8179
+ function setCSSStyleProperty(element, name, value, important) {
8180
+ // TODO [#0]: How to avoid this type casting? Shall we use a different type interface to
8181
+ // represent elements in the engine?
8182
+ element.style.setProperty(name, value, important ? 'important' : '');
8183
+ }
8033
8184
 
8034
- getBoundingClientRect(element) {
8035
- return element.getBoundingClientRect();
8036
- },
8185
+ function getBoundingClientRect(element) {
8186
+ return element.getBoundingClientRect();
8187
+ }
8037
8188
 
8038
- querySelector(element, selectors) {
8039
- return element.querySelector(selectors);
8040
- },
8189
+ function querySelector(element, selectors) {
8190
+ return element.querySelector(selectors);
8191
+ }
8041
8192
 
8042
- querySelectorAll(element, selectors) {
8043
- return element.querySelectorAll(selectors);
8044
- },
8193
+ function querySelectorAll(element, selectors) {
8194
+ return element.querySelectorAll(selectors);
8195
+ }
8045
8196
 
8046
- getElementsByTagName(element, tagNameOrWildCard) {
8047
- return element.getElementsByTagName(tagNameOrWildCard);
8048
- },
8197
+ function getElementsByTagName(element, tagNameOrWildCard) {
8198
+ return element.getElementsByTagName(tagNameOrWildCard);
8199
+ }
8049
8200
 
8050
- getElementsByClassName(element, names) {
8051
- return element.getElementsByClassName(names);
8052
- },
8201
+ function getElementsByClassName(element, names) {
8202
+ return element.getElementsByClassName(names);
8203
+ }
8053
8204
 
8054
- getChildren(element) {
8055
- return element.children;
8056
- },
8205
+ function getChildren(element) {
8206
+ return element.children;
8207
+ }
8057
8208
 
8058
- getChildNodes(element) {
8059
- return element.childNodes;
8060
- },
8209
+ function getChildNodes(element) {
8210
+ return element.childNodes;
8211
+ }
8061
8212
 
8062
- getFirstChild(element) {
8063
- return element.firstChild;
8064
- },
8213
+ function getFirstChild(element) {
8214
+ return element.firstChild;
8215
+ }
8065
8216
 
8066
- getFirstElementChild(element) {
8067
- return element.firstElementChild;
8068
- },
8217
+ function getFirstElementChild(element) {
8218
+ return element.firstElementChild;
8219
+ }
8069
8220
 
8070
- getLastChild(element) {
8071
- return element.lastChild;
8072
- },
8221
+ function getLastChild(element) {
8222
+ return element.lastChild;
8223
+ }
8073
8224
 
8074
- getLastElementChild(element) {
8075
- return element.lastElementChild;
8076
- },
8225
+ function getLastElementChild(element) {
8226
+ return element.lastElementChild;
8227
+ }
8077
8228
 
8078
- isConnected(node) {
8079
- return node.isConnected;
8080
- },
8229
+ function isConnected(node) {
8230
+ return node.isConnected;
8231
+ }
8081
8232
 
8082
- insertGlobalStylesheet(content) {
8083
- if (!isUndefined$1(globalStylesheets[content])) {
8084
- return;
8085
- }
8233
+ function insertGlobalStylesheet(content) {
8234
+ if (!isUndefined$1(globalStylesheets[content])) {
8235
+ return;
8236
+ }
8086
8237
 
8087
- globalStylesheets[content] = true;
8088
- const elm = document.createElement('style');
8089
- elm.type = 'text/css';
8090
- elm.textContent = content;
8091
- globalStylesheetsParentElement.appendChild(elm);
8092
- },
8238
+ globalStylesheets[content] = true;
8239
+ const elm = document.createElement('style');
8240
+ elm.type = 'text/css';
8241
+ elm.textContent = content;
8242
+ globalStylesheetsParentElement.appendChild(elm);
8243
+ }
8093
8244
 
8094
- insertStylesheet(content, target) {
8095
- if (supportsConstructableStyleSheets) {
8096
- insertConstructableStyleSheet(content, target);
8097
- } else {
8098
- // Fall back to <style> element
8099
- insertStyleElement(content, target);
8100
- }
8101
- },
8245
+ function insertStylesheet(content, target) {
8246
+ if (supportsConstructableStyleSheets) {
8247
+ insertConstructableStyleSheet(content, target);
8248
+ } else {
8249
+ // Fall back to <style> element
8250
+ insertStyleElement(content, target);
8251
+ }
8252
+ }
8102
8253
 
8103
- assertInstanceOfHTMLElement(elm, msg) {
8104
- assert.invariant(elm instanceof HTMLElement, msg);
8105
- },
8254
+ function assertInstanceOfHTMLElement(elm, msg) {
8255
+ assert.invariant(elm instanceof HTMLElement, msg);
8256
+ }
8106
8257
 
8107
- defineCustomElement,
8108
- getCustomElement,
8109
- HTMLElement: HTMLElementConstructor
8110
- };
8258
+ const HTMLElementExported = HTMLElementConstructor;
8259
+ /*
8260
+ * Copyright (c) 2020, salesforce.com, inc.
8261
+ * All rights reserved.
8262
+ * SPDX-License-Identifier: MIT
8263
+ * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
8264
+ */
8265
+
8266
+ setAssertInstanceOfHTMLElement(assertInstanceOfHTMLElement);
8267
+ setAttachShadow(attachShadow);
8268
+ setCreateComment(createComment);
8269
+ setCreateElement(createElement$1);
8270
+ setCreateText(createText);
8271
+ setDefineCustomElement(defineCustomElement);
8272
+ setDispatchEvent(dispatchEvent);
8273
+ setGetAttribute(getAttribute);
8274
+ setGetBoundingClientRect(getBoundingClientRect);
8275
+ setGetChildNodes(getChildNodes);
8276
+ setGetChildren(getChildren);
8277
+ setGetClassList(getClassList);
8278
+ setGetCustomElement(getCustomElement);
8279
+ setGetElementsByClassName(getElementsByClassName);
8280
+ setGetElementsByTagName(getElementsByTagName);
8281
+ setGetFirstChild(getFirstChild);
8282
+ setGetFirstElementChild(getFirstElementChild);
8283
+ setGetLastChild(getLastChild);
8284
+ setGetLastElementChild(getLastElementChild);
8285
+ setGetProperty(getProperty);
8286
+ setHTMLElement(HTMLElementExported);
8287
+ setInsert(insert);
8288
+ setInsertGlobalStylesheet(insertGlobalStylesheet);
8289
+ setInsertStylesheet(insertStylesheet);
8290
+ setIsConnected(isConnected);
8291
+ setIsHydrating$1(isHydrating);
8292
+ setIsNativeShadowDefined(isNativeShadowDefined);
8293
+ setIsSyntheticShadowDefined(isSyntheticShadowDefined);
8294
+ setNextSibling(nextSibling);
8295
+ setQuerySelector(querySelector);
8296
+ setQuerySelectorAll(querySelectorAll);
8297
+ setRemove(remove);
8298
+ setRemoveAttribute(removeAttribute);
8299
+ setRemoveEventListener(removeEventListener);
8300
+ setSetAttribute(setAttribute);
8301
+ setSetCSSStyleProperty(setCSSStyleProperty);
8302
+ setSetProperty(setProperty);
8303
+ setSetText(setText);
8304
+ setSsr(ssr);
8305
+ setAddEventListener(addEventListener);
8111
8306
  /*
8112
8307
  * Copyright (c) 2018, salesforce.com, inc.
8113
8308
  * All rights reserved.
@@ -8190,7 +8385,7 @@ var LWC = (function (exports) {
8190
8385
  throw new TypeError(`"createElement" function expects an "is" option with a valid component constructor.`);
8191
8386
  }
8192
8387
 
8193
- const UpgradableConstructor = getUpgradableConstructor(sel, renderer);
8388
+ const UpgradableConstructor = getUpgradableConstructor(sel);
8194
8389
  let wasComponentUpgraded = false; // the custom element from the registry is expecting an upgrade callback
8195
8390
 
8196
8391
  /**
@@ -8205,8 +8400,7 @@ var LWC = (function (exports) {
8205
8400
  createVM(elm, def, {
8206
8401
  tagName: sel,
8207
8402
  mode: options.mode !== 'closed' ? 'open' : 'closed',
8208
- owner: null,
8209
- renderer
8403
+ owner: null
8210
8404
  });
8211
8405
  ConnectingSlot.set(elm, connectRootElement);
8212
8406
  DisconnectingSlot.set(elm, disconnectRootElement);
@@ -8229,6 +8423,10 @@ var LWC = (function (exports) {
8229
8423
 
8230
8424
 
8231
8425
  function hydrateComponent(element, Ctor, props = {}) {
8426
+ if (!(element instanceof Element)) {
8427
+ throw new TypeError(`"hydrateComponent" expects a valid DOM element as the first parameter but instead received ${element}.`);
8428
+ }
8429
+
8232
8430
  if (!isFunction$1(Ctor)) {
8233
8431
  throw new TypeError(`"hydrateComponent" expects a valid component constructor as the second parameter but instead received ${Ctor}.`);
8234
8432
  }
@@ -8246,7 +8444,6 @@ var LWC = (function (exports) {
8246
8444
  createVM(element, def, {
8247
8445
  mode: 'open',
8248
8446
  owner: null,
8249
- renderer,
8250
8447
  tagName: element.tagName.toLowerCase()
8251
8448
  });
8252
8449
 
@@ -8317,8 +8514,7 @@ var LWC = (function (exports) {
8317
8514
  createVM(this, def, {
8318
8515
  mode: 'open',
8319
8516
  owner: null,
8320
- tagName: this.tagName,
8321
- renderer
8517
+ tagName: this.tagName
8322
8518
  });
8323
8519
  }
8324
8520
 
@@ -8385,7 +8581,7 @@ var LWC = (function (exports) {
8385
8581
  return false;
8386
8582
  }
8387
8583
 
8388
- if (renderer.isSyntheticShadowDefined) {
8584
+ if (isSyntheticShadowDefined) {
8389
8585
  // TODO [#1252]: old behavior that is still used by some pieces of the platform,
8390
8586
  // specifically, nodes inserted manually on places where `lwc:dom="manual"` directive is not
8391
8587
  // used, will be considered global elements.
@@ -8438,7 +8634,7 @@ var LWC = (function (exports) {
8438
8634
  });
8439
8635
  freeze(LightningElement);
8440
8636
  seal(LightningElement.prototype);
8441
- /* version: 2.6.1 */
8637
+ /* version: 2.7.2 */
8442
8638
 
8443
8639
  exports.LightningElement = LightningElement;
8444
8640
  exports.__unstable__ProfilerControl = profilerControl;