hyperframes 0.9.9 → 0.9.11
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 +9 -0
- package/dist/{add-FQX5F6PC.js → add-IAFJH5RC.js} +6 -6
- package/dist/{agentPromptGenerator-XNGPKVEX.js → agentPromptGenerator-S3GWYMVC.js} +1 -1
- package/dist/{animatedGifPrep-E3PYKFJ3.js → animatedGifPrep-YU7IOD5D.js} +1 -1
- package/dist/api.js +10 -10
- package/dist/{asset-X5GG5TTP.js → asset-UR4PH6KJ.js} +2 -2
- package/dist/{assetCataloger-SDFP4DWL.js → assetCataloger-VKJIQCYP.js} +1 -1
- package/dist/{audio-DDTYFS23.js → audio-HZJ7QZQR.js} +9 -9
- package/dist/{auth-OAWLDT3A.js → auth-UBNAW62X.js} +2 -2
- package/dist/{autoUpdate-BWIPXW2W.js → autoUpdate-DDFTFHRP.js} +3 -3
- package/dist/{backgroundChecks-YJ5NRMBA.js → backgroundChecks-H3TNVYJV.js} +4 -4
- package/dist/backgroundChecksWorker.js +4 -4
- package/dist/{beats-Q2TIAA7S.js → beats-HOIQSFFP.js} +6 -6
- package/dist/{benchmark-I3GRHFIN.js → benchmark-ZYOQV7DK.js} +7 -7
- package/dist/billing-5YSYJJ2V.js +142 -0
- package/dist/{browser-F24WMZ52.js → browser-PLFK53IZ.js} +4 -4
- package/dist/{bundleWithLocalizedFonts-K5CQPNIZ.js → bundleWithLocalizedFonts-TH5SLG6O.js} +2 -2
- package/dist/{capture-UKWY3SZQ.js → capture-MICLAF6V.js} +13 -13
- package/dist/{capture-HLC6I4RE.js → capture-R77HOGLQ.js} +3 -3
- package/dist/{captureCompositionFrame-YMB3CKSP.js → captureCompositionFrame-WBMFZHEF.js} +4 -4
- package/dist/{catalog-H7SOITD6.js → catalog-CGT32566.js} +6 -6
- package/dist/{catch-up-YRGPVEM6.js → catch-up-TMYPXRKC.js} +5 -5
- package/dist/{check-BPQZZ2MO.js → check-4O5J4OWS.js} +23 -23
- package/dist/{checkAudio-4NRQ3WGS.js → checkAudio-AAVDZFIQ.js} +3 -3
- package/dist/{checkBrowser-S66AHKW3.js → checkBrowser-3OCZBJC7.js} +19 -17
- package/dist/{chunk-BYC4C4YY.js → chunk-2VYAX3ZD.js} +2 -2
- package/dist/{chunk-GIYZMGYT.js → chunk-2VZVMCV6.js} +1 -1
- package/dist/{chunk-322AG75G.js → chunk-33K2UZBX.js} +2 -2
- package/dist/{chunk-5YIZRU2L.js → chunk-37537KOL.js} +4 -4
- package/dist/{chunk-NX2X326Z.js → chunk-4ILKN2MX.js} +8 -8
- package/dist/{chunk-NCP3JQ6S.js → chunk-4J4EGANW.js} +2 -2
- package/dist/{chunk-TZBJEKKU.js → chunk-4YCNVKJX.js} +194 -17
- package/dist/{chunk-2ROPUTCS.js → chunk-6DHC3MVK.js} +2 -2
- package/dist/{chunk-BX2JB24X.js → chunk-6JDNEQV5.js} +1 -1
- package/dist/{chunk-6HO6QKYG.js → chunk-6R2PED3X.js} +6 -6
- package/dist/{chunk-DIKIN4BA.js → chunk-6Y7WZTHJ.js} +54 -38
- package/dist/{chunk-HBHLCMOQ.js → chunk-7ZBMUKHY.js} +2 -2
- package/dist/chunk-AHLDGEH5.js +158 -0
- package/dist/{chunk-6DKWOG7L.js → chunk-BBMMVLA3.js} +1 -1
- package/dist/{chunk-BLBMPEBX.js → chunk-BONBJJ35.js} +1 -0
- package/dist/{chunk-63GTSNMY.js → chunk-CD65TPHT.js} +1 -1
- package/dist/{chunk-HUJMTTKR.js → chunk-CN3Q4CDK.js} +43 -27
- package/dist/{chunk-2Y575PWJ.js → chunk-DI3ZFBZ3.js} +1 -1
- package/dist/{chunk-NNF6G2UH.js → chunk-EL2DMHA5.js} +1 -1
- package/dist/{chunk-B5GWDPUO.js → chunk-EPCVE3OX.js} +2 -2
- package/dist/{chunk-6UZLHLFP.js → chunk-FC4WF2VQ.js} +1 -1
- package/dist/{chunk-4W5X4S47.js → chunk-H7H7XNYY.js} +88 -28
- package/dist/{chunk-JZPUXDQE.js → chunk-HY64QA63.js} +1 -1
- package/dist/{chunk-AH6MUQQC.js → chunk-I4XTKG2B.js} +2 -2
- package/dist/{skills-EBVQSIK4.js → chunk-IMK55N3Z.js} +46 -38
- package/dist/{chunk-VNR7LSN4.js → chunk-IQ5OMRLK.js} +39 -41
- package/dist/{chunk-PPMCILED.js → chunk-JS6ZTPYC.js} +4 -4
- package/dist/{chunk-V74HSKGY.js → chunk-JT2ZGKKB.js} +2 -2
- package/dist/{chunk-2NGBIAUF.js → chunk-KNOIX2U5.js} +220 -177
- package/dist/{chunk-MY4PAH7C.js → chunk-LWFXO732.js} +1 -1
- package/dist/{upgrade-ZUWFB2QM.js → chunk-MZHCA5KY.js} +65 -27
- package/dist/{chunk-EN6MPNZT.js → chunk-NQYW4IYN.js} +2 -2
- package/dist/{chunk-H534266X.js → chunk-OKD2LP73.js} +1 -1
- package/dist/{chunk-A2NFFVWH.js → chunk-OQGA4QBD.js} +18 -6
- package/dist/{chunk-UWYHZCEQ.js → chunk-OQHC5YIB.js} +2 -2
- package/dist/{chunk-BHL4KN3H.js → chunk-PKLZ5PV2.js} +1 -1
- package/dist/{chunk-OYAZODSP.js → chunk-QM4OL5MZ.js} +16 -11
- package/dist/{chunk-BBP5KGYS.js → chunk-SUM3VFPQ.js} +2 -2
- package/dist/{chunk-CNX3WKQ5.js → chunk-T4ELNOK6.js} +1 -1
- package/dist/{chunk-VZ5O7A77.js → chunk-V6HV2IDT.js} +5 -2
- package/dist/{chunk-BXYB5NGT.js → chunk-VWUUNGSV.js} +1 -1
- package/dist/{chunk-CBPBTQBH.js → chunk-WJ7E5J77.js} +11 -10
- package/dist/{chunk-62ATHBDS.js → chunk-YJZYUXHQ.js} +1 -1
- package/dist/{chunk-TJ2USKCK.js → chunk-ZUACTOAB.js} +1 -1
- package/dist/{clean-RCXKQNFM.js → clean-2FWZPS4J.js} +9 -9
- package/dist/cli.js +61 -60
- package/dist/{cloud-TQPQZRC5.js → cloud-2UFI7NLD.js} +4 -4
- package/dist/cloud-Z3FNCC4T.js +1 -1
- package/dist/{compare-EO32AASM.js → compare-HKRLSFTU.js} +15 -15
- package/dist/{compiler-NAIDMQFU.js → compiler-KKIYPREA.js} +1 -1
- package/dist/{component-S3TYNVCR.js → component-F43F3363.js} +3 -3
- package/dist/{compositions-4TXRLZ3M.js → compositions-FFXCISLD.js} +7 -7
- package/dist/{curve-HGLOP2GY.js → curve-RHSJUG5P.js} +5 -5
- package/dist/{cuts-VNFIISLL.js → cuts-KVFY3U6C.js} +5 -5
- package/dist/{delete-TIWI3G7X.js → delete-O7IZKKUN.js} +4 -4
- package/dist/{deploy-EHPNOGSY.js → deploy-PZAAUW75.js} +8 -8
- package/dist/{describeProject-DN6YQU3X.js → describeProject-E44RWBJL.js} +1 -1
- package/dist/{diff-46JK5ZCL.js → diff-OMNILRNN.js} +21 -19
- package/dist/{dist-CCPYPKOC.js → dist-PUHEYGA5.js} +3 -3
- package/dist/{doctor-LD23DW4N.js → doctor-4HZN7ZVI.js} +10 -6
- package/dist/{energy-YZ3DB6AI.js → energy-N3ZIPHTP.js} +5 -5
- package/dist/{events-3OWNDNJX.js → events-56A5D6DK.js} +4 -4
- package/dist/{events-MQIKCKA5.js → events-TUTAERAN.js} +6 -6
- package/dist/{events-DRTMYSQ6.js → events-VAJ4Y6XF.js} +3 -3
- package/dist/{extract-F3NBE3X5.js → extract-NJMZEOLG.js} +6 -6
- package/dist/{face-ZU7ZDYGO.js → face-KLV4W6CP.js} +5 -5
- package/dist/{feedback-37M37Y4F.js → feedback-4VEKGVLN.js} +5 -5
- package/dist/{ffmpeg-PERZ6YHQ.js → ffmpeg-A2O4HSRD.js} +1 -1
- package/dist/{figma-55AG42NN.js → figma-6XDKKOA6.js} +3 -3
- package/dist/fontLocalizeCli.js +3 -3
- package/dist/{frames-DJA3CFSY.js → frames-IAMGMNCA.js} +5 -5
- package/dist/{generate-BVJ5XNWP.js → generate-FMATRA3L.js} +11 -9
- package/dist/{get-PGLCWEBG.js → get-JKA3APWR.js} +4 -4
- package/dist/{gpuPolicy-DUNSQM6M.js → gpuPolicy-TKHFDEH2.js} +2 -2
- package/dist/{grade-compare-R6Q6G6WP.js → grade-compare-TCLCDUG5.js} +14 -14
- package/dist/{heifImagePrep-YNPHFR6W.js → heifImagePrep-L2EY67F2.js} +1 -1
- package/dist/{help-4SNDXHWQ.js → help-TWDOQJDN.js} +3 -2
- package/dist/{history-NKRHKIE2.js → history-SOWVZUAB.js} +7 -7
- package/dist/hyperframes-player.global.js +1 -1
- package/dist/{info-U4VDKU2Y.js → info-JDINBZLH.js} +6 -6
- package/dist/{init-2RUVBHQO.js → init-ACNL6AFC.js} +15 -15
- package/dist/{ink-TX3USU7X.js → ink-WNEJROFH.js} +5 -5
- package/dist/{inspect-MAGHXEWS.js → inspect-37AMWUW3.js} +15 -15
- package/dist/{keyframes-2TDECIQZ.js → keyframes-LMUFQW4Z.js} +7 -7
- package/dist/{lambda-CRVYDETX.js → lambda-DRGDNEW6.js} +3 -3
- package/dist/{layout-I3VNHWJH.js → layout-E63HPSXW.js} +15 -15
- package/dist/{lint-MCVWXDJX.js → lint-HNZPRCXH.js} +7 -7
- package/dist/{list-FJJNWPM6.js → list-UMR5VN2M.js} +4 -4
- package/dist/{localPage-6MQ6YFER.js → localPage-KIFKMB2B.js} +1 -1
- package/dist/{login-YAZZWYFK.js → login-OXOPCSUY.js} +4 -4
- package/dist/{look-U5UHXPUQ.js → look-DFQJP2LY.js} +5 -5
- package/dist/{manager-ARXEX6OP.js → manager-T633Z2L4.js} +1 -1
- package/dist/{measure-JAPDVQ5X.js → measure-Y2VXF6LJ.js} +11 -11
- package/dist/{media-treatment-A4Z32NGP.js → media-treatment-U2PDH4P3.js} +8 -8
- package/dist/{media-use-6HX7JHRD.js → media-use-KGNGAQQP.js} +2 -1
- package/dist/{models-GMJODMZ5.js → models-HATSG3VK.js} +5 -5
- package/dist/{motionShot-Z63I3GO7.js → motionShot-45M7MSFQ.js} +7 -7
- package/dist/{normalize-audio-45CHOWKY.js → normalize-audio-SOXEVIKM.js} +5 -5
- package/dist/{open-RSTNLDYI.js → open-LRPNBFRW.js} +5 -5
- package/dist/{parakeetRunner-K4EGDDVH.js → parakeetRunner-A7Z6CQOT.js} +1 -1
- package/dist/{pipeline-EKLTELWF.js → pipeline-N3M6VXBC.js} +4 -4
- package/dist/{play-BYIEIRQQ.js → play-HTHDFMOU.js} +10 -10
- package/dist/{preflight-TC6ZW3GB.js → preflight-XZZXHV42.js} +2 -2
- package/dist/{present-5B5VQKT5.js → present-LQ4PJTP4.js} +10 -10
- package/dist/{preview-5O2HT2WF.js → preview-CTEDNFN3.js} +9 -9
- package/dist/{probe-ZGK6DBAR.js → probe-6IZD5TPR.js} +6 -6
- package/dist/{producer-RFTB2APL.js → producer-4CR46ON4.js} +1 -1
- package/dist/{remove-background-LURZDSDJ.js → remove-background-SYHNGASQ.js} +5 -5
- package/dist/{render-ETZ3WAJO.js → render-JHSMAWED.js} +9 -9
- package/dist/{render-7HIEI7QP.js → render-VZLEKSHR.js} +19 -19
- package/dist/{reverse-VPBNBP2Q.js → reverse-SCXEQVRH.js} +1 -1
- package/dist/{run-XER4YJY5.js → run-GRCZ6JO5.js} +2 -2
- package/dist/{sherpa-D6FQ3CHN.js → sherpa-EENLR3RM.js} +1 -1
- package/dist/skills/hyperframes-cli/SKILL.md +2 -0
- package/dist/skills/media-use/SKILL.md +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/heygen.test.mjs +1 -1
- package/dist/skills/media-use/audio/scripts/lib/tts.mjs +2 -0
- package/dist/skills/media-use/audio/scripts/lib/tts.test.mjs +14 -0
- package/dist/skills/media-use/references/heygen.md +2 -2
- package/dist/skills/media-use/scripts/lib/credit-limit.d.mts +3 -0
- package/dist/skills/media-use/scripts/lib/credit-limit.mjs +41 -0
- package/dist/skills/media-use/scripts/lib/credit-limit.test.mjs +39 -0
- package/dist/skills/media-use/scripts/lib/heygen-video-provider.mjs +2 -0
- package/dist/skills/media-use/scripts/lib/voice-provider.mjs +2 -0
- package/dist/skills-4TSYBAGW.js +49 -0
- package/dist/{skillsUpdateCheck-7VXK4R4J.js → skillsUpdateCheck-MGXL5VXL.js} +6 -4
- package/dist/{snapshot-PJUNSMDS.js → snapshot-P27Y3NJE.js} +18 -18
- package/dist/{src-RL6YEPTD.js → src-L7UBHHKB.js} +1 -1
- package/dist/{src-SMIMKSHZ.js → src-MWO2XBSA.js} +2 -2
- package/dist/{start-5ZDH643Z.js → start-L5M26YD5.js} +31 -19
- package/dist/{staticProjectServer-BX4RWEY5.js → staticProjectServer-2JYB7RLI.js} +5 -5
- package/dist/{status-4LLUW5YT.js → status-SUK4I7TS.js} +8 -5
- package/dist/studio/assets/{hyperframes-player-CcNGHTev.js → hyperframes-player-BbRz52ui.js} +1 -1
- package/dist/studio/assets/{index-D9uDed3x.js → index-CCSgOq2L.js} +1 -1
- package/dist/studio/assets/{index-DSRgrCDX.js → index-D3y5mWmH.js} +22 -22
- package/dist/studio/index.html +1 -1
- package/dist/{studio-api-PEUXVD7P.js → studio-api-MEZKFJBY.js} +3 -3
- package/dist/{studioServer-2WIQBEQC.js → studioServer-J5RPUMHP.js} +25 -25
- package/dist/{sync-P3O3WZWT.js → sync-FHT2CHKU.js} +5 -5
- package/dist/{telemetry-267LV4SC.js → telemetry-JWEOBK3Q.js} +4 -4
- package/dist/{telemetry-T73TKZOL.js → telemetry-WGNNQUSF.js} +1 -1
- package/dist/{templates-MQ742KVZ.js → templates-7DIQ52Y4.js} +40 -11
- package/dist/{timeline-WP7AZAQC.js → timeline-ZO3PNIET.js} +9 -9
- package/dist/{tokens-ROFKR7AE.js → tokens-X6OTCQCV.js} +2 -2
- package/dist/{transcribe-WS2STSCJ.js → transcribe-KNO3BK5S.js} +9 -9
- package/dist/{transcribe-N66QUYCS.js → transcribe-QIZGXMR5.js} +1 -1
- package/dist/{tts-HIQMJU6O.js → tts-JHGGL7GL.js} +1 -1
- package/dist/update-WXGSPMEG.js +280 -0
- package/dist/{updateCheck-M2SMSDIO.js → updateCheck-OBYSCTWV.js} +7 -3
- package/dist/upgrade-YCCIVSI6.js +40 -0
- package/dist/{urlDownloader-YNI3Y3IE.js → urlDownloader-FOXK4FYP.js} +1 -1
- package/dist/{validate-M2M37G47.js → validate-TDVQ2B6Y.js} +13 -13
- package/dist/{video-2OEOTSPQ.js → video-AVEGMBDM.js} +1 -1
- package/dist/voices-2LIY4CYK.js +97 -0
- package/dist/warmCheck.js +23 -23
- package/package.json +1 -1
- package/dist/billing-W224NIAM.js +0 -96
- package/dist/chunk-ASGRVFQ3.js +0 -59
- package/dist/{chunk-QUBVGS27.js → chunk-LNTUFRZD.js} +3 -3
- package/dist/{destroy-C5GQLZVZ.js → destroy-IQLGADZM.js} +4 -4
- package/dist/{synthesize-YK3WLOEQ.js → synthesize-YYT7UON6.js} +5 -5
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { createRequire as __hf_createRequire } from "node:module";
|
|
2
|
+
import { fileURLToPath as __hf_fileURLToPath } from "node:url";
|
|
3
|
+
import { dirname as __hf_dirname } from "node:path";
|
|
4
|
+
var require = __hf_createRequire(import.meta.url);
|
|
5
|
+
var __filename = __hf_fileURLToPath(import.meta.url);
|
|
6
|
+
var __dirname = __hf_dirname(__filename);
|
|
7
|
+
import {
|
|
8
|
+
examples,
|
|
9
|
+
skillsManagedExternally,
|
|
10
|
+
skills_default,
|
|
11
|
+
updateSkills
|
|
12
|
+
} from "./chunk-IMK55N3Z.js";
|
|
13
|
+
import "./chunk-CIWX5UKC.js";
|
|
14
|
+
import "./chunk-WJD3GVAA.js";
|
|
15
|
+
import "./chunk-6BEFEWFB.js";
|
|
16
|
+
import "./chunk-6DHC3MVK.js";
|
|
17
|
+
import "./chunk-JT2ZGKKB.js";
|
|
18
|
+
import "./chunk-PXVQOMKL.js";
|
|
19
|
+
import "./chunk-MCDNAIFF.js";
|
|
20
|
+
import "./chunk-BVAPHHMQ.js";
|
|
21
|
+
import "./chunk-DL4OD7IA.js";
|
|
22
|
+
import "./chunk-S3S4TGEH.js";
|
|
23
|
+
import "./chunk-54HJ63Q2.js";
|
|
24
|
+
import "./chunk-2GICKZ3I.js";
|
|
25
|
+
import "./chunk-TK7THLRO.js";
|
|
26
|
+
import "./chunk-FXMKHHPO.js";
|
|
27
|
+
import "./chunk-LAGZGKKN.js";
|
|
28
|
+
import "./chunk-FBN2M2HK.js";
|
|
29
|
+
import "./chunk-IQ5OMRLK.js";
|
|
30
|
+
import "./chunk-4YCNVKJX.js";
|
|
31
|
+
import "./chunk-BR2JQQC5.js";
|
|
32
|
+
import "./chunk-BONBJJ35.js";
|
|
33
|
+
import "./chunk-ISN5GRYI.js";
|
|
34
|
+
import "./chunk-ADVVQX4I.js";
|
|
35
|
+
import "./chunk-66W5IWLO.js";
|
|
36
|
+
import "./chunk-J3RXEDR2.js";
|
|
37
|
+
import "./chunk-QBXDU24O.js";
|
|
38
|
+
import "./chunk-I4XTKG2B.js";
|
|
39
|
+
import "./chunk-E63BDV4Z.js";
|
|
40
|
+
import "./chunk-G7VEYUZ2.js";
|
|
41
|
+
import "./chunk-XT6MXC7A.js";
|
|
42
|
+
import "./chunk-7KDQAD2W.js";
|
|
43
|
+
import "./chunk-M2WBOQ2Q.js";
|
|
44
|
+
export {
|
|
45
|
+
skills_default as default,
|
|
46
|
+
examples,
|
|
47
|
+
skillsManagedExternally,
|
|
48
|
+
updateSkills
|
|
49
|
+
};
|
|
@@ -7,18 +7,19 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
invalidateSkillsCache,
|
|
9
9
|
printSkillsUpdateNotice,
|
|
10
|
+
recordSkillsCheck,
|
|
10
11
|
refreshSkillsCache,
|
|
11
12
|
skillsCheckDue
|
|
12
|
-
} from "./chunk-
|
|
13
|
-
import "./chunk-
|
|
13
|
+
} from "./chunk-IQ5OMRLK.js";
|
|
14
|
+
import "./chunk-4YCNVKJX.js";
|
|
14
15
|
import "./chunk-BR2JQQC5.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
+
import "./chunk-BONBJJ35.js";
|
|
16
17
|
import "./chunk-ISN5GRYI.js";
|
|
17
18
|
import "./chunk-ADVVQX4I.js";
|
|
18
19
|
import "./chunk-66W5IWLO.js";
|
|
19
20
|
import "./chunk-J3RXEDR2.js";
|
|
20
21
|
import "./chunk-QBXDU24O.js";
|
|
21
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-I4XTKG2B.js";
|
|
22
23
|
import "./chunk-E63BDV4Z.js";
|
|
23
24
|
import "./chunk-G7VEYUZ2.js";
|
|
24
25
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -27,6 +28,7 @@ import "./chunk-M2WBOQ2Q.js";
|
|
|
27
28
|
export {
|
|
28
29
|
invalidateSkillsCache,
|
|
29
30
|
printSkillsUpdateNotice,
|
|
31
|
+
recordSkillsCheck,
|
|
30
32
|
refreshSkillsCache,
|
|
31
33
|
skillsCheckDue
|
|
32
34
|
};
|
|
@@ -37,16 +37,16 @@ import {
|
|
|
37
37
|
} from "./chunk-KUXOAS4Z.js";
|
|
38
38
|
import {
|
|
39
39
|
captureArtifactRevision
|
|
40
|
-
} from "./chunk-
|
|
41
|
-
import "./chunk-
|
|
40
|
+
} from "./chunk-OKD2LP73.js";
|
|
41
|
+
import "./chunk-CD65TPHT.js";
|
|
42
42
|
import "./chunk-X7MTZ4T2.js";
|
|
43
43
|
import {
|
|
44
44
|
resolveProject
|
|
45
|
-
} from "./chunk-
|
|
45
|
+
} from "./chunk-BBMMVLA3.js";
|
|
46
46
|
import {
|
|
47
47
|
serveStaticProjectHtml
|
|
48
|
-
} from "./chunk-
|
|
49
|
-
import "./chunk-
|
|
48
|
+
} from "./chunk-2VYAX3ZD.js";
|
|
49
|
+
import "./chunk-EPCVE3OX.js";
|
|
50
50
|
import "./chunk-X7MTZ4T2.js";
|
|
51
51
|
import "./chunk-XUHOIDKG.js";
|
|
52
52
|
import {
|
|
@@ -59,7 +59,7 @@ import {
|
|
|
59
59
|
runFfmpegOnce,
|
|
60
60
|
seekCompositionTimelineOnly,
|
|
61
61
|
settleCompositionSeek
|
|
62
|
-
} from "./chunk-
|
|
62
|
+
} from "./chunk-6R2PED3X.js";
|
|
63
63
|
import "./chunk-RXFKSZN2.js";
|
|
64
64
|
import "./chunk-262C25DQ.js";
|
|
65
65
|
import "./chunk-E2YXF2EP.js";
|
|
@@ -67,8 +67,8 @@ import "./chunk-LR5NVYZT.js";
|
|
|
67
67
|
import "./chunk-YGGZ23BB.js";
|
|
68
68
|
import "./chunk-LTBBFLOM.js";
|
|
69
69
|
import "./chunk-US4BCRYB.js";
|
|
70
|
-
import "./chunk-
|
|
71
|
-
import "./chunk-
|
|
70
|
+
import "./chunk-4J4EGANW.js";
|
|
71
|
+
import "./chunk-HY64QA63.js";
|
|
72
72
|
import "./chunk-AW3XJY4S.js";
|
|
73
73
|
import "./chunk-CPMTEWQM.js";
|
|
74
74
|
import {
|
|
@@ -95,16 +95,16 @@ import "./chunk-AWDFDFI3.js";
|
|
|
95
95
|
import "./chunk-P6LJ4Y32.js";
|
|
96
96
|
import "./chunk-T2WJO4XM.js";
|
|
97
97
|
import "./chunk-W4DMQZL5.js";
|
|
98
|
-
import "./chunk-
|
|
98
|
+
import "./chunk-PKLZ5PV2.js";
|
|
99
99
|
import "./chunk-5LOZWO2M.js";
|
|
100
100
|
import {
|
|
101
101
|
resolveLocalBrowserGpuMode
|
|
102
|
-
} from "./chunk-
|
|
102
|
+
} from "./chunk-FC4WF2VQ.js";
|
|
103
103
|
import "./chunk-A4ZTSQLW.js";
|
|
104
104
|
import {
|
|
105
105
|
trackSnapshotRun
|
|
106
|
-
} from "./chunk-
|
|
107
|
-
import "./chunk-
|
|
106
|
+
} from "./chunk-6DHC3MVK.js";
|
|
107
|
+
import "./chunk-JT2ZGKKB.js";
|
|
108
108
|
import "./chunk-PXVQOMKL.js";
|
|
109
109
|
import "./chunk-MCDNAIFF.js";
|
|
110
110
|
import "./chunk-BVAPHHMQ.js";
|
|
@@ -135,7 +135,7 @@ import {
|
|
|
135
135
|
import "./chunk-Z5J67X44.js";
|
|
136
136
|
import "./chunk-5S7W3TUO.js";
|
|
137
137
|
import "./chunk-D3MUHMFG.js";
|
|
138
|
-
import "./chunk-
|
|
138
|
+
import "./chunk-JS6ZTPYC.js";
|
|
139
139
|
import "./chunk-YWRUQ7XZ.js";
|
|
140
140
|
import {
|
|
141
141
|
createRuntimeStartTimeResolver,
|
|
@@ -192,9 +192,9 @@ import "./chunk-FBN2M2HK.js";
|
|
|
192
192
|
import "./chunk-766MOTIZ.js";
|
|
193
193
|
import {
|
|
194
194
|
withMeta
|
|
195
|
-
} from "./chunk-
|
|
195
|
+
} from "./chunk-4YCNVKJX.js";
|
|
196
196
|
import "./chunk-BR2JQQC5.js";
|
|
197
|
-
import "./chunk-
|
|
197
|
+
import "./chunk-BONBJJ35.js";
|
|
198
198
|
import "./chunk-ISN5GRYI.js";
|
|
199
199
|
import {
|
|
200
200
|
failureMessage,
|
|
@@ -208,7 +208,7 @@ import {
|
|
|
208
208
|
} from "./chunk-66W5IWLO.js";
|
|
209
209
|
import "./chunk-J3RXEDR2.js";
|
|
210
210
|
import "./chunk-QBXDU24O.js";
|
|
211
|
-
import "./chunk-
|
|
211
|
+
import "./chunk-I4XTKG2B.js";
|
|
212
212
|
import {
|
|
213
213
|
atStep,
|
|
214
214
|
normalizeErrorMessage
|
|
@@ -1201,7 +1201,7 @@ function serveCapturePage(projectDir, html, proxy) {
|
|
|
1201
1201
|
async function captureSnapshots(projectDir, opts) {
|
|
1202
1202
|
const startedAt = performance.now();
|
|
1203
1203
|
const log = opts.log ?? ((message) => console.log(message));
|
|
1204
|
-
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-
|
|
1204
|
+
const { bundleWithLocalizedFonts } = await import("./bundleWithLocalizedFonts-TH5SLG6O.js");
|
|
1205
1205
|
const capture = opts.record === false ? void 0 : await captureArtifactRevision(projectDir).catch(warnSnapshotsNotRecorded);
|
|
1206
1206
|
const invocation = randomUUID();
|
|
1207
1207
|
const artifacts = [];
|
|
@@ -1347,7 +1347,7 @@ async function captureSnapshots(projectDir, opts) {
|
|
|
1347
1347
|
let syncVideoFrameVisibility = null;
|
|
1348
1348
|
let extractMediaMetadata2 = null;
|
|
1349
1349
|
try {
|
|
1350
|
-
const engine = await import("./src-
|
|
1350
|
+
const engine = await import("./src-L7UBHHKB.js");
|
|
1351
1351
|
injectVideoFramesBatch = engine.injectVideoFramesBatch;
|
|
1352
1352
|
syncVideoFrameVisibility = engine.syncVideoFrameVisibility;
|
|
1353
1353
|
extractMediaMetadata2 = engine.extractMediaMetadata;
|
|
@@ -62,7 +62,7 @@ import {
|
|
|
62
62
|
spanFrameRange,
|
|
63
63
|
startServer,
|
|
64
64
|
validatePlanV2MaterializedTarget
|
|
65
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-KNOIX2U5.js";
|
|
66
66
|
import {
|
|
67
67
|
FONT_FETCH_FAILED,
|
|
68
68
|
FONT_FETCH_UNAVAILABLE,
|
|
@@ -103,7 +103,7 @@ import {
|
|
|
103
103
|
import "./chunk-Z5J67X44.js";
|
|
104
104
|
import "./chunk-5S7W3TUO.js";
|
|
105
105
|
import "./chunk-D3MUHMFG.js";
|
|
106
|
-
import "./chunk-
|
|
106
|
+
import "./chunk-JS6ZTPYC.js";
|
|
107
107
|
import "./chunk-YWRUQ7XZ.js";
|
|
108
108
|
import {
|
|
109
109
|
quantizeTimeToFrame
|
|
@@ -6,16 +6,16 @@ var __filename = __hf_fileURLToPath(import.meta.url);
|
|
|
6
6
|
var __dirname = __hf_dirname(__filename);
|
|
7
7
|
import {
|
|
8
8
|
probeReport
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-DI3ZFBZ3.js";
|
|
10
10
|
import {
|
|
11
11
|
jsonArg,
|
|
12
12
|
runMeasure,
|
|
13
13
|
videoArg
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-VWUUNGSV.js";
|
|
15
15
|
import {
|
|
16
16
|
pageUrl,
|
|
17
17
|
readPlan
|
|
18
|
-
} from "./chunk-
|
|
18
|
+
} from "./chunk-AHLDGEH5.js";
|
|
19
19
|
import {
|
|
20
20
|
Fix
|
|
21
21
|
} from "./chunk-A33GFLPY.js";
|
|
@@ -53,7 +53,7 @@ import "./chunk-N6FGHJ7X.js";
|
|
|
53
53
|
import "./chunk-Z5J67X44.js";
|
|
54
54
|
import "./chunk-5S7W3TUO.js";
|
|
55
55
|
import "./chunk-D3MUHMFG.js";
|
|
56
|
-
import "./chunk-
|
|
56
|
+
import "./chunk-JS6ZTPYC.js";
|
|
57
57
|
import "./chunk-YWRUQ7XZ.js";
|
|
58
58
|
import "./chunk-W5AUD5OL.js";
|
|
59
59
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -82,15 +82,15 @@ import "./chunk-EPQC3FGZ.js";
|
|
|
82
82
|
import "./chunk-WC4MTXGN.js";
|
|
83
83
|
import "./chunk-FBN2M2HK.js";
|
|
84
84
|
import "./chunk-766MOTIZ.js";
|
|
85
|
-
import "./chunk-
|
|
85
|
+
import "./chunk-4YCNVKJX.js";
|
|
86
86
|
import "./chunk-BR2JQQC5.js";
|
|
87
|
-
import "./chunk-
|
|
87
|
+
import "./chunk-BONBJJ35.js";
|
|
88
88
|
import "./chunk-ISN5GRYI.js";
|
|
89
89
|
import "./chunk-ADVVQX4I.js";
|
|
90
90
|
import "./chunk-66W5IWLO.js";
|
|
91
91
|
import "./chunk-J3RXEDR2.js";
|
|
92
92
|
import "./chunk-QBXDU24O.js";
|
|
93
|
-
import "./chunk-
|
|
93
|
+
import "./chunk-I4XTKG2B.js";
|
|
94
94
|
import "./chunk-E63BDV4Z.js";
|
|
95
95
|
import "./chunk-G7VEYUZ2.js";
|
|
96
96
|
import "./chunk-XT6MXC7A.js";
|
|
@@ -118,7 +118,8 @@ function parseSession(body) {
|
|
|
118
118
|
const plan = oneOf(data.plan, PLANS);
|
|
119
119
|
const gate = oneOf(data.gate, GATES);
|
|
120
120
|
if (!sessionId || !plan || !gate) return void 0;
|
|
121
|
-
const
|
|
121
|
+
const url = data.upgrade_url;
|
|
122
|
+
const upgradeUrl = typeof url === "string" || url === null ? { upgradeUrl: url } : {};
|
|
122
123
|
return { sessionId, plan, gate, ...upgradeUrl };
|
|
123
124
|
}
|
|
124
125
|
async function fallbackPlan() {
|
|
@@ -126,8 +127,9 @@ async function fallbackPlan() {
|
|
|
126
127
|
if (!plan) return void 0;
|
|
127
128
|
return plan.plan === "none" ? "free" : "pro";
|
|
128
129
|
}
|
|
129
|
-
function reverseUpgradeUrl(session) {
|
|
130
|
-
|
|
130
|
+
async function reverseUpgradeUrl(session) {
|
|
131
|
+
if (session?.upgradeUrl === null) return null;
|
|
132
|
+
return session?.upgradeUrl ?? await pageUrl("plans", { feature: "reverse", rs: session?.sessionId });
|
|
131
133
|
}
|
|
132
134
|
async function startReverseSession(opts = {}) {
|
|
133
135
|
let headers;
|
|
@@ -166,13 +168,20 @@ var SKILL = "reverse-any-video";
|
|
|
166
168
|
function subscribeCommand(sessionId) {
|
|
167
169
|
return `npx hyperframes billing subscribe --feature reverse${sessionId ? ` --session ${sessionId}` : ""}`;
|
|
168
170
|
}
|
|
169
|
-
function
|
|
171
|
+
async function freeFields(session) {
|
|
172
|
+
const link = await reverseUpgradeUrl(session);
|
|
173
|
+
return {
|
|
174
|
+
upgrade_url: link,
|
|
175
|
+
subscribe_command: link === null ? null : subscribeCommand(session.sessionId)
|
|
176
|
+
};
|
|
177
|
+
}
|
|
178
|
+
async function summary(started, savedTo) {
|
|
170
179
|
if (!started.recorded) {
|
|
171
180
|
return {
|
|
172
181
|
signed_in: started.reason !== "not_signed_in",
|
|
173
182
|
plan: started.plan ?? null,
|
|
174
183
|
recorded: false,
|
|
175
|
-
...started.plan === "free" ? { upgrade_url: reverseUpgradeUrl(), subscribe_command: subscribeCommand() } : {}
|
|
184
|
+
...started.plan === "free" ? { upgrade_url: await reverseUpgradeUrl(), subscribe_command: subscribeCommand() } : {}
|
|
176
185
|
};
|
|
177
186
|
}
|
|
178
187
|
const { session } = started;
|
|
@@ -183,14 +192,17 @@ function summary(started, savedTo) {
|
|
|
183
192
|
session_id: session.sessionId,
|
|
184
193
|
gate: session.gate,
|
|
185
194
|
saved_to: savedTo ?? null,
|
|
186
|
-
...session.plan === "free" ? {
|
|
187
|
-
upgrade_url: reverseUpgradeUrl(session),
|
|
188
|
-
subscribe_command: subscribeCommand(session.sessionId)
|
|
189
|
-
} : {}
|
|
195
|
+
...session.plan === "free" ? await freeFields(session) : {}
|
|
190
196
|
};
|
|
191
197
|
}
|
|
192
|
-
function refusalWhenServerBlocksFree(session) {
|
|
198
|
+
async function refusalWhenServerBlocksFree(session) {
|
|
193
199
|
if (session.gate !== "block" || session.plan !== "free") return void 0;
|
|
200
|
+
if (await reverseUpgradeUrl(session) === null) {
|
|
201
|
+
return new Fix(
|
|
202
|
+
"Reverse is part of HyperFrames Pro, and a plan can't be purchased right now.",
|
|
203
|
+
"Run reverse start again once this account is on Pro."
|
|
204
|
+
);
|
|
205
|
+
}
|
|
194
206
|
const command = subscribeCommand(session.sessionId);
|
|
195
207
|
return new Fix(
|
|
196
208
|
`Reverse is part of HyperFrames Pro. Run \`${command}\`, then run reverse start again.`,
|
|
@@ -220,9 +232,9 @@ var start_default = defineCommand({
|
|
|
220
232
|
});
|
|
221
233
|
const save = started.recorded && (dir !== void 0 || existsSync(projectConfigPath(".")));
|
|
222
234
|
const savedTo = save ? recordProjectReverseSession(projectDir, started.session.sessionId, SKILL) : void 0;
|
|
223
|
-
const refused = started.recorded ? refusalWhenServerBlocksFree(started.session) : void 0;
|
|
235
|
+
const refused = started.recorded ? await refusalWhenServerBlocksFree(started.session) : void 0;
|
|
224
236
|
if (refused) throw refused;
|
|
225
|
-
return { reverse: summary(started, savedTo), ...probe };
|
|
237
|
+
return { reverse: await summary(started, savedTo), ...probe };
|
|
226
238
|
});
|
|
227
239
|
}
|
|
228
240
|
});
|
|
@@ -7,13 +7,13 @@ var __dirname = __hf_dirname(__filename);
|
|
|
7
7
|
import {
|
|
8
8
|
inProcessAnswer,
|
|
9
9
|
serveStaticProjectHtml
|
|
10
|
-
} from "./chunk-
|
|
11
|
-
import "./chunk-
|
|
10
|
+
} from "./chunk-2VYAX3ZD.js";
|
|
11
|
+
import "./chunk-EPCVE3OX.js";
|
|
12
12
|
import "./chunk-X7MTZ4T2.js";
|
|
13
13
|
import "./chunk-XUHOIDKG.js";
|
|
14
14
|
import "./chunk-LTBBFLOM.js";
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
15
|
+
import "./chunk-4J4EGANW.js";
|
|
16
|
+
import "./chunk-HY64QA63.js";
|
|
17
17
|
import "./chunk-AW3XJY4S.js";
|
|
18
18
|
import "./chunk-CPMTEWQM.js";
|
|
19
19
|
import "./chunk-XLPCBE2Q.js";
|
|
@@ -41,7 +41,7 @@ import "./chunk-N6FGHJ7X.js";
|
|
|
41
41
|
import "./chunk-Z5J67X44.js";
|
|
42
42
|
import "./chunk-5S7W3TUO.js";
|
|
43
43
|
import "./chunk-D3MUHMFG.js";
|
|
44
|
-
import "./chunk-
|
|
44
|
+
import "./chunk-JS6ZTPYC.js";
|
|
45
45
|
import "./chunk-YWRUQ7XZ.js";
|
|
46
46
|
import "./chunk-W5AUD5OL.js";
|
|
47
47
|
import "./chunk-MEJH7VEA.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import {
|
|
17
17
|
pageUrl,
|
|
18
18
|
readPlan
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-AHLDGEH5.js";
|
|
20
20
|
import {
|
|
21
21
|
refreshIfNeeded
|
|
22
22
|
} from "./chunk-TSQZ3DSC.js";
|
|
@@ -152,7 +152,7 @@ var status_default = defineCommand({
|
|
|
152
152
|
const resolved = credential;
|
|
153
153
|
const status = await verify(await refreshIfNeeded(resolved).catch(() => resolved));
|
|
154
154
|
if (asJson) printJsonStatus(status);
|
|
155
|
-
else printHumanStatus(status);
|
|
155
|
+
else await printHumanStatus(status);
|
|
156
156
|
setCommandExitCode(status.apiError ? 1 : 0);
|
|
157
157
|
}
|
|
158
158
|
});
|
|
@@ -260,8 +260,11 @@ function persistedUserJson(u) {
|
|
|
260
260
|
display_name: display ?? null
|
|
261
261
|
};
|
|
262
262
|
}
|
|
263
|
-
function printHumanStatus(s) {
|
|
264
|
-
const rows = collectStatusRows(
|
|
263
|
+
async function printHumanStatus(s) {
|
|
264
|
+
const rows = collectStatusRows({
|
|
265
|
+
...s,
|
|
266
|
+
...s.plan?.plan === "none" ? { upgradeUrl: await pageUrl("plans") } : {}
|
|
267
|
+
});
|
|
265
268
|
for (const [label, value] of rows) console.log(`${c.bold(label)} ${value}`);
|
|
266
269
|
}
|
|
267
270
|
function collectStatusRows(s) {
|
|
@@ -282,7 +285,7 @@ function collectStatusRows(s) {
|
|
|
282
285
|
const tag = plan.mock ? ` ${c.dim("(mock)")}` : "";
|
|
283
286
|
rows.push([
|
|
284
287
|
"HyperFrames:",
|
|
285
|
-
plan.plan === "none" ? `Free \xB7 Upgrade to Pro: ${
|
|
288
|
+
plan.plan === "none" ? `Free \xB7 Upgrade to Pro: ${s.upgradeUrl}${tag}` : `${plan.plan} plan, ${plan.credits.toLocaleString("en-US")} credits${tag}`
|
|
286
289
|
]);
|
|
287
290
|
}
|
|
288
291
|
return rows;
|
package/dist/studio/assets/{hyperframes-player-CcNGHTev.js → hyperframes-player-BbRz52ui.js}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
var je=Object.defineProperty;var Be=(r,t,e)=>t in r?je(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var h=(r,t,e)=>Be(r,typeof t!="symbol"?t+"":t,e);import{S as qe,r as Ge,P as Ye,i as Xe,a as be,b as we,c as Ke,m as Ue,s as Ze,d as A,e as Ae,p as Je,f as Qe,g as et,h as tt,j as it,k as Se,F as Te}from"./index-
|
|
1
|
+
var je=Object.defineProperty;var Be=(r,t,e)=>t in r?je(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var h=(r,t,e)=>Be(r,typeof t!="symbol"?t+"":t,e);import{S as qe,r as Ge,P as Ye,i as Xe,a as be,b as we,c as Ke,m as Ue,s as Ze,d as A,e as Ae,p as Je,f as Qe,g as et,h as tt,j as it,k as Se,F as Te}from"./index-D3y5mWmH.js";function st(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function F(r){return typeof r=="object"&&r!==null}function rt(r){return F(r)&&typeof r.getDuration=="function"}function nt(r){return F(r)&&typeof r.duration=="function"&&typeof r.time=="function"&&typeof r.seek=="function"&&typeof r.play=="function"&&typeof r.pause=="function"}function ot(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 B=typeof __HYPERFRAMES_RUNTIME_CDN_URL__=="string"?__HYPERFRAMES_RUNTIME_CDN_URL__:ot("0.0.0-dev");function Y(r){if(r===null)return null;const t=Number.parseInt(r,10);return Number.isFinite(t)&&t>0?t:null}function at(r){const t=(r==null?void 0:r.querySelector("[data-composition-id][data-width][data-height]"))??(r==null?void 0:r.querySelector("[data-width][data-height]"));if(!t)return null;const e=Y(t.getAttribute("data-width")),i=Y(t.getAttribute("data-height"));return e!==null&&i!==null?{width:e,height:i}:null}function dt(r){return Array.isArray(r)?r.find(t=>typeof t=="string"&&t.trim()!==""&&t!=="[object Event]")??null:null}class ht{constructor(t,e){h(this,"_interval",null);h(this,"_runtimeInjected",!1);h(this,"_runtimeScript",null);h(this,"_failure",null);this._iframe=t,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 t=0;this._interval=setInterval(()=>{t++;let e=null;try{e=this._poll(t)}catch(i){i instanceof DOMException&&i.name==="SecurityError"||(e={kind:"error",message:i instanceof Error?i.message:String(i)})}e??(e=this._deadlineOutcome(t)),e&&(this.stop(),e.kind==="error"?(this._failure={document:this._iframe.contentDocument},this._callbacks.onError(e.message)):this._callbacks.onReady(e.result))},200)}_deadlineOutcome(t){var e,i;return t<40||(i=(e=this._callbacks).hostOwnsDeadline)!=null&&i.call(e)?null:{kind:"error",message:"Composition timeline not found after 8s"}}_poll(t){const e=this._iframe.contentWindow;if(!e)return null;const i=dt(Reflect.get(e,qe));if(i!==null)return{kind:"error",message:i};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if(st({hasRuntime:o,hasTimelines:F(n)&&Object.keys(n).length>0,hasNestedCompositions:!!(s!=null&&s.querySelector("[data-composition-src]")),runtimeInjected:this._runtimeInjected,attempts:t}))return this._injectRuntime(),null;if(this._runtimeInjected&&!o)return null;const a=this._resolveReadyResult(e,s);return a?{kind:"ready",result:a}:null}_resolveReadyResult(t,e){var n;const i=this._resolvePlaybackDurationAdapter(t)??{kind:"document",getDuration:()=>0};let s=i.getDuration();if(!Number.isFinite(s)||s<=0){if(i.kind==="direct-timeline")return null;s=e?((n=Ge(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...i,getDuration:()=>s},compositionSize:at(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 t=this._iframe.contentWindow;return t?this._resolveDirectTimelineAdapterFromWindow(t):null}catch{return null}}resolveDirectTimelineAdapterFromWindow(t){return this._resolveDirectTimelineAdapterFromWindow(t)}hasRuntimeBridge(t){return F(Reflect.get(t,"__player"))}_injectRuntime(){var t,e,i,s;this._runtimeInjected=!0;try{const n=this._iframe.contentDocument;if(!n)return;const o=n.createElement("script");o.src=((e=(t=this._callbacks).resolveRuntimeUrl)==null?void 0:e.call(t))??B,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=(i=this._callbacks).onRuntimeInjected)==null||s.call(i)}catch{}}_resolveDirectTimelineAdapterFromWindow(t){var a,c;if(this.hasRuntimeBridge(t))return null;const e=Reflect.get(t,"__timelines");if(!F(e))return null;const i=Object.keys(e);if(i.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:i[i.length-1],o=e[n];return nt(o)?o:null}_resolvePlaybackDurationAdapter(t){const e=Reflect.get(t,"__player");if(rt(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const i=this._resolveDirectTimelineAdapterFromWindow(t);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}}const lt=`
|
|
2
2
|
:host {
|
|
3
3
|
display: block;
|
|
4
4
|
position: relative;
|