ember-source 7.1.0-alpha.2 → 7.1.0-alpha.3
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.
- package/build-metadata.json +3 -3
- package/dist/dev/packages/@ember/-internals/glimmer/index.js +7 -7
- package/dist/dev/packages/@ember/application/index.js +5 -5
- package/dist/dev/packages/@ember/application/instance.js +4 -4
- package/dist/dev/packages/@ember/component/helper.js +4 -4
- package/dist/dev/packages/@ember/component/index.js +4 -4
- package/dist/dev/packages/@ember/component/template-only.js +2 -2
- package/dist/dev/packages/@ember/engine/index.js +5 -5
- package/dist/dev/packages/@ember/helper/index.js +5 -5
- package/dist/dev/packages/@ember/modifier/index.js +4 -4
- package/dist/dev/packages/@ember/modifier/on.js +2 -2
- package/dist/dev/packages/@ember/renderer/index.js +4 -4
- package/dist/dev/packages/@ember/routing/index.js +4 -4
- package/dist/dev/packages/@ember/template/index.js +4 -4
- package/dist/dev/packages/@ember/template-compiler/lib/compile-options.js +7 -5
- package/dist/dev/packages/@ember/template-compiler/lib/plugins/auto-import-builtins.js +18 -0
- package/dist/dev/packages/@ember/template-compiler/lib/plugins/index.js +1 -1
- package/dist/dev/packages/@ember/template-compiler/lib/plugins/transform-resolutions.js +1 -1
- package/dist/dev/packages/@ember/template-compiler/lib/template.js +2 -2
- package/dist/dev/packages/@ember/template-factory/index.js +1 -1
- package/dist/dev/packages/@glimmer/destroyable/index.js +5 -1
- package/dist/dev/packages/@glimmer/node/index.js +4 -4
- package/dist/dev/packages/@glimmer/opcode-compiler/index.js +2 -2
- package/dist/dev/packages/@glimmer/program/index.js +1 -1
- package/dist/dev/packages/@glimmer/runtime/index.js +5 -5
- package/dist/dev/packages/ember/version.js +1 -1
- package/dist/dev/packages/ember-template-compiler/index.js +3 -3
- package/dist/dev/packages/shared-chunks/{compiler-BenCxenr.js → compiler-D1leQ3Gl.js} +90 -88
- package/dist/dev/packages/shared-chunks/{constants-DKn6zqFX.js → constants-p7AL-pog.js} +1 -1
- package/dist/dev/packages/shared-chunks/{dynamic-Cu9Xpdzc.js → dynamic-BfDKO5NI.js} +6 -7
- package/dist/dev/packages/shared-chunks/{element-builder-Dw_Ic9cD.js → element-builder-DO43ztVP.js} +2 -2
- package/dist/dev/packages/shared-chunks/{index-CtPSmMCE.js → index-BUPd6pkm.js} +15 -17
- package/dist/dev/packages/shared-chunks/{index-AD_RxZjB.js → index-QZstta6s.js} +6 -6
- package/dist/dev/packages/shared-chunks/{invoke-D0D6CvD5.js → invoke-CgfoEtMT.js} +1 -1
- package/dist/dev/packages/shared-chunks/{program-context-yOi1EExe.js → program-context-sJz0oHOA.js} +1 -1
- package/dist/dev/packages/shared-chunks/{rehydrate-builder-CfBtYUkk.js → rehydrate-builder-CEk2KOIk.js} +3 -5
- package/dist/dev/packages/shared-chunks/{render-t-LAXUYI.js → render-C1HzKUcM.js} +4 -4
- package/dist/dev/packages/shared-chunks/{serialize-builder-BUG9CxHC.js → serialize-builder-CPKxdfiH.js} +3 -3
- package/dist/dev/packages/shared-chunks/{setup-registry-CxXWLs26.js → setup-registry-B7-RknRf.js} +6 -6
- package/dist/dev/packages/shared-chunks/{transform-resolutions-fXGQKGsL.js → transform-resolutions-D-YtZ0_g.js} +2 -2
- package/dist/prod/packages/@ember/-internals/glimmer/index.js +9 -9
- package/dist/prod/packages/@ember/-internals/metal/index.js +10 -10
- package/dist/prod/packages/@ember/-internals/routing/index.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/-proxy.js +4 -4
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/action_handler.js +2 -2
- package/dist/prod/packages/@ember/-internals/runtime/lib/mixins/target_action_support.js +3 -3
- package/dist/prod/packages/@ember/-internals/views/lib/mixins/action_support.js +2 -2
- package/dist/prod/packages/@ember/-internals/views/lib/system/event_dispatcher.js +3 -3
- package/dist/prod/packages/@ember/-internals/views/lib/views/core_view.js +3 -3
- package/dist/prod/packages/@ember/application/index.js +8 -8
- package/dist/prod/packages/@ember/application/instance.js +8 -8
- package/dist/prod/packages/@ember/application/namespace.js +3 -3
- package/dist/prod/packages/@ember/array/index.js +5 -5
- package/dist/prod/packages/@ember/array/proxy.js +5 -5
- package/dist/prod/packages/@ember/component/helper.js +6 -6
- package/dist/prod/packages/@ember/component/index.js +6 -6
- package/dist/prod/packages/@ember/component/template-only.js +4 -4
- package/dist/prod/packages/@ember/controller/index.js +4 -4
- package/dist/prod/packages/@ember/debug/container-debug-adapter.js +2 -2
- package/dist/prod/packages/@ember/debug/data-adapter.js +2 -2
- package/dist/prod/packages/@ember/engine/index.js +9 -9
- package/dist/prod/packages/@ember/helper/index.js +8 -8
- package/dist/prod/packages/@ember/modifier/index.js +6 -6
- package/dist/prod/packages/@ember/modifier/on.js +4 -4
- package/dist/prod/packages/@ember/object/-internals.js +2 -2
- package/dist/prod/packages/@ember/object/compat.js +2 -2
- package/dist/prod/packages/@ember/object/computed.js +4 -4
- package/dist/prod/packages/@ember/object/core.js +2 -2
- package/dist/prod/packages/@ember/object/evented.js +3 -3
- package/dist/prod/packages/@ember/object/events.js +2 -2
- package/dist/prod/packages/@ember/object/index.js +6 -6
- package/dist/prod/packages/@ember/object/internals.js +2 -2
- package/dist/prod/packages/@ember/object/lib/computed/computed_macros.js +5 -5
- package/dist/prod/packages/@ember/object/lib/computed/reduce_computed_macros.js +3 -3
- package/dist/prod/packages/@ember/object/mixin.js +3 -3
- package/dist/prod/packages/@ember/object/observable.js +5 -5
- package/dist/prod/packages/@ember/object/observers.js +2 -2
- package/dist/prod/packages/@ember/object/promise-proxy-mixin.js +4 -4
- package/dist/prod/packages/@ember/renderer/index.js +6 -6
- package/dist/prod/packages/@ember/routing/index.js +6 -6
- package/dist/prod/packages/@ember/routing/lib/generate_controller.js +2 -2
- package/dist/prod/packages/@ember/routing/lib/routing-service.js +2 -2
- package/dist/prod/packages/@ember/routing/lib/utils.js +2 -2
- package/dist/prod/packages/@ember/routing/route.js +6 -6
- package/dist/prod/packages/@ember/routing/router-service.js +2 -2
- package/dist/prod/packages/@ember/routing/router.js +4 -4
- package/dist/prod/packages/@ember/runloop/index.js +2 -2
- package/dist/prod/packages/@ember/service/index.js +3 -3
- package/dist/prod/packages/@ember/template/index.js +6 -6
- package/dist/prod/packages/@ember/template-compiler/lib/compile-options.js +9 -7
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/auto-import-builtins.js +18 -0
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/index.js +1 -1
- package/dist/prod/packages/@ember/template-compiler/lib/plugins/transform-resolutions.js +1 -1
- package/dist/prod/packages/@ember/template-compiler/lib/template.js +4 -4
- package/dist/prod/packages/@ember/template-factory/index.js +3 -3
- package/dist/prod/packages/@ember/utils/lib/is_empty.js +2 -2
- package/dist/prod/packages/@glimmer/destroyable/index.js +5 -1
- package/dist/prod/packages/@glimmer/manager/index.js +4 -4
- package/dist/prod/packages/@glimmer/node/index.js +6 -6
- package/dist/prod/packages/@glimmer/opcode-compiler/index.js +3 -3
- package/dist/prod/packages/@glimmer/program/index.js +1 -1
- package/dist/prod/packages/@glimmer/runtime/index.js +6 -6
- package/dist/prod/packages/@glimmer/tracking/index.js +3 -3
- package/dist/prod/packages/@glimmer/tracking/primitives/cache/index.js +2 -2
- package/dist/prod/packages/ember/version.js +1 -1
- package/dist/prod/packages/ember-template-compiler/index.js +4 -4
- package/dist/prod/packages/shared-chunks/{alias-BkT-0B1G.js → alias-BLBQkche.js} +3 -3
- package/dist/prod/packages/shared-chunks/{api-Co-k4HVs.js → api-DtWa0ZaF.js} +1 -1
- package/dist/prod/packages/shared-chunks/{array-EwekEvId.js → array-kVQfzrQn.js} +2 -2
- package/dist/prod/packages/shared-chunks/{capabilities-DGmQ_mz4.js → capabilities-DXA-L0iT.js} +1 -1
- package/dist/prod/packages/shared-chunks/{compiler-Rwrmj1ki.js → compiler-Bbki2GT_.js} +53 -92
- package/dist/prod/packages/shared-chunks/{constants-CB3pk7dH.js → constants-2M371WiB.js} +4 -4
- package/dist/prod/packages/shared-chunks/{element-builder-DbktcGKV.js → element-builder-BmLF0C-1.js} +2 -4
- package/dist/prod/packages/shared-chunks/{fragment-EpVz5Xuc.js → fragment-D7nBU9ae.js} +16 -1
- package/dist/prod/packages/shared-chunks/{index-BVy-auLZ.js → index-6pnzcm45.js} +13 -13
- package/dist/prod/packages/shared-chunks/{index-nW__r2nX.js → index-CjaDF9kC.js} +2 -10
- package/dist/prod/packages/shared-chunks/{injected_property-DL3vQoFA.js → injected_property-CTVs5FPh.js} +1 -1
- package/dist/prod/packages/shared-chunks/{invoke-BuwCkcVB.js → invoke-BdJCXD-b.js} +3 -3
- package/dist/prod/packages/shared-chunks/{namespace_search-Aog9nySA.js → namespace_search-Dcdalhj6.js} +1 -1
- package/dist/prod/packages/shared-chunks/{observers-R1ZklwWy.js → observers-tZ2aOzr4.js} +1 -1
- package/dist/prod/packages/shared-chunks/{on-ByzWKBWe.js → on-CLxdmpmk.js} +4 -11
- package/dist/prod/packages/shared-chunks/{program-context-BdUXf-jj.js → program-context-DFiwaPMR.js} +2 -2
- package/dist/prod/packages/shared-chunks/{property_set-O080KTKZ.js → property_set-B2sZxeCw.js} +2 -2
- package/dist/prod/packages/shared-chunks/{rehydrate-builder-M_dh82nR.js → rehydrate-builder-CUefZL4I.js} +3 -7
- package/dist/prod/packages/shared-chunks/{render-DJ-BzvgU.js → render-BlriW61t.js} +4 -6
- package/dist/prod/packages/shared-chunks/{serialize-builder-BpVMgrCr.js → serialize-builder-DgpXSc2Q.js} +5 -5
- package/dist/prod/packages/shared-chunks/{set_properties-CjsDTRey.js → set_properties-C1T46IiN.js} +3 -3
- package/dist/prod/packages/shared-chunks/{setup-registry-KYxkFexK.js → setup-registry-DeObnZ2Z.js} +8 -8
- package/dist/prod/packages/shared-chunks/{tracked-ChVNBE2f.js → tracked-Cl5l4v8b.js} +1 -1
- package/dist/prod/packages/shared-chunks/{transform-resolutions-C7wq_Q_c.js → transform-resolutions-DR4GLmR2.js} +0 -3
- package/docs/data.json +185 -145
- package/package.json +3 -1
- package/types/stable/@glimmer/syntax/lib/source/source.d.ts +2 -1
- package/dist/prod/packages/shared-chunks/assert-CUCJBR2C.js +0 -19
package/dist/prod/packages/shared-chunks/{element-builder-DbktcGKV.js → element-builder-BmLF0C-1.js}
RENAMED
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { A as DOMOperations, B as isSafeString, F as normalizeStringValue, N as NS_SVG, b as CursorImpl, C as ConcreteBounds, i as clear } from './on-
|
|
2
|
-
import { a as assert } from './assert-CUCJBR2C.js';
|
|
1
|
+
import { A as DOMOperations, B as isSafeString, F as normalizeStringValue, N as NS_SVG, b as CursorImpl, C as ConcreteBounds, i as clear } from './on-CLxdmpmk.js';
|
|
3
2
|
import { s as setLocalDebugType } from './debug-brand-B1TWjOCH.js';
|
|
4
3
|
import { S as StackImpl, e as expect } from './collections-GpG8lT2g.js';
|
|
5
4
|
import { registerDestructor, destroy } from '../@glimmer/destroyable/index.js';
|
|
6
|
-
import './fragment-
|
|
5
|
+
import './fragment-D7nBU9ae.js';
|
|
7
6
|
import { a as castToBrowser } from './simple-cast-DCvJLSin.js';
|
|
8
7
|
|
|
9
8
|
class TreeConstruction extends DOMOperations {
|
|
@@ -766,7 +765,6 @@ class AppendingBlockList {
|
|
|
766
765
|
}
|
|
767
766
|
didAppendBounds(_bounds) {}
|
|
768
767
|
finalize(_stack) {
|
|
769
|
-
assert(this.boundList.length > 0);
|
|
770
768
|
}
|
|
771
769
|
}
|
|
772
770
|
function clientBuilder(env, cursor) {
|
|
@@ -1,5 +1,20 @@
|
|
|
1
1
|
import { e as $v0, f as $t1, g as $t0, h as $s1, $ as $s0, d as $sp, c as $fp, b as $ra, a as $pc } from './registers-ylirb0dq.js';
|
|
2
|
-
|
|
2
|
+
|
|
3
|
+
// import Logger from './logger';
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
/**
|
|
7
|
+
* This constant exists to make it easier to differentiate normal logs from
|
|
8
|
+
* errant console.logs. LOGGER can be used outside of LOCAL_TRACE_LOGGING checks,
|
|
9
|
+
* and is meant to be used in the rare situation where a console.* call is
|
|
10
|
+
* actually appropriate.
|
|
11
|
+
*/
|
|
12
|
+
const LOGGER = console;
|
|
13
|
+
function assertNever(value, desc = 'unexpected unreachable branch') {
|
|
14
|
+
LOGGER.log('unreachable', value);
|
|
15
|
+
LOGGER.log(`${desc} :: ${JSON.stringify(value)} (${value})`);
|
|
16
|
+
throw new Error(`code reached unreachable`);
|
|
17
|
+
}
|
|
3
18
|
|
|
4
19
|
const CURRIED_COMPONENT = 0;
|
|
5
20
|
const CURRIED_HELPER = 1;
|
|
@@ -1,22 +1,22 @@
|
|
|
1
|
-
import './fragment-
|
|
1
|
+
import './fragment-D7nBU9ae.js';
|
|
2
2
|
import { untrack, consumeTag, tagFor, createCache, getValue, valueForTag, beginUntrackFrame, endUntrackFrame, beginTrackFrame, endTrackFrame, validateTag, createTag, dirtyTag as DIRTY_TAG$1, CONSTANT_TAG, isTracking, CURRENT_TAG } from '../@glimmer/validator/index.js';
|
|
3
3
|
import { v as valueForRef, a as createConstRef, i as isConstRef, l as isUpdatableRef, u as updateRef, c as createComputeRef, d as createPrimitiveRef, b as childRefFor, f as childRefFromParts, U as UNDEFINED_REFERENCE, h as createInvokableRef, j as createReadOnlyRef, k as createUnboundRef, N as NULL_REFERENCE } from './reference-BNqcwZWH.js';
|
|
4
|
-
import { t as templateFactory } from './index-
|
|
5
|
-
import { c as capabilityFlagsFrom } from './capabilities-
|
|
4
|
+
import { t as templateFactory } from './index-CjaDF9kC.js';
|
|
5
|
+
import { c as capabilityFlagsFrom } from './capabilities-DXA-L0iT.js';
|
|
6
6
|
import { getFactoryFor, privatize } from '../@ember/-internals/container/index.js';
|
|
7
7
|
import { g as guidFor, i as isObject } from './super-Cm_a_cLQ.js';
|
|
8
8
|
import { ENV } from '../@ember/-internals/environment/index.js';
|
|
9
|
-
import { t as reifyPositional, E as EMPTY_ARGS, k as createCapturedArgs, d as EMPTY_POSITIONAL, l as curry, o as hash, n as get$1, m as fn, j as concat, h as array, q as on$1, T as TEMPLATE_ONLY_COMPONENT_MANAGER, w as templateOnlyComponent } from './on-
|
|
10
|
-
import './constants-
|
|
9
|
+
import { t as reifyPositional, E as EMPTY_ARGS, k as createCapturedArgs, d as EMPTY_POSITIONAL, l as curry, o as hash, n as get$1, m as fn, j as concat, h as array, q as on$1, T as TEMPLATE_ONLY_COMPONENT_MANAGER, w as templateOnlyComponent } from './on-CLxdmpmk.js';
|
|
10
|
+
import './constants-2M371WiB.js';
|
|
11
11
|
import { join, schedule, _backburner, _getCurrentRunLoop } from '../@ember/runloop/index.js';
|
|
12
12
|
import { h as hasDOM } from './has-dom-DdQORPzI.js';
|
|
13
13
|
import { action } from '../@ember/object/index.js';
|
|
14
14
|
import { on } from '../@ember/modifier/on.js';
|
|
15
|
-
import { g as get, t as tagForObject, n as objectAt, a as tagForProperty, q as _getProp } from './observers-
|
|
16
|
-
import { t as tracked } from './tracked-
|
|
15
|
+
import { g as get, t as tagForObject, n as objectAt, a as tagForProperty, q as _getProp } from './observers-tZ2aOzr4.js';
|
|
16
|
+
import { t as tracked } from './tracked-Cl5l4v8b.js';
|
|
17
17
|
import { setOwner, getOwner, isFactory } from '../@ember/-internals/owner/index.js';
|
|
18
18
|
import { assert } from '../@ember/debug/lib/assert.js';
|
|
19
|
-
import { s as setInternalComponentManager, g as getInternalHelperManager, c as helperCapabilities, i as setInternalHelperManager, b as hasInternalComponentManager, e as getInternalComponentManager } from './api-
|
|
19
|
+
import { s as setInternalComponentManager, g as getInternalHelperManager, c as helperCapabilities, i as setInternalHelperManager, b as hasInternalComponentManager, e as getInternalComponentManager } from './api-DtWa0ZaF.js';
|
|
20
20
|
import { s as setComponentTemplate, g as getComponentTemplate } from './template-Dc_cBOoX.js';
|
|
21
21
|
import { d as decorateFieldV2, i as initializeDeferredDecorator, a as decorateMethodV2 } from './chunk-3SQBS3Y5-Cj4eryg1.js';
|
|
22
22
|
import { isSimpleClick, getViewElement, clearElementView, clearViewElement, addChildView, setViewElement, setElementView, getChildViews, getViewId } from '../@ember/-internals/views/lib/system/utils.js';
|
|
@@ -27,7 +27,7 @@ import { getEngineParent } from '../@ember/engine/lib/engine-parent.js';
|
|
|
27
27
|
import { flaggedInstrument, _instrumentStart } from '../@ember/instrumentation/index.js';
|
|
28
28
|
import { service } from '../@ember/service/index.js';
|
|
29
29
|
import { n as nativeDescDecorator } from './decorator-BdDDBUd2.js';
|
|
30
|
-
import { P as PROPERTY_DID_CHANGE } from './namespace_search-
|
|
30
|
+
import { P as PROPERTY_DID_CHANGE } from './namespace_search-Dcdalhj6.js';
|
|
31
31
|
import '../@ember/-internals/runtime/lib/mixins/registry_proxy.js';
|
|
32
32
|
import '../@ember/-internals/runtime/lib/mixins/container_proxy.js';
|
|
33
33
|
import '../@ember/-internals/runtime/lib/mixins/comparable.js';
|
|
@@ -36,7 +36,7 @@ import { contentFor } from '../@ember/-internals/runtime/lib/mixins/-proxy.js';
|
|
|
36
36
|
import '../@ember/enumerable/mutable.js';
|
|
37
37
|
import TargetActionSupport from '../@ember/-internals/runtime/lib/mixins/target_action_support.js';
|
|
38
38
|
import '../@ember/-internals/runtime/lib/ext/rsvp.js';
|
|
39
|
-
import { n as normalizeProperty, c as clientBuilder } from './element-builder-
|
|
39
|
+
import { n as normalizeProperty, c as clientBuilder } from './element-builder-BmLF0C-1.js';
|
|
40
40
|
import { E as EMPTY_ARRAY$2 } from './array-utils-CZQxrdD3.js';
|
|
41
41
|
import { dasherize } from '../@ember/-internals/string/index.js';
|
|
42
42
|
import { registerDestructor, associateDestroyableChild, isDestroyed, destroy, isDestroying } from '../@glimmer/destroyable/index.js';
|
|
@@ -47,11 +47,11 @@ import { setHelperManager } from '../@glimmer/manager/index.js';
|
|
|
47
47
|
import { d as dict } from './collections-GpG8lT2g.js';
|
|
48
48
|
import { artifacts } from '../@glimmer/program/index.js';
|
|
49
49
|
import { R as RuntimeOpImpl } from './program-B7SJZ5NF.js';
|
|
50
|
-
import { c as runtimeOptions, i as inTransaction, r as renderComponent$1, a as renderMain } from './render-
|
|
50
|
+
import { c as runtimeOptions, i as inTransaction, r as renderComponent$1, a as renderMain } from './render-BlriW61t.js';
|
|
51
51
|
import { a as RSVP } from './rsvp-CnCSY930.js';
|
|
52
52
|
import '../@ember/engine/instance.js';
|
|
53
53
|
import setGlobalContext from '../@glimmer/global-context/index.js';
|
|
54
|
-
import { _ as _setProp, s as set } from './property_set-
|
|
54
|
+
import { _ as _setProp, s as set } from './property_set-B2sZxeCw.js';
|
|
55
55
|
import { isEmberArray } from '../@ember/array/-internals.js';
|
|
56
56
|
import { i as isProxy } from './is_proxy-Cr1qlMv_.js';
|
|
57
57
|
import { isArray } from '../@ember/array/index.js';
|
|
@@ -59,7 +59,7 @@ import '../route-recognizer/index.js';
|
|
|
59
59
|
import './unrecognized-url-error-DDBwfzdm.js';
|
|
60
60
|
import '../@ember/routing/lib/routing-service.js';
|
|
61
61
|
import { generateControllerFactory } from '../@ember/routing/lib/generate_controller.js';
|
|
62
|
-
import { E as EvaluationContextImpl } from './program-context-
|
|
62
|
+
import { E as EvaluationContextImpl } from './program-context-DFiwaPMR.js';
|
|
63
63
|
|
|
64
64
|
const RootTemplate = templateFactory(
|
|
65
65
|
/*
|
|
@@ -1,13 +1,12 @@
|
|
|
1
|
-
import { z as VM_PRIMITIVE_OP, m as VM_RETURN_OP, aP as encodeHandle, aQ as isMachineOp, aF as VM_CONCAT_OP, aw as VM_GET_VARIABLE_OP, y as VM_CONSTANT_REFERENCE_OP, aA as VM_GET_PROPERTY_OP, aD as VM_HAS_BLOCK_OP, aC as VM_SPREAD_BLOCK_OP, N as VM_COMPILE_BLOCK_OP, aE as VM_HAS_BLOCK_PARAMS_OP, aG as VM_IF_INLINE_OP, aH as VM_NOT_OP, aI as VM_GET_DYNAMIC_VAR_OP, q as VM_PUSH_FRAME_OP, aJ as VM_LOG_OP, p as VM_POP_FRAME_OP, H as VM_FETCH_OP, D as VM_PRIMITIVE_REFERENCE_OP, av as VM_HELPER_OP, E as VM_DUP_OP, at as VM_DYNAMIC_HELPER_OP, F as VM_POP_OP, a9 as VM_CAPTURE_ARGS_OP, as as VM_CURRY_OP, aR as isSmallInt, aS as encodeImmediate, u as VM_PUSH_DYNAMIC_SCOPE_OP, I as VM_BIND_DYNAMIC_SCOPE_OP, v as VM_POP_DYNAMIC_SCOPE_OP, aB as VM_GET_BLOCK_OP, O as VM_INVOKE_YIELD_OP, t as VM_POP_SCOPE_OP, s as VM_CHILD_SCOPE_OP, ax as VM_SET_VARIABLE_OP, o as VM_INVOKE_VIRTUAL_OP, w as VM_CONSTANT_OP, M as VM_PUSH_BLOCK_SCOPE_OP, L as VM_PUSH_SYMBOL_TABLE_OP, a8 as VM_PUSH_EMPTY_ARGS_OP, a7 as VM_PUSH_ARGS_OP, J as VM_ENTER_OP, R as VM_JUMP_EQ_OP, n as VM_JUMP_OP, K as VM_EXIT_OP, l as VM_RETURN_TO_OP, Q as VM_JUMP_UNLESS_OP, a5 as VM_PUSH_COMPONENT_DEFINITION_OP, G as VM_LOAD_OP, ad as VM_BEGIN_COMPONENT_TRANSACTION_OP, ab as VM_CREATE_COMPONENT_OP, ac as VM_REGISTER_COMPONENT_DESTRUCTOR_OP, ai as VM_GET_COMPONENT_SELF_OP, az as VM_ROOT_SCOPE_OP, ay as VM_SET_BLOCK_OP, aq as VM_DID_RENDER_LAYOUT_OP, ar as VM_COMMIT_COMPONENT_TRANSACTION_OP, aa as VM_PREPARE_ARGS_OP, am as VM_VIRTUAL_ROOT_SCOPE_OP, an as VM_SET_NAMED_VARIABLES_OP, ao as VM_SET_BLOCKS_OP, ap as VM_INVOKE_COMPONENT_LAYOUT_OP, ae as VM_PUT_COMPONENT_OPERATIONS_OP, X as VM_OPEN_DYNAMIC_ELEMENT_OP, ah as VM_DID_CREATE_ELEMENT_OP, _ as VM_FLUSH_ELEMENT_OP, $ as VM_CLOSE_ELEMENT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, a6 as VM_RESOLVE_DYNAMIC_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, ak as VM_GET_COMPONENT_LAYOUT_OP, al as VM_POPULATE_LAYOUT_OP, aj as VM_GET_COMPONENT_TAG_NAME_OP, U as VM_COMMENT_OP, a0 as VM_MODIFIER_OP, a1 as VM_DYNAMIC_MODIFIER_OP, a2 as VM_STATIC_ATTR_OP, ag as VM_STATIC_COMPONENT_ATTR_OP, a3 as VM_DYNAMIC_ATTR_OP, af as VM_COMPONENT_ATTR_OP, W as VM_OPEN_ELEMENT_OP, aL as VM_DEBUGGER_OP, T as VM_TEXT_OP, k as VM_INVOKE_STATIC_OP, aK as VM_DYNAMIC_CONTENT_TYPE_OP, Y as VM_PUSH_REMOTE_ELEMENT_OP, Z as VM_POP_REMOTE_ELEMENT_OP, S as VM_TO_BOOLEAN_OP, aM as VM_ENTER_LIST_OP, aO as VM_ITERATE_OP, aN as VM_EXIT_LIST_OP } from './fragment-
|
|
1
|
+
import { z as VM_PRIMITIVE_OP, m as VM_RETURN_OP, aP as encodeHandle, aQ as isMachineOp, aF as VM_CONCAT_OP, aw as VM_GET_VARIABLE_OP, y as VM_CONSTANT_REFERENCE_OP, aA as VM_GET_PROPERTY_OP, aD as VM_HAS_BLOCK_OP, aC as VM_SPREAD_BLOCK_OP, N as VM_COMPILE_BLOCK_OP, aE as VM_HAS_BLOCK_PARAMS_OP, aG as VM_IF_INLINE_OP, aH as VM_NOT_OP, aI as VM_GET_DYNAMIC_VAR_OP, q as VM_PUSH_FRAME_OP, aJ as VM_LOG_OP, p as VM_POP_FRAME_OP, H as VM_FETCH_OP, D as VM_PRIMITIVE_REFERENCE_OP, av as VM_HELPER_OP, E as VM_DUP_OP, at as VM_DYNAMIC_HELPER_OP, F as VM_POP_OP, a9 as VM_CAPTURE_ARGS_OP, as as VM_CURRY_OP, aR as isSmallInt, aS as encodeImmediate, u as VM_PUSH_DYNAMIC_SCOPE_OP, I as VM_BIND_DYNAMIC_SCOPE_OP, v as VM_POP_DYNAMIC_SCOPE_OP, aB as VM_GET_BLOCK_OP, O as VM_INVOKE_YIELD_OP, t as VM_POP_SCOPE_OP, s as VM_CHILD_SCOPE_OP, ax as VM_SET_VARIABLE_OP, o as VM_INVOKE_VIRTUAL_OP, w as VM_CONSTANT_OP, M as VM_PUSH_BLOCK_SCOPE_OP, L as VM_PUSH_SYMBOL_TABLE_OP, a8 as VM_PUSH_EMPTY_ARGS_OP, a7 as VM_PUSH_ARGS_OP, J as VM_ENTER_OP, R as VM_JUMP_EQ_OP, n as VM_JUMP_OP, K as VM_EXIT_OP, l as VM_RETURN_TO_OP, Q as VM_JUMP_UNLESS_OP, a5 as VM_PUSH_COMPONENT_DEFINITION_OP, G as VM_LOAD_OP, ad as VM_BEGIN_COMPONENT_TRANSACTION_OP, ab as VM_CREATE_COMPONENT_OP, ac as VM_REGISTER_COMPONENT_DESTRUCTOR_OP, ai as VM_GET_COMPONENT_SELF_OP, az as VM_ROOT_SCOPE_OP, ay as VM_SET_BLOCK_OP, aq as VM_DID_RENDER_LAYOUT_OP, ar as VM_COMMIT_COMPONENT_TRANSACTION_OP, aa as VM_PREPARE_ARGS_OP, am as VM_VIRTUAL_ROOT_SCOPE_OP, an as VM_SET_NAMED_VARIABLES_OP, ao as VM_SET_BLOCKS_OP, ap as VM_INVOKE_COMPONENT_LAYOUT_OP, ae as VM_PUT_COMPONENT_OPERATIONS_OP, X as VM_OPEN_DYNAMIC_ELEMENT_OP, ah as VM_DID_CREATE_ELEMENT_OP, _ as VM_FLUSH_ELEMENT_OP, $ as VM_CLOSE_ELEMENT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, a6 as VM_RESOLVE_DYNAMIC_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, ak as VM_GET_COMPONENT_LAYOUT_OP, al as VM_POPULATE_LAYOUT_OP, aj as VM_GET_COMPONENT_TAG_NAME_OP, U as VM_COMMENT_OP, a0 as VM_MODIFIER_OP, a1 as VM_DYNAMIC_MODIFIER_OP, a2 as VM_STATIC_ATTR_OP, ag as VM_STATIC_COMPONENT_ATTR_OP, a3 as VM_DYNAMIC_ATTR_OP, af as VM_COMPONENT_ATTR_OP, W as VM_OPEN_ELEMENT_OP, aL as VM_DEBUGGER_OP, T as VM_TEXT_OP, k as VM_INVOKE_STATIC_OP, aK as VM_DYNAMIC_CONTENT_TYPE_OP, Y as VM_PUSH_REMOTE_ELEMENT_OP, Z as VM_POP_REMOTE_ELEMENT_OP, S as VM_TO_BOOLEAN_OP, aM as VM_ENTER_LIST_OP, aO as VM_ITERATE_OP, aN as VM_EXIT_LIST_OP } from './fragment-D7nBU9ae.js';
|
|
2
2
|
import '../@glimmer/validator/index.js';
|
|
3
3
|
import './reference-BNqcwZWH.js';
|
|
4
|
-
import { a as assert } from './assert-CUCJBR2C.js';
|
|
5
4
|
import { e as expect, u as unwrap, S as StackImpl, a as isPresentArray, d as dict } from './collections-GpG8lT2g.js';
|
|
6
5
|
import { SexpOpcodes as opcodes } from '../@glimmer/wire-format/index.js';
|
|
7
6
|
import { e as $v0, c as $fp, $ as $s0, d as $sp, h as $s1 } from './registers-ylirb0dq.js';
|
|
8
7
|
import { b as EMPTY_STRING_ARRAY, E as EMPTY_ARRAY, e as enumerate, r as reverse } from './array-utils-CZQxrdD3.js';
|
|
9
8
|
import { ContentType } from '../@glimmer/vm/index.js';
|
|
10
|
-
import { h as hasCapability } from './capabilities-
|
|
9
|
+
import { h as hasCapability } from './capabilities-DXA-L0iT.js';
|
|
11
10
|
import { A as ARG_SHIFT, M as MACHINE_MASK, I as InternalComponentCapabilities } from './flags-B9qxc-pB.js';
|
|
12
11
|
import { a as assign } from './object-utils-AijlD-JH.js';
|
|
13
12
|
import { InstructionEncoderImpl } from '../@glimmer/encoder/index.js';
|
|
@@ -36,7 +35,6 @@ function assertResolverInvariants(meta) {
|
|
|
36
35
|
* <Foo @arg={{true}} />
|
|
37
36
|
*/
|
|
38
37
|
function resolveComponent(resolver, constants, meta, [, expr, then]) {
|
|
39
|
-
assert(isGetFreeComponent(expr));
|
|
40
38
|
let type = expr[0];
|
|
41
39
|
if (type === opcodes.GetLexicalSymbol) {
|
|
42
40
|
let {
|
|
@@ -68,7 +66,6 @@ function resolveComponent(resolver, constants, meta, [, expr, then]) {
|
|
|
68
66
|
* (helper arg)
|
|
69
67
|
*/
|
|
70
68
|
function resolveHelper(resolver, constants, meta, [, expr, then]) {
|
|
71
|
-
assert(isGetFreeHelper(expr));
|
|
72
69
|
let type = expr[0];
|
|
73
70
|
if (type === opcodes.GetLexicalSymbol) {
|
|
74
71
|
let {
|
|
@@ -99,7 +96,6 @@ function resolveHelper(resolver, constants, meta, [, expr, then]) {
|
|
|
99
96
|
* <Foo {{modifier}}/>
|
|
100
97
|
*/
|
|
101
98
|
function resolveModifier(resolver, constants, meta, [, expr, then]) {
|
|
102
|
-
assert(isGetFreeModifier(expr));
|
|
103
99
|
let type = expr[0];
|
|
104
100
|
if (type === opcodes.GetLexicalSymbol) {
|
|
105
101
|
let {
|
|
@@ -143,7 +139,6 @@ function resolveComponentOrHelper(resolver, constants, meta, [, expr, {
|
|
|
143
139
|
ifComponent,
|
|
144
140
|
ifHelper
|
|
145
141
|
}]) {
|
|
146
|
-
assert(isGetFreeComponentOrHelper(expr));
|
|
147
142
|
let type = expr[0];
|
|
148
143
|
if (type === opcodes.GetLexicalSymbol) {
|
|
149
144
|
let {
|
|
@@ -191,7 +186,6 @@ function resolveOptionalComponentOrHelper(resolver, constants, meta, [, expr, {
|
|
|
191
186
|
ifHelper,
|
|
192
187
|
ifValue
|
|
193
188
|
}]) {
|
|
194
|
-
assert(isGetFreeComponentOrHelper(expr));
|
|
195
189
|
let type = expr[0];
|
|
196
190
|
if (type === opcodes.GetLexicalSymbol) {
|
|
197
191
|
let {
|
|
@@ -353,7 +347,6 @@ class Labels {
|
|
|
353
347
|
} of targets) {
|
|
354
348
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme
|
|
355
349
|
let address = labels[target] - at;
|
|
356
|
-
assert(heap.getbyaddr(at) === -1);
|
|
357
350
|
heap.setbyaddr(at, address);
|
|
358
351
|
}
|
|
359
352
|
}
|
|
@@ -514,7 +507,6 @@ class Compilers {
|
|
|
514
507
|
let name = sexp[0];
|
|
515
508
|
let index = unwrap(this.names[name]);
|
|
516
509
|
let func = this.funcs[index];
|
|
517
|
-
assert(func, `expected an implementation for ${sexp[0]}`);
|
|
518
510
|
func(op, sexp);
|
|
519
511
|
}
|
|
520
512
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { getOwner } from '../@ember/-internals/owner/index.js';
|
|
2
2
|
import '../@ember/-internals/environment/index.js';
|
|
3
|
-
import { c as computed, d as defineProperty } from './namespace_search-
|
|
3
|
+
import { c as computed, d as defineProperty } from './namespace_search-Dcdalhj6.js';
|
|
4
4
|
import { i as isElementDescriptor } from './decorator-BdDDBUd2.js';
|
|
5
5
|
|
|
6
6
|
let DEBUG_INJECTION_FUNCTIONS;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { associateDestroyableChild } from '../@glimmer/destroyable/index.js';
|
|
2
|
-
import { g as getInternalHelperManager, h as hasValue, a as hasDestroyable } from './api-
|
|
2
|
+
import { g as getInternalHelperManager, h as hasValue, a as hasDestroyable } from './api-DtWa0ZaF.js';
|
|
3
3
|
import { createCache, getValue } from '../@glimmer/validator/index.js';
|
|
4
4
|
import './reference-BNqcwZWH.js';
|
|
5
|
-
import './capabilities-
|
|
5
|
+
import './capabilities-DXA-L0iT.js';
|
|
6
6
|
import { getOwner } from '../@glimmer/owner/index.js';
|
|
7
|
-
import { E as EMPTY_ARGS, c as EMPTY_NAMED, d as EMPTY_POSITIONAL } from './on-
|
|
7
|
+
import { E as EMPTY_ARGS, c as EMPTY_NAMED, d as EMPTY_POSITIONAL } from './on-CLxdmpmk.js';
|
|
8
8
|
|
|
9
9
|
function getArgs(proxy) {
|
|
10
10
|
// eslint-disable-next-line @typescript-eslint/no-non-null-assertion -- @fixme
|
|
@@ -3,7 +3,7 @@ import './super-Cm_a_cLQ.js';
|
|
|
3
3
|
import { context } from '../@ember/-internals/environment/index.js';
|
|
4
4
|
import inspect from '../@ember/debug/lib/inspect.js';
|
|
5
5
|
import { tagMetaFor, tagFor, validateTag, untrack, updateTag as UPDATE_TAG, valueForTag, consumeTag, ALLOW_CYCLES, track } from '../@glimmer/validator/index.js';
|
|
6
|
-
import { w as flushSyncObservers, x as resumeObserverDeactivation, v as markObjectAsDirty, y as suspendedObserverDeactivation, z as getChainTagsForKeys, l as finishLazyChains, c as addObserver, B as setObserverSuspended, d as revalidateObservers } from './observers-
|
|
6
|
+
import { w as flushSyncObservers, x as resumeObserverDeactivation, v as markObjectAsDirty, y as suspendedObserverDeactivation, z as getChainTagsForKeys, l as finishLazyChains, c as addObserver, B as setObserverSuspended, d as revalidateObservers } from './observers-tZ2aOzr4.js';
|
|
7
7
|
import { c as ComputedDescriptor, i as isElementDescriptor, m as makeComputedDecorator, b as descriptorForDecorator, d as descriptorForProperty, a as isClassicDecorator } from './decorator-BdDDBUd2.js';
|
|
8
8
|
import { s as setName, g as getName } from './name-C68GLLO3.js';
|
|
9
9
|
|
|
@@ -2,7 +2,7 @@ import { i as isObject, d as setListeners } from './super-Cm_a_cLQ.js';
|
|
|
2
2
|
import { ENV } from '../@ember/-internals/environment/index.js';
|
|
3
3
|
import { tagFor, dirtyTagFor, CONSTANT_TAG, combine, validateTag, tagMetaFor, createUpdatableTag, updateTag as UPDATE_TAG, valueForTag, CURRENT_TAG, track, isTracking, consumeTag } from '../@glimmer/validator/index.js';
|
|
4
4
|
import './reference-BNqcwZWH.js';
|
|
5
|
-
import './capabilities-
|
|
5
|
+
import './capabilities-DXA-L0iT.js';
|
|
6
6
|
import { peekMeta, meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
7
7
|
import { registerDestructor } from '../@glimmer/destroyable/index.js';
|
|
8
8
|
import { g as getCustomTagFor } from './args-proxy-Dl0A0YWI.js';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { r as VM_SYSCALL_SIZE, C as CURRIED_COMPONENT, s as VM_CHILD_SCOPE_OP, t as VM_POP_SCOPE_OP, u as VM_PUSH_DYNAMIC_SCOPE_OP, v as VM_POP_DYNAMIC_SCOPE_OP, w as VM_CONSTANT_OP, x as decodeHandle, y as VM_CONSTANT_REFERENCE_OP, z as VM_PRIMITIVE_OP, A as isHandle, B as decodeImmediate, D as VM_PRIMITIVE_REFERENCE_OP, E as VM_DUP_OP, F as VM_POP_OP, G as VM_LOAD_OP, H as VM_FETCH_OP, I as VM_BIND_DYNAMIC_SCOPE_OP, J as VM_ENTER_OP, K as VM_EXIT_OP, L as VM_PUSH_SYMBOL_TABLE_OP, M as VM_PUSH_BLOCK_SCOPE_OP, N as VM_COMPILE_BLOCK_OP, O as VM_INVOKE_YIELD_OP, P as VM_JUMP_IF_OP, Q as VM_JUMP_UNLESS_OP, R as VM_JUMP_EQ_OP, b as VM_ASSERT_SAME_OP, S as VM_TO_BOOLEAN_OP, T as VM_TEXT_OP, U as VM_COMMENT_OP, W as VM_OPEN_ELEMENT_OP, X as VM_OPEN_DYNAMIC_ELEMENT_OP, Y as VM_PUSH_REMOTE_ELEMENT_OP, Z as VM_POP_REMOTE_ELEMENT_OP, _ as VM_FLUSH_ELEMENT_OP, $ as VM_CLOSE_ELEMENT_OP, a0 as VM_MODIFIER_OP, a1 as VM_DYNAMIC_MODIFIER_OP, a2 as VM_STATIC_ATTR_OP, a3 as VM_DYNAMIC_ATTR_OP, a4 as CURRIED_MODIFIER, a5 as VM_PUSH_COMPONENT_DEFINITION_OP, a6 as VM_RESOLVE_DYNAMIC_COMPONENT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, a7 as VM_PUSH_ARGS_OP, a8 as VM_PUSH_EMPTY_ARGS_OP, a9 as VM_CAPTURE_ARGS_OP, aa as VM_PREPARE_ARGS_OP, ab as VM_CREATE_COMPONENT_OP, ac as VM_REGISTER_COMPONENT_DESTRUCTOR_OP, ad as VM_BEGIN_COMPONENT_TRANSACTION_OP, ae as VM_PUT_COMPONENT_OPERATIONS_OP, af as VM_COMPONENT_ATTR_OP, ag as VM_STATIC_COMPONENT_ATTR_OP, ah as VM_DID_CREATE_ELEMENT_OP, ai as VM_GET_COMPONENT_SELF_OP, aj as VM_GET_COMPONENT_TAG_NAME_OP, ak as VM_GET_COMPONENT_LAYOUT_OP, V as VM_MAIN_OP, al as VM_POPULATE_LAYOUT_OP, am as VM_VIRTUAL_ROOT_SCOPE_OP, an as VM_SET_NAMED_VARIABLES_OP, ao as VM_SET_BLOCKS_OP, ap as VM_INVOKE_COMPONENT_LAYOUT_OP, aq as VM_DID_RENDER_LAYOUT_OP, ar as VM_COMMIT_COMPONENT_TRANSACTION_OP, as as VM_CURRY_OP, at as VM_DYNAMIC_HELPER_OP, au as CURRIED_HELPER, av as VM_HELPER_OP, aw as VM_GET_VARIABLE_OP, ax as VM_SET_VARIABLE_OP, ay as VM_SET_BLOCK_OP, az as VM_ROOT_SCOPE_OP, aA as VM_GET_PROPERTY_OP, aB as VM_GET_BLOCK_OP, aC as VM_SPREAD_BLOCK_OP, aD as VM_HAS_BLOCK_OP, aE as VM_HAS_BLOCK_PARAMS_OP, aF as VM_CONCAT_OP, aG as VM_IF_INLINE_OP, aH as VM_NOT_OP, aI as VM_GET_DYNAMIC_VAR_OP, aJ as VM_LOG_OP, a as VM_CONTENT_TYPE_OP, aK as VM_DYNAMIC_CONTENT_TYPE_OP, d as VM_APPEND_HTML_OP, h as VM_APPEND_SAFE_HTML_OP, e as VM_APPEND_TEXT_OP, i as VM_APPEND_DOCUMENT_FRAGMENT_OP, j as VM_APPEND_NODE_OP, aL as VM_DEBUGGER_OP, aM as VM_ENTER_LIST_OP, aN as VM_EXIT_LIST_OP, aO as VM_ITERATE_OP } from './fragment-
|
|
1
|
+
import { r as VM_SYSCALL_SIZE, C as CURRIED_COMPONENT, s as VM_CHILD_SCOPE_OP, t as VM_POP_SCOPE_OP, u as VM_PUSH_DYNAMIC_SCOPE_OP, v as VM_POP_DYNAMIC_SCOPE_OP, w as VM_CONSTANT_OP, x as decodeHandle, y as VM_CONSTANT_REFERENCE_OP, z as VM_PRIMITIVE_OP, A as isHandle, B as decodeImmediate, D as VM_PRIMITIVE_REFERENCE_OP, E as VM_DUP_OP, F as VM_POP_OP, G as VM_LOAD_OP, H as VM_FETCH_OP, I as VM_BIND_DYNAMIC_SCOPE_OP, J as VM_ENTER_OP, K as VM_EXIT_OP, L as VM_PUSH_SYMBOL_TABLE_OP, M as VM_PUSH_BLOCK_SCOPE_OP, N as VM_COMPILE_BLOCK_OP, O as VM_INVOKE_YIELD_OP, P as VM_JUMP_IF_OP, Q as VM_JUMP_UNLESS_OP, R as VM_JUMP_EQ_OP, b as VM_ASSERT_SAME_OP, S as VM_TO_BOOLEAN_OP, T as VM_TEXT_OP, U as VM_COMMENT_OP, W as VM_OPEN_ELEMENT_OP, X as VM_OPEN_DYNAMIC_ELEMENT_OP, Y as VM_PUSH_REMOTE_ELEMENT_OP, Z as VM_POP_REMOTE_ELEMENT_OP, _ as VM_FLUSH_ELEMENT_OP, $ as VM_CLOSE_ELEMENT_OP, a0 as VM_MODIFIER_OP, a1 as VM_DYNAMIC_MODIFIER_OP, a2 as VM_STATIC_ATTR_OP, a3 as VM_DYNAMIC_ATTR_OP, a4 as CURRIED_MODIFIER, a5 as VM_PUSH_COMPONENT_DEFINITION_OP, a6 as VM_RESOLVE_DYNAMIC_COMPONENT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, a7 as VM_PUSH_ARGS_OP, a8 as VM_PUSH_EMPTY_ARGS_OP, a9 as VM_CAPTURE_ARGS_OP, aa as VM_PREPARE_ARGS_OP, ab as VM_CREATE_COMPONENT_OP, ac as VM_REGISTER_COMPONENT_DESTRUCTOR_OP, ad as VM_BEGIN_COMPONENT_TRANSACTION_OP, ae as VM_PUT_COMPONENT_OPERATIONS_OP, af as VM_COMPONENT_ATTR_OP, ag as VM_STATIC_COMPONENT_ATTR_OP, ah as VM_DID_CREATE_ELEMENT_OP, ai as VM_GET_COMPONENT_SELF_OP, aj as VM_GET_COMPONENT_TAG_NAME_OP, ak as VM_GET_COMPONENT_LAYOUT_OP, V as VM_MAIN_OP, al as VM_POPULATE_LAYOUT_OP, am as VM_VIRTUAL_ROOT_SCOPE_OP, an as VM_SET_NAMED_VARIABLES_OP, ao as VM_SET_BLOCKS_OP, ap as VM_INVOKE_COMPONENT_LAYOUT_OP, aq as VM_DID_RENDER_LAYOUT_OP, ar as VM_COMMIT_COMPONENT_TRANSACTION_OP, as as VM_CURRY_OP, at as VM_DYNAMIC_HELPER_OP, au as CURRIED_HELPER, av as VM_HELPER_OP, aw as VM_GET_VARIABLE_OP, ax as VM_SET_VARIABLE_OP, ay as VM_SET_BLOCK_OP, az as VM_ROOT_SCOPE_OP, aA as VM_GET_PROPERTY_OP, aB as VM_GET_BLOCK_OP, aC as VM_SPREAD_BLOCK_OP, aD as VM_HAS_BLOCK_OP, aE as VM_HAS_BLOCK_PARAMS_OP, aF as VM_CONCAT_OP, aG as VM_IF_INLINE_OP, aH as VM_NOT_OP, aI as VM_GET_DYNAMIC_VAR_OP, aJ as VM_LOG_OP, a as VM_CONTENT_TYPE_OP, aK as VM_DYNAMIC_CONTENT_TYPE_OP, d as VM_APPEND_HTML_OP, h as VM_APPEND_SAFE_HTML_OP, e as VM_APPEND_TEXT_OP, i as VM_APPEND_DOCUMENT_FRAGMENT_OP, j as VM_APPEND_NODE_OP, aL as VM_DEBUGGER_OP, aM as VM_ENTER_LIST_OP, aN as VM_EXIT_LIST_OP, aO as VM_ITERATE_OP } from './fragment-D7nBU9ae.js';
|
|
2
2
|
import { u as unwrap, c as isIndexable$1, e as expect, S as StackImpl, d as dict, i as isDict } from './collections-GpG8lT2g.js';
|
|
3
3
|
import { a as assign } from './object-utils-AijlD-JH.js';
|
|
4
4
|
import { toBool, setPath, getPath } from '../@glimmer/global-context/index.js';
|
|
@@ -6,14 +6,13 @@ import { CONSTANT_TAG, INITIAL, validateTag, consumeTag, valueForTag, beginTrack
|
|
|
6
6
|
import { c as createComputeRef, v as valueForRef, a as createConstRef, d as createPrimitiveRef, i as isConstRef, U as UNDEFINED_REFERENCE, N as NULL_REFERENCE, T as TRUE_REFERENCE, F as FALSE_REFERENCE, R as REFERENCE, b as childRefFor, e as isInvokableRef, u as updateRef } from './reference-BNqcwZWH.js';
|
|
7
7
|
import { e as $v0, f as $t1, g as $t0, a as $pc, b as $ra, c as $fp, d as $sp, h as $s1, $ as $s0 } from './registers-ylirb0dq.js';
|
|
8
8
|
import { registerDestructor, destroy, associateDestroyableChild, _hasDestroyableChildren } from '../@glimmer/destroyable/index.js';
|
|
9
|
-
import { d as getInternalModifierManager, g as getInternalHelperManager, b as hasInternalComponentManager, f as hasInternalHelperManager, s as setInternalComponentManager, i as setInternalHelperManager, j as setInternalModifierManager } from './api-
|
|
10
|
-
import { m as managerHasCapability } from './capabilities-
|
|
9
|
+
import { d as getInternalModifierManager, g as getInternalHelperManager, b as hasInternalComponentManager, f as hasInternalHelperManager, s as setInternalComponentManager, i as setInternalHelperManager, j as setInternalModifierManager } from './api-DtWa0ZaF.js';
|
|
10
|
+
import { m as managerHasCapability } from './capabilities-DXA-L0iT.js';
|
|
11
11
|
import { ContentType } from '../@glimmer/vm/index.js';
|
|
12
12
|
import { createIteratorRef } from '../@glimmer/reference/index.js';
|
|
13
13
|
import { s as setLocalDebugType } from './debug-brand-B1TWjOCH.js';
|
|
14
14
|
import { b as EMPTY_STRING_ARRAY, e as enumerate, c as emptyArray } from './array-utils-CZQxrdD3.js';
|
|
15
|
-
import { a as
|
|
16
|
-
import { a as unwrapTemplate } from './constants-CB3pk7dH.js';
|
|
15
|
+
import { a as unwrapTemplate } from './constants-2M371WiB.js';
|
|
17
16
|
import { I as InternalComponentCapabilities } from './flags-B9qxc-pB.js';
|
|
18
17
|
|
|
19
18
|
/* eslint-disable @typescript-eslint/no-empty-object-type */
|
|
@@ -78,10 +77,8 @@ class AppendOpcodes {
|
|
|
78
77
|
evaluate(vm, opcode, type) {
|
|
79
78
|
let operation = unwrap(this.evaluateOpcode[type]);
|
|
80
79
|
if (operation.syscall) {
|
|
81
|
-
assert(!opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
82
80
|
operation.evaluate(vm, opcode);
|
|
83
81
|
} else {
|
|
84
|
-
assert(opcode.isMachine, `BUG: Mismatch between operation.syscall (${operation.syscall}) and opcode.isMachine (${opcode.isMachine}) for ${opcode.type}`);
|
|
85
82
|
operation.evaluate(vm.lowlevel, opcode);
|
|
86
83
|
}
|
|
87
84
|
}
|
|
@@ -549,7 +546,6 @@ APPEND_OPCODES.add(VM_INVOKE_YIELD_OP, vm => {
|
|
|
549
546
|
let table = check(stack.pop());
|
|
550
547
|
let args = check(stack.pop());
|
|
551
548
|
if (table === null || handle === null) {
|
|
552
|
-
// To balance the pop{Frame,Scope}
|
|
553
549
|
vm.lowlevel.pushFrame();
|
|
554
550
|
vm.pushScope(scope ?? vm.scope());
|
|
555
551
|
return;
|
|
@@ -1125,7 +1121,6 @@ APPEND_OPCODES.add(VM_PREPARE_ARGS_OP, (vm, {
|
|
|
1125
1121
|
definition
|
|
1126
1122
|
} = instance;
|
|
1127
1123
|
if (isCurriedType(definition, CURRIED_COMPONENT)) {
|
|
1128
|
-
assert(!definition.manager);
|
|
1129
1124
|
let constants = vm.constants;
|
|
1130
1125
|
let {
|
|
1131
1126
|
definition: resolvedDefinition,
|
|
@@ -1426,7 +1421,6 @@ APPEND_OPCODES.add(VM_GET_COMPONENT_SELF_OP, (vm, {
|
|
|
1426
1421
|
}
|
|
1427
1422
|
let compilable = definition.compilable;
|
|
1428
1423
|
if (compilable === null) {
|
|
1429
|
-
assert(managerHasCapability(manager, instance.capabilities, InternalComponentCapabilities.dynamicLayout));
|
|
1430
1424
|
let resolver = vm.context.resolver;
|
|
1431
1425
|
compilable = resolver === null ? null : manager.getDynamicLayout(state, resolver);
|
|
1432
1426
|
}
|
|
@@ -1497,7 +1491,6 @@ APPEND_OPCODES.add(VM_GET_COMPONENT_LAYOUT_OP, (vm, {
|
|
|
1497
1491
|
let {
|
|
1498
1492
|
capabilities
|
|
1499
1493
|
} = instance;
|
|
1500
|
-
assert(managerHasCapability(manager, capabilities, InternalComponentCapabilities.dynamicLayout));
|
|
1501
1494
|
let resolver = vm.context.resolver;
|
|
1502
1495
|
compilable = resolver === null ? null : manager.getDynamicLayout(instance.state, resolver);
|
|
1503
1496
|
if (compilable === null) {
|
package/dist/prod/packages/shared-chunks/{program-context-BdUXf-jj.js → program-context-DFiwaPMR.js}
RENAMED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { V as VM_MAIN_OP, a as VM_CONTENT_TYPE_OP, b as VM_ASSERT_SAME_OP, d as VM_APPEND_HTML_OP, e as VM_APPEND_TEXT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, h as VM_APPEND_SAFE_HTML_OP, i as VM_APPEND_DOCUMENT_FRAGMENT_OP, j as VM_APPEND_NODE_OP, k as VM_INVOKE_STATIC_OP } from './fragment-
|
|
1
|
+
import { V as VM_MAIN_OP, a as VM_CONTENT_TYPE_OP, b as VM_ASSERT_SAME_OP, d as VM_APPEND_HTML_OP, e as VM_APPEND_TEXT_OP, f as VM_RESOLVE_CURRIED_COMPONENT_OP, g as VM_PUSH_DYNAMIC_COMPONENT_INSTANCE_OP, h as VM_APPEND_SAFE_HTML_OP, i as VM_APPEND_DOCUMENT_FRAGMENT_OP, j as VM_APPEND_NODE_OP, k as VM_INVOKE_STATIC_OP } from './fragment-D7nBU9ae.js';
|
|
2
2
|
import { ContentType } from '../@glimmer/vm/index.js';
|
|
3
3
|
import { $ as $s0 } from './registers-ylirb0dq.js';
|
|
4
|
-
import { f as EncoderImpl, g as encodeOp, i as invokePreparedComponent, S as SwitchCases, h as InvokeBareComponent, C as CallDynamic } from './index-
|
|
4
|
+
import { f as EncoderImpl, g as encodeOp, i as invokePreparedComponent, S as SwitchCases, h as InvokeBareComponent, C as CallDynamic } from './index-CjaDF9kC.js';
|
|
5
5
|
|
|
6
6
|
class StdLib {
|
|
7
7
|
constructor(main, trustingGuardedAppend, cautiousGuardedAppend, trustingNonDynamicAppend, cautiousNonDynamicAppend) {
|
package/dist/prod/packages/shared-chunks/{property_set-O080KTKZ.js → property_set-B2sZxeCw.js}
RENAMED
|
@@ -2,8 +2,8 @@ import './super-Cm_a_cLQ.js';
|
|
|
2
2
|
import { l as lookupDescriptor } from './lookup-descriptor-CwcVgaLv.js';
|
|
3
3
|
import '../@ember/-internals/environment/index.js';
|
|
4
4
|
import { C as COMPUTED_SETTERS } from './decorator-BdDDBUd2.js';
|
|
5
|
-
import { i as isPath, _ as _getPath } from './observers-
|
|
6
|
-
import { n as notifyPropertyChange } from './namespace_search-
|
|
5
|
+
import { i as isPath, _ as _getPath } from './observers-tZ2aOzr4.js';
|
|
6
|
+
import { n as notifyPropertyChange } from './namespace_search-Dcdalhj6.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
9
9
|
@module @ember/object
|
|
@@ -1,9 +1,8 @@
|
|
|
1
|
-
import { C as ConcreteBounds, x as COMMENT_NODE, b as CursorImpl, y as TEXT_NODE, z as ELEMENT_NODE, N as NS_SVG } from './on-
|
|
2
|
-
import './fragment-
|
|
3
|
-
import { a as assert } from './assert-CUCJBR2C.js';
|
|
1
|
+
import { C as ConcreteBounds, x as COMMENT_NODE, b as CursorImpl, y as TEXT_NODE, z as ELEMENT_NODE, N as NS_SVG } from './on-CLxdmpmk.js';
|
|
2
|
+
import './fragment-D7nBU9ae.js';
|
|
4
3
|
import { e as expect } from './collections-GpG8lT2g.js';
|
|
5
4
|
import { c as castToSimple, a as castToBrowser } from './simple-cast-DCvJLSin.js';
|
|
6
|
-
import { N as NewTreeBuilder, R as RemoteBlock } from './element-builder-
|
|
5
|
+
import { N as NewTreeBuilder, R as RemoteBlock } from './element-builder-BmLF0C-1.js';
|
|
7
6
|
|
|
8
7
|
const SERIALIZATION_FIRST_NODE_STRING = '%+b:0%';
|
|
9
8
|
function isSerializationFirstNode(node) {
|
|
@@ -382,9 +381,6 @@ class RehydrateTree extends NewTreeBuilder {
|
|
|
382
381
|
}
|
|
383
382
|
__pushRemoteElement(element, cursorId, insertBefore) {
|
|
384
383
|
const marker = this.getMarker(castToBrowser(element), cursorId);
|
|
385
|
-
assert(!marker || marker.parentNode === element);
|
|
386
|
-
|
|
387
|
-
// when insertBefore is not present, we clear the element
|
|
388
384
|
if (insertBefore === undefined) {
|
|
389
385
|
while (element.firstChild !== null && element.firstChild !== marker) {
|
|
390
386
|
this.remove(element.firstChild);
|
|
@@ -1,17 +1,16 @@
|
|
|
1
1
|
import { u as unwrap, e as expect, S as StackImpl } from './collections-GpG8lT2g.js';
|
|
2
|
-
import { u as unwrapHandle } from './constants-
|
|
2
|
+
import { u as unwrapHandle } from './constants-2M371WiB.js';
|
|
3
3
|
import { track, updateTag as UPDATE_TAG, beginTrackFrame, endTrackFrame } from '../@glimmer/validator/index.js';
|
|
4
4
|
import { U as UNDEFINED_REFERENCE, v as valueForRef, u as updateRef, a as createConstRef, b as childRefFor } from './reference-BNqcwZWH.js';
|
|
5
|
-
import { a as assert } from './assert-CUCJBR2C.js';
|
|
6
5
|
import { P as ProgramImpl } from './program-B7SJZ5NF.js';
|
|
7
|
-
import { G as DebugRenderTreeImpl, H as isArgumentError, e as DOMChangesImpl, I as APPEND_OPCODES, J as move, i as clear, V as VMArgumentsImpl, K as externs, L as JumpIfNotModifiedOpcode, M as BeginTrackFrameOpcode, O as EndTrackFrameOpcode } from './on-
|
|
8
|
-
import { D as DOMTreeConstruction, N as NewTreeBuilder } from './element-builder-
|
|
6
|
+
import { G as DebugRenderTreeImpl, H as isArgumentError, e as DOMChangesImpl, I as APPEND_OPCODES, J as move, i as clear, V as VMArgumentsImpl, K as externs, L as JumpIfNotModifiedOpcode, M as BeginTrackFrameOpcode, O as EndTrackFrameOpcode } from './on-CLxdmpmk.js';
|
|
7
|
+
import { D as DOMTreeConstruction, N as NewTreeBuilder } from './element-builder-BmLF0C-1.js';
|
|
9
8
|
import { a as assign } from './object-utils-AijlD-JH.js';
|
|
10
9
|
import { destroyChildren, associateDestroyableChild, destroy, registerDestructor } from '../@glimmer/destroyable/index.js';
|
|
11
10
|
import { createIteratorItemRef } from '../@glimmer/reference/index.js';
|
|
12
11
|
import { r as reverse } from './array-utils-CZQxrdD3.js';
|
|
13
12
|
import { a as $pc, b as $ra, c as $fp, d as $sp, i as isLowLevelRegister } from './registers-ylirb0dq.js';
|
|
14
|
-
import { l as VM_RETURN_TO_OP, m as VM_RETURN_OP, n as VM_JUMP_OP, o as VM_INVOKE_VIRTUAL_OP, k as VM_INVOKE_STATIC_OP, p as VM_POP_FRAME_OP, q as VM_PUSH_FRAME_OP } from './fragment-
|
|
13
|
+
import { l as VM_RETURN_TO_OP, m as VM_RETURN_OP, n as VM_JUMP_OP, o as VM_INVOKE_VIRTUAL_OP, k as VM_INVOKE_STATIC_OP, p as VM_POP_FRAME_OP, q as VM_PUSH_FRAME_OP } from './fragment-D7nBU9ae.js';
|
|
15
14
|
|
|
16
15
|
class DynamicScopeImpl {
|
|
17
16
|
bucket;
|
|
@@ -213,7 +212,6 @@ class EnvironmentImpl {
|
|
|
213
212
|
return expect(this.updateOperations);
|
|
214
213
|
}
|
|
215
214
|
begin() {
|
|
216
|
-
assert(!this[TRANSACTION]);
|
|
217
215
|
this.debugRenderTree?.begin();
|
|
218
216
|
this[TRANSACTION] = new TransactionImpl();
|
|
219
217
|
}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import './fragment-
|
|
1
|
+
import './fragment-D7nBU9ae.js';
|
|
2
2
|
import '../@glimmer/validator/index.js';
|
|
3
3
|
import './reference-BNqcwZWH.js';
|
|
4
|
-
import { C as ConcreteBounds } from './on-
|
|
5
|
-
import './constants-
|
|
6
|
-
import './capabilities-
|
|
7
|
-
import { N as NewTreeBuilder } from './element-builder-
|
|
4
|
+
import { C as ConcreteBounds } from './on-CLxdmpmk.js';
|
|
5
|
+
import './constants-2M371WiB.js';
|
|
6
|
+
import './capabilities-DXA-L0iT.js';
|
|
7
|
+
import { N as NewTreeBuilder } from './element-builder-BmLF0C-1.js';
|
|
8
8
|
|
|
9
9
|
/* eslint-disable @typescript-eslint/no-unsafe-enum-comparison */
|
|
10
10
|
|
package/dist/prod/packages/shared-chunks/{set_properties-CjsDTRey.js → set_properties-C1T46IiN.js}
RENAMED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { g as get } from './observers-
|
|
2
|
-
import { o as changeProperties } from './namespace_search-
|
|
3
|
-
import { s as set } from './property_set-
|
|
1
|
+
import { g as get } from './observers-tZ2aOzr4.js';
|
|
2
|
+
import { o as changeProperties } from './namespace_search-Dcdalhj6.js';
|
|
3
|
+
import { s as set } from './property_set-B2sZxeCw.js';
|
|
4
4
|
|
|
5
5
|
/**
|
|
6
6
|
@module @ember/object
|
package/dist/prod/packages/shared-chunks/{setup-registry-KYxkFexK.js → setup-registry-DeObnZ2Z.js}
RENAMED
|
@@ -2,16 +2,16 @@ import { privatize } from '../@ember/-internals/container/index.js';
|
|
|
2
2
|
import { getOwner } from '../@ember/-internals/owner/index.js';
|
|
3
3
|
import './super-Cm_a_cLQ.js';
|
|
4
4
|
import '../@ember/-internals/environment/index.js';
|
|
5
|
-
import { O as OutletView, a as OutletTemplate, I as Input, L as LinkTo, T as Textarea, R as RootTemplate, b as Renderer } from './index-
|
|
6
|
-
import './fragment-
|
|
5
|
+
import { O as OutletView, a as OutletTemplate, I as Input, L as LinkTo, T as Textarea, R as RootTemplate, b as Renderer } from './index-6pnzcm45.js';
|
|
6
|
+
import './fragment-D7nBU9ae.js';
|
|
7
7
|
import '../@glimmer/validator/index.js';
|
|
8
8
|
import './reference-BNqcwZWH.js';
|
|
9
|
-
import './on-
|
|
10
|
-
import './constants-
|
|
11
|
-
import './capabilities-
|
|
12
|
-
import { c as clientBuilder } from './element-builder-
|
|
13
|
-
import { r as rehydrationBuilder } from './rehydrate-builder-
|
|
14
|
-
import { s as serializeBuilder } from './serialize-builder-
|
|
9
|
+
import './on-CLxdmpmk.js';
|
|
10
|
+
import './constants-2M371WiB.js';
|
|
11
|
+
import './capabilities-DXA-L0iT.js';
|
|
12
|
+
import { c as clientBuilder } from './element-builder-BmLF0C-1.js';
|
|
13
|
+
import { r as rehydrationBuilder } from './rehydrate-builder-CUefZL4I.js';
|
|
14
|
+
import { s as serializeBuilder } from './serialize-builder-DgpXSc2Q.js';
|
|
15
15
|
|
|
16
16
|
function setupApplicationRegistry(registry) {
|
|
17
17
|
// because we are using injections we can't use instantiate false
|
|
@@ -2,7 +2,7 @@ import { meta } from '../@ember/-internals/meta/lib/meta.js';
|
|
|
2
2
|
import { isEmberArray } from '../@ember/array/-internals.js';
|
|
3
3
|
import '../@ember/-internals/environment/index.js';
|
|
4
4
|
import { trackedData, dirtyTagFor, consumeTag, tagFor } from '../@glimmer/validator/index.js';
|
|
5
|
-
import { S as SELF_TAG, C as CHAIN_PASS_THROUGH } from './observers-
|
|
5
|
+
import { S as SELF_TAG, C as CHAIN_PASS_THROUGH } from './observers-tZ2aOzr4.js';
|
|
6
6
|
import { i as isElementDescriptor, s as setClassicDecorator, C as COMPUTED_SETTERS } from './decorator-BdDDBUd2.js';
|
|
7
7
|
|
|
8
8
|
/**
|
|
@@ -1,5 +1,4 @@
|
|
|
1
1
|
import '../@ember/-internals/environment/index.js';
|
|
2
|
-
import { a as assert } from './assert-CUCJBR2C.js';
|
|
3
2
|
import { a as isPresentArray, g as getFirst, b as getLast } from './collections-GpG8lT2g.js';
|
|
4
3
|
import { assertNever } from '../@glimmer/util/index.js';
|
|
5
4
|
import { SexpOpcodes as opcodes } from '../@glimmer/wire-format/index.js';
|
|
@@ -5446,7 +5445,6 @@ class Matcher {
|
|
|
5446
5445
|
}
|
|
5447
5446
|
matchFor(left, right) {
|
|
5448
5447
|
const nesteds = this._whens.match(left);
|
|
5449
|
-
assert(isPresentArray(nesteds));
|
|
5450
5448
|
const callback = new WhenList(nesteds).first(right);
|
|
5451
5449
|
return callback;
|
|
5452
5450
|
}
|
|
@@ -5641,7 +5639,6 @@ class SourceSpan {
|
|
|
5641
5639
|
*/
|
|
5642
5640
|
toSlice(expected) {
|
|
5643
5641
|
const chars = this.data.asString();
|
|
5644
|
-
assert(expected === undefined || expected === chars, `unexpectedly found ${JSON.stringify(chars)} when slicing source, ` + `but expected ${JSON.stringify(expected)}`);
|
|
5645
5642
|
return new SourceSlice({
|
|
5646
5643
|
loc: this,
|
|
5647
5644
|
chars: expected || chars
|