hyperframes 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (104) hide show
  1. package/dist/{add-MWN63YLG.js → add-LA6SUF76.js} +5 -5
  2. package/dist/{asset-2E4BPM6D.js → asset-5Y5I2SRR.js} +2 -2
  3. package/dist/{audio-5UJXXWPW.js → audio-PTC232QG.js} +5 -5
  4. package/dist/{auth-KBLFYECF.js → auth-SSVSRIDE.js} +1 -1
  5. package/dist/{autoUpdate-27BUT7PA.js → autoUpdate-RTYJ3N6U.js} +2 -2
  6. package/dist/{backgroundChecks-J3P7SOSQ.js → backgroundChecks-5QXE3I27.js} +3 -3
  7. package/dist/backgroundChecksWorker.js +3 -3
  8. package/dist/{beats-KYZKOXYL.js → beats-T3VU7WB6.js} +4 -4
  9. package/dist/{benchmark-BAOB72G5.js → benchmark-SHL3OH6E.js} +5 -5
  10. package/dist/{browser-T3PIU2RV.js → browser-AHPIKCDX.js} +3 -3
  11. package/dist/{catalog-62TXHS66.js → catalog-V6B6RXFE.js} +5 -5
  12. package/dist/{catch-up-5XMGVDFZ.js → catch-up-7KLU3YPA.js} +4 -4
  13. package/dist/{check-GIVDVXJN.js → check-VM7ET6MB.js} +12 -12
  14. package/dist/{checkBrowser-74KR55FM.js → checkBrowser-YH43NV46.js} +8 -8
  15. package/dist/{chunk-JEGDAOB7.js → chunk-3TTZHRQV.js} +1 -1
  16. package/dist/{chunk-MC6N6WJ5.js → chunk-4EBPYENN.js} +2 -2
  17. package/dist/{chunk-2EIZA33T.js → chunk-EEOCX42I.js} +1 -1
  18. package/dist/{chunk-L7BF4RG6.js → chunk-HV23H4FI.js} +1 -1
  19. package/dist/{chunk-57VDF5XO.js → chunk-KIHELC2D.js} +1 -1
  20. package/dist/{chunk-WXMTECMX.js → chunk-LFZ3QUCU.js} +1 -1
  21. package/dist/{chunk-2Y6WMT65.js → chunk-LIP2WQZD.js} +2 -2
  22. package/dist/{chunk-4MPYTAH3.js → chunk-LIUJACWM.js} +1 -1
  23. package/dist/{chunk-3VIM6RKQ.js → chunk-LXGQEXUG.js} +2 -2
  24. package/dist/{chunk-H262NT72.js → chunk-MILRLELA.js} +2 -2
  25. package/dist/{chunk-W3OWPG3H.js → chunk-MKK3VHR6.js} +2 -2
  26. package/dist/{chunk-BTJP4YBK.js → chunk-MKSOLUHC.js} +1 -1
  27. package/dist/{chunk-GZERIBTQ.js → chunk-MWFZDRBX.js} +2 -2
  28. package/dist/{chunk-62ZX5XEV.js → chunk-OOYETMCB.js} +10 -10
  29. package/dist/{chunk-FZJ7BAMW.js → chunk-P3TR5I66.js} +2 -2
  30. package/dist/{chunk-CNR5UGUM.js → chunk-QM6CELHP.js} +2 -2
  31. package/dist/{chunk-MXU2ABXQ.js → chunk-RGM5BCE3.js} +1 -1
  32. package/dist/{chunk-CBIDHRMS.js → chunk-UFZ6CGVH.js} +1 -1
  33. package/dist/{chunk-F4GYKHI3.js → chunk-V3LI4PZ7.js} +2 -2
  34. package/dist/{chunk-V3Y26IF7.js → chunk-VV5NU3XP.js} +1 -1
  35. package/dist/{chunk-AOIL4TZ3.js → chunk-YABUBACD.js} +1 -1
  36. package/dist/{chunk-JCCF57ME.js → chunk-ZHC2FFUL.js} +1 -1
  37. package/dist/{clean-H56I7YP5.js → clean-MQDQZQYG.js} +3 -3
  38. package/dist/cli.js +51 -51
  39. package/dist/{cloud-QACX2X44.js → cloud-C55BDE2U.js} +4 -4
  40. package/dist/{compare-V45CW52C.js → compare-3LAT2JAL.js} +4 -4
  41. package/dist/{component-KRJESH7I.js → component-DFEJJRMG.js} +3 -3
  42. package/dist/{compositions-CZKEDM73.js → compositions-3TV3ZLYE.js} +5 -5
  43. package/dist/{curve-JM2LOD4P.js → curve-ZEZYGDID.js} +3 -3
  44. package/dist/{cuts-Z5KCR7T2.js → cuts-3GFYYAB5.js} +3 -3
  45. package/dist/{delete-SF2YC6IL.js → delete-SAJEM2GS.js} +2 -2
  46. package/dist/{deploy-FJXGUX4C.js → deploy-ITEXLN64.js} +1 -1
  47. package/dist/{diff-33H63QHG.js → diff-KBY6U375.js} +5 -5
  48. package/dist/{doctor-UEKOBRLM.js → doctor-KPPD5QGL.js} +3 -3
  49. package/dist/{energy-LWME5RM4.js → energy-CMQOFKWI.js} +3 -3
  50. package/dist/{events-ZATT6TR7.js → events-E7PDBLVA.js} +3 -3
  51. package/dist/{events-KO6NEMWH.js → events-JJ56QYE7.js} +3 -3
  52. package/dist/{events-RZ2MA4XR.js → events-NEEC6EWY.js} +2 -2
  53. package/dist/{extract-P2XO4PJE.js → extract-QC4CVKFU.js} +4 -4
  54. package/dist/{face-K45DXPI4.js → face-BCGROEQN.js} +3 -3
  55. package/dist/{feedback-FS3DHJ5H.js → feedback-FRYTNOKI.js} +4 -4
  56. package/dist/{figma-L2JUM3YU.js → figma-VNEBULDB.js} +3 -3
  57. package/dist/fontLocalizeCli.js +1 -1
  58. package/dist/{frames-VEOBIO6J.js → frames-2SW5DKKS.js} +3 -3
  59. package/dist/{generate-OOVBRY7I.js → generate-RICGYHAF.js} +4 -4
  60. package/dist/{get-6SKWU4NR.js → get-QZ4FJSK4.js} +2 -2
  61. package/dist/{grade-compare-7I3LGYBE.js → grade-compare-4MPYWWC3.js} +4 -4
  62. package/dist/{help-2XSB7AEL.js → help-WJHI4CY7.js} +1 -1
  63. package/dist/{history-TLHXNBKP.js → history-25V6X7K2.js} +6 -6
  64. package/dist/hyperframes-player.global.js +1 -1
  65. package/dist/{info-SBQ6YYWP.js → info-GEIOUKEJ.js} +5 -5
  66. package/dist/{init-Q2DALA3Z.js → init-XIUMCSHF.js} +6 -6
  67. package/dist/{ink-GXAH5MQ5.js → ink-GC3PNMSW.js} +3 -3
  68. package/dist/{inspect-KJSR4SQU.js → inspect-7N73GQLN.js} +6 -6
  69. package/dist/{keyframes-RVCFLSWV.js → keyframes-KTFKX2D5.js} +5 -5
  70. package/dist/{lambda-4ML2AT6B.js → lambda-C77S2WBA.js} +1 -1
  71. package/dist/{layout-T3ZIW7BS.js → layout-OBZ3MIS6.js} +6 -6
  72. package/dist/{lint-IQJHVJVU.js → lint-6Z4AU6VJ.js} +6 -6
  73. package/dist/{list-PIWOTC4C.js → list-RWZ5PFV5.js} +2 -2
  74. package/dist/{login-5DSHEESO.js → login-NG3RBTGV.js} +4 -4
  75. package/dist/{look-HBCHMOUG.js → look-TVUFEWL2.js} +3 -3
  76. package/dist/{measure-UKORCYLF.js → measure-AG2ZSWIX.js} +11 -11
  77. package/dist/{media-treatment-VJTW7E2G.js → media-treatment-IZ6NWGZY.js} +5 -5
  78. package/dist/{media-use-AARZMEX4.js → media-use-6ECM25H6.js} +1 -1
  79. package/dist/{normalize-audio-BHWG43TA.js → normalize-audio-56ZQSWFL.js} +4 -4
  80. package/dist/{open-PX5RTEAX.js → open-65XKMXFS.js} +4 -4
  81. package/dist/{play-25BIP2LM.js → play-ZKZ2XWYK.js} +4 -4
  82. package/dist/{present-DLQ2WGNQ.js → present-IFIEJJDE.js} +4 -4
  83. package/dist/{preview-5T7RDPZO.js → preview-C22ZXQ7K.js} +5 -5
  84. package/dist/{probe-ZSNZ2AD2.js → probe-GFJCK7B6.js} +3 -3
  85. package/dist/{render-M5ZTGCYN.js → render-S2VA65IJ.js} +5 -5
  86. package/dist/{render-WHLQCNXP.js → render-ZXX3VCER.js} +8 -8
  87. package/dist/{skills-5AGIY3VM.js → skills-F5GLTKRO.js} +5 -5
  88. package/dist/{skillsUpdateCheck-ZFSER5CO.js → skillsUpdateCheck-4US4SMPP.js} +3 -3
  89. package/dist/{snapshot-NVP7E7HE.js → snapshot-47DSSS6S.js} +7 -7
  90. package/dist/studio/assets/{hyperframes-player-z-8ElsHL.js → hyperframes-player-D2rjxvnX.js} +1 -1
  91. package/dist/studio/assets/{index-CBZs_Rm3.js → index-CgtbZxHa.js} +1 -1
  92. package/dist/studio/assets/{index-M-AHqD2Z.js → index-Dh1BiGcb.js} +4 -4
  93. package/dist/studio/index.html +1 -1
  94. package/dist/{studioServer-OQ2LXQLR.js → studioServer-J55HVAF6.js} +5 -5
  95. package/dist/{sync-GKEMLKET.js → sync-52R4DHUE.js} +3 -3
  96. package/dist/{telemetry-Z2ICYW2W.js → telemetry-ELNF3NFD.js} +3 -3
  97. package/dist/{timeline-LLKPA6ZB.js → timeline-MWMMKAPM.js} +5 -5
  98. package/dist/{tokens-UZICKIRW.js → tokens-NQB2AF4K.js} +2 -2
  99. package/dist/{transcribe-VNKACTNS.js → transcribe-ZUF2OFS4.js} +3 -3
  100. package/dist/{updateCheck-2ABGBADX.js → updateCheck-JDBFGDEG.js} +2 -2
  101. package/dist/{upgrade-GRBSKHVC.js → upgrade-REBAN2Q2.js} +2 -2
  102. package/dist/{validate-23AJX6KR.js → validate-HADI32OP.js} +6 -6
  103. package/dist/warmCheck.js +12 -12
  104. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- var We=Object.defineProperty;var ze=(r,t,e)=>t in r?We(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var u=(r,t,e)=>ze(r,typeof t!="symbol"?t+"":t,e);import{S as $e,r as je,a as be,b as Ae,i as Be,c as A,d as we,p as qe,e as Ge,f as Ye,g as Xe,s as Ke,h as Se,F as Ee}from"./index-M-AHqD2Z.js";function Ze(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function F(r){return typeof r=="object"&&r!==null}function Je(r){return F(r)&&typeof r.getDuration=="function"}function Qe(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 et(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__:et("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 tt(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 it(r){return Array.isArray(r)?r.find(t=>typeof t=="string"&&t.trim()!==""&&t!=="[object Event]")??null:null}class st{constructor(t,e){u(this,"_interval",null);u(this,"_runtimeInjected",!1);u(this,"_runtimeScript",null);u(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=it(Reflect.get(e,$e));if(i!==null)return{kind:"error",message:i};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if(Ze({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=je(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...i,getDuration:()=>s},compositionSize:tt(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 Qe(o)?o:null}_resolvePlaybackDurationAdapter(t){const e=Reflect.get(t,"__player");if(Je(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const i=this._resolveDirectTimelineAdapterFromWindow(t);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}}const rt=`
1
+ var We=Object.defineProperty;var ze=(r,t,e)=>t in r?We(r,t,{enumerable:!0,configurable:!0,writable:!0,value:e}):r[t]=e;var u=(r,t,e)=>ze(r,typeof t!="symbol"?t+"":t,e);import{S as $e,r as je,a as be,b as Ae,i as Be,c as A,d as we,p as qe,e as Ge,f as Ye,g as Xe,s as Ke,h as Se,F as Ee}from"./index-Dh1BiGcb.js";function Ze(r){return r.hasRuntime||r.runtimeInjected?!1:!!(r.hasNestedCompositions||r.hasTimelines&&r.attempts>=5)}function F(r){return typeof r=="object"&&r!==null}function Je(r){return F(r)&&typeof r.getDuration=="function"}function Qe(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 et(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__:et("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 tt(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 it(r){return Array.isArray(r)?r.find(t=>typeof t=="string"&&t.trim()!==""&&t!=="[object Event]")??null:null}class st{constructor(t,e){u(this,"_interval",null);u(this,"_runtimeInjected",!1);u(this,"_runtimeScript",null);u(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=it(Reflect.get(e,$e));if(i!==null)return{kind:"error",message:i};const s=this._iframe.contentDocument,n=Reflect.get(e,"__timelines"),o=this.hasRuntimeBridge(e);if(Ze({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=je(e))==null?void 0:n.durationSeconds)??0:0}return s<=0?null:{duration:s,adapter:{...i,getDuration:()=>s},compositionSize:tt(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 Qe(o)?o:null}_resolvePlaybackDurationAdapter(t){const e=Reflect.get(t,"__player");if(Je(e))return{kind:"runtime",getDuration:()=>e.getDuration()};const i=this._resolveDirectTimelineAdapterFromWindow(t);return i?{kind:"direct-timeline",timeline:i,getDuration:()=>i.duration()}:null}}const rt=`
2
2
  :host {
3
3
  display: block;
4
4
  position: relative;
@@ -1,4 +1,4 @@
1
- import{n as Qi}from"./index-M-AHqD2Z.js";/*!
1
+ import{n as Qi}from"./index-Dh1BiGcb.js";/*!
2
2
  * Copyright (c) 2026-present, Vanilagy and contributors
3
3
  *
4
4
  * This Source Code Form is subject to the terms of the Mozilla Public