@remotion/promo-pages 4.0.361 → 4.0.363

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 (189) hide show
  1. package/dist/Homepage.js +689 -621
  2. package/dist/Users/jonathanburger/remotion/packages/promo-pages/dist/Homepage.js +689 -621
  3. package/dist/cn.d.ts +2 -0
  4. package/dist/cn.js +5 -0
  5. package/dist/components/Homepage.d.ts +6 -0
  6. package/dist/components/Homepage.js +21 -0
  7. package/dist/components/TeamPicture.d.ts +1 -0
  8. package/dist/components/TeamPicture.js +4 -0
  9. package/dist/components/homepage/BackgroundAnimation.d.ts +2 -0
  10. package/dist/components/homepage/BackgroundAnimation.js +66 -0
  11. package/dist/components/homepage/ChooseTemplate.d.ts +2 -0
  12. package/dist/components/homepage/ChooseTemplate.js +27 -0
  13. package/dist/components/homepage/CommunityStats.d.ts +3 -0
  14. package/dist/components/homepage/CommunityStats.js +6 -0
  15. package/dist/components/homepage/CommunityStatsItems.d.ts +7 -0
  16. package/dist/components/homepage/CommunityStatsItems.js +58 -0
  17. package/dist/components/homepage/Counter.d.ts +9 -0
  18. package/dist/components/homepage/Counter.js +55 -0
  19. package/dist/components/homepage/Demo/Card.d.ts +15 -0
  20. package/dist/components/homepage/Demo/Card.js +174 -0
  21. package/dist/components/homepage/Demo/Cards.d.ts +15 -0
  22. package/dist/components/homepage/Demo/Cards.js +57 -0
  23. package/dist/components/homepage/Demo/Comp.d.ts +38 -0
  24. package/dist/components/homepage/Demo/Comp.js +71 -0
  25. package/dist/components/homepage/Demo/CurrentCountry.d.ts +9 -0
  26. package/dist/components/homepage/Demo/CurrentCountry.js +48 -0
  27. package/dist/components/homepage/Demo/DemoError.d.ts +2 -0
  28. package/dist/components/homepage/Demo/DemoError.js +10 -0
  29. package/dist/components/homepage/Demo/DemoErrorIcon.d.ts +2 -0
  30. package/dist/components/homepage/Demo/DemoErrorIcon.js +16 -0
  31. package/dist/components/homepage/Demo/DemoRender.d.ts +102 -0
  32. package/dist/components/homepage/Demo/DemoRender.js +95 -0
  33. package/dist/components/homepage/Demo/DigitWheel.d.ts +9 -0
  34. package/dist/components/homepage/Demo/DigitWheel.js +94 -0
  35. package/dist/components/homepage/Demo/DisplayedEmoji.d.ts +5 -0
  36. package/dist/components/homepage/Demo/DisplayedEmoji.js +64 -0
  37. package/dist/components/homepage/Demo/DoneCheckmark.d.ts +2 -0
  38. package/dist/components/homepage/Demo/DoneCheckmark.js +20 -0
  39. package/dist/components/homepage/Demo/DownloadNudge.d.ts +2 -0
  40. package/dist/components/homepage/Demo/DownloadNudge.js +27 -0
  41. package/dist/components/homepage/Demo/DragAndDropNudge.d.ts +3 -0
  42. package/dist/components/homepage/Demo/DragAndDropNudge.js +26 -0
  43. package/dist/components/homepage/Demo/EmojiCard.d.ts +10 -0
  44. package/dist/components/homepage/Demo/EmojiCard.js +120 -0
  45. package/dist/components/homepage/Demo/Minus.d.ts +5 -0
  46. package/dist/components/homepage/Demo/Minus.js +11 -0
  47. package/dist/components/homepage/Demo/PlayPauseButton.d.ts +5 -0
  48. package/dist/components/homepage/Demo/PlayPauseButton.js +47 -0
  49. package/dist/components/homepage/Demo/PlayerControls.d.ts +8 -0
  50. package/dist/components/homepage/Demo/PlayerControls.js +15 -0
  51. package/dist/components/homepage/Demo/PlayerSeekBar.d.ts +11 -0
  52. package/dist/components/homepage/Demo/PlayerSeekBar.js +216 -0
  53. package/dist/components/homepage/Demo/PlayerVolume.d.ts +5 -0
  54. package/dist/components/homepage/Demo/PlayerVolume.js +53 -0
  55. package/dist/components/homepage/Demo/Progress.d.ts +4 -0
  56. package/dist/components/homepage/Demo/Progress.js +14 -0
  57. package/dist/components/homepage/Demo/Spinner.d.ts +5 -0
  58. package/dist/components/homepage/Demo/Spinner.js +37 -0
  59. package/dist/components/homepage/Demo/Switcher.d.ts +6 -0
  60. package/dist/components/homepage/Demo/Switcher.js +25 -0
  61. package/dist/components/homepage/Demo/Temperature.d.ts +6 -0
  62. package/dist/components/homepage/Demo/Temperature.js +21 -0
  63. package/dist/components/homepage/Demo/TemperatureNumber.d.ts +5 -0
  64. package/dist/components/homepage/Demo/TemperatureNumber.js +36 -0
  65. package/dist/components/homepage/Demo/ThemeNudge.d.ts +3 -0
  66. package/dist/components/homepage/Demo/ThemeNudge.js +35 -0
  67. package/dist/components/homepage/Demo/TimeDisplay.d.ts +6 -0
  68. package/dist/components/homepage/Demo/TimeDisplay.js +27 -0
  69. package/dist/components/homepage/Demo/TrendingRepos.d.ts +6 -0
  70. package/dist/components/homepage/Demo/TrendingRepos.js +65 -0
  71. package/dist/components/homepage/Demo/icons.d.ts +10 -0
  72. package/dist/components/homepage/Demo/icons.js +22 -0
  73. package/dist/components/homepage/Demo/index.d.ts +2 -0
  74. package/dist/components/homepage/Demo/index.js +95 -0
  75. package/dist/components/homepage/Demo/math.d.ts +10 -0
  76. package/dist/components/homepage/Demo/math.js +29 -0
  77. package/dist/components/homepage/Demo/types.d.ts +6 -0
  78. package/dist/components/homepage/Demo/types.js +0 -0
  79. package/dist/components/homepage/EditorStarterSection.d.ts +3 -0
  80. package/dist/components/homepage/EditorStarterSection.js +8 -0
  81. package/dist/components/homepage/EvaluateRemotion.d.ts +3 -0
  82. package/dist/components/homepage/EvaluateRemotion.js +38 -0
  83. package/dist/components/homepage/FreePricing.d.ts +4 -0
  84. package/dist/components/homepage/FreePricing.js +69 -0
  85. package/dist/components/homepage/GetStartedStrip.d.ts +2 -0
  86. package/dist/components/homepage/GetStartedStrip.js +14 -0
  87. package/dist/components/homepage/GitHubButton.d.ts +2 -0
  88. package/dist/components/homepage/GitHubButton.js +7 -0
  89. package/dist/components/homepage/IconForTemplate.d.ts +6 -0
  90. package/dist/components/homepage/IconForTemplate.js +98 -0
  91. package/dist/components/homepage/IfYouKnowReact.d.ts +3 -0
  92. package/dist/components/homepage/IfYouKnowReact.js +23 -0
  93. package/dist/components/homepage/InfoTooltip.d.ts +6 -0
  94. package/dist/components/homepage/InfoTooltip.js +6 -0
  95. package/dist/components/homepage/MoreTemplatesButton.d.ts +2 -0
  96. package/dist/components/homepage/MoreTemplatesButton.js +10 -0
  97. package/dist/components/homepage/MoreVideoPowerSection.d.ts +2 -0
  98. package/dist/components/homepage/MoreVideoPowerSection.js +16 -0
  99. package/dist/components/homepage/MuxVideo.d.ts +7 -0
  100. package/dist/components/homepage/MuxVideo.js +45 -0
  101. package/dist/components/homepage/NewsletterButton.d.ts +2 -0
  102. package/dist/components/homepage/NewsletterButton.js +39 -0
  103. package/dist/components/homepage/ParameterizeAndEdit.d.ts +2 -0
  104. package/dist/components/homepage/ParameterizeAndEdit.js +22 -0
  105. package/dist/components/homepage/Pricing.d.ts +2 -0
  106. package/dist/components/homepage/Pricing.js +15 -0
  107. package/dist/components/homepage/PricingBulletPoint.d.ts +6 -0
  108. package/dist/components/homepage/PricingBulletPoint.js +19 -0
  109. package/dist/components/homepage/RealMp4Videos.d.ts +2 -0
  110. package/dist/components/homepage/RealMp4Videos.js +41 -0
  111. package/dist/components/homepage/Spacer.d.ts +2 -0
  112. package/dist/components/homepage/Spacer.js +4 -0
  113. package/dist/components/homepage/TemplateIcon.d.ts +5 -0
  114. package/dist/components/homepage/TemplateIcon.js +24 -0
  115. package/dist/components/homepage/TextInput.d.ts +7 -0
  116. package/dist/components/homepage/TextInput.js +34 -0
  117. package/dist/components/homepage/TrustedByBanner.d.ts +2 -0
  118. package/dist/components/homepage/TrustedByBanner.js +27 -0
  119. package/dist/components/homepage/VideoApps.d.ts +4 -0
  120. package/dist/components/homepage/VideoApps.js +72 -0
  121. package/dist/components/homepage/VideoAppsShowcase.d.ts +3 -0
  122. package/dist/components/homepage/VideoAppsShowcase.js +133 -0
  123. package/dist/components/homepage/VideoAppsTitle.d.ts +4 -0
  124. package/dist/components/homepage/VideoAppsTitle.js +4 -0
  125. package/dist/components/homepage/VideoPlayerWithControls.d.ts +20 -0
  126. package/dist/components/homepage/VideoPlayerWithControls.js +105 -0
  127. package/dist/components/homepage/WriteInReact.d.ts +2 -0
  128. package/dist/components/homepage/WriteInReact.js +10 -0
  129. package/dist/components/homepage/YouAreHere.d.ts +2 -0
  130. package/dist/components/homepage/YouAreHere.js +23 -0
  131. package/dist/components/homepage/layout/Button.d.ts +19 -0
  132. package/dist/components/homepage/layout/Button.js +29 -0
  133. package/dist/components/homepage/layout/colors.d.ts +13 -0
  134. package/dist/components/homepage/layout/colors.js +14 -0
  135. package/dist/components/homepage/layout/use-color-mode.d.ts +21 -0
  136. package/dist/components/homepage/layout/use-color-mode.js +22 -0
  137. package/dist/components/homepage/layout/use-el-size.d.ts +5 -0
  138. package/dist/components/homepage/layout/use-el-size.js +40 -0
  139. package/dist/components/homepage/layout/use-mobile-layout.d.ts +1 -0
  140. package/dist/components/homepage/layout/use-mobile-layout.js +6 -0
  141. package/dist/components/icons/blank.d.ts +3 -0
  142. package/dist/components/icons/blank.js +4 -0
  143. package/dist/components/icons/clone.d.ts +2 -0
  144. package/dist/components/icons/clone.js +2 -0
  145. package/dist/components/icons/code-hike.d.ts +3 -0
  146. package/dist/components/icons/code-hike.js +4 -0
  147. package/dist/components/icons/cubes.d.ts +3 -0
  148. package/dist/components/icons/cubes.js +4 -0
  149. package/dist/components/icons/js.d.ts +3 -0
  150. package/dist/components/icons/js.js +4 -0
  151. package/dist/components/icons/music.d.ts +2 -0
  152. package/dist/components/icons/music.js +4 -0
  153. package/dist/components/icons/next.d.ts +4 -0
  154. package/dist/components/icons/next.js +4 -0
  155. package/dist/components/icons/overlay.d.ts +3 -0
  156. package/dist/components/icons/overlay.js +4 -0
  157. package/dist/components/icons/recorder.d.ts +3 -0
  158. package/dist/components/icons/recorder.js +4 -0
  159. package/dist/components/icons/remix.d.ts +3 -0
  160. package/dist/components/icons/remix.js +4 -0
  161. package/dist/components/icons/skia.d.ts +3 -0
  162. package/dist/components/icons/skia.js +4 -0
  163. package/dist/components/icons/stargazer.d.ts +3 -0
  164. package/dist/components/icons/stargazer.js +4 -0
  165. package/dist/components/icons/still.d.ts +3 -0
  166. package/dist/components/icons/still.js +4 -0
  167. package/dist/components/icons/tailwind.d.ts +3 -0
  168. package/dist/components/icons/tailwind.js +4 -0
  169. package/dist/components/icons/tiktok.d.ts +3 -0
  170. package/dist/components/icons/tiktok.js +4 -0
  171. package/dist/components/icons/ts.d.ts +3 -0
  172. package/dist/components/icons/ts.js +4 -0
  173. package/dist/components/icons/tts.d.ts +3 -0
  174. package/dist/components/icons/tts.js +4 -0
  175. package/dist/components/icons/undo.d.ts +3 -0
  176. package/dist/components/icons/undo.js +2 -0
  177. package/dist/components/icons/waveform.d.ts +3 -0
  178. package/dist/components/icons/waveform.js +4 -0
  179. package/dist/components/team/TeamCards.d.ts +6 -0
  180. package/dist/components/team/TeamCards.js +19 -0
  181. package/dist/components/team/TitleTeamCards.d.ts +2 -0
  182. package/dist/components/team/TitleTeamCards.js +6 -0
  183. package/dist/components/team.d.ts +3 -0
  184. package/dist/components/team.js +14 -0
  185. package/dist/main.d.ts +1 -0
  186. package/dist/main.js +6 -0
  187. package/dist/team.d.ts +1 -0
  188. package/package.json +10 -10
  189. package/src/components/homepage/VideoPlayerWithControls.tsx +1 -0
