Your Name 1912bcd25b
Some checks failed
Lint / build (20) (push) Has been cancelled
Playwright Tests / test (push) Has been cancelled
chore: sync all remaining local workspace changes
2026-05-08 11:26:57 +08:00

85 lines
2.5 KiB
JavaScript

/*
* Extracted from browser-delivered Turbopack chunk: fd0220e4d10052af.701bdafa2d.js
* Module id: 934108
* For reading/searching only; this factory depends on the original Turbopack runtime.
*/
const moduleFactory = (e) => {
"use strict";
var t = e.i(462214),
n = e.i(41671);
function i({ size: e = 30, className: i = "" }) {
return (0, t.jsx)(n.Icons.AudioFile, {
width: e,
height: e,
className: i,
});
}
function r({ size: e = 14, className: i = "" }) {
return (0, t.jsx)(n.Icons.upload, { width: e, height: e, className: i });
}
function a({ size: e = 14, className: i = "" }) {
return (0, t.jsx)(n.Icons.VideoAddS, {
width: e,
height: e,
className: i,
});
}
e.i(713118);
let o = {
padding: "2px",
borderRadius: 8,
border: "0.5px solid var(--canvas-controls-border)",
background: "var(--canvas-controls-bg)",
boxShadow: "var(--canvas-shadow-dropdown)",
backdropFilter: "blur(16px)",
};
function s({ currentSpeed: e, onSpeedClick: i, onDownloadClick: r }) {
return (0, t.jsx)("div", {
className: "flex items-center gap-0.5",
children: (0, t.jsxs)("div", {
className: "flex items-center justify-center gap-0.5",
style: o,
children: [
(0, t.jsx)("button", {
type: "button",
onClick: i,
className:
"text-canvas-controls-text hover:bg-canvas-controls-hover flex h-6 min-w-[36px] items-center justify-center rounded-md px-2 text-xs transition-colors",
children: 1 === e ? "1x" : `${e}x`,
}),
(0, t.jsx)("button", {
type: "button",
onClick: r,
"data-auth-download-trigger": "true",
className:
"text-canvas-controls-text hover:bg-canvas-controls-hover flex h-6 w-6 shrink-0 items-center justify-center rounded-md transition-colors",
children: (0, t.jsx)(n.Icons.download, { width: 14, height: 14 }),
}),
],
}),
});
}
e.s([
"AudioNodeToolbar",
() => s,
"FLOATING_TOOLBAR_STYLE",
0,
o,
"MusicNoteIcon",
() => i,
"NODE_HEIGHT_AUDIO",
0,
148,
"PLAYBACK_RATES",
0,
[1, 1.25, 1.5, 2],
"UploadIcon",
() => r,
"VideoCameraIcon",
() => a,
]);
};
export default moduleFactory;