🎥 Make videos programmatically with React
various stuff
Jonny Burgerb2c603eafb15
diff --git a/packages/convert/app/components/AudioCodecDropWarning.tsx b/packages/convert/app/components/AudioCodecDropWarning.tsxindex 762a71a3c2..919c4185d1 100644--- a/packages/convert/app/components/AudioCodecDropWarning.tsx+++ b/packages/convert/app/components/AudioCodecDropWarning.tsx@@ -3,8 +3,8 @@ import React from 'react';export const AudioCodecDropWarning: React.FC = () => {return (<div className="text-sm mt-2 text-muted-foreground">- Your browser doesn't support encoding audio and the audio track cannot be- copied into the new container.+ Your browser doesn't support encoding audio and the audio track+ cannot be copied into the new container.</div>);};diff --git a/packages/convert/app/components/AudioCodecSelection.tsx b/packages/convert/app/components/AudioCodecSelection.tsxindex 4171ba5b0b..618df6e941 100644--- a/packages/convert/app/components/AudioCodecSelection.tsx+++ b/packages/convert/app/components/AudioCodecSelection.tsx@@ -38,6 +38,7 @@ export const AudioCodecSelection: React.FC<{<SelectContent>{audioTrackOptions.map((operation, i) => {return (+ // eslint-disable-next-line react/no-array-index-key<SelectGroup key={i}><SelectItemkey={getAudioOperationId(operation)}diff --git a/packages/convert/app/components/AudioWaveform.tsx b/packages/convert/app/components/AudioWaveform.tsxnew file mode 100644index 0000000000..fe9108dcd2--- /dev/null+++ b/packages/convert/app/components/AudioWaveform.tsx@@ -0,0 +1,31 @@+import React, {useMemo} from 'react';+import {AMOUNT_OF_BARS} from '~/lib/waveform-visualizer';++export const AudioWaveForm: React.FC<{readonly bars: number[]}> = ({bars}) => {+ const padded = useMemo(() => {+ const p = [...bars];+ while (p.length < AMOUNT_OF_BARS) {+ p.push(0);+ }++ return p;+ }, [bars]);++ return (+ <div className="h-[70px] bg-slate-100 border-b-2 border-black justify-center items-center flex flex-row gap-[1px]">+ {padded.map((bar, i) => {+ return (+ <div+ // eslint-disable-next-line react/no-array-index-key+ key={i}+ className="rounded bg-slate-400 inline-block w-[4px]"+ style={{+ height: (bar / 255) * 40,+ transition: 'height 0.1s ease',+ }}+ />+ );+ })}+ </div>+ );+};diff --git a/packages/convert/app/components/ContainerOverview.tsx b/packages/convert/app/components/ContainerOverview.tsxindex 88c1889c96..42230e6686 100644--- a/packages/convert/app/components/ContainerOverview.tsx+++ b/packages/convert/app/components/ContainerOverview.tsx@@ -29,7 +29,7 @@ export const ContainerOverview: React.FC<{readonly isHdr: boolean | undefined;readonly metadata: MetadataEntry[] | null;readonly location: MediaParserLocation | null;- isAudioOnly: boolean;+ readonly isAudioOnly: boolean;}> = ({container,dimensions,diff --git a/packages/convert/app/components/ConvertProgress.tsx b/packages/convert/app/components/ConvertProgress.tsxindex 9419b79148..150c15b4f1 100644--- a/packages/convert/app/components/ConvertProgress.tsx+++ b/packages/convert/app/components/ConvertProgress.tsx@@ -24,7 +24,8 @@ export const ConvertProgress: React.FC<{readonly done: boolean;readonly duration: number | null;readonly isReencoding: boolean;-}> = ({state, name, container, done, isReencoding, duration}) => {+ readonly isAudioOnly: boolean;+}> = ({state, name, container, done, isReencoding, duration, isAudioOnly}) => {const progress = done? 1: duration === null@@ -37,46 +38,42 @@ export const ConvertProgress: React.FC<{useAddOutputFilenameToTitle(newName);return (- <>- <Card className="overflow-hidden">- {isReencoding ? (- <>- <VideoThumbnail- ref={convertProgressRef}- initialReveal- smallThumbOnMobile={false}- rotation={0}- mirrorHorizontal={false}- mirrorVertical={false}- />- </>+ <Card className="overflow-hidden">+ {isReencoding && !isAudioOnly ? (+ <VideoThumbnail+ ref={convertProgressRef}+ initialReveal+ smallThumbOnMobile={false}+ rotation={0}+ mirrorHorizontal={false}+ mirrorVertical={false}+ />+ ) : null}+ <div className="h-5 overflow-hidden">+ {state.millisecondsWritten || done ? (+ <div+ className="w-[50%] h-5 bg-brand"+ style={{+ width: (progress ?? 0) * 100 + '%',+ }}+ />) : null}- <div className="h-5 overflow-hidden">- {state.millisecondsWritten || done ? (- <div- className="w-[50%] h-5 bg-brand"- style={{- width: (progress ?? 0) * 100 + '%',- }}- />- ) : null}+ </div>+ <div className="border-b-2 border-black" />+ <div className="p-2">+ <div>+ {name ? (+ <strong className="font-brand ">{newName}</strong>+ ) : (+ <Skeleton className="h-4 w-[200px]" />+ )}</div>- <div className="border-b-2 border-black" />- <div className="p-2">- <div>- {name ? (- <strong className="font-brand ">{newName}</strong>- ) : (- <Skeleton className="h-4 w-[200px]" />- )}- </div>- <div className="tabular-nums text-muted-foreground font-brand text-sm">- <span>{formatSeconds(state.millisecondsWritten / 1000)}</span>- {' • '}- <span>{formatBytes(state.bytesWritten)}</span>- </div>+ <div className="tabular-nums text-muted-foreground font-brand text-sm">+ <span>{formatSeconds(state.millisecondsWritten / 1000)}</span>+ {' • '}+ <span>{formatBytes(state.bytesWritten)}</span></div>- </Card>- </>+ </div>+ </Card>);};diff --git a/packages/convert/app/components/ConvertUi.tsx b/packages/convert/app/components/ConvertUi.tsxindex f7da698c33..d17de3aacc 100644--- a/packages/convert/app/components/ConvertUi.tsx+++ b/packages/convert/app/components/ConvertUi.tsx@@ -346,6 +346,10 @@ export default function ConvertUI({userRotation,]);+ const hasAudio = useMemo(() => {+ return (tracks?.videoTracks.length ?? 0) === 0;+ }, [tracks?.videoTracks.length]);+if (state.type === 'error') {return (<>@@ -375,6 +379,7 @@ export default function ConvertUI({enableConvert,})}+ isAudioOnly={hasAudio}/><div className="h-2" /><Button className="block w-full" type="button" onClick={cancel}>@@ -401,6 +406,7 @@ export default function ConvertUI({enableConvert,})}+ isAudioOnly={hasAudio}/><div className="h-2" /><ConversionDonediff --git a/packages/convert/app/components/EmbeddedImage.tsx b/packages/convert/app/components/EmbeddedImage.tsxindex 0fc04d253a..9df0a53f79 100644--- a/packages/convert/app/components/EmbeddedImage.tsx+++ b/packages/convert/app/components/EmbeddedImage.tsx@@ -3,7 +3,7 @@ import type React from 'react';import {useEffect, useState} from 'react';export const EmbeddedImage: React.FC<{- images: MediaParserEmbeddedImage[];+ readonly images: MediaParserEmbeddedImage[];}> = ({images}) => {const [url, setUrl] = useState<string | null>(null);@@ -25,7 +25,7 @@ export const EmbeddedImage: React.FC<{return () => {URL.revokeObjectURL(u);};- }, []);+ }, [firstImage]);if (!firstImage) {return null;diff --git a/packages/convert/app/components/ErrorState.tsx b/packages/convert/app/components/ErrorState.tsxindex 7f8ed59bef..81d209e3a6 100644--- a/packages/convert/app/components/ErrorState.tsx+++ b/packages/convert/app/components/ErrorState.tsx@@ -24,6 +24,7 @@ const ErrorBox: React.FC<{<div>{combined?.map((line, index) => (<div+ // eslint-disable-next-line react/no-array-index-keykey={index}className="text-red-600 first:font-medium first:font-brand">@@ -61,7 +62,7 @@ export const ErrorState: React.FC<{>remotion.dev/issue</a>{' '}- and upload the video. We'll try our best to help!+ and upload the video. We'll try our best to help!</div></>);diff --git a/packages/convert/app/components/FileAvailable.tsx b/packages/convert/app/components/FileAvailable.tsxindex e3b420e156..2cea3de5ba 100644--- a/packages/convert/app/components/FileAvailable.tsx+++ b/packages/convert/app/components/FileAvailable.tsx@@ -2,10 +2,9 @@ import type {ParseMediaOnProgress} from '@remotion/media-parser';import {WebCodecsInternals} from '@remotion/webcodecs';import React, {useCallback, useMemo, useRef, useState} from 'react';import type {Source} from '~/lib/convert-state';-import type { RotateOrMirrorState} from '~/lib/default-ui';+import type {RotateOrMirrorState} from '~/lib/default-ui';import {defaultRotateOrMirorState} from '~/lib/default-ui';import {formatBytes} from '~/lib/format-bytes';-import {useThumbnail} from '~/lib/use-thumbnail';import type {RouteAction} from '~/seo';import {BackButton} from './BackButton';import ConvertUI from './ConvertUi';@@ -13,11 +12,8 @@ import {Footer} from './Footer';import {Probe} from './Probe';import {ReplaceVideo} from './ReplaceVideo';import type {VideoThumbnailRef} from './VideoThumbnail';-import {getBrightnessOfFrame} from './get-brightness-of-frame';import {useProbe} from './use-probe';-const idealBrightness = 0.8;-export const FileAvailable: React.FC<{readonly src: Source;readonly setSrc: React.Dispatch<React.SetStateAction<Source | null>>;@@ -27,26 +23,8 @@ export const FileAvailable: React.FC<{() => routeAction.type === 'generic-probe',);- const bestBrightness = useRef<number | null>(null);-const videoThumbnailRef = useRef<VideoThumbnailRef>(null);- const onVideoThumbnail = useCallback(async (frame: VideoFrame) => {- const brightness = await getBrightnessOfFrame(frame);- const differenceToIdeal = Math.abs(brightness - idealBrightness);- if (- bestBrightness.current === null ||- differenceToIdeal < bestBrightness.current- ) {- bestBrightness.current = differenceToIdeal;- videoThumbnailRef.current?.draw(frame);- }- }, []);-- const onDone = useCallback(() => {- videoThumbnailRef.current?.onDone();- }, []);-const onProgress: ParseMediaOnProgress = useCallback(async ({bytes, percentage}) => {await new Promise((resolve) => {@@ -69,12 +47,6 @@ export const FileAvailable: React.FC<{const [enableRotateOrMirrow, setEnableRotateOrMirror] =useState<RotateOrMirrorState>(() => defaultRotateOrMirorState(routeAction));- const {err} = useThumbnail({- src,- logLevel: 'verbose',- onVideoThumbnail,- onDone,- });const probeResult = useProbe({src,logLevel: 'verbose',@@ -101,7 +73,6 @@ export const FileAvailable: React.FC<{<div className="h-4" /><div className="lg:inline-flex lg:flex-row items-start"><Probe- thumbnailError={err}src={src}probeDetails={probeDetails}setProbeDetails={setProbeDetails}diff --git a/packages/convert/app/components/Probe.tsx b/packages/convert/app/components/Probe.tsxindex 2182a7c99e..2e55743783 100644--- a/packages/convert/app/components/Probe.tsx+++ b/packages/convert/app/components/Probe.tsx@@ -1,6 +1,6 @@/* eslint-disable complexity */import clsx from 'clsx';-import React, {useCallback, useMemo, useState} from 'react';+import React, {useCallback, useMemo, useRef, useState} from 'react';import type {Source} from '~/lib/convert-state';import {isAudioOnly} from '~/lib/is-audio-container';import {useIsNarrow} from '~/lib/is-narrow';@@ -8,7 +8,9 @@ import {useAddFilenameToTitle,useCopyThumbnailToFavicon,} from '~/lib/title-context';+import {useThumbnailAndWaveform} from '~/lib/use-thumbnail';import {AudioTrackOverview} from './AudioTrackOverview';+import {AudioWaveForm} from './AudioWaveform';import {ContainerOverview} from './ContainerOverview';import {EmbeddedImage} from './EmbeddedImage';import {SourceLabel} from './SourceLabel';@@ -16,6 +18,7 @@ import {TrackSwitcher} from './TrackSwitcher';import type {VideoThumbnailRef} from './VideoThumbnail';import {VideoThumbnail} from './VideoThumbnail';import {VideoTrackOverview} from './VideoTrackOverview';+import {getBrightnessOfFrame} from './get-brightness-of-frame';import styles from './probe.module.css';import {Button} from './ui/button';import {Card, CardDescription, CardHeader, CardTitle} from './ui/card';@@ -24,6 +27,8 @@ import {Separator} from './ui/separator';import {Skeleton} from './ui/skeleton';import type {ProbeResult} from './use-probe';+const idealBrightness = 0.8;+export const Probe: React.FC<{readonly src: Source;readonly setProbeDetails: React.Dispatch<React.SetStateAction<boolean>>;@@ -33,7 +38,6 @@ export const Probe: React.FC<{readonly userRotation: number;readonly mirrorHorizontal: boolean;readonly mirrorVertical: boolean;- readonly thumbnailError: Error | null;}> = ({src,probeDetails,@@ -43,8 +47,41 @@ export const Probe: React.FC<{userRotation,mirrorHorizontal,mirrorVertical,- thumbnailError,}) => {+ const [waveform, setWaveform] = useState<number[]>([]);+ const bestBrightness = useRef<number | null>(null);++ const onVideoThumbnail = useCallback(+ async (frame: VideoFrame) => {+ const brightness = await getBrightnessOfFrame(frame);+ const differenceToIdeal = Math.abs(brightness - idealBrightness);+ if (+ bestBrightness.current === null ||+ differenceToIdeal < bestBrightness.current+ ) {+ bestBrightness.current = differenceToIdeal;+ videoThumbnailRef.current?.draw(frame);+ }+ },+ [videoThumbnailRef],+ );++ const onDone = useCallback(() => {+ videoThumbnailRef.current?.onDone();+ }, [videoThumbnailRef]);++ const onWaveformBars = useCallback((bars: number[]) => {+ setWaveform(bars);+ }, []);++ const {err: thumbnailError} = useThumbnailAndWaveform({+ src,+ logLevel: 'verbose',+ onVideoThumbnail,+ onDone,+ onWaveformBars,+ });+const {audioCodec,fps,@@ -110,6 +147,7 @@ export const Probe: React.FC<{initialReveal={false}/>)}+ <AudioWaveForm bars={waveform} /><CardHeader className="p-3 lg:p-4 w-full"><CardTitle title={name ?? undefined}>{name ? (diff --git a/packages/convert/app/components/VideoCodecSelection.tsx b/packages/convert/app/components/VideoCodecSelection.tsxindex 2fb9e8867b..ecca1569cd 100644--- a/packages/convert/app/components/VideoCodecSelection.tsx+++ b/packages/convert/app/components/VideoCodecSelection.tsx@@ -30,6 +30,7 @@ export const VideoCodecSelection: React.FC<{<SelectContent>{videoOperations.map((operation, i) => {return (+ // eslint-disable-next-line react/no-array-index-key<SelectGroup key={i}><SelectItemkey={getVideoOperationId(operation)}diff --git a/packages/convert/app/components/WhyRemotionConvert.tsx b/packages/convert/app/components/WhyRemotionConvert.tsxindex bc575929c3..8dd3cb3eff 100644--- a/packages/convert/app/components/WhyRemotionConvert.tsx+++ b/packages/convert/app/components/WhyRemotionConvert.tsx@@ -32,9 +32,9 @@ export const WhyRemotionConvert: React.FC = () => {Private and offline</div><div className="font-brand text-black/90">- You don't have to upload your video for it to be processed. This- site works completely offline and your video does not leave this- device.+ You don't have to upload your video for it to be processed.+ This site works completely offline and your video does not leave+ this device.<br /></div></div>diff --git a/packages/convert/app/components/use-probe.ts b/packages/convert/app/components/use-probe.tsindex d2b8668ded..7d36f00a59 100644--- a/packages/convert/app/components/use-probe.ts+++ b/packages/convert/app/components/use-probe.ts@@ -171,22 +171,23 @@ export const useProbe = ({images,};}, [+ tracks,audioCodec,- container,- dimensions,fps,name,- size,- tracks,+ container,+ dimensions,videoCodec,+ size,durationInSeconds,+ isHdr,done,error,- isHdr,rotation,metadata,location,keyframes,unrotatedDimensions,+ images,]);};diff --git a/packages/convert/app/lib/render-codec-label.ts b/packages/convert/app/lib/render-codec-label.tsindex f6de243fdf..f7ce5b93be 100644--- a/packages/convert/app/lib/render-codec-label.ts+++ b/packages/convert/app/lib/render-codec-label.ts@@ -90,27 +90,27 @@ export const renderHumanReadableContainer = (container: ParseMediaContainer | ConvertMediaContainer,) => {if (container === 'webm') {- return 'WebM';+ return '.webm';}if (container === 'mp4') {- return 'MP4';+ return '.mp4';}if (container === 'wav') {- return 'WAV';+ return '.wav';}if (container === 'avi') {- return 'AVI';+ return '.avi';}if (container === 'mp3') {- return 'MP3';+ return '.mp3';}if (container === 'transport-stream') {- return 'Transport Stream';+ return '.ts';}throw new Error(`Unknown container ${container satisfies never}`);diff --git a/packages/convert/app/lib/use-thumbnail.ts b/packages/convert/app/lib/use-thumbnail.tsindex 66a2a5efab..eaf7531791 100644--- a/packages/convert/app/lib/use-thumbnail.ts+++ b/packages/convert/app/lib/use-thumbnail.ts@@ -4,20 +4,29 @@ import {fetchReader} from '@remotion/media-parser/fetch';import {webFileReader} from '@remotion/media-parser/web-file';import {useCallback, useEffect, useMemo, useState} from 'react';import type {Source} from './convert-state';+import {makeWaveformVisualizer} from './waveform-visualizer';-export const useThumbnail = ({+export const useThumbnailAndWaveform = ({src,logLevel,onVideoThumbnail,onDone,+ onWaveformBars,}: {src: Source;logLevel: LogLevel;onVideoThumbnail: (videoFrame: VideoFrame) => Promise<void>;+ onWaveformBars: (bars: number[]) => void;onDone: () => void;}) => {const [err, setError] = useState<Error | null>(null);+ const waveform = useMemo(() => {+ return makeWaveformVisualizer({+ onWaveformBars,+ });+ }, [onWaveformBars]);+const execute = useCallback(() => {const abortController = new AbortController();parseMedia({@@ -25,6 +34,41 @@ export const useThumbnail = ({reader: src.type === 'file' ? webFileReader : fetchReader,src: src.type === 'file' ? src.file : src.url,logLevel,+ onDurationInSeconds: (dur) => {+ if (dur !== null) {+ waveform.setDuration(dur);+ }+ },+ onAudioTrack: async ({track}) => {+ if (typeof AudioDecoder === 'undefined') {+ return null;+ }++ const decoder = new AudioDecoder({+ output(frame) {+ waveform.add(frame);+ frame.close();+ },+ error: (error) => {+ // eslint-disable-next-line no-console+ console.log(error);+ setError(error);+ abortController.abort();+ },+ });++ if (!(await AudioDecoder.isConfigSupported(track)).supported) {+ abortController.abort();+ setError(new Error('Audio configuration not supported'));+ return null;+ }++ decoder.configure(track);++ return (sample) => {+ decoder.decode(new EncodedAudioChunk(sample));+ };+ },onVideoTrack: async ({track, container}) => {if (typeof VideoDecoder === 'undefined') {return null;@@ -98,7 +142,7 @@ export const useThumbnail = ({});return abortController;- }, [logLevel, onVideoThumbnail, src]);+ }, [logLevel, onDone, onVideoThumbnail, src, waveform]);useEffect(() => {const task = execute();diff --git a/packages/convert/app/lib/waveform-visualizer.ts b/packages/convert/app/lib/waveform-visualizer.tsnew file mode 100644index 0000000000..0239386cdf--- /dev/null+++ b/packages/convert/app/lib/waveform-visualizer.ts@@ -0,0 +1,38 @@+export const AMOUNT_OF_BARS = 65;++export const makeWaveformVisualizer = (options: {+ onWaveformBars: (bars: number[]) => void;+}) => {+ const bars = {+ values: [] as number[],+ durationInMicroseconds: 0,+ };+ let duration: number | null = null;++ const combinedBars: number[] = [];++ return {+ add: (frame: AudioData) => {+ bars.durationInMicroseconds += frame.duration ?? 0;+ if (duration !== null) {+ const progress = bars.durationInMicroseconds / 1_000_000 / duration;+ const bar = Math.floor(progress * AMOUNT_OF_BARS);+ if (combinedBars.length < bar) {+ const arr = new Uint8Array(+ frame.allocationSize({planeIndex: 0, format: 's16'}),+ );+ frame.copyTo(arr, {planeIndex: 0, format: 's16'});++ const average = arr.reduce((a, b) => a + b, 0) / arr.length;+ bars.values.push(average);++ combinedBars.push(average);+ options.onWaveformBars(combinedBars);+ }+ }+ },+ setDuration: (d: number) => {+ duration = d;+ },+ };+};diff --git a/packages/convert/eslint.config.mjs b/packages/convert/eslint.config.mjsindex fedf94da0b..80763ec8ee 100644--- a/packages/convert/eslint.config.mjs+++ b/packages/convert/eslint.config.mjs@@ -1,6 +1,6 @@import {remotionFlatConfig} from '@remotion/eslint-config-internal';-const config = remotionFlatConfig({react: false});+const config = remotionFlatConfig({react: true});export default {...config,diff --git a/packages/convert/package.json b/packages/convert/package.jsonindex 2614ae3b36..055da82062 100644--- a/packages/convert/package.json+++ b/packages/convert/package.json@@ -45,7 +45,8 @@"postcss": "8.4.47","tailwindcss": "3.4.13","vite": "^5.4.6",- "vite-tsconfig-paths": "^4.2.1"+ "vite-tsconfig-paths": "^4.2.1",+ "@types/dom-webcodecs": "0.1.11"},"engines": {"node": ">=20.0.0"diff --git a/packages/convert/tsconfig.json b/packages/convert/tsconfig.jsonindex 11105109d1..85c6e10a9f 100644--- a/packages/convert/tsconfig.json+++ b/packages/convert/tsconfig.json@@ -11,7 +11,12 @@],"compilerOptions": {"lib": ["WebWorker", "DOM", "DOM.Iterable", "ES2022"],- "types": ["@remix-run/node", "vite/client", "@types/bun"],+ "types": [+ "@remix-run/node",+ "vite/client",+ "@types/bun",+ "@types/dom-webcodecs"+ ],"isolatedModules": true,"esModuleInterop": true,"allowSyntheticDefaultImports": true,diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex 1c3f1ad0e3..7efc5cd796 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -449,6 +449,9 @@ importers:'@remotion/eslint-config-internal':specifier: workspace:*version: link:../eslint-config-internal+ '@types/dom-webcodecs':+ specifier: 0.1.11+ version: 0.1.11autoprefixer:specifier: 10.4.20version: 10.4.20([email protected])@@ -11123,10 +11126,6 @@ packages:/@next/[email protected]:resolution: {integrity: sha512-Hm3jIGsoUl6RLB1vzY+dZeqb+/kWPZ+h34yiWxW0dV87l8Im/eMOwpOA+a0L78U0HM04syEjXuRlCozqpwuojQ==}- /@next/[email protected]:- resolution: {integrity: sha512-Q1tXwQCGWyA3ehMph3VO+E6xFPHDKdHFYosadt0F78EObYxPio0S09H9UGYznDe6Wc8eLKLG89GqcFJJDiK5xw==}- dev: false-/@next/[email protected]:resolution: {integrity: sha512-rbsF17XGzHtR7SDWzWpavSfum3/UdnF8bAaisnKwP//si3KWPTedVUsflAdjyK1zW3rweBjbALfKcavFneLGvg==}dependencies:@@ -11141,15 +11140,6 @@ packages:requiresBuild: trueoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-aZtmIh8jU89DZahXQt1La0f2EMPt/i7W+rG1sLtYJERsP7GRnNFghsciFpQcKHcGh4dUiyTB5C1X3Dde/Gw8gg==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [darwin]- requiresBuild: true- dev: false- optional: true-/@next/[email protected]:resolution: {integrity: sha512-caR62jNDUCU+qobStO6YJ05p9E+LR0EoXh1EEmyU69cYydsAy7drMcOlUlRtQihM6K6QfvNwJuLhsHcCzNpqtA==}engines: {node: '>= 10'}@@ -11158,15 +11148,6 @@ packages:requiresBuild: trueoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-aw8901rjkVBK5mbq5oV32IqkJg+CQa6aULNlN8zyCWSsePzEG3kpDkAFkkTOh3eJ0p95KbkLyWBzslQKamXsLA==}- engines: {node: '>= 10'}- cpu: [x64]- os: [darwin]- requiresBuild: true- dev: false- optional: true-/@next/[email protected]:resolution: {integrity: sha512-fHHXBusURjBmN6VBUtu6/5s7cCeEkuGAb/ZZiGHBLVBXMBy4D5QpM8P33Or8JD1nlOjm/ZT9sEE5HouQ0F+hUA==}engines: {node: '>= 10'}@@ -11175,15 +11156,6 @@ packages:requiresBuild: trueoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-YbdaYjyHa4fPK4GR4k2XgXV0p8vbU1SZh7vv6El4bl9N+ZSiMfbmqCuCuNU1Z4ebJMumafaz6UCC2zaJCsdzjw==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@next/[email protected]:resolution: {integrity: sha512-9CF1Pnivij7+M3G74lxr+e9h6o2YNIe7QtExWq1KUK4hsOLTBv6FJikEwCaC3NeYTflzrm69E5UfwEAbV2U9/g==}engines: {node: '>= 10'}@@ -11192,15 +11164,6 @@ packages:requiresBuild: trueoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-qgH/aRj2xcr4BouwKG3XdqNu33SDadqbkqB6KaZZkozar857upxKakbRllpqZgWl/NDeSCBYPmUAZPBHZpbA0w==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@next/[email protected]:resolution: {integrity: sha512-tINV7WmcTUf4oM/eN3Yuu/f8jQ5C6AkueZPKeALs/qfdfX57eNv4Ij7rt0SA6iZ8+fMobVfcFVv664Op0caCCg==}engines: {node: '>= 10'}@@ -11209,15 +11172,6 @@ packages:requiresBuild: trueoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-uzafnTFwZCPN499fNVnS2xFME8WLC9y7PLRs/yqz5lz1X/ySoxfaK2Hbz74zYUdEg+iDZPd8KlsWaw9HKkLEVw==}- engines: {node: '>= 10'}- cpu: [x64]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@next/[email protected]:resolution: {integrity: sha512-jf2IseC4WRsGkzeUw/cK3wci9pxR53GlLAt30+y+B+2qAQxMw6WAC3QrANIKxkcoPU3JFh/10uFfmoMDF9JXKg==}engines: {node: '>= 10'}@@ -11226,15 +11180,6 @@ packages:requiresBuild: trueoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-el6GUFi4SiDYnMTTlJJFMU+GHvw0UIFnffP1qhurrN1qJV3BqaSRUjkDUgVV44T6zpw1Lc6u+yn0puDKHs+Sbw==}- engines: {node: '>= 10'}- cpu: [x64]- os: [linux]- requiresBuild: true- dev: false- optional: true-/@next/[email protected]:resolution: {integrity: sha512-wvg7MlfnaociP7k8lxLX4s2iBJm4BrNiNFhVUY+Yur5yhAJHfkS8qPPeDEUH8rQiY0PX3u/P7Q/wcg6Mv6GSAA==}engines: {node: '>= 10'}@@ -11243,15 +11188,6 @@ packages:requiresBuild: trueoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-6RxKjvnvVMM89giYGI1qye9ODsBQpHSHVo8vqA8xGhmRPZHDQUE4jcDbhBwK0GnFMqBnu+XMg3nYukNkmLOLWw==}- engines: {node: '>= 10'}- cpu: [arm64]- os: [win32]- requiresBuild: true- dev: false- optional: true-/@next/[email protected]:resolution: {integrity: sha512-D3cNA8NoT3aWISWmo7HF5Eyko/0OdOO+VagkoJuiTk7pyX3P/b+n8XA/MYvyR+xSVcbKn68B1rY9fgqjNISqzQ==}engines: {node: '>= 10'}@@ -11260,15 +11196,6 @@ packages:requiresBuild: trueoptional: true- /@next/[email protected]:- resolution: {integrity: sha512-VId/f5blObG7IodwC5Grf+aYP0O8Saz1/aeU3YcWqNdIUAmFQY3VEPKPaIzfv32F/clvanOb2K2BR5DtDs6XyQ==}- engines: {node: '>= 10'}- cpu: [x64]- os: [win32]- requiresBuild: true- dev: false- optional: true-/@nicolo-ribaudo/[email protected]:resolution: {integrity: sha512-54/JRvkLIzzDWshCWfuhadfrfZVPiElY8Fcgmg1HroEly/EDSszzhBAsarCux+D/kOslTRquNzuyGSmUSTTHGg==}dependencies:@@ -18050,11 +17977,6 @@ packages:type-fest: 1.4.0dev: false- resolution: {integrity: sha512-VxBKmeNcqQdiUQUW2Tzq0t377b54N2bMtXO/qiLa+6eRRmmC4qT3D4OnTGoT/U6O9aklQ/jTwbOtRMTTY8G0Ig==}- deprecated: This package is no longer supported. It's now a built-in Node module. If you've depended on crypto, you should switch to the one that's built-in.- dev: false-resolution: {integrity: sha512-aCU4AZ7uEcVSUzagTlA9pHciz7aWPKA/YzrEkpdSopJ2pvhIxiQ5sYeMz1/KByxlIo4XBdvMNJAVKMg/GRnhfw==}engines: {node: ^14 || ^16 || >=18}@@ -24717,51 +24639,6 @@ packages:- '@babel/core'- babel-plugin-macros- resolution: {integrity: sha512-5igmb8N8AEhWDYzogcJvtcRDU6n4cMGtBklxKD4biYv4LXN8+awc/bbQ2IM2NQHdVPgJ6XumYXfo3hBtErg1DA==}- engines: {node: ^18.18.0 || ^19.8.0 || >= 20.0.0}- hasBin: true- peerDependencies:- '@opentelemetry/api': ^1.1.0- '@playwright/test': ^1.41.2- babel-plugin-react-compiler: '*'- react: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0- react-dom: ^18.2.0 || 19.0.0-rc-de68d2f4-20241204 || ^19.0.0- sass: ^1.3.0- peerDependenciesMeta:- '@opentelemetry/api':- optional: true- '@playwright/test':- optional: true- babel-plugin-react-compiler:- optional: true- sass:- optional: true- dependencies:- '@next/env': 15.1.3- '@swc/counter': 0.1.3- '@swc/helpers': 0.5.15- busboy: 1.6.0- caniuse-lite: 1.0.30001690- postcss: 8.4.31- react: 19.0.0- react-dom: 19.0.0([email protected])- styled-jsx: 5.1.6(@babel/[email protected])([email protected])- optionalDependencies:- '@next/swc-darwin-arm64': 15.1.3- '@next/swc-darwin-x64': 15.1.3- '@next/swc-linux-arm64-gnu': 15.1.3- '@next/swc-linux-arm64-musl': 15.1.3- '@next/swc-linux-x64-gnu': 15.1.3- '@next/swc-linux-x64-musl': 15.1.3- '@next/swc-win32-arm64-msvc': 15.1.3- '@next/swc-win32-x64-msvc': 15.1.3- sharp: 0.33.5- transitivePeerDependencies:- - '@babel/core'- - babel-plugin-macros- dev: false-resolution: {integrity: sha512-YKLBCcUYKAg0FNlOBT6aI91qFmSiFKiluk655WzPF+DDMA02qIyy8uiRqI8QXtcFpEvll12LpL5MXqEmAZ+dcA==}dependencies: