hyperframes 0.8.66 → 0.8.68

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 (31) hide show
  1. package/dist/cli.js +1322 -667
  2. package/dist/fontLocalizeCli.js +407 -133
  3. package/dist/hyperframes-player.global.js +1 -1
  4. package/dist/renderSetupWorker.js +10625 -41829
  5. package/dist/skills/media-use/SKILL.md +10 -10
  6. package/dist/skills/media-use/references/meta.md +1 -1
  7. package/dist/skills/media-use/references/resolve.md +1 -1
  8. package/dist/skills/media-use/references/setup-providers.md +1 -1
  9. package/dist/skills/media-use/scripts/lib/coverage.test.mjs +5 -1
  10. package/dist/skills/media-use/scripts/lib/freeze.mjs +34 -24
  11. package/dist/skills/media-use/scripts/lib/freeze.test.mjs +93 -1
  12. package/dist/skills/media-use/scripts/lib/logo-provider.mjs +110 -89
  13. package/dist/skills/media-use/scripts/lib/logo-provider.test.mjs +204 -60
  14. package/dist/skills/media-use/scripts/lib/media-fetch.mjs +14 -0
  15. package/dist/skills/media-use/scripts/lib/media-fetch.test.mjs +29 -1
  16. package/dist/skills/media-use/scripts/lib/registry.mjs +6 -12
  17. package/dist/skills/media-use/scripts/lib/registry.test.mjs +1 -1
  18. package/dist/skills/media-use/scripts/lib/svg-sanitize.mjs +21 -0
  19. package/dist/studio/assets/{hyperframes-player-BRlwG-p9.js → hyperframes-player-RYzFlKye.js} +1 -1
  20. package/dist/studio/assets/index-BBOktYKC.css +1 -0
  21. package/dist/studio/assets/{index-D6Jy-2Zs.js → index-C8-wAsq3.js} +1 -1
  22. package/dist/studio/assets/{index-DJl2JKQj.js → index-CsnhFJIv.js} +1 -1
  23. package/dist/studio/assets/{index-BzGcmMBS.js → index-P0Rwat37.js} +200 -200
  24. package/dist/studio/index.css +147 -16
  25. package/dist/studio/index.css.map +1 -1
  26. package/dist/studio/index.html +2 -2
  27. package/dist/studio/index.js +4436 -4193
  28. package/dist/studio/index.js.map +1 -1
  29. package/dist/studio/styles.css +1 -1
  30. package/package.json +1 -1
  31. package/dist/studio/assets/index-BnsYeuxA.css +0 -1
@@ -1,4 +1,4 @@
1
- import{n as Qi}from"./index-BzGcmMBS.js";/*!
1
+ import{n as Qi}from"./index-P0Rwat37.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
@@ -1 +1 @@
1
- import{g as P}from"./index-BzGcmMBS.js";function j(c,d){for(var s=0;s<d.length;s++){const a=d[s];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in c)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(c,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var v={},w;function k(){if(w)return v;w=1,Object.defineProperty(v,"__esModule",{value:!0}),v.default=d;var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;function d(e){var r=a(e);return r.start(0),[i,y,O(e.sampleRate),s].reduce(function(t,o){return o(t)},r.buffer.getChannelData(0))}function s(e){return e.sort(function(r,t){return t.count-r.count}).splice(0,5)[0].tempo}function a(e){var r=e.length,t=e.numberOfChannels,o=e.sampleRate,n=new c(t,r,o),u=n.createBufferSource();u.buffer=e;var f=n.createBiquadFilter();return f.type="lowpass",u.connect(f),f.connect(n.destination),u}function i(e){for(var r=[],t=.9,o=.3,n=15;r.length<n&&t>=o;)r=l(e,t),t-=.05;if(r.length<n)throw new Error("Could not find enough samples for a reliable detection.");return r}function l(e,r){for(var t=[],o=0,n=e.length;o<n;o+=1)e[o]>r&&(t.push(o),o+=1e4);return t}function y(e){var r=[];return e.forEach(function(t,o){for(var n=function(x){var g=e[o+x]-t,_=r.some(function(h){if(h.interval===g)return h.count+=1});_||r.push({interval:g,count:1})},u=0;u<10;u+=1)n(u)}),r}function O(e){return function(r){var t=[];return r.forEach(function(o){if(o.interval!==0){for(var n=60/(o.interval/e);n<90;)n*=2;for(;n>180;)n/=2;n=Math.round(n);var u=t.some(function(f){if(f.tempo===n)return f.count+=o.count});u||t.push({tempo:n,count:o.count})}}),t}}return v}var p,b;function q(){return b||(b=1,p=k().default),p}var m=q();const A=P(m),D=j({__proto__:null,default:A},[m]);export{D as i};
1
+ import{g as P}from"./index-P0Rwat37.js";function j(c,d){for(var s=0;s<d.length;s++){const a=d[s];if(typeof a!="string"&&!Array.isArray(a)){for(const i in a)if(i!=="default"&&!(i in c)){const l=Object.getOwnPropertyDescriptor(a,i);l&&Object.defineProperty(c,i,l.get?l:{enumerable:!0,get:()=>a[i]})}}}return Object.freeze(Object.defineProperty(c,Symbol.toStringTag,{value:"Module"}))}var v={},w;function k(){if(w)return v;w=1,Object.defineProperty(v,"__esModule",{value:!0}),v.default=d;var c=window.OfflineAudioContext||window.webkitOfflineAudioContext;function d(e){var r=a(e);return r.start(0),[i,y,O(e.sampleRate),s].reduce(function(t,o){return o(t)},r.buffer.getChannelData(0))}function s(e){return e.sort(function(r,t){return t.count-r.count}).splice(0,5)[0].tempo}function a(e){var r=e.length,t=e.numberOfChannels,o=e.sampleRate,n=new c(t,r,o),u=n.createBufferSource();u.buffer=e;var f=n.createBiquadFilter();return f.type="lowpass",u.connect(f),f.connect(n.destination),u}function i(e){for(var r=[],t=.9,o=.3,n=15;r.length<n&&t>=o;)r=l(e,t),t-=.05;if(r.length<n)throw new Error("Could not find enough samples for a reliable detection.");return r}function l(e,r){for(var t=[],o=0,n=e.length;o<n;o+=1)e[o]>r&&(t.push(o),o+=1e4);return t}function y(e){var r=[];return e.forEach(function(t,o){for(var n=function(x){var g=e[o+x]-t,_=r.some(function(h){if(h.interval===g)return h.count+=1});_||r.push({interval:g,count:1})},u=0;u<10;u+=1)n(u)}),r}function O(e){return function(r){var t=[];return r.forEach(function(o){if(o.interval!==0){for(var n=60/(o.interval/e);n<90;)n*=2;for(;n>180;)n/=2;n=Math.round(n);var u=t.some(function(f){if(f.tempo===n)return f.count+=o.count});u||t.push({tempo:n,count:o.count})}}),t}}return v}var p,b;function q(){return b||(b=1,p=k().default),p}var m=q();const A=P(m),D=j({__proto__:null,default:A},[m]);export{D as i};