marko 5.35.21 → 5.35.22

Sign up to get free protection for your applications and to get access to all the features.
Files changed (71) hide show
  1. package/dist/core-tags/core/await/reorderer-renderer.js +29 -19
  2. package/dist/node_modules/@internal/components-beginComponent/index-browser.js +4 -4
  3. package/dist/node_modules/@internal/components-beginComponent/index.js +11 -11
  4. package/dist/node_modules/@internal/components-define-widget-legacy/index-browser.js +45 -45
  5. package/dist/node_modules/@internal/components-define-widget-legacy/index.js +3 -3
  6. package/dist/node_modules/@internal/components-endComponent/index.js +3 -3
  7. package/dist/node_modules/@internal/components-entry/index-browser.js +2 -2
  8. package/dist/node_modules/@internal/components-entry/index.js +17 -17
  9. package/dist/node_modules/@internal/components-entry-legacy/index-browser.js +6 -6
  10. package/dist/node_modules/@internal/components-registry/index-browser.js +46 -46
  11. package/dist/node_modules/@internal/components-registry/index.js +2 -2
  12. package/dist/node_modules/@internal/components-util/index-browser.js +20 -20
  13. package/dist/node_modules/@internal/components-util/index.js +9 -9
  14. package/dist/node_modules/@internal/create-readable/index-browser.js +1 -1
  15. package/dist/node_modules/@internal/create-readable/index.js +9 -9
  16. package/dist/node_modules/@internal/preserve-tag/index-browser.js +7 -7
  17. package/dist/node_modules/@internal/preserve-tag/index.js +5 -5
  18. package/dist/node_modules/@internal/set-immediate/index-browser.js +1 -1
  19. package/dist/node_modules/@internal/set-immediate/index-worker.js +2 -2
  20. package/dist/node_modules/@internal/set-immediate/index.js +2 -2
  21. package/dist/runtime/RenderResult.js +8 -8
  22. package/dist/runtime/components/Component.js +145 -145
  23. package/dist/runtime/components/ComponentDef.js +29 -29
  24. package/dist/runtime/components/ComponentsContext.js +15 -15
  25. package/dist/runtime/components/GlobalComponentsContext.js +4 -4
  26. package/dist/runtime/components/KeySequence.js +3 -3
  27. package/dist/runtime/components/ServerComponent.js +13 -13
  28. package/dist/runtime/components/State.js +26 -26
  29. package/dist/runtime/components/attach-detach.js +8 -8
  30. package/dist/runtime/components/defineComponent.js +5 -5
  31. package/dist/runtime/components/dom-data.js +5 -5
  32. package/dist/runtime/components/event-delegation.js +10 -10
  33. package/dist/runtime/components/legacy/defineComponent-legacy.js +1 -1
  34. package/dist/runtime/components/legacy/defineRenderer-legacy.js +16 -16
  35. package/dist/runtime/components/legacy/dependencies/index.js +7 -7
  36. package/dist/runtime/components/legacy/renderer-legacy.js +43 -43
  37. package/dist/runtime/components/renderer.js +35 -35
  38. package/dist/runtime/components/update-manager.js +4 -4
  39. package/dist/runtime/createOut.js +1 -1
  40. package/dist/runtime/dom-insert.js +5 -5
  41. package/dist/runtime/helpers/_change-case.js +2 -2
  42. package/dist/runtime/helpers/dynamic-tag.js +18 -18
  43. package/dist/runtime/helpers/render-tag.js +1 -1
  44. package/dist/runtime/helpers/serialize-noop.js +2 -2
  45. package/dist/runtime/helpers/style-value.js +1 -1
  46. package/dist/runtime/helpers/tags-compat/runtime-dom.js +24 -24
  47. package/dist/runtime/helpers/tags-compat/runtime-html.js +8 -8
  48. package/dist/runtime/html/AsyncStream.js +26 -26
  49. package/dist/runtime/html/BufferedWriter.js +2 -2
  50. package/dist/runtime/html/helpers/data-marko.js +4 -4
  51. package/dist/runtime/html/helpers/escape-xml.js +1 -1
  52. package/dist/runtime/html/index.js +2 -2
  53. package/dist/runtime/renderable.js +5 -5
  54. package/dist/runtime/vdom/AsyncVDOMBuilder.js +42 -42
  55. package/dist/runtime/vdom/VComment.js +1 -1
  56. package/dist/runtime/vdom/VComponent.js +2 -2
  57. package/dist/runtime/vdom/VDocumentFragment.js +2 -2
  58. package/dist/runtime/vdom/VElement.js +13 -13
  59. package/dist/runtime/vdom/VFragment.js +5 -5
  60. package/dist/runtime/vdom/VNode.js +4 -4
  61. package/dist/runtime/vdom/VText.js +1 -1
  62. package/dist/runtime/vdom/hot-reload.js +18 -18
  63. package/dist/runtime/vdom/index.js +2 -2
  64. package/dist/runtime/vdom/morphdom/fragment.js +2 -2
  65. package/dist/runtime/vdom/morphdom/helpers.js +4 -4
  66. package/dist/runtime/vdom/morphdom/index.js +46 -46
  67. package/helpers/README.md +3 -0
  68. package/helpers/empty.js +4 -0
  69. package/helpers/notEmpty.js +11 -0
  70. package/package.json +2 -1
  71. package/src/core-tags/core/await/reorderer-renderer.js +73 -63
