@okam/stack-ui 1.27.3 → 1.29.0
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/Box/interface.d.ts +0 -1
- package/components/Button/interface.d.ts +2 -2
- package/components/Menu/interface.d.ts +5 -2
- package/components/Typography/interface.d.ts +0 -1
- package/components/Video/index.d.ts +3 -0
- package/components/Video/interface.d.ts +6 -0
- package/index.d.ts +1 -2
- package/index.js +1 -1
- package/index.mjs +101 -103
- package/index10.js +1 -1
- package/index10.mjs +1 -1
- package/index100.js +2 -1
- package/index100.mjs +22 -17
- package/index101.js +1 -2
- package/index101.mjs +63 -22
- package/index102.js +1 -1
- package/index102.mjs +24 -58
- package/index103.js +1 -1
- package/index103.mjs +4 -29
- package/index104.js +1 -1
- package/index104.mjs +11 -4
- package/index105.js +1 -1
- package/index105.mjs +14 -11
- package/index106.js +1 -1
- package/index106.mjs +22 -13
- package/index107.js +1 -1
- package/index107.mjs +19 -19
- package/index108.js +1 -1
- package/index108.mjs +38 -22
- package/index109.js +2 -1
- package/index109.mjs +12 -38
- package/index11.js +1 -1
- package/index11.mjs +3 -3
- package/index110.js +1 -2
- package/index110.mjs +7 -12
- package/index111.js +1 -1
- package/index111.mjs +21 -7
- package/index112.js +1 -1
- package/index112.mjs +38 -21
- package/index113.js +1 -1
- package/index113.mjs +49 -38
- package/index114.js +1 -1
- package/index114.mjs +40 -49
- package/index115.js +1 -1
- package/index115.mjs +13 -40
- package/index116.js +1 -1
- package/index116.mjs +26 -14
- package/index117.js +1 -1
- package/index117.mjs +17 -23
- package/index118.js +1 -1
- package/index118.mjs +8 -19
- package/index119.js +1 -1
- package/index119.mjs +30 -9
- package/index12.js +1 -1
- package/index12.mjs +1 -1
- package/index120.js +1 -1
- package/index120.mjs +15 -30
- package/index121.js +1 -1
- package/index121.mjs +15 -13
- package/index122.js +1 -1
- package/index122.mjs +21 -17
- package/index123.js +1 -1
- package/index123.mjs +11 -5
- package/index124.js +2 -1
- package/index124.mjs +21 -20
- package/index125.js +1 -1
- package/index125.mjs +12 -11
- package/index126.js +1 -1
- package/index126.mjs +46 -42
- package/index127.js +1 -2
- package/index127.mjs +239 -20
- package/index128.js +2 -1
- package/index128.mjs +12 -11
- package/index129.js +1 -1
- package/index129.mjs +30 -46
- package/index13.js +1 -1
- package/index13.mjs +32 -15
- package/index130.js +1 -1
- package/index130.mjs +43 -233
- package/index131.js +1 -2
- package/index131.mjs +27 -13
- package/index132.js +1 -1
- package/index132.mjs +21 -30
- package/index133.js +1 -1
- package/index133.mjs +61 -50
- package/index134.js +1 -1
- package/index134.mjs +93 -25
- package/index135.js +1 -1
- package/index135.mjs +27 -16
- package/index136.js +1 -1
- package/index136.mjs +121 -3
- package/index137.js +1 -4
- package/index137.mjs +27 -246
- package/index138.js +1 -1
- package/index138.mjs +124 -61
- package/index139.js +1 -1
- package/index139.mjs +132 -92
- package/index14.js +1 -1
- package/index14.mjs +4 -4
- package/index140.js +1 -1
- package/index140.mjs +14 -31
- package/index141.js +1 -1
- package/index141.mjs +90 -116
- package/index142.js +1 -1
- package/index142.mjs +105 -26
- package/index143.js +1 -1
- package/index143.mjs +5 -124
- package/index144.js +1 -1
- package/index144.mjs +3 -134
- package/index145.js +1 -1
- package/index145.mjs +123 -12
- package/index146.js +1 -1
- package/index146.mjs +18 -84
- package/index147.js +1 -1
- package/index147.mjs +46 -101
- package/index148.js +1 -1
- package/index148.mjs +44 -5
- package/index149.js +1 -1
- package/index149.mjs +37 -3
- package/index15.js +1 -1
- package/index15.mjs +1 -1
- package/index150.js +1 -1
- package/index150.mjs +102 -114
- package/index151.js +1 -1
- package/index151.mjs +69 -21
- package/index152.js +1 -1
- package/index152.mjs +86 -36
- package/index153.js +1 -1
- package/index153.mjs +98 -45
- package/index154.js +1 -1
- package/index154.mjs +192 -30
- package/index155.js +1 -1
- package/index155.mjs +58 -107
- package/index156.js +1 -1
- package/index156.mjs +132 -68
- package/index157.js +1 -1
- package/index157.mjs +119 -101
- package/index158.js +1 -1
- package/index158.mjs +218 -98
- package/index159.js +1 -1
- package/index159.mjs +191 -2
- package/index16.js +1 -1
- package/index16.mjs +2 -2
- package/index160.js +1 -1
- package/index160.mjs +69 -5
- package/index161.js +1 -1
- package/index161.mjs +253 -59
- package/index162.js +1 -1
- package/index162.mjs +95 -24
- package/index163.js +1 -1
- package/index163.mjs +173 -53
- package/index164.js +1 -1
- package/index164.mjs +78 -149
- package/index165.js +1 -1
- package/index165.mjs +57 -21
- package/index166.js +1 -1
- package/index166.mjs +125 -18
- package/index167.js +1 -1
- package/index167.mjs +115 -38
- package/index168.js +1 -1
- package/index168.mjs +117 -77
- package/index169.js +1 -1
- package/index169.mjs +70 -28
- package/index17.js +1 -1
- package/index17.mjs +1 -1
- package/index170.js +1 -1
- package/index170.mjs +110 -21
- package/index171.js +1 -1
- package/index171.mjs +50 -51
- package/index172.js +1 -1
- package/index172.mjs +94 -2
- package/index173.js +1 -11
- package/index173.mjs +69 -114
- package/index174.js +1 -1
- package/index174.mjs +50 -193
- package/index175.js +1 -1
- package/index175.mjs +91 -56
- package/index176.js +5 -1
- package/index176.mjs +75 -136
- package/index177.js +1 -1
- package/index177.mjs +1999 -107
- package/index178.js +1 -1
- package/index178.mjs +56 -214
- package/index179.js +1 -1
- package/index179.mjs +186 -188
- package/index18.js +1 -1
- package/index18.mjs +4 -4
- package/index180.js +1 -1
- package/index180.mjs +5 -69
- package/index181.js +1 -1
- package/index181.mjs +121 -249
- package/index182.js +1 -1
- package/index182.mjs +171 -89
- package/index183.js +1 -1
- package/index183.mjs +8 -173
- package/index184.js +1 -1
- package/index184.mjs +3 -84
- package/index185.js +1 -1
- package/index185.mjs +32 -54
- package/index186.js +1 -1
- package/index186.mjs +5 -126
- package/index187.js +1 -1
- package/index187.mjs +25 -112
- package/index188.js +1 -1
- package/index188.mjs +6 -122
- package/index189.js +1 -1
- package/index189.mjs +307 -66
- package/index19.js +1 -1
- package/index19.mjs +2 -2
- package/index190.js +1 -1
- package/index190.mjs +190 -108
- package/index191.js +1 -1
- package/index191.mjs +8 -52
- package/index192.js +1 -1
- package/index192.mjs +24 -91
- package/index193.js +1 -1
- package/index193.mjs +54 -69
- package/index194.js +1 -1
- package/index194.mjs +43 -53
- package/index195.js +1 -1
- package/index195.mjs +123 -98
- package/index196.js +1 -5
- package/index196.mjs +5 -80
- package/index197.js +1 -1
- package/index197.mjs +25 -2008
- package/index198.js +1 -1
- package/index198.mjs +6 -59
- package/index199.js +1 -1
- package/index199.mjs +7 -188
- package/index2.js +1 -1
- package/index2.mjs +20 -20
- package/index20.js +1 -1
- package/index20.mjs +2 -2
- package/index200.js +1 -1
- package/index200.mjs +6 -4
- package/index201.js +1 -1
- package/index201.mjs +5 -2
- package/index202.js +1 -1
- package/index202.mjs +5 -52
- package/index203.js +1 -1
- package/index203.mjs +9 -20
- package/index21.js +1 -1
- package/index21.mjs +1 -1
- package/index22.js +1 -1
- package/index22.mjs +1 -1
- package/index23.js +1 -1
- package/index23.mjs +4 -4
- package/index24.js +1 -1
- package/index24.mjs +5 -5
- package/index25.js +1 -1
- package/index25.mjs +1 -1
- package/index26.js +1 -1
- package/index26.mjs +3 -3
- package/index27.js +1 -1
- package/index27.mjs +3 -3
- package/index28.js +1 -1
- package/index28.mjs +2 -2
- package/index29.js +1 -1
- package/index29.mjs +2 -2
- package/index3.js +1 -1
- package/index3.mjs +1 -1
- package/index30.js +1 -1
- package/index31.js +1 -1
- package/index31.mjs +4 -4
- package/index32.js +1 -1
- package/index32.mjs +2 -2
- package/index33.js +1 -1
- package/index33.mjs +88 -65
- package/index34.js +1 -1
- package/index34.mjs +2 -2
- package/index35.js +1 -1
- package/index35.mjs +3 -3
- package/index36.js +1 -1
- package/index36.mjs +1 -1
- package/index37.js +1 -1
- package/index38.js +2 -1
- package/index38.mjs +20 -45
- package/index39.js +1 -2
- package/index39.mjs +5 -26
- package/index4.js +1 -1
- package/index4.mjs +4 -4
- package/index40.js +1 -1
- package/index40.mjs +7 -4
- package/index41.js +1 -1
- package/index41.mjs +5 -5
- package/index42.js +1 -1
- package/index42.mjs +5 -8
- package/index43.js +1 -1
- package/index43.mjs +2 -2
- package/index44.js +1 -1
- package/index44.mjs +1 -1
- package/index45.js +1 -1
- package/index45.mjs +4 -4
- package/index46.js +1 -1
- package/index46.mjs +9 -3
- package/index47.js +1 -1
- package/index47.mjs +9 -7
- package/index48.js +1 -1
- package/index48.mjs +9 -9
- package/index49.js +1 -1
- package/index49.mjs +46 -13
- package/index50.js +1 -1
- package/index50.mjs +8 -46
- package/index51.js +1 -1
- package/index51.mjs +69 -6
- package/index52.js +1 -1
- package/index52.mjs +8 -71
- package/index53.js +1 -1
- package/index53.mjs +12 -7
- package/index54.js +1 -1
- package/index54.mjs +9 -12
- package/index55.js +1 -1
- package/index55.mjs +17 -10
- package/index56.js +1 -1
- package/index56.mjs +13 -17
- package/index57.js +1 -1
- package/index57.mjs +5 -5
- package/index58.js +1 -1
- package/index58.mjs +6 -6
- package/index59.js +1 -1
- package/index59.mjs +8 -10
- package/index6.js +1 -1
- package/index6.mjs +1 -1
- package/index60.js +1 -1
- package/index60.mjs +5 -5
- package/index61.js +1 -1
- package/index61.mjs +8 -6
- package/index62.js +1 -1
- package/index62.mjs +14 -13
- package/index63.js +2 -1
- package/index63.mjs +23 -14
- package/index64.js +1 -1
- package/index64.mjs +15 -21
- package/index65.js +1 -1
- package/index65.mjs +14 -16
- package/index66.js +1 -1
- package/index66.mjs +40 -13
- package/index67.js +1 -1
- package/index67.mjs +36 -39
- package/index68.js +1 -1
- package/index68.mjs +11 -37
- package/index69.js +1 -1
- package/index69.mjs +10 -11
- package/index7.js +1 -1
- package/index7.mjs +1 -1
- package/index70.js +1 -1
- package/index70.mjs +13 -10
- package/index71.js +1 -1
- package/index71.mjs +10 -13
- package/index72.js +1 -2
- package/index72.mjs +2 -12
- package/index73.js +2 -1
- package/index73.mjs +9 -2
- package/index74.js +1 -1
- package/index74.mjs +6 -7
- package/index75.js +1 -1
- package/index75.mjs +6 -6
- package/index76.js +1 -1
- package/index76.mjs +6 -6
- package/index77.js +1 -2
- package/index77.mjs +25 -8
- package/index78.js +1 -1
- package/index78.mjs +2 -25
- package/index79.js +6 -1
- package/index79.mjs +94 -2
- package/index8.js +1 -1
- package/index8.mjs +3 -3
- package/index80.js +1 -6
- package/index80.mjs +54 -79
- package/index81.js +1 -1
- package/index81.mjs +33 -61
- package/index82.js +42 -1
- package/index82.mjs +67 -34
- package/index83.js +1 -42
- package/index83.mjs +154 -65
- package/index84.js +9 -1
- package/index84.mjs +47 -149
- package/index85.js +1 -9
- package/index85.mjs +36 -48
- package/index86.js +1 -1
- package/index86.mjs +8 -40
- package/index87.js +1 -1
- package/index87.mjs +31 -9
- package/index88.js +1 -1
- package/index88.mjs +6 -35
- package/index89.js +12 -1
- package/index89.mjs +40 -6
- package/index9.js +1 -1
- package/index9.mjs +38 -43
- package/index90.js +1 -12
- package/index90.mjs +25 -36
- package/index91.js +1 -1
- package/index91.mjs +8 -24
- package/index92.js +7 -1
- package/index92.mjs +13 -7
- package/index93.js +14 -6
- package/index93.mjs +65 -13
- package/index94.js +1 -15
- package/index94.mjs +7 -71
- package/index95.js +16 -1
- package/index95.mjs +25 -7
- package/index96.js +1 -16
- package/index96.mjs +37 -20
- package/index97.js +1 -1
- package/index97.mjs +43 -40
- package/index98.js +1 -1
- package/index98.mjs +47 -44
- package/index99.js +1 -1
- package/index99.mjs +17 -48
- package/package.json +1 -1
- package/theme/Alerts/index.d.ts +88 -0
- package/theme/Button/index.d.ts +28 -0
- package/theme/Carousel/index.d.ts +36 -0
- package/types/next-link.d.ts +16 -0
- package/components/DirectusImg/index.d.ts +0 -3
- package/components/DirectusImg/interface.d.ts +0 -20
- package/components/Img/index.d.ts +0 -3
- package/components/Img/interface.d.ts +0 -6
- package/index204.js +0 -1
- package/index204.mjs +0 -26
- package/index205.js +0 -1
- package/index205.mjs +0 -29
- package/index206.js +0 -1
- package/index206.mjs +0 -49
- package/index207.js +0 -1
- package/index207.mjs +0 -4
- package/index208.js +0 -1
- package/index208.mjs +0 -23
- package/index209.js +0 -1
- package/index209.mjs +0 -4
- package/index210.js +0 -1
- package/index210.mjs +0 -31
- package/index211.js +0 -1
- package/index211.mjs +0 -4
- package/index212.js +0 -1
- package/index212.mjs +0 -4
- package/index213.js +0 -1
- package/index213.mjs +0 -25
- package/index214.js +0 -1
- package/index214.mjs +0 -4
- package/index215.js +0 -1
- package/index215.mjs +0 -4
- package/index216.js +0 -1
- package/index216.mjs +0 -4
- package/index217.js +0 -1
- package/index217.mjs +0 -40
- package/index218.js +0 -1
- package/index218.mjs +0 -4
- package/index219.js +0 -1
- package/index219.mjs +0 -23
- package/index220.js +0 -1
- package/index220.mjs +0 -25
- package/index221.js +0 -1
- package/index221.mjs +0 -4
- package/index222.js +0 -1
- package/index222.mjs +0 -25
- package/index223.js +0 -1
- package/index223.mjs +0 -4
- package/index224.js +0 -1
- package/index224.mjs +0 -133
- package/index225.js +0 -1
- package/index225.mjs +0 -182
- package/index226.js +0 -1
- package/index226.mjs +0 -12
- package/index227.js +0 -1
- package/index227.mjs +0 -6
- package/index228.js +0 -1
- package/index228.mjs +0 -39
- package/index229.js +0 -1
- package/index229.mjs +0 -8
- package/index230.js +0 -1
- package/index230.mjs +0 -32
- package/index231.js +0 -1
- package/index231.mjs +0 -9
- package/index232.js +0 -1
- package/index232.mjs +0 -316
- package/index233.js +0 -1
- package/index233.mjs +0 -195
- package/index234.js +0 -1
- package/index234.mjs +0 -11
- package/index235.js +0 -1
- package/index235.mjs +0 -29
- package/index236.js +0 -1
- package/index236.mjs +0 -58
- package/index237.js +0 -1
- package/index237.mjs +0 -49
- package/index238.js +0 -1
- package/index238.mjs +0 -127
- package/index239.js +0 -1
- package/index239.mjs +0 -4
- package/index240.js +0 -1
- package/index240.mjs +0 -4
- package/index241.js +0 -1
- package/index241.mjs +0 -4
- package/index242.js +0 -1
- package/index242.mjs +0 -20
- package/index243.js +0 -1
- package/index243.mjs +0 -29
- package/index244.js +0 -1
- package/index244.mjs +0 -4
- package/index245.js +0 -1
- package/index245.mjs +0 -91
- package/index246.js +0 -1
- package/index246.mjs +0 -22
- package/index247.js +0 -1
- package/index247.mjs +0 -4
- package/index248.js +0 -1
- package/index248.mjs +0 -40
- package/index249.js +0 -1
- package/index249.mjs +0 -139
- package/index250.js +0 -1
- package/index250.mjs +0 -4
- package/index251.js +0 -1
- package/index251.mjs +0 -4
- package/index252.js +0 -1
- package/index252.mjs +0 -25
- package/index253.js +0 -1
- package/index253.mjs +0 -4
- package/index254.js +0 -1
- package/index254.mjs +0 -4
- package/index255.js +0 -1
- package/index255.mjs +0 -4
- package/index256.js +0 -1
- package/index256.mjs +0 -25
- package/index257.js +0 -1
- package/index257.mjs +0 -4
- package/index258.js +0 -1
- package/index258.mjs +0 -28
- package/index259.js +0 -1
- package/index259.mjs +0 -4
- package/index260.js +0 -1
- package/index260.mjs +0 -8
- package/index261.js +0 -1
- package/index261.mjs +0 -4
- package/index262.js +0 -1
- package/index262.mjs +0 -4
- package/index263.js +0 -1
- package/index263.mjs +0 -4
- package/index264.js +0 -1
- package/index264.mjs +0 -4
- package/index265.js +0 -1
- package/index265.mjs +0 -74
- package/index266.js +0 -1
- package/index266.mjs +0 -4
- package/index267.js +0 -1
- package/index267.mjs +0 -4
- package/index268.js +0 -1
- package/index268.mjs +0 -21
- package/index269.js +0 -1
- package/index269.mjs +0 -4
- package/index270.js +0 -1
- package/index270.mjs +0 -4
- package/index271.js +0 -1
- package/index271.mjs +0 -4
- package/index272.js +0 -1
- package/index272.mjs +0 -31
- package/index273.js +0 -1
- package/index273.mjs +0 -9
- package/index274.js +0 -1
- package/index274.mjs +0 -10
- package/index275.js +0 -1
- package/index275.mjs +0 -10
- package/index276.js +0 -1
- package/index276.mjs +0 -4
- package/index277.js +0 -1
- package/index277.mjs +0 -39
- package/index278.js +0 -1
- package/index278.mjs +0 -4
- package/index279.js +0 -1
- package/index279.mjs +0 -7
- package/index280.js +0 -1
- package/index280.mjs +0 -8
- package/index281.js +0 -1
- package/index281.mjs +0 -12
- package/index282.js +0 -1
- package/index282.mjs +0 -4
- package/index283.js +0 -1
- package/index283.mjs +0 -20
- package/index284.js +0 -1
- package/index284.mjs +0 -33
- package/index285.js +0 -1
- package/index285.mjs +0 -4
- package/index286.js +0 -1
- package/index286.mjs +0 -4
package/index173.mjs
CHANGED
|
@@ -1,118 +1,73 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
}
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
function y(c, a, b) {
|
|
17
|
-
const r = c * 4 + 1, i = 6 + a * (5 + r), t = [
|
|
18
|
-
137,
|
|
19
|
-
80,
|
|
20
|
-
78,
|
|
21
|
-
71,
|
|
22
|
-
13,
|
|
23
|
-
10,
|
|
24
|
-
26,
|
|
25
|
-
10,
|
|
26
|
-
0,
|
|
27
|
-
0,
|
|
28
|
-
0,
|
|
29
|
-
13,
|
|
30
|
-
73,
|
|
31
|
-
72,
|
|
32
|
-
68,
|
|
33
|
-
82,
|
|
34
|
-
0,
|
|
35
|
-
0,
|
|
36
|
-
c >> 8,
|
|
37
|
-
c & 255,
|
|
38
|
-
0,
|
|
39
|
-
0,
|
|
40
|
-
a >> 8,
|
|
41
|
-
a & 255,
|
|
42
|
-
8,
|
|
43
|
-
6,
|
|
44
|
-
0,
|
|
45
|
-
0,
|
|
46
|
-
0,
|
|
47
|
-
0,
|
|
48
|
-
0,
|
|
49
|
-
0,
|
|
50
|
-
0,
|
|
51
|
-
i >>> 24,
|
|
52
|
-
i >> 16 & 255,
|
|
53
|
-
i >> 8 & 255,
|
|
54
|
-
i & 255,
|
|
55
|
-
73,
|
|
56
|
-
68,
|
|
57
|
-
65,
|
|
58
|
-
84,
|
|
59
|
-
120,
|
|
60
|
-
1
|
|
61
|
-
], d = [
|
|
62
|
-
0,
|
|
63
|
-
498536548,
|
|
64
|
-
997073096,
|
|
65
|
-
651767980,
|
|
66
|
-
1994146192,
|
|
67
|
-
1802195444,
|
|
68
|
-
1303535960,
|
|
69
|
-
1342533948,
|
|
70
|
-
-306674912,
|
|
71
|
-
-267414716,
|
|
72
|
-
-690576408,
|
|
73
|
-
-882789492,
|
|
74
|
-
-1687895376,
|
|
75
|
-
-2032938284,
|
|
76
|
-
-1609899400,
|
|
77
|
-
-1111625188
|
|
78
|
-
];
|
|
79
|
-
let n = 1, f = 0;
|
|
80
|
-
for (let u = 0, o = 0, e = r - 1; u < a; u++, e += r - 1)
|
|
81
|
-
for (t.push(u + 1 < a ? 0 : 1, r & 255, r >> 8, ~r & 255, r >> 8 ^ 255, 0), f = (f + n) % 65521; o < e; o++) {
|
|
82
|
-
const s = b[o] & 255;
|
|
83
|
-
t.push(s), n = (n + s) % 65521, f = (f + n) % 65521;
|
|
1
|
+
import { c as d } from "./index188.mjs";
|
|
2
|
+
import { e as y } from "./index185.mjs";
|
|
3
|
+
import { e as x } from "./index186.mjs";
|
|
4
|
+
import { e as M } from "./index187.mjs";
|
|
5
|
+
import { l as E } from "./index182.mjs";
|
|
6
|
+
function A(h) {
|
|
7
|
+
let {
|
|
8
|
+
swiper: t,
|
|
9
|
+
extendParams: w,
|
|
10
|
+
on: g
|
|
11
|
+
} = h;
|
|
12
|
+
w({
|
|
13
|
+
flipEffect: {
|
|
14
|
+
slideShadows: !0,
|
|
15
|
+
limitRotation: !0
|
|
84
16
|
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
17
|
+
});
|
|
18
|
+
const p = (e, r) => {
|
|
19
|
+
let s = t.isHorizontal() ? e.querySelector(".swiper-slide-shadow-left") : e.querySelector(".swiper-slide-shadow-top"), a = t.isHorizontal() ? e.querySelector(".swiper-slide-shadow-right") : e.querySelector(".swiper-slide-shadow-bottom");
|
|
20
|
+
s || (s = d("flip", e, t.isHorizontal() ? "left" : "top")), a || (a = d("flip", e, t.isHorizontal() ? "right" : "bottom")), s && (s.style.opacity = Math.max(-r, 0)), a && (a.style.opacity = Math.max(r, 0));
|
|
21
|
+
};
|
|
22
|
+
y({
|
|
23
|
+
effect: "flip",
|
|
24
|
+
swiper: t,
|
|
25
|
+
on: g,
|
|
26
|
+
setTranslate: () => {
|
|
27
|
+
const {
|
|
28
|
+
slides: e,
|
|
29
|
+
rtlTranslate: r
|
|
30
|
+
} = t, s = t.params.flipEffect;
|
|
31
|
+
for (let a = 0; a < e.length; a += 1) {
|
|
32
|
+
const i = e[a];
|
|
33
|
+
let f = i.progress;
|
|
34
|
+
t.params.flipEffect.limitRotation && (f = Math.max(Math.min(i.progress, 1), -1));
|
|
35
|
+
const c = i.swiperSlideOffset;
|
|
36
|
+
let o = -180 * f, l = 0, n = t.params.cssMode ? -c - t.translate : -c, m = 0;
|
|
37
|
+
t.isHorizontal() ? r && (o = -o) : (m = n, n = 0, l = -o, o = 0), t.browser && t.browser.need3dFix && (Math.abs(o) / 90 % 2 === 1 && (o += 1e-3), Math.abs(l) / 90 % 2 === 1 && (l += 1e-3)), i.style.zIndex = -Math.abs(Math.round(f)) + e.length, s.slideShadows && p(i, f);
|
|
38
|
+
const u = `translate3d(${n}px, ${m}px, 0px) rotateX(${l}deg) rotateY(${o}deg)`, S = x(s, i);
|
|
39
|
+
S.style.transform = u;
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
setTransition: (e) => {
|
|
43
|
+
const r = t.slides.map((s) => E(s));
|
|
44
|
+
r.forEach((s) => {
|
|
45
|
+
s.style.transitionDuration = `${e}ms`, s.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((a) => {
|
|
46
|
+
a.style.transitionDuration = `${e}ms`;
|
|
47
|
+
});
|
|
48
|
+
}), M({
|
|
49
|
+
swiper: t,
|
|
50
|
+
duration: e,
|
|
51
|
+
transformElements: r
|
|
52
|
+
});
|
|
53
|
+
},
|
|
54
|
+
recreateShadows: () => {
|
|
55
|
+
t.params.flipEffect, t.slides.forEach((e) => {
|
|
56
|
+
let r = e.progress;
|
|
57
|
+
t.params.flipEffect.limitRotation && (r = Math.max(Math.min(e.progress, 1), -1)), p(e, r);
|
|
58
|
+
});
|
|
59
|
+
},
|
|
60
|
+
getEffectParams: () => t.params.flipEffect,
|
|
61
|
+
perspective: () => !0,
|
|
62
|
+
overwriteParams: () => ({
|
|
63
|
+
slidesPerView: 1,
|
|
64
|
+
slidesPerGroup: 1,
|
|
65
|
+
watchSlidesProgress: !0,
|
|
66
|
+
spaceBetween: 0,
|
|
67
|
+
virtualTranslate: !t.params.cssMode
|
|
68
|
+
})
|
|
69
|
+
});
|
|
114
70
|
}
|
|
115
71
|
export {
|
|
116
|
-
|
|
117
|
-
y as r
|
|
72
|
+
A as default
|
|
118
73
|
};
|
package/index174.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const q=require("./index188.js"),D=require("./index185.js"),F=require("./index186.js"),I=require("./index182.js");function B(v){let{swiper:o,extendParams:x,on:$}=v;x({coverflowEffect:{rotate:50,stretch:0,depth:100,scale:1,modifier:1,slideShadows:!0}});const z=()=>{const{width:n,height:g,slides:i,slidesSizesGrid:w}=o,e=o.params.coverflowEffect,s=o.isHorizontal(),M=o.translate,T=s?-M+n/2:-M+g/2,S=s?e.rotate:-e.rotate,H=e.depth;for(let c=0,P=i.length;c<P;c+=1){const r=i[c],p=w[c],X=r.swiperSlideOffset,E=(T-X-p/2)/p,t=typeof e.modifier=="function"?e.modifier(E):E*e.modifier;let a=s?S*t:0,l=s?0:S*t,m=-H*Math.abs(t),f=e.stretch;typeof f=="string"&&f.indexOf("%")!==-1&&(f=parseFloat(e.stretch)/100*p);let u=s?0:f*t,b=s?f*t:0,y=1-(1-e.scale)*Math.abs(t);Math.abs(b)<.001&&(b=0),Math.abs(u)<.001&&(u=0),Math.abs(m)<.001&&(m=0),Math.abs(a)<.001&&(a=0),Math.abs(l)<.001&&(l=0),Math.abs(y)<.001&&(y=0),o.browser&&o.browser.need3dFix&&(Math.abs(a)/90%2===1&&(a+=.001),Math.abs(l)/90%2===1&&(l+=.001));const Y=`translate3d(${b}px,${u}px,${m}px) rotateX(${l}deg) rotateY(${a}deg) scale(${y})`,A=F.e(e,r);if(A.style.transform=Y,r.style.zIndex=-Math.abs(Math.round(t))+1,e.slideShadows){let d=s?r.querySelector(".swiper-slide-shadow-left"):r.querySelector(".swiper-slide-shadow-top"),h=s?r.querySelector(".swiper-slide-shadow-right"):r.querySelector(".swiper-slide-shadow-bottom");d||(d=q.c("coverflow",r,s?"left":"top")),h||(h=q.c("coverflow",r,s?"right":"bottom")),d&&(d.style.opacity=t>0?t:0),h&&(h.style.opacity=-t>0?-t:0)}}},O=n=>{o.slides.map(i=>I.l(i)).forEach(i=>{i.style.transitionDuration=`${n}ms`,i.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach(w=>{w.style.transitionDuration=`${n}ms`})})};D.e({effect:"coverflow",swiper:o,on:$,setTranslate:z,setTransition:O,perspective:()=>!0,overwriteParams:()=>({watchSlidesProgress:!0})})}module.exports=B;
|
package/index174.mjs
CHANGED
|
@@ -1,202 +1,59 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
|
|
1
|
+
import { c as v } from "./index188.mjs";
|
|
2
|
+
import { e as Y } from "./index185.mjs";
|
|
3
|
+
import { e as A } from "./index186.mjs";
|
|
4
|
+
import { l as D } from "./index182.mjs";
|
|
5
|
+
function Z(x) {
|
|
4
6
|
let {
|
|
5
|
-
swiper:
|
|
6
|
-
extendParams:
|
|
7
|
-
on:
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
renderExternalUpdate: !0,
|
|
18
|
-
addSlidesBefore: 0,
|
|
19
|
-
addSlidesAfter: 0
|
|
7
|
+
swiper: o,
|
|
8
|
+
extendParams: $,
|
|
9
|
+
on: T
|
|
10
|
+
} = x;
|
|
11
|
+
$({
|
|
12
|
+
coverflowEffect: {
|
|
13
|
+
rotate: 50,
|
|
14
|
+
stretch: 0,
|
|
15
|
+
depth: 100,
|
|
16
|
+
scale: 1,
|
|
17
|
+
modifier: 1,
|
|
18
|
+
slideShadows: !0
|
|
20
19
|
}
|
|
21
|
-
})
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
slidesPerView: r,
|
|
43
|
-
slidesPerGroup: a,
|
|
44
|
-
centeredSlides: s,
|
|
45
|
-
loop: d
|
|
46
|
-
} = e.params, {
|
|
47
|
-
addSlidesBefore: g,
|
|
48
|
-
addSlidesAfter: S
|
|
49
|
-
} = e.params.virtual, {
|
|
50
|
-
from: p,
|
|
51
|
-
to: h,
|
|
52
|
-
slides: n,
|
|
53
|
-
slidesGrid: V,
|
|
54
|
-
offset: D
|
|
55
|
-
} = e.virtual;
|
|
56
|
-
e.params.cssMode || e.updateActiveIndex();
|
|
57
|
-
const E = e.activeIndex || 0;
|
|
58
|
-
let b;
|
|
59
|
-
e.rtlTranslate ? b = "right" : b = e.isHorizontal() ? "left" : "top";
|
|
60
|
-
let A, u;
|
|
61
|
-
s ? (A = Math.floor(r / 2) + a + S, u = Math.floor(r / 2) + a + g) : (A = r + (a - 1) + S, u = (d ? r : a) + g);
|
|
62
|
-
let c = E - u, f = E + A;
|
|
63
|
-
d || (c = Math.max(c, 0), f = Math.min(f, n.length - 1));
|
|
64
|
-
let v = (e.slidesGrid[c] || 0) - (e.slidesGrid[0] || 0);
|
|
65
|
-
d && E >= u ? (c -= u, s || (v += e.slidesGrid[0])) : d && E < u && (c = -u, s && (v += e.slidesGrid[0])), Object.assign(e.virtual, {
|
|
66
|
-
from: c,
|
|
67
|
-
to: f,
|
|
68
|
-
offset: v,
|
|
69
|
-
slidesGrid: e.slidesGrid,
|
|
70
|
-
slidesBefore: u,
|
|
71
|
-
slidesAfter: A
|
|
72
|
-
});
|
|
73
|
-
function C() {
|
|
74
|
-
e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), M("virtualUpdate");
|
|
75
|
-
}
|
|
76
|
-
if (p === c && h === f && !i) {
|
|
77
|
-
e.slidesGrid !== V && v !== D && e.slides.forEach((t) => {
|
|
78
|
-
t.style[b] = `${v - Math.abs(e.cssOverflowAdjustment())}px`;
|
|
79
|
-
}), e.updateProgress(), M("virtualUpdate");
|
|
80
|
-
return;
|
|
81
|
-
}
|
|
82
|
-
if (e.params.virtual.renderExternal) {
|
|
83
|
-
e.params.virtual.renderExternal.call(e, {
|
|
84
|
-
offset: v,
|
|
85
|
-
from: c,
|
|
86
|
-
to: f,
|
|
87
|
-
slides: function() {
|
|
88
|
-
const l = [];
|
|
89
|
-
for (let m = c; m <= f; m += 1)
|
|
90
|
-
l.push(n[m]);
|
|
91
|
-
return l;
|
|
92
|
-
}()
|
|
93
|
-
}), e.params.virtual.renderExternalUpdate ? C() : M("virtualUpdate");
|
|
94
|
-
return;
|
|
95
|
-
}
|
|
96
|
-
const w = [], G = [], $ = (t) => {
|
|
97
|
-
let l = t;
|
|
98
|
-
return t < 0 ? l = n.length + t : l >= n.length && (l = l - n.length), l;
|
|
99
|
-
};
|
|
100
|
-
if (i)
|
|
101
|
-
e.slides.filter((t) => t.matches(`.${e.params.slideClass}, swiper-slide`)).forEach((t) => {
|
|
102
|
-
t.remove();
|
|
103
|
-
});
|
|
104
|
-
else
|
|
105
|
-
for (let t = p; t <= h; t += 1)
|
|
106
|
-
if (t < c || t > f) {
|
|
107
|
-
const l = $(t);
|
|
108
|
-
e.slides.filter((m) => m.matches(`.${e.params.slideClass}[data-swiper-slide-index="${l}"], swiper-slide[data-swiper-slide-index="${l}"]`)).forEach((m) => {
|
|
109
|
-
m.remove();
|
|
110
|
-
});
|
|
20
|
+
}), Y({
|
|
21
|
+
effect: "coverflow",
|
|
22
|
+
swiper: o,
|
|
23
|
+
on: T,
|
|
24
|
+
setTranslate: () => {
|
|
25
|
+
const {
|
|
26
|
+
width: n,
|
|
27
|
+
height: u,
|
|
28
|
+
slides: a,
|
|
29
|
+
slidesSizesGrid: p
|
|
30
|
+
} = o, t = o.params.coverflowEffect, s = o.isHorizontal(), M = o.translate, q = s ? -M + n / 2 : -M + u / 2, S = s ? t.rotate : -t.rotate, z = t.depth;
|
|
31
|
+
for (let c = 0, O = a.length; c < O; c += 1) {
|
|
32
|
+
const r = a[c], w = p[c], H = r.swiperSlideOffset, E = (q - H - w / 2) / w, e = typeof t.modifier == "function" ? t.modifier(E) : E * t.modifier;
|
|
33
|
+
let i = s ? S * e : 0, l = s ? 0 : S * e, m = -z * Math.abs(e), f = t.stretch;
|
|
34
|
+
typeof f == "string" && f.indexOf("%") !== -1 && (f = parseFloat(t.stretch) / 100 * w);
|
|
35
|
+
let b = s ? 0 : f * e, y = s ? f * e : 0, g = 1 - (1 - t.scale) * Math.abs(e);
|
|
36
|
+
Math.abs(y) < 1e-3 && (y = 0), Math.abs(b) < 1e-3 && (b = 0), Math.abs(m) < 1e-3 && (m = 0), Math.abs(i) < 1e-3 && (i = 0), Math.abs(l) < 1e-3 && (l = 0), Math.abs(g) < 1e-3 && (g = 0), o.browser && o.browser.need3dFix && (Math.abs(i) / 90 % 2 === 1 && (i += 1e-3), Math.abs(l) / 90 % 2 === 1 && (l += 1e-3));
|
|
37
|
+
const P = `translate3d(${y}px,${b}px,${m}px) rotateX(${l}deg) rotateY(${i}deg) scale(${g})`, X = A(t, r);
|
|
38
|
+
if (X.style.transform = P, r.style.zIndex = -Math.abs(Math.round(e)) + 1, t.slideShadows) {
|
|
39
|
+
let d = s ? r.querySelector(".swiper-slide-shadow-left") : r.querySelector(".swiper-slide-shadow-top"), h = s ? r.querySelector(".swiper-slide-shadow-right") : r.querySelector(".swiper-slide-shadow-bottom");
|
|
40
|
+
d || (d = v("coverflow", r, s ? "left" : "top")), h || (h = v("coverflow", r, s ? "right" : "bottom")), d && (d.style.opacity = e > 0 ? e : 0), h && (h.style.opacity = -e > 0 ? -e : 0);
|
|
111
41
|
}
|
|
112
|
-
const F = d ? -n.length : 0, N = d ? n.length * 2 : n.length;
|
|
113
|
-
for (let t = F; t < N; t += 1)
|
|
114
|
-
if (t >= c && t <= f) {
|
|
115
|
-
const l = $(t);
|
|
116
|
-
typeof h > "u" || i ? G.push(l) : (t > h && G.push(l), t < p && w.push(l));
|
|
117
|
-
}
|
|
118
|
-
if (G.forEach((t) => {
|
|
119
|
-
e.slidesEl.append(T(n[t], t));
|
|
120
|
-
}), d)
|
|
121
|
-
for (let t = w.length - 1; t >= 0; t -= 1) {
|
|
122
|
-
const l = w[t];
|
|
123
|
-
e.slidesEl.prepend(T(n[l], l));
|
|
124
42
|
}
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
43
|
+
},
|
|
44
|
+
setTransition: (n) => {
|
|
45
|
+
o.slides.map((a) => D(a)).forEach((a) => {
|
|
46
|
+
a.style.transitionDuration = `${n}ms`, a.querySelectorAll(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").forEach((p) => {
|
|
47
|
+
p.style.transitionDuration = `${n}ms`;
|
|
48
|
+
});
|
|
128
49
|
});
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
if (typeof i == "object" && "length" in i)
|
|
135
|
-
for (let r = 0; r < i.length; r += 1)
|
|
136
|
-
i[r] && e.virtual.slides.push(i[r]);
|
|
137
|
-
else
|
|
138
|
-
e.virtual.slides.push(i);
|
|
139
|
-
o(!0);
|
|
140
|
-
}
|
|
141
|
-
function B(i) {
|
|
142
|
-
const r = e.activeIndex;
|
|
143
|
-
let a = r + 1, s = 1;
|
|
144
|
-
if (Array.isArray(i)) {
|
|
145
|
-
for (let d = 0; d < i.length; d += 1)
|
|
146
|
-
i[d] && e.virtual.slides.unshift(i[d]);
|
|
147
|
-
a = r + i.length, s = i.length;
|
|
148
|
-
} else
|
|
149
|
-
e.virtual.slides.unshift(i);
|
|
150
|
-
if (e.params.virtual.cache) {
|
|
151
|
-
const d = e.virtual.cache, g = {};
|
|
152
|
-
Object.keys(d).forEach((S) => {
|
|
153
|
-
const p = d[S], h = p.getAttribute("data-swiper-slide-index");
|
|
154
|
-
h && p.setAttribute("data-swiper-slide-index", parseInt(h, 10) + s), g[parseInt(S, 10) + s] = p;
|
|
155
|
-
}), e.virtual.cache = g;
|
|
156
|
-
}
|
|
157
|
-
o(!0), e.slideTo(a, 0);
|
|
158
|
-
}
|
|
159
|
-
function H(i) {
|
|
160
|
-
if (typeof i > "u" || i === null) return;
|
|
161
|
-
let r = e.activeIndex;
|
|
162
|
-
if (Array.isArray(i))
|
|
163
|
-
for (let a = i.length - 1; a >= 0; a -= 1)
|
|
164
|
-
e.params.virtual.cache && (delete e.virtual.cache[i[a]], Object.keys(e.virtual.cache).forEach((s) => {
|
|
165
|
-
s > i && (e.virtual.cache[s - 1] = e.virtual.cache[s], e.virtual.cache[s - 1].setAttribute("data-swiper-slide-index", s - 1), delete e.virtual.cache[s]);
|
|
166
|
-
})), e.virtual.slides.splice(i[a], 1), i[a] < r && (r -= 1), r = Math.max(r, 0);
|
|
167
|
-
else
|
|
168
|
-
e.params.virtual.cache && (delete e.virtual.cache[i], Object.keys(e.virtual.cache).forEach((a) => {
|
|
169
|
-
a > i && (e.virtual.cache[a - 1] = e.virtual.cache[a], e.virtual.cache[a - 1].setAttribute("data-swiper-slide-index", a - 1), delete e.virtual.cache[a]);
|
|
170
|
-
})), e.virtual.slides.splice(i, 1), i < r && (r -= 1), r = Math.max(r, 0);
|
|
171
|
-
o(!0), e.slideTo(r, 0);
|
|
172
|
-
}
|
|
173
|
-
function L() {
|
|
174
|
-
e.virtual.slides = [], e.params.virtual.cache && (e.virtual.cache = {}), o(!0), e.slideTo(0, 0);
|
|
175
|
-
}
|
|
176
|
-
x("beforeInit", () => {
|
|
177
|
-
if (!e.params.virtual.enabled) return;
|
|
178
|
-
let i;
|
|
179
|
-
if (typeof e.passedParams.virtual.slides > "u") {
|
|
180
|
-
const r = [...e.slidesEl.children].filter((a) => a.matches(`.${e.params.slideClass}, swiper-slide`));
|
|
181
|
-
r && r.length && (e.virtual.slides = [...r], i = !0, r.forEach((a, s) => {
|
|
182
|
-
a.setAttribute("data-swiper-slide-index", s), e.virtual.cache[s] = a, a.remove();
|
|
183
|
-
}));
|
|
184
|
-
}
|
|
185
|
-
i || (e.virtual.slides = e.params.virtual.slides), e.classNames.push(`${e.params.containerModifierClass}virtual`), e.params.watchSlidesProgress = !0, e.originalParams.watchSlidesProgress = !0, o();
|
|
186
|
-
}), x("setTranslate", () => {
|
|
187
|
-
e.params.virtual.enabled && (e.params.cssMode && !e._immediateVirtual ? (clearTimeout(P), P = setTimeout(() => {
|
|
188
|
-
o();
|
|
189
|
-
}, 100)) : o());
|
|
190
|
-
}), x("init update resize", () => {
|
|
191
|
-
e.params.virtual.enabled && e.params.cssMode && _(e.wrapperEl, "--swiper-virtual-size", `${e.virtualSize}px`);
|
|
192
|
-
}), Object.assign(e.virtual, {
|
|
193
|
-
appendSlide: z,
|
|
194
|
-
prependSlide: B,
|
|
195
|
-
removeSlide: H,
|
|
196
|
-
removeAllSlides: L,
|
|
197
|
-
update: o
|
|
50
|
+
},
|
|
51
|
+
perspective: () => !0,
|
|
52
|
+
overwriteParams: () => ({
|
|
53
|
+
watchSlidesProgress: !0
|
|
54
|
+
})
|
|
198
55
|
});
|
|
199
56
|
}
|
|
200
57
|
export {
|
|
201
|
-
|
|
58
|
+
Z as default
|
|
202
59
|
};
|
package/index175.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";const
|
|
1
|
+
"use strict";const D=require("./index188.js"),I=require("./index185.js"),V=require("./index186.js"),X=require("./index187.js"),j=require("./index182.js");function A(P){let{swiper:e,extendParams:$,on:E}=P;$({creativeEffect:{limitProgress:1,shadowPerProgress:!1,progressMultiplier:1,perspective:!0,prev:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1},next:{translate:[0,0,0],rotate:[0,0,0],opacity:1,scale:1}}});const v=r=>typeof r=="string"?r:`${r}px`,S=()=>{const{slides:r,wrapperEl:m,slidesSizesGrid:c}=e,t=e.params.creativeEffect,{progressMultiplier:f}=t,w=e.params.centeredSlides;if(w){const g=c[0]/2-e.params.slidesOffsetBefore||0;m.style.transform=`translateX(calc(50% - ${g}px))`}for(let g=0;g<r.length;g+=1){const a=r[g],b=a.progress,i=Math.min(Math.max(a.progress,-t.limitProgress),t.limitProgress);let o=i;w||(o=Math.min(Math.max(a.originalProgress,-t.limitProgress),t.limitProgress));const M=a.swiperSlideOffset,p=[e.params.cssMode?-M-e.translate:-M,0,0],d=[0,0,0];let h=!1;e.isHorizontal()||(p[1]=p[0],p[0]=0);let s={translate:[0,0,0],rotate:[0,0,0],scale:1,opacity:1};i<0?(s=t.next,h=!0):i>0&&(s=t.prev,h=!0),p.forEach((l,n)=>{p[n]=`calc(${l}px + (${v(s.translate[n])} * ${Math.abs(i*f)}))`}),d.forEach((l,n)=>{let y=s.rotate[n]*Math.abs(i*f);e.browser&&e.browser.need3dFix&&Math.abs(y)/90%2===1&&(y+=.001),d[n]=y}),a.style.zIndex=-Math.abs(Math.round(b))+r.length;const q=p.join(", "),T=`rotateX(${d[0]}deg) rotateY(${d[1]}deg) rotateZ(${d[2]}deg)`,O=o<0?`scale(${1+(1-s.scale)*o*f})`:`scale(${1-(1-s.scale)*o*f})`,z=o<0?1+(1-s.opacity)*o*f:1-(1-s.opacity)*o*f,C=`translate3d(${q}) ${T} ${O}`;if(h&&s.shadow||!h){let l=a.querySelector(".swiper-slide-shadow");if(!l&&s.shadow&&(l=D.c("creative",a)),l){const n=t.shadowPerProgress?i*(1/t.limitProgress):i;l.style.opacity=Math.min(Math.max(Math.abs(n),0),1)}}const u=V.e(t,a);u.style.transform=C,u.style.opacity=z,s.origin&&(u.style.transformOrigin=s.origin)}},x=r=>{const m=e.slides.map(c=>j.l(c));m.forEach(c=>{c.style.transitionDuration=`${r}ms`,c.querySelectorAll(".swiper-slide-shadow").forEach(t=>{t.style.transitionDuration=`${r}ms`})}),X.e({swiper:e,duration:r,transformElements:m,allSlides:!0})};I.e({effect:"creative",swiper:e,on:E,setTranslate:S,setTransition:x,perspective:()=>e.params.creativeEffect.perspective,overwriteParams:()=>({watchSlidesProgress:!0,virtualTranslate:!e.params.cssMode})})}module.exports=A;
|