ember-source 4.2.0-beta.1 → 4.3.0-alpha.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (65) hide show
  1. package/blueprints/component-addon/index.js +2 -3
  2. package/blueprints/component-class-addon/index.js +2 -3
  3. package/blueprints/controller/files/__root__/__path__/__name__.js +2 -2
  4. package/blueprints/controller/index.js +2 -4
  5. package/blueprints/route/files/__root__/__path__/__name__.js +3 -3
  6. package/blueprints/route/index.js +2 -3
  7. package/blueprints/service/files/__root__/__path__/__name__.js +2 -2
  8. package/blueprints/service/index.js +2 -4
  9. package/build-metadata.json +3 -3
  10. package/dist/ember-template-compiler.js +1238 -852
  11. package/dist/ember-template-compiler.map +1 -1
  12. package/dist/ember-testing.js +88 -56
  13. package/dist/ember-testing.map +1 -1
  14. package/dist/ember.debug.js +3211 -2123
  15. package/dist/ember.debug.map +1 -1
  16. package/dist/header/license.js +1 -1
  17. package/dist/header/loader.js +0 -1
  18. package/dist/packages/@ember/-internals/bootstrap/index.js +0 -2
  19. package/dist/packages/@ember/-internals/container/index.js +2 -1
  20. package/dist/packages/@ember/-internals/extension-support/lib/container_debug_adapter.js +3 -3
  21. package/dist/packages/@ember/-internals/extension-support/lib/data_adapter.js +52 -52
  22. package/dist/packages/@ember/-internals/glimmer/index.js +101 -80
  23. package/dist/packages/@ember/-internals/meta/lib/meta.js +59 -2
  24. package/dist/packages/@ember/-internals/metal/index.js +51 -76
  25. package/dist/packages/@ember/-internals/routing/lib/ext/controller.js +14 -4
  26. package/dist/packages/@ember/-internals/routing/lib/location/api.js +1 -0
  27. package/dist/packages/@ember/-internals/routing/lib/location/auto_location.js +3 -1
  28. package/dist/packages/@ember/-internals/routing/lib/services/router.js +7 -49
  29. package/dist/packages/@ember/-internals/routing/lib/services/routing.js +3 -1
  30. package/dist/packages/@ember/-internals/routing/lib/system/route.js +57 -33
  31. package/dist/packages/@ember/-internals/routing/lib/system/router.js +22 -7
  32. package/dist/packages/@ember/-internals/routing/lib/utils.js +23 -11
  33. package/dist/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +1 -1
  34. package/dist/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +32 -32
  35. package/dist/packages/@ember/-internals/runtime/lib/mixins/array.js +1 -0
  36. package/dist/packages/@ember/-internals/runtime/lib/mixins/comparable.js +4 -4
  37. package/dist/packages/@ember/-internals/runtime/lib/mixins/container_proxy.js +29 -29
  38. package/dist/packages/@ember/-internals/runtime/lib/mixins/promise_proxy.js +16 -16
  39. package/dist/packages/@ember/-internals/runtime/lib/mixins/registry_proxy.js +48 -48
  40. package/dist/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +8 -8
  41. package/dist/packages/@ember/-internals/runtime/lib/system/namespace.js +1 -2
  42. package/dist/packages/@ember/-internals/runtime/lib/type-of.js +1 -1
  43. package/dist/packages/@ember/-internals/utils/index.js +9 -9
  44. package/dist/packages/@ember/-internals/views/lib/mixins/view_support.js +2 -4
  45. package/dist/packages/@ember/-internals/views/lib/system/utils.js +1 -0
  46. package/dist/packages/@ember/application/lib/application.js +0 -2
  47. package/dist/packages/@ember/array/index.js +1 -1
  48. package/dist/packages/@ember/canary-features/index.js +2 -2
  49. package/dist/packages/@ember/debug/index.js +1 -1
  50. package/dist/packages/@ember/debug/lib/deprecate.js +12 -10
  51. package/dist/packages/@ember/object/compat.js +16 -7
  52. package/dist/packages/@ember/polyfills/lib/assign.js +1 -0
  53. package/dist/packages/@ember/runloop/index.js +9 -9
  54. package/dist/packages/@ember/string/index.js +1 -0
  55. package/dist/packages/ember/index.js +1 -2
  56. package/dist/packages/ember/version.js +1 -1
  57. package/docs/data.json +1362 -681
  58. package/package.json +31 -31
  59. package/blueprints/component-addon/native-files/__root__/__path__/__name__.js +0 -1
  60. package/blueprints/component-class-addon/native-files/__root__/__path__/__name__.js +0 -1
  61. package/blueprints/controller/native-files/__root__/__path__/__name__.js +0 -4
  62. package/blueprints/edition-detector.js +0 -13
  63. package/blueprints/route/native-files/__root__/__path__/__name__.js +0 -11
  64. package/blueprints/route/native-files/__root__/__templatepath__/__templatename__.hbs +0 -2
  65. package/blueprints/service/native-files/__root__/__path__/__name__.js +0 -4
@@ -6,7 +6,7 @@
6
6
  * Portions Copyright 2008-2011 Apple Inc. All rights reserved.
7
7
  * @license Licensed under MIT license
8
8
  * See https://raw.github.com/emberjs/ember.js/master/LICENSE
9
- * @version 4.2.0-beta.1
9
+ * @version 4.3.0-alpha.4
10
10
  */
11
11
 
12
12
  /* eslint-disable no-var */
@@ -92,7 +92,6 @@ var define, require;
92
92
  return internalRequire(name, null);
93
93
  };
94
94
 
95
- // eslint-disable-next-line no-unused-vars
96
95
  define = function (name, deps, callback) {
97
96
  registry[name] = { deps: deps, callback: callback };
98
97
  };