@@ -52,24 +52,37 @@ module.exports = function (input, out) {
52
52
  function handleAwait(awaitInfo) {
53
53
  let flushedScript = false;
54
54
  let flushedContent = false;
55
- let flushedPlaceholder = false;
56
- awaitInfo.parent.on("c_", () => {
57
- flushedPlaceholder = true;
58
- if (!flushedScript && flushedContent) {
59
- flushedScript = true;
60
- asyncOut.script(
61
- `$${reorderFunctionId}(` + (
62
- typeof awaitInfo.id === "number" ?
63
- awaitInfo.id :
64
- '"' + awaitInfo.id + '"') + (
65
- awaitInfo.after ? ',"' + awaitInfo.after + '"' : "") +
66
- ")"
67
- );
55
+ let flushedPlaceholder = awaitInfo.parent._state.finished;
56
+ if (flushedPlaceholder) {
57
+ if (awaitInfo.out._state.finished) {
58
+ writeResult(awaitInfo.out.o_());
59
+ return;
68
60
  }
69
- });
61
+ } else {
62
+ awaitInfo.parent.on("c_", () => {
63
+ flushedPlaceholder = true;
64
+ if (!flushedScript && flushedContent) {
65
+ flushedScript = true;
66
+ asyncOut.script(
67
+ `$${reorderFunctionId}(` + (
68
+ typeof awaitInfo.id === "number" ?
69
+ awaitInfo.id :
70
+ '"' + awaitInfo.id + '"') + (
71
+ awaitInfo.after ? ',"' + awaitInfo.after + '"' : "") +
72
+ ")"
73
+ );
74
+ }
75
+ });
76
+ }
77
+
70
78
  awaitInfo.out.
71
79
  on("c_", out.emit.bind(out, "c_")).
72
- on("finish", function (result) {
80
+ on("finish", writeResult).
81
+ on("error", function (err) {
82
+ asyncOut.error(err);
83
+ });
84
+
85
+ function writeResult(result) {
73
86
  flushedContent = true;
74
87
  if (!global._afRuntime) {
75
88
  // Minified version of ./client-reorder-runtime.js
@@ -126,10 +139,7 @@ module.exports = function (input, out) {
126
139
  asyncOut.end();
127
140
  next();
128
141
  }
129
- }).
130
- on("error", function (err) {
131
- asyncOut.error(err);
132
- });
142
+ }
133
143
  }
134
144
 
135
145
  awaitContext.instances.forEach(handleAwait);
@@ -7,17 +7,17 @@ key,
7
7
  ownerComponentDef)
8
8
  {
9
9
  var componentId = component.id;
10
- var componentDef = componentsContext.o_ = new ComponentDef(
10
+ var componentDef = componentsContext.p_ = new ComponentDef(
11
11
  component,
12
12
  componentId,
13
13
  componentsContext
14
14
  );
15
- componentsContext.p_.q_[
15
+ componentsContext.q_.r_[
16
16
  componentId] =
17
17
  true;
18
18
  componentsContext.b_.push(componentDef);
19
19
 
20
- var out = componentsContext.r_;
21
- out.bc(component, key, ownerComponentDef && ownerComponentDef.s_);
20
+ var out = componentsContext.s_;
21
+ out.bc(component, key, ownerComponentDef && ownerComponentDef.t_);
22
22
  return componentDef;
23
23
  };
@@ -21,20 +21,20 @@ existingComponentDef)
21
21
  // widget. It should be removed when the legacy compat layer is removed.
22
22
  var componentDef =
23
23
  existingComponentDef || (
24
- componentsContext.o_ = new ComponentDef(
24
+ componentsContext.p_ = new ComponentDef(
25
25
  component,
26
26
  componentId,
27
27
  componentsContext
28
28
  ));
29
29
 
30
30
  var ownerIsRenderBoundary =
31
- ownerComponentDef && ownerComponentDef.t_;
31
+ ownerComponentDef && ownerComponentDef.u_;
32
32
  var ownerWillRerender =
33
33
  ownerComponentDef &&
34
- ownerComponentDef.u_ & FLAG_WILL_RERENDER_IN_BROWSER;
34
+ ownerComponentDef.v_ & FLAG_WILL_RERENDER_IN_BROWSER;
35
35
  // On the server
36
- if (!componentsContext.v_ && ownerWillRerender) {
37
- componentDef.u_ |= FLAG_WILL_RERENDER_IN_BROWSER;
36
+ if (!componentsContext.w_ && ownerWillRerender) {
37
+ componentDef.v_ |= FLAG_WILL_RERENDER_IN_BROWSER;
38
38
  componentDef._wrr = true;
39
39
  return componentDef;
40
40
  }
@@ -48,20 +48,20 @@ existingComponentDef)
48
48
 
49
49
  componentsContext.b_.push(componentDef);
50
50
 
51
- let out = componentsContext.r_;
51
+ let out = componentsContext.s_;
52
52
  let runtimeId = out.global.runtimeId;
53
53
 
54
- componentDef.t_ = true;
55
- componentDef.w_ = componentsContext.v_;
54
+ componentDef.u_ = true;
55
+ componentDef.x_ = componentsContext.w_;
56
56
 
57
57
  if (isSplitComponent === false && out.global.noBrowserRerender !== true) {
58
- componentDef.u_ |= FLAG_WILL_RERENDER_IN_BROWSER;
58
+ componentDef.v_ |= FLAG_WILL_RERENDER_IN_BROWSER;
59
59
  componentDef._wrr = true;
60
- componentsContext.v_ = false;
60
+ componentsContext.w_ = false;
61
61
  }
62
62
 
63
63
  if (out.global.oldHydrateNoCreate === true) {
64
- componentDef.u_ |= FLAG_OLD_HYDRATE_NO_CREATE;
64
+ componentDef.v_ |= FLAG_OLD_HYDRATE_NO_CREATE;
65
65
  }
66
66
 
67
67
  if ((ownerIsRenderBoundary || ownerWillRerender) && key != null) {
@@ -22,7 +22,7 @@ function noop() {}
22
22
  module.exports = function defineWidget(def, renderer) {
23
23
  def = def.Widget || def;
24
24
 
25
- if (def.x_) {
25
+ if (def.y_) {
26
26
  return def;
27
27
  }
28
28
 
@@ -52,7 +52,7 @@ module.exports = function defineWidget(def, renderer) {
52
52
  BaseComponent.call(this, id, doc);
53
53
  }
54
54
 
55
- if (!proto.x_) {
55
+ if (!proto.y_) {
56
56
  // Inherit from Component if they didn't already
57
57
  ComponentClass.prototype = Object.create(BaseComponent.prototype);
58
58
  for (var propName in proto) {
@@ -65,16 +65,16 @@ module.exports = function defineWidget(def, renderer) {
65
65
  // The same prototype will be used by our constructor after
66
66
  // we he have set up the prototype chain using the inherit function
67
67
  proto = Component.prototype = ComponentClass.prototype;
68
- proto.y_ = true;
68
+ proto.z_ = true;
69
69
 
70
70
  proto.constructor = def.constructor = Component;
71
71
 
72
72
  Object.defineProperty(proto, "state", {
73
73
  get: function () {
74
- var raw = this.z_ && this.z_.A_;
74
+ var raw = this.A_ && this.A_.B_;
75
75
 
76
76
  if (raw && !raw.toJSON) {
77
- Object.defineProperty(this.z_.A_, "toJSON", stateToJSONDef);
77
+ Object.defineProperty(this.A_.B_, "toJSON", stateToJSONDef);
78
78
  }
79
79
 
80
80
  return raw;
@@ -104,7 +104,7 @@ module.exports = function defineWidget(def, renderer) {
104
104
 
105
105
 
106
106
 
107
- return this.B_;
107
+ return this.C_;
108
108
  }
109
109
  });
110
110
 
@@ -122,37 +122,37 @@ module.exports = function defineWidget(def, renderer) {
122
122
 
123
123
 
124
124
 
125
- return this.C_;
125
+ return this.D_;
126
126
  }
127
127
  });
128
128
 
129
129
  // get legacy methods
130
130
 
131
- proto.D_ = proto.onRender;
131
+ proto.E_ = proto.onRender;
132
132
  Object.defineProperty(proto, "onRender", {
133
133
  get: noop,
134
134
  set: function (v) {
135
- proto.D_ = v;
135
+ proto.E_ = v;
136
136
  }
137
137
  });
138
138
 
139
- proto.E_ = proto.onUpdate;
139
+ proto.F_ = proto.onUpdate;
140
140
  Object.defineProperty(proto, "onUpdate", {
141
141
  get: function () {
142
142
  return modernMountOrUpdate;
143
143
  },
144
144
  set: function (v) {
145
- proto.E_ = v;
145
+ proto.F_ = v;
146
146
  }
147
147
  });
148
148
 
149
- proto.F_ = proto.onDestroy;
149
+ proto.G_ = proto.onDestroy;
150
150
  Object.defineProperty(proto, "onDestroy", {
151
151
  get: function () {
152
152
  return modernOnDestory;
153
153
  },
154
154
  set: function (v) {
155
- proto.F_ = v;
155
+ proto.G_ = v;
156
156
  }
157
157
  });
158
158
 
@@ -161,13 +161,13 @@ module.exports = function defineWidget(def, renderer) {
161
161
  proto.onMount = modernMountOrUpdate;
162
162
 
163
163
  if (legacyInit) {
164
- proto.G_ = legacyInit;
164
+ proto.H_ = legacyInit;
165
165
  }
166
166
 
167
167
  // convert legacy to modern
168
- proto.H_ = proto.update;
168
+ proto.I_ = proto.update;
169
169
  proto.update = function () {
170
- if (this.I_) {
170
+ if (this.J_) {
171
171
  // eslint-disable-next-line no-constant-condition
172
172
 
173
173
 
@@ -179,37 +179,37 @@ module.exports = function defineWidget(def, renderer) {
179
179
 
180
180
 
181
181
  this.destroy = modernOnDestory;
182
- this.I_ = false;
182
+ this.J_ = false;
183
183
  }
184
- this.J_ = true;
185
- if (this.C_) {
184
+ this.K_ = true;
185
+ if (this.D_) {
186
186
  this.onBeforeUpdate && this.onBeforeUpdate();
187
187
  }
188
188
 
189
- this.H_();
190
- this.J_ = false;
189
+ this.I_();
190
+ this.K_ = false;
191
191
  };
192
192
 
193
193
  function modernMountOrUpdate() {
194
194
  // eslint-disable-next-line @typescript-eslint/no-this-alias
195
195
  var self = this;
196
- var el = this.K_["@_wbind"];
197
- var prevEl = this.C_;
196
+ var el = this.L_["@_wbind"];
197
+ var prevEl = this.D_;
198
198
 
199
199
  if (prevEl !== el) {
200
- this.C_ = el;
200
+ this.D_ = el;
201
201
 
202
202
  if (prevEl) {
203
203
  this.onBeforeDestroy && this.onBeforeDestroy();
204
- this.F_ && this.F_();
205
- this.L_ = undefined;
204
+ this.G_ && this.G_();
205
+ this.M_ = undefined;
206
206
  this.removeAllListeners();
207
207
  }
208
208
 
209
209
  if (el) {
210
- this.G_ && this.G_(this.widgetConfig || {});
211
- this.D_ && this.D_({ firstRender: true });
212
- this.L_ = legacyRender;
210
+ this.H_ && this.H_(this.widgetConfig || {});
211
+ this.E_ && this.E_({ firstRender: true });
212
+ this.M_ = legacyRender;
213
213
 
214
214
  // eslint-disable-next-line no-constant-condition
215
215
 
@@ -226,45 +226,45 @@ module.exports = function defineWidget(def, renderer) {
226
226
  }
227
227
  } else if (el) {
228
228
  if (prevEl) {
229
- this.E_ && this.E_();
229
+ this.F_ && this.F_();
230
230
  }
231
231
 
232
- if (this.M_) {
233
- this.D_ &&
234
- this.D_({ firstRender: false });
232
+ if (this.N_) {
233
+ this.E_ &&
234
+ this.E_({ firstRender: false });
235
235
  }
236
236
  }
237
237
 
238
- this.N_ = this.O_;
239
- this.O_ = null;
240
- this.M_ = false;
238
+ this.O_ = this.P_;
239
+ this.P_ = null;
240
+ this.N_ = false;
241
241
  }
242
242
 
243
243
  function legacyRender() {
244
- if (!this.J_) {
244
+ if (!this.K_) {
245
245
  this.onBeforeUpdate && this.onBeforeUpdate();
246
246
  }
247
247
 
248
- this.M_ = true;
248
+ this.N_ = true;
249
249
  }
250
250
 
251
251
  function modernOnDestory() {
252
- if (this.C_) {
252
+ if (this.D_) {
253
253
  this.onBeforeDestroy && this.onBeforeDestroy();
254
- this.F_ && this.F_();
255
- this.C_ = null;
254
+ this.G_ && this.G_();
255
+ this.D_ = null;
256
256
  }
257
257
  }
258
258
 
259
259
  // Set a flag on the constructor function to make it clear this is
260
260
  // a component so that we can short-circuit this work later
261
- Component.x_ = true;
261
+ Component.y_ = true;
262
262
 
263
263
  function State() {
264
264
  BaseState.apply(this, arguments);
265
265
  }
266
266
  inherit(State, BaseState);
267
- proto.P_ = State;
267
+ proto.Q_ = State;
268
268
 
269
269
  jQuery.patchComponent(
270
270
  window.$,
@@ -299,7 +299,7 @@ module.exports = function defineWidget(def, renderer) {
299
299
  if (renderer) {
300
300
  // Add the rendering related methods as statics on the
301
301
  // new component constructor function
302
- Component.renderer = proto.Q_ = renderer;
302
+ Component.renderer = proto.R_ = renderer;
303
303
  Component.render = renderer.render;
304
304
  Component.renderSync = renderer.renderSync;
305
305
  }
@@ -322,7 +322,7 @@ module.exports = function defineWidget(def, renderer) {
322
322
  template = req(template);
323
323
  }
324
324
 
325
- registry.r((template.default || template).R_, function () {
325
+ registry.r((template.default || template).S_, function () {
326
326
  return Component;
327
327
  });
328
328
  }
@@ -1,11 +1,11 @@
1
1
  "use strict";module.exports = function defineWidget(def, renderer) {
2
- if (def.x_) {
2
+ if (def.y_) {
3
3
  return def;
4
4
  }
5
5
 
6
6
  if (renderer) {
7
7
  return {
8
- x_: true,
8
+ y_: true,
9
9
  _isWidget: true,
10
10
  renderer: renderer,
11
11
  render: renderer.render,
@@ -13,6 +13,6 @@
13
13
  template: renderer.template
14
14
  };
15
15
  } else {
16
- return { x_: true, _isWidget: true };
16
+ return { y_: true, _isWidget: true };
17
17
  }
18
18
  };
@@ -1,11 +1,11 @@
1
1
  "use strict";
2
2
 
3
3
  var ComponentsContext = require("../../../runtime/components/ComponentsContext");
4
- var getComponentsContext = ComponentsContext.S_;
4
+ var getComponentsContext = ComponentsContext.T_;
5
5
 
6
6
  module.exports = function endComponent(out, componentDef) {
7
- if (componentDef.t_) {
7
+ if (componentDef.u_) {
8
8
  out.w("<!--" + out.global.runtimeId + "/-->");
9
- getComponentsContext(out).v_ = componentDef.w_;
9
+ getComponentsContext(out).w_ = componentDef.x_;
10
10
  }
11
11
  };
@@ -2,8 +2,8 @@
2
2
  var registry = require("@internal/components-registry");
3
3
 
4
4
  exports.getComponentForEl =
5
- require("@internal/components-util").T_;
6
- exports.init = registry.U_;
5
+ require("@internal/components-util").U_;
6
+ exports.init = registry.V_;
7
7
  exports.register = function (id, component) {
8
8
  registry.r(id, function () {
9
9
  return component;
@@ -2,7 +2,7 @@
2
2
  require("../../../runtime/html/marko-namespace");
3
3
 
4
4
  var warp10 = require("warp10");
5
- var w10ToJSON = require("../../../runtime/helpers/serialize-noop").V_;
5
+ var w10ToJSON = require("../../../runtime/helpers/serialize-noop").W_;
6
6
  var safeJSONRegExp = /<\/|\u2028|\u2029/g;
7
7
  var IGNORE_GLOBAL_TYPES = new Set(["undefined", "function", "symbol"]);
8
8
  var DEFAULT_RUNTIME_ID = "M";
@@ -67,16 +67,16 @@ function addComponentsFromContext(componentsContext, componentsToHydrate) {
67
67
  for (var i = 0; i < len; i++) {
68
68
  var componentDef = components[i];
69
69
  var id = componentDef.id;
70
- var component = componentDef.s_;
71
- var flags = componentDef.u_;
72
- var isLegacy = componentDef.y_;
70
+ var component = componentDef.t_;
71
+ var flags = componentDef.v_;
72
+ var isLegacy = componentDef.z_;
73
73
 
74
74
  var state = component.state;
75
75
  var input = component.input || 0;
76
76
  var typeName = component.typeName;
77
- var customEvents = component.W_;
78
- var scope = component.X_;
79
- var bubblingDomEvents = component.Y_;
77
+ var customEvents = component.X_;
78
+ var scope = component.Y_;
79
+ var bubblingDomEvents = component.Z_;
80
80
 
81
81
  var needsState;
82
82
  var serializedProps;
@@ -84,7 +84,7 @@ function addComponentsFromContext(componentsContext, componentsToHydrate) {
84
84
 
85
85
  if (isLegacy) {
86
86
  flags |= FLAG_IS_LEGACY;
87
- renderBody = component.Z_;
87
+ renderBody = component.___;
88
88
 
89
89
  if (component.widgetConfig && isNotEmpty(component.widgetConfig)) {
90
90
  serializedProps = component.widgetConfig;
@@ -96,16 +96,16 @@ function addComponentsFromContext(componentsContext, componentsToHydrate) {
96
96
  !(flags & FLAG_WILL_RERENDER_IN_BROWSER) ||
97
97
  flags & FLAG_OLD_HYDRATE_NO_CREATE)
98
98
  {
99
- component.z_ = undefined; // We don't use `delete` to avoid V8 deoptimization
100
- component.O_ = undefined; // We don't use `delete` to avoid V8 deoptimization
99
+ component.A_ = undefined; // We don't use `delete` to avoid V8 deoptimization
100
+ component.P_ = undefined; // We don't use `delete` to avoid V8 deoptimization
101
101
  component.typeName = undefined;
102
102
  component.id = undefined;
103
- component.W_ = undefined;
104
103
  component.X_ = undefined;
105
104
  component.Y_ = undefined;
106
- component.___ = undefined;
105
+ component.Z_ = undefined;
107
106
  component._a_ = undefined;
108
107
  component._b_ = undefined;
108
+ component._c_ = undefined;
109
109
 
110
110
  needsState = true;
111
111
 
@@ -145,7 +145,7 @@ function addComponentsFromContext(componentsContext, componentsToHydrate) {
145
145
 
146
146
  var extra = {
147
147
  b: bubblingDomEvents,
148
- d: componentDef._c_,
148
+ d: componentDef._d_,
149
149
  e: customEvents,
150
150
  f: flags || undefined,
151
151
  p: customEvents && scope, // Only serialize scope if we need to attach custom events
@@ -174,7 +174,7 @@ function addComponentsFromContext(componentsContext, componentsToHydrate) {
174
174
  components.length = 0;
175
175
 
176
176
  // Also add any components from nested contexts
177
- var nestedContexts = componentsContext._d_;
177
+ var nestedContexts = componentsContext._e_;
178
178
  if (nestedContexts !== undefined) {
179
179
  nestedContexts.forEach(function (nestedContext) {
180
180
  addComponentsFromContext(nestedContext, componentsToHydrate);
@@ -186,7 +186,7 @@ function getInitComponentsData(out, componentDefs) {
186
186
  const len = componentDefs.length;
187
187
  const $global = out.global;
188
188
  const isLast = $global.d_;
189
- const didSerializeComponents = $global._e_;
189
+ const didSerializeComponents = $global._f_;
190
190
  const prefix = $global.componentIdPrefix || $global.widgetIdPrefix;
191
191
 
192
192
  if (len === 0) {
@@ -199,7 +199,7 @@ function getInitComponentsData(out, componentDefs) {
199
199
 
200
200
  const TYPE_INDEX = 1;
201
201
  const typesLookup =
202
- $global._f_ || ($global._f_ = new Map());
202
+ $global._g_ || ($global._g_ = new Map());
203
203
  let newTypes;
204
204
 
205
205
  for (let i = 0; i < len; i++) {
@@ -224,7 +224,7 @@ function getInitComponentsData(out, componentDefs) {
224
224
  let serializedGlobals;
225
225
 
226
226
  if (!didSerializeComponents) {
227
- $global._e_ = true;
227
+ $global._f_ = true;
228
228
  serializedGlobals = getSerializedGlobals($global);
229
229
  }
230
230
 
@@ -1,13 +1,13 @@
1
1
  "use strict";var Component = require("../../../runtime/components/Component");
2
2
  var req = require("@internal/require");
3
3
  var getComponentForEl =
4
- require("@internal/components-util").T_;
4
+ require("@internal/components-util").U_;
5
5
 
6
6
  // eslint-disable-next-line no-constant-binary-expression
7
7
 
8
8
 
9
9
  // expose legacy
10
- require("@internal/components-registry")._g_ = exports;
10
+ require("@internal/components-registry")._h_ = exports;
11
11
  exports.load = function (typeName) {
12
12
  return exports.defineWidget(req(typeName));
13
13
  };
@@ -35,14 +35,14 @@ exports.getWidgetForEl = exports.get = function (elOrId) {
35
35
  return getComponentForEl(el);
36
36
  };
37
37
  exports.initWidgets =
38
- require("@internal/components-registry").U_;
38
+ require("@internal/components-registry").V_;
39
39
 
40
40
  // monkey patch Widget
41
41
  if (Widget) {
42
42
  var WidgetProto = Widget.prototype;
43
43
  WidgetProto.setProps = function (newInput) {
44
- this._h_ = true;
45
- this._i_(newInput);
44
+ this._i_ = true;
45
+ this._j_(newInput);
46
46
  };
47
47
  WidgetProto.rerender = function (newInput) {
48
48
  if (newInput) {
@@ -71,6 +71,6 @@ RenderResult.prototype.getWidgets = function () {
71
71
  return RenderResult.prototype.getComponents.
72
72
  apply(this, arguments).
73
73
  filter(function (component) {
74
- return component.y_;
74
+ return component.z_;
75
75
  });
76
76
  };