package/dist/Homepage.js CHANGED
@@ -20,6 +20,7 @@ var __require = /* @__PURE__ */ ((x) => typeof require !== "undefined" ? require
20
20
  // ../core/dist/esm/index.mjs
21
21
  import { createContext } from "react";
22
22
  import React4 from "react";
23
+ import JsxRuntime from "react/jsx-runtime";
23
24
  import { createContext as createContext2, useContext } from "react";
24
25
  import { jsx as jsx10 } from "react/jsx-runtime";
25
26
  import {
@@ -188,54 +189,56 @@ import { jsx as jsx25 } from "react/jsx-runtime";
188
189
  import {
189
190
  useEffect as useEffect18,
190
191
  useLayoutEffect as useLayoutEffect8,
191
- useMemo as useMemo25,
192
+ useMemo as useMemo26,
192
193
  useRef as useRef15,
193
194
  useState as useState17
194
195
  } from "react";
196
+ import { createContext as createContext18, useContext as useContext30, useMemo as useMemo25 } from "react";
195
197
  import { jsx as jsx26 } from "react/jsx-runtime";
196
- import React26, { createContext as createContext18 } from "react";
198
+ import { jsx as jsx27 } from "react/jsx-runtime";
199
+ import React26, { createContext as createContext19 } from "react";
197
200
  import { useCallback as useCallback16 } from "react";
198
201
  import {
199
202
  useCallback as useCallback15,
200
- useContext as useContext30,
203
+ useContext as useContext31,
201
204
  useEffect as useEffect19,
202
205
  useLayoutEffect as useLayoutEffect9,
203
- useMemo as useMemo26,
206
+ useMemo as useMemo27,
204
207
  useState as useState18
205
208
  } from "react";
206
- import { jsx as jsx27 } from "react/jsx-runtime";
209
+ import { jsx as jsx28 } from "react/jsx-runtime";
207
210
  import {
208
211
  forwardRef as forwardRef9,
209
- useContext as useContext31,
212
+ useContext as useContext32,
210
213
  useEffect as useEffect21,
211
214
  useImperativeHandle as useImperativeHandle9,
212
- useMemo as useMemo27,
215
+ useMemo as useMemo28,
213
216
  useRef as useRef16,
214
217
  useState as useState19
215
218
  } from "react";
216
219
  import { useEffect as useEffect20 } from "react";
217
- import { jsx as jsx28 } from "react/jsx-runtime";
218
220
  import { jsx as jsx29 } from "react/jsx-runtime";
219
- import React30, { useMemo as useMemo28 } from "react";
220
221
  import { jsx as jsx30 } from "react/jsx-runtime";
221
- import { Children, forwardRef as forwardRef10, useMemo as useMemo29 } from "react";
222
- import React31 from "react";
223
- import React322, { createContext as createContext19 } from "react";
222
+ import React30, { useMemo as useMemo29 } from "react";
224
223
  import { jsx as jsx31 } from "react/jsx-runtime";
224
+ import { Children, forwardRef as forwardRef10, useMemo as useMemo30 } from "react";
225
+ import React31 from "react";
226
+ import React322, { createContext as createContext20 } from "react";
225
227
  import { jsx as jsx322 } from "react/jsx-runtime";
228
+ import { jsx as jsx33 } from "react/jsx-runtime";
226
229
  import React34 from "react";
227
- import { forwardRef as forwardRef12, useCallback as useCallback17, useContext as useContext33 } from "react";
230
+ import { forwardRef as forwardRef12, useCallback as useCallback17, useContext as useContext34 } from "react";
228
231
  import {
229
232
  forwardRef as forwardRef11,
230
- useContext as useContext32,
233
+ useContext as useContext33,
231
234
  useEffect as useEffect222,
232
235
  useImperativeHandle as useImperativeHandle10,
233
236
  useLayoutEffect as useLayoutEffect10,
234
- useMemo as useMemo30,
237
+ useMemo as useMemo31,
235
238
  useRef as useRef17
236
239
  } from "react";
237
- import { jsx as jsx33 } from "react/jsx-runtime";
238
240
  import { jsx as jsx34 } from "react/jsx-runtime";
241
+ import { jsx as jsx35 } from "react/jsx-runtime";
239
242
  function getNodeEnvString() {
240
243
  return ["NOD", "E_EN", "V"].join("");
241
244
  }
@@ -452,7 +455,7 @@ function useRemotionContexts() {
452
455
  const sequenceManagerContext = React30.useContext(SequenceManager);
453
456
  const bufferManagerContext = React30.useContext(BufferingContextReact);
454
457
  const logLevelContext = React30.useContext(LogLevelContext);
455
- return useMemo28(() => ({
458
+ return useMemo29(() => ({
456
459
  compositionManagerCtx,
457
460
  timelineContext,
458
461
  setTimelineContext,
@@ -710,11 +713,8 @@ var __defProp2, __export2 = (target, all) => {
710
713
  isReadOnlyStudio,
711
714
  isClientSideRendering: false
712
715
  };
713
- }, originalCreateElement, componentsToAddStacksTo, enableSequenceStackTraces = () => {
714
- if (!getRemotionEnvironment().isStudio) {
715
- return;
716
- }
717
- const proxy = new Proxy(originalCreateElement, {
716
+ }, originalCreateElement, originalJsx, componentsToAddStacksTo, enableProxy = (api) => {
717
+ return new Proxy(api, {
718
718
  apply(target, thisArg, argArray) {
719
719
  if (componentsToAddStacksTo.includes(argArray[0])) {
720
720
  const [first, props, ...rest] = argArray;
@@ -727,7 +727,12 @@ var __defProp2, __export2 = (target, all) => {
727
727
  return Reflect.apply(target, thisArg, argArray);
728
728
  }
729
729
  });
730
- React4.createElement = proxy;
730
+ }, enableSequenceStackTraces = () => {
731
+ if (!getRemotionEnvironment().isStudio) {
732
+ return;
733
+ }
734
+ React4.createElement = enableProxy(originalCreateElement);
735
+ JsxRuntime.jsx = enableProxy(originalJsx);
731
736
  }, addSequenceStackTraces = (component) => {
732
737
  componentsToAddStacksTo.push(component);
733
738
  enableSequenceStackTraces();
@@ -740,7 +745,7 @@ var __defProp2, __export2 = (target, all) => {
740
745
  });
741
746
  }, useIsPlayer = () => {
742
747
  return useContext(IsPlayerContext);
743
- }, VERSION = "4.0.361", checkMultipleRemotionVersions = () => {
748
+ }, VERSION = "4.0.363", checkMultipleRemotionVersions = () => {
744
749
  if (typeof globalThis === "undefined") {
745
750
  return;
746
751
  }
@@ -939,6 +944,23 @@ Check that all your Remotion packages are on the same version. If your dependenc
939
944
  value: ctx,
940
945
  children
941
946
  });
947
+ }, getKey = () => {
948
+ return `remotion_inputPropsOverride` + window.location.origin;
949
+ }, getInputPropsOverride = () => {
950
+ if (typeof localStorage === "undefined")
951
+ return null;
952
+ const override = localStorage.getItem(getKey());
953
+ if (!override)
954
+ return null;
955
+ return JSON.parse(override);
956
+ }, setInputPropsOverride = (override) => {
957
+ if (typeof localStorage === "undefined")
958
+ return;
959
+ if (override === null) {
960
+ localStorage.removeItem(getKey());
961
+ return;
962
+ }
963
+ localStorage.setItem(getKey(), JSON.stringify(override));
942
964
  }, DATE_TOKEN = "remotion-date:", FILE_TOKEN = "remotion-file:", serializeJSONWithSpecialTypes = ({
943
965
  data,
944
966
  indent,
@@ -1010,6 +1032,10 @@ Check that all your Remotion packages are on the same version. If your dependenc
1010
1032
  if (getRemotionEnvironment().isPlayer) {
1011
1033
  throw new Error("You cannot call `getInputProps()` from a <Player>. Instead, the props are available as React props from component that you passed as `component` prop.");
1012
1034
  }
1035
+ const override = getInputPropsOverride();
1036
+ if (override) {
1037
+ return override;
1038
+ }
1013
1039
  const param = window.remotion_inputProps;
1014
1040
  if (!param) {
1015
1041
  return {};
@@ -1910,7 +1936,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
1910
1936
  if (getRemotionEnvironment().isRendering && !getRemotionEnvironment().isClientSideRendering) {
1911
1937
  arr.unshift(Symbol.for(`__remotion_level_${logLevel}`));
1912
1938
  }
1913
- if (tag) {
1939
+ if (tag && getRemotionEnvironment().isRendering && !getRemotionEnvironment().isClientSideRendering) {
1914
1940
  arr.unshift(Symbol.for(`__remotion_tag_${tag}`));
1915
1941
  }
1916
1942
  return arr;
@@ -5007,7 +5033,9 @@ Check that all your Remotion packages are on the same version. If your dependenc
5007
5033
  onImageFrame?.(current);
5008
5034
  }
5009
5035
  unblock();
5010
- continueRender2(newHandle);
5036
+ requestAnimationFrame(() => {
5037
+ continueRender2(newHandle);
5038
+ });
5011
5039
  };
5012
5040
  if (!imageRef.current) {
5013
5041
  onComplete();
@@ -5221,13 +5249,43 @@ Check that all your Remotion packages are on the same version. If your dependenc
5221
5249
  return () => {
5222
5250
  listeners = listeners.filter((l) => l !== fn);
5223
5251
  };
5252
+ }, MediaEnabledContext, useVideoEnabled = () => {
5253
+ const context = useContext30(MediaEnabledContext);
5254
+ if (!context) {
5255
+ return window.remotion_videoEnabled;
5256
+ }
5257
+ if (context.videoEnabled === null) {
5258
+ return window.remotion_videoEnabled;
5259
+ }
5260
+ return context.videoEnabled;
5261
+ }, useAudioEnabled = () => {
5262
+ const context = useContext30(MediaEnabledContext);
5263
+ if (!context) {
5264
+ return window.remotion_audioEnabled;
5265
+ }
5266
+ if (context.audioEnabled === null) {
5267
+ return window.remotion_audioEnabled;
5268
+ }
5269
+ return context.audioEnabled;
5270
+ }, MediaEnabledProvider = ({
5271
+ children,
5272
+ videoEnabled,
5273
+ audioEnabled
5274
+ }) => {
5275
+ const value = useMemo25(() => ({ videoEnabled, audioEnabled }), [videoEnabled, audioEnabled]);
5276
+ return /* @__PURE__ */ jsx26(MediaEnabledContext.Provider, {
5277
+ value,
5278
+ children
5279
+ });
5224
5280
  }, RemotionRoot = ({
5225
5281
  children,
5226
5282
  numberOfAudioTags,
5227
5283
  logLevel,
5228
5284
  onlyRenderComposition,
5229
5285
  currentCompositionMetadata,
5230
- audioLatencyHint
5286
+ audioLatencyHint,
5287
+ videoEnabled,
5288
+ audioEnabled
5231
5289
  }) => {
5232
5290
  const [remotionRootId] = useState17(() => String(random(null)));
5233
5291
  const [frame, setFrame] = useState17(() => getInitialFrameState());
@@ -5264,7 +5322,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
5264
5322
  window.remotion_isPlayer = false;
5265
5323
  }, [continueRender2, delayRender2]);
5266
5324
  }
5267
- const timelineContextValue = useMemo25(() => {
5325
+ const timelineContextValue = useMemo26(() => {
5268
5326
  return {
5269
5327
  frame,
5270
5328
  playing,
@@ -5275,13 +5333,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
5275
5333
  audioAndVideoTags
5276
5334
  };
5277
5335
  }, [frame, playbackRate, playing, remotionRootId]);
5278
- const setTimelineContextValue = useMemo25(() => {
5336
+ const setTimelineContextValue = useMemo26(() => {
5279
5337
  return {
5280
5338
  setFrame,
5281
5339
  setPlaying
5282
5340
  };
5283
5341
  }, []);
5284
- const nonceContext = useMemo25(() => {
5342
+ const nonceContext = useMemo26(() => {
5285
5343
  let counter = 0;
5286
5344
  return {
5287
5345
  getNonce: () => counter++,
@@ -5289,7 +5347,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
5289
5347
  manualRefreshes
5290
5348
  };
5291
5349
  }, [fastRefreshes, manualRefreshes]);
5292
- const setNonceContext = useMemo25(() => {
5350
+ const setNonceContext = useMemo26(() => {
5293
5351
  return {
5294
5352
  increaseManualRefreshes: () => {
5295
5353
  setManualRefreshes((i) => i + 1);
@@ -5307,29 +5365,33 @@ Check that all your Remotion packages are on the same version. If your dependenc
5307
5365
  }
5308
5366
  }
5309
5367
  }, []);
5310
- const logging = useMemo25(() => {
5368
+ const logging = useMemo26(() => {
5311
5369
  return { logLevel, mountTime: Date.now() };
5312
5370
  }, [logLevel]);
5313
- return /* @__PURE__ */ jsx26(LogLevelContext.Provider, {
5371
+ return /* @__PURE__ */ jsx27(LogLevelContext.Provider, {
5314
5372
  value: logging,
5315
- children: /* @__PURE__ */ jsx26(NonceContext.Provider, {
5373
+ children: /* @__PURE__ */ jsx27(NonceContext.Provider, {
5316
5374
  value: nonceContext,
5317
- children: /* @__PURE__ */ jsx26(SetNonceContext.Provider, {
5375
+ children: /* @__PURE__ */ jsx27(SetNonceContext.Provider, {
5318
5376
  value: setNonceContext,
5319
- children: /* @__PURE__ */ jsx26(TimelineContext.Provider, {
5377
+ children: /* @__PURE__ */ jsx27(TimelineContext.Provider, {
5320
5378
  value: timelineContextValue,
5321
- children: /* @__PURE__ */ jsx26(SetTimelineContext.Provider, {
5379
+ children: /* @__PURE__ */ jsx27(SetTimelineContext.Provider, {
5322
5380
  value: setTimelineContextValue,
5323
- children: /* @__PURE__ */ jsx26(EditorPropsProvider, {
5324
- children: /* @__PURE__ */ jsx26(PrefetchProvider, {
5325
- children: /* @__PURE__ */ jsx26(CompositionManagerProvider, {
5326
- numberOfAudioTags,
5327
- onlyRenderComposition,
5328
- currentCompositionMetadata,
5329
- audioLatencyHint,
5330
- children: /* @__PURE__ */ jsx26(DurationsContextProvider, {
5331
- children: /* @__PURE__ */ jsx26(BufferingProvider, {
5332
- children
5381
+ children: /* @__PURE__ */ jsx27(MediaEnabledProvider, {
5382
+ videoEnabled,
5383
+ audioEnabled,
5384
+ children: /* @__PURE__ */ jsx27(EditorPropsProvider, {
5385
+ children: /* @__PURE__ */ jsx27(PrefetchProvider, {
5386
+ children: /* @__PURE__ */ jsx27(CompositionManagerProvider, {
5387
+ numberOfAudioTags,
5388
+ onlyRenderComposition,
5389
+ currentCompositionMetadata,
5390
+ audioLatencyHint,
5391
+ children: /* @__PURE__ */ jsx27(DurationsContextProvider, {
5392
+ children: /* @__PURE__ */ jsx27(BufferingProvider, {
5393
+ children
5394
+ })
5333
5395
  })
5334
5396
  })
5335
5397
  })
@@ -5409,13 +5471,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
5409
5471
  const frame = useCurrentFrame();
5410
5472
  const volumePropsFrame = useFrameForVolumeProp(loopVolumeCurveBehavior);
5411
5473
  const videoConfig = useUnsafeVideoConfig();
5412
- const sequenceContext = useContext30(SequenceContext);
5474
+ const sequenceContext = useContext31(SequenceContext);
5413
5475
  const mediaStartsAt = useMediaStartsAt();
5414
- const { registerRenderAsset, unregisterRenderAsset } = useContext30(RenderAssetManager);
5476
+ const { registerRenderAsset, unregisterRenderAsset } = useContext31(RenderAssetManager);
5415
5477
  if (!src) {
5416
5478
  throw new TypeError("No `src` was passed to <OffthreadVideo>.");
5417
5479
  }
5418
- const id = useMemo26(() => `offthreadvideo-${random(src)}-${sequenceContext?.cumulatedFrom}-${sequenceContext?.relativeFrom}-${sequenceContext?.durationInFrames}`, [
5480
+ const id = useMemo27(() => `offthreadvideo-${random(src)}-${sequenceContext?.cumulatedFrom}-${sequenceContext?.relativeFrom}-${sequenceContext?.durationInFrames}`, [
5419
5481
  src,
5420
5482
  sequenceContext?.cumulatedFrom,
5421
5483
  sequenceContext?.relativeFrom,
@@ -5470,14 +5532,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
5470
5532
  sequenceContext?.relativeFrom,
5471
5533
  audioStreamIndex
5472
5534
  ]);
5473
- const currentTime = useMemo26(() => {
5535
+ const currentTime = useMemo27(() => {
5474
5536
  return getExpectedMediaFrameUncorrected({
5475
5537
  frame,
5476
5538
  playbackRate: playbackRate || 1,
5477
5539
  startFrom: -mediaStartsAt
5478
5540
  }) / videoConfig.fps;
5479
5541
  }, [frame, mediaStartsAt, playbackRate, videoConfig.fps]);
5480
- const actualSrc = useMemo26(() => {
5542
+ const actualSrc = useMemo27(() => {
5481
5543
  return getOffthreadVideoSource({
5482
5544
  src,
5483
5545
  currentTime,
@@ -5565,7 +5627,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
5565
5627
  cancelRender("Failed to load image with src " + imageSrc);
5566
5628
  }
5567
5629
  }, [imageSrc, onError]);
5568
- const className = useMemo26(() => {
5630
+ const className = useMemo27(() => {
5569
5631
  return [OBJECTFIT_CONTAIN_CLASS_NAME, props2.className].filter(truthy).join(" ");
5570
5632
  }, [props2.className]);
5571
5633
  const onImageFrame = useCallback15((img) => {
@@ -5577,7 +5639,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
5577
5639
  return null;
5578
5640
  }
5579
5641
  continueRender2(imageSrc.handle);
5580
- return /* @__PURE__ */ jsx27(Img, {
5642
+ return /* @__PURE__ */ jsx28(Img, {
5581
5643
  src: imageSrc.src,
5582
5644
  delayRenderRetries,
5583
5645
  delayRenderTimeoutInMilliseconds,
@@ -5612,12 +5674,12 @@ Check that all your Remotion packages are on the same version. If your dependenc
5612
5674
  };
5613
5675
  }, [onVideoFrame, ref]);
5614
5676
  }, VideoForDevelopmentRefForwardingFunction = (props2, ref) => {
5615
- const context = useContext31(SharedAudioContext);
5677
+ const context = useContext32(SharedAudioContext);
5616
5678
  if (!context) {
5617
5679
  throw new Error("SharedAudioContext not found");
5618
5680
  }
5619
5681
  const videoRef = useRef16(null);
5620
- const sharedSource = useMemo27(() => {
5682
+ const sharedSource = useMemo28(() => {
5621
5683
  if (!context.audioContext) {
5622
5684
  return null;
5623
5685
  }
@@ -5660,8 +5722,8 @@ Check that all your Remotion packages are on the same version. If your dependenc
5660
5722
  }
5661
5723
  const volumePropFrame = useFrameForVolumeProp(loopVolumeCurveBehavior ?? "repeat");
5662
5724
  const { fps, durationInFrames } = useVideoConfig();
5663
- const parentSequence = useContext31(SequenceContext);
5664
- const { hidden } = useContext31(SequenceVisibilityToggleContext);
5725
+ const parentSequence = useContext32(SequenceContext);
5726
+ const { hidden } = useContext32(SequenceVisibilityToggleContext);
5665
5727
  const logLevel = useLogLevel();
5666
5728
  const mountTime = useMountTime();
5667
5729
  const [timelineId] = useState19(() => String(Math.random()));
@@ -5795,7 +5857,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
5795
5857
  current.preload = "auto";
5796
5858
  }
5797
5859
  }, []);
5798
- const actualStyle = useMemo27(() => {
5860
+ const actualStyle = useMemo28(() => {
5799
5861
  return {
5800
5862
  ...style,
5801
5863
  opacity: isSequenceHidden ? 0 : style?.opacity ?? 1
@@ -5805,7 +5867,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
5805
5867
  crossOrigin,
5806
5868
  requestsVideoFrame: Boolean(onVideoFrame)
5807
5869
  });
5808
- return /* @__PURE__ */ jsx28("video", {
5870
+ return /* @__PURE__ */ jsx29("video", {
5809
5871
  ref: videoRef,
5810
5872
  muted: muted || mediaMuted || isSequenceHidden || userPreferredVolume <= 0,
5811
5873
  playsInline: true,
@@ -5843,13 +5905,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
5843
5905
  trimAfter
5844
5906
  });
5845
5907
  if (typeof trimBeforeValue !== "undefined" || typeof trimAfterValue !== "undefined") {
5846
- return /* @__PURE__ */ jsx29(Sequence, {
5908
+ return /* @__PURE__ */ jsx30(Sequence, {
5847
5909
  layout: "none",
5848
5910
  from: 0 - (trimBeforeValue ?? 0),
5849
5911
  showInTimeline: false,
5850
5912
  durationInFrames: trimAfterValue,
5851
5913
  name,
5852
- children: /* @__PURE__ */ jsx29(InnerOffthreadVideo, {
5914
+ children: /* @__PURE__ */ jsx30(InnerOffthreadVideo, {
5853
5915
  pauseWhenBuffering: pauseWhenBuffering ?? false,
5854
5916
  ...otherProps,
5855
5917
  trimAfter: undefined,
@@ -5864,7 +5926,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
5864
5926
  }
5865
5927
  validateMediaProps(props2, "Video");
5866
5928
  if (environment.isRendering) {
5867
- return /* @__PURE__ */ jsx29(OffthreadVideoForRendering, {
5929
+ return /* @__PURE__ */ jsx30(OffthreadVideoForRendering, {
5868
5930
  pauseWhenBuffering: pauseWhenBuffering ?? false,
5869
5931
  ...otherProps,
5870
5932
  trimAfter: undefined,
@@ -5886,7 +5948,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
5886
5948
  delayRenderTimeoutInMilliseconds,
5887
5949
  ...propsForPreview
5888
5950
  } = otherProps;
5889
- return /* @__PURE__ */ jsx29(VideoForPreview, {
5951
+ return /* @__PURE__ */ jsx30(VideoForPreview, {
5890
5952
  _remotionInternalStack: stack ?? null,
5891
5953
  onDuration,
5892
5954
  onlyWarnForMediaSeekingError: true,
@@ -5934,7 +5996,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
5934
5996
  if (imageFormat) {
5935
5997
  throw new TypeError(`The \`<OffthreadVideo>\` tag does no longer accept \`imageFormat\`. Use the \`transparent\` prop if you want to render a transparent video.`);
5936
5998
  }
5937
- return /* @__PURE__ */ jsx29(InnerOffthreadVideo, {
5999
+ return /* @__PURE__ */ jsx30(InnerOffthreadVideo, {
5938
6000
  acceptableTimeShiftInSeconds,
5939
6001
  allowAmplificationDuringRender: allowAmplificationDuringRender ?? true,
5940
6002
  audioStreamIndex: audioStreamIndex ?? 0,
@@ -5968,29 +6030,29 @@ Check that all your Remotion packages are on the same version. If your dependenc
5968
6030
  });
5969
6031
  }, WATCH_REMOTION_STATIC_FILES = "remotion_staticFilesChanged", RemotionContextProvider = (props2) => {
5970
6032
  const { children, contexts } = props2;
5971
- return /* @__PURE__ */ jsx30(LogLevelContext.Provider, {
6033
+ return /* @__PURE__ */ jsx31(LogLevelContext.Provider, {
5972
6034
  value: contexts.logLevelContext,
5973
- children: /* @__PURE__ */ jsx30(CanUseRemotionHooks.Provider, {
6035
+ children: /* @__PURE__ */ jsx31(CanUseRemotionHooks.Provider, {
5974
6036
  value: contexts.canUseRemotionHooksContext,
5975
- children: /* @__PURE__ */ jsx30(NonceContext.Provider, {
6037
+ children: /* @__PURE__ */ jsx31(NonceContext.Provider, {
5976
6038
  value: contexts.nonceContext,
5977
- children: /* @__PURE__ */ jsx30(PreloadContext.Provider, {
6039
+ children: /* @__PURE__ */ jsx31(PreloadContext.Provider, {
5978
6040
  value: contexts.preloadContext,
5979
- children: /* @__PURE__ */ jsx30(CompositionManager.Provider, {
6041
+ children: /* @__PURE__ */ jsx31(CompositionManager.Provider, {
5980
6042
  value: contexts.compositionManagerCtx,
5981
- children: /* @__PURE__ */ jsx30(SequenceManager.Provider, {
6043
+ children: /* @__PURE__ */ jsx31(SequenceManager.Provider, {
5982
6044
  value: contexts.sequenceManagerContext,
5983
- children: /* @__PURE__ */ jsx30(RenderAssetManager.Provider, {
6045
+ children: /* @__PURE__ */ jsx31(RenderAssetManager.Provider, {
5984
6046
  value: contexts.renderAssetManagerContext,
5985
- children: /* @__PURE__ */ jsx30(ResolveCompositionContext.Provider, {
6047
+ children: /* @__PURE__ */ jsx31(ResolveCompositionContext.Provider, {
5986
6048
  value: contexts.resolveCompositionContext,
5987
- children: /* @__PURE__ */ jsx30(TimelineContext.Provider, {
6049
+ children: /* @__PURE__ */ jsx31(TimelineContext.Provider, {
5988
6050
  value: contexts.timelineContext,
5989
- children: /* @__PURE__ */ jsx30(SetTimelineContext.Provider, {
6051
+ children: /* @__PURE__ */ jsx31(SetTimelineContext.Provider, {
5990
6052
  value: contexts.setTimelineContext,
5991
- children: /* @__PURE__ */ jsx30(SequenceContext.Provider, {
6053
+ children: /* @__PURE__ */ jsx31(SequenceContext.Provider, {
5992
6054
  value: contexts.sequenceContext,
5993
- children: /* @__PURE__ */ jsx30(BufferingContextReact.Provider, {
6055
+ children: /* @__PURE__ */ jsx31(BufferingContextReact.Provider, {
5994
6056
  value: contexts.bufferManagerContext,
5995
6057
  children
5996
6058
  })
@@ -6038,12 +6100,12 @@ Check that all your Remotion packages are on the same version. If your dependenc
6038
6100
  return flatChildren;
6039
6101
  }, []);
6040
6102
  }, IsInsideSeriesContext, IsInsideSeriesContainer = ({ children }) => {
6041
- return /* @__PURE__ */ jsx31(IsInsideSeriesContext.Provider, {
6103
+ return /* @__PURE__ */ jsx322(IsInsideSeriesContext.Provider, {
6042
6104
  value: true,
6043
6105
  children
6044
6106
  });
6045
6107
  }, IsNotInsideSeriesProvider = ({ children }) => {
6046
- return /* @__PURE__ */ jsx31(IsInsideSeriesContext.Provider, {
6108
+ return /* @__PURE__ */ jsx322(IsInsideSeriesContext.Provider, {
6047
6109
  value: false,
6048
6110
  children
6049
6111
  });
@@ -6054,11 +6116,11 @@ Check that all your Remotion packages are on the same version. If your dependenc
6054
6116
  }
6055
6117
  }, SeriesSequenceRefForwardingFunction = ({ children }, _ref) => {
6056
6118
  useRequireToBeInsideSeries();
6057
- return /* @__PURE__ */ jsx322(IsNotInsideSeriesProvider, {
6119
+ return /* @__PURE__ */ jsx33(IsNotInsideSeriesProvider, {
6058
6120
  children
6059
6121
  });
6060
6122
  }, SeriesSequence, Series = (props2) => {
6061
- const childrenValue = useMemo29(() => {
6123
+ const childrenValue = useMemo30(() => {
6062
6124
  let startFrame = 0;
6063
6125
  const flattenedChildren = flattenChildren(props2.children);
6064
6126
  return Children.map(flattenedChildren, (child, i) => {
@@ -6102,7 +6164,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
6102
6164
  }
6103
6165
  const currentStartFrame = startFrame + offset;
6104
6166
  startFrame += durationInFramesProp + offset;
6105
- return /* @__PURE__ */ jsx322(Sequence, {
6167
+ return /* @__PURE__ */ jsx33(Sequence, {
6106
6168
  name: name || "<Series.Sequence>",
6107
6169
  from: currentStartFrame,
6108
6170
  durationInFrames: durationInFramesProp,
@@ -6113,14 +6175,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
6113
6175
  });
6114
6176
  }, [props2.children]);
6115
6177
  if (ENABLE_V5_BREAKING_CHANGES) {
6116
- return /* @__PURE__ */ jsx322(IsInsideSeriesContainer, {
6117
- children: /* @__PURE__ */ jsx322(Sequence, {
6178
+ return /* @__PURE__ */ jsx33(IsInsideSeriesContainer, {
6179
+ children: /* @__PURE__ */ jsx33(Sequence, {
6118
6180
  ...props2,
6119
6181
  children: childrenValue
6120
6182
  })
6121
6183
  });
6122
6184
  }
6123
- return /* @__PURE__ */ jsx322(IsInsideSeriesContainer, {
6185
+ return /* @__PURE__ */ jsx33(IsInsideSeriesContainer, {
6124
6186
  children: childrenValue
6125
6187
  });
6126
6188
  }, validateSpringDuration = (dur) => {
@@ -6340,14 +6402,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
6340
6402
  const volumePropsFrame = useFrameForVolumeProp(loopVolumeCurveBehavior ?? "repeat");
6341
6403
  const videoConfig = useUnsafeVideoConfig();
6342
6404
  const videoRef = useRef17(null);
6343
- const sequenceContext = useContext32(SequenceContext);
6405
+ const sequenceContext = useContext33(SequenceContext);
6344
6406
  const mediaStartsAt = useMediaStartsAt();
6345
6407
  const environment = useRemotionEnvironment();
6346
6408
  const logLevel = useLogLevel();
6347
6409
  const mountTime = useMountTime();
6348
6410
  const { delayRender: delayRender2, continueRender: continueRender2 } = useDelayRender();
6349
- const { registerRenderAsset, unregisterRenderAsset } = useContext32(RenderAssetManager);
6350
- const id = useMemo30(() => `video-${random(props2.src ?? "")}-${sequenceContext?.cumulatedFrom}-${sequenceContext?.relativeFrom}-${sequenceContext?.durationInFrames}`, [
6411
+ const { registerRenderAsset, unregisterRenderAsset } = useContext33(RenderAssetManager);
6412
+ const id = useMemo31(() => `video-${random(props2.src ?? "")}-${sequenceContext?.cumulatedFrom}-${sequenceContext?.relativeFrom}-${sequenceContext?.durationInFrames}`, [
6351
6413
  props2.src,
6352
6414
  sequenceContext?.cumulatedFrom,
6353
6415
  sequenceContext?.relativeFrom,
@@ -6523,7 +6585,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
6523
6585
  delayRender2
6524
6586
  ]);
6525
6587
  }
6526
- return /* @__PURE__ */ jsx33("video", {
6588
+ return /* @__PURE__ */ jsx34("video", {
6527
6589
  ref: videoRef,
6528
6590
  disableRemotePlayback: true,
6529
6591
  ...props2
@@ -6545,7 +6607,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
6545
6607
  const { loop, ...propsOtherThanLoop } = props2;
6546
6608
  const { fps } = useVideoConfig();
6547
6609
  const environment = useRemotionEnvironment();
6548
- const { durations, setDurations } = useContext33(DurationsContext);
6610
+ const { durations, setDurations } = useContext34(DurationsContext);
6549
6611
  if (typeof ref === "string") {
6550
6612
  throw new Error("string refs are not supported");
6551
6613
  }
@@ -6567,14 +6629,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
6567
6629
  });
6568
6630
  if (loop && durationFetched !== undefined) {
6569
6631
  if (!Number.isFinite(durationFetched)) {
6570
- return /* @__PURE__ */ jsx34(Html5Video, {
6632
+ return /* @__PURE__ */ jsx35(Html5Video, {
6571
6633
  ...propsOtherThanLoop,
6572
6634
  ref,
6573
6635
  _remotionInternalNativeLoopPassed: true
6574
6636
  });
6575
6637
  }
6576
6638
  const mediaDuration = durationFetched * fps;
6577
- return /* @__PURE__ */ jsx34(Loop, {
6639
+ return /* @__PURE__ */ jsx35(Loop, {
6578
6640
  durationInFrames: calculateMediaDuration({
6579
6641
  trimAfter: trimAfterValue,
6580
6642
  mediaDurationInFrames: mediaDuration,
@@ -6583,7 +6645,7 @@ Check that all your Remotion packages are on the same version. If your dependenc
6583
6645
  }),
6584
6646
  layout: "none",
6585
6647
  name,
6586
- children: /* @__PURE__ */ jsx34(Html5Video, {
6648
+ children: /* @__PURE__ */ jsx35(Html5Video, {
6587
6649
  ...propsOtherThanLoop,
6588
6650
  ref,
6589
6651
  _remotionInternalNativeLoopPassed: true
@@ -6591,13 +6653,13 @@ Check that all your Remotion packages are on the same version. If your dependenc
6591
6653
  });
6592
6654
  }
6593
6655
  if (typeof trimBeforeValue !== "undefined" || typeof trimAfterValue !== "undefined") {
6594
- return /* @__PURE__ */ jsx34(Sequence, {
6656
+ return /* @__PURE__ */ jsx35(Sequence, {
6595
6657
  layout: "none",
6596
6658
  from: 0 - (trimBeforeValue ?? 0),
6597
6659
  showInTimeline: false,
6598
6660
  durationInFrames: trimAfterValue,
6599
6661
  name,
6600
- children: /* @__PURE__ */ jsx34(Html5Video, {
6662
+ children: /* @__PURE__ */ jsx35(Html5Video, {
6601
6663
  pauseWhenBuffering: pauseWhenBuffering ?? false,
6602
6664
  ...otherProps,
6603
6665
  ref
@@ -6606,14 +6668,14 @@ Check that all your Remotion packages are on the same version. If your dependenc
6606
6668
  }
6607
6669
  validateMediaProps({ playbackRate: props2.playbackRate, volume: props2.volume }, "Html5Video");
6608
6670
  if (environment.isRendering) {
6609
- return /* @__PURE__ */ jsx34(VideoForRendering, {
6671
+ return /* @__PURE__ */ jsx35(VideoForRendering, {
6610
6672
  onDuration,
6611
6673
  onVideoFrame: onVideoFrame ?? null,
6612
6674
  ...otherProps,
6613
6675
  ref
6614
6676
  });
6615
6677
  }
6616
- return /* @__PURE__ */ jsx34(VideoForPreview, {
6678
+ return /* @__PURE__ */ jsx35(VideoForPreview, {
6617
6679
  onlyWarnForMediaSeekingError: false,
6618
6680
  ...otherProps,
6619
6681
  ref,
@@ -6644,6 +6706,7 @@ var init_esm = __esm(() => {
6644
6706
  `));
6645
6707
  }
6646
6708
  originalCreateElement = React4.createElement;
6709
+ originalJsx = JsxRuntime.jsx;
6647
6710
  componentsToAddStacksTo = [];
6648
6711
  IsPlayerContext = createContext2(false);
6649
6712
  AbsoluteFill = forwardRef(AbsoluteFillRefForwarding);
@@ -6960,8 +7023,9 @@ var init_esm = __esm(() => {
6960
7023
  });
6961
7024
  injected = {};
6962
7025
  listeners = [];
7026
+ MediaEnabledContext = createContext18(null);
6963
7027
  CurrentScaleContext = React26.createContext(null);
6964
- PreviewSizeContext = createContext18({
7028
+ PreviewSizeContext = createContext19({
6965
7029
  setSize: () => {
6966
7030
  return;
6967
7031
  },
@@ -7053,10 +7117,14 @@ var init_esm = __esm(() => {
7053
7117
  AudioForPreview,
7054
7118
  OBJECTFIT_CONTAIN_CLASS_NAME,
7055
7119
  InnerOffthreadVideo,
7056
- useBasicMediaInTimeline
7120
+ useBasicMediaInTimeline,
7121
+ getInputPropsOverride,
7122
+ setInputPropsOverride,
7123
+ useVideoEnabled,
7124
+ useAudioEnabled
7057
7125
  };
7058
7126
  PERCENTAGE = NUMBER + "%";
7059
- IsInsideSeriesContext = createContext19(false);
7127
+ IsInsideSeriesContext = createContext20(false);
7060
7128
  SeriesSequence = forwardRef10(SeriesSequenceRefForwardingFunction);
7061
7129
  Series.Sequence = SeriesSequence;
7062
7130
  addSequenceStackTraces(SeriesSequence);
@@ -7124,7 +7192,7 @@ __export(exports_esm, {
7124
7192
  });
7125
7193
  import lottie from "lottie-web";
7126
7194
  import { useEffect as useEffect26, useRef as useRef21, useState as useState24 } from "react";
7127
- import { jsx as jsx41 } from "react/jsx-runtime";
7195
+ import { jsx as jsx44 } from "react/jsx-runtime";
7128
7196
  var getLottieMetadata = (animationData) => {
7129
7197
  const width2 = animationData.w;
7130
7198
  const height2 = animationData.h;
@@ -7282,7 +7350,7 @@ var getLottieMetadata = (animationData) => {
7282
7350
  img.setAttributeNS("http://www.w3.org/1999/xlink", "xlink:href", img.href.baseVal);
7283
7351
  });
7284
7352
  }, [direction, frame, loop, playbackRate, delayRender, continueRender]);
7285
- return /* @__PURE__ */ jsx41("div", {
7353
+ return /* @__PURE__ */ jsx44("div", {
7286
7354
  ref: containerRef,
7287
7355
  className: className2,
7288
7356
  style: style2
@@ -12197,17 +12265,17 @@ init_esm();
12197
12265
  init_esm();
12198
12266
  init_esm();
12199
12267
  init_esm();
12200
- import { jsx as jsx35, jsxs as jsxs10 } from "react/jsx-runtime";
12268
+ import { jsx as jsx36, jsxs as jsxs10 } from "react/jsx-runtime";
12201
12269
  import { jsx as jsx210, jsxs as jsxs23, Fragment } from "react/jsx-runtime";
12202
12270
  import React6 from "react";
12203
12271
  import { useContext as useContext210, useEffect as useEffect23, useState as useState20 } from "react";
12204
- import { useContext as useContext34, useEffect as useEffect24 } from "react";
12205
- import { jsx as jsx36 } from "react/jsx-runtime";
12272
+ import { useContext as useContext35, useEffect as useEffect24 } from "react";
12273
+ import { jsx as jsx37 } from "react/jsx-runtime";
12206
12274
  import { useCallback as useCallback18, useRef as useRef18 } from "react";
12207
12275
  import { useEffect as useEffect32, useState as useState23 } from "react";
12208
12276
  import { useContext as useContext42, useEffect as useEffect62, useRef as useRef42 } from "react";
12209
12277
  import { useEffect as useEffect42 } from "react";
12210
- import { useCallback as useCallback23, useContext as useContext35, useMemo as useMemo31, useRef as useRef22, useState as useState32 } from "react";
12278
+ import { useCallback as useCallback23, useContext as useContext36, useMemo as useMemo32, useRef as useRef22, useState as useState32 } from "react";
12211
12279
  import { useEffect as useEffect52, useRef as useRef32 } from "react";
12212
12280
  import { useCallback as useCallback32, useEffect as useEffect72, useMemo as useMemo210, useState as useState42 } from "react";
12213
12281
  import {
@@ -12233,7 +12301,7 @@ import React102, {
12233
12301
  import { useCallback as useCallback82, useEffect as useEffect112, useMemo as useMemo92, useRef as useRef82, useState as useState102 } from "react";
12234
12302
  import { jsx as jsx43 } from "react/jsx-runtime";
12235
12303
  import { useCallback as useCallback52, useMemo as useMemo42, useRef as useRef52, useState as useState62 } from "react";
12236
- import React33, { useCallback as useCallback42, useMemo as useMemo32, useState as useState52 } from "react";
12304
+ import React33, { useCallback as useCallback42, useMemo as useMemo33, useState as useState52 } from "react";
12237
12305
  import { jsx as jsx53, jsxs as jsxs32 } from "react/jsx-runtime";
12238
12306
  import { jsx as jsx63, jsxs as jsxs42 } from "react/jsx-runtime";
12239
12307
  import {
@@ -12905,12 +12973,12 @@ import { jsx as jsx162 } from "react/jsx-runtime";
12905
12973
  var ICON_SIZE2 = 25;
12906
12974
  var fullscreenIconSize = 16;
12907
12975
  var PlayIcon = () => {
12908
- return /* @__PURE__ */ jsx35("svg", {
12976
+ return /* @__PURE__ */ jsx36("svg", {
12909
12977
  width: ICON_SIZE2,
12910
12978
  height: ICON_SIZE2,
12911
12979
  viewBox: "0 0 25 25",
12912
12980
  fill: "none",
12913
- children: /* @__PURE__ */ jsx35("path", {
12981
+ children: /* @__PURE__ */ jsx36("path", {
12914
12982
  d: "M8 6.375C7.40904 8.17576 7.06921 10.2486 7.01438 12.3871C6.95955 14.5255 7.19163 16.6547 7.6875 18.5625C9.95364 18.2995 12.116 17.6164 14.009 16.5655C15.902 15.5147 17.4755 14.124 18.6088 12.5C17.5158 10.8949 15.9949 9.51103 14.1585 8.45082C12.3222 7.3906 10.2174 6.68116 8 6.375Z",
12915
12983
  fill: "white",
12916
12984
  stroke: "white",
@@ -12925,7 +12993,7 @@ var PauseIcon = () => {
12925
12993
  width: ICON_SIZE2,
12926
12994
  height: ICON_SIZE2,
12927
12995
  children: [
12928
- /* @__PURE__ */ jsx35("rect", {
12996
+ /* @__PURE__ */ jsx36("rect", {
12929
12997
  x: "25",
12930
12998
  y: "20",
12931
12999
  width: "20",
@@ -12934,7 +13002,7 @@ var PauseIcon = () => {
12934
13002
  ry: "5",
12935
13003
  rx: "5"
12936
13004
  }),
12937
- /* @__PURE__ */ jsx35("rect", {
13005
+ /* @__PURE__ */ jsx36("rect", {
12938
13006
  x: "55",
12939
13007
  y: "20",
12940
13008
  width: "20",
@@ -12959,7 +13027,7 @@ var FullscreenIcon = ({
12959
13027
  height: fullscreenIconSize,
12960
13028
  width: fullscreenIconSize,
12961
13029
  children: [
12962
- /* @__PURE__ */ jsx35("path", {
13030
+ /* @__PURE__ */ jsx36("path", {
12963
13031
  d: `
12964
13032
  M ${out} ${inset}
12965
13033
  L ${middleInset} ${middleInset}
@@ -12969,7 +13037,7 @@ var FullscreenIcon = ({
12969
13037
  strokeWidth: strokeWidth2,
12970
13038
  fill: "none"
12971
13039
  }),
12972
- /* @__PURE__ */ jsx35("path", {
13040
+ /* @__PURE__ */ jsx36("path", {
12973
13041
  d: `
12974
13042
  M ${viewSize - out} ${inset}
12975
13043
  L ${viewSize - middleInset} ${middleInset}
@@ -12979,7 +13047,7 @@ var FullscreenIcon = ({
12979
13047
  strokeWidth: strokeWidth2,
12980
13048
  fill: "none"
12981
13049
  }),
12982
- /* @__PURE__ */ jsx35("path", {
13050
+ /* @__PURE__ */ jsx36("path", {
12983
13051
  d: `
12984
13052
  M ${out} ${viewSize - inset}
12985
13053
  L ${middleInset} ${viewSize - middleInset}
@@ -12989,7 +13057,7 @@ var FullscreenIcon = ({
12989
13057
  strokeWidth: strokeWidth2,
12990
13058
  fill: "none"
12991
13059
  }),
12992
- /* @__PURE__ */ jsx35("path", {
13060
+ /* @__PURE__ */ jsx36("path", {
12993
13061
  d: `
12994
13062
  M ${viewSize - out} ${viewSize - inset}
12995
13063
  L ${viewSize - middleInset} ${viewSize - middleInset}
@@ -13003,22 +13071,22 @@ var FullscreenIcon = ({
13003
13071
  });
13004
13072
  };
13005
13073
  var VolumeOffIcon = () => {
13006
- return /* @__PURE__ */ jsx35("svg", {
13074
+ return /* @__PURE__ */ jsx36("svg", {
13007
13075
  width: ICON_SIZE2,
13008
13076
  height: ICON_SIZE2,
13009
13077
  viewBox: "0 0 24 24",
13010
- children: /* @__PURE__ */ jsx35("path", {
13078
+ children: /* @__PURE__ */ jsx36("path", {
13011
13079
  d: "M3.63 3.63a.996.996 0 000 1.41L7.29 8.7 7 9H4c-.55 0-1 .45-1 1v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71v-4.17l4.18 4.18c-.49.37-1.02.68-1.6.91-.36.15-.58.53-.58.92 0 .72.73 1.18 1.39.91.8-.33 1.55-.77 2.22-1.31l1.34 1.34a.996.996 0 101.41-1.41L5.05 3.63c-.39-.39-1.02-.39-1.42 0zM19 12c0 .82-.15 1.61-.41 2.34l1.53 1.53c.56-1.17.88-2.48.88-3.87 0-3.83-2.4-7.11-5.78-8.4-.59-.23-1.22.23-1.22.86v.19c0 .38.25.71.61.85C17.18 6.54 19 9.06 19 12zm-8.71-6.29l-.17.17L12 7.76V6.41c0-.89-1.08-1.33-1.71-.7zM16.5 12A4.5 4.5 0 0014 7.97v1.79l2.48 2.48c.01-.08.02-.16.02-.24z",
13012
13080
  fill: "#fff"
13013
13081
  })
13014
13082
  });
13015
13083
  };
13016
13084
  var VolumeOnIcon = () => {
13017
- return /* @__PURE__ */ jsx35("svg", {
13085
+ return /* @__PURE__ */ jsx36("svg", {
13018
13086
  width: ICON_SIZE2,
13019
13087
  height: ICON_SIZE2,
13020
13088
  viewBox: "0 0 24 24",
13021
- children: /* @__PURE__ */ jsx35("path", {
13089
+ children: /* @__PURE__ */ jsx36("path", {
13022
13090
  d: "M3 10v4c0 .55.45 1 1 1h3l3.29 3.29c.63.63 1.71.18 1.71-.71V6.41c0-.89-1.08-1.34-1.71-.71L7 9H4c-.55 0-1 .45-1 1zm13.5 2A4.5 4.5 0 0014 7.97v8.05c1.48-.73 2.5-2.25 2.5-4.02zM14 4.45v.2c0 .38.25.71.6.85C17.18 6.53 19 9.06 19 12s-1.82 5.47-4.4 6.5c-.36.14-.6.47-.6.85v.2c0 .63.63 1.07 1.21.85C18.6 19.11 21 15.84 21 12s-2.4-7.11-5.79-8.4c-.58-.23-1.21.22-1.21.85z",
13023
13091
  fill: "#fff"
13024
13092
  })
@@ -13334,7 +13402,7 @@ class ThumbnailEmitter {
13334
13402
  };
13335
13403
  }
13336
13404
  var useBufferStateEmitter = (emitter) => {
13337
- const bufferManager = useContext34(Internals.BufferingContextReact);
13405
+ const bufferManager = useContext35(Internals.BufferingContextReact);
13338
13406
  if (!bufferManager) {
13339
13407
  throw new Error("BufferingContextReact not found");
13340
13408
  }
@@ -13365,7 +13433,7 @@ var PlayerEmitterProvider = ({ children, currentPlaybackRate }) => {
13365
13433
  }
13366
13434
  }, [emitter, currentPlaybackRate]);
13367
13435
  useBufferStateEmitter(emitter);
13368
- return /* @__PURE__ */ jsx36(PlayerEventEmitterContext.Provider, {
13436
+ return /* @__PURE__ */ jsx37(PlayerEventEmitterContext.Provider, {
13369
13437
  value: emitter,
13370
13438
  children
13371
13439
  });
@@ -13417,20 +13485,20 @@ var usePlayer = () => {
13417
13485
  const playStart = useRef22(frame);
13418
13486
  const setFrame = Internals.Timeline.useTimelineSetFrame();
13419
13487
  const setTimelinePosition = Internals.Timeline.useTimelineSetFrame();
13420
- const audioContext = useContext35(Internals.SharedAudioContext);
13421
- const { audioAndVideoTags } = useContext35(Internals.Timeline.TimelineContext);
13488
+ const audioContext = useContext36(Internals.SharedAudioContext);
13489
+ const { audioAndVideoTags } = useContext36(Internals.Timeline.TimelineContext);
13422
13490
  const frameRef = useRef22(frame);
13423
13491
  frameRef.current = frame;
13424
13492
  const video = Internals.useVideo();
13425
13493
  const config = Internals.useUnsafeVideoConfig();
13426
- const emitter = useContext35(PlayerEventEmitterContext);
13494
+ const emitter = useContext36(PlayerEventEmitterContext);
13427
13495
  const lastFrame = (config?.durationInFrames ?? 1) - 1;
13428
13496
  const isLastFrame = frame === lastFrame;
13429
13497
  const isFirstFrame = frame === 0;
13430
13498
  if (!emitter) {
13431
13499
  throw new TypeError("Expected Player event emitter context");
13432
13500
  }
13433
- const bufferingContext = useContext35(Internals.BufferingContextReact);
13501
+ const bufferingContext = useContext36(Internals.BufferingContextReact);
13434
13502
  if (!bufferingContext) {
13435
13503
  throw new Error("Missing the buffering context. Most likely you have a Remotion version mismatch.");
13436
13504
  }
@@ -13536,7 +13604,7 @@ var usePlayer = () => {
13536
13604
  play(e);
13537
13605
  }
13538
13606
  }, [imperativePlaying, pause, play]);
13539
- const returnValue = useMemo31(() => {
13607
+ const returnValue = useMemo32(() => {
13540
13608
  return {
13541
13609
  frameBack,
13542
13610
  frameForward,
@@ -14000,7 +14068,7 @@ var DefaultVolumeSlider = ({
14000
14068
  inputRef,
14001
14069
  setVolume
14002
14070
  }) => {
14003
- const sliderContainer = useMemo32(() => {
14071
+ const sliderContainer = useMemo33(() => {
14004
14072
  const paddingLeft = 5;
14005
14073
  const common = {
14006
14074
  paddingLeft,
@@ -14025,7 +14093,7 @@ var DefaultVolumeSlider = ({
14025
14093
  const onVolumeChange = useCallback42((e) => {
14026
14094
  setVolume(parseFloat(e.target.value));
14027
14095
  }, [setVolume]);
14028
- const inputStyle = useMemo32(() => {
14096
+ const inputStyle = useMemo33(() => {
14029
14097
  const commonStyle = {
14030
14098
  WebkitAppearance: "none",
14031
14099
  backgroundColor: "rgba(255, 255, 255, 0.5)",
@@ -16255,7 +16323,7 @@ var Thumbnail = forward2(ThumbnailFn);
16255
16323
  import {
16256
16324
  useCallback as useCallback35,
16257
16325
  useEffect as useEffect38,
16258
- useMemo as useMemo41,
16326
+ useMemo as useMemo43,
16259
16327
  useRef as useRef28,
16260
16328
  useState as useState33
16261
16329
  } from "react";
@@ -17006,24 +17074,24 @@ var UNDERLAY_RED = curriedTransparentize$1(0.9, RED);
17006
17074
  var BLUE_TEXT = curriedDarken$1(0.3, "#42e9f5");
17007
17075
 
17008
17076
  // src/components/homepage/layout/use-color-mode.tsx
17009
- import React11, { useContext as useContext36, useMemo as useMemo33 } from "react";
17010
- import { jsx as jsx37 } from "react/jsx-runtime";
17077
+ import React11, { useContext as useContext37, useMemo as useMemo34 } from "react";
17078
+ import { jsx as jsx38 } from "react/jsx-runtime";
17011
17079
  var Context = React11.createContext(undefined);
17012
17080
  var ColorModeProvider = ({
17013
17081
  children,
17014
17082
  colorMode,
17015
17083
  setColorMode
17016
17084
  }) => {
17017
- const value = useMemo33(() => {
17085
+ const value = useMemo34(() => {
17018
17086
  return { colorMode, setColorMode };
17019
17087
  }, [colorMode, setColorMode]);
17020
- return /* @__PURE__ */ jsx37(Context.Provider, {
17088
+ return /* @__PURE__ */ jsx38(Context.Provider, {
17021
17089
  value,
17022
17090
  children
17023
17091
  });
17024
17092
  };
17025
17093
  function useColorMode() {
17026
- const context = useContext36(Context);
17094
+ const context = useContext37(Context);
17027
17095
  if (context === null || context === undefined) {
17028
17096
  throw new Error("ColorModeProvider");
17029
17097
  }
@@ -17032,7 +17100,7 @@ function useColorMode() {
17032
17100
 
17033
17101
  // src/components/homepage/Demo/Comp.tsx
17034
17102
  init_esm();
17035
- import { useCallback as useCallback27, useEffect as useEffect30, useMemo as useMemo36, useState as useState28 } from "react";
17103
+ import { useCallback as useCallback27, useEffect as useEffect30, useMemo as useMemo37, useState as useState28 } from "react";
17036
17104
 
17037
17105
  // src/components/homepage/Demo/Cards.tsx
17038
17106
  init_esm();
@@ -17081,14 +17149,14 @@ var getIndexFromPosition = (clientX, clientY) => {
17081
17149
 
17082
17150
  // src/components/homepage/Demo/Switcher.tsx
17083
17151
  import { useCallback as useCallback20 } from "react";
17084
- import { jsx as jsx38, jsxs as jsxs11 } from "react/jsx-runtime";
17152
+ import { jsx as jsx39, jsxs as jsxs11 } from "react/jsx-runtime";
17085
17153
  var Switcher = ({ type, theme, onTap }) => {
17086
17154
  const onPointerDown = useCallback20((e) => {
17087
17155
  e.stopPropagation();
17088
17156
  onTap();
17089
17157
  }, [onTap]);
17090
17158
  const switcherSize = 40;
17091
- return /* @__PURE__ */ jsx38("div", {
17159
+ return /* @__PURE__ */ jsx39("div", {
17092
17160
  onPointerDown,
17093
17161
  style: {
17094
17162
  height: switcherSize,
@@ -17110,11 +17178,11 @@ var Switcher = ({ type, theme, onTap }) => {
17110
17178
  style: { height: switcherSize / 2 },
17111
17179
  viewBox: "0 0 320 512",
17112
17180
  children: [
17113
- type === "left" ? /* @__PURE__ */ jsx38("path", {
17181
+ type === "left" ? /* @__PURE__ */ jsx39("path", {
17114
17182
  fill: "currentcolor",
17115
17183
  d: "M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"
17116
17184
  }) : null,
17117
- type === "right" ? /* @__PURE__ */ jsx38("path", {
17185
+ type === "right" ? /* @__PURE__ */ jsx39("path", {
17118
17186
  fill: "currentcolor",
17119
17187
  d: "M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c-12.5-12.5-12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"
17120
17188
  }) : null
@@ -17124,7 +17192,7 @@ var Switcher = ({ type, theme, onTap }) => {
17124
17192
  };
17125
17193
 
17126
17194
  // src/components/homepage/Demo/Card.tsx
17127
- import { jsx as jsx39, jsxs as jsxs12, Fragment as Fragment4 } from "react/jsx-runtime";
17195
+ import { jsx as jsx40, jsxs as jsxs12, Fragment as Fragment4 } from "react/jsx-runtime";
17128
17196
  var arePositionsEqual = (a, b) => {
17129
17197
  return a.every((pos, i) => {
17130
17198
  return pos.x === b[i].x && pos.y === b[i].y;
@@ -17285,7 +17353,7 @@ var Card = ({
17285
17353
  }, []);
17286
17354
  const { x, y } = getPositionForIndex(index);
17287
17355
  const color = theme === "light" ? " #EAEAEA" : "#333";
17288
- return /* @__PURE__ */ jsx39("div", {
17356
+ return /* @__PURE__ */ jsx40("div", {
17289
17357
  ref: refToUse,
17290
17358
  className: "transition-opacity duration-200",
17291
17359
  onPointerDown,
@@ -17311,12 +17379,12 @@ var Card = ({
17311
17379
  content,
17312
17380
  withSwitcher ? /* @__PURE__ */ jsxs12(Fragment4, {
17313
17381
  children: [
17314
- /* @__PURE__ */ jsx39(Switcher, {
17382
+ /* @__PURE__ */ jsx40(Switcher, {
17315
17383
  onTap: onClickLeft,
17316
17384
  type: "left",
17317
17385
  theme
17318
17386
  }),
17319
- /* @__PURE__ */ jsx39(Switcher, {
17387
+ /* @__PURE__ */ jsx40(Switcher, {
17320
17388
  onTap: onClickRight,
17321
17389
  type: "right",
17322
17390
  theme
@@ -17330,7 +17398,7 @@ var Card = ({
17330
17398
 
17331
17399
  // src/components/homepage/Demo/CurrentCountry.tsx
17332
17400
  init_esm();
17333
- import { jsx as jsx40, jsxs as jsxs13 } from "react/jsx-runtime";
17401
+ import { jsx as jsx41, jsxs as jsxs13 } from "react/jsx-runtime";
17334
17402
  var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
17335
17403
  const { fps } = useVideoConfig();
17336
17404
  const frame = useCurrentFrame();
@@ -17348,16 +17416,16 @@ var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
17348
17416
  return /* @__PURE__ */ jsxs13(AbsoluteFill, {
17349
17417
  style: { overflow: "hidden" },
17350
17418
  children: [
17351
- /* @__PURE__ */ jsx40(AbsoluteFill, {
17419
+ /* @__PURE__ */ jsx41(AbsoluteFill, {
17352
17420
  style: {
17353
17421
  transform: `scale(${progress})`
17354
17422
  },
17355
- children: /* @__PURE__ */ jsx40("svg", {
17423
+ children: /* @__PURE__ */ jsx41("svg", {
17356
17424
  viewBox: boundingBox.viewBox,
17357
17425
  style: {
17358
17426
  scale: "0.8"
17359
17427
  },
17360
- children: /* @__PURE__ */ jsx40("path", {
17428
+ children: /* @__PURE__ */ jsx41("path", {
17361
17429
  fill: theme === "light" ? "#bbb" : "#222",
17362
17430
  d: reset
17363
17431
  })
@@ -17369,7 +17437,7 @@ var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
17369
17437
  justifyContent: "center"
17370
17438
  },
17371
17439
  children: [
17372
- /* @__PURE__ */ jsx40("div", {
17440
+ /* @__PURE__ */ jsx41("div", {
17373
17441
  style: {
17374
17442
  color: "#0b84f3",
17375
17443
  fontFamily: "GTPlanar",
@@ -17384,7 +17452,7 @@ var CurrentCountry = ({ theme, countryPaths, countryLabel }) => {
17384
17452
  },
17385
17453
  children: "Your country"
17386
17454
  }),
17387
- /* @__PURE__ */ jsx40("div", {
17455
+ /* @__PURE__ */ jsx41("div", {
17388
17456
  style: {
17389
17457
  lineHeight: 1.1,
17390
17458
  fontFamily: "GTPlanar",
@@ -17417,14 +17485,14 @@ import {
17417
17485
 
17418
17486
  // src/components/homepage/Demo/DisplayedEmoji.tsx
17419
17487
  init_esm();
17420
- import { useEffect as useEffect27, useMemo as useMemo34, useState as useState26 } from "react";
17421
- import { jsx as jsx44 } from "react/jsx-runtime";
17488
+ import { useEffect as useEffect27, useMemo as useMemo35, useState as useState26 } from "react";
17489
+ import { jsx as jsx46 } from "react/jsx-runtime";
17422
17490
  var DisplayedEmoji = ({ emoji }) => {
17423
17491
  const [data, setData] = useState26(null);
17424
17492
  const { durationInFrames, fps } = useVideoConfig();
17425
17493
  const [browser, setBrowser] = useState26(typeof document !== "undefined");
17426
17494
  const { delayRender, continueRender } = useDelayRender();
17427
- const src = useMemo34(() => {
17495
+ const src = useMemo35(() => {
17428
17496
  if (emoji === "melting") {
17429
17497
  return "https://fonts.gstatic.com/s/e/notoemoji/latest/1fae0/lottie.json";
17430
17498
  }
@@ -17470,7 +17538,7 @@ var DisplayedEmoji = ({ emoji }) => {
17470
17538
  const ratio = durationInFrames / fps / animDurtion;
17471
17539
  const closestInteger = ratio;
17472
17540
  const closestRatio = closestInteger / ratio;
17473
- return /* @__PURE__ */ jsx44(data.Lottie, {
17541
+ return /* @__PURE__ */ jsx46(data.Lottie, {
17474
17542
  style: {
17475
17543
  height: 100,
17476
17544
  width: "100%",
@@ -17484,7 +17552,7 @@ var DisplayedEmoji = ({ emoji }) => {
17484
17552
  };
17485
17553
 
17486
17554
  // src/components/homepage/Demo/EmojiCard.tsx
17487
- import { jsx as jsx46, jsxs as jsxs14, Fragment as Fragment6 } from "react/jsx-runtime";
17555
+ import { jsx as jsx47, jsxs as jsxs14, Fragment as Fragment6 } from "react/jsx-runtime";
17488
17556
  var applyTransforms = ({ ref1, ref2, ref3, transforms }) => {
17489
17557
  ref1.style.transform = `translateX(${transforms[0]}%)`;
17490
17558
  ref2.style.transform = `translateX(${transforms[1]}%)`;
@@ -17587,7 +17655,7 @@ var EmojiCardRefFn = ({ emojiIndex }, ref) => {
17587
17655
  overflow: "hidden"
17588
17656
  },
17589
17657
  children: [
17590
- /* @__PURE__ */ jsx46("div", {
17658
+ /* @__PURE__ */ jsx47("div", {
17591
17659
  style: {
17592
17660
  color: "#0b84f3",
17593
17661
  fontFamily: "GTPlanar",
@@ -17599,7 +17667,7 @@ var EmojiCardRefFn = ({ emojiIndex }, ref) => {
17599
17667
  },
17600
17668
  children: "Choose an emoji"
17601
17669
  }),
17602
- /* @__PURE__ */ jsx46("div", {
17670
+ /* @__PURE__ */ jsx47("div", {
17603
17671
  style: {
17604
17672
  position: "absolute",
17605
17673
  width: "100%",
@@ -17607,31 +17675,31 @@ var EmojiCardRefFn = ({ emojiIndex }, ref) => {
17607
17675
  whiteSpace: "nowrap",
17608
17676
  height: "100%"
17609
17677
  },
17610
- children: env.isRendering ? /* @__PURE__ */ jsx46("div", {
17678
+ children: env.isRendering ? /* @__PURE__ */ jsx47("div", {
17611
17679
  style: emojiStyle,
17612
- children: /* @__PURE__ */ jsx46(DisplayedEmoji, {
17680
+ children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
17613
17681
  emoji: emojiIndex
17614
17682
  })
17615
17683
  }) : /* @__PURE__ */ jsxs14(Fragment6, {
17616
17684
  children: [
17617
- /* @__PURE__ */ jsx46("div", {
17685
+ /* @__PURE__ */ jsx47("div", {
17618
17686
  ref: ref1,
17619
17687
  style: emojiStyle,
17620
- children: /* @__PURE__ */ jsx46(DisplayedEmoji, {
17688
+ children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
17621
17689
  emoji: "melting"
17622
17690
  })
17623
17691
  }),
17624
- /* @__PURE__ */ jsx46("div", {
17692
+ /* @__PURE__ */ jsx47("div", {
17625
17693
  ref: ref2,
17626
17694
  style: emojiStyle,
17627
- children: /* @__PURE__ */ jsx46(DisplayedEmoji, {
17695
+ children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
17628
17696
  emoji: "partying-face"
17629
17697
  })
17630
17698
  }),
17631
- /* @__PURE__ */ jsx46("div", {
17699
+ /* @__PURE__ */ jsx47("div", {
17632
17700
  ref: ref3,
17633
17701
  style: emojiStyle,
17634
- children: /* @__PURE__ */ jsx46(DisplayedEmoji, {
17702
+ children: /* @__PURE__ */ jsx47(DisplayedEmoji, {
17635
17703
  emoji: "fire"
17636
17704
  })
17637
17705
  })
@@ -17650,9 +17718,9 @@ init_esm();
17650
17718
  init_esm();
17651
17719
 
17652
17720
  // src/components/homepage/Demo/Minus.tsx
17653
- import { jsx as jsx47 } from "react/jsx-runtime";
17721
+ import { jsx as jsx48 } from "react/jsx-runtime";
17654
17722
  var Minus = ({ leftOffset, minusSignOpacity }) => {
17655
- return /* @__PURE__ */ jsx47("div", {
17723
+ return /* @__PURE__ */ jsx48("div", {
17656
17724
  style: {
17657
17725
  position: "relative",
17658
17726
  marginLeft: -40 - leftOffset,
@@ -17666,7 +17734,7 @@ var Minus = ({ leftOffset, minusSignOpacity }) => {
17666
17734
  };
17667
17735
 
17668
17736
  // src/components/homepage/Demo/DigitWheel.tsx
17669
- import { jsx as jsx48, jsxs as jsxs15 } from "react/jsx-runtime";
17737
+ import { jsx as jsx49, jsxs as jsxs15 } from "react/jsx-runtime";
17670
17738
  var DURATION = 25;
17671
17739
  var items = 10;
17672
17740
  var NUM_WIDTH = 36;
@@ -17719,11 +17787,11 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
17719
17787
  marginLeft: shiftLeft
17720
17788
  },
17721
17789
  children: [
17722
- isLeadingDigit ? /* @__PURE__ */ jsx48(Minus, {
17790
+ isLeadingDigit ? /* @__PURE__ */ jsx49(Minus, {
17723
17791
  minusSignOpacity,
17724
17792
  leftOffset: shiftLeft + minusSignMarginLeft
17725
17793
  }) : null,
17726
- /* @__PURE__ */ jsx48(AbsoluteFill, {
17794
+ /* @__PURE__ */ jsx49(AbsoluteFill, {
17727
17795
  style: {
17728
17796
  perspective: 5000,
17729
17797
  maskImage: `linear-gradient(to bottom, transparent 0%, #000 28%, #000 80%, transparent 100%)`,
@@ -17734,7 +17802,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
17734
17802
  const z = Math.cos(index * -Math.PI * 2) * 120;
17735
17803
  const y = Math.sin(index * Math.PI * 2) * -120;
17736
17804
  const r2 = interpolate(index, [0, 1], [0, Math.PI * 2]);
17737
- return /* @__PURE__ */ jsx48(AbsoluteFill, {
17805
+ return /* @__PURE__ */ jsx49(AbsoluteFill, {
17738
17806
  style: {
17739
17807
  justifyContent: "center",
17740
17808
  alignItems: "center",
@@ -17744,7 +17812,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
17744
17812
  backfaceVisibility: "hidden",
17745
17813
  perspective: 1000
17746
17814
  },
17747
- children: /* @__PURE__ */ jsx48("div", {
17815
+ children: /* @__PURE__ */ jsx49("div", {
17748
17816
  style: {
17749
17817
  transform: `rotateX(-${r2}rad)`,
17750
17818
  backfaceVisibility: "hidden",
@@ -17754,7 +17822,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
17754
17822
  justifyContent: "center",
17755
17823
  opacity
17756
17824
  },
17757
- children: /* @__PURE__ */ jsx48("div", {
17825
+ children: /* @__PURE__ */ jsx49("div", {
17758
17826
  style: {
17759
17827
  lineHeight: 1,
17760
17828
  display: "inline",
@@ -17771,7 +17839,7 @@ var Wheel = ({ delay: delay2, digits, renderDigit, isLeadingDigit, isNegative })
17771
17839
  };
17772
17840
 
17773
17841
  // src/components/homepage/Demo/TemperatureNumber.tsx
17774
- import { jsx as jsx49, jsxs as jsxs16 } from "react/jsx-runtime";
17842
+ import { jsx as jsx50, jsxs as jsxs16 } from "react/jsx-runtime";
17775
17843
  var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
17776
17844
  const temperatureInFahrenheit = temperatureInCelsius * 9 / 5 + 32;
17777
17845
  const celsiusDegree = Math.abs(temperatureInCelsius);
@@ -17792,7 +17860,7 @@ var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
17792
17860
  alignItems: "center"
17793
17861
  },
17794
17862
  children: [
17795
- paddedCelsiusDegree.map((digit, i) => /* @__PURE__ */ jsx49(Wheel, {
17863
+ paddedCelsiusDegree.map((digit, i) => /* @__PURE__ */ jsx50(Wheel, {
17796
17864
  delay: i * 4,
17797
17865
  renderDigit: (_i) => 9 - _i,
17798
17866
  digits: [
@@ -17807,14 +17875,14 @@ var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
17807
17875
  ],
17808
17876
  isLeadingDigit: i === 0
17809
17877
  }, i)),
17810
- /* @__PURE__ */ jsx49("div", {
17878
+ /* @__PURE__ */ jsx50("div", {
17811
17879
  style: { width: 8 }
17812
17880
  }),
17813
17881
  "°",
17814
- /* @__PURE__ */ jsx49(Wheel, {
17882
+ /* @__PURE__ */ jsx50(Wheel, {
17815
17883
  delay: paddedCelsiusDegree.length * 4 - 2,
17816
17884
  digits: [0, 1, 0],
17817
- renderDigit: (_i) => _i % 2 === 0 ? "C" : /* @__PURE__ */ jsx49("span", {
17885
+ renderDigit: (_i) => _i % 2 === 0 ? "C" : /* @__PURE__ */ jsx50("span", {
17818
17886
  style: { marginLeft: -5 },
17819
17887
  children: "F"
17820
17888
  }),
@@ -17826,12 +17894,12 @@ var TemperatureNumber = ({ theme, temperatureInCelsius }) => {
17826
17894
  };
17827
17895
 
17828
17896
  // src/components/homepage/Demo/Temperature.tsx
17829
- import { jsx as jsx50, jsxs as jsxs17 } from "react/jsx-runtime";
17897
+ import { jsx as jsx51, jsxs as jsxs17 } from "react/jsx-runtime";
17830
17898
  var Temperature = ({ theme, city, temperatureInCelsius }) => {
17831
17899
  if (temperatureInCelsius === null) {
17832
17900
  return null;
17833
17901
  }
17834
- return /* @__PURE__ */ jsx50(AbsoluteFill, {
17902
+ return /* @__PURE__ */ jsx51(AbsoluteFill, {
17835
17903
  children: /* @__PURE__ */ jsxs17(AbsoluteFill, {
17836
17904
  style: {
17837
17905
  alignItems: "center",
@@ -17854,7 +17922,7 @@ var Temperature = ({ theme, city, temperatureInCelsius }) => {
17854
17922
  city
17855
17923
  ]
17856
17924
  }),
17857
- /* @__PURE__ */ jsx50(TemperatureNumber, {
17925
+ /* @__PURE__ */ jsx51(TemperatureNumber, {
17858
17926
  theme,
17859
17927
  temperatureInCelsius
17860
17928
  })
@@ -17865,8 +17933,8 @@ var Temperature = ({ theme, city, temperatureInCelsius }) => {
17865
17933
 
17866
17934
  // src/components/homepage/Demo/TrendingRepos.tsx
17867
17935
  init_esm();
17868
- import { useMemo as useMemo35 } from "react";
17869
- import { jsx as jsx51, jsxs as jsxs18 } from "react/jsx-runtime";
17936
+ import { useMemo as useMemo36 } from "react";
17937
+ import { jsx as jsx54, jsxs as jsxs18 } from "react/jsx-runtime";
17870
17938
  var TrendingRepoItem = ({ repo, theme, number }) => {
17871
17939
  const frame = useCurrentFrame();
17872
17940
  const { fps } = useVideoConfig();
@@ -17878,7 +17946,7 @@ var TrendingRepoItem = ({ repo, theme, number }) => {
17878
17946
  },
17879
17947
  delay: number * 10 + 20
17880
17948
  });
17881
- const item = useMemo35(() => {
17949
+ const item = useMemo36(() => {
17882
17950
  return {
17883
17951
  lineHeight: 1.1,
17884
17952
  fontFamily: "GTPlanar",
@@ -17912,8 +17980,8 @@ var TrendingRepos = ({ theme, trending }) => {
17912
17980
  if (trending === null) {
17913
17981
  return null;
17914
17982
  }
17915
- return /* @__PURE__ */ jsx51(AbsoluteFill, {
17916
- children: /* @__PURE__ */ jsx51(AbsoluteFill, {
17983
+ return /* @__PURE__ */ jsx54(AbsoluteFill, {
17984
+ children: /* @__PURE__ */ jsx54(AbsoluteFill, {
17917
17985
  style: {
17918
17986
  justifyContent: "center",
17919
17987
  paddingLeft: 20,
@@ -17921,7 +17989,7 @@ var TrendingRepos = ({ theme, trending }) => {
17921
17989
  },
17922
17990
  children: /* @__PURE__ */ jsxs18("div", {
17923
17991
  children: [
17924
- /* @__PURE__ */ jsx51("div", {
17992
+ /* @__PURE__ */ jsx54("div", {
17925
17993
  style: {
17926
17994
  color: fill,
17927
17995
  fontFamily: "GTPlanar",
@@ -17935,7 +18003,7 @@ var TrendingRepos = ({ theme, trending }) => {
17935
18003
  day: "numeric"
17936
18004
  }).format(new Date(trending.date))
17937
18005
  }),
17938
- /* @__PURE__ */ jsx51("div", {
18006
+ /* @__PURE__ */ jsx54("div", {
17939
18007
  style: {
17940
18008
  color: "#0b84f3",
17941
18009
  fontFamily: "GTPlanar",
@@ -17947,17 +18015,17 @@ var TrendingRepos = ({ theme, trending }) => {
17947
18015
  },
17948
18016
  children: "Trending repositories"
17949
18017
  }),
17950
- /* @__PURE__ */ jsx51(TrendingRepoItem, {
18018
+ /* @__PURE__ */ jsx54(TrendingRepoItem, {
17951
18019
  number: 1,
17952
18020
  repo: trending.repos[0],
17953
18021
  theme
17954
18022
  }),
17955
- /* @__PURE__ */ jsx51(TrendingRepoItem, {
18023
+ /* @__PURE__ */ jsx54(TrendingRepoItem, {
17956
18024
  number: 2,
17957
18025
  repo: trending.repos[1],
17958
18026
  theme
17959
18027
  }),
17960
- /* @__PURE__ */ jsx51(TrendingRepoItem, {
18028
+ /* @__PURE__ */ jsx54(TrendingRepoItem, {
17961
18029
  number: 3,
17962
18030
  repo: trending.repos[2],
17963
18031
  theme
@@ -17969,7 +18037,7 @@ var TrendingRepos = ({ theme, trending }) => {
17969
18037
  };
17970
18038
 
17971
18039
  // src/components/homepage/Demo/Cards.tsx
17972
- import { jsx as jsx54 } from "react/jsx-runtime";
18040
+ import { jsx as jsx56 } from "react/jsx-runtime";
17973
18041
  var Cards = ({
17974
18042
  onUpdate,
17975
18043
  indices,
@@ -18015,26 +18083,26 @@ var Cards = ({
18015
18083
  ref.current?.onLeft();
18016
18084
  onLeftPress();
18017
18085
  }, [onLeftPress]);
18018
- return /* @__PURE__ */ jsx54(AbsoluteFill, {
18086
+ return /* @__PURE__ */ jsx56(AbsoluteFill, {
18019
18087
  ref: container4,
18020
18088
  children: new Array(4).fill(true).map((_, i) => {
18021
18089
  const index = indices[i];
18022
- const content = index === 0 ? /* @__PURE__ */ jsx54(TrendingRepos, {
18090
+ const content = index === 0 ? /* @__PURE__ */ jsx56(TrendingRepos, {
18023
18091
  trending,
18024
18092
  theme
18025
- }) : index === 1 ? /* @__PURE__ */ jsx54(Temperature, {
18093
+ }) : index === 1 ? /* @__PURE__ */ jsx56(Temperature, {
18026
18094
  city: location?.city ? decodeURIComponent(location?.city) : null,
18027
18095
  theme,
18028
18096
  temperatureInCelsius: trending?.temperatureInCelsius ?? null
18029
- }) : index === 2 ? /* @__PURE__ */ jsx54(CurrentCountry, {
18097
+ }) : index === 2 ? /* @__PURE__ */ jsx56(CurrentCountry, {
18030
18098
  countryPaths: trending?.countryPaths ?? null,
18031
18099
  countryLabel: trending?.countryLabel ?? null,
18032
18100
  theme
18033
- }) : /* @__PURE__ */ jsx54(EmojiCard, {
18101
+ }) : /* @__PURE__ */ jsx56(EmojiCard, {
18034
18102
  ref,
18035
18103
  emojiIndex: emojiName
18036
18104
  });
18037
- return /* @__PURE__ */ jsx54(Card, {
18105
+ return /* @__PURE__ */ jsx56(Card, {
18038
18106
  onUpdate,
18039
18107
  refsToUse: refs,
18040
18108
  index: i,
@@ -18052,7 +18120,7 @@ var Cards = ({
18052
18120
  };
18053
18121
 
18054
18122
  // src/components/homepage/Demo/Comp.tsx
18055
- import { jsx as jsx56, jsxs as jsxs19 } from "react/jsx-runtime";
18123
+ import { jsx as jsx57, jsxs as jsxs19 } from "react/jsx-runtime";
18056
18124
  var getDataAndProps = async () => {
18057
18125
  const location = await fetch("https://bugs-git-homepage-player-remotion.vercel.app/api/location").then((res) => res.json());
18058
18126
  const trending = await fetch(`https://bugs.remotion.dev/trending?lat=${location.latitude}&lng=${location.longitude}&country=${location.country}`).then((res) => res.json()).then((data) => {
@@ -18085,7 +18153,7 @@ var HomepageVideoComp = ({
18085
18153
  setRerenders(rerenders + 1);
18086
18154
  updateCardOrder(newIndices);
18087
18155
  }, [rerenders, updateCardOrder]);
18088
- const emoji = useMemo36(() => {
18156
+ const emoji = useMemo37(() => {
18089
18157
  if ((emojiIndex + 1e4 * 3) % 3 === 1) {
18090
18158
  return "melting";
18091
18159
  }
@@ -18094,7 +18162,7 @@ var HomepageVideoComp = ({
18094
18162
  }
18095
18163
  return "partying-face";
18096
18164
  }, [emojiIndex]);
18097
- const audioSrc = useMemo36(() => {
18165
+ const audioSrc = useMemo37(() => {
18098
18166
  if (emoji === "fire") {
18099
18167
  return fireAudio;
18100
18168
  }
@@ -18118,7 +18186,7 @@ var HomepageVideoComp = ({
18118
18186
  backgroundColor: theme === "dark" ? "#222" : "#fafafa"
18119
18187
  },
18120
18188
  children: [
18121
- /* @__PURE__ */ jsx56(Cards, {
18189
+ /* @__PURE__ */ jsx57(Cards, {
18122
18190
  onUpdate,
18123
18191
  indices: cardOrder,
18124
18192
  theme,
@@ -18129,7 +18197,7 @@ var HomepageVideoComp = ({
18129
18197
  onRight: onClickRight,
18130
18198
  emojiName: emoji
18131
18199
  }, rerenders),
18132
- audioSrc ? /* @__PURE__ */ jsx56(Html5Audio, {
18200
+ audioSrc ? /* @__PURE__ */ jsx57(Html5Audio, {
18133
18201
  src: audioSrc
18134
18202
  }) : null
18135
18203
  ]
@@ -18137,9 +18205,9 @@ var HomepageVideoComp = ({
18137
18205
  };
18138
18206
 
18139
18207
  // src/components/homepage/Demo/DemoError.tsx
18140
- import { jsx as jsx57 } from "react/jsx-runtime";
18208
+ import { jsx as jsx58 } from "react/jsx-runtime";
18141
18209
  var DemoError = () => {
18142
- return /* @__PURE__ */ jsx57("div", {
18210
+ return /* @__PURE__ */ jsx58("div", {
18143
18211
  style: {
18144
18212
  color: RED,
18145
18213
  fontFamily: FONTS.GTPLANAR,
@@ -18155,9 +18223,9 @@ import React37, { useCallback as useCallback28 } from "react";
18155
18223
  import { z } from "zod";
18156
18224
 
18157
18225
  // src/components/homepage/Demo/DemoErrorIcon.tsx
18158
- import { jsx as jsx58 } from "react/jsx-runtime";
18226
+ import { jsx as jsx59 } from "react/jsx-runtime";
18159
18227
  var DemoErrorIcon = () => {
18160
- return /* @__PURE__ */ jsx58("div", {
18228
+ return /* @__PURE__ */ jsx59("div", {
18161
18229
  style: {
18162
18230
  height: 26,
18163
18231
  width: 26,
@@ -18167,14 +18235,14 @@ var DemoErrorIcon = () => {
18167
18235
  justifyContent: "center",
18168
18236
  animation: "jump 0.2s ease-out"
18169
18237
  },
18170
- children: /* @__PURE__ */ jsx58("svg", {
18238
+ children: /* @__PURE__ */ jsx59("svg", {
18171
18239
  style: {
18172
18240
  flexShrink: 0,
18173
18241
  width: 26
18174
18242
  },
18175
18243
  xmlns: "http://www.w3.org/2000/svg",
18176
18244
  viewBox: "0 0 512 512",
18177
- children: /* @__PURE__ */ jsx58("path", {
18245
+ children: /* @__PURE__ */ jsx59("path", {
18178
18246
  fill: RED,
18179
18247
  d: "M17.1 292c-12.9-22.3-12.9-49.7 0-72L105.4 67.1c12.9-22.3 36.6-36 62.4-36l176.6 0c25.7 0 49.5 13.7 62.4 36L494.9 220c12.9 22.3 12.9 49.7 0 72L406.6 444.9c-12.9 22.3-36.6 36-62.4 36l-176.6 0c-25.7 0-49.5-13.7-62.4-36L17.1 292zM256 128c-13.3 0-24 10.7-24 24l0 112c0 13.3 10.7 24 24 24s24-10.7 24-24l0-112c0-13.3-10.7-24-24-24zm32 224a32 32 0 1 0 -64 0 32 32 0 1 0 64 0z"
18180
18248
  })
@@ -18183,9 +18251,9 @@ var DemoErrorIcon = () => {
18183
18251
  };
18184
18252
 
18185
18253
  // src/components/homepage/Demo/DoneCheckmark.tsx
18186
- import { jsx as jsx59, jsxs as jsxs20 } from "react/jsx-runtime";
18254
+ import { jsx as jsx60, jsxs as jsxs20 } from "react/jsx-runtime";
18187
18255
  var DoneCheckmark = () => {
18188
- return /* @__PURE__ */ jsx59("div", {
18256
+ return /* @__PURE__ */ jsx60("div", {
18189
18257
  style: {
18190
18258
  backgroundColor: PALETTE.BRAND,
18191
18259
  height: 26,
@@ -18205,13 +18273,13 @@ var DoneCheckmark = () => {
18205
18273
  width: 26
18206
18274
  },
18207
18275
  children: [
18208
- /* @__PURE__ */ jsx59("circle", {
18276
+ /* @__PURE__ */ jsx60("circle", {
18209
18277
  cx: "10",
18210
18278
  cy: "10",
18211
18279
  r: "10",
18212
18280
  fill: "#0B84F3"
18213
18281
  }),
18214
- /* @__PURE__ */ jsx59("path", {
18282
+ /* @__PURE__ */ jsx60("path", {
18215
18283
  d: "M14.7908 7.20505C15.0697 7.47844 15.0697 7.92243 14.7908 8.19583L9.07711 13.795C8.79813 14.0683 8.34505 14.0683 8.06606 13.795L5.20924 10.9954C4.93025 10.722 4.93025 10.278 5.20924 10.0046C5.48823 9.73121 5.9413 9.73121 6.22029 10.0046L8.5727 12.3077L13.7819 7.20505C14.0609 6.93165 14.514 6.93165 14.793 7.20505H14.7908Z",
18216
18284
  fill: "white",
18217
18285
  style: {
@@ -18225,9 +18293,9 @@ var DoneCheckmark = () => {
18225
18293
  };
18226
18294
 
18227
18295
  // ../shapes/dist/esm/index.mjs
18228
- import React29, { useMemo as useMemo37 } from "react";
18296
+ import React29, { useMemo as useMemo38 } from "react";
18229
18297
  import { version } from "react-dom";
18230
- import { jsx as jsx60, jsxs as jsxs21 } from "react/jsx-runtime";
18298
+ import { jsx as jsx61, jsxs as jsxs21 } from "react/jsx-runtime";
18231
18299
  import { jsx as jsx212 } from "react/jsx-runtime";
18232
18300
  import { jsx as jsx310 } from "react/jsx-runtime";
18233
18301
  import { jsx as jsx45 } from "react/jsx-runtime";
@@ -18383,7 +18451,7 @@ var makePie = ({
18383
18451
  };
18384
18452
 
18385
18453
  // src/components/homepage/Demo/Progress.tsx
18386
- import { jsx as jsx61, jsxs as jsxs24 } from "react/jsx-runtime";
18454
+ import { jsx as jsx65, jsxs as jsxs24 } from "react/jsx-runtime";
18387
18455
  var Progress = ({ progress }) => {
18388
18456
  const inner2 = makeCircle({
18389
18457
  radius: 10
@@ -18397,13 +18465,13 @@ var Progress = ({ progress }) => {
18397
18465
  viewBox: `0 0 ${inner2.width} ${inner2.height}`,
18398
18466
  style: { overflow: "visible", height: 22 },
18399
18467
  children: [
18400
- /* @__PURE__ */ jsx61("path", {
18468
+ /* @__PURE__ */ jsx65("path", {
18401
18469
  d: inner2.path,
18402
18470
  stroke: PALETTE.BORDER_COLOR,
18403
18471
  strokeWidth: 4,
18404
18472
  fill: "transparent"
18405
18473
  }),
18406
- /* @__PURE__ */ jsx61("path", {
18474
+ /* @__PURE__ */ jsx65("path", {
18407
18475
  d: outer.path,
18408
18476
  stroke: PALETTE.BRAND,
18409
18477
  strokeWidth: 4,
@@ -18415,15 +18483,15 @@ var Progress = ({ progress }) => {
18415
18483
  };
18416
18484
 
18417
18485
  // src/components/homepage/Demo/Spinner.tsx
18418
- import { useMemo as useMemo38 } from "react";
18419
- import { jsx as jsx65, jsxs as jsxs26, Fragment as Fragment7 } from "react/jsx-runtime";
18486
+ import { useMemo as useMemo39 } from "react";
18487
+ import { jsx as jsx67, jsxs as jsxs26, Fragment as Fragment7 } from "react/jsx-runtime";
18420
18488
  var viewBox = 100;
18421
18489
  var lines = 8;
18422
18490
  var className2 = "__remotion_spinner_line";
18423
18491
  var remotionSpinnerAnimation = "__remotion_spinner_animation";
18424
18492
  var translated = "M 44 0 L 50 0 a 6 6 0 0 1 6 6 L 56 26 a 6 6 0 0 1 -6 6 L 50 32 a 6 6 0 0 1 -6 -6 L 44 6 a 6 6 0 0 1 6 -6 Z";
18425
18493
  var Spinner = ({ size, duration }) => {
18426
- const style2 = useMemo38(() => {
18494
+ const style2 = useMemo39(() => {
18427
18495
  return {
18428
18496
  width: size,
18429
18497
  height: size
@@ -18431,7 +18499,7 @@ var Spinner = ({ size, duration }) => {
18431
18499
  }, [size]);
18432
18500
  return /* @__PURE__ */ jsxs26(Fragment7, {
18433
18501
  children: [
18434
- /* @__PURE__ */ jsx65("style", {
18502
+ /* @__PURE__ */ jsx67("style", {
18435
18503
  type: "text/css",
18436
18504
  children: `
18437
18505
  @keyframes ${remotionSpinnerAnimation} {
@@ -18448,11 +18516,11 @@ var Spinner = ({ size, duration }) => {
18448
18516
  }
18449
18517
  `
18450
18518
  }),
18451
- /* @__PURE__ */ jsx65("svg", {
18519
+ /* @__PURE__ */ jsx67("svg", {
18452
18520
  style: style2,
18453
18521
  viewBox: `0 0 ${viewBox} ${viewBox}`,
18454
18522
  children: new Array(lines).fill(true).map((_, index) => {
18455
- return /* @__PURE__ */ jsx65("path", {
18523
+ return /* @__PURE__ */ jsx67("path", {
18456
18524
  className: className2,
18457
18525
  style: {
18458
18526
  rotate: `${index * Math.PI * 2 / lines}rad`,
@@ -18469,7 +18537,7 @@ var Spinner = ({ size, duration }) => {
18469
18537
  };
18470
18538
 
18471
18539
  // src/components/homepage/Demo/DemoRender.tsx
18472
- import { jsx as jsx67 } from "react/jsx-runtime";
18540
+ import { jsx as jsx68 } from "react/jsx-runtime";
18473
18541
  var countryPath = z.object({
18474
18542
  d: z.string(),
18475
18543
  class: z.string()
@@ -18550,24 +18618,24 @@ var RenderButton = ({ renderData, onError }) => {
18550
18618
  onError();
18551
18619
  }
18552
18620
  }, [onError, renderData]);
18553
- return /* @__PURE__ */ jsx67("button", {
18621
+ return /* @__PURE__ */ jsx68("button", {
18554
18622
  type: "button",
18555
18623
  onClick: triggerRender,
18556
18624
  style: style2,
18557
18625
  disabled: !renderData || state.type !== "idle",
18558
- children: state.type === "error" ? /* @__PURE__ */ jsx67(DemoErrorIcon, {}) : state.type === "done" ? /* @__PURE__ */ jsx67(DoneCheckmark, {}) : state.type === "progress" ? /* @__PURE__ */ jsx67(Progress, {
18626
+ children: state.type === "error" ? /* @__PURE__ */ jsx68(DemoErrorIcon, {}) : state.type === "done" ? /* @__PURE__ */ jsx68(DoneCheckmark, {}) : state.type === "progress" ? /* @__PURE__ */ jsx68(Progress, {
18559
18627
  progress: state.progress
18560
- }) : state.type === "invoking" ? /* @__PURE__ */ jsx67(Spinner, {
18628
+ }) : state.type === "invoking" ? /* @__PURE__ */ jsx68(Spinner, {
18561
18629
  size: 20,
18562
18630
  duration: 1
18563
- }) : /* @__PURE__ */ jsx67("svg", {
18631
+ }) : /* @__PURE__ */ jsx68("svg", {
18564
18632
  style: {
18565
18633
  width: 18,
18566
18634
  opacity: renderData ? 1 : 0.5
18567
18635
  },
18568
18636
  xmlns: "http://www.w3.org/2000/svg",
18569
18637
  viewBox: "0 0 384 512",
18570
- children: /* @__PURE__ */ jsx67("path", {
18638
+ children: /* @__PURE__ */ jsx68("path", {
18571
18639
  fill: PALETTE.TEXT_COLOR,
18572
18640
  d: "M214.6 342.6L192 365.3l-22.6-22.6-128-128L18.7 192 64 146.7l22.6 22.6L160 242.7 160 64l0-32 64 0 0 32 0 178.7 73.4-73.4L320 146.7 365.3 192l-22.6 22.6-128 128zM32 416l320 0 32 0 0 64-32 0L32 480 0 480l0-64 32 0z"
18573
18641
  })
@@ -18576,18 +18644,18 @@ var RenderButton = ({ renderData, onError }) => {
18576
18644
  };
18577
18645
 
18578
18646
  // src/components/homepage/Demo/DownloadNudge.tsx
18579
- import { jsx as jsx68, jsxs as jsxs27 } from "react/jsx-runtime";
18647
+ import { jsx as jsx69, jsxs as jsxs27 } from "react/jsx-runtime";
18580
18648
  var origWidth = 77;
18581
18649
  var scale = 0.4;
18582
18650
  var Icon = () => {
18583
- return /* @__PURE__ */ jsx68("svg", {
18651
+ return /* @__PURE__ */ jsx69("svg", {
18584
18652
  style: {
18585
18653
  width: origWidth * scale
18586
18654
  },
18587
18655
  viewBox: "0 0 77 160",
18588
18656
  fill: "none",
18589
18657
  xmlns: "http://www.w3.org/2000/svg",
18590
- children: /* @__PURE__ */ jsx68("path", {
18658
+ children: /* @__PURE__ */ jsx69("path", {
18591
18659
  d: "M5 154.5C51 121 79 81 69 5",
18592
18660
  stroke: "currentColor",
18593
18661
  strokeWidth: "8",
@@ -18596,7 +18664,7 @@ var Icon = () => {
18596
18664
  });
18597
18665
  };
18598
18666
  var DownloadNudge = () => {
18599
- return /* @__PURE__ */ jsx68("div", {
18667
+ return /* @__PURE__ */ jsx69("div", {
18600
18668
  style: {
18601
18669
  position: "relative",
18602
18670
  flexDirection: "row",
@@ -18608,7 +18676,7 @@ var DownloadNudge = () => {
18608
18676
  },
18609
18677
  children: /* @__PURE__ */ jsxs27("div", {
18610
18678
  children: [
18611
- /* @__PURE__ */ jsx68(Icon, {}),
18679
+ /* @__PURE__ */ jsx69(Icon, {}),
18612
18680
  /* @__PURE__ */ jsxs27("div", {
18613
18681
  style: {
18614
18682
  fontFamily: FONTS.GTPLANAR,
@@ -18620,9 +18688,9 @@ var DownloadNudge = () => {
18620
18688
  },
18621
18689
  children: [
18622
18690
  "Export the video using",
18623
- /* @__PURE__ */ jsx68("br", {}),
18691
+ /* @__PURE__ */ jsx69("br", {}),
18624
18692
  " ",
18625
- /* @__PURE__ */ jsx68("a", {
18693
+ /* @__PURE__ */ jsx69("a", {
18626
18694
  href: "/lambda",
18627
18695
  className: "bluelink",
18628
18696
  children: "Remotion Lambda"
@@ -18636,18 +18704,18 @@ var DownloadNudge = () => {
18636
18704
  };
18637
18705
 
18638
18706
  // src/components/homepage/Demo/DragAndDropNudge.tsx
18639
- import { jsx as jsx69, jsxs as jsxs28 } from "react/jsx-runtime";
18707
+ import { jsx as jsx70, jsxs as jsxs28 } from "react/jsx-runtime";
18640
18708
  var origWidth2 = 37;
18641
18709
  var scale2 = 0.4;
18642
18710
  var Icon2 = () => {
18643
- return /* @__PURE__ */ jsx69("svg", {
18711
+ return /* @__PURE__ */ jsx70("svg", {
18644
18712
  style: {
18645
18713
  width: origWidth2 * scale2,
18646
18714
  overflow: "visible"
18647
18715
  },
18648
18716
  viewBox: "0 0 37 59",
18649
18717
  fill: "none",
18650
- children: /* @__PURE__ */ jsx69("path", {
18718
+ children: /* @__PURE__ */ jsx70("path", {
18651
18719
  d: "M5.00003 5C5.00002 36.5 16 44 32.0002 54",
18652
18720
  stroke: PALETTE.TEXT_COLOR,
18653
18721
  strokeWidth: "8",
@@ -18656,7 +18724,7 @@ var Icon2 = () => {
18656
18724
  });
18657
18725
  };
18658
18726
  var DragAndDropNudge = () => {
18659
- return /* @__PURE__ */ jsx69("div", {
18727
+ return /* @__PURE__ */ jsx70("div", {
18660
18728
  style: {
18661
18729
  position: "absolute",
18662
18730
  flexDirection: "row",
@@ -18668,7 +18736,7 @@ var DragAndDropNudge = () => {
18668
18736
  className: "ml-4 lg:-ml-5",
18669
18737
  children: /* @__PURE__ */ jsxs28("div", {
18670
18738
  children: [
18671
- /* @__PURE__ */ jsx69("div", {
18739
+ /* @__PURE__ */ jsx70("div", {
18672
18740
  style: {
18673
18741
  fontFamily: FONTS.GTPLANAR,
18674
18742
  fontSize: 15,
@@ -18679,7 +18747,7 @@ var DragAndDropNudge = () => {
18679
18747
  className: "-ml-3 lg:-ml-5",
18680
18748
  children: "Drag and drop the cards to reorder them."
18681
18749
  }),
18682
- /* @__PURE__ */ jsx69(Icon2, {})
18750
+ /* @__PURE__ */ jsx70(Icon2, {})
18683
18751
  ]
18684
18752
  })
18685
18753
  });
@@ -18687,13 +18755,13 @@ var DragAndDropNudge = () => {
18687
18755
 
18688
18756
  // src/components/homepage/Demo/PlayerSeekBar.tsx
18689
18757
  init_esm();
18690
- import { useCallback as useCallback30, useEffect as useEffect33, useMemo as useMemo40, useRef as useRef26, useState as useState30 } from "react";
18758
+ import { useCallback as useCallback30, useEffect as useEffect33, useMemo as useMemo41, useRef as useRef26, useState as useState30 } from "react";
18691
18759
 
18692
18760
  // src/components/homepage/layout/use-el-size.ts
18693
- import { useCallback as useCallback29, useEffect as useEffect31, useMemo as useMemo39, useState as useState29 } from "react";
18761
+ import { useCallback as useCallback29, useEffect as useEffect31, useMemo as useMemo40, useState as useState29 } from "react";
18694
18762
  var useElementSize2 = (ref) => {
18695
18763
  const [size, setSize] = useState29(null);
18696
- const observer = useMemo39(() => {
18764
+ const observer = useMemo40(() => {
18697
18765
  if (typeof ResizeObserver === "undefined") {
18698
18766
  return;
18699
18767
  }
@@ -18732,7 +18800,7 @@ var useElementSize2 = (ref) => {
18732
18800
  };
18733
18801
 
18734
18802
  // src/components/homepage/Demo/PlayerSeekBar.tsx
18735
- import { jsx as jsx70, jsxs as jsxs29 } from "react/jsx-runtime";
18803
+ import { jsx as jsx71, jsxs as jsxs29 } from "react/jsx-runtime";
18736
18804
  var getFrameFromX2 = (clientX, durationInFrames, width2) => {
18737
18805
  const pos = clientX;
18738
18806
  const frame = Math.round(interpolate(pos, [0, width2], [0, durationInFrames - 1], {
@@ -18907,7 +18975,7 @@ var PlayerSeekBar2 = ({
18907
18975
  body.removeEventListener("pointerup", onPointerUp);
18908
18976
  };
18909
18977
  }, [dragging.dragging, onPointerMove, onPointerUp]);
18910
- const knobStyle = useMemo40(() => {
18978
+ const knobStyle = useMemo41(() => {
18911
18979
  return {
18912
18980
  height: KNOB_SIZE3,
18913
18981
  width: KNOB_SIZE3,
@@ -18921,7 +18989,7 @@ var PlayerSeekBar2 = ({
18921
18989
  transition: "opacity 0.s ease"
18922
18990
  };
18923
18991
  }, [barHovered, durationInFrames, frame, width2]);
18924
- const fillStyle = useMemo40(() => {
18992
+ const fillStyle = useMemo41(() => {
18925
18993
  return {
18926
18994
  height: BAR_HEIGHT3,
18927
18995
  backgroundColor: "var(--ifm-font-color-base)",
@@ -18930,7 +18998,7 @@ var PlayerSeekBar2 = ({
18930
18998
  borderRadius: BAR_HEIGHT3 / 2
18931
18999
  };
18932
19000
  }, [durationInFrames, frame, inFrame]);
18933
- const active = useMemo40(() => {
19001
+ const active = useMemo41(() => {
18934
19002
  return {
18935
19003
  height: BAR_HEIGHT3,
18936
19004
  backgroundColor: "var(--ifm-font-color-base)",
@@ -18949,15 +19017,15 @@ var PlayerSeekBar2 = ({
18949
19017
  /* @__PURE__ */ jsxs29("div", {
18950
19018
  style: barBackground2,
18951
19019
  children: [
18952
- /* @__PURE__ */ jsx70("div", {
19020
+ /* @__PURE__ */ jsx71("div", {
18953
19021
  style: active
18954
19022
  }),
18955
- /* @__PURE__ */ jsx70("div", {
19023
+ /* @__PURE__ */ jsx71("div", {
18956
19024
  style: fillStyle
18957
19025
  })
18958
19026
  ]
18959
19027
  }),
18960
- /* @__PURE__ */ jsx70("div", {
19028
+ /* @__PURE__ */ jsx71("div", {
18961
19029
  style: knobStyle
18962
19030
  })
18963
19031
  ]
@@ -18968,9 +19036,9 @@ var PlayerSeekBar2 = ({
18968
19036
  import { useCallback as useCallback31, useEffect as useEffect35, useRef as useRef27, useState as useState31 } from "react";
18969
19037
 
18970
19038
  // src/components/homepage/Demo/icons.tsx
18971
- import { jsx as jsx71 } from "react/jsx-runtime";
19039
+ import { jsx as jsx75 } from "react/jsx-runtime";
18972
19040
  var PausedIcon = (props) => {
18973
- return /* @__PURE__ */ jsx71("svg", {
19041
+ return /* @__PURE__ */ jsx75("svg", {
18974
19042
  "aria-hidden": "true",
18975
19043
  focusable: "false",
18976
19044
  "data-prefix": "fas",
@@ -18980,48 +19048,48 @@ var PausedIcon = (props) => {
18980
19048
  xmlns: "http://www.w3.org/2000/svg",
18981
19049
  viewBox: "0 0 480 512",
18982
19050
  ...props,
18983
- children: /* @__PURE__ */ jsx71("path", {
19051
+ children: /* @__PURE__ */ jsx75("path", {
18984
19052
  fill: "currentColor",
18985
19053
  d: "M424.4 214.7L72.4 6.6C43.8-10.3 0 6.1 0 47.9V464c0 37.5 40.7 60.1 72.4 41.3l352-208c31.4-18.5 31.5-64.1 0-82.6z"
18986
19054
  })
18987
19055
  });
18988
19056
  };
18989
19057
  var PlayingIcon = (props) => {
18990
- return /* @__PURE__ */ jsx71("svg", {
19058
+ return /* @__PURE__ */ jsx75("svg", {
18991
19059
  xmlns: "http://www.w3.org/2000/svg",
18992
19060
  viewBox: "0 0 400 512",
18993
19061
  fill: "currentColor",
18994
19062
  ...props,
18995
- children: /* @__PURE__ */ jsx71("path", {
19063
+ children: /* @__PURE__ */ jsx75("path", {
18996
19064
  d: "M48 64C21.5 64 0 85.5 0 112L0 400c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48L48 64zm192 0c-26.5 0-48 21.5-48 48l0 288c0 26.5 21.5 48 48 48l32 0c26.5 0 48-21.5 48-48l0-288c0-26.5-21.5-48-48-48l-32 0z"
18997
19065
  })
18998
19066
  });
18999
19067
  };
19000
19068
  var NotMutedIcon = (props) => {
19001
- return /* @__PURE__ */ jsx71("svg", {
19069
+ return /* @__PURE__ */ jsx75("svg", {
19002
19070
  xmlns: "http://www.w3.org/2000/svg",
19003
19071
  ...props,
19004
19072
  viewBox: "0 0 640 512",
19005
19073
  fill: "currentColor",
19006
- children: /* @__PURE__ */ jsx71("path", {
19074
+ children: /* @__PURE__ */ jsx75("path", {
19007
19075
  d: "M32 160l0 192 128 0L304 480l48 0 0-448-48 0L160 160 32 160zM441.6 332.8C464.9 315.3 480 287.4 480 256s-15.1-59.3-38.4-76.8l-28.8 38.4c11.7 8.8 19.2 22.7 19.2 38.4s-7.5 29.6-19.2 38.4l28.8 38.4zm57.6 76.8c46.6-35 76.8-90.8 76.8-153.6s-30.2-118.6-76.8-153.6l-28.8 38.4c35 26.3 57.6 68.1 57.6 115.2s-22.6 88.9-57.6 115.2l28.8 38.4z"
19008
19076
  })
19009
19077
  });
19010
19078
  };
19011
19079
  var IsMutedIcon = (props) => {
19012
- return /* @__PURE__ */ jsx71("svg", {
19080
+ return /* @__PURE__ */ jsx75("svg", {
19013
19081
  xmlns: "http://www.w3.org/2000/svg",
19014
19082
  ...props,
19015
19083
  viewBox: "0 0 640 512",
19016
19084
  fill: RED,
19017
- children: /* @__PURE__ */ jsx71("path", {
19085
+ children: /* @__PURE__ */ jsx75("path", {
19018
19086
  d: "M48.4 14.8L29.4 .1 0 38l19 14.7L591.5 497.2l19 14.7L639.9 474l-19-14.7-95.1-73.8C557 351.3 576 305.9 576 256c0-62.8-30.2-118.6-76.8-153.6l-28.8 38.4c35 26.3 57.6 68.1 57.6 115.2c0 38.8-15.3 74-40.3 99.9l-38.2-29.7C468.3 308.7 480 283.7 480 256c0-31.4-15.1-59.3-38.4-76.8l-28.8 38.4c11.7 8.8 19.2 22.7 19.2 38.4s-7.5 29.6-19.2 38.4l5.9 7.9L352 250.5 352 32l-48 0L195.2 128.7 48.4 14.8zM352 373.3L81.2 160 32 160l0 192 128 0L304 480l48 0 0-106.7z"
19019
19087
  })
19020
19088
  });
19021
19089
  };
19022
19090
 
19023
19091
  // src/components/homepage/Demo/PlayerVolume.tsx
19024
- import { jsx as jsx75 } from "react/jsx-runtime";
19092
+ import { jsx as jsx77 } from "react/jsx-runtime";
19025
19093
  var PlayerVolume = ({ playerRef }) => {
19026
19094
  const [muted, setIsMuted] = useState31(() => playerRef.current?.isMuted() ?? true);
19027
19095
  const [isHovered, setIsHovered] = useState31(false);
@@ -19057,10 +19125,10 @@ var PlayerVolume = ({ playerRef }) => {
19057
19125
  playerRef.current.mute();
19058
19126
  }
19059
19127
  }, [playerRef]);
19060
- return /* @__PURE__ */ jsx75("div", {
19128
+ return /* @__PURE__ */ jsx77("div", {
19061
19129
  className: "relative cursor-pointer block pl-4 pr-4 h-full",
19062
19130
  onMouseEnter: () => setIsHovered(true),
19063
- children: /* @__PURE__ */ jsx75("button", {
19131
+ children: /* @__PURE__ */ jsx77("button", {
19064
19132
  type: "button",
19065
19133
  onClick,
19066
19134
  style: {
@@ -19074,9 +19142,9 @@ var PlayerVolume = ({ playerRef }) => {
19074
19142
  alignItems: "center",
19075
19143
  color: PALETTE.TEXT_COLOR
19076
19144
  },
19077
- children: muted ? /* @__PURE__ */ jsx75(IsMutedIcon, {
19145
+ children: muted ? /* @__PURE__ */ jsx77(IsMutedIcon, {
19078
19146
  style: { height: 20 }
19079
- }) : /* @__PURE__ */ jsx75(NotMutedIcon, {
19147
+ }) : /* @__PURE__ */ jsx77(NotMutedIcon, {
19080
19148
  style: { height: 20 }
19081
19149
  })
19082
19150
  })
@@ -19085,7 +19153,7 @@ var PlayerVolume = ({ playerRef }) => {
19085
19153
 
19086
19154
  // src/components/homepage/Demo/PlayPauseButton.tsx
19087
19155
  import React40, { useCallback as useCallback33, useEffect as useEffect36 } from "react";
19088
- import { jsx as jsx77 } from "react/jsx-runtime";
19156
+ import { jsx as jsx78 } from "react/jsx-runtime";
19089
19157
  var playerButtonStyle2 = {
19090
19158
  appearance: "none",
19091
19159
  border: "none",
@@ -19126,13 +19194,13 @@ var PlayPauseButton = ({ playerRef }) => {
19126
19194
  const playPauseIconStyle = {
19127
19195
  width: 15
19128
19196
  };
19129
- return /* @__PURE__ */ jsx77("button", {
19197
+ return /* @__PURE__ */ jsx78("button", {
19130
19198
  type: "button",
19131
19199
  style: playerButtonStyle2,
19132
19200
  onClick: onToggle,
19133
- children: playing ? /* @__PURE__ */ jsx77(PlayingIcon, {
19201
+ children: playing ? /* @__PURE__ */ jsx78(PlayingIcon, {
19134
19202
  style: playPauseIconStyle
19135
- }) : /* @__PURE__ */ jsx77(PausedIcon, {
19203
+ }) : /* @__PURE__ */ jsx78(PausedIcon, {
19136
19204
  style: playPauseIconStyle
19137
19205
  })
19138
19206
  });
@@ -19140,7 +19208,7 @@ var PlayPauseButton = ({ playerRef }) => {
19140
19208
 
19141
19209
  // src/components/homepage/Demo/TimeDisplay.tsx
19142
19210
  import React41, { useEffect as useEffect37 } from "react";
19143
- import { jsx as jsx78 } from "react/jsx-runtime";
19211
+ import { jsx as jsx79 } from "react/jsx-runtime";
19144
19212
  var formatTime2 = (timeInSeconds) => {
19145
19213
  const minutes = Math.floor(timeInSeconds / 60);
19146
19214
  const seconds = Math.floor(timeInSeconds - minutes * 60);
@@ -19161,21 +19229,21 @@ var TimeDisplay = ({ fps, playerRef }) => {
19161
19229
  current.removeEventListener("frameupdate", onTimeUpdate);
19162
19230
  };
19163
19231
  }, [playerRef]);
19164
- return /* @__PURE__ */ jsx78("div", {
19232
+ return /* @__PURE__ */ jsx79("div", {
19165
19233
  style: {
19166
19234
  fontSize: 16,
19167
19235
  fontVariantNumeric: "tabular-nums"
19168
19236
  },
19169
- children: /* @__PURE__ */ jsx78("span", {
19237
+ children: /* @__PURE__ */ jsx79("span", {
19170
19238
  children: formatTime2(time / fps)
19171
19239
  })
19172
19240
  });
19173
19241
  };
19174
19242
 
19175
19243
  // src/components/homepage/Demo/PlayerControls.tsx
19176
- import { jsx as jsx79, jsxs as jsxs30 } from "react/jsx-runtime";
19244
+ import { jsx as jsx80, jsxs as jsxs30 } from "react/jsx-runtime";
19177
19245
  var Separator = () => {
19178
- return /* @__PURE__ */ jsx79("div", {
19246
+ return /* @__PURE__ */ jsx80("div", {
19179
19247
  style: {
19180
19248
  borderRight: `2px solid ${PALETTE.BOX_STROKE}`,
19181
19249
  height: 50
@@ -19186,25 +19254,25 @@ var PlayerControls = ({ playerRef, durationInFrames, fps, children }) => {
19186
19254
  return /* @__PURE__ */ jsxs30("div", {
19187
19255
  className: "flex flex-row items-center bg-pane",
19188
19256
  children: [
19189
- /* @__PURE__ */ jsx79(PlayPauseButton, {
19257
+ /* @__PURE__ */ jsx80(PlayPauseButton, {
19190
19258
  playerRef
19191
19259
  }),
19192
- /* @__PURE__ */ jsx79(Separator, {}),
19193
- /* @__PURE__ */ jsx79(PlayerVolume, {
19260
+ /* @__PURE__ */ jsx80(Separator, {}),
19261
+ /* @__PURE__ */ jsx80(PlayerVolume, {
19194
19262
  playerRef
19195
19263
  }),
19196
- /* @__PURE__ */ jsx79(Separator, {}),
19197
- /* @__PURE__ */ jsx79("div", {
19264
+ /* @__PURE__ */ jsx80(Separator, {}),
19265
+ /* @__PURE__ */ jsx80("div", {
19198
19266
  style: { width: 15 }
19199
19267
  }),
19200
- /* @__PURE__ */ jsx79(TimeDisplay, {
19268
+ /* @__PURE__ */ jsx80(TimeDisplay, {
19201
19269
  playerRef,
19202
19270
  fps
19203
19271
  }),
19204
- /* @__PURE__ */ jsx79("div", {
19272
+ /* @__PURE__ */ jsx80("div", {
19205
19273
  style: { width: 15 }
19206
19274
  }),
19207
- /* @__PURE__ */ jsx79(PlayerSeekBar2, {
19275
+ /* @__PURE__ */ jsx80(PlayerSeekBar2, {
19208
19276
  durationInFrames,
19209
19277
  playerRef,
19210
19278
  inFrame: null,
@@ -19216,10 +19284,10 @@ var PlayerControls = ({ playerRef, durationInFrames, fps, children }) => {
19216
19284
  return;
19217
19285
  }
19218
19286
  }),
19219
- /* @__PURE__ */ jsx79("div", {
19287
+ /* @__PURE__ */ jsx80("div", {
19220
19288
  style: { width: 20 }
19221
19289
  }),
19222
- /* @__PURE__ */ jsx79(Separator, {}),
19290
+ /* @__PURE__ */ jsx80(Separator, {}),
19223
19291
  children
19224
19292
  ]
19225
19293
  });
@@ -19227,18 +19295,18 @@ var PlayerControls = ({ playerRef, durationInFrames, fps, children }) => {
19227
19295
 
19228
19296
  // src/components/homepage/Demo/ThemeNudge.tsx
19229
19297
  import React43 from "react";
19230
- import { jsx as jsx80, jsxs as jsxs31 } from "react/jsx-runtime";
19298
+ import { jsx as jsx81, jsxs as jsxs31 } from "react/jsx-runtime";
19231
19299
  var origWidth3 = 21;
19232
19300
  var scale3 = 0.4;
19233
19301
  var Icon3 = () => {
19234
- return /* @__PURE__ */ jsx80("svg", {
19302
+ return /* @__PURE__ */ jsx81("svg", {
19235
19303
  style: {
19236
19304
  width: origWidth3 * scale3
19237
19305
  },
19238
19306
  viewBox: "0 0 21 161",
19239
19307
  fill: "none",
19240
19308
  xmlns: "http://www.w3.org/2000/svg",
19241
- children: /* @__PURE__ */ jsx80("path", {
19309
+ children: /* @__PURE__ */ jsx81("path", {
19242
19310
  d: "M5 5C23 59.5 14.5 120.5 5.00005 156",
19243
19311
  stroke: "currentColor",
19244
19312
  strokeWidth: "8",
@@ -19252,7 +19320,7 @@ var ThemeNudge = () => {
19252
19320
  e.preventDefault();
19253
19321
  setColorMode(colorMode === "dark" ? "light" : "dark");
19254
19322
  }, [colorMode, setColorMode]);
19255
- return /* @__PURE__ */ jsx80("div", {
19323
+ return /* @__PURE__ */ jsx81("div", {
19256
19324
  style: {
19257
19325
  flexDirection: "row",
19258
19326
  display: "flex",
@@ -19290,14 +19358,14 @@ var ThemeNudge = () => {
19290
19358
  " "
19291
19359
  ]
19292
19360
  }),
19293
- /* @__PURE__ */ jsx80(Icon3, {})
19361
+ /* @__PURE__ */ jsx81(Icon3, {})
19294
19362
  ]
19295
19363
  })
19296
19364
  });
19297
19365
  };
19298
19366
 
19299
19367
  // src/components/homepage/Demo/index.tsx
19300
- import { jsx as jsx81, jsxs as jsxs33 } from "react/jsx-runtime";
19368
+ import { jsx as jsx85, jsxs as jsxs33 } from "react/jsx-runtime";
19301
19369
  var style3 = {
19302
19370
  width: "100%",
19303
19371
  aspectRatio: "640 / 360",
@@ -19343,7 +19411,7 @@ var Demo = () => {
19343
19411
  const updateCardOrder = useCallback35((newCardOrder) => {
19344
19412
  setCardOrder(newCardOrder);
19345
19413
  }, []);
19346
- const props = useMemo41(() => {
19414
+ const props = useMemo43(() => {
19347
19415
  return {
19348
19416
  theme: colorMode,
19349
19417
  onToggle: () => {
@@ -19367,22 +19435,22 @@ var Demo = () => {
19367
19435
  }, []);
19368
19436
  return /* @__PURE__ */ jsxs33("div", {
19369
19437
  children: [
19370
- /* @__PURE__ */ jsx81("br", {}),
19371
- /* @__PURE__ */ jsx81("br", {}),
19372
- /* @__PURE__ */ jsx81(SectionTitle, {
19438
+ /* @__PURE__ */ jsx85("br", {}),
19439
+ /* @__PURE__ */ jsx85("br", {}),
19440
+ /* @__PURE__ */ jsx85(SectionTitle, {
19373
19441
  children: "Demo"
19374
19442
  }),
19375
19443
  /* @__PURE__ */ jsxs33("div", {
19376
19444
  style: { height: 140, position: "relative" },
19377
19445
  children: [
19378
- /* @__PURE__ */ jsx81(DragAndDropNudge, {}),
19379
- /* @__PURE__ */ jsx81(ThemeNudge, {})
19446
+ /* @__PURE__ */ jsx85(DragAndDropNudge, {}),
19447
+ /* @__PURE__ */ jsx85(ThemeNudge, {})
19380
19448
  ]
19381
19449
  }),
19382
19450
  /* @__PURE__ */ jsxs33("div", {
19383
19451
  style: playerWrapper,
19384
19452
  children: [
19385
- /* @__PURE__ */ jsx81(Player, {
19453
+ /* @__PURE__ */ jsx85(Player, {
19386
19454
  ref,
19387
19455
  component: HomepageVideoComp,
19388
19456
  compositionWidth: 640,
@@ -19397,11 +19465,11 @@ var Demo = () => {
19397
19465
  inputProps: props,
19398
19466
  loop: true
19399
19467
  }),
19400
- /* @__PURE__ */ jsx81(PlayerControls, {
19468
+ /* @__PURE__ */ jsx85(PlayerControls, {
19401
19469
  playerRef: ref,
19402
19470
  durationInFrames: 120,
19403
19471
  fps: 30,
19404
- children: /* @__PURE__ */ jsx81(RenderButton, {
19472
+ children: /* @__PURE__ */ jsx85(RenderButton, {
19405
19473
  onError,
19406
19474
  renderData: data2 ? {
19407
19475
  cardOrder,
@@ -19414,18 +19482,18 @@ var Demo = () => {
19414
19482
  })
19415
19483
  ]
19416
19484
  }),
19417
- error2 ? /* @__PURE__ */ jsx81(DemoError, {}) : null,
19418
- /* @__PURE__ */ jsx81(DownloadNudge, {})
19485
+ error2 ? /* @__PURE__ */ jsx85(DemoError, {}) : null,
19486
+ /* @__PURE__ */ jsx85(DownloadNudge, {})
19419
19487
  ]
19420
19488
  });
19421
19489
  };
19422
19490
 
19423
19491
  // src/components/homepage/layout/Button.tsx
19424
- import { jsx as jsx85 } from "react/jsx-runtime";
19492
+ import { jsx as jsx87 } from "react/jsx-runtime";
19425
19493
  var Button = (props) => {
19426
19494
  const { children, loading, hoverColor, color, size, className: className3, ...other } = props;
19427
19495
  const actualDisabled = other.disabled || loading;
19428
- return /* @__PURE__ */ jsx85("button", {
19496
+ return /* @__PURE__ */ jsx87("button", {
19429
19497
  type: "button",
19430
19498
  className: cn("text-base rounded-lg font-bold appearance-none border-2 border-solid border-black border-b-4 font-sans flex flex-row items-center justify-center ", className3),
19431
19499
  disabled: actualDisabled,
@@ -19442,21 +19510,21 @@ var Button = (props) => {
19442
19510
  });
19443
19511
  };
19444
19512
  var BlueButton = (props) => {
19445
- return /* @__PURE__ */ jsx85(Button, {
19513
+ return /* @__PURE__ */ jsx87(Button, {
19446
19514
  ...props,
19447
19515
  background: "var(--blue-underlay)",
19448
19516
  color: "white"
19449
19517
  });
19450
19518
  };
19451
19519
  var PlainButton = (props) => {
19452
- return /* @__PURE__ */ jsx85(Button, {
19520
+ return /* @__PURE__ */ jsx87(Button, {
19453
19521
  ...props,
19454
19522
  background: "var(--plain-button)",
19455
19523
  color: "var(--text-color)"
19456
19524
  });
19457
19525
  };
19458
19526
  var ClearButton = (props) => {
19459
- return /* @__PURE__ */ jsx85(Button, {
19527
+ return /* @__PURE__ */ jsx87(Button, {
19460
19528
  ...props,
19461
19529
  background: "transparent",
19462
19530
  color: "var(--text-color)",
@@ -19472,7 +19540,7 @@ import { forwardRef as forwardRef17, useEffect as useEffect40, useImperativeHand
19472
19540
  import Hls from "hls.js";
19473
19541
  import"plyr/dist/plyr.css";
19474
19542
  import { forwardRef as forwardRef16, useCallback as useCallback36, useEffect as useEffect39, useRef as useRef29, useState as useState35 } from "react";
19475
- import { jsx as jsx87 } from "react/jsx-runtime";
19543
+ import { jsx as jsx88 } from "react/jsx-runtime";
19476
19544
  var useCombinedRefs = function(...refs) {
19477
19545
  const targetRef = useRef29(null);
19478
19546
  useEffect39(() => {
@@ -19558,9 +19626,9 @@ var VideoPlayerWithControls = forwardRef16(({ playbackId, poster, currentTime, o
19558
19626
  video.currentTime = currentTime;
19559
19627
  }
19560
19628
  }, [currentTime]);
19561
- return /* @__PURE__ */ jsx87("div", {
19629
+ return /* @__PURE__ */ jsx88("div", {
19562
19630
  className: "video-container",
19563
- children: /* @__PURE__ */ jsx87("video", {
19631
+ children: /* @__PURE__ */ jsx88("video", {
19564
19632
  ref: metaRef,
19565
19633
  autoPlay,
19566
19634
  poster,
@@ -19571,7 +19639,7 @@ var VideoPlayerWithControls = forwardRef16(({ playbackId, poster, currentTime, o
19571
19639
  });
19572
19640
 
19573
19641
  // src/components/homepage/MuxVideo.tsx
19574
- import { jsx as jsx88 } from "react/jsx-runtime";
19642
+ import { jsx as jsx89 } from "react/jsx-runtime";
19575
19643
  var getVideoToPlayUrl = (muxId) => {
19576
19644
  return `https://stream.mux.com/${muxId}.m3u8`;
19577
19645
  };
@@ -19599,7 +19667,7 @@ var MuxVideoForward = ({ muxId, ...props }, ref) => {
19599
19667
  }
19600
19668
  };
19601
19669
  }, [vidUrl, videoRef]);
19602
- return /* @__PURE__ */ jsx88("video", {
19670
+ return /* @__PURE__ */ jsx89("video", {
19603
19671
  ref: videoRef,
19604
19672
  ...props
19605
19673
  });
@@ -19607,22 +19675,22 @@ var MuxVideoForward = ({ muxId, ...props }, ref) => {
19607
19675
  var MuxVideo = forwardRef17(MuxVideoForward);
19608
19676
 
19609
19677
  // src/components/homepage/EditorStarterSection.tsx
19610
- import { jsx as jsx89, jsxs as jsxs35 } from "react/jsx-runtime";
19678
+ import { jsx as jsx90, jsxs as jsxs35 } from "react/jsx-runtime";
19611
19679
  var EditorStarterSection = () => {
19612
19680
  return /* @__PURE__ */ jsxs35("div", {
19613
19681
  children: [
19614
- /* @__PURE__ */ jsx89(SectionTitle, {
19682
+ /* @__PURE__ */ jsx90(SectionTitle, {
19615
19683
  children: "Build your own video editor"
19616
19684
  }),
19617
- /* @__PURE__ */ jsx89("br", {}),
19618
- /* @__PURE__ */ jsx89("div", {
19685
+ /* @__PURE__ */ jsx90("br", {}),
19686
+ /* @__PURE__ */ jsx90("div", {
19619
19687
  className: "card flex p-0 overflow-hidden",
19620
19688
  children: /* @__PURE__ */ jsxs35("div", {
19621
19689
  className: "flex-1 flex flex-col lg:flex-row justify-center",
19622
19690
  children: [
19623
- /* @__PURE__ */ jsx89("div", {
19691
+ /* @__PURE__ */ jsx90("div", {
19624
19692
  className: "w-full max-w-[500px] aspect-square relative overflow-hidden bg-[#eee]",
19625
- children: /* @__PURE__ */ jsx89(MuxVideo, {
19693
+ children: /* @__PURE__ */ jsx90(MuxVideo, {
19626
19694
  muxId: "YIvIidbcAc7009B00Wr7gIbGyq67YGNlytGvMXwdsLRtc",
19627
19695
  className: "absolute left-0 top-0 w-full h-full object-cover object-top rounded-sm rounded-tr-none rounded-br-none",
19628
19696
  loop: true,
@@ -19634,45 +19702,45 @@ var EditorStarterSection = () => {
19634
19702
  /* @__PURE__ */ jsxs35("div", {
19635
19703
  className: "p-6 flex-1 flex flex-col h-full",
19636
19704
  children: [
19637
- /* @__PURE__ */ jsx89("div", {
19705
+ /* @__PURE__ */ jsx90("div", {
19638
19706
  className: "text-4xl font-bold fontbrand mt-0",
19639
19707
  children: "Editor Starter"
19640
19708
  }),
19641
- /* @__PURE__ */ jsx89("div", {
19709
+ /* @__PURE__ */ jsx90("div", {
19642
19710
  className: "text-muted mt-4 text-base fontbrand",
19643
19711
  children: "A comprehensive template that includes everything you need to create custom video editing applications with React and TypeScript."
19644
19712
  }),
19645
- /* @__PURE__ */ jsx89("div", {
19713
+ /* @__PURE__ */ jsx90("div", {
19646
19714
  className: "h-5"
19647
19715
  }),
19648
19716
  /* @__PURE__ */ jsxs35("div", {
19649
19717
  className: "flex gap-2 items-center",
19650
19718
  children: [
19651
- /* @__PURE__ */ jsx89("a", {
19719
+ /* @__PURE__ */ jsx90("a", {
19652
19720
  href: "https://www.remotion.pro/editor-starter?ref=remotion.dev",
19653
19721
  target: "_blank",
19654
19722
  className: "no-underline",
19655
- children: /* @__PURE__ */ jsx89(BlueButton, {
19723
+ children: /* @__PURE__ */ jsx90(BlueButton, {
19656
19724
  size: "sm",
19657
19725
  loading: false,
19658
19726
  children: "Purchase"
19659
19727
  })
19660
19728
  }),
19661
- /* @__PURE__ */ jsx89("a", {
19729
+ /* @__PURE__ */ jsx90("a", {
19662
19730
  href: "https://editor-starter.remotion.dev?ref=remotion.dev",
19663
19731
  target: "_blank",
19664
19732
  className: "no-underline",
19665
- children: /* @__PURE__ */ jsx89(ClearButton, {
19733
+ children: /* @__PURE__ */ jsx90(ClearButton, {
19666
19734
  size: "sm",
19667
19735
  loading: false,
19668
19736
  children: "Demo"
19669
19737
  })
19670
19738
  }),
19671
19739
  " ",
19672
- /* @__PURE__ */ jsx89("a", {
19740
+ /* @__PURE__ */ jsx90("a", {
19673
19741
  href: "https://remotion.dev/editor-starter",
19674
19742
  className: "no-underline",
19675
- children: /* @__PURE__ */ jsx89(ClearButton, {
19743
+ children: /* @__PURE__ */ jsx90(ClearButton, {
19676
19744
  size: "sm",
19677
19745
  loading: false,
19678
19746
  children: "Docs"
@@ -19680,7 +19748,7 @@ var EditorStarterSection = () => {
19680
19748
  })
19681
19749
  ]
19682
19750
  }),
19683
- /* @__PURE__ */ jsx89("br", {})
19751
+ /* @__PURE__ */ jsx90("br", {})
19684
19752
  ]
19685
19753
  })
19686
19754
  ]
@@ -19693,7 +19761,7 @@ var EditorStarterSection_default = EditorStarterSection;
19693
19761
 
19694
19762
  // src/components/homepage/EvaluateRemotion.tsx
19695
19763
  import { useEffect as useEffect41, useState as useState36 } from "react";
19696
- import { jsx as jsx90, jsxs as jsxs36 } from "react/jsx-runtime";
19764
+ import { jsx as jsx91, jsxs as jsxs36 } from "react/jsx-runtime";
19697
19765
  var EvaluateRemotionSection = () => {
19698
19766
  const [dailyAvatars, setDailyAvatars] = useState36([]);
19699
19767
  useEffect41(() => {
@@ -19729,22 +19797,22 @@ var EvaluateRemotionSection = () => {
19729
19797
  /* @__PURE__ */ jsxs36("div", {
19730
19798
  className: "card flex-1 flex flex-col",
19731
19799
  children: [
19732
- /* @__PURE__ */ jsx90("div", {
19800
+ /* @__PURE__ */ jsx91("div", {
19733
19801
  className: "fontbrand text-2xl font-bold",
19734
19802
  children: "Evaluate Remotion for your company"
19735
19803
  }),
19736
- /* @__PURE__ */ jsx90("p", {
19804
+ /* @__PURE__ */ jsx91("p", {
19737
19805
  className: "text-muted fontbrand leading-snug",
19738
19806
  children: "Book a 20 minute call with us to get all your questions answered."
19739
19807
  }),
19740
- /* @__PURE__ */ jsx90("div", {
19808
+ /* @__PURE__ */ jsx91("div", {
19741
19809
  className: "flex-1"
19742
19810
  }),
19743
- /* @__PURE__ */ jsx90("a", {
19811
+ /* @__PURE__ */ jsx91("a", {
19744
19812
  target: "_blank",
19745
19813
  href: "https://cal.com/remotion/evaluate",
19746
19814
  style: { textDecoration: "none" },
19747
- children: /* @__PURE__ */ jsx90(BlueButton, {
19815
+ children: /* @__PURE__ */ jsx91(BlueButton, {
19748
19816
  size: "sm",
19749
19817
  loading: false,
19750
19818
  children: "Schedule a call"
@@ -19755,32 +19823,32 @@ var EvaluateRemotionSection = () => {
19755
19823
  /* @__PURE__ */ jsxs36("div", {
19756
19824
  className: "card flex-1 flex flex-col",
19757
19825
  children: [
19758
- /* @__PURE__ */ jsx90("div", {
19826
+ /* @__PURE__ */ jsx91("div", {
19759
19827
  className: "fontbrand text-2xl font-bold",
19760
19828
  children: "Get help for your projects"
19761
19829
  }),
19762
- /* @__PURE__ */ jsx90("p", {
19830
+ /* @__PURE__ */ jsx91("p", {
19763
19831
  className: "text-muted fontbrand leading-snug",
19764
19832
  children: "Contact our experts for help and work."
19765
19833
  }),
19766
- /* @__PURE__ */ jsx90("div", {
19834
+ /* @__PURE__ */ jsx91("div", {
19767
19835
  className: "flex-1"
19768
19836
  }),
19769
19837
  /* @__PURE__ */ jsxs36("div", {
19770
19838
  className: "flex flex-row justify-between",
19771
19839
  children: [
19772
- /* @__PURE__ */ jsx90("a", {
19840
+ /* @__PURE__ */ jsx91("a", {
19773
19841
  href: "/experts",
19774
19842
  style: { textDecoration: "none" },
19775
- children: /* @__PURE__ */ jsx90(BlueButton, {
19843
+ children: /* @__PURE__ */ jsx91(BlueButton, {
19776
19844
  size: "sm",
19777
19845
  loading: false,
19778
19846
  children: "Remotion Experts"
19779
19847
  })
19780
19848
  }),
19781
- /* @__PURE__ */ jsx90("div", {
19849
+ /* @__PURE__ */ jsx91("div", {
19782
19850
  className: "flex justify-end items-end gap-3",
19783
- children: dailyAvatars.map((avatar) => /* @__PURE__ */ jsx90("div", {
19851
+ children: dailyAvatars.map((avatar) => /* @__PURE__ */ jsx91("div", {
19784
19852
  className: "w-12 h-12 rounded-full bg-muted bg-cover bg-center -ml-5 border-2 border-black",
19785
19853
  style: { backgroundImage: `url(${avatar})` }
19786
19854
  }, avatar))
@@ -19796,7 +19864,7 @@ var EvaluateRemotion_default = EvaluateRemotionSection;
19796
19864
 
19797
19865
  // src/components/homepage/IfYouKnowReact.tsx
19798
19866
  import { useEffect as useEffect43, useState as useState37 } from "react";
19799
- import { jsx as jsx91, jsxs as jsxs37 } from "react/jsx-runtime";
19867
+ import { jsx as jsx95, jsxs as jsxs37 } from "react/jsx-runtime";
19800
19868
  var isWebkit = () => {
19801
19869
  if (typeof window === "undefined") {
19802
19870
  return false;
@@ -19819,7 +19887,7 @@ var IfYouKnowReact = () => {
19819
19887
  return /* @__PURE__ */ jsxs37("div", {
19820
19888
  className: "flex flex-col lg:flex-row text-left justify-start lg:justify-end items-start lg:mb-0 gap-6 mt-8",
19821
19889
  children: [
19822
- /* @__PURE__ */ jsx91("video", {
19890
+ /* @__PURE__ */ jsx95("video", {
19823
19891
  src: vid,
19824
19892
  muted: true,
19825
19893
  autoPlay: true,
@@ -19832,18 +19900,18 @@ var IfYouKnowReact = () => {
19832
19900
  /* @__PURE__ */ jsxs37("h2", {
19833
19901
  className: "text-4xl fontbrand pt-20",
19834
19902
  children: [
19835
- /* @__PURE__ */ jsx91("span", {
19903
+ /* @__PURE__ */ jsx95("span", {
19836
19904
  className: "text-brand",
19837
19905
  children: "Compose"
19838
19906
  }),
19839
19907
  " with code"
19840
19908
  ]
19841
19909
  }),
19842
- /* @__PURE__ */ jsx91("p", {
19910
+ /* @__PURE__ */ jsx95("p", {
19843
19911
  className: "leading-relaxed font-brand",
19844
19912
  children: "Use React, a powerful frontend technology, to create sophisticated videos with code."
19845
19913
  }),
19846
- /* @__PURE__ */ jsx91("div", {
19914
+ /* @__PURE__ */ jsx95("div", {
19847
19915
  className: "h-4"
19848
19916
  }),
19849
19917
  /* @__PURE__ */ jsxs37("a", {
@@ -19852,11 +19920,11 @@ var IfYouKnowReact = () => {
19852
19920
  children: [
19853
19921
  "Learn Remotion",
19854
19922
  " ",
19855
- /* @__PURE__ */ jsx91("svg", {
19923
+ /* @__PURE__ */ jsx95("svg", {
19856
19924
  style: icon2,
19857
19925
  xmlns: "http://www.w3.org/2000/svg",
19858
19926
  viewBox: "0 0 448 512",
19859
- children: /* @__PURE__ */ jsx91("path", {
19927
+ children: /* @__PURE__ */ jsx95("path", {
19860
19928
  fill: "currentColor",
19861
19929
  d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
19862
19930
  })
@@ -19870,21 +19938,21 @@ var IfYouKnowReact = () => {
19870
19938
  };
19871
19939
 
19872
19940
  // src/components/homepage/MoreVideoPowerSection.tsx
19873
- import { jsx as jsx95, jsxs as jsxs38 } from "react/jsx-runtime";
19941
+ import { jsx as jsx97, jsxs as jsxs38 } from "react/jsx-runtime";
19874
19942
  var StepTitle = ({ children }) => {
19875
- return /* @__PURE__ */ jsx95("div", {
19943
+ return /* @__PURE__ */ jsx97("div", {
19876
19944
  className: "text-left text-xl font-semibold fontbrand",
19877
19945
  children
19878
19946
  });
19879
19947
  };
19880
19948
  var Subtitle = ({ children }) => {
19881
- return /* @__PURE__ */ jsx95("div", {
19949
+ return /* @__PURE__ */ jsx97("div", {
19882
19950
  className: "text-left text-base fontbrand text-[var(--subtitle)]",
19883
19951
  children
19884
19952
  });
19885
19953
  };
19886
19954
  var Pane = ({ children, className: className3 }) => {
19887
- return /* @__PURE__ */ jsx95("div", {
19955
+ return /* @__PURE__ */ jsx97("div", {
19888
19956
  className: `border-effect bg-pane flex-1 flex flex-col ${className3 || ""}`,
19889
19957
  children
19890
19958
  });
@@ -19894,9 +19962,9 @@ var FeatureCard = ({ title, subtitle, image, link }) => {
19894
19962
  href: link,
19895
19963
  className: "group lg:border-r-2 border-b lg:border-b-0 border-[var(--border)] cursor-pointer hover:bg-[var(--hover)] transition-colors no-underline text-inherit",
19896
19964
  children: [
19897
- /* @__PURE__ */ jsx95("div", {
19965
+ /* @__PURE__ */ jsx97("div", {
19898
19966
  className: "relative",
19899
- children: /* @__PURE__ */ jsx95("img", {
19967
+ children: /* @__PURE__ */ jsx97("img", {
19900
19968
  src: image,
19901
19969
  alt: title,
19902
19970
  className: "w-full h-auto"
@@ -19908,25 +19976,25 @@ var FeatureCard = ({ title, subtitle, image, link }) => {
19908
19976
  /* @__PURE__ */ jsxs38("div", {
19909
19977
  className: "flex items-center gap-2",
19910
19978
  children: [
19911
- /* @__PURE__ */ jsx95(StepTitle, {
19979
+ /* @__PURE__ */ jsx97(StepTitle, {
19912
19980
  children: title
19913
19981
  }),
19914
- /* @__PURE__ */ jsx95("svg", {
19982
+ /* @__PURE__ */ jsx97("svg", {
19915
19983
  width: "16",
19916
19984
  viewBox: "0 0 448 512",
19917
19985
  fill: "currentColor",
19918
19986
  className: "opacity-0 group-hover:opacity-100 transition-opacity",
19919
- children: /* @__PURE__ */ jsx95("path", {
19987
+ children: /* @__PURE__ */ jsx97("path", {
19920
19988
  d: "M438.6 278.6c12.5-12.5 12.5-32.8 0-45.3l-160-160c-12.5-12.5-32.8-12.5-45.3 0s-12.5 32.8 0 45.3L338.8 224 32 224c-17.7 0-32 14.3-32 32s14.3 32 32 32l306.7 0L233.4 393.4c-12.5 12.5-12.5 32.8 0 45.3s32.8 12.5 45.3 0l160-160z"
19921
19989
  })
19922
19990
  })
19923
19991
  ]
19924
19992
  }),
19925
- /* @__PURE__ */ jsx95(Subtitle, {
19993
+ /* @__PURE__ */ jsx97(Subtitle, {
19926
19994
  children: subtitle
19927
19995
  }),
19928
- /* @__PURE__ */ jsx95("br", {}),
19929
- /* @__PURE__ */ jsx95("div", {
19996
+ /* @__PURE__ */ jsx97("br", {}),
19997
+ /* @__PURE__ */ jsx97("div", {
19930
19998
  className: "flex-1"
19931
19999
  })
19932
20000
  ]
@@ -19935,26 +20003,26 @@ var FeatureCard = ({ title, subtitle, image, link }) => {
19935
20003
  });
19936
20004
  };
19937
20005
  var MoreVideoPowerSection = () => {
19938
- return /* @__PURE__ */ jsx95("div", {
20006
+ return /* @__PURE__ */ jsx97("div", {
19939
20007
  className: "w-full",
19940
- children: /* @__PURE__ */ jsx95(Pane, {
20008
+ children: /* @__PURE__ */ jsx97(Pane, {
19941
20009
  className: "overflow-hidden",
19942
20010
  children: /* @__PURE__ */ jsxs38("div", {
19943
20011
  className: "grid grid-cols-1 lg:grid-cols-3 h-full",
19944
20012
  children: [
19945
- /* @__PURE__ */ jsx95(FeatureCard, {
20013
+ /* @__PURE__ */ jsx97(FeatureCard, {
19946
20014
  title: "Media Parser",
19947
20015
  subtitle: "A new multimedia library for the web",
19948
20016
  image: "/img/media-parser.png",
19949
20017
  link: "/media-parser"
19950
20018
  }),
19951
- /* @__PURE__ */ jsx95(FeatureCard, {
20019
+ /* @__PURE__ */ jsx97(FeatureCard, {
19952
20020
  title: "WebCodecs",
19953
20021
  subtitle: "Read, process, transform and create videos on the frontend",
19954
20022
  image: "/img/webcodecs.png",
19955
20023
  link: "/webcodecs"
19956
20024
  }),
19957
- /* @__PURE__ */ jsx95(FeatureCard, {
20025
+ /* @__PURE__ */ jsx97(FeatureCard, {
19958
20026
  title: "Recorder",
19959
20027
  subtitle: "Produce engaging screencasts end-to-end in JavaScript",
19960
20028
  image: "/img/recorder.png",
@@ -19970,15 +20038,15 @@ var MoreVideoPowerSection = () => {
19970
20038
  import { useCallback as useCallback37, useState as useState38 } from "react";
19971
20039
 
19972
20040
  // src/components/homepage/Spacer.tsx
19973
- import { jsx as jsx97 } from "react/jsx-runtime";
20041
+ import { jsx as jsx98 } from "react/jsx-runtime";
19974
20042
  var Spacer = () => {
19975
- return /* @__PURE__ */ jsx97("div", {
20043
+ return /* @__PURE__ */ jsx98("div", {
19976
20044
  style: { width: 4, height: 4 }
19977
20045
  });
19978
20046
  };
19979
20047
 
19980
20048
  // src/components/homepage/NewsletterButton.tsx
19981
- import { jsx as jsx98, jsxs as jsxs39 } from "react/jsx-runtime";
20049
+ import { jsx as jsx99, jsxs as jsxs39 } from "react/jsx-runtime";
19982
20050
  var NewsletterButton = () => {
19983
20051
  const [email, setEmail] = useState38("");
19984
20052
  const [submitting, setSubmitting] = useState38(false);
@@ -20005,15 +20073,15 @@ var NewsletterButton = () => {
20005
20073
  alert("Something went wrong. Please try again later.");
20006
20074
  }
20007
20075
  }, [email]);
20008
- return /* @__PURE__ */ jsx98("div", {
20009
- children: /* @__PURE__ */ jsx98("div", {
20076
+ return /* @__PURE__ */ jsx99("div", {
20077
+ children: /* @__PURE__ */ jsx99("div", {
20010
20078
  className: "flex flex-col",
20011
- children: /* @__PURE__ */ jsx98("div", {
20079
+ children: /* @__PURE__ */ jsx99("div", {
20012
20080
  className: "w-full",
20013
20081
  children: /* @__PURE__ */ jsxs39("div", {
20014
20082
  className: "flex flex-col flex-1",
20015
20083
  children: [
20016
- /* @__PURE__ */ jsx98(SectionTitle, {
20084
+ /* @__PURE__ */ jsx99(SectionTitle, {
20017
20085
  children: "Newsletter"
20018
20086
  }),
20019
20087
  /* @__PURE__ */ jsxs39("form", {
@@ -20029,7 +20097,7 @@ var NewsletterButton = () => {
20029
20097
  " "
20030
20098
  ]
20031
20099
  }),
20032
- /* @__PURE__ */ jsx98("input", {
20100
+ /* @__PURE__ */ jsx99("input", {
20033
20101
  className: "w-full dark:bg-[#121212] rounded-lg border-effect border-black outline-none px-3 py-3 fontbrand text-lg box-border focus:border-brand",
20034
20102
  disabled: submitting,
20035
20103
  value: email,
@@ -20038,10 +20106,10 @@ var NewsletterButton = () => {
20038
20106
  required: true,
20039
20107
  placeholder: "animator@gmail.com"
20040
20108
  }),
20041
- /* @__PURE__ */ jsx98(Spacer, {}),
20042
- /* @__PURE__ */ jsx98(Spacer, {}),
20043
- /* @__PURE__ */ jsx98("div", {
20044
- children: /* @__PURE__ */ jsx98(BlueButton, {
20109
+ /* @__PURE__ */ jsx99(Spacer, {}),
20110
+ /* @__PURE__ */ jsx99(Spacer, {}),
20111
+ /* @__PURE__ */ jsx99("div", {
20112
+ children: /* @__PURE__ */ jsx99(BlueButton, {
20045
20113
  type: "submit",
20046
20114
  className: "w-full",
20047
20115
  loading: submitting,
@@ -20061,7 +20129,7 @@ var NewsletterButton = () => {
20061
20129
 
20062
20130
  // src/components/homepage/ParameterizeAndEdit.tsx
20063
20131
  import { useEffect as useEffect45, useRef as useRef31, useState as useState39 } from "react";
20064
- import { jsx as jsx99, jsxs as jsxs40 } from "react/jsx-runtime";
20132
+ import { jsx as jsx100, jsxs as jsxs40 } from "react/jsx-runtime";
20065
20133
  var icon3 = {
20066
20134
  height: 16,
20067
20135
  marginLeft: 10
@@ -20078,8 +20146,8 @@ var ParameterizeAndEdit = () => {
20078
20146
  ref,
20079
20147
  className: "flex flex-col lg:flex-row justify-start lg:justify-end items-start gap-6 mt-20 lg:mt-0",
20080
20148
  children: [
20081
- /* @__PURE__ */ jsx99("div", {
20082
- children: /* @__PURE__ */ jsx99("video", {
20149
+ /* @__PURE__ */ jsx100("div", {
20150
+ children: /* @__PURE__ */ jsx100("video", {
20083
20151
  src: vid,
20084
20152
  autoPlay: true,
20085
20153
  muted: true,
@@ -20101,7 +20169,7 @@ var ParameterizeAndEdit = () => {
20101
20169
  className: "fontbrand text-4xl",
20102
20170
  children: [
20103
20171
  "Edit ",
20104
- /* @__PURE__ */ jsx99("span", {
20172
+ /* @__PURE__ */ jsx100("span", {
20105
20173
  className: "text-brand",
20106
20174
  children: "dynamically"
20107
20175
  })
@@ -20111,11 +20179,11 @@ var ParameterizeAndEdit = () => {
20111
20179
  className: "leading-relaxed",
20112
20180
  children: [
20113
20181
  "Parameterize your video by passing data.",
20114
- /* @__PURE__ */ jsx99("br", {}),
20182
+ /* @__PURE__ */ jsx100("br", {}),
20115
20183
  "Or embed it into your app and build an interface around it."
20116
20184
  ]
20117
20185
  }),
20118
- /* @__PURE__ */ jsx99("div", {
20186
+ /* @__PURE__ */ jsx100("div", {
20119
20187
  className: "h-4"
20120
20188
  }),
20121
20189
  /* @__PURE__ */ jsxs40("div", {
@@ -20127,47 +20195,47 @@ var ParameterizeAndEdit = () => {
20127
20195
  children: [
20128
20196
  "Remotion Studio",
20129
20197
  " ",
20130
- /* @__PURE__ */ jsx99("svg", {
20198
+ /* @__PURE__ */ jsx100("svg", {
20131
20199
  style: icon3,
20132
20200
  xmlns: "http://www.w3.org/2000/svg",
20133
20201
  viewBox: "0 0 448 512",
20134
- children: /* @__PURE__ */ jsx99("path", {
20202
+ children: /* @__PURE__ */ jsx100("path", {
20135
20203
  fill: "currentColor",
20136
20204
  d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
20137
20205
  })
20138
20206
  })
20139
20207
  ]
20140
20208
  }),
20141
- /* @__PURE__ */ jsx99("br", {}),
20209
+ /* @__PURE__ */ jsx100("br", {}),
20142
20210
  /* @__PURE__ */ jsxs40("a", {
20143
20211
  className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
20144
20212
  href: "/player",
20145
20213
  children: [
20146
20214
  "Remotion Player",
20147
20215
  " ",
20148
- /* @__PURE__ */ jsx99("svg", {
20216
+ /* @__PURE__ */ jsx100("svg", {
20149
20217
  style: icon3,
20150
20218
  xmlns: "http://www.w3.org/2000/svg",
20151
20219
  viewBox: "0 0 448 512",
20152
- children: /* @__PURE__ */ jsx99("path", {
20220
+ children: /* @__PURE__ */ jsx100("path", {
20153
20221
  fill: "currentColor",
20154
20222
  d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
20155
20223
  })
20156
20224
  })
20157
20225
  ]
20158
20226
  }),
20159
- /* @__PURE__ */ jsx99("br", {}),
20227
+ /* @__PURE__ */ jsx100("br", {}),
20160
20228
  /* @__PURE__ */ jsxs40("a", {
20161
20229
  className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
20162
20230
  href: "/docs/editor-starter",
20163
20231
  children: [
20164
20232
  "Remotion Editor Starter",
20165
20233
  " ",
20166
- /* @__PURE__ */ jsx99("svg", {
20234
+ /* @__PURE__ */ jsx100("svg", {
20167
20235
  style: icon3,
20168
20236
  xmlns: "http://www.w3.org/2000/svg",
20169
20237
  viewBox: "0 0 448 512",
20170
- children: /* @__PURE__ */ jsx99("path", {
20238
+ children: /* @__PURE__ */ jsx100("path", {
20171
20239
  fill: "currentColor",
20172
20240
  d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
20173
20241
  })
@@ -20184,7 +20252,7 @@ var ParameterizeAndEdit = () => {
20184
20252
 
20185
20253
  // src/components/homepage/RealMp4Videos.tsx
20186
20254
  import { useEffect as useEffect46, useRef as useRef33, useState as useState40 } from "react";
20187
- import { jsx as jsx100, jsxs as jsxs41 } from "react/jsx-runtime";
20255
+ import { jsx as jsx101, jsxs as jsxs41 } from "react/jsx-runtime";
20188
20256
  var icon4 = {
20189
20257
  height: 16,
20190
20258
  marginLeft: 10
@@ -20219,9 +20287,9 @@ var RealMP4Videos = () => {
20219
20287
  ref,
20220
20288
  className: "flex flex-col lg:flex-row mt-40 lg:mt-30 gap-6",
20221
20289
  children: [
20222
- /* @__PURE__ */ jsx100("div", {
20290
+ /* @__PURE__ */ jsx101("div", {
20223
20291
  className: "flex w-[500px] justify-start lg:justify-start items-end",
20224
- children: /* @__PURE__ */ jsx100("video", {
20292
+ children: /* @__PURE__ */ jsx101("video", {
20225
20293
  ref: videoRef,
20226
20294
  src: vid,
20227
20295
  muted: true,
@@ -20244,7 +20312,7 @@ var RealMP4Videos = () => {
20244
20312
  /* @__PURE__ */ jsxs41("h2", {
20245
20313
  className: "text-4xl fontbrand",
20246
20314
  children: [
20247
- /* @__PURE__ */ jsx100("span", {
20315
+ /* @__PURE__ */ jsx101("span", {
20248
20316
  className: "text-brand",
20249
20317
  children: "Scalable"
20250
20318
  }),
@@ -20255,12 +20323,12 @@ var RealMP4Videos = () => {
20255
20323
  className: "leading-relaxed",
20256
20324
  children: [
20257
20325
  "Render the video .mp4 or other formats. ",
20258
- /* @__PURE__ */ jsx100("br", {}),
20326
+ /* @__PURE__ */ jsx101("br", {}),
20259
20327
  "Locally, on the server or serverless."
20260
20328
  ]
20261
20329
  }),
20262
20330
  " ",
20263
- /* @__PURE__ */ jsx100("div", {
20331
+ /* @__PURE__ */ jsx101("div", {
20264
20332
  className: "h-4"
20265
20333
  }),
20266
20334
  /* @__PURE__ */ jsxs41("div", {
@@ -20272,29 +20340,29 @@ var RealMP4Videos = () => {
20272
20340
  children: [
20273
20341
  "Render options",
20274
20342
  " ",
20275
- /* @__PURE__ */ jsx100("svg", {
20343
+ /* @__PURE__ */ jsx101("svg", {
20276
20344
  style: icon4,
20277
20345
  xmlns: "http://www.w3.org/2000/svg",
20278
20346
  viewBox: "0 0 448 512",
20279
- children: /* @__PURE__ */ jsx100("path", {
20347
+ children: /* @__PURE__ */ jsx101("path", {
20280
20348
  fill: "currentColor",
20281
20349
  d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
20282
20350
  })
20283
20351
  })
20284
20352
  ]
20285
20353
  }),
20286
- /* @__PURE__ */ jsx100("br", {}),
20354
+ /* @__PURE__ */ jsx101("br", {}),
20287
20355
  /* @__PURE__ */ jsxs41("a", {
20288
20356
  className: "no-underline text-brand font-brand font-bold inline-flex flex-row items-center",
20289
20357
  href: "/lambda",
20290
20358
  children: [
20291
20359
  "Remotion Lambda",
20292
20360
  " ",
20293
- /* @__PURE__ */ jsx100("svg", {
20361
+ /* @__PURE__ */ jsx101("svg", {
20294
20362
  style: icon4,
20295
20363
  xmlns: "http://www.w3.org/2000/svg",
20296
20364
  viewBox: "0 0 448 512",
20297
- children: /* @__PURE__ */ jsx100("path", {
20365
+ children: /* @__PURE__ */ jsx101("path", {
20298
20366
  fill: "currentColor",
20299
20367
  d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
20300
20368
  })
@@ -20310,18 +20378,18 @@ var RealMP4Videos = () => {
20310
20378
  };
20311
20379
 
20312
20380
  // src/components/homepage/TrustedByBanner.tsx
20313
- import { jsx as jsx101, jsxs as jsxs43, Fragment as Fragment8 } from "react/jsx-runtime";
20381
+ import { jsx as jsx104, jsxs as jsxs43, Fragment as Fragment8 } from "react/jsx-runtime";
20314
20382
  var TrustedByBanner = () => {
20315
20383
  const logos = [
20316
20384
  {
20317
20385
  id: "logo1",
20318
20386
  url: "https://www.github.com/",
20319
- light: /* @__PURE__ */ jsx101("svg", {
20387
+ light: /* @__PURE__ */ jsx104("svg", {
20320
20388
  height: "50",
20321
20389
  viewBox: "0 0 64 62",
20322
20390
  fill: "none",
20323
20391
  xmlns: "http://www.w3.org/2000/svg",
20324
- children: /* @__PURE__ */ jsx101("path", {
20392
+ children: /* @__PURE__ */ jsx104("path", {
20325
20393
  d: "M21.3033 49.7496C21.3033 50.0051 21.0079 50.2095 20.6355 50.2095C20.2118 50.2478 19.9164 50.0434 19.9164 49.7496C19.9164 49.4941 20.2118 49.2896 20.5842 49.2896C20.9694 49.2513 21.3033 49.4557 21.3033 49.7496ZM17.3097 49.1747C17.2198 49.4302 17.4766 49.724 17.8619 49.8007C18.1957 49.9284 18.581 49.8007 18.658 49.5452C18.7351 49.2896 18.4911 48.9958 18.1059 48.8808C17.772 48.7914 17.3996 48.9191 17.3097 49.1747ZM22.9854 48.9575C22.6131 49.0469 22.3562 49.2896 22.3948 49.5835C22.4333 49.839 22.7671 50.0051 23.1524 49.9157C23.5248 49.8262 23.7816 49.5835 23.7431 49.328C23.7045 49.0852 23.3578 48.9191 22.9854 48.9575ZM31.4348 0C13.6243 0 0 13.4531 0 31.1733C0 45.3419 8.96304 57.4663 21.7655 61.7334C23.4092 62.0273 23.987 61.018 23.987 60.1875C23.987 59.3954 23.9485 55.0261 23.9485 52.3431C23.9485 52.3431 14.9598 54.2595 13.0722 48.5359C13.0722 48.5359 11.6083 44.8181 9.50236 43.8599C9.50236 43.8599 6.56177 41.854 9.70782 41.8924C9.70782 41.8924 12.9052 42.1479 14.6645 45.1886C17.4766 50.1201 22.1893 48.702 24.0256 47.8587C24.3209 45.8146 25.1556 44.3965 26.0801 43.5532C18.902 42.7611 11.6597 41.7263 11.6597 29.4358C11.6597 25.9224 12.6356 24.1593 14.6901 21.9108C14.3563 21.0803 13.2648 17.6564 15.024 13.2359C17.7078 12.4055 23.8843 16.6854 23.8843 16.6854C26.4525 15.9699 29.2133 15.5994 31.9485 15.5994C34.6836 15.5994 37.4444 15.9699 40.0126 16.6854C40.0126 16.6854 46.1892 12.3927 48.873 13.2359C50.6322 17.6691 49.5407 21.0803 49.2068 21.9108C51.2614 24.1721 52.5198 25.9352 52.5198 29.4358C52.5198 41.7646 44.9564 42.7484 37.7783 43.5532C38.9597 44.5625 39.9613 46.4789 39.9613 49.4813C39.9613 53.7868 39.9228 59.1144 39.9228 60.162C39.9228 60.9924 40.5134 62.0017 42.1443 61.7079C54.9853 57.4663 63.6915 45.3419 63.6915 31.1733C63.6915 13.4531 49.2453 0 31.4348 0ZM12.4815 44.0643C12.3145 44.192 12.3531 44.4859 12.5714 44.7286C12.7768 44.933 13.0722 45.0225 13.2391 44.8564C13.406 44.7286 13.3675 44.4348 13.1492 44.192C12.9438 43.9876 12.6484 43.8982 12.4815 44.0643ZM11.0946 43.0294C11.0048 43.1955 11.1332 43.3999 11.39 43.5277C11.5954 43.6554 11.8523 43.6171 11.9422 43.4383C12.032 43.2722 11.9036 43.0678 11.6468 42.94C11.39 42.8633 11.1845 42.9017 11.0946 43.0294ZM15.2551 47.5777C15.0497 47.7438 15.1267 48.127 15.4221 48.3698C15.7174 48.6636 16.0898 48.702 16.2567 48.4975C16.4237 48.3314 16.3466 47.9482 16.0898 47.7054C15.8073 47.4116 15.4221 47.3732 15.2551 47.5777ZM13.7913 45.6996C13.5858 45.8274 13.5858 46.1595 13.7913 46.4534C13.9967 46.7472 14.3434 46.875 14.5104 46.7472C14.7158 46.5811 14.7158 46.249 14.5104 45.9551C14.3306 45.6613 13.9967 45.5335 13.7913 45.6996Z",
20326
20394
  fill: "var(--text-color)"
20327
20395
  })
@@ -20336,51 +20404,51 @@ var TrustedByBanner = () => {
20336
20404
  fill: "none",
20337
20405
  xmlns: "http://www.w3.org/2000/svg",
20338
20406
  children: [
20339
- /* @__PURE__ */ jsx101("path", {
20407
+ /* @__PURE__ */ jsx104("path", {
20340
20408
  d: "M6.51644 0.088258C4.05524 0.528184 1.89128 2.12143 0.856857 4.24972C-0.058664 6.12832 0.000785433 4.71342 0.000785433 23.7491C0.000785433 38.5758 0.0245652 40.9181 0.179134 41.5245C0.892527 44.3543 2.99704 46.4826 5.82683 47.2435C6.77802 47.4932 8.49017 47.5289 9.48892 47.303C11.0465 46.9582 11.855 46.4113 18.9889 40.9538C22.7224 38.1002 25.8137 35.7579 25.8613 35.7579C25.897 35.7579 29.0002 38.1002 32.7336 40.9538C36.5622 43.8906 39.9033 46.3518 40.367 46.6015C40.8307 46.8393 41.5441 47.1246 41.9721 47.2435C43.0065 47.517 44.8613 47.517 45.8958 47.2435C48.4996 46.5302 50.5328 44.5921 51.4364 41.9407C51.6505 41.3105 51.6623 40.5733 51.6623 23.7491V6.21155L51.377 5.34359C50.6398 3.08451 48.7255 1.19402 46.3595 0.385505C45.4796 0.088258 45.1943 0.0406985 43.9339 0.0406985C42.6855 0.0406985 42.3882 0.088258 41.5559 0.373615C41.0328 0.551964 40.3432 0.861101 40.0103 1.06323C39.6892 1.26536 36.3957 3.70278 32.7099 6.48502C29.0121 9.26725 25.9326 11.5382 25.8613 11.5382C25.79 11.5382 22.7105 9.26725 19.0127 6.48502C15.3269 3.70278 12.0334 1.26536 11.7123 1.06323C10.3569 0.230937 8.06213 -0.197099 6.51644 0.088258ZM8.82308 4.63019C9.13222 4.72531 11.5459 6.46124 15.6835 9.57639C19.1911 12.2159 22.0684 14.4037 22.0803 14.4512C22.1279 14.582 14.1141 20.7172 13.912 20.7053C13.8168 20.7053 11.6291 19.0764 9.06088 17.0908L4.38815 13.4882L4.42382 10.2066L4.45949 6.92494L4.78052 6.33045C5.06588 5.7954 5.39879 5.40304 5.96951 4.975C6.57589 4.5113 7.91945 4.35673 8.82308 4.63019ZM45.0872 4.67775C45.8125 4.91555 46.5497 5.5695 46.9421 6.31856L47.2631 6.92494L47.2988 10.2066L47.3344 13.4882L42.6617 17.0908C40.0935 19.0764 37.9057 20.7053 37.7987 20.7053C37.5966 20.7172 29.5947 14.582 29.6423 14.4512C29.7017 14.2491 42.519 4.71342 42.8519 4.6183C43.4345 4.43996 44.4927 4.47563 45.0872 4.67775ZM30.0346 20.5032C32.2818 22.251 34.0891 23.7135 34.0415 23.7491C33.8632 23.9156 26.0991 29.8843 25.9683 29.9675C25.8375 30.0389 17.7167 23.868 17.6929 23.6778C17.6929 23.5827 25.6948 17.3405 25.8375 17.3405C25.897 17.3286 27.7875 18.7554 30.0346 20.5032ZM7.37252 21.4425C9.72671 23.2616 10.2142 23.6897 10.0834 23.8086C9.80994 24.082 4.51894 28.1484 4.45949 28.1484C4.42382 28.1484 4.40004 26.139 4.40004 23.6897C4.40004 21.2404 4.42382 19.231 4.4476 19.231C4.48327 19.231 5.80305 20.2297 7.37252 21.4425ZM47.3225 23.6897C47.3225 26.139 47.2988 28.1484 47.2631 28.1484C47.2274 28.1484 45.9195 27.1496 44.3501 25.9369C42.2456 24.308 41.5203 23.6778 41.6154 23.5827C41.8651 23.333 47.1442 19.2548 47.2393 19.2429C47.2869 19.231 47.3225 21.2404 47.3225 23.6897ZM20.3682 31.4776C21.3312 32.2147 22.116 32.8568 22.116 32.8925C22.1041 33.047 9.59592 42.4995 9.07277 42.7373C7.51519 43.4745 5.58903 42.7492 4.79241 41.1321L4.45949 40.4544L4.42382 37.1847L4.38815 33.9031L9.156 30.2053L13.9357 26.5076L16.2662 28.3148C17.5621 29.3017 19.3932 30.7285 20.3682 31.4776ZM42.6617 30.3005L47.3344 33.915L47.2988 37.2442L47.2631 40.5733L46.9421 41.1678C46.5378 41.9288 46.1217 42.3211 45.3013 42.7016C44.4452 43.1059 43.4583 43.1178 42.6498 42.7373C42.0197 42.4519 29.5947 33.0232 29.6423 32.8687C29.7017 32.6665 37.7631 26.5195 37.8701 26.6027C37.9414 26.6503 40.0935 28.303 42.6617 30.3005Z",
20341
20409
  fill: "var(--text-color)"
20342
20410
  }),
20343
- /* @__PURE__ */ jsx101("path", {
20411
+ /* @__PURE__ */ jsx104("path", {
20344
20412
  d: "M120.255 8.16145C119.673 8.43492 118.983 9.20776 118.805 9.82604C118.484 10.8842 118.709 11.7998 119.47 12.5607C120.374 13.4643 121.563 13.6546 122.681 13.0958C124.785 12.0494 124.678 9.00564 122.502 8.09011C121.955 7.86421 120.838 7.89988 120.255 8.16145Z",
20345
20413
  fill: "var(--text-color)"
20346
20414
  }),
20347
- /* @__PURE__ */ jsx101("path", {
20415
+ /* @__PURE__ */ jsx104("path", {
20348
20416
  d: "M214.613 19.7065V31.4775H216.801H219.001L219.036 26.8048C219.084 21.6446 219.084 21.6327 219.88 20.7885C220.427 20.2178 221.081 19.9443 221.926 19.9443C222.817 19.9443 223.507 20.2535 223.947 20.8123C224.565 21.6327 224.601 21.9656 224.601 26.9237V31.4775H226.8H229V26.0914C229 21.6446 228.964 20.5864 228.822 20.0038C228.382 18.2916 227.478 17.1145 226.087 16.4249C223.935 15.3667 221.414 15.6759 219.809 17.1978C219.452 17.5307 219.131 17.8042 219.096 17.8042C219.048 17.8042 219.013 15.5807 219.013 12.8699V7.93555H216.813H214.613V19.7065Z",
20349
20417
  fill: "var(--text-color)"
20350
20418
  }),
20351
- /* @__PURE__ */ jsx101("path", {
20419
+ /* @__PURE__ */ jsx104("path", {
20352
20420
  d: "M188.574 13.6427V16.0207H187.088H185.602V17.9825V19.9443H187.076H188.563L188.598 23.8323C188.646 27.4587 188.67 27.7917 188.907 28.5051C189.383 29.9437 190.477 30.9781 191.963 31.43C192.819 31.6915 194.757 31.7629 195.827 31.5726L196.719 31.4181L196.755 29.6108L196.79 27.8154L195.482 27.7679C194.032 27.7322 193.723 27.6014 193.271 26.8286C193.045 26.4481 193.033 26.2103 193.033 23.2141V20.0038L194.971 19.9681L196.897 19.9443V17.9825V16.0207H194.935H192.974V13.6427V11.2647H190.774H188.574V13.6427Z",
20353
20421
  fill: "var(--text-color)"
20354
20422
  }),
20355
- /* @__PURE__ */ jsx101("path", {
20423
+ /* @__PURE__ */ jsx104("path", {
20356
20424
  d: "M109.768 15.8423C106.82 16.3774 104.763 18.6959 105.048 21.1809C105.321 23.654 106.736 24.8192 110.196 25.4137C110.957 25.5445 111.813 25.7466 112.087 25.8417C113.775 26.46 113.145 28.3862 111.266 28.3862C110.089 28.3862 109.233 27.8511 108.829 26.8999C108.71 26.6027 108.532 26.3649 108.437 26.3649C108.341 26.3649 107.485 26.5789 106.534 26.8286C104.81 27.2804 104.81 27.2923 104.822 27.6252C104.87 28.6834 106.273 30.3837 107.652 31.0614C109.804 32.1196 112.8 32.0839 114.869 30.9901C115.796 30.4907 116.783 29.4206 117.104 28.5764C117.616 27.1972 117.544 25.6039 116.902 24.4268C116.141 23.0238 114.477 22.1797 111.778 21.8467C110.47 21.6803 109.673 21.4187 109.447 21.0977C108.936 20.3605 109.554 19.3261 110.612 19.1715C111.742 19.0051 112.574 19.3974 113.074 20.3367C113.24 20.6459 113.43 20.8955 113.49 20.8955C113.561 20.8955 114.417 20.6815 115.392 20.4318C117.425 19.9206 117.342 20.0157 116.759 18.8029C116.046 17.3167 114.405 16.1753 112.515 15.8423C111.385 15.6402 110.898 15.6402 109.768 15.8423Z",
20357
20425
  fill: "var(--text-color)"
20358
20426
  }),
20359
- /* @__PURE__ */ jsx101("path", {
20427
+ /* @__PURE__ */ jsx104("path", {
20360
20428
  d: "M70.1511 15.9493C69.4496 16.1515 68.9146 16.4249 68.1655 16.9838L67.5353 17.4593V16.7341V16.0207H65.3357H63.1361V23.7491V31.4775H65.3952H67.6424L67.678 26.6265C67.7137 21.9299 67.7256 21.7754 67.9753 21.3117C68.4865 20.3605 69.2237 19.9443 70.3889 19.9443C71.5541 19.9443 72.2675 20.3961 72.7312 21.4306C72.9215 21.8586 72.9452 22.3937 72.9809 26.6859L73.0166 31.4775H75.2043H77.3921L77.4277 26.6265C77.4634 21.9299 77.4753 21.7754 77.725 21.3117C78.2362 20.3486 78.9734 19.9443 80.1624 19.9443C81.0304 19.9443 81.7557 20.2297 82.1361 20.7172C82.7068 21.4425 82.7544 21.9181 82.7544 26.8642V31.4775H85.0254H87.2963L87.2488 26.0914C87.2012 20.9431 87.1893 20.6815 86.9396 19.9324C86.4284 18.3749 85.4058 17.2216 83.8602 16.4487C82.9565 15.9969 81.9102 15.7829 80.5548 15.7829C78.7832 15.7829 77.5942 16.1515 76.5003 17.0432L76.0009 17.4356L75.561 17.0194C74.6574 16.1634 73.4684 15.7829 71.8276 15.7948C71.1974 15.7948 70.4484 15.8661 70.1511 15.9493Z",
20361
20429
  fill: "var(--text-color)"
20362
20430
  }),
20363
- /* @__PURE__ */ jsx101("path", {
20431
+ /* @__PURE__ */ jsx104("path", {
20364
20432
  d: "M149.064 15.9018C148.434 16.0682 147.459 16.5676 146.877 17.0551L146.365 17.4593V16.746V16.0207H144.166H141.966V23.7491V31.4775H144.154H146.353L146.401 26.8048C146.425 23.7253 146.484 22.0013 146.579 21.7278C146.781 21.1333 147.4 20.4199 147.959 20.1702C148.624 19.873 149.801 19.873 150.384 20.1702C150.943 20.4556 151.169 20.7053 151.466 21.3711C151.704 21.8824 151.716 22.1321 151.716 26.6859V31.4775H153.975H156.234V26.8286C156.234 21.7873 156.258 21.5614 156.864 20.8242C157.363 20.2178 158.017 19.9443 158.98 19.9443C160.134 19.9443 160.704 20.2654 161.168 21.1928L161.525 21.9062L161.561 26.6859L161.596 31.4775H163.796H165.984V26.1509C165.984 20.3961 165.96 20.194 165.318 18.9218C164.628 17.5664 162.833 16.2704 161.133 15.9137C160.324 15.7472 158.445 15.7472 157.637 15.9137C156.793 16.092 155.913 16.52 155.306 17.0432L154.807 17.4712L154.201 16.9243C153.321 16.1277 152.536 15.878 150.883 15.8304C150.134 15.8067 149.314 15.8423 149.064 15.9018Z",
20365
20433
  fill: "var(--text-color)"
20366
20434
  }),
20367
- /* @__PURE__ */ jsx101("path", {
20435
+ /* @__PURE__ */ jsx104("path", {
20368
20436
  d: "M173.95 15.8661C171.203 16.2823 168.849 18.4224 167.934 21.3236C167.232 23.5351 167.541 26.2103 168.742 28.2435C169.23 29.0758 170.49 30.3718 171.239 30.8117C172.583 31.5964 174.211 31.9056 175.924 31.7153C177.267 31.5727 178.385 31.2278 179.074 30.7641L179.598 30.4193L179.633 30.9425L179.669 31.4775H181.869H184.056V23.8086V16.1396H181.857H179.657V16.6746V17.2216L179.122 16.853C177.957 16.0563 175.614 15.6045 173.95 15.8661ZM177.113 20.0038C178.04 20.2891 178.813 20.955 179.3 21.8943C179.693 22.6552 179.716 22.786 179.716 23.7967C179.705 24.6408 179.657 24.9975 179.455 25.4375C179.098 26.2222 178.313 27.0188 177.529 27.3993C176.97 27.6847 176.72 27.7322 175.912 27.7203C175.127 27.7203 174.842 27.6609 174.283 27.3993C173.486 27.0069 172.844 26.3292 172.428 25.4256C171.976 24.4625 171.976 23.0238 172.428 22.0607C173.248 20.2891 175.21 19.4331 177.113 20.0038Z",
20369
20437
  fill: "var(--text-color)"
20370
20438
  }),
20371
- /* @__PURE__ */ jsx101("path", {
20439
+ /* @__PURE__ */ jsx104("path", {
20372
20440
  d: "M203.615 15.9612C200.607 16.6152 198.181 18.9575 197.432 21.9062C197.004 23.5708 197.29 25.9725 198.11 27.649C198.669 28.7904 200.215 30.3123 201.416 30.9068C202.902 31.6202 203.615 31.7748 205.577 31.7629C207.099 31.7629 207.408 31.7272 208.217 31.4538C210.369 30.7404 211.831 29.5276 212.723 27.7441C213.02 27.1258 213.186 26.674 213.115 26.6146C212.996 26.4957 209.501 25.4137 209.251 25.4137C209.156 25.4137 209.013 25.5564 208.942 25.7347C208.656 26.3768 208.062 26.9475 207.301 27.328C206.635 27.6609 206.409 27.7084 205.577 27.7084C204.745 27.7084 204.531 27.6609 203.853 27.328C201.094 25.9606 201.118 21.5733 203.889 20.2178C204.471 19.9325 204.709 19.8849 205.577 19.8849C206.362 19.8849 206.718 19.9443 207.135 20.1465C207.8 20.4437 208.538 21.1571 208.823 21.7516L209.025 22.1915L209.596 22.0132C209.905 21.9181 210.809 21.6446 211.617 21.4068L213.079 20.9669L212.996 20.6102C212.961 20.408 212.735 19.8849 212.509 19.445C211.665 17.8161 209.715 16.4368 207.634 15.9731C206.599 15.7472 204.614 15.7353 203.615 15.9612Z",
20373
20441
  fill: "var(--text-color)"
20374
20442
  }),
20375
- /* @__PURE__ */ jsx101("path", {
20443
+ /* @__PURE__ */ jsx104("path", {
20376
20444
  d: "M119.256 23.7491V31.4775H121.456H123.656V23.7491V16.0207H121.456H119.256V23.7491Z",
20377
20445
  fill: "var(--text-color)"
20378
20446
  }),
20379
- /* @__PURE__ */ jsx101("path", {
20447
+ /* @__PURE__ */ jsx104("path", {
20380
20448
  d: "M125.082 16.0801C125.082 16.1158 126.283 17.8517 127.746 19.9443L130.409 23.7491L127.686 27.5539C126.188 29.6584 124.964 31.3943 124.964 31.4181C124.964 31.4537 126.057 31.4775 127.401 31.4775H129.838L131.277 29.2779C132.074 28.0651 132.763 27.0783 132.811 27.0783C132.858 27.0783 133.548 28.0651 134.333 29.2779L135.771 31.4775H138.28H140.801L140.385 30.9068C138.661 28.5407 135.308 23.7372 135.308 23.6421C135.308 23.5826 136.473 21.9062 137.9 19.9206C139.326 17.9231 140.539 16.2347 140.587 16.1634C140.646 16.0563 140.087 16.0207 138.221 16.0207H135.771L134.333 18.2203C133.548 19.4212 132.858 20.3961 132.823 20.3724C132.787 20.3486 132.133 19.3498 131.384 18.1727L130.017 16.0207H127.556C126.188 16.0207 125.082 16.0445 125.082 16.0801Z",
20381
20449
  fill: "var(--text-color)"
20382
20450
  }),
20383
- /* @__PURE__ */ jsx101("path", {
20451
+ /* @__PURE__ */ jsx104("path", {
20384
20452
  d: "M88.9728 21.0382C89.0323 26.5076 89.0679 26.7929 89.8527 28.291C90.9228 30.3361 93.051 31.6083 95.7144 31.7986C98.5561 32.0007 101.41 30.5501 102.575 28.3267C103.336 26.8643 103.36 26.6978 103.407 21.1571L103.455 16.1396H101.196H98.9246V20.8123C98.9246 26.1033 98.9009 26.2698 98.0924 27.0069C97.0579 27.9343 95.2269 27.8987 94.2638 26.9356C93.491 26.1627 93.4553 25.8655 93.4553 20.6934V16.1396H91.1843H88.9134L88.9728 21.0382Z",
20385
20453
  fill: "var(--text-color)"
20386
20454
  })
@@ -20397,11 +20465,11 @@ var TrustedByBanner = () => {
20397
20465
  className: "-mt-2",
20398
20466
  xmlns: "http://www.w3.org/2000/svg",
20399
20467
  children: [
20400
- /* @__PURE__ */ jsx101("path", {
20468
+ /* @__PURE__ */ jsx104("path", {
20401
20469
  d: "M16.4128 26.0434H11.2775C9.66644 26.0434 8.15605 26.4461 7.04844 27.6544L0.302047 35.4078C5.23597 35.7098 10.3713 35.7098 13.9962 35.7098C32.4229 35.7098 35.343 24.6337 35.4437 19.0956C33.8326 21.1094 28.9994 26.0434 16.4128 26.0434ZM33.1278 8.22082C33.0271 9.12705 32.5236 13.0541 21.4474 13.0541C12.4858 13.0541 8.8609 13.054 -3.05176e-05 12.8527L6.64567 20.5053C7.95467 22.0157 9.76713 22.5191 11.781 22.6198C13.9962 22.6198 17.017 22.7205 17.4198 22.7205C29.8049 22.7205 35.0409 16.9811 35.0409 12.8527C35.1416 10.6374 34.4368 9.22774 33.1278 8.22082Z",
20402
20470
  fill: "var(--light-text-color)"
20403
20471
  }),
20404
- /* @__PURE__ */ jsx101("path", {
20472
+ /* @__PURE__ */ jsx104("path", {
20405
20473
  d: "M68.0509 9.70953H75.3052V27.0081C75.3052 28.9054 74.8588 30.5795 74.0776 31.9187C73.2963 33.258 72.2919 34.1508 70.9526 34.8204C69.6134 35.49 68.1625 35.7132 66.4885 35.7132C64.8144 35.7132 63.3636 35.3784 62.0243 34.8204C60.6851 34.1508 59.6807 33.258 58.8994 31.9187C58.7878 31.8071 58.7878 31.5839 58.6762 31.4723C58.5646 31.5839 58.5646 31.8071 58.453 31.9187C57.6718 33.258 56.6673 34.1508 55.3281 34.8204C53.9889 35.49 52.538 35.7132 50.8639 35.7132C49.1899 35.7132 47.739 35.3784 46.5114 34.8204C45.1722 34.1508 44.1677 33.258 43.3865 31.9187C42.6053 30.5795 42.2704 29.017 42.2704 27.0081L42.0472 9.70953H49.3015V25.6689C49.3015 26.7849 49.5247 27.5662 50.0827 28.0126C50.6407 28.459 51.3104 28.6822 52.0916 28.6822C52.8728 28.6822 53.654 28.459 54.2121 28.0126C54.7701 27.5662 55.1049 26.7849 55.1049 25.6689V9.70953H57.7834H59.6807H62.3592V25.6689C62.3592 26.7849 62.694 27.5662 63.252 28.0126C63.81 28.459 64.5912 28.6822 65.3725 28.6822C66.1537 28.6822 66.8233 28.459 67.3813 28.0126C67.8277 27.5662 68.0509 26.7849 68.0509 25.6689V9.70953ZM85.796 0.446408C85.2379 0.111596 84.5683 -7.62939e-06 83.7871 -7.62939e-06C83.0059 -7.62939e-06 82.3362 0.111596 81.7782 0.446408C81.2202 0.78122 80.6622 1.22764 80.3274 1.78565C79.9926 2.34367 79.7694 3.0133 79.7694 3.68292C79.7694 4.79896 80.1042 5.69179 80.8854 6.36141C81.6666 7.03104 82.6711 7.36585 83.7871 7.36585C84.5683 7.36585 85.2379 7.25425 85.796 6.91943C86.4656 6.58462 86.912 6.13821 87.2468 5.58019C87.5816 5.02217 87.8048 4.35254 87.8048 3.57132C87.8048 2.79009 87.5816 2.23207 87.2468 1.67405C86.912 1.22764 86.4656 0.78122 85.796 0.446408ZM80.1042 35.1552H87.3584V10.0443H80.1042V35.1552ZM104.211 23.4368C103.876 22.8788 103.318 22.3208 102.871 21.7628C102.425 21.3163 101.867 20.8699 101.309 20.3119C100.862 19.8655 100.528 19.5307 100.193 19.1959C99.9697 18.8611 99.8581 18.5262 99.8581 18.0798C99.8581 17.4102 100.193 16.9638 100.974 16.629C101.755 16.2942 102.648 16.1826 103.764 16.1826H104.88L104.211 9.48632C103.541 9.37472 102.871 9.37472 102.202 9.37472C100.416 9.37472 98.742 9.59793 97.068 10.0443C95.5055 10.4908 94.1663 11.272 93.1618 12.388C92.1574 13.5041 91.5994 14.9549 91.5994 16.8522C91.5994 18.1914 91.8226 19.3075 92.3806 20.3119C92.9386 21.3163 93.6082 22.2092 94.3895 23.102C94.8359 23.5484 95.2823 23.9948 95.7287 24.4412C96.1751 24.8877 96.6215 25.3341 96.8448 25.6689C97.068 26.0037 97.1796 26.3385 97.1796 26.7849C97.1796 27.4546 96.8447 28.0126 96.0635 28.3474C95.2823 28.6822 94.2779 28.9054 92.827 28.9054C92.269 28.9054 91.8226 28.9054 91.5994 28.7938L92.4922 35.49C93.1618 35.7132 93.7198 35.7132 94.5011 35.7132C96.6215 35.7132 98.4072 35.3784 100.081 34.8204C101.755 34.2624 103.095 33.3696 104.099 32.1419C105.103 30.9143 105.55 29.4634 105.55 27.5662C105.55 26.7849 105.438 26.0037 105.215 25.2225C104.88 24.5529 104.657 23.9948 104.211 23.4368ZM117.491 28.0126C116.933 27.4546 116.71 26.6733 116.71 25.6689V16.4058H121.956V10.0443H116.71V3.68292L109.456 5.8034V28.0126C109.456 30.5795 110.014 32.5883 111.018 33.816C112.134 35.0436 113.697 35.7132 115.817 35.7132C116.933 35.7132 117.938 35.6016 118.942 35.49C119.947 35.3784 120.728 35.1552 121.509 34.8204L122.848 28.5706C122.067 28.7938 121.063 28.9054 119.947 28.9054C118.719 28.7938 117.938 28.5706 117.491 28.0126ZM126.531 35.1552H133.786V10.0443H126.531V35.1552ZM132.223 0.446408C131.665 0.111596 130.996 -7.62939e-06 130.214 -7.62939e-06C129.433 -7.62939e-06 128.763 0.111596 128.205 0.446408C127.647 0.78122 127.089 1.22764 126.755 1.78565C126.42 2.34367 126.197 3.0133 126.197 3.68292C126.197 4.79896 126.531 5.69179 127.313 6.36141C128.094 7.03104 129.098 7.36585 130.214 7.36585C130.996 7.36585 131.665 7.25425 132.223 6.91943C132.893 6.58462 133.339 6.13821 133.674 5.58019C134.009 5.02217 134.232 4.35254 134.232 3.57132C134.232 2.79009 134.009 2.23207 133.674 1.67405C133.339 1.22764 132.893 0.78122 132.223 0.446408ZM164.477 10.0443V35.1552H157.222V31.0259C156.441 32.2535 155.548 33.258 154.432 34.0392C152.87 35.1552 150.973 35.7132 148.852 35.7132C146.732 35.7132 144.834 35.1552 143.272 34.0392C141.71 32.9231 140.482 31.3607 139.589 29.3518C138.696 27.3429 138.25 25.1109 138.25 22.544C138.25 19.9771 138.696 17.745 139.589 15.8477C140.482 13.8389 141.71 12.2764 143.272 11.1604C144.834 10.0443 146.732 9.48632 148.852 9.48632C150.973 9.48632 152.87 10.0443 154.432 11.1604C155.548 11.9416 156.441 12.946 157.222 14.1737V10.0443H164.477ZM156.664 25.6689C157.222 24.7761 157.446 23.66 157.446 22.544C157.446 21.4279 157.222 20.3119 156.664 19.4191C156.218 18.5262 155.548 17.745 154.656 17.2986C153.763 16.7406 152.87 16.5174 151.754 16.5174C150.749 16.5174 149.745 16.7406 148.852 17.2986C147.959 17.8566 147.29 18.5262 146.843 19.4191C146.285 20.3119 146.062 21.3163 146.062 22.544C146.062 23.66 146.285 24.7761 146.843 25.6689C147.401 26.5617 148.071 27.3429 148.852 27.7894C149.745 28.3474 150.638 28.5706 151.754 28.5706C152.758 28.5706 153.763 28.3474 154.656 27.7894C155.548 27.3429 156.218 26.5617 156.664 25.6689Z",
20406
20474
  fill: "var(--text-color)"
20407
20475
  })
@@ -20411,12 +20479,12 @@ var TrustedByBanner = () => {
20411
20479
  {
20412
20480
  id: "logo5",
20413
20481
  url: "https://www.soundcloud.com/",
20414
- light: /* @__PURE__ */ jsx101("svg", {
20482
+ light: /* @__PURE__ */ jsx104("svg", {
20415
20483
  height: "40",
20416
20484
  viewBox: "0 0 129 57",
20417
20485
  fill: "none",
20418
20486
  xmlns: "http://www.w3.org/2000/svg",
20419
- children: /* @__PURE__ */ jsx101("path", {
20487
+ children: /* @__PURE__ */ jsx104("path", {
20420
20488
  d: "M68.962 1.89524C67.7646 2.35781 67.4474 2.83682 67.4351 3.75787V54.1228C67.4597 55.093 68.2007 55.9034 69.1483 55.9976C69.1893 55.9996 112.847 56.0222 113.134 56.0222C121.898 56.0222 129 48.9199 129 40.1536C129 31.3872 121.898 24.287 113.134 24.287C111.027 24.286 108.941 24.7042 106.997 25.5171C105.734 11.2183 93.7445 -2.25304e-06 79.1141 -2.25304e-06C75.643 0.00545336 72.2022 0.649256 68.964 1.89936M62.4471 5.46073L61.7308 41.2056L62.4471 54.1781C62.4717 55.1257 63.2454 55.9055 64.1951 55.9055C64.6562 55.9018 65.0976 55.7172 65.4241 55.3915C65.7506 55.0657 65.9362 54.6249 65.941 54.1637V54.1761L66.7188 41.2036L65.941 5.45461C65.9165 4.49876 65.1427 3.7149 64.1951 3.7149C63.2474 3.7149 62.4553 4.50079 62.4471 5.46073ZM57.1398 8.42858L56.5259 41.1913C56.5259 41.2118 57.1398 54.3643 57.1398 54.3643C57.1643 55.2547 57.889 55.9875 58.7773 55.9875C59.2089 55.9827 59.6215 55.8099 59.9276 55.5056C60.2338 55.2014 60.4094 54.7897 60.4168 54.3582L61.1064 41.2036L60.4168 8.42645C60.3923 7.52996 59.6656 6.7993 58.7793 6.7993C58.3481 6.80456 57.9359 6.97771 57.6302 7.28189C57.3245 7.58607 57.1495 7.99738 57.142 8.42858M41.2713 11.863L40.4588 41.1933L41.2733 54.6611C41.2938 55.3816 41.8872 55.9506 42.579 55.9506C43.2708 55.9506 43.8625 55.3775 43.885 54.655V54.6488L44.7999 41.1913L43.885 11.861C43.8604 11.1303 43.2872 10.5613 42.579 10.5613C41.8708 10.5613 41.2898 11.1303 41.2693 11.861M46.5171 12.6122L45.7721 41.1953L46.5191 54.5301C46.5437 55.314 47.1577 55.9343 47.9375 55.9343C48.7174 55.9343 49.3294 55.312 49.3539 54.522V54.5301L50.1727 41.1933L49.3539 12.6101C49.3294 11.818 48.7112 11.1978 47.9375 11.1978C47.1639 11.1978 46.5356 11.82 46.5171 12.6101M36.0642 12.8148L35.1842 41.1892L36.0642 54.7388C36.0711 55.0527 36.1999 55.3516 36.4234 55.5721C36.647 55.7926 36.9477 55.9173 37.2617 55.9199C37.9064 55.9199 38.4324 55.402 38.459 54.7327L39.4496 41.1892L38.459 12.8127C38.4324 12.1475 37.9064 11.6257 37.2617 11.6257C36.9467 11.6283 36.6451 11.7538 36.4214 11.9756C36.1978 12.1974 36.0695 12.4978 36.0642 12.8127M51.808 13.6561L51.1244 41.1933L51.808 54.4461C51.8325 55.2915 52.4979 55.9567 53.3371 55.9567C54.1762 55.9567 54.8435 55.2915 54.8619 54.438V54.4483L55.6272 41.1953L54.8619 13.6539C54.8581 13.2511 54.6962 12.8658 54.4109 12.5813C54.1256 12.2968 53.7399 12.1359 53.3371 12.1332C52.5184 12.1332 51.8223 12.8026 51.808 13.6561ZM30.8982 14.9946C30.8982 14.9967 29.9566 41.1831 29.9566 41.1831L30.8982 54.8719C30.9066 55.1562 31.0241 55.4263 31.2266 55.6261C31.429 55.8258 31.7008 55.9398 31.9851 55.9444C32.5643 55.9444 33.041 55.4736 33.0697 54.8678L34.1341 41.1831L33.0697 14.9946C33.039 14.3908 32.5623 13.918 31.9851 13.918C31.7001 13.9227 31.4278 14.0372 31.2253 14.2378C31.0228 14.4385 30.9056 14.7097 30.8982 14.9946ZM25.7751 19.866L24.7659 41.1831L25.7751 54.9578C25.8017 55.4961 26.2296 55.9199 26.7515 55.9199C27.0066 55.9138 27.2498 55.8107 27.4316 55.6316C27.6133 55.4525 27.7198 55.2108 27.7296 54.9558V54.96L28.872 41.1851L27.7296 19.868C27.6969 19.3276 27.2673 18.9019 26.7515 18.9019C26.2357 18.9019 25.8017 19.3256 25.7751 19.866ZM15.6516 27.0563L14.5138 41.179L15.6516 54.8412C15.6844 55.2648 16.008 55.5821 16.4092 55.5821C16.8103 55.5821 17.1296 55.2648 17.1665 54.8412L18.4559 41.179L17.1665 27.0522C17.1296 26.6326 16.8062 26.3112 16.4092 26.3112C16.0121 26.3112 15.6823 26.6306 15.6516 27.0563ZM10.6514 27.4308C10.6514 27.4329 9.44385 41.177 9.44385 41.177L10.6514 54.4195C10.6882 54.788 10.9585 55.0337 11.2982 55.0337C11.638 55.0337 11.9042 54.7676 11.9431 54.3992L13.3103 41.1565L11.9451 27.4103C11.9042 27.0419 11.6319 26.7758 11.2982 26.7758C10.9646 26.7758 10.6841 27.0419 10.6514 27.4103M20.6929 28.0592L19.6205 41.1585L20.6929 54.9334C20.7256 55.4184 21.0942 55.7888 21.5588 55.7888C22.0235 55.7888 22.3898 55.4204 22.4246 54.9354L23.6423 41.1606L22.4246 28.0531C22.3877 27.5721 22.0194 27.2057 21.5588 27.2057C21.0983 27.2057 20.7236 27.57 20.6929 28.0592ZM5.69409 29.5738C5.69409 29.5758 4.4251 41.1585 4.4251 41.1585L5.69409 52.4894C5.73093 52.7924 5.9603 53.0094 6.23252 53.0094C6.50474 53.0094 6.72376 52.7965 6.7647 52.4916L8.20559 41.1585L6.7647 29.5738C6.71762 29.2668 6.49869 29.0539 6.22852 29.0539C5.95835 29.0539 5.72693 29.2729 5.69009 29.5738M0.941686 33.9948L0 41.1585L0.941686 48.1994C0.978528 48.4962 1.19125 48.705 1.45938 48.705C1.7275 48.705 1.93013 48.4962 1.97107 48.2015L3.08865 41.1565L1.97107 33.9928C1.93013 33.698 1.71727 33.4913 1.45938 33.4913C1.20148 33.4913 0.976481 33.7 0.941686 33.9948Z",
20421
20489
  fill: "var(--text-color)"
20422
20490
  })
@@ -20425,13 +20493,13 @@ var TrustedByBanner = () => {
20425
20493
  ];
20426
20494
  return /* @__PURE__ */ jsxs43(Fragment8, {
20427
20495
  children: [
20428
- /* @__PURE__ */ jsx101("h3", {
20496
+ /* @__PURE__ */ jsx104("h3", {
20429
20497
  className: "text-center mt-20 mb-10",
20430
20498
  children: "Trusted by"
20431
20499
  }),
20432
- /* @__PURE__ */ jsx101("div", {
20500
+ /* @__PURE__ */ jsx104("div", {
20433
20501
  className: "text-center flex flex-col lg:flex-row flex-nowrap justify-center items-center gap-10 mb-20",
20434
- children: logos.map((logo) => /* @__PURE__ */ jsx101("a", {
20502
+ children: logos.map((logo) => /* @__PURE__ */ jsx104("a", {
20435
20503
  href: logo.url,
20436
20504
  target: "_blank",
20437
20505
  className: "opacity-80 hover:opacity-100 transition-opacity",
@@ -20445,7 +20513,7 @@ var TrustedByBanner_default = TrustedByBanner;
20445
20513
 
20446
20514
  // src/components/homepage/VideoAppsShowcase.tsx
20447
20515
  import { useEffect as useEffect47, useRef as useRef35, useState as useState41 } from "react";
20448
- import { jsx as jsx104, jsxs as jsxs45 } from "react/jsx-runtime";
20516
+ import { jsx as jsx106, jsxs as jsxs45 } from "react/jsx-runtime";
20449
20517
  var tabs = [
20450
20518
  "Music visualization",
20451
20519
  "Captions",
@@ -20539,12 +20607,12 @@ var VideoAppsShowcase = () => {
20539
20607
  return /* @__PURE__ */ jsxs45("div", {
20540
20608
  ref: containerRef,
20541
20609
  children: [
20542
- /* @__PURE__ */ jsx104(SectionTitle, {
20610
+ /* @__PURE__ */ jsx106(SectionTitle, {
20543
20611
  children: "Use Cases"
20544
20612
  }),
20545
- /* @__PURE__ */ jsx104("div", {
20613
+ /* @__PURE__ */ jsx106("div", {
20546
20614
  className: "grid justify-center grid-flow-col grid-rows-1 gap-2.5 justify-self-center mb-4 w-[90vw] md:w-auto -mt-4",
20547
- children: tabs.map((tab, index) => /* @__PURE__ */ jsx104("button", {
20615
+ children: tabs.map((tab, index) => /* @__PURE__ */ jsx106("button", {
20548
20616
  type: "button",
20549
20617
  "data-active": index === activeTab,
20550
20618
  className: `bg-transparent border-none m-0 p-0 lg:mx-3 my-4 cursor-pointer text-base fontbrand font-bold transition-colors text-muted data-[active=true]:text-brand`,
@@ -20552,7 +20620,7 @@ var VideoAppsShowcase = () => {
20552
20620
  children: tab
20553
20621
  }, tab))
20554
20622
  }),
20555
- /* @__PURE__ */ jsx104("div", {
20623
+ /* @__PURE__ */ jsx106("div", {
20556
20624
  className: "card flex p-0 overflow-hidden",
20557
20625
  children: /* @__PURE__ */ jsxs45("div", {
20558
20626
  className: "flex-1 flex flex-col lg:flex-row justify-center",
@@ -20561,7 +20629,7 @@ var VideoAppsShowcase = () => {
20561
20629
  className: "w-full max-w-[500px] aspect-square relative overflow-hidden bg-[#eee] cursor-pointer",
20562
20630
  onClick: handlePlayPause,
20563
20631
  children: [
20564
- /* @__PURE__ */ jsx104(MuxVideo, {
20632
+ /* @__PURE__ */ jsx106(MuxVideo, {
20565
20633
  ref: videoRef,
20566
20634
  muxId: videoApps[activeTab].muxId,
20567
20635
  className: "absolute left-0 top-0 w-full h-full object-contain rounded-sm rounded-tr-none rounded-br-none",
@@ -20569,21 +20637,21 @@ var VideoAppsShowcase = () => {
20569
20637
  playsInline: true,
20570
20638
  muted: isMuted
20571
20639
  }),
20572
- /* @__PURE__ */ jsx104("button", {
20640
+ /* @__PURE__ */ jsx106("button", {
20573
20641
  type: "button",
20574
20642
  className: "absolute bottom-2.5 left-2.5 bg-white text-black rounded-full w-8 h-8 flex justify-center items-center text-base cursor-pointer transition-colors border-2 border-black border-solid",
20575
20643
  onClick: (e) => {
20576
20644
  e.stopPropagation();
20577
20645
  handlePlayPause();
20578
20646
  },
20579
- children: isPlaying ? /* @__PURE__ */ jsx104(PlayingIcon, {
20647
+ children: isPlaying ? /* @__PURE__ */ jsx106(PlayingIcon, {
20580
20648
  style: {
20581
20649
  width: 12,
20582
20650
  height: 20,
20583
20651
  marginLeft: "2px",
20584
20652
  marginTop: "1px"
20585
20653
  }
20586
- }) : /* @__PURE__ */ jsx104(PausedIcon, {
20654
+ }) : /* @__PURE__ */ jsx106(PausedIcon, {
20587
20655
  style: {
20588
20656
  width: 14,
20589
20657
  height: 16,
@@ -20592,20 +20660,20 @@ var VideoAppsShowcase = () => {
20592
20660
  }
20593
20661
  })
20594
20662
  }),
20595
- /* @__PURE__ */ jsx104("button", {
20663
+ /* @__PURE__ */ jsx106("button", {
20596
20664
  type: "button",
20597
20665
  className: "absolute bottom-2.5 right-2.5 bg-white text-black rounded-full w-8 h-8 flex justify-center items-center text-base cursor-pointer transition-colors border-2 border-black border-solid",
20598
20666
  onClick: (e) => {
20599
20667
  e.stopPropagation();
20600
20668
  handleMuteToggle();
20601
20669
  },
20602
- children: isMuted ? /* @__PURE__ */ jsx104(IsMutedIcon, {
20670
+ children: isMuted ? /* @__PURE__ */ jsx106(IsMutedIcon, {
20603
20671
  style: {
20604
20672
  width: 16,
20605
20673
  height: 16,
20606
20674
  marginTop: "1px"
20607
20675
  }
20608
- }) : /* @__PURE__ */ jsx104(NotMutedIcon, {
20676
+ }) : /* @__PURE__ */ jsx106(NotMutedIcon, {
20609
20677
  style: {
20610
20678
  width: 16,
20611
20679
  height: 16,
@@ -20618,19 +20686,19 @@ var VideoAppsShowcase = () => {
20618
20686
  /* @__PURE__ */ jsxs45("div", {
20619
20687
  className: "p-6 flex-1 flex flex-col h-full",
20620
20688
  children: [
20621
- /* @__PURE__ */ jsx104("div", {
20689
+ /* @__PURE__ */ jsx106("div", {
20622
20690
  className: "text-4xl font-bold fontbrand mt-0",
20623
20691
  children: videoApps[activeTab].title
20624
20692
  }),
20625
- /* @__PURE__ */ jsx104("div", {
20693
+ /* @__PURE__ */ jsx106("div", {
20626
20694
  className: "text-muted mt-4 text-base fontbrand",
20627
20695
  children: videoApps[activeTab].description
20628
20696
  }),
20629
- videoApps[activeTab].additionalInfo ? /* @__PURE__ */ jsx104("div", {
20697
+ videoApps[activeTab].additionalInfo ? /* @__PURE__ */ jsx106("div", {
20630
20698
  className: "text-muted mt-4 text-base fontbrand",
20631
20699
  children: videoApps[activeTab].additionalInfo
20632
20700
  }) : null,
20633
- /* @__PURE__ */ jsx104("div", {
20701
+ /* @__PURE__ */ jsx106("div", {
20634
20702
  className: "h-5"
20635
20703
  }),
20636
20704
  /* @__PURE__ */ jsxs45("a", {
@@ -20638,11 +20706,11 @@ var VideoAppsShowcase = () => {
20638
20706
  href: videoApps[activeTab].link,
20639
20707
  children: [
20640
20708
  videoApps[activeTab].buttonText,
20641
- /* @__PURE__ */ jsx104("svg", {
20709
+ /* @__PURE__ */ jsx106("svg", {
20642
20710
  style: icon5,
20643
20711
  xmlns: "http://www.w3.org/2000/svg",
20644
20712
  viewBox: "0 0 448 512",
20645
- children: /* @__PURE__ */ jsx104("path", {
20713
+ children: /* @__PURE__ */ jsx106("path", {
20646
20714
  fill: "currentColor",
20647
20715
  d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
20648
20716
  })
@@ -20654,7 +20722,7 @@ var VideoAppsShowcase = () => {
20654
20722
  ]
20655
20723
  })
20656
20724
  }),
20657
- /* @__PURE__ */ jsx104("div", {
20725
+ /* @__PURE__ */ jsx106("div", {
20658
20726
  style: {
20659
20727
  marginTop: "1rem",
20660
20728
  justifyContent: "center",
@@ -20667,7 +20735,7 @@ var VideoAppsShowcase = () => {
20667
20735
  children: [
20668
20736
  "For more examples see our",
20669
20737
  " ",
20670
- /* @__PURE__ */ jsx104("a", {
20738
+ /* @__PURE__ */ jsx106("a", {
20671
20739
  href: "/showcase",
20672
20740
  className: "bluelink",
20673
20741
  children: "Showcase page"
@@ -21198,13 +21266,13 @@ var CreateVideoInternals = {
21198
21266
  };
21199
21267
 
21200
21268
  // src/components/icons/blank.tsx
21201
- import { jsx as jsx106 } from "react/jsx-runtime";
21269
+ import { jsx as jsx107 } from "react/jsx-runtime";
21202
21270
  var Blank = (props) => {
21203
- return /* @__PURE__ */ jsx106("svg", {
21271
+ return /* @__PURE__ */ jsx107("svg", {
21204
21272
  xmlns: "http://www.w3.org/2000/svg",
21205
21273
  viewBox: "0 0 384 512",
21206
21274
  ...props,
21207
- children: /* @__PURE__ */ jsx106("path", {
21275
+ children: /* @__PURE__ */ jsx107("path", {
21208
21276
  fill: "currentColor",
21209
21277
  d: "M0 64C0 28.65 28.65 0 64 0H220.1C232.8 0 245.1 5.057 254.1 14.06L369.9 129.9C378.9 138.9 384 151.2 384 163.9V448C384 483.3 355.3 512 320 512H64C28.65 512 0 483.3 0 448V64zM352 192H240C213.5 192 192 170.5 192 144V32H64C46.33 32 32 46.33 32 64V448C32 465.7 46.33 480 64 480H320C337.7 480 352 465.7 352 448V192zM347.3 152.6L231.4 36.69C229.4 34.62 226.8 33.18 224 32.48V144C224 152.8 231.2 160 240 160H351.5C350.8 157.2 349.4 154.6 347.3 152.6z"
21210
21278
  })
@@ -21212,29 +21280,29 @@ var Blank = (props) => {
21212
21280
  };
21213
21281
 
21214
21282
  // src/components/icons/code-hike.tsx
21215
- import { jsx as jsx107, jsxs as jsxs46 } from "react/jsx-runtime";
21283
+ import { jsx as jsx108, jsxs as jsxs46 } from "react/jsx-runtime";
21216
21284
  var CodeHike = (props) => {
21217
21285
  return /* @__PURE__ */ jsxs46("svg", {
21218
21286
  ...props,
21219
21287
  viewBox: "-100 -100 200 200",
21220
21288
  fill: "currentColor",
21221
21289
  children: [
21222
- /* @__PURE__ */ jsx107("path", {
21290
+ /* @__PURE__ */ jsx108("path", {
21223
21291
  d: "M 70 60 L 42 -27 L 72 -27 L 100 60 Z"
21224
21292
  }),
21225
- /* @__PURE__ */ jsx107("path", {
21293
+ /* @__PURE__ */ jsx108("path", {
21226
21294
  d: "M 20.419540229885058 40.05357142857142 L 42 -27 L 72 -27 L 50.41954022988506 40.05357142857142 Z"
21227
21295
  }),
21228
- /* @__PURE__ */ jsx107("path", {
21296
+ /* @__PURE__ */ jsx108("path", {
21229
21297
  d: "M 20.419540229885058 40.05357142857142 L -15 -70 L 15 -70 L 50.41954022988506 40.05357142857142 Z"
21230
21298
  }),
21231
- /* @__PURE__ */ jsx107("path", {
21299
+ /* @__PURE__ */ jsx108("path", {
21232
21300
  d: "M -50.41954022988506 40.05357142857142 L -15 -70 L 15 -70 L -20.419540229885058 40.05357142857142 Z"
21233
21301
  }),
21234
- /* @__PURE__ */ jsx107("path", {
21302
+ /* @__PURE__ */ jsx108("path", {
21235
21303
  d: "M -50.41954022988506 40.05357142857142 L -72 -27 L -42 -27 L -20.419540229885058 40.05357142857142 Z"
21236
21304
  }),
21237
- /* @__PURE__ */ jsx107("path", {
21305
+ /* @__PURE__ */ jsx108("path", {
21238
21306
  d: "M -100 60 L -72 -27 L -42 -27 L -70 60 Z"
21239
21307
  })
21240
21308
  ]
@@ -21242,13 +21310,13 @@ var CodeHike = (props) => {
21242
21310
  };
21243
21311
 
21244
21312
  // src/components/icons/cubes.tsx
21245
- import { jsx as jsx108 } from "react/jsx-runtime";
21313
+ import { jsx as jsx109 } from "react/jsx-runtime";
21246
21314
  var Cubes = (props) => {
21247
- return /* @__PURE__ */ jsx108("svg", {
21315
+ return /* @__PURE__ */ jsx109("svg", {
21248
21316
  xmlns: "http://www.w3.org/2000/svg",
21249
21317
  viewBox: "0 0 512 512",
21250
21318
  ...props,
21251
- children: /* @__PURE__ */ jsx108("path", {
21319
+ children: /* @__PURE__ */ jsx109("path", {
21252
21320
  fill: "currentColor",
21253
21321
  d: "M239.5 5.018C250.1 1.106 261.9 1.106 272.5 5.018L480.5 81.28C499.4 88.22 512 106.2 512 126.4V385.7C512 405.8 499.4 423.8 480.5 430.7L272.5 506.1C261.9 510.9 250.1 510.9 239.5 506.1L31.48 430.7C12.57 423.8 0 405.8 0 385.7V126.4C0 106.2 12.57 88.22 31.48 81.28L239.5 5.018zM261.5 35.06C257.1 33.76 254 33.76 250.5 35.06L44.14 110.7L256 193.1L467.9 110.7L261.5 35.06zM42.49 400.7L240 473.1V222L32 140.3V385.7C32 392.4 36.19 398.4 42.49 400.7V400.7zM272 473.1L469.5 400.7C475.8 398.4 480 392.4 480 385.7V140.3L272 222V473.1z"
21254
21322
  })
@@ -21256,13 +21324,13 @@ var Cubes = (props) => {
21256
21324
  };
21257
21325
 
21258
21326
  // src/components/icons/js.tsx
21259
- import { jsx as jsx109 } from "react/jsx-runtime";
21327
+ import { jsx as jsx110 } from "react/jsx-runtime";
21260
21328
  var JSIcon = (props) => {
21261
- return /* @__PURE__ */ jsx109("svg", {
21329
+ return /* @__PURE__ */ jsx110("svg", {
21262
21330
  className: "svg-inline--fa fa-js-square fa-w-14",
21263
21331
  viewBox: "0 0 448 512",
21264
21332
  ...props,
21265
- children: /* @__PURE__ */ jsx109("path", {
21333
+ children: /* @__PURE__ */ jsx110("path", {
21266
21334
  fill: "currentColor",
21267
21335
  d: "M400 32H48C21.5 32 0 53.5 0 80v352c0 26.5 21.5 48 48 48h352c26.5 0 48-21.5 48-48V80c0-26.5-21.5-48-48-48zM243.8 381.4c0 43.6-25.6 63.5-62.9 63.5-33.7 0-53.2-17.4-63.2-38.5l34.3-20.7c6.6 11.7 12.6 21.6 27.1 21.6 13.8 0 22.6-5.4 22.6-26.5V237.7h42.1v143.7zm99.6 63.5c-39.1 0-64.4-18.6-76.7-43l34.3-19.8c9 14.7 20.8 25.6 41.5 25.6 17.4 0 28.6-8.7 28.6-20.8 0-14.4-11.4-19.5-30.7-28l-10.5-4.5c-30.4-12.9-50.5-29.2-50.5-63.5 0-31.6 24.1-55.6 61.6-55.6 26.8 0 46 9.3 59.8 33.7L368 290c-7.2-12.9-15-18-27.1-18-12.3 0-20.1 7.8-20.1 18 0 12.6 7.8 17.7 25.9 25.6l10.5 4.5c35.8 15.3 55.9 31 55.9 66.2 0 37.8-29.8 58.6-69.7 58.6z"
21268
21336
  })
@@ -21270,20 +21338,20 @@ var JSIcon = (props) => {
21270
21338
  };
21271
21339
 
21272
21340
  // src/components/icons/music.tsx
21273
- import { jsx as jsx110 } from "react/jsx-runtime";
21341
+ import { jsx as jsx111 } from "react/jsx-runtime";
21274
21342
  var MusicIcon = (props) => {
21275
- return /* @__PURE__ */ jsx110("svg", {
21343
+ return /* @__PURE__ */ jsx111("svg", {
21276
21344
  ...props,
21277
21345
  xmlns: "http://www.w3.org/2000/svg",
21278
21346
  viewBox: "0 0 512 512",
21279
- children: /* @__PURE__ */ jsx110("path", {
21347
+ children: /* @__PURE__ */ jsx111("path", {
21280
21348
  d: "M499.1 6.3c8.1 6 12.9 15.6 12.9 25.7l0 72 0 264c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L448 147 192 223.8 192 432c0 44.2-43 80-96 80s-96-35.8-96-80s43-80 96-80c11.2 0 22 1.6 32 4.6L128 200l0-72c0-14.1 9.3-26.6 22.8-30.7l320-96c9.7-2.9 20.2-1.1 28.3 5z"
21281
21349
  })
21282
21350
  });
21283
21351
  };
21284
21352
 
21285
21353
  // src/components/icons/next.tsx
21286
- import { jsx as jsx111, jsxs as jsxs47 } from "react/jsx-runtime";
21354
+ import { jsx as jsx113, jsxs as jsxs47 } from "react/jsx-runtime";
21287
21355
  var NextIcon = ({ style: style4 }) => {
21288
21356
  return /* @__PURE__ */ jsxs47("svg", {
21289
21357
  fill: "none",
@@ -21291,7 +21359,7 @@ var NextIcon = ({ style: style4 }) => {
21291
21359
  style: style4,
21292
21360
  xmlns: "http://www.w3.org/2000/svg",
21293
21361
  children: [
21294
- /* @__PURE__ */ jsx111("mask", {
21362
+ /* @__PURE__ */ jsx113("mask", {
21295
21363
  height: "180",
21296
21364
  id: "mask0_292_250",
21297
21365
  maskUnits: "userSpaceOnUse",
@@ -21299,7 +21367,7 @@ var NextIcon = ({ style: style4 }) => {
21299
21367
  width: "180",
21300
21368
  x: "0",
21301
21369
  y: "0",
21302
- children: /* @__PURE__ */ jsx111("circle", {
21370
+ children: /* @__PURE__ */ jsx113("circle", {
21303
21371
  cx: "90",
21304
21372
  cy: "90",
21305
21373
  fill: "currentcolor",
@@ -21309,17 +21377,17 @@ var NextIcon = ({ style: style4 }) => {
21309
21377
  /* @__PURE__ */ jsxs47("g", {
21310
21378
  mask: "url(#mask0_292_250)",
21311
21379
  children: [
21312
- /* @__PURE__ */ jsx111("circle", {
21380
+ /* @__PURE__ */ jsx113("circle", {
21313
21381
  cx: "90",
21314
21382
  cy: "90",
21315
21383
  fill: "currentcolor",
21316
21384
  r: "90"
21317
21385
  }),
21318
- /* @__PURE__ */ jsx111("path", {
21386
+ /* @__PURE__ */ jsx113("path", {
21319
21387
  d: "M149.508 157.52L69.142 54H54V125.97H66.1136V69.3836L139.999 164.845C143.333 162.614 146.509 160.165 149.508 157.52Z",
21320
21388
  fill: "url(#paint0_linear_292_250)"
21321
21389
  }),
21322
- /* @__PURE__ */ jsx111("rect", {
21390
+ /* @__PURE__ */ jsx113("rect", {
21323
21391
  fill: "url(#paint1_linear_292_250)",
21324
21392
  height: "72",
21325
21393
  width: "12",
@@ -21338,10 +21406,10 @@ var NextIcon = ({ style: style4 }) => {
21338
21406
  y1: "116.5",
21339
21407
  y2: "160.5",
21340
21408
  children: [
21341
- /* @__PURE__ */ jsx111("stop", {
21409
+ /* @__PURE__ */ jsx113("stop", {
21342
21410
  stopColor: "var(--background)"
21343
21411
  }),
21344
- /* @__PURE__ */ jsx111("stop", {
21412
+ /* @__PURE__ */ jsx113("stop", {
21345
21413
  offset: "1",
21346
21414
  stopColor: "var(--background)",
21347
21415
  stopOpacity: "0"
@@ -21356,10 +21424,10 @@ var NextIcon = ({ style: style4 }) => {
21356
21424
  y1: "54",
21357
21425
  y2: "106.875",
21358
21426
  children: [
21359
- /* @__PURE__ */ jsx111("stop", {
21427
+ /* @__PURE__ */ jsx113("stop", {
21360
21428
  stopColor: "var(--background)"
21361
21429
  }),
21362
- /* @__PURE__ */ jsx111("stop", {
21430
+ /* @__PURE__ */ jsx113("stop", {
21363
21431
  offset: "1",
21364
21432
  stopColor: "var(--background)",
21365
21433
  stopOpacity: "0"
@@ -21373,7 +21441,7 @@ var NextIcon = ({ style: style4 }) => {
21373
21441
  };
21374
21442
 
21375
21443
  // src/components/icons/overlay.tsx
21376
- import { jsx as jsx113, jsxs as jsxs48 } from "react/jsx-runtime";
21444
+ import { jsx as jsx115, jsxs as jsxs48 } from "react/jsx-runtime";
21377
21445
  var OverlayIcon = (props) => {
21378
21446
  return /* @__PURE__ */ jsxs48("svg", {
21379
21447
  viewBox: "0 0 576 512",
@@ -21381,11 +21449,11 @@ var OverlayIcon = (props) => {
21381
21449
  xmlns: "http://www.w3.org/2000/svg",
21382
21450
  ...props,
21383
21451
  children: [
21384
- /* @__PURE__ */ jsx113("path", {
21452
+ /* @__PURE__ */ jsx115("path", {
21385
21453
  d: "M251.1 407.9C274.5 418.7 301.5 418.7 324.9 407.9V407.8L476.9 337.6L530.1 362.2C538.6 366.1 544 374.6 544 384C544 393.4 538.6 401.9 530.1 405.8L311.5 506.8C296.6 513.7 279.4 513.7 264.5 506.8L45.9 405.8C37.4 401.9 32 393.4 32 384C32 374.6 37.4 366.1 45.9 362.2L99.1 337.7L251.1 407.9Z",
21386
21454
  fill: "currentcolor"
21387
21455
  }),
21388
- /* @__PURE__ */ jsx113("path", {
21456
+ /* @__PURE__ */ jsx115("path", {
21389
21457
  d: "M277.8 132.7L495.2 230.1C505.4 234.7 512 244.8 512 256C512 267.2 505.4 277.3 495.2 281.9L277.8 379.3C270.1 382.4 263.5 384 256 384C248.5 384 241 382.4 234.2 379.3L16.76 281.9C6.561 277.3 0.0003 267.2 0.0003 256C0.0003 244.8 6.561 234.7 16.76 230.1L234.2 132.7C241 129.6 248.5 128 256 128C263.5 128 270.1 129.6 277.8 132.7Z",
21390
21458
  stroke: "currentcolor",
21391
21459
  transform: "translate(32, -25)",
@@ -21396,23 +21464,23 @@ var OverlayIcon = (props) => {
21396
21464
  };
21397
21465
 
21398
21466
  // src/components/icons/recorder.tsx
21399
- import { jsx as jsx115, jsxs as jsxs49 } from "react/jsx-runtime";
21467
+ import { jsx as jsx116, jsxs as jsxs49 } from "react/jsx-runtime";
21400
21468
  var Recorder = (props) => {
21401
21469
  return /* @__PURE__ */ jsxs49("svg", {
21402
21470
  viewBox: "0 0 700 700",
21403
21471
  ...props,
21404
21472
  children: [
21405
- /* @__PURE__ */ jsx115("path", {
21473
+ /* @__PURE__ */ jsx116("path", {
21406
21474
  d: "M0 350C0 115.5 115.5 0 350 0C584.5 0 700 115.5 700 350C700 584.5 584.5 700 350 700C115.5 700 0 584.5 0 350Z",
21407
21475
  fill: "#F43B00",
21408
21476
  fillOpacity: "0.15"
21409
21477
  }),
21410
- /* @__PURE__ */ jsx115("path", {
21478
+ /* @__PURE__ */ jsx116("path", {
21411
21479
  d: "M79.4595 344.324C79.4595 161.794 169.362 71.8915 351.892 71.8915C534.422 71.8915 624.324 161.794 624.324 344.324C624.324 526.854 534.422 616.756 351.892 616.756C169.362 616.756 79.4595 526.854 79.4595 344.324Z",
21412
21480
  fill: "#F43B00",
21413
21481
  fillOpacity: "0.3"
21414
21482
  }),
21415
- /* @__PURE__ */ jsx115("path", {
21483
+ /* @__PURE__ */ jsx116("path", {
21416
21484
  d: "M155.135 343.378C155.135 212.185 219.752 147.567 350.946 147.567C482.139 147.567 546.756 212.185 546.756 343.378C546.756 474.571 482.139 539.189 350.946 539.189C219.752 539.189 155.135 474.571 155.135 343.378Z",
21417
21485
  fill: "#F43B00"
21418
21486
  })
@@ -21421,9 +21489,9 @@ var Recorder = (props) => {
21421
21489
  };
21422
21490
 
21423
21491
  // src/components/icons/remix.tsx
21424
- import { jsx as jsx116, jsxs as jsxs50 } from "react/jsx-runtime";
21492
+ import { jsx as jsx117, jsxs as jsxs50 } from "react/jsx-runtime";
21425
21493
  var ReactRouterIcon = (props) => {
21426
- return /* @__PURE__ */ jsx116("svg", {
21494
+ return /* @__PURE__ */ jsx117("svg", {
21427
21495
  xmlns: "http://www.w3.org/2000/svg",
21428
21496
  width: "800px",
21429
21497
  height: "800px",
@@ -21433,11 +21501,11 @@ var ReactRouterIcon = (props) => {
21433
21501
  ...props,
21434
21502
  children: /* @__PURE__ */ jsxs50("g", {
21435
21503
  children: [
21436
- /* @__PURE__ */ jsx116("path", {
21504
+ /* @__PURE__ */ jsx117("path", {
21437
21505
  d: "M78.0659341,92.5875806 C90.8837956,92.5875806 101.274726,82.1966508 101.274726,69.3787894 C101.274726,56.5609279 90.8837956,46.1699982 78.0659341,46.1699982 C65.2480726,46.1699982 54.8571429,56.5609279 54.8571429,69.3787894 C54.8571429,82.1966508 65.2480726,92.5875806 78.0659341,92.5875806 Z M23.2087913,139.005163 C36.0266526,139.005163 46.4175825,128.614233 46.4175825,115.796372 C46.4175825,102.97851 36.0266526,92.5875806 23.2087913,92.5875806 C10.3909298,92.5875806 0,102.97851 0,115.796372 C0,128.614233 10.3909298,139.005163 23.2087913,139.005163 Z M232.791209,139.005163 C245.60907,139.005163 256,128.614233 256,115.796372 C256,102.97851 245.60907,92.5875806 232.791209,92.5875806 C219.973347,92.5875806 209.582418,102.97851 209.582418,115.796372 C209.582418,128.614233 219.973347,139.005163 232.791209,139.005163 Z",
21438
21506
  fill: "currentcolor"
21439
21507
  }),
21440
- /* @__PURE__ */ jsx116("path", {
21508
+ /* @__PURE__ */ jsx117("path", {
21441
21509
  d: "M156.565464,70.3568084 C155.823426,62.6028163 155.445577,56.1490255 149.505494,51.6131676 C141.982638,45.8687002 133.461166,49.5960243 122.964463,45.8072968 C112.650326,43.3121427 105,34.1545727 105,23.2394367 C105,10.4046502 115.577888,0 128.626373,0 C138.29063,0 146.599638,5.70747659 150.259573,13.8825477 C155.861013,24.5221258 152.220489,35.3500418 159.258242,40.8041273 C167.591489,47.2621895 178.826167,42.5329154 191.362109,48.6517412 C195.390112,50.5026944 198.799584,53.4384578 201.202056,57.0769224 C203.604528,60.7153869 205,65.0565524 205,69.7183101 C205,80.633446 197.349674,89.7910161 187.035538,92.2861702 C176.538834,96.0748977 168.017363,92.3475736 160.494506,98.092041 C152.03503,104.551712 156.563892,115.358642 149.669352,126.774447 C145.756163,134.291567 137.802119,139.43662 128.626373,139.43662 C115.577888,139.43662 105,129.03197 105,116.197184 C105,106.873668 110.581887,98.832521 118.637891,95.1306146 C131.173833,89.0117889 142.408511,93.7410629 150.741758,87.2830007 C155.549106,83.5574243 156.565464,77.8102648 156.565464,70.3568084 Z",
21442
21510
  fill: "currentcolor"
21443
21511
  })
@@ -21447,13 +21515,13 @@ var ReactRouterIcon = (props) => {
21447
21515
  };
21448
21516
 
21449
21517
  // src/components/icons/skia.tsx
21450
- import { jsx as jsx117 } from "react/jsx-runtime";
21518
+ import { jsx as jsx118 } from "react/jsx-runtime";
21451
21519
  var SkiaIcon = (props) => {
21452
- return /* @__PURE__ */ jsx117("svg", {
21520
+ return /* @__PURE__ */ jsx118("svg", {
21453
21521
  ...props,
21454
21522
  xmlns: "http://www.w3.org/2000/svg",
21455
21523
  viewBox: "0 0 576 512",
21456
- children: /* @__PURE__ */ jsx117("path", {
21524
+ children: /* @__PURE__ */ jsx118("path", {
21457
21525
  fill: "currentColor",
21458
21526
  d: "M288 400C288 461.9 237.9 512 176 512H32C14.33 512 0 497.7 0 480C0 462.3 14.33 448 32 448H36.81C54.44 448 66.4 429.1 64.59 411.6C64.2 407.8 64 403.9 64 400C64 338.1 114.1 288 176 288C178.8 288 181.5 288.1 184.3 288.3C184.1 285.7 183.1 282.1 183.1 280.3C183.1 244.6 201.1 210.1 229.1 189.1L474.3 12.25C499.7-6.279 534.9-3.526 557.2 18.74C579.4 41 582.2 76.16 563.7 101.6L386.1 345.1C365 374.9 331.4 392 295.7 392C293 392 290.3 391.9 287.7 391.7C287.9 394.5 287.1 397.2 287.1 400H288zM295.7 360C321.2 360 345.2 347.8 360.2 327.2L537.8 82.82C547.1 70.08 545.7 52.5 534.5 41.37C523.4 30.24 505.8 28.86 493.1 38.12L248.8 215.8C228.2 230.8 215.1 254.8 215.1 280.3C215.1 285.7 216.5 290.9 217.5 295.1L217.6 295.1C217.9 297.3 218.2 298.6 218.5 299.9L276.1 357.5C277.4 357.8 278.7 358.1 280 358.4L280 358.5C285.1 359.5 290.3 360 295.7 360L295.7 360zM253.5 380.1L195.9 322.5C194.5 322.2 193.2 321.8 191.9 321.6C186.7 320.5 181.4 320 176 320C131.8 320 96 355.8 96 400C96 402.8 96.14 405.6 96.43 408.3C98.15 425 93.42 441.9 83.96 455.1C74.31 468.5 58 480 36.81 480H176C220.2 480 256 444.2 256 400C256 394.6 255.5 389.3 254.4 384.1C254.2 382.8 253.9 381.5 253.5 380.1V380.1z"
21459
21527
  })
@@ -21461,13 +21529,13 @@ var SkiaIcon = (props) => {
21461
21529
  };
21462
21530
 
21463
21531
  // src/components/icons/stargazer.tsx
21464
- import { jsx as jsx118 } from "react/jsx-runtime";
21532
+ import { jsx as jsx119 } from "react/jsx-runtime";
21465
21533
  var Stargazer = (props) => {
21466
- return /* @__PURE__ */ jsx118("svg", {
21534
+ return /* @__PURE__ */ jsx119("svg", {
21467
21535
  height: "1em",
21468
21536
  viewBox: "0 0 512 512",
21469
21537
  ...props,
21470
- children: /* @__PURE__ */ jsx118("path", {
21538
+ children: /* @__PURE__ */ jsx119("path", {
21471
21539
  fill: "currentcolor",
21472
21540
  d: "M325.8 152.3c1.3 4.6 5.5 7.7 10.2 7.7s8.9-3.1 10.2-7.7L360 104l48.3-13.8c4.6-1.3 7.7-5.5 7.7-10.2s-3.1-8.9-7.7-10.2L360 56 346.2 7.7C344.9 3.1 340.7 0 336 0s-8.9 3.1-10.2 7.7L312 56 263.7 69.8c-4.6 1.3-7.7 5.5-7.7 10.2s3.1 8.9 7.7 10.2L312 104l13.8 48.3zM115.7 346.2L75.5 307l55.5-8.1c15.6-2.3 29.2-12.1 36.1-26.3l24.8-50.3 24.8 50.3c7 14.2 20.5 24 36.1 26.3l55.5 8.1-40.2 39.2c-11.3 11-16.4 26.9-13.8 42.4l9.5 55.4-49.5-26.1c-14-7.4-30.7-7.4-44.7 0L120 444l9.5-55.4c2.7-15.6-2.5-31.4-13.8-42.4zm54.7-188.8l-46.3 94L20.5 266.5C.9 269.3-7 293.5 7.2 307.4l74.9 73.2L64.5 483.9c-3.4 19.6 17.2 34.6 34.8 25.3l92.6-48.8 92.6 48.8c17.6 9.3 38.2-5.7 34.8-25.3L301.6 380.6l74.9-73.2c14.2-13.9 6.4-38.1-13.3-40.9L259.7 251.4l-46.3-94c-8.8-17.9-34.3-17.9-43.1 0zm258.4 85.8l11 38.6c1 3.6 4.4 6.2 8.2 6.2s7.1-2.5 8.2-6.2l11-38.6 38.6-11c3.6-1 6.2-4.4 6.2-8.2s-2.5-7.1-6.2-8.2l-38.6-11-11-38.6c-1-3.6-4.4-6.2-8.2-6.2s-7.1 2.5-8.2 6.2l-11 38.6-38.6 11c-3.6 1-6.2 4.4-6.2 8.2s2.5 7.1 6.2 8.2l38.6 11z"
21473
21541
  })
@@ -21475,13 +21543,13 @@ var Stargazer = (props) => {
21475
21543
  };
21476
21544
 
21477
21545
  // src/components/icons/still.tsx
21478
- import { jsx as jsx119 } from "react/jsx-runtime";
21546
+ import { jsx as jsx120 } from "react/jsx-runtime";
21479
21547
  var StillIcon = (props) => {
21480
- return /* @__PURE__ */ jsx119("svg", {
21548
+ return /* @__PURE__ */ jsx120("svg", {
21481
21549
  xmlns: "http://www.w3.org/2000/svg",
21482
21550
  viewBox: "0 0 512 512",
21483
21551
  ...props,
21484
- children: /* @__PURE__ */ jsx119("path", {
21552
+ children: /* @__PURE__ */ jsx120("path", {
21485
21553
  fill: "currentColor",
21486
21554
  d: "M324.9 157.8c-11.38-17.38-39.89-17.31-51.23-.0625L200.5 268.5L184.1 245.9C172.7 229.1 145.9 229.9 134.4 245.9l-64.52 89.16c-6.797 9.406-7.75 21.72-2.547 32C72.53 377.5 83.05 384 94.75 384h322.5c11.41 0 21.8-6.281 27.14-16.38c5.312-10 4.734-22.09-1.516-31.56L324.9 157.8zM95.8 352l62.39-87.38l29.91 41.34C191.2 310.2 196.4 313.2 201.4 312.6c5.25-.125 10.12-2.781 13.02-7.188l83.83-129.9L415 352H95.8zM447.1 32h-384C28.65 32-.0091 60.65-.0091 96v320c0 35.35 28.65 64 63.1 64h384c35.35 0 64-28.65 64-64V96C511.1 60.65 483.3 32 447.1 32zM480 416c0 17.64-14.36 32-32 32H64c-17.64 0-32-14.36-32-32V96c0-17.64 14.36-32 32-32h384c17.64 0 32 14.36 32 32V416zM144 192C170.5 192 192 170.5 192 144S170.5 96 144 96S96 117.5 96 144S117.5 192 144 192zM144 128c8.822 0 15.1 7.178 15.1 16S152.8 160 144 160S128 152.8 128 144S135.2 128 144 128z"
21487
21555
  })
@@ -21489,12 +21557,12 @@ var StillIcon = (props) => {
21489
21557
  };
21490
21558
 
21491
21559
  // src/components/icons/tiktok.tsx
21492
- import { jsx as jsx120 } from "react/jsx-runtime";
21560
+ import { jsx as jsx121 } from "react/jsx-runtime";
21493
21561
  var TikTok = (props) => {
21494
- return /* @__PURE__ */ jsx120("svg", {
21562
+ return /* @__PURE__ */ jsx121("svg", {
21495
21563
  ...props,
21496
21564
  viewBox: "0 0 448 512",
21497
- children: /* @__PURE__ */ jsx120("path", {
21565
+ children: /* @__PURE__ */ jsx121("path", {
21498
21566
  fill: "currentcolor",
21499
21567
  d: "M448 209.9a210.1 210.1 0 0 1 -122.8-39.3V349.4A162.6 162.6 0 1 1 185 188.3V278.2a74.6 74.6 0 1 0 52.2 71.2V0l88 0a121.2 121.2 0 0 0 1.9 22.2h0A122.2 122.2 0 0 0 381 102.4a121.4 121.4 0 0 0 67 20.1z"
21500
21568
  })
@@ -21502,14 +21570,14 @@ var TikTok = (props) => {
21502
21570
  };
21503
21571
 
21504
21572
  // src/components/icons/ts.tsx
21505
- import { jsx as jsx121 } from "react/jsx-runtime";
21573
+ import { jsx as jsx123 } from "react/jsx-runtime";
21506
21574
  var TypeScriptIcon = (props) => {
21507
- return /* @__PURE__ */ jsx121("svg", {
21575
+ return /* @__PURE__ */ jsx123("svg", {
21508
21576
  fill: "#000000",
21509
21577
  xmlns: "http://www.w3.org/2000/svg",
21510
21578
  viewBox: "0 0 24 24",
21511
21579
  ...props,
21512
- children: /* @__PURE__ */ jsx121("path", {
21580
+ children: /* @__PURE__ */ jsx123("path", {
21513
21581
  fill: "currentColor",
21514
21582
  d: "M3,5v14c0,1.105,0.895,2,2,2h14c1.105,0,2-0.895,2-2V5c0-1.105-0.895-2-2-2H5C3.895,3,3,3.895,3,5z M13.666,12.451h-2.118\tV19H9.841v-6.549H7.767V11h5.899V12.451z M13.998,18.626v-1.751c0,0,0.956,0.721,2.104,0.721c1.148,0,1.103-0.75,1.103-0.853\tc0-1.089-3.251-1.089-3.251-3.501c0-3.281,4.737-1.986,4.737-1.986l-0.059,1.559c0,0-0.794-0.53-1.692-0.53\tc-0.897,0-1.221,0.427-1.221,0.883c0,1.177,3.281,1.059,3.281,3.428C19,20.244,13.998,18.626,13.998,18.626z"
21515
21583
  })
@@ -21517,13 +21585,13 @@ var TypeScriptIcon = (props) => {
21517
21585
  };
21518
21586
 
21519
21587
  // src/components/icons/tts.tsx
21520
- import { jsx as jsx123 } from "react/jsx-runtime";
21588
+ import { jsx as jsx125 } from "react/jsx-runtime";
21521
21589
  var TTSIcon = (props) => {
21522
- return /* @__PURE__ */ jsx123("svg", {
21590
+ return /* @__PURE__ */ jsx125("svg", {
21523
21591
  xmlns: "http://www.w3.org/2000/svg",
21524
21592
  viewBox: "0 0 512 512",
21525
21593
  ...props,
21526
- children: /* @__PURE__ */ jsx123("path", {
21594
+ children: /* @__PURE__ */ jsx125("path", {
21527
21595
  fill: "currentColor",
21528
21596
  d: "M256 31.1c-141.4 0-255.1 93.13-255.1 208c0 47.62 19.91 91.25 52.91 126.3c-14.87 39.5-45.87 72.88-46.37 73.25c-6.623 7-8.373 17.25-4.623 26C5.816 474.3 14.38 480 24 480c61.49 0 109.1-25.75 139.1-46.25c28.1 9 60.16 14.25 92.9 14.25c141.4 0 255.1-93.13 255.1-207.1S397.4 31.1 256 31.1zM256 416c-28.25 0-56.24-4.25-83.24-12.75c-9.516-3.068-19.92-1.461-28.07 4.338c-22.1 16.25-58.54 35.29-102.7 39.66c11.1-15.12 29.75-40.5 40.74-69.63l.1289-.3398c4.283-11.27 1.791-23.1-6.43-32.82C47.51 313.1 32.06 277.6 32.06 240c0-97 100.5-176 223.1-176c123.5 0 223.1 79 223.1 176S379.5 416 256 416zM272 272h-128c-8.801 0-16 7.199-16 15.1C127.1 296.8 135.2 304 144 304h128c8.801 0 15.1-7.204 15.1-16C287.1 279.2 280.8 272 272 272zM368 176h-224c-8.801 0-16 7.199-16 15.1C127.1 200.8 135.2 208 144 208h224c8.801 0 15.1-7.204 15.1-16C383.1 183.2 376.8 176 368 176z"
21529
21597
  })
@@ -21531,13 +21599,13 @@ var TTSIcon = (props) => {
21531
21599
  };
21532
21600
 
21533
21601
  // src/components/icons/waveform.tsx
21534
- import { jsx as jsx125 } from "react/jsx-runtime";
21602
+ import { jsx as jsx126 } from "react/jsx-runtime";
21535
21603
  var Waveform = (props) => {
21536
- return /* @__PURE__ */ jsx125("svg", {
21604
+ return /* @__PURE__ */ jsx126("svg", {
21537
21605
  xmlns: "http://www.w3.org/2000/svg",
21538
21606
  viewBox: "0 0 640 512",
21539
21607
  ...props,
21540
- children: /* @__PURE__ */ jsx125("path", {
21608
+ children: /* @__PURE__ */ jsx126("path", {
21541
21609
  fill: "currentColor",
21542
21610
  d: "M224 96C215.2 96 208 103.2 208 111.1v288C208 408.8 215.2 416 223.1 416C232.8 416 240 408.8 240 400V111.1C240 103.2 232.8 96 224 96zM128 192C119.2 192 112 199.2 112 207.1V304C112 312.8 119.2 320 127.1 320S144 312.8 144 304V207.1C144 199.2 136.8 192 128 192zM32 224C23.2 224 16 231.2 16 239.1V272C16 280.8 23.2 288 31.1 288S48 280.8 48 272V239.1C48 231.2 40.8 224 32 224zM416 128C407.2 128 400 135.2 400 143.1v224C400 376.8 407.2 384 415.1 384S432 376.8 432 368V143.1C432 135.2 424.8 128 416 128zM608 224c-8.8 0-16 7.2-16 15.1V272C592 280.8 599.2 288 608 288s16-7.2 16-15.1V239.1C624 231.2 616.8 224 608 224zM512 64c-8.8 0-16 7.2-16 15.1V432C496 440.8 503.2 448 511.1 448C520.8 448 528 440.8 528 432V79.1C528 71.2 520.8 64 512 64zM320 0C311.2 0 304 7.2 304 15.1V496C304 504.8 311.2 512 319.1 512S336 504.8 336 496V15.1C336 7.2 328.8 0 320 0z"
21543
21611
  })
@@ -21545,17 +21613,17 @@ var Waveform = (props) => {
21545
21613
  };
21546
21614
 
21547
21615
  // src/components/homepage/IconForTemplate.tsx
21548
- import { jsx as jsx126 } from "react/jsx-runtime";
21616
+ import { jsx as jsx127 } from "react/jsx-runtime";
21549
21617
  var IconForTemplate = ({ template, scale: scale4 = 1 }) => {
21550
21618
  if (template.cliId === "hello-world") {
21551
- return /* @__PURE__ */ jsx126(TypeScriptIcon, {
21619
+ return /* @__PURE__ */ jsx127(TypeScriptIcon, {
21552
21620
  style: {
21553
21621
  height: scale4 * 48
21554
21622
  }
21555
21623
  });
21556
21624
  }
21557
21625
  if (template.cliId === "blank") {
21558
- return /* @__PURE__ */ jsx126(Blank, {
21626
+ return /* @__PURE__ */ jsx127(Blank, {
21559
21627
  style: {
21560
21628
  height: scale4 * 36,
21561
21629
  overflow: "visible"
@@ -21563,99 +21631,99 @@ var IconForTemplate = ({ template, scale: scale4 = 1 }) => {
21563
21631
  });
21564
21632
  }
21565
21633
  if (template.cliId === "javascript") {
21566
- return /* @__PURE__ */ jsx126(JSIcon, {
21634
+ return /* @__PURE__ */ jsx127(JSIcon, {
21567
21635
  style: {
21568
21636
  height: scale4 * 40
21569
21637
  }
21570
21638
  });
21571
21639
  }
21572
21640
  if (template.cliId === "three") {
21573
- return /* @__PURE__ */ jsx126(Cubes, {
21641
+ return /* @__PURE__ */ jsx127(Cubes, {
21574
21642
  style: {
21575
21643
  height: scale4 * 36
21576
21644
  }
21577
21645
  });
21578
21646
  }
21579
21647
  if (template.cliId === "still") {
21580
- return /* @__PURE__ */ jsx126(StillIcon, {
21648
+ return /* @__PURE__ */ jsx127(StillIcon, {
21581
21649
  style: {
21582
21650
  height: scale4 * 36
21583
21651
  }
21584
21652
  });
21585
21653
  }
21586
21654
  if (template.cliId === "audiogram") {
21587
- return /* @__PURE__ */ jsx126(Waveform, {
21655
+ return /* @__PURE__ */ jsx127(Waveform, {
21588
21656
  style: {
21589
21657
  height: scale4 * 36
21590
21658
  }
21591
21659
  });
21592
21660
  }
21593
21661
  if (template.cliId === "tts") {
21594
- return /* @__PURE__ */ jsx126(TTSIcon, {
21662
+ return /* @__PURE__ */ jsx127(TTSIcon, {
21595
21663
  style: {
21596
21664
  height: scale4 * 36
21597
21665
  }
21598
21666
  });
21599
21667
  }
21600
21668
  if (template.cliId === "google-tts") {
21601
- return /* @__PURE__ */ jsx126(TTSIcon, {
21669
+ return /* @__PURE__ */ jsx127(TTSIcon, {
21602
21670
  style: {
21603
21671
  height: scale4 * 36
21604
21672
  }
21605
21673
  });
21606
21674
  }
21607
21675
  if (template.cliId === "skia") {
21608
- return /* @__PURE__ */ jsx126(SkiaIcon, {
21676
+ return /* @__PURE__ */ jsx127(SkiaIcon, {
21609
21677
  style: {
21610
21678
  height: scale4 * 32
21611
21679
  }
21612
21680
  });
21613
21681
  }
21614
21682
  if (template.cliId === "music-visualization") {
21615
- return /* @__PURE__ */ jsx126(MusicIcon, {
21683
+ return /* @__PURE__ */ jsx127(MusicIcon, {
21616
21684
  style: {
21617
21685
  height: scale4 * 32
21618
21686
  }
21619
21687
  });
21620
21688
  }
21621
21689
  if (template.cliId === "react-router") {
21622
- return /* @__PURE__ */ jsx126(ReactRouterIcon, {
21690
+ return /* @__PURE__ */ jsx127(ReactRouterIcon, {
21623
21691
  style: {
21624
21692
  height: scale4 * 32
21625
21693
  }
21626
21694
  });
21627
21695
  }
21628
21696
  if (template.cliId === "overlay") {
21629
- return /* @__PURE__ */ jsx126(OverlayIcon, {
21697
+ return /* @__PURE__ */ jsx127(OverlayIcon, {
21630
21698
  style: { height: scale4 * 42 }
21631
21699
  });
21632
21700
  }
21633
21701
  if (template.cliId === "recorder") {
21634
- return /* @__PURE__ */ jsx126(Recorder, {
21702
+ return /* @__PURE__ */ jsx127(Recorder, {
21635
21703
  style: { height: scale4 * 36 }
21636
21704
  });
21637
21705
  }
21638
21706
  if (template.cliId === "next" || template.cliId === "next-tailwind" || template.cliId === "next-pages-dir") {
21639
- return /* @__PURE__ */ jsx126(NextIcon, {
21707
+ return /* @__PURE__ */ jsx127(NextIcon, {
21640
21708
  style: { height: scale4 * 36 }
21641
21709
  });
21642
21710
  }
21643
21711
  if (template.cliId === "stargazer") {
21644
- return /* @__PURE__ */ jsx126(Stargazer, {
21712
+ return /* @__PURE__ */ jsx127(Stargazer, {
21645
21713
  style: { height: scale4 * 36 }
21646
21714
  });
21647
21715
  }
21648
21716
  if (template.cliId === "tiktok") {
21649
- return /* @__PURE__ */ jsx126(TikTok, {
21717
+ return /* @__PURE__ */ jsx127(TikTok, {
21650
21718
  style: { height: scale4 * 36 }
21651
21719
  });
21652
21720
  }
21653
21721
  if (template.cliId === "code-hike") {
21654
- return /* @__PURE__ */ jsx126(CodeHike, {
21722
+ return /* @__PURE__ */ jsx127(CodeHike, {
21655
21723
  style: { height: scale4 * 36 }
21656
21724
  });
21657
21725
  }
21658
- return /* @__PURE__ */ jsx126(Blank, {
21726
+ return /* @__PURE__ */ jsx127(Blank, {
21659
21727
  style: {
21660
21728
  height: scale4 * 40
21661
21729
  }
@@ -21669,25 +21737,25 @@ var useMobileLayout = () => {
21669
21737
  };
21670
21738
 
21671
21739
  // src/components/homepage/MoreTemplatesButton.tsx
21672
- import { jsx as jsx127, jsxs as jsxs51 } from "react/jsx-runtime";
21740
+ import { jsx as jsx128, jsxs as jsxs51 } from "react/jsx-runtime";
21673
21741
  var icon6 = {
21674
21742
  height: 16,
21675
21743
  marginLeft: 10
21676
21744
  };
21677
21745
  var MoreTemplatesButton = () => {
21678
21746
  const mobileLayout = useMobileLayout();
21679
- return /* @__PURE__ */ jsx127("a", {
21747
+ return /* @__PURE__ */ jsx128("a", {
21680
21748
  href: "/templates",
21681
21749
  className: "no-underline text-inherit",
21682
21750
  children: /* @__PURE__ */ jsxs51("div", {
21683
21751
  className: "right-0 border-2 rounded-full text-inherit px-4 py-2 fontbrand font-semibold text-sm flex flex-row items-center",
21684
21752
  children: [
21685
21753
  mobileLayout ? "Templates" : "Find a template",
21686
- /* @__PURE__ */ jsx127("svg", {
21754
+ /* @__PURE__ */ jsx128("svg", {
21687
21755
  style: icon6,
21688
21756
  xmlns: "http://www.w3.org/2000/svg",
21689
21757
  viewBox: "0 0 448 512",
21690
- children: /* @__PURE__ */ jsx127("path", {
21758
+ children: /* @__PURE__ */ jsx128("path", {
21691
21759
  fill: "currentColor",
21692
21760
  d: "M438.6 278.6l-160 160C272.4 444.9 264.2 448 256 448s-16.38-3.125-22.62-9.375c-12.5-12.5-12.5-32.75 0-45.25L338.8 288H32C14.33 288 .0016 273.7 .0016 256S14.33 224 32 224h306.8l-105.4-105.4c-12.5-12.5-12.5-32.75 0-45.25s32.75-12.5 45.25 0l160 160C451.1 245.9 451.1 266.1 438.6 278.6z"
21693
21761
  })
@@ -21698,7 +21766,7 @@ var MoreTemplatesButton = () => {
21698
21766
  };
21699
21767
 
21700
21768
  // src/components/homepage/TemplateIcon.tsx
21701
- import { jsx as jsx128, jsxs as jsxs53 } from "react/jsx-runtime";
21769
+ import { jsx as jsx129, jsxs as jsxs53 } from "react/jsx-runtime";
21702
21770
  var icon7 = {
21703
21771
  display: "flex",
21704
21772
  width: 36,
@@ -21722,11 +21790,11 @@ var TemplateIcon = ({ children, label: label3 }) => {
21722
21790
  return /* @__PURE__ */ jsxs53("span", {
21723
21791
  style: outer,
21724
21792
  children: [
21725
- /* @__PURE__ */ jsx128("div", {
21793
+ /* @__PURE__ */ jsx129("div", {
21726
21794
  style: icon7,
21727
21795
  children
21728
21796
  }),
21729
- mobileLayout ? null : /* @__PURE__ */ jsx128("div", {
21797
+ mobileLayout ? null : /* @__PURE__ */ jsx129("div", {
21730
21798
  className: "text-xs fontbrand",
21731
21799
  children: label3
21732
21800
  })
@@ -21735,14 +21803,14 @@ var TemplateIcon = ({ children, label: label3 }) => {
21735
21803
  };
21736
21804
 
21737
21805
  // src/components/homepage/ChooseTemplate.tsx
21738
- import { jsx as jsx129, jsxs as jsxs55 } from "react/jsx-runtime";
21806
+ import { jsx as jsx130, jsxs as jsxs55 } from "react/jsx-runtime";
21739
21807
  var ChooseTemplate = () => {
21740
- return /* @__PURE__ */ jsx129("div", {
21808
+ return /* @__PURE__ */ jsx130("div", {
21741
21809
  style: {
21742
21810
  display: "flex",
21743
21811
  flexDirection: "column"
21744
21812
  },
21745
- children: /* @__PURE__ */ jsx129("div", {
21813
+ children: /* @__PURE__ */ jsx130("div", {
21746
21814
  style: {
21747
21815
  position: "relative",
21748
21816
  textAlign: "center"
@@ -21763,19 +21831,19 @@ var ChooseTemplate = () => {
21763
21831
  },
21764
21832
  children: [
21765
21833
  CreateVideoInternals.FEATURED_TEMPLATES.filter((f) => f.featuredOnHomePage).map((template) => {
21766
- return /* @__PURE__ */ jsx129("a", {
21834
+ return /* @__PURE__ */ jsx130("a", {
21767
21835
  className: "text-inherit no-underline",
21768
21836
  href: `/templates/${template.cliId}`,
21769
- children: /* @__PURE__ */ jsx129(TemplateIcon, {
21837
+ children: /* @__PURE__ */ jsx130(TemplateIcon, {
21770
21838
  label: template.featuredOnHomePage,
21771
- children: /* @__PURE__ */ jsx129(IconForTemplate, {
21839
+ children: /* @__PURE__ */ jsx130(IconForTemplate, {
21772
21840
  scale: 0.7,
21773
21841
  template
21774
21842
  })
21775
21843
  })
21776
21844
  }, template.cliId);
21777
21845
  }),
21778
- /* @__PURE__ */ jsx129(MoreTemplatesButton, {})
21846
+ /* @__PURE__ */ jsx130(MoreTemplatesButton, {})
21779
21847
  ]
21780
21848
  })
21781
21849
  })
@@ -21786,12 +21854,12 @@ var ChooseTemplate = () => {
21786
21854
  import { useState as useState43 } from "react";
21787
21855
 
21788
21856
  // src/components/homepage/GitHubButton.tsx
21789
- import { jsx as jsx130, jsxs as jsxs56 } from "react/jsx-runtime";
21857
+ import { jsx as jsx131, jsxs as jsxs56 } from "react/jsx-runtime";
21790
21858
  var GithubIcon = () => {
21791
- return /* @__PURE__ */ jsx130("svg", {
21859
+ return /* @__PURE__ */ jsx131("svg", {
21792
21860
  viewBox: "0 0 496 512",
21793
21861
  style: { height: 24, marginRight: 8 },
21794
- children: /* @__PURE__ */ jsx130("path", {
21862
+ children: /* @__PURE__ */ jsx131("path", {
21795
21863
  fill: "currentColor",
21796
21864
  d: "M165.9 397.4c0 2-2.3 3.6-5.2 3.6-3.3.3-5.6-1.3-5.6-3.6 0-2 2.3-3.6 5.2-3.6 3-.3 5.6 1.3 5.6 3.6zm-31.1-4.5c-.7 2 1.3 4.3 4.3 4.9 2.6 1 5.6 0 6.2-2s-1.3-4.3-4.3-5.2c-2.6-.7-5.5.3-6.2 2.3zm44.2-1.7c-2.9.7-4.9 2.6-4.6 4.9.3 2 2.9 3.3 5.9 2.6 2.9-.7 4.9-2.6 4.6-4.6-.3-1.9-3-3.2-5.9-2.9zM244.8 8C106.1 8 0 113.3 0 252c0 110.9 69.8 205.8 169.5 239.2 12.8 2.3 17.3-5.6 17.3-12.1 0-6.2-.3-40.4-.3-61.4 0 0-70 15-84.7-29.8 0 0-11.4-29.1-27.8-36.6 0 0-22.9-15.7 1.6-15.4 0 0 24.9 2 38.6 25.8 21.9 38.6 58.6 27.5 72.9 20.9 2.3-16 8.8-27.1 16-33.7-55.9-6.2-112.3-14.3-112.3-110.5 0-27.5 7.6-41.3 23.6-58.9-2.6-6.5-11.1-33.3 2.6-67.9 20.9-6.5 69 27 69 27 20-5.6 41.5-8.5 62.8-8.5s42.8 2.9 62.8 8.5c0 0 48.1-33.6 69-27 13.7 34.7 5.2 61.4 2.6 67.9 16 17.7 25.8 31.5 25.8 58.9 0 96.5-58.9 104.2-114.8 110.5 9.2 7.9 17 22.9 17 46.4 0 33.7-.3 75.4-.3 83.6 0 6.5 4.6 14.4 17.3 12.1C428.2 457.8 496 362.9 496 252 496 113.3 383.5 8 244.8 8zM97.2 352.9c-1.3 1-1 3.3.7 5.2 1.6 1.6 3.9 2.3 5.2 1 1.3-1 1-3.3-.7-5.2-1.6-1.6-3.9-2.3-5.2-1zm-10.8-8.1c-.7 1.3.3 2.9 2.3 3.9 1.6 1 3.6.7 4.3-.7.7-1.3-.3-2.9-2.3-3.9-2-.6-3.6-.3-4.3.7zm32.4 35.6c-1.6 1.3-1 4.3 1.3 6.2 2.3 2.3 5.2 2.6 6.5 1 1.3-1.3.7-4.3-1.3-6.2-2.2-2.3-5.2-2.6-6.5-1zm-11.4-14.7c-1.6 1-1.6 3.6 0 5.9 1.6 2.3 4.3 3.3 5.6 2.3 1.6-1.3 1.6-3.9 0-6.2-1.4-2.3-4-3.3-5.6-2z"
21797
21865
  })
@@ -21801,13 +21869,13 @@ var GithubButton = () => {
21801
21869
  return /* @__PURE__ */ jsxs56("div", {
21802
21870
  className: "flex flex-row items-center text-base",
21803
21871
  children: [
21804
- /* @__PURE__ */ jsx130(GithubIcon, {}),
21872
+ /* @__PURE__ */ jsx131(GithubIcon, {}),
21805
21873
  " ",
21806
- /* @__PURE__ */ jsx130("span", {
21874
+ /* @__PURE__ */ jsx131("span", {
21807
21875
  children: "GitHub"
21808
21876
  }),
21809
21877
  " ",
21810
- /* @__PURE__ */ jsx130("div", {
21878
+ /* @__PURE__ */ jsx131("div", {
21811
21879
  className: "text-xs inline-block ml-2 leading-none mt-[3px] self-center",
21812
21880
  children: "24k"
21813
21881
  })
@@ -21816,18 +21884,18 @@ var GithubButton = () => {
21816
21884
  };
21817
21885
 
21818
21886
  // src/components/homepage/GetStartedStrip.tsx
21819
- import { jsx as jsx131, jsxs as jsxs57 } from "react/jsx-runtime";
21887
+ import { jsx as jsx133, jsxs as jsxs57 } from "react/jsx-runtime";
21820
21888
  var GetStarted = () => {
21821
21889
  const [clicked, setClicked] = useState43(null);
21822
21890
  return /* @__PURE__ */ jsxs57("div", {
21823
21891
  className: "flex flex-col lg:flex-row items-center justify-center text-center w-full",
21824
21892
  children: [
21825
- /* @__PURE__ */ jsx131("div", {
21893
+ /* @__PURE__ */ jsx133("div", {
21826
21894
  className: "w-full lg:w-auto",
21827
21895
  children: /* @__PURE__ */ jsxs57("div", {
21828
21896
  className: "flex flex-row w-full ",
21829
21897
  children: [
21830
- clicked ? /* @__PURE__ */ jsx131("div", {
21898
+ clicked ? /* @__PURE__ */ jsx133("div", {
21831
21899
  style: {
21832
21900
  animation: "click 0.7s linear",
21833
21901
  animationFillMode: "forwards"
@@ -21835,7 +21903,7 @@ var GetStarted = () => {
21835
21903
  className: "absolute z-0 top-0 font-mono text-sm text-center w-full",
21836
21904
  children: "Copied!"
21837
21905
  }, clicked) : null,
21838
- /* @__PURE__ */ jsx131("div", {
21906
+ /* @__PURE__ */ jsx133("div", {
21839
21907
  className: "bg-[#333] text-white rounded-lg px-4 font-mono hover:[#444] cursor-pointer justify-center items-center flex flex-1 min-h-12",
21840
21908
  onClick: () => {
21841
21909
  navigator.clipboard.writeText("npx create-video@latest");
@@ -21847,16 +21915,16 @@ var GetStarted = () => {
21847
21915
  ]
21848
21916
  })
21849
21917
  }),
21850
- /* @__PURE__ */ jsx131("div", {
21918
+ /* @__PURE__ */ jsx133("div", {
21851
21919
  className: "w-2 h-2"
21852
21920
  }),
21853
- /* @__PURE__ */ jsx131("div", {
21921
+ /* @__PURE__ */ jsx133("div", {
21854
21922
  className: "w-full lg:w-auto",
21855
- children: /* @__PURE__ */ jsx131("a", {
21923
+ children: /* @__PURE__ */ jsx133("a", {
21856
21924
  className: "no-underline w-full block",
21857
21925
  href: "https://www.youtube.com/watch?v=deg8bOoziaE",
21858
21926
  target: "_blank",
21859
- children: /* @__PURE__ */ jsx131(PlainButton, {
21927
+ children: /* @__PURE__ */ jsx133(PlainButton, {
21860
21928
  size: "sm",
21861
21929
  loading: false,
21862
21930
  className: "w-full",
@@ -21864,45 +21932,45 @@ var GetStarted = () => {
21864
21932
  })
21865
21933
  })
21866
21934
  }),
21867
- /* @__PURE__ */ jsx131("div", {
21935
+ /* @__PURE__ */ jsx133("div", {
21868
21936
  style: { width: 10, height: 10 }
21869
21937
  }),
21870
- /* @__PURE__ */ jsx131("a", {
21938
+ /* @__PURE__ */ jsx133("a", {
21871
21939
  className: "no-underline w-full lg:w-auto",
21872
21940
  href: "/docs",
21873
- children: /* @__PURE__ */ jsx131(PlainButton, {
21941
+ children: /* @__PURE__ */ jsx133(PlainButton, {
21874
21942
  size: "sm",
21875
21943
  loading: false,
21876
21944
  className: "w-full",
21877
21945
  children: "Docs"
21878
21946
  })
21879
21947
  }),
21880
- /* @__PURE__ */ jsx131("div", {
21948
+ /* @__PURE__ */ jsx133("div", {
21881
21949
  className: "w-2 h-2"
21882
21950
  }),
21883
- /* @__PURE__ */ jsx131("a", {
21951
+ /* @__PURE__ */ jsx133("a", {
21884
21952
  className: "no-underline w-full lg:w-auto",
21885
21953
  href: "https://remotion.dev/discord",
21886
21954
  target: "_blank",
21887
- children: /* @__PURE__ */ jsx131(PlainButton, {
21955
+ children: /* @__PURE__ */ jsx133(PlainButton, {
21888
21956
  size: "sm",
21889
21957
  loading: false,
21890
21958
  className: "w-full",
21891
21959
  children: "Discord"
21892
21960
  })
21893
21961
  }),
21894
- /* @__PURE__ */ jsx131("div", {
21962
+ /* @__PURE__ */ jsx133("div", {
21895
21963
  className: "w-2 h-2"
21896
21964
  }),
21897
- /* @__PURE__ */ jsx131("a", {
21965
+ /* @__PURE__ */ jsx133("a", {
21898
21966
  className: "no-underline w-full lg:w-auto",
21899
21967
  href: "https://github.com/remotion-dev/remotion",
21900
21968
  target: "_blank",
21901
- children: /* @__PURE__ */ jsx131(PlainButton, {
21969
+ children: /* @__PURE__ */ jsx133(PlainButton, {
21902
21970
  size: "sm",
21903
21971
  loading: false,
21904
21972
  className: "w-full",
21905
- children: /* @__PURE__ */ jsx131(GithubButton, {})
21973
+ children: /* @__PURE__ */ jsx133(GithubButton, {})
21906
21974
  })
21907
21975
  })
21908
21976
  ]
@@ -21910,11 +21978,11 @@ var GetStarted = () => {
21910
21978
  };
21911
21979
 
21912
21980
  // src/components/homepage/WriteInReact.tsx
21913
- import { jsx as jsx133, jsxs as jsxs58 } from "react/jsx-runtime";
21981
+ import { jsx as jsx135, jsxs as jsxs58 } from "react/jsx-runtime";
21914
21982
  var WriteInReact = () => {
21915
21983
  return /* @__PURE__ */ jsxs58("div", {
21916
21984
  children: [
21917
- /* @__PURE__ */ jsx133("h1", {
21985
+ /* @__PURE__ */ jsx135("h1", {
21918
21986
  className: "text-5xl lg:text-[5em] text-center fontbrand font-black leading-none ",
21919
21987
  style: {
21920
21988
  textShadow: "0 5px 30px var(--background)"
@@ -21928,91 +21996,91 @@ var WriteInReact = () => {
21928
21996
  className: "font-medium text-center text-lg",
21929
21997
  children: [
21930
21998
  "Create real MP4 videos with React. ",
21931
- /* @__PURE__ */ jsx133("br", {}),
21999
+ /* @__PURE__ */ jsx135("br", {}),
21932
22000
  "Parametrize content, render server-side and build applications."
21933
22001
  ]
21934
22002
  }),
21935
- /* @__PURE__ */ jsx133("br", {}),
21936
- /* @__PURE__ */ jsx133("div", {
21937
- children: /* @__PURE__ */ jsx133(GetStarted, {})
22003
+ /* @__PURE__ */ jsx135("br", {}),
22004
+ /* @__PURE__ */ jsx135("div", {
22005
+ children: /* @__PURE__ */ jsx135(GetStarted, {})
21938
22006
  }),
21939
- /* @__PURE__ */ jsx133("br", {}),
21940
- /* @__PURE__ */ jsx133("br", {}),
21941
- /* @__PURE__ */ jsx133(ChooseTemplate, {})
22007
+ /* @__PURE__ */ jsx135("br", {}),
22008
+ /* @__PURE__ */ jsx135("br", {}),
22009
+ /* @__PURE__ */ jsx135(ChooseTemplate, {})
21942
22010
  ]
21943
22011
  });
21944
22012
  };
21945
22013
 
21946
22014
  // src/components/Homepage.tsx
21947
- import { jsx as jsx135, jsxs as jsxs59 } from "react/jsx-runtime";
22015
+ import { jsx as jsx136, jsxs as jsxs59 } from "react/jsx-runtime";
21948
22016
  "use client";
21949
22017
  var NewLanding = ({ colorMode, setColorMode }) => {
21950
- return /* @__PURE__ */ jsx135(ColorModeProvider, {
22018
+ return /* @__PURE__ */ jsx136(ColorModeProvider, {
21951
22019
  colorMode,
21952
22020
  setColorMode,
21953
- children: /* @__PURE__ */ jsx135("div", {
22021
+ children: /* @__PURE__ */ jsx136("div", {
21954
22022
  className: "bg-[var(--background)] relative",
21955
22023
  children: /* @__PURE__ */ jsxs59("div", {
21956
22024
  style: { overflow: "hidden" },
21957
22025
  children: [
21958
- /* @__PURE__ */ jsx135("div", {
21959
- children: /* @__PURE__ */ jsx135(BackgroundAnimation, {})
22026
+ /* @__PURE__ */ jsx136("div", {
22027
+ children: /* @__PURE__ */ jsx136(BackgroundAnimation, {})
21960
22028
  }),
21961
- /* @__PURE__ */ jsx135("br", {}),
21962
- /* @__PURE__ */ jsx135("br", {}),
21963
- /* @__PURE__ */ jsx135("br", {}),
21964
- /* @__PURE__ */ jsx135("br", {}),
22029
+ /* @__PURE__ */ jsx136("br", {}),
22030
+ /* @__PURE__ */ jsx136("br", {}),
22031
+ /* @__PURE__ */ jsx136("br", {}),
22032
+ /* @__PURE__ */ jsx136("br", {}),
21965
22033
  /* @__PURE__ */ jsxs59("div", {
21966
22034
  className: "max-w-[500px] lg:max-w-[1000px] m-auto pl-5 pr-5 overflow-x-clip md:overflow-x-visible relative",
21967
22035
  children: [
21968
- /* @__PURE__ */ jsx135(WriteInReact, {}),
21969
- /* @__PURE__ */ jsx135("br", {}),
21970
- /* @__PURE__ */ jsx135(IfYouKnowReact, {}),
21971
- /* @__PURE__ */ jsx135(ParameterizeAndEdit, {}),
21972
- /* @__PURE__ */ jsx135(RealMP4Videos, {}),
21973
- /* @__PURE__ */ jsx135("br", {}),
21974
- /* @__PURE__ */ jsx135("br", {}),
21975
- /* @__PURE__ */ jsx135("br", {}),
21976
- /* @__PURE__ */ jsx135(VideoAppsShowcase_default, {}),
21977
- /* @__PURE__ */ jsx135("br", {}),
21978
- /* @__PURE__ */ jsx135("br", {}),
21979
- /* @__PURE__ */ jsx135(Demo, {}),
21980
- /* @__PURE__ */ jsx135("br", {}),
21981
- /* @__PURE__ */ jsx135("br", {}),
21982
- /* @__PURE__ */ jsx135("br", {}),
21983
- /* @__PURE__ */ jsx135(SectionTitle, {
22036
+ /* @__PURE__ */ jsx136(WriteInReact, {}),
22037
+ /* @__PURE__ */ jsx136("br", {}),
22038
+ /* @__PURE__ */ jsx136(IfYouKnowReact, {}),
22039
+ /* @__PURE__ */ jsx136(ParameterizeAndEdit, {}),
22040
+ /* @__PURE__ */ jsx136(RealMP4Videos, {}),
22041
+ /* @__PURE__ */ jsx136("br", {}),
22042
+ /* @__PURE__ */ jsx136("br", {}),
22043
+ /* @__PURE__ */ jsx136("br", {}),
22044
+ /* @__PURE__ */ jsx136(VideoAppsShowcase_default, {}),
22045
+ /* @__PURE__ */ jsx136("br", {}),
22046
+ /* @__PURE__ */ jsx136("br", {}),
22047
+ /* @__PURE__ */ jsx136(Demo, {}),
22048
+ /* @__PURE__ */ jsx136("br", {}),
22049
+ /* @__PURE__ */ jsx136("br", {}),
22050
+ /* @__PURE__ */ jsx136("br", {}),
22051
+ /* @__PURE__ */ jsx136(SectionTitle, {
21984
22052
  children: "Pricing"
21985
22053
  }),
21986
- /* @__PURE__ */ jsx135(Pricing, {}),
21987
- /* @__PURE__ */ jsx135(TrustedByBanner_default, {}),
21988
- /* @__PURE__ */ jsx135("br", {}),
21989
- /* @__PURE__ */ jsx135(EvaluateRemotion_default, {}),
21990
- /* @__PURE__ */ jsx135("br", {}),
21991
- /* @__PURE__ */ jsx135("br", {}),
21992
- /* @__PURE__ */ jsx135("br", {}),
21993
- /* @__PURE__ */ jsx135(CommunityStats_default, {}),
21994
- /* @__PURE__ */ jsx135("br", {}),
21995
- /* @__PURE__ */ jsx135("br", {}),
21996
- /* @__PURE__ */ jsx135("br", {}),
21997
- /* @__PURE__ */ jsx135(EditorStarterSection_default, {}),
21998
- /* @__PURE__ */ jsx135("br", {}),
21999
- /* @__PURE__ */ jsx135("br", {}),
22000
- /* @__PURE__ */ jsx135("br", {}),
22001
- /* @__PURE__ */ jsx135(SectionTitle, {
22054
+ /* @__PURE__ */ jsx136(Pricing, {}),
22055
+ /* @__PURE__ */ jsx136(TrustedByBanner_default, {}),
22056
+ /* @__PURE__ */ jsx136("br", {}),
22057
+ /* @__PURE__ */ jsx136(EvaluateRemotion_default, {}),
22058
+ /* @__PURE__ */ jsx136("br", {}),
22059
+ /* @__PURE__ */ jsx136("br", {}),
22060
+ /* @__PURE__ */ jsx136("br", {}),
22061
+ /* @__PURE__ */ jsx136(CommunityStats_default, {}),
22062
+ /* @__PURE__ */ jsx136("br", {}),
22063
+ /* @__PURE__ */ jsx136("br", {}),
22064
+ /* @__PURE__ */ jsx136("br", {}),
22065
+ /* @__PURE__ */ jsx136(EditorStarterSection_default, {}),
22066
+ /* @__PURE__ */ jsx136("br", {}),
22067
+ /* @__PURE__ */ jsx136("br", {}),
22068
+ /* @__PURE__ */ jsx136("br", {}),
22069
+ /* @__PURE__ */ jsx136(SectionTitle, {
22002
22070
  children: "Even more power to developers"
22003
22071
  }),
22004
- /* @__PURE__ */ jsx135("div", {
22072
+ /* @__PURE__ */ jsx136("div", {
22005
22073
  className: "fontbrand text-center mb-10 -mt-4",
22006
22074
  children: "Innovative video products that you might enjoy."
22007
22075
  }),
22008
- /* @__PURE__ */ jsx135(MoreVideoPowerSection, {}),
22009
- /* @__PURE__ */ jsx135("br", {}),
22010
- /* @__PURE__ */ jsx135("br", {}),
22011
- /* @__PURE__ */ jsx135("br", {}),
22012
- /* @__PURE__ */ jsx135(NewsletterButton, {}),
22013
- /* @__PURE__ */ jsx135("br", {}),
22014
- /* @__PURE__ */ jsx135("br", {}),
22015
- /* @__PURE__ */ jsx135("br", {})
22076
+ /* @__PURE__ */ jsx136(MoreVideoPowerSection, {}),
22077
+ /* @__PURE__ */ jsx136("br", {}),
22078
+ /* @__PURE__ */ jsx136("br", {}),
22079
+ /* @__PURE__ */ jsx136("br", {}),
22080
+ /* @__PURE__ */ jsx136(NewsletterButton, {}),
22081
+ /* @__PURE__ */ jsx136("br", {}),
22082
+ /* @__PURE__ */ jsx136("br", {}),
22083
+ /* @__PURE__ */ jsx136("br", {})
22016
22084
  ]
22017
22085
  })
22018
22086
  ]