@cardstack/boxel-cli 0.9.0 → 0.10.0-unstable.0
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/README.md +12 -0
- package/bundled-test-harness/assets/account-switch-failed-GCSVbJML.js +23 -0
- package/bundled-test-harness/assets/account-switch-failed-GsWni_Gk.css +18 -0
- package/bundled-test-harness/assets/account-switch-failed-test-CdZWNths.js +45 -0
- package/bundled-test-harness/assets/add-workspace-c7L50Gx8.js +141 -0
- package/bundled-test-harness/assets/add-workspace-test-BZxHa6Pe.js +72 -0
- package/bundled-test-harness/assets/advanced-color-picker-0pGF-3WG.js +504 -0
- package/bundled-test-harness/assets/advanced-color-picker-pbO4HWc_.js +2 -0
- package/bundled-test-harness/assets/ai-assistant-test-Dnm4o9vK.js +2211 -0
- package/bundled-test-harness/assets/ai-module-creation-test-C6253CMt.js +151 -0
- package/bundled-test-harness/assets/aibot-message-miKyGeKk.js +278 -0
- package/bundled-test-harness/assets/app-i8pGdQkw.js +22855 -0
- package/bundled-test-harness/assets/app-zC7o6PyQ.css +2718 -0
- package/bundled-test-harness/assets/audio-file-def-DHnydP0t.js +133 -0
- package/bundled-test-harness/assets/auth-container-BP2gSoo4.css +51 -0
- package/bundled-test-harness/assets/auth-container-DN94iVfX.js +24 -0
- package/bundled-test-harness/assets/avif-meta-extractor-Bo5zRX1V.js +162 -0
- package/bundled-test-harness/assets/base64-image-B0RYxzHT.js +2 -0
- package/bundled-test-harness/assets/base64-image-Bxjqdwew.js +262 -0
- package/bundled-test-harness/assets/big-integer-7RLj5_7H.js +89 -0
- package/bundled-test-harness/assets/big-integer-C9sJxKVy.js +2 -0
- package/bundled-test-harness/assets/binary-upload-dedupe-test-DZo3EaV0.js +308 -0
- package/bundled-test-harness/assets/boolean-CcKPYUph.js +94 -0
- package/bundled-test-harness/assets/boolean-DvsSmtM7.js +2 -0
- package/bundled-test-harness/assets/brand-functional-palette-KpVSY2Sa.js +137 -0
- package/bundled-test-harness/assets/brand-logo-DDiOec0t.js +295 -0
- package/bundled-test-harness/assets/broken-link-template-test-DAngUbFJ.js +192 -0
- package/bundled-test-harness/assets/bundled-base-C_lumba6.js +254 -0
- package/bundled-test-harness/assets/bundled-base-modules-test-CSF7Rl4Z.js +54 -0
- package/bundled-test-harness/assets/buried-stack-item-scroll-test-B0J_EP88.js +236 -0
- package/bundled-test-harness/assets/bxl-expression-test-Dej7WgI6.js +250 -0
- package/bundled-test-harness/assets/can-invoke-test-elyUcOKT.js +401 -0
- package/bundled-test-harness/assets/card-api-CjWXCkqh.js +8 -0
- package/bundled-test-harness/assets/card-api-Dzje0smT.js +4393 -0
- package/bundled-test-harness/assets/card-api-test-DA8d4Ooc.js +198 -0
- package/bundled-test-harness/assets/card-basics-test-mp1Odo-l.js +5364 -0
- package/bundled-test-harness/assets/card-chooser-paging-test-y8OfboYd.js +235 -0
- package/bundled-test-harness/assets/card-chooser-test-nmg2zkDj.js +393 -0
- package/bundled-test-harness/assets/card-collection-BXiO3i7R.js +118 -0
- package/bundled-test-harness/assets/card-context-search-results-Dbhn7lvW.js +30 -0
- package/bundled-test-harness/assets/card-context-search-results-test-DVXT-YC5.js +184 -0
- package/bundled-test-harness/assets/card-def-field-def-relationships-test-mX4rxrtO.js +562 -0
- package/bundled-test-harness/assets/card-delete-test-BxFsqFnX.js +466 -0
- package/bundled-test-harness/assets/card-error-C-7hjxu9.js +72 -0
- package/bundled-test-harness/assets/card-error-awaiting-index-test-BvfY2eaW.js +53 -0
- package/bundled-test-harness/assets/card-error-detail-nMwopDir.js +271 -0
- package/bundled-test-harness/assets/card-info-CTFxdohf.js +2 -0
- package/bundled-test-harness/assets/card-list-B9QrkJ97.js +2 -0
- package/bundled-test-harness/assets/card-list-XbwLCXZS.js +202 -0
- package/bundled-test-harness/assets/card-resource-JGLjQUy6.js +86 -0
- package/bundled-test-harness/assets/cards-grid-CWG41hZE.js +344 -0
- package/bundled-test-harness/assets/cards-grid-DSpX99p6.js +2 -0
- package/bundled-test-harness/assets/cards-grid-layout-Bht0LwZy.js +2 -0
- package/bundled-test-harness/assets/cards-grid-layout-CdpKlHUb.js +111 -0
- package/bundled-test-harness/assets/check-correctness-test-C4BrUeKA.js +554 -0
- package/bundled-test-harness/assets/clip-BEVvLrXx.js +2 -0
- package/bundled-test-harness/assets/clip-CoB714qX.js +92 -0
- package/bundled-test-harness/assets/code-ref-C2uguisI.js +2 -0
- package/bundled-test-harness/assets/code-ref-Cy7sV5a4.js +138 -0
- package/bundled-test-harness/assets/code-submode-availability-test-BsA_Ul01.js +198 -0
- package/bundled-test-harness/assets/code-submode-test-DkBhpEPB.js +1839 -0
- package/bundled-test-harness/assets/codeblocks-test-B1eZ2_JF.js +418 -0
- package/bundled-test-harness/assets/codemirror-editor-C6pxSm5y.js +2 -0
- package/bundled-test-harness/assets/codemirror-editor-DzM46Cd8.js +701 -0
- package/bundled-test-harness/assets/codemirror-embed-toolbar-test-BemP-ZdG.js +366 -0
- package/bundled-test-harness/assets/color-C-jGNFWZ.js +2 -0
- package/bundled-test-harness/assets/color-field-test-DPIRaBec.js +212 -0
- package/bundled-test-harness/assets/color-picker-field-Bv4IjS-d.js +139 -0
- package/bundled-test-harness/assets/color-picker-field-D1bYCQIg.js +2 -0
- package/bundled-test-harness/assets/color-wheel-picker-IIaCQplL.js +283 -0
- package/bundled-test-harness/assets/color-wheel-picker-Kw-UN3kV.js +2 -0
- package/bundled-test-harness/assets/color-zzCBneih.js +65 -0
- package/bundled-test-harness/assets/command-data-BMBtjT1E.js +95 -0
- package/bundled-test-harness/assets/command-data-BXC5Z0oA.js +2 -0
- package/bundled-test-harness/assets/compaction-test-CxUKnxlQ.js +150 -0
- package/bundled-test-harness/assets/components-Ct_agx0G.js +14294 -0
- package/bundled-test-harness/assets/computed-test-C-lpGQQ3.js +1320 -0
- package/bundled-test-harness/assets/container-BdPu8rvc.css +5565 -0
- package/bundled-test-harness/assets/container-Dj-5prh9.js +11288 -0
- package/bundled-test-harness/assets/contains-many-component-CAWqzX8W.js +2 -0
- package/bundled-test-harness/assets/contrast-checker-addon-BTLD7oMx.js +2 -0
- package/bundled-test-harness/assets/contrast-checker-addon-DBzizR04.js +71 -0
- package/bundled-test-harness/assets/convert-to-class-name-test-zZuKxYvF.js +17 -0
- package/bundled-test-harness/assets/coordinate-Bw8va6tO.js +48 -0
- package/bundled-test-harness/assets/copy-file-to-realm-test-DtCKPzqj.js +148 -0
- package/bundled-test-harness/assets/country-B_tWpLlO.js +199 -0
- package/bundled-test-harness/assets/create-file-modal-D-VPyEYp.js +570 -0
- package/bundled-test-harness/assets/create-listing-modal-test-hyLkQY0u.js +273 -0
- package/bundled-test-harness/assets/create-listing-pr-request-test-rjWFA_5S.js +117 -0
- package/bundled-test-harness/assets/create-spec-test-HKIxZGxK.js +256 -0
- package/bundled-test-harness/assets/create-specs-9-ELVyJP.js +215 -0
- package/bundled-test-harness/assets/create-submission-workflow-test-DNZrbRX8.js +132 -0
- package/bundled-test-harness/assets/credential-fields-test-xPEdA911.js +157 -0
- package/bundled-test-harness/assets/css-value-Du3HL39X.js +48 -0
- package/bundled-test-harness/assets/csv-file-def-EHRmilrp.js +277 -0
- package/bundled-test-harness/assets/currency-y6ZCHIqG.js +134 -0
- package/bundled-test-harness/assets/date-B27PrSFT.js +183 -0
- package/bundled-test-harness/assets/date-CiP5Eb9i.js +2 -0
- package/bundled-test-harness/assets/date-time-fields-test-Clf5vxRW.js +359 -0
- package/bundled-test-harness/assets/datetime-BEbR9YgU.js +201 -0
- package/bundled-test-harness/assets/datetime-DPnrt1wl.js +2 -0
- package/bundled-test-harness/assets/datetime-stamp-AuT7F7qn.js +2 -0
- package/bundled-test-harness/assets/datetime-stamp-CGwP2P3f.js +81 -0
- package/bundled-test-harness/assets/day-BFLxZ9bQ.js +2 -0
- package/bundled-test-harness/assets/day-CQoEkqgE.js +113 -0
- package/bundled-test-harness/assets/debug-message-test-CzgOpfcI.js +117 -0
- package/bundled-test-harness/assets/dist-B-fYvxfL.js +389 -0
- package/bundled-test-harness/assets/dist-C2IXvIKX.js +323 -0
- package/bundled-test-harness/assets/dist-CdNZu43l.js +1710 -0
- package/bundled-test-harness/assets/docx-file-def-BQMw460_.js +60 -0
- package/bundled-test-harness/assets/docx-meta-extractor-DBlmH_kV.js +60 -0
- package/bundled-test-harness/assets/docx-meta-extractor-Dw4gZ0ae.js +2 -0
- package/bundled-test-harness/assets/duration-B0SnEiw1.js +184 -0
- package/bundled-test-harness/assets/duration-DbjJTFeA.js +2 -0
- package/bundled-test-harness/assets/email-C-8cyWiQ.js +80 -0
- package/bundled-test-harness/assets/email-field-test-BOBmvQqx.js +75 -0
- package/bundled-test-harness/assets/email-xUgCst-p.js +2 -0
- package/bundled-test-harness/assets/enum-BWiCyJlu.js +167 -0
- package/bundled-test-harness/assets/enum-CzYjivhO.js +2 -0
- package/bundled-test-harness/assets/enum-field-test-Bea9EsQR.js +953 -0
- package/bundled-test-harness/assets/error-display-test-Cbl2D_0c.js +343 -0
- package/bundled-test-harness/assets/ethereum-address-Bw_J05bD.js +78 -0
- package/bundled-test-harness/assets/ethereum-address-C9wHMBt3.js +2 -0
- package/bundled-test-harness/assets/expiration-warning-BHcJEjZt.js +90 -0
- package/bundled-test-harness/assets/expiration-warning-_G8SKZd0.js +2 -0
- package/bundled-test-harness/assets/externals-CKblKBo1.js +4393 -0
- package/bundled-test-harness/assets/fallback-banner-BqCrvTDt.js +24 -0
- package/bundled-test-harness/assets/fallback-banner-live-delete-test-D_AYMvf6.js +207 -0
- package/bundled-test-harness/assets/fallback-banner-test-B8Ne9a5g.js +225 -0
- package/bundled-test-harness/assets/fallback-banner-test-C7oaSxd1.js +53 -0
- package/bundled-test-harness/assets/fallback-models-test-DY-PvU9k.js +161 -0
- package/bundled-test-harness/assets/field-component-Bj8YthPE.js +2 -0
- package/bundled-test-harness/assets/field-configuration-test-B5LztQ47.js +548 -0
- package/bundled-test-harness/assets/field-edit-Cx_haspD.js +36 -0
- package/bundled-test-harness/assets/field-edit-DQZWUz3F.js +2 -0
- package/bundled-test-harness/assets/field-markdown-domain-test-DnqK3CrE.js +616 -0
- package/bundled-test-harness/assets/field-markdown-oversize-test-BEpbXIvl.js +88 -0
- package/bundled-test-harness/assets/field-markdown-primitives-test-BDORWoOk.js +365 -0
- package/bundled-test-harness/assets/field-markdown-specialized-test-BmIzadYq.js +534 -0
- package/bundled-test-harness/assets/field-test-helpers-CRF9-jFw.js +45 -0
- package/bundled-test-harness/assets/file-api-DPMJghBY.js +7 -0
- package/bundled-test-harness/assets/file-attachment-test-DFLXg3xV.js +796 -0
- package/bundled-test-harness/assets/file-chooser-panel-test-B4DzCWkt.js +153 -0
- package/bundled-test-harness/assets/file-chooser-test-DpjOWgpB.js +504 -0
- package/bundled-test-harness/assets/file-def-edit-Bstl7Kkl.js +2 -0
- package/bundled-test-harness/assets/file-def-edit-C1dzJxmQ.js +26 -0
- package/bundled-test-harness/assets/file-def-embedded-CUy4G7Vc.js +2 -0
- package/bundled-test-harness/assets/file-def-embedded-DJs6P5t0.js +38 -0
- package/bundled-test-harness/assets/file-def-fitted-BlrBFfLh.js +38 -0
- package/bundled-test-harness/assets/file-def-fitted-Bo5Qfkyf.js +2 -0
- package/bundled-test-harness/assets/file-def-isolated-BsHydanv.js +38 -0
- package/bundled-test-harness/assets/file-def-isolated-Dp-Lc99-.js +2 -0
- package/bundled-test-harness/assets/file-def-serialization-test-CISKpt_o.js +89 -0
- package/bundled-test-harness/assets/file-menu-items-7_ltrFZq.js +117 -0
- package/bundled-test-harness/assets/file-menu-items-BnRG9ydE.js +2 -0
- package/bundled-test-harness/assets/file-preview-stage-CV3qZpiK.js +72 -0
- package/bundled-test-harness/assets/file-preview-stage-DTA5X8rX.js +2 -0
- package/bundled-test-harness/assets/file-shell-embedded-BpmiVzIG.js +2 -0
- package/bundled-test-harness/assets/file-shell-embedded-CEv0-6OE.js +68 -0
- package/bundled-test-harness/assets/file-shell-fitted-C6k3GnMc.js +2 -0
- package/bundled-test-harness/assets/file-shell-fitted-iSTg3PJa.js +98 -0
- package/bundled-test-harness/assets/file-shell-isolated-C-pEod2J.js +195 -0
- package/bundled-test-harness/assets/file-shell-isolated-DI9oU7ix.js +2 -0
- package/bundled-test-harness/assets/file-tree-from-index-BtOOMqnb.js +151 -0
- package/bundled-test-harness/assets/file-tree-from-index-test-T8w3hPw_.js +96 -0
- package/bundled-test-harness/assets/film-5n9_gRqZ.js +4074 -0
- package/bundled-test-harness/assets/film-Ca2Vzlfu.js +13 -0
- package/bundled-test-harness/assets/film-DEvhBbBu.js +2 -0
- package/bundled-test-harness/assets/fitted-6OGuHgoU.js +2 -0
- package/bundled-test-harness/assets/fitted-B2l1jlSp.js +34 -0
- package/bundled-test-harness/assets/flac-meta-extractor-BoJqvmDC.js +99 -0
- package/bundled-test-harness/assets/font-file-def-Czzt5paT.js +64 -0
- package/bundled-test-harness/assets/font-meta-extractor-DQYT_e5b.js +2 -0
- package/bundled-test-harness/assets/font-meta-extractor-IHD-pG8V.js +303 -0
- package/bundled-test-harness/assets/formatted-aibot-message-test-Djsl8RzE.js +109 -0
- package/bundled-test-harness/assets/from-elsewhere-BXcLYxxu.js +131 -0
- package/bundled-test-harness/assets/frontmatter-field-CciolgL3.js +41 -0
- package/bundled-test-harness/assets/garbage-collection-test-BTOLAfB6.js +403 -0
- package/bundled-test-harness/assets/gauge-C1loqGq3.js +2 -0
- package/bundled-test-harness/assets/gauge-u8dxl90d.js +106 -0
- package/bundled-test-harness/assets/general-test-Cd5WtVvd.js +926 -0
- package/bundled-test-harness/assets/get-relationship-membership-state-test-DJAuhOVM.js +1308 -0
- package/bundled-test-harness/assets/gif-meta-extractor-tSaPtuYW.js +114 -0
- package/bundled-test-harness/assets/glimmer-motion-and-choreo-in-cards-test-DNSy5l59.js +160 -0
- package/bundled-test-harness/assets/glimmer-motion-and-choreo-test-B6BbQxYq.js +74 -0
- package/bundled-test-harness/assets/helper-m6jA5HmU.js +478 -0
- package/bundled-test-harness/assets/host-submode-test-CsgdksBi.js +1243 -0
- package/bundled-test-harness/assets/html-file-def-yKtdMSa-.js +82 -0
- package/bundled-test-harness/assets/hydratable-card-CxNfbqly.js +147 -0
- package/bundled-test-harness/assets/hydratable-card-test-NJ4CI4ey.js +426 -0
- package/bundled-test-harness/assets/icons-B3SAtRoj.js +894 -0
- package/bundled-test-harness/assets/image-file-def-B0rpS3Yy.js +3 -0
- package/bundled-test-harness/assets/image-file-def-DUFmjNL8.js +65 -0
- package/bundled-test-harness/assets/image-olOUqgMQ.js +47 -0
- package/bundled-test-harness/assets/index-changes-test-D7OE-99k.js +367 -0
- package/bundled-test-harness/assets/index-query-engine-test-BBKqgSmg.js +2593 -0
- package/bundled-test-harness/assets/inspector-test-DV6Ms2uz.js +1930 -0
- package/bundled-test-harness/assets/instance-filter-matcher-test-Bs4kf7E8.js +788 -0
- package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-DIfgRhIN.js +475 -0
- package/bundled-test-harness/assets/interact-submode-setup-D4M_e580.js +566 -0
- package/bundled-test-harness/assets/is-component-declaration-test-jPGRTVh1.js +50 -0
- package/bundled-test-harness/assets/iso-bmff-DHtkSbQM.js +205 -0
- package/bundled-test-harness/assets/iso-bmff-zmOHoSVg.js +2 -0
- package/bundled-test-harness/assets/isolated-and-edit-BAnwcK1T.js +2 -0
- package/bundled-test-harness/assets/job-priority-header-test-7j2f3Dtl.js +81 -0
- package/bundled-test-harness/assets/job-scoped-instance-residency-test-DPzVQUL3.js +103 -0
- package/bundled-test-harness/assets/join-the-community-Ft5fjeIA.js +86 -0
- package/bundled-test-harness/assets/jpg-meta-extractor-Dsq6rZ8F.js +88 -0
- package/bundled-test-harness/assets/json-field-CxOZvp3k.js +19 -0
- package/bundled-test-harness/assets/json-field-ojdwGD6T.js +2 -0
- package/bundled-test-harness/assets/json-file-def-Da_5-zSM.js +298 -0
- package/bundled-test-harness/assets/last-modified-date-BnyJsc04.js +43 -0
- package/bundled-test-harness/assets/last-modified-date-test-DFl2mo1B.js +28 -0
- package/bundled-test-harness/assets/links-to-editor-DO24-71w.js +2 -0
- package/bundled-test-harness/assets/links-to-many-component-C7DabwAY.js +2 -0
- package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-D4lDhvnQ.js +398 -0
- package/bundled-test-harness/assets/linksto-error-sentinel-test-oWgDz00K.js +238 -0
- package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-CpSl7zJ7.js +354 -0
- package/bundled-test-harness/assets/linksto-many-per-slot-access-test-DJY3J8Xl.js +303 -0
- package/bundled-test-harness/assets/linksto-sentinel-reload-test-BxzfoONe.js +197 -0
- package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-DyE99km_.js +260 -0
- package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-dcWAAgxt.js +196 -0
- package/bundled-test-harness/assets/llm-model-DrswiczZ.js +64 -0
- package/bundled-test-harness/assets/login-C-EIG0-Q.css +543 -0
- package/bundled-test-harness/assets/login-CNeL-9IC.js +408 -0
- package/bundled-test-harness/assets/login-error-text-test-CEH2tjNP.js +51 -0
- package/bundled-test-harness/assets/login-test-BpMx7qwV.js +246 -0
- package/bundled-test-harness/assets/m4a-meta-extractor-BJkMHUIK.js +204 -0
- package/bundled-test-harness/assets/main-BaUgfpPE.js +5 -0
- package/bundled-test-harness/assets/markdown-ByEGbwov.js +7 -0
- package/bundled-test-harness/assets/markdown-KJzgTg-A.js +2 -0
- package/bundled-test-harness/assets/markdown-editor-mode-select-BUGPXaSE.js +2 -0
- package/bundled-test-harness/assets/markdown-editor-mode-select-DBk8dG0O.js +54 -0
- package/bundled-test-harness/assets/markdown-embed-chooser-modal-test-BIlEmna9.js +470 -0
- package/bundled-test-harness/assets/markdown-embed-preview-pane-test-B6rscKpk.js +447 -0
- package/bundled-test-harness/assets/markdown-embed-preview-test-CTQw1wq-.js +368 -0
- package/bundled-test-harness/assets/markdown-fallback-BVsco6gJ.js +2 -0
- package/bundled-test-harness/assets/markdown-fallback-test-C_CIFEzH.js +316 -0
- package/bundled-test-harness/assets/markdown-highlighting-test-D6YvywF5.js +244 -0
- package/bundled-test-harness/assets/markdown-preview-1TSMSUv0.js +64 -0
- package/bundled-test-harness/assets/markdown-preview-jbuUjLoD.js +72 -0
- package/bundled-test-harness/assets/markdown-preview-test-zuU5uoA_.js +238 -0
- package/bundled-test-harness/assets/markdown-skill-frontmatter-test-CoicGRkb.js +146 -0
- package/bundled-test-harness/assets/menu-items-DZ_uOoYu.js +2 -0
- package/bundled-test-harness/assets/message-tool-test-K6LgTq5d.js +33 -0
- package/bundled-test-harness/assets/metadata-fields-WiOuUCDl.js +1415 -0
- package/bundled-test-harness/assets/metadata-fields-iu5AfQp3.js +2 -0
- package/bundled-test-harness/assets/midi-audio-def-CD2-4Wjx.js +52 -0
- package/bundled-test-harness/assets/midi-meta-extractor-CE3sLiEV.js +284 -0
- package/bundled-test-harness/assets/midi-meta-extractor-O7c8LHYV.js +2 -0
- package/bundled-test-harness/assets/migrate-skill-test-Beh-AeSN.js +161 -0
- package/bundled-test-harness/assets/mini-BNXINKKF.js +85 -0
- package/bundled-test-harness/assets/mini-C43Q4BWp.js +1519 -0
- package/bundled-test-harness/assets/mini-card-chooser-test-B1GMp-31.js +272 -0
- package/bundled-test-harness/assets/mini-file-chooser-test-CbI1vrQn.js +201 -0
- package/bundled-test-harness/assets/missing-template-BPhJRbDs.js +48 -0
- package/bundled-test-harness/assets/missing-template-DP-Pi-HQ.js +2 -0
- package/bundled-test-harness/assets/modal-KpPz2f8x.js +322 -0
- package/bundled-test-harness/assets/modal-container-0Efz_h2z.js +40 -0
- package/bundled-test-harness/assets/model-cost-tier-test-D-5VSjh6.js +173 -0
- package/bundled-test-harness/assets/module-contents-service-BRkTETb6.js +256 -0
- package/bundled-test-harness/assets/moment-Cln59YUK.js +3474 -0
- package/bundled-test-harness/assets/monaco-AbHCoDJY.js +143 -0
- package/bundled-test-harness/assets/monaco-test-DCPi18sy.js +100 -0
- package/bundled-test-harness/assets/monaco-test-waiter-lvFEYpFj.js +190 -0
- package/bundled-test-harness/assets/month-1eUIsvWN.js +2 -0
- package/bundled-test-harness/assets/month-BeUdWMWQ.js +123 -0
- package/bundled-test-harness/assets/month-day-Bbsd8YbR.js +192 -0
- package/bundled-test-harness/assets/month-day-Dks5STJu.js +2 -0
- package/bundled-test-harness/assets/month-year-pL_rpUhX.js +2 -0
- package/bundled-test-harness/assets/month-year-wH_YnYgL.js +93 -0
- package/bundled-test-harness/assets/mp3-meta-extractor-C3u34UHM.js +476 -0
- package/bundled-test-harness/assets/mp4-meta-extractor-Bj3F7dxs.js +188 -0
- package/bundled-test-harness/assets/multiple-stacks-test-mkNdTUMI.js +208 -0
- package/bundled-test-harness/assets/nested-query-field-render-test-BQLn3wg9.js +249 -0
- package/bundled-test-harness/assets/no-stacks-test-DpwZQAJ-.js +48 -0
- package/bundled-test-harness/assets/number-DZa-fHpu.js +151 -0
- package/bundled-test-harness/assets/number-Dvua76YP.js +3 -0
- package/bundled-test-harness/assets/number-field-test-BiaH2eaB.js +184 -0
- package/bundled-test-harness/assets/number-input-D5nDYDkK.js +82 -0
- package/bundled-test-harness/assets/office-extract-JzYva33g.js +27 -0
- package/bundled-test-harness/assets/office-extract-XMpsyYRh.js +2 -0
- package/bundled-test-harness/assets/ogg-meta-extractor-DJosZ9LA.js +225 -0
- package/bundled-test-harness/assets/on-key-BBVkS8Bi.js +472 -0
- package/bundled-test-harness/assets/ooxml-BlAE2w4d.js +172 -0
- package/bundled-test-harness/assets/ooxml-D-p8OmuM.js +2 -0
- package/bundled-test-harness/assets/open-image-in-new-tab-test-DWBU5pw9.js +52 -0
- package/bundled-test-harness/assets/operation-lowering-test-nzqprueU.js +2812 -0
- package/bundled-test-harness/assets/operations-CPvfTuY3.js +766 -0
- package/bundled-test-harness/assets/operations-invocation-test-C75T6zn3.js +523 -0
- package/bundled-test-harness/assets/operations-query-test-BoCszQEW.js +459 -0
- package/bundled-test-harness/assets/operations-test-79ipSnpM.js +2518 -0
- package/bundled-test-harness/assets/operations-x3Aw2Nky.js +3 -0
- package/bundled-test-harness/assets/operator-mode-acceptance-test-jjsYtt96.js +1188 -0
- package/bundled-test-harness/assets/operator-mode-card-chooser-test-hZP9gEQK.js +1036 -0
- package/bundled-test-harness/assets/operator-mode-links-test-DN16SuIx.js +793 -0
- package/bundled-test-harness/assets/operator-mode-state-service-gwiTSiWX.js +1275 -0
- package/bundled-test-harness/assets/operator-mode-state-service-test-Dt2qnKKP.js +206 -0
- package/bundled-test-harness/assets/operator-mode-test-BZnnxO9q.js +683 -0
- package/bundled-test-harness/assets/operator-mode-ui-test-O--qEo-y.js +1027 -0
- package/bundled-test-harness/assets/overlay-menu-items-test-Bl2k0aAa.js +317 -0
- package/bundled-test-harness/assets/overlays-CdN_JokA.js +270 -0
- package/bundled-test-harness/assets/overlays-clip-test-DpbR1ZTz.js +91 -0
- package/bundled-test-harness/assets/overlays-detached-element-test-cLgEGvMs.js +56 -0
- package/bundled-test-harness/assets/pane-PYdezM7g.js +330 -0
- package/bundled-test-harness/assets/panel-7FDqkxrr.js +474 -0
- package/bundled-test-harness/assets/panel-C3E0s49q.js +3540 -0
- package/bundled-test-harness/assets/past-sessions-test-BsjEeoze.js +321 -0
- package/bundled-test-harness/assets/patch-fields-test-CsixJmSr.js +1014 -0
- package/bundled-test-harness/assets/patch-instance-test-CBDgTi0L.js +348 -0
- package/bundled-test-harness/assets/pdf-file-def-9VNjnqDa.js +76 -0
- package/bundled-test-harness/assets/pdf-meta-extractor-BF4e5kMR.js +156 -0
- package/bundled-test-harness/assets/pdf-meta-extractor-D8Bxh2cc.js +2 -0
- package/bundled-test-harness/assets/pdf-viewer-Bu413sN8.js +112 -0
- package/bundled-test-harness/assets/pdf-viewer-GKDi_xmf.js +2 -0
- package/bundled-test-harness/assets/percentage-TOr6qK2T.js +84 -0
- package/bundled-test-harness/assets/permission-checking-realm-test-BRNVYszm.js +306 -0
- package/bundled-test-harness/assets/phone-number-D5SR8nWu.js +236 -0
- package/bundled-test-harness/assets/phone-number-field-test-DffwtqGd.js +73 -0
- package/bundled-test-harness/assets/phone-number-hf_xIVGQ.js +2 -0
- package/bundled-test-harness/assets/plate-Vojc88hM.js +41 -0
- package/bundled-test-harness/assets/plate-dTUzEMj5.js +2 -0
- package/bundled-test-harness/assets/player-CmRw0uM5.js +82 -0
- package/bundled-test-harness/assets/player-Dt85lPZl.js +2 -0
- package/bundled-test-harness/assets/plural-field-components-test-DNpGuH1D.js +198 -0
- package/bundled-test-harness/assets/png-image-def-GY7gjqya.js +48 -0
- package/bundled-test-harness/assets/png-meta-extractor-4pI611re.js +2 -0
- package/bundled-test-harness/assets/png-meta-extractor-CHp_rpAi.js +111 -0
- package/bundled-test-harness/assets/policy-scoped-search-test-CipPu7tY.js +339 -0
- package/bundled-test-harness/assets/pptx-file-def-lBBiebvn.js +60 -0
- package/bundled-test-harness/assets/pptx-meta-extractor-BjJYWiOJ.js +77 -0
- package/bundled-test-harness/assets/pptx-meta-extractor-DbT-dPRg.js +2 -0
- package/bundled-test-harness/assets/prerender-persistence-block-test-ClHMVvJt.js +124 -0
- package/bundled-test-harness/assets/prerender-serialize-cycle-test-LdqaMTK8.js +134 -0
- package/bundled-test-harness/assets/preview-CYlam_aW.js +74 -0
- package/bundled-test-harness/assets/preview-format-CiSo4kEa.js +41 -0
- package/bundled-test-harness/assets/preview-format-test-MsB1TOLB.js +103 -0
- package/bundled-test-harness/assets/process-card-B3xBGkv1.js +2 -0
- package/bundled-test-harness/assets/process-card-DumVcx9E.js +114 -0
- package/bundled-test-harness/assets/process-card-test-C44H8yVy.js +94 -0
- package/bundled-test-harness/assets/profile-settings-modal-ipYzrVTz.js +708 -0
- package/bundled-test-harness/assets/progress-circle-DJ6WSO2E.js +95 -0
- package/bundled-test-harness/assets/progress-circle-q358_9Sn.js +2 -0
- package/bundled-test-harness/assets/quarter-BjO5DlU2.js +2 -0
- package/bundled-test-harness/assets/quarter-_D72FwfS.js +168 -0
- package/bundled-test-harness/assets/query-field-membership-status-test-CzDyfK49.js +323 -0
- package/bundled-test-harness/assets/query-field-page-optin-test-B-x3vsmC.js +126 -0
- package/bundled-test-harness/assets/query-field-schema-test-DFw6KuYv.js +231 -0
- package/bundled-test-harness/assets/query-field-stale-prerender-test-DSQ-cv_O.js +152 -0
- package/bundled-test-harness/assets/query-fields-test-DQiMFRCe.js +535 -0
- package/bundled-test-harness/assets/rail-CNspDFyn.js +44 -0
- package/bundled-test-harness/assets/rail-D2YcQ0VP.js +2 -0
- package/bundled-test-harness/assets/realm-82Z5RUM_.js +95 -0
- package/bundled-test-harness/assets/realm-config-SgrwqjRu.js +844 -0
- package/bundled-test-harness/assets/realm-config-policy-standing-test-C6sQNk2u.js +290 -0
- package/bundled-test-harness/assets/realm-config-routing-rule-edit-test-DcYXBlvi.js +274 -0
- package/bundled-test-harness/assets/realm-config-settings-test-DblJv06X.js +187 -0
- package/bundled-test-harness/assets/realm-dropdown-CDvL8k3B.js +560 -0
- package/bundled-test-harness/assets/realm-et890flh.js +2 -0
- package/bundled-test-harness/assets/realm-field-test-pBK_x-Xw.js +100 -0
- package/bundled-test-harness/assets/realm-indexing-test-DSFn2F8F.js +4380 -0
- package/bundled-test-harness/assets/realm-policy-test-DYnLqzTS.js +1141 -0
- package/bundled-test-harness/assets/realm-test-DOZT2EG5.js +2363 -0
- package/bundled-test-harness/assets/realm-url-tooltip-qaXTjRb-.js +56 -0
- package/bundled-test-harness/assets/realm-url-tooltip-test-DGTEeLH9.js +78 -0
- package/bundled-test-harness/assets/reasoning-test-BRkhvYjr.js +234 -0
- package/bundled-test-harness/assets/recent-colors-addon-BreXcpg8.js +2 -0
- package/bundled-test-harness/assets/recent-colors-addon-CmCkbJ2_.js +61 -0
- package/bundled-test-harness/assets/relationship-loading-state-test-B6UGYKzG.js +290 -0
- package/bundled-test-harness/assets/relative-time-BjHvL023.js +2 -0
- package/bundled-test-harness/assets/relative-time-ChYKOMIM.js +129 -0
- package/bundled-test-harness/assets/remix-card-test-CpV0kKfq.js +58 -0
- package/bundled-test-harness/assets/rendered-markdown-CJa7IzCC.js +263 -0
- package/bundled-test-harness/assets/rendered-markdown-test-CVKsHS4P.js +587 -0
- package/bundled-test-harness/assets/resident-instance-reuse-test-jQfW1NMn.js +82 -0
- package/bundled-test-harness/assets/response-field-B2-daCl2.js +38 -0
- package/bundled-test-harness/assets/result-tile-BSg4mzbc.js +140 -0
- package/bundled-test-harness/assets/rich-markdown-BtP1yamM.js +2 -0
- package/bundled-test-harness/assets/rich-markdown-C6rQUngb.js +218 -0
- package/bundled-test-harness/assets/rich-markdown-field-test-9yB6ykCe.js +1647 -0
- package/bundled-test-harness/assets/room-C7tKd02X.js +1008 -0
- package/bundled-test-harness/assets/room-message-test-DsMmRYpV.js +445 -0
- package/bundled-test-harness/assets/room-test-golI1H61.js +95 -0
- package/bundled-test-harness/assets/run-realm-code-CbXk6bnK.js +1600 -0
- package/bundled-test-harness/assets/run-realm-code-test-B9JeesaW.js +2468 -0
- package/bundled-test-harness/assets/schema-generation-test-uLLGm5Vh.js +28 -0
- package/bundled-test-harness/assets/score-BQhCQdUP.js +2 -0
- package/bundled-test-harness/assets/score-CoWEzENH.js +100 -0
- package/bundled-test-harness/assets/scrolling-test-WHWEkKeZ.js +384 -0
- package/bundled-test-harness/assets/search-BkQYpQDY.js +605 -0
- package/bundled-test-harness/assets/search-adorn-test-CW92JPOk.js +136 -0
- package/bundled-test-harness/assets/search-entries-BU4w6Ymc.js +472 -0
- package/bundled-test-harness/assets/search-entries-result-test-9eydsDtD.js +234 -0
- package/bundled-test-harness/assets/search-entries-test-ByUREx0G.js +1486 -0
- package/bundled-test-harness/assets/search-result-header-UFkdo0Bx.js +128 -0
- package/bundled-test-harness/assets/search-results-DrHTuVRZ.js +266 -0
- package/bundled-test-harness/assets/search-results-test-krtQQM57.js +578 -0
- package/bundled-test-harness/assets/search-selection-menu-test-DoqSbez7.js +108 -0
- package/bundled-test-harness/assets/search-sheet-persistence-test-4ZPaEY-y.js +131 -0
- package/bundled-test-harness/assets/search-test-BYpq32RM.js +2241 -0
- package/bundled-test-harness/assets/searchable-BXw4T11q.js +192 -0
- package/bundled-test-harness/assets/searchable-CVvPDA3Q.js +2 -0
- package/bundled-test-harness/assets/searchable-option-test-BhLFI4ei.js +322 -0
- package/bundled-test-harness/assets/searchable-search-doc-test-DrNLCF73.js +1271 -0
- package/bundled-test-harness/assets/secure-sign-in-VNQhe0ae.js +130 -0
- package/bundled-test-harness/assets/secure-sign-in-Za8PX9cD.css +24 -0
- package/bundled-test-harness/assets/secure-sign-in-aunWHCrB.js +73 -0
- package/bundled-test-harness/assets/secure-sign-in-test-BcY1TcNd.js +32 -0
- package/bundled-test-harness/assets/secure-sign-in-test-DRdz89BT.js +245 -0
- package/bundled-test-harness/assets/sending-test-mbHpGZUu.js +576 -0
- package/bundled-test-harness/assets/serialization-rri-form-audit-test-nypV9J82.js +136 -0
- package/bundled-test-harness/assets/serialization-test-aLwrFv4d.js +8758 -0
- package/bundled-test-harness/assets/setup-Dgn0s6Zk.js +772 -0
- package/bundled-test-harness/assets/shared-link-target-reuse-test-D9MR2UNc.js +207 -0
- package/bundled-test-harness/assets/show-card-Dwfk332M.js +67 -0
- package/bundled-test-harness/assets/show-card-test-CRPwwJvc.js +365 -0
- package/bundled-test-harness/assets/show-file-DLdFPHMR.js +34 -0
- package/bundled-test-harness/assets/signed-capture-DUR9PohQ.js +204 -0
- package/bundled-test-harness/assets/signed-capture-link-test-DfTAB6OT.js +132 -0
- package/bundled-test-harness/assets/single-stack-test-Crr_8nti.js +652 -0
- package/bundled-test-harness/assets/skill-DQ00VonZ.js +3 -0
- package/bundled-test-harness/assets/skill-reference-LEitQV9i.js +112 -0
- package/bundled-test-harness/assets/skill-yZXS1VHQ.js +76 -0
- package/bundled-test-harness/assets/skills-test-D3-C-Dbm.js +648 -0
- package/bundled-test-harness/assets/slider-picker-B6AxKL2j.js +245 -0
- package/bundled-test-harness/assets/slider-picker-C4Tc5o-s.js +2 -0
- package/bundled-test-harness/assets/spec-Cl_LB6nC.js +602 -0
- package/bundled-test-harness/assets/spinner-BHFM7zcR.js +39 -0
- package/bundled-test-harness/assets/spinner-DvAvsyDT.css +21 -0
- package/bundled-test-harness/assets/store-BV6WX8oV.js +2205 -0
- package/bundled-test-harness/assets/store-module-rebuild-test-HyphFJiF.js +454 -0
- package/bundled-test-harness/assets/store-search-test-nUeJ5opb.js +175 -0
- package/bundled-test-harness/assets/store-test-BebUIJAg.js +3460 -0
- package/bundled-test-harness/assets/string-BHZZwNlZ.js +9 -0
- package/bundled-test-harness/assets/submode-switcher-D-U9cXo0.js +169 -0
- package/bundled-test-harness/assets/svg-meta-extractor-BsG4w2nX.js +42 -0
- package/bundled-test-harness/assets/swatches-picker-4vFztxHo.js +33 -0
- package/bundled-test-harness/assets/swatches-picker-C7RE7uJ8.js +2 -0
- package/bundled-test-harness/assets/switch-submode-CuA0Zfjn.js +79 -0
- package/bundled-test-harness/assets/switch-submode-test-i1Qic_Cp.js +168 -0
- package/bundled-test-harness/assets/tag-CZNs3DPN.js +105 -0
- package/bundled-test-harness/assets/tests-BneuP252.js +3523 -0
- package/bundled-test-harness/assets/text-area-DAShQQBe.js +9 -0
- package/bundled-test-harness/assets/text-file-def-D2Rs6nS1.js +151 -0
- package/bundled-test-harness/assets/text-input-validator-test-C9IG-1GZ.js +156 -0
- package/bundled-test-harness/assets/theme-Dm8LWaRK.js +9 -0
- package/bundled-test-harness/assets/theme-card-test-Cbb6tAap.js +621 -0
- package/bundled-test-harness/assets/theme-scheme-island-test-DOVLakx3.js +264 -0
- package/bundled-test-harness/assets/three-d-model-def-DWSPQGgD.js +70 -0
- package/bundled-test-harness/assets/time--_Txqya1.js +126 -0
- package/bundled-test-harness/assets/time-DKD7Bdjd.js +2 -0
- package/bundled-test-harness/assets/time-slots-BZaugjq_.js +2 -0
- package/bundled-test-harness/assets/time-slots-C85M0rWl.js +85 -0
- package/bundled-test-harness/assets/timeline-B3KGDm3M.js +2 -0
- package/bundled-test-harness/assets/timeline-BMwgaZZu.js +59 -0
- package/bundled-test-harness/assets/to-device-streaming-test-CMp5bFiz.js +163 -0
- package/bundled-test-harness/assets/token-usage-test-CXA0b8Ep.js +166 -0
- package/bundled-test-harness/assets/tool-field-BGLelnsr.js +94 -0
- package/bundled-test-harness/assets/tool-field-BOFuDDt3.js +2 -0
- package/bundled-test-harness/assets/tools-CTjy7Aub.js +725 -0
- package/bundled-test-harness/assets/tools-calling-test--JR-7AK7.js +200 -0
- package/bundled-test-harness/assets/tools-test-6yAW3W5I.js +2820 -0
- package/bundled-test-harness/assets/tools-test-DhpMUQkz.js +1624 -0
- package/bundled-test-harness/assets/ts-file-def-CDbf8aw2.js +159 -0
- package/bundled-test-harness/assets/update-room-skills-test-DoKsS_1C.js +240 -0
- package/bundled-test-harness/assets/url-D0ooeJxC.js +2 -0
- package/bundled-test-harness/assets/url-mFskVPSX.js +96 -0
- package/bundled-test-harness/assets/video-file-def-AcmWqzev.js +76 -0
- package/bundled-test-harness/assets/wav-meta-extractor-CbTLruQf.js +368 -0
- package/bundled-test-harness/assets/webm-meta-extractor-C9JH-CMX.js +178 -0
- package/bundled-test-harness/assets/webp-meta-extractor-C6sHm4J7.js +98 -0
- package/bundled-test-harness/assets/website-Bxuk_OmR.js +92 -0
- package/bundled-test-harness/assets/week-Bxssxce7.js +2 -0
- package/bundled-test-harness/assets/week-DQLj9974.js +111 -0
- package/bundled-test-harness/assets/welcome-to-boxel-BH82RsW5.js +172 -0
- package/bundled-test-harness/assets/workspace-DJ_s2x4g.js +614 -0
- package/bundled-test-harness/assets/workspace-a11y-test-BJbZNgoP.js +197 -0
- package/bundled-test-harness/assets/workspace-behavior-test-BLBARTfb.js +200 -0
- package/bundled-test-harness/assets/workspace-chooser-BpmlVrVn.js +2219 -0
- package/bundled-test-harness/assets/workspace-chooser-CqLR2Dzh.css +1296 -0
- package/bundled-test-harness/assets/workspace-chooser-catalog-order-test-CmAVNAWC.js +36 -0
- package/bundled-test-harness/assets/workspace-chooser-unreachable-notice-test-DEfG7Uh9.js +60 -0
- package/bundled-test-harness/assets/workspace-delete-multiple-test-DE7Z8ooj.js +212 -0
- package/bundled-test-harness/assets/workspace-delete-summary-test-CwtG_zLH.js +63 -0
- package/bundled-test-harness/assets/workspace-timestamp-labels-test-DFAaRmJW.js +58 -0
- package/bundled-test-harness/assets/xlsx-file-def-DcvaRYnZ.js +60 -0
- package/bundled-test-harness/assets/xlsx-meta-extractor-0RlViVaf.js +101 -0
- package/bundled-test-harness/assets/xlsx-meta-extractor-BH30Vuem.js +2 -0
- package/bundled-test-harness/assets/year-B_MBk_hE.js +78 -0
- package/bundled-test-harness/assets/year-hSpccI9L.js +2 -0
- package/bundled-test-harness/assets/zip-file-def-c84iddi9.js +288 -0
- package/bundled-test-harness/index.html +78 -68
- package/bundled-test-harness/tests/index.html +78 -68
- package/bundled-types/host-app/components/matrix/account-switch-failed.gts +2 -2
- package/bundled-types/host-app/components/matrix/auth.gts +2 -2
- package/bundled-types/host-app/components/matrix/cli-auth.gts +7 -6
- package/bundled-types/host-app/components/matrix/forgot-password.gts +43 -129
- package/bundled-types/host-app/components/matrix/login.gts +15 -118
- package/bundled-types/host-app/components/matrix/register-user.gts +45 -226
- package/bundled-types/host-app/components/matrix/secure-sign-in.gts +235 -0
- package/bundled-types/host-app/components/operator-mode/container.gts +13 -1
- package/bundled-types/host-app/components/operator-mode/profile-info-popover.gts +1 -1
- package/bundled-types/host-app/config/environment.ts +1 -1
- package/bundled-types/host-app/lib/secure-sign-in.ts +130 -0
- package/bundled-types/host-app/services/matrix-service.ts +46 -0
- package/bundled-types/host-app/services/monaco-service.ts +0 -5
- package/bundled-types/host-app/utils/login-token.ts +23 -10
- package/dist/api.js +1 -1
- package/dist/index.js +289 -285
- package/package.json +1 -1
- package/src/build-program.ts +6 -2
- package/src/commands/profile.ts +72 -3
- package/src/lib/profile-manager.ts +5 -1
- package/src/lib/secure-session.ts +29 -0
- package/src/lib/sso-login.ts +94 -15
- package/bundled-test-harness/assets/account-switch-failed-B3pr_iC3.js +0 -32
- package/bundled-test-harness/assets/account-switch-failed-DTGZZo-G.css +0 -61
- package/bundled-test-harness/assets/account-switch-failed-test-9ENVgvlx.js +0 -45
- package/bundled-test-harness/assets/add-workspace-BAbk0250.js +0 -141
- package/bundled-test-harness/assets/add-workspace-test-ChAja_t-.js +0 -72
- package/bundled-test-harness/assets/advanced-color-picker-C-xBFJ2S.js +0 -504
- package/bundled-test-harness/assets/advanced-color-picker-bWAmCT-8.js +0 -2
- package/bundled-test-harness/assets/ai-assistant-test-BJ9yetuC.js +0 -2211
- package/bundled-test-harness/assets/ai-module-creation-test-Bw3TKS9d.js +0 -151
- package/bundled-test-harness/assets/aibot-message-DkgHT6eJ.js +0 -465
- package/bundled-test-harness/assets/app-DW5QjtRp.js +0 -22816
- package/bundled-test-harness/assets/app-yCDjO4mk.css +0 -2718
- package/bundled-test-harness/assets/audio-file-def-bJ3cXVmC.js +0 -133
- package/bundled-test-harness/assets/avif-meta-extractor-CrSDfYEt.js +0 -162
- package/bundled-test-harness/assets/base64-image-C7UBjK5W.js +0 -262
- package/bundled-test-harness/assets/base64-image-CjWpxROT.js +0 -2
- package/bundled-test-harness/assets/big-integer-BBql7oGZ.js +0 -89
- package/bundled-test-harness/assets/big-integer-B_TrzRy_.js +0 -2
- package/bundled-test-harness/assets/binary-upload-dedupe-test-BiX8kS7D.js +0 -308
- package/bundled-test-harness/assets/boolean-9LNUUTfw.js +0 -2
- package/bundled-test-harness/assets/boolean-BAmK01TF.js +0 -94
- package/bundled-test-harness/assets/brand-functional-palette-CFuoS-LS.js +0 -137
- package/bundled-test-harness/assets/brand-logo-By89eknI.js +0 -295
- package/bundled-test-harness/assets/broken-link-template-test-odBriDSP.js +0 -192
- package/bundled-test-harness/assets/bundled-base-CLQkkmN4.js +0 -254
- package/bundled-test-harness/assets/bundled-base-modules-test-BYrTaTwa.js +0 -54
- package/bundled-test-harness/assets/buried-stack-item-scroll-test-DU4bM5nd.js +0 -236
- package/bundled-test-harness/assets/bxl-expression-test-Cs9JaZbC.js +0 -250
- package/bundled-test-harness/assets/can-invoke-test-ccMc06BU.js +0 -401
- package/bundled-test-harness/assets/card-api-Bn65NUT0.js +0 -8
- package/bundled-test-harness/assets/card-api-test-COrFXu2i.js +0 -198
- package/bundled-test-harness/assets/card-api-u1pOrwS6.js +0 -4393
- package/bundled-test-harness/assets/card-basics-test-D4rn3iN-.js +0 -5364
- package/bundled-test-harness/assets/card-chooser-paging-test-bZhdrUXt.js +0 -235
- package/bundled-test-harness/assets/card-chooser-test-D9w1duob.js +0 -393
- package/bundled-test-harness/assets/card-collection-ClCV-__1.js +0 -118
- package/bundled-test-harness/assets/card-context-search-results-H_rN3Upz.js +0 -30
- package/bundled-test-harness/assets/card-context-search-results-test-jciyaouV.js +0 -184
- package/bundled-test-harness/assets/card-def-field-def-relationships-test-BVZoQzM8.js +0 -562
- package/bundled-test-harness/assets/card-delete-test-CuLcZFnY.js +0 -466
- package/bundled-test-harness/assets/card-error-DIOivSkD.js +0 -72
- package/bundled-test-harness/assets/card-error-awaiting-index-test-JMwcRONq.js +0 -53
- package/bundled-test-harness/assets/card-error-detail-96jWBx6B.js +0 -271
- package/bundled-test-harness/assets/card-info-BxPtwG1h.js +0 -2
- package/bundled-test-harness/assets/card-list-B34qY3io.js +0 -2
- package/bundled-test-harness/assets/card-list-BpCaKkZJ.js +0 -202
- package/bundled-test-harness/assets/card-resource-DcPbIwH9.js +0 -86
- package/bundled-test-harness/assets/cards-grid-CTN8nBT_.js +0 -344
- package/bundled-test-harness/assets/cards-grid-Cx44vL-M.js +0 -2
- package/bundled-test-harness/assets/cards-grid-layout-BdL0Uzxl.js +0 -111
- package/bundled-test-harness/assets/cards-grid-layout-Dn8Yb4ma.js +0 -2
- package/bundled-test-harness/assets/check-correctness-test-BfMV-MC0.js +0 -554
- package/bundled-test-harness/assets/clip-CK6mVuyN.js +0 -92
- package/bundled-test-harness/assets/clip-CfXD1JTr.js +0 -2
- package/bundled-test-harness/assets/code-ref-85Bih6Zl.js +0 -138
- package/bundled-test-harness/assets/code-ref-DATHaoyt.js +0 -2
- package/bundled-test-harness/assets/code-submode-availability-test-DLYlx0wo.js +0 -198
- package/bundled-test-harness/assets/code-submode-test-CDIi7MjD.js +0 -1824
- package/bundled-test-harness/assets/codeblocks-test-CNPyTvuv.js +0 -418
- package/bundled-test-harness/assets/codemirror-editor-BPOPTR-f.js +0 -2
- package/bundled-test-harness/assets/codemirror-editor-DPhG0pec.js +0 -701
- package/bundled-test-harness/assets/codemirror-embed-toolbar-test-Dk5lFOUq.js +0 -366
- package/bundled-test-harness/assets/color-BxN5gRSg.js +0 -65
- package/bundled-test-harness/assets/color-CrunRcis.js +0 -2
- package/bundled-test-harness/assets/color-field-test-COjFIpXV.js +0 -212
- package/bundled-test-harness/assets/color-picker-field-C-GS1CIw.js +0 -139
- package/bundled-test-harness/assets/color-picker-field-D3RXhbCK.js +0 -2
- package/bundled-test-harness/assets/color-wheel-picker-Bz8cBmf4.js +0 -283
- package/bundled-test-harness/assets/color-wheel-picker-DrwPrB8B.js +0 -2
- package/bundled-test-harness/assets/command-data-BxXgtNBf.js +0 -2
- package/bundled-test-harness/assets/command-data-ZdkcpEgG.js +0 -95
- package/bundled-test-harness/assets/compaction-test-DS7DTGT_.js +0 -150
- package/bundled-test-harness/assets/components-CbCTWAON.js +0 -17777
- package/bundled-test-harness/assets/computed-test-D_OrXDtR.js +0 -1320
- package/bundled-test-harness/assets/container-DDolu1gk.js +0 -11109
- package/bundled-test-harness/assets/container-DndcCIMv.css +0 -5169
- package/bundled-test-harness/assets/contains-many-component-BtgnAXih.js +0 -2
- package/bundled-test-harness/assets/contrast-checker-addon-kwtLKWdL.js +0 -2
- package/bundled-test-harness/assets/contrast-checker-addon-zFY5cen1.js +0 -71
- package/bundled-test-harness/assets/convert-to-class-name-test-BcGWl2K1.js +0 -17
- package/bundled-test-harness/assets/coordinate-D72EF1Pl.js +0 -48
- package/bundled-test-harness/assets/copy-file-to-realm-test-CYoDX4YV.js +0 -148
- package/bundled-test-harness/assets/country-B-iIe5v8.js +0 -199
- package/bundled-test-harness/assets/create-file-modal-PpvMksjR.js +0 -570
- package/bundled-test-harness/assets/create-listing-modal-test-CQtEf_UD.js +0 -273
- package/bundled-test-harness/assets/create-listing-pr-request-test-CDtKWyfk.js +0 -117
- package/bundled-test-harness/assets/create-spec-test-Cbqk8I9T.js +0 -256
- package/bundled-test-harness/assets/create-specs-CZg2cpnh.js +0 -215
- package/bundled-test-harness/assets/create-submission-workflow-test-CYrxF7bg.js +0 -132
- package/bundled-test-harness/assets/credential-fields-test-Di4jCJgU.js +0 -157
- package/bundled-test-harness/assets/css-value-CceJyI5o.js +0 -48
- package/bundled-test-harness/assets/csv-file-def-DJL2aZI9.js +0 -277
- package/bundled-test-harness/assets/currency-Bn5WIqzF.js +0 -134
- package/bundled-test-harness/assets/date-XI2CVYA2.js +0 -2
- package/bundled-test-harness/assets/date-h83UJcFR.js +0 -183
- package/bundled-test-harness/assets/date-time-fields-test-Cterr2mj.js +0 -359
- package/bundled-test-harness/assets/datetime-DadI80tC.js +0 -201
- package/bundled-test-harness/assets/datetime-Dpb_Sejj.js +0 -2
- package/bundled-test-harness/assets/datetime-stamp-C4vv397u.js +0 -81
- package/bundled-test-harness/assets/datetime-stamp-DIsJdQux.js +0 -2
- package/bundled-test-harness/assets/day-C4pZoGNM.js +0 -113
- package/bundled-test-harness/assets/day-D0goBhKb.js +0 -2
- package/bundled-test-harness/assets/debug-message-test-CV0sj-fl.js +0 -117
- package/bundled-test-harness/assets/dist-CAIttNZm.js +0 -1710
- package/bundled-test-harness/assets/dist-CLbqnmnm.js +0 -389
- package/bundled-test-harness/assets/dist-qkBOmIQy.js +0 -323
- package/bundled-test-harness/assets/docx-file-def-hz2tVQKf.js +0 -60
- package/bundled-test-harness/assets/docx-meta-extractor-CeRshlxL.js +0 -60
- package/bundled-test-harness/assets/docx-meta-extractor-muK5CKF3.js +0 -2
- package/bundled-test-harness/assets/duration-BYx1dLfm.js +0 -2
- package/bundled-test-harness/assets/duration-FAmTFeUa.js +0 -184
- package/bundled-test-harness/assets/email-D-bFy_C1.js +0 -80
- package/bundled-test-harness/assets/email-field-test-CY9K2zur.js +0 -75
- package/bundled-test-harness/assets/email-j4DZNH2-.js +0 -2
- package/bundled-test-harness/assets/enum-B7_baAn_.js +0 -167
- package/bundled-test-harness/assets/enum-BQqNzVQS.js +0 -2
- package/bundled-test-harness/assets/enum-field-test-BJ9Epz15.js +0 -953
- package/bundled-test-harness/assets/error-display-test-CbDWjJ2F.js +0 -343
- package/bundled-test-harness/assets/ethereum-address-BOLEnKsm.js +0 -78
- package/bundled-test-harness/assets/ethereum-address-s3Kvb2wG.js +0 -2
- package/bundled-test-harness/assets/expiration-warning-BaIP1MOZ.js +0 -2
- package/bundled-test-harness/assets/expiration-warning-gjEtxPk0.js +0 -90
- package/bundled-test-harness/assets/externals-Bih8ejPS.js +0 -4393
- package/bundled-test-harness/assets/fallback-banner-MlImHjSD.js +0 -24
- package/bundled-test-harness/assets/fallback-banner-live-delete-test-Bm7IKXPf.js +0 -207
- package/bundled-test-harness/assets/fallback-banner-test-C7TGA0Ob.js +0 -53
- package/bundled-test-harness/assets/fallback-banner-test-lvuaVRXu.js +0 -225
- package/bundled-test-harness/assets/fallback-models-test-Dy7iIKUS.js +0 -161
- package/bundled-test-harness/assets/field-component-DBoOxTke.js +0 -2
- package/bundled-test-harness/assets/field-configuration-test-DnAnzyC-.js +0 -548
- package/bundled-test-harness/assets/field-edit-DdJ8Akso.js +0 -2
- package/bundled-test-harness/assets/field-edit-XAop92l8.js +0 -36
- package/bundled-test-harness/assets/field-markdown-domain-test-cZCqbcjj.js +0 -616
- package/bundled-test-harness/assets/field-markdown-oversize-test-BuATetVz.js +0 -88
- package/bundled-test-harness/assets/field-markdown-primitives-test-BsubQfhv.js +0 -365
- package/bundled-test-harness/assets/field-markdown-specialized-test-4eNLiYpF.js +0 -534
- package/bundled-test-harness/assets/field-test-helpers-9I7cHnaU.js +0 -45
- package/bundled-test-harness/assets/file-api-CC86I7Er.js +0 -7
- package/bundled-test-harness/assets/file-attachment-test-o9191GMb.js +0 -796
- package/bundled-test-harness/assets/file-chooser-panel-test-C8aZuJlk.js +0 -153
- package/bundled-test-harness/assets/file-chooser-test-B0Tn8CCR.js +0 -504
- package/bundled-test-harness/assets/file-def-edit-BSiF2Lje.js +0 -2
- package/bundled-test-harness/assets/file-def-edit-C5TYBp_q.js +0 -26
- package/bundled-test-harness/assets/file-def-embedded-BLVTCiVB.js +0 -2
- package/bundled-test-harness/assets/file-def-embedded-Bep4iD6s.js +0 -38
- package/bundled-test-harness/assets/file-def-fitted-BTs-AS78.js +0 -2
- package/bundled-test-harness/assets/file-def-fitted-DcPitdYu.js +0 -38
- package/bundled-test-harness/assets/file-def-isolated-Kg1YVhm-.js +0 -38
- package/bundled-test-harness/assets/file-def-isolated-tK5JWCam.js +0 -2
- package/bundled-test-harness/assets/file-def-serialization-test-D4wnd5XK.js +0 -89
- package/bundled-test-harness/assets/file-menu-items-CH4-naSK.js +0 -117
- package/bundled-test-harness/assets/file-menu-items-emUxx3ZI.js +0 -2
- package/bundled-test-harness/assets/file-preview-stage-B1McIWwu.js +0 -2
- package/bundled-test-harness/assets/file-preview-stage-BgZLNMN4.js +0 -72
- package/bundled-test-harness/assets/file-shell-embedded-BmfuwWfU.js +0 -2
- package/bundled-test-harness/assets/file-shell-embedded-zh8CJanA.js +0 -68
- package/bundled-test-harness/assets/file-shell-fitted-DSFUNRGJ.js +0 -2
- package/bundled-test-harness/assets/file-shell-fitted-DXKDH0fn.js +0 -98
- package/bundled-test-harness/assets/file-shell-isolated-0F1MFv4q.js +0 -2
- package/bundled-test-harness/assets/file-shell-isolated-DduZZzmi.js +0 -195
- package/bundled-test-harness/assets/file-tree-from-index-BzDvvUHy.js +0 -151
- package/bundled-test-harness/assets/file-tree-from-index-test-D0hfI4a1.js +0 -96
- package/bundled-test-harness/assets/film-BN_HVXBU.js +0 -13
- package/bundled-test-harness/assets/film-CKkbUi0L.js +0 -2
- package/bundled-test-harness/assets/film-CMNJITZ-.js +0 -4074
- package/bundled-test-harness/assets/fitted-CAvdcKpu.js +0 -34
- package/bundled-test-harness/assets/fitted-CbKOwd1u.js +0 -2
- package/bundled-test-harness/assets/flac-meta-extractor-e8qajPSl.js +0 -99
- package/bundled-test-harness/assets/font-file-def-9atde5W8.js +0 -64
- package/bundled-test-harness/assets/font-meta-extractor-IralDC8M.js +0 -303
- package/bundled-test-harness/assets/font-meta-extractor-zPBVOfoR.js +0 -2
- package/bundled-test-harness/assets/formatted-aibot-message-test-CWOiZUng.js +0 -109
- package/bundled-test-harness/assets/from-elsewhere-ChxbtsBa.js +0 -131
- package/bundled-test-harness/assets/frontmatter-field-cdig7KR9.js +0 -41
- package/bundled-test-harness/assets/garbage-collection-test-Dg-ww_Sb.js +0 -403
- package/bundled-test-harness/assets/gauge-B45nLOGe.js +0 -106
- package/bundled-test-harness/assets/gauge-BK-768BM.js +0 -2
- package/bundled-test-harness/assets/general-test-D7cn7PUr.js +0 -926
- package/bundled-test-harness/assets/get-relationship-membership-state-test-Skmj9V6y.js +0 -1308
- package/bundled-test-harness/assets/gif-meta-extractor-BychhK9q.js +0 -114
- package/bundled-test-harness/assets/glimmer-motion-and-choreo-in-cards-test-C09YUmk4.js +0 -160
- package/bundled-test-harness/assets/glimmer-motion-and-choreo-test-DYskx_Kk.js +0 -74
- package/bundled-test-harness/assets/helper-BHX0HLF2.js +0 -478
- package/bundled-test-harness/assets/host-submode-test-Clw_QnvF.js +0 -1243
- package/bundled-test-harness/assets/html-file-def-C0P9giwU.js +0 -82
- package/bundled-test-harness/assets/hydratable-card-DnjrxKsT.js +0 -147
- package/bundled-test-harness/assets/hydratable-card-test-BAmWHfv1.js +0 -426
- package/bundled-test-harness/assets/icons-DBXBZgLe.js +0 -894
- package/bundled-test-harness/assets/image-Cip6ojDd.js +0 -47
- package/bundled-test-harness/assets/image-file-def-BdQxjZcN.js +0 -65
- package/bundled-test-harness/assets/image-file-def-DP4aqWcS.js +0 -3
- package/bundled-test-harness/assets/index-changes-test-D8b_56Ke.js +0 -367
- package/bundled-test-harness/assets/index-query-engine-test-CCyaUwMX.js +0 -2593
- package/bundled-test-harness/assets/inspector-test-BJTVGdOO.js +0 -1930
- package/bundled-test-harness/assets/instance-filter-matcher-test-DjsPrXL7.js +0 -788
- package/bundled-test-harness/assets/interact-submode-creation-and-permissions-test-DSqM0vxh.js +0 -475
- package/bundled-test-harness/assets/interact-submode-setup-DF31UMX-.js +0 -566
- package/bundled-test-harness/assets/is-component-declaration-test-Did47eG9.js +0 -50
- package/bundled-test-harness/assets/iso-bmff-LuWkGL__.js +0 -205
- package/bundled-test-harness/assets/iso-bmff-_flO6c20.js +0 -2
- package/bundled-test-harness/assets/isolated-and-edit-frocLHin.js +0 -2
- package/bundled-test-harness/assets/job-priority-header-test-DHLAXfp7.js +0 -81
- package/bundled-test-harness/assets/job-scoped-instance-residency-test-C1Bt5j98.js +0 -103
- package/bundled-test-harness/assets/join-the-community-BBUSO2cs.js +0 -86
- package/bundled-test-harness/assets/jpg-meta-extractor-CoybO4Hq.js +0 -88
- package/bundled-test-harness/assets/json-field-8sdH5RQb.js +0 -2
- package/bundled-test-harness/assets/json-field-BDD3iTUh.js +0 -19
- package/bundled-test-harness/assets/json-file-def-BKibsfc6.js +0 -298
- package/bundled-test-harness/assets/last-modified-date-CR5jru2m.js +0 -43
- package/bundled-test-harness/assets/last-modified-date-test-jJ00YdTm.js +0 -28
- package/bundled-test-harness/assets/links-to-editor-rDoCYaN-.js +0 -2
- package/bundled-test-harness/assets/links-to-many-component-BqZT88Fb.js +0 -2
- package/bundled-test-harness/assets/linksto-broken-link-placeholder-test-Cp1Eb_4U.js +0 -398
- package/bundled-test-harness/assets/linksto-error-sentinel-test-Bddavnh_.js +0 -238
- package/bundled-test-harness/assets/linksto-many-broken-link-placeholder-test-c5WegXnR.js +0 -354
- package/bundled-test-harness/assets/linksto-many-per-slot-access-test-CWskzfGW.js +0 -303
- package/bundled-test-harness/assets/linksto-sentinel-reload-test-ByeVNhr8.js +0 -197
- package/bundled-test-harness/assets/linksto-sentinel-roundtrip-test-DP26i6Gb.js +0 -260
- package/bundled-test-harness/assets/linksto-singular-js-access-contract-test-fDUXx8tO.js +0 -196
- package/bundled-test-harness/assets/llm-model-BcLEkTV7.js +0 -64
- package/bundled-test-harness/assets/login-CeuuNVvU.css +0 -139
- package/bundled-test-harness/assets/login-DV0WlJv-.js +0 -348
- package/bundled-test-harness/assets/login-error-text-test-BMGY_9gW.js +0 -51
- package/bundled-test-harness/assets/login-test-CL9YpMH5.js +0 -246
- package/bundled-test-harness/assets/m4a-meta-extractor-CHO1JQtb.js +0 -204
- package/bundled-test-harness/assets/main-CPLT8JNu.js +0 -5
- package/bundled-test-harness/assets/markdown-BvBALLGh.js +0 -7
- package/bundled-test-harness/assets/markdown-DFezmrFD.js +0 -2
- package/bundled-test-harness/assets/markdown-editor-mode-select-Au64bcIO.js +0 -2
- package/bundled-test-harness/assets/markdown-editor-mode-select-rK9PP8rv.js +0 -54
- package/bundled-test-harness/assets/markdown-embed-chooser-modal-test-CIxizf5k.js +0 -470
- package/bundled-test-harness/assets/markdown-embed-preview-pane-test-C7GoNN7l.js +0 -447
- package/bundled-test-harness/assets/markdown-embed-preview-test-CDnj4uhd.js +0 -368
- package/bundled-test-harness/assets/markdown-fallback-n7PsLNmO.js +0 -2
- package/bundled-test-harness/assets/markdown-fallback-test-DTHT6OwQ.js +0 -316
- package/bundled-test-harness/assets/markdown-highlighting-test-DJ-4WSE_.js +0 -244
- package/bundled-test-harness/assets/markdown-preview-Ccelx5W-.js +0 -64
- package/bundled-test-harness/assets/markdown-preview-JXuMC_ve.js +0 -72
- package/bundled-test-harness/assets/markdown-preview-test-ByZqrpPk.js +0 -238
- package/bundled-test-harness/assets/markdown-skill-frontmatter-test-DAHGeL4K.js +0 -146
- package/bundled-test-harness/assets/menu-items-DzJm9H_H.js +0 -2
- package/bundled-test-harness/assets/message-tool-test-lmdrIEdY.js +0 -33
- package/bundled-test-harness/assets/metadata-fields-BZZr4Qe5.js +0 -2
- package/bundled-test-harness/assets/metadata-fields-BtdjGsKE.js +0 -1415
- package/bundled-test-harness/assets/midi-audio-def-uYbYFmFi.js +0 -52
- package/bundled-test-harness/assets/midi-meta-extractor-DNI5gc1q.js +0 -284
- package/bundled-test-harness/assets/midi-meta-extractor-DbKZ4fMG.js +0 -2
- package/bundled-test-harness/assets/migrate-skill-test-DI1xceiL.js +0 -161
- package/bundled-test-harness/assets/mini-CNoDyHqG.js +0 -1519
- package/bundled-test-harness/assets/mini-DexlIeKK.js +0 -85
- package/bundled-test-harness/assets/mini-card-chooser-test-DT5eIf1_.js +0 -272
- package/bundled-test-harness/assets/mini-file-chooser-test-DTQnKTZJ.js +0 -201
- package/bundled-test-harness/assets/missing-template-DL2mwddM.js +0 -2
- package/bundled-test-harness/assets/missing-template-ltqlJ4JC.js +0 -48
- package/bundled-test-harness/assets/modal-container-DRnt95-S.js +0 -40
- package/bundled-test-harness/assets/modal-zE95eEFp.js +0 -322
- package/bundled-test-harness/assets/model-cost-tier-test-CcFz7hcv.js +0 -173
- package/bundled-test-harness/assets/module-contents-service-Dk_zWt-V.js +0 -256
- package/bundled-test-harness/assets/month-BqReBYWo.js +0 -2
- package/bundled-test-harness/assets/month-RhvmIp40.js +0 -123
- package/bundled-test-harness/assets/month-day-XFAQA72z.js +0 -2
- package/bundled-test-harness/assets/month-day-XzKpk6nz.js +0 -192
- package/bundled-test-harness/assets/month-year-BeuNr2Cl.js +0 -2
- package/bundled-test-harness/assets/month-year-DhU7hATV.js +0 -93
- package/bundled-test-harness/assets/mp3-meta-extractor-Dx2RnJc5.js +0 -476
- package/bundled-test-harness/assets/mp4-meta-extractor--k0m8KsT.js +0 -188
- package/bundled-test-harness/assets/multiple-stacks-test-bC24IWcJ.js +0 -208
- package/bundled-test-harness/assets/nested-query-field-render-test-qxElXx1e.js +0 -249
- package/bundled-test-harness/assets/no-stacks-test-Br7IGAgV.js +0 -48
- package/bundled-test-harness/assets/number-73SsCMEF.js +0 -3
- package/bundled-test-harness/assets/number-CicTBWQd.js +0 -151
- package/bundled-test-harness/assets/number-field-test-kV5zXo1J.js +0 -184
- package/bundled-test-harness/assets/number-input-CQy4xUeA.js +0 -82
- package/bundled-test-harness/assets/office-extract-Bo8sbNkK.js +0 -27
- package/bundled-test-harness/assets/office-extract-CfBaoRMD.js +0 -2
- package/bundled-test-harness/assets/ogg-meta-extractor-aIf5q_Rq.js +0 -225
- package/bundled-test-harness/assets/on-key-C8acaldQ.js +0 -472
- package/bundled-test-harness/assets/ooxml-Bu3iZezv.js +0 -172
- package/bundled-test-harness/assets/ooxml-jQPBQK25.js +0 -2
- package/bundled-test-harness/assets/open-image-in-new-tab-test-CP7q3kMm.js +0 -52
- package/bundled-test-harness/assets/operation-lowering-test-9Mdr0hRT.js +0 -2812
- package/bundled-test-harness/assets/operations-R9b661Qn.js +0 -3
- package/bundled-test-harness/assets/operations-Zv_V3Api.js +0 -766
- package/bundled-test-harness/assets/operations-invocation-test-BJPpWb2H.js +0 -523
- package/bundled-test-harness/assets/operations-query-test-DufdmPQF.js +0 -459
- package/bundled-test-harness/assets/operations-test-CzT051YH.js +0 -2518
- package/bundled-test-harness/assets/operator-mode-acceptance-test-ByOIOcD0.js +0 -1188
- package/bundled-test-harness/assets/operator-mode-card-chooser-test-CNhR9mvv.js +0 -1036
- package/bundled-test-harness/assets/operator-mode-links-test-CuxSVTPR.js +0 -793
- package/bundled-test-harness/assets/operator-mode-state-service-CCeHt5SH.js +0 -1275
- package/bundled-test-harness/assets/operator-mode-state-service-test-C8TI9WWg.js +0 -206
- package/bundled-test-harness/assets/operator-mode-test-DG-mG8Tn.js +0 -683
- package/bundled-test-harness/assets/operator-mode-ui-test-DB7xhjS0.js +0 -1027
- package/bundled-test-harness/assets/overlay-menu-items-test-C6rcdF_S.js +0 -317
- package/bundled-test-harness/assets/overlays-D2zmPxzK.js +0 -270
- package/bundled-test-harness/assets/overlays-clip-test-Clpq3JzQ.js +0 -91
- package/bundled-test-harness/assets/overlays-detached-element-test-BtsTeJch.js +0 -56
- package/bundled-test-harness/assets/pane-f-IYhcWT.js +0 -330
- package/bundled-test-harness/assets/panel-B3PCSBbf.js +0 -3540
- package/bundled-test-harness/assets/panel-Ban7zCBP.js +0 -474
- package/bundled-test-harness/assets/past-sessions-test-uM2m-oKV.js +0 -321
- package/bundled-test-harness/assets/patch-fields-test-COPjDhnt.js +0 -1014
- package/bundled-test-harness/assets/patch-instance-test-CRb3dfby.js +0 -348
- package/bundled-test-harness/assets/pdf-file-def-J_yOUU8_.js +0 -76
- package/bundled-test-harness/assets/pdf-meta-extractor-83T5Bdo7.js +0 -156
- package/bundled-test-harness/assets/pdf-meta-extractor-INFIklMy.js +0 -2
- package/bundled-test-harness/assets/pdf-viewer-B4rRluWA.js +0 -2
- package/bundled-test-harness/assets/pdf-viewer-vYem8ozk.js +0 -112
- package/bundled-test-harness/assets/percentage-ChagfNRG.js +0 -84
- package/bundled-test-harness/assets/permission-checking-realm-test-Dmb2a428.js +0 -306
- package/bundled-test-harness/assets/phone-number-BiD2eaSd.js +0 -236
- package/bundled-test-harness/assets/phone-number-C-wt4_UK.js +0 -2
- package/bundled-test-harness/assets/phone-number-field-test-BHzAmuBP.js +0 -73
- package/bundled-test-harness/assets/plate-CqN2nM6P.js +0 -41
- package/bundled-test-harness/assets/plate-DaIfpORN.js +0 -2
- package/bundled-test-harness/assets/player-CGt5fTd5.js +0 -2
- package/bundled-test-harness/assets/player-CN0l44LK.js +0 -82
- package/bundled-test-harness/assets/plural-field-components-test-CO2g2opW.js +0 -198
- package/bundled-test-harness/assets/png-image-def-B_oou2wS.js +0 -48
- package/bundled-test-harness/assets/png-meta-extractor-BfPz1qP_.js +0 -2
- package/bundled-test-harness/assets/png-meta-extractor-C8ai8sPw.js +0 -111
- package/bundled-test-harness/assets/policy-scoped-search-test-BRRp2a1A.js +0 -339
- package/bundled-test-harness/assets/pptx-file-def-C3qYEHDM.js +0 -60
- package/bundled-test-harness/assets/pptx-meta-extractor-8IuoBq4I.js +0 -77
- package/bundled-test-harness/assets/pptx-meta-extractor-BPhy9RMM.js +0 -2
- package/bundled-test-harness/assets/prerender-persistence-block-test-Cteb_Rs_.js +0 -124
- package/bundled-test-harness/assets/prerender-serialize-cycle-test-CH7b6Ra9.js +0 -134
- package/bundled-test-harness/assets/preview-CmERZpI6.js +0 -74
- package/bundled-test-harness/assets/preview-format-BPMlCSbb.js +0 -41
- package/bundled-test-harness/assets/preview-format-test-B7sA8fbZ.js +0 -103
- package/bundled-test-harness/assets/process-card-CtDzDB-_.js +0 -2
- package/bundled-test-harness/assets/process-card-erbWKY5h.js +0 -114
- package/bundled-test-harness/assets/process-card-test-DXOt1jDW.js +0 -94
- package/bundled-test-harness/assets/profile-settings-modal-11BrR058.js +0 -708
- package/bundled-test-harness/assets/progress-circle-Cd79Zqh2.js +0 -2
- package/bundled-test-harness/assets/progress-circle-sc-W5aUl.js +0 -95
- package/bundled-test-harness/assets/quarter-B61kCpcD.js +0 -168
- package/bundled-test-harness/assets/quarter-d5jkTzcz.js +0 -2
- package/bundled-test-harness/assets/query-field-membership-status-test-BmpVfohw.js +0 -323
- package/bundled-test-harness/assets/query-field-page-optin-test-9_Cce-OJ.js +0 -126
- package/bundled-test-harness/assets/query-field-schema-test-CwV7xanX.js +0 -231
- package/bundled-test-harness/assets/query-field-stale-prerender-test-RkdnZ-VV.js +0 -152
- package/bundled-test-harness/assets/query-fields-test-BLxYkTAM.js +0 -535
- package/bundled-test-harness/assets/rail-CFPU0tFe.js +0 -2
- package/bundled-test-harness/assets/rail-CQ53Dakr.js +0 -44
- package/bundled-test-harness/assets/realm-DdVH9lSZ.js +0 -95
- package/bundled-test-harness/assets/realm-DdsFw3b-.js +0 -2
- package/bundled-test-harness/assets/realm-config-DIslxoB7.js +0 -844
- package/bundled-test-harness/assets/realm-config-policy-standing-test-b4WxNDor.js +0 -290
- package/bundled-test-harness/assets/realm-config-routing-rule-edit-test-C-rcvkkD.js +0 -274
- package/bundled-test-harness/assets/realm-config-settings-test-DDUkM3zw.js +0 -187
- package/bundled-test-harness/assets/realm-dropdown-1j55Dy-1.js +0 -560
- package/bundled-test-harness/assets/realm-field-test-D-uEtFKO.js +0 -100
- package/bundled-test-harness/assets/realm-indexing-test-U9m0epR-.js +0 -4380
- package/bundled-test-harness/assets/realm-policy-test-DhKabhlk.js +0 -1141
- package/bundled-test-harness/assets/realm-test-BX6C9SS5.js +0 -2363
- package/bundled-test-harness/assets/realm-url-tooltip-BjjcKqBx.js +0 -56
- package/bundled-test-harness/assets/realm-url-tooltip-test-DW0ZwEEE.js +0 -78
- package/bundled-test-harness/assets/reasoning-test-BWT94KXG.js +0 -234
- package/bundled-test-harness/assets/recent-colors-addon-CfgmgilF.js +0 -61
- package/bundled-test-harness/assets/recent-colors-addon-D--Ry3Pf.js +0 -2
- package/bundled-test-harness/assets/relationship-loading-state-test-C5R6jao_.js +0 -290
- package/bundled-test-harness/assets/relative-time-Bq7pqums.js +0 -2
- package/bundled-test-harness/assets/relative-time-D0QyW4ig.js +0 -129
- package/bundled-test-harness/assets/remix-card-test-Cy0h3Xdf.js +0 -58
- package/bundled-test-harness/assets/rendered-markdown-Hw_EF8SO.js +0 -263
- package/bundled-test-harness/assets/rendered-markdown-test-CqeF-UZd.js +0 -587
- package/bundled-test-harness/assets/resident-instance-reuse-test-BiI6L40n.js +0 -82
- package/bundled-test-harness/assets/response-field-BCxG5phG.js +0 -38
- package/bundled-test-harness/assets/result-tile-DMzRnTP8.js +0 -140
- package/bundled-test-harness/assets/rich-markdown-C4RUl7L0.js +0 -2
- package/bundled-test-harness/assets/rich-markdown-DxQSCg-o.js +0 -218
- package/bundled-test-harness/assets/rich-markdown-field-test-B7wpedKs.js +0 -1647
- package/bundled-test-harness/assets/room-D0M0Zwrs.js +0 -1008
- package/bundled-test-harness/assets/room-message-test-BWWd4xC8.js +0 -445
- package/bundled-test-harness/assets/room-test-DFH-nOwi.js +0 -95
- package/bundled-test-harness/assets/run-realm-code-DyVyEDBl.js +0 -1600
- package/bundled-test-harness/assets/run-realm-code-test-BpxF-tOz.js +0 -2468
- package/bundled-test-harness/assets/schema-generation-test-DjaJqpYP.js +0 -28
- package/bundled-test-harness/assets/score-Cfp34BE7.js +0 -2
- package/bundled-test-harness/assets/score-DIWWpeyf.js +0 -100
- package/bundled-test-harness/assets/scrolling-test-hA_uBwBg.js +0 -384
- package/bundled-test-harness/assets/search-C0-b7dJI.js +0 -605
- package/bundled-test-harness/assets/search-adorn-test-C6KP3AwA.js +0 -136
- package/bundled-test-harness/assets/search-entries-BfPq5sPS.js +0 -472
- package/bundled-test-harness/assets/search-entries-result-test-Bl9u_BOD.js +0 -234
- package/bundled-test-harness/assets/search-entries-test-BDC_lS43.js +0 -1486
- package/bundled-test-harness/assets/search-result-header-DCAze_cg.js +0 -128
- package/bundled-test-harness/assets/search-results-Dd0enVun.js +0 -266
- package/bundled-test-harness/assets/search-results-test-T5KEEII4.js +0 -578
- package/bundled-test-harness/assets/search-selection-menu-test-CCssnBq1.js +0 -108
- package/bundled-test-harness/assets/search-sheet-persistence-test-BzQiO-FK.js +0 -131
- package/bundled-test-harness/assets/search-test-fyCWb24m.js +0 -2241
- package/bundled-test-harness/assets/searchable-BkgeKQMl.js +0 -2
- package/bundled-test-harness/assets/searchable-D_6p6fyb.js +0 -192
- package/bundled-test-harness/assets/searchable-option-test-CnCUYGaq.js +0 -322
- package/bundled-test-harness/assets/searchable-search-doc-test-B8Q0D98v.js +0 -1271
- package/bundled-test-harness/assets/sending-test-D5PGBDys.js +0 -576
- package/bundled-test-harness/assets/serialization-rri-form-audit-test-BRJ1cJ31.js +0 -136
- package/bundled-test-harness/assets/serialization-test-DM6hK258.js +0 -8758
- package/bundled-test-harness/assets/setup-C_GgVgzM.js +0 -772
- package/bundled-test-harness/assets/shared-link-target-reuse-test-Be-lSKib.js +0 -207
- package/bundled-test-harness/assets/show-card-BFG6KR1m.js +0 -67
- package/bundled-test-harness/assets/show-card-test-l0wMrfZq.js +0 -365
- package/bundled-test-harness/assets/show-file-B8-FRVHj.js +0 -34
- package/bundled-test-harness/assets/signed-capture-D_Q44TQ7.js +0 -204
- package/bundled-test-harness/assets/signed-capture-link-test-DOS5xpYv.js +0 -132
- package/bundled-test-harness/assets/single-stack-test-BIEtzHVS.js +0 -652
- package/bundled-test-harness/assets/skill-BUTGmSsm.js +0 -76
- package/bundled-test-harness/assets/skill-Bo7R_2Ud.js +0 -3
- package/bundled-test-harness/assets/skill-reference-Cs64py3k.js +0 -112
- package/bundled-test-harness/assets/skills-test-CXxSIkYa.js +0 -648
- package/bundled-test-harness/assets/slider-picker-C81errGI.js +0 -245
- package/bundled-test-harness/assets/slider-picker-mvKsy6cR.js +0 -2
- package/bundled-test-harness/assets/spec-B55lJurX.js +0 -602
- package/bundled-test-harness/assets/store-DyQ0KiyI.js +0 -2205
- package/bundled-test-harness/assets/store-module-rebuild-test-C7532_bS.js +0 -454
- package/bundled-test-harness/assets/store-search-test-80NMJuoW.js +0 -175
- package/bundled-test-harness/assets/store-test-dHiWXXMs.js +0 -3460
- package/bundled-test-harness/assets/string-DHlQEHYm.js +0 -9
- package/bundled-test-harness/assets/submode-switcher-DQv-CD6G.js +0 -169
- package/bundled-test-harness/assets/svg-meta-extractor-Uw_EJytF.js +0 -42
- package/bundled-test-harness/assets/swatches-picker-CaEoibN1.js +0 -33
- package/bundled-test-harness/assets/swatches-picker-gPl50JbP.js +0 -2
- package/bundled-test-harness/assets/switch-submode-BKDnJd4m.js +0 -79
- package/bundled-test-harness/assets/switch-submode-test-_E2mVk4z.js +0 -168
- package/bundled-test-harness/assets/tag-B60lDr-j.js +0 -105
- package/bundled-test-harness/assets/tests-BBBgPBB6.js +0 -3520
- package/bundled-test-harness/assets/text-area-CJjWmwpi.js +0 -9
- package/bundled-test-harness/assets/text-file-def-u_dl0i2z.js +0 -151
- package/bundled-test-harness/assets/text-input-validator-test-BTwnkSS2.js +0 -156
- package/bundled-test-harness/assets/theme-BK-fAHVn.js +0 -9
- package/bundled-test-harness/assets/theme-card-test-BQmT7rqr.js +0 -621
- package/bundled-test-harness/assets/theme-scheme-island-test-Oi3aeyp1.js +0 -264
- package/bundled-test-harness/assets/three-d-model-def-B4KckPVC.js +0 -70
- package/bundled-test-harness/assets/time-BcuaSkHg.js +0 -126
- package/bundled-test-harness/assets/time-f7Irg7Z7.js +0 -2
- package/bundled-test-harness/assets/time-slots-ClYIZN53.js +0 -2
- package/bundled-test-harness/assets/time-slots-TI1aaqRN.js +0 -85
- package/bundled-test-harness/assets/timeline-Cof9eyq0.js +0 -59
- package/bundled-test-harness/assets/timeline-DFWQtCWE.js +0 -2
- package/bundled-test-harness/assets/to-device-streaming-test-BDrUUlOt.js +0 -163
- package/bundled-test-harness/assets/token-usage-test-CiZo03fY.js +0 -166
- package/bundled-test-harness/assets/tool-field-BXHr9r0w.js +0 -94
- package/bundled-test-harness/assets/tool-field-CoRO5C4R.js +0 -2
- package/bundled-test-harness/assets/tools-CmVaYDIS.js +0 -725
- package/bundled-test-harness/assets/tools-calling-test-B454__XF.js +0 -200
- package/bundled-test-harness/assets/tools-test-CLu51dJO.js +0 -1624
- package/bundled-test-harness/assets/tools-test-XGRAvVug.js +0 -2820
- package/bundled-test-harness/assets/ts-file-def-C05BDwdg.js +0 -159
- package/bundled-test-harness/assets/update-room-skills-test-jOvP14JX.js +0 -240
- package/bundled-test-harness/assets/url-BFf2CNo-.js +0 -2
- package/bundled-test-harness/assets/url-CYm-CeXp.js +0 -96
- package/bundled-test-harness/assets/video-file-def-B2UIrOFS.js +0 -76
- package/bundled-test-harness/assets/wav-meta-extractor-BNkv7e2f.js +0 -368
- package/bundled-test-harness/assets/webm-meta-extractor-C933kYyc.js +0 -178
- package/bundled-test-harness/assets/webp-meta-extractor-BLz0z1pZ.js +0 -98
- package/bundled-test-harness/assets/website-BuOMUW1v.js +0 -92
- package/bundled-test-harness/assets/week-Bo0666ji.js +0 -111
- package/bundled-test-harness/assets/week-CaVFA8Vc.js +0 -2
- package/bundled-test-harness/assets/welcome-to-boxel-PWard7GF.js +0 -172
- package/bundled-test-harness/assets/workspace-KXfFTQNV.js +0 -614
- package/bundled-test-harness/assets/workspace-a11y-test-Buwb-rfO.js +0 -197
- package/bundled-test-harness/assets/workspace-behavior-test-CbgFUOOo.js +0 -200
- package/bundled-test-harness/assets/workspace-chooser-BmQvhhrl.js +0 -2248
- package/bundled-test-harness/assets/workspace-chooser-Cu84Gd_E.css +0 -1317
- package/bundled-test-harness/assets/workspace-chooser-catalog-order-test-rcRw6sni.js +0 -36
- package/bundled-test-harness/assets/workspace-chooser-unreachable-notice-test-DUXnBIdY.js +0 -60
- package/bundled-test-harness/assets/workspace-delete-multiple-test-DjRKhZ2g.js +0 -212
- package/bundled-test-harness/assets/workspace-delete-summary-test-CvkLVYyN.js +0 -63
- package/bundled-test-harness/assets/workspace-timestamp-labels-test-AYJT4inv.js +0 -58
- package/bundled-test-harness/assets/xlsx-file-def-DuKdbGrJ.js +0 -60
- package/bundled-test-harness/assets/xlsx-meta-extractor-Bz-C2JWP.js +0 -101
- package/bundled-test-harness/assets/xlsx-meta-extractor-ClwwgABg.js +0 -2
- package/bundled-test-harness/assets/year-B6ctHikl.js +0 -2
- package/bundled-test-harness/assets/year-C11uAQE6.js +0 -78
- package/bundled-test-harness/assets/zip-file-def-B8XN-OS_.js +0 -288
- package/bundled-types/host-app/components/matrix/auth-button.gts +0 -39
- package/bundled-types/host-app/components/matrix/auth-container.gts +0 -69
- package/bundled-types/host-app/components/matrix/auth-form-field.gts +0 -43
|
@@ -0,0 +1,4393 @@
|
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=[(globalThis.__boxelAssetsURL||"/")+"assets/src-CF8jhG38.js",(globalThis.__boxelAssetsURL||"/")+"assets/native-1qc0_0op.js",(globalThis.__boxelAssetsURL||"/")+"assets/chunk-Rp0pCe6z.js",(globalThis.__boxelAssetsURL||"/")+"assets/preload-helper-CKDH5-7N.js",(globalThis.__boxelAssetsURL||"/")+"assets/validation-manifest-DCy3vpRF.js",(globalThis.__boxelAssetsURL||"/")+"assets/common-CEvPgPYE.js",(globalThis.__boxelAssetsURL||"/")+"assets/dateSerial-BN3LbIto.js",(globalThis.__boxelAssetsURL||"/")+"assets/nativeFilter-bBeaFw3F.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-DMlCi9TD.js",(globalThis.__boxelAssetsURL||"/")+"assets/mutation-Dt2VvgTF.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-DUSSy2-T.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-Q2PUhbKs.js",(globalThis.__boxelAssetsURL||"/")+"assets/dist-CSQ-y1Ft.js",(globalThis.__boxelAssetsURL||"/")+"assets/debug-Dg0TiPYl.js",(globalThis.__boxelAssetsURL||"/")+"assets/es-compat2-CZCbH4TS.js",(globalThis.__boxelAssetsURL||"/")+"assets/es-B1dO8RuH.js",(globalThis.__boxelAssetsURL||"/")+"assets/service-LFpJ8EEP.js",(globalThis.__boxelAssetsURL||"/")+"assets/cache-DtDz7X5V-Wn8jRDfL.js",(globalThis.__boxelAssetsURL||"/")+"assets/owner-CP0__uFm.js",(globalThis.__boxelAssetsURL||"/")+"assets/validator-T25d_ucg.js",(globalThis.__boxelAssetsURL||"/")+"assets/computed_cache-DmYKevAP-DyWE_fcK.js",(globalThis.__boxelAssetsURL||"/")+"assets/index-DaCZcoCY-CgzbilMy.js",(globalThis.__boxelAssetsURL||"/")+"assets/owner-BT6cj890.js",(globalThis.__boxelAssetsURL||"/")+"assets/alias-CPqbuwcg-B1_trmq0.js",(globalThis.__boxelAssetsURL||"/")+"assets/application-VoCE-EjL.js",(globalThis.__boxelAssetsURL||"/")+"assets/proxy-Br6ueHyJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/destroyable-mdLYRn_o.js",(globalThis.__boxelAssetsURL||"/")+"assets/template-factory-ds9s0u8l.js",(globalThis.__boxelAssetsURL||"/")+"assets/is-equal-CgIVjIN-.js",(globalThis.__boxelAssetsURL||"/")+"assets/managers-CbMgnSoo-yzoWKLy4.js",(globalThis.__boxelAssetsURL||"/")+"assets/layout-BLVwAVDW.js",(globalThis.__boxelAssetsURL||"/")+"assets/resolve-transition-DzuJi3OM.js",(globalThis.__boxelAssetsURL||"/")+"assets/speed-bIo0tyrM.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-CUN0zx7d.js",(globalThis.__boxelAssetsURL||"/")+"assets/steps-D0xobKkB.js",(globalThis.__boxelAssetsURL||"/")+"assets/dist-CkA1rgqO.js",(globalThis.__boxelAssetsURL||"/")+"assets/component-BJO47HTh.js",(globalThis.__boxelAssetsURL||"/")+"assets/dist-nMt-N14r.js",(globalThis.__boxelAssetsURL||"/")+"assets/modifier-D0EP-FQ7.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-BT39tUAI.js",(globalThis.__boxelAssetsURL||"/")+"assets/runtime--fcdnjmJ-BoCBNIsz.js",(globalThis.__boxelAssetsURL||"/")+"assets/tracking-CNiq91Pk.js",(globalThis.__boxelAssetsURL||"/")+"assets/run-BHxv4QQe.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-Bq3lg4hB.js",(globalThis.__boxelAssetsURL||"/")+"assets/node-DiRmD8xH.js",(globalThis.__boxelAssetsURL||"/")+"assets/layout-group-Dm1BtsJ2.js",(globalThis.__boxelAssetsURL||"/")+"assets/motion-config-CJGcDhO-.js",(globalThis.__boxelAssetsURL||"/")+"assets/item-Dfw4Xt3v.js",(globalThis.__boxelAssetsURL||"/")+"assets/motion-l7EBYFii.js",(globalThis.__boxelAssetsURL||"/")+"assets/presence-BK3mPbV3.js",(globalThis.__boxelAssetsURL||"/")+"assets/group-snE6gvmQ.js",(globalThis.__boxelAssetsURL||"/")+"assets/choreo-CJDBg03r.js",(globalThis.__boxelAssetsURL||"/")+"assets/choreo-B_0kVssy.js",(globalThis.__boxelAssetsURL||"/")+"assets/steps-aNa4m6PJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-BbGIINeQ.js",(globalThis.__boxelAssetsURL||"/")+"assets/test-support-dVdCmTGa.js",(globalThis.__boxelAssetsURL||"/")+"assets/film-Ca2Vzlfu.js",(globalThis.__boxelAssetsURL||"/")+"assets/clip-CoB714qX.js",(globalThis.__boxelAssetsURL||"/")+"assets/helper-m6jA5HmU.js",(globalThis.__boxelAssetsURL||"/")+"assets/film-5n9_gRqZ.js",(globalThis.__boxelAssetsURL||"/")+"assets/host-KVk6VIHI.js",(globalThis.__boxelAssetsURL||"/")+"assets/adjust--n_OTVbP.js",(globalThis.__boxelAssetsURL||"/")+"assets/nodes-BH4FGkKK.js",(globalThis.__boxelAssetsURL||"/")+"assets/joins-D_xzMJAJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/overlays-C6PM7oTd.js",(globalThis.__boxelAssetsURL||"/")+"assets/plate-Vojc88hM.js",(globalThis.__boxelAssetsURL||"/")+"assets/player-CmRw0uM5.js",(globalThis.__boxelAssetsURL||"/")+"assets/rail-CNspDFyn.js",(globalThis.__boxelAssetsURL||"/")+"assets/titles-BE_XnCe4.js",(globalThis.__boxelAssetsURL||"/")+"assets/picture-DbNWRbtX.js",(globalThis.__boxelAssetsURL||"/")+"assets/clip-BEVvLrXx.js",(globalThis.__boxelAssetsURL||"/")+"assets/film-DEvhBbBu.js",(globalThis.__boxelAssetsURL||"/")+"assets/adjust-tbcBqG-n.js",(globalThis.__boxelAssetsURL||"/")+"assets/host-DMN-E78f.js",(globalThis.__boxelAssetsURL||"/")+"assets/nodes-Cb9jGNmV.js",(globalThis.__boxelAssetsURL||"/")+"assets/joins-CFhtaZ7U.js",(globalThis.__boxelAssetsURL||"/")+"assets/overlays-DC_pYWjj.js",(globalThis.__boxelAssetsURL||"/")+"assets/picture-CPj4Wgsy.js",(globalThis.__boxelAssetsURL||"/")+"assets/plate-dTUzEMj5.js",(globalThis.__boxelAssetsURL||"/")+"assets/player-Dt85lPZl.js",(globalThis.__boxelAssetsURL||"/")+"assets/rail-D2YcQ0VP.js",(globalThis.__boxelAssetsURL||"/")+"assets/titles-C0GqiOU8.js",(globalThis.__boxelAssetsURL||"/")+"assets/src-DOKnNfG8.js",(globalThis.__boxelAssetsURL||"/")+"assets/store-tDubGN_j.js",(globalThis.__boxelAssetsURL||"/")+"assets/vanilla-BA1BUPFM.js",(globalThis.__boxelAssetsURL||"/")+"assets/layout-DVAINTLP.js",(globalThis.__boxelAssetsURL||"/")+"assets/lib.esm-CdDCG-7Y.js",(globalThis.__boxelAssetsURL||"/")+"assets/lib.esm-k4KIhRQO.js",(globalThis.__boxelAssetsURL||"/")+"assets/pdfjs-tq21NQBp.js",(globalThis.__boxelAssetsURL||"/")+"assets/esm-browser-ByMIQXWT.js",(globalThis.__boxelAssetsURL||"/")+"assets/esm-browser-CIYLo70w.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-ZN0_uldJ.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-B_4zqvM9.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-BpGk2ZmZ.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-CKBrcCxN.js",(globalThis.__boxelAssetsURL||"/")+"assets/constants-DaEn9XX4.js",(globalThis.__boxelAssetsURL||"/")+"assets/constants-CqKWhRfY.js",(globalThis.__boxelAssetsURL||"/")+"assets/paths-BYHDgqsT.js",(globalThis.__boxelAssetsURL||"/")+"assets/marked-sync-JNug1m12.js",(globalThis.__boxelAssetsURL||"/")+"assets/marked-sync-CdAo2KQA.js",(globalThis.__boxelAssetsURL||"/")+"assets/bfm-card-references-BplcpB1X.js",(globalThis.__boxelAssetsURL||"/")+"assets/dompurify-runtime-BResfr4t.js",(globalThis.__boxelAssetsURL||"/")+"assets/purify.es-CdJGJvFA.js",(globalThis.__boxelAssetsURL||"/")+"assets/bfm-card-references-D9BicvAc.js",(globalThis.__boxelAssetsURL||"/")+"assets/ai-CZXdzxai.js",(globalThis.__boxelAssetsURL||"/")+"assets/ai-CqDVSGbV.js",(globalThis.__boxelAssetsURL||"/")+"assets/card-directory-name-BjCyQ8FQ.js",(globalThis.__boxelAssetsURL||"/")+"assets/runtime-common-ClpqhbwG.js",(globalThis.__boxelAssetsURL||"/")+"assets/index-esm-CUymiD6S.js",(globalThis.__boxelAssetsURL||"/")+"assets/defineProperty-BzbzoKfB.js",(globalThis.__boxelAssetsURL||"/")+"assets/amd-transpile-DPkNHMXs.js",(globalThis.__boxelAssetsURL||"/")+"assets/browser-DBC8B1Th.js",(globalThis.__boxelAssetsURL||"/")+"assets/lodash-DnaZ_rzx.js",(globalThis.__boxelAssetsURL||"/")+"assets/loglevel-xo4L-Std.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import { i as __name, r as __exportAll, s as __toESM, t as __commonJSMin } from "./chunk-Rp0pCe6z.js";
|
|
3
|
+
import { n as decorateMethodV2, r as initializeDeferredDecorator, t as decorateFieldV2 } from "./runtime--fcdnjmJ-BoCBNIsz.js";
|
|
4
|
+
import { Ba as fallbackShim, Zt as esm_exports, ic as md5_esm_bundler_exports, m as runtime_common_exports, nc as init_md5_esm_bundler, za as PACKAGES_FAKE_ORIGIN } from "./runtime-common-ClpqhbwG.js";
|
|
5
|
+
import { t as lodash_exports } from "./lodash-DnaZ_rzx.js";
|
|
6
|
+
import { t as __vitePreload } from "./preload-helper-CKDH5-7N.js";
|
|
7
|
+
import { n as index_esm_exports } from "./index-esm-CUymiD6S.js";
|
|
8
|
+
import { c as warn } from "./debug-Dg0TiPYl.js";
|
|
9
|
+
import { Vn as guidFor, Z as setClassicDecorator, _ as addObserver, j as get, wt as setComponentTemplate, x as computed } from "./cache-DtDz7X5V-Wn8jRDfL.js";
|
|
10
|
+
import { _t as schedule, d as action, dt as join, f as object_exports, gt as runloop_exports, i as service_exports, lt as cancel, n as inject, r as service$4, vt as scheduleOnce } from "./service-LFpJ8EEP.js";
|
|
11
|
+
import { N as validator_exports, S as tagFor, h as dirtyTagFor, u as consumeTag } from "./validator-T25d_ucg.js";
|
|
12
|
+
import { a as set } from "./computed_cache-DmYKevAP-DyWE_fcK.js";
|
|
13
|
+
import { Ft as getViewBounds$1, H as templateFactory, ct as A, t as Component } from "./index-DaCZcoCY-CgzbilMy.js";
|
|
14
|
+
import { t as alias } from "./alias-CPqbuwcg-B1_trmq0.js";
|
|
15
|
+
import { t as destroyable_exports } from "./destroyable-mdLYRn_o.js";
|
|
16
|
+
import { n as macroCondition, t as isTesting } from "./runtime-9O0mNd7j.js";
|
|
17
|
+
import { t as async_arrow_runtime_exports } from "./async-arrow-runtime-STsj7E8Y.js";
|
|
18
|
+
import { t as rsvp_exports } from "./rsvp-BUQYrGTG.js";
|
|
19
|
+
import { t as dist_exports$2 } from "./dist-C2IXvIKX.js";
|
|
20
|
+
import { s as helper_exports } from "./helper-m6jA5HmU.js";
|
|
21
|
+
import { t as dist_exports$3 } from "./dist-B-fYvxfL.js";
|
|
22
|
+
import { t as dist_exports$4 } from "./dist-B9tGPKZz.js";
|
|
23
|
+
import { t as modifier_exports } from "./modifier-D0EP-FQ7.js";
|
|
24
|
+
import { t as component_exports } from "./component-BJO47HTh.js";
|
|
25
|
+
import { n as dist_exports$5, t as Component$1 } from "./dist-CkA1rgqO.js";
|
|
26
|
+
import "./metal-3rHwUpzF.js";
|
|
27
|
+
import { r as tracking_exports } from "./tracking-800VJb8b.js";
|
|
28
|
+
import { t as template_factory_exports } from "./template-factory-ds9s0u8l.js";
|
|
29
|
+
import { n as template_only_exports } from "./template-only-6nVzLWF-.js";
|
|
30
|
+
import { t as helpers_exports } from "./helpers-BN6ReMzK.js";
|
|
31
|
+
import { X as ElementHelper, t as components_exports, u as modifiers_exports } from "./components-Ct_agx0G.js";
|
|
32
|
+
import { t as icons_exports } from "./icons-B3SAtRoj.js";
|
|
33
|
+
import { t as template_exports } from "./template-C81fYDrq.js";
|
|
34
|
+
import { n as dist_exports$6 } from "./dist-D2_TiMFf.js";
|
|
35
|
+
import { t as internals_exports } from "./internals-BTorg710.js";
|
|
36
|
+
import { n as dist_exports$7, r as modifier } from "./dist-nMt-N14r.js";
|
|
37
|
+
import { i as floating_ui_dom_exports } from "./dist-CdNZu43l.js";
|
|
38
|
+
import { t as dist_exports$8 } from "./dist-DEVZvbin.js";
|
|
39
|
+
import { a as hasContext, i as getContextValue, n as dist_exports$9, s as setContextMetadataOnContextProviderInstance } from "./dist-Ble0L9o7.js";
|
|
40
|
+
import { t as browser_index_exports } from "./browser-index-WJHA2DY5.js";
|
|
41
|
+
import { t as dist_exports$10 } from "./dist-BOAdzfkP.js";
|
|
42
|
+
import "./views-B3PJv4Qn.js";
|
|
43
|
+
import { t as src_exports } from "./src-Bq3lg4hB.js";
|
|
44
|
+
import { n as item_exports } from "./item-Dfw4Xt3v.js";
|
|
45
|
+
import { r as layout_group_exports } from "./layout-group-Dm1BtsJ2.js";
|
|
46
|
+
import { r as motion_config_exports } from "./motion-config-CJGcDhO-.js";
|
|
47
|
+
import { n as presence_exports } from "./presence-BK3mPbV3.js";
|
|
48
|
+
import { n as group_exports } from "./group-snE6gvmQ.js";
|
|
49
|
+
import { n as pdfjs_loader_exports } from "./pdfjs-loader-ELvIpnbZ.js";
|
|
50
|
+
import { n as signed_capture_exports } from "./signed-capture-DUR9PohQ.js";
|
|
51
|
+
import { n as three_loader_exports } from "./three-loader-DNsH2465.js";
|
|
52
|
+
import { n as shimHostTools } from "./tools-CTjy7Aub.js";
|
|
53
|
+
//#region ../../node_modules/.pnpm/@cardstack+view-transitions@0.2.0_@babel+core@7.29.7_supports-color@8.1.1__ember-modifi_83ee960449b91cd91d58780597434c5f/node_modules/@cardstack/view-transitions/dist/index.js
|
|
54
|
+
var dist_exports$1 = /* @__PURE__ */ __exportAll({
|
|
55
|
+
animatable: () => animatable,
|
|
56
|
+
viewTransitionName: () => viewTransitionName
|
|
57
|
+
});
|
|
58
|
+
function animatable(initialValue, opts) {
|
|
59
|
+
return new AnimatableImpl(initialValue, opts?.equals ?? Object.is);
|
|
60
|
+
}
|
|
61
|
+
var viewTransitionName = modifier(function(element, parts) {
|
|
62
|
+
element.style.viewTransitionName = parts.map((p) => String(p)).join("");
|
|
63
|
+
});
|
|
64
|
+
function waitForRender() {
|
|
65
|
+
return new Promise((resolve) => {
|
|
66
|
+
schedule("afterRender", () => {
|
|
67
|
+
resolve();
|
|
68
|
+
});
|
|
69
|
+
});
|
|
70
|
+
}
|
|
71
|
+
var AnimatableImpl = class {
|
|
72
|
+
#current;
|
|
73
|
+
#equals;
|
|
74
|
+
constructor(initial, equals) {
|
|
75
|
+
this.#current = initial;
|
|
76
|
+
this.#equals = equals;
|
|
77
|
+
}
|
|
78
|
+
get current() {
|
|
79
|
+
consumeTag(tagFor(this, "current"));
|
|
80
|
+
return this.#current;
|
|
81
|
+
}
|
|
82
|
+
#set(newValue) {
|
|
83
|
+
dirtyTagFor(this, "current");
|
|
84
|
+
this.#current = newValue;
|
|
85
|
+
}
|
|
86
|
+
set = (newValue) => {
|
|
87
|
+
if (this.#equals(this.#current, newValue)) return;
|
|
88
|
+
if (!document.startViewTransition) {
|
|
89
|
+
this.#set(newValue);
|
|
90
|
+
return;
|
|
91
|
+
}
|
|
92
|
+
document.startViewTransition(async () => {
|
|
93
|
+
this.#set(newValue);
|
|
94
|
+
await waitForRender();
|
|
95
|
+
});
|
|
96
|
+
};
|
|
97
|
+
};
|
|
98
|
+
//#endregion
|
|
99
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/singleton.js
|
|
100
|
+
window.emberAnimatedSingleton = window.emberAnimatedSingleton || {};
|
|
101
|
+
function getOrCreate$3(key, construct) {
|
|
102
|
+
const symbol = Symbol.for(key);
|
|
103
|
+
if (!(Object.getOwnPropertySymbols(window.emberAnimatedSingleton).indexOf(symbol) > -1)) window.emberAnimatedSingleton[symbol] = construct();
|
|
104
|
+
return window.emberAnimatedSingleton[symbol];
|
|
105
|
+
}
|
|
106
|
+
__name(getOrCreate$3, "getOrCreate");
|
|
107
|
+
//#endregion
|
|
108
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/concurrency-helpers.js
|
|
109
|
+
function getOrCreate$2(key, construct) {
|
|
110
|
+
return getOrCreate$3(`concurrency-helpers.${key}`, construct);
|
|
111
|
+
}
|
|
112
|
+
__name(getOrCreate$2, "getOrCreate");
|
|
113
|
+
var frameState = getOrCreate$2("frameState", () => ({
|
|
114
|
+
nextFrame: null,
|
|
115
|
+
nextFrameWaiters: [],
|
|
116
|
+
currentFrameClock: -Infinity
|
|
117
|
+
}));
|
|
118
|
+
var cancellation = getOrCreate$2("cancellation", () => /* @__PURE__ */ new WeakMap());
|
|
119
|
+
function registerCancellation(promise, handler) {
|
|
120
|
+
cancellation.set(promise, handler);
|
|
121
|
+
}
|
|
122
|
+
function fireCancellation(promise) {
|
|
123
|
+
let fn = cancellation.get(promise);
|
|
124
|
+
if (fn) fn(promise);
|
|
125
|
+
}
|
|
126
|
+
function rAF() {
|
|
127
|
+
if (!frameState.nextFrame) frameState.nextFrame = requestAnimationFrame(rAFDidFire);
|
|
128
|
+
let resolve;
|
|
129
|
+
let promise = new Promise((r) => {
|
|
130
|
+
resolve = r;
|
|
131
|
+
});
|
|
132
|
+
frameState.nextFrameWaiters.push({
|
|
133
|
+
resolve,
|
|
134
|
+
promise
|
|
135
|
+
});
|
|
136
|
+
registerCancellation(promise, removeWaiter);
|
|
137
|
+
return promise;
|
|
138
|
+
}
|
|
139
|
+
function rAFDidFire(clock) {
|
|
140
|
+
frameState.nextFrame = null;
|
|
141
|
+
frameState.currentFrameClock = clock;
|
|
142
|
+
let waiters = frameState.nextFrameWaiters;
|
|
143
|
+
frameState.nextFrameWaiters = [];
|
|
144
|
+
for (const waiter of waiters) waiter.resolve();
|
|
145
|
+
}
|
|
146
|
+
function removeWaiter(promise) {
|
|
147
|
+
let pair = frameState.nextFrameWaiters.find((pair) => pair.promise === promise);
|
|
148
|
+
if (pair) {
|
|
149
|
+
let index = frameState.nextFrameWaiters.indexOf(pair);
|
|
150
|
+
if (index > -1) frameState.nextFrameWaiters.splice(index, 1);
|
|
151
|
+
}
|
|
152
|
+
}
|
|
153
|
+
function microwait() {
|
|
154
|
+
return new Promise((resolve) => resolve());
|
|
155
|
+
}
|
|
156
|
+
function wait(ms = 0) {
|
|
157
|
+
if (clock.now === originalClock) {
|
|
158
|
+
let ticket;
|
|
159
|
+
let promise = new Promise((resolve) => {
|
|
160
|
+
ticket = window.setTimeout(resolve, ms);
|
|
161
|
+
});
|
|
162
|
+
registerCancellation(promise, () => {
|
|
163
|
+
clearTimeout(ticket);
|
|
164
|
+
});
|
|
165
|
+
return promise;
|
|
166
|
+
} else {
|
|
167
|
+
let canceled = false;
|
|
168
|
+
let started = clock.now();
|
|
169
|
+
let promise = new Promise((resolve) => {
|
|
170
|
+
function checkIt() {
|
|
171
|
+
if (!canceled) {
|
|
172
|
+
if (clock.now() - started > ms) resolve();
|
|
173
|
+
rAF().then(checkIt);
|
|
174
|
+
}
|
|
175
|
+
}
|
|
176
|
+
checkIt();
|
|
177
|
+
});
|
|
178
|
+
registerCancellation(promise, () => {
|
|
179
|
+
canceled = true;
|
|
180
|
+
});
|
|
181
|
+
return promise;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
function afterRender() {
|
|
185
|
+
let ticket;
|
|
186
|
+
let promise = new Promise((resolve) => {
|
|
187
|
+
ticket = schedule("afterRender", () => resolve());
|
|
188
|
+
});
|
|
189
|
+
registerCancellation(promise, () => {
|
|
190
|
+
cancel(ticket);
|
|
191
|
+
});
|
|
192
|
+
return promise;
|
|
193
|
+
}
|
|
194
|
+
var clock = getOrCreate$2("clock", () => ({ now() {
|
|
195
|
+
return (/* @__PURE__ */ new Date()).getTime();
|
|
196
|
+
} }));
|
|
197
|
+
var originalClock = getOrCreate$2("originalClock", () => clock.now);
|
|
198
|
+
function allSettled(promises) {
|
|
199
|
+
return Promise.all(promises.map((p) => {
|
|
200
|
+
if (p) return p.catch(() => null);
|
|
201
|
+
}));
|
|
202
|
+
}
|
|
203
|
+
//#endregion
|
|
204
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/scheduler.js
|
|
205
|
+
function getOrCreate$1(key, construct) {
|
|
206
|
+
return getOrCreate$3(`scheduler.${key}`, construct);
|
|
207
|
+
}
|
|
208
|
+
__name(getOrCreate$1, "getOrCreate");
|
|
209
|
+
function spawn(genFn) {
|
|
210
|
+
return new MicroRoutine(genFn, false).promise;
|
|
211
|
+
}
|
|
212
|
+
function spawnChild(genFn) {
|
|
213
|
+
return new MicroRoutine(genFn, true).promise;
|
|
214
|
+
}
|
|
215
|
+
function stop(microRoutinePromise) {
|
|
216
|
+
if (microRoutinePromise === current()) {
|
|
217
|
+
let e = /* @__PURE__ */ new Error("TaskCancelation");
|
|
218
|
+
e.message = "TaskCancelation";
|
|
219
|
+
throw e;
|
|
220
|
+
}
|
|
221
|
+
let microRoutine = microRoutines.get(microRoutinePromise);
|
|
222
|
+
if (microRoutine) microRoutine.stop();
|
|
223
|
+
}
|
|
224
|
+
function logErrors(fn) {
|
|
225
|
+
ensureCurrent("logErrors").errorLogger = fn;
|
|
226
|
+
}
|
|
227
|
+
function current() {
|
|
228
|
+
let cur = getCurrent();
|
|
229
|
+
if (cur) return cur.promise;
|
|
230
|
+
}
|
|
231
|
+
async function childrenSettled() {
|
|
232
|
+
return Promise.all(ensureCurrent("childrenSettled").linked.map((child) => child.promise.catch(() => null)));
|
|
233
|
+
}
|
|
234
|
+
function isTaskCancelationError(x) {
|
|
235
|
+
return x.message === "TaskCancelation";
|
|
236
|
+
}
|
|
237
|
+
var withCurrent;
|
|
238
|
+
var getCurrent;
|
|
239
|
+
var onStack;
|
|
240
|
+
{
|
|
241
|
+
const routines = getOrCreate$1("routines", () => ({
|
|
242
|
+
cur: void 0,
|
|
243
|
+
prior: []
|
|
244
|
+
}));
|
|
245
|
+
withCurrent = function(routine, fn) {
|
|
246
|
+
routines.prior.unshift({
|
|
247
|
+
microroutine: routines.cur,
|
|
248
|
+
throw: void 0
|
|
249
|
+
});
|
|
250
|
+
routines.cur = routine;
|
|
251
|
+
try {
|
|
252
|
+
return fn();
|
|
253
|
+
} finally {
|
|
254
|
+
let restore = routines.prior.shift();
|
|
255
|
+
routines.cur = restore.microroutine;
|
|
256
|
+
if (restore.throw) throw restore.throw;
|
|
257
|
+
}
|
|
258
|
+
};
|
|
259
|
+
getCurrent = function() {
|
|
260
|
+
return routines.cur;
|
|
261
|
+
};
|
|
262
|
+
onStack = function(microroutine) {
|
|
263
|
+
return routines.prior.find((entry) => entry.microroutine === microroutine);
|
|
264
|
+
};
|
|
265
|
+
}
|
|
266
|
+
function ensureCurrent(label) {
|
|
267
|
+
let cur = getCurrent();
|
|
268
|
+
if (!cur) throw new Error(`${label}: only works inside a running microroutine`);
|
|
269
|
+
return cur;
|
|
270
|
+
}
|
|
271
|
+
var loggedErrors = getOrCreate$1("loggedErrors", () => /* @__PURE__ */ new WeakSet());
|
|
272
|
+
var microRoutines = getOrCreate$1("microRoutines", () => /* @__PURE__ */ new WeakMap());
|
|
273
|
+
var MicroRoutine = class {
|
|
274
|
+
generator;
|
|
275
|
+
resolve;
|
|
276
|
+
reject;
|
|
277
|
+
stopped = false;
|
|
278
|
+
state;
|
|
279
|
+
linked = [];
|
|
280
|
+
errorLogger;
|
|
281
|
+
promise;
|
|
282
|
+
constructor(genFn, linkToParent) {
|
|
283
|
+
this.generator = genFn();
|
|
284
|
+
this.promise = new Promise((res, rej) => {
|
|
285
|
+
this.resolve = res;
|
|
286
|
+
this.reject = rej;
|
|
287
|
+
});
|
|
288
|
+
microRoutines.set(this.promise, this);
|
|
289
|
+
registerCancellation(this.promise, this.stop.bind(this));
|
|
290
|
+
if (linkToParent) {
|
|
291
|
+
let parent = ensureCurrent("spawnChild");
|
|
292
|
+
parent.linked.push(this);
|
|
293
|
+
this.errorLogger = parent.errorLogger;
|
|
294
|
+
}
|
|
295
|
+
this.wake("fulfilled", void 0);
|
|
296
|
+
}
|
|
297
|
+
wake(state, value) {
|
|
298
|
+
if (this.stopped) return;
|
|
299
|
+
withCurrent(this, () => {
|
|
300
|
+
try {
|
|
301
|
+
if (state === "fulfilled") this.state = this.generator.next(value);
|
|
302
|
+
else this.state = this.generator.throw(value);
|
|
303
|
+
if (this.state.done) this.resolve(this.state.value);
|
|
304
|
+
else Promise.resolve(this.state.value).then((value) => this.wake("fulfilled", value), (reason) => this.wake("rejected", reason));
|
|
305
|
+
} catch (err) {
|
|
306
|
+
this.state = {
|
|
307
|
+
done: true,
|
|
308
|
+
value: void 0
|
|
309
|
+
};
|
|
310
|
+
this.linked.forEach((microRoutine) => {
|
|
311
|
+
microRoutine.stop();
|
|
312
|
+
});
|
|
313
|
+
if (!isTaskCancelationError(err)) {
|
|
314
|
+
this.reject(err);
|
|
315
|
+
if (this.errorLogger) {
|
|
316
|
+
if (!loggedErrors.has(err)) {
|
|
317
|
+
loggedErrors.add(err);
|
|
318
|
+
this.errorLogger.call(null, err);
|
|
319
|
+
}
|
|
320
|
+
}
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
});
|
|
324
|
+
}
|
|
325
|
+
stop() {
|
|
326
|
+
this.stopped = true;
|
|
327
|
+
if (this.state && isPromise(this.state.value)) fireCancellation(this.state.value);
|
|
328
|
+
this.linked.forEach((microRoutine) => {
|
|
329
|
+
microRoutine.stop();
|
|
330
|
+
});
|
|
331
|
+
let e = /* @__PURE__ */ new Error("TaskCancelation");
|
|
332
|
+
e.message = "TaskCancelation";
|
|
333
|
+
if (getCurrent() === this) throw e;
|
|
334
|
+
let s = onStack(this);
|
|
335
|
+
if (s) s.throw = e;
|
|
336
|
+
else withCurrent(this, () => cancelGenerator(this.generator));
|
|
337
|
+
}
|
|
338
|
+
};
|
|
339
|
+
function cancelGenerator(generator) {
|
|
340
|
+
let e = /* @__PURE__ */ new Error("TaskCancelation");
|
|
341
|
+
e.message = "TaskCancelation";
|
|
342
|
+
try {
|
|
343
|
+
generator.throw(e);
|
|
344
|
+
} catch (err) {
|
|
345
|
+
if (!isTaskCancelationError(err)) throw err;
|
|
346
|
+
}
|
|
347
|
+
}
|
|
348
|
+
function isPromise(thing) {
|
|
349
|
+
return thing && typeof thing.then === "function";
|
|
350
|
+
}
|
|
351
|
+
function parallel(...functions) {
|
|
352
|
+
return function(...args) {
|
|
353
|
+
return Promise.all(functions.map((f) => f.apply(null, args)));
|
|
354
|
+
};
|
|
355
|
+
}
|
|
356
|
+
function serial(...functions) {
|
|
357
|
+
return function(...args) {
|
|
358
|
+
return spawnChild(function* () {
|
|
359
|
+
for (let fn of functions) yield fn.apply(null, args);
|
|
360
|
+
});
|
|
361
|
+
};
|
|
362
|
+
}
|
|
363
|
+
//#endregion
|
|
364
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/ember-scheduler.js
|
|
365
|
+
function getOrCreate(key, construct) {
|
|
366
|
+
return getOrCreate$3(`ember-scheduler.${key}`, construct);
|
|
367
|
+
}
|
|
368
|
+
function task(taskFn) {
|
|
369
|
+
let tp = _computed(function(propertyName) {
|
|
370
|
+
return new Task(this, taskFn, tp, propertyName);
|
|
371
|
+
});
|
|
372
|
+
Object.setPrototypeOf(tp, TaskProperty.prototype);
|
|
373
|
+
return tp;
|
|
374
|
+
}
|
|
375
|
+
function _computed(fn) {
|
|
376
|
+
let cp = function(proto, key) {
|
|
377
|
+
if (cp.setup !== void 0) cp.setup(proto, key);
|
|
378
|
+
return computed(fn)(...arguments);
|
|
379
|
+
};
|
|
380
|
+
setClassicDecorator(cp);
|
|
381
|
+
return cp;
|
|
382
|
+
}
|
|
383
|
+
var handlerCounter = 0;
|
|
384
|
+
var BaseTaskProperty = class {};
|
|
385
|
+
var TaskProperty = class extends BaseTaskProperty {
|
|
386
|
+
_bufferPolicy;
|
|
387
|
+
_observes;
|
|
388
|
+
restartable() {
|
|
389
|
+
this._bufferPolicy = cancelAllButLast;
|
|
390
|
+
return this;
|
|
391
|
+
}
|
|
392
|
+
drop() {
|
|
393
|
+
this._bufferPolicy = drop;
|
|
394
|
+
return this;
|
|
395
|
+
}
|
|
396
|
+
observes(...deps) {
|
|
397
|
+
this._observes = deps;
|
|
398
|
+
return this;
|
|
399
|
+
}
|
|
400
|
+
setup(proto, taskName) {
|
|
401
|
+
if (super.setup) super.setup(...arguments);
|
|
402
|
+
if (this._observes) {
|
|
403
|
+
let handlerName = `_ember_animated_handler_${handlerCounter++}`;
|
|
404
|
+
proto[handlerName] = function() {
|
|
405
|
+
let task = this[taskName];
|
|
406
|
+
scheduleOnce("actions", task, "_safePerform");
|
|
407
|
+
};
|
|
408
|
+
for (let i = 0; i < this._observes.length; ++i) {
|
|
409
|
+
let name = this._observes[i];
|
|
410
|
+
addObserver(proto, name, null, handlerName);
|
|
411
|
+
}
|
|
412
|
+
}
|
|
413
|
+
}
|
|
414
|
+
};
|
|
415
|
+
var priv = getOrCreate("priv", () => /* @__PURE__ */ new WeakMap());
|
|
416
|
+
function getPriv(task) {
|
|
417
|
+
return priv.get(task);
|
|
418
|
+
}
|
|
419
|
+
var Task = class {
|
|
420
|
+
concurrency = 0;
|
|
421
|
+
isRunning = false;
|
|
422
|
+
constructor(context, implementation, taskProperty, name) {
|
|
423
|
+
priv.set(this, {
|
|
424
|
+
context,
|
|
425
|
+
implementation,
|
|
426
|
+
instances: [],
|
|
427
|
+
taskProperty,
|
|
428
|
+
name
|
|
429
|
+
});
|
|
430
|
+
}
|
|
431
|
+
perform(...args) {
|
|
432
|
+
let self = this;
|
|
433
|
+
let privSelf = getPriv(this);
|
|
434
|
+
let context = privSelf.context;
|
|
435
|
+
let implementation = privSelf.implementation;
|
|
436
|
+
let policy = privSelf.taskProperty._bufferPolicy;
|
|
437
|
+
if (context.isDestroyed) throw new Error(`Tried to perform task ${privSelf.name} on an already destroyed object`);
|
|
438
|
+
cleanupOnDestroy(context, this);
|
|
439
|
+
return spawn(function* () {
|
|
440
|
+
logErrors((error) => {
|
|
441
|
+
microwait().then(() => {
|
|
442
|
+
throw error;
|
|
443
|
+
});
|
|
444
|
+
});
|
|
445
|
+
try {
|
|
446
|
+
self._addInstance(current());
|
|
447
|
+
if (policy) {
|
|
448
|
+
let maybeWait = policy(self, privSelf);
|
|
449
|
+
if (maybeWait) yield maybeWait;
|
|
450
|
+
}
|
|
451
|
+
return yield* withRunLoop(implementation.call(context, ...args));
|
|
452
|
+
} finally {
|
|
453
|
+
join(() => {
|
|
454
|
+
self._removeInstance(current());
|
|
455
|
+
});
|
|
456
|
+
}
|
|
457
|
+
});
|
|
458
|
+
}
|
|
459
|
+
cancelAll() {
|
|
460
|
+
getPriv(this).instances.forEach((i) => stop(i));
|
|
461
|
+
}
|
|
462
|
+
_addInstance(i) {
|
|
463
|
+
getPriv(this).instances.push(i);
|
|
464
|
+
set(this, "isRunning", true);
|
|
465
|
+
set(this, "concurrency", this.concurrency + 1);
|
|
466
|
+
}
|
|
467
|
+
_removeInstance(i) {
|
|
468
|
+
let instances = getPriv(this).instances;
|
|
469
|
+
instances.splice(instances.indexOf(i), 1);
|
|
470
|
+
set(this, "concurrency", this.concurrency - 1);
|
|
471
|
+
set(this, "isRunning", this.concurrency > 0);
|
|
472
|
+
}
|
|
473
|
+
_safePerform() {
|
|
474
|
+
let { context } = getPriv(this);
|
|
475
|
+
if (!context.isDestroyed) this.perform();
|
|
476
|
+
}
|
|
477
|
+
};
|
|
478
|
+
function cleanupOnDestroy(owner, object) {
|
|
479
|
+
if (!owner.willDestroy) return;
|
|
480
|
+
if (!owner.willDestroy.__ember_processes_destroyers__) {
|
|
481
|
+
let oldWillDestroy = owner.willDestroy;
|
|
482
|
+
let disposers = [];
|
|
483
|
+
owner.willDestroy = function() {
|
|
484
|
+
for (const disposer of disposers) disposer();
|
|
485
|
+
oldWillDestroy.apply(owner, arguments);
|
|
486
|
+
};
|
|
487
|
+
owner.willDestroy.__ember_processes_destroyers__ = disposers;
|
|
488
|
+
}
|
|
489
|
+
owner.willDestroy.__ember_processes_destroyers__.push(() => {
|
|
490
|
+
try {
|
|
491
|
+
object.cancelAll();
|
|
492
|
+
} catch (err) {
|
|
493
|
+
if (err.message !== "TaskCancelation") throw err;
|
|
494
|
+
}
|
|
495
|
+
});
|
|
496
|
+
}
|
|
497
|
+
function cancelAllButLast(_task, privTask) {
|
|
498
|
+
const instances = privTask.instances;
|
|
499
|
+
for (const instance of instances.slice(0, -1)) stop(instance);
|
|
500
|
+
}
|
|
501
|
+
function drop(_task, privTask) {
|
|
502
|
+
let instances = privTask.instances;
|
|
503
|
+
for (let i = 1; i < instances.length; i++) stop(instances[i]);
|
|
504
|
+
}
|
|
505
|
+
function* withRunLoop(generator) {
|
|
506
|
+
let state;
|
|
507
|
+
let threw;
|
|
508
|
+
let nextValue;
|
|
509
|
+
let fulfilled = true;
|
|
510
|
+
while (true) {
|
|
511
|
+
join(() => {
|
|
512
|
+
try {
|
|
513
|
+
if (fulfilled) state = generator.next(nextValue);
|
|
514
|
+
else state = generator.throw(nextValue);
|
|
515
|
+
} catch (err) {
|
|
516
|
+
threw = err;
|
|
517
|
+
}
|
|
518
|
+
});
|
|
519
|
+
if (threw) throw threw;
|
|
520
|
+
if (state.done) return state.value;
|
|
521
|
+
try {
|
|
522
|
+
nextValue = yield state.value;
|
|
523
|
+
fulfilled = true;
|
|
524
|
+
} catch (err) {
|
|
525
|
+
nextValue = err;
|
|
526
|
+
fulfilled = false;
|
|
527
|
+
}
|
|
528
|
+
}
|
|
529
|
+
}
|
|
530
|
+
//#endregion
|
|
531
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/debug.js
|
|
532
|
+
var printSprites = function printSprites(context, label) {
|
|
533
|
+
let isOrphan = null;
|
|
534
|
+
let prefix = label ? label + " " : "";
|
|
535
|
+
let spriteSummary = [
|
|
536
|
+
"inserted",
|
|
537
|
+
"kept",
|
|
538
|
+
"removed",
|
|
539
|
+
"sent",
|
|
540
|
+
"received"
|
|
541
|
+
].map((type) => {
|
|
542
|
+
return type + "=" + context[`_${type}Sprites`].map((s) => {
|
|
543
|
+
if (isOrphan == null) isOrphan = !s.element.parentElement || s.element.parentElement.classList.contains("animated-orphans");
|
|
544
|
+
return s.owner.id;
|
|
545
|
+
}).join(",");
|
|
546
|
+
}).join(" | ");
|
|
547
|
+
console.log(prefix + spriteSummary + (isOrphan ? " | (orphan)" : ""));
|
|
548
|
+
};
|
|
549
|
+
//#endregion
|
|
550
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/motion-bridge.js
|
|
551
|
+
var bridges = getOrCreate$3("motion-bridges", () => /* @__PURE__ */ new WeakMap());
|
|
552
|
+
function continueMotions(oldElement, newElement) {
|
|
553
|
+
bridges.set(newElement, oldElement);
|
|
554
|
+
rAF().then(() => {
|
|
555
|
+
if (bridges.get(newElement) === oldElement) bridges.delete(newElement);
|
|
556
|
+
});
|
|
557
|
+
}
|
|
558
|
+
function continuedFromElement(newElement) {
|
|
559
|
+
return bridges.get(newElement);
|
|
560
|
+
}
|
|
561
|
+
//#endregion
|
|
562
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/transition-context.js
|
|
563
|
+
var spriteContext = getOrCreate$3("transition-context", () => /* @__PURE__ */ new WeakMap());
|
|
564
|
+
function* runToCompletion(context, transition) {
|
|
565
|
+
yield* transition(context);
|
|
566
|
+
yield childrenSettled();
|
|
567
|
+
}
|
|
568
|
+
var TransitionContext = class {
|
|
569
|
+
static forSprite(sprite) {
|
|
570
|
+
return spriteContext.get(sprite);
|
|
571
|
+
}
|
|
572
|
+
_prepared = /* @__PURE__ */ new Set();
|
|
573
|
+
prepareSprite;
|
|
574
|
+
constructor(_duration, _insertedSprites, _keptSprites, _removedSprites, _sentSprites, _receivedSprites, _beacons, onMotionStart, onMotionEnd) {
|
|
575
|
+
this._duration = _duration;
|
|
576
|
+
this._insertedSprites = _insertedSprites;
|
|
577
|
+
this._keptSprites = _keptSprites;
|
|
578
|
+
this._removedSprites = _removedSprites;
|
|
579
|
+
this._sentSprites = _sentSprites;
|
|
580
|
+
this._receivedSprites = _receivedSprites;
|
|
581
|
+
this._beacons = _beacons;
|
|
582
|
+
this.onMotionStart = onMotionStart;
|
|
583
|
+
this.onMotionEnd = onMotionEnd;
|
|
584
|
+
}
|
|
585
|
+
get duration() {
|
|
586
|
+
return this._duration;
|
|
587
|
+
}
|
|
588
|
+
get insertedSprites() {
|
|
589
|
+
return this._prepareSprites(this._insertedSprites);
|
|
590
|
+
}
|
|
591
|
+
get keptSprites() {
|
|
592
|
+
return this._prepareSprites(this._keptSprites);
|
|
593
|
+
}
|
|
594
|
+
get removedSprites() {
|
|
595
|
+
return this._prepareSprites(this._removedSprites);
|
|
596
|
+
}
|
|
597
|
+
get sentSprites() {
|
|
598
|
+
return this._prepareSprites(this._sentSprites);
|
|
599
|
+
}
|
|
600
|
+
get receivedSprites() {
|
|
601
|
+
return this._prepareSprites(this._receivedSprites);
|
|
602
|
+
}
|
|
603
|
+
get beacons() {
|
|
604
|
+
return this._beacons;
|
|
605
|
+
}
|
|
606
|
+
_prepareSprites(sprites) {
|
|
607
|
+
sprites.forEach((sprite) => {
|
|
608
|
+
spriteContext.set(sprite, this);
|
|
609
|
+
});
|
|
610
|
+
if (!this.prepareSprite) return sprites;
|
|
611
|
+
return sprites.map((sprite) => {
|
|
612
|
+
if (!this._prepared.has(sprite)) {
|
|
613
|
+
this._prepared.add(sprite);
|
|
614
|
+
sprite = this.prepareSprite(sprite);
|
|
615
|
+
}
|
|
616
|
+
return sprite;
|
|
617
|
+
});
|
|
618
|
+
}
|
|
619
|
+
};
|
|
620
|
+
//#endregion
|
|
621
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/motion.js
|
|
622
|
+
var motions = getOrCreate$3("motion", () => /* @__PURE__ */ new WeakMap());
|
|
623
|
+
var Motion = class {
|
|
624
|
+
_motionList;
|
|
625
|
+
_inheritedMotionList;
|
|
626
|
+
constructor(sprite, opts = {}) {
|
|
627
|
+
this.sprite = sprite;
|
|
628
|
+
this.opts = opts;
|
|
629
|
+
this.sprite = sprite;
|
|
630
|
+
this.opts = opts;
|
|
631
|
+
this._setupMotionList();
|
|
632
|
+
}
|
|
633
|
+
get duration() {
|
|
634
|
+
if (this.opts.duration != null) return this.opts.duration;
|
|
635
|
+
return TransitionContext.forSprite(this.sprite).duration;
|
|
636
|
+
}
|
|
637
|
+
run() {
|
|
638
|
+
let context = TransitionContext.forSprite(this.sprite);
|
|
639
|
+
let self = this;
|
|
640
|
+
return spawnChild(function* () {
|
|
641
|
+
context.onMotionStart(self.sprite);
|
|
642
|
+
try {
|
|
643
|
+
yield* self._run();
|
|
644
|
+
} finally {
|
|
645
|
+
context.onMotionEnd(self.sprite);
|
|
646
|
+
}
|
|
647
|
+
});
|
|
648
|
+
}
|
|
649
|
+
interrupted(_otherMotions) {}
|
|
650
|
+
*animate() {}
|
|
651
|
+
*_run() {
|
|
652
|
+
try {
|
|
653
|
+
let others = this._motionList.filter((m) => m !== this);
|
|
654
|
+
if (this._inheritedMotionList) others = others.concat(this._inheritedMotionList);
|
|
655
|
+
if (others.length > 0) this.interrupted(others);
|
|
656
|
+
yield* this.animate();
|
|
657
|
+
} finally {
|
|
658
|
+
rAF().then(() => this._clearMotionList());
|
|
659
|
+
}
|
|
660
|
+
}
|
|
661
|
+
_setupMotionList() {
|
|
662
|
+
let element = this.sprite.element;
|
|
663
|
+
let motionList = motions.get(element);
|
|
664
|
+
if (!motionList) motions.set(element, motionList = []);
|
|
665
|
+
this._motionList = motionList;
|
|
666
|
+
microwait().then(() => {
|
|
667
|
+
if (this._motionList) this._motionList.unshift(this);
|
|
668
|
+
});
|
|
669
|
+
let oldElement = continuedFromElement(element);
|
|
670
|
+
if (oldElement) {
|
|
671
|
+
let inheritedMotions = motions.get(oldElement);
|
|
672
|
+
if (inheritedMotions) this._inheritedMotionList = inheritedMotions;
|
|
673
|
+
}
|
|
674
|
+
}
|
|
675
|
+
_clearMotionList() {
|
|
676
|
+
if (this._motionList) {
|
|
677
|
+
let index = this._motionList.indexOf(this);
|
|
678
|
+
this._motionList.splice(index, 1);
|
|
679
|
+
if (this._motionList.length === 0) motions.delete(this.sprite.element);
|
|
680
|
+
this._motionList = void 0;
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
};
|
|
684
|
+
//#endregion
|
|
685
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/easings/cosine.js
|
|
686
|
+
var cosine_exports = /* @__PURE__ */ __exportAll({
|
|
687
|
+
easeIn: () => easeIn,
|
|
688
|
+
easeInAndOut: () => easeInAndOut,
|
|
689
|
+
easeOut: () => easeOut
|
|
690
|
+
});
|
|
691
|
+
function easeInAndOut(t) {
|
|
692
|
+
return .5 - Math.cos(t * Math.PI) / 2;
|
|
693
|
+
}
|
|
694
|
+
var adjust = 1 / 2 + 1 / Math.PI;
|
|
695
|
+
var cutover = 1 / (2 * adjust);
|
|
696
|
+
var b = (2 - Math.PI) / 4;
|
|
697
|
+
var m = Math.PI / 2 * adjust;
|
|
698
|
+
function easeIn(t) {
|
|
699
|
+
if (t < cutover) return easeInAndOut(t * adjust);
|
|
700
|
+
else return m * t + b;
|
|
701
|
+
}
|
|
702
|
+
function easeOut(t) {
|
|
703
|
+
return 1 - easeIn(1 - t);
|
|
704
|
+
}
|
|
705
|
+
//#endregion
|
|
706
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/tween.js
|
|
707
|
+
var currentCurves = getOrCreate$3("tween", () => []);
|
|
708
|
+
var Tween = class {
|
|
709
|
+
curve;
|
|
710
|
+
diff;
|
|
711
|
+
constructor(initialValue, finalValue, duration, easing = easeInAndOut) {
|
|
712
|
+
this.initialValue = initialValue;
|
|
713
|
+
this.finalValue = finalValue;
|
|
714
|
+
if (typeof easing !== "function") throw new Error("Tried to make a Tween with an invalid easing function");
|
|
715
|
+
this.curve = MotionCurve.findOrCreate(duration, easing);
|
|
716
|
+
this.diff = finalValue - initialValue;
|
|
717
|
+
}
|
|
718
|
+
get currentValue() {
|
|
719
|
+
return this.initialValue + this.diff * this.curve.spaceProgress;
|
|
720
|
+
}
|
|
721
|
+
get done() {
|
|
722
|
+
return this.curve.done;
|
|
723
|
+
}
|
|
724
|
+
plus(otherTween) {
|
|
725
|
+
return new DerivedTween([this, otherTween], (a, b) => a.currentValue + b.currentValue);
|
|
726
|
+
}
|
|
727
|
+
};
|
|
728
|
+
var DerivedTween = class {
|
|
729
|
+
_finalValue = null;
|
|
730
|
+
inputs;
|
|
731
|
+
constructor(inputs, combinator) {
|
|
732
|
+
this.combinator = combinator;
|
|
733
|
+
this._finalValue = null;
|
|
734
|
+
this.inputs = inputs.map((t) => {
|
|
735
|
+
if (t.done) return new Tween(t.currentValue, t.currentValue, 0);
|
|
736
|
+
else return t;
|
|
737
|
+
});
|
|
738
|
+
}
|
|
739
|
+
get finalValue() {
|
|
740
|
+
if (this._finalValue == null) {
|
|
741
|
+
let accum = 0;
|
|
742
|
+
for (const input of this.inputs) accum += input.finalValue;
|
|
743
|
+
this._finalValue = accum;
|
|
744
|
+
}
|
|
745
|
+
return this._finalValue;
|
|
746
|
+
}
|
|
747
|
+
get currentValue() {
|
|
748
|
+
return this.combinator(...this.inputs);
|
|
749
|
+
}
|
|
750
|
+
get done() {
|
|
751
|
+
return !this.inputs.find((t) => !t.done);
|
|
752
|
+
}
|
|
753
|
+
};
|
|
754
|
+
var MotionCurve = class {
|
|
755
|
+
static findOrCreate(duration, easing) {
|
|
756
|
+
let shared = currentCurves.find((c) => c.duration === duration && c.easing === easing);
|
|
757
|
+
if (shared) return shared;
|
|
758
|
+
let created = new this(duration, easing);
|
|
759
|
+
currentCurves.push(created);
|
|
760
|
+
rAF().then(() => {
|
|
761
|
+
currentCurves.splice(currentCurves.indexOf(created), 1);
|
|
762
|
+
});
|
|
763
|
+
return created;
|
|
764
|
+
}
|
|
765
|
+
startTime;
|
|
766
|
+
_doneFrames = 0;
|
|
767
|
+
_lastTick;
|
|
768
|
+
_runTime;
|
|
769
|
+
_timeProgress;
|
|
770
|
+
_spaceProgress;
|
|
771
|
+
constructor(duration, easing) {
|
|
772
|
+
this.duration = duration;
|
|
773
|
+
this.easing = easing;
|
|
774
|
+
this.startTime = clock.now();
|
|
775
|
+
this._tick();
|
|
776
|
+
}
|
|
777
|
+
_tick() {
|
|
778
|
+
if (this._lastTick !== frameState.currentFrameClock) {
|
|
779
|
+
this._lastTick = frameState.currentFrameClock;
|
|
780
|
+
this._runTime = clock.now() - this.startTime;
|
|
781
|
+
this._timeProgress = this.duration === 0 ? 1 : Math.min(this._runTime / this.duration, 1);
|
|
782
|
+
this._spaceProgress = this.easing(this._timeProgress);
|
|
783
|
+
if (this._timeProgress >= 1) this._doneFrames++;
|
|
784
|
+
}
|
|
785
|
+
}
|
|
786
|
+
get runTime() {
|
|
787
|
+
this._tick();
|
|
788
|
+
return this._runTime;
|
|
789
|
+
}
|
|
790
|
+
get timeProgress() {
|
|
791
|
+
this._tick();
|
|
792
|
+
return this._timeProgress;
|
|
793
|
+
}
|
|
794
|
+
get spaceProgress() {
|
|
795
|
+
this._tick();
|
|
796
|
+
return this._spaceProgress;
|
|
797
|
+
}
|
|
798
|
+
get done() {
|
|
799
|
+
this._tick();
|
|
800
|
+
return this._doneFrames > 1;
|
|
801
|
+
}
|
|
802
|
+
};
|
|
803
|
+
//#endregion
|
|
804
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/ember-internals.js
|
|
805
|
+
var getViewBounds = getViewBounds$1;
|
|
806
|
+
function componentNodes(view) {
|
|
807
|
+
let bounds = getViewBounds(view);
|
|
808
|
+
return {
|
|
809
|
+
firstNode: bounds.firstNode,
|
|
810
|
+
lastNode: bounds.lastNode
|
|
811
|
+
};
|
|
812
|
+
}
|
|
813
|
+
function keyForArray(keyPath) {
|
|
814
|
+
switch (keyPath) {
|
|
815
|
+
case "@index": return index;
|
|
816
|
+
case "@identity":
|
|
817
|
+
case void 0:
|
|
818
|
+
case null: return identity$1;
|
|
819
|
+
default: return (item) => get(item, keyPath);
|
|
820
|
+
}
|
|
821
|
+
}
|
|
822
|
+
function index(_item, index) {
|
|
823
|
+
return String(index);
|
|
824
|
+
}
|
|
825
|
+
function identity$1(item) {
|
|
826
|
+
switch (typeof item) {
|
|
827
|
+
case "string":
|
|
828
|
+
case "number": return String(item);
|
|
829
|
+
default: return guidFor(item);
|
|
830
|
+
}
|
|
831
|
+
}
|
|
832
|
+
__name(identity$1, "identity");
|
|
833
|
+
//#endregion
|
|
834
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/transform.js
|
|
835
|
+
var Transform = class Transform {
|
|
836
|
+
constructor(a, b, c, d, tx, ty) {
|
|
837
|
+
this.a = a;
|
|
838
|
+
this.b = b;
|
|
839
|
+
this.c = c;
|
|
840
|
+
this.d = d;
|
|
841
|
+
this.tx = tx;
|
|
842
|
+
this.ty = ty;
|
|
843
|
+
}
|
|
844
|
+
serialize() {
|
|
845
|
+
return `matrix(${this.a}, ${this.b}, ${this.c}, ${this.d}, ${this.tx}, ${this.ty})`;
|
|
846
|
+
}
|
|
847
|
+
isIdentity() {
|
|
848
|
+
return this === identity || this.a === 1 && this.b === 0 && this.c === 0 && this.d === 1 && this.tx === 0 && this.ty === 0;
|
|
849
|
+
}
|
|
850
|
+
mult(other) {
|
|
851
|
+
if (this === identity) return other;
|
|
852
|
+
if (other === identity) return this;
|
|
853
|
+
return new Transform(this.a * other.a + this.c * other.b, this.b * other.a + this.d * other.b, this.a * other.c + this.c * other.d, this.b * other.c + this.d * other.d, this.a * other.tx + this.c * other.ty + this.tx, this.b * other.tx + this.d * other.ty + this.ty);
|
|
854
|
+
}
|
|
855
|
+
};
|
|
856
|
+
var identity = new Transform(1, 0, 0, 1, 0, 0);
|
|
857
|
+
var matrixPattern = /matrix\((.*)\)/;
|
|
858
|
+
function parseTransform(matrixString) {
|
|
859
|
+
const match = matrixPattern.exec(matrixString);
|
|
860
|
+
if (!match || !match[1]) return identity;
|
|
861
|
+
const [a, b, c, d, tx, ty] = match[1].split(",").map(parseFloat);
|
|
862
|
+
return new Transform(a, b, c, d, tx, ty);
|
|
863
|
+
}
|
|
864
|
+
function parseOrigin(originString) {
|
|
865
|
+
return originString.split(" ").map(parseFloat);
|
|
866
|
+
}
|
|
867
|
+
/**
|
|
868
|
+
Returns a Transform instance representing the cumulative CSS
|
|
869
|
+
transform of this element and all its ancestors.
|
|
870
|
+
|
|
871
|
+
@function cumulativeTransform
|
|
872
|
+
@hide
|
|
873
|
+
@param {HTMLElement} elt
|
|
874
|
+
@return {Transform}
|
|
875
|
+
*/
|
|
876
|
+
function cumulativeTransform(elt) {
|
|
877
|
+
let accumulator = null;
|
|
878
|
+
let current = elt;
|
|
879
|
+
while (current && current.nodeType === 1) {
|
|
880
|
+
let transform = ownTransform(current);
|
|
881
|
+
if (transform !== identity && !transform.isIdentity()) if (accumulator) accumulator = transform.mult(accumulator);
|
|
882
|
+
else accumulator = transform;
|
|
883
|
+
current = current.parentElement;
|
|
884
|
+
}
|
|
885
|
+
return accumulator || identity;
|
|
886
|
+
}
|
|
887
|
+
/**
|
|
888
|
+
Returns a Transform instance representing the CSS transform of this
|
|
889
|
+
element.
|
|
890
|
+
|
|
891
|
+
* @function ownTransform
|
|
892
|
+
* @param {HTMLElement} elt
|
|
893
|
+
* @return {Transform} instance representing this element's css transform property.
|
|
894
|
+
*/
|
|
895
|
+
function ownTransform(elt) {
|
|
896
|
+
let eltStyles = window.getComputedStyle(elt);
|
|
897
|
+
let t = eltStyles.transform !== "" ? eltStyles.transform : elt.style.transform;
|
|
898
|
+
if (t === "none") return identity;
|
|
899
|
+
let matrix = parseTransform(t);
|
|
900
|
+
if (matrix.a !== 1 || matrix.b !== 0 || matrix.c !== 0 || matrix.d !== 1) {
|
|
901
|
+
let [originX, originY] = parseOrigin(eltStyles.getPropertyValue("transform-origin") !== "" ? eltStyles.getPropertyValue("transform-origin") : elt.style.getPropertyValue("transform-origin"));
|
|
902
|
+
if (originX === 0 && originY === 0) return matrix;
|
|
903
|
+
return new Transform(1, 0, 0, 1, originX, originY).mult(matrix).mult(new Transform(1, 0, 0, 1, -originX, -originY));
|
|
904
|
+
} else return matrix;
|
|
905
|
+
}
|
|
906
|
+
//#endregion
|
|
907
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/margin-collapse.js
|
|
908
|
+
function collapsedChildren(element, cs, which, children = []) {
|
|
909
|
+
if (isBlock(cs) && cs.getPropertyValue(`border-${which}-width`) === "0px" && cs.getPropertyValue(`padding-${which}`) === "0px") {
|
|
910
|
+
let block;
|
|
911
|
+
if (which === "top") block = firstChildBlock(element);
|
|
912
|
+
else block = lastChildBlock(element);
|
|
913
|
+
if (block) {
|
|
914
|
+
let [child, childCS] = block;
|
|
915
|
+
children.push(child);
|
|
916
|
+
collapsedChildren(child, childCS, which, children);
|
|
917
|
+
}
|
|
918
|
+
}
|
|
919
|
+
return children;
|
|
920
|
+
}
|
|
921
|
+
function firstChildBlock(element) {
|
|
922
|
+
for (let i = 0; i < element.children.length; i++) {
|
|
923
|
+
let child = element.children[i];
|
|
924
|
+
let childCS = getComputedStyle(child);
|
|
925
|
+
if (childCS.clear !== "none") return;
|
|
926
|
+
if (isBlock(childCS)) return [child, childCS];
|
|
927
|
+
}
|
|
928
|
+
}
|
|
929
|
+
function lastChildBlock(element) {
|
|
930
|
+
for (let i = element.children.length - 1; i >= 0; i--) {
|
|
931
|
+
let child = element.children[i];
|
|
932
|
+
let childCS = getComputedStyle(child);
|
|
933
|
+
if (childCS.clear !== "none") return;
|
|
934
|
+
if (isBlock(childCS)) return [child, childCS];
|
|
935
|
+
}
|
|
936
|
+
}
|
|
937
|
+
function isBlock(cs) {
|
|
938
|
+
return cs.display === "block" && (cs.position === "static" || cs.position === "relative") && cs.getPropertyValue("float") === "none" && cs.overflow === "visible";
|
|
939
|
+
}
|
|
940
|
+
//#endregion
|
|
941
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/bounds.js
|
|
942
|
+
function nonEnumerable(target, propertyKey) {
|
|
943
|
+
let descriptor = Object.getOwnPropertyDescriptor(target, propertyKey) || {};
|
|
944
|
+
if (descriptor.enumerable != false) {
|
|
945
|
+
descriptor.enumerable = false;
|
|
946
|
+
Object.defineProperty(target, propertyKey, descriptor);
|
|
947
|
+
}
|
|
948
|
+
}
|
|
949
|
+
var DOMRectPolyfill = class {
|
|
950
|
+
static fromRect(rect = {}) {
|
|
951
|
+
return new DOMRect(rect.x ?? 0, rect.y ?? 0, rect.width ?? 0, rect.height ?? 0);
|
|
952
|
+
}
|
|
953
|
+
constructor(x, y, width, height) {
|
|
954
|
+
if (x != null) this.x = x;
|
|
955
|
+
if (y != null) this.y = y;
|
|
956
|
+
if (width != null) this.width = width;
|
|
957
|
+
if (height != null) this.height = height;
|
|
958
|
+
}
|
|
959
|
+
static {
|
|
960
|
+
decorateFieldV2(this.prototype, "x", [nonEnumerable], function() {
|
|
961
|
+
return 0;
|
|
962
|
+
});
|
|
963
|
+
}
|
|
964
|
+
#x = (initializeDeferredDecorator(this, "x"), void 0);
|
|
965
|
+
static {
|
|
966
|
+
decorateFieldV2(this.prototype, "y", [nonEnumerable], function() {
|
|
967
|
+
return 0;
|
|
968
|
+
});
|
|
969
|
+
}
|
|
970
|
+
#y = (initializeDeferredDecorator(this, "y"), void 0);
|
|
971
|
+
static {
|
|
972
|
+
decorateFieldV2(this.prototype, "width", [nonEnumerable], function() {
|
|
973
|
+
return 0;
|
|
974
|
+
});
|
|
975
|
+
}
|
|
976
|
+
#width = (initializeDeferredDecorator(this, "width"), void 0);
|
|
977
|
+
static {
|
|
978
|
+
decorateFieldV2(this.prototype, "height", [nonEnumerable], function() {
|
|
979
|
+
return 0;
|
|
980
|
+
});
|
|
981
|
+
}
|
|
982
|
+
#height = (initializeDeferredDecorator(this, "height"), void 0);
|
|
983
|
+
get top() {
|
|
984
|
+
return this.y;
|
|
985
|
+
}
|
|
986
|
+
get right() {
|
|
987
|
+
return this.x + this.width;
|
|
988
|
+
}
|
|
989
|
+
get bottom() {
|
|
990
|
+
return this.y + this.height;
|
|
991
|
+
}
|
|
992
|
+
get left() {
|
|
993
|
+
return this.x;
|
|
994
|
+
}
|
|
995
|
+
toJSON() {
|
|
996
|
+
return {
|
|
997
|
+
x: this.x,
|
|
998
|
+
y: this.y,
|
|
999
|
+
width: this.width,
|
|
1000
|
+
height: this.height,
|
|
1001
|
+
top: this.top,
|
|
1002
|
+
right: this.right,
|
|
1003
|
+
bottom: this.bottom,
|
|
1004
|
+
left: this.left
|
|
1005
|
+
};
|
|
1006
|
+
}
|
|
1007
|
+
};
|
|
1008
|
+
if (typeof window !== "undefined" && !window.DOMRect) window.DOMRect = DOMRectPolyfill;
|
|
1009
|
+
/**
|
|
1010
|
+
Shifts the coordinates of the given bounds using the provided
|
|
1011
|
+
x and y axis offset.
|
|
1012
|
+
|
|
1013
|
+
@private
|
|
1014
|
+
@function shiftedBounds
|
|
1015
|
+
@hide
|
|
1016
|
+
@param {Object} bounds The original bounds.
|
|
1017
|
+
@param {number} dx X axis offset.
|
|
1018
|
+
@param {number} dy Y axis offset.
|
|
1019
|
+
@return {Object} The newly calculated bounds.
|
|
1020
|
+
*/
|
|
1021
|
+
function shiftedBounds(bounds, dx, dy) {
|
|
1022
|
+
return new DOMRect(bounds.x + dx, bounds.y + dy, bounds.width, bounds.height);
|
|
1023
|
+
}
|
|
1024
|
+
/**
|
|
1025
|
+
Resizes the coordinates of the given bounds using the provided
|
|
1026
|
+
width and height.
|
|
1027
|
+
|
|
1028
|
+
@private
|
|
1029
|
+
@function resizedBounds
|
|
1030
|
+
@hide
|
|
1031
|
+
@param {Object} bounds The original bounds.
|
|
1032
|
+
@param {number} width The target width.
|
|
1033
|
+
@param {number} height The target height.
|
|
1034
|
+
@return {Object} The newly calculated bounds.
|
|
1035
|
+
*/
|
|
1036
|
+
function resizedBounds(bounds, width, height) {
|
|
1037
|
+
return new DOMRect(bounds.x, bounds.y, width, height);
|
|
1038
|
+
}
|
|
1039
|
+
/**
|
|
1040
|
+
Shifts the coordinates of the given bounds so they are relative to
|
|
1041
|
+
the offset.
|
|
1042
|
+
|
|
1043
|
+
@private
|
|
1044
|
+
@function relativeBounds
|
|
1045
|
+
@hide
|
|
1046
|
+
@param {Object} bounds The original bounds.
|
|
1047
|
+
@param {Object} offset The offset.
|
|
1048
|
+
@return {Object} The newly calculated bounds.
|
|
1049
|
+
*/
|
|
1050
|
+
function relativeBounds(bounds, offset) {
|
|
1051
|
+
return shiftedBounds(bounds, -offset.left, -offset.top);
|
|
1052
|
+
}
|
|
1053
|
+
/**
|
|
1054
|
+
An empty bounds object.
|
|
1055
|
+
|
|
1056
|
+
@private
|
|
1057
|
+
@hide
|
|
1058
|
+
@constant {Object} emptyBounds
|
|
1059
|
+
*/
|
|
1060
|
+
var emptyBounds = Object.freeze(new DOMRect(0, 0, 0, 0));
|
|
1061
|
+
//#endregion
|
|
1062
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/sprite.js
|
|
1063
|
+
var inFlight = getOrCreate$3("sprite", () => /* @__PURE__ */ new WeakMap());
|
|
1064
|
+
/**
|
|
1065
|
+
A Sprite is our handle to a DOM element that we want to animate.
|
|
1066
|
+
|
|
1067
|
+
It manages locking and unlocking the element (which means taking it
|
|
1068
|
+
in and out of static document flow so it's readily animatable).
|
|
1069
|
+
|
|
1070
|
+
It tracks the sprite's current transform.
|
|
1071
|
+
|
|
1072
|
+
It tracks the sprite's initial and/or final bounds, as measured
|
|
1073
|
+
from the actual pre- and/or post-animation DOM.
|
|
1074
|
+
|
|
1075
|
+
@class Sprite
|
|
1076
|
+
*/
|
|
1077
|
+
var Sprite = class {
|
|
1078
|
+
static offsetParentStartingAt(element) {
|
|
1079
|
+
let parent = getEffectiveOffsetParent(element);
|
|
1080
|
+
if (!parent) parent = document.getElementsByTagName("body")[0];
|
|
1081
|
+
return new this(parent, true, null, null);
|
|
1082
|
+
}
|
|
1083
|
+
static offsetParentEndingAt(element) {
|
|
1084
|
+
let parent = getEffectiveOffsetParent(element);
|
|
1085
|
+
if (!parent) parent = document.getElementsByTagName("body")[0];
|
|
1086
|
+
return new this(parent, false, null, null);
|
|
1087
|
+
}
|
|
1088
|
+
static positionedStartingAt(element, offsetSprite) {
|
|
1089
|
+
if (!offsetSprite.initialBounds) throw new Error("offset sprite must have initial bounds");
|
|
1090
|
+
return new this(element, true, "position", offsetSprite);
|
|
1091
|
+
}
|
|
1092
|
+
static positionedEndingAt(element, offsetSprite) {
|
|
1093
|
+
if (!offsetSprite.finalBounds) throw new Error("offset sprite must have final bounds");
|
|
1094
|
+
return new this(element, false, "position", offsetSprite);
|
|
1095
|
+
}
|
|
1096
|
+
static sizedStartingAt(element) {
|
|
1097
|
+
return new this(element, true, "size", null);
|
|
1098
|
+
}
|
|
1099
|
+
static sizedEndingAt(element) {
|
|
1100
|
+
let sprite = new this(element, false, "size", null);
|
|
1101
|
+
sprite._initialBounds = emptyBounds;
|
|
1102
|
+
sprite._initialComputedStyle = sprite._finalComputedStyle;
|
|
1103
|
+
sprite._initialPosition = sprite._finalPosition;
|
|
1104
|
+
sprite._originalInitialBounds = sprite._initialBounds;
|
|
1105
|
+
sprite._initialCumulativeTransform = sprite._finalCumulativeTransform;
|
|
1106
|
+
return sprite;
|
|
1107
|
+
}
|
|
1108
|
+
__element;
|
|
1109
|
+
owner = null;
|
|
1110
|
+
_transform = null;
|
|
1111
|
+
_cumulativeTransform = null;
|
|
1112
|
+
_offsetSprite;
|
|
1113
|
+
_lockedToInitialPosition;
|
|
1114
|
+
_finalComputedStyle = null;
|
|
1115
|
+
_finalBounds = null;
|
|
1116
|
+
_originalFinalBounds = null;
|
|
1117
|
+
_finalPosition = null;
|
|
1118
|
+
_finalCumulativeTransform = null;
|
|
1119
|
+
_initialComputedStyle = null;
|
|
1120
|
+
_initialBounds = null;
|
|
1121
|
+
_originalInitialBounds = null;
|
|
1122
|
+
_initialPosition = null;
|
|
1123
|
+
_initialCumulativeTransform = null;
|
|
1124
|
+
_revealed;
|
|
1125
|
+
_imposedStyle = null;
|
|
1126
|
+
_styleCache = null;
|
|
1127
|
+
_collapsingChildren = null;
|
|
1128
|
+
_lockMode;
|
|
1129
|
+
_inInitialPosition = false;
|
|
1130
|
+
constructor(element, inInitialPosition, lockMode, offsetSprite) {
|
|
1131
|
+
this.element = element;
|
|
1132
|
+
this._offsetSprite = offsetSprite;
|
|
1133
|
+
this._lockedToInitialPosition = inInitialPosition;
|
|
1134
|
+
if (inInitialPosition) this.measureInitialBounds();
|
|
1135
|
+
else this.measureFinalBounds();
|
|
1136
|
+
let predecessor = inFlight.get(element);
|
|
1137
|
+
if (predecessor && lockMode) {
|
|
1138
|
+
this._styleCache = predecessor._styleCache;
|
|
1139
|
+
this._revealed = predecessor._revealed;
|
|
1140
|
+
this._imposedStyle = predecessor._imposedStyle;
|
|
1141
|
+
this._collapsingChildren = predecessor._collapsingChildren;
|
|
1142
|
+
this._lockMode = predecessor._lockMode;
|
|
1143
|
+
if (lockMode !== predecessor._lockMode) throw new Error(`probable bug in ember-animated: can't change lock mode from ${predecessor._lockMode} to ${lockMode}`);
|
|
1144
|
+
} else {
|
|
1145
|
+
this._styleCache = null;
|
|
1146
|
+
this._revealed = null;
|
|
1147
|
+
this._lockMode = lockMode;
|
|
1148
|
+
if (lockMode === "position") {
|
|
1149
|
+
this._rememberPosition();
|
|
1150
|
+
this._cacheOriginalStyles();
|
|
1151
|
+
} else if (this._lockMode === "size") {
|
|
1152
|
+
this._rememberSize();
|
|
1153
|
+
this._cacheOriginalStyles();
|
|
1154
|
+
}
|
|
1155
|
+
}
|
|
1156
|
+
if (macroCondition(isTesting())) Object.seal(this);
|
|
1157
|
+
}
|
|
1158
|
+
/**
|
|
1159
|
+
A DOMRect representing the place where this sprite will start the
|
|
1160
|
+
transition.
|
|
1161
|
+
```js
|
|
1162
|
+
sprite.initialBounds;
|
|
1163
|
+
// { top: 0, bottom: 230, left: 0, right: 256, width: 256 }
|
|
1164
|
+
```
|
|
1165
|
+
Not every sprite has initialBounds (a newly inserted
|
|
1166
|
+
sprite will not -- it will only have finalBounds).
|
|
1167
|
+
The position is measured *relative* to our offsetParent, if we
|
|
1168
|
+
have one. Most of the time we want motions to act in relative
|
|
1169
|
+
terms, so that if we're inside another animator things still work
|
|
1170
|
+
out correctly.
|
|
1171
|
+
You can manipulate initialBounds using methods like startAtPixel.
|
|
1172
|
+
Motions should look at initialBounds and finalBounds to decide
|
|
1173
|
+
what to do.
|
|
1174
|
+
@accessor initialBounds
|
|
1175
|
+
@type {DOMRect}
|
|
1176
|
+
*/
|
|
1177
|
+
get initialBounds() {
|
|
1178
|
+
return this._initialBounds;
|
|
1179
|
+
}
|
|
1180
|
+
/**
|
|
1181
|
+
Like initialBounds, but relative to the screen, not the offset
|
|
1182
|
+
parent. Most of the time you *don't* want this one, because your
|
|
1183
|
+
motion will be more robust to ancestor motion if you do
|
|
1184
|
+
everything in relative terms.
|
|
1185
|
+
@accessor absoluteInitialBounds
|
|
1186
|
+
@type {DOMRect}
|
|
1187
|
+
*/
|
|
1188
|
+
get absoluteInitialBounds() {
|
|
1189
|
+
if (this._offsetSprite) return shiftedBounds(this._initialBounds, this._offsetSprite.initialBounds.left, this._offsetSprite.initialBounds.top);
|
|
1190
|
+
else return this._initialBounds;
|
|
1191
|
+
}
|
|
1192
|
+
/**
|
|
1193
|
+
A DOMRect representing the place where this sprite will end the
|
|
1194
|
+
transition. Not every sprite has finalBounds (a sprite that is
|
|
1195
|
+
about to be destroyed will not -- it will only have
|
|
1196
|
+
initialBounds).
|
|
1197
|
+
The position is measured *relative* to our offsetParent, if we
|
|
1198
|
+
have one. Most of the time we want motions to act in relative
|
|
1199
|
+
terms, so that if we're inside another animator things still work
|
|
1200
|
+
out correctly.
|
|
1201
|
+
You can manipulate finalBounds using methods like endAtPixel.
|
|
1202
|
+
@accessor finalBounds
|
|
1203
|
+
@type {DOMRect}
|
|
1204
|
+
*/
|
|
1205
|
+
get finalBounds() {
|
|
1206
|
+
return this._finalBounds;
|
|
1207
|
+
}
|
|
1208
|
+
/**
|
|
1209
|
+
Like initialBounds, but relative to the screen, not the offset
|
|
1210
|
+
parent. Most of the time you *don't* want this one, because your
|
|
1211
|
+
motion will be more robust to ancestor motion if you do
|
|
1212
|
+
everything in relative terms.
|
|
1213
|
+
@accessor absoluteFinalBounds
|
|
1214
|
+
@type {DOMRect}
|
|
1215
|
+
*/
|
|
1216
|
+
get absoluteFinalBounds() {
|
|
1217
|
+
if (this._offsetSprite) return shiftedBounds(this._finalBounds, this._offsetSprite.finalBounds.left, this._offsetSprite.finalBounds.top);
|
|
1218
|
+
else return this._finalBounds;
|
|
1219
|
+
}
|
|
1220
|
+
/**
|
|
1221
|
+
A snapshot of the sprite's computed style at the start of the
|
|
1222
|
+
transition. We don't copy every possible property, see
|
|
1223
|
+
CopiedCSS.
|
|
1224
|
+
This is powered by getComputedStyle, so the property names and
|
|
1225
|
+
values will follow those semantics.
|
|
1226
|
+
Not every sprite will have an initialComputedStyle
|
|
1227
|
+
(`insertedSprites` do not).
|
|
1228
|
+
@accessor initialComputedStyle
|
|
1229
|
+
@type {CSSStyleDeclaration}
|
|
1230
|
+
*/
|
|
1231
|
+
get initialComputedStyle() {
|
|
1232
|
+
return this._initialComputedStyle;
|
|
1233
|
+
}
|
|
1234
|
+
/**
|
|
1235
|
+
A snapshot of the sprite's computed style at the end of the
|
|
1236
|
+
transition. We don't copy every possible property, see
|
|
1237
|
+
CopiedCSS.
|
|
1238
|
+
This is powered by getComputedStyle, so the property names and
|
|
1239
|
+
values will follow those semantics.
|
|
1240
|
+
Not every sprite will have a finalComputedStyle
|
|
1241
|
+
(`removedSprites` do not).
|
|
1242
|
+
@accessor finalComputedStyle
|
|
1243
|
+
@type {CSSStyleDeclaration}
|
|
1244
|
+
*/
|
|
1245
|
+
get finalComputedStyle() {
|
|
1246
|
+
return this._finalComputedStyle;
|
|
1247
|
+
}
|
|
1248
|
+
/**
|
|
1249
|
+
Returns the attribute value from the initial position object with the
|
|
1250
|
+
given `name`.
|
|
1251
|
+
_This is mostly intended for use with SVG, where you can say things
|
|
1252
|
+
like `getInitialDimension('x')`._
|
|
1253
|
+
@method getInitialDimension
|
|
1254
|
+
@param {string} name The desired attribute name.
|
|
1255
|
+
@return {number|string}
|
|
1256
|
+
*/
|
|
1257
|
+
getInitialDimension(name) {
|
|
1258
|
+
return this._initialPosition[name];
|
|
1259
|
+
}
|
|
1260
|
+
/**
|
|
1261
|
+
Returns the attribute value from the final position object with the
|
|
1262
|
+
given `name`.
|
|
1263
|
+
_This is mostly intended for use with SVG, where you can say things
|
|
1264
|
+
like `getFinalDimension('x')`._
|
|
1265
|
+
@method getFinalDimension
|
|
1266
|
+
@param {string} name The desired attribute name.
|
|
1267
|
+
@return {number|string}
|
|
1268
|
+
*/
|
|
1269
|
+
getFinalDimension(name) {
|
|
1270
|
+
return this._finalPosition[name];
|
|
1271
|
+
}
|
|
1272
|
+
/**
|
|
1273
|
+
Analogous to initialBounds, this is a snapshot of the cumulative
|
|
1274
|
+
effect of all transforms on this sprite at the start of
|
|
1275
|
+
animation.
|
|
1276
|
+
@method initialCumulativeTransform
|
|
1277
|
+
@return {Transform}
|
|
1278
|
+
*/
|
|
1279
|
+
get initialCumulativeTransform() {
|
|
1280
|
+
return this._initialCumulativeTransform;
|
|
1281
|
+
}
|
|
1282
|
+
/**
|
|
1283
|
+
Analogous to finalBounds, this is a snapshot of the cumulative
|
|
1284
|
+
effect of all transforms on this sprite at the end of animation.
|
|
1285
|
+
@method finalCumulativeTransform
|
|
1286
|
+
@return {Transform}
|
|
1287
|
+
*/
|
|
1288
|
+
get finalCumulativeTransform() {
|
|
1289
|
+
return this._finalCumulativeTransform;
|
|
1290
|
+
}
|
|
1291
|
+
/**
|
|
1292
|
+
Some things methods (like startAtSprite, startAtPixel, etc) can
|
|
1293
|
+
set or alter the initialBounds. This gives you access to the
|
|
1294
|
+
original value (which may be undefined if this sprite didn't have
|
|
1295
|
+
any initial bounds, which is the case for newly inserted
|
|
1296
|
+
sprites).
|
|
1297
|
+
@method originalInitialBounds
|
|
1298
|
+
@return {DOMRect}
|
|
1299
|
+
*/
|
|
1300
|
+
get originalInitialBounds() {
|
|
1301
|
+
return this._originalInitialBounds;
|
|
1302
|
+
}
|
|
1303
|
+
/**
|
|
1304
|
+
Some things (like endAtSprite) can alter the finalBounds. This
|
|
1305
|
+
gives you access to the original value (which may be undefined if
|
|
1306
|
+
the sprite didn't have any final bounds, which is the case for
|
|
1307
|
+
removedSprites).
|
|
1308
|
+
@method originalFinalBounds
|
|
1309
|
+
@return {DOMRect}
|
|
1310
|
+
*/
|
|
1311
|
+
get originalFinalBounds() {
|
|
1312
|
+
return this._originalFinalBounds;
|
|
1313
|
+
}
|
|
1314
|
+
getCurrentBounds() {
|
|
1315
|
+
if (this._offsetSprite) return relativeBounds(this.element.getBoundingClientRect(), this._offsetSprite.getCurrentBounds());
|
|
1316
|
+
else return this.element.getBoundingClientRect();
|
|
1317
|
+
}
|
|
1318
|
+
/**
|
|
1319
|
+
Returns the current position of the element as an object.
|
|
1320
|
+
_This deliberately only tracks inline styles, because it's only
|
|
1321
|
+
important when the user is manipulating inline styles._
|
|
1322
|
+
@private
|
|
1323
|
+
@hide
|
|
1324
|
+
@method _getCurrentPosition
|
|
1325
|
+
@return {Object}
|
|
1326
|
+
*/
|
|
1327
|
+
_getCurrentPosition() {
|
|
1328
|
+
let { element } = this;
|
|
1329
|
+
if (isSVG(element)) return {
|
|
1330
|
+
x: getSVGLength(element, "x"),
|
|
1331
|
+
y: getSVGLength(element, "y"),
|
|
1332
|
+
cx: getSVGLength(element, "cx"),
|
|
1333
|
+
cy: getSVGLength(element, "cy"),
|
|
1334
|
+
r: getSVGLength(element, "r"),
|
|
1335
|
+
width: getSVGLength(element, "width"),
|
|
1336
|
+
height: getSVGLength(element, "height"),
|
|
1337
|
+
transform: element.getAttribute("transform")
|
|
1338
|
+
};
|
|
1339
|
+
else {
|
|
1340
|
+
let style = this.element.style;
|
|
1341
|
+
return {
|
|
1342
|
+
top: style.top,
|
|
1343
|
+
left: style.left,
|
|
1344
|
+
bottom: style.bottom,
|
|
1345
|
+
right: style.right,
|
|
1346
|
+
transform: style.transform,
|
|
1347
|
+
classList: Array.from(this.element.classList)
|
|
1348
|
+
};
|
|
1349
|
+
}
|
|
1350
|
+
}
|
|
1351
|
+
/**
|
|
1352
|
+
Sets the position of the element.
|
|
1353
|
+
@private
|
|
1354
|
+
@method _reapplyPosition
|
|
1355
|
+
@hide
|
|
1356
|
+
@param {Object} pos The position to apply.
|
|
1357
|
+
@return {void}
|
|
1358
|
+
*/
|
|
1359
|
+
_reapplyPosition(pos) {
|
|
1360
|
+
if (!pos) return;
|
|
1361
|
+
if (isSVG(this.element)) {
|
|
1362
|
+
let { element } = this;
|
|
1363
|
+
setSVGLength(element, "x", pos);
|
|
1364
|
+
setSVGLength(element, "y", pos);
|
|
1365
|
+
setSVGLength(element, "cx", pos);
|
|
1366
|
+
setSVGLength(element, "cy", pos);
|
|
1367
|
+
setSVGLength(element, "r", pos);
|
|
1368
|
+
setSVGLength(element, "width", pos);
|
|
1369
|
+
setSVGLength(element, "height", pos);
|
|
1370
|
+
setAttribute(element, "transform", pos);
|
|
1371
|
+
} else {
|
|
1372
|
+
let style = this.element.style;
|
|
1373
|
+
let p = pos;
|
|
1374
|
+
style.top = p.top ?? "";
|
|
1375
|
+
style.left = p.left ?? "";
|
|
1376
|
+
style.right = p.right ?? "";
|
|
1377
|
+
style.bottom = p.bottom ?? "";
|
|
1378
|
+
style.transform = p.transform ?? "";
|
|
1379
|
+
for (let cls of p.classList) this.element.classList.add(cls);
|
|
1380
|
+
for (let cls of Array.from(this.element.classList)) if (!p.classList.includes(cls)) this.element.classList.remove(cls);
|
|
1381
|
+
}
|
|
1382
|
+
}
|
|
1383
|
+
measureInitialBounds() {
|
|
1384
|
+
if (this._initialBounds) throw new Error("Sprite already has initial bounds");
|
|
1385
|
+
this._inInitialPosition = true;
|
|
1386
|
+
if (this._offsetSprite) this._initialBounds = relativeBounds(this.element.getBoundingClientRect(), this._offsetSprite.initialBounds);
|
|
1387
|
+
else this._initialBounds = this.element.getBoundingClientRect();
|
|
1388
|
+
this._initialComputedStyle = copyComputedStyle(this.element);
|
|
1389
|
+
this._initialPosition = this._getCurrentPosition();
|
|
1390
|
+
this._originalInitialBounds = this._initialBounds;
|
|
1391
|
+
this._initialCumulativeTransform = cumulativeTransform(this.element);
|
|
1392
|
+
}
|
|
1393
|
+
assertHasInitialBounds() {
|
|
1394
|
+
if (!this._initialBounds) throw new Error(`sprite does not have initialBounds`);
|
|
1395
|
+
}
|
|
1396
|
+
assertHasOwner() {
|
|
1397
|
+
if (!this.owner) throw new Error(`sprite does not have owner`);
|
|
1398
|
+
}
|
|
1399
|
+
measureFinalBounds() {
|
|
1400
|
+
if (this._finalBounds) throw new Error("Sprite already has final bounds");
|
|
1401
|
+
this._inInitialPosition = false;
|
|
1402
|
+
if (this._offsetSprite) this._finalBounds = relativeBounds(this.element.getBoundingClientRect(), this._offsetSprite.finalBounds);
|
|
1403
|
+
else this._finalBounds = this.element.getBoundingClientRect();
|
|
1404
|
+
this._finalComputedStyle = copyComputedStyle(this.element);
|
|
1405
|
+
this._finalPosition = this._getCurrentPosition();
|
|
1406
|
+
this._originalFinalBounds = this._finalBounds;
|
|
1407
|
+
this._finalCumulativeTransform = cumulativeTransform(this.element);
|
|
1408
|
+
}
|
|
1409
|
+
assertHasFinalBounds() {
|
|
1410
|
+
if (!this._finalBounds) throw new Error(`sprite does not have finalBounds`);
|
|
1411
|
+
}
|
|
1412
|
+
/**
|
|
1413
|
+
Returns the difference between two sprites, represented as x and y
|
|
1414
|
+
coordinates.
|
|
1415
|
+
_`this.difference('initialBounds', other, 'finalBounds')` is
|
|
1416
|
+
interpreted as "the difference between this sprite's initial bounds
|
|
1417
|
+
and the other sprite's final bounds"._
|
|
1418
|
+
_It works this way because each sprite has its own local coordinate
|
|
1419
|
+
system._
|
|
1420
|
+
@method difference
|
|
1421
|
+
@param {string} which The current sprite's comparison attribute.
|
|
1422
|
+
@param {Sprite} otherSprite The other sprite.
|
|
1423
|
+
@param {string} otherWhich The other sprite's comparison attribute.
|
|
1424
|
+
@return {Object}
|
|
1425
|
+
*/
|
|
1426
|
+
difference(which, otherSprite, otherWhich) {
|
|
1427
|
+
let x = this[which].left;
|
|
1428
|
+
let y = this[which].top;
|
|
1429
|
+
if (this._offsetSprite) {
|
|
1430
|
+
x += this._offsetSprite[which].left;
|
|
1431
|
+
y += this._offsetSprite[which].top;
|
|
1432
|
+
}
|
|
1433
|
+
if (otherSprite._offsetSprite) {
|
|
1434
|
+
x -= otherSprite._offsetSprite[otherWhich].left;
|
|
1435
|
+
y -= otherSprite._offsetSprite[otherWhich].top;
|
|
1436
|
+
}
|
|
1437
|
+
return {
|
|
1438
|
+
dx: x - otherSprite[otherWhich].left,
|
|
1439
|
+
dy: y - otherSprite[otherWhich].top
|
|
1440
|
+
};
|
|
1441
|
+
}
|
|
1442
|
+
set element(value) {
|
|
1443
|
+
this.__element = value;
|
|
1444
|
+
}
|
|
1445
|
+
get element() {
|
|
1446
|
+
return this.__element;
|
|
1447
|
+
}
|
|
1448
|
+
/**
|
|
1449
|
+
Returns the sprite's current transform, with appropriate caching
|
|
1450
|
+
so that you don't trigger reflows.
|
|
1451
|
+
@accessor transform
|
|
1452
|
+
@type {Transform}
|
|
1453
|
+
*/
|
|
1454
|
+
get transform() {
|
|
1455
|
+
if (!this._transform) this._transform = ownTransform(this.element);
|
|
1456
|
+
return this._transform;
|
|
1457
|
+
}
|
|
1458
|
+
/**
|
|
1459
|
+
This is different from `this.transform` because it's the product
|
|
1460
|
+
of our own transform and all ancestor transforms. It's what you
|
|
1461
|
+
need if you want to understand how many real screen pixels there
|
|
1462
|
+
are to every local pixel in the sprite.
|
|
1463
|
+
@accessor cumulativeTransform
|
|
1464
|
+
@type {Object}
|
|
1465
|
+
*/
|
|
1466
|
+
get cumulativeTransform() {
|
|
1467
|
+
if (!this._cumulativeTransform) this._cumulativeTransform = cumulativeTransform(this.element);
|
|
1468
|
+
return this._cumulativeTransform;
|
|
1469
|
+
}
|
|
1470
|
+
/**
|
|
1471
|
+
Returns wether the sprite is revealed or not.
|
|
1472
|
+
@accessor revealed
|
|
1473
|
+
@type {boolean}
|
|
1474
|
+
*/
|
|
1475
|
+
get revealed() {
|
|
1476
|
+
if (this._revealed == null) this._revealed = !this.__element.classList.contains("ember-animated-hidden");
|
|
1477
|
+
return this._revealed;
|
|
1478
|
+
}
|
|
1479
|
+
_rememberSize() {
|
|
1480
|
+
let transform = this.initialCumulativeTransform || this.finalCumulativeTransform;
|
|
1481
|
+
let bounds = this.initialBounds || this.finalBounds;
|
|
1482
|
+
this._imposedStyle = {};
|
|
1483
|
+
if (isSVG(this.element)) return;
|
|
1484
|
+
if (this.element.style.width === "") {
|
|
1485
|
+
this._imposedStyle["width"] = `${bounds.width / transform.a}px`;
|
|
1486
|
+
this._imposedStyle["box-sizing"] = "border-box";
|
|
1487
|
+
}
|
|
1488
|
+
if (this.element.style.height === "") {
|
|
1489
|
+
this._imposedStyle["height"] = `${bounds.height / transform.d}px`;
|
|
1490
|
+
this._imposedStyle["box-sizing"] = "border-box";
|
|
1491
|
+
}
|
|
1492
|
+
}
|
|
1493
|
+
_lazyOffsets(computedStyle) {
|
|
1494
|
+
let offsets;
|
|
1495
|
+
return () => {
|
|
1496
|
+
if (!offsets) offsets = findOffsets(this.element, computedStyle, this.transform, this._offsetSprite);
|
|
1497
|
+
return offsets;
|
|
1498
|
+
};
|
|
1499
|
+
}
|
|
1500
|
+
_rememberPosition() {
|
|
1501
|
+
let computedStyle = getComputedStyle(this.element);
|
|
1502
|
+
let style = this.element.style;
|
|
1503
|
+
let offsets = this._lazyOffsets(computedStyle);
|
|
1504
|
+
let tx = 0;
|
|
1505
|
+
let ty = 0;
|
|
1506
|
+
this._rememberSize();
|
|
1507
|
+
if (isSVG(this.element)) return;
|
|
1508
|
+
if (computedStyle.position !== "absolute" && computedStyle.position !== "fixed") this._imposedStyle["position"] = "absolute";
|
|
1509
|
+
if (style.top === "" && style.bottom === "") {
|
|
1510
|
+
this._imposedStyle["top"] = `${offsets().top}px`;
|
|
1511
|
+
this._imposedStyle["margin-top"] = "0px";
|
|
1512
|
+
} else if (this._imposedStyle["position"]) ty = offsets().top - parseFloat(computedStyle.top || "0");
|
|
1513
|
+
if (style.left === "" && style.bottom === "") {
|
|
1514
|
+
this._imposedStyle["left"] = `${offsets().left}px`;
|
|
1515
|
+
this._imposedStyle["margin-left"] = `0px`;
|
|
1516
|
+
} else if (this._imposedStyle["position"]) tx = offsets().left - parseFloat(computedStyle.left || "0");
|
|
1517
|
+
if (tx || ty) {
|
|
1518
|
+
this._transform = this.transform.mult(new Transform(1, 0, 0, 1, tx, ty));
|
|
1519
|
+
this._imposedStyle["transform"] = this.transform.serialize();
|
|
1520
|
+
}
|
|
1521
|
+
this._collapsingChildren = collapsedChildren(this.element, computedStyle, "top");
|
|
1522
|
+
}
|
|
1523
|
+
_cacheOriginalStyles() {
|
|
1524
|
+
let cache = {};
|
|
1525
|
+
let style = this.element.style;
|
|
1526
|
+
Object.keys(this._imposedStyle).forEach((property) => {
|
|
1527
|
+
cache[property] = style[property];
|
|
1528
|
+
});
|
|
1529
|
+
this._styleCache = cache;
|
|
1530
|
+
}
|
|
1531
|
+
lock() {
|
|
1532
|
+
this._reapplyPosition(this._initialPosition);
|
|
1533
|
+
this.applyStyles(this._imposedStyle);
|
|
1534
|
+
this._handleMarginCollapse();
|
|
1535
|
+
inFlight.set(this.element, this);
|
|
1536
|
+
this._inInitialPosition = this._lockedToInitialPosition;
|
|
1537
|
+
}
|
|
1538
|
+
unlock() {
|
|
1539
|
+
warn(`Probable bug in ember-animated: an interrupted sprite tried to unlock itself.
|
|
1540
|
+
This is usually caused by a direct child of an animated component also being an
|
|
1541
|
+
animated component. To fix it, wrap the child in another DOM element.
|
|
1542
|
+
https://github.com/ember-animation/ember-animated/issues/178`, this.stillInFlight(), { id: "ember-animated-sprite-unlock" });
|
|
1543
|
+
inFlight.delete(this.element);
|
|
1544
|
+
let cache = this._styleCache;
|
|
1545
|
+
Object.keys(cache).forEach((property) => {
|
|
1546
|
+
setStyle(this.element, property, cache[property]);
|
|
1547
|
+
});
|
|
1548
|
+
this._reapplyPosition(this._finalPosition);
|
|
1549
|
+
this._clearMarginCollapse();
|
|
1550
|
+
}
|
|
1551
|
+
/**
|
|
1552
|
+
This is your general purpose hook for changing CSS properties of
|
|
1553
|
+
the sprite's element. Use this when there's not a more specific
|
|
1554
|
+
method like `translate()`, `scale()`, `hide()`, or `reveal()`.
|
|
1555
|
+
```js
|
|
1556
|
+
sprite.applyStyles({
|
|
1557
|
+
'opacity': '0',
|
|
1558
|
+
'z-index': '1'
|
|
1559
|
+
});
|
|
1560
|
+
```
|
|
1561
|
+
Nothing you do to the sprite will persist after the transition is
|
|
1562
|
+
finished – we clean things up when it ends.
|
|
1563
|
+
@method applyStyles
|
|
1564
|
+
@param {Object} styles The styles to apply to the sprite.
|
|
1565
|
+
@return {void}
|
|
1566
|
+
*/
|
|
1567
|
+
applyStyles(styles) {
|
|
1568
|
+
if (!this._lockMode) throw new Error("can't apply styles to non-lockable sprite");
|
|
1569
|
+
if (styles !== this._imposedStyle) Object.keys(styles).forEach((property) => {
|
|
1570
|
+
if (this._imposedStyle[property] == null) this._styleCache[property] = this.element.style.getPropertyValue(property);
|
|
1571
|
+
this._imposedStyle[property] = styles[property];
|
|
1572
|
+
});
|
|
1573
|
+
Object.keys(styles).forEach((property) => {
|
|
1574
|
+
let val = styles[property];
|
|
1575
|
+
if (typeof val !== "string") throw new Error(`Sprite#applyStyles only accepts string values. Convert any numeric values to strings (with appropriate units) before calling. You passed ${property}=${val}`);
|
|
1576
|
+
else setStyle(this.element, property, styles[property]);
|
|
1577
|
+
});
|
|
1578
|
+
}
|
|
1579
|
+
stillInFlight() {
|
|
1580
|
+
return inFlight.get(this.element) === this;
|
|
1581
|
+
}
|
|
1582
|
+
/**
|
|
1583
|
+
Hides the sprite using CSS visibility property.
|
|
1584
|
+
@method hide
|
|
1585
|
+
@return {void}
|
|
1586
|
+
*/
|
|
1587
|
+
hide() {
|
|
1588
|
+
this._revealed = false;
|
|
1589
|
+
this.__element.classList.add("ember-animated-hidden");
|
|
1590
|
+
}
|
|
1591
|
+
/**
|
|
1592
|
+
Reveals the sprite using CSS visibility property.
|
|
1593
|
+
_Newly inserted sprites start hidden, and are revealed when you
|
|
1594
|
+
start animating them. You can manually reveal them with this if
|
|
1595
|
+
you want them to appear right away and you're not animating them._
|
|
1596
|
+
@method reveal
|
|
1597
|
+
@return {void}
|
|
1598
|
+
*/
|
|
1599
|
+
reveal() {
|
|
1600
|
+
if (!this.revealed) {
|
|
1601
|
+
this._revealed = true;
|
|
1602
|
+
this.__element.classList.remove("ember-animated-hidden");
|
|
1603
|
+
}
|
|
1604
|
+
}
|
|
1605
|
+
/**
|
|
1606
|
+
Manages the application of the `ember-animated-none` CSS class on
|
|
1607
|
+
the element.
|
|
1608
|
+
When the flag is truthy, the class is removed and the element is
|
|
1609
|
+
therefore visible.
|
|
1610
|
+
When the flag is falsy, the class is applied and the element is
|
|
1611
|
+
therefore hidden.
|
|
1612
|
+
@method display
|
|
1613
|
+
@param {boolean} flag
|
|
1614
|
+
@return {void}
|
|
1615
|
+
*/
|
|
1616
|
+
display(flag) {
|
|
1617
|
+
if (flag) this.__element.classList.remove("ember-animated-none");
|
|
1618
|
+
else this.__element.classList.add("ember-animated-none");
|
|
1619
|
+
}
|
|
1620
|
+
/**
|
|
1621
|
+
Translates the sprite by the given number of screen pixels.
|
|
1622
|
+
_Disregards any pre-existing transforms._
|
|
1623
|
+
@method translate
|
|
1624
|
+
@param {number} dx The number of screen pixels on the x axis.
|
|
1625
|
+
@param {number} dy The number of screen pixels on the y axis.
|
|
1626
|
+
@return {void}
|
|
1627
|
+
*/
|
|
1628
|
+
translate(dx, dy) {
|
|
1629
|
+
let t = this.transform;
|
|
1630
|
+
t = t.mult(new Transform(1, 0, 0, 1, dx / t.a, dy / t.d));
|
|
1631
|
+
this._transform = t;
|
|
1632
|
+
this.applyStyles({
|
|
1633
|
+
transform: t.serialize(),
|
|
1634
|
+
"transform-origin": "0 0"
|
|
1635
|
+
});
|
|
1636
|
+
}
|
|
1637
|
+
/**
|
|
1638
|
+
Adjusts the sprite's scale by the given scaling factors.
|
|
1639
|
+
@method scale
|
|
1640
|
+
@param {number} scaleX The scaling factor to apply to the x axis.
|
|
1641
|
+
@param {number} scaleY The scaling factor to apply to the y axis.
|
|
1642
|
+
@return {void}
|
|
1643
|
+
*/
|
|
1644
|
+
scale(scaleX, scaleY) {
|
|
1645
|
+
let t = this.transform.mult(new Transform(scaleX, 0, 0, scaleY, 0, 0));
|
|
1646
|
+
this._transform = t;
|
|
1647
|
+
this.applyStyles({
|
|
1648
|
+
transform: t.serialize(),
|
|
1649
|
+
"transform-origin": "0 0"
|
|
1650
|
+
});
|
|
1651
|
+
}
|
|
1652
|
+
/**
|
|
1653
|
+
Adjusts the sprite so it will still be in the same visual position
|
|
1654
|
+
despite being moved into a new offset parent.
|
|
1655
|
+
@method rehome
|
|
1656
|
+
@param {Sprite} newOffsetSprite
|
|
1657
|
+
@return {void}
|
|
1658
|
+
*/
|
|
1659
|
+
rehome(newOffsetSprite) {
|
|
1660
|
+
let screenBounds = this.absoluteInitialBounds;
|
|
1661
|
+
let newRelativeBounds = shiftedBounds(screenBounds, -newOffsetSprite.initialBounds.left, -newOffsetSprite.initialBounds.top);
|
|
1662
|
+
let initialAmbientTransform = this._offsetSprite.cumulativeTransform;
|
|
1663
|
+
let finalAmbientTransform = newOffsetSprite.cumulativeTransform;
|
|
1664
|
+
let t = this.transform;
|
|
1665
|
+
t = t.mult(new Transform(initialAmbientTransform.a / finalAmbientTransform.a, 0, 0, initialAmbientTransform.d / finalAmbientTransform.d, (newRelativeBounds.left - t.tx) / t.a, (newRelativeBounds.top - t.ty) / t.d));
|
|
1666
|
+
this._transform = t;
|
|
1667
|
+
this._imposedStyle["transform"] = t.serialize();
|
|
1668
|
+
this._imposedStyle["transform-origin"] = "0 0";
|
|
1669
|
+
this._imposedStyle["top"] = `0px`;
|
|
1670
|
+
this._imposedStyle["left"] = `0px`;
|
|
1671
|
+
this._offsetSprite = newOffsetSprite;
|
|
1672
|
+
this._initialBounds = newRelativeBounds;
|
|
1673
|
+
this._inInitialPosition = true;
|
|
1674
|
+
}
|
|
1675
|
+
_handleMarginCollapse() {
|
|
1676
|
+
if (this._collapsingChildren) {
|
|
1677
|
+
const children = this._collapsingChildren;
|
|
1678
|
+
for (const child of children) child.classList.add("ember-animated-top-collapse");
|
|
1679
|
+
}
|
|
1680
|
+
}
|
|
1681
|
+
_clearMarginCollapse() {
|
|
1682
|
+
if (this._collapsingChildren) {
|
|
1683
|
+
const children = this._collapsingChildren;
|
|
1684
|
+
for (const child of children) child.classList.remove("ember-animated-top-collapse");
|
|
1685
|
+
}
|
|
1686
|
+
}
|
|
1687
|
+
/**
|
|
1688
|
+
Sets the sprite's `initialBounds` relative to the provided `otherSprite`.
|
|
1689
|
+
@method startAtSprite
|
|
1690
|
+
@param {Sprite} otherSprite
|
|
1691
|
+
@return {void}
|
|
1692
|
+
*/
|
|
1693
|
+
startAtSprite(otherSprite) {
|
|
1694
|
+
continueMotions(otherSprite.element, this.element);
|
|
1695
|
+
let diff = this.difference("finalBounds", otherSprite, "initialBounds");
|
|
1696
|
+
this.startTranslatedBy(-diff.dx, -diff.dy);
|
|
1697
|
+
this._initialBounds = resizedBounds(this._initialBounds, otherSprite.initialBounds.width, otherSprite.initialBounds.height);
|
|
1698
|
+
this._initialComputedStyle = otherSprite.initialComputedStyle;
|
|
1699
|
+
this._initialCumulativeTransform = otherSprite.initialCumulativeTransform;
|
|
1700
|
+
}
|
|
1701
|
+
/**
|
|
1702
|
+
Sets the sprite's `initialBounds` using the provided
|
|
1703
|
+
x and y coordinates.
|
|
1704
|
+
```js
|
|
1705
|
+
sprite.startAtPixel({ x: 0, y: 0 });
|
|
1706
|
+
```
|
|
1707
|
+
@method startAtPixel
|
|
1708
|
+
@param {Object} point The x and y coordinates.
|
|
1709
|
+
@return {void}
|
|
1710
|
+
*/
|
|
1711
|
+
startAtPixel({ x, y }) {
|
|
1712
|
+
let dx = 0;
|
|
1713
|
+
let dy = 0;
|
|
1714
|
+
if (x != null) {
|
|
1715
|
+
dx = x - this._finalBounds.left;
|
|
1716
|
+
if (this._offsetSprite) dx -= this._offsetSprite.finalBounds.left;
|
|
1717
|
+
}
|
|
1718
|
+
if (y != null) {
|
|
1719
|
+
dy = y - this._finalBounds.top;
|
|
1720
|
+
if (this._offsetSprite) dy -= this._offsetSprite.finalBounds.top;
|
|
1721
|
+
}
|
|
1722
|
+
this.startTranslatedBy(dx, dy);
|
|
1723
|
+
}
|
|
1724
|
+
/**
|
|
1725
|
+
Sets the sprite's `initialBounds` relative to its `finalBounds`.
|
|
1726
|
+
@method startTranslatedBy
|
|
1727
|
+
@param {number} dx
|
|
1728
|
+
@param {number} dy
|
|
1729
|
+
@return {void}
|
|
1730
|
+
*/
|
|
1731
|
+
startTranslatedBy(dx, dy) {
|
|
1732
|
+
let priorInitialBounds = this._initialBounds;
|
|
1733
|
+
let offsetX = 0;
|
|
1734
|
+
let offsetY = 0;
|
|
1735
|
+
if (this._offsetSprite) {
|
|
1736
|
+
offsetX = this._offsetSprite.finalBounds.left - this._offsetSprite.initialBounds.left;
|
|
1737
|
+
offsetY = this._offsetSprite.finalBounds.top - this._offsetSprite.initialBounds.top;
|
|
1738
|
+
}
|
|
1739
|
+
this._initialBounds = shiftedBounds(this._finalBounds, dx - offsetX, dy - offsetY);
|
|
1740
|
+
if (this._inInitialPosition) this.translate(this._initialBounds.left - priorInitialBounds.left, this._initialBounds.top - priorInitialBounds.top);
|
|
1741
|
+
else {
|
|
1742
|
+
this.translate(this._initialBounds.left - this._finalBounds.left, this._initialBounds.top - this._finalBounds.top);
|
|
1743
|
+
this._inInitialPosition = true;
|
|
1744
|
+
}
|
|
1745
|
+
}
|
|
1746
|
+
/**
|
|
1747
|
+
Moves the sprite to its final position (`finalBounds`).
|
|
1748
|
+
@method moveToFinalPosition
|
|
1749
|
+
@return {void}
|
|
1750
|
+
*/
|
|
1751
|
+
moveToFinalPosition() {
|
|
1752
|
+
if (this._inInitialPosition) {
|
|
1753
|
+
let initial = this._initialBounds;
|
|
1754
|
+
let final = this._finalBounds;
|
|
1755
|
+
let dx = final.left - initial.left;
|
|
1756
|
+
let dy = final.top - initial.top;
|
|
1757
|
+
this.translate(dx, dy);
|
|
1758
|
+
this._inInitialPosition = false;
|
|
1759
|
+
}
|
|
1760
|
+
}
|
|
1761
|
+
/**
|
|
1762
|
+
Sets the sprite's `finalBounds` using the provided `otherSprite`.
|
|
1763
|
+
@method endAtSprite
|
|
1764
|
+
@param {Sprite} otherSprite
|
|
1765
|
+
@return {void}
|
|
1766
|
+
*/
|
|
1767
|
+
endAtSprite(otherSprite) {
|
|
1768
|
+
let diff = otherSprite.difference("finalBounds", this, "initialBounds");
|
|
1769
|
+
this.endTranslatedBy(diff.dx, diff.dy);
|
|
1770
|
+
this._finalBounds = resizedBounds(this._finalBounds, otherSprite.finalBounds.width, otherSprite.finalBounds.height);
|
|
1771
|
+
this._finalComputedStyle = otherSprite.finalComputedStyle;
|
|
1772
|
+
this._finalCumulativeTransform = otherSprite.finalCumulativeTransform;
|
|
1773
|
+
}
|
|
1774
|
+
/**
|
|
1775
|
+
Sets the sprite's `finalBounds` using the provided point `{ x, y }`.
|
|
1776
|
+
```js
|
|
1777
|
+
sprite.endAtPixel({ x: window.innerWidth });
|
|
1778
|
+
```
|
|
1779
|
+
@method endAtPixel
|
|
1780
|
+
@param {Object} point The x and y coordinates.
|
|
1781
|
+
@return {void}
|
|
1782
|
+
*/
|
|
1783
|
+
endAtPixel({ x, y }) {
|
|
1784
|
+
let dx = 0;
|
|
1785
|
+
let dy = 0;
|
|
1786
|
+
if (x != null) {
|
|
1787
|
+
dx = x - this._initialBounds.left;
|
|
1788
|
+
if (this._offsetSprite) dx -= this._offsetSprite.initialBounds.left;
|
|
1789
|
+
}
|
|
1790
|
+
if (y != null) {
|
|
1791
|
+
dy = y - this._initialBounds.top;
|
|
1792
|
+
if (this._offsetSprite) dy -= this._offsetSprite.initialBounds.top;
|
|
1793
|
+
}
|
|
1794
|
+
this.endTranslatedBy(dx, dy);
|
|
1795
|
+
}
|
|
1796
|
+
/**
|
|
1797
|
+
Sets the sprite's `finalBounds` using its `initialBounds` and
|
|
1798
|
+
the provided x and y axis offset.
|
|
1799
|
+
@method endTranslatedBy
|
|
1800
|
+
@param {number} dx The x axis offset.
|
|
1801
|
+
@param {number} dy The y axis offset.
|
|
1802
|
+
@return {void}
|
|
1803
|
+
*/
|
|
1804
|
+
endTranslatedBy(dx, dy) {
|
|
1805
|
+
this._finalBounds = shiftedBounds(this._initialBounds, dx, dy);
|
|
1806
|
+
}
|
|
1807
|
+
/**
|
|
1808
|
+
Sets this sprite's `finalBounds` so that its position relative
|
|
1809
|
+
to the `otherSprite` remains constant through the transition.
|
|
1810
|
+
@method endRelativeTo
|
|
1811
|
+
@param {Sprite} otherSprite Note: must have initial and final bounds
|
|
1812
|
+
@return {void}
|
|
1813
|
+
*/
|
|
1814
|
+
endRelativeTo(otherSprite) {
|
|
1815
|
+
this.endTranslatedBy(otherSprite.finalBounds.left - otherSprite.initialBounds.left, otherSprite.finalBounds.top - otherSprite.initialBounds.top);
|
|
1816
|
+
}
|
|
1817
|
+
};
|
|
1818
|
+
function findOffsets(element, computedStyle, transform, offsetSprite) {
|
|
1819
|
+
let ownBounds = element.getBoundingClientRect();
|
|
1820
|
+
let left = ownBounds.left;
|
|
1821
|
+
let top = ownBounds.top;
|
|
1822
|
+
let effectiveOffsetParent;
|
|
1823
|
+
if (computedStyle.position !== "fixed") effectiveOffsetParent = offsetSprite.element;
|
|
1824
|
+
if (effectiveOffsetParent) {
|
|
1825
|
+
if (effectiveOffsetParent.tagName === "BODY") {
|
|
1826
|
+
left += window.scrollX;
|
|
1827
|
+
top += window.scrollY;
|
|
1828
|
+
} else {
|
|
1829
|
+
left += effectiveOffsetParent.scrollLeft;
|
|
1830
|
+
top += effectiveOffsetParent.scrollTop;
|
|
1831
|
+
}
|
|
1832
|
+
let eopComputedStyle = getComputedStyle(effectiveOffsetParent);
|
|
1833
|
+
if (eopComputedStyle.position !== "static" || eopComputedStyle.transform !== "none") {
|
|
1834
|
+
let eopBounds = effectiveOffsetParent.getBoundingClientRect();
|
|
1835
|
+
left -= eopBounds.left + parseFloat(eopComputedStyle.borderLeftWidth || "0");
|
|
1836
|
+
top -= eopBounds.top + parseFloat(eopComputedStyle.borderTopWidth || "0");
|
|
1837
|
+
let eopTransform = cumulativeTransform(effectiveOffsetParent);
|
|
1838
|
+
left /= eopTransform.a;
|
|
1839
|
+
top /= eopTransform.d;
|
|
1840
|
+
}
|
|
1841
|
+
}
|
|
1842
|
+
left -= transform.tx;
|
|
1843
|
+
top -= transform.ty;
|
|
1844
|
+
return {
|
|
1845
|
+
top,
|
|
1846
|
+
left
|
|
1847
|
+
};
|
|
1848
|
+
}
|
|
1849
|
+
var SVGNamespace = "http://www.w3.org/2000/svg";
|
|
1850
|
+
function isSVG(element) {
|
|
1851
|
+
return element.namespaceURI === SVGNamespace && (element.parentElement || false) && element.parentElement.namespaceURI === SVGNamespace;
|
|
1852
|
+
}
|
|
1853
|
+
function getEffectiveOffsetParent(element) {
|
|
1854
|
+
if (isSVG(element)) {
|
|
1855
|
+
let cursor = element.parentElement;
|
|
1856
|
+
while (cursor && cursor.namespaceURI === SVGNamespace) {
|
|
1857
|
+
if (cursor.tagName === "svg") return cursor;
|
|
1858
|
+
cursor = cursor.parentElement;
|
|
1859
|
+
}
|
|
1860
|
+
}
|
|
1861
|
+
let offsetParent = element.offsetParent;
|
|
1862
|
+
let cursor = element.parentElement;
|
|
1863
|
+
while (cursor && offsetParent && cursor !== offsetParent) {
|
|
1864
|
+
let styles = window.getComputedStyle(cursor);
|
|
1865
|
+
if ((styles.transform !== "" ? styles.transform : cursor.style.transform) !== "none") return cursor;
|
|
1866
|
+
cursor = cursor.parentElement;
|
|
1867
|
+
}
|
|
1868
|
+
return offsetParent;
|
|
1869
|
+
}
|
|
1870
|
+
function getSVGLength(element, property) {
|
|
1871
|
+
if (element[property]) return element[property].baseVal.value;
|
|
1872
|
+
return null;
|
|
1873
|
+
}
|
|
1874
|
+
function setSVGLength(element, property, values) {
|
|
1875
|
+
if (typeof values[property] === "number") element[property].baseVal.value = values[property];
|
|
1876
|
+
}
|
|
1877
|
+
function setAttribute(element, attrName, values) {
|
|
1878
|
+
let value = values[attrName];
|
|
1879
|
+
if (value) element.setAttribute(attrName, value);
|
|
1880
|
+
else element.removeAttribute(attrName);
|
|
1881
|
+
}
|
|
1882
|
+
function setStyle(element, property, value) {
|
|
1883
|
+
if (/[A-Z]/.test(property)) throw new Error(`applyStyles expects all CSS property names to be formatted as in CSS. Not camelcased. You passed ${property}.`);
|
|
1884
|
+
element.style.setProperty(property, value);
|
|
1885
|
+
}
|
|
1886
|
+
function copyComputedStyle(element) {
|
|
1887
|
+
let computed = getComputedStyle(element);
|
|
1888
|
+
let output = new CopiedCSS();
|
|
1889
|
+
for (let property of COPIED_CSS_PROPERTIES) output[property] = computed.getPropertyValue(property);
|
|
1890
|
+
return output;
|
|
1891
|
+
}
|
|
1892
|
+
var CopiedCSS = class {
|
|
1893
|
+
"opacity";
|
|
1894
|
+
"font-size";
|
|
1895
|
+
"font-family";
|
|
1896
|
+
"font-weight";
|
|
1897
|
+
"color";
|
|
1898
|
+
"background-color";
|
|
1899
|
+
"border-color";
|
|
1900
|
+
"letter-spacing";
|
|
1901
|
+
"line-height";
|
|
1902
|
+
"text-align";
|
|
1903
|
+
"text-transform";
|
|
1904
|
+
"padding";
|
|
1905
|
+
"padding-top";
|
|
1906
|
+
"padding-bottom";
|
|
1907
|
+
"padding-left";
|
|
1908
|
+
"padding-right";
|
|
1909
|
+
"border-radius";
|
|
1910
|
+
"border-top-left-radius";
|
|
1911
|
+
"border-top-right-radius";
|
|
1912
|
+
"border-bottom-left-radius";
|
|
1913
|
+
"border-bottom-right-radius";
|
|
1914
|
+
"box-shadow";
|
|
1915
|
+
};
|
|
1916
|
+
var COPIED_CSS_PROPERTIES = [
|
|
1917
|
+
"opacity",
|
|
1918
|
+
"font-size",
|
|
1919
|
+
"font-family",
|
|
1920
|
+
"font-weight",
|
|
1921
|
+
"color",
|
|
1922
|
+
"background-color",
|
|
1923
|
+
"border-color",
|
|
1924
|
+
"letter-spacing",
|
|
1925
|
+
"line-height",
|
|
1926
|
+
"text-align",
|
|
1927
|
+
"text-transform",
|
|
1928
|
+
"padding",
|
|
1929
|
+
"padding-top",
|
|
1930
|
+
"padding-bottom",
|
|
1931
|
+
"padding-left",
|
|
1932
|
+
"padding-right",
|
|
1933
|
+
"border-radius",
|
|
1934
|
+
"border-top-left-radius",
|
|
1935
|
+
"border-top-right-radius",
|
|
1936
|
+
"border-bottom-left-radius",
|
|
1937
|
+
"border-bottom-right-radius",
|
|
1938
|
+
"box-shadow"
|
|
1939
|
+
];
|
|
1940
|
+
//#endregion
|
|
1941
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-beacon.js
|
|
1942
|
+
var service$3 = service$4 ?? inject;
|
|
1943
|
+
/**
|
|
1944
|
+
A component that marks a region of the page that
|
|
1945
|
+
can serve as a source or destination for sprites to animate to and from.
|
|
1946
|
+
|
|
1947
|
+
```hbs
|
|
1948
|
+
{{#animated-beacon name="one"}}
|
|
1949
|
+
<button {{action "launch"}}>Launch</button>
|
|
1950
|
+
{{/animated-beacon}}
|
|
1951
|
+
|
|
1952
|
+
{{#animated-if showThing use=transition}}
|
|
1953
|
+
<div class="message" {{action "dismiss"}}>
|
|
1954
|
+
Hello
|
|
1955
|
+
</div>
|
|
1956
|
+
{{/animated-if}}
|
|
1957
|
+
```
|
|
1958
|
+
|
|
1959
|
+
```js
|
|
1960
|
+
import Component from '@ember/component';
|
|
1961
|
+
import move from 'ember-animated/motions/move';
|
|
1962
|
+
import scale from 'ember-animated/motions/scale';
|
|
1963
|
+
|
|
1964
|
+
export default Component.extend({
|
|
1965
|
+
showThing: false,
|
|
1966
|
+
|
|
1967
|
+
transition: function *({ insertedSprites, keptSprites, removedSprites, beacons }) {
|
|
1968
|
+
for (let sprite of insertedSprites) {
|
|
1969
|
+
sprite.startAtSprite(beacons.one);
|
|
1970
|
+
move(sprite);
|
|
1971
|
+
scale(sprite);
|
|
1972
|
+
}
|
|
1973
|
+
|
|
1974
|
+
for (let sprite of keptSprites) {
|
|
1975
|
+
move(sprite);
|
|
1976
|
+
}
|
|
1977
|
+
|
|
1978
|
+
for (let sprite of removedSprites) {
|
|
1979
|
+
sprite.endAtSprite(beacons.one);
|
|
1980
|
+
move(sprite);
|
|
1981
|
+
scale(sprite);
|
|
1982
|
+
}
|
|
1983
|
+
});
|
|
1984
|
+
},
|
|
1985
|
+
|
|
1986
|
+
actions: {
|
|
1987
|
+
launch() {
|
|
1988
|
+
this.set('showThing', true);
|
|
1989
|
+
},
|
|
1990
|
+
dismiss() {
|
|
1991
|
+
this.set('showThing', false);
|
|
1992
|
+
}
|
|
1993
|
+
}
|
|
1994
|
+
});
|
|
1995
|
+
```
|
|
1996
|
+
@class animated-beacon
|
|
1997
|
+
@public
|
|
1998
|
+
*/
|
|
1999
|
+
var AnimatedBeacon = class extends Component {
|
|
2000
|
+
name;
|
|
2001
|
+
tagName = "";
|
|
2002
|
+
_inserted = false;
|
|
2003
|
+
static {
|
|
2004
|
+
decorateFieldV2(this.prototype, "motionService", [service$3("-ea-motion")]);
|
|
2005
|
+
}
|
|
2006
|
+
#motionService = (initializeDeferredDecorator(this, "motionService"), void 0);
|
|
2007
|
+
didInsertElement() {
|
|
2008
|
+
super.didInsertElement();
|
|
2009
|
+
this._inserted = true;
|
|
2010
|
+
this.animationStarting = this.animationStarting.bind(this);
|
|
2011
|
+
this.motionService.observeAnimations(this.animationStarting);
|
|
2012
|
+
}
|
|
2013
|
+
willDestroyElement() {
|
|
2014
|
+
super.willDestroyElement();
|
|
2015
|
+
this.motionService.unobserveAnimations(this.animationStarting);
|
|
2016
|
+
}
|
|
2017
|
+
animationStarting() {
|
|
2018
|
+
this.participate.perform();
|
|
2019
|
+
}
|
|
2020
|
+
_firstChildElement() {
|
|
2021
|
+
if (this._inserted) {
|
|
2022
|
+
let { firstNode, lastNode } = componentNodes(this);
|
|
2023
|
+
let node = firstNode;
|
|
2024
|
+
while (node) {
|
|
2025
|
+
if (node.nodeType === Node.ELEMENT_NODE) return node;
|
|
2026
|
+
if (node === lastNode) break;
|
|
2027
|
+
node = node.nextSibling;
|
|
2028
|
+
}
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
static {
|
|
2032
|
+
decorateFieldV2(this.prototype, "participate", [task(function* () {
|
|
2033
|
+
if (!this.name) throw new Error("Beacons must have a name.");
|
|
2034
|
+
if (this.motionService.hasBeacon(this.name)) return;
|
|
2035
|
+
let element = this._firstChildElement();
|
|
2036
|
+
if (!element) return;
|
|
2037
|
+
let offsetParent = Sprite.offsetParentStartingAt(element);
|
|
2038
|
+
let sprite = Sprite.positionedStartingAt(element, offsetParent);
|
|
2039
|
+
yield afterRender();
|
|
2040
|
+
yield microwait();
|
|
2041
|
+
yield* this.motionService.staticMeasurement(() => {
|
|
2042
|
+
offsetParent.measureFinalBounds();
|
|
2043
|
+
sprite.measureFinalBounds();
|
|
2044
|
+
});
|
|
2045
|
+
yield this.motionService.addBeacon.perform(this.name, sprite);
|
|
2046
|
+
})]);
|
|
2047
|
+
}
|
|
2048
|
+
#participate = (initializeDeferredDecorator(this, "participate"), void 0);
|
|
2049
|
+
static {
|
|
2050
|
+
setComponentTemplate(templateFactory({
|
|
2051
|
+
"id": "+EPWNCZI",
|
|
2052
|
+
"block": "[[[1,\"\\n\"],[1,\" \"],[18,1,null],[1,\"\\n \"]],[\"&default\"],[\"yield\"]]",
|
|
2053
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-beacon.js",
|
|
2054
|
+
"isStrictMode": true
|
|
2055
|
+
}), this);
|
|
2056
|
+
}
|
|
2057
|
+
};
|
|
2058
|
+
//#endregion
|
|
2059
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/resize.js
|
|
2060
|
+
var resize_exports = /* @__PURE__ */ __exportAll({
|
|
2061
|
+
Resize: () => Resize,
|
|
2062
|
+
default: () => resize
|
|
2063
|
+
});
|
|
2064
|
+
/**
|
|
2065
|
+
Smoothly resizes _sprite_ from its the initial size to its final size.
|
|
2066
|
+
|
|
2067
|
+
_sprite_ must have both `initialBounds` and `finalBounds` set.
|
|
2068
|
+
|
|
2069
|
+
Consider using `scale` instead because scale uses CSS transforms and will not trigger reflow.
|
|
2070
|
+
|
|
2071
|
+
```js
|
|
2072
|
+
for (let sprite of insertedSprites) {
|
|
2073
|
+
sprite.startAtSprite(beacons['source']);
|
|
2074
|
+
resize(sprite)
|
|
2075
|
+
}
|
|
2076
|
+
```
|
|
2077
|
+
|
|
2078
|
+
@function resize
|
|
2079
|
+
@export default
|
|
2080
|
+
@param {Sprite} sprite
|
|
2081
|
+
@return {Motion}
|
|
2082
|
+
*/
|
|
2083
|
+
function resize(sprite, opts = {}) {
|
|
2084
|
+
return new Resize(sprite, opts).run();
|
|
2085
|
+
}
|
|
2086
|
+
var Resize = class extends Motion {
|
|
2087
|
+
prior = null;
|
|
2088
|
+
widthTween = null;
|
|
2089
|
+
heightTween = null;
|
|
2090
|
+
interrupted(motions) {
|
|
2091
|
+
let prior = motions.find((m) => m instanceof this.constructor);
|
|
2092
|
+
if (prior) this.prior = prior;
|
|
2093
|
+
}
|
|
2094
|
+
*animate() {
|
|
2095
|
+
let sprite = this.sprite;
|
|
2096
|
+
let duration = this.duration;
|
|
2097
|
+
let widthTween;
|
|
2098
|
+
let heightTween;
|
|
2099
|
+
sprite.assertHasInitialBounds();
|
|
2100
|
+
sprite.assertHasFinalBounds();
|
|
2101
|
+
if (!this.prior) {
|
|
2102
|
+
widthTween = this.widthTween = new Tween(sprite.initialBounds.width / sprite.initialCumulativeTransform.a, sprite.finalBounds.width / sprite.finalCumulativeTransform.a, duration, this.opts.easing);
|
|
2103
|
+
heightTween = this.heightTween = new Tween(sprite.initialBounds.height / sprite.initialCumulativeTransform.d, sprite.finalBounds.height / sprite.finalCumulativeTransform.d, duration, this.opts.easing);
|
|
2104
|
+
} else {
|
|
2105
|
+
widthTween = this.widthTween = new Tween(0, sprite.finalBounds.width / sprite.finalCumulativeTransform.a - this.prior.sprite.finalBounds.width, duration, this.opts.easing).plus(this.prior.widthTween);
|
|
2106
|
+
heightTween = this.heightTween = new Tween(0, sprite.finalBounds.height / sprite.finalCumulativeTransform.d - this.prior.sprite.finalBounds.height, duration, this.opts.easing).plus(this.prior.heightTween);
|
|
2107
|
+
}
|
|
2108
|
+
while (!widthTween.done || !heightTween.done) {
|
|
2109
|
+
sprite.applyStyles({
|
|
2110
|
+
width: `${widthTween.currentValue}px`,
|
|
2111
|
+
height: `${heightTween.currentValue}px`
|
|
2112
|
+
});
|
|
2113
|
+
yield rAF();
|
|
2114
|
+
}
|
|
2115
|
+
}
|
|
2116
|
+
};
|
|
2117
|
+
//#endregion
|
|
2118
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-container.js
|
|
2119
|
+
var service$2 = service$4 ?? inject;
|
|
2120
|
+
/**
|
|
2121
|
+
Provides a boundary between animator components and the surrounding document
|
|
2122
|
+
which smoothly resizes as animators change. Use animated-container whenever you
|
|
2123
|
+
need to "hold a place for" some animated content while that content is animating.
|
|
2124
|
+
```hbs
|
|
2125
|
+
<button {{on "click" this.toggleThing}}>Toggle</button>
|
|
2126
|
+
<AnimatedContainer>
|
|
2127
|
+
{{#animated-if this.showThing use=this.transition }}
|
|
2128
|
+
<div class="message" {{on "click" this.toggleThing}}>
|
|
2129
|
+
Hello!
|
|
2130
|
+
</div>
|
|
2131
|
+
{{/animated-if}}
|
|
2132
|
+
</AnimatedContainer>
|
|
2133
|
+
<p>
|
|
2134
|
+
This is outside of the container.
|
|
2135
|
+
</p>
|
|
2136
|
+
```
|
|
2137
|
+
```js
|
|
2138
|
+
import Component from '@ember/component';
|
|
2139
|
+
import { action } from '@ember/object';
|
|
2140
|
+
import { tracked } from '@glimmer/tracking';
|
|
2141
|
+
import move from 'ember-animated/motions/move';
|
|
2142
|
+
import { easeOut, easeIn } from 'ember-animated/easings/cosine';
|
|
2143
|
+
|
|
2144
|
+
export default class AnimatedContainerComponentExample extends Component {
|
|
2145
|
+
@tracked showThing = false;
|
|
2146
|
+
|
|
2147
|
+
@action
|
|
2148
|
+
toggleThing() {
|
|
2149
|
+
this.showThing = !this.showThing;
|
|
2150
|
+
}
|
|
2151
|
+
|
|
2152
|
+
*transition({ insertedSprites, keptSprites, removedSprites }) {
|
|
2153
|
+
for (let sprite of insertedSprites) {
|
|
2154
|
+
sprite.startAtPixel({ x: window.innerWidth });
|
|
2155
|
+
yield move(sprite, { easing: easeOut });
|
|
2156
|
+
}
|
|
2157
|
+
|
|
2158
|
+
for (let sprite of keptSprites) {
|
|
2159
|
+
yield move(sprite);
|
|
2160
|
+
}
|
|
2161
|
+
|
|
2162
|
+
for (let sprite of removedSprites) {
|
|
2163
|
+
sprite.endAtPixel({ x: window.innerWidth });
|
|
2164
|
+
yield move(sprite, { easing: easeIn });
|
|
2165
|
+
}
|
|
2166
|
+
}
|
|
2167
|
+
}
|
|
2168
|
+
```
|
|
2169
|
+
@class animated-container
|
|
2170
|
+
@public
|
|
2171
|
+
*/
|
|
2172
|
+
var AnimatedContainerComponent = class extends Component {
|
|
2173
|
+
tagName = "";
|
|
2174
|
+
static {
|
|
2175
|
+
decorateFieldV2(this.prototype, "motionService", [service$2("-ea-motion")]);
|
|
2176
|
+
}
|
|
2177
|
+
#motionService = (initializeDeferredDecorator(this, "motionService"), void 0);
|
|
2178
|
+
/**
|
|
2179
|
+
* Use a custom tag for the container. Defaults to div.
|
|
2180
|
+
@argument tag
|
|
2181
|
+
@type String
|
|
2182
|
+
*/
|
|
2183
|
+
tag = "div";
|
|
2184
|
+
/**
|
|
2185
|
+
* Whether to animate the initial render. You will probably also need to set
|
|
2186
|
+
* initialInsertion=true on a child component of animated-container.
|
|
2187
|
+
* Defaults to false.
|
|
2188
|
+
@argument onInitialRender
|
|
2189
|
+
@type Boolean
|
|
2190
|
+
*/
|
|
2191
|
+
onInitialRender = false;
|
|
2192
|
+
/**
|
|
2193
|
+
* Use a custom motion to resize the container. Defaults to `Resize`.
|
|
2194
|
+
@argument motion
|
|
2195
|
+
@type String
|
|
2196
|
+
*/
|
|
2197
|
+
motion = Resize;
|
|
2198
|
+
_inserted = false;
|
|
2199
|
+
_startingUp = false;
|
|
2200
|
+
sprite = null;
|
|
2201
|
+
constructor(properties) {
|
|
2202
|
+
super(properties);
|
|
2203
|
+
this.motionService.register(this).observeDescendantAnimations(this, this.maybeAnimate);
|
|
2204
|
+
}
|
|
2205
|
+
didInsertElement() {
|
|
2206
|
+
super.didInsertElement();
|
|
2207
|
+
this._inserted = true;
|
|
2208
|
+
}
|
|
2209
|
+
_ownElement() {
|
|
2210
|
+
if (!this._inserted) return;
|
|
2211
|
+
let { firstNode, lastNode } = componentNodes(this);
|
|
2212
|
+
let node = firstNode;
|
|
2213
|
+
while (node) {
|
|
2214
|
+
if (node.nodeType === Node.ELEMENT_NODE) return node;
|
|
2215
|
+
if (node === lastNode) break;
|
|
2216
|
+
node = node.nextSibling;
|
|
2217
|
+
}
|
|
2218
|
+
}
|
|
2219
|
+
willDestroyElement() {
|
|
2220
|
+
super.willDestroyElement();
|
|
2221
|
+
this.motionService.unregister(this).unobserveDescendantAnimations(this, this.maybeAnimate);
|
|
2222
|
+
}
|
|
2223
|
+
static {
|
|
2224
|
+
decorateFieldV2(this.prototype, "isAnimating", [alias("animated.isRunning")]);
|
|
2225
|
+
}
|
|
2226
|
+
#isAnimating = (initializeDeferredDecorator(this, "isAnimating"), void 0);
|
|
2227
|
+
maybeAnimate({ duration, task }) {
|
|
2228
|
+
if (!this._startingUp) this.animate.perform(duration, task);
|
|
2229
|
+
}
|
|
2230
|
+
static {
|
|
2231
|
+
decorateMethodV2(this.prototype, "maybeAnimate", [action]);
|
|
2232
|
+
}
|
|
2233
|
+
beginStaticMeasurement() {
|
|
2234
|
+
if (this.sprite) this.sprite.unlock();
|
|
2235
|
+
}
|
|
2236
|
+
endStaticMeasurement() {
|
|
2237
|
+
if (this.sprite) this.sprite.lock();
|
|
2238
|
+
}
|
|
2239
|
+
static {
|
|
2240
|
+
decorateFieldV2(this.prototype, "animate", [task(function* (duration, animationTask) {
|
|
2241
|
+
this._startingUp = true;
|
|
2242
|
+
let service = this.motionService;
|
|
2243
|
+
let sprite;
|
|
2244
|
+
let useMotion;
|
|
2245
|
+
let element = this._ownElement();
|
|
2246
|
+
if (element) {
|
|
2247
|
+
sprite = Sprite.sizedStartingAt(element);
|
|
2248
|
+
this.sprite = sprite;
|
|
2249
|
+
sprite.lock();
|
|
2250
|
+
useMotion = true;
|
|
2251
|
+
} else useMotion = this.onInitialRender;
|
|
2252
|
+
try {
|
|
2253
|
+
yield afterRender();
|
|
2254
|
+
yield microwait();
|
|
2255
|
+
} finally {
|
|
2256
|
+
this._startingUp = false;
|
|
2257
|
+
}
|
|
2258
|
+
yield* service.staticMeasurement(() => {
|
|
2259
|
+
if (!sprite) {
|
|
2260
|
+
sprite = Sprite.sizedEndingAt(this._ownElement());
|
|
2261
|
+
this.sprite = sprite;
|
|
2262
|
+
} else sprite.measureFinalBounds();
|
|
2263
|
+
});
|
|
2264
|
+
if (useMotion) yield* new this.motion(this.sprite, { duration })._run();
|
|
2265
|
+
yield animationTask;
|
|
2266
|
+
this.sprite.unlock();
|
|
2267
|
+
this.sprite = null;
|
|
2268
|
+
}).restartable()]);
|
|
2269
|
+
}
|
|
2270
|
+
#animate = (initializeDeferredDecorator(this, "animate"), void 0);
|
|
2271
|
+
static {
|
|
2272
|
+
setComponentTemplate(templateFactory({
|
|
2273
|
+
"id": "1Srm6ICt",
|
|
2274
|
+
"block": "[[[1,\"\\n\"],[44,[[28,[32,0],[[30,0,[\"tag\"]]],null]],[[[1,\" \"],[8,[30,1],[[16,0,[29,[\"animated-container \",[30,2]]]],[17,3]],null,[[\"default\"],[[[[1,\"\\n \"],[18,4,null],[1,\"\\n \"]],[]]]]],[1,\"\\n\"]],[1]]],[1,\" \"]],[\"Tag\",\"@class\",\"&attrs\",\"&default\"],[\"let\",\"yield\"]]",
|
|
2275
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-container.js",
|
|
2276
|
+
"scope": () => [ElementHelper],
|
|
2277
|
+
"isStrictMode": true
|
|
2278
|
+
}), this);
|
|
2279
|
+
}
|
|
2280
|
+
};
|
|
2281
|
+
//#endregion
|
|
2282
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/partition.js
|
|
2283
|
+
var import_assert_never = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports) => {
|
|
2284
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
2285
|
+
exports.assertNever = assertNever;
|
|
2286
|
+
/**
|
|
2287
|
+
* Helper function for exhaustive checks of discriminated unions.
|
|
2288
|
+
* https://basarat.gitbooks.io/typescript/docs/types/discriminated-unions.html
|
|
2289
|
+
*
|
|
2290
|
+
* @example
|
|
2291
|
+
*
|
|
2292
|
+
* type A = {type: 'a'};
|
|
2293
|
+
* type B = {type: 'b'};
|
|
2294
|
+
* type Union = A | B;
|
|
2295
|
+
*
|
|
2296
|
+
* function doSomething(arg: Union) {
|
|
2297
|
+
* if (arg.type === 'a') {
|
|
2298
|
+
* return something;
|
|
2299
|
+
* }
|
|
2300
|
+
*
|
|
2301
|
+
* if (arg.type === 'b') {
|
|
2302
|
+
* return somethingElse;
|
|
2303
|
+
* }
|
|
2304
|
+
*
|
|
2305
|
+
* // TS will error if there are other types in the union
|
|
2306
|
+
* // Will throw an Error when called at runtime.
|
|
2307
|
+
* // Use `assertNever(arg, true)` instead to fail silently.
|
|
2308
|
+
* return assertNever(arg);
|
|
2309
|
+
* }
|
|
2310
|
+
*/
|
|
2311
|
+
function assertNever(value, errorMessageOrNoThrow) {
|
|
2312
|
+
if (typeof errorMessageOrNoThrow === "string") throw new Error(errorMessageOrNoThrow);
|
|
2313
|
+
if (typeof errorMessageOrNoThrow === "function") throw new Error(errorMessageOrNoThrow(value));
|
|
2314
|
+
if (errorMessageOrNoThrow) return value;
|
|
2315
|
+
throw new Error("Unhandled discriminated union member: ".concat(JSON.stringify(value)));
|
|
2316
|
+
}
|
|
2317
|
+
exports.default = assertNever;
|
|
2318
|
+
})))());
|
|
2319
|
+
function partition(iterator, predicate) {
|
|
2320
|
+
let truthy = [];
|
|
2321
|
+
let falsy = [];
|
|
2322
|
+
for (let item of iterator) if (predicate(item)) truthy.push(item);
|
|
2323
|
+
else falsy.push(item);
|
|
2324
|
+
return [truthy, falsy];
|
|
2325
|
+
}
|
|
2326
|
+
//#endregion
|
|
2327
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/-private/child.js
|
|
2328
|
+
var Child = class Child {
|
|
2329
|
+
state = "new";
|
|
2330
|
+
removalBlockers = 0;
|
|
2331
|
+
removalCycle = null;
|
|
2332
|
+
constructor(group, id, value, index) {
|
|
2333
|
+
this.group = group;
|
|
2334
|
+
this.id = id;
|
|
2335
|
+
this.value = value;
|
|
2336
|
+
this.index = index;
|
|
2337
|
+
this.removalBlockers = 0;
|
|
2338
|
+
this.removalCycle = null;
|
|
2339
|
+
}
|
|
2340
|
+
block(cycle) {
|
|
2341
|
+
if (this.removalCycle == null || this.removalCycle === cycle) {
|
|
2342
|
+
this.removalCycle = cycle;
|
|
2343
|
+
this.removalBlockers++;
|
|
2344
|
+
}
|
|
2345
|
+
}
|
|
2346
|
+
unblock(cycle) {
|
|
2347
|
+
if (this.removalCycle === cycle) this.removalBlockers--;
|
|
2348
|
+
}
|
|
2349
|
+
flagForRemoval() {
|
|
2350
|
+
this.removalCycle = null;
|
|
2351
|
+
this.removalBlockers = 0;
|
|
2352
|
+
this.state = "removing";
|
|
2353
|
+
}
|
|
2354
|
+
get shouldRemove() {
|
|
2355
|
+
return this.state === "removing" && this.removalBlockers < 1;
|
|
2356
|
+
}
|
|
2357
|
+
clone() {
|
|
2358
|
+
return new Child(this.group, this.id, this.value, this.index);
|
|
2359
|
+
}
|
|
2360
|
+
};
|
|
2361
|
+
//#endregion
|
|
2362
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/ea-list-element.js
|
|
2363
|
+
var EaListElement = class extends Component {
|
|
2364
|
+
tagName = "";
|
|
2365
|
+
isEmberAnimatedListElement = true;
|
|
2366
|
+
child;
|
|
2367
|
+
elementToChild;
|
|
2368
|
+
didRender() {
|
|
2369
|
+
super.didRender();
|
|
2370
|
+
let mapping = this.elementToChild;
|
|
2371
|
+
let child = this.child;
|
|
2372
|
+
this._forEachElement((elt) => {
|
|
2373
|
+
mapping.set(elt, child);
|
|
2374
|
+
});
|
|
2375
|
+
}
|
|
2376
|
+
_forEachElement(fn) {
|
|
2377
|
+
let { firstNode, lastNode } = componentNodes(this);
|
|
2378
|
+
let node = firstNode;
|
|
2379
|
+
while (node) {
|
|
2380
|
+
if (node.nodeType === Node.ELEMENT_NODE) fn(node);
|
|
2381
|
+
else if (!/^\s*$/.test(node.textContent)) warn("Found bare text content inside an animator", false, { id: "ember-animated-bare-text" });
|
|
2382
|
+
if (node === lastNode) break;
|
|
2383
|
+
node = node.nextSibling;
|
|
2384
|
+
}
|
|
2385
|
+
}
|
|
2386
|
+
};
|
|
2387
|
+
//#endregion
|
|
2388
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-each.js
|
|
2389
|
+
var service$1 = service$4 ?? inject;
|
|
2390
|
+
/**
|
|
2391
|
+
A drop in replacement for `{{#each}}` that animates changes to a list.
|
|
2392
|
+
|
|
2393
|
+
```hbs
|
|
2394
|
+
{{#animated-each items use=transition duration=2000 as |item|}}
|
|
2395
|
+
<div data-test-item={{item}} onclick={{action removeItem item}}>
|
|
2396
|
+
{{item}}
|
|
2397
|
+
</div>
|
|
2398
|
+
{{/animated-each}}
|
|
2399
|
+
```
|
|
2400
|
+
|
|
2401
|
+
```js
|
|
2402
|
+
import Component from '@ember/component';
|
|
2403
|
+
import move from 'ember-animated/motions/move';
|
|
2404
|
+
import { fadeOut } from 'ember-animated/motions/opacity';
|
|
2405
|
+
|
|
2406
|
+
export default Component.extend({
|
|
2407
|
+
init() {
|
|
2408
|
+
this._super();
|
|
2409
|
+
this.items = ['A', 'B', 'C', 'D', 'E'];
|
|
2410
|
+
},
|
|
2411
|
+
|
|
2412
|
+
* transition({ keptSprites, removedSprites }) {
|
|
2413
|
+
for (let sprite of keptSprites) {
|
|
2414
|
+
move(sprite);
|
|
2415
|
+
}
|
|
2416
|
+
|
|
2417
|
+
for (let sprite of removedSprites) {
|
|
2418
|
+
fadeOut(sprite);
|
|
2419
|
+
}
|
|
2420
|
+
},
|
|
2421
|
+
|
|
2422
|
+
removeItem(item){
|
|
2423
|
+
this.set('items', this.items.filter(i => i !== item));
|
|
2424
|
+
}
|
|
2425
|
+
});
|
|
2426
|
+
```
|
|
2427
|
+
@class animated-each
|
|
2428
|
+
@public
|
|
2429
|
+
*/
|
|
2430
|
+
var AnimatedEach = class extends Component {
|
|
2431
|
+
tagName = "";
|
|
2432
|
+
static positionalParams = ["items"];
|
|
2433
|
+
static {
|
|
2434
|
+
decorateFieldV2(this.prototype, "motionService", [service$1("-ea-motion")]);
|
|
2435
|
+
}
|
|
2436
|
+
#motionService = (initializeDeferredDecorator(this, "motionService"), void 0);
|
|
2437
|
+
/**
|
|
2438
|
+
* The list of data you are trying to render.
|
|
2439
|
+
@argument items
|
|
2440
|
+
@type Array
|
|
2441
|
+
*/
|
|
2442
|
+
items;
|
|
2443
|
+
/**
|
|
2444
|
+
* If set, this animator will only [match](../../between) other animators that have the same group value.
|
|
2445
|
+
@argument group
|
|
2446
|
+
@type String
|
|
2447
|
+
*/
|
|
2448
|
+
group;
|
|
2449
|
+
/**
|
|
2450
|
+
* Represents the amount of time an animation takes in miliseconds.
|
|
2451
|
+
@argument duration
|
|
2452
|
+
@type Number
|
|
2453
|
+
*/
|
|
2454
|
+
duration;
|
|
2455
|
+
/**
|
|
2456
|
+
* Specifies the [Transition](../../transitions)
|
|
2457
|
+
* to run when the list changes.
|
|
2458
|
+
@argument use
|
|
2459
|
+
@type Transition
|
|
2460
|
+
*/
|
|
2461
|
+
use;
|
|
2462
|
+
/**
|
|
2463
|
+
* Specifies data-dependent [Rules](../../rules) that choose which [Transition](../../transitions)
|
|
2464
|
+
* to run when the list changes. This takes precedence over `use`.
|
|
2465
|
+
@argument rules
|
|
2466
|
+
@type Rules
|
|
2467
|
+
*/
|
|
2468
|
+
rules;
|
|
2469
|
+
/**
|
|
2470
|
+
* When true, all the items in the list will animate as [`insertedSprites`](../../sprites) when the `{{#animated-each}}` is first rendered. Defaults to false.
|
|
2471
|
+
@argument initialInsertion
|
|
2472
|
+
@type Boolean
|
|
2473
|
+
*/
|
|
2474
|
+
initialInsertion = false;
|
|
2475
|
+
/**
|
|
2476
|
+
When true, all the items in the list will animate as [`removedSprites`](../../sprites) when the `{{#animated-each}}` is destroyed. Defaults to false.
|
|
2477
|
+
Note that an `<AnimatedOrphans/>` component must be actively rendered when this animator is removed for this option to have any effect.
|
|
2478
|
+
@argument finalRemoval
|
|
2479
|
+
@type Boolean
|
|
2480
|
+
*/
|
|
2481
|
+
finalRemoval = false;
|
|
2482
|
+
/**
|
|
2483
|
+
Serves the same purpose as the `key` in ember `{{#each}}`, and it's
|
|
2484
|
+
also used to compare values when [animating between components](../../between).
|
|
2485
|
+
@argument key
|
|
2486
|
+
@type String
|
|
2487
|
+
*/
|
|
2488
|
+
key;
|
|
2489
|
+
/**
|
|
2490
|
+
An optional comma-separated list of properties to observe on each of the
|
|
2491
|
+
objects in the items list. If any of those properties change, we will
|
|
2492
|
+
trigger an animated transition. Without this, we only animate when the list
|
|
2493
|
+
contents change, not when any deeper properties change.
|
|
2494
|
+
@argument watch
|
|
2495
|
+
@type String
|
|
2496
|
+
*/
|
|
2497
|
+
watch;
|
|
2498
|
+
_elementToChild = /* @__PURE__ */ new WeakMap();
|
|
2499
|
+
_prevItems = [];
|
|
2500
|
+
_prevSignature = [];
|
|
2501
|
+
_firstTime = true;
|
|
2502
|
+
_inserted = false;
|
|
2503
|
+
_renderedChildren = [];
|
|
2504
|
+
_renderedChildrenStartedMoving = false;
|
|
2505
|
+
_cycleCounter = 0;
|
|
2506
|
+
_keptSprites = null;
|
|
2507
|
+
_insertedSprites = null;
|
|
2508
|
+
_removedSprites = null;
|
|
2509
|
+
_lastTransition = null;
|
|
2510
|
+
_ancestorWillDestroyUs = false;
|
|
2511
|
+
init() {
|
|
2512
|
+
super.init();
|
|
2513
|
+
this.motionService.register(this).observeDescendantAnimations(this, this.maybeReanimate).observeAncestorAnimations(this, this.ancestorIsAnimating);
|
|
2514
|
+
this._installObservers();
|
|
2515
|
+
}
|
|
2516
|
+
_installObservers() {
|
|
2517
|
+
let key = this.key;
|
|
2518
|
+
if (key != null && key !== "@index" && key !== "@identity") this.addObserver(`items.@each.${key}`, this, this._invalidateRenderedChildren);
|
|
2519
|
+
let deps = this._deps;
|
|
2520
|
+
if (deps) for (let dep of deps) this.addObserver(`items.@each.${dep}`, this, this._invalidateRenderedChildren);
|
|
2521
|
+
}
|
|
2522
|
+
get _deps() {
|
|
2523
|
+
let w = this.watch;
|
|
2524
|
+
if (typeof w === "string") return w.split(/\s*,\s*/);
|
|
2525
|
+
}
|
|
2526
|
+
static {
|
|
2527
|
+
decorateMethodV2(this.prototype, "_deps", [computed("watch")]);
|
|
2528
|
+
}
|
|
2529
|
+
get durationWithDefault() {
|
|
2530
|
+
let d = this.duration;
|
|
2531
|
+
if (d == null) return 500;
|
|
2532
|
+
else return d;
|
|
2533
|
+
}
|
|
2534
|
+
static {
|
|
2535
|
+
decorateMethodV2(this.prototype, "durationWithDefault", [computed("duration")]);
|
|
2536
|
+
}
|
|
2537
|
+
_invalidateRenderedChildren() {
|
|
2538
|
+
this.notifyPropertyChange("renderedChildren");
|
|
2539
|
+
}
|
|
2540
|
+
_identitySignature(items, getKey) {
|
|
2541
|
+
if (!items) return [];
|
|
2542
|
+
let deps = this._deps;
|
|
2543
|
+
let signature = [];
|
|
2544
|
+
for (let i = 0; i < items.length; i++) {
|
|
2545
|
+
let item = items[i];
|
|
2546
|
+
signature.push(getKey(item, i));
|
|
2547
|
+
if (deps) for (const dep of deps) signature.push(get(item, dep));
|
|
2548
|
+
}
|
|
2549
|
+
return signature;
|
|
2550
|
+
}
|
|
2551
|
+
get renderedChildren() {
|
|
2552
|
+
let firstTime = this._firstTime;
|
|
2553
|
+
this._firstTime = false;
|
|
2554
|
+
let getKey = this.keyGetter;
|
|
2555
|
+
let oldChildren = this._renderedChildren;
|
|
2556
|
+
let oldItems = this._prevItems;
|
|
2557
|
+
let oldSignature = this._prevSignature;
|
|
2558
|
+
let newItems = this.items;
|
|
2559
|
+
let newSignature = this._identitySignature(newItems, getKey);
|
|
2560
|
+
let group = this.group || "__default__";
|
|
2561
|
+
this._prevItems = newItems ? newItems.slice() : [];
|
|
2562
|
+
this._prevSignature = newSignature;
|
|
2563
|
+
if (!newItems) newItems = [];
|
|
2564
|
+
let oldIndices = /* @__PURE__ */ new Map();
|
|
2565
|
+
oldChildren.forEach((child, index) => {
|
|
2566
|
+
oldIndices.set(child.id, index);
|
|
2567
|
+
});
|
|
2568
|
+
let newIndices = /* @__PURE__ */ new Map();
|
|
2569
|
+
newItems.forEach((item, index) => {
|
|
2570
|
+
newIndices.set(getKey(item, index), index);
|
|
2571
|
+
});
|
|
2572
|
+
let newChildren = newItems.map((value, listIndex) => {
|
|
2573
|
+
let id = getKey(value, listIndex);
|
|
2574
|
+
if (oldIndices.get(id) != null) {
|
|
2575
|
+
let child = new Child(group, id, value, listIndex);
|
|
2576
|
+
child.state = "kept";
|
|
2577
|
+
return child;
|
|
2578
|
+
} else return new Child(group, id, value, listIndex);
|
|
2579
|
+
}).concat(oldChildren.filter((child) => (!child.shouldRemove || !this._renderedChildrenStartedMoving) && newIndices.get(child.id) == null).map((child) => {
|
|
2580
|
+
child.flagForRemoval();
|
|
2581
|
+
return child;
|
|
2582
|
+
}));
|
|
2583
|
+
this._renderedChildren = newChildren;
|
|
2584
|
+
this._renderedChildrenStartedMoving = false;
|
|
2585
|
+
if (typeof FastBoot === "undefined" && !isStable(oldSignature, newSignature)) {
|
|
2586
|
+
let transition = this._transitionFor(firstTime, oldItems, newItems);
|
|
2587
|
+
this.animate.perform(transition, firstTime);
|
|
2588
|
+
}
|
|
2589
|
+
return newChildren;
|
|
2590
|
+
}
|
|
2591
|
+
static {
|
|
2592
|
+
decorateMethodV2(this.prototype, "renderedChildren", [computed("items.[]", "group")]);
|
|
2593
|
+
}
|
|
2594
|
+
static {
|
|
2595
|
+
decorateFieldV2(this.prototype, "isAnimating", [alias("animate.isRunning")]);
|
|
2596
|
+
}
|
|
2597
|
+
#isAnimating = (initializeDeferredDecorator(this, "isAnimating"), void 0);
|
|
2598
|
+
get keyGetter() {
|
|
2599
|
+
return keyForArray(this.key);
|
|
2600
|
+
}
|
|
2601
|
+
static {
|
|
2602
|
+
decorateMethodV2(this.prototype, "keyGetter", [computed("key")]);
|
|
2603
|
+
}
|
|
2604
|
+
didInsertElement() {
|
|
2605
|
+
super.didInsertElement();
|
|
2606
|
+
this._inserted = true;
|
|
2607
|
+
}
|
|
2608
|
+
*_ownElements() {
|
|
2609
|
+
if (!this._inserted) return;
|
|
2610
|
+
let { firstNode, lastNode } = componentNodes(this);
|
|
2611
|
+
let node = firstNode;
|
|
2612
|
+
while (node) {
|
|
2613
|
+
if (node.nodeType === Node.ELEMENT_NODE) yield node;
|
|
2614
|
+
if (node === lastNode) break;
|
|
2615
|
+
node = node.nextSibling;
|
|
2616
|
+
}
|
|
2617
|
+
}
|
|
2618
|
+
maybeReanimate() {
|
|
2619
|
+
if (this.animate.isRunning && !this.startAnimation.isRunning) this.animate.perform(this._lastTransition);
|
|
2620
|
+
}
|
|
2621
|
+
static {
|
|
2622
|
+
decorateMethodV2(this.prototype, "maybeReanimate", [action]);
|
|
2623
|
+
}
|
|
2624
|
+
ancestorIsAnimating(ourState) {
|
|
2625
|
+
if (ourState === "removing" && !this._ancestorWillDestroyUs) {
|
|
2626
|
+
this._ancestorWillDestroyUs = true;
|
|
2627
|
+
this._letSpritesEscape();
|
|
2628
|
+
} else if (ourState !== "removing" && this._ancestorWillDestroyUs) {
|
|
2629
|
+
this._ancestorWillDestroyUs = false;
|
|
2630
|
+
let transition = this._transitionFor(this._firstTime, [], this._prevItems);
|
|
2631
|
+
this.animate.perform(transition);
|
|
2632
|
+
}
|
|
2633
|
+
}
|
|
2634
|
+
static {
|
|
2635
|
+
decorateMethodV2(this.prototype, "ancestorIsAnimating", [action]);
|
|
2636
|
+
}
|
|
2637
|
+
_letSpritesEscape() {
|
|
2638
|
+
let transition = this._transitionFor(this._firstTime, this._prevItems, []);
|
|
2639
|
+
let removedSprites = [];
|
|
2640
|
+
let parent;
|
|
2641
|
+
for (let element of this._ownElements()) {
|
|
2642
|
+
if (!parent) parent = Sprite.offsetParentStartingAt(element);
|
|
2643
|
+
let sprite = Sprite.positionedStartingAt(element, parent);
|
|
2644
|
+
sprite.owner = this._elementToChild.get(element);
|
|
2645
|
+
removedSprites.push(sprite);
|
|
2646
|
+
}
|
|
2647
|
+
this.motionService.matchDestroyed(removedSprites, transition, this.durationWithDefault, this.finalRemoval);
|
|
2648
|
+
}
|
|
2649
|
+
willDestroyElement() {
|
|
2650
|
+
super.willDestroyElement();
|
|
2651
|
+
if (!this._ancestorWillDestroyUs) this._letSpritesEscape();
|
|
2652
|
+
this.motionService.unregister(this).unobserveDescendantAnimations(this, this.maybeReanimate).unobserveAncestorAnimations(this, this.ancestorIsAnimating);
|
|
2653
|
+
}
|
|
2654
|
+
beginStaticMeasurement() {
|
|
2655
|
+
if (this._keptSprites) {
|
|
2656
|
+
this._keptSprites.forEach((sprite) => sprite.unlock());
|
|
2657
|
+
this._insertedSprites.forEach((sprite) => sprite.unlock());
|
|
2658
|
+
this._removedSprites.forEach((sprite) => sprite.display(false));
|
|
2659
|
+
}
|
|
2660
|
+
}
|
|
2661
|
+
endStaticMeasurement() {
|
|
2662
|
+
if (this._keptSprites) {
|
|
2663
|
+
this._keptSprites.forEach((sprite) => sprite.lock());
|
|
2664
|
+
this._insertedSprites.forEach((sprite) => sprite.lock());
|
|
2665
|
+
this._removedSprites.forEach((sprite) => sprite.display(true));
|
|
2666
|
+
}
|
|
2667
|
+
}
|
|
2668
|
+
_findCurrentSprites() {
|
|
2669
|
+
let currentSprites = [];
|
|
2670
|
+
let parent;
|
|
2671
|
+
for (let element of this._ownElements()) {
|
|
2672
|
+
if (!parent) parent = Sprite.offsetParentStartingAt(element);
|
|
2673
|
+
let sprite = Sprite.positionedStartingAt(element, parent);
|
|
2674
|
+
currentSprites.push(sprite);
|
|
2675
|
+
}
|
|
2676
|
+
return {
|
|
2677
|
+
currentSprites,
|
|
2678
|
+
parent
|
|
2679
|
+
};
|
|
2680
|
+
}
|
|
2681
|
+
_partitionKeptAndRemovedSprites(currentSprites) {
|
|
2682
|
+
currentSprites.forEach((sprite) => {
|
|
2683
|
+
if (!sprite.element.parentElement) return;
|
|
2684
|
+
let child = this._elementToChild.get(sprite.element);
|
|
2685
|
+
sprite.owner = child;
|
|
2686
|
+
if (this._ancestorWillDestroyUs) this._removedSprites.push(sprite);
|
|
2687
|
+
else switch (child.state) {
|
|
2688
|
+
case "kept":
|
|
2689
|
+
this._keptSprites.push(sprite);
|
|
2690
|
+
break;
|
|
2691
|
+
case "removing":
|
|
2692
|
+
this._removedSprites.push(sprite);
|
|
2693
|
+
break;
|
|
2694
|
+
case "new":
|
|
2695
|
+
this._keptSprites.push(sprite);
|
|
2696
|
+
break;
|
|
2697
|
+
default: throw (0, import_assert_never.default)(child.state);
|
|
2698
|
+
}
|
|
2699
|
+
});
|
|
2700
|
+
}
|
|
2701
|
+
static {
|
|
2702
|
+
decorateFieldV2(this.prototype, "animate", [task(function* (transition, firstTime) {
|
|
2703
|
+
let { parent, currentSprites, insertedSprites, keptSprites, removedSprites } = yield this.startAnimation.perform(transition, current());
|
|
2704
|
+
let { matchingAnimatorsFinished } = yield this.runAnimation.perform(transition, parent, currentSprites, insertedSprites, keptSprites, removedSprites, firstTime);
|
|
2705
|
+
yield this.finalizeAnimation.perform(insertedSprites, keptSprites, removedSprites, matchingAnimatorsFinished);
|
|
2706
|
+
}).restartable()]);
|
|
2707
|
+
}
|
|
2708
|
+
#animate = (initializeDeferredDecorator(this, "animate"), void 0);
|
|
2709
|
+
static {
|
|
2710
|
+
decorateFieldV2(this.prototype, "startAnimation", [task(function* (transition, animateTask) {
|
|
2711
|
+
this._lastTransition = transition;
|
|
2712
|
+
let keptSprites = this._keptSprites = [];
|
|
2713
|
+
let removedSprites = this._removedSprites = [];
|
|
2714
|
+
let insertedSprites = this._insertedSprites = [];
|
|
2715
|
+
let { currentSprites, parent } = this._findCurrentSprites();
|
|
2716
|
+
this.motionService.willAnimate({
|
|
2717
|
+
task: animateTask,
|
|
2718
|
+
duration: this.durationWithDefault,
|
|
2719
|
+
component: this,
|
|
2720
|
+
children: this._renderedChildren
|
|
2721
|
+
});
|
|
2722
|
+
currentSprites.forEach((sprite) => sprite.lock());
|
|
2723
|
+
yield afterRender();
|
|
2724
|
+
return {
|
|
2725
|
+
parent,
|
|
2726
|
+
currentSprites,
|
|
2727
|
+
insertedSprites,
|
|
2728
|
+
keptSprites,
|
|
2729
|
+
removedSprites
|
|
2730
|
+
};
|
|
2731
|
+
})]);
|
|
2732
|
+
}
|
|
2733
|
+
#startAnimation = (initializeDeferredDecorator(this, "startAnimation"), void 0);
|
|
2734
|
+
static {
|
|
2735
|
+
decorateFieldV2(this.prototype, "runAnimation", [task(function* (transition, parent, currentSprites, insertedSprites, keptSprites, removedSprites, firstTime) {
|
|
2736
|
+
this._partitionKeptAndRemovedSprites(currentSprites);
|
|
2737
|
+
yield* this.motionService.staticMeasurement(() => {
|
|
2738
|
+
if (parent && !parent.finalBounds) parent.measureFinalBounds();
|
|
2739
|
+
for (let element of this._ownElements()) if (!currentSprites.find((sprite) => sprite.element === element)) {
|
|
2740
|
+
if (!parent) parent = Sprite.offsetParentEndingAt(element);
|
|
2741
|
+
let sprite = Sprite.positionedEndingAt(element, parent);
|
|
2742
|
+
sprite.owner = this._elementToChild.get(element);
|
|
2743
|
+
sprite.hide();
|
|
2744
|
+
insertedSprites.push(sprite);
|
|
2745
|
+
}
|
|
2746
|
+
keptSprites.forEach((sprite) => sprite.measureFinalBounds());
|
|
2747
|
+
});
|
|
2748
|
+
let { farMatches, matchingAnimatorsFinished, beacons } = yield this.motionService.get("farMatch").perform(current(), insertedSprites, keptSprites, removedSprites);
|
|
2749
|
+
if (parent && !parent.initialBounds) parent.measureInitialBounds();
|
|
2750
|
+
let [sentSprites, unmatchedRemovedSprites] = partition(removedSprites, (sprite) => {
|
|
2751
|
+
let other = farMatches.get(sprite);
|
|
2752
|
+
if (other) {
|
|
2753
|
+
sprite.endAtSprite(other);
|
|
2754
|
+
if (other.revealed && !sprite.revealed) sprite.startAtSprite(other);
|
|
2755
|
+
return true;
|
|
2756
|
+
}
|
|
2757
|
+
return false;
|
|
2758
|
+
});
|
|
2759
|
+
let [receivedSprites, unmatchedInsertedSprites] = partition(insertedSprites, (sprite) => {
|
|
2760
|
+
let other = farMatches.get(sprite);
|
|
2761
|
+
if (other) {
|
|
2762
|
+
sprite.startAtSprite(other);
|
|
2763
|
+
return true;
|
|
2764
|
+
}
|
|
2765
|
+
return false;
|
|
2766
|
+
});
|
|
2767
|
+
let [matchedKeptSprites, unmatchedKeptSprites] = partition(keptSprites, (sprite) => {
|
|
2768
|
+
let other = farMatches.get(sprite);
|
|
2769
|
+
if (other) {
|
|
2770
|
+
if (other.revealed && !sprite.revealed) sprite.startAtSprite(other);
|
|
2771
|
+
return true;
|
|
2772
|
+
}
|
|
2773
|
+
return false;
|
|
2774
|
+
});
|
|
2775
|
+
yield microwait();
|
|
2776
|
+
matchedKeptSprites.forEach((s) => s.hide());
|
|
2777
|
+
sentSprites.forEach((s) => s.hide());
|
|
2778
|
+
if (firstTime && !this.initialInsertion) {
|
|
2779
|
+
unmatchedInsertedSprites.forEach((s) => s.reveal());
|
|
2780
|
+
unmatchedInsertedSprites = [];
|
|
2781
|
+
}
|
|
2782
|
+
this._renderedChildrenStartedMoving = true;
|
|
2783
|
+
if (!transition || unmatchedInsertedSprites.length === 0 && unmatchedKeptSprites.length === 0 && unmatchedRemovedSprites.length === 0 && sentSprites.length === 0 && receivedSprites.length === 0 && matchedKeptSprites.length === 0) return { matchingAnimatorsFinished };
|
|
2784
|
+
let context = new TransitionContext(this.durationWithDefault, unmatchedInsertedSprites, unmatchedKeptSprites, unmatchedRemovedSprites, sentSprites, receivedSprites.concat(matchedKeptSprites), beacons, (sprite) => this._motionStarted(sprite, cycle), (sprite) => this._motionEnded(sprite, cycle));
|
|
2785
|
+
let cycle = this._cycleCounter++;
|
|
2786
|
+
yield* runToCompletion(context, transition);
|
|
2787
|
+
return { matchingAnimatorsFinished };
|
|
2788
|
+
})]);
|
|
2789
|
+
}
|
|
2790
|
+
#runAnimation = (initializeDeferredDecorator(this, "runAnimation"), void 0);
|
|
2791
|
+
static {
|
|
2792
|
+
decorateFieldV2(this.prototype, "finalizeAnimation", [task(function* (insertedSprites, keptSprites, removedSprites, matchingAnimatorsFinished) {
|
|
2793
|
+
yield matchingAnimatorsFinished;
|
|
2794
|
+
keptSprites.forEach((sprite) => {
|
|
2795
|
+
sprite.unlock();
|
|
2796
|
+
sprite.reveal();
|
|
2797
|
+
});
|
|
2798
|
+
insertedSprites.forEach((sprite) => {
|
|
2799
|
+
sprite.unlock();
|
|
2800
|
+
sprite.reveal();
|
|
2801
|
+
});
|
|
2802
|
+
this._keptSprites = null;
|
|
2803
|
+
this._removedSprites = null;
|
|
2804
|
+
this._insertedSprites = null;
|
|
2805
|
+
if (removedSprites.length > 0) {
|
|
2806
|
+
this.notifyPropertyChange("renderedChildren");
|
|
2807
|
+
yield afterRender();
|
|
2808
|
+
}
|
|
2809
|
+
})]);
|
|
2810
|
+
}
|
|
2811
|
+
#finalizeAnimation = (initializeDeferredDecorator(this, "finalizeAnimation"), void 0);
|
|
2812
|
+
_motionStarted(sprite, cycle) {
|
|
2813
|
+
sprite.reveal();
|
|
2814
|
+
sprite.owner.block(cycle);
|
|
2815
|
+
}
|
|
2816
|
+
_motionEnded(sprite, cycle) {
|
|
2817
|
+
sprite.owner.unblock(cycle);
|
|
2818
|
+
}
|
|
2819
|
+
_transitionFor(firstTime, oldItems, newItems) {
|
|
2820
|
+
let rules = this.rules;
|
|
2821
|
+
if (rules) return rules({
|
|
2822
|
+
firstTime,
|
|
2823
|
+
oldItems,
|
|
2824
|
+
newItems
|
|
2825
|
+
});
|
|
2826
|
+
else return this.use;
|
|
2827
|
+
}
|
|
2828
|
+
static {
|
|
2829
|
+
setComponentTemplate(templateFactory({
|
|
2830
|
+
"id": "TB4qeXUr",
|
|
2831
|
+
"block": "[[[42,[28,[31,1],[[28,[31,1],[[30,0,[\"renderedChildren\"]]],null]],null],\"id\",[[[8,[32,0],null,[[\"@child\",\"@elementToChild\"],[[30,1],[30,0,[\"_elementToChild\"]]]],[[\"default\"],[[[[18,2,[[30,1,[\"value\"]],[30,1,[\"index\"]]]]],[]]]]]],[1]],[[[18,3,null]],[]]],[1,\" \"]],[\"child\",\"&default\",\"&else\"],[\"each\",\"-track-array\",\"yield\"]]",
|
|
2832
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-each.js",
|
|
2833
|
+
"scope": () => [EaListElement],
|
|
2834
|
+
"isStrictMode": true
|
|
2835
|
+
}), this);
|
|
2836
|
+
}
|
|
2837
|
+
};
|
|
2838
|
+
function isStable(before, after) {
|
|
2839
|
+
if (before.length !== after.length) return false;
|
|
2840
|
+
for (let i = 0; i < before.length; i++) if (before[i] !== after[i]) return false;
|
|
2841
|
+
return true;
|
|
2842
|
+
}
|
|
2843
|
+
//#endregion
|
|
2844
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-value.js
|
|
2845
|
+
/**
|
|
2846
|
+
A component that animates when a single value changes.
|
|
2847
|
+
Animated-value uses the same arguments as animated-each.
|
|
2848
|
+
|
|
2849
|
+
```hbs
|
|
2850
|
+
<AnimatedContainer>
|
|
2851
|
+
{{#animated-value this.counter rules=this.rules duration=100 as |v|}}
|
|
2852
|
+
<span class="numbers">{{v}}</span>
|
|
2853
|
+
{{/animated-value}}
|
|
2854
|
+
</AnimatedContainer>
|
|
2855
|
+
|
|
2856
|
+
<button {{action "increment"}}>+</button>
|
|
2857
|
+
<button {{action "decrement"}}>-</button>
|
|
2858
|
+
```
|
|
2859
|
+
|
|
2860
|
+
```js
|
|
2861
|
+
import Component from '@ember/component';
|
|
2862
|
+
import { toLeft, toRight } from 'ember-animated/transitions/move-over';
|
|
2863
|
+
|
|
2864
|
+
export default Component.extend({
|
|
2865
|
+
rules({ oldItems, newItems }) {
|
|
2866
|
+
if (oldItems[0] < newItems[0]) {
|
|
2867
|
+
return toLeft;
|
|
2868
|
+
} else {
|
|
2869
|
+
return toRight;
|
|
2870
|
+
}
|
|
2871
|
+
},
|
|
2872
|
+
|
|
2873
|
+
counter: 10,
|
|
2874
|
+
|
|
2875
|
+
actions: {
|
|
2876
|
+
increment() {
|
|
2877
|
+
this.set('counter', this.get('counter') + 1);
|
|
2878
|
+
},
|
|
2879
|
+
decrement() {
|
|
2880
|
+
this.set('counter', this.get('counter') - 1);
|
|
2881
|
+
}
|
|
2882
|
+
}
|
|
2883
|
+
});
|
|
2884
|
+
```
|
|
2885
|
+
@class animated-value
|
|
2886
|
+
@public
|
|
2887
|
+
*/
|
|
2888
|
+
var AnimatedValueComponent = class extends Component {
|
|
2889
|
+
/**
|
|
2890
|
+
* The data you are trying to render.
|
|
2891
|
+
@argument items
|
|
2892
|
+
@type unknown
|
|
2893
|
+
*/
|
|
2894
|
+
value;
|
|
2895
|
+
tagName = "";
|
|
2896
|
+
finalRemoval;
|
|
2897
|
+
initialInsertion;
|
|
2898
|
+
watch;
|
|
2899
|
+
key;
|
|
2900
|
+
group;
|
|
2901
|
+
rules;
|
|
2902
|
+
use;
|
|
2903
|
+
duration;
|
|
2904
|
+
static positionalParams = ["value"];
|
|
2905
|
+
get items() {
|
|
2906
|
+
return A([this.value]);
|
|
2907
|
+
}
|
|
2908
|
+
static {
|
|
2909
|
+
decorateMethodV2(this.prototype, "items", [computed("value")]);
|
|
2910
|
+
}
|
|
2911
|
+
static {
|
|
2912
|
+
setComponentTemplate(templateFactory({
|
|
2913
|
+
"id": "bfeQqXYb",
|
|
2914
|
+
"block": "[[[1,\"\\n\"],[6,[32,0],[[30,0,[\"items\"]]],[[\"key\",\"rules\",\"use\",\"duration\",\"group\",\"watch\",\"initialInsertion\",\"finalRemoval\"],[[30,0,[\"key\"]],[30,0,[\"rules\"]],[30,0,[\"use\"]],[30,0,[\"duration\"]],[30,0,[\"group\"]],[30,0,[\"watch\"]],[30,0,[\"initialInsertion\"]],[30,0,[\"finalRemoval\"]]]],[[\"default\"],[[[[1,\" \"],[18,2,[[30,1]]],[1,\"\\n\"]],[1]]]]],[1,\" \"]],[\"item\",\"&default\"],[\"yield\"]]",
|
|
2915
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-value.js",
|
|
2916
|
+
"scope": () => [AnimatedEach],
|
|
2917
|
+
"isStrictMode": true
|
|
2918
|
+
}), this);
|
|
2919
|
+
}
|
|
2920
|
+
};
|
|
2921
|
+
//#endregion
|
|
2922
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-if.js
|
|
2923
|
+
/**
|
|
2924
|
+
A drop in replacement for `{{#if}}` that animates changes when the predicate changes.
|
|
2925
|
+
Animated-if uses the same arguments as animated-each.
|
|
2926
|
+
|
|
2927
|
+
```hbs
|
|
2928
|
+
<button {{on 'click' this.toggleThing}}>Toggle</button>
|
|
2929
|
+
|
|
2930
|
+
{{#animated-if showThing use=transition}}
|
|
2931
|
+
<div class="message" {{on 'click' this.toggleThing}} role="button">
|
|
2932
|
+
myContent
|
|
2933
|
+
</div>
|
|
2934
|
+
{{/animated-if}}
|
|
2935
|
+
```
|
|
2936
|
+
|
|
2937
|
+
```js
|
|
2938
|
+
import Component from '@glimmer/component';
|
|
2939
|
+
import move from 'ember-animated/motions/move';
|
|
2940
|
+
import { easeOut, easeIn } from 'ember-animated/easings/cosine';
|
|
2941
|
+
import { tracked } from '@glimmer/tracking';
|
|
2942
|
+
|
|
2943
|
+
export default class FooComponent extends Component {
|
|
2944
|
+
@tracked showThing = false;
|
|
2945
|
+
|
|
2946
|
+
toggleThing() {
|
|
2947
|
+
this.showThing = !this.showThing;
|
|
2948
|
+
}
|
|
2949
|
+
|
|
2950
|
+
// eslint-disable-next-line require-yield
|
|
2951
|
+
*transition({ insertedSprites, keptSprites, removedSprites }) {
|
|
2952
|
+
for (let sprite of insertedSprites) {
|
|
2953
|
+
sprite.startAtPixel({ x: window.innerWidth });
|
|
2954
|
+
move(sprite, { easing: easeOut });
|
|
2955
|
+
}
|
|
2956
|
+
|
|
2957
|
+
for (let sprite of keptSprites) {
|
|
2958
|
+
move(sprite);
|
|
2959
|
+
}
|
|
2960
|
+
|
|
2961
|
+
for (let sprite of removedSprites) {
|
|
2962
|
+
sprite.endAtPixel({ x: window.innerWidth });
|
|
2963
|
+
move(sprite, { easing: easeIn });
|
|
2964
|
+
}
|
|
2965
|
+
}
|
|
2966
|
+
};
|
|
2967
|
+
```
|
|
2968
|
+
@class animated-if
|
|
2969
|
+
@public
|
|
2970
|
+
*/
|
|
2971
|
+
var AnimatedIfComponent = class extends Component {
|
|
2972
|
+
tagName = "";
|
|
2973
|
+
static positionalParams = ["predicate"];
|
|
2974
|
+
predicate;
|
|
2975
|
+
group;
|
|
2976
|
+
finalRemoval;
|
|
2977
|
+
initialInsertion;
|
|
2978
|
+
key;
|
|
2979
|
+
rules;
|
|
2980
|
+
use;
|
|
2981
|
+
duration;
|
|
2982
|
+
get realGroup() {
|
|
2983
|
+
return this.group || `animated_if_${Math.floor(Math.random() * 1e6)}`;
|
|
2984
|
+
}
|
|
2985
|
+
static {
|
|
2986
|
+
decorateMethodV2(this.prototype, "realGroup", [computed("group")]);
|
|
2987
|
+
}
|
|
2988
|
+
static {
|
|
2989
|
+
setComponentTemplate(templateFactory({
|
|
2990
|
+
"id": "ZsGP7Nvw",
|
|
2991
|
+
"block": "[[[1,\"\\n \"],[8,[32,0],null,[[\"@value\",\"@key\",\"@rules\",\"@use\",\"@duration\",\"@group\",\"@initialInsertion\",\"@finalRemoval\"],[[30,0,[\"predicate\"]],[30,0,[\"key\"]],[30,0,[\"rules\"]],[30,0,[\"use\"]],[30,0,[\"duration\"]],[30,0,[\"realGroup\"]],[30,0,[\"initialInsertion\"]],[30,0,[\"finalRemoval\"]]]],[[\"default\"],[[[[1,\"\\n\"],[41,[30,1],[[[1,\" \"],[18,2,null],[1,\"\\n\"]],[]],[[[1,\" \"],[18,3,null],[1,\"\\n\"]],[]]],[1,\" \"]],[1]]]]],[1,\"\\n \"]],[\"currentPredicate\",\"&default\",\"&else\"],[\"if\",\"yield\"]]",
|
|
2992
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-if.js",
|
|
2993
|
+
"scope": () => [AnimatedValueComponent],
|
|
2994
|
+
"isStrictMode": true
|
|
2995
|
+
}), this);
|
|
2996
|
+
}
|
|
2997
|
+
};
|
|
2998
|
+
//#endregion
|
|
2999
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/element-remove-8rRE7jKB.js
|
|
3000
|
+
(function(arr) {
|
|
3001
|
+
arr.forEach(function(item) {
|
|
3002
|
+
if (Object.prototype.hasOwnProperty.call(item, "remove")) return;
|
|
3003
|
+
Object.defineProperty(item, "remove", {
|
|
3004
|
+
configurable: true,
|
|
3005
|
+
enumerable: true,
|
|
3006
|
+
writable: true,
|
|
3007
|
+
value: function remove() {
|
|
3008
|
+
this.parentNode.removeChild(this);
|
|
3009
|
+
}
|
|
3010
|
+
});
|
|
3011
|
+
});
|
|
3012
|
+
})([
|
|
3013
|
+
window.Element,
|
|
3014
|
+
window.CharacterData,
|
|
3015
|
+
window.DocumentType
|
|
3016
|
+
].filter((klass) => klass).map((klass) => klass.prototype));
|
|
3017
|
+
//#endregion
|
|
3018
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-orphans.js
|
|
3019
|
+
var service = service$4 ?? inject;
|
|
3020
|
+
/**
|
|
3021
|
+
A component that adopts any orphaned sprites so they can continue animating even
|
|
3022
|
+
after their original parent component has been destroyed. This relies on cloning
|
|
3023
|
+
DOM nodes, and the cloned nodes will be inserted as children of animated-orphans.
|
|
3024
|
+
|
|
3025
|
+
```hbs
|
|
3026
|
+
<AnimatedOrphans/>
|
|
3027
|
+
```
|
|
3028
|
+
@class animated-orphans
|
|
3029
|
+
@public
|
|
3030
|
+
*/
|
|
3031
|
+
var AnimatedOrphans = class extends Component {
|
|
3032
|
+
init(...args) {
|
|
3033
|
+
super.init(...args);
|
|
3034
|
+
this.classNames = this.classNames.concat(["animated-orphans"]);
|
|
3035
|
+
}
|
|
3036
|
+
static {
|
|
3037
|
+
decorateFieldV2(this.prototype, "motionService", [service("-ea-motion")]);
|
|
3038
|
+
}
|
|
3039
|
+
#motionService = (initializeDeferredDecorator(this, "motionService"), void 0);
|
|
3040
|
+
_newOrphanTransitions = [];
|
|
3041
|
+
_elementToChild = /* @__PURE__ */ new WeakMap();
|
|
3042
|
+
_childToTransition = /* @__PURE__ */ new WeakMap();
|
|
3043
|
+
_inserted = false;
|
|
3044
|
+
_cycleCounter = 0;
|
|
3045
|
+
didInsertElement() {
|
|
3046
|
+
super.didInsertElement();
|
|
3047
|
+
this._inserted = true;
|
|
3048
|
+
this.motionService.register(this).observeOrphans(this.animateOrphans).observeAnimations(this.reanimate);
|
|
3049
|
+
}
|
|
3050
|
+
willDestroyElement() {
|
|
3051
|
+
super.willDestroyElement();
|
|
3052
|
+
this.motionService.unregister(this).unobserveOrphans(this.animateOrphans).unobserveAnimations(this.reanimate);
|
|
3053
|
+
}
|
|
3054
|
+
animateOrphans(removedSprites, transition, duration, shouldAnimateRemoved) {
|
|
3055
|
+
this._newOrphanTransitions.push({
|
|
3056
|
+
removedSprites: removedSprites.map((sprite) => {
|
|
3057
|
+
sprite.assertHasOwner();
|
|
3058
|
+
sprite.owner = sprite.owner.clone();
|
|
3059
|
+
sprite.owner.flagForRemoval();
|
|
3060
|
+
return sprite;
|
|
3061
|
+
}),
|
|
3062
|
+
transition,
|
|
3063
|
+
duration,
|
|
3064
|
+
shouldAnimateRemoved
|
|
3065
|
+
});
|
|
3066
|
+
this.reanimate();
|
|
3067
|
+
}
|
|
3068
|
+
static {
|
|
3069
|
+
decorateMethodV2(this.prototype, "animateOrphans", [action]);
|
|
3070
|
+
}
|
|
3071
|
+
reanimate() {
|
|
3072
|
+
if (!this.get("startAnimation.isRunning")) {
|
|
3073
|
+
let ownSprite = new Sprite(this.element, true, null, null);
|
|
3074
|
+
let activeSprites = this._findActiveSprites(ownSprite);
|
|
3075
|
+
this.animate.perform({
|
|
3076
|
+
ownSprite,
|
|
3077
|
+
activeSprites
|
|
3078
|
+
});
|
|
3079
|
+
}
|
|
3080
|
+
}
|
|
3081
|
+
static {
|
|
3082
|
+
decorateMethodV2(this.prototype, "reanimate", [action]);
|
|
3083
|
+
}
|
|
3084
|
+
beginStaticMeasurement() {}
|
|
3085
|
+
endStaticMeasurement() {}
|
|
3086
|
+
static {
|
|
3087
|
+
decorateFieldV2(this.prototype, "isAnimating", [alias("animate.isRunning")]);
|
|
3088
|
+
}
|
|
3089
|
+
#isAnimating = (initializeDeferredDecorator(this, "isAnimating"), void 0);
|
|
3090
|
+
static {
|
|
3091
|
+
decorateFieldV2(this.prototype, "animate", [task(function* ({ ownSprite, activeSprites }) {
|
|
3092
|
+
yield this.startAnimation.perform(ownSprite);
|
|
3093
|
+
let { matchingAnimatorsFinished } = yield this.runAnimation.perform(activeSprites, ownSprite);
|
|
3094
|
+
yield this.finalizeAnimation.perform(activeSprites, matchingAnimatorsFinished);
|
|
3095
|
+
}).restartable()]);
|
|
3096
|
+
}
|
|
3097
|
+
#animate = (initializeDeferredDecorator(this, "animate"), void 0);
|
|
3098
|
+
static {
|
|
3099
|
+
decorateFieldV2(this.prototype, "startAnimation", [task(function* (ownSprite) {
|
|
3100
|
+
yield afterRender();
|
|
3101
|
+
ownSprite.measureFinalBounds();
|
|
3102
|
+
})]);
|
|
3103
|
+
}
|
|
3104
|
+
#startAnimation = (initializeDeferredDecorator(this, "startAnimation"), void 0);
|
|
3105
|
+
static {
|
|
3106
|
+
decorateFieldV2(this.prototype, "runAnimation", [task(function* (activeSprites, ownSprite) {
|
|
3107
|
+
yield* this.motionService.staticMeasurement(() => {});
|
|
3108
|
+
{
|
|
3109
|
+
let activeIds = Object.create(null);
|
|
3110
|
+
for (let sprite of activeSprites) activeIds[`${sprite.owner.group}/${sprite.owner.id}`] = true;
|
|
3111
|
+
for (let entry of this._newOrphanTransitions) entry.removedSprites = entry.removedSprites.filter((s) => {
|
|
3112
|
+
s.assertHasOwner();
|
|
3113
|
+
return !activeIds[`${s.owner.group}/${s.owner.id}`];
|
|
3114
|
+
});
|
|
3115
|
+
}
|
|
3116
|
+
let { farMatches, matchingAnimatorsFinished } = yield this.motionService.get("farMatch").perform(current(), [], [], activeSprites.concat(...this._newOrphanTransitions.map((t) => t.removedSprites)));
|
|
3117
|
+
let cycle = this._cycleCounter++;
|
|
3118
|
+
for (let { transition, duration, sprites } of this._groupActiveSprites(activeSprites)) {
|
|
3119
|
+
let [sentSprites, removedSprites] = partition(sprites, (sprite) => {
|
|
3120
|
+
let other = farMatches.get(sprite);
|
|
3121
|
+
if (other) {
|
|
3122
|
+
sprite.endAtSprite(other);
|
|
3123
|
+
if (other.revealed && !sprite.revealed) sprite.startAtSprite(other);
|
|
3124
|
+
return true;
|
|
3125
|
+
}
|
|
3126
|
+
return false;
|
|
3127
|
+
});
|
|
3128
|
+
let context = new TransitionContext(duration, [], [], removedSprites, sentSprites, [], {}, this._onMotionStart.bind(this, cycle), this._onMotionEnd.bind(this, cycle));
|
|
3129
|
+
spawnChild(function* () {
|
|
3130
|
+
yield microwait();
|
|
3131
|
+
sentSprites.forEach((s) => s.hide());
|
|
3132
|
+
yield* runToCompletion(context, transition);
|
|
3133
|
+
});
|
|
3134
|
+
}
|
|
3135
|
+
while (this._newOrphanTransitions.length > 0) {
|
|
3136
|
+
let entry = this._newOrphanTransitions.pop();
|
|
3137
|
+
let { transition, duration, removedSprites, shouldAnimateRemoved } = entry;
|
|
3138
|
+
if (removedSprites.length === 0) continue;
|
|
3139
|
+
for (let _sprite of removedSprites) {
|
|
3140
|
+
let sprite = _sprite;
|
|
3141
|
+
sprite.assertHasOwner();
|
|
3142
|
+
sprite.rehome(ownSprite);
|
|
3143
|
+
this._childToTransition.set(sprite.owner, entry);
|
|
3144
|
+
}
|
|
3145
|
+
let [sentSprites, unmatchedRemovedSprites] = partition(removedSprites, (sprite) => {
|
|
3146
|
+
let other = farMatches.get(sprite);
|
|
3147
|
+
if (other) {
|
|
3148
|
+
sprite.endAtSprite(other);
|
|
3149
|
+
if (other.revealed && !sprite.revealed) sprite.startAtSprite(other);
|
|
3150
|
+
return true;
|
|
3151
|
+
}
|
|
3152
|
+
return false;
|
|
3153
|
+
});
|
|
3154
|
+
let self = this;
|
|
3155
|
+
spawnChild(function* () {
|
|
3156
|
+
yield microwait();
|
|
3157
|
+
sentSprites.forEach((s) => s.hide());
|
|
3158
|
+
if (!transition) return;
|
|
3159
|
+
let removedSprites;
|
|
3160
|
+
if (shouldAnimateRemoved) removedSprites = unmatchedRemovedSprites;
|
|
3161
|
+
else removedSprites = [];
|
|
3162
|
+
if (removedSprites.length === 0 && sentSprites.length === 0) return;
|
|
3163
|
+
let context = new TransitionContext(duration, [], [], removedSprites, sentSprites, [], {}, self._onFirstMotionStart.bind(self, activeSprites, cycle), self._onMotionEnd.bind(self, cycle));
|
|
3164
|
+
context.prepareSprite = self._prepareSprite.bind(self);
|
|
3165
|
+
yield* runToCompletion(context, transition);
|
|
3166
|
+
});
|
|
3167
|
+
}
|
|
3168
|
+
yield childrenSettled();
|
|
3169
|
+
return { matchingAnimatorsFinished };
|
|
3170
|
+
})]);
|
|
3171
|
+
}
|
|
3172
|
+
#runAnimation = (initializeDeferredDecorator(this, "runAnimation"), void 0);
|
|
3173
|
+
static {
|
|
3174
|
+
decorateFieldV2(this.prototype, "finalizeAnimation", [task(function* (activeSprites, matchingAnimatorsFinished) {
|
|
3175
|
+
yield matchingAnimatorsFinished;
|
|
3176
|
+
for (let sprite of activeSprites) sprite.element.remove();
|
|
3177
|
+
})]);
|
|
3178
|
+
}
|
|
3179
|
+
#finalizeAnimation = (initializeDeferredDecorator(this, "finalizeAnimation"), void 0);
|
|
3180
|
+
_findActiveSprites(ownSprite) {
|
|
3181
|
+
if (!this._inserted) return [];
|
|
3182
|
+
return Array.from(this.element.children).map((element) => {
|
|
3183
|
+
let child = this._elementToChild.get(element);
|
|
3184
|
+
if (child.shouldRemove) {
|
|
3185
|
+
element.remove();
|
|
3186
|
+
return;
|
|
3187
|
+
} else {
|
|
3188
|
+
let sprite = Sprite.positionedStartingAt(element, ownSprite);
|
|
3189
|
+
sprite.owner = child;
|
|
3190
|
+
child.flagForRemoval();
|
|
3191
|
+
return sprite;
|
|
3192
|
+
}
|
|
3193
|
+
}).filter(Boolean);
|
|
3194
|
+
}
|
|
3195
|
+
_groupActiveSprites(activeSprites) {
|
|
3196
|
+
let groups = [];
|
|
3197
|
+
for (let _sprite of activeSprites) {
|
|
3198
|
+
let sprite = _sprite;
|
|
3199
|
+
sprite.assertHasOwner();
|
|
3200
|
+
let { transition, duration } = this._childToTransition.get(sprite.owner);
|
|
3201
|
+
let group = groups.find((g) => g.transition === transition);
|
|
3202
|
+
if (!group) {
|
|
3203
|
+
group = {
|
|
3204
|
+
transition,
|
|
3205
|
+
duration,
|
|
3206
|
+
sprites: []
|
|
3207
|
+
};
|
|
3208
|
+
groups.push(group);
|
|
3209
|
+
}
|
|
3210
|
+
group.sprites.push(sprite);
|
|
3211
|
+
}
|
|
3212
|
+
return groups;
|
|
3213
|
+
}
|
|
3214
|
+
_prepareSprite(sprite) {
|
|
3215
|
+
sprite.hide();
|
|
3216
|
+
let newElement = sprite.element.cloneNode(true);
|
|
3217
|
+
continueMotions(sprite.element, newElement);
|
|
3218
|
+
sprite.element = newElement;
|
|
3219
|
+
return sprite;
|
|
3220
|
+
}
|
|
3221
|
+
_onFirstMotionStart(activeSprites, cycle, sprite) {
|
|
3222
|
+
if (activeSprites.indexOf(sprite) === -1) {
|
|
3223
|
+
let s = Object.assign({}, sprite.initialComputedStyle);
|
|
3224
|
+
delete s["line-height"];
|
|
3225
|
+
sprite.applyStyles(s);
|
|
3226
|
+
this.element.appendChild(sprite.element);
|
|
3227
|
+
sprite.lock();
|
|
3228
|
+
sprite.reveal();
|
|
3229
|
+
activeSprites.push(sprite);
|
|
3230
|
+
this._elementToChild.set(sprite.element, sprite.owner);
|
|
3231
|
+
}
|
|
3232
|
+
sprite.assertHasOwner();
|
|
3233
|
+
sprite.owner.block(cycle);
|
|
3234
|
+
}
|
|
3235
|
+
_onMotionStart(cycle, sprite) {
|
|
3236
|
+
sprite.assertHasOwner();
|
|
3237
|
+
sprite.reveal();
|
|
3238
|
+
sprite.owner.block(cycle);
|
|
3239
|
+
}
|
|
3240
|
+
_onMotionEnd(cycle, sprite) {
|
|
3241
|
+
sprite.assertHasOwner();
|
|
3242
|
+
sprite.owner.unblock(cycle);
|
|
3243
|
+
}
|
|
3244
|
+
static {
|
|
3245
|
+
setComponentTemplate(templateFactory({
|
|
3246
|
+
"id": "r32EN1l0",
|
|
3247
|
+
"block": "[[[1,\"\\n\"],[1,\" \"],[18,1,null],[1,\"\\n \"]],[\"&default\"],[\"yield\"]]",
|
|
3248
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/components/animated-orphans.js",
|
|
3249
|
+
"isStrictMode": true
|
|
3250
|
+
}), this);
|
|
3251
|
+
}
|
|
3252
|
+
};
|
|
3253
|
+
//#endregion
|
|
3254
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/index.js
|
|
3255
|
+
var dist_exports = /* @__PURE__ */ __exportAll({
|
|
3256
|
+
AnimatedBeacon: () => AnimatedBeacon,
|
|
3257
|
+
AnimatedContainer: () => AnimatedContainerComponent,
|
|
3258
|
+
AnimatedOrphans: () => AnimatedOrphans,
|
|
3259
|
+
Motion: () => Motion,
|
|
3260
|
+
Tween: () => Tween,
|
|
3261
|
+
afterRender: () => afterRender,
|
|
3262
|
+
allSettled: () => allSettled,
|
|
3263
|
+
animatedEach: () => AnimatedEach,
|
|
3264
|
+
animatedIf: () => AnimatedIfComponent,
|
|
3265
|
+
animatedValue: () => AnimatedValueComponent,
|
|
3266
|
+
childrenSettled: () => childrenSettled,
|
|
3267
|
+
clock: () => clock,
|
|
3268
|
+
continueMotions: () => continueMotions,
|
|
3269
|
+
current: () => current,
|
|
3270
|
+
microwait: () => microwait,
|
|
3271
|
+
parallel: () => parallel,
|
|
3272
|
+
printSprites: () => printSprites,
|
|
3273
|
+
rAF: () => rAF,
|
|
3274
|
+
serial: () => serial,
|
|
3275
|
+
spawn: () => spawn,
|
|
3276
|
+
spawnChild: () => spawnChild,
|
|
3277
|
+
stop: () => stop,
|
|
3278
|
+
task: () => task,
|
|
3279
|
+
wait: () => wait
|
|
3280
|
+
});
|
|
3281
|
+
//#endregion
|
|
3282
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/easings/linear.js
|
|
3283
|
+
var linear_exports = /* @__PURE__ */ __exportAll({ default: () => linear });
|
|
3284
|
+
function linear(t) {
|
|
3285
|
+
return t;
|
|
3286
|
+
}
|
|
3287
|
+
//#endregion
|
|
3288
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/color-DWpDqA22.js
|
|
3289
|
+
var Color = class Color {
|
|
3290
|
+
static fromComputedStyle(colorString) {
|
|
3291
|
+
let channels = parseComputedColor(colorString);
|
|
3292
|
+
return new Color(channels, channels.m[0]);
|
|
3293
|
+
}
|
|
3294
|
+
static fromUserProvidedColor(colorString) {
|
|
3295
|
+
return new Color(parseUserProvidedColor(colorString), colorString);
|
|
3296
|
+
}
|
|
3297
|
+
toString() {
|
|
3298
|
+
return `rgba(${this.r}, ${this.g}, ${this.b}, ${this.a})`;
|
|
3299
|
+
}
|
|
3300
|
+
r;
|
|
3301
|
+
g;
|
|
3302
|
+
b;
|
|
3303
|
+
a;
|
|
3304
|
+
constructor({ r, g, b, a }, sourceString) {
|
|
3305
|
+
this.sourceString = sourceString;
|
|
3306
|
+
this.r = r;
|
|
3307
|
+
this.g = g;
|
|
3308
|
+
this.b = b;
|
|
3309
|
+
this.a = a;
|
|
3310
|
+
}
|
|
3311
|
+
};
|
|
3312
|
+
var ColorTween = class {
|
|
3313
|
+
rTween;
|
|
3314
|
+
gTween;
|
|
3315
|
+
bTween;
|
|
3316
|
+
aTween;
|
|
3317
|
+
constructor(initialColor, finalColor, duration, easing = linear) {
|
|
3318
|
+
this.rTween = new Tween(initialColor.r * initialColor.a, finalColor.r * finalColor.a, duration, easing);
|
|
3319
|
+
this.gTween = new Tween(initialColor.g * initialColor.a, finalColor.g * finalColor.a, duration, easing);
|
|
3320
|
+
this.bTween = new Tween(initialColor.b * initialColor.a, finalColor.b * finalColor.a, duration, easing);
|
|
3321
|
+
this.aTween = new Tween(initialColor.a, finalColor.a, duration, easing);
|
|
3322
|
+
}
|
|
3323
|
+
get currentValue() {
|
|
3324
|
+
let nonZeroAlpha = this.aTween.currentValue || 1;
|
|
3325
|
+
return new Color({
|
|
3326
|
+
r: Math.floor(this.rTween.currentValue / nonZeroAlpha),
|
|
3327
|
+
g: Math.floor(this.gTween.currentValue / nonZeroAlpha),
|
|
3328
|
+
b: Math.floor(this.bTween.currentValue / nonZeroAlpha),
|
|
3329
|
+
a: this.aTween.currentValue
|
|
3330
|
+
}, "");
|
|
3331
|
+
}
|
|
3332
|
+
get done() {
|
|
3333
|
+
return [
|
|
3334
|
+
this.rTween,
|
|
3335
|
+
this.gTween,
|
|
3336
|
+
this.bTween,
|
|
3337
|
+
this.aTween
|
|
3338
|
+
].every((tween) => tween.done);
|
|
3339
|
+
}
|
|
3340
|
+
};
|
|
3341
|
+
function parseComputedColor(c) {
|
|
3342
|
+
let m = /^rgb\((\d+), (\d+), (\d+)\)/.exec(c);
|
|
3343
|
+
if (m) return {
|
|
3344
|
+
r: parseInt(m[1]),
|
|
3345
|
+
g: parseInt(m[2]),
|
|
3346
|
+
b: parseInt(m[3]),
|
|
3347
|
+
a: 1,
|
|
3348
|
+
m
|
|
3349
|
+
};
|
|
3350
|
+
m = /^rgba\((\d+), (\d+), (\d+), (\d+(?:\.\d+)?)\)/.exec(c);
|
|
3351
|
+
if (m) return {
|
|
3352
|
+
r: parseInt(m[1]),
|
|
3353
|
+
g: parseInt(m[2]),
|
|
3354
|
+
b: parseInt(m[3]),
|
|
3355
|
+
a: parseFloat(m[4]),
|
|
3356
|
+
m
|
|
3357
|
+
};
|
|
3358
|
+
throw new Error(`unable to parse color ${c}`);
|
|
3359
|
+
}
|
|
3360
|
+
function parseUserProvidedColor(c) {
|
|
3361
|
+
let testElement = document.createElement("div");
|
|
3362
|
+
testElement.style.display = "none";
|
|
3363
|
+
testElement.style.color = c;
|
|
3364
|
+
document.body.appendChild(testElement);
|
|
3365
|
+
let result = parseComputedColor(getComputedStyle(testElement).color);
|
|
3366
|
+
testElement.remove();
|
|
3367
|
+
return result;
|
|
3368
|
+
}
|
|
3369
|
+
//#endregion
|
|
3370
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/adjust-color.js
|
|
3371
|
+
var adjust_color_exports = /* @__PURE__ */ __exportAll({
|
|
3372
|
+
AdjustColor: () => AdjustColor,
|
|
3373
|
+
default: () => adjustColor
|
|
3374
|
+
});
|
|
3375
|
+
function adjustColor(propertyName, sprite, opts = {}) {
|
|
3376
|
+
return new AdjustColor(propertyName, sprite, opts).run();
|
|
3377
|
+
}
|
|
3378
|
+
adjustColor.property = function(propertyName) {
|
|
3379
|
+
return this.bind(null, propertyName);
|
|
3380
|
+
};
|
|
3381
|
+
var AdjustColor = class extends Motion {
|
|
3382
|
+
colorTween = null;
|
|
3383
|
+
constructor(propertyName, sprite, opts = {}) {
|
|
3384
|
+
super(sprite, opts);
|
|
3385
|
+
this.propertyName = propertyName;
|
|
3386
|
+
}
|
|
3387
|
+
*animate() {
|
|
3388
|
+
let from;
|
|
3389
|
+
let to;
|
|
3390
|
+
if (this.opts.from != null) from = Color.fromUserProvidedColor(this.opts.from);
|
|
3391
|
+
else if (this.sprite.initialComputedStyle) from = Color.fromComputedStyle(this.sprite.initialComputedStyle[this.propertyName]);
|
|
3392
|
+
else {
|
|
3393
|
+
this.sprite.assertHasFinalBounds();
|
|
3394
|
+
from = Color.fromComputedStyle(this.sprite.finalComputedStyle[this.propertyName]);
|
|
3395
|
+
}
|
|
3396
|
+
if (this.opts.to != null) to = Color.fromUserProvidedColor(this.opts.to);
|
|
3397
|
+
else if (this.sprite.finalComputedStyle) to = Color.fromComputedStyle(this.sprite.finalComputedStyle[this.propertyName]);
|
|
3398
|
+
else {
|
|
3399
|
+
this.sprite.assertHasInitialBounds();
|
|
3400
|
+
to = Color.fromComputedStyle(this.sprite.initialComputedStyle[this.propertyName]);
|
|
3401
|
+
}
|
|
3402
|
+
this.colorTween = new ColorTween(from, to, this.duration, this.opts.easing);
|
|
3403
|
+
while (!this.colorTween.done) {
|
|
3404
|
+
this.sprite.applyStyles({ [this.propertyName]: this.colorTween.currentValue.toString() });
|
|
3405
|
+
yield rAF();
|
|
3406
|
+
}
|
|
3407
|
+
}
|
|
3408
|
+
};
|
|
3409
|
+
//#endregion
|
|
3410
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/adjust-css.js
|
|
3411
|
+
var adjust_css_exports = /* @__PURE__ */ __exportAll({
|
|
3412
|
+
AdjustCSS: () => AdjustCSS,
|
|
3413
|
+
default: () => adjustCSS
|
|
3414
|
+
});
|
|
3415
|
+
/**
|
|
3416
|
+
Animates the change in style of a Sprite. Applies to CSS properties that are a unit and a number (font-size, letter spacing, etc.).
|
|
3417
|
+
|
|
3418
|
+
@function adjustCSS
|
|
3419
|
+
@export default
|
|
3420
|
+
@param {String} propertyName The CSS property to adjust
|
|
3421
|
+
@param {Sprite} sprite The sprite we're adjusting
|
|
3422
|
+
@param {Object} options
|
|
3423
|
+
@return {Motion}
|
|
3424
|
+
*/
|
|
3425
|
+
function adjustCSS(propertyName, sprite, opts = {}) {
|
|
3426
|
+
return new AdjustCSS(propertyName, sprite, opts).run();
|
|
3427
|
+
}
|
|
3428
|
+
adjustCSS.property = function(propertyName) {
|
|
3429
|
+
return this.bind(null, propertyName);
|
|
3430
|
+
};
|
|
3431
|
+
var AdjustCSS = class AdjustCSS extends Motion {
|
|
3432
|
+
prior = null;
|
|
3433
|
+
tween = null;
|
|
3434
|
+
constructor(propertyName, sprite, opts = {}) {
|
|
3435
|
+
super(sprite, opts);
|
|
3436
|
+
this.propertyName = propertyName;
|
|
3437
|
+
}
|
|
3438
|
+
interrupted(motions) {
|
|
3439
|
+
this.prior = motions.find((m) => m instanceof AdjustCSS && m.propertyName === this.propertyName);
|
|
3440
|
+
}
|
|
3441
|
+
*animate() {
|
|
3442
|
+
let { value: finalValue, unit } = this._splitUnit(this.sprite.finalComputedStyle[this.propertyName]);
|
|
3443
|
+
if (this.prior) {
|
|
3444
|
+
let prior = this.prior;
|
|
3445
|
+
prior.assertHasTween();
|
|
3446
|
+
this.tween = new Tween(0, finalValue - prior.tween.finalValue, this.duration, this.opts.easing).plus(prior.tween);
|
|
3447
|
+
} else {
|
|
3448
|
+
this.sprite.assertHasInitialBounds();
|
|
3449
|
+
this.tween = new Tween(this._splitUnit(this.sprite.initialComputedStyle[this.propertyName]).value, finalValue, this.duration, this.opts.easing);
|
|
3450
|
+
}
|
|
3451
|
+
while (!this.tween.done) {
|
|
3452
|
+
this.sprite.applyStyles({ [this.propertyName]: `${this.tween.currentValue}${unit}` });
|
|
3453
|
+
yield rAF();
|
|
3454
|
+
}
|
|
3455
|
+
}
|
|
3456
|
+
_splitUnit(s) {
|
|
3457
|
+
if (this.propertyName === "letter-spacing" && s === "normal") return {
|
|
3458
|
+
value: 0,
|
|
3459
|
+
unit: "px"
|
|
3460
|
+
};
|
|
3461
|
+
let m = /(\d+(?:\.\d+)?)(\w+)/.exec(s);
|
|
3462
|
+
if (!m) throw new Error(`Unable to use adjustCSS for property ${this.propertyName} which has value ${s}`);
|
|
3463
|
+
return {
|
|
3464
|
+
value: parseFloat(m[1]),
|
|
3465
|
+
unit: m[2] || ""
|
|
3466
|
+
};
|
|
3467
|
+
}
|
|
3468
|
+
assertHasTween() {
|
|
3469
|
+
if (!this.tween) throw new Error(`motion does not have tween`);
|
|
3470
|
+
}
|
|
3471
|
+
};
|
|
3472
|
+
//#endregion
|
|
3473
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/box-shadow.js
|
|
3474
|
+
var innerPattern = /^ (\d+)px (\d+)px(?: (\d+)px)?(?: (\d+)px)?( inset)?(?:, )?/;
|
|
3475
|
+
var BoxShadow = class BoxShadow {
|
|
3476
|
+
static fromComputedStyle(string) {
|
|
3477
|
+
let originalString = string;
|
|
3478
|
+
let shadows = [];
|
|
3479
|
+
if (!string || string === "none") return shadows;
|
|
3480
|
+
while (string.length > 0) {
|
|
3481
|
+
let color = Color.fromComputedStyle(string);
|
|
3482
|
+
string = string.slice(color.sourceString.length);
|
|
3483
|
+
let m = innerPattern.exec(string);
|
|
3484
|
+
if (!m) throw new Error(`failed to parse computed shadow ${originalString}`);
|
|
3485
|
+
let x = parseInt(m[1]);
|
|
3486
|
+
let y = parseInt(m[2]);
|
|
3487
|
+
let blur = m[3] == null ? 0 : parseInt(m[3]);
|
|
3488
|
+
let spread = m[4] == null ? 0 : parseInt(m[4]);
|
|
3489
|
+
let inset = m[5] != null;
|
|
3490
|
+
shadows.push(new BoxShadow({
|
|
3491
|
+
color,
|
|
3492
|
+
x,
|
|
3493
|
+
y,
|
|
3494
|
+
blur,
|
|
3495
|
+
spread,
|
|
3496
|
+
inset
|
|
3497
|
+
}));
|
|
3498
|
+
string = string.slice(m[0].length);
|
|
3499
|
+
}
|
|
3500
|
+
return shadows;
|
|
3501
|
+
}
|
|
3502
|
+
static fromUserProvidedShadow(string) {
|
|
3503
|
+
let testElement = document.createElement("div");
|
|
3504
|
+
testElement.style.display = "none";
|
|
3505
|
+
testElement.style.boxShadow = string;
|
|
3506
|
+
document.body.appendChild(testElement);
|
|
3507
|
+
let result = this.fromComputedStyle(getComputedStyle(testElement).boxShadow);
|
|
3508
|
+
testElement.remove();
|
|
3509
|
+
return result;
|
|
3510
|
+
}
|
|
3511
|
+
color;
|
|
3512
|
+
x;
|
|
3513
|
+
y;
|
|
3514
|
+
blur;
|
|
3515
|
+
spread;
|
|
3516
|
+
inset;
|
|
3517
|
+
constructor({ color, x, y, blur, spread, inset }) {
|
|
3518
|
+
this.color = color;
|
|
3519
|
+
this.x = x;
|
|
3520
|
+
this.y = y;
|
|
3521
|
+
this.blur = blur;
|
|
3522
|
+
this.spread = spread;
|
|
3523
|
+
this.inset = inset;
|
|
3524
|
+
}
|
|
3525
|
+
toString() {
|
|
3526
|
+
return `${this.inset ? "inset " : ""}${this.x}px ${this.y}px ${this.blur}px ${this.spread}px ${this.color.toString()}`;
|
|
3527
|
+
}
|
|
3528
|
+
};
|
|
3529
|
+
function emptyShadowOfType(otherShadow) {
|
|
3530
|
+
return new BoxShadow({
|
|
3531
|
+
color: Color.fromComputedStyle("rgba(0, 0, 0, 0)"),
|
|
3532
|
+
blur: 0,
|
|
3533
|
+
spread: 0,
|
|
3534
|
+
x: 0,
|
|
3535
|
+
y: 0,
|
|
3536
|
+
inset: otherShadow.inset
|
|
3537
|
+
});
|
|
3538
|
+
}
|
|
3539
|
+
var BoxShadowTween = class {
|
|
3540
|
+
shadowTweens;
|
|
3541
|
+
constructor(fromShadows, toShadows, duration, easing = linear) {
|
|
3542
|
+
let shadowCount = Math.max(fromShadows.length, toShadows.length);
|
|
3543
|
+
if (fromShadows.length < shadowCount) {
|
|
3544
|
+
fromShadows = fromShadows.slice();
|
|
3545
|
+
while (fromShadows.length < shadowCount) fromShadows.push(emptyShadowOfType(toShadows[fromShadows.length]));
|
|
3546
|
+
}
|
|
3547
|
+
if (toShadows.length < shadowCount) {
|
|
3548
|
+
toShadows = toShadows.slice();
|
|
3549
|
+
while (toShadows.length < shadowCount) toShadows.push(emptyShadowOfType(fromShadows[toShadows.length]));
|
|
3550
|
+
}
|
|
3551
|
+
this.shadowTweens = fromShadows.map((fromShadow, index) => new OneShadowTween(fromShadow, toShadows[index], duration, easing));
|
|
3552
|
+
}
|
|
3553
|
+
get currentValue() {
|
|
3554
|
+
return this.shadowTweens.map((tween) => tween.currentValue);
|
|
3555
|
+
}
|
|
3556
|
+
get done() {
|
|
3557
|
+
return this.shadowTweens.every((tween) => tween.done);
|
|
3558
|
+
}
|
|
3559
|
+
};
|
|
3560
|
+
var OneShadowTween = class {
|
|
3561
|
+
colorTween;
|
|
3562
|
+
xTween;
|
|
3563
|
+
yTween;
|
|
3564
|
+
blurTween;
|
|
3565
|
+
spreadTween;
|
|
3566
|
+
inset;
|
|
3567
|
+
constructor(fromShadow, toShadow, duration, easing) {
|
|
3568
|
+
this.colorTween = new ColorTween(fromShadow.color, toShadow.color, duration, easing);
|
|
3569
|
+
this.xTween = new Tween(fromShadow.x, toShadow.x, duration, easing);
|
|
3570
|
+
this.yTween = new Tween(fromShadow.y, toShadow.y, duration, easing);
|
|
3571
|
+
this.blurTween = new Tween(fromShadow.blur, toShadow.blur, duration, easing);
|
|
3572
|
+
this.spreadTween = new Tween(fromShadow.spread, toShadow.spread, duration, easing);
|
|
3573
|
+
this.inset = fromShadow.inset;
|
|
3574
|
+
}
|
|
3575
|
+
get currentValue() {
|
|
3576
|
+
return new BoxShadow({
|
|
3577
|
+
x: this.xTween.currentValue,
|
|
3578
|
+
y: this.yTween.currentValue,
|
|
3579
|
+
blur: this.blurTween.currentValue,
|
|
3580
|
+
spread: this.spreadTween.currentValue,
|
|
3581
|
+
inset: this.inset,
|
|
3582
|
+
color: this.colorTween.currentValue
|
|
3583
|
+
});
|
|
3584
|
+
}
|
|
3585
|
+
get done() {
|
|
3586
|
+
return [
|
|
3587
|
+
this.colorTween,
|
|
3588
|
+
this.xTween,
|
|
3589
|
+
this.yTween,
|
|
3590
|
+
this.blurTween,
|
|
3591
|
+
this.spreadTween
|
|
3592
|
+
].every((tween) => tween.done);
|
|
3593
|
+
}
|
|
3594
|
+
};
|
|
3595
|
+
//#endregion
|
|
3596
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/box-shadow.js
|
|
3597
|
+
var box_shadow_exports = /* @__PURE__ */ __exportAll({
|
|
3598
|
+
BoxShadowMotion: () => BoxShadowMotion,
|
|
3599
|
+
default: () => boxShadow
|
|
3600
|
+
});
|
|
3601
|
+
function boxShadow(sprite, opts = {}) {
|
|
3602
|
+
return new BoxShadowMotion(sprite, opts).run();
|
|
3603
|
+
}
|
|
3604
|
+
var BoxShadowMotion = class extends Motion {
|
|
3605
|
+
*animate() {
|
|
3606
|
+
let from;
|
|
3607
|
+
if (this.opts.from) from = BoxShadow.fromUserProvidedShadow(this.opts.from);
|
|
3608
|
+
else {
|
|
3609
|
+
this.sprite.assertHasInitialBounds();
|
|
3610
|
+
from = BoxShadow.fromComputedStyle(this.sprite.initialComputedStyle["box-shadow"]);
|
|
3611
|
+
}
|
|
3612
|
+
let to;
|
|
3613
|
+
if (this.opts.to) to = BoxShadow.fromUserProvidedShadow(this.opts.to);
|
|
3614
|
+
else {
|
|
3615
|
+
this.sprite.assertHasFinalBounds();
|
|
3616
|
+
to = BoxShadow.fromComputedStyle(this.sprite.finalComputedStyle["box-shadow"]);
|
|
3617
|
+
}
|
|
3618
|
+
let shadowTween = new BoxShadowTween(from, to, this.duration, this.opts.easing);
|
|
3619
|
+
while (!shadowTween.done) {
|
|
3620
|
+
this.sprite.applyStyles({ "box-shadow": shadowTween.currentValue.map((shadow) => shadow.toString()).join(",") });
|
|
3621
|
+
yield rAF();
|
|
3622
|
+
}
|
|
3623
|
+
}
|
|
3624
|
+
};
|
|
3625
|
+
//#endregion
|
|
3626
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/compensate-for-scale.js
|
|
3627
|
+
var compensate_for_scale_exports = /* @__PURE__ */ __exportAll({
|
|
3628
|
+
CompensateForScale: () => CompensateForScale,
|
|
3629
|
+
default: () => compensateForScale
|
|
3630
|
+
});
|
|
3631
|
+
function compensateForScale(sprite, opts = {}) {
|
|
3632
|
+
return new CompensateForScale(sprite, opts).run();
|
|
3633
|
+
}
|
|
3634
|
+
var CompensateForScale = class extends Motion {
|
|
3635
|
+
widthTween = null;
|
|
3636
|
+
heightTween = null;
|
|
3637
|
+
*animate() {
|
|
3638
|
+
let duration = this.duration;
|
|
3639
|
+
this.sprite.assertHasInitialBounds();
|
|
3640
|
+
this.sprite.assertHasFinalBounds();
|
|
3641
|
+
let sprite = this.sprite;
|
|
3642
|
+
let widthFactor = sprite.finalCumulativeTransform.a / sprite.initialCumulativeTransform.a;
|
|
3643
|
+
let heightFactor = sprite.finalCumulativeTransform.d / sprite.initialCumulativeTransform.d;
|
|
3644
|
+
this.widthTween = new Tween(sprite.transform.a, sprite.transform.a * widthFactor, duration);
|
|
3645
|
+
this.heightTween = new Tween(sprite.transform.d, sprite.transform.d * heightFactor, duration);
|
|
3646
|
+
while (!this.widthTween.done || !this.heightTween.done) {
|
|
3647
|
+
sprite.scale(this.widthTween.currentValue / sprite.transform.a, this.heightTween.currentValue / sprite.transform.d);
|
|
3648
|
+
yield rAF();
|
|
3649
|
+
}
|
|
3650
|
+
}
|
|
3651
|
+
};
|
|
3652
|
+
//#endregion
|
|
3653
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/move.js
|
|
3654
|
+
var move_exports = /* @__PURE__ */ __exportAll({
|
|
3655
|
+
ContinuePrior: () => ContinuePrior,
|
|
3656
|
+
Move: () => Move,
|
|
3657
|
+
continuePrior: () => continuePrior,
|
|
3658
|
+
default: () => move
|
|
3659
|
+
});
|
|
3660
|
+
/**
|
|
3661
|
+
Animates _sprite_ from its initial position to its final position.
|
|
3662
|
+
|
|
3663
|
+
_sprite_ must have both `initialBounds` and `finalBounds` set.
|
|
3664
|
+
|
|
3665
|
+
```js
|
|
3666
|
+
for (let sprite of keptSprites) {
|
|
3667
|
+
move(sprite)
|
|
3668
|
+
}
|
|
3669
|
+
```
|
|
3670
|
+
|
|
3671
|
+
@function move
|
|
3672
|
+
@export default
|
|
3673
|
+
@param {Sprite} sprite
|
|
3674
|
+
@return {Motion}
|
|
3675
|
+
*/
|
|
3676
|
+
function move(sprite, opts = {}) {
|
|
3677
|
+
return new Move(sprite, opts).run();
|
|
3678
|
+
}
|
|
3679
|
+
var Move = class Move extends Motion {
|
|
3680
|
+
prior = null;
|
|
3681
|
+
xTween = null;
|
|
3682
|
+
yTween = null;
|
|
3683
|
+
interrupted(motions) {
|
|
3684
|
+
this.prior = motions.find((m) => m instanceof Move);
|
|
3685
|
+
}
|
|
3686
|
+
*animate() {
|
|
3687
|
+
let duration = this.duration;
|
|
3688
|
+
this.sprite.assertHasInitialBounds();
|
|
3689
|
+
this.sprite.assertHasFinalBounds();
|
|
3690
|
+
let sprite = this.sprite;
|
|
3691
|
+
let dx;
|
|
3692
|
+
let dy;
|
|
3693
|
+
{
|
|
3694
|
+
let initial = sprite.initialBounds;
|
|
3695
|
+
let final = sprite.finalBounds;
|
|
3696
|
+
dx = final.left - initial.left;
|
|
3697
|
+
dy = final.top - initial.top;
|
|
3698
|
+
}
|
|
3699
|
+
if (!this.prior) {
|
|
3700
|
+
this.xTween = new Tween(sprite.transform.tx, sprite.transform.tx + dx, fuzzyZero(dx) ? 0 : duration, this.opts.easing);
|
|
3701
|
+
this.yTween = new Tween(sprite.transform.ty, sprite.transform.ty + dy, fuzzyZero(dy) ? 0 : duration, this.opts.easing);
|
|
3702
|
+
} else {
|
|
3703
|
+
let prior = this.prior;
|
|
3704
|
+
prior.assertHasTweens();
|
|
3705
|
+
let priorXTween = prior.xTween;
|
|
3706
|
+
let priorYTween = prior.yTween;
|
|
3707
|
+
let transformDiffX = sprite.transform.tx - priorXTween.currentValue;
|
|
3708
|
+
let transformDiffY = sprite.transform.ty - priorYTween.currentValue;
|
|
3709
|
+
dx -= priorXTween.finalValue - priorXTween.currentValue;
|
|
3710
|
+
dy -= priorYTween.finalValue - priorYTween.currentValue;
|
|
3711
|
+
let durationX = fuzzyZero(dx) ? 0 : duration;
|
|
3712
|
+
let durationY = fuzzyZero(dy) ? 0 : duration;
|
|
3713
|
+
this.xTween = new Tween(transformDiffX, transformDiffX + dx, durationX, this.opts.easing).plus(prior.xTween);
|
|
3714
|
+
this.yTween = new Tween(transformDiffY, transformDiffY + dy, durationY, this.opts.easing).plus(prior.yTween);
|
|
3715
|
+
}
|
|
3716
|
+
yield* this._moveIt();
|
|
3717
|
+
}
|
|
3718
|
+
*_moveIt() {
|
|
3719
|
+
this.assertHasTweens();
|
|
3720
|
+
let sprite = this.sprite;
|
|
3721
|
+
while (!this.xTween.done || !this.yTween.done) {
|
|
3722
|
+
sprite.translate(this.xTween.currentValue - sprite.transform.tx, this.yTween.currentValue - sprite.transform.ty);
|
|
3723
|
+
yield rAF();
|
|
3724
|
+
}
|
|
3725
|
+
}
|
|
3726
|
+
assertHasTweens() {
|
|
3727
|
+
if (!this.xTween) throw new Error(`motion does not have xTween`);
|
|
3728
|
+
if (!this.yTween) throw new Error(`motion does not have yTween`);
|
|
3729
|
+
}
|
|
3730
|
+
};
|
|
3731
|
+
function fuzzyZero(number) {
|
|
3732
|
+
return Math.abs(number) < 1e-5;
|
|
3733
|
+
}
|
|
3734
|
+
function continuePrior(sprite, opts = {}) {
|
|
3735
|
+
return new ContinuePrior(sprite, opts).run();
|
|
3736
|
+
}
|
|
3737
|
+
var ContinuePrior = class extends Move {
|
|
3738
|
+
*animate() {
|
|
3739
|
+
if (!this.prior) return;
|
|
3740
|
+
this.xTween = this.prior.xTween;
|
|
3741
|
+
this.yTween = this.prior.yTween;
|
|
3742
|
+
yield* this._moveIt();
|
|
3743
|
+
}
|
|
3744
|
+
};
|
|
3745
|
+
//#endregion
|
|
3746
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/follow.js
|
|
3747
|
+
var follow_exports = /* @__PURE__ */ __exportAll({
|
|
3748
|
+
Follow: () => Follow,
|
|
3749
|
+
default: () => follow
|
|
3750
|
+
});
|
|
3751
|
+
function follow(sprite, opts = {}) {
|
|
3752
|
+
return new Follow(sprite, opts).run();
|
|
3753
|
+
}
|
|
3754
|
+
var Follow = class extends Move {
|
|
3755
|
+
source;
|
|
3756
|
+
constructor(sprite, opts = {}) {
|
|
3757
|
+
super(sprite, opts);
|
|
3758
|
+
if (!(this.opts.source instanceof Move)) throw new Error("Follow requires a `source` Move to follow");
|
|
3759
|
+
this.source = this.opts.source;
|
|
3760
|
+
}
|
|
3761
|
+
*animate() {
|
|
3762
|
+
this.source.assertHasTweens();
|
|
3763
|
+
let source = this.source;
|
|
3764
|
+
let sprite = this.sprite;
|
|
3765
|
+
let transformOffsetX = sprite.transform.tx - source.sprite.transform.tx;
|
|
3766
|
+
let transformOffsetY = sprite.transform.ty - source.sprite.transform.ty;
|
|
3767
|
+
this.xTween = new Tween(transformOffsetX, transformOffsetX, 0).plus(source.xTween);
|
|
3768
|
+
this.yTween = new Tween(transformOffsetY, transformOffsetY, 0).plus(source.yTween);
|
|
3769
|
+
this.sprite.endRelativeTo(source.sprite);
|
|
3770
|
+
while (!this.xTween.done || !this.yTween.done) {
|
|
3771
|
+
sprite.translate(this.xTween.currentValue - sprite.transform.tx, this.yTween.currentValue - sprite.transform.ty);
|
|
3772
|
+
yield rAF();
|
|
3773
|
+
}
|
|
3774
|
+
}
|
|
3775
|
+
};
|
|
3776
|
+
//#endregion
|
|
3777
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/move-svg.js
|
|
3778
|
+
var move_svg_exports = /* @__PURE__ */ __exportAll({
|
|
3779
|
+
MoveSVG: () => MoveSVG,
|
|
3780
|
+
default: () => moveSVG
|
|
3781
|
+
});
|
|
3782
|
+
function moveSVG(dimension, sprite, opts = {}) {
|
|
3783
|
+
return new MoveSVG(dimension, sprite, opts).run();
|
|
3784
|
+
}
|
|
3785
|
+
moveSVG.property = function(propertyName) {
|
|
3786
|
+
return this.bind(null, propertyName);
|
|
3787
|
+
};
|
|
3788
|
+
var MoveSVG = class MoveSVG extends Motion {
|
|
3789
|
+
prior = null;
|
|
3790
|
+
tween = null;
|
|
3791
|
+
constructor(dimension, sprite, opts = {}) {
|
|
3792
|
+
super(sprite, opts);
|
|
3793
|
+
this.dimension = dimension;
|
|
3794
|
+
}
|
|
3795
|
+
interrupted(motions) {
|
|
3796
|
+
this.prior = motions.find((m) => m instanceof MoveSVG && m.dimension === this.dimension);
|
|
3797
|
+
}
|
|
3798
|
+
*animate() {
|
|
3799
|
+
if (this.prior) {
|
|
3800
|
+
let prior = this.prior;
|
|
3801
|
+
prior.assertHasTween();
|
|
3802
|
+
this.tween = new Tween(0, Number(this.sprite.getFinalDimension(this.dimension)) - prior.tween.finalValue, this.duration, this.opts.easing).plus(prior.tween);
|
|
3803
|
+
} else this.tween = new Tween(Number(this.sprite.getInitialDimension(this.dimension)), Number(this.sprite.getFinalDimension(this.dimension)), this.duration, this.opts.easing);
|
|
3804
|
+
while (!this.tween.done) {
|
|
3805
|
+
this.sprite.element[this.dimension].baseVal.value = this.tween.currentValue;
|
|
3806
|
+
yield rAF();
|
|
3807
|
+
}
|
|
3808
|
+
}
|
|
3809
|
+
assertHasTween() {
|
|
3810
|
+
if (!this.tween) throw new Error(`motion does not have tween`);
|
|
3811
|
+
}
|
|
3812
|
+
};
|
|
3813
|
+
//#endregion
|
|
3814
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/opacity.js
|
|
3815
|
+
var opacity_exports = /* @__PURE__ */ __exportAll({
|
|
3816
|
+
Opacity: () => Opacity,
|
|
3817
|
+
default: () => opacity,
|
|
3818
|
+
fadeIn: () => fadeIn,
|
|
3819
|
+
fadeOut: () => fadeOut
|
|
3820
|
+
});
|
|
3821
|
+
function opacity(sprite, opts = {}) {
|
|
3822
|
+
return new Opacity(sprite, opts).run();
|
|
3823
|
+
}
|
|
3824
|
+
/**
|
|
3825
|
+
Animates in a sprite from 0% to 100% opacity.
|
|
3826
|
+
|
|
3827
|
+
```js
|
|
3828
|
+
for (let sprite of insertedSprites) {
|
|
3829
|
+
fadeIn(sprite)
|
|
3830
|
+
}
|
|
3831
|
+
```
|
|
3832
|
+
|
|
3833
|
+
@function fadeIn
|
|
3834
|
+
@param {Sprite} sprite
|
|
3835
|
+
@return {Motion}
|
|
3836
|
+
*/
|
|
3837
|
+
function fadeIn(sprite, opts = {}) {
|
|
3838
|
+
return opacity(sprite, Object.assign({ to: 1 }, opts));
|
|
3839
|
+
}
|
|
3840
|
+
/**
|
|
3841
|
+
Animates out a sprite from 100% to 0% opacity.
|
|
3842
|
+
|
|
3843
|
+
```js
|
|
3844
|
+
for (let sprite of removedSprites) {
|
|
3845
|
+
fadeOut(sprite)
|
|
3846
|
+
}
|
|
3847
|
+
```
|
|
3848
|
+
|
|
3849
|
+
@function fadeOut
|
|
3850
|
+
@param {Sprite} sprite
|
|
3851
|
+
@return {Motion}
|
|
3852
|
+
*/
|
|
3853
|
+
function fadeOut(sprite, opts = {}) {
|
|
3854
|
+
return opacity(sprite, Object.assign({ to: 0 }, opts));
|
|
3855
|
+
}
|
|
3856
|
+
var Opacity = class extends Motion {
|
|
3857
|
+
prior = null;
|
|
3858
|
+
tween = null;
|
|
3859
|
+
interrupted(motions) {
|
|
3860
|
+
this.prior = motions.find((m) => m instanceof this.constructor);
|
|
3861
|
+
}
|
|
3862
|
+
*animate() {
|
|
3863
|
+
let { sprite, duration, opts } = this;
|
|
3864
|
+
let to = opts.to != null ? opts.to : sprite.finalComputedStyle != null ? parseFloat(sprite.finalComputedStyle.opacity) : 1;
|
|
3865
|
+
let from;
|
|
3866
|
+
if (this.prior) {
|
|
3867
|
+
let prior = this.prior;
|
|
3868
|
+
prior.assertHasTween();
|
|
3869
|
+
from = prior.tween.currentValue;
|
|
3870
|
+
} else from = opts.from != null ? opts.from : sprite.initialComputedStyle != null ? parseFloat(sprite.initialComputedStyle.opacity) : 0;
|
|
3871
|
+
let proportionalDuration = Math.abs(from - to) * duration;
|
|
3872
|
+
this.tween = new Tween(from, to, proportionalDuration, this.opts.easing !== void 0 ? this.opts.easing : linear);
|
|
3873
|
+
while (!this.tween.done) {
|
|
3874
|
+
sprite.applyStyles({ opacity: `${this.tween.currentValue}` });
|
|
3875
|
+
yield rAF();
|
|
3876
|
+
}
|
|
3877
|
+
}
|
|
3878
|
+
assertHasTween() {
|
|
3879
|
+
if (!this.tween) throw new Error(`motion does not have tween`);
|
|
3880
|
+
}
|
|
3881
|
+
};
|
|
3882
|
+
//#endregion
|
|
3883
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/motions/scale.js
|
|
3884
|
+
var scale_exports = /* @__PURE__ */ __exportAll({
|
|
3885
|
+
Scale: () => Scale,
|
|
3886
|
+
default: () => scale
|
|
3887
|
+
});
|
|
3888
|
+
/**
|
|
3889
|
+
Smoothly scales _sprite_ from its the initial size to its final size.
|
|
3890
|
+
|
|
3891
|
+
_sprite_ must have both `initialBounds` and `finalBounds` set.
|
|
3892
|
+
|
|
3893
|
+
```js
|
|
3894
|
+
for (let sprite of insertedSprites) {
|
|
3895
|
+
sprite.startAtSprite(beacons['source']);
|
|
3896
|
+
scale(sprite)
|
|
3897
|
+
}
|
|
3898
|
+
```
|
|
3899
|
+
|
|
3900
|
+
@function scale
|
|
3901
|
+
@export default
|
|
3902
|
+
@param {Sprite} sprite
|
|
3903
|
+
@return {Motion}
|
|
3904
|
+
*/
|
|
3905
|
+
function scale(sprite, opts = {}) {
|
|
3906
|
+
return new Scale(sprite, opts).run();
|
|
3907
|
+
}
|
|
3908
|
+
var Scale = class extends Motion {
|
|
3909
|
+
widthTween = null;
|
|
3910
|
+
heightTween = null;
|
|
3911
|
+
*animate() {
|
|
3912
|
+
this.sprite.assertHasInitialBounds();
|
|
3913
|
+
this.sprite.assertHasFinalBounds();
|
|
3914
|
+
let sprite = this.sprite;
|
|
3915
|
+
let duration = this.duration;
|
|
3916
|
+
let initialWidthFactor;
|
|
3917
|
+
let initialHeightFactor;
|
|
3918
|
+
if (sprite.originalInitialBounds) {
|
|
3919
|
+
initialWidthFactor = sprite.initialBounds.width / sprite.originalInitialBounds.width;
|
|
3920
|
+
initialHeightFactor = sprite.initialBounds.height / sprite.originalInitialBounds.height;
|
|
3921
|
+
} else {
|
|
3922
|
+
initialWidthFactor = sprite.initialBounds.width / sprite.originalFinalBounds.width;
|
|
3923
|
+
initialHeightFactor = sprite.initialBounds.height / sprite.originalFinalBounds.height;
|
|
3924
|
+
}
|
|
3925
|
+
let widthFactor = sprite.finalBounds.width / sprite.initialBounds.width;
|
|
3926
|
+
let heightFactor = sprite.finalBounds.height / sprite.initialBounds.height;
|
|
3927
|
+
this.widthTween = new Tween(sprite.transform.a * initialWidthFactor, sprite.transform.a * initialWidthFactor * widthFactor, duration, this.opts.easing);
|
|
3928
|
+
this.heightTween = new Tween(sprite.transform.d * initialHeightFactor, sprite.transform.d * initialHeightFactor * heightFactor, duration, this.opts.easing);
|
|
3929
|
+
while (!this.widthTween.done || !this.heightTween.done) {
|
|
3930
|
+
sprite.scale(this.widthTween.currentValue / sprite.transform.a, this.heightTween.currentValue / sprite.transform.d);
|
|
3931
|
+
yield rAF();
|
|
3932
|
+
}
|
|
3933
|
+
}
|
|
3934
|
+
};
|
|
3935
|
+
//#endregion
|
|
3936
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/transitions/fade.js
|
|
3937
|
+
var fade_exports = /* @__PURE__ */ __exportAll({ default: () => fade });
|
|
3938
|
+
/**
|
|
3939
|
+
Fades inserted, removed, and kept sprites.
|
|
3940
|
+
|
|
3941
|
+
```js
|
|
3942
|
+
import fade from 'ember-animated/transitions/fade';
|
|
3943
|
+
|
|
3944
|
+
export default Component.extend({
|
|
3945
|
+
transition: fade
|
|
3946
|
+
});
|
|
3947
|
+
```
|
|
3948
|
+
|
|
3949
|
+
```hbs
|
|
3950
|
+
{{#animated-if use=transition}}
|
|
3951
|
+
...
|
|
3952
|
+
{{/animated-if}}
|
|
3953
|
+
```
|
|
3954
|
+
|
|
3955
|
+
@function fade
|
|
3956
|
+
@export default
|
|
3957
|
+
*/
|
|
3958
|
+
function* fade({ removedSprites, insertedSprites, keptSprites, duration }) {
|
|
3959
|
+
yield Promise.all(removedSprites.map((s) => {
|
|
3960
|
+
if (s.revealed) return opacity(s, {
|
|
3961
|
+
to: 0,
|
|
3962
|
+
duration: duration / 2
|
|
3963
|
+
});
|
|
3964
|
+
}));
|
|
3965
|
+
insertedSprites.concat(keptSprites).map((s) => opacity(s, {
|
|
3966
|
+
to: 1,
|
|
3967
|
+
duration: duration / 2
|
|
3968
|
+
}));
|
|
3969
|
+
}
|
|
3970
|
+
//#endregion
|
|
3971
|
+
//#region ../../node_modules/.pnpm/ember-animated@2.3.0_@babel+core@7.29.7_supports-color@8.1.1__@ember+test-helpers@5.4.3_dad572efa0a5f6f0d57e7476531ff882/node_modules/ember-animated/dist/transitions/move-over.js
|
|
3972
|
+
var move_over_exports = /* @__PURE__ */ __exportAll({
|
|
3973
|
+
default: () => moveOver,
|
|
3974
|
+
toDown: () => toDown,
|
|
3975
|
+
toLeft: () => toLeft,
|
|
3976
|
+
toRight: () => toRight,
|
|
3977
|
+
toUp: () => toUp
|
|
3978
|
+
});
|
|
3979
|
+
var toLeft = moveOver.bind(null, "x", -1);
|
|
3980
|
+
var toRight = moveOver.bind(null, "x", 1);
|
|
3981
|
+
var toUp = moveOver.bind(null, "y", -1);
|
|
3982
|
+
var toDown = moveOver.bind(null, "y", 1);
|
|
3983
|
+
function normalize(dimension, direction) {
|
|
3984
|
+
let position;
|
|
3985
|
+
let size;
|
|
3986
|
+
let startTranslatedBy;
|
|
3987
|
+
let endTranslatedBy;
|
|
3988
|
+
if (dimension.toLowerCase() === "x") {
|
|
3989
|
+
size = (bounds) => bounds.width;
|
|
3990
|
+
if (direction > 0) {
|
|
3991
|
+
position = (bounds) => bounds.left;
|
|
3992
|
+
startTranslatedBy = (sprite, distance) => sprite.startTranslatedBy(distance, 0);
|
|
3993
|
+
endTranslatedBy = (sprite, distance) => sprite.endTranslatedBy(distance, 0);
|
|
3994
|
+
} else {
|
|
3995
|
+
position = (bounds) => -bounds.right;
|
|
3996
|
+
startTranslatedBy = (sprite, distance) => sprite.startTranslatedBy(-distance, 0);
|
|
3997
|
+
endTranslatedBy = (sprite, distance) => sprite.endTranslatedBy(-distance, 0);
|
|
3998
|
+
}
|
|
3999
|
+
} else {
|
|
4000
|
+
size = (bounds) => bounds.height;
|
|
4001
|
+
if (direction > 0) {
|
|
4002
|
+
position = (bounds) => bounds.top;
|
|
4003
|
+
startTranslatedBy = (sprite, distance) => sprite.startTranslatedBy(0, distance);
|
|
4004
|
+
endTranslatedBy = (sprite, distance) => sprite.endTranslatedBy(0, distance);
|
|
4005
|
+
} else {
|
|
4006
|
+
position = (bounds) => -bounds.bottom;
|
|
4007
|
+
startTranslatedBy = (sprite, distance) => sprite.startTranslatedBy(0, -distance);
|
|
4008
|
+
endTranslatedBy = (sprite, distance) => sprite.endTranslatedBy(0, -distance);
|
|
4009
|
+
}
|
|
4010
|
+
}
|
|
4011
|
+
return {
|
|
4012
|
+
position,
|
|
4013
|
+
size,
|
|
4014
|
+
startTranslatedBy,
|
|
4015
|
+
endTranslatedBy
|
|
4016
|
+
};
|
|
4017
|
+
}
|
|
4018
|
+
function* moveOver(dimension, direction, context) {
|
|
4019
|
+
let { position, size, startTranslatedBy, endTranslatedBy } = normalize(dimension, direction);
|
|
4020
|
+
let viewport;
|
|
4021
|
+
if (context.insertedSprites[0]) viewport = context.insertedSprites[0].finalBounds;
|
|
4022
|
+
else if (context.keptSprites[0]) viewport = context.keptSprites[0].finalBounds;
|
|
4023
|
+
else throw new Error("Unimplemented");
|
|
4024
|
+
if (context.insertedSprites[0]) {
|
|
4025
|
+
let offset = 0;
|
|
4026
|
+
context.removedSprites.forEach((sprite) => {
|
|
4027
|
+
sprite.assertHasInitialBounds();
|
|
4028
|
+
let o = position(viewport) - position(sprite.initialBounds);
|
|
4029
|
+
if (o > offset) offset = o;
|
|
4030
|
+
});
|
|
4031
|
+
let firstInserted = context.insertedSprites[0];
|
|
4032
|
+
firstInserted.assertHasFinalBounds();
|
|
4033
|
+
offset += size(firstInserted.finalBounds);
|
|
4034
|
+
startTranslatedBy(firstInserted, -offset);
|
|
4035
|
+
if (context.removedSprites[0]) {
|
|
4036
|
+
endTranslatedBy(context.removedSprites[0], offset);
|
|
4037
|
+
let move = new Move(context.removedSprites[0]);
|
|
4038
|
+
move.run();
|
|
4039
|
+
for (const removedSprite of context.removedSprites) follow(removedSprite, { source: move });
|
|
4040
|
+
follow(firstInserted, { source: move });
|
|
4041
|
+
} else new Move(firstInserted).run();
|
|
4042
|
+
} else if (context.keptSprites[0]) {
|
|
4043
|
+
const move = new Move(context.keptSprites[0]);
|
|
4044
|
+
move.run();
|
|
4045
|
+
context.removedSprites.forEach((sprite) => {
|
|
4046
|
+
follow(sprite, { source: move });
|
|
4047
|
+
});
|
|
4048
|
+
} else throw new Error("Unimplemented2");
|
|
4049
|
+
}
|
|
4050
|
+
//#endregion
|
|
4051
|
+
//#region ../../node_modules/.pnpm/ember-provide-consume-context@0.8.0_@ember+test-helpers@5.4.3_@babel+core@7.29.7_suppor_c983a8f2d92056376342a828259aeed4/node_modules/ember-provide-consume-context/dist/components/context-consumer.js
|
|
4052
|
+
var context_consumer_exports = /* @__PURE__ */ __exportAll({ default: () => ContextConsumer });
|
|
4053
|
+
var TEMPLATE = templateFactory({
|
|
4054
|
+
"id": "+KWon0be",
|
|
4055
|
+
"block": "[[[18,1,[[30,0,[\"contextValue\"]]]]],[\"&default\"],[\"yield\"]]",
|
|
4056
|
+
"moduleName": "/home/runner/work/boxel/boxel/node_modules/.pnpm/ember-provide-consume-context@0.8.0_@ember+test-helpers@5.4.3_@babel+core@7.29.7_suppor_c983a8f2d92056376342a828259aeed4/node_modules/ember-provide-consume-context/dist/components/context-consumer.js",
|
|
4057
|
+
"isStrictMode": false
|
|
4058
|
+
});
|
|
4059
|
+
var ContextConsumer = class extends Component$1 {
|
|
4060
|
+
get contextValue() {
|
|
4061
|
+
if (hasContext(this, this.args.key)) return getContextValue(this, this.args.key);
|
|
4062
|
+
return this.args.defaultValue;
|
|
4063
|
+
}
|
|
4064
|
+
};
|
|
4065
|
+
setComponentTemplate(TEMPLATE, ContextConsumer);
|
|
4066
|
+
//#endregion
|
|
4067
|
+
//#region ../../node_modules/.pnpm/ember-provide-consume-context@0.8.0_@ember+test-helpers@5.4.3_@babel+core@7.29.7_suppor_c983a8f2d92056376342a828259aeed4/node_modules/ember-provide-consume-context/dist/components/context-provider.js
|
|
4068
|
+
var context_provider_exports = /* @__PURE__ */ __exportAll({ default: () => ContextProvider });
|
|
4069
|
+
var ContextProvider = class extends Component$1 {
|
|
4070
|
+
constructor(owner, args) {
|
|
4071
|
+
super(owner, args);
|
|
4072
|
+
setContextMetadataOnContextProviderInstance(this, [[args.key, "value"]]);
|
|
4073
|
+
}
|
|
4074
|
+
get value() {
|
|
4075
|
+
return this.args.value;
|
|
4076
|
+
}
|
|
4077
|
+
};
|
|
4078
|
+
//#endregion
|
|
4079
|
+
//#region app/lib/externals.ts
|
|
4080
|
+
var import_flat = /* @__PURE__ */ __toESM((/* @__PURE__ */ __commonJSMin(((exports, module) => {
|
|
4081
|
+
module.exports = flatten;
|
|
4082
|
+
flatten.flatten = flatten;
|
|
4083
|
+
flatten.unflatten = unflatten;
|
|
4084
|
+
function isBuffer(obj) {
|
|
4085
|
+
return obj && obj.constructor && typeof obj.constructor.isBuffer === "function" && obj.constructor.isBuffer(obj);
|
|
4086
|
+
}
|
|
4087
|
+
function keyIdentity(key) {
|
|
4088
|
+
return key;
|
|
4089
|
+
}
|
|
4090
|
+
function flatten(target, opts) {
|
|
4091
|
+
opts = opts || {};
|
|
4092
|
+
const delimiter = opts.delimiter || ".";
|
|
4093
|
+
const maxDepth = opts.maxDepth;
|
|
4094
|
+
const transformKey = opts.transformKey || keyIdentity;
|
|
4095
|
+
const output = {};
|
|
4096
|
+
function step(object, prev, currentDepth) {
|
|
4097
|
+
currentDepth = currentDepth || 1;
|
|
4098
|
+
Object.keys(object).forEach(function(key) {
|
|
4099
|
+
const value = object[key];
|
|
4100
|
+
const isarray = opts.safe && Array.isArray(value);
|
|
4101
|
+
const type = Object.prototype.toString.call(value);
|
|
4102
|
+
const isbuffer = isBuffer(value);
|
|
4103
|
+
const isobject = type === "[object Object]" || type === "[object Array]";
|
|
4104
|
+
const newKey = prev ? prev + delimiter + transformKey(key) : transformKey(key);
|
|
4105
|
+
if (!isarray && !isbuffer && isobject && Object.keys(value).length && (!opts.maxDepth || currentDepth < maxDepth)) return step(value, newKey, currentDepth + 1);
|
|
4106
|
+
output[newKey] = value;
|
|
4107
|
+
});
|
|
4108
|
+
}
|
|
4109
|
+
step(target);
|
|
4110
|
+
return output;
|
|
4111
|
+
}
|
|
4112
|
+
function unflatten(target, opts) {
|
|
4113
|
+
opts = opts || {};
|
|
4114
|
+
const delimiter = opts.delimiter || ".";
|
|
4115
|
+
const overwrite = opts.overwrite || false;
|
|
4116
|
+
const transformKey = opts.transformKey || keyIdentity;
|
|
4117
|
+
const result = {};
|
|
4118
|
+
if (isBuffer(target) || Object.prototype.toString.call(target) !== "[object Object]") return target;
|
|
4119
|
+
function getkey(key) {
|
|
4120
|
+
const parsedKey = Number(key);
|
|
4121
|
+
return isNaN(parsedKey) || key.indexOf(".") !== -1 || opts.object ? key : parsedKey;
|
|
4122
|
+
}
|
|
4123
|
+
function addKeys(keyPrefix, recipient, target) {
|
|
4124
|
+
return Object.keys(target).reduce(function(result, key) {
|
|
4125
|
+
result[keyPrefix + delimiter + key] = target[key];
|
|
4126
|
+
return result;
|
|
4127
|
+
}, recipient);
|
|
4128
|
+
}
|
|
4129
|
+
function isEmpty(val) {
|
|
4130
|
+
const type = Object.prototype.toString.call(val);
|
|
4131
|
+
const isArray = type === "[object Array]";
|
|
4132
|
+
const isObject = type === "[object Object]";
|
|
4133
|
+
if (!val) return true;
|
|
4134
|
+
else if (isArray) return !val.length;
|
|
4135
|
+
else if (isObject) return !Object.keys(val).length;
|
|
4136
|
+
}
|
|
4137
|
+
target = Object.keys(target).reduce(function(result, key) {
|
|
4138
|
+
const type = Object.prototype.toString.call(target[key]);
|
|
4139
|
+
if (!(type === "[object Object]" || type === "[object Array]") || isEmpty(target[key])) {
|
|
4140
|
+
result[key] = target[key];
|
|
4141
|
+
return result;
|
|
4142
|
+
} else return addKeys(key, result, flatten(target[key], opts));
|
|
4143
|
+
}, {});
|
|
4144
|
+
Object.keys(target).forEach(function(key) {
|
|
4145
|
+
const split = key.split(delimiter).map(transformKey);
|
|
4146
|
+
let key1 = getkey(split.shift());
|
|
4147
|
+
let key2 = getkey(split[0]);
|
|
4148
|
+
let recipient = result;
|
|
4149
|
+
while (key2 !== void 0) {
|
|
4150
|
+
if (key1 === "__proto__") return;
|
|
4151
|
+
const type = Object.prototype.toString.call(recipient[key1]);
|
|
4152
|
+
const isobject = type === "[object Object]" || type === "[object Array]";
|
|
4153
|
+
if (!overwrite && !isobject && typeof recipient[key1] !== "undefined") return;
|
|
4154
|
+
if (overwrite && !isobject || !overwrite && recipient[key1] == null) recipient[key1] = typeof key2 === "number" && !opts.object ? [] : {};
|
|
4155
|
+
recipient = recipient[key1];
|
|
4156
|
+
if (split.length > 0) {
|
|
4157
|
+
key1 = getkey(split.shift());
|
|
4158
|
+
key2 = getkey(split[0]);
|
|
4159
|
+
}
|
|
4160
|
+
}
|
|
4161
|
+
recipient[key1] = unflatten(target[key], opts);
|
|
4162
|
+
});
|
|
4163
|
+
return result;
|
|
4164
|
+
}
|
|
4165
|
+
})))());
|
|
4166
|
+
init_md5_esm_bundler();
|
|
4167
|
+
function shimExternals(virtualNetwork) {
|
|
4168
|
+
const windowQUnit = globalThis.QUnit;
|
|
4169
|
+
virtualNetwork.shimModule("qunit", windowQUnit || {
|
|
4170
|
+
module: () => {},
|
|
4171
|
+
test: () => {},
|
|
4172
|
+
config: {}
|
|
4173
|
+
});
|
|
4174
|
+
virtualNetwork.shimModule("@cardstack/runtime-common", runtime_common_exports);
|
|
4175
|
+
virtualNetwork.shimModule("@cardstack/boxel-ui/components", components_exports);
|
|
4176
|
+
virtualNetwork.shimModule("@cardstack/boxel-ui/helpers", helpers_exports);
|
|
4177
|
+
virtualNetwork.shimModule("@cardstack/boxel-ui/icons", icons_exports);
|
|
4178
|
+
virtualNetwork.shimModule("@cardstack/boxel-ui/modifiers", modifiers_exports);
|
|
4179
|
+
virtualNetwork.addPackageMapping("@cardstack/boxel-ui/", `${PACKAGES_FAKE_ORIGIN}@cardstack/boxel-ui/`);
|
|
4180
|
+
virtualNetwork.shimModule("@glimmer/component", dist_exports$5);
|
|
4181
|
+
virtualNetwork.shimModule("@glimmer/tracking", tracking_exports);
|
|
4182
|
+
virtualNetwork.shimModule("@glimmer/validator", validator_exports);
|
|
4183
|
+
virtualNetwork.shimModule("@ember/component", component_exports);
|
|
4184
|
+
virtualNetwork.shimModule("@ember/component/template-only", template_only_exports);
|
|
4185
|
+
virtualNetwork.shimModule("@ember/destroyable", destroyable_exports);
|
|
4186
|
+
virtualNetwork.shimModule("@ember/helper", helper_exports);
|
|
4187
|
+
virtualNetwork.shimModule("@ember/modifier", modifier_exports);
|
|
4188
|
+
virtualNetwork.shimModule("@ember/object", object_exports);
|
|
4189
|
+
virtualNetwork.shimModule("@ember/object/internals", internals_exports);
|
|
4190
|
+
virtualNetwork.shimModule("@ember/runloop", runloop_exports);
|
|
4191
|
+
virtualNetwork.shimModule("@ember/service", service_exports);
|
|
4192
|
+
virtualNetwork.shimModule("@ember/template", template_exports);
|
|
4193
|
+
virtualNetwork.shimModule("@ember/template-factory", template_factory_exports);
|
|
4194
|
+
virtualNetwork.shimModule("@cardstack/view-transitions", dist_exports$1);
|
|
4195
|
+
virtualNetwork.shimModule("awesome-phonenumber", index_esm_exports);
|
|
4196
|
+
virtualNetwork.shimModule("date-fns", esm_exports);
|
|
4197
|
+
virtualNetwork.shimModule("ember-animated", dist_exports);
|
|
4198
|
+
virtualNetwork.shimModule("ember-animated/easings/cosine", cosine_exports);
|
|
4199
|
+
virtualNetwork.shimModule("ember-animated/easings/linear", linear_exports);
|
|
4200
|
+
virtualNetwork.shimModule("ember-animated/motions/adjust-color", adjust_color_exports);
|
|
4201
|
+
virtualNetwork.shimModule("ember-animated/motions/adjust-css", adjust_css_exports);
|
|
4202
|
+
virtualNetwork.shimModule("ember-animated/motions/box-shadow", box_shadow_exports);
|
|
4203
|
+
virtualNetwork.shimModule("ember-animated/motions/compensate-for-scale", compensate_for_scale_exports);
|
|
4204
|
+
virtualNetwork.shimModule("ember-animated/motions/follow", follow_exports);
|
|
4205
|
+
virtualNetwork.shimModule("ember-animated/motions/move", move_exports);
|
|
4206
|
+
virtualNetwork.shimModule("ember-animated/motions/move-svg", move_svg_exports);
|
|
4207
|
+
virtualNetwork.shimModule("ember-animated/motions/opacity", opacity_exports);
|
|
4208
|
+
virtualNetwork.shimModule("ember-animated/motions/resize", resize_exports);
|
|
4209
|
+
virtualNetwork.shimModule("ember-animated/motions/scale", scale_exports);
|
|
4210
|
+
virtualNetwork.shimModule("ember-animated/transitions/fade", fade_exports);
|
|
4211
|
+
virtualNetwork.shimModule("ember-animated/transitions/move-over", move_over_exports);
|
|
4212
|
+
virtualNetwork.shimModule("ember-concurrency", dist_exports$8);
|
|
4213
|
+
virtualNetwork.shimModule("ember-concurrency/-private/async-arrow-runtime", async_arrow_runtime_exports);
|
|
4214
|
+
virtualNetwork.shimModule("ember-css-url", dist_exports$6);
|
|
4215
|
+
virtualNetwork.shimModule("ember-modifier", dist_exports$7);
|
|
4216
|
+
virtualNetwork.shimModule("ember-modify-based-class-resource", dist_exports$3);
|
|
4217
|
+
virtualNetwork.shimModule("ember-provide-consume-context", dist_exports$9);
|
|
4218
|
+
virtualNetwork.shimModule("ember-provide-consume-context/components/context-consumer", context_consumer_exports);
|
|
4219
|
+
virtualNetwork.shimModule("ember-provide-consume-context/components/context-provider", context_provider_exports);
|
|
4220
|
+
virtualNetwork.shimModule("ember-resources", dist_exports$2);
|
|
4221
|
+
virtualNetwork.shimModule("ember-source/types", { default: class {} });
|
|
4222
|
+
virtualNetwork.shimModule("ember-source/types/preview", { default: class {} });
|
|
4223
|
+
virtualNetwork.shimModule("flat", import_flat);
|
|
4224
|
+
virtualNetwork.shimModule("@floating-ui/dom", floating_ui_dom_exports);
|
|
4225
|
+
virtualNetwork.shimModule("lodash", lodash_exports);
|
|
4226
|
+
virtualNetwork.shimModule("lodash-es", lodash_exports);
|
|
4227
|
+
virtualNetwork.shimModule("matrix-js-sdk", browser_index_exports);
|
|
4228
|
+
virtualNetwork.shimModule("rsvp", rsvp_exports);
|
|
4229
|
+
virtualNetwork.shimModule("super-fast-md5", md5_esm_bundler_exports);
|
|
4230
|
+
virtualNetwork.shimModule("tracked-built-ins", dist_exports$4);
|
|
4231
|
+
virtualNetwork.shimAsyncModule({
|
|
4232
|
+
id: "@cardstack/bxl",
|
|
4233
|
+
resolve: async () => {
|
|
4234
|
+
let bxl = await __vitePreload(() => import("./src-CF8jhG38.js"), __vite__mapDeps([0,1,2,3,4,5,6,7,8,9]), import.meta.url);
|
|
4235
|
+
await bxl.loadAllFormulaExtensions();
|
|
4236
|
+
return bxl;
|
|
4237
|
+
}
|
|
4238
|
+
});
|
|
4239
|
+
virtualNetwork.shimModule("glimmer-motion", src_exports);
|
|
4240
|
+
virtualNetwork.shimModule("glimmer-motion/layout-group", layout_group_exports);
|
|
4241
|
+
virtualNetwork.shimModule("glimmer-motion/motion-config", motion_config_exports);
|
|
4242
|
+
virtualNetwork.shimModule("glimmer-motion/presence", presence_exports);
|
|
4243
|
+
virtualNetwork.shimModule("glimmer-motion/reorder/group", group_exports);
|
|
4244
|
+
virtualNetwork.shimModule("glimmer-motion/reorder/item", item_exports);
|
|
4245
|
+
virtualNetwork.shimAsyncModule({
|
|
4246
|
+
id: "glimmer-motion/test-support",
|
|
4247
|
+
resolve: () => __vitePreload(() => import("./test-support-DUSSy2-T.js"), __vite__mapDeps([10,11,2,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32]), import.meta.url)
|
|
4248
|
+
});
|
|
4249
|
+
virtualNetwork.shimAsyncModule({
|
|
4250
|
+
id: "@cardstack/choreo",
|
|
4251
|
+
resolve: () => __vitePreload(() => import("./src-CUN0zx7d.js"), __vite__mapDeps([33,34,2,35,16,17,18,13,19,20,36,21,22,23,29,26,37,24,38,27,39,40,41,42,43,44,30,31,45,46,32,47,48,49,50,51]), import.meta.url)
|
|
4252
|
+
});
|
|
4253
|
+
virtualNetwork.shimAsyncModule({
|
|
4254
|
+
id: "@cardstack/choreo/choreo",
|
|
4255
|
+
resolve: () => __vitePreload(() => import("./choreo-B_0kVssy.js"), __vite__mapDeps([52,51,2,35,16,17,18,13,19,20,36,21,22,23,29,26,40,37,24,38,27,41,43,44,30,31,45,46,32,47,48,49,50,34,42]), import.meta.url)
|
|
4256
|
+
});
|
|
4257
|
+
virtualNetwork.shimAsyncModule({
|
|
4258
|
+
id: "@cardstack/choreo/steps",
|
|
4259
|
+
resolve: () => __vitePreload(() => import("./steps-aNa4m6PJ.js"), __vite__mapDeps([53,34,2,35,16,17,18,13,19,20,36,21,22,23,29,26,37,24,38,27]), import.meta.url)
|
|
4260
|
+
});
|
|
4261
|
+
virtualNetwork.shimAsyncModule({
|
|
4262
|
+
id: "@cardstack/choreo/test-support",
|
|
4263
|
+
resolve: () => __vitePreload(() => import("./test-support-BbGIINeQ.js"), __vite__mapDeps([54,55,2,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,44,45,35,36,40,37,38,41,46,42,43,47,48,49,50]), import.meta.url)
|
|
4264
|
+
});
|
|
4265
|
+
virtualNetwork.shimAsyncModule({
|
|
4266
|
+
id: "@cardstack/choreo/film",
|
|
4267
|
+
resolve: () => __vitePreload(() => import("./film-Ca2Vzlfu.js"), __vite__mapDeps([56,57,2,35,16,17,18,13,19,20,36,21,22,23,29,26,58,27,43,40,37,24,38,41,44,30,31,45,46,32,47,48,49,50,51,34,42,59,60,61,62,63,64,65,66,67,68,69]), import.meta.url)
|
|
4268
|
+
});
|
|
4269
|
+
virtualNetwork.shimAsyncModule({
|
|
4270
|
+
id: "@cardstack/choreo/film/clip",
|
|
4271
|
+
resolve: () => __vitePreload(() => import("./clip-BEVvLrXx.js"), __vite__mapDeps([70,57,2,35,16,17,18,13,19,20,36,21,22,23,29,26,58,27,43,40,37,24,38,41,44,30,31,45,46,32,47,48,49,50,51,34,42]), import.meta.url)
|
|
4272
|
+
});
|
|
4273
|
+
virtualNetwork.shimAsyncModule({
|
|
4274
|
+
id: "@cardstack/choreo/film/film",
|
|
4275
|
+
resolve: () => __vitePreload(() => import("./film-DEvhBbBu.js"), __vite__mapDeps([71,59,2,35,16,17,18,13,19,20,36,21,22,23,29,26,40,37,24,38,27,41,43,44,30,31,45,46,32,47,48,49,50,34,51,42,57,58,60,61,62,63,64,65,66,67,68]), import.meta.url)
|
|
4276
|
+
});
|
|
4277
|
+
virtualNetwork.shimAsyncModule({
|
|
4278
|
+
id: "@cardstack/choreo/film/graph/adjust",
|
|
4279
|
+
resolve: () => __vitePreload(() => import("./adjust-tbcBqG-n.js"), __vite__mapDeps([72,61,2,62,35,16,17,18,13,19,20,36,21,22,23,29,26,37,24,38,27]), import.meta.url)
|
|
4280
|
+
});
|
|
4281
|
+
virtualNetwork.shimAsyncModule({
|
|
4282
|
+
id: "@cardstack/choreo/film/graph/host",
|
|
4283
|
+
resolve: () => __vitePreload(() => import("./host-DMN-E78f.js"), __vite__mapDeps([73,60,2,35,16,17,18,13,19,20,36,21,22,23,29,26,37,24,38,27,61,62]), import.meta.url)
|
|
4284
|
+
});
|
|
4285
|
+
virtualNetwork.shimAsyncModule({
|
|
4286
|
+
id: "@cardstack/choreo/film/graph/nodes",
|
|
4287
|
+
resolve: () => __vitePreload(() => import("./nodes-Cb9jGNmV.js"), __vite__mapDeps([74,62,2,35,16,17,18,13,19,20,36,21,22,23,29,26,37,24,38,27]), import.meta.url)
|
|
4288
|
+
});
|
|
4289
|
+
virtualNetwork.shimAsyncModule({
|
|
4290
|
+
id: "@cardstack/choreo/film/joins",
|
|
4291
|
+
resolve: () => __vitePreload(() => import("./joins-CFhtaZ7U.js"), __vite__mapDeps([75,63,2,35,16,17,18,13,19,20,36,21,22,23,29,26,37,24,38,27]), import.meta.url)
|
|
4292
|
+
});
|
|
4293
|
+
virtualNetwork.shimAsyncModule({
|
|
4294
|
+
id: "@cardstack/choreo/film/overlays",
|
|
4295
|
+
resolve: () => __vitePreload(() => import("./overlays-DC_pYWjj.js"), __vite__mapDeps([76,64,2,35,16,17,18,13,19,20,36,21,22,23,29,26,38,27,43,40,37,24,41,44,30,31,45,46,32,47,48,49,50,51,34,42]), import.meta.url)
|
|
4296
|
+
});
|
|
4297
|
+
virtualNetwork.shimAsyncModule({
|
|
4298
|
+
id: "@cardstack/choreo/film/picture",
|
|
4299
|
+
resolve: () => __vitePreload(() => import("./picture-CPj4Wgsy.js"), __vite__mapDeps([77,69,2,35,16,17,18,13,19,20,36,21,22,23,29,26,37,24,38,27,61,62]), import.meta.url)
|
|
4300
|
+
});
|
|
4301
|
+
virtualNetwork.shimAsyncModule({
|
|
4302
|
+
id: "@cardstack/choreo/film/plate",
|
|
4303
|
+
resolve: () => __vitePreload(() => import("./plate-dTUzEMj5.js"), __vite__mapDeps([78,65,2,35,16,17,18,13,19,20,36,21,22,23,29,26,58,27,43,40,37,24,38,41,44,30,31,45,46,32,47,48,49,50,51,34,42]), import.meta.url)
|
|
4304
|
+
});
|
|
4305
|
+
virtualNetwork.shimAsyncModule({
|
|
4306
|
+
id: "@cardstack/choreo/film/player",
|
|
4307
|
+
resolve: () => __vitePreload(() => import("./player-Dt85lPZl.js"), __vite__mapDeps([79,66,2,35,16,17,18,13,19,20,36,21,22,23,29,26,58,38,27,43,40,37,24,41,44,30,31,45,46,32,47,48,49,50,51,34,42]), import.meta.url)
|
|
4308
|
+
});
|
|
4309
|
+
virtualNetwork.shimAsyncModule({
|
|
4310
|
+
id: "@cardstack/choreo/film/rail",
|
|
4311
|
+
resolve: () => __vitePreload(() => import("./rail-D2YcQ0VP.js"), __vite__mapDeps([80,67,2,35,16,17,18,13,19,20,36,21,22,23,29,26,58,38,27]), import.meta.url)
|
|
4312
|
+
});
|
|
4313
|
+
virtualNetwork.shimAsyncModule({
|
|
4314
|
+
id: "@cardstack/choreo/film/titles",
|
|
4315
|
+
resolve: () => __vitePreload(() => import("./titles-C0GqiOU8.js"), __vite__mapDeps([81,68,2,35,16,17,18,13,19,20,36,21,22,23,29,26,27,43,40,37,24,38,41,44,30,31,45,46,32,47,48,49,50,51,34,42]), import.meta.url)
|
|
4316
|
+
});
|
|
4317
|
+
virtualNetwork.shimAsyncModule({
|
|
4318
|
+
id: "@cardstack/choreo-player",
|
|
4319
|
+
resolve: () => __vitePreload(() => import("./src-DOKnNfG8.js"), __vite__mapDeps([82,2]), import.meta.url)
|
|
4320
|
+
});
|
|
4321
|
+
virtualNetwork.shimAsyncModule({
|
|
4322
|
+
id: "dialkit/store",
|
|
4323
|
+
resolve: () => __vitePreload(() => import("./store-tDubGN_j.js"), __vite__mapDeps([83,2]), import.meta.url)
|
|
4324
|
+
});
|
|
4325
|
+
virtualNetwork.shimAsyncModule({
|
|
4326
|
+
id: "dialkit/vanilla",
|
|
4327
|
+
resolve: () => __vitePreload(() => import("./vanilla-BA1BUPFM.js"), __vite__mapDeps([84,2]), import.meta.url)
|
|
4328
|
+
});
|
|
4329
|
+
virtualNetwork.shimAsyncModule({
|
|
4330
|
+
id: "@chenglou/pretext",
|
|
4331
|
+
resolve: () => __vitePreload(() => import("./layout-DVAINTLP.js"), __vite__mapDeps([85,2]), import.meta.url)
|
|
4332
|
+
});
|
|
4333
|
+
virtualNetwork.shimAsyncModule({
|
|
4334
|
+
id: "ethers",
|
|
4335
|
+
resolve: () => __vitePreload(() => import("./lib.esm-CdDCG-7Y.js"), __vite__mapDeps([86,87,2]), import.meta.url)
|
|
4336
|
+
});
|
|
4337
|
+
virtualNetwork.shimAsyncModule({
|
|
4338
|
+
id: "pdfjs-dist",
|
|
4339
|
+
resolve: () => __vitePreload(() => import("./pdfjs-tq21NQBp.js"), __vite__mapDeps([88,2,3]), import.meta.url)
|
|
4340
|
+
});
|
|
4341
|
+
virtualNetwork.shimModule("@cardstack/boxel-host/lib/pdfjs-loader", pdfjs_loader_exports);
|
|
4342
|
+
virtualNetwork.shimModule("@cardstack/boxel-host/lib/signed-capture", signed_capture_exports);
|
|
4343
|
+
virtualNetwork.shimModule("@cardstack/boxel-host/lib/three-loader", three_loader_exports);
|
|
4344
|
+
virtualNetwork.shimAsyncModule({
|
|
4345
|
+
id: "uuid",
|
|
4346
|
+
resolve: () => __vitePreload(() => import("./esm-browser-ByMIQXWT.js"), __vite__mapDeps([89,90,2]), import.meta.url)
|
|
4347
|
+
});
|
|
4348
|
+
virtualNetwork.shimAsyncModule({
|
|
4349
|
+
id: "yaml",
|
|
4350
|
+
resolve: () => __vitePreload(() => import("./browser-ZN0_uldJ.js"), __vite__mapDeps([91,92,2]), import.meta.url)
|
|
4351
|
+
});
|
|
4352
|
+
virtualNetwork.shimAsyncModule({
|
|
4353
|
+
id: "fflate",
|
|
4354
|
+
resolve: () => __vitePreload(() => import("./browser-BpGk2ZmZ.js"), __vite__mapDeps([93,94,2]), import.meta.url)
|
|
4355
|
+
});
|
|
4356
|
+
virtualNetwork.shimAsyncModule({
|
|
4357
|
+
id: "@cardstack/runtime-common/constants",
|
|
4358
|
+
resolve: () => __vitePreload(() => import("./constants-DaEn9XX4.js"), __vite__mapDeps([95,96,2,97]), import.meta.url)
|
|
4359
|
+
});
|
|
4360
|
+
virtualNetwork.shimAsyncModule({
|
|
4361
|
+
id: "@cardstack/runtime-common/marked-sync",
|
|
4362
|
+
resolve: () => __vitePreload(() => import("./marked-sync-JNug1m12.js"), __vite__mapDeps([98,99,2,3,100,97,96,101,102]), import.meta.url)
|
|
4363
|
+
});
|
|
4364
|
+
virtualNetwork.shimAsyncModule({
|
|
4365
|
+
id: "@cardstack/runtime-common/bfm-card-references",
|
|
4366
|
+
resolve: () => __vitePreload(() => import("./bfm-card-references-D9BicvAc.js"), __vite__mapDeps([103,100,2,97]), import.meta.url)
|
|
4367
|
+
});
|
|
4368
|
+
virtualNetwork.shimAsyncModule({
|
|
4369
|
+
id: "@cardstack/runtime-common/helpers/ai",
|
|
4370
|
+
resolve: () => __vitePreload(() => import("./ai-CZXdzxai.js"), __vite__mapDeps([104,105,2,96,97]), import.meta.url)
|
|
4371
|
+
});
|
|
4372
|
+
virtualNetwork.shimAsyncModule({
|
|
4373
|
+
id: "@cardstack/runtime-common/helpers/card-directory-name",
|
|
4374
|
+
resolve: () => __vitePreload(() => import("./card-directory-name-BjCyQ8FQ.js"), __vite__mapDeps([106,107,2,3,87,108,109,110,111,112,113,90,92,100,97,96,101,102,105]), import.meta.url)
|
|
4375
|
+
});
|
|
4376
|
+
shimModulesForLiveTests(virtualNetwork);
|
|
4377
|
+
virtualNetwork.shimModule("@cardstack/host/services/store", fallbackShim({ default: class {} }));
|
|
4378
|
+
shimHostTools(virtualNetwork);
|
|
4379
|
+
}
|
|
4380
|
+
function shimModulesForLiveTests(virtualNetwork) {
|
|
4381
|
+
virtualNetwork.shimModule("@ember/test-helpers", dist_exports$10);
|
|
4382
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers", fallbackShim());
|
|
4383
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/mock-matrix", fallbackShim());
|
|
4384
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/setup", fallbackShim());
|
|
4385
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/adapter", fallbackShim());
|
|
4386
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/render-component", fallbackShim());
|
|
4387
|
+
virtualNetwork.shimModule("@cardstack/host/tests/helpers/base-realm", fallbackShim());
|
|
4388
|
+
virtualNetwork.shimModule("@universal-ember/test-support", fallbackShim());
|
|
4389
|
+
virtualNetwork.shimModule("@ember/owner", fallbackShim());
|
|
4390
|
+
virtualNetwork.shimModule("@cardstack/host/config/environment", fallbackShim());
|
|
4391
|
+
}
|
|
4392
|
+
//#endregion
|
|
4393
|
+
export { microwait as a, allSettled as i, task as n, rAF as o, afterRender as r, shimExternals as t };
|