@@ -113,7 +112,7 @@ define("@ember/-internals/browser-environment/index", ["exports"], function (_ex
113
112
  Object.defineProperty(_exports, "__esModule", {
114
113
  value: true
115
114
  });
116
- _exports.hasDOM = _exports.isIE = _exports.isFirefox = _exports.isChrome = _exports.userAgent = _exports.history = _exports.location = _exports.window = void 0;
115
+ _exports.window = _exports.userAgent = _exports.location = _exports.isIE = _exports.isFirefox = _exports.isChrome = _exports.history = _exports.hasDOM = void 0;
117
116
  // check if window exists and actually is the global
118
117
  var hasDom = typeof self === 'object' && self !== null && self.Object === Object && typeof Window !== 'undefined' && self.constructor === Window && typeof document === 'object' && document !== null && self.document === document && typeof location === 'object' && location !== null && self.location === location && typeof history === 'object' && history !== null && self.history === history && typeof navigator === 'object' && navigator !== null && self.navigator === navigator && typeof navigator.userAgent === 'string';
119
118
  _exports.hasDOM = hasDom;
@@ -138,10 +137,11 @@ define("@ember/-internals/environment/index", ["exports"], function (_exports) {
138
137
  Object.defineProperty(_exports, "__esModule", {
139
138
  value: true
140
139
  });
140
+ _exports.context = _exports.ENV = void 0;
141
+ _exports.getENV = getENV;
141
142
  _exports.getLookup = getLookup;
143
+ _exports.global = void 0;
142
144
  _exports.setLookup = setLookup;
143
- _exports.getENV = getENV;
144
- _exports.ENV = _exports.context = _exports.global = void 0;
145
145
 
146
146
  // from lodash to catch fake globals
147
147
  function checkGlobal(value) {
@@ -395,30 +395,33 @@ define("@ember/-internals/utils/index", ["exports", "@glimmer/util", "@ember/deb
395
395
  Object.defineProperty(_exports, "__esModule", {
396
396
  value: true
397
397
  });
398
- _exports.enumerableSymbol = enumerableSymbol;
399
- _exports.isInternalSymbol = isInternalSymbol;
398
+ _exports.ROOT = _exports.GUID_KEY = _exports.Cache = void 0;
399
+ _exports.canInvoke = canInvoke;
400
+ _exports.checkHasSuper = void 0;
400
401
  _exports.dictionary = makeDictionary;
401
- _exports.uuid = uuid;
402
+ _exports.enumerableSymbol = enumerableSymbol;
402
403
  _exports.generateGuid = generateGuid;
404
+ _exports.getDebugName = void 0;
405
+ _exports.getName = getName;
403
406
  _exports.guidFor = guidFor;
404
- _exports.intern = intern;
405
- _exports.wrap = wrap;
406
- _exports.observerListenerMetaFor = observerListenerMetaFor;
407
- _exports.setObservers = setObservers;
408
- _exports.setListeners = setListeners;
409
407
  _exports.inspect = inspect;
408
+ _exports.intern = intern;
409
+ _exports.isEmberArray = isEmberArray;
410
+ _exports.isInternalSymbol = isInternalSymbol;
411
+ _exports.isObject = isObject;
412
+ _exports.isProxy = isProxy;
410
413
  _exports.lookupDescriptor = lookupDescriptor;
411
- _exports.canInvoke = canInvoke;
412
414
  _exports.makeArray = makeArray;
413
- _exports.getName = getName;
415
+ _exports.observerListenerMetaFor = observerListenerMetaFor;
416
+ _exports.setEmberArray = setEmberArray;
417
+ _exports.setListeners = setListeners;
414
418
  _exports.setName = setName;
415
- _exports.toString = toString;
416
- _exports.isObject = isObject;
417
- _exports.isProxy = isProxy;
419
+ _exports.setObservers = setObservers;
418
420
  _exports.setProxy = setProxy;
419
- _exports.setEmberArray = setEmberArray;
420
- _exports.isEmberArray = isEmberArray;
421
- _exports.setWithMandatorySetter = _exports.teardownMandatorySetter = _exports.setupMandatorySetter = _exports.Cache = _exports.ROOT = _exports.checkHasSuper = _exports.GUID_KEY = _exports.getDebugName = _exports.symbol = void 0;
421
+ _exports.teardownMandatorySetter = _exports.symbol = _exports.setupMandatorySetter = _exports.setWithMandatorySetter = void 0;
422
+ _exports.toString = toString;
423
+ _exports.uuid = uuid;
424
+ _exports.wrap = wrap;
422
425
 
423
426
  /**
424
427
  Strongly hint runtimes to intern the provided string.
@@ -561,8 +564,12 @@ define("@ember/-internals/utils/index", ["exports", "@glimmer/util", "@ember/deb
561
564
 
562
565
  _exports.GUID_KEY = GUID_KEY;
563
566
 
564
- function generateGuid(obj, prefix = GUID_PREFIX) {
565
- var guid = prefix + uuid();
567
+ function generateGuid(obj, prefix) {
568
+ if (prefix === void 0) {
569
+ prefix = GUID_PREFIX;
570
+ }
571
+
572
+ var guid = prefix + uuid().toString();
566
573
 
567
574
  if (isObject(obj)) {
568
575
  OBJECT_GUIDS.set(obj, guid);
@@ -593,7 +600,7 @@ define("@ember/-internals/utils/index", ["exports", "@glimmer/util", "@ember/deb
593
600
  guid = OBJECT_GUIDS.get(value);
594
601
 
595
602
  if (guid === undefined) {
596
- guid = GUID_PREFIX + uuid();
603
+ guid = "" + GUID_PREFIX + uuid();
597
604
  OBJECT_GUIDS.set(value, guid);
598
605
  }
599
606
  } else {
@@ -603,13 +610,13 @@ define("@ember/-internals/utils/index", ["exports", "@glimmer/util", "@ember/deb
603
610
  var type = typeof value;
604
611
 
605
612
  if (type === 'string') {
606
- guid = 'st' + uuid();
613
+ guid = "st" + uuid();
607
614
  } else if (type === 'number') {
608
- guid = 'nu' + uuid();
615
+ guid = "nu" + uuid();
609
616
  } else if (type === 'symbol') {
610
- guid = 'sy' + uuid();
617
+ guid = "sy" + uuid();
611
618
  } else {
612
- guid = '(' + value + ')';
619
+ guid = "(" + value + ")";
613
620
  }
614
621
 
615
622
  NON_OBJECT_GUIDS.set(value, guid);
@@ -632,7 +639,7 @@ define("@ember/-internals/utils/index", ["exports", "@glimmer/util", "@ember/deb
632
639
  // TODO: Investigate using platform symbols, but we do not
633
640
  // want to require non-enumerability for this API, which
634
641
  // would introduce a large cost.
635
- var id = GUID_KEY + Math.floor(Math.random() * Date.now());
642
+ var id = GUID_KEY + Math.floor(Math.random() * Date.now()).toString();
636
643
  var symbol = intern("__" + debugName + id + "__");
637
644
 
638
645
  if (true
@@ -945,7 +952,7 @@ define("@ember/-internals/utils/index", ["exports", "@glimmer/util", "@ember/deb
945
952
  }
946
953
 
947
954
  var key = keys[i];
948
- s += inspectKey(key) + ': ' + inspectValue(obj[key], depth, seen);
955
+ s += inspectKey(key) + ": " + inspectValue(obj[key], depth, seen);
949
956
  }
950
957
 
951
958
  s += ' }';
@@ -1238,7 +1245,7 @@ define("@ember/-internals/utils/index", ["exports", "@glimmer/util", "@ember/deb
1238
1245
 
1239
1246
  if (setters !== undefined && setters[keyName] !== undefined) {
1240
1247
  Object.defineProperty(obj, keyName, setters[keyName]);
1241
- setters[keyName] = undefined;
1248
+ delete setters[keyName];
1242
1249
  }
1243
1250
  };
1244
1251
 
@@ -1283,8 +1290,8 @@ define("@ember/canary-features/index", ["exports", "@ember/-internals/environmen
1283
1290
  Object.defineProperty(_exports, "__esModule", {
1284
1291
  value: true
1285
1292
  });
1293
+ _exports.FEATURES = _exports.EMBER_STRICT_MODE = _exports.EMBER_ROUTING_ROUTER_SERVICE_REFRESH = _exports.EMBER_NAMED_BLOCKS = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_GLIMMER_INVOKE_HELPER = _exports.EMBER_GLIMMER_HELPER_MANAGER = _exports.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = _exports.EMBER_CACHED = _exports.DEFAULT_FEATURES = void 0;
1286
1294
  _exports.isEnabled = isEnabled;
1287
- _exports.EMBER_CACHED = _exports.EMBER_ROUTING_ROUTER_SERVICE_REFRESH = _exports.EMBER_DYNAMIC_HELPERS_AND_MODIFIERS = _exports.EMBER_STRICT_MODE = _exports.EMBER_GLIMMER_INVOKE_HELPER = _exports.EMBER_GLIMMER_HELPER_MANAGER = _exports.EMBER_NAMED_BLOCKS = _exports.EMBER_IMPROVED_INSTRUMENTATION = _exports.EMBER_LIBRARIES_ISREGISTERED = _exports.FEATURES = _exports.DEFAULT_FEATURES = void 0;
1288
1295
 
1289
1296
  /**
1290
1297
  Set `EmberENV.FEATURES` in your application's `config/environment.js` file
@@ -1297,8 +1304,8 @@ define("@ember/canary-features/index", ["exports", "@ember/-internals/environmen
1297
1304
  @public
1298
1305
  */
1299
1306
  var DEFAULT_FEATURES = {
1300
- EMBER_LIBRARIES_ISREGISTERED: false,
1301
- EMBER_IMPROVED_INSTRUMENTATION: false,
1307
+ EMBER_LIBRARIES_ISREGISTERED: null,
1308
+ EMBER_IMPROVED_INSTRUMENTATION: null,
1302
1309
  EMBER_NAMED_BLOCKS: true,
1303
1310
  EMBER_GLIMMER_HELPER_MANAGER: true,
1304
1311
  EMBER_GLIMMER_INVOKE_HELPER: true,
@@ -1408,43 +1415,46 @@ define("@ember/debug/index", ["exports", "@ember/-internals/browser-environment"
1408
1415
  Object.defineProperty(_exports, "__esModule", {
1409
1416
  value: true
1410
1417
  });
1411
- Object.defineProperty(_exports, "registerDeprecationHandler", {
1418
+ _exports.assert = _exports._warnIfUsingStrippedFeatureFlags = void 0;
1419
+ Object.defineProperty(_exports, "captureRenderTree", {
1412
1420
  enumerable: true,
1413
1421
  get: function () {
1414
- return _deprecate2.registerHandler;
1422
+ return _captureRenderTree.default;
1415
1423
  }
1416
1424
  });
1417
- Object.defineProperty(_exports, "isTesting", {
1425
+ _exports.info = _exports.getDebugFunction = _exports.deprecateFunc = _exports.deprecate = _exports.debugSeal = _exports.debugFreeze = _exports.debug = void 0;
1426
+ Object.defineProperty(_exports, "inspect", {
1418
1427
  enumerable: true,
1419
1428
  get: function () {
1420
- return _testing.isTesting;
1429
+ return _utils.inspect;
1421
1430
  }
1422
1431
  });
1423
- Object.defineProperty(_exports, "setTesting", {
1432
+ Object.defineProperty(_exports, "isTesting", {
1424
1433
  enumerable: true,
1425
1434
  get: function () {
1426
- return _testing.setTesting;
1435
+ return _testing.isTesting;
1427
1436
  }
1428
1437
  });
1429
- Object.defineProperty(_exports, "registerWarnHandler", {
1438
+ Object.defineProperty(_exports, "registerDeprecationHandler", {
1430
1439
  enumerable: true,
1431
1440
  get: function () {
1432
- return _warn2.registerHandler;
1441
+ return _deprecate2.registerHandler;
1433
1442
  }
1434
1443
  });
1435
- Object.defineProperty(_exports, "inspect", {
1444
+ Object.defineProperty(_exports, "registerWarnHandler", {
1436
1445
  enumerable: true,
1437
1446
  get: function () {
1438
- return _utils.inspect;
1447
+ return _warn2.registerHandler;
1439
1448
  }
1440
1449
  });
1441
- Object.defineProperty(_exports, "captureRenderTree", {
1450
+ _exports.setDebugFunction = _exports.runInDebug = void 0;
1451
+ Object.defineProperty(_exports, "setTesting", {
1442
1452
  enumerable: true,
1443
1453
  get: function () {
1444
- return _captureRenderTree.default;
1454
+ return _testing.setTesting;
1445
1455
  }
1446
1456
  });
1447
- _exports._warnIfUsingStrippedFeatureFlags = _exports.getDebugFunction = _exports.setDebugFunction = _exports.deprecateFunc = _exports.runInDebug = _exports.debugFreeze = _exports.debugSeal = _exports.deprecate = _exports.debug = _exports.warn = _exports.info = _exports.assert = void 0;
1457
+ _exports.warn = void 0;
1448
1458
 
1449
1459
  // These are the default production build versions:
1450
1460
  var noop = () => {};
@@ -1603,7 +1613,7 @@ define("@ember/debug/index", ["exports", "@ember/-internals/browser-environment"
1603
1613
  } else {
1604
1614
  console.log("DEBUG: " + message);
1605
1615
  }
1606
- /* eslint-ensable no-console */
1616
+ /* eslint-enable no-console */
1607
1617
 
1608
1618
  });
1609
1619
  /**
@@ -1645,11 +1655,20 @@ define("@ember/debug/index", ["exports", "@ember/-internals/browser-environment"
1645
1655
  @private
1646
1656
  */
1647
1657
 
1648
- setDebugFunction('deprecateFunc', function deprecateFunc(...args) {
1658
+ setDebugFunction('deprecateFunc', function deprecateFunc() {
1659
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
1660
+ args[_key] = arguments[_key];
1661
+ }
1662
+
1649
1663
  if (args.length === 3) {
1650
1664
  var [message, options, func] = args;
1651
- return function (...args) {
1665
+ return function () {
1652
1666
  deprecate(message, false, options);
1667
+
1668
+ for (var _len2 = arguments.length, args = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
1669
+ args[_key2] = arguments[_key2];
1670
+ }
1671
+
1653
1672
  return func.apply(this, args);
1654
1673
  };
1655
1674
  } else {
@@ -1768,7 +1787,7 @@ define("@ember/debug/lib/deprecate", ["exports", "@ember/-internals/environment"
1768
1787
  Object.defineProperty(_exports, "__esModule", {
1769
1788
  value: true
1770
1789
  });
1771
- _exports.missingOptionDeprecation = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.registerHandler = _exports.default = void 0;
1790
+ _exports.registerHandler = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.missingOptionDeprecation = _exports.default = void 0;
1772
1791
 
1773
1792
  /**
1774
1793
  @module @ember/debug
@@ -1872,17 +1891,19 @@ define("@ember/debug/lib/deprecate", ["exports", "@ember/-internals/environment"
1872
1891
  var error = captureErrorForStack();
1873
1892
  var stack;
1874
1893
 
1875
- if (error.stack) {
1876
- if (error['arguments']) {
1877
- // Chrome
1878
- stack = error.stack.replace(/^\s+at\s+/gm, '').replace(/^([^(]+?)([\n$])/gm, '{anonymous}($1)$2').replace(/^Object.<anonymous>\s*\(([^)]+)\)/gm, '{anonymous}($1)').split('\n');
1879
- stack.shift();
1880
- } else {
1881
- // Firefox
1882
- stack = error.stack.replace(/(?:\n@:0)?\s+$/m, '').replace(/^\(/gm, '{anonymous}(').split('\n');
1883
- }
1894
+ if (error instanceof Error) {
1895
+ if (error.stack) {
1896
+ if (error['arguments']) {
1897
+ // Chrome
1898
+ stack = error.stack.replace(/^\s+at\s+/gm, '').replace(/^([^(]+?)([\n$])/gm, '{anonymous}($1)$2').replace(/^Object.<anonymous>\s*\(([^)]+)\)/gm, '{anonymous}($1)').split('\n');
1899
+ stack.shift();
1900
+ } else {
1901
+ // Firefox
1902
+ stack = error.stack.replace(/(?:\n@:0)?\s+$/m, '').replace(/^\(/gm, '{anonymous}(').split('\n');
1903
+ }
1884
1904
 
1885
- stackStr = "\n " + stack.slice(2).join('\n ');
1905
+ stackStr = "\n " + stack.slice(2).join('\n ');
1906
+ }
1886
1907
  }
1887
1908
 
1888
1909
  var updatedMessage = formatMessage(message, options);
@@ -1955,7 +1976,7 @@ define("@ember/debug/lib/handlers", ["exports"], function (_exports) {
1955
1976
  Object.defineProperty(_exports, "__esModule", {
1956
1977
  value: true
1957
1978
  });
1958
- _exports.invoke = _exports.registerHandler = _exports.HANDLERS = void 0;
1979
+ _exports.registerHandler = _exports.invoke = _exports.HANDLERS = void 0;
1959
1980
  var HANDLERS = {};
1960
1981
  _exports.HANDLERS = HANDLERS;
1961
1982
 
@@ -2015,7 +2036,7 @@ define("@ember/debug/lib/warn", ["exports", "@ember/debug/index", "@ember/debug/
2015
2036
  Object.defineProperty(_exports, "__esModule", {
2016
2037
  value: true
2017
2038
  });
2018
- _exports.missingOptionsDeprecation = _exports.missingOptionsIdDeprecation = _exports.registerHandler = _exports.default = void 0;
2039
+ _exports.registerHandler = _exports.missingOptionsIdDeprecation = _exports.missingOptionsDeprecation = _exports.default = void 0;
2019
2040
 
2020
2041
  var registerHandler = () => {};
2021
2042
 
@@ -2196,16 +2217,22 @@ define("@ember/polyfills/lib/assign", ["exports", "@ember/debug"], function (_ex
2196
2217
  @public
2197
2218
  @static
2198
2219
  */
2199
- function assign(target, ...rest) {
2220
+ function assign(target) {
2200
2221
  (true && !(false) && (0, _debug.deprecate)('Use of `assign` has been deprecated. Please use `Object.assign` or the spread operator instead.', false, {
2201
2222
  id: 'ember-polyfills.deprecate-assign',
2202
2223
  until: '5.0.0',
2203
2224
  url: 'https://deprecations.emberjs.com/v4.x/#toc_ember-polyfills-deprecate-assign',
2204
2225
  for: 'ember-source',
2205
2226
  since: {
2227
+ available: '4.0.0',
2206
2228
  enabled: '4.0.0'
2207
2229
  }
2208
2230
  }));
2231
+
2232
+ for (var _len = arguments.length, rest = new Array(_len > 1 ? _len - 1 : 0), _key = 1; _key < _len; _key++) {
2233
+ rest[_key - 1] = arguments[_key];
2234
+ }
2235
+
2209
2236
  return Object.assign(target, ...rest);
2210
2237
  }
2211
2238
  });
@@ -2215,14 +2242,15 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
2215
2242
  Object.defineProperty(_exports, "__esModule", {
2216
2243
  value: true
2217
2244
  });
2218
- _exports.precompile = precompile;
2219
- _exports.precompileJSON = precompileJSON;
2245
+ _exports.WireFormatDebugger = _exports.ProgramSymbols = _exports.NEWLINE = void 0;
2220
2246
  _exports.buildStatement = buildStatement;
2221
2247
  _exports.buildStatements = buildStatements;
2222
- _exports.s = s;
2223
2248
  _exports.c = c;
2249
+ _exports.defaultId = void 0;
2250
+ _exports.precompile = precompile;
2251
+ _exports.precompileJSON = precompileJSON;
2252
+ _exports.s = s;
2224
2253
  _exports.unicode = unicode;
2225
- _exports.WireFormatDebugger = _exports.NEWLINE = _exports.ProgramSymbols = _exports.defaultId = void 0;
2226
2254
 
2227
2255
  class Template extends (0, _syntax.node)('Template').fields() {}
2228
2256
 
@@ -2346,9 +2374,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
2346
2374
  return this.list;
2347
2375
  }
2348
2376
 
2349
- into({
2350
- ifPresent
2351
- }) {
2377
+ into(_ref) {
2378
+ var {
2379
+ ifPresent
2380
+ } = _ref;
2352
2381
  return ifPresent(this);
2353
2382
  }
2354
2383
 
@@ -2375,9 +2404,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
2375
2404
  return null;
2376
2405
  }
2377
2406
 
2378
- into({
2379
- ifEmpty
2380
- }) {
2407
+ into(_ref2) {
2408
+ var {
2409
+ ifEmpty
2410
+ } = _ref2;
2381
2411
  return ifEmpty();
2382
2412
  }
2383
2413
 
@@ -2393,9 +2423,13 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
2393
2423
  }
2394
2424
 
2395
2425
  class ResultImpl {
2396
- static all(...results) {
2426
+ static all() {
2397
2427
  var out = [];
2398
2428
 
2429
+ for (var _len = arguments.length, results = new Array(_len), _key = 0; _key < _len; _key++) {
2430
+ results[_key] = arguments[_key];
2431
+ }
2432
+
2399
2433
  for (var result of results) {
2400
2434
  if (result.isErr) {
2401
2435
  return result.cast();
@@ -2494,7 +2528,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
2494
2528
  }
2495
2529
 
2496
2530
  class ResultArray {
2497
- constructor(items = []) {
2531
+ constructor(items) {
2532
+ if (items === void 0) {
2533
+ items = [];
2534
+ }
2535
+
2498
2536
  this.items = items;
2499
2537
  }
2500
2538
 
@@ -2917,19 +2955,23 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
2917
2955
  if (!hasPath(expr)) {
2918
2956
  throw new Error("unimplemented subexpression at the head of a subexpression");
2919
2957
  } else {
2920
- return Result.all(VISIT_EXPRS.visit(expr.callee, state), VISIT_EXPRS.Args(expr.args, state)).mapOk(([callee, args]) => new CallExpression({
2921
- loc: expr.loc,
2922
- callee,
2923
- args
2924
- }));
2958
+ return Result.all(VISIT_EXPRS.visit(expr.callee, state), VISIT_EXPRS.Args(expr.args, state)).mapOk(_ref3 => {
2959
+ var [callee, args] = _ref3;
2960
+ return new CallExpression({
2961
+ loc: expr.loc,
2962
+ callee,
2963
+ args
2964
+ });
2965
+ });
2925
2966
  }
2926
2967
  }
2927
2968
 
2928
- DeprecaedCallExpression({
2929
- arg,
2930
- callee,
2931
- loc
2932
- }, _state) {
2969
+ DeprecaedCallExpression(_ref4, _state) {
2970
+ var {
2971
+ arg,
2972
+ callee,
2973
+ loc
2974
+ } = _ref4;
2933
2975
  return Ok(new DeprecatedCallExpression({
2934
2976
  loc,
2935
2977
  arg,
@@ -2937,16 +2979,20 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
2937
2979
  }));
2938
2980
  }
2939
2981
 
2940
- Args({
2941
- positional,
2942
- named,
2943
- loc
2944
- }, state) {
2945
- return Result.all(this.Positional(positional, state), this.NamedArguments(named, state)).mapOk(([positional, named]) => new Args({
2946
- loc,
2982
+ Args(_ref5, state) {
2983
+ var {
2947
2984
  positional,
2948
- named
2949
- }));
2985
+ named,
2986
+ loc
2987
+ } = _ref5;
2988
+ return Result.all(this.Positional(positional, state), this.NamedArguments(named, state)).mapOk(_ref6 => {
2989
+ var [positional, named] = _ref6;
2990
+ return new Args({
2991
+ loc,
2992
+ positional,
2993
+ named
2994
+ });
2995
+ });
2950
2996
  }
2951
2997
 
2952
2998
  Positional(positional, state) {
@@ -3037,21 +3083,26 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3037
3083
  }
3038
3084
 
3039
3085
  function translateCurryKeyword(curriedType) {
3040
- return ({
3041
- node: node$$1,
3042
- state
3043
- }, {
3044
- definition,
3045
- args
3046
- }) => {
3047
- var definitionResult = VISIT_EXPRS.visit(definition, state);
3048
- var argsResult = VISIT_EXPRS.Args(args, state);
3049
- return Result.all(definitionResult, argsResult).mapOk(([definition, args]) => new Curry({
3050
- loc: node$$1.loc,
3051
- curriedType,
3086
+ return (_ref7, _ref8) => {
3087
+ var {
3088
+ node: node$$1,
3089
+ state
3090
+ } = _ref7;
3091
+ var {
3052
3092
  definition,
3053
3093
  args
3054
- }));
3094
+ } = _ref8;
3095
+ var definitionResult = VISIT_EXPRS.visit(definition, state);
3096
+ var argsResult = VISIT_EXPRS.Args(args, state);
3097
+ return Result.all(definitionResult, argsResult).mapOk(_ref9 => {
3098
+ var [definition, args] = _ref9;
3099
+ return new Curry({
3100
+ loc: node$$1.loc,
3101
+ curriedType,
3102
+ definition,
3103
+ args
3104
+ });
3105
+ });
3055
3106
  };
3056
3107
  }
3057
3108
 
@@ -3084,10 +3135,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3084
3135
  return Ok(varName);
3085
3136
  }
3086
3137
 
3087
- function translateGetDynamicVarKeyword({
3088
- node: node$$1,
3089
- state
3090
- }, name) {
3138
+ function translateGetDynamicVarKeyword(_ref10, name) {
3139
+ var {
3140
+ node: node$$1,
3141
+ state
3142
+ } = _ref10;
3091
3143
  return VISIT_EXPRS.visit(name, state).mapOk(name => new GetDynamicVar({
3092
3144
  name,
3093
3145
  loc: node$$1.loc
@@ -3126,12 +3178,13 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3126
3178
  }
3127
3179
 
3128
3180
  function translateHasBlockKeyword(type) {
3129
- return ({
3130
- node: node$$1,
3131
- state: {
3132
- scope
3133
- }
3134
- }, target) => {
3181
+ return (_ref11, target) => {
3182
+ var {
3183
+ node: node$$1,
3184
+ state: {
3185
+ scope
3186
+ }
3187
+ } = _ref11;
3135
3188
  var block = type === 'has-block' ? new HasBlock({
3136
3189
  loc: node$$1.loc,
3137
3190
  target,
@@ -3192,18 +3245,22 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3192
3245
 
3193
3246
  function translateIfUnlessInlineKeyword(type) {
3194
3247
  var inverted = type === 'unless';
3195
- return ({
3196
- node: node$$1,
3197
- state
3198
- }, {
3199
- condition,
3200
- truthy,
3201
- falsy
3202
- }) => {
3248
+ return (_ref12, _ref13) => {
3249
+ var {
3250
+ node: node$$1,
3251
+ state
3252
+ } = _ref12;
3253
+ var {
3254
+ condition,
3255
+ truthy,
3256
+ falsy
3257
+ } = _ref13;
3203
3258
  var conditionResult = VISIT_EXPRS.visit(condition, state);
3204
3259
  var truthyResult = VISIT_EXPRS.visit(truthy, state);
3205
3260
  var falsyResult = falsy ? VISIT_EXPRS.visit(falsy, state) : Ok(null);
3206
- return Result.all(conditionResult, truthyResult, falsyResult).mapOk(([condition, truthy, falsy]) => {
3261
+ return Result.all(conditionResult, truthyResult, falsyResult).mapOk(_ref14 => {
3262
+ var [condition, truthy, falsy] = _ref14;
3263
+
3207
3264
  if (inverted) {
3208
3265
  condition = new Not({
3209
3266
  value: condition,
@@ -3243,10 +3300,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3243
3300
  return Ok(positional);
3244
3301
  }
3245
3302
 
3246
- function translateLogKeyword({
3247
- node: node$$1,
3248
- state
3249
- }, positional) {
3303
+ function translateLogKeyword(_ref15, positional) {
3304
+ var {
3305
+ node: node$$1,
3306
+ state
3307
+ } = _ref15;
3250
3308
  return VISIT_EXPRS.Positional(positional, state).mapOk(positional => new Log({
3251
3309
  positional,
3252
3310
  loc: node$$1.loc
@@ -3265,17 +3323,19 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3265
3323
  /* Modifier */
3266
3324
  ));
3267
3325
 
3268
- function toAppend({
3269
- assert,
3270
- translate
3271
- }) {
3326
+ function toAppend(_ref16) {
3327
+ var {
3328
+ assert,
3329
+ translate
3330
+ } = _ref16;
3272
3331
  return {
3273
3332
  assert,
3274
3333
 
3275
- translate({
3276
- node: node$$1,
3277
- state
3278
- }, value) {
3334
+ translate(_ref17, value) {
3335
+ var {
3336
+ node: node$$1,
3337
+ state
3338
+ } = _ref17;
3279
3339
  var result = translate({
3280
3340
  node: node$$1,
3281
3341
  state
@@ -3318,13 +3378,15 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3318
3378
  }
3319
3379
  },
3320
3380
 
3321
- translate({
3322
- node: node$$1,
3323
- state
3324
- }, {
3325
- target,
3326
- positional
3327
- }) {
3381
+ translate(_ref18, _ref19) {
3382
+ var {
3383
+ node: node$$1,
3384
+ state
3385
+ } = _ref18;
3386
+ var {
3387
+ target,
3388
+ positional
3389
+ } = _ref19;
3328
3390
  return VISIT_EXPRS.Positional(positional, state).mapOk(positional => new Yield({
3329
3391
  loc: node$$1.loc,
3330
3392
  target,
@@ -3353,12 +3415,13 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3353
3415
  }
3354
3416
  },
3355
3417
 
3356
- translate({
3357
- node: node$$1,
3358
- state: {
3359
- scope
3360
- }
3361
- }) {
3418
+ translate(_ref20) {
3419
+ var {
3420
+ node: node$$1,
3421
+ state: {
3422
+ scope
3423
+ }
3424
+ } = _ref20;
3362
3425
  scope.setHasEval();
3363
3426
  return Ok(new Debugger({
3364
3427
  loc: node$$1.loc,
@@ -3371,21 +3434,26 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3371
3434
  /* Component */
3372
3435
  ),
3373
3436
 
3374
- translate({
3375
- node: node$$1,
3376
- state
3377
- }, {
3378
- definition,
3379
- args
3380
- }) {
3437
+ translate(_ref21, _ref22) {
3438
+ var {
3439
+ node: node$$1,
3440
+ state
3441
+ } = _ref21;
3442
+ var {
3443
+ definition,
3444
+ args
3445
+ } = _ref22;
3381
3446
  var definitionResult = VISIT_EXPRS.visit(definition, state);
3382
3447
  var argsResult = VISIT_EXPRS.Args(args, state);
3383
- return Result.all(definitionResult, argsResult).mapOk(([definition, args]) => new InvokeComponent({
3384
- loc: node$$1.loc,
3385
- definition,
3386
- args,
3387
- blocks: null
3388
- }));
3448
+ return Result.all(definitionResult, argsResult).mapOk(_ref23 => {
3449
+ var [definition, args] = _ref23;
3450
+ return new InvokeComponent({
3451
+ loc: node$$1.loc,
3452
+ definition,
3453
+ args,
3454
+ blocks: null
3455
+ });
3456
+ });
3389
3457
  }
3390
3458
 
3391
3459
  }).kw('helper', {
@@ -3393,16 +3461,19 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3393
3461
  /* Helper */
3394
3462
  ),
3395
3463
 
3396
- translate({
3397
- node: node$$1,
3398
- state
3399
- }, {
3400
- definition,
3401
- args
3402
- }) {
3464
+ translate(_ref24, _ref25) {
3465
+ var {
3466
+ node: node$$1,
3467
+ state
3468
+ } = _ref24;
3469
+ var {
3470
+ definition,
3471
+ args
3472
+ } = _ref25;
3403
3473
  var definitionResult = VISIT_EXPRS.visit(definition, state);
3404
3474
  var argsResult = VISIT_EXPRS.Args(args, state);
3405
- return Result.all(definitionResult, argsResult).mapOk(([definition, args]) => {
3475
+ return Result.all(definitionResult, argsResult).mapOk(_ref26 => {
3476
+ var [definition, args] = _ref26;
3406
3477
  var text = new CallExpression({
3407
3478
  callee: definition,
3408
3479
  args,
@@ -3441,17 +3512,21 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3441
3512
  });
3442
3513
  },
3443
3514
 
3444
- translate({
3445
- node: node$$1,
3446
- state
3447
- }, {
3448
- insertBefore,
3449
- destination
3450
- }) {
3515
+ translate(_ref27, _ref28) {
3516
+ var {
3517
+ node: node$$1,
3518
+ state
3519
+ } = _ref27;
3520
+ var {
3521
+ insertBefore,
3522
+ destination
3523
+ } = _ref28;
3451
3524
  var named = node$$1.blocks.get('default');
3452
3525
  var body = VISIT_STMTS.NamedBlock(named, state);
3453
3526
  var destinationResult = VISIT_EXPRS.visit(destination, state);
3454
- return Result.all(body, destinationResult).andThen(([body, destination]) => {
3527
+ return Result.all(body, destinationResult).andThen(_ref29 => {
3528
+ var [body, destination] = _ref29;
3529
+
3455
3530
  if (insertBefore) {
3456
3531
  return VISIT_EXPRS.visit(insertBefore, state).mapOk(insertBefore => ({
3457
3532
  body,
@@ -3467,17 +3542,20 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3467
3542
  })
3468
3543
  });
3469
3544
  }
3470
- }).mapOk(({
3471
- body,
3472
- destination,
3473
- insertBefore
3474
- }) => new InElement({
3475
- loc: node$$1.loc,
3476
- block: body,
3477
- insertBefore,
3478
- guid: state.generateUniqueCursor(),
3479
- destination
3480
- }));
3545
+ }).mapOk(_ref30 => {
3546
+ var {
3547
+ body,
3548
+ destination,
3549
+ insertBefore
3550
+ } = _ref30;
3551
+ return new InElement({
3552
+ loc: node$$1.loc,
3553
+ block: body,
3554
+ insertBefore,
3555
+ guid: state.generateUniqueCursor(),
3556
+ destination
3557
+ });
3558
+ });
3481
3559
  }
3482
3560
 
3483
3561
  }).kw('if', {
@@ -3505,23 +3583,28 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3505
3583
  });
3506
3584
  },
3507
3585
 
3508
- translate({
3509
- node: node$$1,
3510
- state
3511
- }, {
3512
- condition
3513
- }) {
3586
+ translate(_ref31, _ref32) {
3587
+ var {
3588
+ node: node$$1,
3589
+ state
3590
+ } = _ref31;
3591
+ var {
3592
+ condition
3593
+ } = _ref32;
3514
3594
  var block = node$$1.blocks.get('default');
3515
3595
  var inverse = node$$1.blocks.get('else');
3516
3596
  var conditionResult = VISIT_EXPRS.visit(condition, state);
3517
3597
  var blockResult = VISIT_STMTS.NamedBlock(block, state);
3518
3598
  var inverseResult = inverse ? VISIT_STMTS.NamedBlock(inverse, state) : Ok(null);
3519
- return Result.all(conditionResult, blockResult, inverseResult).mapOk(([condition, block, inverse]) => new If({
3520
- loc: node$$1.loc,
3521
- condition,
3522
- block,
3523
- inverse
3524
- }));
3599
+ return Result.all(conditionResult, blockResult, inverseResult).mapOk(_ref33 => {
3600
+ var [condition, block, inverse] = _ref33;
3601
+ return new If({
3602
+ loc: node$$1.loc,
3603
+ condition,
3604
+ block,
3605
+ inverse
3606
+ });
3607
+ });
3525
3608
  }
3526
3609
 
3527
3610
  }).kw('unless', {
@@ -3549,26 +3632,31 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3549
3632
  });
3550
3633
  },
3551
3634
 
3552
- translate({
3553
- node: node$$1,
3554
- state
3555
- }, {
3556
- condition
3557
- }) {
3635
+ translate(_ref34, _ref35) {
3636
+ var {
3637
+ node: node$$1,
3638
+ state
3639
+ } = _ref34;
3640
+ var {
3641
+ condition
3642
+ } = _ref35;
3558
3643
  var block = node$$1.blocks.get('default');
3559
3644
  var inverse = node$$1.blocks.get('else');
3560
3645
  var conditionResult = VISIT_EXPRS.visit(condition, state);
3561
3646
  var blockResult = VISIT_STMTS.NamedBlock(block, state);
3562
3647
  var inverseResult = inverse ? VISIT_STMTS.NamedBlock(inverse, state) : Ok(null);
3563
- return Result.all(conditionResult, blockResult, inverseResult).mapOk(([condition, block, inverse]) => new If({
3564
- loc: node$$1.loc,
3565
- condition: new Not({
3566
- value: condition,
3567
- loc: node$$1.loc
3568
- }),
3569
- block,
3570
- inverse
3571
- }));
3648
+ return Result.all(conditionResult, blockResult, inverseResult).mapOk(_ref36 => {
3649
+ var [condition, block, inverse] = _ref36;
3650
+ return new If({
3651
+ loc: node$$1.loc,
3652
+ condition: new Not({
3653
+ value: condition,
3654
+ loc: node$$1.loc
3655
+ }),
3656
+ block,
3657
+ inverse
3658
+ });
3659
+ });
3572
3660
  }
3573
3661
 
3574
3662
  }).kw('each', {
@@ -3598,26 +3686,31 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3598
3686
  });
3599
3687
  },
3600
3688
 
3601
- translate({
3602
- node: node$$1,
3603
- state
3604
- }, {
3605
- value,
3606
- key
3607
- }) {
3689
+ translate(_ref37, _ref38) {
3690
+ var {
3691
+ node: node$$1,
3692
+ state
3693
+ } = _ref37;
3694
+ var {
3695
+ value,
3696
+ key
3697
+ } = _ref38;
3608
3698
  var block = node$$1.blocks.get('default');
3609
3699
  var inverse = node$$1.blocks.get('else');
3610
3700
  var valueResult = VISIT_EXPRS.visit(value, state);
3611
3701
  var keyResult = key ? VISIT_EXPRS.visit(key, state) : Ok(null);
3612
3702
  var blockResult = VISIT_STMTS.NamedBlock(block, state);
3613
3703
  var inverseResult = inverse ? VISIT_STMTS.NamedBlock(inverse, state) : Ok(null);
3614
- return Result.all(valueResult, keyResult, blockResult, inverseResult).mapOk(([value, key, block, inverse]) => new Each({
3615
- loc: node$$1.loc,
3616
- value,
3617
- key,
3618
- block,
3619
- inverse
3620
- }));
3704
+ return Result.all(valueResult, keyResult, blockResult, inverseResult).mapOk(_ref39 => {
3705
+ var [value, key, block, inverse] = _ref39;
3706
+ return new Each({
3707
+ loc: node$$1.loc,
3708
+ value,
3709
+ key,
3710
+ block,
3711
+ inverse
3712
+ });
3713
+ });
3621
3714
  }
3622
3715
 
3623
3716
  }).kw('with', {
@@ -3645,23 +3738,28 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3645
3738
  });
3646
3739
  },
3647
3740
 
3648
- translate({
3649
- node: node$$1,
3650
- state
3651
- }, {
3652
- value
3653
- }) {
3741
+ translate(_ref40, _ref41) {
3742
+ var {
3743
+ node: node$$1,
3744
+ state
3745
+ } = _ref40;
3746
+ var {
3747
+ value
3748
+ } = _ref41;
3654
3749
  var block = node$$1.blocks.get('default');
3655
3750
  var inverse = node$$1.blocks.get('else');
3656
3751
  var valueResult = VISIT_EXPRS.visit(value, state);
3657
3752
  var blockResult = VISIT_STMTS.NamedBlock(block, state);
3658
3753
  var inverseResult = inverse ? VISIT_STMTS.NamedBlock(inverse, state) : Ok(null);
3659
- return Result.all(valueResult, blockResult, inverseResult).mapOk(([value, block, inverse]) => new With({
3660
- loc: node$$1.loc,
3661
- value,
3662
- block,
3663
- inverse
3664
- }));
3754
+ return Result.all(valueResult, blockResult, inverseResult).mapOk(_ref42 => {
3755
+ var [value, block, inverse] = _ref42;
3756
+ return new With({
3757
+ loc: node$$1.loc,
3758
+ value,
3759
+ block,
3760
+ inverse
3761
+ });
3762
+ });
3665
3763
  }
3666
3764
 
3667
3765
  }).kw('let', {
@@ -3687,20 +3785,25 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3687
3785
  });
3688
3786
  },
3689
3787
 
3690
- translate({
3691
- node: node$$1,
3692
- state
3693
- }, {
3694
- positional
3695
- }) {
3788
+ translate(_ref43, _ref44) {
3789
+ var {
3790
+ node: node$$1,
3791
+ state
3792
+ } = _ref43;
3793
+ var {
3794
+ positional
3795
+ } = _ref44;
3696
3796
  var block = node$$1.blocks.get('default');
3697
3797
  var positionalResult = VISIT_EXPRS.Positional(positional, state);
3698
3798
  var blockResult = VISIT_STMTS.NamedBlock(block, state);
3699
- return Result.all(positionalResult, blockResult).mapOk(([positional, block]) => new Let({
3700
- loc: node$$1.loc,
3701
- positional,
3702
- block
3703
- }));
3799
+ return Result.all(positionalResult, blockResult).mapOk(_ref45 => {
3800
+ var [positional, block] = _ref45;
3801
+ return new Let({
3802
+ loc: node$$1.loc,
3803
+ positional,
3804
+ block
3805
+ });
3806
+ });
3704
3807
  }
3705
3808
 
3706
3809
  }).kw('-with-dynamic-vars', {
@@ -3710,20 +3813,25 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3710
3813
  });
3711
3814
  },
3712
3815
 
3713
- translate({
3714
- node: node$$1,
3715
- state
3716
- }, {
3717
- named
3718
- }) {
3816
+ translate(_ref46, _ref47) {
3817
+ var {
3818
+ node: node$$1,
3819
+ state
3820
+ } = _ref46;
3821
+ var {
3822
+ named
3823
+ } = _ref47;
3719
3824
  var block = node$$1.blocks.get('default');
3720
3825
  var namedResult = VISIT_EXPRS.NamedArguments(named, state);
3721
3826
  var blockResult = VISIT_STMTS.NamedBlock(block, state);
3722
- return Result.all(namedResult, blockResult).mapOk(([named, block]) => new WithDynamicVars({
3723
- loc: node$$1.loc,
3724
- named,
3725
- block
3726
- }));
3827
+ return Result.all(namedResult, blockResult).mapOk(_ref48 => {
3828
+ var [named, block] = _ref48;
3829
+ return new WithDynamicVars({
3830
+ loc: node$$1.loc,
3831
+ named,
3832
+ block
3833
+ });
3834
+ });
3727
3835
  }
3728
3836
 
3729
3837
  }).kw('component', {
@@ -3731,22 +3839,27 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3731
3839
  /* Component */
3732
3840
  ),
3733
3841
 
3734
- translate({
3735
- node: node$$1,
3736
- state
3737
- }, {
3738
- definition,
3739
- args
3740
- }) {
3842
+ translate(_ref49, _ref50) {
3843
+ var {
3844
+ node: node$$1,
3845
+ state
3846
+ } = _ref49;
3847
+ var {
3848
+ definition,
3849
+ args
3850
+ } = _ref50;
3741
3851
  var definitionResult = VISIT_EXPRS.visit(definition, state);
3742
3852
  var argsResult = VISIT_EXPRS.Args(args, state);
3743
3853
  var blocksResult = VISIT_STMTS.NamedBlocks(node$$1.blocks, state);
3744
- return Result.all(definitionResult, argsResult, blocksResult).mapOk(([definition, args, blocks]) => new InvokeComponent({
3745
- loc: node$$1.loc,
3746
- definition,
3747
- args,
3748
- blocks
3749
- }));
3854
+ return Result.all(definitionResult, argsResult, blocksResult).mapOk(_ref51 => {
3855
+ var [definition, args, blocks] = _ref51;
3856
+ return new InvokeComponent({
3857
+ loc: node$$1.loc,
3858
+ definition,
3859
+ args,
3860
+ blocks
3861
+ });
3862
+ });
3750
3863
  }
3751
3864
 
3752
3865
  });
@@ -3903,11 +4016,14 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3903
4016
 
3904
4017
  var head = VISIT_EXPRS.visit(modifier.callee, this.state);
3905
4018
  var args = VISIT_EXPRS.Args(modifier.args, this.state);
3906
- return Result.all(head, args).mapOk(([head, args]) => new Modifier({
3907
- loc: modifier.loc,
3908
- callee: head,
3909
- args
3910
- }));
4019
+ return Result.all(head, args).mapOk(_ref52 => {
4020
+ var [head, args] = _ref52;
4021
+ return new Modifier({
4022
+ loc: modifier.loc,
4023
+ callee: head,
4024
+ args
4025
+ });
4026
+ });
3911
4027
  }
3912
4028
 
3913
4029
  attrs() {
@@ -3943,19 +4059,23 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3943
4059
  attrs.add(this.attr(typeAttr));
3944
4060
  }
3945
4061
 
3946
- return Result.all(args.toArray(), attrs.toArray()).mapOk(([args, attrs]) => ({
3947
- attrs,
3948
- args: new NamedArguments({
3949
- loc: (0, _syntax.maybeLoc)(args, _syntax.SourceSpan.NON_EXISTENT),
3950
- entries: OptionalList(args)
3951
- })
3952
- }));
4062
+ return Result.all(args.toArray(), attrs.toArray()).mapOk(_ref53 => {
4063
+ var [args, attrs] = _ref53;
4064
+ return {
4065
+ attrs,
4066
+ args: new NamedArguments({
4067
+ loc: (0, _syntax.maybeLoc)(args, _syntax.SourceSpan.NON_EXISTENT),
4068
+ entries: OptionalList(args)
4069
+ })
4070
+ };
4071
+ });
3953
4072
  }
3954
4073
 
3955
4074
  prepare() {
3956
4075
  var attrs = this.attrs();
3957
4076
  var modifiers = new ResultArray(this.element.modifiers.map(m => this.modifier(m))).toArray();
3958
- return Result.all(attrs, modifiers).mapOk(([result, modifiers]) => {
4077
+ return Result.all(attrs, modifiers).mapOk(_ref54 => {
4078
+ var [result, modifiers] = _ref54;
3959
4079
  var {
3960
4080
  attrs,
3961
4081
  args
@@ -3974,10 +4094,12 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3974
4094
 
3975
4095
  }
3976
4096
 
3977
- function hasDynamicFeatures({
3978
- attrs,
3979
- modifiers
3980
- }) {
4097
+ function hasDynamicFeatures(_ref55) {
4098
+ var {
4099
+ attrs,
4100
+ modifiers
4101
+ } = _ref55;
4102
+
3981
4103
  // ElementModifier needs the special ComponentOperations
3982
4104
  if (modifiers.length > 0) {
3983
4105
  return true;
@@ -3994,9 +4116,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
3994
4116
  this.dynamicFeatures = true;
3995
4117
  }
3996
4118
 
3997
- arg(attr, {
3998
- state
3999
- }) {
4119
+ arg(attr, _ref56) {
4120
+ var {
4121
+ state
4122
+ } = _ref56;
4000
4123
  var name = attr.name;
4001
4124
  return VISIT_EXPRS.visit(convertPathToCallIfKeyword(attr.value), state).mapOk(value => new NamedArgument({
4002
4125
  loc: attr.loc,
@@ -4005,10 +4128,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4005
4128
  }));
4006
4129
  }
4007
4130
 
4008
- toStatement(component, {
4009
- args,
4010
- params
4011
- }) {
4131
+ toStatement(component, _ref57) {
4132
+ var {
4133
+ args,
4134
+ params
4135
+ } = _ref57;
4012
4136
  var {
4013
4137
  element,
4014
4138
  state
@@ -4040,9 +4164,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4040
4164
  return Err((0, _syntax.generateSyntaxError)(attr.name.chars + " is not a valid attribute name. @arguments are only allowed on components, but the tag for this element (`" + this.tag.chars + "`) is a regular, non-component HTML element.", attr.loc));
4041
4165
  }
4042
4166
 
4043
- toStatement(classified, {
4044
- params
4045
- }) {
4167
+ toStatement(classified, _ref58) {
4168
+ var {
4169
+ params
4170
+ } = _ref58;
4046
4171
  var {
4047
4172
  state,
4048
4173
  element
@@ -4098,12 +4223,15 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4098
4223
 
4099
4224
  var head = VISIT_EXPRS.visit(node$$1.callee, state);
4100
4225
  var args = VISIT_EXPRS.Args(node$$1.args, state);
4101
- return Result.all(head, args).andThen(([head, args]) => this.NamedBlocks(node$$1.blocks, state).mapOk(blocks => new InvokeBlock({
4102
- loc: node$$1.loc,
4103
- head,
4104
- args,
4105
- blocks
4106
- })));
4226
+ return Result.all(head, args).andThen(_ref59 => {
4227
+ var [head, args] = _ref59;
4228
+ return this.NamedBlocks(node$$1.blocks, state).mapOk(blocks => new InvokeBlock({
4229
+ loc: node$$1.loc,
4230
+ head,
4231
+ args,
4232
+ blocks
4233
+ }));
4234
+ });
4107
4235
  }
4108
4236
 
4109
4237
  NamedBlocks(blocks, state) {
@@ -4260,7 +4388,8 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4260
4388
  }
4261
4389
 
4262
4390
  class WireFormatDebugger {
4263
- constructor([_statements, symbols, _hasEval, upvars]) {
4391
+ constructor(_ref60) {
4392
+ var [_statements, symbols, _hasEval, upvars] = _ref60;
4264
4393
  this.upvars = upvars;
4265
4394
  this.symbols = symbols;
4266
4395
  }
@@ -4650,9 +4779,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4650
4779
  }
4651
4780
  }
4652
4781
 
4653
- Literal({
4654
- value
4655
- }) {
4782
+ Literal(_ref61) {
4783
+ var {
4784
+ value
4785
+ } = _ref61;
4786
+
4656
4787
  if (value === undefined) {
4657
4788
  return [27
4658
4789
  /* Undefined */
@@ -4666,9 +4797,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4666
4797
  return undefined;
4667
4798
  }
4668
4799
 
4669
- HasBlock({
4670
- symbol
4671
- }) {
4800
+ HasBlock(_ref62) {
4801
+ var {
4802
+ symbol
4803
+ } = _ref62;
4672
4804
  return [48
4673
4805
  /* HasBlock */
4674
4806
  , [30
@@ -4676,9 +4808,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4676
4808
  , symbol]];
4677
4809
  }
4678
4810
 
4679
- HasBlockParams({
4680
- symbol
4681
- }) {
4811
+ HasBlockParams(_ref63) {
4812
+ var {
4813
+ symbol
4814
+ } = _ref63;
4682
4815
  return [49
4683
4816
  /* HasBlockParams */
4684
4817
  , [30
@@ -4686,20 +4819,22 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4686
4819
  , symbol]];
4687
4820
  }
4688
4821
 
4689
- Curry({
4690
- definition,
4691
- curriedType,
4692
- args
4693
- }) {
4822
+ Curry(_ref64) {
4823
+ var {
4824
+ definition,
4825
+ curriedType,
4826
+ args
4827
+ } = _ref64;
4694
4828
  return [50
4695
4829
  /* Curry */
4696
4830
  , EXPR.expr(definition), curriedType, EXPR.Positional(args.positional), EXPR.NamedArguments(args.named)];
4697
4831
  }
4698
4832
 
4699
- Local({
4700
- isTemplateLocal,
4701
- symbol
4702
- }) {
4833
+ Local(_ref65) {
4834
+ var {
4835
+ isTemplateLocal,
4836
+ symbol
4837
+ } = _ref65;
4703
4838
  return [isTemplateLocal ? 32
4704
4839
  /* GetTemplateSymbol */
4705
4840
  : 30
@@ -4707,77 +4842,87 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4707
4842
  , symbol];
4708
4843
  }
4709
4844
 
4710
- GetWithResolver({
4711
- symbol
4712
- }) {
4845
+ GetWithResolver(_ref66) {
4846
+ var {
4847
+ symbol
4848
+ } = _ref66;
4713
4849
  return [34
4714
4850
  /* GetFreeAsComponentOrHelperHeadOrThisFallback */
4715
4851
  , symbol];
4716
4852
  }
4717
4853
 
4718
- PathExpression({
4719
- head,
4720
- tail
4721
- }) {
4854
+ PathExpression(_ref67) {
4855
+ var {
4856
+ head,
4857
+ tail
4858
+ } = _ref67;
4722
4859
  var getOp = EXPR.expr(head);
4723
4860
  return [...getOp, EXPR.Tail(tail)];
4724
4861
  }
4725
4862
 
4726
- InterpolateExpression({
4727
- parts
4728
- }) {
4863
+ InterpolateExpression(_ref68) {
4864
+ var {
4865
+ parts
4866
+ } = _ref68;
4729
4867
  return [29
4730
4868
  /* Concat */
4731
4869
  , parts.map(e => EXPR.expr(e)).toArray()];
4732
4870
  }
4733
4871
 
4734
- CallExpression({
4735
- callee,
4736
- args
4737
- }) {
4872
+ CallExpression(_ref69) {
4873
+ var {
4874
+ callee,
4875
+ args
4876
+ } = _ref69;
4738
4877
  return [28
4739
4878
  /* Call */
4740
4879
  , EXPR.expr(callee), ...EXPR.Args(args)];
4741
4880
  }
4742
4881
 
4743
- DeprecatedCallExpression({
4744
- arg,
4745
- callee
4746
- }) {
4882
+ DeprecatedCallExpression(_ref70) {
4883
+ var {
4884
+ arg,
4885
+ callee
4886
+ } = _ref70;
4747
4887
  return [99
4748
4888
  /* GetFreeAsDeprecatedHelperHeadOrThisFallback */
4749
4889
  , callee.symbol, [arg.chars]];
4750
4890
  }
4751
4891
 
4752
- Tail({
4753
- members
4754
- }) {
4892
+ Tail(_ref71) {
4893
+ var {
4894
+ members
4895
+ } = _ref71;
4755
4896
  return (0, _util.mapPresent)(members, member => member.chars);
4756
4897
  }
4757
4898
 
4758
- Args({
4759
- positional,
4760
- named
4761
- }) {
4899
+ Args(_ref72) {
4900
+ var {
4901
+ positional,
4902
+ named
4903
+ } = _ref72;
4762
4904
  return [this.Positional(positional), this.NamedArguments(named)];
4763
4905
  }
4764
4906
 
4765
- Positional({
4766
- list
4767
- }) {
4907
+ Positional(_ref73) {
4908
+ var {
4909
+ list
4910
+ } = _ref73;
4768
4911
  return list.map(l => EXPR.expr(l)).toPresentArray();
4769
4912
  }
4770
4913
 
4771
- NamedArgument({
4772
- key,
4773
- value
4774
- }) {
4914
+ NamedArgument(_ref74) {
4915
+ var {
4916
+ key,
4917
+ value
4918
+ } = _ref74;
4775
4919
  return [key.chars, EXPR.expr(value)];
4776
4920
  }
4777
4921
 
4778
- NamedArguments({
4779
- entries: pairs
4780
- }) {
4922
+ NamedArguments(_ref75) {
4923
+ var {
4924
+ entries: pairs
4925
+ } = _ref75;
4781
4926
  var list = pairs.toArray();
4782
4927
 
4783
4928
  if ((0, _util.isPresent)(list)) {
@@ -4798,19 +4943,21 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4798
4943
  }
4799
4944
  }
4800
4945
 
4801
- Not({
4802
- value
4803
- }) {
4946
+ Not(_ref76) {
4947
+ var {
4948
+ value
4949
+ } = _ref76;
4804
4950
  return [51
4805
4951
  /* Not */
4806
4952
  , EXPR.expr(value)];
4807
4953
  }
4808
4954
 
4809
- IfInline({
4810
- condition,
4811
- truthy,
4812
- falsy
4813
- }) {
4955
+ IfInline(_ref77) {
4956
+ var {
4957
+ condition,
4958
+ truthy,
4959
+ falsy
4960
+ } = _ref77;
4814
4961
  var expr = [52
4815
4962
  /* IfInline */
4816
4963
  , EXPR.expr(condition), EXPR.expr(truthy)];
@@ -4822,17 +4969,19 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4822
4969
  return expr;
4823
4970
  }
4824
4971
 
4825
- GetDynamicVar({
4826
- name
4827
- }) {
4972
+ GetDynamicVar(_ref78) {
4973
+ var {
4974
+ name
4975
+ } = _ref78;
4828
4976
  return [53
4829
4977
  /* GetDynamicVar */
4830
4978
  , EXPR.expr(name)];
4831
4979
  }
4832
4980
 
4833
- Log({
4834
- positional
4835
- }) {
4981
+ Log(_ref79) {
4982
+ var {
4983
+ positional
4984
+ } = _ref79;
4836
4985
  return [54
4837
4986
  /* Log */
4838
4987
  , this.Positional(positional)];
@@ -4928,21 +5077,23 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4928
5077
  }
4929
5078
  }
4930
5079
 
4931
- Yield({
4932
- to,
4933
- positional
4934
- }) {
5080
+ Yield(_ref80) {
5081
+ var {
5082
+ to,
5083
+ positional
5084
+ } = _ref80;
4935
5085
  return [18
4936
5086
  /* Yield */
4937
5087
  , to, EXPR.Positional(positional)];
4938
5088
  }
4939
5089
 
4940
- InElement({
4941
- guid,
4942
- insertBefore,
4943
- destination,
4944
- block
4945
- }) {
5090
+ InElement(_ref81) {
5091
+ var {
5092
+ guid,
5093
+ insertBefore,
5094
+ destination,
5095
+ block
5096
+ } = _ref81;
4946
5097
  var wireBlock = CONTENT.NamedBlock(block)[1]; // let guid = args.guid;
4947
5098
 
4948
5099
  var wireDestination = EXPR.expr(destination);
@@ -4959,46 +5110,51 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
4959
5110
  }
4960
5111
  }
4961
5112
 
4962
- InvokeBlock({
4963
- head,
4964
- args,
4965
- blocks
4966
- }) {
5113
+ InvokeBlock(_ref82) {
5114
+ var {
5115
+ head,
5116
+ args,
5117
+ blocks
5118
+ } = _ref82;
4967
5119
  return [6
4968
5120
  /* Block */
4969
5121
  , EXPR.expr(head), ...EXPR.Args(args), CONTENT.NamedBlocks(blocks)];
4970
5122
  }
4971
5123
 
4972
- AppendTrustedHTML({
4973
- html
4974
- }) {
5124
+ AppendTrustedHTML(_ref83) {
5125
+ var {
5126
+ html
5127
+ } = _ref83;
4975
5128
  return [2
4976
5129
  /* TrustingAppend */
4977
5130
  , EXPR.expr(html)];
4978
5131
  }
4979
5132
 
4980
- AppendTextNode({
4981
- text
4982
- }) {
5133
+ AppendTextNode(_ref84) {
5134
+ var {
5135
+ text
5136
+ } = _ref84;
4983
5137
  return [1
4984
5138
  /* Append */
4985
5139
  , EXPR.expr(text)];
4986
5140
  }
4987
5141
 
4988
- AppendComment({
4989
- value
4990
- }) {
5142
+ AppendComment(_ref85) {
5143
+ var {
5144
+ value
5145
+ } = _ref85;
4991
5146
  return [3
4992
5147
  /* Comment */
4993
5148
  , value.chars];
4994
5149
  }
4995
5150
 
4996
- SimpleElement({
4997
- tag,
4998
- params,
4999
- body,
5000
- dynamicFeatures
5001
- }) {
5151
+ SimpleElement(_ref86) {
5152
+ var {
5153
+ tag,
5154
+ params,
5155
+ body,
5156
+ dynamicFeatures
5157
+ } = _ref86;
5002
5158
  var op = dynamicFeatures ? 11
5003
5159
  /* OpenElementWithSplat */
5004
5160
  : 10
@@ -5011,12 +5167,13 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5011
5167
  ]]);
5012
5168
  }
5013
5169
 
5014
- Component({
5015
- tag,
5016
- params,
5017
- args,
5018
- blocks
5019
- }) {
5170
+ Component(_ref87) {
5171
+ var {
5172
+ tag,
5173
+ params,
5174
+ args,
5175
+ blocks
5176
+ } = _ref87;
5020
5177
  var wireTag = EXPR.expr(tag);
5021
5178
  var wirePositional = CONTENT.ElementParameters(params);
5022
5179
  var wireNamed = EXPR.NamedArguments(args);
@@ -5026,9 +5183,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5026
5183
  , wireTag, wirePositional.toPresentArray(), wireNamed, wireNamedBlocks];
5027
5184
  }
5028
5185
 
5029
- ElementParameters({
5030
- body
5031
- }) {
5186
+ ElementParameters(_ref88) {
5187
+ var {
5188
+ body
5189
+ } = _ref88;
5032
5190
  return body.map(p => CONTENT.ElementParameter(p));
5033
5191
  }
5034
5192
 
@@ -5052,9 +5210,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5052
5210
  }
5053
5211
  }
5054
5212
 
5055
- NamedBlocks({
5056
- blocks
5057
- }) {
5213
+ NamedBlocks(_ref89) {
5214
+ var {
5215
+ blocks
5216
+ } = _ref89;
5058
5217
  var names = [];
5059
5218
  var serializedBlocks = [];
5060
5219
 
@@ -5067,11 +5226,12 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5067
5226
  return names.length > 0 ? [names, serializedBlocks] : null;
5068
5227
  }
5069
5228
 
5070
- NamedBlock({
5071
- name,
5072
- body,
5073
- scope
5074
- }) {
5229
+ NamedBlock(_ref90) {
5230
+ var {
5231
+ name,
5232
+ body,
5233
+ scope
5234
+ } = _ref90;
5075
5235
  var nameChars = name.chars;
5076
5236
 
5077
5237
  if (nameChars === 'inverse') {
@@ -5081,60 +5241,66 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5081
5241
  return [nameChars, [CONTENT.list(body), scope.slots]];
5082
5242
  }
5083
5243
 
5084
- If({
5085
- condition,
5086
- block,
5087
- inverse
5088
- }) {
5244
+ If(_ref91) {
5245
+ var {
5246
+ condition,
5247
+ block,
5248
+ inverse
5249
+ } = _ref91;
5089
5250
  return [41
5090
5251
  /* If */
5091
5252
  , EXPR.expr(condition), CONTENT.NamedBlock(block)[1], inverse ? CONTENT.NamedBlock(inverse)[1] : null];
5092
5253
  }
5093
5254
 
5094
- Each({
5095
- value,
5096
- key,
5097
- block,
5098
- inverse
5099
- }) {
5255
+ Each(_ref92) {
5256
+ var {
5257
+ value,
5258
+ key,
5259
+ block,
5260
+ inverse
5261
+ } = _ref92;
5100
5262
  return [42
5101
5263
  /* Each */
5102
5264
  , EXPR.expr(value), key ? EXPR.expr(key) : null, CONTENT.NamedBlock(block)[1], inverse ? CONTENT.NamedBlock(inverse)[1] : null];
5103
5265
  }
5104
5266
 
5105
- With({
5106
- value,
5107
- block,
5108
- inverse
5109
- }) {
5267
+ With(_ref93) {
5268
+ var {
5269
+ value,
5270
+ block,
5271
+ inverse
5272
+ } = _ref93;
5110
5273
  return [43
5111
5274
  /* With */
5112
5275
  , EXPR.expr(value), CONTENT.NamedBlock(block)[1], inverse ? CONTENT.NamedBlock(inverse)[1] : null];
5113
5276
  }
5114
5277
 
5115
- Let({
5116
- positional,
5117
- block
5118
- }) {
5278
+ Let(_ref94) {
5279
+ var {
5280
+ positional,
5281
+ block
5282
+ } = _ref94;
5119
5283
  return [44
5120
5284
  /* Let */
5121
5285
  , EXPR.Positional(positional), CONTENT.NamedBlock(block)[1]];
5122
5286
  }
5123
5287
 
5124
- WithDynamicVars({
5125
- named,
5126
- block
5127
- }) {
5288
+ WithDynamicVars(_ref95) {
5289
+ var {
5290
+ named,
5291
+ block
5292
+ } = _ref95;
5128
5293
  return [45
5129
5294
  /* WithDynamicVars */
5130
5295
  , EXPR.NamedArguments(named), CONTENT.NamedBlock(block)[1]];
5131
5296
  }
5132
5297
 
5133
- InvokeComponent({
5134
- definition,
5135
- args,
5136
- blocks
5137
- }) {
5298
+ InvokeComponent(_ref96) {
5299
+ var {
5300
+ definition,
5301
+ args,
5302
+ blocks
5303
+ } = _ref96;
5138
5304
  return [46
5139
5305
  /* InvokeComponent */
5140
5306
  , EXPR.expr(definition), EXPR.Positional(args.positional), EXPR.NamedArguments(args.named), blocks ? CONTENT.NamedBlocks(blocks) : null];
@@ -5144,11 +5310,12 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5144
5310
 
5145
5311
  var CONTENT = new ContentEncoder();
5146
5312
 
5147
- function staticAttr({
5148
- name,
5149
- value,
5150
- namespace
5151
- }) {
5313
+ function staticAttr(_ref97) {
5314
+ var {
5315
+ name,
5316
+ value,
5317
+ namespace
5318
+ } = _ref97;
5152
5319
  var out = [deflateAttrName(name.chars), value.chars];
5153
5320
 
5154
5321
  if (namespace) {
@@ -5158,11 +5325,12 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5158
5325
  return out;
5159
5326
  }
5160
5327
 
5161
- function dynamicAttr({
5162
- name,
5163
- value,
5164
- namespace
5165
- }) {
5328
+ function dynamicAttr(_ref98) {
5329
+ var {
5330
+ name,
5331
+ value,
5332
+ namespace
5333
+ } = _ref98;
5166
5334
  var out = [deflateAttrName(name.chars), EXPR.expr(value)];
5167
5335
 
5168
5336
  if (namespace) {
@@ -5178,10 +5346,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5178
5346
  /* StaticComponentAttr */
5179
5347
  ;
5180
5348
  } else {
5181
- return 14
5182
- /* StaticAttr */
5183
- ;
5184
- }
5349
+ return 14
5350
+ /* StaticAttr */
5351
+ ;
5352
+ }
5185
5353
  }
5186
5354
 
5187
5355
  function dynamicAttrOp(kind) {
@@ -5250,7 +5418,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5250
5418
  * @return {string} a template javascript string
5251
5419
  */
5252
5420
 
5253
- function precompileJSON(string, options = defaultOptions) {
5421
+ function precompileJSON(string, options) {
5422
+ if (options === void 0) {
5423
+ options = defaultOptions;
5424
+ }
5425
+
5254
5426
  var _a, _b;
5255
5427
 
5256
5428
  var source = new _syntax.Source(string, (_a = options.meta) === null || _a === void 0 ? void 0 : _a.moduleName);
@@ -5284,7 +5456,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5284
5456
  * @return {string} a template javascript string
5285
5457
  */
5286
5458
 
5287
- function precompile(source, options = defaultOptions) {
5459
+ function precompile(source, options) {
5460
+ if (options === void 0) {
5461
+ options = defaultOptions;
5462
+ }
5463
+
5288
5464
  var _a, _b;
5289
5465
 
5290
5466
  var [block, usedLocals] = precompileJSON(source, options);
@@ -5346,14 +5522,14 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5346
5522
  if (head.type === "GetPath"
5347
5523
  /* GetPath */
5348
5524
  ) {
5349
- return {
5350
- kind: "AppendPath"
5351
- /* AppendPath */
5352
- ,
5353
- path: head,
5354
- trusted
5355
- };
5356
- } else {
5525
+ return {
5526
+ kind: "AppendPath"
5527
+ /* AppendPath */
5528
+ ,
5529
+ path: head,
5530
+ trusted
5531
+ };
5532
+ } else {
5357
5533
  return {
5358
5534
  kind: "AppendExpr"
5359
5535
  /* AppendExpr */
@@ -5568,7 +5744,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5568
5744
  return normalizeDottedPath(result[1]);
5569
5745
  }
5570
5746
 
5571
- function normalizePath(head, tail = []) {
5747
+ function normalizePath(head, tail) {
5748
+ if (tail === void 0) {
5749
+ tail = [];
5750
+ }
5751
+
5572
5752
  var pathHead = normalizePathHead(head);
5573
5753
 
5574
5754
  if ((0, _util.isPresent)(tail)) {
@@ -5780,7 +5960,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
5780
5960
  return match ? match[1] : null;
5781
5961
  }
5782
5962
 
5783
- function normalizeAppendExpression(expression, forceTrusted = false) {
5963
+ function normalizeAppendExpression(expression, forceTrusted) {
5964
+ if (forceTrusted === void 0) {
5965
+ forceTrusted = false;
5966
+ }
5967
+
5784
5968
  if (expression === null || expression === undefined) {
5785
5969
  return {
5786
5970
  expr: {
@@ -6244,7 +6428,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
6244
6428
  return out;
6245
6429
  }
6246
6430
 
6247
- function buildStatement(normalized, symbols = new ProgramSymbols()) {
6431
+ function buildStatement(normalized, symbols) {
6432
+ if (symbols === void 0) {
6433
+ symbols = new ProgramSymbols();
6434
+ }
6435
+
6248
6436
  switch (normalized.kind) {
6249
6437
  case "AppendPath"
6250
6438
  /* AppendPath */
@@ -6358,14 +6546,22 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
6358
6546
  }
6359
6547
  }
6360
6548
 
6361
- function s(arr, ...interpolated) {
6549
+ function s(arr) {
6550
+ for (var _len2 = arguments.length, interpolated = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
6551
+ interpolated[_key2 - 1] = arguments[_key2];
6552
+ }
6553
+
6362
6554
  var result = arr.reduce((result, string, i) => result + ("" + string + (interpolated[i] ? String(interpolated[i]) : '')), '');
6363
6555
  return [0
6364
6556
  /* Literal */
6365
6557
  , result];
6366
6558
  }
6367
6559
 
6368
- function c(arr, ...interpolated) {
6560
+ function c(arr) {
6561
+ for (var _len3 = arguments.length, interpolated = new Array(_len3 > 1 ? _len3 - 1 : 0), _key3 = 1; _key3 < _len3; _key3++) {
6562
+ interpolated[_key3 - 1] = arguments[_key3];
6563
+ }
6564
+
6369
6565
  var result = arr.reduce((result, string, i) => result + ("" + string + (interpolated[i] ? String(interpolated[i]) : '')), '');
6370
6566
  return [1
6371
6567
  /* Comment */
@@ -6411,11 +6607,12 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
6411
6607
  }
6412
6608
  }
6413
6609
 
6414
- function buildElement({
6415
- name,
6416
- attrs,
6417
- block
6418
- }, symbols) {
6610
+ function buildElement(_ref99, symbols) {
6611
+ var {
6612
+ name,
6613
+ attrs,
6614
+ block
6615
+ } = _ref99;
6419
6616
  var out = [hasSplat(attrs) ? [11
6420
6617
  /* OpenElementWithSplat */
6421
6618
  , name] : [10
@@ -6464,10 +6661,10 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
6464
6661
  if (value === "Splat"
6465
6662
  /* Splat */
6466
6663
  ) {
6467
- params.push([17
6468
- /* AttrSplat */
6469
- , symbols.block('&attrs')]);
6470
- } else if (key[0] === '@') {
6664
+ params.push([17
6665
+ /* AttrSplat */
6666
+ , symbols.block('&attrs')]);
6667
+ } else if (key[0] === '@') {
6471
6668
  keys.push(key);
6472
6669
  values$$1.push(buildExpression(value, 'Strict', symbols));
6473
6670
  } else {
@@ -6651,8 +6848,8 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
6651
6848
  if (callHead.type === "GetVar"
6652
6849
  /* GetVar */
6653
6850
  ) {
6654
- return buildVar(callHead.variable, context, symbols);
6655
- } else {
6851
+ return buildVar(callHead.variable, context, symbols);
6852
+ } else {
6656
6853
  return buildGetPath(callHead, symbols);
6657
6854
  }
6658
6855
  }
@@ -6834,7 +7031,11 @@ define("@glimmer/compiler", ["exports", "@glimmer/syntax", "@glimmer/util"], fun
6834
7031
  return [keys, values$$1];
6835
7032
  }
6836
7033
 
6837
- function buildBlock(block, symbols, locals = []) {
7034
+ function buildBlock(block, symbols, locals) {
7035
+ if (locals === void 0) {
7036
+ locals = [];
7037
+ }
7038
+
6838
7039
  return [buildNormalizedStatements(block, symbols), locals];
6839
7040
  }
6840
7041
  });
@@ -6844,7 +7045,7 @@ define("@glimmer/env", ["exports"], function (_exports) {
6844
7045
  Object.defineProperty(_exports, "__esModule", {
6845
7046
  value: true
6846
7047
  });
6847
- _exports.CI = _exports.DEBUG = void 0;
7048
+ _exports.DEBUG = _exports.CI = void 0;
6848
7049
  var DEBUG = false;
6849
7050
  _exports.DEBUG = DEBUG;
6850
7051
  var CI = false;
@@ -6856,21 +7057,21 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
6856
7057
  Object.defineProperty(_exports, "__esModule", {
6857
7058
  value: true
6858
7059
  });
6859
- _exports.normalize = normalize;
6860
- _exports.generateSyntaxError = generateSyntaxError;
6861
- _exports.preprocess = preprocess;
6862
- _exports.print = build;
6863
- _exports.sortByLoc = sortByLoc;
6864
- _exports.traverse = traverse;
7060
+ _exports.builders = _exports.WalkerPath = _exports.Walker = _exports.SymbolTable = _exports.SpanList = _exports.SourceSpan = _exports.SourceSlice = _exports.Source = _exports.ProgramSymbolTable = _exports.Path = _exports.KEYWORDS_TYPES = _exports.BlockSymbolTable = _exports.ASTv2 = _exports.ASTv1 = _exports.AST = void 0;
6865
7061
  _exports.cannotRemoveNode = cannotRemoveNode;
6866
7062
  _exports.cannotReplaceNode = cannotReplaceNode;
6867
- _exports.isKeyword = isKeyword;
7063
+ _exports.generateSyntaxError = generateSyntaxError;
6868
7064
  _exports.getTemplateLocals = getTemplateLocals;
6869
- _exports.maybeLoc = maybeLoc;
6870
- _exports.loc = loc;
6871
7065
  _exports.hasSpan = hasSpan;
7066
+ _exports.isKeyword = isKeyword;
7067
+ _exports.loc = loc;
7068
+ _exports.maybeLoc = maybeLoc;
6872
7069
  _exports.node = node;
6873
- _exports.SpanList = _exports.SourceSpan = _exports.SourceSlice = _exports.KEYWORDS_TYPES = _exports.WalkerPath = _exports.Path = _exports.Walker = _exports.ProgramSymbolTable = _exports.BlockSymbolTable = _exports.SymbolTable = _exports.builders = _exports.Source = _exports.ASTv2 = _exports.AST = _exports.ASTv1 = void 0;
7070
+ _exports.normalize = normalize;
7071
+ _exports.preprocess = preprocess;
7072
+ _exports.print = build;
7073
+ _exports.sortByLoc = sortByLoc;
7074
+ _exports.traverse = traverse;
6874
7075
  var UNKNOWN_POSITION = Object.freeze({
6875
7076
  line: 1,
6876
7077
  column: 0
@@ -7094,7 +7295,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7094
7295
  */
7095
7296
 
7096
7297
 
7097
- static broken(pos = UNKNOWN_POSITION) {
7298
+ static broken(pos) {
7299
+ if (pos === void 0) {
7300
+ pos = UNKNOWN_POSITION;
7301
+ }
7302
+
7098
7303
  return new InvisiblePosition("Broken"
7099
7304
  /* Broken */
7100
7305
  , pos).wrap();
@@ -7252,7 +7457,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7252
7457
  }
7253
7458
 
7254
7459
  class HbsPosition {
7255
- constructor(source, hbsPos, charPos = null) {
7460
+ constructor(source, hbsPos, charPos) {
7461
+ if (charPos === void 0) {
7462
+ charPos = null;
7463
+ }
7464
+
7256
7465
  this.source = source;
7257
7466
  this.hbsPos = hbsPos;
7258
7467
  this.kind = "HbsPosition"
@@ -7360,25 +7569,35 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7360
7569
  /* HbsPosition */
7361
7570
  , "HbsPosition"
7362
7571
  /* HbsPosition */
7363
- , ({
7364
- hbsPos: left
7365
- }, {
7366
- hbsPos: right
7367
- }) => left.column === right.column && left.line === right.line).when("CharPosition"
7572
+ , (_ref, _ref2) => {
7573
+ var {
7574
+ hbsPos: left
7575
+ } = _ref;
7576
+ var {
7577
+ hbsPos: right
7578
+ } = _ref2;
7579
+ return left.column === right.column && left.line === right.line;
7580
+ }).when("CharPosition"
7368
7581
  /* CharPosition */
7369
7582
  , "CharPosition"
7370
7583
  /* CharPosition */
7371
- , ({
7372
- charPos: left
7373
- }, {
7374
- charPos: right
7375
- }) => left === right).when("CharPosition"
7584
+ , (_ref3, _ref4) => {
7585
+ var {
7586
+ charPos: left
7587
+ } = _ref3;
7588
+ var {
7589
+ charPos: right
7590
+ } = _ref4;
7591
+ return left === right;
7592
+ }).when("CharPosition"
7376
7593
  /* CharPosition */
7377
7594
  , "HbsPosition"
7378
7595
  /* HbsPosition */
7379
- , ({
7380
- offset: left
7381
- }, right) => {
7596
+ , (_ref5, right) => {
7597
+ var {
7598
+ offset: left
7599
+ } = _ref5;
7600
+
7382
7601
  var _a;
7383
7602
 
7384
7603
  return left === ((_a = right.toCharPos()) === null || _a === void 0 ? void 0 : _a.offset);
@@ -7386,9 +7605,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7386
7605
  /* HbsPosition */
7387
7606
  , "CharPosition"
7388
7607
  /* CharPosition */
7389
- , (left, {
7390
- offset: right
7391
- }) => {
7608
+ , (left, _ref6) => {
7609
+ var {
7610
+ offset: right
7611
+ } = _ref6;
7612
+
7392
7613
  var _a;
7393
7614
 
7394
7615
  return ((_a = left.toCharPos()) === null || _a === void 0 ? void 0 : _a.offset) === right;
@@ -7455,12 +7676,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7455
7676
  } else if (serialized === "NonExistent"
7456
7677
  /* NonExistent */
7457
7678
  ) {
7458
- return SourceSpan.NON_EXISTENT;
7459
- } else if (serialized === "Broken"
7679
+ return SourceSpan.NON_EXISTENT;
7680
+ } else if (serialized === "Broken"
7460
7681
  /* Broken */
7461
7682
  ) {
7462
- return SourceSpan.broken(BROKEN_LOCATION);
7463
- }
7683
+ return SourceSpan.broken(BROKEN_LOCATION);
7684
+ }
7464
7685
 
7465
7686
  (0, _util.assertNever)(serialized);
7466
7687
  }
@@ -7489,7 +7710,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7489
7710
  , NON_EXISTENT_LOCATION, chars).wrap();
7490
7711
  }
7491
7712
 
7492
- static broken(pos = BROKEN_LOCATION) {
7713
+ static broken(pos) {
7714
+ if (pos === void 0) {
7715
+ pos = BROKEN_LOCATION;
7716
+ }
7717
+
7493
7718
  return new InvisibleSpan("Broken"
7494
7719
  /* Broken */
7495
7720
  , pos).wrap();
@@ -7652,24 +7877,27 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7652
7877
  return this.data.serialize();
7653
7878
  }
7654
7879
 
7655
- slice({
7656
- skipStart = 0,
7657
- skipEnd = 0
7658
- }) {
7880
+ slice(_ref7) {
7881
+ var {
7882
+ skipStart = 0,
7883
+ skipEnd = 0
7884
+ } = _ref7;
7659
7885
  return span(this.getStart().move(skipStart).data, this.getEnd().move(-skipEnd).data);
7660
7886
  }
7661
7887
 
7662
- sliceStartChars({
7663
- skipStart = 0,
7664
- chars
7665
- }) {
7888
+ sliceStartChars(_ref8) {
7889
+ var {
7890
+ skipStart = 0,
7891
+ chars
7892
+ } = _ref8;
7666
7893
  return span(this.getStart().move(skipStart).data, this.getStart().move(skipStart + chars).data);
7667
7894
  }
7668
7895
 
7669
- sliceEndChars({
7670
- skipEnd = 0,
7671
- chars
7672
- }) {
7896
+ sliceEndChars(_ref9) {
7897
+ var {
7898
+ skipEnd = 0,
7899
+ chars
7900
+ } = _ref9;
7673
7901
  return span(this.getEnd().move(skipEnd - chars).data, this.getStart().move(-skipEnd).data);
7674
7902
  }
7675
7903
 
@@ -7753,7 +7981,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7753
7981
  }
7754
7982
 
7755
7983
  class HbsSpan {
7756
- constructor(source, hbsPositions, providedHbsLoc = null) {
7984
+ constructor(source, hbsPositions, providedHbsLoc) {
7985
+ if (providedHbsLoc === void 0) {
7986
+ providedHbsLoc = null;
7987
+ }
7988
+
7757
7989
  this.source = source;
7758
7990
  this.hbsPositions = hbsPositions;
7759
7991
  this.kind = "HbsPosition"
@@ -7787,10 +8019,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7787
8019
  };
7788
8020
  }
7789
8021
 
7790
- locDidUpdate({
7791
- start,
7792
- end
7793
- }) {
8022
+ locDidUpdate(_ref10) {
8023
+ var {
8024
+ start,
8025
+ end
8026
+ } = _ref10;
8027
+
7794
8028
  if (start !== undefined) {
7795
8029
  this.updateProvided(start, 'start');
7796
8030
  this.hbsPositions.start = new HbsPosition(this.source, start, null);
@@ -7856,7 +8090,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7856
8090
  class InvisibleSpan {
7857
8091
  constructor(kind, // whatever was provided, possibly broken
7858
8092
  loc, // if the span represents a synthetic string
7859
- string = null) {
8093
+ string) {
8094
+ if (string === void 0) {
8095
+ string = null;
8096
+ }
8097
+
7860
8098
  this.kind = kind;
7861
8099
  this.loc = loc;
7862
8100
  this.string = string;
@@ -7887,10 +8125,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7887
8125
  return this.string || '';
7888
8126
  }
7889
8127
 
7890
- locDidUpdate({
7891
- start,
7892
- end
7893
- }) {
8128
+ locDidUpdate(_ref11) {
8129
+ var {
8130
+ start,
8131
+ end
8132
+ } = _ref11;
8133
+
7894
8134
  if (start !== undefined) {
7895
8135
  this.loc.start = start;
7896
8136
  }
@@ -7972,7 +8212,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7972
8212
  }).when(IsInvisible, MatchAny, left => new InvisibleSpan(left.kind, BROKEN_LOCATION).wrap()).when(MatchAny, IsInvisible, (_, right) => new InvisibleSpan(right.kind, BROKEN_LOCATION).wrap())); // eslint-disable-next-line import/no-extraneous-dependencies
7973
8213
 
7974
8214
  class Source {
7975
- constructor(source, module = 'an unknown module') {
8215
+ constructor(source, module) {
8216
+ if (module === void 0) {
8217
+ module = 'an unknown module';
8218
+ }
8219
+
7976
8220
  this.source = source;
7977
8221
  this.module = module;
7978
8222
  }
@@ -7996,10 +8240,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
7996
8240
  });
7997
8241
  }
7998
8242
 
7999
- spanFor({
8000
- start,
8001
- end
8002
- }) {
8243
+ spanFor(_ref12) {
8244
+ var {
8245
+ start,
8246
+ end
8247
+ } = _ref12;
8003
8248
  return SourceSpan.forHbsLoc(this, {
8004
8249
  start: {
8005
8250
  line: start.line,
@@ -8474,7 +8719,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
8474
8719
  };
8475
8720
  }
8476
8721
 
8477
- function buildBlockItself(body, blockParams, chained = false, loc) {
8722
+ function buildBlockItself(body, blockParams, chained, loc) {
8723
+ if (chained === void 0) {
8724
+ chained = false;
8725
+ }
8726
+
8478
8727
  return {
8479
8728
  type: 'Block',
8480
8729
  body: body || [],
@@ -8500,7 +8749,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
8500
8749
  };
8501
8750
  }
8502
8751
 
8503
- function buildLoc(...args) {
8752
+ function buildLoc() {
8753
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
8754
+ args[_key] = arguments[_key];
8755
+ }
8756
+
8504
8757
  if (args.length === 1) {
8505
8758
  var _loc = args[0];
8506
8759
 
@@ -8620,7 +8873,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
8620
8873
  */
8621
8874
 
8622
8875
  class LooseModeResolution {
8623
- constructor(ambiguity, isAngleBracket = false) {
8876
+ constructor(ambiguity, isAngleBracket) {
8877
+ if (isAngleBracket === void 0) {
8878
+ isAngleBracket = false;
8879
+ }
8880
+
8624
8881
  this.ambiguity = ambiguity;
8625
8882
  this.isAngleBracket = isAngleBracket;
8626
8883
  }
@@ -8636,7 +8893,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
8636
8893
  */
8637
8894
 
8638
8895
 
8639
- static namespaced(namespace, isAngleBracket = false) {
8896
+ static namespaced(namespace, isAngleBracket) {
8897
+ if (isAngleBracket === void 0) {
8898
+ isAngleBracket = false;
8899
+ }
8900
+
8640
8901
  return new LooseModeResolution({
8641
8902
  namespaces: [namespace],
8642
8903
  fallback: false
@@ -8681,9 +8942,10 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
8681
8942
  */
8682
8943
 
8683
8944
 
8684
- static append({
8685
- invoke
8686
- }) {
8945
+ static append(_ref13) {
8946
+ var {
8947
+ invoke
8948
+ } = _ref13;
8687
8949
  return new LooseModeResolution({
8688
8950
  namespaces: ["Component"
8689
8951
  /* Component */
@@ -8714,9 +8976,10 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
8714
8976
  */
8715
8977
 
8716
8978
 
8717
- static trustingAppend({
8718
- invoke
8719
- }) {
8979
+ static trustingAppend(_ref14) {
8980
+ var {
8981
+ invoke
8982
+ } = _ref14;
8720
8983
  return new LooseModeResolution({
8721
8984
  namespaces: ["Helper"
8722
8985
  /* Helper */
@@ -8790,11 +9053,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
8790
9053
  /* GetFreeAsComponentOrHelperHeadOrThisFallback */
8791
9054
  ;
8792
9055
  } else {
8793
- // component or helper without fallback ({{something something}})
8794
- return 35
8795
- /* GetFreeAsComponentOrHelperHead */
8796
- ;
8797
- }
9056
+ // component or helper without fallback ({{something something}})
9057
+ return 35
9058
+ /* GetFreeAsComponentOrHelperHead */
9059
+ ;
9060
+ }
8798
9061
  }
8799
9062
 
8800
9063
  serialize() {
@@ -9054,11 +9317,19 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
9054
9317
  class ElementModifier extends node('ElementModifier').fields() {}
9055
9318
 
9056
9319
  class SpanList {
9057
- constructor(span = []) {
9320
+ constructor(span) {
9321
+ if (span === void 0) {
9322
+ span = [];
9323
+ }
9324
+
9058
9325
  this._span = span;
9059
9326
  }
9060
9327
 
9061
- static range(span, fallback = SourceSpan.NON_EXISTENT) {
9328
+ static range(span, fallback) {
9329
+ if (fallback === void 0) {
9330
+ fallback = SourceSpan.NON_EXISTENT;
9331
+ }
9332
+
9062
9333
  return new SpanList(span.map(loc)).getRangeOffset(fallback);
9063
9334
  }
9064
9335
 
@@ -9478,7 +9749,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
9478
9749
  */
9479
9750
 
9480
9751
 
9481
- handledByOverride(node, ensureLeadingWhitespace = false) {
9752
+ handledByOverride(node, ensureLeadingWhitespace) {
9753
+ if (ensureLeadingWhitespace === void 0) {
9754
+ ensureLeadingWhitespace = false;
9755
+ }
9756
+
9482
9757
  if (this.options.override !== undefined) {
9483
9758
  var result = this.options.override(node, this.options);
9484
9759
 
@@ -9982,9 +10257,13 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
9982
10257
 
9983
10258
  }
9984
10259
 
9985
- function build(ast, options = {
9986
- entityEncoding: 'transformed'
9987
- }) {
10260
+ function build(ast, options) {
10261
+ if (options === void 0) {
10262
+ options = {
10263
+ entityEncoding: 'transformed'
10264
+ };
10265
+ }
10266
+
9988
10267
  if (!ast) {
9989
10268
  return '';
9990
10269
  }
@@ -10071,7 +10350,15 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10071
10350
  }
10072
10351
 
10073
10352
  class WalkerPath {
10074
- constructor(node, parent = null, parentKey = null) {
10353
+ constructor(node, parent, parentKey) {
10354
+ if (parent === void 0) {
10355
+ parent = null;
10356
+ }
10357
+
10358
+ if (parentKey === void 0) {
10359
+ parentKey = null;
10360
+ }
10361
+
10075
10362
  this.node = node;
10076
10363
  this.parent = parent;
10077
10364
  this.parentKey = parentKey;
@@ -10501,12 +10788,13 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10501
10788
  };
10502
10789
  }
10503
10790
 
10504
- blockItself({
10505
- body,
10506
- blockParams,
10507
- chained = false,
10508
- loc
10509
- }) {
10791
+ blockItself(_ref15) {
10792
+ var {
10793
+ body,
10794
+ blockParams,
10795
+ chained = false,
10796
+ loc
10797
+ } = _ref15;
10510
10798
  return {
10511
10799
  type: 'Block',
10512
10800
  body: body || [],
@@ -10516,11 +10804,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10516
10804
  };
10517
10805
  }
10518
10806
 
10519
- template({
10520
- body,
10521
- blockParams,
10522
- loc
10523
- }) {
10807
+ template(_ref16) {
10808
+ var {
10809
+ body,
10810
+ blockParams,
10811
+ loc
10812
+ } = _ref16;
10524
10813
  return {
10525
10814
  type: 'Template',
10526
10815
  body: body || [],
@@ -10529,14 +10818,15 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10529
10818
  };
10530
10819
  }
10531
10820
 
10532
- mustache({
10533
- path,
10534
- params,
10535
- hash,
10536
- trusting,
10537
- loc,
10538
- strip = DEFAULT_STRIP
10539
- }) {
10821
+ mustache(_ref17) {
10822
+ var {
10823
+ path,
10824
+ params,
10825
+ hash,
10826
+ trusting,
10827
+ loc,
10828
+ strip = DEFAULT_STRIP
10829
+ } = _ref17;
10540
10830
  return {
10541
10831
  type: 'MustacheStatement',
10542
10832
  path,
@@ -10552,17 +10842,18 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10552
10842
  };
10553
10843
  }
10554
10844
 
10555
- block({
10556
- path,
10557
- params,
10558
- hash,
10559
- defaultBlock,
10560
- elseBlock = null,
10561
- loc,
10562
- openStrip = DEFAULT_STRIP,
10563
- inverseStrip = DEFAULT_STRIP,
10564
- closeStrip = DEFAULT_STRIP
10565
- }) {
10845
+ block(_ref18) {
10846
+ var {
10847
+ path,
10848
+ params,
10849
+ hash,
10850
+ defaultBlock,
10851
+ elseBlock = null,
10852
+ loc,
10853
+ openStrip = DEFAULT_STRIP,
10854
+ inverseStrip = DEFAULT_STRIP,
10855
+ closeStrip = DEFAULT_STRIP
10856
+ } = _ref18;
10566
10857
  return {
10567
10858
  type: 'BlockStatement',
10568
10859
  path: path,
@@ -10601,16 +10892,17 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10601
10892
  };
10602
10893
  }
10603
10894
 
10604
- element({
10605
- tag,
10606
- selfClosing,
10607
- attrs,
10608
- blockParams,
10609
- modifiers,
10610
- comments,
10611
- children,
10612
- loc
10613
- }) {
10895
+ element(_ref19) {
10896
+ var {
10897
+ tag,
10898
+ selfClosing,
10899
+ attrs,
10900
+ blockParams,
10901
+ modifiers,
10902
+ comments,
10903
+ children,
10904
+ loc
10905
+ } = _ref19;
10614
10906
  return {
10615
10907
  type: 'ElementNode',
10616
10908
  tag,
@@ -10624,12 +10916,13 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10624
10916
  };
10625
10917
  }
10626
10918
 
10627
- elementModifier({
10628
- path,
10629
- params,
10630
- hash,
10631
- loc
10632
- }) {
10919
+ elementModifier(_ref20) {
10920
+ var {
10921
+ path,
10922
+ params,
10923
+ hash,
10924
+ loc
10925
+ } = _ref20;
10633
10926
  return {
10634
10927
  type: 'ElementModifierStatement',
10635
10928
  path,
@@ -10639,11 +10932,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10639
10932
  };
10640
10933
  }
10641
10934
 
10642
- attr({
10643
- name,
10644
- value,
10645
- loc
10646
- }) {
10935
+ attr(_ref21) {
10936
+ var {
10937
+ name,
10938
+ value,
10939
+ loc
10940
+ } = _ref21;
10647
10941
  return {
10648
10942
  type: 'AttrNode',
10649
10943
  name: name,
@@ -10652,10 +10946,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10652
10946
  };
10653
10947
  }
10654
10948
 
10655
- text({
10656
- chars,
10657
- loc
10658
- }) {
10949
+ text(_ref22) {
10950
+ var {
10951
+ chars,
10952
+ loc
10953
+ } = _ref22;
10659
10954
  return {
10660
10955
  type: 'TextNode',
10661
10956
  chars,
@@ -10663,12 +10958,13 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10663
10958
  };
10664
10959
  }
10665
10960
 
10666
- sexpr({
10667
- path,
10668
- params,
10669
- hash,
10670
- loc
10671
- }) {
10961
+ sexpr(_ref23) {
10962
+ var {
10963
+ path,
10964
+ params,
10965
+ hash,
10966
+ loc
10967
+ } = _ref23;
10672
10968
  return {
10673
10969
  type: 'SubExpression',
10674
10970
  path,
@@ -10678,11 +10974,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10678
10974
  };
10679
10975
  }
10680
10976
 
10681
- path({
10682
- head,
10683
- tail,
10684
- loc
10685
- }) {
10977
+ path(_ref24) {
10978
+ var {
10979
+ head,
10980
+ tail,
10981
+ loc
10982
+ } = _ref24;
10686
10983
  var {
10687
10984
  original: originalHead
10688
10985
  } = headToString$1(head);
@@ -10731,11 +11028,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10731
11028
  };
10732
11029
  }
10733
11030
 
10734
- pair({
10735
- key,
10736
- value,
10737
- loc
10738
- }) {
11031
+ pair(_ref25) {
11032
+ var {
11033
+ key,
11034
+ value,
11035
+ loc
11036
+ } = _ref25;
10739
11037
  return {
10740
11038
  type: 'HashPair',
10741
11039
  key: key,
@@ -10744,11 +11042,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10744
11042
  };
10745
11043
  }
10746
11044
 
10747
- literal({
10748
- type,
10749
- value,
10750
- loc
10751
- }) {
11045
+ literal(_ref26) {
11046
+ var {
11047
+ type,
11048
+ value,
11049
+ loc
11050
+ } = _ref26;
10752
11051
  return {
10753
11052
  type,
10754
11053
  value,
@@ -10823,7 +11122,15 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10823
11122
  var b = new Builders();
10824
11123
 
10825
11124
  class Parser {
10826
- constructor(source, entityParser = new _simpleHtmlTokenizer.EntityParser(_simpleHtmlTokenizer.HTML5NamedCharRefs), mode = 'precompile') {
11125
+ constructor(source, entityParser, mode) {
11126
+ if (entityParser === void 0) {
11127
+ entityParser = new _simpleHtmlTokenizer.EntityParser(_simpleHtmlTokenizer.HTML5NamedCharRefs);
11128
+ }
11129
+
11130
+ if (mode === void 0) {
11131
+ mode = 'precompile';
11132
+ }
11133
+
10827
11134
  this.elementStack = [];
10828
11135
  this.currentAttribute = null;
10829
11136
  this.currentNode = null;
@@ -10840,10 +11147,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10840
11147
  return this.source.offsetFor(line, column);
10841
11148
  }
10842
11149
 
10843
- pos({
10844
- line,
10845
- column
10846
- }) {
11150
+ pos(_ref27) {
11151
+ var {
11152
+ line,
11153
+ column
11154
+ } = _ref27;
10847
11155
  return this.source.offsetFor(line, column);
10848
11156
  }
10849
11157
 
@@ -10984,17 +11292,17 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
10984
11292
  if (this.tokenizer.state === "comment"
10985
11293
  /* comment */
10986
11294
  ) {
10987
- this.appendToCommentData(this.sourceForNode(block));
10988
- return;
10989
- }
11295
+ this.appendToCommentData(this.sourceForNode(block));
11296
+ return;
11297
+ }
10990
11298
 
10991
11299
  if (this.tokenizer.state !== "data"
10992
11300
  /* data */
10993
11301
  && this.tokenizer.state !== "beforeData"
10994
11302
  /* beforeData */
10995
11303
  ) {
10996
- throw generateSyntaxError('A block may only be used inside an HTML element or another block.', this.source.spanFor(block.loc));
10997
- }
11304
+ throw generateSyntaxError('A block may only be used inside an HTML element or another block.', this.source.spanFor(block.loc));
11305
+ }
10998
11306
 
10999
11307
  var {
11000
11308
  path,
@@ -11175,9 +11483,9 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
11175
11483
  if (tokenizer.state === "comment"
11176
11484
  /* comment */
11177
11485
  ) {
11178
- this.appendToCommentData(this.sourceForNode(rawComment));
11179
- return null;
11180
- }
11486
+ this.appendToCommentData(this.sourceForNode(rawComment));
11487
+ return null;
11488
+ }
11181
11489
 
11182
11490
  var {
11183
11491
  value,
@@ -11765,7 +12073,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
11765
12073
 
11766
12074
  }
11767
12075
 
11768
- function preprocess(input, options = {}) {
12076
+ function preprocess(input, options) {
12077
+ if (options === void 0) {
12078
+ options = {};
12079
+ }
12080
+
11769
12081
  var _a, _b, _c;
11770
12082
 
11771
12083
  var mode = options.mode || 'precompile';
@@ -12090,11 +12402,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
12090
12402
  });
12091
12403
  }
12092
12404
 
12093
- attr({
12094
- name,
12095
- value,
12096
- trusting
12097
- }, loc$$1) {
12405
+ attr(_ref28, loc$$1) {
12406
+ var {
12407
+ name,
12408
+ value,
12409
+ trusting
12410
+ } = _ref28;
12098
12411
  return new HtmlAttr({
12099
12412
  loc: loc$$1,
12100
12413
  name,
@@ -12110,11 +12423,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
12110
12423
  });
12111
12424
  }
12112
12425
 
12113
- arg({
12114
- name,
12115
- value,
12116
- trusting
12117
- }, loc$$1) {
12426
+ arg(_ref29, loc$$1) {
12427
+ var {
12428
+ name,
12429
+ value,
12430
+ trusting
12431
+ } = _ref29;
12118
12432
  return new ComponentArg({
12119
12433
  name,
12120
12434
  value,
@@ -12149,12 +12463,13 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
12149
12463
  });
12150
12464
  }
12151
12465
 
12152
- freeVar({
12153
- name,
12154
- context,
12155
- symbol,
12156
- loc: loc$$1
12157
- }) {
12466
+ freeVar(_ref30) {
12467
+ var {
12468
+ name,
12469
+ context,
12470
+ symbol,
12471
+ loc: loc$$1
12472
+ } = _ref30;
12158
12473
  return new FreeVarReference({
12159
12474
  name,
12160
12475
  resolution: context,
@@ -12204,11 +12519,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
12204
12519
  } // STATEMENTS //
12205
12520
 
12206
12521
 
12207
- append({
12208
- table,
12209
- trusting,
12210
- value
12211
- }, loc$$1) {
12522
+ append(_ref31, loc$$1) {
12523
+ var {
12524
+ table,
12525
+ trusting,
12526
+ value
12527
+ } = _ref31;
12212
12528
  return new AppendContent({
12213
12529
  table,
12214
12530
  trusting,
@@ -12217,10 +12533,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
12217
12533
  });
12218
12534
  }
12219
12535
 
12220
- modifier({
12221
- callee,
12222
- args
12223
- }, loc$$1) {
12536
+ modifier(_ref32, loc$$1) {
12537
+ var {
12538
+ callee,
12539
+ args
12540
+ } = _ref32;
12224
12541
  return new ElementModifier({
12225
12542
  loc: loc$$1,
12226
12543
  callee,
@@ -12452,7 +12769,11 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
12452
12769
  return node$$1.params.length > 0 || node$$1.hash.pairs.length > 0;
12453
12770
  }
12454
12771
 
12455
- function normalize(source, options = {}) {
12772
+ function normalize(source, options) {
12773
+ if (options === void 0) {
12774
+ options = {};
12775
+ }
12776
+
12456
12777
  var _a;
12457
12778
 
12458
12779
  var ast = preprocess(source, options);
@@ -12818,11 +13139,12 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
12818
13139
  }, callParts), loc$$1);
12819
13140
  }
12820
13141
 
12821
- Block({
12822
- body,
12823
- loc: loc$$1,
12824
- blockParams
12825
- }) {
13142
+ Block(_ref33) {
13143
+ var {
13144
+ body,
13145
+ loc: loc$$1,
13146
+ blockParams
13147
+ } = _ref33;
12826
13148
  var child = this.block.child(blockParams);
12827
13149
  var normalizer = new StatementNormalizer(child);
12828
13150
  return new BlockChildren(this.block.loc(loc$$1), body.map(b$$1 => normalizer.normalize(b$$1)), this.block).assertBlock(child.table);
@@ -13381,26 +13703,32 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
13381
13703
  */
13382
13704
 
13383
13705
 
13384
- function getTemplateLocals(html, options = {
13385
- includeHtmlElements: false,
13386
- includeKeywords: false
13387
- }) {
13706
+ function getTemplateLocals(html, options) {
13707
+ if (options === void 0) {
13708
+ options = {
13709
+ includeHtmlElements: false,
13710
+ includeKeywords: false
13711
+ };
13712
+ }
13713
+
13388
13714
  var ast = preprocess(html);
13389
13715
  var tokensSet = new Set();
13390
13716
  var scopedTokens = [];
13391
13717
  traverse(ast, {
13392
13718
  Block: {
13393
- enter({
13394
- blockParams
13395
- }) {
13719
+ enter(_ref34) {
13720
+ var {
13721
+ blockParams
13722
+ } = _ref34;
13396
13723
  blockParams.forEach(param => {
13397
13724
  scopedTokens.push(param);
13398
13725
  });
13399
13726
  },
13400
13727
 
13401
- exit({
13402
- blockParams
13403
- }) {
13728
+ exit(_ref35) {
13729
+ var {
13730
+ blockParams
13731
+ } = _ref35;
13404
13732
  blockParams.forEach(() => {
13405
13733
  scopedTokens.pop();
13406
13734
  });
@@ -13415,9 +13743,10 @@ define("@glimmer/syntax", ["exports", "@glimmer/util", "simple-html-tokenizer",
13415
13743
  addTokens(tokensSet, node, scopedTokens, options);
13416
13744
  },
13417
13745
 
13418
- exit({
13419
- blockParams
13420
- }) {
13746
+ exit(_ref36) {
13747
+ var {
13748
+ blockParams
13749
+ } = _ref36;
13421
13750
  blockParams.forEach(() => {
13422
13751
  scopedTokens.pop();
13423
13752
  });
@@ -13446,53 +13775,60 @@ define("@glimmer/util", ["exports"], function (_exports) {
13446
13775
  Object.defineProperty(_exports, "__esModule", {
13447
13776
  value: true
13448
13777
  });
13449
- _exports.assertNever = assertNever;
13778
+ _exports._WeakSet = _exports.Stack = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.LOGGER = _exports.LOCAL_LOGGER = _exports.HAS_NATIVE_SYMBOL = _exports.HAS_NATIVE_PROXY = _exports.EMPTY_STRING_ARRAY = _exports.EMPTY_NUMBER_ARRAY = _exports.EMPTY_ARRAY = void 0;
13450
13779
  _exports.assert = debugAssert$$1;
13451
- _exports.deprecate = deprecate$$1;
13452
- _exports.dict = dict;
13453
- _exports.isDict = isDict;
13454
- _exports.isObject = isObject;
13455
- _exports.isSerializationFirstNode = isSerializationFirstNode;
13456
- _exports.fillNulls = fillNulls;
13457
- _exports.values = values;
13458
- _exports.castToSimple = castToSimple;
13780
+ _exports.assertNever = assertNever;
13781
+ _exports.assertPresent = assertPresent;
13782
+ _exports.beginTestSteps = _exports.assign = void 0;
13783
+ _exports.buildUntouchableThis = buildUntouchableThis;
13459
13784
  _exports.castToBrowser = castToBrowser;
13785
+ _exports.castToSimple = castToSimple;
13460
13786
  _exports.checkNode = checkNode;
13461
- _exports.intern = intern;
13462
- _exports.buildUntouchableThis = buildUntouchableThis;
13463
- _exports.emptyArray = emptyArray;
13464
- _exports.isEmptyArray = isEmptyArray;
13465
13787
  _exports.clearElement = clearElement;
13466
- _exports.keys = keys;
13467
- _exports.unwrap = unwrap;
13468
- _exports.expect = expect;
13469
- _exports.unreachable = unreachable;
13470
- _exports.exhausted = exhausted;
13471
- _exports.enumerableSymbol = enumerableSymbol;
13472
- _exports.strip = strip;
13473
- _exports.isHandle = isHandle;
13474
- _exports.isNonPrimitiveHandle = isNonPrimitiveHandle;
13475
13788
  _exports.constants = constants;
13476
- _exports.isSmallInt = isSmallInt;
13477
- _exports.encodeNegative = encodeNegative;
13789
+ _exports.debugToString = void 0;
13790
+ _exports.decodeHandle = decodeHandle;
13791
+ _exports.decodeImmediate = decodeImmediate;
13478
13792
  _exports.decodeNegative = decodeNegative;
13479
- _exports.encodePositive = encodePositive;
13480
13793
  _exports.decodePositive = decodePositive;
13794
+ _exports.deprecate = deprecate$$1;
13795
+ _exports.dict = dict;
13796
+ _exports.emptyArray = emptyArray;
13481
13797
  _exports.encodeHandle = encodeHandle;
13482
- _exports.decodeHandle = decodeHandle;
13483
13798
  _exports.encodeImmediate = encodeImmediate;
13484
- _exports.decodeImmediate = decodeImmediate;
13485
- _exports.unwrapHandle = unwrapHandle;
13486
- _exports.unwrapTemplate = unwrapTemplate;
13799
+ _exports.encodeNegative = encodeNegative;
13800
+ _exports.encodePositive = encodePositive;
13801
+ _exports.endTestSteps = void 0;
13802
+ _exports.enumerableSymbol = enumerableSymbol;
13803
+ _exports.exhausted = exhausted;
13804
+ _exports.expect = expect;
13487
13805
  _exports.extractHandle = extractHandle;
13488
- _exports.isOkHandle = isOkHandle;
13806
+ _exports.fillNulls = fillNulls;
13807
+ _exports.ifPresent = ifPresent;
13808
+ _exports.intern = intern;
13809
+ _exports.isDict = isDict;
13810
+ _exports.isEmptyArray = isEmptyArray;
13489
13811
  _exports.isErrHandle = isErrHandle;
13812
+ _exports.isHandle = isHandle;
13813
+ _exports.isNonPrimitiveHandle = isNonPrimitiveHandle;
13814
+ _exports.isObject = isObject;
13815
+ _exports.isOkHandle = isOkHandle;
13490
13816
  _exports.isPresent = isPresent;
13491
- _exports.ifPresent = ifPresent;
13492
- _exports.toPresentOption = toPresentOption;
13493
- _exports.assertPresent = assertPresent;
13817
+ _exports.isSerializationFirstNode = isSerializationFirstNode;
13818
+ _exports.isSmallInt = isSmallInt;
13819
+ _exports.keys = keys;
13820
+ _exports.logStep = void 0;
13494
13821
  _exports.mapPresent = mapPresent;
13495
- _exports.symbol = _exports.tuple = _exports.HAS_NATIVE_SYMBOL = _exports.HAS_NATIVE_PROXY = _exports.EMPTY_NUMBER_ARRAY = _exports.EMPTY_STRING_ARRAY = _exports.EMPTY_ARRAY = _exports.verifySteps = _exports.logStep = _exports.endTestSteps = _exports.beginTestSteps = _exports.debugToString = _exports._WeakSet = _exports.assign = _exports.SERIALIZATION_FIRST_NODE_STRING = _exports.Stack = _exports.LOGGER = _exports.LOCAL_LOGGER = void 0;
13822
+ _exports.strip = strip;
13823
+ _exports.symbol = void 0;
13824
+ _exports.toPresentOption = toPresentOption;
13825
+ _exports.tuple = void 0;
13826
+ _exports.unreachable = unreachable;
13827
+ _exports.unwrap = unwrap;
13828
+ _exports.unwrapHandle = unwrapHandle;
13829
+ _exports.unwrapTemplate = unwrapTemplate;
13830
+ _exports.values = values;
13831
+ _exports.verifySteps = void 0;
13496
13832
  var EMPTY_ARRAY = Object.freeze([]);
13497
13833
  _exports.EMPTY_ARRAY = EMPTY_ARRAY;
13498
13834
 
@@ -13542,7 +13878,11 @@ define("@glimmer/util", ["exports"], function (_exports) {
13542
13878
  }
13543
13879
 
13544
13880
  class StackImpl {
13545
- constructor(values = []) {
13881
+ constructor(values) {
13882
+ if (values === void 0) {
13883
+ values = [];
13884
+ }
13885
+
13546
13886
  this.current = null;
13547
13887
  this.stack = values;
13548
13888
  }
@@ -13723,7 +14063,11 @@ define("@glimmer/util", ["exports"], function (_exports) {
13723
14063
  return val;
13724
14064
  }
13725
14065
 
13726
- function unreachable(message = 'unreachable') {
14066
+ function unreachable(message) {
14067
+ if (message === void 0) {
14068
+ message = 'unreachable';
14069
+ }
14070
+
13727
14071
  return new Error(message);
13728
14072
  }
13729
14073
 
@@ -13731,7 +14075,13 @@ define("@glimmer/util", ["exports"], function (_exports) {
13731
14075
  throw new Error("Exhausted " + value);
13732
14076
  }
13733
14077
 
13734
- var tuple = (...args) => args;
14078
+ var tuple = function () {
14079
+ for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
14080
+ args[_key] = arguments[_key];
14081
+ }
14082
+
14083
+ return args;
14084
+ };
13735
14085
 
13736
14086
  _exports.tuple = tuple;
13737
14087
 
@@ -13742,9 +14092,13 @@ define("@glimmer/util", ["exports"], function (_exports) {
13742
14092
  var symbol = HAS_NATIVE_SYMBOL ? Symbol : enumerableSymbol;
13743
14093
  _exports.symbol = symbol;
13744
14094
 
13745
- function strip(strings, ...args) {
14095
+ function strip(strings) {
13746
14096
  var out = '';
13747
14097
 
14098
+ for (var _len2 = arguments.length, args = new Array(_len2 > 1 ? _len2 - 1 : 0), _key2 = 1; _key2 < _len2; _key2++) {
14099
+ args[_key2 - 1] = arguments[_key2];
14100
+ }
14101
+
13748
14102
  for (var i = 0; i < strings.length; i++) {
13749
14103
  var string = strings[i];
13750
14104
  var dynamic = args[i] !== undefined ? String(args[i]) : '';
@@ -13787,7 +14141,11 @@ define("@glimmer/util", ["exports"], function (_exports) {
13787
14141
  ;
13788
14142
  }
13789
14143
 
13790
- function constants(...values) {
14144
+ function constants() {
14145
+ for (var _len3 = arguments.length, values = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
14146
+ values[_key3] = arguments[_key3];
14147
+ }
14148
+
13791
14149
  return [false, true, null, undefined, ...values];
13792
14150
  }
13793
14151
 
@@ -14006,7 +14364,11 @@ define("@glimmer/util", ["exports"], function (_exports) {
14006
14364
  }
14007
14365
  }
14008
14366
 
14009
- function assertPresent(list, message = "unexpected empty list") {
14367
+ function assertPresent(list, message) {
14368
+ if (message === void 0) {
14369
+ message = "unexpected empty list";
14370
+ }
14371
+
14010
14372
  if (!isPresent(list)) {
14011
14373
  throw new Error(message);
14012
14374
  }
@@ -14142,7 +14504,11 @@ define("@glimmer/util", ["exports"], function (_exports) {
14142
14504
  var LOGGER = console;
14143
14505
  _exports.LOGGER = LOGGER;
14144
14506
 
14145
- function assertNever(value, desc = 'unexpected unreachable branch') {
14507
+ function assertNever(value, desc) {
14508
+ if (desc === void 0) {
14509
+ desc = 'unexpected unreachable branch';
14510
+ }
14511
+
14146
14512
  LOGGER.log('unreachable', value);
14147
14513
  LOGGER.log(desc + " :: " + JSON.stringify(value) + " (" + value + ")");
14148
14514
  throw new Error("code reached unreachable");
@@ -14154,13 +14520,13 @@ define("@glimmer/wire-format", ["exports"], function (_exports) {
14154
14520
  Object.defineProperty(_exports, "__esModule", {
14155
14521
  value: true
14156
14522
  });
14157
- _exports.is = is;
14158
- _exports.isAttribute = isAttribute;
14159
- _exports.isStringLiteral = isStringLiteral;
14160
14523
  _exports.getStringFromValue = getStringFromValue;
14524
+ _exports.is = is;
14161
14525
  _exports.isArgument = isArgument;
14162
- _exports.isHelper = isHelper;
14526
+ _exports.isAttribute = isAttribute;
14163
14527
  _exports.isGet = _exports.isFlushElement = void 0;
14528
+ _exports.isHelper = isHelper;
14529
+ _exports.isStringLiteral = isStringLiteral;
14164
14530
 
14165
14531
  function is(variant) {
14166
14532
  return function (value) {
@@ -14228,14 +14594,14 @@ define("@handlebars/parser/index", ["exports"], function (_exports) {
14228
14594
  Object.defineProperty(_exports, "__esModule", {
14229
14595
  value: true
14230
14596
  });
14231
- _exports.Visitor = Visitor;
14232
- _exports.WhitespaceControl = WhitespaceControl;
14233
14597
  _exports.Exception = Exception;
14234
- _exports.print = print;
14235
14598
  _exports.PrintVisitor = PrintVisitor;
14599
+ _exports.Visitor = Visitor;
14600
+ _exports.WhitespaceControl = WhitespaceControl;
14236
14601
  _exports.parse = parse;
14237
14602
  _exports.parseWithoutProcessing = parseWithoutProcessing;
14238
14603
  _exports.parser = void 0;
14604
+ _exports.print = print;
14239
14605
  var errorProps = ['description', 'fileName', 'lineNumber', 'endLineNumber', 'message', 'name', 'number', 'stack'];
14240
14606
 
14241
14607
  function Exception(message, node) {
@@ -14373,31 +14739,31 @@ define("@handlebars/parser/index", ["exports"], function (_exports) {
14373
14739
  visitPartial.call(this, partial);
14374
14740
  this.acceptKey(partial, 'program');
14375
14741
  },
14376
- ContentStatement: function ()
14377
- /* content */
14378
- {},
14379
- CommentStatement: function ()
14380
- /* comment */
14381
- {},
14742
+ ContentStatement: function
14743
+ /* content */
14744
+ () {},
14745
+ CommentStatement: function
14746
+ /* comment */
14747
+ () {},
14382
14748
  SubExpression: visitSubExpression,
14383
- PathExpression: function ()
14384
- /* path */
14385
- {},
14386
- StringLiteral: function ()
14387
- /* string */
14388
- {},
14389
- NumberLiteral: function ()
14390
- /* number */
14391
- {},
14392
- BooleanLiteral: function ()
14393
- /* bool */
14394
- {},
14395
- UndefinedLiteral: function ()
14396
- /* literal */
14397
- {},
14398
- NullLiteral: function ()
14399
- /* literal */
14400
- {},
14749
+ PathExpression: function
14750
+ /* path */
14751
+ () {},
14752
+ StringLiteral: function
14753
+ /* string */
14754
+ () {},
14755
+ NumberLiteral: function
14756
+ /* number */
14757
+ () {},
14758
+ BooleanLiteral: function
14759
+ /* bool */
14760
+ () {},
14761
+ UndefinedLiteral: function
14762
+ /* literal */
14763
+ () {},
14764
+ NullLiteral: function
14765
+ /* literal */
14766
+ () {},
14401
14767
  Hash: function (hash) {
14402
14768
  this.acceptArray(hash.pairs);
14403
14769
  },
@@ -16895,16 +17261,16 @@ define("ember-babel", ["exports"], function (_exports) {
16895
17261
  Object.defineProperty(_exports, "__esModule", {
16896
17262
  value: true
16897
17263
  });
16898
- _exports.wrapNativeSuper = wrapNativeSuper;
17264
+ _exports.assertThisInitialized = assertThisInitialized;
16899
17265
  _exports.classCallCheck = classCallCheck;
16900
- _exports.inheritsLoose = inheritsLoose;
16901
- _exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;
16902
17266
  _exports.createClass = createClass;
16903
- _exports.assertThisInitialized = assertThisInitialized;
16904
- _exports.possibleConstructorReturn = possibleConstructorReturn;
16905
- _exports.objectDestructuringEmpty = objectDestructuringEmpty;
16906
- _exports.createSuper = createSuper;
16907
17267
  _exports.createForOfIteratorHelperLoose = createForOfIteratorHelperLoose;
17268
+ _exports.createSuper = createSuper;
17269
+ _exports.inheritsLoose = inheritsLoose;
17270
+ _exports.objectDestructuringEmpty = objectDestructuringEmpty;
17271
+ _exports.possibleConstructorReturn = possibleConstructorReturn;
17272
+ _exports.taggedTemplateLiteralLoose = taggedTemplateLiteralLoose;
17273
+ _exports.wrapNativeSuper = wrapNativeSuper;
16908
17274
 
16909
17275
  /* globals Reflect */
16910
17276
  var setPrototypeOf = Object.setPrototypeOf;
@@ -17124,16 +17490,16 @@ define("ember-template-compiler/index", ["exports", "@ember/-internals/environme
17124
17490
  Object.defineProperty(_exports, "__esModule", {
17125
17491
  value: true
17126
17492
  });
17127
- Object.defineProperty(_exports, "_preprocess", {
17493
+ Object.defineProperty(_exports, "RESOLUTION_MODE_TRANSFORMS", {
17128
17494
  enumerable: true,
17129
17495
  get: function () {
17130
- return _GlimmerSyntax.preprocess;
17496
+ return _index.RESOLUTION_MODE_TRANSFORMS;
17131
17497
  }
17132
17498
  });
17133
- Object.defineProperty(_exports, "_print", {
17499
+ Object.defineProperty(_exports, "STRICT_MODE_TRANSFORMS", {
17134
17500
  enumerable: true,
17135
17501
  get: function () {
17136
- return _GlimmerSyntax.print;
17502
+ return _index.STRICT_MODE_TRANSFORMS;
17137
17503
  }
17138
17504
  });
17139
17505
  Object.defineProperty(_exports, "VERSION", {
@@ -17142,28 +17508,29 @@ define("ember-template-compiler/index", ["exports", "@ember/-internals/environme
17142
17508
  return _version.default;
17143
17509
  }
17144
17510
  });
17145
- Object.defineProperty(_exports, "precompile", {
17511
+ _exports._GlimmerSyntax = _exports._Ember = void 0;
17512
+ Object.defineProperty(_exports, "_buildCompileOptions", {
17146
17513
  enumerable: true,
17147
17514
  get: function () {
17148
- return _precompile.default;
17515
+ return _compileOptions.buildCompileOptions;
17149
17516
  }
17150
17517
  });
17151
- Object.defineProperty(_exports, "compile", {
17518
+ Object.defineProperty(_exports, "_precompile", {
17152
17519
  enumerable: true,
17153
17520
  get: function () {
17154
- return _compile.default;
17521
+ return _compiler.precompile;
17155
17522
  }
17156
17523
  });
17157
- Object.defineProperty(_exports, "compileOptions", {
17524
+ Object.defineProperty(_exports, "_preprocess", {
17158
17525
  enumerable: true,
17159
17526
  get: function () {
17160
- return _compileOptions.default;
17527
+ return _GlimmerSyntax.preprocess;
17161
17528
  }
17162
17529
  });
17163
- Object.defineProperty(_exports, "_buildCompileOptions", {
17530
+ Object.defineProperty(_exports, "_print", {
17164
17531
  enumerable: true,
17165
17532
  get: function () {
17166
- return _compileOptions.buildCompileOptions;
17533
+ return _GlimmerSyntax.print;
17167
17534
  }
17168
17535
  });
17169
17536
  Object.defineProperty(_exports, "_transformsFor", {
@@ -17172,25 +17539,24 @@ define("ember-template-compiler/index", ["exports", "@ember/-internals/environme
17172
17539
  return _compileOptions.transformsFor;
17173
17540
  }
17174
17541
  });
17175
- Object.defineProperty(_exports, "RESOLUTION_MODE_TRANSFORMS", {
17542
+ Object.defineProperty(_exports, "compile", {
17176
17543
  enumerable: true,
17177
17544
  get: function () {
17178
- return _index.RESOLUTION_MODE_TRANSFORMS;
17545
+ return _compile.default;
17179
17546
  }
17180
17547
  });
17181
- Object.defineProperty(_exports, "STRICT_MODE_TRANSFORMS", {
17548
+ Object.defineProperty(_exports, "compileOptions", {
17182
17549
  enumerable: true,
17183
17550
  get: function () {
17184
- return _index.STRICT_MODE_TRANSFORMS;
17551
+ return _compileOptions.default;
17185
17552
  }
17186
17553
  });
17187
- Object.defineProperty(_exports, "_precompile", {
17554
+ Object.defineProperty(_exports, "precompile", {
17188
17555
  enumerable: true,
17189
17556
  get: function () {
17190
- return _compiler.precompile;
17557
+ return _precompile.default;
17191
17558
  }
17192
17559
  });
17193
- _exports._GlimmerSyntax = _exports._Ember = void 0;
17194
17560
  _exports._GlimmerSyntax = _GlimmerSyntax;
17195
17561
 
17196
17562
  var _Ember;
@@ -17198,7 +17564,6 @@ define("ember-template-compiler/index", ["exports", "@ember/-internals/environme
17198
17564
  _exports._Ember = _Ember;
17199
17565
 
17200
17566
  try {
17201
- // tslint:disable-next-line: no-require-imports
17202
17567
  _exports._Ember = _Ember = (0, _require.default)("ember");
17203
17568
  } catch (e) {
17204
17569
  _exports._Ember = _Ember = {
@@ -17485,28 +17850,34 @@ define("ember-template-compiler/lib/plugins/assert-reserved-named-arguments", ["
17485
17850
  // hazards (e.g. using angle bracket to invoke a classic component that uses
17486
17851
  // `this.someReservedName`. However, we want to avoid leaking special internal
17487
17852
  // things, such as `__ARGS__`, so those would need to be asserted on both sides.
17488
- AttrNode({
17489
- name,
17490
- loc
17491
- }) {
17853
+ AttrNode(_ref) {
17854
+ var {
17855
+ name,
17856
+ loc
17857
+ } = _ref;
17858
+
17492
17859
  if (name === '@__ARGS__') {
17493
17860
  (true && !(false) && (0, _debug.assert)(assertMessage(name) + " " + (0, _calculateLocationDisplay.default)(moduleName, loc)));
17494
17861
  }
17495
17862
  },
17496
17863
 
17497
- HashPair({
17498
- key,
17499
- loc
17500
- }) {
17864
+ HashPair(_ref2) {
17865
+ var {
17866
+ key,
17867
+ loc
17868
+ } = _ref2;
17869
+
17501
17870
  if (key === '__ARGS__') {
17502
17871
  (true && !(false) && (0, _debug.assert)(assertMessage(key) + " " + (0, _calculateLocationDisplay.default)(moduleName, loc)));
17503
17872
  }
17504
17873
  },
17505
17874
 
17506
- PathExpression({
17507
- original,
17508
- loc
17509
- }) {
17875
+ PathExpression(_ref3) {
17876
+ var {
17877
+ original,
17878
+ loc
17879
+ } = _ref3;
17880
+
17510
17881
  if (isReserved(original)) {
17511
17882
  (true && !(false) && (0, _debug.assert)(assertMessage(original) + " " + (0, _calculateLocationDisplay.default)(moduleName, loc)));
17512
17883
  }
@@ -17541,10 +17912,12 @@ define("ember-template-compiler/lib/plugins/assert-splattribute-expression", ["e
17541
17912
  return {
17542
17913
  name: 'assert-splattribute-expressions',
17543
17914
  visitor: {
17544
- PathExpression({
17545
- original,
17546
- loc
17547
- }) {
17915
+ PathExpression(_ref) {
17916
+ var {
17917
+ original,
17918
+ loc
17919
+ } = _ref;
17920
+
17548
17921
  if (original === '...attributes') {
17549
17922
  (true && !(false) && (0, _debug.assert)(errorMessage() + " " + (0, _calculateLocationDisplay.default)(moduleName, loc)));
17550
17923
  }
@@ -17615,9 +17988,10 @@ define("ember-template-compiler/lib/plugins/transform-action-syntax", ["exports"
17615
17988
  @private
17616
17989
  @class TransformActionSyntax
17617
17990
  */
17618
- function transformActionSyntax({
17619
- syntax
17620
- }) {
17991
+ function transformActionSyntax(_ref) {
17992
+ var {
17993
+ syntax
17994
+ } = _ref;
17621
17995
  var {
17622
17996
  builders: b
17623
17997
  } = syntax;
@@ -17831,9 +18205,9 @@ define("ember-template-compiler/lib/plugins/transform-quoted-bindings-into-just-
17831
18205
  });
17832
18206
  _exports.default = transformQuotedBindingsIntoJustBindings;
17833
18207
 
17834
- function transformQuotedBindingsIntoJustBindings()
18208
+ function
17835
18209
  /* env */
17836
- {
18210
+ transformQuotedBindingsIntoJustBindings() {
17837
18211
  return {
17838
18212
  name: 'transform-quoted-bindings-into-just-bindings',
17839
18213
  visitor: {
@@ -18100,8 +18474,8 @@ define("ember-template-compiler/lib/plugins/utils", ["exports"], function (_expo
18100
18474
  value: true
18101
18475
  });
18102
18476
  _exports.isPath = isPath;
18103
- _exports.isSubExpression = isSubExpression;
18104
18477
  _exports.isStringLiteral = isStringLiteral;
18478
+ _exports.isSubExpression = isSubExpression;
18105
18479
  _exports.trackLocals = trackLocals;
18106
18480
 
18107
18481
  function isPath(node) {
@@ -18170,11 +18544,13 @@ define("ember-template-compiler/lib/system/bootstrap", ["exports", "ember-templa
18170
18544
  @static
18171
18545
  @param ctx
18172
18546
  */
18173
- function bootstrap({
18174
- context,
18175
- hasTemplate,
18176
- setTemplate
18177
- }) {
18547
+ function bootstrap(_ref) {
18548
+ var {
18549
+ context,
18550
+ hasTemplate,
18551
+ setTemplate
18552
+ } = _ref;
18553
+
18178
18554
  if (!context) {
18179
18555
  context = document;
18180
18556
  }
@@ -18255,8 +18631,8 @@ define("ember-template-compiler/lib/system/compile-options", ["exports", "@ember
18255
18631
  value: true
18256
18632
  });
18257
18633
  _exports.buildCompileOptions = buildCompileOptions;
18258
- _exports.transformsFor = transformsFor;
18259
18634
  _exports.default = compileOptions;
18635
+ _exports.transformsFor = transformsFor;
18260
18636
  var USER_PLUGINS = [];
18261
18637
 
18262
18638
  function malformedComponentLookup(string) {
@@ -18284,9 +18660,9 @@ define("ember-template-compiler/lib/system/compile-options", ["exports", "@ember
18284
18660
  if (!true
18285
18661
  /* EMBER_STRICT_MODE */
18286
18662
  ) {
18287
- options.strictMode = false;
18288
- options.locals = undefined;
18289
- }
18663
+ options.strictMode = false;
18664
+ options.locals = undefined;
18665
+ }
18290
18666
 
18291
18667
  if ('locals' in options && !options.locals) {
18292
18668
  // Glimmer's precompile options declare `locals` like:
@@ -18314,7 +18690,11 @@ define("ember-template-compiler/lib/system/compile-options", ["exports", "@ember
18314
18690
  && options.strictMode ? _index.STRICT_MODE_TRANSFORMS : _index.RESOLUTION_MODE_TRANSFORMS;
18315
18691
  }
18316
18692
 
18317
- function compileOptions(_options = {}) {
18693
+ function compileOptions(_options) {
18694
+ if (_options === void 0) {
18695
+ _options = {};
18696
+ }
18697
+
18318
18698
  var options = buildCompileOptions(_options);
18319
18699
  var builtInPlugins = transformsFor(options);
18320
18700
 
@@ -18356,9 +18736,12 @@ define("ember-template-compiler/lib/system/compile", ["exports", "require", "emb
18356
18736
  @param {Object} options This is an options hash to augment the compiler options.
18357
18737
  */
18358
18738
 
18359
- function compile(templateString, options = {}) {
18739
+ function compile(templateString, options) {
18740
+ if (options === void 0) {
18741
+ options = {};
18742
+ }
18743
+
18360
18744
  if (!template && (0, _require.has)('@ember/-internals/glimmer')) {
18361
- // tslint:disable-next-line:no-require-imports
18362
18745
  template = (0, _require.default)("@ember/-internals/glimmer").template;
18363
18746
  }
18364
18747
 
@@ -18407,7 +18790,6 @@ define("ember-template-compiler/lib/system/initializer", ["require", "ember-temp
18407
18790
 
18408
18791
  // Globals mode template compiler
18409
18792
  if ((0, _require.has)('@ember/application') && (0, _require.has)('@ember/-internals/browser-environment') && (0, _require.has)('@ember/-internals/glimmer')) {
18410
- // tslint:disable:no-require-imports
18411
18793
  var emberEnv = (0, _require.default)("@ember/-internals/browser-environment");
18412
18794
  var emberGlimmer = (0, _require.default)("@ember/-internals/glimmer");
18413
18795
  var emberApp = (0, _require.default)("@ember/application");
@@ -18457,7 +18839,11 @@ define("ember-template-compiler/lib/system/precompile", ["exports", "@glimmer/co
18457
18839
  @method precompile
18458
18840
  @param {String} templateString This is the string to be compiled by HTMLBars.
18459
18841
  */
18460
- function precompile(templateString, options = {}) {
18842
+ function precompile(templateString, options) {
18843
+ if (options === void 0) {
18844
+ options = {};
18845
+ }
18846
+
18461
18847
  return (0, _compiler.precompile)(templateString, (0, _compileOptions.default)(options));
18462
18848
  }
18463
18849
  });
@@ -18468,7 +18854,7 @@ define("ember/version", ["exports"], function (_exports) {
18468
18854
  value: true
18469
18855
  });
18470
18856
  _exports.default = void 0;
18471
- var _default = "4.2.0-beta.1";
18857
+ var _default = "4.3.0-alpha.4";
18472
18858
  _exports.default = _default;
18473
18859
  });
18474
18860
  define("simple-html-tokenizer", ["exports"], function (_exports) {
@@ -18477,8 +18863,8 @@ define("simple-html-tokenizer", ["exports"], function (_exports) {
18477
18863
  Object.defineProperty(_exports, "__esModule", {
18478
18864
  value: true
18479
18865
  });
18866
+ _exports.Tokenizer = _exports.HTML5NamedCharRefs = _exports.EventedTokenizer = _exports.EntityParser = void 0;
18480
18867
  _exports.tokenize = tokenize;
18481
- _exports.Tokenizer = _exports.EventedTokenizer = _exports.EntityParser = _exports.HTML5NamedCharRefs = void 0;
18482
18868
 
18483
18869
  /**
18484
18870
  * generated from https://raw.githubusercontent.com/w3c/html/26b5126f96f736f796b9e29718138919dd513744/entities.json