@vlrc-fe/components 2.7.0 → 2.8.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/CHANGELOG.md +25 -0
- package/dist/ConfirmModal.d.ts +2 -3
- package/dist/ConfirmModal.d.ts.map +1 -1
- package/dist/DataTable/components/DataTableFacetedFilter.d.ts.map +1 -1
- package/dist/DataTable/components/DataTablePagination.d.ts.map +1 -1
- package/dist/Dropdown/Dropdown.d.ts.map +1 -1
- package/dist/Dropdown/types.d.ts +1 -1
- package/dist/Dropdown/types.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/FormDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts +2 -1
- package/dist/Form/FormDatePicker/MonthPickerPanel.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts +7 -1
- package/dist/Form/FormDatePicker/RangeDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts +5 -1
- package/dist/Form/FormDatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimeInput.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/TimePicker.d.ts.map +1 -1
- package/dist/Form/FormDatePicker/types.d.ts +5 -0
- package/dist/Form/FormDatePicker/types.d.ts.map +1 -1
- package/dist/Form/FormFileUpload/index.d.ts.map +1 -1
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts +2 -2
- package/dist/Form/FormNumberInput/useFormNumberInput.d.ts.map +1 -1
- package/dist/Form/FormSelect/FormSelect.d.ts.map +1 -1
- package/dist/Form/FormSelect/types.d.ts +1 -1
- package/dist/Form/FormSelect/types.d.ts.map +1 -1
- package/dist/Form/FormSelect/useFormSelect.d.ts +1 -1
- package/dist/Form/FormSelect/useFormSelect.d.ts.map +1 -1
- package/dist/MultiSelect/MultiSelect.d.ts +3 -31
- package/dist/MultiSelect/MultiSelect.d.ts.map +1 -1
- package/dist/MultiSelect/renderers.d.ts.map +1 -1
- package/dist/MultiSelect/type.d.ts +1 -0
- package/dist/MultiSelect/type.d.ts.map +1 -1
- package/dist/MultiSelect/useMultiSelect.d.ts.map +1 -1
- package/dist/Select/BaseSelect.d.ts.map +1 -1
- package/dist/Select/MultiSelectTags.d.ts.map +1 -1
- package/dist/Select/type.d.ts +1 -1
- package/dist/Select/type.d.ts.map +1 -1
- package/dist/Typography/Code.d.ts.map +1 -1
- package/dist/Typography/Link.d.ts.map +1 -1
- package/dist/Typography/Paragraph.d.ts.map +1 -1
- package/dist/Typography/Text.d.ts.map +1 -1
- package/dist/Typography/Title.d.ts.map +1 -1
- package/dist/Typography/types.d.ts +37 -1
- package/dist/Typography/types.d.ts.map +1 -1
- package/dist/Typography/utils.d.ts +3 -2
- package/dist/Typography/utils.d.ts.map +1 -1
- package/dist/assets/stylex.css +36 -24
- package/dist/index.cjs +1 -1
- package/dist/index.js +108 -108
- package/dist/index10.cjs +1 -1
- package/dist/index10.js +18 -55
- package/dist/index101.cjs +1 -1
- package/dist/index101.js +89 -89
- package/dist/index102.cjs +1 -1
- package/dist/index102.js +29 -29
- package/dist/index103.cjs +1 -1
- package/dist/index103.js +128 -124
- package/dist/index104.cjs +1 -1
- package/dist/index104.js +16 -16
- package/dist/index106.cjs +1 -1
- package/dist/index106.js +2 -2
- package/dist/index107.cjs +1 -1
- package/dist/index107.js +114 -117
- package/dist/index108.cjs +1 -1
- package/dist/index108.js +95 -92
- package/dist/index109.cjs +1 -1
- package/dist/index109.js +41 -41
- package/dist/index11.cjs +1 -1
- package/dist/index11.js +36 -164
- package/dist/index110.cjs +1 -1
- package/dist/index110.js +1 -1
- package/dist/index111.cjs +1 -1
- package/dist/index111.js +1 -1
- package/dist/index112.cjs +1 -1
- package/dist/index112.js +128 -120
- package/dist/index114.cjs +1 -1
- package/dist/index114.js +151 -151
- package/dist/index116.cjs +1 -1
- package/dist/index116.js +96 -91
- package/dist/index117.cjs +1 -1
- package/dist/index117.js +18 -18
- package/dist/index118.cjs +1 -1
- package/dist/index118.js +2 -2
- package/dist/index119.cjs +1 -1
- package/dist/index119.js +15 -15
- package/dist/index12.cjs +1 -1
- package/dist/index12.js +147 -103
- package/dist/index120.cjs +1 -1
- package/dist/index120.js +10 -10
- package/dist/index121.cjs +1 -1
- package/dist/index121.js +31 -31
- package/dist/index122.cjs +1 -1
- package/dist/index122.js +3 -3
- package/dist/index123.cjs +1 -1
- package/dist/index123.js +2 -2
- package/dist/index124.cjs +1 -1
- package/dist/index124.js +53 -49
- package/dist/index126.cjs +1 -1
- package/dist/index126.js +35 -38
- package/dist/index127.cjs +1 -1
- package/dist/index127.js +114 -107
- package/dist/index128.cjs +1 -1
- package/dist/index128.js +8 -8
- package/dist/index129.cjs +1 -1
- package/dist/index129.js +53 -53
- package/dist/index13.cjs +1 -1
- package/dist/index13.js +130 -102
- package/dist/index130.cjs +1 -1
- package/dist/index130.js +134 -130
- package/dist/index132.cjs +1 -1
- package/dist/index132.js +7 -7
- package/dist/index133.cjs +1 -1
- package/dist/index133.js +95 -95
- package/dist/index134.cjs +1 -1
- package/dist/index134.js +2 -2
- package/dist/index135.cjs +1 -1
- package/dist/index135.js +113 -99
- package/dist/index136.cjs +1 -1
- package/dist/index136.js +8 -8
- package/dist/index137.cjs +1 -1
- package/dist/index137.js +16 -16
- package/dist/index138.cjs +1 -1
- package/dist/index138.js +20 -20
- package/dist/index14.cjs +1 -1
- package/dist/index14.js +154 -80
- package/dist/index140.cjs +1 -1
- package/dist/index140.js +2 -2
- package/dist/index141.cjs +1 -1
- package/dist/index141.js +24 -24
- package/dist/index142.cjs +1 -1
- package/dist/index142.js +2 -2
- package/dist/index143.cjs +1 -1
- package/dist/index143.js +15 -15
- package/dist/index144.cjs +1 -1
- package/dist/index144.js +3 -3
- package/dist/index145.cjs +1 -1
- package/dist/index145.js +2 -2
- package/dist/index146.cjs +1 -1
- package/dist/index146.js +1 -1
- package/dist/index147.cjs +1 -1
- package/dist/index147.js +88 -88
- package/dist/index149.cjs +1 -1
- package/dist/index149.js +64 -64
- package/dist/index15.cjs +1 -1
- package/dist/index15.js +116 -63
- package/dist/index150.cjs +1 -1
- package/dist/index150.js +9 -9
- package/dist/index152.cjs +1 -1
- package/dist/index152.js +1 -1
- package/dist/index153.cjs +1 -1
- package/dist/index153.js +41 -41
- package/dist/index154.cjs +1 -1
- package/dist/index154.js +73 -73
- package/dist/index155.cjs +1 -1
- package/dist/index155.js +34 -34
- package/dist/index156.cjs +1 -1
- package/dist/index156.js +8 -8
- package/dist/index157.cjs +1 -1
- package/dist/index157.js +1 -1
- package/dist/index158.cjs +1 -1
- package/dist/index158.js +30 -30
- package/dist/index159.cjs +1 -1
- package/dist/index159.js +21 -21
- package/dist/index16.cjs +1 -1
- package/dist/index16.js +60 -91
- package/dist/index160.cjs +1 -1
- package/dist/index160.js +59 -59
- package/dist/index161.cjs +1 -1
- package/dist/index161.js +2 -2
- package/dist/index162.cjs +1 -1
- package/dist/index162.js +50 -50
- package/dist/index163.cjs +1 -1
- package/dist/index163.js +11 -11
- package/dist/index164.cjs +1 -1
- package/dist/index164.js +1 -1
- package/dist/index165.cjs +1 -1
- package/dist/index165.js +33 -33
- package/dist/index166.cjs +1 -1
- package/dist/index166.js +11 -11
- package/dist/index167.cjs +1 -1
- package/dist/index167.js +2 -2
- package/dist/index168.cjs +1 -1
- package/dist/index168.js +7 -7
- package/dist/index169.cjs +1 -1
- package/dist/index169.js +74 -65
- package/dist/index17.cjs +1 -1
- package/dist/index17.js +122 -15
- package/dist/index170.cjs +1 -1
- package/dist/index170.js +9 -9
- package/dist/index171.cjs +1 -1
- package/dist/index171.js +7 -7
- package/dist/index172.cjs +1 -1
- package/dist/index172.js +12 -12
- package/dist/index174.cjs +1 -1
- package/dist/index174.js +15 -15
- package/dist/index175.cjs +1 -1
- package/dist/index175.js +13 -13
- package/dist/index176.cjs +1 -1
- package/dist/index176.js +2 -2
- package/dist/index177.cjs +1 -1
- package/dist/index177.js +140 -115
- package/dist/index178.cjs +1 -1
- package/dist/index178.js +4 -4
- package/dist/index179.cjs +1 -1
- package/dist/index179.js +47 -47
- package/dist/index18.cjs +1 -1
- package/dist/index18.js +15 -268
- package/dist/index181.cjs +1 -1
- package/dist/index181.js +36 -25
- package/dist/index183.cjs +1 -1
- package/dist/index183.js +4 -4
- package/dist/index185.cjs +1 -1
- package/dist/index185.js +5 -8
- package/dist/index186.cjs +1 -1
- package/dist/index186.js +5 -15
- package/dist/index187.cjs +1 -1
- package/dist/index187.js +5 -20
- package/dist/index188.cjs +1 -1
- package/dist/index188.js +5 -16
- package/dist/index189.cjs +1 -1
- package/dist/index189.js +8 -5
- package/dist/index19.cjs +1 -1
- package/dist/index19.js +11 -281
- package/dist/index190.cjs +1 -1
- package/dist/index190.js +7 -4
- package/dist/index191.cjs +1 -1
- package/dist/index191.js +12 -6
- package/dist/index192.cjs +1 -1
- package/dist/index192.js +6 -5
- package/dist/index193.cjs +1 -1
- package/dist/index193.js +6 -5
- package/dist/index194.cjs +1 -1
- package/dist/index194.js +6 -7
- package/dist/index195.cjs +1 -1
- package/dist/index195.js +10 -68
- package/dist/index196.cjs +1 -1
- package/dist/index196.js +9 -10
- package/dist/index197.cjs +1 -1
- package/dist/index197.js +5 -201
- package/dist/index198.cjs +1 -1
- package/dist/index198.js +7 -123
- package/dist/index199.cjs +1 -1
- package/dist/index199.js +7 -31
- package/dist/index20.cjs +1 -1
- package/dist/index20.js +26 -11
- package/dist/index200.cjs +1 -1
- package/dist/index200.js +66 -17
- package/dist/index201.cjs +1 -1
- package/dist/index201.js +8 -68
- package/dist/index202.cjs +1 -1
- package/dist/index202.js +13 -13
- package/dist/index203.cjs +1 -1
- package/dist/index203.js +6 -6
- package/dist/index204.cjs +1 -1
- package/dist/index204.js +15 -278
- package/dist/index205.cjs +1 -1
- package/dist/index205.js +171 -126
- package/dist/index206.cjs +1 -1
- package/dist/index206.js +21 -19
- package/dist/index207.cjs +1 -1
- package/dist/index207.js +16 -8
- package/dist/index208.cjs +1 -1
- package/dist/index208.js +123 -13
- package/dist/index209.cjs +1 -1
- package/dist/index209.js +19 -7
- package/dist/index21.cjs +1 -1
- package/dist/index21.js +29 -26
- package/dist/index210.cjs +1 -1
- package/dist/index210.js +8 -6
- package/dist/index211.cjs +1 -1
- package/dist/index211.js +9 -9
- package/dist/index212.cjs +1 -1
- package/dist/index212.js +13 -8
- package/dist/index213.cjs +1 -1
- package/dist/index213.js +9 -4
- package/dist/index214.cjs +1 -1
- package/dist/index214.js +9 -6
- package/dist/index215.cjs +1 -1
- package/dist/index215.js +4 -6
- package/dist/index216.cjs +1 -1
- package/dist/index216.js +42 -9
- package/dist/index217.cjs +1 -1
- package/dist/index217.js +386 -8
- package/dist/index218.cjs +1 -1
- package/dist/index218.js +37 -14
- package/dist/index219.cjs +1 -1
- package/dist/index219.js +22 -10
- package/dist/index22.cjs +1 -1
- package/dist/index22.js +367 -59
- package/dist/index220.cjs +1 -1
- package/dist/index220.js +57 -9
- package/dist/index221.cjs +1 -1
- package/dist/index221.js +39 -4
- package/dist/index222.cjs +1 -1
- package/dist/index222.js +116 -35
- package/dist/index223.cjs +1 -1
- package/dist/index223.js +85 -387
- package/dist/index224.cjs +1 -1
- package/dist/index224.js +87 -35
- package/dist/index225.cjs +1 -1
- package/dist/index225.js +116 -18
- package/dist/index226.cjs +1 -1
- package/dist/index226.js +97 -55
- package/dist/index227.cjs +1 -1
- package/dist/index227.js +154 -37
- package/dist/index228.cjs +1 -1
- package/dist/index228.js +76 -121
- package/dist/index229.cjs +9 -1
- package/dist/index229.js +588 -77
- package/dist/index23.cjs +1 -1
- package/dist/index23.js +212 -29
- package/dist/index230.cjs +1 -1
- package/dist/index230.js +64 -68
- package/dist/index231.cjs +1 -1
- package/dist/index231.js +42 -115
- package/dist/index232.cjs +1 -1
- package/dist/index232.js +65 -98
- package/dist/index233.cjs +1 -1
- package/dist/index233.js +48 -149
- package/dist/index234.cjs +1 -1
- package/dist/index234.js +98 -68
- package/dist/index235.cjs +1 -9
- package/dist/index235.js +214 -580
- package/dist/index236.cjs +1 -1
- package/dist/index236.js +29 -66
- package/dist/index237.cjs +1 -1
- package/dist/index237.js +23 -40
- package/dist/index238.cjs +1 -1
- package/dist/index238.js +55 -59
- package/dist/index239.cjs +1 -1
- package/dist/index239.js +419 -46
- package/dist/index24.cjs +1 -1
- package/dist/index24.js +200 -312
- package/dist/index240.cjs +1 -1
- package/dist/index240.js +30 -97
- package/dist/index241.cjs +1 -1
- package/dist/index241.js +205 -196
- package/dist/index25.cjs +1 -1
- package/dist/index25.js +228 -124
- package/dist/index26.cjs +1 -1
- package/dist/index26.js +161 -86
- package/dist/index27.cjs +1 -1
- package/dist/index27.js +89 -143
- package/dist/index28.cjs +1 -1
- package/dist/index28.js +140 -76
- package/dist/index29.cjs +1 -1
- package/dist/index29.js +92 -84
- package/dist/index30.cjs +1 -1
- package/dist/index30.js +84 -26
- package/dist/index31.cjs +1 -1
- package/dist/index31.js +26 -35
- package/dist/index32.cjs +1 -1
- package/dist/index32.js +39 -86
- package/dist/index33.cjs +1 -1
- package/dist/index33.js +84 -231
- package/dist/index34.cjs +1 -1
- package/dist/index34.js +234 -44
- package/dist/index35.cjs +1 -1
- package/dist/index35.js +39 -26
- package/dist/index36.cjs +1 -1
- package/dist/index36.js +30 -14
- package/dist/index37.cjs +1 -1
- package/dist/index37.js +14 -13
- package/dist/index38.cjs +1 -1
- package/dist/index38.js +13 -3
- package/dist/index39.cjs +1 -1
- package/dist/index39.js +4 -87
- package/dist/index40.cjs +1 -1
- package/dist/index40.js +83 -174
- package/dist/index41.cjs +1 -1
- package/dist/index41.js +66 -142
- package/dist/index42.cjs +1 -1
- package/dist/index42.js +217 -62
- package/dist/index43.cjs +1 -1
- package/dist/index43.js +135 -47
- package/dist/index44.cjs +1 -1
- package/dist/index44.js +47 -260
- package/dist/index45.cjs +1 -1
- package/dist/index45.js +273 -8
- package/dist/index46.cjs +1 -1
- package/dist/index46.js +7 -4
- package/dist/index47.cjs +1 -1
- package/dist/index47.js +4 -503
- package/dist/index48.cjs +1 -1
- package/dist/index48.js +472 -177
- package/dist/index49.cjs +1 -1
- package/dist/index49.js +205 -23
- package/dist/index50.cjs +1 -1
- package/dist/index50.js +21 -1008
- package/dist/index51.cjs +1 -1
- package/dist/index51.js +1014 -21
- package/dist/index52.cjs +1 -1
- package/dist/index52.js +22 -207
- package/dist/index53.cjs +1 -1
- package/dist/index53.js +181 -130
- package/dist/index54.cjs +1 -1
- package/dist/index54.js +132 -99
- package/dist/index55.cjs +1 -1
- package/dist/index55.js +123 -19
- package/dist/index56.cjs +1 -1
- package/dist/index56.js +17 -79
- package/dist/index57.cjs +1 -1
- package/dist/index57.js +75 -90
- package/dist/index58.cjs +1 -1
- package/dist/index58.js +91 -9
- package/dist/index59.cjs +1 -1
- package/dist/index59.js +12 -91
- package/dist/index6.cjs +1 -1
- package/dist/index6.js +62 -5
- package/dist/index60.cjs +1 -1
- package/dist/index60.js +92 -31
- package/dist/index61.cjs +1 -1
- package/dist/index61.js +29 -208
- package/dist/index62.cjs +1 -1
- package/dist/index62.js +123 -99
- package/dist/index63.cjs +1 -1
- package/dist/index63.js +17 -17
- package/dist/index64.cjs +1 -1
- package/dist/index64.js +28 -28
- package/dist/index65.cjs +1 -1
- package/dist/index65.js +30 -30
- package/dist/index67.cjs +1 -1
- package/dist/index67.js +11 -11
- package/dist/index7.cjs +1 -1
- package/dist/index7.js +22 -28
- package/dist/index73.cjs +1 -1
- package/dist/index73.js +1 -1
- package/dist/index74.cjs +1 -1
- package/dist/index74.js +20 -20
- package/dist/index75.cjs +1 -1
- package/dist/index75.js +7 -7
- package/dist/index77.cjs +1 -1
- package/dist/index77.js +28 -28
- package/dist/index8.cjs +1 -1
- package/dist/index8.js +28 -61
- package/dist/index9.cjs +1 -1
- package/dist/index9.js +60 -15
- package/dist/ui/accordion.d.ts.map +1 -1
- package/dist/ui/avatar.d.ts.map +1 -1
- package/dist/ui/breadcrumb.d.ts.map +1 -1
- package/dist/ui/button.d.ts.map +1 -1
- package/dist/ui/calendar.d.ts +1 -1
- package/dist/ui/calendar.d.ts.map +1 -1
- package/dist/ui/command.d.ts +1 -1
- package/dist/ui/command.d.ts.map +1 -1
- package/dist/ui/context-menu.d.ts.map +1 -1
- package/dist/ui/dropdown-menu.d.ts.map +1 -1
- package/dist/ui/editable.d.ts.map +1 -1
- package/dist/ui/field.d.ts.map +1 -1
- package/dist/ui/form.d.ts.map +1 -1
- package/dist/ui/input-group.d.ts.map +1 -1
- package/dist/ui/input-otp.d.ts +1 -1
- package/dist/ui/input-otp.d.ts.map +1 -1
- package/dist/ui/item.d.ts.map +1 -1
- package/dist/ui/menubar.d.ts.map +1 -1
- package/dist/ui/pagination.d.ts +3 -1
- package/dist/ui/pagination.d.ts.map +1 -1
- package/dist/ui/toggle-group.d.ts +1 -1
- package/dist/ui/toggle-group.d.ts.map +1 -1
- package/dist/ui/toggle.d.ts +1 -1
- package/dist/ui/toggle.d.ts.map +1 -1
- package/dist/ui/useBreakpoint.d.ts +0 -4
- package/dist/ui/useBreakpoint.d.ts.map +1 -1
- package/package.json +1 -1
- package/dist/index242.cjs +0 -1
- package/dist/index242.js +0 -25
- package/dist/index243.cjs +0 -1
- package/dist/index243.js +0 -26
- package/dist/index244.cjs +0 -1
- package/dist/index244.js +0 -63
- package/dist/index245.cjs +0 -1
- package/dist/index245.js +0 -422
- package/dist/index246.cjs +0 -1
- package/dist/index246.js +0 -25
- package/dist/index247.cjs +0 -1
- package/dist/index247.js +0 -209
package/dist/index50.js
CHANGED
|
@@ -1,1016 +1,29 @@
|
|
|
1
|
-
// ../../node_modules/.pnpm/embla-carousel@8.6.0/node_modules/embla-carousel/esm/embla-carousel.esm.js
|
|
1
|
+
// ../../node_modules/.pnpm/embla-carousel-reactive-utils@8.6.0_embla-carousel@8.6.0/node_modules/embla-carousel-reactive-utils/esm/embla-carousel-reactive-utils.esm.js
|
|
2
2
|
function e(e) {
|
|
3
|
-
return typeof e == "number";
|
|
4
|
-
}
|
|
5
|
-
function t(e) {
|
|
6
|
-
return typeof e == "string";
|
|
7
|
-
}
|
|
8
|
-
function n(e) {
|
|
9
|
-
return typeof e == "boolean";
|
|
10
|
-
}
|
|
11
|
-
function r(e) {
|
|
12
3
|
return Object.prototype.toString.call(e) === "[object Object]";
|
|
13
4
|
}
|
|
14
|
-
function
|
|
15
|
-
return
|
|
16
|
-
}
|
|
17
|
-
function a(e) {
|
|
18
|
-
return Math.sign(e);
|
|
19
|
-
}
|
|
20
|
-
function o(e, t) {
|
|
21
|
-
return i(e - t);
|
|
22
|
-
}
|
|
23
|
-
function s(e, t) {
|
|
24
|
-
return e === 0 || t === 0 || i(e) <= i(t) ? 0 : i(o(i(e), i(t)) / e);
|
|
25
|
-
}
|
|
26
|
-
function c(e) {
|
|
27
|
-
return Math.round(e * 100) / 100;
|
|
28
|
-
}
|
|
29
|
-
function l(e) {
|
|
30
|
-
return m(e).map(Number);
|
|
31
|
-
}
|
|
32
|
-
function u(e) {
|
|
33
|
-
return e[d(e)];
|
|
34
|
-
}
|
|
35
|
-
function d(e) {
|
|
36
|
-
return Math.max(0, e.length - 1);
|
|
37
|
-
}
|
|
38
|
-
function f(e, t) {
|
|
39
|
-
return t === d(e);
|
|
40
|
-
}
|
|
41
|
-
function p(e, t = 0) {
|
|
42
|
-
return Array.from(Array(e), (e, n) => t + n);
|
|
43
|
-
}
|
|
44
|
-
function m(e) {
|
|
45
|
-
return Object.keys(e);
|
|
46
|
-
}
|
|
47
|
-
function h(e, t) {
|
|
48
|
-
return [e, t].reduce((e, t) => (m(t).forEach((n) => {
|
|
49
|
-
let i = e[n], a = t[n];
|
|
50
|
-
e[n] = r(i) && r(a) ? h(i, a) : a;
|
|
51
|
-
}), e), {});
|
|
52
|
-
}
|
|
53
|
-
function g(e, t) {
|
|
54
|
-
return t.MouseEvent !== void 0 && e instanceof t.MouseEvent;
|
|
55
|
-
}
|
|
56
|
-
function _(e, n) {
|
|
57
|
-
let r = {
|
|
58
|
-
start: i,
|
|
59
|
-
center: a,
|
|
60
|
-
end: o
|
|
61
|
-
};
|
|
62
|
-
function i() {
|
|
63
|
-
return 0;
|
|
64
|
-
}
|
|
65
|
-
function a(e) {
|
|
66
|
-
return o(e) / 2;
|
|
67
|
-
}
|
|
68
|
-
function o(e) {
|
|
69
|
-
return n - e;
|
|
70
|
-
}
|
|
71
|
-
function s(i, a) {
|
|
72
|
-
return t(e) ? r[e](i) : e(n, i, a);
|
|
73
|
-
}
|
|
74
|
-
return { measure: s };
|
|
75
|
-
}
|
|
76
|
-
function v() {
|
|
77
|
-
let e = [];
|
|
78
|
-
function t(t, n, i, a = { passive: !0 }) {
|
|
79
|
-
let o;
|
|
80
|
-
if ("addEventListener" in t) t.addEventListener(n, i, a), o = () => t.removeEventListener(n, i, a);
|
|
81
|
-
else {
|
|
82
|
-
let e = t;
|
|
83
|
-
e.addListener(i), o = () => e.removeListener(i);
|
|
84
|
-
}
|
|
85
|
-
return e.push(o), r;
|
|
86
|
-
}
|
|
87
|
-
function n() {
|
|
88
|
-
e = e.filter((e) => e());
|
|
89
|
-
}
|
|
90
|
-
let r = {
|
|
91
|
-
add: t,
|
|
92
|
-
clear: n
|
|
93
|
-
};
|
|
94
|
-
return r;
|
|
95
|
-
}
|
|
96
|
-
function y(e, t, n, r) {
|
|
97
|
-
let i = v(), a = 1e3 / 60, o = null, s = 0, c = 0;
|
|
98
|
-
function l() {
|
|
99
|
-
i.add(e, "visibilitychange", () => {
|
|
100
|
-
e.hidden && m();
|
|
101
|
-
});
|
|
102
|
-
}
|
|
103
|
-
function u() {
|
|
104
|
-
p(), i.clear();
|
|
105
|
-
}
|
|
106
|
-
function d(e) {
|
|
107
|
-
if (!c) return;
|
|
108
|
-
o || (o = e, n(), n());
|
|
109
|
-
let i = e - o;
|
|
110
|
-
for (o = e, s += i; s >= a;) n(), s -= a;
|
|
111
|
-
r(s / a), c &&= t.requestAnimationFrame(d);
|
|
112
|
-
}
|
|
113
|
-
function f() {
|
|
114
|
-
c ||= t.requestAnimationFrame(d);
|
|
115
|
-
}
|
|
116
|
-
function p() {
|
|
117
|
-
t.cancelAnimationFrame(c), o = null, s = 0, c = 0;
|
|
118
|
-
}
|
|
119
|
-
function m() {
|
|
120
|
-
o = null, s = 0;
|
|
121
|
-
}
|
|
122
|
-
return {
|
|
123
|
-
init: l,
|
|
124
|
-
destroy: u,
|
|
125
|
-
start: f,
|
|
126
|
-
stop: p,
|
|
127
|
-
update: n,
|
|
128
|
-
render: r
|
|
129
|
-
};
|
|
130
|
-
}
|
|
131
|
-
function b(e, t) {
|
|
132
|
-
let n = t === "rtl", r = e === "y", i = r ? "y" : "x", a = r ? "x" : "y", o = !r && n ? -1 : 1, s = u(), c = d();
|
|
133
|
-
function l(e) {
|
|
134
|
-
let { height: t, width: n } = e;
|
|
135
|
-
return r ? t : n;
|
|
136
|
-
}
|
|
137
|
-
function u() {
|
|
138
|
-
return r ? "top" : n ? "right" : "left";
|
|
139
|
-
}
|
|
140
|
-
function d() {
|
|
141
|
-
return r ? "bottom" : n ? "left" : "right";
|
|
142
|
-
}
|
|
143
|
-
function f(e) {
|
|
144
|
-
return e * o;
|
|
145
|
-
}
|
|
146
|
-
return {
|
|
147
|
-
scroll: i,
|
|
148
|
-
cross: a,
|
|
149
|
-
startEdge: s,
|
|
150
|
-
endEdge: c,
|
|
151
|
-
measureSize: l,
|
|
152
|
-
direction: f
|
|
153
|
-
};
|
|
154
|
-
}
|
|
155
|
-
function x(e = 0, t = 0) {
|
|
156
|
-
let n = i(e - t);
|
|
157
|
-
function r(t) {
|
|
158
|
-
return t < e;
|
|
159
|
-
}
|
|
160
|
-
function a(e) {
|
|
161
|
-
return e > t;
|
|
162
|
-
}
|
|
163
|
-
function o(e) {
|
|
164
|
-
return r(e) || a(e);
|
|
165
|
-
}
|
|
166
|
-
function s(n) {
|
|
167
|
-
return o(n) ? r(n) ? e : t : n;
|
|
168
|
-
}
|
|
169
|
-
function c(e) {
|
|
170
|
-
return n ? e - n * Math.ceil((e - t) / n) : e;
|
|
171
|
-
}
|
|
172
|
-
return {
|
|
173
|
-
length: n,
|
|
174
|
-
max: t,
|
|
175
|
-
min: e,
|
|
176
|
-
constrain: s,
|
|
177
|
-
reachedAny: o,
|
|
178
|
-
reachedMax: a,
|
|
179
|
-
reachedMin: r,
|
|
180
|
-
removeOffset: c
|
|
181
|
-
};
|
|
182
|
-
}
|
|
183
|
-
function S(e, t, n) {
|
|
184
|
-
let { constrain: r } = x(0, e), a = e + 1, o = s(t);
|
|
185
|
-
function s(e) {
|
|
186
|
-
return n ? i((a + e) % a) : r(e);
|
|
187
|
-
}
|
|
188
|
-
function c() {
|
|
189
|
-
return o;
|
|
190
|
-
}
|
|
191
|
-
function l(e) {
|
|
192
|
-
return o = s(e), f;
|
|
193
|
-
}
|
|
194
|
-
function u(e) {
|
|
195
|
-
return d().set(c() + e);
|
|
196
|
-
}
|
|
197
|
-
function d() {
|
|
198
|
-
return S(e, c(), n);
|
|
199
|
-
}
|
|
200
|
-
let f = {
|
|
201
|
-
get: c,
|
|
202
|
-
set: l,
|
|
203
|
-
add: u,
|
|
204
|
-
clone: d
|
|
205
|
-
};
|
|
206
|
-
return f;
|
|
207
|
-
}
|
|
208
|
-
function C(e, t, r, c, l, u, d, f, p, m, h, _, y, b, S, C, w, T, E) {
|
|
209
|
-
let { cross: D, direction: O } = e, k = [
|
|
210
|
-
"INPUT",
|
|
211
|
-
"SELECT",
|
|
212
|
-
"TEXTAREA"
|
|
213
|
-
], A = { passive: !1 }, j = v(), M = v(), ee = x(50, 225).constrain(b.measure(20)), te = {
|
|
214
|
-
mouse: 300,
|
|
215
|
-
touch: 400
|
|
216
|
-
}, ne = {
|
|
217
|
-
mouse: 500,
|
|
218
|
-
touch: 600
|
|
219
|
-
}, re = S ? 43 : 25, ie = !1, N = 0, P = 0, F = !1, I = !1, L = !1, R = !1;
|
|
220
|
-
function ae(e) {
|
|
221
|
-
if (!E) return;
|
|
222
|
-
function r(t) {
|
|
223
|
-
(n(E) || E(e, t)) && ue(t);
|
|
224
|
-
}
|
|
225
|
-
let i = t;
|
|
226
|
-
j.add(i, "dragstart", (e) => e.preventDefault(), A).add(i, "touchmove", () => void 0, A).add(i, "touchend", () => void 0).add(i, "touchstart", r).add(i, "mousedown", r).add(i, "touchcancel", V).add(i, "contextmenu", V).add(i, "click", de, !0);
|
|
227
|
-
}
|
|
228
|
-
function oe() {
|
|
229
|
-
j.clear(), M.clear();
|
|
230
|
-
}
|
|
231
|
-
function se() {
|
|
232
|
-
let e = R ? r : t;
|
|
233
|
-
M.add(e, "touchmove", B, A).add(e, "touchend", V).add(e, "mousemove", B, A).add(e, "mouseup", V);
|
|
234
|
-
}
|
|
235
|
-
function ce(e) {
|
|
236
|
-
let t = e.nodeName || "";
|
|
237
|
-
return k.includes(t);
|
|
238
|
-
}
|
|
239
|
-
function le() {
|
|
240
|
-
return (S ? ne : te)[R ? "mouse" : "touch"];
|
|
241
|
-
}
|
|
242
|
-
function z(e, t) {
|
|
243
|
-
let n = _.add(a(e) * -1), r = h.byDistance(e, !S).distance;
|
|
244
|
-
return S || i(e) < ee ? r : w && t ? r * .5 : h.byIndex(n.get(), 0).distance;
|
|
245
|
-
}
|
|
246
|
-
function ue(e) {
|
|
247
|
-
let t = g(e, c);
|
|
248
|
-
R = t, L = S && t && !e.buttons && ie, ie = o(l.get(), d.get()) >= 2, t && e.button !== 0 || ce(e.target) || (F = !0, u.pointerDown(e), m.useFriction(0).useDuration(0), l.set(d), se(), N = u.readPoint(e), P = u.readPoint(e, D), y.emit("pointerDown"));
|
|
249
|
-
}
|
|
250
|
-
function B(e) {
|
|
251
|
-
if (!g(e, c) && e.touches.length >= 2) return V(e);
|
|
252
|
-
let t = u.readPoint(e), n = u.readPoint(e, D), r = o(t, N), i = o(n, P);
|
|
253
|
-
if (!I && !R && (!e.cancelable || (I = r > i, !I))) return V(e);
|
|
254
|
-
let a = u.pointerMove(e);
|
|
255
|
-
r > C && (L = !0), m.useFriction(.3).useDuration(.75), f.start(), l.add(O(a)), e.preventDefault();
|
|
256
|
-
}
|
|
257
|
-
function V(e) {
|
|
258
|
-
let t = h.byDistance(0, !1).index !== _.get(), n = u.pointerUp(e) * le(), r = z(O(n), t), i = s(n, r), a = re - 10 * i, o = T + i / 50;
|
|
259
|
-
I = !1, F = !1, M.clear(), m.useDuration(a).useFriction(o), p.distance(r, !S), R = !1, y.emit("pointerUp");
|
|
260
|
-
}
|
|
261
|
-
function de(e) {
|
|
262
|
-
L &&= (e.stopPropagation(), e.preventDefault(), !1);
|
|
263
|
-
}
|
|
264
|
-
function H() {
|
|
265
|
-
return F;
|
|
266
|
-
}
|
|
267
|
-
return {
|
|
268
|
-
init: ae,
|
|
269
|
-
destroy: oe,
|
|
270
|
-
pointerDown: H
|
|
271
|
-
};
|
|
272
|
-
}
|
|
273
|
-
function w(e, t) {
|
|
274
|
-
let n, r;
|
|
275
|
-
function a(e) {
|
|
276
|
-
return e.timeStamp;
|
|
277
|
-
}
|
|
278
|
-
function o(n, r) {
|
|
279
|
-
let i = `client${(r || e.scroll) === "x" ? "X" : "Y"}`;
|
|
280
|
-
return (g(n, t) ? n : n.touches[0])[i];
|
|
281
|
-
}
|
|
282
|
-
function s(e) {
|
|
283
|
-
return n = e, r = e, o(e);
|
|
284
|
-
}
|
|
285
|
-
function c(e) {
|
|
286
|
-
let t = o(e) - o(r), i = a(e) - a(n) > 170;
|
|
287
|
-
return r = e, i && (n = e), t;
|
|
288
|
-
}
|
|
289
|
-
function l(e) {
|
|
290
|
-
if (!n || !r) return 0;
|
|
291
|
-
let t = o(r) - o(n), s = a(e) - a(n), c = a(e) - a(r) > 170, l = t / s;
|
|
292
|
-
return s && !c && i(l) > .1 ? l : 0;
|
|
293
|
-
}
|
|
294
|
-
return {
|
|
295
|
-
pointerDown: s,
|
|
296
|
-
pointerMove: c,
|
|
297
|
-
pointerUp: l,
|
|
298
|
-
readPoint: o
|
|
299
|
-
};
|
|
5
|
+
function t(t) {
|
|
6
|
+
return e(t) || Array.isArray(t);
|
|
300
7
|
}
|
|
301
|
-
function
|
|
302
|
-
|
|
303
|
-
let { offsetTop: t, offsetLeft: n, offsetWidth: r, offsetHeight: i } = e;
|
|
304
|
-
return {
|
|
305
|
-
top: t,
|
|
306
|
-
right: n + r,
|
|
307
|
-
bottom: t + i,
|
|
308
|
-
left: n,
|
|
309
|
-
width: r,
|
|
310
|
-
height: i
|
|
311
|
-
};
|
|
312
|
-
}
|
|
313
|
-
return { measure: e };
|
|
8
|
+
function n() {
|
|
9
|
+
return !!(typeof window < "u" && window.document && window.document.createElement);
|
|
314
10
|
}
|
|
315
|
-
function
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
|
-
|
|
11
|
+
function r(e, n) {
|
|
12
|
+
let i = Object.keys(e), a = Object.keys(n);
|
|
13
|
+
return i.length !== a.length || JSON.stringify(Object.keys(e.breakpoints || {})) !== JSON.stringify(Object.keys(n.breakpoints || {})) ? !1 : i.every((i) => {
|
|
14
|
+
let a = e[i], o = n[i];
|
|
15
|
+
return typeof a == "function" ? `${a}` == `${o}` : !t(a) || !t(o) ? a === o : r(a, o);
|
|
16
|
+
});
|
|
320
17
|
}
|
|
321
|
-
function
|
|
322
|
-
|
|
323
|
-
function m(e) {
|
|
324
|
-
return o.measureSize(c.measure(e));
|
|
325
|
-
}
|
|
326
|
-
function h(o) {
|
|
327
|
-
if (!s) return;
|
|
328
|
-
d = m(e), f = a.map(m);
|
|
329
|
-
function c(n) {
|
|
330
|
-
for (let r of n) {
|
|
331
|
-
if (p) return;
|
|
332
|
-
let n = r.target === e, s = a.indexOf(r.target), c = n ? d : f[s];
|
|
333
|
-
if (i(m(n ? e : a[s]) - c) >= .5) {
|
|
334
|
-
o.reInit(), t.emit("resize");
|
|
335
|
-
break;
|
|
336
|
-
}
|
|
337
|
-
}
|
|
338
|
-
}
|
|
339
|
-
u = new ResizeObserver((e) => {
|
|
340
|
-
(n(s) || s(o, e)) && c(e);
|
|
341
|
-
}), r.requestAnimationFrame(() => {
|
|
342
|
-
l.forEach((e) => u.observe(e));
|
|
343
|
-
});
|
|
344
|
-
}
|
|
345
|
-
function g() {
|
|
346
|
-
p = !0, u && u.disconnect();
|
|
347
|
-
}
|
|
348
|
-
return {
|
|
349
|
-
init: h,
|
|
350
|
-
destroy: g
|
|
351
|
-
};
|
|
352
|
-
}
|
|
353
|
-
function O(e, t, n, r, o, s) {
|
|
354
|
-
let c = 0, l = 0, u = o, d = s, f = e.get(), p = 0;
|
|
355
|
-
function m() {
|
|
356
|
-
let t = r.get() - e.get(), i = !u, o = 0;
|
|
357
|
-
return i ? (c = 0, n.set(r), e.set(r), o = t) : (n.set(e), c += t / u, c *= d, f += c, e.add(c), o = f - p), l = a(o), p = f, C;
|
|
358
|
-
}
|
|
359
|
-
function h() {
|
|
360
|
-
return i(r.get() - t.get()) < .001;
|
|
361
|
-
}
|
|
362
|
-
function g() {
|
|
363
|
-
return u;
|
|
364
|
-
}
|
|
365
|
-
function _() {
|
|
366
|
-
return l;
|
|
367
|
-
}
|
|
368
|
-
function v() {
|
|
369
|
-
return c;
|
|
370
|
-
}
|
|
371
|
-
function y() {
|
|
372
|
-
return x(o);
|
|
373
|
-
}
|
|
374
|
-
function b() {
|
|
375
|
-
return S(s);
|
|
376
|
-
}
|
|
377
|
-
function x(e) {
|
|
378
|
-
return u = e, C;
|
|
379
|
-
}
|
|
380
|
-
function S(e) {
|
|
381
|
-
return d = e, C;
|
|
382
|
-
}
|
|
383
|
-
let C = {
|
|
384
|
-
direction: _,
|
|
385
|
-
duration: g,
|
|
386
|
-
velocity: v,
|
|
387
|
-
seek: m,
|
|
388
|
-
settled: h,
|
|
389
|
-
useBaseFriction: b,
|
|
390
|
-
useBaseDuration: y,
|
|
391
|
-
useFriction: S,
|
|
392
|
-
useDuration: x
|
|
393
|
-
};
|
|
394
|
-
return C;
|
|
395
|
-
}
|
|
396
|
-
function k(e, t, n, r, a) {
|
|
397
|
-
let o = a.measure(10), s = a.measure(50), c = x(.1, .99), l = !1;
|
|
398
|
-
function u() {
|
|
399
|
-
return !(l || !e.reachedAny(n.get()) || !e.reachedAny(t.get()));
|
|
400
|
-
}
|
|
401
|
-
function d(a) {
|
|
402
|
-
if (!u()) return;
|
|
403
|
-
let l = i(e[e.reachedMin(t.get()) ? "min" : "max"] - t.get()), d = n.get() - t.get(), f = c.constrain(l / s);
|
|
404
|
-
n.subtract(d * f), !a && i(d) < o && (n.set(e.constrain(n.get())), r.useDuration(25).useBaseFriction());
|
|
405
|
-
}
|
|
406
|
-
function f(e) {
|
|
407
|
-
l = !e;
|
|
408
|
-
}
|
|
409
|
-
return {
|
|
410
|
-
shouldConstrain: u,
|
|
411
|
-
constrain: d,
|
|
412
|
-
toggleActive: f
|
|
413
|
-
};
|
|
414
|
-
}
|
|
415
|
-
function A(e, t, n, r, i) {
|
|
416
|
-
let a = x(-t + e, 0), s = m(), c = p(), l = h();
|
|
417
|
-
function d(e, t) {
|
|
418
|
-
return o(e, t) <= 1;
|
|
419
|
-
}
|
|
420
|
-
function p() {
|
|
421
|
-
let e = s[0], t = u(s);
|
|
422
|
-
return x(s.lastIndexOf(e), s.indexOf(t) + 1);
|
|
423
|
-
}
|
|
424
|
-
function m() {
|
|
425
|
-
return n.map((e, t) => {
|
|
426
|
-
let { min: r, max: i } = a, o = a.constrain(e), s = !t, c = f(n, t);
|
|
427
|
-
return s ? i : c || d(r, o) ? r : d(i, o) ? i : o;
|
|
428
|
-
}).map((e) => parseFloat(e.toFixed(3)));
|
|
429
|
-
}
|
|
430
|
-
function h() {
|
|
431
|
-
if (t <= e + i) return [a.max];
|
|
432
|
-
if (r === "keepSnaps") return s;
|
|
433
|
-
let { min: n, max: o } = c;
|
|
434
|
-
return s.slice(n, o);
|
|
435
|
-
}
|
|
436
|
-
return {
|
|
437
|
-
snapsContained: l,
|
|
438
|
-
scrollContainLimit: c
|
|
439
|
-
};
|
|
440
|
-
}
|
|
441
|
-
function j(e, t, n) {
|
|
442
|
-
let r = t[0];
|
|
443
|
-
return { limit: x(n ? r - e : u(t), r) };
|
|
444
|
-
}
|
|
445
|
-
function M(e, t, n, r) {
|
|
446
|
-
let i = .1, { reachedMin: a, reachedMax: o } = x(t.min + i, t.max + i);
|
|
447
|
-
function s(e) {
|
|
448
|
-
return e === 1 ? o(n.get()) : e === -1 && a(n.get());
|
|
449
|
-
}
|
|
450
|
-
function c(t) {
|
|
451
|
-
if (!s(t)) return;
|
|
452
|
-
let n = t * -1 * e;
|
|
453
|
-
r.forEach((e) => e.add(n));
|
|
454
|
-
}
|
|
455
|
-
return { loop: c };
|
|
456
|
-
}
|
|
457
|
-
function ee(e) {
|
|
458
|
-
let { max: t, length: n } = e;
|
|
459
|
-
function r(e) {
|
|
460
|
-
let r = e - t;
|
|
461
|
-
return n ? r / -n : 0;
|
|
462
|
-
}
|
|
463
|
-
return { get: r };
|
|
464
|
-
}
|
|
465
|
-
function te(e, t, n, r, a) {
|
|
466
|
-
let { startEdge: o, endEdge: s } = e, { groupSlides: c } = a, l = p().map(t.measure), d = m(), f = h();
|
|
467
|
-
function p() {
|
|
468
|
-
return c(r).map((e) => u(e)[s] - e[0][o]).map(i);
|
|
469
|
-
}
|
|
470
|
-
function m() {
|
|
471
|
-
return r.map((e) => n[o] - e[o]).map((e) => -i(e));
|
|
472
|
-
}
|
|
473
|
-
function h() {
|
|
474
|
-
return c(d).map((e) => e[0]).map((e, t) => e + l[t]);
|
|
475
|
-
}
|
|
476
|
-
return {
|
|
477
|
-
snaps: d,
|
|
478
|
-
snapsAligned: f
|
|
479
|
-
};
|
|
480
|
-
}
|
|
481
|
-
function ne(e, t, n, r, i, a) {
|
|
482
|
-
let { groupSlides: o } = i, { min: s, max: c } = r, l = m();
|
|
483
|
-
function m() {
|
|
484
|
-
let r = o(a), i = !e || t === "keepSnaps";
|
|
485
|
-
return n.length === 1 ? [a] : i ? r : r.slice(s, c).map((e, t, n) => {
|
|
486
|
-
let r = !t, i = f(n, t);
|
|
487
|
-
return r ? p(u(n[0]) + 1) : i ? p(d(a) - u(n)[0] + 1, u(n)[0]) : e;
|
|
488
|
-
});
|
|
489
|
-
}
|
|
490
|
-
return { slideRegistry: l };
|
|
491
|
-
}
|
|
492
|
-
function re(e, t, n, r, o) {
|
|
493
|
-
let { reachedAny: s, removeOffset: c, constrain: l } = r;
|
|
494
|
-
function d(e) {
|
|
495
|
-
return e.concat().sort((e, t) => i(e) - i(t))[0];
|
|
496
|
-
}
|
|
497
|
-
function f(n) {
|
|
498
|
-
let r = e ? c(n) : l(n), { index: a } = t.map((e, t) => ({
|
|
499
|
-
diff: p(e - r, 0),
|
|
500
|
-
index: t
|
|
501
|
-
})).sort((e, t) => i(e.diff) - i(t.diff))[0];
|
|
502
|
-
return {
|
|
503
|
-
index: a,
|
|
504
|
-
distance: r
|
|
505
|
-
};
|
|
506
|
-
}
|
|
507
|
-
function p(t, r) {
|
|
508
|
-
let i = [
|
|
509
|
-
t,
|
|
510
|
-
t + n,
|
|
511
|
-
t - n
|
|
512
|
-
];
|
|
513
|
-
if (!e) return t;
|
|
514
|
-
if (!r) return d(i);
|
|
515
|
-
let o = i.filter((e) => a(e) === r);
|
|
516
|
-
return o.length ? d(o) : u(i) - n;
|
|
517
|
-
}
|
|
518
|
-
function m(e, n) {
|
|
519
|
-
return {
|
|
520
|
-
index: e,
|
|
521
|
-
distance: p(t[e] - o.get(), n)
|
|
522
|
-
};
|
|
523
|
-
}
|
|
524
|
-
function h(n, r) {
|
|
525
|
-
let i = o.get() + n, { index: a, distance: c } = f(i), l = !e && s(i);
|
|
526
|
-
return !r || l ? {
|
|
527
|
-
index: a,
|
|
528
|
-
distance: n
|
|
529
|
-
} : {
|
|
530
|
-
index: a,
|
|
531
|
-
distance: n + p(t[a] - c, 0)
|
|
532
|
-
};
|
|
533
|
-
}
|
|
534
|
-
return {
|
|
535
|
-
byDistance: h,
|
|
536
|
-
byIndex: m,
|
|
537
|
-
shortcut: p
|
|
538
|
-
};
|
|
539
|
-
}
|
|
540
|
-
function ie(e, t, n, r, i, a, o) {
|
|
541
|
-
function s(i) {
|
|
542
|
-
let s = i.distance, c = i.index !== t.get();
|
|
543
|
-
a.add(s), s && (r.duration() ? e.start() : (e.update(), e.render(1), e.update())), c && (n.set(t.get()), t.set(i.index), o.emit("select"));
|
|
544
|
-
}
|
|
545
|
-
function c(e, t) {
|
|
546
|
-
s(i.byDistance(e, t));
|
|
547
|
-
}
|
|
548
|
-
function l(e, n) {
|
|
549
|
-
let r = t.clone().set(e);
|
|
550
|
-
s(i.byIndex(r.get(), n));
|
|
551
|
-
}
|
|
552
|
-
return {
|
|
553
|
-
distance: c,
|
|
554
|
-
index: l
|
|
555
|
-
};
|
|
556
|
-
}
|
|
557
|
-
function N(t, r, i, a, o, s, c, l) {
|
|
558
|
-
let u = {
|
|
559
|
-
passive: !0,
|
|
560
|
-
capture: !0
|
|
561
|
-
}, d = 0;
|
|
562
|
-
function f(f) {
|
|
563
|
-
if (!l) return;
|
|
564
|
-
function m(n) {
|
|
565
|
-
if ((/* @__PURE__ */ new Date()).getTime() - d > 10) return;
|
|
566
|
-
c.emit("slideFocusStart"), t.scrollLeft = 0;
|
|
567
|
-
let r = i.findIndex((e) => e.includes(n));
|
|
568
|
-
e(r) && (o.useDuration(0), a.index(r, 0), c.emit("slideFocus"));
|
|
569
|
-
}
|
|
570
|
-
s.add(document, "keydown", p, !1), r.forEach((e, t) => {
|
|
571
|
-
s.add(e, "focus", (e) => {
|
|
572
|
-
(n(l) || l(f, e)) && m(t);
|
|
573
|
-
}, u);
|
|
574
|
-
});
|
|
575
|
-
}
|
|
576
|
-
function p(e) {
|
|
577
|
-
e.code === "Tab" && (d = (/* @__PURE__ */ new Date()).getTime());
|
|
578
|
-
}
|
|
579
|
-
return { init: f };
|
|
580
|
-
}
|
|
581
|
-
function P(t) {
|
|
582
|
-
let n = t;
|
|
583
|
-
function r() {
|
|
584
|
-
return n;
|
|
585
|
-
}
|
|
586
|
-
function i(e) {
|
|
587
|
-
n = s(e);
|
|
588
|
-
}
|
|
589
|
-
function a(e) {
|
|
590
|
-
n += s(e);
|
|
591
|
-
}
|
|
592
|
-
function o(e) {
|
|
593
|
-
n -= s(e);
|
|
594
|
-
}
|
|
595
|
-
function s(t) {
|
|
596
|
-
return e(t) ? t : t.get();
|
|
597
|
-
}
|
|
598
|
-
return {
|
|
599
|
-
get: r,
|
|
600
|
-
set: i,
|
|
601
|
-
add: a,
|
|
602
|
-
subtract: o
|
|
603
|
-
};
|
|
604
|
-
}
|
|
605
|
-
function F(e, t) {
|
|
606
|
-
let n = e.scroll === "x" ? o : s, r = t.style, i = null, a = !1;
|
|
607
|
-
function o(e) {
|
|
608
|
-
return `translate3d(${e}px,0px,0px)`;
|
|
609
|
-
}
|
|
610
|
-
function s(e) {
|
|
611
|
-
return `translate3d(0px,${e}px,0px)`;
|
|
612
|
-
}
|
|
613
|
-
function l(t) {
|
|
614
|
-
if (a) return;
|
|
615
|
-
let o = c(e.direction(t));
|
|
616
|
-
o !== i && (r.transform = n(o), i = o);
|
|
617
|
-
}
|
|
618
|
-
function u(e) {
|
|
619
|
-
a = !e;
|
|
620
|
-
}
|
|
621
|
-
function d() {
|
|
622
|
-
a || (r.transform = "", t.getAttribute("style") || t.removeAttribute("style"));
|
|
623
|
-
}
|
|
624
|
-
return {
|
|
625
|
-
clear: d,
|
|
626
|
-
to: l,
|
|
627
|
-
toggleActive: u
|
|
628
|
-
};
|
|
629
|
-
}
|
|
630
|
-
function I(e, t, n, r, i, a, o, s, c) {
|
|
631
|
-
let u = .5, d = l(i), f = l(i).reverse(), p = v().concat(y());
|
|
632
|
-
function m(e, t) {
|
|
633
|
-
return e.reduce((e, t) => e - i[t], t);
|
|
634
|
-
}
|
|
635
|
-
function h(e, t) {
|
|
636
|
-
return e.reduce((e, n) => m(e, t) > 0 ? e.concat([n]) : e, []);
|
|
637
|
-
}
|
|
638
|
-
function g(e) {
|
|
639
|
-
return a.map((n, i) => ({
|
|
640
|
-
start: n - r[i] + u + e,
|
|
641
|
-
end: n + t - u + e
|
|
642
|
-
}));
|
|
643
|
-
}
|
|
644
|
-
function _(t, r, i) {
|
|
645
|
-
let a = g(r);
|
|
646
|
-
return t.map((t) => {
|
|
647
|
-
let r = i ? 0 : -n, o = i ? n : 0, l = i ? "end" : "start", u = a[t][l];
|
|
648
|
-
return {
|
|
649
|
-
index: t,
|
|
650
|
-
loopPoint: u,
|
|
651
|
-
slideLocation: P(-1),
|
|
652
|
-
translate: F(e, c[t]),
|
|
653
|
-
target: () => s.get() > u ? r : o
|
|
654
|
-
};
|
|
655
|
-
});
|
|
656
|
-
}
|
|
657
|
-
function v() {
|
|
658
|
-
let e = o[0];
|
|
659
|
-
return _(h(f, e), n, !1);
|
|
660
|
-
}
|
|
661
|
-
function y() {
|
|
662
|
-
let e = t - o[0] - 1;
|
|
663
|
-
return _(h(d, e), -n, !0);
|
|
664
|
-
}
|
|
665
|
-
function b() {
|
|
666
|
-
return p.every(({ index: e }) => m(d.filter((t) => t !== e), t) <= .1);
|
|
667
|
-
}
|
|
668
|
-
function x() {
|
|
669
|
-
p.forEach((e) => {
|
|
670
|
-
let { target: t, translate: n, slideLocation: r } = e, i = t();
|
|
671
|
-
i !== r.get() && (n.to(i), r.set(i));
|
|
672
|
-
});
|
|
673
|
-
}
|
|
674
|
-
function S() {
|
|
675
|
-
p.forEach((e) => e.translate.clear());
|
|
676
|
-
}
|
|
677
|
-
return {
|
|
678
|
-
canLoop: b,
|
|
679
|
-
clear: S,
|
|
680
|
-
loop: x,
|
|
681
|
-
loopPoints: p
|
|
682
|
-
};
|
|
683
|
-
}
|
|
684
|
-
function L(e, t, r) {
|
|
685
|
-
let i, a = !1;
|
|
686
|
-
function o(o) {
|
|
687
|
-
if (!r) return;
|
|
688
|
-
function s(e) {
|
|
689
|
-
for (let n of e) if (n.type === "childList") {
|
|
690
|
-
o.reInit(), t.emit("slidesChanged");
|
|
691
|
-
break;
|
|
692
|
-
}
|
|
693
|
-
}
|
|
694
|
-
i = new MutationObserver((e) => {
|
|
695
|
-
a || (n(r) || r(o, e)) && s(e);
|
|
696
|
-
}), i.observe(e, { childList: !0 });
|
|
697
|
-
}
|
|
698
|
-
function s() {
|
|
699
|
-
i && i.disconnect(), a = !0;
|
|
700
|
-
}
|
|
701
|
-
return {
|
|
702
|
-
init: o,
|
|
703
|
-
destroy: s
|
|
704
|
-
};
|
|
705
|
-
}
|
|
706
|
-
function R(e, t, n, r) {
|
|
707
|
-
let i = {}, a = null, o = null, s, c = !1;
|
|
708
|
-
function l() {
|
|
709
|
-
s = new IntersectionObserver((e) => {
|
|
710
|
-
c || (e.forEach((e) => {
|
|
711
|
-
let n = t.indexOf(e.target);
|
|
712
|
-
i[n] = e;
|
|
713
|
-
}), a = null, o = null, n.emit("slidesInView"));
|
|
714
|
-
}, {
|
|
715
|
-
root: e.parentElement,
|
|
716
|
-
threshold: r
|
|
717
|
-
}), t.forEach((e) => s.observe(e));
|
|
718
|
-
}
|
|
719
|
-
function u() {
|
|
720
|
-
s && s.disconnect(), c = !0;
|
|
721
|
-
}
|
|
722
|
-
function d(e) {
|
|
723
|
-
return m(i).reduce((t, n) => {
|
|
724
|
-
let r = parseInt(n), { isIntersecting: a } = i[r];
|
|
725
|
-
return (e && a || !e && !a) && t.push(r), t;
|
|
726
|
-
}, []);
|
|
727
|
-
}
|
|
728
|
-
function f(e = !0) {
|
|
729
|
-
if (e && a) return a;
|
|
730
|
-
if (!e && o) return o;
|
|
731
|
-
let t = d(e);
|
|
732
|
-
return e && (a = t), e || (o = t), t;
|
|
733
|
-
}
|
|
734
|
-
return {
|
|
735
|
-
init: l,
|
|
736
|
-
destroy: u,
|
|
737
|
-
get: f
|
|
738
|
-
};
|
|
739
|
-
}
|
|
740
|
-
function ae(e, t, n, r, a, o) {
|
|
741
|
-
let { measureSize: s, startEdge: c, endEdge: l } = e, d = n[0] && a, p = _(), m = v(), h = n.map(s), g = y();
|
|
742
|
-
function _() {
|
|
743
|
-
if (!d) return 0;
|
|
744
|
-
let e = n[0];
|
|
745
|
-
return i(t[c] - e[c]);
|
|
746
|
-
}
|
|
747
|
-
function v() {
|
|
748
|
-
if (!d) return 0;
|
|
749
|
-
let e = o.getComputedStyle(u(r));
|
|
750
|
-
return parseFloat(e.getPropertyValue(`margin-${l}`));
|
|
751
|
-
}
|
|
752
|
-
function y() {
|
|
753
|
-
return n.map((e, t, n) => {
|
|
754
|
-
let r = !t, i = f(n, t);
|
|
755
|
-
return r ? h[t] + p : i ? h[t] + m : n[t + 1][c] - e[c];
|
|
756
|
-
}).map(i);
|
|
757
|
-
}
|
|
758
|
-
return {
|
|
759
|
-
slideSizes: h,
|
|
760
|
-
slideSizesWithGaps: g,
|
|
761
|
-
startGap: p,
|
|
762
|
-
endGap: m
|
|
763
|
-
};
|
|
764
|
-
}
|
|
765
|
-
function oe(t, n, r, a, o, s, c, f, p) {
|
|
766
|
-
let { startEdge: m, endEdge: h, direction: g } = t, _ = e(r);
|
|
767
|
-
function v(e, t) {
|
|
768
|
-
return l(e).filter((e) => e % t === 0).map((n) => e.slice(n, n + t));
|
|
769
|
-
}
|
|
770
|
-
function y(e) {
|
|
771
|
-
return e.length ? l(e).reduce((t, r, l) => {
|
|
772
|
-
let _ = u(t) || 0, v = _ === 0, y = r === d(e), b = o[m] - s[_][m], x = o[m] - s[r][h], S = !a && v ? g(c) : 0, C = i(x - (!a && y ? g(f) : 0) - (b + S));
|
|
773
|
-
return l && C > n + p && t.push(r), y && t.push(e.length), t;
|
|
774
|
-
}, []).map((t, n, r) => {
|
|
775
|
-
let i = Math.max(r[n - 1] || 0);
|
|
776
|
-
return e.slice(i, t);
|
|
777
|
-
}) : [];
|
|
778
|
-
}
|
|
779
|
-
function b(e) {
|
|
780
|
-
return _ ? v(e, r) : y(e);
|
|
781
|
-
}
|
|
782
|
-
return { groupSlides: b };
|
|
783
|
-
}
|
|
784
|
-
function se(e, t, n, r, i, a, o) {
|
|
785
|
-
let { align: s, axis: c, direction: f, startIndex: p, loop: m, duration: h, dragFree: g, dragThreshold: x, inViewThreshold: se, slidesToScroll: ce, skipSnaps: le, containScroll: z, watchResize: ue, watchSlides: B, watchDrag: V, watchFocus: de } = a, H = T(), U = H.measure(t), fe = n.map(H.measure), W = b(c, f), G = W.measureSize(U), pe = E(G), me = _(s, G), he = !m && !!z, { slideSizes: ge, slideSizesWithGaps: _e, startGap: ve, endGap: ye } = ae(W, U, fe, n, m || !!z, i), be = oe(W, G, ce, m, U, fe, ve, ye, 2), { snaps: xe, snapsAligned: Se } = te(W, me, U, fe, be), K = -u(xe) + u(_e), { snapsContained: Ce, scrollContainLimit: we } = A(G, K, Se, z, 2), q = he ? Ce : Se, { limit: J } = j(K, q, m), Y = S(d(q), p, m), Te = Y.clone(), Ee = l(n), De = ({ dragHandler: e, scrollBody: t, scrollBounds: n, options: { loop: r } }) => {
|
|
786
|
-
r || n.constrain(e.pointerDown()), t.seek();
|
|
787
|
-
}, Oe = ({ scrollBody: e, translate: t, location: n, offsetLocation: r, previousLocation: i, scrollLooper: a, slideLooper: o, dragHandler: s, animation: c, eventHandler: l, scrollBounds: u, options: { loop: d } }, f) => {
|
|
788
|
-
let p = e.settled(), m = !u.shouldConstrain(), h = d ? p : p && m, g = h && !s.pointerDown();
|
|
789
|
-
g && c.stop();
|
|
790
|
-
let _ = n.get() * f + i.get() * (1 - f);
|
|
791
|
-
r.set(_), d && (a.loop(e.direction()), o.loop()), t.to(r.get()), g && l.emit("settle"), h || l.emit("scroll");
|
|
792
|
-
}, ke = y(r, i, () => De(Be), (e) => Oe(Be, e)), Ae = .68, X = q[Y.get()], je = P(X), Me = P(X), Z = P(X), Q = P(X), $ = O(je, Z, Me, Q, h, Ae), Ne = re(m, q, K, J, Q), Pe = ie(ke, Y, Te, $, Ne, Q, o), Fe = ee(J), Ie = v(), Le = R(t, n, o, se), { slideRegistry: Re } = ne(he, z, q, we, be, Ee), ze = N(e, n, Re, Pe, $, Ie, o, de), Be = {
|
|
793
|
-
ownerDocument: r,
|
|
794
|
-
ownerWindow: i,
|
|
795
|
-
eventHandler: o,
|
|
796
|
-
containerRect: U,
|
|
797
|
-
slideRects: fe,
|
|
798
|
-
animation: ke,
|
|
799
|
-
axis: W,
|
|
800
|
-
dragHandler: C(W, e, r, i, Q, w(W, i), je, ke, Pe, $, Ne, Y, o, pe, g, x, le, Ae, V),
|
|
801
|
-
eventStore: Ie,
|
|
802
|
-
percentOfView: pe,
|
|
803
|
-
index: Y,
|
|
804
|
-
indexPrevious: Te,
|
|
805
|
-
limit: J,
|
|
806
|
-
location: je,
|
|
807
|
-
offsetLocation: Z,
|
|
808
|
-
previousLocation: Me,
|
|
809
|
-
options: a,
|
|
810
|
-
resizeHandler: D(t, o, i, n, W, ue, H),
|
|
811
|
-
scrollBody: $,
|
|
812
|
-
scrollBounds: k(J, Z, Q, $, pe),
|
|
813
|
-
scrollLooper: M(K, J, Z, [
|
|
814
|
-
je,
|
|
815
|
-
Z,
|
|
816
|
-
Me,
|
|
817
|
-
Q
|
|
818
|
-
]),
|
|
819
|
-
scrollProgress: Fe,
|
|
820
|
-
scrollSnapList: q.map(Fe.get),
|
|
821
|
-
scrollSnaps: q,
|
|
822
|
-
scrollTarget: Ne,
|
|
823
|
-
scrollTo: Pe,
|
|
824
|
-
slideLooper: I(W, G, K, ge, _e, xe, q, Z, n),
|
|
825
|
-
slideFocus: ze,
|
|
826
|
-
slidesHandler: L(t, o, B),
|
|
827
|
-
slidesInView: Le,
|
|
828
|
-
slideIndexes: Ee,
|
|
829
|
-
slideRegistry: Re,
|
|
830
|
-
slidesToScroll: be,
|
|
831
|
-
target: Q,
|
|
832
|
-
translate: F(W, t)
|
|
833
|
-
};
|
|
834
|
-
return Be;
|
|
835
|
-
}
|
|
836
|
-
function ce() {
|
|
837
|
-
let e = {}, t;
|
|
838
|
-
function n(e) {
|
|
839
|
-
t = e;
|
|
840
|
-
}
|
|
841
|
-
function r(t) {
|
|
842
|
-
return e[t] || [];
|
|
843
|
-
}
|
|
844
|
-
function i(e) {
|
|
845
|
-
return r(e).forEach((n) => n(t, e)), c;
|
|
846
|
-
}
|
|
847
|
-
function a(t, n) {
|
|
848
|
-
return e[t] = r(t).concat([n]), c;
|
|
849
|
-
}
|
|
850
|
-
function o(t, n) {
|
|
851
|
-
return e[t] = r(t).filter((e) => e !== n), c;
|
|
852
|
-
}
|
|
853
|
-
function s() {
|
|
854
|
-
e = {};
|
|
855
|
-
}
|
|
856
|
-
let c = {
|
|
857
|
-
init: n,
|
|
858
|
-
emit: i,
|
|
859
|
-
off: o,
|
|
860
|
-
on: a,
|
|
861
|
-
clear: s
|
|
862
|
-
};
|
|
863
|
-
return c;
|
|
864
|
-
}
|
|
865
|
-
var le = {
|
|
866
|
-
align: "center",
|
|
867
|
-
axis: "x",
|
|
868
|
-
container: null,
|
|
869
|
-
slides: null,
|
|
870
|
-
containScroll: "trimSnaps",
|
|
871
|
-
direction: "ltr",
|
|
872
|
-
slidesToScroll: 1,
|
|
873
|
-
inViewThreshold: 0,
|
|
874
|
-
breakpoints: {},
|
|
875
|
-
dragFree: !1,
|
|
876
|
-
dragThreshold: 10,
|
|
877
|
-
loop: !1,
|
|
878
|
-
skipSnaps: !1,
|
|
879
|
-
duration: 25,
|
|
880
|
-
startIndex: 0,
|
|
881
|
-
active: !0,
|
|
882
|
-
watchDrag: !0,
|
|
883
|
-
watchResize: !0,
|
|
884
|
-
watchSlides: !0,
|
|
885
|
-
watchFocus: !0
|
|
886
|
-
};
|
|
887
|
-
function z(e) {
|
|
888
|
-
function t(e, t) {
|
|
889
|
-
return h(e, t || {});
|
|
890
|
-
}
|
|
891
|
-
function n(n) {
|
|
892
|
-
let r = n.breakpoints || {};
|
|
893
|
-
return t(n, m(r).filter((t) => e.matchMedia(t).matches).map((e) => r[e]).reduce((e, n) => t(e, n), {}));
|
|
894
|
-
}
|
|
895
|
-
function r(t) {
|
|
896
|
-
return t.map((e) => m(e.breakpoints || {})).reduce((e, t) => e.concat(t), []).map(e.matchMedia);
|
|
897
|
-
}
|
|
898
|
-
return {
|
|
899
|
-
mergeOptions: t,
|
|
900
|
-
optionsAtMedia: n,
|
|
901
|
-
optionsMediaQueries: r
|
|
902
|
-
};
|
|
903
|
-
}
|
|
904
|
-
function ue(e) {
|
|
905
|
-
let t = [];
|
|
906
|
-
function n(n, r) {
|
|
907
|
-
return t = r.filter(({ options: t }) => e.optionsAtMedia(t).active !== !1), t.forEach((t) => t.init(n, e)), r.reduce((e, t) => Object.assign(e, { [t.name]: t }), {});
|
|
908
|
-
}
|
|
909
|
-
function r() {
|
|
910
|
-
t = t.filter((e) => e.destroy());
|
|
911
|
-
}
|
|
912
|
-
return {
|
|
913
|
-
init: n,
|
|
914
|
-
destroy: r
|
|
915
|
-
};
|
|
18
|
+
function i(e) {
|
|
19
|
+
return e.concat().sort((e, t) => e.name > t.name ? 1 : -1).map((e) => e.options);
|
|
916
20
|
}
|
|
917
|
-
function
|
|
918
|
-
|
|
919
|
-
|
|
920
|
-
|
|
921
|
-
|
|
922
|
-
|
|
923
|
-
|
|
924
|
-
}
|
|
925
|
-
function D(t) {
|
|
926
|
-
let n = se(e, w, T, i, a, t, l);
|
|
927
|
-
return t.loop && !n.slideLooper.canLoop() ? D(Object.assign({}, t, { loop: !1 })) : n;
|
|
928
|
-
}
|
|
929
|
-
function O(e, t) {
|
|
930
|
-
_ || (b = u(b, e), x = d(b), S = t || S, E(), y = D(x), f([b, ...S.map(({ options: e }) => e)]).forEach((e) => c.add(e, "change", k)), x.active && (y.translate.to(y.location.get()), y.animation.init(), y.slidesInView.init(), y.slideFocus.init(H), y.eventHandler.init(H), y.resizeHandler.init(H), y.slidesHandler.init(H), y.options.loop && y.slideLooper.loop(), w.offsetParent && T.length && y.dragHandler.init(H), C = s.init(H, S)));
|
|
931
|
-
}
|
|
932
|
-
function k(e, t) {
|
|
933
|
-
let n = P();
|
|
934
|
-
A(), O(u({ startIndex: n }, e), t), l.emit("reInit");
|
|
935
|
-
}
|
|
936
|
-
function A() {
|
|
937
|
-
y.dragHandler.destroy(), y.eventStore.clear(), y.translate.clear(), y.slideLooper.clear(), y.resizeHandler.destroy(), y.slidesHandler.destroy(), y.slidesInView.destroy(), y.animation.destroy(), s.destroy(), c.clear();
|
|
938
|
-
}
|
|
939
|
-
function j() {
|
|
940
|
-
_ || (_ = !0, c.clear(), A(), l.emit("destroy"), l.clear());
|
|
941
|
-
}
|
|
942
|
-
function M(e, t, n) {
|
|
943
|
-
x.active && !_ && (y.scrollBody.useBaseFriction().useDuration(t === !0 ? 0 : x.duration), y.scrollTo.index(e, n || 0));
|
|
944
|
-
}
|
|
945
|
-
function ee(e) {
|
|
946
|
-
M(y.index.add(1).get(), e, -1);
|
|
947
|
-
}
|
|
948
|
-
function te(e) {
|
|
949
|
-
M(y.index.add(-1).get(), e, 1);
|
|
950
|
-
}
|
|
951
|
-
function ne() {
|
|
952
|
-
return y.index.add(1).get() !== P();
|
|
953
|
-
}
|
|
954
|
-
function re() {
|
|
955
|
-
return y.index.add(-1).get() !== P();
|
|
956
|
-
}
|
|
957
|
-
function ie() {
|
|
958
|
-
return y.scrollSnapList;
|
|
959
|
-
}
|
|
960
|
-
function N() {
|
|
961
|
-
return y.scrollProgress.get(y.offsetLocation.get());
|
|
962
|
-
}
|
|
963
|
-
function P() {
|
|
964
|
-
return y.index.get();
|
|
965
|
-
}
|
|
966
|
-
function F() {
|
|
967
|
-
return y.indexPrevious.get();
|
|
968
|
-
}
|
|
969
|
-
function I() {
|
|
970
|
-
return y.slidesInView.get();
|
|
971
|
-
}
|
|
972
|
-
function L() {
|
|
973
|
-
return y.slidesInView.get(!1);
|
|
974
|
-
}
|
|
975
|
-
function R() {
|
|
976
|
-
return C;
|
|
977
|
-
}
|
|
978
|
-
function ae() {
|
|
979
|
-
return y;
|
|
980
|
-
}
|
|
981
|
-
function oe() {
|
|
982
|
-
return e;
|
|
983
|
-
}
|
|
984
|
-
function V() {
|
|
985
|
-
return w;
|
|
986
|
-
}
|
|
987
|
-
function de() {
|
|
988
|
-
return T;
|
|
989
|
-
}
|
|
990
|
-
let H = {
|
|
991
|
-
canScrollNext: ne,
|
|
992
|
-
canScrollPrev: re,
|
|
993
|
-
containerNode: V,
|
|
994
|
-
internalEngine: ae,
|
|
995
|
-
destroy: j,
|
|
996
|
-
off: m,
|
|
997
|
-
on: p,
|
|
998
|
-
emit: h,
|
|
999
|
-
plugins: R,
|
|
1000
|
-
previousScrollSnap: F,
|
|
1001
|
-
reInit: g,
|
|
1002
|
-
rootNode: oe,
|
|
1003
|
-
scrollNext: ee,
|
|
1004
|
-
scrollPrev: te,
|
|
1005
|
-
scrollProgress: N,
|
|
1006
|
-
scrollSnapList: ie,
|
|
1007
|
-
scrollTo: M,
|
|
1008
|
-
selectedScrollSnap: P,
|
|
1009
|
-
slideNodes: de,
|
|
1010
|
-
slidesInView: I,
|
|
1011
|
-
slidesNotInView: L
|
|
1012
|
-
};
|
|
1013
|
-
return O(n, r), setTimeout(() => l.emit("init"), 0), H;
|
|
21
|
+
function a(e, t) {
|
|
22
|
+
if (e.length !== t.length) return !1;
|
|
23
|
+
let n = i(e), a = i(t);
|
|
24
|
+
return n.every((e, t) => {
|
|
25
|
+
let n = a[t];
|
|
26
|
+
return r(e, n);
|
|
27
|
+
});
|
|
1014
28
|
}
|
|
1015
|
-
|
|
1016
|
-
export { B as default };
|
|
29
|
+
export { r as areOptionsEqual, a as arePluginsEqual, n as canUseDOM, i as sortAndMapPluginToOptions };
|