hyperframes 0.8.195 → 0.8.197
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/dist/{add-NL6XABRV.js → add-5GQIR5OE.js} +12 -12
- package/dist/{animatedGifPrep-JD4BBM2L.js → animatedGifPrep-MGFQWIGJ.js} +8 -8
- package/dist/api.js +16 -16
- package/dist/{asset-LRRHLG4L.js → asset-ADX55DGH.js} +2 -2
- package/dist/{assetCataloger-D7KGO346.js → assetCataloger-GGBWBQZW.js} +8 -8
- package/dist/{audio-34CZM4HF.js → audio-SPB4CLRU.js} +14 -14
- package/dist/{auth-FL5ZMOXB.js → auth-WBAB35QA.js} +1 -1
- package/dist/{autoUpdate-FZTJFLIH.js → autoUpdate-5VUDX7JO.js} +2 -2
- package/dist/{backgroundChecks-6ZKDCQET.js → backgroundChecks-ATZQQUMR.js} +3 -3
- package/dist/backgroundChecksWorker.js +3 -3
- package/dist/{batchRender-KDZ4F4QT.js → batchRender-6S2XULOE.js} +4 -4
- package/dist/{beats-7PK677VR.js → beats-WJPHWDZ6.js} +9 -9
- package/dist/{benchmark-LO36QH5D.js → benchmark-LZVR7PF6.js} +9 -9
- package/dist/{browser-3F7NDHU2.js → browser-QJ3PFVDY.js} +3 -3
- package/dist/{bundleWithLocalizedFonts-JL5J52L6.js → bundleWithLocalizedFonts-564BQ73K.js} +2 -2
- package/dist/{capture-DOP3ONNZ.js → capture-3PUQLQNM.js} +11 -11
- package/dist/{capture-JOSZZYUW.js → capture-IRAYPK52.js} +2 -2
- package/dist/{captureCompositionFrame-SWZ4GEJP.js → captureCompositionFrame-OHS3WBTA.js} +13 -13
- package/dist/{catalog-EZLHZMLM.js → catalog-IQKJLTSF.js} +12 -12
- package/dist/{catch-up-6B7VY43I.js → catch-up-C4JJJNP3.js} +4 -4
- package/dist/{check-QGELCBBF.js → check-46Z5CAA4.js} +37 -37
- package/dist/{checkBrowser-A5C2AB4L.js → checkBrowser-KAC54SLQ.js} +32 -32
- package/dist/{chunk-NKNRVPNV.js → chunk-2C4VIQ2H.js} +2 -2
- package/dist/{chunk-D6XDOYMB.js → chunk-2R7QYR2D.js} +1 -1
- package/dist/{chunk-W7GMPEY3.js → chunk-33BFEUCL.js} +15 -11
- package/dist/{chunk-KJ6ZQL34.js → chunk-3DEBV7RH.js} +1 -1
- package/dist/{chunk-7DFIVUOW.js → chunk-3HOQ5ZMS.js} +6 -6
- package/dist/{chunk-L4BFXWHC.js → chunk-454VK7CA.js} +17 -17
- package/dist/{chunk-IZR7U27Z.js → chunk-46J53I7B.js} +47 -16
- package/dist/{chunk-SMROKE63.js → chunk-4FXJ54L4.js} +2 -2
- package/dist/{chunk-OB4GJZTY.js → chunk-4MNF7ALL.js} +1 -1
- package/dist/{chunk-GKMRLES4.js → chunk-5FY7ARKL.js} +1 -1
- package/dist/{chunk-YUFECVHG.js → chunk-5L6UY76S.js} +1 -1
- package/dist/{chunk-IZCW2NKT.js → chunk-5S7W3TUO.js} +1 -0
- package/dist/{chunk-YSXCPSJ4.js → chunk-6DMFWXDH.js} +3 -3
- package/dist/{chunk-KVLGJJTE.js → chunk-6LN4GQH3.js} +5 -5
- package/dist/{chunk-E527A6RS.js → chunk-6UX32GRW.js} +2 -2
- package/dist/{chunk-4R2NWLQL.js → chunk-7JMUJID2.js} +1 -1
- package/dist/{chunk-WUL5LPI2.js → chunk-AHE4R7PV.js} +9 -1
- package/dist/{chunk-F4T7XYMF.js → chunk-AXJMD32I.js} +1 -1
- package/dist/{chunk-FWDDLW2H.js → chunk-B6D7KOXQ.js} +2 -2
- package/dist/{chunk-ES7KSCSO.js → chunk-BF3ACZAB.js} +9 -9
- package/dist/{chunk-3OAFRLD3.js → chunk-BNMVX4JK.js} +11 -8
- package/dist/{chunk-66Q27H72.js → chunk-BXXEQFRW.js} +2 -2
- package/dist/{chunk-NOHH25WS.js → chunk-C4REI4HU.js} +2 -2
- package/dist/{chunk-CCZMCX3F.js → chunk-DTC4KKFP.js} +1 -1
- package/dist/{chunk-ST35C4K6.js → chunk-DY53XJ3P.js} +1 -1
- package/dist/{chunk-BBXZPDEA.js → chunk-FFPKJU7T.js} +2 -2
- package/dist/{chunk-ROEW726S.js → chunk-FMTJ4I6I.js} +1 -1
- package/dist/{chunk-ORZMO6NY.js → chunk-FUAS4KCJ.js} +3 -3
- package/dist/chunk-G5RNOVAV.js +3901 -0
- package/dist/{chunk-7Y5RVQQ7.js → chunk-GC4NUZAR.js} +4 -4
- package/dist/{chunk-7G2LQM3J.js → chunk-GGURM4ZM.js} +27 -18
- package/dist/{chunk-VNWX5GBF.js → chunk-GI2WXOY5.js} +4 -3
- package/dist/{chunk-ZOJHEN3C.js → chunk-GM6WM6YH.js} +1 -1
- package/dist/{chunk-6ORTRIDW.js → chunk-IFOJM6PV.js} +3 -3
- package/dist/{chunk-SC6NILKD.js → chunk-IHSFWHXI.js} +1 -1
- package/dist/{chunk-E74JMKSK.js → chunk-IK4Q7EKF.js} +2 -2
- package/dist/{chunk-TE6VGYHQ.js → chunk-IY2NZKMG.js} +1 -1
- package/dist/{chunk-636WBDXB.js → chunk-J756NYRP.js} +5 -5
- package/dist/{chunk-GJG4CTXD.js → chunk-KBVJ6G65.js} +3 -3
- package/dist/{chunk-3PYIQLPL.js → chunk-MGSQPE6P.js} +1 -1
- package/dist/{chunk-YFTO5YD7.js → chunk-NAZ54XAE.js} +5 -5
- package/dist/{chunk-XOUWCZHD.js → chunk-OEC7RJVD.js} +1 -1
- package/dist/{chunk-W4SSWOOD.js → chunk-PDDVEHWJ.js} +2 -2
- package/dist/{chunk-OJNNKHAZ.js → chunk-PGDWNIOK.js} +7 -2
- package/dist/{chunk-RZUEXJRC.js → chunk-POYHL7UJ.js} +2 -2
- package/dist/{chunk-L2EBYFU7.js → chunk-PRURJIVL.js} +1 -1
- package/dist/{chunk-2OYYNKJ4.js → chunk-QXPZGDTI.js} +1 -1
- package/dist/{chunk-IA7HZ4CM.js → chunk-RHYXITPN.js} +3 -3
- package/dist/{chunk-GOOE33GV.js → chunk-RNPTRRLX.js} +1 -1
- package/dist/{chunk-ELQ2QQC5.js → chunk-SD2IVQXM.js} +1 -1
- package/dist/{chunk-HJINEUHY.js → chunk-T3CBCGU4.js} +179 -131
- package/dist/{chunk-7PXVXRVX.js → chunk-UP7IRMTI.js} +9 -9
- package/dist/{chunk-HTLCE7M2.js → chunk-VFSFTVOT.js} +67 -24
- package/dist/{chunk-CZNSLFYD.js → chunk-VLVQQJOX.js} +14 -7
- package/dist/{chunk-B7Y2DGU6.js → chunk-WKHPW2BC.js} +1 -1
- package/dist/{chunk-RAACYYWX.js → chunk-WNLHEUZU.js} +1 -1
- package/dist/{chunk-2G6JZJAV.js → chunk-WWE73ZFN.js} +2 -2
- package/dist/{chunk-HT33OHQL.js → chunk-WY6X5Q33.js} +1 -1
- package/dist/{chunk-ZL6ZCLY6.js → chunk-X56HO2IP.js} +1 -1
- package/dist/{chunk-XC7SJ2UR.js → chunk-X73MOLUS.js} +3 -3
- package/dist/{chunk-2HSRLKZR.js → chunk-XE5DW6UC.js} +3 -3
- package/dist/{chunk-B7RJV74O.js → chunk-XOTUPVIF.js} +4 -0
- package/dist/{chunk-2TU4OKIR.js → chunk-YUODO5H2.js} +31 -0
- package/dist/{chunk-ZAVUASNT.js → chunk-ZAY376M4.js} +1 -1
- package/dist/{chunk-P5X5URNQ.js → chunk-ZE6CLWXL.js} +1 -1
- package/dist/{clean-PI4JLT6O.js → clean-JM6Y5V2G.js} +18 -18
- package/dist/cli.js +53 -53
- package/dist/{cloud-SQRY723M.js → cloud-DWKTRWWB.js} +4 -4
- package/dist/{cloudrun-VMPROR43.js → cloudrun-HLUQOVRO.js} +6 -6
- package/dist/{compare-EHX4APTP.js → compare-GVTQBP4N.js} +29 -29
- package/dist/{compiler-FZCJGGBF.js → compiler-3MDCAKFB.js} +4 -4
- package/dist/{component-I75ZKJYH.js → component-QSRD6BSP.js} +3 -3
- package/dist/{compositions-YNYYUEQD.js → compositions-BDITIWMO.js} +12 -12
- package/dist/{delete-7BVTBKOC.js → delete-G2MXPSLU.js} +2 -2
- package/dist/{deploy-TUEEJP3W.js → deploy-Q7RDYGFL.js} +1 -1
- package/dist/{deterministicFonts-RADD3BSX.js → deterministicFonts-RMA7GDJC.js} +2 -2
- package/dist/{dist-VVROHSP4.js → dist-WHAM6TAE.js} +3 -3
- package/dist/{dist-VRGIE57H.js → dist-XPD7X6JB.js} +1 -1
- package/dist/{doctor-53DSQFW4.js → doctor-Q7SJW3MZ.js} +12 -12
- package/dist/{events-AD3U6E7I.js → events-DOABLVUG.js} +2 -2
- package/dist/{events-M6FIUDNQ.js → events-XEAJVOX2.js} +3 -3
- package/dist/{feedback-7SQ7KKAR.js → feedback-K7I2FQQF.js} +8 -8
- package/dist/{ffmpeg-3HSSPXS4.js → ffmpeg-2LKYJYAF.js} +8 -8
- package/dist/{figma-B5XII2BO.js → figma-LXJRAIDI.js} +3 -3
- package/dist/fontLocalizeCli.js +11 -11
- package/dist/{get-RZKNBIRD.js → get-EDCTYZB6.js} +2 -2
- package/dist/{gpuPolicy-77LOK3K6.js → gpuPolicy-4YOOXLBX.js} +8 -8
- package/dist/{grade-compare-K3YB3FQA.js → grade-compare-ZWUXB3MD.js} +30 -30
- package/dist/{help-UM6INVL5.js → help-LEZ3E433.js} +1 -1
- package/dist/{history-EWKPACWR.js → history-YD7OKO74.js} +7 -7
- package/dist/hyperframe.manifest.json +1 -1
- package/dist/hyperframe.runtime.iife.js +58 -58
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-KY3MFTCY.js → info-SI2KU7J7.js} +8 -8
- package/dist/{init-LURF2PL5.js → init-INX5WA2G.js} +28 -28
- package/dist/{inspect-46CZJM6P.js → inspect-SJENYN3F.js} +30 -30
- package/dist/{installer-NGFX6INI.js → installer-JQ6DMFZ2.js} +5 -5
- package/dist/{keyframes-YCSK6POI.js → keyframes-EAVHD4PM.js} +6 -6
- package/dist/{lambda-5KXULI2S.js → lambda-323RMLN5.js} +8 -8
- package/dist/{layout-WOLH24YE.js → layout-JGCQYWWK.js} +30 -30
- package/dist/{lint-P3P2LX6S.js → lint-SFE43W5P.js} +7 -7
- package/dist/{lintProject-ESAJKFOX.js → lintProject-Q4ZVEF3G.js} +1 -1
- package/dist/{list-RUYQWMF2.js → list-N2NSYK6G.js} +2 -2
- package/dist/{login-THBBWZAY.js → login-QGISW3KF.js} +4 -4
- package/dist/{manager-V34BMSAG.js → manager-IXZJADWC.js} +9 -9
- package/dist/{media-treatment-IMBLTYGV.js → media-treatment-BTA7BV52.js} +14 -14
- package/dist/{models-3NW7HU72.js → models-NZEBSWXZ.js} +12 -12
- package/dist/{motionShot-VTTYZ6KW.js → motionShot-E4GNRX4N.js} +16 -16
- package/dist/{normalize-audio-ME3X7HBX.js → normalize-audio-F4Q5ZX5R.js} +6 -6
- package/dist/{open-GLGSJISM.js → open-A4U2RXCG.js} +12 -12
- package/dist/{parakeetRunner-T3UGRZWC.js → parakeetRunner-OVNNGTEB.js} +13 -13
- package/dist/{pipeline-IJXVEQCU.js → pipeline-Z76DCEY7.js} +9 -9
- package/dist/{play-HFFGGAZH.js → play-NWSZMZZG.js} +21 -21
- package/dist/{preflight-QV6V3UO2.js → preflight-I6UXFNYV.js} +9 -9
- package/dist/{present-TH34CTYY.js → present-QFZQ5VRM.js} +17 -17
- package/dist/{preview-R67EQGQP.js → preview-GXNG3UOV.js} +19 -19
- package/dist/{producer-HWPFETDU.js → producer-MGXGNSQX.js} +1 -1
- package/dist/{projectConfig-AO4V3RHS.js → projectConfig-TNL3ZDIP.js} +7 -7
- package/dist/{publication-BDQ3PXYG.js → publication-OO772CBM.js} +3 -3
- package/dist/{publish-PXYTWSXN.js → publish-X33ZCMFO.js} +11 -11
- package/dist/{remove-background-BVDJPT3Z.js → remove-background-JAD2RBYP.js} +10 -10
- package/dist/{render-45YHWV6W.js → render-2FX26ITP.js} +6 -6
- package/dist/{render-5MZY4TAB.js → render-BZCK6XNT.js} +16 -16
- package/dist/{render-5RQUYPIV.js → render-OJEKVJNG.js} +30 -30
- package/dist/{render-batch-ZUTUBTHX.js → render-batch-SP6HKIF4.js} +6 -6
- package/dist/renderSetupWorker.js +1 -1
- package/dist/{resolver-FN2M3XVM.js → resolver-QB7L6U4Q.js} +5 -5
- package/dist/{sherpa-6KWNPRWB.js → sherpa-BZLXBJTD.js} +12 -12
- package/dist/skills/hyperframes/references/film.md +1 -0
- package/dist/skills/media-use/scripts/lib/recipe-store.mjs +1 -0
- package/dist/skills/media-use/scripts/lib/recipe-store.test.mjs +24 -0
- package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +2 -2
- package/dist/{skills-PWQCM2BT.js → skills-OMKCU4HZ.js} +5 -5
- package/dist/{skillsUpdateCheck-EHV2G3JX.js → skillsUpdateCheck-NNURJXBS.js} +3 -3
- package/dist/{snapshot-7Q24NFEI.js → snapshot-J7Y3PCCI.js} +58 -37
- package/dist/{src-OS2FRVZV.js → src-2YZVFDNC.js} +7 -7
- package/dist/{src-J43SXEHJ.js → src-T5WHBOD2.js} +10 -10
- package/dist/{staticProjectServer-YJWOQJF4.js → staticProjectServer-PHNKV2NL.js} +18 -18
- package/dist/studio/assets/{hyperframes-player-DnIPEARk.js → hyperframes-player-Cyi8HgFo.js} +1 -1
- package/dist/studio/assets/{index-Dkt4c1MV.js → index-6njHuMnJ.js} +106 -105
- package/dist/studio/assets/{index-CVppCm_X.js → index-DG6ZXBnu.js} +1 -1
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-CZBZ4D65.js → studio-api-VLJJP2GQ.js} +11 -11
- package/dist/{studioServer-U6EX5DSB.js → studioServer-G7RGGTWJ.js} +49 -49
- package/dist/{telemetry-VP4UWWO3.js → telemetry-2R6G2A54.js} +3 -3
- package/dist/{timeline-LMSUKEG6.js → timeline-B2CM5IZO.js} +19 -19
- package/dist/{tokens-FQ5AI5H4.js → tokens-7EOFUTMX.js} +2 -2
- package/dist/{transcribe-DNQFPZ2S.js → transcribe-7GTD3CEW.js} +11 -11
- package/dist/{transcribe-VAMXV7QS.js → transcribe-YJM673R7.js} +17 -17
- package/dist/{updateCheck-TOU7VLZK.js → updateCheck-JBIJ7L2D.js} +2 -2
- package/dist/{upgrade-CJRMRR2S.js → upgrade-WF2CBHOE.js} +2 -2
- package/dist/{urlDownloader-GETNWEIT.js → urlDownloader-HMXLCV4T.js} +7 -7
- package/dist/{validate-PRI2UTQS.js → validate-OHWQ7DQO.js} +24 -24
- package/dist/{video-VOCQA6AG.js → video-OEEM43V6.js} +8 -8
- package/dist/warmCheck.js +37 -37
- package/package.json +2 -2
- package/dist/chunk-ZQRD62QZ.js +0 -3901
|
@@ -25,7 +25,7 @@ import {
|
|
|
25
25
|
findFFmpeg,
|
|
26
26
|
findFFprobe,
|
|
27
27
|
getFFmpegInstallHint
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-7JMUJID2.js";
|
|
29
29
|
import {
|
|
30
30
|
pngDimensions,
|
|
31
31
|
reportArtifacts,
|
|
@@ -33,30 +33,30 @@ import {
|
|
|
33
33
|
} from "./chunk-57GN6KWT.js";
|
|
34
34
|
import {
|
|
35
35
|
captureArtifactRevision
|
|
36
|
-
} from "./chunk-
|
|
37
|
-
import "./chunk-
|
|
36
|
+
} from "./chunk-6UX32GRW.js";
|
|
37
|
+
import "./chunk-4FXJ54L4.js";
|
|
38
38
|
import "./chunk-X7MTZ4T2.js";
|
|
39
39
|
import {
|
|
40
40
|
resolveProject
|
|
41
|
-
} from "./chunk-
|
|
41
|
+
} from "./chunk-ZAY376M4.js";
|
|
42
42
|
import {
|
|
43
43
|
serveStaticProjectHtml
|
|
44
|
-
} from "./chunk-
|
|
45
|
-
import "./chunk-
|
|
44
|
+
} from "./chunk-6LN4GQH3.js";
|
|
45
|
+
import "./chunk-WWE73ZFN.js";
|
|
46
46
|
import "./chunk-X7MTZ4T2.js";
|
|
47
47
|
import "./chunk-XUHOIDKG.js";
|
|
48
|
-
import "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
import "./chunk-454VK7CA.js";
|
|
49
|
+
import "./chunk-GC4NUZAR.js";
|
|
50
50
|
import "./chunk-6JR2XUEE.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-QXPZGDTI.js";
|
|
52
52
|
import {
|
|
53
53
|
artifactDirectory,
|
|
54
54
|
finishSnapshotRun,
|
|
55
55
|
forgetRecordedArtifacts,
|
|
56
56
|
recordArtifacts,
|
|
57
57
|
retainSnapshotOutput
|
|
58
|
-
} from "./chunk-
|
|
59
|
-
import "./chunk-
|
|
58
|
+
} from "./chunk-PGDWNIOK.js";
|
|
59
|
+
import "./chunk-KBVJ6G65.js";
|
|
60
60
|
import "./chunk-ALVXFXUG.js";
|
|
61
61
|
import {
|
|
62
62
|
DEFAULT_ZOOM_SCALE,
|
|
@@ -68,37 +68,37 @@ import {
|
|
|
68
68
|
runFfmpegOnce,
|
|
69
69
|
seekCompositionTimelineOnly,
|
|
70
70
|
settleCompositionSeek
|
|
71
|
-
} from "./chunk-
|
|
72
|
-
import "./chunk-
|
|
71
|
+
} from "./chunk-BF3ACZAB.js";
|
|
72
|
+
import "./chunk-AHE4R7PV.js";
|
|
73
73
|
import "./chunk-MOEGCMKI.js";
|
|
74
|
-
import "./chunk-
|
|
74
|
+
import "./chunk-6DMFWXDH.js";
|
|
75
75
|
import "./chunk-DKPNNYBZ.js";
|
|
76
|
-
import "./chunk-
|
|
76
|
+
import "./chunk-DTC4KKFP.js";
|
|
77
77
|
import "./chunk-K2FLNJVB.js";
|
|
78
78
|
import "./chunk-EHSBBBR2.js";
|
|
79
|
-
import "./chunk-
|
|
79
|
+
import "./chunk-RNPTRRLX.js";
|
|
80
80
|
import "./chunk-442JNXRM.js";
|
|
81
81
|
import "./chunk-DQBY7FRR.js";
|
|
82
82
|
import {
|
|
83
83
|
resolveLocalBrowserGpuMode
|
|
84
|
-
} from "./chunk-
|
|
85
|
-
import "./chunk-
|
|
84
|
+
} from "./chunk-FFPKJU7T.js";
|
|
85
|
+
import "./chunk-WNLHEUZU.js";
|
|
86
86
|
import "./chunk-XT7X6QCP.js";
|
|
87
87
|
import "./chunk-4YYJOFKS.js";
|
|
88
88
|
import "./chunk-HVW7ABXD.js";
|
|
89
|
-
import "./chunk-
|
|
89
|
+
import "./chunk-2R7QYR2D.js";
|
|
90
90
|
import {
|
|
91
91
|
runWithConcurrencyLimit
|
|
92
92
|
} from "./chunk-JHOCK3DG.js";
|
|
93
|
-
import "./chunk-
|
|
94
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-PDDVEHWJ.js";
|
|
94
|
+
import "./chunk-WY6X5Q33.js";
|
|
95
95
|
import "./chunk-AWDFDFI3.js";
|
|
96
96
|
import "./chunk-P6LJ4Y32.js";
|
|
97
97
|
import "./chunk-GMECXFAN.js";
|
|
98
98
|
import "./chunk-FLREUEHW.js";
|
|
99
99
|
import "./chunk-EOVYQ3IG.js";
|
|
100
|
-
import "./chunk-
|
|
101
|
-
import "./chunk-
|
|
100
|
+
import "./chunk-X56HO2IP.js";
|
|
101
|
+
import "./chunk-3DEBV7RH.js";
|
|
102
102
|
import "./chunk-VWG7OQKU.js";
|
|
103
103
|
import {
|
|
104
104
|
defineCommand
|
|
@@ -114,26 +114,26 @@ import {
|
|
|
114
114
|
import "./chunk-KLIKCX6Q.js";
|
|
115
115
|
import "./chunk-EVMY7IPL.js";
|
|
116
116
|
import "./chunk-7FMUTGOH.js";
|
|
117
|
-
import "./chunk-
|
|
118
|
-
import "./chunk-
|
|
117
|
+
import "./chunk-T3CBCGU4.js";
|
|
118
|
+
import "./chunk-5S7W3TUO.js";
|
|
119
119
|
import {
|
|
120
120
|
createRuntimeStartTimeResolver,
|
|
121
121
|
isClipVisibleAt,
|
|
122
122
|
isInClipWindow
|
|
123
|
-
} from "./chunk-
|
|
123
|
+
} from "./chunk-IK4Q7EKF.js";
|
|
124
124
|
import "./chunk-RQVDTPGD.js";
|
|
125
|
-
import "./chunk-
|
|
125
|
+
import "./chunk-GI2WXOY5.js";
|
|
126
126
|
import {
|
|
127
127
|
readElementRateSpec,
|
|
128
128
|
sourceTimeAt,
|
|
129
129
|
timeAtSourceTime
|
|
130
|
-
} from "./chunk-
|
|
130
|
+
} from "./chunk-G5RNOVAV.js";
|
|
131
131
|
import "./chunk-VC76R6W2.js";
|
|
132
132
|
import "./chunk-X7HBSTCZ.js";
|
|
133
133
|
import {
|
|
134
134
|
topLevelElements,
|
|
135
135
|
trackKindOf
|
|
136
|
-
} from "./chunk-
|
|
136
|
+
} from "./chunk-XOTUPVIF.js";
|
|
137
137
|
import "./chunk-OFQWTKPW.js";
|
|
138
138
|
import "./chunk-DPVXBVLL.js";
|
|
139
139
|
import "./chunk-3GXQPCJC.js";
|
|
@@ -152,7 +152,7 @@ import "./chunk-K4MJX7SR.js";
|
|
|
152
152
|
import "./chunk-4UMPIPCQ.js";
|
|
153
153
|
import {
|
|
154
154
|
lintProject
|
|
155
|
-
} from "./chunk-
|
|
155
|
+
} from "./chunk-YUODO5H2.js";
|
|
156
156
|
import "./chunk-VAS6HQX3.js";
|
|
157
157
|
import "./chunk-6BNTGNGD.js";
|
|
158
158
|
import "./chunk-CZGHFATT.js";
|
|
@@ -167,12 +167,12 @@ import "./chunk-RXATE6FZ.js";
|
|
|
167
167
|
import "./chunk-W2LGJSEN.js";
|
|
168
168
|
import {
|
|
169
169
|
withMeta
|
|
170
|
-
} from "./chunk-
|
|
170
|
+
} from "./chunk-SD2IVQXM.js";
|
|
171
171
|
import "./chunk-K4WIOZFP.js";
|
|
172
172
|
import "./chunk-6NLPPKBO.js";
|
|
173
173
|
import "./chunk-WERLJGIC.js";
|
|
174
174
|
import "./chunk-ISN5GRYI.js";
|
|
175
|
-
import "./chunk-
|
|
175
|
+
import "./chunk-BXXEQFRW.js";
|
|
176
176
|
import {
|
|
177
177
|
normalizeErrorMessage
|
|
178
178
|
} from "./chunk-T2EUWCJE.js";
|
|
@@ -465,6 +465,7 @@ function orbitStageSource() {
|
|
|
465
465
|
}`;
|
|
466
466
|
}
|
|
467
467
|
var FFMPEG_EXTRACT_TIMEOUT_MS = 3e4;
|
|
468
|
+
var FALLBACK_SEEK_LEAD_SECONDS = 5;
|
|
468
469
|
var VIDEO_FRAME_EXTRACT_CONCURRENCY = 4;
|
|
469
470
|
function formatSnapshotTimestamp(time) {
|
|
470
471
|
return `${Number(time.toFixed(3))}s`;
|
|
@@ -608,7 +609,8 @@ async function probeContainingSourceFrameSeek(videoPath, time, holdLastFrame) {
|
|
|
608
609
|
if (again !== null && Math.abs(again - landed) < 1e-6)
|
|
609
610
|
return { seek: landed, select: mid - landed };
|
|
610
611
|
}
|
|
611
|
-
|
|
612
|
+
const from = timestamps.filter((t) => t > 0 && t <= mid - FALLBACK_SEEK_LEAD_SECONDS).at(-1) ?? 0;
|
|
613
|
+
return from > 0 ? { seek: from, select: mid - from } : { select: mid - (timestamps.find((t) => t >= 0) ?? frame) };
|
|
612
614
|
}
|
|
613
615
|
async function probeSeekLanding(ffmpeg, videoPath, seek) {
|
|
614
616
|
try {
|
|
@@ -628,6 +630,8 @@ async function probeSeekLanding(ffmpeg, videoPath, seek) {
|
|
|
628
630
|
return null;
|
|
629
631
|
}
|
|
630
632
|
}
|
|
633
|
+
var FrameExtractTimeoutError = class extends Error {
|
|
634
|
+
};
|
|
631
635
|
async function extractVideoFrameToBuffer(videoPath, timeSeconds, useVp9AlphaDecoder = false, holdLastFrame = false, displayedPixels = 0) {
|
|
632
636
|
const tmp = mkdtempSync(join(tmpdir(), "hf-snapshot-frame-"));
|
|
633
637
|
const outPath = join(tmp, "frame.png");
|
|
@@ -653,7 +657,12 @@ async function extractVideoFrameToBuffer(videoPath, timeSeconds, useVp9AlphaDeco
|
|
|
653
657
|
if (filters.length > 0) args.push("-vf", filters.join(","));
|
|
654
658
|
args.push("-frames:v", "1", "-q:v", "2", "-y", outPath);
|
|
655
659
|
const result = await runFfmpegOnce(ffmpegPath, args, FFMPEG_EXTRACT_TIMEOUT_MS);
|
|
656
|
-
if (result.
|
|
660
|
+
if (result.timedOut) {
|
|
661
|
+
throw new FrameExtractTimeoutError(
|
|
662
|
+
`FFmpeg timed out after ${FFMPEG_EXTRACT_TIMEOUT_MS / 1e3}s extracting the frame of ${videoPath} at ${timeSeconds.toFixed(2)}s`
|
|
663
|
+
);
|
|
664
|
+
}
|
|
665
|
+
if (result.code !== 0 || !existsSync(outPath)) return null;
|
|
657
666
|
return readFileSync(outPath);
|
|
658
667
|
} finally {
|
|
659
668
|
try {
|
|
@@ -662,6 +671,16 @@ async function extractVideoFrameToBuffer(videoPath, timeSeconds, useVp9AlphaDeco
|
|
|
662
671
|
}
|
|
663
672
|
}
|
|
664
673
|
}
|
|
674
|
+
async function extractVideoFrameOrWarn(warnings, ...args) {
|
|
675
|
+
try {
|
|
676
|
+
return await extractVideoFrameToBuffer(...args);
|
|
677
|
+
} catch (error) {
|
|
678
|
+
if (!(error instanceof FrameExtractTimeoutError)) throw error;
|
|
679
|
+
warnings.push(error.message);
|
|
680
|
+
console.warn(` ${c.warn("\u26A0")} ${error.message}`);
|
|
681
|
+
return null;
|
|
682
|
+
}
|
|
683
|
+
}
|
|
665
684
|
var examples = [
|
|
666
685
|
["Capture 5 key frames from a composition", "snapshot capture"],
|
|
667
686
|
["Capture 10 evenly-spaced frames", "snapshot capture --frames 10"],
|
|
@@ -706,7 +725,7 @@ function serveCapturePage(projectDir, html, proxy) {
|
|
|
706
725
|
}
|
|
707
726
|
async function captureSnapshots(projectDir, opts) {
|
|
708
727
|
const log = opts.log ?? ((message) => console.log(message));
|
|
709
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
728
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-564BQ73K.js");
|
|
710
729
|
const capture = await captureArtifactRevision(projectDir).catch(warnSnapshotsNotRecorded);
|
|
711
730
|
const invocation = randomUUID();
|
|
712
731
|
const artifacts = [];
|
|
@@ -838,7 +857,7 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
838
857
|
let syncVideoFrameVisibility = null;
|
|
839
858
|
let extractMediaMetadata = null;
|
|
840
859
|
try {
|
|
841
|
-
const engine = await import("./src-
|
|
860
|
+
const engine = await import("./src-2YZVFDNC.js");
|
|
842
861
|
injectVideoFramesBatch = engine.injectVideoFramesBatch;
|
|
843
862
|
syncVideoFrameVisibility = engine.syncVideoFrameVisibility;
|
|
844
863
|
extractMediaMetadata = engine.extractMediaMetadata;
|
|
@@ -938,7 +957,8 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
938
957
|
}
|
|
939
958
|
if (!ffmpegInput) return null;
|
|
940
959
|
const useVp9AlphaDecoder = inputIsLocal ? await shouldUseVp9AlphaDecoder(ffmpegInput) : false;
|
|
941
|
-
const png = await
|
|
960
|
+
const png = await extractVideoFrameOrWarn(
|
|
961
|
+
warnings,
|
|
942
962
|
ffmpegInput,
|
|
943
963
|
Math.max(0, v.relTime),
|
|
944
964
|
useVp9AlphaDecoder,
|
|
@@ -1510,6 +1530,7 @@ export {
|
|
|
1510
1530
|
containingSourceFrameIndex,
|
|
1511
1531
|
snapshot_default as default,
|
|
1512
1532
|
examples,
|
|
1533
|
+
extractVideoFrameOrWarn,
|
|
1513
1534
|
extractVideoFrameToBuffer,
|
|
1514
1535
|
formatSnapshotTimestamp,
|
|
1515
1536
|
parseZoomScale,
|
|
@@ -231,18 +231,18 @@ import {
|
|
|
231
231
|
waitForImagesReady,
|
|
232
232
|
writeCapturedFrame,
|
|
233
233
|
writeUrlDownloadTelemetry
|
|
234
|
-
} from "./chunk-
|
|
235
|
-
import "./chunk-
|
|
234
|
+
} from "./chunk-T3CBCGU4.js";
|
|
235
|
+
import "./chunk-5S7W3TUO.js";
|
|
236
236
|
import {
|
|
237
237
|
MEDIA_VISUAL_STYLE_PROPERTIES,
|
|
238
238
|
quantizeTimeToFrame
|
|
239
|
-
} from "./chunk-
|
|
239
|
+
} from "./chunk-IK4Q7EKF.js";
|
|
240
240
|
import "./chunk-RQVDTPGD.js";
|
|
241
|
-
import "./chunk-
|
|
242
|
-
import "./chunk-
|
|
241
|
+
import "./chunk-GI2WXOY5.js";
|
|
242
|
+
import "./chunk-G5RNOVAV.js";
|
|
243
243
|
import "./chunk-VC76R6W2.js";
|
|
244
244
|
import "./chunk-X7HBSTCZ.js";
|
|
245
|
-
import "./chunk-
|
|
245
|
+
import "./chunk-XOTUPVIF.js";
|
|
246
246
|
import "./chunk-OFQWTKPW.js";
|
|
247
247
|
import "./chunk-DPVXBVLL.js";
|
|
248
248
|
import {
|
|
@@ -262,7 +262,7 @@ import {
|
|
|
262
262
|
import {
|
|
263
263
|
resolveReferencedDuration,
|
|
264
264
|
resolveReferencedStart
|
|
265
|
-
} from "./chunk-
|
|
265
|
+
} from "./chunk-YUODO5H2.js";
|
|
266
266
|
import {
|
|
267
267
|
FFMPEG_PATH_ENV,
|
|
268
268
|
FFPROBE_PATH_ENV
|
|
@@ -69,10 +69,10 @@ import {
|
|
|
69
69
|
serializeRenderRequest,
|
|
70
70
|
startServer,
|
|
71
71
|
validatePlanV2MaterializedTarget
|
|
72
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-33BFEUCL.js";
|
|
73
73
|
import {
|
|
74
74
|
prepareAnimatedGifInputs
|
|
75
|
-
} from "./chunk-
|
|
75
|
+
} from "./chunk-B6D7KOXQ.js";
|
|
76
76
|
import "./chunk-BZ56MTDX.js";
|
|
77
77
|
import {
|
|
78
78
|
FONT_FETCH_FAILED,
|
|
@@ -80,7 +80,7 @@ import {
|
|
|
80
80
|
FontFetchError,
|
|
81
81
|
FontFetchUnavailableError,
|
|
82
82
|
injectDeterministicFontFaces
|
|
83
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-FMTJ4I6I.js";
|
|
84
84
|
import "./chunk-FI4I7CME.js";
|
|
85
85
|
import "./chunk-KLIKCX6Q.js";
|
|
86
86
|
import "./chunk-EVMY7IPL.js";
|
|
@@ -98,17 +98,17 @@ import {
|
|
|
98
98
|
isTransientBrowserError,
|
|
99
99
|
prepareCaptureSessionForReuse,
|
|
100
100
|
resolveConfig
|
|
101
|
-
} from "./chunk-
|
|
102
|
-
import "./chunk-
|
|
101
|
+
} from "./chunk-T3CBCGU4.js";
|
|
102
|
+
import "./chunk-5S7W3TUO.js";
|
|
103
103
|
import {
|
|
104
104
|
quantizeTimeToFrame
|
|
105
|
-
} from "./chunk-
|
|
105
|
+
} from "./chunk-IK4Q7EKF.js";
|
|
106
106
|
import "./chunk-RQVDTPGD.js";
|
|
107
|
-
import "./chunk-
|
|
108
|
-
import "./chunk-
|
|
107
|
+
import "./chunk-GI2WXOY5.js";
|
|
108
|
+
import "./chunk-G5RNOVAV.js";
|
|
109
109
|
import "./chunk-VC76R6W2.js";
|
|
110
110
|
import "./chunk-X7HBSTCZ.js";
|
|
111
|
-
import "./chunk-
|
|
111
|
+
import "./chunk-XOTUPVIF.js";
|
|
112
112
|
import "./chunk-OFQWTKPW.js";
|
|
113
113
|
import "./chunk-DPVXBVLL.js";
|
|
114
114
|
import "./chunk-3GXQPCJC.js";
|
|
@@ -116,7 +116,7 @@ import "./chunk-634HSJ3J.js";
|
|
|
116
116
|
import "./chunk-FXMKHHPO.js";
|
|
117
117
|
import "./chunk-K4MJX7SR.js";
|
|
118
118
|
import "./chunk-4UMPIPCQ.js";
|
|
119
|
-
import "./chunk-
|
|
119
|
+
import "./chunk-YUODO5H2.js";
|
|
120
120
|
import "./chunk-VAS6HQX3.js";
|
|
121
121
|
import "./chunk-6BNTGNGD.js";
|
|
122
122
|
import "./chunk-CZGHFATT.js";
|
|
@@ -7,27 +7,27 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
inProcessAnswer,
|
|
9
9
|
serveStaticProjectHtml
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-6LN4GQH3.js";
|
|
11
|
+
import "./chunk-WWE73ZFN.js";
|
|
12
12
|
import "./chunk-X7MTZ4T2.js";
|
|
13
13
|
import "./chunk-XUHOIDKG.js";
|
|
14
|
-
import "./chunk-
|
|
15
|
-
import "./chunk-
|
|
14
|
+
import "./chunk-454VK7CA.js";
|
|
15
|
+
import "./chunk-GC4NUZAR.js";
|
|
16
16
|
import "./chunk-6JR2XUEE.js";
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-QXPZGDTI.js";
|
|
18
|
+
import "./chunk-PGDWNIOK.js";
|
|
19
|
+
import "./chunk-KBVJ6G65.js";
|
|
20
20
|
import "./chunk-ALVXFXUG.js";
|
|
21
|
-
import "./chunk-
|
|
21
|
+
import "./chunk-RNPTRRLX.js";
|
|
22
22
|
import "./chunk-442JNXRM.js";
|
|
23
|
-
import "./chunk-
|
|
23
|
+
import "./chunk-WNLHEUZU.js";
|
|
24
24
|
import "./chunk-XT7X6QCP.js";
|
|
25
25
|
import "./chunk-4YYJOFKS.js";
|
|
26
26
|
import "./chunk-HVW7ABXD.js";
|
|
27
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-2R7QYR2D.js";
|
|
28
28
|
import "./chunk-JHOCK3DG.js";
|
|
29
|
-
import "./chunk-
|
|
30
|
-
import "./chunk-
|
|
29
|
+
import "./chunk-PDDVEHWJ.js";
|
|
30
|
+
import "./chunk-WY6X5Q33.js";
|
|
31
31
|
import "./chunk-AWDFDFI3.js";
|
|
32
32
|
import "./chunk-P6LJ4Y32.js";
|
|
33
33
|
import "./chunk-GMECXFAN.js";
|
|
@@ -36,19 +36,19 @@ import "./chunk-EOVYQ3IG.js";
|
|
|
36
36
|
import "./chunk-KLIKCX6Q.js";
|
|
37
37
|
import "./chunk-EVMY7IPL.js";
|
|
38
38
|
import "./chunk-7FMUTGOH.js";
|
|
39
|
-
import "./chunk-
|
|
40
|
-
import "./chunk-
|
|
39
|
+
import "./chunk-5S7W3TUO.js";
|
|
40
|
+
import "./chunk-IK4Q7EKF.js";
|
|
41
41
|
import "./chunk-RQVDTPGD.js";
|
|
42
|
-
import "./chunk-
|
|
43
|
-
import "./chunk-
|
|
42
|
+
import "./chunk-GI2WXOY5.js";
|
|
43
|
+
import "./chunk-G5RNOVAV.js";
|
|
44
44
|
import "./chunk-VC76R6W2.js";
|
|
45
45
|
import "./chunk-X7HBSTCZ.js";
|
|
46
|
-
import "./chunk-
|
|
46
|
+
import "./chunk-XOTUPVIF.js";
|
|
47
47
|
import "./chunk-OFQWTKPW.js";
|
|
48
48
|
import "./chunk-DPVXBVLL.js";
|
|
49
49
|
import "./chunk-634HSJ3J.js";
|
|
50
50
|
import "./chunk-FXMKHHPO.js";
|
|
51
|
-
import "./chunk-
|
|
51
|
+
import "./chunk-YUODO5H2.js";
|
|
52
52
|
import "./chunk-VAS6HQX3.js";
|
|
53
53
|
import "./chunk-6BNTGNGD.js";
|
|
54
54
|
import "./chunk-CZGHFATT.js";
|
package/dist/studio/assets/{hyperframes-player-DnIPEARk.js → hyperframes-player-Cyi8HgFo.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var xe=Object.defineProperty;var Ie=(r,i,e)=>i in r?xe(r,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[i]=e;var l=(r,i,e)=>Ie(r,typeof i!="symbol"?i+"":i,e);import{S as Oe,r as Ne,a as fe,i as Fe,b as w,c as _e,p as Ve,d as Ue,e as He,f as ze,s as We,g as ge,F as ye}from"./index-
|
|
1
|
+
var xe=Object.defineProperty;var Ie=(r,i,e)=>i in r?xe(r,i,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[i]=e;var l=(r,i,e)=>Ie(r,typeof i!="symbol"?i+"":i,e);import{S as Oe,r as Ne,a as fe,i as Fe,b as w,c as _e,p as Ve,d as Ue,e as He,f as ze,s as We,g as ge,F as ye}from"./index-6njHuMnJ.js";function $e(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function I(r){return typeof r=="object"&&r!==null}function je(r){return I(r)&&typeof r.getDuration=="function"}function Be(r){return I(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function qe(r){if(!/^\d+\.\d+\.\d+(?:-[0-9A-Za-z.-]+)?(?:\+[0-9A-Za-z.-]+)?$/.test(r))throw new Error(`Invalid HyperFrames runtime version: ${r}`);return`https://cdn.jsdelivr.net/npm/@hyperframes/core@${r}/dist/hyperframe.runtime.iife.js`}const W=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:qe("0.0.0-dev");function j(r){if(r===null)return null;const i=Number.parseInt(r,10);return Number.isFinite(i)&&i>0?i:null}function Ge(r){const i=(r==null?void 0:r.querySelector("[data-composition-id][data-width][data-height]"))??(r==null?void 0:r.querySelector("[data-width][data-height]"));if(!i)return null;const e=j(i.getAttribute("data-width")),t=j(i.getAttribute("data-height"));return e!==null&&t!==null?{width:e,height:t}:null}function Ye(r){return Array.isArray(r)?r.find(i=>typeof i=="string"&&i.trim()!==""&&i!=="[object Event]")??null:null}class Xe{constructor(i,e){l(this,"_interval",null);l(this,"_runtimeInjected",!1);l(this,"_runtimeScript",null);l(this,"_failure",null);this._iframe=i,this._callbacks=e}get failed(){return this._failure!==null&&this._failure.document===this._iframe.contentDocument}get runtimeInjected(){return this._runtimeInjected}start(){this.stop(),this._failure=null,this._runtimeInjected=!1;let i=0;this._interval=setInterval(()=>{i++;let e=null;try{e=this._poll(i)}catch(t){t instanceof DOMException&&t.name==="SecurityError"||(e={kind:"error",message:t instanceof Error?t.message:String(t)})}e??(e=this._deadlineOutcome(i)),e&&(this.stop(),e.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(e.message)):this._callbacks.onReady(e.result))},200)}_deadlineOutcome(i){var e,t;return i<40||(t=(e=this._callbacks).hostOwnsDeadline)!=null&&t.call(e)?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(i){const e=this._iframe.contentWindow;if(!e)return null;const t=Ye(Reflect.get(e,Oe));if(t!==null)return{kind:"error",message:t};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if($e({hasRuntime:o,hasTimelines:I(n)&&Object.keys(n).length>0,hasNestedCompositions:!!(s!=null&&s.querySelector("[data-composition-src]")),runtimeInjected:this._runtimeInjected,attempts:i}))return this._injectRuntime(),null;if(this._runtimeInjected&&!o)return null;const a=this._resolveReadyResult(e,s);return a?{kind:"ready",result:a}:null}_resolveReadyResult(i,e){var n;const t=this._resolvePlaybackDurationAdapter(i)??{kind:"document",getDuration:()=>0};let s=t.getDuration();if(!Number.isFinite(s)||s<=0){if(t.kind==="direct-timeline")return null;s=e?((n=Ne(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...t,getDuration:()=>s},compositionSize:Ge(e)}}stop(){this._runtimeScript&&(this._runtimeScript.onerror=null,this._runtimeScript=null),this.failed||(this._failure=null),this._interval!==null&&(clearInterval(this._interval),this._interval=null)}resolveDirectTimelineAdapter(){try{const i=this._iframe.contentWindow;return i?this._resolveDirectTimelineAdapterFromWindow(i):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(i){return this._resolveDirectTimelineAdapterFromWindow(i)}hasRuntimeBridge(i){return I(Reflect.get(i,"__player"))}_injectRuntime(){var i,e,t,s;this._runtimeInjected=!0;try{const n=this._iframe.contentDocument;if(!n)return;const o=n.createElement("script");o.src=((e=(i=this._callbacks).resolveRuntimeUrl)==null?void 0:e.call(i))??W,this._runtimeScript=o,o.onerror=()=>{this._runtimeScript!==o||this._iframe.contentDocument!==n||(this.stop(),this._failure={document:n},this._callbacks.onError("HyperFrames runtime failed to load from "+o.src))},(n.head||n.documentElement).appendChild(o),(s=(t=this._callbacks).onRuntimeInjected)==null||s.call(t)}catch{}}_resolveDirectTimelineAdapterFromWindow(i){var a,c;if(this.hasRuntimeBridge(i))return null;const e=Reflect.get(i,"__timelines");if(!I(e))return null;const t=Object.keys(e);if(t.length===0)return null;const s=(c=(a=this._iframe.contentDocument)==null?void 0:a.querySelector("[data-composition-id]"))==null?void 0:c.getAttribute("data-composition-id"),n=s&&s in e?s:t[t.length-1],o=e[n];return Be(o)?o:null}_resolvePlaybackDurationAdapter(i){const e=Reflect.get(i,"__player");if(je(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const t=this._resolveDirectTimelineAdapterFromWindow(i);return t?{kind:"direct-timeline",timeline:t,getDuration:()=>t.duration()}:null}}const Ze=`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
position: relative;
|