🎥 Make videos programmatically with React
`@remotion/studio`: Virtualize timeline tracks (#10559)
Jonny Burger0e34aa93bd35
diff --git a/bun.lock b/bun.lockindex a7a94d8188..3d010b3577 100644--- a/bun.lock+++ b/bun.lock@@ -1709,6 +1709,7 @@"@remotion/timeline-utils": "workspace:*","@remotion/web-renderer": "workspace:*","@remotion/zod-types": "workspace:*",+ "@tanstack/react-virtual": "3.14.9","mediabunny": "catalog:","memfs": "3.4.3","open": "8.4.2",@@ -4679,6 +4680,10 @@"@tailwindcss/webpack": ["@tailwindcss/[email protected]", "", { "dependencies": { "@alloc/quick-lru": "^5.2.0", "@tailwindcss/node": "4.2.0", "@tailwindcss/oxide": "4.2.0", "tailwindcss": "4.2.0" }, "peerDependencies": { "webpack": "^5" } }, "sha512-TohlILOzF/3l+Yolll9iD2b5bsLG/1TuxAXPTxJcA77YAgPyKKc5RIwj4vIjg4l9DFMidekx2Z0BWyPAle9TUA=="],+ "@tanstack/react-virtual": ["@tanstack/[email protected]", "", { "dependencies": { "@tanstack/virtual-core": "3.17.7" }, "peerDependencies": { "react": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0", "react-dom": "^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0" } }, "sha512-qZyr0FZDP8rDC4WBhsryIZmAd9bveJvFGUJJtskWaew6/0dTRS6wZxnR6VQ5bY2KwL3LjerrHqQLk3a0GKcPXQ=="],++ "@tanstack/virtual-core": ["@tanstack/[email protected]", "", {}, "sha512-bp+v10y65sp2H7WpWfIMyxTNfl8ZVfxFTLRjPIFRryi6FV/J33z4IS53WO4pTk36KlvJ4iLiQz+oaydDC1xbcA=="],+"@testing-library/dom": ["@testing-library/[email protected]", "", { "dependencies": { "@babel/code-frame": "7.26.2", "@babel/runtime": "7.27.1", "@types/aria-query": "5.0.1", "aria-query": "5.3.0", "chalk": "4.1.2", "dom-accessibility-api": "0.5.14", "lz-string": "1.5.0", "pretty-format": "27.5.1" } }, "sha512-pemlzrSESWbdAloYml3bAJMEfNh1Z7EduzqPKprCH5S341frlpYnUEW0H72dLxa6IsYr+mPno20GiSm+h9dEdQ=="],"@testing-library/react": ["@testing-library/[email protected]", "", { "dependencies": { "@babel/runtime": "7.27.1" }, "peerDependencies": { "@testing-library/dom": "10.4.0", "@types/react": "19.0.0", "@types/react-dom": "19.0.0", "react": "19.0.0", "react-dom": "19.0.0" }, "optionalPeers": ["@types/react", "@types/react-dom"] }, "sha512-Q2ToPvg0KsVL0ohND9A3zLJWcOXXcO8IDu3fj11KhNt0UlCWyFyvnCIBkd12tidB2lkiVRG8VFqdhcqhqnAQtg=="],diff --git a/packages/cli/src/test/config-reset.test.ts b/packages/cli/src/test/config-reset.test.tsindex 309ab03eb3..5754af8627 100644--- a/packages/cli/src/test/config-reset.test.ts+++ b/packages/cli/src/test/config-reset.test.ts@@ -1,7 +1,6 @@import {expect, test} from 'bun:test';import {BrowserSafeApis} from '@remotion/renderer/client';import {StudioServerInternals} from '@remotion/studio-server';-import {DEFAULT_TIMELINE_TRACKS} from '@remotion/studio-shared';import type {RspackConfiguration, WebpackConfiguration} from '../config';import {Config, ConfigInternals} from '../config';import {getRenderDefaults} from '../get-render-defaults';@@ -142,9 +141,7 @@ test('reset config options restores defaults before reloading config', async ()ConfigInternals.resetConfigOptions();expect(ConfigInternals.getStudioPort()).toBeUndefined();- expect(StudioServerInternals.getMaxTimelineTracks()).toBe(- DEFAULT_TIMELINE_TRACKS,- );+ expect(StudioServerInternals.getMaxTimelineTracks()).toBeNull();expect(BrowserSafeApis.options.glOption.getValue({commandLine: {}}).value,).toBeNull();diff --git a/packages/docs/docs/config.mdx b/packages/docs/docs/config.mdxindex 5d0ae2bc22..bbfe61886d 100644--- a/packages/docs/docs/config.mdx+++ b/packages/docs/docs/config.mdx@@ -195,7 +195,7 @@ The [command line flag](/docs/cli/render#--log) `--log` will take precedence ove## `setMaxTimelineTracks()`<AvailableFrom v="2.1.10" />-Set how many tracks are being displayed in the timeline in the Studio at most. This does not affect your video, just the amount of tracks shown when previewing. Default `15`.+Set how many tracks are displayed in the Studio timeline at most. This does not affect your video, only the number of tracks shown while previewing. From <AvailableFrom v="4.0.514" inline />, all tracks are available by default and the timeline is virtualized.```ts twoslash title="remotion.config.ts"import {Config} from '@remotion/cli/config';diff --git a/packages/example/e2e/inspector-section-collapse.test.mts b/packages/example/e2e/inspector-section-collapse.test.mtsindex 1bca4407f4..9721297693 100644--- a/packages/example/e2e/inspector-section-collapse.test.mts+++ b/packages/example/e2e/inspector-section-collapse.test.mts@@ -167,12 +167,12 @@ test.describe('inspector section collapse', () => {).toBeVisible();const outline = page.locator('polygon[stroke-opacity="1"][pointer-events="all"]')- .first();+ .nth(1);await expect(outline).toBeVisible();- await outline.click({button: 'right'});- await page.getByRole('button', {name: /^Rotate(?: all)?$/}).click();+ await outline.dispatchEvent('contextmenu');+ await page.getByRole('button', {name: 'Rotate', exact: true}).click();await expect(- page.getByRole('button', {name: 'Rotation X', exact: true}),+ page.getByRole('button', {name: 'Rotation X', exact: true}).first(),).toBeVisible();await expect(page.getByRole('button', {diff --git a/packages/example/e2e/studio.test.mts b/packages/example/e2e/studio.test.mtsindex 696cbf31b2..a20ce33378 100644--- a/packages/example/e2e/studio.test.mts+++ b/packages/example/e2e/studio.test.mts@@ -1,7 +1,7 @@-import {expect, test, type Page} from '@playwright/test';-import {StudioProtocolInternals} from '@remotion/studio-protocol';import fs from 'fs';import path from 'path';+import {expect, test, type Page} from '@playwright/test';+import {StudioProtocolInternals} from '@remotion/studio-protocol';import {STUDIO_URL,effectKeyframeE2eFile,@@ -94,6 +94,63 @@ test.describe('visual mode', () => {await expect(page).toHaveTitle(/Remotion/i, {timeout: 15_000});});+ test('should virtualize a large timeline without hiding tracks', async ({+ page,+ }) => {+ await page.goto(`${STUDIO_URL}/timeline-virtualization-testbed`);+ await expect(page).toHaveURL(/timeline-virtualization-testbed/, {+ timeout: 15_000,+ });++ const timelineScroll = page+ .locator('.__remotion-vertical-scrollbar')+ .filter({has: page.locator('[data-timeline-scrollable]')});+ await expect(timelineScroll).toHaveCount(1);+ await expect(+ page.getByText('Virtual track 000', {exact: true}),+ ).toBeVisible();+ await expect(+ page.locator('[data-timeline-marquee-item][title="Virtual track 000"]'),+ ).toBeVisible();++ const mountedTrackLabels = page.getByText(/^Virtual track \d{3}$/);+ expect(await mountedTrackLabels.count()).toBeLessThan(120);++ const revealTargetTrack = page.locator(+ '[data-timeline-marquee-item][title="Reveal target"]',+ );+ await expect(revealTargetTrack).toHaveCount(0);+ const canvas = page.locator('.remotion-studio-composition-container');+ const visibleOutlines = canvas.locator(+ '> svg[aria-hidden="true"] polygon[stroke="#0b84f3"][stroke-opacity="1"]',+ );+ await canvas.hover();+ await expect.poll(() => visibleOutlines.count()).toBeGreaterThan(0);+ await visibleOutlines.first().click({force: true});++ await expect(revealTargetTrack).toBeVisible();+ const [revealTargetRect, timelineScrollRect] = await Promise.all([+ revealTargetTrack.boundingBox(),+ timelineScroll.boundingBox(),+ ]);+ expect(revealTargetRect).not.toBeNull();+ expect(timelineScrollRect).not.toBeNull();+ expect(revealTargetRect!.y).toBeGreaterThanOrEqual(timelineScrollRect!.y);+ expect(revealTargetRect!.y + revealTargetRect!.height).toBeLessThanOrEqual(+ timelineScrollRect!.y + timelineScrollRect!.height,+ );+ await expect(+ page.getByText('Virtual track 119', {exact: true}),+ ).toBeVisible();+ await expect(+ page.locator('[data-timeline-marquee-item][title="Virtual track 119"]'),+ ).toBeVisible();+ expect(+ await timelineScroll.evaluate((element) => element.scrollTop),+ ).toBeGreaterThan(0);+ expect(await mountedTrackLabels.count()).toBeLessThan(120);+ });+test('should commit a color drag before the picker closes', async ({page,}) => {@@ -715,11 +772,11 @@ test.describe('visual mode', () => {await expect.poll(() => fs.readFileSync(configFile, 'utf8')).toContain('Config.setMaxTimelineTracks(');- await dialog.getByTitle('Use default (90)', {exact: true}).click();+ await dialog.getByTitle('Use default (Unlimited)', {exact: true}).click();await expect.poll(() => fs.readFileSync(configFile, 'utf8')).not.toContain('Config.setMaxTimelineTracks');- await expect(maxTimelineTracks).toHaveText('Default (90)');+ await expect(maxTimelineTracks).toHaveText('Default (Unlimited)');await dialog.getByText('Apps', {exact: true}).click();await expect(diff --git a/packages/example/src/E2eTestRoot.tsx b/packages/example/src/E2eTestRoot.tsxindex f88d280846..13583705d7 100644--- a/packages/example/src/E2eTestRoot.tsx+++ b/packages/example/src/E2eTestRoot.tsx@@ -15,6 +15,7 @@ import {MacCursorsExample} from './MacCursors';import {NewVideoComp} from './NewVideo';import {RotationKeyframeE2e} from './RotationKeyframeE2e';import {SchemaTest, schemaTestSchema} from './SchemaTest';+import {TimelineVirtualizationTestbed} from './TimelineVirtualizationTestbed';import {VisualControls} from './VisualControls';import {VisualMode3D} from './VisualMode3D';import {SequenceShiftRepro} from './VisualModeTests/SequenceShiftRepro';@@ -189,6 +190,14 @@ export const E2eTestRoot: React.FC = () => {fps={30}durationInFrames={60}/>+ <Composition+ id="timeline-virtualization-testbed"+ component={TimelineVirtualizationTestbed}+ width={1280}+ height={720}+ fps={30}+ durationInFrames={30}+ /><Compositionid="inspector-control-layout-e2e"component={InspectorControlLayoutE2e}diff --git a/packages/example/src/InteractiveDivStressTest.tsx b/packages/example/src/InteractiveDivStressTest.tsxindex b9613b4539..cc98214abe 100644--- a/packages/example/src/InteractiveDivStressTest.tsx+++ b/packages/example/src/InteractiveDivStressTest.tsx@@ -1,109 +1,1016 @@-import {AbsoluteFill, Interactive} from 'remotion';+import {Interactive} from 'remotion';const InteractiveDivStressTest: React.FC = () => {return (- <AbsoluteFill style={{backgroundColor: 'white', overflow: 'auto'}}>- <Interactive.Div name="Line 1">Line 1</Interactive.Div>- <Interactive.Div name="Line 2">Line 2</Interactive.Div>- <Interactive.Div name="Line 3">Line 3</Interactive.Div>- <Interactive.Div name="Line 4">Line 4</Interactive.Div>- <Interactive.Div name="Line 5">Line 5</Interactive.Div>- <Interactive.Div name="Line 6">Line 6</Interactive.Div>- <Interactive.Div name="Line 7">Line 7</Interactive.Div>- <Interactive.Div name="Line 8">Line 8</Interactive.Div>- <Interactive.Div name="Line 9">Line 9</Interactive.Div>- <Interactive.Div name="Line 10">Line 10</Interactive.Div>- <Interactive.Div name="Line 11">Line 11</Interactive.Div>- <Interactive.Div name="Line 12">Line 12</Interactive.Div>- <Interactive.Div name="Line 13">Line 13</Interactive.Div>- <Interactive.Div name="Line 14">Line 14</Interactive.Div>- <Interactive.Div name="Line 15">Line 15</Interactive.Div>- <Interactive.Div name="Line 16">Line 16</Interactive.Div>- <Interactive.Div name="Line 17">Line 17</Interactive.Div>- <Interactive.Div name="Line 18">Line 18</Interactive.Div>- <Interactive.Div name="Line 19">Line 19</Interactive.Div>- <Interactive.Div name="Line 20">Line 20</Interactive.Div>- <Interactive.Div name="Line 21">Line 21</Interactive.Div>- <Interactive.Div name="Line 22">Line 22</Interactive.Div>- <Interactive.Div name="Line 23">Line 23</Interactive.Div>- <Interactive.Div name="Line 24">Line 24</Interactive.Div>- <Interactive.Div name="Line 25">Line 25</Interactive.Div>- <Interactive.Div name="Line 26">Line 26</Interactive.Div>- <Interactive.Div name="Line 27">Line 27</Interactive.Div>- <Interactive.Div name="Line 28">Line 28</Interactive.Div>- <Interactive.Div name="Line 29">Line 29</Interactive.Div>- <Interactive.Div name="Line 30">Line 30</Interactive.Div>- <Interactive.Div name="Line 31">Line 31</Interactive.Div>- <Interactive.Div name="Line 32">Line 32</Interactive.Div>- <Interactive.Div name="Line 33">Line 33</Interactive.Div>- <Interactive.Div name="Line 34">Line 34</Interactive.Div>- <Interactive.Div name="Line 35">Line 35</Interactive.Div>- <Interactive.Div name="Line 36">Line 36</Interactive.Div>- <Interactive.Div name="Line 37">Line 37</Interactive.Div>- <Interactive.Div name="Line 38">Line 38</Interactive.Div>- <Interactive.Div name="Line 39">Line 39</Interactive.Div>- <Interactive.Div name="Line 40">Line 40</Interactive.Div>- <Interactive.Div name="Line 41">Line 41</Interactive.Div>- <Interactive.Div name="Line 42">Line 42</Interactive.Div>- <Interactive.Div name="Line 43">Line 43</Interactive.Div>- <Interactive.Div name="Line 44">Line 44</Interactive.Div>- <Interactive.Div name="Line 45">Line 45</Interactive.Div>- <Interactive.Div name="Line 46">Line 46</Interactive.Div>- <Interactive.Div name="Line 47">Line 47</Interactive.Div>- <Interactive.Div name="Line 48">Line 48</Interactive.Div>- <Interactive.Div name="Line 49">Line 49</Interactive.Div>- <Interactive.Div name="Line 50">Line 50</Interactive.Div>- <Interactive.Div name="Line 51">Line 51</Interactive.Div>- <Interactive.Div name="Line 52">Line 52</Interactive.Div>- <Interactive.Div name="Line 53">Line 53</Interactive.Div>- <Interactive.Div name="Line 54">Line 54</Interactive.Div>- <Interactive.Div name="Line 55">Line 55</Interactive.Div>- <Interactive.Div name="Line 56">Line 56</Interactive.Div>- <Interactive.Div name="Line 57">Line 57</Interactive.Div>- <Interactive.Div name="Line 58">Line 58</Interactive.Div>- <Interactive.Div name="Line 59">Line 59</Interactive.Div>- <Interactive.Div name="Line 60">Line 60</Interactive.Div>- <Interactive.Div name="Line 61">Line 61</Interactive.Div>- <Interactive.Div name="Line 62">Line 62</Interactive.Div>- <Interactive.Div name="Line 63">Line 63</Interactive.Div>- <Interactive.Div name="Line 64">Line 64</Interactive.Div>- <Interactive.Div name="Line 65">Line 65</Interactive.Div>- <Interactive.Div name="Line 66">Line 66</Interactive.Div>- <Interactive.Div name="Line 67">Line 67</Interactive.Div>- <Interactive.Div name="Line 68">Line 68</Interactive.Div>- <Interactive.Div name="Line 69">Line 69</Interactive.Div>- <Interactive.Div name="Line 70">Line 70</Interactive.Div>- <Interactive.Div name="Line 71">Line 71</Interactive.Div>- <Interactive.Div name="Line 72">Line 72</Interactive.Div>- <Interactive.Div name="Line 73">Line 73</Interactive.Div>- <Interactive.Div name="Line 74">Line 74</Interactive.Div>- <Interactive.Div name="Line 75">Line 75</Interactive.Div>- <Interactive.Div name="Line 76">Line 76</Interactive.Div>- <Interactive.Div name="Line 77">Line 77</Interactive.Div>- <Interactive.Div name="Line 78">Line 78</Interactive.Div>- <Interactive.Div name="Line 79">Line 79</Interactive.Div>- <Interactive.Div name="Line 80">Line 80</Interactive.Div>- <Interactive.Div name="Line 81">Line 81</Interactive.Div>- <Interactive.Div name="Line 82">Line 82</Interactive.Div>- <Interactive.Div name="Line 83">Line 83</Interactive.Div>- <Interactive.Div name="Line 84">Line 84</Interactive.Div>- <Interactive.Div name="Line 85">Line 85</Interactive.Div>- <Interactive.Div name="Line 86">Line 86</Interactive.Div>- <Interactive.Div name="Line 87">Line 87</Interactive.Div>- <Interactive.Div name="Line 88">Line 88</Interactive.Div>- <Interactive.Div name="Line 89">Line 89</Interactive.Div>- <Interactive.Div name="Line 90">Line 90</Interactive.Div>- <Interactive.Div name="Line 91">Line 91</Interactive.Div>- <Interactive.Div name="Line 92">Line 92</Interactive.Div>- <Interactive.Div name="Line 93">Line 93</Interactive.Div>- <Interactive.Div name="Line 94">Line 94</Interactive.Div>- <Interactive.Div name="Line 95">Line 95</Interactive.Div>- <Interactive.Div name="Line 96">Line 96</Interactive.Div>- <Interactive.Div name="Line 97">Line 97</Interactive.Div>- <Interactive.Div name="Line 98">Line 98</Interactive.Div>- <Interactive.Div name="Line 99">Line 99</Interactive.Div>- <Interactive.Div name="Line 100">Line 100</Interactive.Div>- </AbsoluteFill>+ <Interactive.Div style={{backgroundColor: 'white', overflow: 'auto'}}>+ <Interactive.Span name="Line 1">Line 1</Interactive.Span>+ <Interactive.Span name="Line 2">Line 2</Interactive.Span>+ <Interactive.Span name="Line 3">Line 3</Interactive.Span>+ <Interactive.Span name="Line 4">Line 4</Interactive.Span>+ <Interactive.Span name="Line 5">Line 5</Interactive.Span>+ <Interactive.Span name="Line 6">Line 6</Interactive.Span>+ <Interactive.Span name="Line 7">Line 7</Interactive.Span>+ <Interactive.Span name="Line 8">Line 8</Interactive.Span>+ <Interactive.Span name="Line 9">Line 9</Interactive.Span>+ <Interactive.Span name="Line 10">Line 10</Interactive.Span>+ <Interactive.Span name="Line 11">Line 11</Interactive.Span>+ <Interactive.Span name="Line 12">Line 12</Interactive.Span>+ <Interactive.Span name="Line 13">Line 13</Interactive.Span>+ <Interactive.Span name="Line 14">Line 14</Interactive.Span>+ <Interactive.Span name="Line 15">Line 15</Interactive.Span>+ <Interactive.Span name="Line 16">Line 16</Interactive.Span>+ <Interactive.Span name="Line 17">Line 17</Interactive.Span>+ <Interactive.Span name="Line 18">Line 18</Interactive.Span>+ <Interactive.Span name="Line 19">Line 19</Interactive.Span>+ <Interactive.Span name="Line 20">Line 20</Interactive.Span>+ <Interactive.Span name="Line 21">Line 21</Interactive.Span>+ <Interactive.Span name="Line 22">Line 22</Interactive.Span>+ <Interactive.Span name="Line 23">Line 23</Interactive.Span>+ <Interactive.Span name="Line 24">Line 24</Interactive.Span>+ <Interactive.Span name="Line 25">Line 25</Interactive.Span>+ <Interactive.Span name="Line 26">Line 26</Interactive.Span>+ <Interactive.Span name="Line 27">Line 27</Interactive.Span>+ <Interactive.Span name="Line 28">Line 28</Interactive.Span>+ <Interactive.Span name="Line 29">Line 29</Interactive.Span>+ <Interactive.Span name="Line 30">Line 30</Interactive.Span>+ <Interactive.Span name="Line 31">Line 31</Interactive.Span>+ <Interactive.Span name="Line 32">Line 32</Interactive.Span>+ <Interactive.Span name="Line 33">Line 33</Interactive.Span>+ <Interactive.Span name="Line 34">Line 34</Interactive.Span>+ <Interactive.Span name="Line 35">Line 35</Interactive.Span>+ <Interactive.Span name="Line 36">Line 36</Interactive.Span>+ <Interactive.Span name="Line 37">Line 37</Interactive.Span>+ <Interactive.Span name="Line 38">Line 38</Interactive.Span>+ <Interactive.Span name="Line 39">Line 39</Interactive.Span>+ <Interactive.Span name="Line 40">Line 40</Interactive.Span>+ <Interactive.Span name="Line 41">Line 41</Interactive.Span>+ <Interactive.Span name="Line 42">Line 42</Interactive.Span>+ <Interactive.Span name="Line 43">Line 43</Interactive.Span>+ <Interactive.Span name="Line 44">Line 44</Interactive.Span>+ <Interactive.Span name="Line 45">Line 45</Interactive.Span>+ <Interactive.Span name="Line 46">Line 46</Interactive.Span>+ <Interactive.Span name="Line 47">Line 47</Interactive.Span>+ <Interactive.Span name="Line 48">Line 48</Interactive.Span>+ <Interactive.Span name="Line 49">Line 49</Interactive.Span>+ <Interactive.Span name="Line 50">Line 50</Interactive.Span>+ <Interactive.Span name="Line 51">Line 51</Interactive.Span>+ <Interactive.Span name="Line 52">Line 52</Interactive.Span>+ <Interactive.Span name="Line 53">Line 53</Interactive.Span>+ <Interactive.Span name="Line 54">Line 54</Interactive.Span>+ <Interactive.Span name="Line 55">Line 55</Interactive.Span>+ <Interactive.Span name="Line 56">Line 56</Interactive.Span>+ <Interactive.Span name="Line 57">Line 57</Interactive.Span>+ <Interactive.Span name="Line 58">Line 58</Interactive.Span>+ <Interactive.Span name="Line 59">Line 59</Interactive.Span>+ <Interactive.Span name="Line 60">Line 60</Interactive.Span>+ <Interactive.Span name="Line 61">Line 61</Interactive.Span>+ <Interactive.Span name="Line 62">Line 62</Interactive.Span>+ <Interactive.Span name="Line 63">Line 63</Interactive.Span>+ <Interactive.Span name="Line 64">Line 64</Interactive.Span>+ <Interactive.Span name="Line 65">Line 65</Interactive.Span>+ <Interactive.Span name="Line 66">Line 66</Interactive.Span>+ <Interactive.Span name="Line 67">Line 67</Interactive.Span>+ <Interactive.Span name="Line 68">Line 68</Interactive.Span>+ <Interactive.Span name="Line 69">Line 69</Interactive.Span>+ <Interactive.Span name="Line 70">Line 70</Interactive.Span>+ <Interactive.Span name="Line 71">Line 71</Interactive.Span>+ <Interactive.Span name="Line 72">Line 72</Interactive.Span>+ <Interactive.Span name="Line 73">Line 73</Interactive.Span>+ <Interactive.Span name="Line 74">Line 74</Interactive.Span>+ <Interactive.Span name="Line 75">Line 75</Interactive.Span>+ <Interactive.Span name="Line 76">Line 76</Interactive.Span>+ <Interactive.Span name="Line 77">Line 77</Interactive.Span>+ <Interactive.Span name="Line 78">Line 78</Interactive.Span>+ <Interactive.Span name="Line 79">Line 79</Interactive.Span>+ <Interactive.Span name="Line 80">Line 80</Interactive.Span>+ <Interactive.Span name="Line 81">Line 81</Interactive.Span>+ <Interactive.Span name="Line 82">Line 82</Interactive.Span>+ <Interactive.Span name="Line 83">Line 83</Interactive.Span>+ <Interactive.Span name="Line 84">Line 84</Interactive.Span>+ <Interactive.Span name="Line 85">Line 85</Interactive.Span>+ <Interactive.Span name="Line 86">Line 86</Interactive.Span>+ <Interactive.Span name="Line 87">Line 87</Interactive.Span>+ <Interactive.Span name="Line 88">Line 88</Interactive.Span>+ <Interactive.Span name="Line 89">Line 89</Interactive.Span>+ <Interactive.Span name="Line 90">Line 90</Interactive.Span>+ <Interactive.Span name="Line 91">Line 91</Interactive.Span>+ <Interactive.Span name="Line 92">Line 92</Interactive.Span>+ <Interactive.Span name="Line 93">Line 93</Interactive.Span>+ <Interactive.Span name="Line 94">Line 94</Interactive.Span>+ <Interactive.Span name="Line 95">Line 95</Interactive.Span>+ <Interactive.Span name="Line 96">Line 96</Interactive.Span>+ <Interactive.Span name="Line 97">Line 97</Interactive.Span>+ <Interactive.Span name="Line 98">Line 98</Interactive.Span>+ <Interactive.Span name="Line 99">Line 99</Interactive.Span>+ <Interactive.Span name="Line 100">Line 100</Interactive.Span>+ <Interactive.Span name="Line 101">Line 101</Interactive.Span>+ <Interactive.Span name="Line 102">Line 102</Interactive.Span>+ <Interactive.Span name="Line 103">Line 103</Interactive.Span>+ <Interactive.Span name="Line 104">Line 104</Interactive.Span>+ <Interactive.Span name="Line 105">Line 105</Interactive.Span>+ <Interactive.Span name="Line 106">Line 106</Interactive.Span>+ <Interactive.Span name="Line 107">Line 107</Interactive.Span>+ <Interactive.Span name="Line 108">Line 108</Interactive.Span>+ <Interactive.Span name="Line 109">Line 109</Interactive.Span>+ <Interactive.Span name="Line 110">Line 110</Interactive.Span>+ <Interactive.Span name="Line 111">Line 111</Interactive.Span>+ <Interactive.Span name="Line 112">Line 112</Interactive.Span>+ <Interactive.Span name="Line 113">Line 113</Interactive.Span>+ <Interactive.Span name="Line 114">Line 114</Interactive.Span>+ <Interactive.Span name="Line 115">Line 115</Interactive.Span>+ <Interactive.Span name="Line 116">Line 116</Interactive.Span>+ <Interactive.Span name="Line 117">Line 117</Interactive.Span>+ <Interactive.Span name="Line 118">Line 118</Interactive.Span>+ <Interactive.Span name="Line 119">Line 119</Interactive.Span>+ <Interactive.Span name="Line 120">Line 120</Interactive.Span>+ <Interactive.Span name="Line 121">Line 121</Interactive.Span>+ <Interactive.Span name="Line 122">Line 122</Interactive.Span>+ <Interactive.Span name="Line 123">Line 123</Interactive.Span>+ <Interactive.Span name="Line 124">Line 124</Interactive.Span>+ <Interactive.Span name="Line 125">Line 125</Interactive.Span>+ <Interactive.Span name="Line 126">Line 126</Interactive.Span>+ <Interactive.Span name="Line 127">Line 127</Interactive.Span>+ <Interactive.Span name="Line 128">Line 128</Interactive.Span>+ <Interactive.Span name="Line 129">Line 129</Interactive.Span>+ <Interactive.Span name="Line 130">Line 130</Interactive.Span>+ <Interactive.Span name="Line 131">Line 131</Interactive.Span>+ <Interactive.Span name="Line 132">Line 132</Interactive.Span>+ <Interactive.Span name="Line 133">Line 133</Interactive.Span>+ <Interactive.Span name="Line 134">Line 134</Interactive.Span>+ <Interactive.Span name="Line 135">Line 135</Interactive.Span>+ <Interactive.Span name="Line 136">Line 136</Interactive.Span>+ <Interactive.Span name="Line 137">Line 137</Interactive.Span>+ <Interactive.Span name="Line 138">Line 138</Interactive.Span>+ <Interactive.Span name="Line 139">Line 139</Interactive.Span>+ <Interactive.Span name="Line 140">Line 140</Interactive.Span>+ <Interactive.Span name="Line 141">Line 141</Interactive.Span>+ <Interactive.Span name="Line 142">Line 142</Interactive.Span>+ <Interactive.Span name="Line 143">Line 143</Interactive.Span>+ <Interactive.Span name="Line 144">Line 144</Interactive.Span>+ <Interactive.Span name="Line 145">Line 145</Interactive.Span>+ <Interactive.Span name="Line 146">Line 146</Interactive.Span>+ <Interactive.Span name="Line 147">Line 147</Interactive.Span>+ <Interactive.Span name="Line 148">Line 148</Interactive.Span>+ <Interactive.Span name="Line 149">Line 149</Interactive.Span>+ <Interactive.Span name="Line 150">Line 150</Interactive.Span>+ <Interactive.Span name="Line 151">Line 151</Interactive.Span>+ <Interactive.Span name="Line 152">Line 152</Interactive.Span>+ <Interactive.Span name="Line 153">Line 153</Interactive.Span>+ <Interactive.Span name="Line 154">Line 154</Interactive.Span>+ <Interactive.Span name="Line 155">Line 155</Interactive.Span>+ <Interactive.Span+ name="Line 156"+ style={{+ scale: 1.63,+ }}+ >+ Line 156+ </Interactive.Span>+ <Interactive.Span name="Line 157">Line 157</Interactive.Span>+ <Interactive.Span name="Line 158">Line 158</Interactive.Span>+ <Interactive.Span name="Line 159">Line 159</Interactive.Span>+ <Interactive.Span name="Line 160">Line 160</Interactive.Span>+ <Interactive.Span name="Line 161">Line 161</Interactive.Span>+ <Interactive.Span name="Line 162">Line 162</Interactive.Span>+ <Interactive.Span name="Line 163">Line 163</Interactive.Span>+ <Interactive.Span name="Line 164">Line 164</Interactive.Span>+ <Interactive.Span name="Line 165">Line 165</Interactive.Span>+ <Interactive.Span name="Line 166">Line 166</Interactive.Span>+ <Interactive.Span name="Line 167">Line 167</Interactive.Span>+ <Interactive.Span name="Line 168">Line 168</Interactive.Span>+ <Interactive.Span name="Line 169">Line 169</Interactive.Span>+ <Interactive.Span name="Line 170">Line 170</Interactive.Span>+ <Interactive.Span name="Line 171">Line 171</Interactive.Span>+ <Interactive.Span name="Line 172">Line 172</Interactive.Span>+ <Interactive.Span name="Line 173">Line 173</Interactive.Span>+ <Interactive.Span name="Line 174">Line 174</Interactive.Span>+ <Interactive.Span name="Line 175">Line 175</Interactive.Span>+ <Interactive.Span name="Line 176">Line 176</Interactive.Span>+ <Interactive.Span name="Line 177">Line 177</Interactive.Span>+ <Interactive.Span name="Line 178">Line 178</Interactive.Span>+ <Interactive.Span name="Line 179">Line 179</Interactive.Span>+ <Interactive.Span name="Line 180">Line 180</Interactive.Span>+ <Interactive.Span name="Line 181">Line 181</Interactive.Span>+ <Interactive.Span name="Line 182">Line 182</Interactive.Span>+ <Interactive.Span name="Line 183">Line 183</Interactive.Span>+ <Interactive.Span name="Line 184">Line 184</Interactive.Span>+ <Interactive.Span name="Line 185">Line 185</Interactive.Span>+ <Interactive.Span name="Line 186">Line 186</Interactive.Span>+ <Interactive.Span name="Line 187">Line 187</Interactive.Span>+ <Interactive.Span name="Line 188">Line 188</Interactive.Span>+ <Interactive.Span name="Line 189">Line 189</Interactive.Span>+ <Interactive.Span name="Line 190">Line 190</Interactive.Span>+ <Interactive.Span name="Line 191">Line 191</Interactive.Span>+ <Interactive.Span name="Line 192">Line 192</Interactive.Span>+ <Interactive.Span name="Line 193">Line 193</Interactive.Span>+ <Interactive.Span name="Line 194">Line 194</Interactive.Span>+ <Interactive.Span name="Line 195">Line 195</Interactive.Span>+ <Interactive.Span name="Line 196">Line 196</Interactive.Span>+ <Interactive.Span name="Line 197">Line 197</Interactive.Span>+ <Interactive.Span name="Line 198">Line 198</Interactive.Span>+ <Interactive.Span name="Line 199">Line 199</Interactive.Span>+ <Interactive.Span name="Line 200">Line 200</Interactive.Span>+ <Interactive.Span name="Line 201">Line 201</Interactive.Span>+ <Interactive.Span name="Line 202">Line 202</Interactive.Span>+ <Interactive.Span name="Line 203">Line 203</Interactive.Span>+ <Interactive.Span name="Line 204">Line 204</Interactive.Span>+ <Interactive.Span name="Line 205">Line 205</Interactive.Span>+ <Interactive.Span name="Line 206">Line 206</Interactive.Span>+ <Interactive.Span name="Line 207">Line 207</Interactive.Span>+ <Interactive.Span name="Line 208">Line 208</Interactive.Span>+ <Interactive.Span name="Line 209">Line 209</Interactive.Span>+ <Interactive.Span name="Line 210">Line 210</Interactive.Span>+ <Interactive.Span name="Line 211">Line 211</Interactive.Span>+ <Interactive.Span name="Line 212">Line 212</Interactive.Span>+ <Interactive.Span name="Line 213">Line 213</Interactive.Span>+ <Interactive.Span name="Line 214">Line 214</Interactive.Span>+ <Interactive.Span name="Line 215">Line 215</Interactive.Span>+ <Interactive.Span name="Line 216">Line 216</Interactive.Span>+ <Interactive.Span name="Line 217">Line 217</Interactive.Span>+ <Interactive.Span name="Line 218">Line 218</Interactive.Span>+ <Interactive.Span name="Line 219">Line 219</Interactive.Span>+ <Interactive.Span name="Line 220">Line 220</Interactive.Span>+ <Interactive.Span name="Line 221">Line 221</Interactive.Span>+ <Interactive.Span name="Line 222">Line 222</Interactive.Span>+ <Interactive.Span name="Line 223">Line 223</Interactive.Span>+ <Interactive.Span name="Line 224">Line 224</Interactive.Span>+ <Interactive.Span name="Line 225">Line 225</Interactive.Span>+ <Interactive.Span name="Line 226">Line 226</Interactive.Span>+ <Interactive.Span name="Line 227">Line 227</Interactive.Span>+ <Interactive.Span name="Line 228">Line 228</Interactive.Span>+ <Interactive.Span name="Line 229">Line 229</Interactive.Span>+ <Interactive.Span name="Line 230">Line 230</Interactive.Span>+ <Interactive.Span name="Line 231">Line 231</Interactive.Span>+ <Interactive.Span name="Line 232">Line 232</Interactive.Span>+ <Interactive.Span name="Line 233">Line 233</Interactive.Span>+ <Interactive.Span name="Line 234">Line 234</Interactive.Span>+ <Interactive.Span name="Line 235">Line 235</Interactive.Span>+ <Interactive.Span name="Line 236">Line 236</Interactive.Span>+ <Interactive.Span name="Line 237">Line 237</Interactive.Span>+ <Interactive.Span name="Line 238">Line 238</Interactive.Span>+ <Interactive.Span name="Line 239">Line 239</Interactive.Span>+ <Interactive.Span name="Line 240">Line 240</Interactive.Span>+ <Interactive.Span name="Line 241">Line 241</Interactive.Span>+ <Interactive.Span name="Line 242">Line 242</Interactive.Span>+ <Interactive.Span name="Line 243">Line 243</Interactive.Span>+ <Interactive.Span name="Line 244">Line 244</Interactive.Span>+ <Interactive.Span name="Line 245">Line 245</Interactive.Span>+ <Interactive.Span name="Line 246">Line 246</Interactive.Span>+ <Interactive.Span name="Line 247">Line 247</Interactive.Span>+ <Interactive.Span name="Line 248">Line 248</Interactive.Span>+ <Interactive.Span name="Line 249">Line 249</Interactive.Span>+ <Interactive.Span name="Line 250">Line 250</Interactive.Span>+ <Interactive.Span name="Line 251">Line 251</Interactive.Span>+ <Interactive.Span name="Line 252">Line 252</Interactive.Span>+ <Interactive.Span name="Line 253">Line 253</Interactive.Span>+ <Interactive.Span name="Line 254">Line 254</Interactive.Span>+ <Interactive.Span name="Line 255">Line 255</Interactive.Span>+ <Interactive.Span name="Line 256">Line 256</Interactive.Span>+ <Interactive.Span name="Line 257">Line 257</Interactive.Span>+ <Interactive.Span name="Line 258">Line 258</Interactive.Span>+ <Interactive.Span name="Line 259">Line 259</Interactive.Span>+ <Interactive.Span name="Line 260">Line 260</Interactive.Span>+ <Interactive.Span name="Line 261">Line 261</Interactive.Span>+ <Interactive.Span name="Line 262">Line 262</Interactive.Span>+ <Interactive.Span name="Line 263">Line 263</Interactive.Span>+ <Interactive.Span name="Line 264">Line 264</Interactive.Span>+ <Interactive.Span name="Line 265">Line 265</Interactive.Span>+ <Interactive.Span name="Line 266">Line 266</Interactive.Span>+ <Interactive.Span name="Line 267">Line 267</Interactive.Span>+ <Interactive.Span name="Line 268">Line 268</Interactive.Span>+ <Interactive.Span name="Line 269">Line 269</Interactive.Span>+ <Interactive.Span name="Line 270">Line 270</Interactive.Span>+ <Interactive.Span name="Line 271">Line 271</Interactive.Span>+ <Interactive.Span name="Line 272">Line 272</Interactive.Span>+ <Interactive.Span name="Line 273">Line 273</Interactive.Span>+ <Interactive.Span name="Line 274">Line 274</Interactive.Span>+ <Interactive.Span name="Line 275">Line 275</Interactive.Span>+ <Interactive.Span name="Line 276">Line 276</Interactive.Span>+ <Interactive.Span name="Line 277">Line 277</Interactive.Span>+ <Interactive.Span name="Line 278">Line 278</Interactive.Span>+ <Interactive.Span name="Line 279">Line 279</Interactive.Span>+ <Interactive.Span name="Line 280">Line 280</Interactive.Span>+ <Interactive.Span name="Line 281">Line 281</Interactive.Span>+ <Interactive.Span name="Line 282">Line 282</Interactive.Span>+ <Interactive.Span name="Line 283">Line 283</Interactive.Span>+ <Interactive.Span name="Line 284">Line 284</Interactive.Span>+ <Interactive.Span name="Line 285">Line 285</Interactive.Span>+ <Interactive.Span name="Line 286">Line 286</Interactive.Span>+ <Interactive.Span name="Line 287">Line 287</Interactive.Span>+ <Interactive.Span name="Line 288">Line 288</Interactive.Span>+ <Interactive.Span name="Line 289">Line 289</Interactive.Span>+ <Interactive.Span name="Line 290">Line 290</Interactive.Span>+ <Interactive.Span name="Line 291">Line 291</Interactive.Span>+ <Interactive.Span name="Line 292">Line 292</Interactive.Span>+ <Interactive.Span name="Line 293">Line 293</Interactive.Span>+ <Interactive.Span name="Line 294">Line 294</Interactive.Span>+ <Interactive.Span name="Line 295">Line 295</Interactive.Span>+ <Interactive.Span name="Line 296">Line 296</Interactive.Span>+ <Interactive.Span name="Line 297">Line 297</Interactive.Span>+ <Interactive.Span name="Line 298">Line 298</Interactive.Span>+ <Interactive.Span name="Line 299">Line 299</Interactive.Span>+ <Interactive.Span name="Line 300">Line 300</Interactive.Span>+ <Interactive.Span name="Line 301">Line 301</Interactive.Span>+ <Interactive.Span name="Line 302">Line 302</Interactive.Span>+ <Interactive.Span name="Line 303">Line 303</Interactive.Span>+ <Interactive.Span name="Line 304">Line 304</Interactive.Span>+ <Interactive.Span name="Line 305">Line 305</Interactive.Span>+ <Interactive.Span name="Line 306">Line 306</Interactive.Span>+ <Interactive.Span name="Line 307">Line 307</Interactive.Span>+ <Interactive.Span name="Line 308">Line 308</Interactive.Span>+ <Interactive.Span name="Line 309">Line 309</Interactive.Span>+ <Interactive.Span name="Line 310">Line 310</Interactive.Span>+ <Interactive.Span name="Line 311">Line 311</Interactive.Span>+ <Interactive.Span name="Line 312">Line 312</Interactive.Span>+ <Interactive.Span name="Line 313">Line 313</Interactive.Span>+ <Interactive.Span name="Line 314">Line 314</Interactive.Span>+ <Interactive.Span name="Line 315">Line 315</Interactive.Span>+ <Interactive.Span name="Line 316">Line 316</Interactive.Span>+ <Interactive.Span name="Line 317">Line 317</Interactive.Span>+ <Interactive.Span name="Line 318">Line 318</Interactive.Span>+ <Interactive.Span name="Line 319">Line 319</Interactive.Span>+ <Interactive.Span name="Line 320">Line 320</Interactive.Span>+ <Interactive.Span name="Line 321">Line 321</Interactive.Span>+ <Interactive.Span name="Line 322">Line 322</Interactive.Span>+ <Interactive.Span name="Line 323">Line 323</Interactive.Span>+ <Interactive.Span name="Line 324">Line 324</Interactive.Span>+ <Interactive.Span name="Line 325">Line 325</Interactive.Span>+ <Interactive.Span name="Line 326">Line 326</Interactive.Span>+ <Interactive.Span name="Line 327">Line 327</Interactive.Span>+ <Interactive.Span name="Line 328">Line 328</Interactive.Span>+ <Interactive.Span name="Line 329">Line 329</Interactive.Span>+ <Interactive.Span name="Line 330">Line 330</Interactive.Span>+ <Interactive.Span name="Line 331">Line 331</Interactive.Span>+ <Interactive.Span name="Line 332">Line 332</Interactive.Span>+ <Interactive.Span name="Line 333">Line 333</Interactive.Span>+ <Interactive.Span name="Line 334">Line 334</Interactive.Span>+ <Interactive.Span name="Line 335">Line 335</Interactive.Span>+ <Interactive.Span name="Line 336">Line 336</Interactive.Span>+ <Interactive.Span name="Line 337">Line 337</Interactive.Span>+ <Interactive.Span name="Line 338">Line 338</Interactive.Span>+ <Interactive.Span name="Line 339">Line 339</Interactive.Span>+ <Interactive.Span name="Line 340">Line 340</Interactive.Span>+ <Interactive.Span name="Line 341">Line 341</Interactive.Span>+ <Interactive.Span name="Line 342">Line 342</Interactive.Span>+ <Interactive.Span name="Line 343">Line 343</Interactive.Span>+ <Interactive.Span name="Line 344">Line 344</Interactive.Span>+ <Interactive.Span name="Line 345">Line 345</Interactive.Span>+ <Interactive.Span name="Line 346">Line 346</Interactive.Span>+ <Interactive.Span name="Line 347">Line 347</Interactive.Span>+ <Interactive.Span name="Line 348">Line 348</Interactive.Span>+ <Interactive.Span name="Line 349">Line 349</Interactive.Span>+ <Interactive.Span name="Line 350">Line 350</Interactive.Span>+ <Interactive.Span name="Line 351">Line 351</Interactive.Span>+ <Interactive.Span name="Line 352">Line 352</Interactive.Span>+ <Interactive.Span name="Line 353">Line 353</Interactive.Span>+ <Interactive.Span name="Line 354">Line 354</Interactive.Span>+ <Interactive.Span name="Line 355">Line 355</Interactive.Span>+ <Interactive.Span name="Line 356">Line 356</Interactive.Span>+ <Interactive.Span name="Line 357">Line 357</Interactive.Span>+ <Interactive.Span name="Line 358">Line 358</Interactive.Span>+ <Interactive.Span name="Line 359">Line 359</Interactive.Span>+ <Interactive.Span name="Line 360">Line 360</Interactive.Span>+ <Interactive.Span name="Line 361">Line 361</Interactive.Span>+ <Interactive.Span name="Line 362">Line 362</Interactive.Span>+ <Interactive.Span name="Line 363">Line 363</Interactive.Span>+ <Interactive.Span name="Line 364">Line 364</Interactive.Span>+ <Interactive.Span name="Line 365">Line 365</Interactive.Span>+ <Interactive.Span name="Line 366">Line 366</Interactive.Span>+ <Interactive.Span name="Line 367">Line 367</Interactive.Span>+ <Interactive.Span name="Line 368">Line 368</Interactive.Span>+ <Interactive.Span name="Line 369">Line 369</Interactive.Span>+ <Interactive.Span name="Line 370">Line 370</Interactive.Span>+ <Interactive.Span name="Line 371">Line 371</Interactive.Span>+ <Interactive.Span name="Line 372">Line 372</Interactive.Span>+ <Interactive.Span name="Line 373">Line 373</Interactive.Span>+ <Interactive.Span name="Line 374">Line 374</Interactive.Span>+ <Interactive.Span name="Line 375">Line 375</Interactive.Span>+ <Interactive.Span name="Line 376">Line 376</Interactive.Span>+ <Interactive.Span name="Line 377">Line 377</Interactive.Span>+ <Interactive.Span name="Line 378">Line 378</Interactive.Span>+ <Interactive.Span name="Line 379">Line 379</Interactive.Span>+ <Interactive.Span name="Line 380">Line 380</Interactive.Span>+ <Interactive.Span name="Line 381">Line 381</Interactive.Span>+ <Interactive.Span name="Line 382">Line 382</Interactive.Span>+ <Interactive.Span name="Line 383">Line 383</Interactive.Span>+ <Interactive.Span name="Line 384">Line 384</Interactive.Span>+ <Interactive.Span name="Line 385">Line 385</Interactive.Span>+ <Interactive.Span name="Line 386">Line 386</Interactive.Span>+ <Interactive.Span name="Line 387">Line 387</Interactive.Span>+ <Interactive.Span name="Line 388">Line 388</Interactive.Span>+ <Interactive.Span name="Line 389">Line 389</Interactive.Span>+ <Interactive.Span name="Line 390">Line 390</Interactive.Span>+ <Interactive.Span name="Line 391">Line 391</Interactive.Span>+ <Interactive.Span name="Line 392">Line 392</Interactive.Span>+ <Interactive.Span name="Line 393">Line 393</Interactive.Span>+ <Interactive.Span name="Line 394">Line 394</Interactive.Span>+ <Interactive.Span name="Line 395">Line 395</Interactive.Span>+ <Interactive.Span name="Line 396">Line 396</Interactive.Span>+ <Interactive.Span name="Line 397">Line 397</Interactive.Span>+ <Interactive.Span name="Line 398">Line 398</Interactive.Span>+ <Interactive.Span name="Line 399">Line 399</Interactive.Span>+ <Interactive.Span name="Line 400">Line 400</Interactive.Span>+ <Interactive.Span name="Line 401">Line 401</Interactive.Span>+ <Interactive.Span name="Line 402">Line 402</Interactive.Span>+ <Interactive.Span name="Line 403">Line 403</Interactive.Span>+ <Interactive.Span name="Line 404">Line 404</Interactive.Span>+ <Interactive.Span name="Line 405">Line 405</Interactive.Span>+ <Interactive.Span name="Line 406">Line 406</Interactive.Span>+ <Interactive.Span name="Line 407">Line 407</Interactive.Span>+ <Interactive.Span name="Line 408">Line 408</Interactive.Span>+ <Interactive.Span name="Line 409">Line 409</Interactive.Span>+ <Interactive.Span name="Line 410">Line 410</Interactive.Span>+ <Interactive.Span name="Line 411">Line 411</Interactive.Span>+ <Interactive.Span name="Line 412">Line 412</Interactive.Span>+ <Interactive.Span name="Line 413">Line 413</Interactive.Span>+ <Interactive.Span name="Line 414">Line 414</Interactive.Span>+ <Interactive.Span name="Line 415">Line 415</Interactive.Span>+ <Interactive.Span name="Line 416">Line 416</Interactive.Span>+ <Interactive.Span name="Line 417">Line 417</Interactive.Span>+ <Interactive.Span name="Line 418">Line 418</Interactive.Span>+ <Interactive.Span name="Line 419">Line 419</Interactive.Span>+ <Interactive.Span name="Line 420">Line 420</Interactive.Span>+ <Interactive.Span name="Line 421">Line 421</Interactive.Span>+ <Interactive.Span name="Line 422">Line 422</Interactive.Span>+ <Interactive.Span name="Line 423">Line 423</Interactive.Span>+ <Interactive.Span name="Line 424">Line 424</Interactive.Span>+ <Interactive.Span name="Line 425">Line 425</Interactive.Span>+ <Interactive.Span name="Line 426">Line 426</Interactive.Span>+ <Interactive.Span name="Line 427">Line 427</Interactive.Span>+ <Interactive.Span name="Line 428">Line 428</Interactive.Span>+ <Interactive.Span name="Line 429">Line 429</Interactive.Span>+ <Interactive.Span name="Line 430">Line 430</Interactive.Span>+ <Interactive.Span name="Line 431">Line 431</Interactive.Span>+ <Interactive.Span name="Line 432">Line 432</Interactive.Span>+ <Interactive.Span name="Line 433">Line 433</Interactive.Span>+ <Interactive.Span name="Line 434">Line 434</Interactive.Span>+ <Interactive.Span name="Line 435">Line 435</Interactive.Span>+ <Interactive.Span name="Line 436">Line 436</Interactive.Span>+ <Interactive.Span name="Line 437">Line 437</Interactive.Span>+ <Interactive.Span name="Line 438">Line 438</Interactive.Span>+ <Interactive.Span name="Line 439">Line 439</Interactive.Span>+ <Interactive.Span name="Line 440">Line 440</Interactive.Span>+ <Interactive.Span name="Line 441">Line 441</Interactive.Span>+ <Interactive.Span name="Line 442">Line 442</Interactive.Span>+ <Interactive.Span name="Line 443">Line 443</Interactive.Span>+ <Interactive.Span name="Line 444">Line 444</Interactive.Span>+ <Interactive.Span name="Line 445">Line 445</Interactive.Span>+ <Interactive.Span name="Line 446">Line 446</Interactive.Span>+ <Interactive.Span name="Line 447">Line 447</Interactive.Span>+ <Interactive.Span name="Line 448">Line 448</Interactive.Span>+ <Interactive.Span name="Line 449">Line 449</Interactive.Span>+ <Interactive.Span name="Line 450">Line 450</Interactive.Span>+ <Interactive.Span name="Line 451">Line 451</Interactive.Span>+ <Interactive.Span name="Line 452">Line 452</Interactive.Span>+ <Interactive.Span name="Line 453">Line 453</Interactive.Span>+ <Interactive.Span name="Line 454">Line 454</Interactive.Span>+ <Interactive.Span name="Line 455">Line 455</Interactive.Span>+ <Interactive.Span name="Line 456">Line 456</Interactive.Span>+ <Interactive.Span name="Line 457">Line 457</Interactive.Span>+ <Interactive.Span name="Line 458">Line 458</Interactive.Span>+ <Interactive.Span name="Line 459">Line 459</Interactive.Span>+ <Interactive.Span name="Line 460">Line 460</Interactive.Span>+ <Interactive.Span name="Line 461">Line 461</Interactive.Span>+ <Interactive.Span name="Line 462">Line 462</Interactive.Span>+ <Interactive.Span name="Line 463">Line 463</Interactive.Span>+ <Interactive.Span name="Line 464">Line 464</Interactive.Span>+ <Interactive.Span name="Line 465">Line 465</Interactive.Span>+ <Interactive.Span name="Line 466">Line 466</Interactive.Span>+ <Interactive.Span name="Line 467">Line 467</Interactive.Span>+ <Interactive.Span name="Line 468">Line 468</Interactive.Span>+ <Interactive.Span name="Line 469">Line 469</Interactive.Span>+ <Interactive.Span name="Line 470">Line 470</Interactive.Span>+ <Interactive.Span name="Line 471">Line 471</Interactive.Span>+ <Interactive.Span name="Line 472">Line 472</Interactive.Span>+ <Interactive.Span name="Line 473">Line 473</Interactive.Span>+ <Interactive.Span name="Line 474">Line 474</Interactive.Span>+ <Interactive.Span name="Line 475">Line 475</Interactive.Span>+ <Interactive.Span name="Line 476">Line 476</Interactive.Span>+ <Interactive.Span name="Line 477">Line 477</Interactive.Span>+ <Interactive.Span name="Line 478">Line 478</Interactive.Span>+ <Interactive.Span name="Line 479">Line 479</Interactive.Span>+ <Interactive.Span name="Line 480">Line 480</Interactive.Span>+ <Interactive.Span name="Line 481">Line 481</Interactive.Span>+ <Interactive.Span name="Line 482">Line 482</Interactive.Span>+ <Interactive.Span name="Line 483">Line 483</Interactive.Span>+ <Interactive.Span name="Line 484">Line 484</Interactive.Span>+ <Interactive.Span name="Line 485">Line 485</Interactive.Span>+ <Interactive.Span name="Line 486">Line 486</Interactive.Span>+ <Interactive.Span name="Line 487">Line 487</Interactive.Span>+ <Interactive.Span name="Line 488">Line 488</Interactive.Span>+ <Interactive.Span name="Line 489">Line 489</Interactive.Span>+ <Interactive.Span name="Line 490">Line 490</Interactive.Span>+ <Interactive.Span name="Line 491">Line 491</Interactive.Span>+ <Interactive.Span name="Line 492">Line 492</Interactive.Span>+ <Interactive.Span name="Line 493">Line 493</Interactive.Span>+ <Interactive.Span name="Line 494">Line 494</Interactive.Span>+ <Interactive.Span name="Line 495">Line 495</Interactive.Span>+ <Interactive.Span name="Line 496">Line 496</Interactive.Span>+ <Interactive.Span name="Line 497">Line 497</Interactive.Span>+ <Interactive.Span name="Line 498">Line 498</Interactive.Span>+ <Interactive.Span name="Line 499">Line 499</Interactive.Span>+ <Interactive.Span name="Line 500">Line 500</Interactive.Span>+ <Interactive.Span name="Line 501">Line 501</Interactive.Span>+ <Interactive.Span name="Line 502">Line 502</Interactive.Span>+ <Interactive.Span name="Line 503">Line 503</Interactive.Span>+ <Interactive.Span name="Line 504">Line 504</Interactive.Span>+ <Interactive.Span name="Line 505">Line 505</Interactive.Span>+ <Interactive.Span name="Line 506">Line 506</Interactive.Span>+ <Interactive.Span name="Line 507">Line 507</Interactive.Span>+ <Interactive.Span name="Line 508">Line 508</Interactive.Span>+ <Interactive.Span name="Line 509">Line 509</Interactive.Span>+ <Interactive.Span name="Line 510">Line 510</Interactive.Span>+ <Interactive.Span name="Line 511">Line 511</Interactive.Span>+ <Interactive.Span name="Line 512">Line 512</Interactive.Span>+ <Interactive.Span name="Line 513">Line 513</Interactive.Span>+ <Interactive.Span name="Line 514">Line 514</Interactive.Span>+ <Interactive.Span name="Line 515">Line 515</Interactive.Span>+ <Interactive.Span name="Line 516">Line 516</Interactive.Span>+ <Interactive.Span name="Line 517">Line 517</Interactive.Span>+ <Interactive.Span name="Line 518">Line 518</Interactive.Span>+ <Interactive.Span name="Line 519">Line 519</Interactive.Span>+ <Interactive.Span name="Line 520">Line 520</Interactive.Span>+ <Interactive.Span name="Line 521">Line 521</Interactive.Span>+ <Interactive.Span name="Line 522">Line 522</Interactive.Span>+ <Interactive.Span name="Line 523">Line 523</Interactive.Span>+ <Interactive.Span name="Line 524">Line 524</Interactive.Span>+ <Interactive.Span name="Line 525">Line 525</Interactive.Span>+ <Interactive.Span name="Line 526">Line 526</Interactive.Span>+ <Interactive.Span name="Line 527">Line 527</Interactive.Span>+ <Interactive.Span name="Line 528">Line 528</Interactive.Span>+ <Interactive.Span name="Line 529">Line 529</Interactive.Span>+ <Interactive.Span name="Line 530">Line 530</Interactive.Span>+ <Interactive.Span name="Line 531">Line 531</Interactive.Span>+ <Interactive.Span name="Line 532">Line 532</Interactive.Span>+ <Interactive.Span name="Line 533">Line 533</Interactive.Span>+ <Interactive.Span name="Line 534">Line 534</Interactive.Span>+ <Interactive.Span name="Line 535">Line 535</Interactive.Span>+ <Interactive.Span name="Line 536">Line 536</Interactive.Span>+ <Interactive.Span name="Line 537">Line 537</Interactive.Span>+ <Interactive.Span name="Line 538">Line 538</Interactive.Span>+ <Interactive.Span name="Line 539">Line 539</Interactive.Span>+ <Interactive.Span name="Line 540">Line 540</Interactive.Span>+ <Interactive.Span name="Line 541">Line 541</Interactive.Span>+ <Interactive.Span name="Line 542">Line 542</Interactive.Span>+ <Interactive.Span name="Line 543">Line 543</Interactive.Span>+ <Interactive.Span name="Line 544">Line 544</Interactive.Span>+ <Interactive.Span name="Line 545">Line 545</Interactive.Span>+ <Interactive.Span name="Line 546">Line 546</Interactive.Span>+ <Interactive.Span name="Line 547">Line 547</Interactive.Span>+ <Interactive.Span name="Line 548">Line 548</Interactive.Span>+ <Interactive.Span name="Line 549">Line 549</Interactive.Span>+ <Interactive.Span name="Line 550">Line 550</Interactive.Span>+ <Interactive.Span name="Line 551">Line 551</Interactive.Span>+ <Interactive.Span name="Line 552">Line 552</Interactive.Span>+ <Interactive.Span name="Line 553">Line 553</Interactive.Span>+ <Interactive.Span name="Line 554">Line 554</Interactive.Span>+ <Interactive.Span name="Line 555">Line 555</Interactive.Span>+ <Interactive.Span name="Line 556">Line 556</Interactive.Span>+ <Interactive.Span name="Line 557">Line 557</Interactive.Span>+ <Interactive.Span name="Line 558">Line 558</Interactive.Span>+ <Interactive.Span name="Line 559">Line 559</Interactive.Span>+ <Interactive.Span name="Line 560">Line 560</Interactive.Span>+ <Interactive.Span name="Line 561">Line 561</Interactive.Span>+ <Interactive.Span name="Line 562">Line 562</Interactive.Span>+ <Interactive.Span name="Line 563">Line 563</Interactive.Span>+ <Interactive.Span name="Line 564">Line 564</Interactive.Span>+ <Interactive.Span name="Line 565">Line 565</Interactive.Span>+ <Interactive.Span name="Line 566">Line 566</Interactive.Span>+ <Interactive.Span name="Line 567">Line 567</Interactive.Span>+ <Interactive.Span name="Line 568">Line 568</Interactive.Span>+ <Interactive.Span name="Line 569">Line 569</Interactive.Span>+ <Interactive.Span name="Line 570">Line 570</Interactive.Span>+ <Interactive.Span name="Line 571">Line 571</Interactive.Span>+ <Interactive.Span name="Line 572">Line 572</Interactive.Span>+ <Interactive.Span name="Line 573">Line 573</Interactive.Span>+ <Interactive.Span name="Line 574">Line 574</Interactive.Span>+ <Interactive.Span name="Line 575">Line 575</Interactive.Span>+ <Interactive.Span name="Line 576">Line 576</Interactive.Span>+ <Interactive.Span name="Line 577">Line 577</Interactive.Span>+ <Interactive.Span name="Line 578">Line 578</Interactive.Span>+ <Interactive.Span name="Line 579">Line 579</Interactive.Span>+ <Interactive.Span name="Line 580">Line 580</Interactive.Span>+ <Interactive.Span name="Line 581">Line 581</Interactive.Span>+ <Interactive.Span name="Line 582">Line 582</Interactive.Span>+ <Interactive.Span name="Line 583">Line 583</Interactive.Span>+ <Interactive.Span name="Line 584">Line 584</Interactive.Span>+ <Interactive.Span name="Line 585">Line 585</Interactive.Span>+ <Interactive.Span name="Line 586">Line 586</Interactive.Span>+ <Interactive.Span name="Line 587">Line 587</Interactive.Span>+ <Interactive.Span name="Line 588">Line 588</Interactive.Span>+ <Interactive.Span name="Line 589">Line 589</Interactive.Span>+ <Interactive.Span name="Line 590">Line 590</Interactive.Span>+ <Interactive.Span name="Line 591">Line 591</Interactive.Span>+ <Interactive.Span name="Line 592">Line 592</Interactive.Span>+ <Interactive.Span name="Line 593">Line 593</Interactive.Span>+ <Interactive.Span name="Line 594">Line 594</Interactive.Span>+ <Interactive.Span name="Line 595">Line 595</Interactive.Span>+ <Interactive.Span name="Line 596">Line 596</Interactive.Span>+ <Interactive.Span name="Line 597">Line 597</Interactive.Span>+ <Interactive.Span name="Line 598">Line 598</Interactive.Span>+ <Interactive.Span name="Line 599">Line 599</Interactive.Span>+ <Interactive.Span name="Line 600">Line 600</Interactive.Span>+ <Interactive.Span name="Line 601">Line 601</Interactive.Span>+ <Interactive.Span name="Line 602">Line 602</Interactive.Span>+ <Interactive.Span name="Line 603">Line 603</Interactive.Span>+ <Interactive.Span name="Line 604">Line 604</Interactive.Span>+ <Interactive.Span name="Line 605">Line 605</Interactive.Span>+ <Interactive.Span name="Line 606">Line 606</Interactive.Span>+ <Interactive.Span name="Line 607">Line 607</Interactive.Span>+ <Interactive.Span name="Line 608">Line 608</Interactive.Span>+ <Interactive.Span name="Line 609">Line 609</Interactive.Span>+ <Interactive.Span name="Line 610">Line 610</Interactive.Span>+ <Interactive.Span name="Line 611">Line 611</Interactive.Span>+ <Interactive.Span name="Line 612">Line 612</Interactive.Span>+ <Interactive.Span name="Line 613">Line 613</Interactive.Span>+ <Interactive.Span name="Line 614">Line 614</Interactive.Span>+ <Interactive.Span name="Line 615">Line 615</Interactive.Span>+ <Interactive.Span name="Line 616">Line 616</Interactive.Span>+ <Interactive.Span name="Line 617">Line 617</Interactive.Span>+ <Interactive.Span name="Line 618">Line 618</Interactive.Span>+ <Interactive.Span name="Line 619">Line 619</Interactive.Span>+ <Interactive.Span name="Line 620">Line 620</Interactive.Span>+ <Interactive.Span name="Line 621">Line 621</Interactive.Span>+ <Interactive.Span name="Line 622">Line 622</Interactive.Span>+ <Interactive.Span name="Line 623">Line 623</Interactive.Span>+ <Interactive.Span name="Line 624">Line 624</Interactive.Span>+ <Interactive.Span name="Line 625">Line 625</Interactive.Span>+ <Interactive.Span name="Line 626">Line 626</Interactive.Span>+ <Interactive.Span name="Line 627">Line 627</Interactive.Span>+ <Interactive.Span name="Line 628">Line 628</Interactive.Span>+ <Interactive.Span name="Line 629">Line 629</Interactive.Span>+ <Interactive.Span name="Line 630">Line 630</Interactive.Span>+ <Interactive.Span name="Line 631">Line 631</Interactive.Span>+ <Interactive.Span name="Line 632">Line 632</Interactive.Span>+ <Interactive.Span name="Line 633">Line 633</Interactive.Span>+ <Interactive.Span name="Line 634">Line 634</Interactive.Span>+ <Interactive.Span name="Line 635">Line 635</Interactive.Span>+ <Interactive.Span name="Line 636">Line 636</Interactive.Span>+ <Interactive.Span name="Line 637">Line 637</Interactive.Span>+ <Interactive.Span name="Line 638">Line 638</Interactive.Span>+ <Interactive.Span name="Line 639">Line 639</Interactive.Span>+ <Interactive.Span name="Line 640">Line 640</Interactive.Span>+ <Interactive.Span name="Line 641">Line 641</Interactive.Span>+ <Interactive.Span name="Line 642">Line 642</Interactive.Span>+ <Interactive.Span name="Line 643">Line 643</Interactive.Span>+ <Interactive.Span name="Line 644">Line 644</Interactive.Span>+ <Interactive.Span name="Line 645">Line 645</Interactive.Span>+ <Interactive.Span name="Line 646">Line 646</Interactive.Span>+ <Interactive.Span name="Line 647">Line 647</Interactive.Span>+ <Interactive.Span name="Line 648">Line 648</Interactive.Span>+ <Interactive.Span name="Line 649">Line 649</Interactive.Span>+ <Interactive.Span name="Line 650">Line 650</Interactive.Span>+ <Interactive.Span name="Line 651">Line 651</Interactive.Span>+ <Interactive.Span name="Line 652">Line 652</Interactive.Span>+ <Interactive.Span name="Line 653">Line 653</Interactive.Span>+ <Interactive.Span name="Line 654">Line 654</Interactive.Span>+ <Interactive.Span name="Line 655">Line 655</Interactive.Span>+ <Interactive.Span name="Line 656">Line 656</Interactive.Span>+ <Interactive.Span name="Line 657">Line 657</Interactive.Span>+ <Interactive.Span name="Line 658">Line 658</Interactive.Span>+ <Interactive.Span name="Line 659">Line 659</Interactive.Span>+ <Interactive.Span name="Line 660">Line 660</Interactive.Span>+ <Interactive.Span name="Line 661">Line 661</Interactive.Span>+ <Interactive.Span name="Line 662">Line 662</Interactive.Span>+ <Interactive.Span name="Line 663">Line 663</Interactive.Span>+ <Interactive.Span name="Line 664">Line 664</Interactive.Span>+ <Interactive.Span name="Line 665">Line 665</Interactive.Span>+ <Interactive.Span name="Line 666">Line 666</Interactive.Span>+ <Interactive.Span name="Line 667">Line 667</Interactive.Span>+ <Interactive.Span name="Line 668">Line 668</Interactive.Span>+ <Interactive.Span name="Line 669">Line 669</Interactive.Span>+ <Interactive.Span name="Line 670">Line 670</Interactive.Span>+ <Interactive.Span name="Line 671">Line 671</Interactive.Span>+ <Interactive.Span name="Line 672">Line 672</Interactive.Span>+ <Interactive.Span name="Line 673">Line 673</Interactive.Span>+ <Interactive.Span name="Line 674">Line 674</Interactive.Span>+ <Interactive.Span name="Line 675">Line 675</Interactive.Span>+ <Interactive.Span name="Line 676">Line 676</Interactive.Span>+ <Interactive.Span name="Line 677">Line 677</Interactive.Span>+ <Interactive.Span name="Line 678">Line 678</Interactive.Span>+ <Interactive.Span name="Line 679">Line 679</Interactive.Span>+ <Interactive.Span name="Line 680">Line 680</Interactive.Span>+ <Interactive.Span name="Line 681">Line 681</Interactive.Span>+ <Interactive.Span name="Line 682">Line 682</Interactive.Span>+ <Interactive.Span name="Line 683">Line 683</Interactive.Span>+ <Interactive.Span name="Line 684">Line 684</Interactive.Span>+ <Interactive.Span name="Line 685">Line 685</Interactive.Span>+ <Interactive.Span name="Line 686">Line 686</Interactive.Span>+ <Interactive.Span name="Line 687">Line 687</Interactive.Span>+ <Interactive.Span name="Line 688">Line 688</Interactive.Span>+ <Interactive.Span name="Line 689">Line 689</Interactive.Span>+ <Interactive.Span name="Line 690">Line 690</Interactive.Span>+ <Interactive.Span name="Line 691">Line 691</Interactive.Span>+ <Interactive.Span name="Line 692">Line 692</Interactive.Span>+ <Interactive.Span name="Line 693">Line 693</Interactive.Span>+ <Interactive.Span name="Line 694">Line 694</Interactive.Span>+ <Interactive.Span name="Line 695">Line 695</Interactive.Span>+ <Interactive.Span name="Line 696">Line 696</Interactive.Span>+ <Interactive.Span name="Line 697">Line 697</Interactive.Span>+ <Interactive.Span name="Line 698">Line 698</Interactive.Span>+ <Interactive.Span name="Line 699">Line 699</Interactive.Span>+ <Interactive.Span name="Line 700">Line 700</Interactive.Span>+ <Interactive.Span name="Line 701">Line 701</Interactive.Span>+ <Interactive.Span name="Line 702">Line 702</Interactive.Span>+ <Interactive.Span name="Line 703">Line 703</Interactive.Span>+ <Interactive.Span name="Line 704">Line 704</Interactive.Span>+ <Interactive.Span name="Line 705">Line 705</Interactive.Span>+ <Interactive.Span name="Line 706">Line 706</Interactive.Span>+ <Interactive.Span name="Line 707">Line 707</Interactive.Span>+ <Interactive.Span name="Line 708">Line 708</Interactive.Span>+ <Interactive.Span name="Line 709">Line 709</Interactive.Span>+ <Interactive.Span name="Line 710">Line 710</Interactive.Span>+ <Interactive.Span name="Line 711">Line 711</Interactive.Span>+ <Interactive.Span name="Line 712">Line 712</Interactive.Span>+ <Interactive.Span name="Line 713">Line 713</Interactive.Span>+ <Interactive.Span name="Line 714">Line 714</Interactive.Span>+ <Interactive.Span name="Line 715">Line 715</Interactive.Span>+ <Interactive.Span name="Line 716">Line 716</Interactive.Span>+ <Interactive.Span name="Line 717">Line 717</Interactive.Span>+ <Interactive.Span name="Line 718">Line 718</Interactive.Span>+ <Interactive.Span name="Line 719">Line 719</Interactive.Span>+ <Interactive.Span name="Line 720">Line 720</Interactive.Span>+ <Interactive.Span name="Line 721">Line 721</Interactive.Span>+ <Interactive.Span name="Line 722">Line 722</Interactive.Span>+ <Interactive.Span name="Line 723">Line 723</Interactive.Span>+ <Interactive.Span name="Line 724">Line 724</Interactive.Span>+ <Interactive.Span name="Line 725">Line 725</Interactive.Span>+ <Interactive.Span name="Line 726">Line 726</Interactive.Span>+ <Interactive.Span name="Line 727">Line 727</Interactive.Span>+ <Interactive.Span name="Line 728">Line 728</Interactive.Span>+ <Interactive.Span name="Line 729">Line 729</Interactive.Span>+ <Interactive.Span name="Line 730">Line 730</Interactive.Span>+ <Interactive.Span name="Line 731">Line 731</Interactive.Span>+ <Interactive.Span name="Line 732">Line 732</Interactive.Span>+ <Interactive.Span name="Line 733">Line 733</Interactive.Span>+ <Interactive.Span name="Line 734">Line 734</Interactive.Span>+ <Interactive.Span name="Line 735">Line 735</Interactive.Span>+ <Interactive.Span name="Line 736">Line 736</Interactive.Span>+ <Interactive.Span name="Line 737">Line 737</Interactive.Span>+ <Interactive.Span name="Line 738">Line 738</Interactive.Span>+ <Interactive.Span name="Line 739">Line 739</Interactive.Span>+ <Interactive.Span name="Line 740">Line 740</Interactive.Span>+ <Interactive.Span name="Line 741">Line 741</Interactive.Span>+ <Interactive.Span name="Line 742">Line 742</Interactive.Span>+ <Interactive.Span name="Line 743">Line 743</Interactive.Span>+ <Interactive.Span name="Line 744">Line 744</Interactive.Span>+ <Interactive.Span name="Line 745">Line 745</Interactive.Span>+ <Interactive.Span name="Line 746">Line 746</Interactive.Span>+ <Interactive.Span name="Line 747">Line 747</Interactive.Span>+ <Interactive.Span name="Line 748">Line 748</Interactive.Span>+ <Interactive.Span name="Line 749">Line 749</Interactive.Span>+ <Interactive.Span name="Line 750">Line 750</Interactive.Span>+ <Interactive.Span name="Line 751">Line 751</Interactive.Span>+ <Interactive.Span name="Line 752">Line 752</Interactive.Span>+ <Interactive.Span name="Line 753">Line 753</Interactive.Span>+ <Interactive.Span name="Line 754">Line 754</Interactive.Span>+ <Interactive.Span name="Line 755">Line 755</Interactive.Span>+ <Interactive.Span name="Line 756">Line 756</Interactive.Span>+ <Interactive.Span name="Line 757">Line 757</Interactive.Span>+ <Interactive.Span name="Line 758">Line 758</Interactive.Span>+ <Interactive.Span name="Line 759">Line 759</Interactive.Span>+ <Interactive.Span name="Line 760">Line 760</Interactive.Span>+ <Interactive.Span name="Line 761">Line 761</Interactive.Span>+ <Interactive.Span name="Line 762">Line 762</Interactive.Span>+ <Interactive.Span name="Line 763">Line 763</Interactive.Span>+ <Interactive.Span name="Line 764">Line 764</Interactive.Span>+ <Interactive.Span name="Line 765">Line 765</Interactive.Span>+ <Interactive.Span name="Line 766">Line 766</Interactive.Span>+ <Interactive.Span name="Line 767">Line 767</Interactive.Span>+ <Interactive.Span name="Line 768">Line 768</Interactive.Span>+ <Interactive.Span name="Line 769">Line 769</Interactive.Span>+ <Interactive.Span name="Line 770">Line 770</Interactive.Span>+ <Interactive.Span name="Line 771">Line 771</Interactive.Span>+ <Interactive.Span name="Line 772">Line 772</Interactive.Span>+ <Interactive.Span name="Line 773">Line 773</Interactive.Span>+ <Interactive.Span name="Line 774">Line 774</Interactive.Span>+ <Interactive.Span name="Line 775">Line 775</Interactive.Span>+ <Interactive.Span name="Line 776">Line 776</Interactive.Span>+ <Interactive.Span name="Line 777">Line 777</Interactive.Span>+ <Interactive.Span name="Line 778">Line 778</Interactive.Span>+ <Interactive.Span name="Line 779">Line 779</Interactive.Span>+ <Interactive.Span name="Line 780">Line 780</Interactive.Span>+ <Interactive.Span name="Line 781">Line 781</Interactive.Span>+ <Interactive.Span name="Line 782">Line 782</Interactive.Span>+ <Interactive.Span name="Line 783">Line 783</Interactive.Span>+ <Interactive.Span name="Line 784">Line 784</Interactive.Span>+ <Interactive.Span name="Line 785">Line 785</Interactive.Span>+ <Interactive.Span name="Line 786">Line 786</Interactive.Span>+ <Interactive.Span name="Line 787">Line 787</Interactive.Span>+ <Interactive.Span name="Line 788">Line 788</Interactive.Span>+ <Interactive.Span name="Line 789">Line 789</Interactive.Span>+ <Interactive.Span name="Line 790">Line 790</Interactive.Span>+ <Interactive.Span name="Line 791">Line 791</Interactive.Span>+ <Interactive.Span name="Line 792">Line 792</Interactive.Span>+ <Interactive.Span name="Line 793">Line 793</Interactive.Span>+ <Interactive.Span name="Line 794">Line 794</Interactive.Span>+ <Interactive.Span name="Line 795">Line 795</Interactive.Span>+ <Interactive.Span name="Line 796">Line 796</Interactive.Span>+ <Interactive.Span name="Line 797">Line 797</Interactive.Span>+ <Interactive.Span name="Line 798">Line 798</Interactive.Span>+ <Interactive.Span name="Line 799">Line 799</Interactive.Span>+ <Interactive.Span name="Line 800">Line 800</Interactive.Span>+ <Interactive.Span name="Line 801">Line 801</Interactive.Span>+ <Interactive.Span name="Line 802">Line 802</Interactive.Span>+ <Interactive.Span name="Line 803">Line 803</Interactive.Span>+ <Interactive.Span name="Line 804">Line 804</Interactive.Span>+ <Interactive.Span name="Line 805">Line 805</Interactive.Span>+ <Interactive.Span name="Line 806">Line 806</Interactive.Span>+ <Interactive.Span name="Line 807">Line 807</Interactive.Span>+ <Interactive.Span name="Line 808">Line 808</Interactive.Span>+ <Interactive.Span name="Line 809">Line 809</Interactive.Span>+ <Interactive.Span name="Line 810">Line 810</Interactive.Span>+ <Interactive.Span name="Line 811">Line 811</Interactive.Span>+ <Interactive.Span name="Line 812">Line 812</Interactive.Span>+ <Interactive.Span name="Line 813">Line 813</Interactive.Span>+ <Interactive.Span name="Line 814">Line 814</Interactive.Span>+ <Interactive.Span name="Line 815">Line 815</Interactive.Span>+ <Interactive.Span name="Line 816">Line 816</Interactive.Span>+ <Interactive.Span name="Line 817">Line 817</Interactive.Span>+ <Interactive.Span name="Line 818">Line 818</Interactive.Span>+ <Interactive.Span name="Line 819">Line 819</Interactive.Span>+ <Interactive.Span name="Line 820">Line 820</Interactive.Span>+ <Interactive.Span name="Line 821">Line 821</Interactive.Span>+ <Interactive.Span name="Line 822">Line 822</Interactive.Span>+ <Interactive.Span name="Line 823">Line 823</Interactive.Span>+ <Interactive.Span name="Line 824">Line 824</Interactive.Span>+ <Interactive.Span name="Line 825">Line 825</Interactive.Span>+ <Interactive.Span name="Line 826">Line 826</Interactive.Span>+ <Interactive.Span name="Line 827">Line 827</Interactive.Span>+ <Interactive.Span name="Line 828">Line 828</Interactive.Span>+ <Interactive.Span name="Line 829">Line 829</Interactive.Span>+ <Interactive.Span name="Line 830">Line 830</Interactive.Span>+ <Interactive.Span name="Line 831">Line 831</Interactive.Span>+ <Interactive.Span name="Line 832">Line 832</Interactive.Span>+ <Interactive.Span name="Line 833">Line 833</Interactive.Span>+ <Interactive.Span name="Line 834">Line 834</Interactive.Span>+ <Interactive.Span name="Line 835">Line 835</Interactive.Span>+ <Interactive.Span name="Line 836">Line 836</Interactive.Span>+ <Interactive.Span name="Line 837">Line 837</Interactive.Span>+ <Interactive.Span name="Line 838">Line 838</Interactive.Span>+ <Interactive.Span name="Line 839">Line 839</Interactive.Span>+ <Interactive.Span name="Line 840">Line 840</Interactive.Span>+ <Interactive.Span name="Line 841">Line 841</Interactive.Span>+ <Interactive.Span name="Line 842">Line 842</Interactive.Span>+ <Interactive.Span name="Line 843">Line 843</Interactive.Span>+ <Interactive.Span name="Line 844">Line 844</Interactive.Span>+ <Interactive.Span name="Line 845">Line 845</Interactive.Span>+ <Interactive.Span name="Line 846">Line 846</Interactive.Span>+ <Interactive.Span name="Line 847">Line 847</Interactive.Span>+ <Interactive.Span name="Line 848">Line 848</Interactive.Span>+ <Interactive.Span name="Line 849">Line 849</Interactive.Span>+ <Interactive.Span name="Line 850">Line 850</Interactive.Span>+ <Interactive.Span name="Line 851">Line 851</Interactive.Span>+ <Interactive.Span name="Line 852">Line 852</Interactive.Span>+ <Interactive.Span name="Line 853">Line 853</Interactive.Span>+ <Interactive.Span name="Line 854">Line 854</Interactive.Span>+ <Interactive.Span name="Line 855">Line 855</Interactive.Span>+ <Interactive.Span name="Line 856">Line 856</Interactive.Span>+ <Interactive.Span name="Line 857">Line 857</Interactive.Span>+ <Interactive.Span name="Line 858">Line 858</Interactive.Span>+ <Interactive.Span name="Line 859">Line 859</Interactive.Span>+ <Interactive.Span name="Line 860">Line 860</Interactive.Span>+ <Interactive.Span name="Line 861">Line 861</Interactive.Span>+ <Interactive.Span name="Line 862">Line 862</Interactive.Span>+ <Interactive.Span name="Line 863">Line 863</Interactive.Span>+ <Interactive.Span name="Line 864">Line 864</Interactive.Span>+ <Interactive.Span name="Line 865">Line 865</Interactive.Span>+ <Interactive.Span name="Line 866">Line 866</Interactive.Span>+ <Interactive.Span name="Line 867">Line 867</Interactive.Span>+ <Interactive.Span name="Line 868">Line 868</Interactive.Span>+ <Interactive.Span name="Line 869">Line 869</Interactive.Span>+ <Interactive.Span name="Line 870">Line 870</Interactive.Span>+ <Interactive.Span name="Line 871">Line 871</Interactive.Span>+ <Interactive.Span name="Line 872">Line 872</Interactive.Span>+ <Interactive.Span name="Line 873">Line 873</Interactive.Span>+ <Interactive.Span name="Line 874">Line 874</Interactive.Span>+ <Interactive.Span name="Line 875">Line 875</Interactive.Span>+ <Interactive.Span name="Line 876">Line 876</Interactive.Span>+ <Interactive.Span name="Line 877">Line 877</Interactive.Span>+ <Interactive.Span name="Line 878">Line 878</Interactive.Span>+ <Interactive.Span name="Line 879">Line 879</Interactive.Span>+ <Interactive.Span name="Line 880">Line 880</Interactive.Span>+ <Interactive.Span name="Line 881">Line 881</Interactive.Span>+ <Interactive.Span name="Line 882">Line 882</Interactive.Span>+ <Interactive.Span name="Line 883">Line 883</Interactive.Span>+ <Interactive.Span name="Line 884">Line 884</Interactive.Span>+ <Interactive.Span name="Line 885">Line 885</Interactive.Span>+ <Interactive.Span name="Line 886">Line 886</Interactive.Span>+ <Interactive.Span name="Line 887">Line 887</Interactive.Span>+ <Interactive.Span name="Line 888">Line 888</Interactive.Span>+ <Interactive.Span name="Line 889">Line 889</Interactive.Span>+ <Interactive.Span name="Line 890">Line 890</Interactive.Span>+ <Interactive.Span name="Line 891">Line 891</Interactive.Span>+ <Interactive.Span name="Line 892">Line 892</Interactive.Span>+ <Interactive.Span name="Line 893">Line 893</Interactive.Span>+ <Interactive.Span name="Line 894">Line 894</Interactive.Span>+ <Interactive.Span name="Line 895">Line 895</Interactive.Span>+ <Interactive.Span name="Line 896">Line 896</Interactive.Span>+ <Interactive.Span name="Line 897">Line 897</Interactive.Span>+ <Interactive.Span name="Line 898">Line 898</Interactive.Span>+ <Interactive.Span name="Line 899">Line 899</Interactive.Span>+ <Interactive.Span name="Line 900">Line 900</Interactive.Span>+ <Interactive.Span name="Line 901">Line 901</Interactive.Span>+ <Interactive.Span name="Line 902">Line 902</Interactive.Span>+ <Interactive.Span name="Line 903">Line 903</Interactive.Span>+ <Interactive.Span name="Line 904">Line 904</Interactive.Span>+ <Interactive.Span name="Line 905">Line 905</Interactive.Span>+ <Interactive.Span name="Line 906">Line 906</Interactive.Span>+ <Interactive.Span name="Line 907">Line 907</Interactive.Span>+ <Interactive.Span name="Line 908">Line 908</Interactive.Span>+ <Interactive.Span name="Line 909">Line 909</Interactive.Span>+ <Interactive.Span name="Line 910">Line 910</Interactive.Span>+ <Interactive.Span name="Line 911">Line 911</Interactive.Span>+ <Interactive.Span name="Line 912">Line 912</Interactive.Span>+ <Interactive.Span name="Line 913">Line 913</Interactive.Span>+ <Interactive.Span name="Line 914">Line 914</Interactive.Span>+ <Interactive.Span name="Line 915">Line 915</Interactive.Span>+ <Interactive.Span name="Line 916">Line 916</Interactive.Span>+ <Interactive.Span name="Line 917">Line 917</Interactive.Span>+ <Interactive.Span name="Line 918">Line 918</Interactive.Span>+ <Interactive.Span name="Line 919">Line 919</Interactive.Span>+ <Interactive.Span name="Line 920">Line 920</Interactive.Span>+ <Interactive.Span name="Line 921">Line 921</Interactive.Span>+ <Interactive.Span name="Line 922">Line 922</Interactive.Span>+ <Interactive.Span name="Line 923">Line 923</Interactive.Span>+ <Interactive.Span name="Line 924">Line 924</Interactive.Span>+ <Interactive.Span name="Line 925">Line 925</Interactive.Span>+ <Interactive.Span name="Line 926">Line 926</Interactive.Span>+ <Interactive.Span name="Line 927">Line 927</Interactive.Span>+ <Interactive.Span name="Line 928">Line 928</Interactive.Span>+ <Interactive.Span name="Line 929">Line 929</Interactive.Span>+ <Interactive.Span name="Line 930">Line 930</Interactive.Span>+ <Interactive.Span name="Line 931">Line 931</Interactive.Span>+ <Interactive.Span name="Line 932">Line 932</Interactive.Span>+ <Interactive.Span name="Line 933">Line 933</Interactive.Span>+ <Interactive.Span name="Line 934">Line 934</Interactive.Span>+ <Interactive.Span name="Line 935">Line 935</Interactive.Span>+ <Interactive.Span name="Line 936">Line 936</Interactive.Span>+ <Interactive.Span name="Line 937">Line 937</Interactive.Span>+ <Interactive.Span name="Line 938">Line 938</Interactive.Span>+ <Interactive.Span name="Line 939">Line 939</Interactive.Span>+ <Interactive.Span name="Line 940">Line 940</Interactive.Span>+ <Interactive.Span name="Line 941">Line 941</Interactive.Span>+ <Interactive.Span name="Line 942">Line 942</Interactive.Span>+ <Interactive.Span name="Line 943">Line 943</Interactive.Span>+ <Interactive.Span name="Line 944">Line 944</Interactive.Span>+ <Interactive.Span name="Line 945">Line 945</Interactive.Span>+ <Interactive.Span name="Line 946">Line 946</Interactive.Span>+ <Interactive.Span name="Line 947">Line 947</Interactive.Span>+ <Interactive.Span name="Line 948">Line 948</Interactive.Span>+ <Interactive.Span name="Line 949">Line 949</Interactive.Span>+ <Interactive.Span name="Line 950">Line 950</Interactive.Span>+ <Interactive.Span name="Line 951">Line 951</Interactive.Span>+ <Interactive.Span name="Line 952">Line 952</Interactive.Span>+ <Interactive.Span name="Line 953">Line 953</Interactive.Span>+ <Interactive.Span name="Line 954">Line 954</Interactive.Span>+ <Interactive.Span name="Line 955">Line 955</Interactive.Span>+ <Interactive.Span name="Line 956">Line 956</Interactive.Span>+ <Interactive.Span name="Line 957">Line 957</Interactive.Span>+ <Interactive.Span name="Line 958">Line 958</Interactive.Span>+ <Interactive.Span name="Line 959">Line 959</Interactive.Span>+ <Interactive.Span name="Line 960">Line 960</Interactive.Span>+ <Interactive.Span name="Line 961">Line 961</Interactive.Span>+ <Interactive.Span name="Line 962">Line 962</Interactive.Span>+ <Interactive.Span name="Line 963">Line 963</Interactive.Span>+ <Interactive.Span name="Line 964">Line 964</Interactive.Span>+ <Interactive.Span name="Line 965">Line 965</Interactive.Span>+ <Interactive.Span name="Line 966">Line 966</Interactive.Span>+ <Interactive.Span name="Line 967">Line 967</Interactive.Span>+ <Interactive.Span name="Line 968">Line 968</Interactive.Span>+ <Interactive.Span name="Line 969">Line 969</Interactive.Span>+ <Interactive.Span name="Line 970">Line 970</Interactive.Span>+ <Interactive.Span name="Line 971">Line 971</Interactive.Span>+ <Interactive.Span name="Line 972">Line 972</Interactive.Span>+ <Interactive.Span name="Line 973">Line 973</Interactive.Span>+ <Interactive.Span name="Line 974">Line 974</Interactive.Span>+ <Interactive.Span name="Line 975">Line 975</Interactive.Span>+ <Interactive.Span name="Line 976">Line 976</Interactive.Span>+ <Interactive.Span name="Line 977">Line 977</Interactive.Span>+ <Interactive.Span name="Line 978">Line 978</Interactive.Span>+ <Interactive.Span name="Line 979">Line 979</Interactive.Span>+ <Interactive.Span name="Line 980">Line 980</Interactive.Span>+ <Interactive.Span name="Line 981">Line 981</Interactive.Span>+ <Interactive.Span name="Line 982">Line 982</Interactive.Span>+ <Interactive.Span name="Line 983">Line 983</Interactive.Span>+ <Interactive.Span name="Line 984">Line 984</Interactive.Span>+ <Interactive.Span name="Line 985">Line 985</Interactive.Span>+ <Interactive.Span name="Line 986">Line 986</Interactive.Span>+ <Interactive.Span name="Line 987">Line 987</Interactive.Span>+ <Interactive.Span name="Line 988">Line 988</Interactive.Span>+ <Interactive.Span name="Line 989">Line 989</Interactive.Span>+ <Interactive.Span name="Line 990">Line 990</Interactive.Span>+ <Interactive.Span name="Line 991">Line 991</Interactive.Span>+ <Interactive.Span name="Line 992">Line 992</Interactive.Span>+ <Interactive.Span name="Line 993">Line 993</Interactive.Span>+ <Interactive.Span name="Line 994">Line 994</Interactive.Span>+ <Interactive.Span name="Line 995">Line 995</Interactive.Span>+ <Interactive.Span name="Line 996">Line 996</Interactive.Span>+ <Interactive.Span name="Line 997">Line 997</Interactive.Span>+ <Interactive.Span name="Line 998">Line 998</Interactive.Span>+ <Interactive.Span name="Line 999">Line 999</Interactive.Span>+ <Interactive.Span name="Line 1000">Line 1000</Interactive.Span>+ </Interactive.Div>);};diff --git a/packages/example/src/TimelineVirtualizationTestbed.tsx b/packages/example/src/TimelineVirtualizationTestbed.tsxnew file mode 100644index 0000000000..0b5d9aea5f--- /dev/null+++ b/packages/example/src/TimelineVirtualizationTestbed.tsx@@ -0,0 +1,383 @@+import React from 'react';+import {AbsoluteFill, Interactive, Sequence} from 'remotion';++export const TIMELINE_VIRTUALIZATION_TRACK_COUNT = 120;++export const TimelineVirtualizationTestbed: React.FC = () => {+ return (+ <>+ <Sequence durationInFrames={30} name="Virtual track 000">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 001">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 002">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 003">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 004">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 005">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 006">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 007">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 008">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 009">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 010">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 011">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 012">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 013">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 014">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 015">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 016">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 017">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 018">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 019">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 020">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 021">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 022">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 023">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 024">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 025">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 026">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 027">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 028">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 029">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 030">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 031">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 032">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 033">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 034">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 035">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 036">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 037">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 038">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 039">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 040">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 041">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 042">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 043">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 044">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 045">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 046">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 047">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 048">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 049">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 050">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 051">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 052">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 053">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 054">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 055">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 056">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 057">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 058">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 059">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 060">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 061">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 062">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 063">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 064">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 065">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 066">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 067">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 068">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 069">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 070">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 071">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 072">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 073">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 074">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 075">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 076">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 077">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 078">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 079">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 080">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 081">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 082">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 083">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 084">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 085">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 086">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 087">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 088">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 089">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 090">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 091">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 092">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 093">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 094">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 095">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 096">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 097">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 098">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 099">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 100">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 101">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 102">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 103">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 104">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 105">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 106">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 107">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 108">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 109">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 110">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 111">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 112">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 113">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 114">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 115">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 116">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 117">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 118">+ <AbsoluteFill />+ </Sequence>+ <Sequence durationInFrames={30} name="Virtual track 119">+ <Interactive.Div+ name="Reveal target"+ style={{+ backgroundColor: 'red',+ height: 100,+ left: 100,+ position: 'absolute',+ top: 100,+ width: 100,+ }}+ >+ Reveal target+ </Interactive.Div>+ </Sequence>+ </>+ );+};diff --git a/packages/studio-server/src/max-timeline-tracks.ts b/packages/studio-server/src/max-timeline-tracks.tsindex d741e037d2..c265d49ed1 100644--- a/packages/studio-server/src/max-timeline-tracks.ts+++ b/packages/studio-server/src/max-timeline-tracks.ts@@ -1,6 +1,4 @@-import {DEFAULT_TIMELINE_TRACKS} from '@remotion/studio-shared';--let maxTimelineTracks = DEFAULT_TIMELINE_TRACKS;+let maxTimelineTracks: number | null = null;let configuredMaxTimelineTracks: number | null = null;export const setMaxTimelineTracks = (maxTracks: number) => {@@ -41,6 +39,6 @@ export const getConfiguredMaxTimelineTracks = () => {};export const resetMaxTimelineTracks = () => {- maxTimelineTracks = DEFAULT_TIMELINE_TRACKS;+ maxTimelineTracks = null;configuredMaxTimelineTracks = null;};diff --git a/packages/studio/package.json b/packages/studio/package.jsonindex f4328448dc..c66d75d3a7 100644--- a/packages/studio/package.json+++ b/packages/studio/package.json@@ -24,6 +24,7 @@"react-dom": ">=16.8.0"},"dependencies": {+ "@tanstack/react-virtual": "3.14.9","@remotion/studio-protocol": "workspace:*","semver": "7.5.3","remotion": "workspace:*",diff --git a/packages/studio/src/components/StudioSettings.tsx b/packages/studio/src/components/StudioSettings.tsxindex e3de2a4e9e..2c482ebecb 100644--- a/packages/studio/src/components/StudioSettings.tsx+++ b/packages/studio/src/components/StudioSettings.tsx@@ -119,18 +119,22 @@ const ConfigSelect = <T extends string | boolean>({};const ConfigNumber = ({+ defaultLabel,defaultValue,name,onChange,onChangeEnd,value,}: {+ readonly defaultLabel?: string;readonly defaultValue: number;readonly name: string;readonly onChange: (value: number | null) => void;readonly onChangeEnd: (value: number | null) => void;readonly value: number | null;}) => {+ const resolvedDefaultLabel = defaultLabel ?? String(defaultValue);+return (<div style={optionRow}><div style={label}>{name}</div>@@ -139,13 +143,13 @@ const ConfigNumber = ({aria-label={name}buttonStyle={{textAlign: 'right', width: 140}}formatter={() =>- value === null ? `Default (${defaultValue})` : String(value)+ value === null ? `Default (${resolvedDefaultLabel})` : String(value)}min={0}onTextChange={() => undefined}onValueChange={onChange}onValueChangeEnd={onChangeEnd}- placeholder={`Default (${defaultValue})`}+ placeholder={`Default (${resolvedDefaultLabel})`}rightAlignstatus="ok"step={1}@@ -156,7 +160,7 @@ const ConfigNumber = ({onClick={() => onChangeEnd(null)}size="compact"style={{color: LIGHT_TEXT}}- title={`Use default (${defaultValue})`}+ title={`Use default (${resolvedDefaultLabel})`}><UndoIcon style={resetIcon} /></Button>@@ -326,6 +330,7 @@ export const StudioSettings: React.FC = () => {value={settings.interactivityEnabled}/><ConfigNumber+ defaultLabel="Unlimited"defaultValue={DEFAULT_TIMELINE_TRACKS}name="Max timeline tracks"onChange={(value) => previewNumberSetting('maxTimelineTracks', value)}diff --git a/packages/studio/src/components/Timeline/Timeline.tsx b/packages/studio/src/components/Timeline/Timeline.tsxindex badb610d37..9554ca6b21 100644--- a/packages/studio/src/components/Timeline/Timeline.tsx+++ b/packages/studio/src/components/Timeline/Timeline.tsx@@ -60,6 +60,7 @@ import {TimelineTimePlaceholders,} from './TimelineTimeIndicators';import {TimelineTracks} from './TimelineTracks';+import {TimelineVirtualizationProvider} from './TimelineVirtualization';import {TimelineWidthProvider} from './TimelineWidthProvider';import {useResolvedStack} from './use-resolved-stack';import {useTimelineAssetDrop} from './use-timeline-asset-drop';@@ -400,7 +401,7 @@ const TimelineInner: React.FC = () => {const maxTimelineTracks = getStudioMaxTimelineTracks();const shown = useMemo(() => {- return collapsed.length > maxTimelineTracks+ return maxTimelineTracks !== null && collapsed.length > maxTimelineTracks? collapsed.slice(0, maxTimelineTracks): collapsed;}, [collapsed, maxTimelineTracks]);@@ -428,63 +429,62 @@ const TimelineInner: React.FC = () => {{isStudioInteractivityEnabled() ? <SequencePropsObserver /> : null}<TimelineKeyframeTracksProvider tracks={filtered}><TimelineSelectableItemsProvider timeline={shown}>- {isStudioInteractivityEnabled() ? (- <TimelineSelectAllKeybindings timeline={shown} />- ) : null}- <TimelineHeightContainer- shown={shown}+ <TimelineVirtualizationProviderhasBeenCut={hasBeenCut}isStill={isStill}+ timeline={shown}>- {isStill ? (- <TimelineList timeline={shown} showTimePadding={false} />- ) : (- <TimelineWidthProvider>- <TimelinePinchZoom />- <SplitterContainer- orientation="vertical"- defaultFlex={0.2}- id="names-to-timeline"- maxFlex={0.5}- minFlex={0.15}- maxFlexerSize={null}- minFlexerSize={MIN_TIMELINE_LABELS_WIDTH}- maxAntiFlexerSize={null}- minAntiFlexerSize={null}- >- <SplitterElement- type="flexer"- sticky={<TimelineTimePlaceholders />}+ {isStudioInteractivityEnabled() ? (+ <TimelineSelectAllKeybindings timeline={shown} />+ ) : null}+ <TimelineHeightContainer>+ {isStill ? (+ <TimelineList />+ ) : (+ <TimelineWidthProvider>+ <TimelinePinchZoom />+ <SplitterContainer+ orientation="vertical"+ defaultFlex={0.2}+ id="names-to-timeline"+ maxFlex={0.5}+ minFlex={0.15}+ maxFlexerSize={null}+ minFlexerSize={MIN_TIMELINE_LABELS_WIDTH}+ maxAntiFlexerSize={null}+ minAntiFlexerSize={null}>- <TimelineList timeline={shown} showTimePadding />- </SplitterElement>- <SplitterHandle onCollapse={noop} allowToCollapse="none" />- <SplitterElement- type="anti-flexer"- sticky={- <>- <TimelineTimeIndicators />- <TimelineSlider />- </>- }- >- <TimelineScrollable>- <TimelineTracks- timeline={shown}- hasBeenCut={hasBeenCut}- />- <TimelinePlayCursorSyncer />- <TimelineInOutPointer />- <TimelineDragHandler />- {isStudioInteractivityEnabled() ? (- <TimelineInOutDragHandler />- ) : null}- </TimelineScrollable>- </SplitterElement>- </SplitterContainer>- </TimelineWidthProvider>- )}- </TimelineHeightContainer>+ <SplitterElement+ type="flexer"+ sticky={<TimelineTimePlaceholders />}+ >+ <TimelineList />+ </SplitterElement>+ <SplitterHandle onCollapse={noop} allowToCollapse="none" />+ <SplitterElement+ type="anti-flexer"+ sticky={+ <>+ <TimelineTimeIndicators />+ <TimelineSlider />+ </>+ }+ >+ <TimelineScrollable>+ <TimelineTracks hasBeenCut={hasBeenCut} />+ <TimelinePlayCursorSyncer />+ <TimelineInOutPointer />+ <TimelineDragHandler />+ {isStudioInteractivityEnabled() ? (+ <TimelineInOutDragHandler />+ ) : null}+ </TimelineScrollable>+ </SplitterElement>+ </SplitterContainer>+ </TimelineWidthProvider>+ )}+ </TimelineHeightContainer>+ </TimelineVirtualizationProvider></TimelineSelectableItemsProvider></TimelineKeyframeTracksProvider></TimelineContextMenuArea>diff --git a/packages/studio/src/components/Timeline/TimelineEffectItem.tsx b/packages/studio/src/components/Timeline/TimelineEffectItem.tsxindex ee1576d2e0..cde2e4ad72 100644--- a/packages/studio/src/components/Timeline/TimelineEffectItem.tsx+++ b/packages/studio/src/components/Timeline/TimelineEffectItem.tsx@@ -476,7 +476,6 @@ export const TimelineEffectItem: React.FC<{style={rowStyle}selected={selection.selected}selectable={selection.selectable}- selectionItem={selection.selectionItem}onSelect={selection.onSelect}showSelectedBackgroundcontainsSelection={containsSelection}diff --git a/packages/studio/src/components/Timeline/TimelineEffectPropItem.tsx b/packages/studio/src/components/Timeline/TimelineEffectPropItem.tsxindex 1f3eb0b739..6341e802c5 100644--- a/packages/studio/src/components/Timeline/TimelineEffectPropItem.tsx+++ b/packages/studio/src/components/Timeline/TimelineEffectPropItem.tsx@@ -595,7 +595,6 @@ export const TimelineEffectPropItem: React.FC<{style={style}selected={selection.selected}selectable={selection.selectable}- selectionItem={selection.selectionItem}onSelect={selection.onSelect}onDoubleClick={onPropertyDoubleClick}showSelectedBackgrounddiff --git a/packages/studio/src/components/Timeline/TimelineExpandedRow.tsx b/packages/studio/src/components/Timeline/TimelineExpandedRow.tsxindex 2ab042405c..26776c44c7 100644--- a/packages/studio/src/components/Timeline/TimelineExpandedRow.tsx+++ b/packages/studio/src/components/Timeline/TimelineExpandedRow.tsx@@ -116,7 +116,6 @@ const TimelineExpandedRowInner: React.FC<TimelineExpandedRowProps> = ({}}selected={selection.selected}selectable={selection.selectable}- selectionItem={selection.selectionItem}onSelect={selection.onSelect}showSelectedBackgroundcontainsSelection={false}@@ -175,7 +174,6 @@ const TimelineExpandedRowInner: React.FC<TimelineExpandedRowProps> = ({}}selected={selection.selected}selectable={selection.selectable}- selectionItem={selection.selectionItem}onSelect={selection.onSelect}showSelectedBackgroundcontainsSelection={false}diff --git a/packages/studio/src/components/Timeline/TimelineHeightContainer.tsx b/packages/studio/src/components/Timeline/TimelineHeightContainer.tsxindex 4a5f4a3413..32f149451c 100644--- a/packages/studio/src/components/Timeline/TimelineHeightContainer.tsx+++ b/packages/studio/src/components/Timeline/TimelineHeightContainer.tsx@@ -1,7 +1,6 @@import React, {useMemo} from 'react';-import type {TimelineTrackData} from '../../helpers/get-timeline-sequence-sort-key';import {TIMELINE_BACKGROUND} from './TimelineSelection';-import {useTimelineHeight} from './use-timeline-height';+import {useTimelineVirtualization} from './TimelineVirtualization';const baseStyle: React.CSSProperties = {display: 'flex',@@ -12,16 +11,13 @@ const baseStyle: React.CSSProperties = {};const TimelineHeightContainerInner: React.FC<{- readonly shown: TimelineTrackData[];- readonly hasBeenCut: boolean;- readonly isStill: boolean;readonly children: React.ReactNode;-}> = ({shown, hasBeenCut, isStill, children}) => {- const height = useTimelineHeight({shown, hasBeenCut, isStill});+}> = ({children}) => {+ const {totalSize} = useTimelineVirtualization();const style = useMemo<React.CSSProperties>(- () => ({...baseStyle, height}),- [height],+ () => ({...baseStyle, height: totalSize}),+ [totalSize],);return <div style={style}>{children}</div>;diff --git a/packages/studio/src/components/Timeline/TimelineList.tsx b/packages/studio/src/components/Timeline/TimelineList.tsxindex a798939587..df731e8f20 100644--- a/packages/studio/src/components/Timeline/TimelineList.tsx+++ b/packages/studio/src/components/Timeline/TimelineList.tsx@@ -1,62 +1,54 @@-import React, {useMemo} from 'react';+import React from 'react';import {BACKGROUND} from '../../helpers/colors';-import type {TimelineTrackData} from '../../helpers/get-timeline-sequence-sort-key';-import {- nestTimelineTracks,- type NestedTimelineTrack,-} from './nest-timeline-tracks';import {TimelineSequenceItem} from './TimelineSequenceItem';-import {TimelineTimePadding} from './TimelineTimeIndicators';+import {+ type TimelineVirtualRow,+ useTimelineVirtualization,+} from './TimelineVirtualization';const container: React.CSSProperties = {flex: 1,background: BACKGROUND,+ position: 'relative',};const TimelineListTrack: React.FC<{- readonly nestedTrack: NestedTimelineTrack<TimelineTrackData>;-}> = ({nestedTrack}) => {- const {track, children, siblingIndex} = nestedTrack;+ readonly row: TimelineVirtualRow;+}> = ({row}) => {+ const {afterDropLineOffset, siblingIndex, track} = row;return (- <div>- <TimelineSequenceItem- siblingIndex={siblingIndex}- connectedCompositions={track.connectedCompositions ?? []}- nestedDepth={track.depth}- sequence={track.sequence}- nodePathInfo={track.nodePathInfo}- keyframeDisplayOffset={track.keyframeDisplayOffset}- sequenceFrameOffset={track.sequenceFrameOffset}- >- {children.map((child) => (- <TimelineListTrack- key={child.track.sequence.id}- nestedTrack={child}- />- ))}- </TimelineSequenceItem>- </div>+ <TimelineSequenceItem+ afterDropLineOffset={afterDropLineOffset}+ siblingIndex={siblingIndex}+ connectedCompositions={track.connectedCompositions ?? []}+ nestedDepth={track.depth}+ sequence={track.sequence}+ nodePathInfo={track.nodePathInfo}+ keyframeDisplayOffset={track.keyframeDisplayOffset}+ sequenceFrameOffset={track.sequenceFrameOffset}+ />);};-export const TimelineList: React.FC<{- readonly timeline: TimelineTrackData[];- readonly showTimePadding: boolean;-}> = ({timeline, showTimePadding}) => {- const nestedTimeline = useMemo(- () => nestTimelineTracks(timeline),- [timeline],- );+export const TimelineList: React.FC = () => {+ const {rows, tracksEnd, virtualItems} = useTimelineVirtualization();return (- <div style={container}>- {showTimePadding ? <TimelineTimePadding /> : null}- {nestedTimeline.map((nestedTrack) => (- <TimelineListTrack- key={nestedTrack.track.sequence.id}- nestedTrack={nestedTrack}- />+ <div style={{...container, height: tracksEnd}}>+ {virtualItems.map((virtualItem) => (+ <div+ key={virtualItem.key}+ style={{+ height: virtualItem.size,+ left: 0,+ position: 'absolute',+ top: virtualItem.start,+ width: '100%',+ }}+ >+ <TimelineListTrack row={rows[virtualItem.index]} />+ </div>))}</div>);diff --git a/packages/studio/src/components/Timeline/TimelineRowChrome.tsx b/packages/studio/src/components/Timeline/TimelineRowChrome.tsxindex 1237d9de66..22ac5b77f3 100644--- a/packages/studio/src/components/Timeline/TimelineRowChrome.tsx+++ b/packages/studio/src/components/Timeline/TimelineRowChrome.tsx@@ -1,4 +1,4 @@-import React, {useCallback, useContext, useMemo, useRef} from 'react';+import React, {useCallback, useContext, useMemo} from 'react';import {TIMELINE_TRACK_SEPARATOR} from '../../helpers/colors';import {Padder} from './Padder';import {@@ -7,11 +7,7 @@ import {} from './timeline-row-layout';import {TimelineRowLayoutContext} from './TimelineRowLayoutContext';import type {TimelineSelectionInteraction} from './TimelineSelection';-import {- getTimelineRowHighlightBackground,- type TimelineSelection,- useTimelineFocusableItem,-} from './TimelineSelection';+import {getTimelineRowHighlightBackground} from './TimelineSelection';const rowBase: React.CSSProperties = {alignItems: 'stretch',@@ -65,7 +61,6 @@ export const TimelineRowChrome: React.FC<{readonly style: React.CSSProperties;readonly selected: boolean;readonly selectable: boolean;- readonly selectionItem: TimelineSelection | null;readonly onSelect: (interaction?: TimelineSelectionInteraction) => void;readonly showSelectedBackground: boolean;readonly containsSelection: boolean;@@ -90,7 +85,6 @@ export const TimelineRowChrome: React.FC<{style,selected,selectable,- selectionItem,onSelect,showSelectedBackground,containsSelection,@@ -104,7 +98,6 @@ export const TimelineRowChrome: React.FC<{onPointerEnter,onPointerLeave,}) => {- const ref = useRef<HTMLDivElement>(null);const {basePadding,keyframeControlsPlacement,@@ -112,7 +105,6 @@ export const TimelineRowChrome: React.FC<{rowHorizontalMargin,} = useContext(TimelineRowLayoutContext);const indentWidth = getTimelineRowIndentWidth(depth);- useTimelineFocusableItem(selectionItem, ref);const chromeColumnStyle = useMemo((): React.CSSProperties => ({@@ -211,7 +203,6 @@ export const TimelineRowChrome: React.FC<{if (outerStyle) {return (<div- ref={ref}style={outerStyle}onDragLeave={onDragLeave}onDragOver={onDragOver}@@ -229,7 +220,6 @@ export const TimelineRowChrome: React.FC<{return (<div- ref={ref}onDragLeave={onDragLeave}onDragOver={onDragOver}onDrop={onDrop}diff --git a/packages/studio/src/components/Timeline/TimelineSelection.tsx b/packages/studio/src/components/Timeline/TimelineSelection.tsxindex 35e28e6a89..ef1bb5bcd8 100644--- a/packages/studio/src/components/Timeline/TimelineSelection.tsx+++ b/packages/studio/src/components/Timeline/TimelineSelection.tsx@@ -62,7 +62,6 @@ import {getSelectedTimelineExpandedRowKeys,isTimelineExpandedNodeSelected,} from './timeline-expanded-filter';-import {timelineVerticalScroll} from './timeline-refs';import {TimelineClipboardKeybindings} from './TimelineClipboardKeybindings';import {TimelineDeleteKeybindings} from './TimelineDeleteKeybindings';@@ -609,6 +608,7 @@ export const extendTimelineMarqueeSelection = ({type TimelineSelectionContextValue = {readonly canSelect: boolean;+ readonly revealRequest: TimelineSelectionRevealRequest | null;readonly selectedItems: readonly TimelineSelection[];readonly isSelected: (item: TimelineSelection) => boolean;readonly selectItem: (@@ -625,10 +625,6 @@ type TimelineSelectionContextValue = {item: TimelineSelection,getRect: () => DOMRect | null,) => () => void;- readonly registerFocusableItem: (- item: TimelineSelection,- getElement: () => Element | null,- ) => () => void;readonly getMarqueeSelection: (marqueeRect: TimelineMarqueeRect,lockedSelectionKind: TimelineMarqueeSelectionKind | null,@@ -642,12 +638,12 @@ type TimelineSelectionContextValue = {const defaultTimelineSelectionContextValue: TimelineSelectionContextValue = {canSelect: false,+ revealRequest: null,selectedItems: [],isSelected: () => false,selectItem: () => undefined,selectItems: () => undefined,registerMarqueeSelectableItem: () => () => undefined,- registerFocusableItem: () => () => undefined,getMarqueeSelection: () => ({lockedSelectionKind: null,selectedItems: [],@@ -683,22 +679,15 @@ export const TimelineSelectionOrderProvider: React.FC<{const CurrentTimelineSelectionContext =createContext<React.RefObject<TimelineSelectionContextValue> | null>(null);-const TIMELINE_SELECTION_REVEAL_RETRY_COUNT = 2;-type TimelineSelectionOptions = {readonly reveal?: boolean;};type TimelineSelectionRevealRequest = {- readonly key: string;+ readonly item: TimelineSelection;readonly token: number;};-type TimelineFocusableItem = {- readonly getElement: () => Element | null;- readonly order: number;-};-const parseEffectIndex = (effectIndex: string): number | null => {const parsed = Number(effectIndex);if (!Number.isInteger(parsed) || parsed < 0) {@@ -1185,10 +1174,6 @@ export const TimelineSelectionProvider: React.FC<{>(),);const marqueeRegistrationCounter = useRef(0);- const focusableItems = useRef(- new Map<string, Map<number, TimelineFocusableItem>>(),- );- const focusableRegistrationCounter = useRef(0);const [revealRequest, setRevealRequest] =useState<TimelineSelectionRevealRequest | null>(null);@@ -1226,71 +1211,9 @@ export const TimelineSelectionProvider: React.FC<{getCurrentAvailableSelectionState(selectedItems);const availableSelectedItems = availableSelectionState.selectedItems;- const revealSelectionKey = useCallback((selectedKey: string) => {- let cancelled = false;- let animationFrame: number | null = null;-- const reveal = (attempt: number) => {- if (cancelled) {- return;- }-- const scrollParent = timelineVerticalScroll.current;- const focusableRegistrations = focusableItems.current.get(selectedKey);- const focusableElement =- scrollParent && focusableRegistrations- ? [...focusableRegistrations.values()]- .sort((a, b) => a.order - b.order)- .map((registered) => registered.getElement())- .find(- (element): element is Element =>- element !== null && scrollParent.contains(element),- )- : null;- const rect =- focusableElement?.getBoundingClientRect() ??- marqueeSelectableItems.current.get(selectedKey)?.getRect();-- if (!scrollParent || !rect) {- if (attempt < TIMELINE_SELECTION_REVEAL_RETRY_COUNT) {- animationFrame = requestAnimationFrame(() => reveal(attempt + 1));- }-- return;- }-- const parentRect = scrollParent.getBoundingClientRect();- if (rect.top >= parentRect.top && rect.bottom <= parentRect.bottom) {- return;- }-- const elementCenter = rect.top + rect.height / 2;- const parentCenter = parentRect.top + parentRect.height / 2;- scrollParent.scrollTop += elementCenter - parentCenter;- };-- animationFrame = requestAnimationFrame(() => reveal(0));-- return () => {- cancelled = true;- if (animationFrame !== null) {- cancelAnimationFrame(animationFrame);- }- };- }, []);-- useEffect(() => {- if (revealRequest === null) {- return;- }-- return revealSelectionKey(revealRequest.key);- }, [revealRequest, revealSelectionKey]);-const requestRevealSelectionItem = useCallback((item: TimelineSelection) => {- const key = getTimelineSelectionKey(item);setRevealRequest((previousRequest) => ({- key,+ item,token: (previousRequest?.token ?? 0) + 1,}));}, []);@@ -1452,30 +1375,6 @@ export const TimelineSelectionProvider: React.FC<{[],);- const registerFocusableItem = useCallback(- (item: TimelineSelection, getElement: () => Element | null) => {- const key = getTimelineSelectionKey(item);- const registrationOrder = focusableRegistrationCounter.current;- focusableRegistrationCounter.current += 1;- const registrations =- focusableItems.current.get(key) ??- new Map<number, TimelineFocusableItem>();- registrations.set(registrationOrder, {- getElement,- order: registrationOrder,- });- focusableItems.current.set(key, registrations);- return () => {- const latestRegistrations = focusableItems.current.get(key);- latestRegistrations?.delete(registrationOrder);- if (latestRegistrations?.size === 0) {- focusableItems.current.delete(key);- }- };- },- [],- );-const getMarqueeSelectionForRect = useCallback((marqueeRect: TimelineMarqueeRect,@@ -1535,24 +1434,24 @@ export const TimelineSelectionProvider: React.FC<{const value = useMemo((): TimelineSelectionContextValue => ({canSelect,+ revealRequest,selectedItems: availableSelectedItems,isSelected,selectItem,selectItems,registerMarqueeSelectableItem,- registerFocusableItem,getMarqueeSelection: getMarqueeSelectionForRect,containsSelection,clearSelection,}),[canSelect,+ revealRequest,availableSelectedItems,isSelected,selectItem,selectItems,registerMarqueeSelectableItem,- registerFocusableItem,getMarqueeSelectionForRect,containsSelection,clearSelection,@@ -1744,21 +1643,6 @@ export const useTimelineMarqueeSelectableItem = (}, [item, ref, registerMarqueeSelectableItem]);};-export const useTimelineFocusableItem = (- item: TimelineSelection | null,- ref: React.RefObject<Element | null>,-) => {- const {registerFocusableItem} = useTimelineSelection();-- useEffect(() => {- if (item === null) {- return;- }-- return registerFocusableItem(item, () => ref.current);- }, [item, ref, registerFocusableItem]);-};-export const useTimelineRowSelection = (nodePathInfo: SequenceNodePathInfo | null,) => {diff --git a/packages/studio/src/components/Timeline/TimelineSequenceItem.tsx b/packages/studio/src/components/Timeline/TimelineSequenceItem.tsxindex 688e9c3891..5433463f72 100644--- a/packages/studio/src/components/Timeline/TimelineSequenceItem.tsx+++ b/packages/studio/src/components/Timeline/TimelineSequenceItem.tsx@@ -189,7 +189,9 @@ const sequenceReorderLineBase: React.CSSProperties = {const sequenceReorderAfterLineWrapper: React.CSSProperties = {height: 0,- position: 'relative',+ left: 0,+ position: 'absolute',+ right: 0,};const sequenceReorderAfterLine: React.CSSProperties = {@@ -260,7 +262,7 @@ type SequenceDropTarget =};const TimelineSequenceItemInner: React.FC<{- readonly children: React.ReactNode;+ readonly afterDropLineOffset: number;readonly sequence: TSequence;readonly connectedCompositions: readonly _InternalTypes['AnyComposition'][];readonly nestedDepth: number;@@ -269,7 +271,7 @@ const TimelineSequenceItemInner: React.FC<{readonly sequenceFrameOffset: number;readonly siblingIndex: number;}> = ({- children,+ afterDropLineOffset,connectedCompositions,nestedDepth,sequence,@@ -290,7 +292,7 @@ const TimelineSequenceItemInner: React.FC<{const {isHighestContext} = useKeybinding();const selectAsset = useSelectAsset();const selectComposition = useSelectComposition();- const {onSelect, selectable, selected, selectionItem} =+ const {onSelect, selectable, selected} =useTimelineRowSelection(nodePathInfo);const {selectItem, selectedItems} = useTimelineSelection();const containsSelection = useTimelineRowContainsSelection(nodePathInfo);@@ -1242,7 +1244,6 @@ const TimelineSequenceItemInner: React.FC<{style={rowStyle}selected={selected}selectable={selectable}- selectionItem={selectionItem}onSelect={onSelect}showSelectedBackgroundcontainsSelection={containsSelection}@@ -1307,6 +1308,16 @@ const TimelineSequenceItemInner: React.FC<{<div style={sequenceReorderLineStyle} />) : null}{trackRow}+ {sequenceDropIndicator === 'after' ? (+ <div+ style={{+ ...sequenceReorderAfterLineWrapper,+ top: afterDropLineOffset,+ }}+ >+ <div style={sequenceReorderAfterLine} />+ </div>+ ) : null}</div>) : (trackRow@@ -1335,12 +1346,6 @@ const TimelineSequenceItemInner: React.FC<{keyframeDisplayOffset={keyframeDisplayOffset}/>) : null}- {children}- {sequenceDropIndicator === 'after' ? (- <div style={sequenceReorderAfterLineWrapper}>- <div style={sequenceReorderAfterLine} />- </div>- ) : null}</>);};diff --git a/packages/studio/src/components/Timeline/TimelineSequencePropItem.tsx b/packages/studio/src/components/Timeline/TimelineSequencePropItem.tsxindex 3d0e3814ad..a41d1d2f5c 100644--- a/packages/studio/src/components/Timeline/TimelineSequencePropItem.tsx+++ b/packages/studio/src/components/Timeline/TimelineSequencePropItem.tsx@@ -632,7 +632,6 @@ export const TimelineSequencePropItem: React.FC<{style={style}selected={selection.selected}selectable={selection.selectable}- selectionItem={selection.selectionItem}onSelect={selection.onSelect}onDoubleClick={onPropertyDoubleClick}showSelectedBackgrounddiff --git a/packages/studio/src/components/Timeline/TimelineTracks.tsx b/packages/studio/src/components/Timeline/TimelineTracks.tsxindex 5fc0d54e69..4b94bae99f 100644--- a/packages/studio/src/components/Timeline/TimelineTracks.tsx+++ b/packages/studio/src/components/Timeline/TimelineTracks.tsx@@ -1,13 +1,13 @@import React, {useMemo} from 'react';-import type {TimelineTrackData} from '../../helpers/get-timeline-sequence-sort-key';import {TIMELINE_PADDING} from '../../helpers/timeline-layout';import {MaxTimelineTracksReached} from './MaxTimelineTracks';-import {TimelineTimePadding} from './TimelineTimeIndicators';import {TimelineTrack} from './TimelineTrack';+import {useTimelineVirtualization} from './TimelineVirtualization';const content: React.CSSProperties = {paddingLeft: TIMELINE_PADDING,paddingRight: TIMELINE_PADDING,+ position: 'relative',};const timelineContent: React.CSSProperties = {@@ -15,9 +15,9 @@ const timelineContent: React.CSSProperties = {};const TimelineTracksInner: React.FC<{- readonly timeline: TimelineTrackData[];readonly hasBeenCut: boolean;-}> = ({timeline, hasBeenCut}) => {+}> = ({hasBeenCut}) => {+ const {rows, tracksEnd, virtualItems} = useTimelineVirtualization();const timelineStyle: React.CSSProperties = useMemo(() => {return {...timelineContent,@@ -27,10 +27,20 @@ const TimelineTracksInner: React.FC<{return (<div style={timelineStyle}>- <div style={content}>- <TimelineTimePadding />- {timeline.map((track) => (- <TimelineTrack key={track.sequence.id} track={track} />+ <div style={{...content, height: tracksEnd}}>+ {virtualItems.map((virtualItem) => (+ <div+ key={virtualItem.key}+ style={{+ height: virtualItem.size,+ left: TIMELINE_PADDING,+ position: 'absolute',+ right: TIMELINE_PADDING,+ top: virtualItem.start,+ }}+ >+ <TimelineTrack track={rows[virtualItem.index].track} />+ </div>))}</div>{hasBeenCut ? <MaxTimelineTracksReached /> : null}diff --git a/packages/studio/src/components/Timeline/TimelineVirtualization.tsx b/packages/studio/src/components/Timeline/TimelineVirtualization.tsxnew file mode 100644index 0000000000..43aa5972dc--- /dev/null+++ b/packages/studio/src/components/Timeline/TimelineVirtualization.tsx@@ -0,0 +1,220 @@+import {+ defaultRangeExtractor,+ type Range,+ type VirtualItem,+ useVirtualizer,+} from '@tanstack/react-virtual';+import React, {+ createContext,+ useCallback,+ useContext,+ useEffect,+ useLayoutEffect,+ useMemo,+ useRef,+} from 'react';+import type {TimelineTrackData} from '../../helpers/get-timeline-sequence-sort-key';+import {TIMELINE_ITEM_BORDER_BOTTOM} from '../../helpers/timeline-layout';+import {MAX_TIMELINE_TRACKS_NOTICE_HEIGHT} from './MaxTimelineTracks';+import {timelineVerticalScroll} from './timeline-refs';+import {+ getTimelineSequenceSelectionKey,+ type TimelineSelection,+ useTimelineSelection,+} from './TimelineSelection';+import {TIMELINE_TIME_INDICATOR_HEIGHT} from './TimelineTimeIndicators';+import {useTimelineTrackHeights} from './use-timeline-height';++export type TimelineVirtualRow = {+ readonly afterDropLineOffset: number;+ readonly siblingIndex: number;+ readonly track: TimelineTrackData;+};++type TimelineVirtualizationContextValue = {+ readonly rows: readonly TimelineVirtualRow[];+ readonly totalSize: number;+ readonly tracksEnd: number;+ readonly virtualItems: readonly VirtualItem[];+};++const TimelineVirtualizationContext =+ createContext<TimelineVirtualizationContextValue | null>(null);++const getSelectionTrackKey = (selection: TimelineSelection): string | null => {+ if (selection.type === 'guide') {+ return null;+ }++ return getTimelineSequenceSelectionKey(selection.nodePathInfo);+};++export const TimelineVirtualizationProvider: React.FC<{+ readonly children: React.ReactNode;+ readonly hasBeenCut: boolean;+ readonly isStill: boolean;+ readonly timeline: readonly TimelineTrackData[];+}> = ({children, hasBeenCut, isStill, timeline}) => {+ const trackHeights = useTimelineTrackHeights({timeline});+ const {revealRequest, selectedItems} = useTimelineSelection();+ const paddingStart = isStill ? 0 : TIMELINE_TIME_INDICATOR_HEIGHT;+ const paddingEnd =+ TIMELINE_ITEM_BORDER_BOTTOM ++ (hasBeenCut ? MAX_TIMELINE_TRACKS_NOTICE_HEIGHT : 0);++ const layout = useMemo(() => {+ const siblingIndexes = new Array<number>(timeline.length);+ const subtreeEndIndexes = new Array<number>(timeline.length).fill(+ timeline.length,+ );+ const openTracks: Array<{depth: number; index: number}> = [];+ const siblingCounts = new Map<number | null, number>();++ for (let index = 0; index < timeline.length; index++) {+ const {depth} = timeline[index];+ while (+ openTracks.length > 0 &&+ openTracks[openTracks.length - 1].depth >= depth+ ) {+ const completed = openTracks.pop()!;+ subtreeEndIndexes[completed.index] = index;+ }++ const parentIndex = openTracks[openTracks.length - 1]?.index ?? null;+ const siblingIndex = siblingCounts.get(parentIndex) ?? 0;+ siblingIndexes[index] = siblingIndex;+ siblingCounts.set(parentIndex, siblingIndex + 1);+ openTracks.push({depth, index});+ }++ const offsets = new Array<number>(timeline.length + 1);+ offsets[0] = paddingStart;+ for (let index = 0; index < trackHeights.length; index++) {+ offsets[index + 1] = offsets[index] + trackHeights[index];+ }++ const rows = timeline.map(+ (track, index): TimelineVirtualRow => ({+ afterDropLineOffset: offsets[subtreeEndIndexes[index]] - offsets[index],+ siblingIndex: siblingIndexes[index],+ track,+ }),+ );+ const rootTrackIndexes = new Map<string, number>();+ for (let index = 0; index < timeline.length; index++) {+ const {nodePathInfo} = timeline[index];+ if (nodePathInfo !== null) {+ rootTrackIndexes.set(+ getTimelineSequenceSelectionKey(nodePathInfo),+ index,+ );+ }+ }++ return {+ rootTrackIndexes,+ rows,+ tracksEnd: offsets[offsets.length - 1],+ };+ }, [paddingStart, timeline, trackHeights]);++ const selectedTrackIndexes = useMemo(() => {+ const indexes = new Set<number>();+ if (selectedItems.length !== 1) {+ return indexes;+ }++ for (const selectedItem of selectedItems) {+ const key = getSelectionTrackKey(selectedItem);+ const index = key === null ? undefined : layout.rootTrackIndexes.get(key);+ if (index !== undefined) {+ indexes.add(index);+ }+ }++ return indexes;+ }, [layout.rootTrackIndexes, selectedItems]);+ const trackHeightsRef = useRef(trackHeights);+ trackHeightsRef.current = trackHeights;+ const timelineRef = useRef(timeline);+ timelineRef.current = timeline;++ const estimateSize = useCallback(+ (index: number) => trackHeightsRef.current[index] ?? 0,+ [],+ );+ const getItemKey = useCallback(+ (index: number) => timelineRef.current[index]?.sequence.id ?? index,+ [],+ );+ const rangeExtractor = useCallback(+ (range: Range) => {+ const indexes = new Set(defaultRangeExtractor(range));+ for (const selectedIndex of selectedTrackIndexes) {+ indexes.add(selectedIndex);+ }++ return [...indexes].sort((a, b) => a - b);+ },+ [selectedTrackIndexes],+ );+ const getScrollElement = useCallback(+ () => timelineVerticalScroll.current,+ [],+ );++ const virtualizer = useVirtualizer({+ count: timeline.length,+ estimateSize,+ getItemKey,+ getScrollElement,+ overscan: 8,+ paddingEnd,+ paddingStart,+ rangeExtractor,+ });++ useLayoutEffect(() => {+ virtualizer.measure();+ }, [trackHeights, virtualizer]);++ useEffect(() => {+ if (revealRequest === null) {+ return;+ }++ const key = getSelectionTrackKey(revealRequest.item);+ const index = key === null ? undefined : layout.rootTrackIndexes.get(key);+ if (index !== undefined) {+ virtualizer.scrollToIndex(index, {align: 'center'});+ }+ }, [layout.rootTrackIndexes, revealRequest, virtualizer]);++ const virtualItems = virtualizer.getVirtualItems();+ const value = useMemo(+ (): TimelineVirtualizationContextValue => ({+ rows: layout.rows,+ totalSize: layout.tracksEnd + paddingEnd,+ tracksEnd: layout.tracksEnd,+ virtualItems,+ }),+ [layout.rows, layout.tracksEnd, paddingEnd, virtualItems],+ );++ return (+ <TimelineVirtualizationContext.Provider value={value}>+ {children}+ </TimelineVirtualizationContext.Provider>+ );+};++export const useTimelineVirtualization = () => {+ const context = useContext(TimelineVirtualizationContext);+ if (context === null) {+ throw new Error(+ 'useTimelineVirtualization must be used inside TimelineVirtualizationProvider',+ );+ }++ return context;+};diff --git a/packages/studio/src/components/Timeline/use-timeline-height.ts b/packages/studio/src/components/Timeline/use-timeline-height.tsindex ff404ca263..e7c93556a8 100644--- a/packages/studio/src/components/Timeline/use-timeline-height.ts+++ b/packages/studio/src/components/Timeline/use-timeline-height.ts@@ -1,4 +1,4 @@-import {useContext, useMemo} from 'react';+import {useContext, useMemo, useRef} from 'react';import {Internals} from 'remotion';import {StudioServerConnectionCtx} from '../../helpers/client-id';import type {TimelineTrackData} from '../../helpers/get-timeline-sequence-sort-key';@@ -12,24 +12,18 @@ import {import {useRuntimeValueSnapshots} from '../../helpers/use-runtime-values';import {ExpandedTracksGetterContext} from '../ExpandedTracksProvider';import {getNodeHasKeyframes} from './get-node-keyframes';-import {MAX_TIMELINE_TRACKS_NOTICE_HEIGHT} from './MaxTimelineTracks';import {filterTimelineExpandedTree,getSelectedTimelineExpandedRowKeys,isTimelineExpandedNodeSelected,} from './timeline-expanded-filter';import {useTimelineSelection} from './TimelineSelection';-import {TIMELINE_TIME_INDICATOR_HEIGHT} from './TimelineTimeIndicators';-export const useTimelineHeight = ({- shown,- hasBeenCut,- isStill,+export const useTimelineTrackHeights = ({+ timeline,}: {- shown: TimelineTrackData[];- hasBeenCut: boolean;- isStill: boolean;-}): number => {+ timeline: readonly TimelineTrackData[];+}): readonly number[] => {const {getIsExpanded} = useContext(ExpandedTracksGetterContext);const {previewServerState} = useContext(StudioServerConnectionCtx);const {propStatuses} = useContext(Internals.VisualModePropStatusesContext);@@ -45,7 +39,7 @@ export const useTimelineHeight = ({);const expandedControls = useMemo(() =>- shown.flatMap((track) => {+ timeline.flatMap((track) => {if (!previewServerConnected ||track.nodePathInfo === null ||@@ -57,7 +51,7 @@ export const useTimelineHeight = ({return [track.sequence.controls];}),- [getIsExpanded, previewServerConnected, shown],+ [getIsExpanded, previewServerConnected, timeline],);const runtimeValueSnapshots = useRuntimeValueSnapshots(expandedControls);const runtimeValuesByStore = useMemo(@@ -71,8 +65,8 @@ export const useTimelineHeight = ({[expandedControls, runtimeValueSnapshots],);- return useMemo(() => {- const tracksHeight = shown.reduce((acc, track) => {+ const heights = useMemo(() => {+ return timeline.map((track) => {const isExpanded =previewServerConnected &&track.nodePathInfo !== null &&@@ -131,19 +125,10 @@ export const useTimelineHeight = ({const separators = Math.max(0, flat.length - 1);return totalRowsHeight + separators + TIMELINE_ITEM_BORDER_BOTTOM;})();- return acc + layerHeight + expandedHeight;- }, 0);-- return (- tracksHeight +- TIMELINE_ITEM_BORDER_BOTTOM +- (hasBeenCut ? MAX_TIMELINE_TRACKS_NOTICE_HEIGHT : 0) +- (isStill ? 0 : TIMELINE_TIME_INDICATOR_HEIGHT)- );+ return layerHeight + expandedHeight;+ });}, [- shown,- hasBeenCut,- isStill,+ timeline,previewServerConnected,getIsExpanded,propStatuses,@@ -152,4 +137,13 @@ export const useTimelineHeight = ({selectedRowKeys,runtimeValuesByStore,]);+ const stableHeights = useRef(heights);+ if (+ stableHeights.current.length !== heights.length ||+ heights.some((height, index) => stableHeights.current[index] !== height)+ ) {+ stableHeights.current = heights;+ }++ return stableHeights.current;};diff --git a/packages/studio/src/helpers/studio-runtime-config.ts b/packages/studio/src/helpers/studio-runtime-config.tsindex cc475cd505..a4eb4342ba 100644--- a/packages/studio/src/helpers/studio-runtime-config.ts+++ b/packages/studio/src/helpers/studio-runtime-config.ts@@ -1,5 +1,4 @@import type {StudioRuntimeConfig} from '@remotion/studio-shared';-import {DEFAULT_TIMELINE_TRACKS} from '@remotion/studio-shared';export const DEFAULT_BUFFER_STATE_DELAY_IN_MILLISECONDS = 300;@@ -36,7 +35,7 @@ export const getStudioKeyboardShortcutsEnabled = () => {};export const getStudioMaxTimelineTracks = () => {- return getStudioRuntimeConfig().maxTimelineTracks ?? DEFAULT_TIMELINE_TRACKS;+ return getStudioRuntimeConfig().maxTimelineTracks;};export const getStudioBufferStateDelayInMilliseconds = () => {