Skip to content

An open source design system that's fully customizable and agent ready

TypeScript
5.4 KB
Raw Blame
// Copyright (c) Meta Platforms, Inc. and affiliates.

/**
 * @file busy.unjudged.fixture.ts
 * @input One Chromium CI run of Lightbox's busy double-tap zoom proof
 * @output `ZOOM_START_CAST`: the run's block and, per cast frame, its time,
 *   the photo's top edge and height, and the control's x
 * @position Replayed by busy.unjudged.test.ts: at the zoom's slow start one
 *   frame moves the top edge under the cast's 1 px step
 */

/** Per frame: ms after the block began, top edge, height, control x (CSS px). */
export const ZOOM_START_CAST: {
  readonly block: {readonly from: number; readonly to: number};
  readonly frames: ReadonlyArray<
    readonly [number, number | null, number | null, number | null]
  >;
} = {
  block: {from: 1794208602379.5999, to: 1794208604879.5999},
  frames: [
    [-258.2, 223, 268, 130],
    [-241.5, 223, 268, 140],
    [-225.5, 223, 268, 150],
    [-210.3, 223, 268, 160],
    [-192.8, 223, 268, 170],
    [-176.4, 223, 268, 180],
    [-160.1, 223, 268, 190],
    [-143.7, 223, 268, 200],
    [-126.9, 223, 268, 210],
    [-109.9, 223, 268, 220],
    [-93.5, 223, 268, 230],
    [-76.9, 223, 268, 240],
    [-59.7, 223, 268, 230],
    [-39.7, 223, 268, 220],
    [-21.7, 223, 268, 210],
    [-4.9, 223, 268, 200],
    [17, 222, 270, 190],
    [38.9, 222, 271, 180],
    [56.3, 220, 274, 170],
    [72.6, 219, 276, 160],
    [89.4, 217, 280, 150],
    [106.3, 215, 284, 140],
    [122.9, 213, 288, 130],
    [139.2, 211, 292, 120],
    [156.3, 209, 297, 110],
    [172.2, 206, 302, 100],
    [189.3, 203, 308, 90],
    [206.1, 200, 314, 80],
    [222.9, 197, 320, 70],
    [239.2, 194, 326, 60],
    [256.1, 191, 332, 50],
    [273.9, 188, 338, 40],
    [289.7, 185, 344, 30],
    [305.7, 181, 352, 20],
    [322.7, 178, 358, 10],
    [339.9, 174, 366, 0],
    [355.9, 171, 372, 10],
    [373.3, 168, 378, 20],
    [389.7, 164, 386, 30],
    [406.2, 161, 392, 40],
    [422.5, 157, 400, 50],
    [439.9, 154, 406, 60],
    [456.2, 150, 414, 70],
    [472.6, 147, 420, 80],
    [489.9, 144, 426, 90],
    [506.2, 140, 434, 100],
    [522.6, 137, 440, 110],
    [539.4, 134, 446, 120],
    [556.9, 131, 452, 130],
    [573.3, 127, 460, 140],
    [589.6, 124, 466, 150],
    [606.1, 121, 472, 160],
    [622.8, 118, 478, 170],
    [639.2, 115, 484, 180],
    [656.7, 112, 490, 190],
    [672.7, 109, 496, 200],
    [689.5, 106, 502, 210],
    [705.7, 104, 506, 220],
    [723.2, 101, 512, 230],
    [739.2, 98, 518, 240],
    [756.4, 95, 524, 230],
    [772.6, 93, 528, 220],
    [789.8, 90, 534, 210],
    [805.9, 88, 538, 200],
    [823.4, 85, 544, 190],
    [839.8, 83, 548, 180],
    [856.1, 81, 552, 170],
    [872.7, 78, 558, 160],
    [890.1, 76, 562, 150],
    [907.3, 74, 566, 140],
    [923.8, 72, 570, 130],
    [939.9, 70, 574, 120],
    [956.6, 68, 578, 110],
    [973.1, 66, 582, 100],
    [989.3, 64, 586, 90],
    [1006.2, 62, 590, 80],
    [1023.2, 60, 594, 70],
    [1039.5, 58, 598, 60],
    [1055.7, 56, 602, 50],
    [1072.6, 55, 604, 40],
    [1090.7, 53, 608, 30],
    [1106.8, 52, 610, 20],
    [1122.8, 50, 614, 10],
    [1139.3, 48, 618, 0],
    [1158.2, 47, 620, 10],
    [1174.2, 46, 622, 20],
    [1190.1, 44, 626, 30],
    [1207, 43, 628, 40],
    [1223.6, 41, 632, 50],
    [1240.6, 40, 634, 60],
    [1256.3, 39, 636, 70],
    [1272.7, 38, 638, 80],
    [1289.6, 36, 642, 90],
    [1305.9, 35, 644, 100],
    [1323.5, 34, 646, 110],
    [1340, 33, 648, 120],
    [1357, 32, 650, 130],
    [1373.7, 31, 652, 140],
    [1390.2, 30, 654, 150],
    [1407, 29, 656, 160],
    [1424.1, 28, 658, 170],
    [1440.1, 27, 660, 180],
    [1456.9, 26, 662, 190],
    [1473.5, 25, 664, 200],
    [1490.2, 25, 664, 210],
    [1506.9, 24, 666, 220],
    [1523.3, 23, 668, 230],
    [1540.4, 22, 670, 240],
    [1557.1, 22, 670, 230],
    [1573.3, 21, 672, 220],
    [1589.9, 20, 674, 210],
    [1606.4, 20, 674, 200],
    [1623.1, 19, 676, 190],
    [1639.7, 18, 678, 180],
    [1656.4, 18, 678, 170],
    [1672.8, 17, 680, 160],
    [1689.6, 16, 682, 150],
    [1706.3, 16, 682, 140],
    [1722.8, 15, 684, 130],
    [1739.5, 15, 684, 120],
    [1756.2, 14, 686, 110],
    [1772.9, 14, 686, 100],
    [1789, 13, 688, 90],
    [1806.5, 13, 688, 80],
    [1822.4, 13, 688, 70],
    [1840, 12, 690, 60],
    [1857.7, 12, 690, 50],
    [1873.1, 11, 692, 40],
    [1889.6, 11, 692, 30],
    [1906.1, 11, 692, 20],
    [1923.5, 10, 694, 10],
    [1939.9, 10, 694, 0],
    [1956.2, 10, 695, 10],
    [1972.5, 9, 696, 20],
    [1990.1, 9, 696, 30],
    [2006.6, 9, 696, 40],
    [2023.2, 8, 698, 50],
    [2039.7, 8, 698, 60],
    [2056.4, 8, 698, 70],
    [2072.8, 7, 700, 80],
    [2089.4, 7, 700, 90],
    [2106.7, 7, 700, 100],
    [2123.3, 7, 700, 110],
    [2139.9, 6, 702, 120],
    [2156.6, 6, 702, 130],
    [2173.2, 6, 702, 140],
    [2189.7, 6, 702, 150],
    [2207.1, 6, 702, 160],
    [2223.5, 5, 704, 170],
    [2240.2, 5, 704, 180],
    [2256.3, 5, 704, 190],
    [2273.7, 5, 704, 200],
    [2290.6, 5, 704, 210],
    [2307.4, 5, 704, 220],
    [2324.2, 4, 706, 230],
    [2342.3, 4, 706, 240],
    [2358.4, 4, 706, 230],
    [2374.4, 4, 706, 220],
    [2390.5, 4, 706, 210],
    [2407.4, 4, 706, 200],
    [2424.2, 4, 707, 190],
    [2441, 3, 708, 180],
    [2457.5, 3, 708, 170],
    [2474, 3, 708, 160],
    [2491.8, 3, 708, 150],
    [2510.3, 3, 708, 140],
    [2529.3, 3, 708, 130],
    [2547, 3, 708, 120],
    [2563.7, 3, 708, 110],
    [2578.2, 3, 708, 100],
    [2592.6, 2, 710, 90],
    [2608.6, 2, 710, 80],
    [2622.9, 2, 710, 70],
    [2639.5, 2, 710, 60],
    [2656.4, 2, 710, 50],
  ],
};