@photoroom/ui 0.1.1 → 0.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/components/content/Tile/TileSelectable.d.ts +1 -1
- package/components/content/Tile/TileSelectable.d.ts.map +1 -1
- package/components/editor/ObjectItem/ObjectItem.d.ts +1 -0
- package/components/editor/ObjectItem/ObjectItem.d.ts.map +1 -1
- package/components/editor/ObjectPreview/ObjectPreview.d.ts +2 -1
- package/components/editor/ObjectPreview/ObjectPreview.d.ts.map +1 -1
- package/components/feed/TextSuggestion/TextSuggestion.d.ts +4 -2
- package/components/feed/TextSuggestion/TextSuggestion.d.ts.map +1 -1
- package/components/index.d.ts +6 -3
- package/components/index.d.ts.map +1 -1
- package/components/input/LargeOptionTile/LargeOptionTile.d.ts +30 -0
- package/components/input/LargeOptionTile/LargeOptionTile.d.ts.map +1 -0
- package/components/input/LargeOptionTile/index.d.ts +2 -0
- package/components/input/LargeOptionTile/index.d.ts.map +1 -0
- package/components/input/OptionTile/OptionTile.d.ts +30 -0
- package/components/input/OptionTile/OptionTile.d.ts.map +1 -0
- package/components/input/OptionTile/index.d.ts +2 -0
- package/components/input/OptionTile/index.d.ts.map +1 -0
- package/components/navigation/Breadcrumbs/Breadcrumbs.d.ts +4 -2
- package/components/navigation/Breadcrumbs/Breadcrumbs.d.ts.map +1 -1
- package/components/website/MissionHeroBlock/MissionHeroBlock.d.ts +7 -0
- package/components/website/MissionHeroBlock/MissionHeroBlock.d.ts.map +1 -0
- package/components/website/MissionHeroBlock/index.d.ts +2 -0
- package/components/website/MissionHeroBlock/index.d.ts.map +1 -0
- package/index.mjs +49219 -608
- package/package.json +1 -1
- package/react-textarea-autosize.browser.esm-C6Dsm-5Q.mjs +165 -0
- package/style.css +1 -1
- package/index10.mjs +0 -95
- package/index100.mjs +0 -69
- package/index101.mjs +0 -31
- package/index102.mjs +0 -78
- package/index103.mjs +0 -22
- package/index104.mjs +0 -98
- package/index105.mjs +0 -115
- package/index106.mjs +0 -26
- package/index107.mjs +0 -19
- package/index108.mjs +0 -39
- package/index109.mjs +0 -18
- package/index11.mjs +0 -24
- package/index110.mjs +0 -74
- package/index111.mjs +0 -192
- package/index112.mjs +0 -62
- package/index113.mjs +0 -29
- package/index114.mjs +0 -20
- package/index115.mjs +0 -61
- package/index116.mjs +0 -38
- package/index117.mjs +0 -138
- package/index118.mjs +0 -12
- package/index119.mjs +0 -99
- package/index12.mjs +0 -30
- package/index120.mjs +0 -50
- package/index121.mjs +0 -17
- package/index122.mjs +0 -60
- package/index123.mjs +0 -38
- package/index124.mjs +0 -35
- package/index125.mjs +0 -145
- package/index126.mjs +0 -11
- package/index127.mjs +0 -95
- package/index128.mjs +0 -26
- package/index129.mjs +0 -41
- package/index13.mjs +0 -74
- package/index130.mjs +0 -60
- package/index131.mjs +0 -98
- package/index132.mjs +0 -27
- package/index133.mjs +0 -74
- package/index134.mjs +0 -60
- package/index135.mjs +0 -36
- package/index136.mjs +0 -76
- package/index137.mjs +0 -31
- package/index138.mjs +0 -29
- package/index139.mjs +0 -19
- package/index14.mjs +0 -26
- package/index140.mjs +0 -94
- package/index141.mjs +0 -136
- package/index142.mjs +0 -27
- package/index143.mjs +0 -31
- package/index144.mjs +0 -42
- package/index145.mjs +0 -61
- package/index146.mjs +0 -7
- package/index147.mjs +0 -25
- package/index148.mjs +0 -126
- package/index149.mjs +0 -55
- package/index15.mjs +0 -24
- package/index150.mjs +0 -38
- package/index151.mjs +0 -160
- package/index152.mjs +0 -19
- package/index153.mjs +0 -56
- package/index154.mjs +0 -30
- package/index155.mjs +0 -35
- package/index156.mjs +0 -46
- package/index157.mjs +0 -69
- package/index158.mjs +0 -80
- package/index159.mjs +0 -22
- package/index16.mjs +0 -87
- package/index160.mjs +0 -106
- package/index161.mjs +0 -15
- package/index162.mjs +0 -51
- package/index163.mjs +0 -35
- package/index164.mjs +0 -31
- package/index165.mjs +0 -23
- package/index166.mjs +0 -75
- package/index167.mjs +0 -12
- package/index168.mjs +0 -26
- package/index169.mjs +0 -21
- package/index17.mjs +0 -27
- package/index170.mjs +0 -22
- package/index171.mjs +0 -26
- package/index172.mjs +0 -9
- package/index173.mjs +0 -7
- package/index174.mjs +0 -24
- package/index175.mjs +0 -94
- package/index176.mjs +0 -90
- package/index177.mjs +0 -21
- package/index178.mjs +0 -67
- package/index179.mjs +0 -30
- package/index18.mjs +0 -106
- package/index180.mjs +0 -65
- package/index181.mjs +0 -36
- package/index182.mjs +0 -39
- package/index183.mjs +0 -19
- package/index184.mjs +0 -17
- package/index185.mjs +0 -86
- package/index186.mjs +0 -32
- package/index187.mjs +0 -29
- package/index188.mjs +0 -26
- package/index189.mjs +0 -10
- package/index19.mjs +0 -35
- package/index190.mjs +0 -32
- package/index191.mjs +0 -29
- package/index192.mjs +0 -12
- package/index193.mjs +0 -24
- package/index194.mjs +0 -152
- package/index195.mjs +0 -16
- package/index196.mjs +0 -27
- package/index197.mjs +0 -19
- package/index198.mjs +0 -34
- package/index199.mjs +0 -256
- package/index20.mjs +0 -55
- package/index200.mjs +0 -93
- package/index201.mjs +0 -24
- package/index202.mjs +0 -10
- package/index203.mjs +0 -31
- package/index204.mjs +0 -14
- package/index205.mjs +0 -102
- package/index206.mjs +0 -33
- package/index207.mjs +0 -37
- package/index208.mjs +0 -88
- package/index209.mjs +0 -46
- package/index21.mjs +0 -93
- package/index210.mjs +0 -19
- package/index211.mjs +0 -32
- package/index212.mjs +0 -40
- package/index213.mjs +0 -31
- package/index214.mjs +0 -28
- package/index215.mjs +0 -33
- package/index216.mjs +0 -17
- package/index217.mjs +0 -19
- package/index218.mjs +0 -13
- package/index219.mjs +0 -54
- package/index22.mjs +0 -27
- package/index220.mjs +0 -92
- package/index221.mjs +0 -19
- package/index222.mjs +0 -17
- package/index223.mjs +0 -50
- package/index224.mjs +0 -9
- package/index225.mjs +0 -61
- package/index226.mjs +0 -27
- package/index227.mjs +0 -32
- package/index228.mjs +0 -23
- package/index229.mjs +0 -12
- package/index23.mjs +0 -9
- package/index230.mjs +0 -15
- package/index231.mjs +0 -19
- package/index232.mjs +0 -44
- package/index233.mjs +0 -56
- package/index234.mjs +0 -61
- package/index235.mjs +0 -36
- package/index236.mjs +0 -47
- package/index237.mjs +0 -51
- package/index238.mjs +0 -21
- package/index239.mjs +0 -9
- package/index24.mjs +0 -109
- package/index240.mjs +0 -57
- package/index241.mjs +0 -50
- package/index242.mjs +0 -51
- package/index243.mjs +0 -24
- package/index244.mjs +0 -11
- package/index245.mjs +0 -45
- package/index246.mjs +0 -110
- package/index247.mjs +0 -11
- package/index248.mjs +0 -26
- package/index249.mjs +0 -25
- package/index25.mjs +0 -32
- package/index250.mjs +0 -10
- package/index251.mjs +0 -10
- package/index252.mjs +0 -7
- package/index253.mjs +0 -74
- package/index254.mjs +0 -232
- package/index255.mjs +0 -90
- package/index256.mjs +0 -10
- package/index257.mjs +0 -18
- package/index258.mjs +0 -22
- package/index259.mjs +0 -10
- package/index26.mjs +0 -35
- package/index260.mjs +0 -9
- package/index261.mjs +0 -30
- package/index262.mjs +0 -31
- package/index263.mjs +0 -20
- package/index264.mjs +0 -6
- package/index265.mjs +0 -46
- package/index266.mjs +0 -31
- package/index267.mjs +0 -55
- package/index268.mjs +0 -36
- package/index269.mjs +0 -40
- package/index27.mjs +0 -50
- package/index270.mjs +0 -40
- package/index271.mjs +0 -37
- package/index272.mjs +0 -38
- package/index273.mjs +0 -6
- package/index274.mjs +0 -17
- package/index275.mjs +0 -10
- package/index276.mjs +0 -39
- package/index277.mjs +0 -97
- package/index278.mjs +0 -100
- package/index279.mjs +0 -15
- package/index28.mjs +0 -50
- package/index280.mjs +0 -21
- package/index281.mjs +0 -42
- package/index282.mjs +0 -47
- package/index283.mjs +0 -29
- package/index284.mjs +0 -44
- package/index285.mjs +0 -54
- package/index286.mjs +0 -21
- package/index287.mjs +0 -28
- package/index288.mjs +0 -55
- package/index289.mjs +0 -58
- package/index29.mjs +0 -30
- package/index290.mjs +0 -19
- package/index291.mjs +0 -18
- package/index292.mjs +0 -17
- package/index293.mjs +0 -20
- package/index294.mjs +0 -16
- package/index295.mjs +0 -32
- package/index296.mjs +0 -18
- package/index297.mjs +0 -7
- package/index298.mjs +0 -136
- package/index299.mjs +0 -55
- package/index3.mjs +0 -32
- package/index30.mjs +0 -83
- package/index300.mjs +0 -1023
- package/index301.mjs +0 -34
- package/index302.mjs +0 -36
- package/index303.mjs +0 -5
- package/index304.mjs +0 -243
- package/index305.mjs +0 -6
- package/index306.mjs +0 -76
- package/index307.mjs +0 -17
- package/index308.mjs +0 -235
- package/index309.mjs +0 -28
- package/index31.mjs +0 -35
- package/index310.mjs +0 -44
- package/index311.mjs +0 -10
- package/index312.mjs +0 -12
- package/index313.mjs +0 -133
- package/index314.mjs +0 -145
- package/index315.mjs +0 -239
- package/index316.mjs +0 -44
- package/index317.mjs +0 -47
- package/index318.mjs +0 -38
- package/index319.mjs +0 -714
- package/index32.mjs +0 -46
- package/index320.mjs +0 -37
- package/index321.mjs +0 -9
- package/index322.mjs +0 -21
- package/index323.mjs +0 -18
- package/index324.mjs +0 -47
- package/index325.mjs +0 -122
- package/index326.mjs +0 -226
- package/index327.mjs +0 -44
- package/index328.mjs +0 -10
- package/index329.mjs +0 -9
- package/index33.mjs +0 -37
- package/index330.mjs +0 -11
- package/index331.mjs +0 -12
- package/index332.mjs +0 -12
- package/index333.mjs +0 -262
- package/index334.mjs +0 -7
- package/index335.mjs +0 -14
- package/index336.mjs +0 -28
- package/index337.mjs +0 -11
- package/index338.mjs +0 -46
- package/index339.mjs +0 -37
- package/index34.mjs +0 -104
- package/index340.mjs +0 -100
- package/index341.mjs +0 -31
- package/index342.mjs +0 -104
- package/index343.mjs +0 -138
- package/index344.mjs +0 -61
- package/index345.mjs +0 -8
- package/index346.mjs +0 -21
- package/index347.mjs +0 -10
- package/index348.mjs +0 -42
- package/index349.mjs +0 -24
- package/index35.mjs +0 -51
- package/index350.mjs +0 -252
- package/index351.mjs +0 -78
- package/index352.mjs +0 -20
- package/index353.mjs +0 -17
- package/index354.mjs +0 -33
- package/index355.mjs +0 -76
- package/index356.mjs +0 -50
- package/index357.mjs +0 -23
- package/index358.mjs +0 -44
- package/index359.mjs +0 -48
- package/index36.mjs +0 -26
- package/index360.mjs +0 -265
- package/index361.mjs +0 -33
- package/index362.mjs +0 -63
- package/index363.mjs +0 -64
- package/index364.mjs +0 -340
- package/index365.mjs +0 -85
- package/index366.mjs +0 -36
- package/index367.mjs +0 -39
- package/index368.mjs +0 -52
- package/index369.mjs +0 -123
- package/index37.mjs +0 -41
- package/index370.mjs +0 -41
- package/index371.mjs +0 -25
- package/index372.mjs +0 -63
- package/index373.mjs +0 -26
- package/index374.mjs +0 -90
- package/index375.mjs +0 -39
- package/index376.mjs +0 -40
- package/index377.mjs +0 -40
- package/index378.mjs +0 -27
- package/index379.mjs +0 -60
- package/index38.mjs +0 -48
- package/index380.mjs +0 -436
- package/index381.mjs +0 -48
- package/index382.mjs +0 -1005
- package/index383.mjs +0 -31
- package/index384.mjs +0 -32
- package/index385.mjs +0 -8
- package/index386.mjs +0 -240
- package/index387.mjs +0 -27
- package/index388.mjs +0 -46
- package/index389.mjs +0 -8
- package/index39.mjs +0 -74
- package/index390.mjs +0 -18
- package/index391.mjs +0 -50
- package/index392.mjs +0 -26
- package/index393.mjs +0 -37
- package/index394.mjs +0 -64
- package/index395.mjs +0 -28
- package/index396.mjs +0 -13
- package/index397.mjs +0 -18
- package/index398.mjs +0 -44
- package/index399.mjs +0 -47
- package/index4.mjs +0 -41
- package/index40.mjs +0 -18
- package/index400.mjs +0 -108
- package/index401.mjs +0 -28
- package/index402.mjs +0 -34
- package/index403.mjs +0 -26
- package/index404.mjs +0 -39
- package/index405.mjs +0 -26
- package/index406.mjs +0 -16
- package/index407.mjs +0 -31
- package/index408.mjs +0 -67
- package/index409.mjs +0 -195
- package/index41.mjs +0 -31
- package/index410.mjs +0 -6
- package/index411.mjs +0 -5
- package/index412.mjs +0 -34
- package/index413.mjs +0 -16
- package/index414.mjs +0 -28
- package/index415.mjs +0 -14
- package/index416.mjs +0 -42
- package/index417.mjs +0 -2003
- package/index418.mjs +0 -10
- package/index419.mjs +0 -75
- package/index42.mjs +0 -48
- package/index420.mjs +0 -134
- package/index421.mjs +0 -10
- package/index422.mjs +0 -30
- package/index423.mjs +0 -71
- package/index424.mjs +0 -128
- package/index425.mjs +0 -18
- package/index426.mjs +0 -138
- package/index427.mjs +0 -14
- package/index428.mjs +0 -222
- package/index429.mjs +0 -17
- package/index43.mjs +0 -98
- package/index430.mjs +0 -72
- package/index431.mjs +0 -37
- package/index432.mjs +0 -57
- package/index433.mjs +0 -55
- package/index434.mjs +0 -53
- package/index435.mjs +0 -12
- package/index436.mjs +0 -653
- package/index437.mjs +0 -14
- package/index438.mjs +0 -49
- package/index439.mjs +0 -184
- package/index44.mjs +0 -31
- package/index440.mjs +0 -11
- package/index441.mjs +0 -28
- package/index442.mjs +0 -9
- package/index443.mjs +0 -7520
- package/index444.mjs +0 -32
- package/index445.mjs +0 -42
- package/index446.mjs +0 -9
- package/index447.mjs +0 -5
- package/index448.mjs +0 -182
- package/index449.mjs +0 -32
- package/index45.mjs +0 -33
- package/index450.mjs +0 -856
- package/index451.mjs +0 -36
- package/index452.mjs +0 -5
- package/index453.mjs +0 -87
- package/index454.mjs +0 -135
- package/index455.mjs +0 -163
- package/index456.mjs +0 -32
- package/index457.mjs +0 -80
- package/index458.mjs +0 -86
- package/index459.mjs +0 -58
- package/index46.mjs +0 -135
- package/index460.mjs +0 -7
- package/index461.mjs +0 -33
- package/index462.mjs +0 -16
- package/index463.mjs +0 -109
- package/index464.mjs +0 -101
- package/index465.mjs +0 -29
- package/index466.mjs +0 -42
- package/index467.mjs +0 -8
- package/index468.mjs +0 -8
- package/index469.mjs +0 -23
- package/index47.mjs +0 -25
- package/index470.mjs +0 -7
- package/index471.mjs +0 -10
- package/index472.mjs +0 -11
- package/index473.mjs +0 -6
- package/index474.mjs +0 -9
- package/index475.mjs +0 -8
- package/index476.mjs +0 -21
- package/index477.mjs +0 -17
- package/index478.mjs +0 -22
- package/index479.mjs +0 -14
- package/index48.mjs +0 -48
- package/index480.mjs +0 -18
- package/index481.mjs +0 -8
- package/index482.mjs +0 -12
- package/index483.mjs +0 -13
- package/index484.mjs +0 -12
- package/index485.mjs +0 -41
- package/index486.mjs +0 -6
- package/index487.mjs +0 -7
- package/index488.mjs +0 -8
- package/index489.mjs +0 -13
- package/index49.mjs +0 -111
- package/index490.mjs +0 -10
- package/index491.mjs +0 -7
- package/index492.mjs +0 -5
- package/index493.mjs +0 -21
- package/index494.mjs +0 -17
- package/index495.mjs +0 -56
- package/index496.mjs +0 -33
- package/index497.mjs +0 -40
- package/index498.mjs +0 -13
- package/index499.mjs +0 -6
- package/index5.mjs +0 -41
- package/index50.mjs +0 -206
- package/index500.mjs +0 -51
- package/index501.mjs +0 -10
- package/index502.mjs +0 -6
- package/index503.mjs +0 -32
- package/index504.mjs +0 -19
- package/index505.mjs +0 -14
- package/index506.mjs +0 -12
- package/index507.mjs +0 -5
- package/index508.mjs +0 -6
- package/index509.mjs +0 -6
- package/index51.mjs +0 -69
- package/index510.mjs +0 -5
- package/index511.mjs +0 -262
- package/index512.mjs +0 -19
- package/index513.mjs +0 -7
- package/index514.mjs +0 -14
- package/index515.mjs +0 -6
- package/index516.mjs +0 -30
- package/index517.mjs +0 -203
- package/index518.mjs +0 -8
- package/index519.mjs +0 -24
- package/index52.mjs +0 -98
- package/index520.mjs +0 -14
- package/index521.mjs +0 -7
- package/index522.mjs +0 -29
- package/index523.mjs +0 -7
- package/index524.mjs +0 -8
- package/index525.mjs +0 -28
- package/index526.mjs +0 -14
- package/index527.mjs +0 -5
- package/index528.mjs +0 -10
- package/index529.mjs +0 -9
- package/index53.mjs +0 -15
- package/index530.mjs +0 -22
- package/index531.mjs +0 -119
- package/index532.mjs +0 -31
- package/index533.mjs +0 -68
- package/index534.mjs +0 -37
- package/index535.mjs +0 -17
- package/index536.mjs +0 -44
- package/index537.mjs +0 -5
- package/index538.mjs +0 -6
- package/index539.mjs +0 -14
- package/index54.mjs +0 -56
- package/index540.mjs +0 -13
- package/index541.mjs +0 -12
- package/index542.mjs +0 -20
- package/index543.mjs +0 -13
- package/index544.mjs +0 -17
- package/index545.mjs +0 -68
- package/index546.mjs +0 -7
- package/index547.mjs +0 -5
- package/index548.mjs +0 -18
- package/index549.mjs +0 -19
- package/index55.mjs +0 -28
- package/index550.mjs +0 -7
- package/index551.mjs +0 -7
- package/index552.mjs +0 -5
- package/index553.mjs +0 -10
- package/index554.mjs +0 -56
- package/index555.mjs +0 -20
- package/index556.mjs +0 -12
- package/index557.mjs +0 -5
- package/index558.mjs +0 -7
- package/index559.mjs +0 -5
- package/index56.mjs +0 -27
- package/index560.mjs +0 -5
- package/index561.mjs +0 -8
- package/index562.mjs +0 -6
- package/index563.mjs +0 -10
- package/index564.mjs +0 -19
- package/index565.mjs +0 -5
- package/index566.mjs +0 -5
- package/index567.mjs +0 -9
- package/index568.mjs +0 -8
- package/index569.mjs +0 -12
- package/index57.mjs +0 -35
- package/index570.mjs +0 -10
- package/index571.mjs +0 -25
- package/index572.mjs +0 -36
- package/index573.mjs +0 -31
- package/index574.mjs +0 -33
- package/index575.mjs +0 -26
- package/index576.mjs +0 -53
- package/index577.mjs +0 -5
- package/index578.mjs +0 -5
- package/index579.mjs +0 -11
- package/index58.mjs +0 -36
- package/index580.mjs +0 -9
- package/index581.mjs +0 -36
- package/index582.mjs +0 -21
- package/index583.mjs +0 -50
- package/index584.mjs +0 -7
- package/index585.mjs +0 -9
- package/index586.mjs +0 -34
- package/index587.mjs +0 -9
- package/index588.mjs +0 -7
- package/index589.mjs +0 -15
- package/index59.mjs +0 -41
- package/index590.mjs +0 -5
- package/index591.mjs +0 -15
- package/index592.mjs +0 -209
- package/index593.mjs +0 -25
- package/index594.mjs +0 -403
- package/index595.mjs +0 -5
- package/index596.mjs +0 -49
- package/index597.mjs +0 -5
- package/index598.mjs +0 -121
- package/index599.mjs +0 -9
- package/index6.mjs +0 -13
- package/index60.mjs +0 -8
- package/index600.mjs +0 -60
- package/index601.mjs +0 -9
- package/index602.mjs +0 -7
- package/index603.mjs +0 -55
- package/index604.mjs +0 -16
- package/index605.mjs +0 -31
- package/index606.mjs +0 -46
- package/index607.mjs +0 -33
- package/index608.mjs +0 -25
- package/index609.mjs +0 -7
- package/index61.mjs +0 -73
- package/index610.mjs +0 -94
- package/index611.mjs +0 -13
- package/index612.mjs +0 -13
- package/index613.mjs +0 -12
- package/index614.mjs +0 -17
- package/index615.mjs +0 -7
- package/index616.mjs +0 -49
- package/index617.mjs +0 -235
- package/index618.mjs +0 -45
- package/index619.mjs +0 -409
- package/index62.mjs +0 -67
- package/index620.mjs +0 -202
- package/index621.mjs +0 -132
- package/index622.mjs +0 -51
- package/index623.mjs +0 -169
- package/index624.mjs +0 -264
- package/index625.mjs +0 -361
- package/index626.mjs +0 -44
- package/index627.mjs +0 -95
- package/index628.mjs +0 -112
- package/index629.mjs +0 -6
- package/index63.mjs +0 -42
- package/index630.mjs +0 -16
- package/index631.mjs +0 -8
- package/index632.mjs +0 -5
- package/index633.mjs +0 -2339
- package/index634.mjs +0 -10
- package/index635.mjs +0 -28
- package/index636.mjs +0 -25
- package/index637.mjs +0 -23
- package/index638.mjs +0 -33
- package/index639.mjs +0 -13
- package/index64.mjs +0 -81
- package/index640.mjs +0 -27
- package/index641.mjs +0 -29
- package/index642.mjs +0 -75
- package/index643.mjs +0 -45
- package/index644.mjs +0 -19
- package/index645.mjs +0 -44
- package/index646.mjs +0 -73
- package/index647.mjs +0 -26
- package/index648.mjs +0 -50
- package/index649.mjs +0 -44
- package/index65.mjs +0 -67
- package/index650.mjs +0 -50
- package/index651.mjs +0 -5
- package/index652.mjs +0 -57
- package/index653.mjs +0 -11
- package/index654.mjs +0 -16
- package/index655.mjs +0 -7
- package/index656.mjs +0 -586
- package/index657.mjs +0 -14
- package/index658.mjs +0 -17
- package/index659.mjs +0 -18
- package/index66.mjs +0 -129
- package/index660.mjs +0 -26
- package/index661.mjs +0 -5
- package/index662.mjs +0 -32
- package/index663.mjs +0 -9
- package/index664.mjs +0 -7
- package/index665.mjs +0 -11
- package/index666.mjs +0 -54
- package/index667.mjs +0 -23
- package/index668.mjs +0 -119
- package/index669.mjs +0 -11
- package/index67.mjs +0 -22
- package/index670.mjs +0 -25
- package/index671.mjs +0 -25
- package/index672.mjs +0 -10
- package/index673.mjs +0 -5
- package/index674.mjs +0 -32
- package/index675.mjs +0 -8
- package/index676.mjs +0 -76
- package/index677.mjs +0 -76
- package/index678.mjs +0 -77
- package/index679.mjs +0 -77
- package/index68.mjs +0 -55
- package/index680.mjs +0 -49
- package/index681.mjs +0 -49
- package/index682.mjs +0 -49
- package/index683.mjs +0 -49
- package/index684.mjs +0 -49
- package/index685.mjs +0 -49
- package/index686.mjs +0 -50
- package/index687.mjs +0 -49
- package/index688.mjs +0 -28
- package/index689.mjs +0 -78
- package/index69.mjs +0 -72
- package/index690.mjs +0 -68
- package/index691.mjs +0 -78
- package/index692.mjs +0 -77
- package/index693.mjs +0 -50
- package/index694.mjs +0 -50
- package/index695.mjs +0 -50
- package/index696.mjs +0 -50
- package/index697.mjs +0 -50
- package/index698.mjs +0 -50
- package/index699.mjs +0 -50
- package/index7.mjs +0 -24
- package/index70.mjs +0 -69
- package/index700.mjs +0 -50
- package/index701.mjs +0 -706
- package/index702.mjs +0 -891
- package/index703.mjs +0 -891
- package/index704.mjs +0 -891
- package/index705.mjs +0 -891
- package/index706.mjs +0 -891
- package/index707.mjs +0 -181
- package/index708.mjs +0 -1056
- package/index709.mjs +0 -5
- package/index71.mjs +0 -45
- package/index710.mjs +0 -56
- package/index711.mjs +0 -68
- package/index712.mjs +0 -5
- package/index713.mjs +0 -11
- package/index714.mjs +0 -330
- package/index715.mjs +0 -53
- package/index716.mjs +0 -5
- package/index717.mjs +0 -25
- package/index718.mjs +0 -34
- package/index719.mjs +0 -88
- package/index72.mjs +0 -55
- package/index720.mjs +0 -6
- package/index721.mjs +0 -31
- package/index722.mjs +0 -28
- package/index723.mjs +0 -23
- package/index724.mjs +0 -12
- package/index725.mjs +0 -16
- package/index726.mjs +0 -9
- package/index727.mjs +0 -27
- package/index728.mjs +0 -5
- package/index729.mjs +0 -12
- package/index73.mjs +0 -90
- package/index730.mjs +0 -10
- package/index731.mjs +0 -5
- package/index732.mjs +0 -22
- package/index733.mjs +0 -30
- package/index734.mjs +0 -9
- package/index735.mjs +0 -14
- package/index736.mjs +0 -31
- package/index737.mjs +0 -29
- package/index738.mjs +0 -256
- package/index739.mjs +0 -85
- package/index74.mjs +0 -70
- package/index740.mjs +0 -5
- package/index741.mjs +0 -16
- package/index742.mjs +0 -22
- package/index743.mjs +0 -17
- package/index744.mjs +0 -108
- package/index745.mjs +0 -25
- package/index746.mjs +0 -23
- package/index747.mjs +0 -8
- package/index748.mjs +0 -23
- package/index749.mjs +0 -33
- package/index75.mjs +0 -61
- package/index750.mjs +0 -11
- package/index751.mjs +0 -56
- package/index752.mjs +0 -26
- package/index753.mjs +0 -23
- package/index754.mjs +0 -59
- package/index755.mjs +0 -14
- package/index756.mjs +0 -7
- package/index757.mjs +0 -21
- package/index758.mjs +0 -7
- package/index759.mjs +0 -7
- package/index76.mjs +0 -33
- package/index760.mjs +0 -5
- package/index761.mjs +0 -13
- package/index762.mjs +0 -8
- package/index763.mjs +0 -15
- package/index764.mjs +0 -8
- package/index765.mjs +0 -8
- package/index766.mjs +0 -6
- package/index767.mjs +0 -27
- package/index768.mjs +0 -116
- package/index769.mjs +0 -19
- package/index77.mjs +0 -18
- package/index770.mjs +0 -528
- package/index771.mjs +0 -131
- package/index772.mjs +0 -137
- package/index773.mjs +0 -73
- package/index774.mjs +0 -5
- package/index775.mjs +0 -5
- package/index776.mjs +0 -59
- package/index777.mjs +0 -34
- package/index778.mjs +0 -28
- package/index779.mjs +0 -28
- package/index78.mjs +0 -44
- package/index780.mjs +0 -18
- package/index781.mjs +0 -56
- package/index782.mjs +0 -5
- package/index783.mjs +0 -79
- package/index784.mjs +0 -96
- package/index785.mjs +0 -55
- package/index786.mjs +0 -11
- package/index787.mjs +0 -8
- package/index788.mjs +0 -55
- package/index789.mjs +0 -5
- package/index79.mjs +0 -119
- package/index790.mjs +0 -27
- package/index791.mjs +0 -5
- package/index792.mjs +0 -66
- package/index793.mjs +0 -11
- package/index794.mjs +0 -11
- package/index795.mjs +0 -33
- package/index796.mjs +0 -9
- package/index797.mjs +0 -12
- package/index798.mjs +0 -19
- package/index799.mjs +0 -10
- package/index8.mjs +0 -31
- package/index80.mjs +0 -36
- package/index800.mjs +0 -5
- package/index801.mjs +0 -26
- package/index802.mjs +0 -68
- package/index803.mjs +0 -8
- package/index804.mjs +0 -11
- package/index805.mjs +0 -68
- package/index806.mjs +0 -72
- package/index807.mjs +0 -12
- package/index808.mjs +0 -17
- package/index809.mjs +0 -69
- package/index81.mjs +0 -22
- package/index810.mjs +0 -9
- package/index811.mjs +0 -27
- package/index812.mjs +0 -31
- package/index813.mjs +0 -5
- package/index814.mjs +0 -5
- package/index815.mjs +0 -5
- package/index816.mjs +0 -63
- package/index817.mjs +0 -5
- package/index818.mjs +0 -5
- package/index819.mjs +0 -5
- package/index82.mjs +0 -16
- package/index820.mjs +0 -18
- package/index821.mjs +0 -48
- package/index822.mjs +0 -100
- package/index823.mjs +0 -7
- package/index824.mjs +0 -26
- package/index825.mjs +0 -10
- package/index826.mjs +0 -62
- package/index827.mjs +0 -98
- package/index828.mjs +0 -95
- package/index829.mjs +0 -88
- package/index83.mjs +0 -55
- package/index830.mjs +0 -8
- package/index831.mjs +0 -5
- package/index832.mjs +0 -73
- package/index833.mjs +0 -5
- package/index834.mjs +0 -26
- package/index835.mjs +0 -16
- package/index836.mjs +0 -31
- package/index837.mjs +0 -8
- package/index84.mjs +0 -31
- package/index85.mjs +0 -53
- package/index86.mjs +0 -100
- package/index87.mjs +0 -13
- package/index88.mjs +0 -44
- package/index89.mjs +0 -65
- package/index9.mjs +0 -27
- package/index90.mjs +0 -151
- package/index91.mjs +0 -33
- package/index92.mjs +0 -52
- package/index93.mjs +0 -28
- package/index94.mjs +0 -59
- package/index95.mjs +0 -23
- package/index96.mjs +0 -53
- package/index97.mjs +0 -34
- package/index98.mjs +0 -93
- package/index99.mjs +0 -41
package/index656.mjs
DELETED
|
@@ -1,586 +0,0 @@
|
|
|
1
|
-
import { SubscriptionManager as st } from "./index516.mjs";
|
|
2
|
-
import { mixValues as ot } from "./index749.mjs";
|
|
3
|
-
import { copyBoxInto as p } from "./index750.mjs";
|
|
4
|
-
import { translateAxis as S, transformBox as k, applyBoxDelta as at, applyTreeDeltas as rt } from "./index751.mjs";
|
|
5
|
-
import { calcRelativePosition as A, calcRelativeBox as nt, calcBoxDelta as L, calcLength as E, isNear as lt } from "./index581.mjs";
|
|
6
|
-
import { removeBoxTransforms as w } from "./index752.mjs";
|
|
7
|
-
import { createBox as f, createDelta as B } from "./index512.mjs";
|
|
8
|
-
import { getValueTransition as ht } from "./index653.mjs";
|
|
9
|
-
import { boxEqualsRounded as tt, isDeltaZero as et, boxEquals as ut, aspectRatio as I } from "./index753.mjs";
|
|
10
|
-
import { NodeStack as ct } from "./index754.mjs";
|
|
11
|
-
import { scaleCorrectors as N } from "./index529.mjs";
|
|
12
|
-
import { buildProjectionTransform as W } from "./index755.mjs";
|
|
13
|
-
import { eachAxis as z } from "./index756.mjs";
|
|
14
|
-
import { hasTransform as j, hasScale as _, has2DTranslate as dt } from "./index757.mjs";
|
|
15
|
-
import { FlatTree as ft } from "./index555.mjs";
|
|
16
|
-
import { resolveMotionValue as C } from "./index490.mjs";
|
|
17
|
-
import { globalProjectionState as O } from "./index741.mjs";
|
|
18
|
-
import { delay as mt } from "./index569.mjs";
|
|
19
|
-
import { mix as U } from "./index559.mjs";
|
|
20
|
-
import { record as pt } from "./index758.mjs";
|
|
21
|
-
import { isSVGElement as yt } from "./index759.mjs";
|
|
22
|
-
import { animateSingleValue as gt } from "./index665.mjs";
|
|
23
|
-
import { clamp as vt } from "./index537.mjs";
|
|
24
|
-
import { cancelFrame as H, frameData as y, steps as b, frame as M } from "./index528.mjs";
|
|
25
|
-
import { noop as Tt } from "./index547.mjs";
|
|
26
|
-
const q = ["", "X", "Y", "Z"], xt = { visibility: "hidden" }, G = 1e3;
|
|
27
|
-
let Dt = 0;
|
|
28
|
-
const x = {
|
|
29
|
-
type: "projectionFrame",
|
|
30
|
-
totalNodes: 0,
|
|
31
|
-
resolvedTargetDeltas: 0,
|
|
32
|
-
recalculatedProjection: 0
|
|
33
|
-
};
|
|
34
|
-
function he({ attachResizeListener: i, defaultParent: u, measureScroll: h, checkIsScrollRoot: d, resetTransform: V }) {
|
|
35
|
-
return class {
|
|
36
|
-
constructor(t = {}, e = u == null ? void 0 : u()) {
|
|
37
|
-
this.id = Dt++, this.animationId = 0, this.children = /* @__PURE__ */ new Set(), this.options = {}, this.isTreeAnimating = !1, this.isAnimationBlocked = !1, this.isLayoutDirty = !1, this.isProjectionDirty = !1, this.isSharedProjectionDirty = !1, this.isTransformDirty = !1, this.updateManuallyBlocked = !1, this.updateBlockedByResize = !1, this.isUpdating = !1, this.isSVG = !1, this.needsReset = !1, this.shouldResetTransform = !1, this.treeScale = { x: 1, y: 1 }, this.eventHandlers = /* @__PURE__ */ new Map(), this.hasTreeAnimated = !1, this.updateScheduled = !1, this.projectionUpdateScheduled = !1, this.checkUpdateFailed = () => {
|
|
38
|
-
this.isUpdating && (this.isUpdating = !1, this.clearAllSnapshots());
|
|
39
|
-
}, this.updateProjection = () => {
|
|
40
|
-
this.projectionUpdateScheduled = !1, x.totalNodes = x.resolvedTargetDeltas = x.recalculatedProjection = 0, this.nodes.forEach(jt), this.nodes.forEach(Vt), this.nodes.forEach(kt), this.nodes.forEach(Bt), pt(x);
|
|
41
|
-
}, this.hasProjected = !1, this.isVisible = !0, this.animationProgress = 0, this.sharedNodes = /* @__PURE__ */ new Map(), this.latestValues = t, this.root = e ? e.root || e : this, this.path = e ? [...e.path, e] : [], this.parent = e, this.depth = e ? e.depth + 1 : 0;
|
|
42
|
-
for (let s = 0; s < this.path.length; s++)
|
|
43
|
-
this.path[s].shouldResetTransform = !0;
|
|
44
|
-
this.root === this && (this.nodes = new ft());
|
|
45
|
-
}
|
|
46
|
-
addEventListener(t, e) {
|
|
47
|
-
return this.eventHandlers.has(t) || this.eventHandlers.set(t, new st()), this.eventHandlers.get(t).add(e);
|
|
48
|
-
}
|
|
49
|
-
notifyListeners(t, ...e) {
|
|
50
|
-
const s = this.eventHandlers.get(t);
|
|
51
|
-
s && s.notify(...e);
|
|
52
|
-
}
|
|
53
|
-
hasListeners(t) {
|
|
54
|
-
return this.eventHandlers.has(t);
|
|
55
|
-
}
|
|
56
|
-
/**
|
|
57
|
-
* Lifecycles
|
|
58
|
-
*/
|
|
59
|
-
mount(t, e = this.root.hasTreeAnimated) {
|
|
60
|
-
if (this.instance)
|
|
61
|
-
return;
|
|
62
|
-
this.isSVG = yt(t), this.instance = t;
|
|
63
|
-
const { layoutId: s, layout: o, visualElement: a } = this.options;
|
|
64
|
-
if (a && !a.current && a.mount(t), this.root.nodes.add(this), this.parent && this.parent.children.add(this), e && (o || s) && (this.isLayoutDirty = !0), i) {
|
|
65
|
-
let r;
|
|
66
|
-
const n = () => this.root.updateBlockedByResize = !1;
|
|
67
|
-
i(t, () => {
|
|
68
|
-
this.root.updateBlockedByResize = !0, r && r(), r = mt(n, 250), O.hasAnimatedSinceResize && (O.hasAnimatedSinceResize = !1, this.nodes.forEach(Y));
|
|
69
|
-
});
|
|
70
|
-
}
|
|
71
|
-
s && this.root.registerSharedNode(s, this), this.options.animate !== !1 && a && (s || o) && this.addEventListener("didUpdate", ({ delta: r, hasLayoutChanged: n, hasRelativeTargetChanged: l, layout: m }) => {
|
|
72
|
-
if (this.isTreeAnimationBlocked()) {
|
|
73
|
-
this.target = void 0, this.relativeTarget = void 0;
|
|
74
|
-
return;
|
|
75
|
-
}
|
|
76
|
-
const c = this.options.transition || a.getDefaultTransition() || Ot, { onLayoutAnimationStart: D, onLayoutAnimationComplete: T } = a.getProps(), P = !this.targetLayout || !tt(this.targetLayout, m) || l, g = !n && l;
|
|
77
|
-
if (this.options.layoutRoot || this.resumeFrom && this.resumeFrom.instance || g || n && (P || !this.currentAnimation)) {
|
|
78
|
-
this.resumeFrom && (this.resumingFrom = this.resumeFrom, this.resumingFrom.resumingFrom = void 0), this.setAnimationOrigin(r, g);
|
|
79
|
-
const v = {
|
|
80
|
-
...ht(c, "layout"),
|
|
81
|
-
onPlay: D,
|
|
82
|
-
onComplete: T
|
|
83
|
-
};
|
|
84
|
-
(a.shouldReduceMotion || this.options.layoutRoot) && (v.delay = 0, v.type = !1), this.startAnimation(v);
|
|
85
|
-
} else
|
|
86
|
-
n || Y(this), this.isLead() && this.options.onExitComplete && this.options.onExitComplete();
|
|
87
|
-
this.targetLayout = m;
|
|
88
|
-
});
|
|
89
|
-
}
|
|
90
|
-
unmount() {
|
|
91
|
-
this.options.layoutId && this.willUpdate(), this.root.nodes.remove(this);
|
|
92
|
-
const t = this.getStack();
|
|
93
|
-
t && t.remove(this), this.parent && this.parent.children.delete(this), this.instance = void 0, H(this.updateProjection);
|
|
94
|
-
}
|
|
95
|
-
// only on the root
|
|
96
|
-
blockUpdate() {
|
|
97
|
-
this.updateManuallyBlocked = !0;
|
|
98
|
-
}
|
|
99
|
-
unblockUpdate() {
|
|
100
|
-
this.updateManuallyBlocked = !1;
|
|
101
|
-
}
|
|
102
|
-
isUpdateBlocked() {
|
|
103
|
-
return this.updateManuallyBlocked || this.updateBlockedByResize;
|
|
104
|
-
}
|
|
105
|
-
isTreeAnimationBlocked() {
|
|
106
|
-
return this.isAnimationBlocked || this.parent && this.parent.isTreeAnimationBlocked() || !1;
|
|
107
|
-
}
|
|
108
|
-
// Note: currently only running on root node
|
|
109
|
-
startUpdate() {
|
|
110
|
-
this.isUpdateBlocked() || (this.isUpdating = !0, this.nodes && this.nodes.forEach(Et), this.animationId++);
|
|
111
|
-
}
|
|
112
|
-
getTransformTemplate() {
|
|
113
|
-
const { visualElement: t } = this.options;
|
|
114
|
-
return t && t.getProps().transformTemplate;
|
|
115
|
-
}
|
|
116
|
-
willUpdate(t = !0) {
|
|
117
|
-
if (this.root.hasTreeAnimated = !0, this.root.isUpdateBlocked()) {
|
|
118
|
-
this.options.onExitComplete && this.options.onExitComplete();
|
|
119
|
-
return;
|
|
120
|
-
}
|
|
121
|
-
if (!this.root.isUpdating && this.root.startUpdate(), this.isLayoutDirty)
|
|
122
|
-
return;
|
|
123
|
-
this.isLayoutDirty = !0;
|
|
124
|
-
for (let a = 0; a < this.path.length; a++) {
|
|
125
|
-
const r = this.path[a];
|
|
126
|
-
r.shouldResetTransform = !0, r.updateScroll("snapshot"), r.options.layoutRoot && r.willUpdate(!1);
|
|
127
|
-
}
|
|
128
|
-
const { layoutId: e, layout: s } = this.options;
|
|
129
|
-
if (e === void 0 && !s)
|
|
130
|
-
return;
|
|
131
|
-
const o = this.getTransformTemplate();
|
|
132
|
-
this.prevTransformTemplateValue = o ? o(this.latestValues, "") : void 0, this.updateSnapshot(), t && this.notifyListeners("willUpdate");
|
|
133
|
-
}
|
|
134
|
-
update() {
|
|
135
|
-
if (this.updateScheduled = !1, this.isUpdateBlocked()) {
|
|
136
|
-
this.unblockUpdate(), this.clearAllSnapshots(), this.nodes.forEach(X);
|
|
137
|
-
return;
|
|
138
|
-
}
|
|
139
|
-
this.isUpdating || this.nodes.forEach(At), this.isUpdating = !1, this.nodes.forEach(Lt), this.nodes.forEach(Pt), this.nodes.forEach(St), this.clearAllSnapshots();
|
|
140
|
-
const e = performance.now();
|
|
141
|
-
y.delta = vt(0, 1e3 / 60, e - y.timestamp), y.timestamp = e, y.isProcessing = !0, b.update.process(y), b.preRender.process(y), b.render.process(y), y.isProcessing = !1;
|
|
142
|
-
}
|
|
143
|
-
didUpdate() {
|
|
144
|
-
this.updateScheduled || (this.updateScheduled = !0, queueMicrotask(() => this.update()));
|
|
145
|
-
}
|
|
146
|
-
clearAllSnapshots() {
|
|
147
|
-
this.nodes.forEach(Rt), this.sharedNodes.forEach(Ut);
|
|
148
|
-
}
|
|
149
|
-
scheduleUpdateProjection() {
|
|
150
|
-
this.projectionUpdateScheduled || (this.projectionUpdateScheduled = !0, M.preRender(this.updateProjection, !1, !0));
|
|
151
|
-
}
|
|
152
|
-
scheduleCheckAfterUnmount() {
|
|
153
|
-
M.postRender(() => {
|
|
154
|
-
this.isLayoutDirty ? this.root.didUpdate() : this.root.checkUpdateFailed();
|
|
155
|
-
});
|
|
156
|
-
}
|
|
157
|
-
/**
|
|
158
|
-
* Update measurements
|
|
159
|
-
*/
|
|
160
|
-
updateSnapshot() {
|
|
161
|
-
this.snapshot || !this.instance || (this.snapshot = this.measure());
|
|
162
|
-
}
|
|
163
|
-
updateLayout() {
|
|
164
|
-
if (!this.instance || (this.updateScroll(), !(this.options.alwaysMeasureLayout && this.isLead()) && !this.isLayoutDirty))
|
|
165
|
-
return;
|
|
166
|
-
if (this.resumeFrom && !this.resumeFrom.instance)
|
|
167
|
-
for (let s = 0; s < this.path.length; s++)
|
|
168
|
-
this.path[s].updateScroll();
|
|
169
|
-
const t = this.layout;
|
|
170
|
-
this.layout = this.measure(!1), this.layoutCorrected = f(), this.isLayoutDirty = !1, this.projectionDelta = void 0, this.notifyListeners("measure", this.layout.layoutBox);
|
|
171
|
-
const { visualElement: e } = this.options;
|
|
172
|
-
e && e.notify("LayoutMeasure", this.layout.layoutBox, t ? t.layoutBox : void 0);
|
|
173
|
-
}
|
|
174
|
-
updateScroll(t = "measure") {
|
|
175
|
-
let e = !!(this.options.layoutScroll && this.instance);
|
|
176
|
-
this.scroll && this.scroll.animationId === this.root.animationId && this.scroll.phase === t && (e = !1), e && (this.scroll = {
|
|
177
|
-
animationId: this.root.animationId,
|
|
178
|
-
phase: t,
|
|
179
|
-
isRoot: d(this.instance),
|
|
180
|
-
offset: h(this.instance)
|
|
181
|
-
});
|
|
182
|
-
}
|
|
183
|
-
resetTransform() {
|
|
184
|
-
if (!V)
|
|
185
|
-
return;
|
|
186
|
-
const t = this.isLayoutDirty || this.shouldResetTransform, e = this.projectionDelta && !et(this.projectionDelta), s = this.getTransformTemplate(), o = s ? s(this.latestValues, "") : void 0, a = o !== this.prevTransformTemplateValue;
|
|
187
|
-
t && (e || j(this.latestValues) || a) && (V(this.instance, o), this.shouldResetTransform = !1, this.scheduleRender());
|
|
188
|
-
}
|
|
189
|
-
measure(t = !0) {
|
|
190
|
-
const e = this.measurePageBox();
|
|
191
|
-
let s = this.removeElementScroll(e);
|
|
192
|
-
return t && (s = this.removeTransform(s)), bt(s), {
|
|
193
|
-
animationId: this.root.animationId,
|
|
194
|
-
measuredBox: e,
|
|
195
|
-
layoutBox: s,
|
|
196
|
-
latestValues: {},
|
|
197
|
-
source: this.id
|
|
198
|
-
};
|
|
199
|
-
}
|
|
200
|
-
measurePageBox() {
|
|
201
|
-
const { visualElement: t } = this.options;
|
|
202
|
-
if (!t)
|
|
203
|
-
return f();
|
|
204
|
-
const e = t.measureViewportBox(), { scroll: s } = this.root;
|
|
205
|
-
return s && (S(e.x, s.offset.x), S(e.y, s.offset.y)), e;
|
|
206
|
-
}
|
|
207
|
-
removeElementScroll(t) {
|
|
208
|
-
const e = f();
|
|
209
|
-
p(e, t);
|
|
210
|
-
for (let s = 0; s < this.path.length; s++) {
|
|
211
|
-
const o = this.path[s], { scroll: a, options: r } = o;
|
|
212
|
-
if (o !== this.root && a && r.layoutScroll) {
|
|
213
|
-
if (a.isRoot) {
|
|
214
|
-
p(e, t);
|
|
215
|
-
const { scroll: n } = this.root;
|
|
216
|
-
n && (S(e.x, -n.offset.x), S(e.y, -n.offset.y));
|
|
217
|
-
}
|
|
218
|
-
S(e.x, a.offset.x), S(e.y, a.offset.y);
|
|
219
|
-
}
|
|
220
|
-
}
|
|
221
|
-
return e;
|
|
222
|
-
}
|
|
223
|
-
applyTransform(t, e = !1) {
|
|
224
|
-
const s = f();
|
|
225
|
-
p(s, t);
|
|
226
|
-
for (let o = 0; o < this.path.length; o++) {
|
|
227
|
-
const a = this.path[o];
|
|
228
|
-
!e && a.options.layoutScroll && a.scroll && a !== a.root && k(s, {
|
|
229
|
-
x: -a.scroll.offset.x,
|
|
230
|
-
y: -a.scroll.offset.y
|
|
231
|
-
}), j(a.latestValues) && k(s, a.latestValues);
|
|
232
|
-
}
|
|
233
|
-
return j(this.latestValues) && k(s, this.latestValues), s;
|
|
234
|
-
}
|
|
235
|
-
removeTransform(t) {
|
|
236
|
-
const e = f();
|
|
237
|
-
p(e, t);
|
|
238
|
-
for (let s = 0; s < this.path.length; s++) {
|
|
239
|
-
const o = this.path[s];
|
|
240
|
-
if (!o.instance || !j(o.latestValues))
|
|
241
|
-
continue;
|
|
242
|
-
_(o.latestValues) && o.updateSnapshot();
|
|
243
|
-
const a = f(), r = o.measurePageBox();
|
|
244
|
-
p(a, r), w(e, o.latestValues, o.snapshot ? o.snapshot.layoutBox : void 0, a);
|
|
245
|
-
}
|
|
246
|
-
return j(this.latestValues) && w(e, this.latestValues), e;
|
|
247
|
-
}
|
|
248
|
-
setTargetDelta(t) {
|
|
249
|
-
this.targetDelta = t, this.root.scheduleUpdateProjection(), this.isProjectionDirty = !0;
|
|
250
|
-
}
|
|
251
|
-
setOptions(t) {
|
|
252
|
-
this.options = {
|
|
253
|
-
...this.options,
|
|
254
|
-
...t,
|
|
255
|
-
crossfade: t.crossfade !== void 0 ? t.crossfade : !0
|
|
256
|
-
};
|
|
257
|
-
}
|
|
258
|
-
clearMeasurements() {
|
|
259
|
-
this.scroll = void 0, this.layout = void 0, this.snapshot = void 0, this.prevTransformTemplateValue = void 0, this.targetDelta = void 0, this.target = void 0, this.isLayoutDirty = !1;
|
|
260
|
-
}
|
|
261
|
-
forceRelativeParentToResolveTarget() {
|
|
262
|
-
this.relativeParent && this.relativeParent.resolvedRelativeTargetAt !== y.timestamp && this.relativeParent.resolveTargetDelta(!0);
|
|
263
|
-
}
|
|
264
|
-
resolveTargetDelta(t = !1) {
|
|
265
|
-
var e;
|
|
266
|
-
const s = this.getLead();
|
|
267
|
-
this.isProjectionDirty || (this.isProjectionDirty = s.isProjectionDirty), this.isTransformDirty || (this.isTransformDirty = s.isTransformDirty), this.isSharedProjectionDirty || (this.isSharedProjectionDirty = s.isSharedProjectionDirty);
|
|
268
|
-
const o = !!this.resumingFrom || this !== s;
|
|
269
|
-
if (!(t || o && this.isSharedProjectionDirty || this.isProjectionDirty || !((e = this.parent) === null || e === void 0) && e.isProjectionDirty || this.attemptToResolveRelativeTarget))
|
|
270
|
-
return;
|
|
271
|
-
const { layout: r, layoutId: n } = this.options;
|
|
272
|
-
if (!(!this.layout || !(r || n))) {
|
|
273
|
-
if (this.resolvedRelativeTargetAt = y.timestamp, !this.targetDelta && !this.relativeTarget) {
|
|
274
|
-
const l = this.getClosestProjectingParent();
|
|
275
|
-
l && l.layout && this.animationProgress !== 1 ? (this.relativeParent = l, this.forceRelativeParentToResolveTarget(), this.relativeTarget = f(), this.relativeTargetOrigin = f(), A(this.relativeTargetOrigin, this.layout.layoutBox, l.layout.layoutBox), p(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
276
|
-
}
|
|
277
|
-
if (!(!this.relativeTarget && !this.targetDelta)) {
|
|
278
|
-
if (this.target || (this.target = f(), this.targetWithTransforms = f()), this.relativeTarget && this.relativeTargetOrigin && this.relativeParent && this.relativeParent.target ? (this.forceRelativeParentToResolveTarget(), nt(this.target, this.relativeTarget, this.relativeParent.target)) : this.targetDelta ? (this.resumingFrom ? this.target = this.applyTransform(this.layout.layoutBox) : p(this.target, this.layout.layoutBox), at(this.target, this.targetDelta)) : p(this.target, this.layout.layoutBox), this.attemptToResolveRelativeTarget) {
|
|
279
|
-
this.attemptToResolveRelativeTarget = !1;
|
|
280
|
-
const l = this.getClosestProjectingParent();
|
|
281
|
-
l && !!l.resumingFrom == !!this.resumingFrom && !l.options.layoutScroll && l.target && this.animationProgress !== 1 ? (this.relativeParent = l, this.forceRelativeParentToResolveTarget(), this.relativeTarget = f(), this.relativeTargetOrigin = f(), A(this.relativeTargetOrigin, this.target, l.target), p(this.relativeTarget, this.relativeTargetOrigin)) : this.relativeParent = this.relativeTarget = void 0;
|
|
282
|
-
}
|
|
283
|
-
x.resolvedTargetDeltas++;
|
|
284
|
-
}
|
|
285
|
-
}
|
|
286
|
-
}
|
|
287
|
-
getClosestProjectingParent() {
|
|
288
|
-
if (!(!this.parent || _(this.parent.latestValues) || dt(this.parent.latestValues)))
|
|
289
|
-
return this.parent.isProjecting() ? this.parent : this.parent.getClosestProjectingParent();
|
|
290
|
-
}
|
|
291
|
-
isProjecting() {
|
|
292
|
-
return !!((this.relativeTarget || this.targetDelta || this.options.layoutRoot) && this.layout);
|
|
293
|
-
}
|
|
294
|
-
calcProjection() {
|
|
295
|
-
var t;
|
|
296
|
-
const e = this.getLead(), s = !!this.resumingFrom || this !== e;
|
|
297
|
-
let o = !0;
|
|
298
|
-
if ((this.isProjectionDirty || !((t = this.parent) === null || t === void 0) && t.isProjectionDirty) && (o = !1), s && (this.isSharedProjectionDirty || this.isTransformDirty) && (o = !1), this.resolvedRelativeTargetAt === y.timestamp && (o = !1), o)
|
|
299
|
-
return;
|
|
300
|
-
const { layout: a, layoutId: r } = this.options;
|
|
301
|
-
if (this.isTreeAnimating = !!(this.parent && this.parent.isTreeAnimating || this.currentAnimation || this.pendingAnimation), this.isTreeAnimating || (this.targetDelta = this.relativeTarget = void 0), !this.layout || !(a || r))
|
|
302
|
-
return;
|
|
303
|
-
p(this.layoutCorrected, this.layout.layoutBox);
|
|
304
|
-
const n = this.treeScale.x, l = this.treeScale.y;
|
|
305
|
-
rt(this.layoutCorrected, this.treeScale, this.path, s), e.layout && !e.target && (this.treeScale.x !== 1 || this.treeScale.y !== 1) && (e.target = e.layout.layoutBox);
|
|
306
|
-
const { target: m } = e;
|
|
307
|
-
if (!m) {
|
|
308
|
-
this.projectionTransform && (this.projectionDelta = B(), this.projectionTransform = "none", this.scheduleRender());
|
|
309
|
-
return;
|
|
310
|
-
}
|
|
311
|
-
this.projectionDelta || (this.projectionDelta = B(), this.projectionDeltaWithTransform = B());
|
|
312
|
-
const c = this.projectionTransform;
|
|
313
|
-
L(this.projectionDelta, this.layoutCorrected, m, this.latestValues), this.projectionTransform = W(this.projectionDelta, this.treeScale), (this.projectionTransform !== c || this.treeScale.x !== n || this.treeScale.y !== l) && (this.hasProjected = !0, this.scheduleRender(), this.notifyListeners("projectionUpdate", m)), x.recalculatedProjection++;
|
|
314
|
-
}
|
|
315
|
-
hide() {
|
|
316
|
-
this.isVisible = !1;
|
|
317
|
-
}
|
|
318
|
-
show() {
|
|
319
|
-
this.isVisible = !0;
|
|
320
|
-
}
|
|
321
|
-
scheduleRender(t = !0) {
|
|
322
|
-
if (this.options.scheduleRender && this.options.scheduleRender(), t) {
|
|
323
|
-
const e = this.getStack();
|
|
324
|
-
e && e.scheduleRender();
|
|
325
|
-
}
|
|
326
|
-
this.resumingFrom && !this.resumingFrom.instance && (this.resumingFrom = void 0);
|
|
327
|
-
}
|
|
328
|
-
setAnimationOrigin(t, e = !1) {
|
|
329
|
-
const s = this.snapshot, o = s ? s.latestValues : {}, a = { ...this.latestValues }, r = B();
|
|
330
|
-
(!this.relativeParent || !this.relativeParent.options.layoutRoot) && (this.relativeTarget = this.relativeTargetOrigin = void 0), this.attemptToResolveRelativeTarget = !e;
|
|
331
|
-
const n = f(), l = s ? s.source : void 0, m = this.layout ? this.layout.source : void 0, c = l !== m, D = this.getStack(), T = !D || D.members.length <= 1, P = !!(c && !T && this.options.crossfade === !0 && !this.path.some(Ct));
|
|
332
|
-
this.animationProgress = 0;
|
|
333
|
-
let g;
|
|
334
|
-
this.mixTargetDelta = (v) => {
|
|
335
|
-
const R = v / 1e3;
|
|
336
|
-
Z(r.x, t.x, R), Z(r.y, t.y, R), this.setTargetDelta(r), this.relativeTarget && this.relativeTargetOrigin && this.layout && this.relativeParent && this.relativeParent.layout && (A(n, this.layout.layoutBox, this.relativeParent.layout.layoutBox), Ft(this.relativeTarget, this.relativeTargetOrigin, n, R), g && ut(this.relativeTarget, g) && (this.isProjectionDirty = !1), g || (g = f()), p(g, this.relativeTarget)), c && (this.animationValues = a, ot(a, o, this.latestValues, R, P, T)), this.root.scheduleUpdateProjection(), this.scheduleRender(), this.animationProgress = R;
|
|
337
|
-
}, this.mixTargetDelta(this.options.layoutRoot ? 1e3 : 0);
|
|
338
|
-
}
|
|
339
|
-
startAnimation(t) {
|
|
340
|
-
this.notifyListeners("animationStart"), this.currentAnimation && this.currentAnimation.stop(), this.resumingFrom && this.resumingFrom.currentAnimation && this.resumingFrom.currentAnimation.stop(), this.pendingAnimation && (H(this.pendingAnimation), this.pendingAnimation = void 0), this.pendingAnimation = M.update(() => {
|
|
341
|
-
O.hasAnimatedSinceResize = !0, this.currentAnimation = gt(0, G, {
|
|
342
|
-
...t,
|
|
343
|
-
onUpdate: (e) => {
|
|
344
|
-
this.mixTargetDelta(e), t.onUpdate && t.onUpdate(e);
|
|
345
|
-
},
|
|
346
|
-
onComplete: () => {
|
|
347
|
-
t.onComplete && t.onComplete(), this.completeAnimation();
|
|
348
|
-
}
|
|
349
|
-
}), this.resumingFrom && (this.resumingFrom.currentAnimation = this.currentAnimation), this.pendingAnimation = void 0;
|
|
350
|
-
});
|
|
351
|
-
}
|
|
352
|
-
completeAnimation() {
|
|
353
|
-
this.resumingFrom && (this.resumingFrom.currentAnimation = void 0, this.resumingFrom.preserveOpacity = void 0);
|
|
354
|
-
const t = this.getStack();
|
|
355
|
-
t && t.exitAnimationComplete(), this.resumingFrom = this.currentAnimation = this.animationValues = void 0, this.notifyListeners("animationComplete");
|
|
356
|
-
}
|
|
357
|
-
finishAnimation() {
|
|
358
|
-
this.currentAnimation && (this.mixTargetDelta && this.mixTargetDelta(G), this.currentAnimation.stop()), this.completeAnimation();
|
|
359
|
-
}
|
|
360
|
-
applyTransformsToTarget() {
|
|
361
|
-
const t = this.getLead();
|
|
362
|
-
let { targetWithTransforms: e, target: s, layout: o, latestValues: a } = t;
|
|
363
|
-
if (!(!e || !s || !o)) {
|
|
364
|
-
if (this !== t && this.layout && o && it(this.options.animationType, this.layout.layoutBox, o.layoutBox)) {
|
|
365
|
-
s = this.target || f();
|
|
366
|
-
const r = E(this.layout.layoutBox.x);
|
|
367
|
-
s.x.min = t.target.x.min, s.x.max = s.x.min + r;
|
|
368
|
-
const n = E(this.layout.layoutBox.y);
|
|
369
|
-
s.y.min = t.target.y.min, s.y.max = s.y.min + n;
|
|
370
|
-
}
|
|
371
|
-
p(e, s), k(e, a), L(this.projectionDeltaWithTransform, this.layoutCorrected, e, a);
|
|
372
|
-
}
|
|
373
|
-
}
|
|
374
|
-
registerSharedNode(t, e) {
|
|
375
|
-
this.sharedNodes.has(t) || this.sharedNodes.set(t, new ct()), this.sharedNodes.get(t).add(e);
|
|
376
|
-
const o = e.options.initialPromotionConfig;
|
|
377
|
-
e.promote({
|
|
378
|
-
transition: o ? o.transition : void 0,
|
|
379
|
-
preserveFollowOpacity: o && o.shouldPreserveFollowOpacity ? o.shouldPreserveFollowOpacity(e) : void 0
|
|
380
|
-
});
|
|
381
|
-
}
|
|
382
|
-
isLead() {
|
|
383
|
-
const t = this.getStack();
|
|
384
|
-
return t ? t.lead === this : !0;
|
|
385
|
-
}
|
|
386
|
-
getLead() {
|
|
387
|
-
var t;
|
|
388
|
-
const { layoutId: e } = this.options;
|
|
389
|
-
return e ? ((t = this.getStack()) === null || t === void 0 ? void 0 : t.lead) || this : this;
|
|
390
|
-
}
|
|
391
|
-
getPrevLead() {
|
|
392
|
-
var t;
|
|
393
|
-
const { layoutId: e } = this.options;
|
|
394
|
-
return e ? (t = this.getStack()) === null || t === void 0 ? void 0 : t.prevLead : void 0;
|
|
395
|
-
}
|
|
396
|
-
getStack() {
|
|
397
|
-
const { layoutId: t } = this.options;
|
|
398
|
-
if (t)
|
|
399
|
-
return this.root.sharedNodes.get(t);
|
|
400
|
-
}
|
|
401
|
-
promote({ needsReset: t, transition: e, preserveFollowOpacity: s } = {}) {
|
|
402
|
-
const o = this.getStack();
|
|
403
|
-
o && o.promote(this, s), t && (this.projectionDelta = void 0, this.needsReset = !0), e && this.setOptions({ transition: e });
|
|
404
|
-
}
|
|
405
|
-
relegate() {
|
|
406
|
-
const t = this.getStack();
|
|
407
|
-
return t ? t.relegate(this) : !1;
|
|
408
|
-
}
|
|
409
|
-
resetRotation() {
|
|
410
|
-
const { visualElement: t } = this.options;
|
|
411
|
-
if (!t)
|
|
412
|
-
return;
|
|
413
|
-
let e = !1;
|
|
414
|
-
const { latestValues: s } = t;
|
|
415
|
-
if ((s.rotate || s.rotateX || s.rotateY || s.rotateZ) && (e = !0), !e)
|
|
416
|
-
return;
|
|
417
|
-
const o = {};
|
|
418
|
-
for (let a = 0; a < q.length; a++) {
|
|
419
|
-
const r = "rotate" + q[a];
|
|
420
|
-
s[r] && (o[r] = s[r], t.setStaticValue(r, 0));
|
|
421
|
-
}
|
|
422
|
-
t.render();
|
|
423
|
-
for (const a in o)
|
|
424
|
-
t.setStaticValue(a, o[a]);
|
|
425
|
-
t.scheduleRender();
|
|
426
|
-
}
|
|
427
|
-
getProjectionStyles(t) {
|
|
428
|
-
var e, s;
|
|
429
|
-
if (!this.instance || this.isSVG)
|
|
430
|
-
return;
|
|
431
|
-
if (!this.isVisible)
|
|
432
|
-
return xt;
|
|
433
|
-
const o = {
|
|
434
|
-
visibility: ""
|
|
435
|
-
}, a = this.getTransformTemplate();
|
|
436
|
-
if (this.needsReset)
|
|
437
|
-
return this.needsReset = !1, o.opacity = "", o.pointerEvents = C(t == null ? void 0 : t.pointerEvents) || "", o.transform = a ? a(this.latestValues, "") : "none", o;
|
|
438
|
-
const r = this.getLead();
|
|
439
|
-
if (!this.projectionDelta || !this.layout || !r.target) {
|
|
440
|
-
const c = {};
|
|
441
|
-
return this.options.layoutId && (c.opacity = this.latestValues.opacity !== void 0 ? this.latestValues.opacity : 1, c.pointerEvents = C(t == null ? void 0 : t.pointerEvents) || ""), this.hasProjected && !j(this.latestValues) && (c.transform = a ? a({}, "") : "none", this.hasProjected = !1), c;
|
|
442
|
-
}
|
|
443
|
-
const n = r.animationValues || r.latestValues;
|
|
444
|
-
this.applyTransformsToTarget(), o.transform = W(this.projectionDeltaWithTransform, this.treeScale, n), a && (o.transform = a(n, o.transform));
|
|
445
|
-
const { x: l, y: m } = this.projectionDelta;
|
|
446
|
-
o.transformOrigin = `${l.origin * 100}% ${m.origin * 100}% 0`, r.animationValues ? o.opacity = r === this ? (s = (e = n.opacity) !== null && e !== void 0 ? e : this.latestValues.opacity) !== null && s !== void 0 ? s : 1 : this.preserveOpacity ? this.latestValues.opacity : n.opacityExit : o.opacity = r === this ? n.opacity !== void 0 ? n.opacity : "" : n.opacityExit !== void 0 ? n.opacityExit : 0;
|
|
447
|
-
for (const c in N) {
|
|
448
|
-
if (n[c] === void 0)
|
|
449
|
-
continue;
|
|
450
|
-
const { correct: D, applyTo: T } = N[c], P = o.transform === "none" ? n[c] : D(n[c], r);
|
|
451
|
-
if (T) {
|
|
452
|
-
const g = T.length;
|
|
453
|
-
for (let v = 0; v < g; v++)
|
|
454
|
-
o[T[v]] = P;
|
|
455
|
-
} else
|
|
456
|
-
o[c] = P;
|
|
457
|
-
}
|
|
458
|
-
return this.options.layoutId && (o.pointerEvents = r === this ? C(t == null ? void 0 : t.pointerEvents) || "" : "none"), o;
|
|
459
|
-
}
|
|
460
|
-
clearSnapshot() {
|
|
461
|
-
this.resumeFrom = this.snapshot = void 0;
|
|
462
|
-
}
|
|
463
|
-
// Only run on root
|
|
464
|
-
resetTree() {
|
|
465
|
-
this.root.nodes.forEach((t) => {
|
|
466
|
-
var e;
|
|
467
|
-
return (e = t.currentAnimation) === null || e === void 0 ? void 0 : e.stop();
|
|
468
|
-
}), this.root.nodes.forEach(X), this.root.sharedNodes.clear();
|
|
469
|
-
}
|
|
470
|
-
};
|
|
471
|
-
}
|
|
472
|
-
function Pt(i) {
|
|
473
|
-
i.updateLayout();
|
|
474
|
-
}
|
|
475
|
-
function St(i) {
|
|
476
|
-
var u;
|
|
477
|
-
const h = ((u = i.resumeFrom) === null || u === void 0 ? void 0 : u.snapshot) || i.snapshot;
|
|
478
|
-
if (i.isLead() && i.layout && h && i.hasListeners("didUpdate")) {
|
|
479
|
-
const { layoutBox: d, measuredBox: V } = i.layout, { animationType: F } = i.options, t = h.source !== i.layout.source;
|
|
480
|
-
F === "size" ? z((r) => {
|
|
481
|
-
const n = t ? h.measuredBox[r] : h.layoutBox[r], l = E(n);
|
|
482
|
-
n.min = d[r].min, n.max = n.min + l;
|
|
483
|
-
}) : it(F, h.layoutBox, d) && z((r) => {
|
|
484
|
-
const n = t ? h.measuredBox[r] : h.layoutBox[r], l = E(d[r]);
|
|
485
|
-
n.max = n.min + l, i.relativeTarget && !i.currentAnimation && (i.isProjectionDirty = !0, i.relativeTarget[r].max = i.relativeTarget[r].min + l);
|
|
486
|
-
});
|
|
487
|
-
const e = B();
|
|
488
|
-
L(e, d, h.layoutBox);
|
|
489
|
-
const s = B();
|
|
490
|
-
t ? L(s, i.applyTransform(V, !0), h.measuredBox) : L(s, d, h.layoutBox);
|
|
491
|
-
const o = !et(e);
|
|
492
|
-
let a = !1;
|
|
493
|
-
if (!i.resumeFrom) {
|
|
494
|
-
const r = i.getClosestProjectingParent();
|
|
495
|
-
if (r && !r.resumeFrom) {
|
|
496
|
-
const { snapshot: n, layout: l } = r;
|
|
497
|
-
if (n && l) {
|
|
498
|
-
const m = f();
|
|
499
|
-
A(m, h.layoutBox, n.layoutBox);
|
|
500
|
-
const c = f();
|
|
501
|
-
A(c, d, l.layoutBox), tt(m, c) || (a = !0), r.options.layoutRoot && (i.relativeTarget = c, i.relativeTargetOrigin = m, i.relativeParent = r);
|
|
502
|
-
}
|
|
503
|
-
}
|
|
504
|
-
}
|
|
505
|
-
i.notifyListeners("didUpdate", {
|
|
506
|
-
layout: d,
|
|
507
|
-
snapshot: h,
|
|
508
|
-
delta: s,
|
|
509
|
-
layoutDelta: e,
|
|
510
|
-
hasLayoutChanged: o,
|
|
511
|
-
hasRelativeTargetChanged: a
|
|
512
|
-
});
|
|
513
|
-
} else if (i.isLead()) {
|
|
514
|
-
const { onExitComplete: d } = i.options;
|
|
515
|
-
d && d();
|
|
516
|
-
}
|
|
517
|
-
i.options.transition = void 0;
|
|
518
|
-
}
|
|
519
|
-
function jt(i) {
|
|
520
|
-
x.totalNodes++, i.parent && (i.isProjecting() || (i.isProjectionDirty = i.parent.isProjectionDirty), i.isSharedProjectionDirty || (i.isSharedProjectionDirty = !!(i.isProjectionDirty || i.parent.isProjectionDirty || i.parent.isSharedProjectionDirty)), i.isTransformDirty || (i.isTransformDirty = i.parent.isTransformDirty));
|
|
521
|
-
}
|
|
522
|
-
function Bt(i) {
|
|
523
|
-
i.isProjectionDirty = i.isSharedProjectionDirty = i.isTransformDirty = !1;
|
|
524
|
-
}
|
|
525
|
-
function Rt(i) {
|
|
526
|
-
i.clearSnapshot();
|
|
527
|
-
}
|
|
528
|
-
function X(i) {
|
|
529
|
-
i.clearMeasurements();
|
|
530
|
-
}
|
|
531
|
-
function At(i) {
|
|
532
|
-
i.isLayoutDirty = !1;
|
|
533
|
-
}
|
|
534
|
-
function Lt(i) {
|
|
535
|
-
const { visualElement: u } = i.options;
|
|
536
|
-
u && u.getProps().onBeforeLayoutMeasure && u.notify("BeforeLayoutMeasure"), i.resetTransform();
|
|
537
|
-
}
|
|
538
|
-
function Y(i) {
|
|
539
|
-
i.finishAnimation(), i.targetDelta = i.relativeTarget = i.target = void 0, i.isProjectionDirty = !0;
|
|
540
|
-
}
|
|
541
|
-
function Vt(i) {
|
|
542
|
-
i.resolveTargetDelta();
|
|
543
|
-
}
|
|
544
|
-
function kt(i) {
|
|
545
|
-
i.calcProjection();
|
|
546
|
-
}
|
|
547
|
-
function Et(i) {
|
|
548
|
-
i.resetRotation();
|
|
549
|
-
}
|
|
550
|
-
function Ut(i) {
|
|
551
|
-
i.removeLeadSnapshot();
|
|
552
|
-
}
|
|
553
|
-
function Z(i, u, h) {
|
|
554
|
-
i.translate = U(u.translate, 0, h), i.scale = U(u.scale, 1, h), i.origin = u.origin, i.originPoint = u.originPoint;
|
|
555
|
-
}
|
|
556
|
-
function $(i, u, h, d) {
|
|
557
|
-
i.min = U(u.min, h.min, d), i.max = U(u.max, h.max, d);
|
|
558
|
-
}
|
|
559
|
-
function Ft(i, u, h, d) {
|
|
560
|
-
$(i.x, u.x, h.x, d), $(i.y, u.y, h.y, d);
|
|
561
|
-
}
|
|
562
|
-
function Ct(i) {
|
|
563
|
-
return i.animationValues && i.animationValues.opacityExit !== void 0;
|
|
564
|
-
}
|
|
565
|
-
const Ot = {
|
|
566
|
-
duration: 0.45,
|
|
567
|
-
ease: [0.4, 0, 0.1, 1]
|
|
568
|
-
}, J = (i) => typeof navigator < "u" && navigator.userAgent.toLowerCase().includes(i), K = J("applewebkit/") && !J("chrome/") ? Math.round : Tt;
|
|
569
|
-
function Q(i) {
|
|
570
|
-
i.min = K(i.min), i.max = K(i.max);
|
|
571
|
-
}
|
|
572
|
-
function bt(i) {
|
|
573
|
-
Q(i.x), Q(i.y);
|
|
574
|
-
}
|
|
575
|
-
function it(i, u, h) {
|
|
576
|
-
return i === "position" || i === "preserve-aspect" && !lt(I(u), I(h), 0.2);
|
|
577
|
-
}
|
|
578
|
-
export {
|
|
579
|
-
Bt as cleanDirtyNodes,
|
|
580
|
-
he as createProjectionNode,
|
|
581
|
-
$ as mixAxis,
|
|
582
|
-
Z as mixAxisDelta,
|
|
583
|
-
Ft as mixBox,
|
|
584
|
-
jt as propagateDirtyNodes
|
|
585
|
-
};
|
|
586
|
-
//# sourceMappingURL=index656.mjs.map
|
package/index657.mjs
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { createProjectionNode as t } from "./index656.mjs";
|
|
2
|
-
import { addDomEvent as c } from "./index588.mjs";
|
|
3
|
-
const l = t({
|
|
4
|
-
attachResizeListener: (o, e) => c(o, "resize", e),
|
|
5
|
-
measureScroll: () => ({
|
|
6
|
-
x: document.documentElement.scrollLeft || document.body.scrollLeft,
|
|
7
|
-
y: document.documentElement.scrollTop || document.body.scrollTop
|
|
8
|
-
}),
|
|
9
|
-
checkIsScrollRoot: () => !0
|
|
10
|
-
});
|
|
11
|
-
export {
|
|
12
|
-
l as DocumentProjectionNode
|
|
13
|
-
};
|
|
14
|
-
//# sourceMappingURL=index657.mjs.map
|
package/index658.mjs
DELETED
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { isString as l, singleColorRegex as i, floatRegex as c } from "./index541.mjs";
|
|
2
|
-
const h = (r, o) => (t) => !!(l(t) && i.test(t) && t.startsWith(r) || o && Object.prototype.hasOwnProperty.call(t, o)), f = (r, o, t) => (a) => {
|
|
3
|
-
if (!l(a))
|
|
4
|
-
return a;
|
|
5
|
-
const [s, n, p, e] = a.match(c);
|
|
6
|
-
return {
|
|
7
|
-
[r]: parseFloat(s),
|
|
8
|
-
[o]: parseFloat(n),
|
|
9
|
-
[t]: parseFloat(p),
|
|
10
|
-
alpha: e !== void 0 ? parseFloat(e) : 1
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
export {
|
|
14
|
-
h as isColorString,
|
|
15
|
-
f as splitColor
|
|
16
|
-
};
|
|
17
|
-
//# sourceMappingURL=index658.mjs.map
|
package/index659.mjs
DELETED
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { mapEasingToNativeEasing as y } from "./index660.mjs";
|
|
2
|
-
function p(e, n, t, { delay: o = 0, duration: s, repeat: f = 0, repeatType: l = "loop", ease: m, times: i } = {}) {
|
|
3
|
-
const r = { [n]: t };
|
|
4
|
-
i && (r.offset = i);
|
|
5
|
-
const a = y(m);
|
|
6
|
-
return Array.isArray(a) && (r.easing = a), e.animate(r, {
|
|
7
|
-
delay: o,
|
|
8
|
-
duration: s,
|
|
9
|
-
easing: Array.isArray(a) ? "linear" : a,
|
|
10
|
-
fill: "both",
|
|
11
|
-
iterations: f + 1,
|
|
12
|
-
direction: l === "reverse" ? "alternate" : "normal"
|
|
13
|
-
});
|
|
14
|
-
}
|
|
15
|
-
export {
|
|
16
|
-
p as animateStyle
|
|
17
|
-
};
|
|
18
|
-
//# sourceMappingURL=index659.mjs.map
|