wonder-image 1.2.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.
Files changed (223) hide show
  1. package/DOCS.md +12 -0
  2. package/LICENSE +21 -0
  3. package/README.md +1 -0
  4. package/babel.config.json +3 -0
  5. package/demo/backend/body-end.php +10 -0
  6. package/demo/backend/head.php +93 -0
  7. package/demo/frontend/body-end.php +19 -0
  8. package/demo/frontend/head.php +244 -0
  9. package/demo/wonder-image.php +41 -0
  10. package/dist/0d01fa889dc2b0202b98.png +0 -0
  11. package/dist/203d1199e7aef04c0a34.gif +0 -0
  12. package/dist/26d6ed3fa1c815e4c78f.png +0 -0
  13. package/dist/39795c0b4513de014cf8.woff +0 -0
  14. package/dist/40b30ca122107c2852be.png +0 -0
  15. package/dist/4a7b4107b62ef059ba65.png +0 -0
  16. package/dist/4dce7f71b08755f19759.png +0 -0
  17. package/dist/60af14fddca897f348bb.png +0 -0
  18. package/dist/67172a36bcdeaca8592a.png +0 -0
  19. package/dist/a85c6dc53638f894de38.png +0 -0
  20. package/dist/b7bcc075b395c14ce8c2.woff2 +0 -0
  21. package/dist/backend/body-end.js +3 -0
  22. package/dist/backend/body-end.js.LICENSE.txt +44 -0
  23. package/dist/backend/body-end.js.map +1 -0
  24. package/dist/backend/head.css +2 -0
  25. package/dist/backend/head.css.map +1 -0
  26. package/dist/backend/head.js +3 -0
  27. package/dist/backend/head.js.LICENSE.txt +46 -0
  28. package/dist/backend/head.js.map +1 -0
  29. package/dist/backend/lib.js +2 -0
  30. package/dist/backend/lib.js.LICENSE.txt +1 -0
  31. package/dist/frontend/body-end.js +3 -0
  32. package/dist/frontend/body-end.js.LICENSE.txt +46 -0
  33. package/dist/frontend/body-end.js.map +1 -0
  34. package/dist/frontend/head.css +2 -0
  35. package/dist/frontend/head.css.map +1 -0
  36. package/dist/frontend/head.js +3 -0
  37. package/dist/frontend/head.js.LICENSE.txt +46 -0
  38. package/dist/frontend/head.js.map +1 -0
  39. package/dist/frontend/lib.css +2 -0
  40. package/dist/frontend/lib.css.map +1 -0
  41. package/dist/frontend/lib.js +3 -0
  42. package/dist/frontend/lib.js.LICENSE.txt +151 -0
  43. package/dist/frontend/lib.js.map +1 -0
  44. package/dist/lib/autonumeric/autonumeric.js +3 -0
  45. package/dist/lib/autonumeric/autonumeric.js.LICENSE.txt +47 -0
  46. package/dist/lib/autonumeric/autonumeric.js.map +1 -0
  47. package/dist/lib/bootstrap/bootstrap-datepicker.css +2 -0
  48. package/dist/lib/bootstrap/bootstrap-datepicker.css.map +1 -0
  49. package/dist/lib/bootstrap/bootstrap-datepicker.js +3 -0
  50. package/dist/lib/bootstrap/bootstrap-datepicker.js.LICENSE.txt +42 -0
  51. package/dist/lib/bootstrap/bootstrap-datepicker.js.map +1 -0
  52. package/dist/lib/bootstrap/bootstrap-icons.css +2 -0
  53. package/dist/lib/bootstrap/bootstrap-icons.css.map +1 -0
  54. package/dist/lib/bootstrap/bootstrap-icons.js +3 -0
  55. package/dist/lib/bootstrap/bootstrap-icons.js.LICENSE.txt +13 -0
  56. package/dist/lib/bootstrap/bootstrap-icons.js.map +1 -0
  57. package/dist/lib/bootstrap/bootstrap.css +2 -0
  58. package/dist/lib/bootstrap/bootstrap.css.map +1 -0
  59. package/dist/lib/bootstrap/bootstrap.js +3 -0
  60. package/dist/lib/bootstrap/bootstrap.js.LICENSE.txt +44 -0
  61. package/dist/lib/bootstrap/bootstrap.js.map +1 -0
  62. package/dist/lib/chartjs/chart.js +3 -0
  63. package/dist/lib/chartjs/chart.js.LICENSE.txt +1467 -0
  64. package/dist/lib/chartjs/chart.js.map +1 -0
  65. package/dist/lib/datatables/datatables.css +2 -0
  66. package/dist/lib/datatables/datatables.css.map +1 -0
  67. package/dist/lib/datatables/datatables.js +3 -0
  68. package/dist/lib/datatables/datatables.js.LICENSE.txt +8988 -0
  69. package/dist/lib/datatables/datatables.js.map +1 -0
  70. package/dist/lib/editorjs/editor.js +3 -0
  71. package/dist/lib/editorjs/editor.js.LICENSE.txt +5812 -0
  72. package/dist/lib/editorjs/editor.js.map +1 -0
  73. package/dist/lib/fancyapps/fancyapps.css +2 -0
  74. package/dist/lib/fancyapps/fancyapps.css.map +1 -0
  75. package/dist/lib/fancyapps/fancyapps.js +3 -0
  76. package/dist/lib/fancyapps/fancyapps.js.LICENSE.txt +19 -0
  77. package/dist/lib/fancyapps/fancyapps.js.map +1 -0
  78. package/dist/lib/filepond/filepond.css +2 -0
  79. package/dist/lib/filepond/filepond.css.map +1 -0
  80. package/dist/lib/filepond/filepond.js +3 -0
  81. package/dist/lib/filepond/filepond.js.LICENSE.txt +2797 -0
  82. package/dist/lib/filepond/filepond.js.map +1 -0
  83. package/dist/lib/fullcalendar/fullcalendar.js +3 -0
  84. package/dist/lib/fullcalendar/fullcalendar.js.LICENSE.txt +3787 -0
  85. package/dist/lib/fullcalendar/fullcalendar.js.map +1 -0
  86. package/dist/lib/jquery/jquery-plugin.css +2 -0
  87. package/dist/lib/jquery/jquery-plugin.css.map +1 -0
  88. package/dist/lib/jquery/jquery-plugin.js +3 -0
  89. package/dist/lib/jquery/jquery-plugin.js.LICENSE.txt +60 -0
  90. package/dist/lib/jquery/jquery-plugin.js.map +1 -0
  91. package/dist/lib/jquery/jquery.js +3 -0
  92. package/dist/lib/jquery/jquery.js.LICENSE.txt +3240 -0
  93. package/dist/lib/jquery/jquery.js.map +1 -0
  94. package/dist/lib/jstree/jstree.css +2 -0
  95. package/dist/lib/jstree/jstree.css.map +1 -0
  96. package/dist/lib/jstree/jstree.js +3 -0
  97. package/dist/lib/jstree/jstree.js.LICENSE.txt +42 -0
  98. package/dist/lib/jstree/jstree.js.map +1 -0
  99. package/dist/lib/moment/moment.js +3 -0
  100. package/dist/lib/moment/moment.js.LICENSE.txt +772 -0
  101. package/dist/lib/moment/moment.js.map +1 -0
  102. package/dist/lib/quilljs/quill.css +2 -0
  103. package/dist/lib/quilljs/quill.css.map +1 -0
  104. package/dist/lib/quilljs/quill.js +3 -0
  105. package/dist/lib/quilljs/quill.js.LICENSE.txt +3038 -0
  106. package/dist/lib/quilljs/quill.js.map +1 -0
  107. package/dist/lib/swiperjs/swiper-plugin.css +2 -0
  108. package/dist/lib/swiperjs/swiper-plugin.css.map +1 -0
  109. package/dist/lib/swiperjs/swiper-plugin.js +3 -0
  110. package/dist/lib/swiperjs/swiper-plugin.js.LICENSE.txt +1113 -0
  111. package/dist/lib/swiperjs/swiper-plugin.js.map +1 -0
  112. package/dist/lib/swiperjs/swiper.css +2 -0
  113. package/dist/lib/swiperjs/swiper.css.map +1 -0
  114. package/dist/lib/swiperjs/swiper.js +3 -0
  115. package/dist/lib/swiperjs/swiper.js.LICENSE.txt +651 -0
  116. package/dist/lib/swiperjs/swiper.js.map +1 -0
  117. package/dist/lib/videojs/video.css +2 -0
  118. package/dist/lib/videojs/video.css.map +1 -0
  119. package/dist/lib/videojs/video.js +3 -0
  120. package/dist/lib/videojs/video.js.LICENSE.txt +23391 -0
  121. package/dist/lib/videojs/video.js.map +1 -0
  122. package/package.json +95 -0
  123. package/src/build/backend/css/header.css +252 -0
  124. package/src/build/backend/css/input.css +295 -0
  125. package/src/build/backend/css/list.css +57 -0
  126. package/src/build/backend/css/order.css +99 -0
  127. package/src/build/backend/js/ajax.js +96 -0
  128. package/src/build/backend/js/alert.js +78 -0
  129. package/src/build/backend/js/bootstrap.js +52 -0
  130. package/src/build/backend/js/form/editor.js +293 -0
  131. package/src/build/backend/js/form/file.js +142 -0
  132. package/src/build/backend/js/form/filepond.js +11 -0
  133. package/src/build/backend/js/form/input.js +313 -0
  134. package/src/build/backend/js/form/inputRow.js +164 -0
  135. package/src/build/backend/js/form/send.js +14 -0
  136. package/src/build/backend/js/form/set.js +314 -0
  137. package/src/build/backend/js/jquery.js +15 -0
  138. package/src/build/backend/js/list.js +19 -0
  139. package/src/build/backend/js/modal.js +31 -0
  140. package/src/build/backend/js/pageSetUp.js +125 -0
  141. package/src/build/backend/js/utility.js +38 -0
  142. package/src/build/frontend/css/class/dimension.css +3376 -0
  143. package/src/build/frontend/css/class/function.css +316 -0
  144. package/src/build/frontend/css/class/grid.css +240 -0
  145. package/src/build/frontend/css/class/margin.css +823 -0
  146. package/src/build/frontend/css/class/padding.css +760 -0
  147. package/src/build/frontend/css/class/position.css +351 -0
  148. package/src/build/frontend/css/class/resize.css +24 -0
  149. package/src/build/frontend/css/class/section.css +41 -0
  150. package/src/build/frontend/css/class/text.css +244 -0
  151. package/src/build/frontend/css/components/alert.css +42 -0
  152. package/src/build/frontend/css/components/button.css +107 -0
  153. package/src/build/frontend/css/components/dropdown.css +118 -0
  154. package/src/build/frontend/css/components/form/address.css +26 -0
  155. package/src/build/frontend/css/components/form/checkbox.css +65 -0
  156. package/src/build/frontend/css/components/form/date.css +133 -0
  157. package/src/build/frontend/css/components/form/input.css +176 -0
  158. package/src/build/frontend/css/components/form/select.css +69 -0
  159. package/src/build/frontend/css/components/header/hamburger/hamburger-1.css +56 -0
  160. package/src/build/frontend/css/components/header/hamburger/hamburger.css +58 -0
  161. package/src/build/frontend/css/components/header/header.css +57 -0
  162. package/src/build/frontend/css/components/header/mobile-nav.css +79 -0
  163. package/src/build/frontend/css/components/modal.css +76 -0
  164. package/src/build/frontend/css/components/spinner.css +37 -0
  165. package/src/build/frontend/css/generator/dimension.php +93 -0
  166. package/src/build/frontend/css/generator/margin.php +48 -0
  167. package/src/build/frontend/css/generator/padding.php +48 -0
  168. package/src/build/frontend/css/lib.css +3 -0
  169. package/src/build/frontend/css/main.css +37 -0
  170. package/src/build/frontend/js/alert.js +64 -0
  171. package/src/build/frontend/js/aos.js +9 -0
  172. package/src/build/frontend/js/dropdown.js +73 -0
  173. package/src/build/frontend/js/form/input.js +211 -0
  174. package/src/build/frontend/js/form/list.js +155 -0
  175. package/src/build/frontend/js/form/select.js +108 -0
  176. package/src/build/frontend/js/form/send.js +137 -0
  177. package/src/build/frontend/js/header.js +12 -0
  178. package/src/build/frontend/js/modal.js +26 -0
  179. package/src/build/frontend/js/pageSetUp.js +35 -0
  180. package/src/build/frontend/js/scroll.js +70 -0
  181. package/src/build/frontend/js/utility.js +21 -0
  182. package/src/build/global/js/canvas.js +82 -0
  183. package/src/build/global/js/fetch.js +47 -0
  184. package/src/build/global/js/form/autonumeric.js +136 -0
  185. package/src/build/global/js/form/phone.js +19 -0
  186. package/src/build/global/js/utility.js +88 -0
  187. package/src/build/global/js/video.js +7 -0
  188. package/src/build/lib/editorjs/gallery.js +39 -0
  189. package/src/build/lib/editorjs/hyperlink.js +170 -0
  190. package/src/build/lib/editorjs/video.js +61 -0
  191. package/src/build/lib/swiperjs/effect-carousel.css +24 -0
  192. package/src/build/lib/swiperjs/effect-carousel.esm.js +102 -0
  193. package/src/build/lib/swiperjs/effect-shutters.css +33 -0
  194. package/src/build/lib/swiperjs/effect-shutters.esm.js +114 -0
  195. package/src/build/lib/swiperjs/effect-slicer.css +39 -0
  196. package/src/build/lib/swiperjs/effect-slicer.esm.js +198 -0
  197. package/src/build/lib/swiperjs/swiper-gl.css +44 -0
  198. package/src/build/lib/swiperjs/swiper-gl.esm.js +6063 -0
  199. package/src/export/backend/body-end.js +4 -0
  200. package/src/export/backend/head.js +25 -0
  201. package/src/export/backend/lib.js +0 -0
  202. package/src/export/frontend/body-end.js +9 -0
  203. package/src/export/frontend/head.js +42 -0
  204. package/src/export/frontend/lib.js +17 -0
  205. package/src/export/lib/autonumeric/autonumeric.js +3 -0
  206. package/src/export/lib/bootstrap/bootstrap-datepicker.js +4 -0
  207. package/src/export/lib/bootstrap/bootstrap-icons.js +2 -0
  208. package/src/export/lib/bootstrap/bootstrap.js +3 -0
  209. package/src/export/lib/chartjs/chart.js +4 -0
  210. package/src/export/lib/datatables/datatables.js +6 -0
  211. package/src/export/lib/editorjs/editor.js +48 -0
  212. package/src/export/lib/fancyapps/fancyapps.js +7 -0
  213. package/src/export/lib/filepond/filepond.js +51 -0
  214. package/src/export/lib/fullcalendar/fullcalendar.js +29 -0
  215. package/src/export/lib/jquery/jquery-plugin.js +14 -0
  216. package/src/export/lib/jquery/jquery.js +4 -0
  217. package/src/export/lib/jstree/jstree.js +2 -0
  218. package/src/export/lib/moment/moment.js +12 -0
  219. package/src/export/lib/quilljs/quill.js +4 -0
  220. package/src/export/lib/swiperjs/swiper-plugin.js +20 -0
  221. package/src/export/lib/swiperjs/swiper.js +4 -0
  222. package/src/export/lib/videojs/video.js +3 -0
  223. package/webpack.config.js +79 -0
@@ -0,0 +1,651 @@
1
+ /* + slidesPerView */
2
+
3
+ /* eslint no-bitwise: ["error", { "allow": [">>"] }] */
4
+
5
+ /* eslint no-param-reassign: "off" */
6
+
7
+ /* eslint no-underscore-dangle: "off" */
8
+
9
+ /* eslint no-unused-vars: "off" */
10
+
11
+ /* eslint no-use-before-define: "off" */
12
+
13
+ /* eslint-disable */
14
+
15
+ /* eslint-disable consistent-return */
16
+
17
+ /* eslint-disable no-param-reassign */
18
+
19
+ /* eslint-disable no-underscore-dangle */
20
+
21
+ /* eslint-enable */
22
+
23
+ /* webpack/runtime/make namespace object */
24
+
25
+ /**
26
+ * SSR Window 4.0.2
27
+ * Better handling for window object in SSR environment
28
+ * https://github.com/nolimits4web/ssr-window
29
+ *
30
+ * Copyright 2021, Vladimir Kharlampidi
31
+ *
32
+ * Licensed under MIT
33
+ *
34
+ * Released on: December 13, 2021
35
+ */
36
+
37
+ /**
38
+ * Swiper 10.3.1
39
+ * Most modern mobile touch slider and framework with hardware accelerated transitions
40
+ * https://swiperjs.com
41
+ *
42
+ * Copyright 2014-2023 Vladimir Kharlampidi
43
+ *
44
+ * Released under the MIT License
45
+ *
46
+ * Released on: September 28, 2023
47
+ */
48
+
49
+ /************************************************************************/
50
+
51
+ /******/
52
+
53
+ //
54
+
55
+ // Animate the slider.
56
+
57
+ // Go to next slide and
58
+
59
+ // emit a scroll event.
60
+
61
+ // if the scroll on edge positions,
62
+
63
+ // if the scroll positions is not on edge,
64
+
65
+ // the disableParentSwiper will be true.
66
+
67
+ // then the disableParentSwiper will be false.
68
+
69
+ // then the disableParentSwiper will be true.
70
+
71
+ // at least P (P=1?) larger than the most recent event's delta?
72
+
73
+ // Don't go any further (avoid insignificant scroll movement).
74
+
75
+ // Go to prev slide and
76
+
77
+ // If direction has changed or
78
+
79
+ // If the slider hasn't hit the latest slide or
80
+
81
+ // Return now so you don't hit the preventDefault.
82
+
83
+ // emit a scroll event.
84
+
85
+ // if the scroll is quicker than the previous one:
86
+
87
+ // if the slider is a loop and
88
+
89
+ // if the slider isn't moving right now:
90
+
91
+ // '.swipe-handler',
92
+
93
+ // 'bullets' or 'progressbar' or 'fraction' or 'custom'
94
+
95
+ // 'slide' or 'fade' or 'cube' or 'coverflow' or 'flip'
96
+
97
+ // (x1,y1) is the known point before given value,
98
+
99
+ // (x3,y3) is the known point after given value.
100
+
101
+ // 1. do all N events have decreasing or same (absolute value) delta?
102
+
103
+ // 2. did all N events arrive in the last M (M=500?) msecs?
104
+
105
+ // 3. does the earliest event have an (absolute value) delta that's
106
+
107
+ // 4. does the latest event have a delta that's smaller than Q (Q=6?) pixels?
108
+
109
+ // Activate thumbs
110
+
111
+ // Active classes
112
+
113
+ // Add Classes
114
+
115
+ // Allow percentage to make a relative stretch for responsive sliders
116
+
117
+ // Also, because there's some remaining momentum we'll bias the snap in the
118
+
119
+ // Android
120
+
121
+ // Attach events
122
+
123
+ // Attach/Detach Events
124
+
125
+ // Autoheight
126
+
127
+ // Breakpoints
128
+
129
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/a11y.mjs
130
+
131
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/autoplay.mjs
132
+
133
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/controller.mjs
134
+
135
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/effect-cards.mjs
136
+
137
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/effect-coverflow.mjs
138
+
139
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/effect-creative.mjs
140
+
141
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/effect-cube.mjs
142
+
143
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/effect-fade.mjs
144
+
145
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/effect-flip.mjs
146
+
147
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/free-mode.mjs
148
+
149
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/grid.mjs
150
+
151
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/hash-navigation.mjs
152
+
153
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/history.mjs
154
+
155
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/keyboard.mjs
156
+
157
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/manipulation.mjs
158
+
159
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/mousewheel.mjs
160
+
161
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/navigation.mjs
162
+
163
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/pagination.mjs
164
+
165
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/parallax.mjs
166
+
167
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/scrollbar.mjs
168
+
169
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/thumbs.mjs
170
+
171
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/virtual.mjs
172
+
173
+ // CONCATENATED MODULE: ./node_modules/swiper/modules/zoom.mjs
174
+
175
+ // CONCATENATED MODULE: ./node_modules/swiper/shared/classes-to-selector.mjs
176
+
177
+ // CONCATENATED MODULE: ./node_modules/swiper/shared/create-element-if-not-defined.mjs
178
+
179
+ // CONCATENATED MODULE: ./node_modules/swiper/shared/create-shadow.mjs
180
+
181
+ // CONCATENATED MODULE: ./node_modules/swiper/shared/effect-init.mjs
182
+
183
+ // CONCATENATED MODULE: ./node_modules/swiper/shared/effect-target.mjs
184
+
185
+ // CONCATENATED MODULE: ./node_modules/swiper/shared/effect-virtual-transition-end.mjs
186
+
187
+ // CONCATENATED MODULE: ./node_modules/swiper/shared/ssr-window.esm.mjs
188
+
189
+ // CONCATENATED MODULE: ./node_modules/swiper/shared/swiper-core.mjs
190
+
191
+ // CONCATENATED MODULE: ./node_modules/swiper/shared/utils.mjs
192
+
193
+ // CONCATENATED MODULE: ./node_modules/swiper/swiper-bundle.mjs
194
+
195
+ // CONCATENATED MODULE: ./src/export/lib/swiperjs/swiper.js
196
+
197
+ // Calc slides
198
+
199
+ // Callbacks
200
+
201
+ // Check that swiper should be inside of visible area of window
202
+
203
+ // Children needs to return slot items
204
+
205
+ // Classes
206
+
207
+ // Cleanup styles
208
+
209
+ // Clicks
210
+
211
+ // Container
212
+
213
+ // Create loop
214
+
215
+ // Cursor
216
+
217
+ // Define if we need image drag
218
+
219
+ // Destroy loop
220
+
221
+ // Detach emitter events
222
+
223
+ // Detach events
224
+
225
+ // Directions locks
226
+
227
+ // Disable locks on resize
228
+
229
+ // Disable swiper and hide navigation when container not overflow
230
+
231
+ // ESM COMPAT FLAG
232
+
233
+ // Each slide offset from center
234
+
235
+ // Effects
236
+
237
+ // Else (the user is scrolling towards the beginning) and
238
+
239
+ // Else (this is the first time the wheel is moved):
240
+
241
+ // Emit
242
+
243
+ // Emit event
244
+
245
+ // Events
246
+
247
+ // Export object
248
+
249
+ // Extend Swiper
250
+
251
+ // Extend defaults with modules params
252
+
253
+ // Extend defaults with passed params
254
+
255
+ // Fall-back if spin cannot be determined
256
+
257
+ // Find Wrapper
258
+
259
+ // Find current slide
260
+
261
+ // Find current slide size
262
+
263
+ // Find el
264
+
265
+ // Find new height from highest slide in view
266
+
267
+ // Find slides currently in view
268
+
269
+ // Fix duration
270
+
271
+ // Fix for ultra small values
272
+
273
+ // For faster swipes, also apply limits (albeit higher ones).
274
+
275
+ // Form elements to match
276
+
277
+ // Freemode or scrollContainer:
278
+
279
+ // Get breakpoint for window width and update parameters
280
+
281
+ // Get real index
282
+
283
+ // Get the indexes of x1 and x3 (the array indexes before and after given x2):
284
+
285
+ // Get the scroll positions
286
+
287
+ // Given an x value (x2), return the expected y2 value:
288
+
289
+ // Grab Cursor
290
+
291
+ // If 1-4 are "yes" then we're near the end of a momentum scroll deceleration.
292
+
293
+ // If 1-4 aren't satisfied, then wait to snap until 500ms after the last event.
294
+
295
+ // If freeMode.sticky is active and the user ends a swipe with a slow-velocity
296
+
297
+ // If it's time to release the scroll:
298
+
299
+ // If the movement is NOT big enough and
300
+
301
+ // If there is at least one previous recorded event:
302
+
303
+ // If user is scrolling towards the end:
304
+
305
+ // If we recently snapped after a momentum scroll, then ignore wheel events
306
+
307
+ // If you got here is because an animation has been triggered so store the current time
308
+
309
+ // Ignore event if the target or its parents have the swiper-no-mousewheel class
310
+
311
+ // Images
312
+
313
+ // Images loader
314
+
315
+ // Increasing or reverse-sign delta means the user started scrolling again. Clear the wheel event log.
316
+
317
+ // Indexes
318
+
319
+ // Init
320
+
321
+ // Init Flag
322
+
323
+ // Internals
324
+
325
+ // It's easy to see this when simulating touch with mouse events. To fix this,
326
+
327
+ // Keep the most recent events
328
+
329
+ // Last click time
330
+
331
+ // Latest Chrome and webkits Fix
332
+
333
+ // Legacy
334
+
335
+ // Locks
336
+
337
+ // Long touches
338
+
339
+ // Modified from https://stackoverflow.com/questions/54520554/custom-element-getrootnode-closest-function-crossing-multiple-parent-shadowd
340
+
341
+ // Move image
342
+
343
+ // NEW
344
+
345
+ // NS
346
+
347
+ // Navigation
348
+
349
+ // Next Slide
350
+
351
+ // Normalize slideIndex
352
+
353
+ // Observe container
354
+
355
+ // Observe wrapper
356
+
357
+ // Overrides
358
+
359
+ // Pagination
360
+
361
+ // Passive Listeners
362
+
363
+ // Prev Slide
364
+
365
+ // Prevent Links Clicks
366
+
367
+ // Progress
368
+
369
+ // Props
370
+
371
+ // RTL
372
+
373
+ // Register the new event in a variable which stores the relevant data
374
+
375
+ // Remove last grid elements depending on width
376
+
377
+ // Render Container
378
+
379
+ // Render || Update Pagination bullets/items
380
+
381
+ // Resistance
382
+
383
+ // Resize handler
384
+
385
+ // Return Grab Cursor
386
+
387
+ // Return app instance
388
+
389
+ // Return locks after resize
390
+
391
+ // Return page scroll on edge positions
392
+
393
+ // Return true to animate scroll on edges
394
+
395
+ // Returns 0 unless `translate` is > 2**23
396
+
397
+ // Round length
398
+
399
+ // Save locks
400
+
401
+ // Scale image
402
+
403
+ // See comment above for "remaining wheel events in this scroll" determination.
404
+
405
+ // Set Grab Cursor
406
+
407
+ // Set breakpoint
408
+
409
+ // Set shadows
410
+
411
+ // Set slides order
412
+
413
+ // Set wrapper width
414
+
415
+ // Short swipes
416
+
417
+ // Should be subtracted from css values to prevent overflow
418
+
419
+ // Slide
420
+
421
+ // Slide To Initial Slide
422
+
423
+ // Slides
424
+
425
+ // Slides grid
426
+
427
+ // Snap immediately and ignore remaining wheel events in this scroll.
428
+
429
+ // Some old versions of Webkit choke when 'none' is passed; pass
430
+
431
+ // Stop autoplay
432
+
433
+ // Subtract paddings
434
+
435
+ // Swiper Class
436
+
437
+ // Swiper Instance
438
+
439
+ // Swiper JS
440
+
441
+ // Swiping/no swiping
442
+
443
+ // Tab focus
444
+
445
+ // Tap, doubleTap, Click
446
+
447
+ // The current translate is before the current snap index, so the choice
448
+
449
+ // The current translate is on or after the current snap index, so the choice
450
+
451
+ // The observerUpdate event should only be triggered
452
+
453
+ // The require scope
454
+
455
+ // There would be no events with distance zero, so the last event is stale.
456
+
457
+ // Threshold
458
+
459
+ // Time diff
460
+
461
+ // To support iOS's swipe-to-go-back gesture (when being used in-app).
462
+
463
+ // Toggle Zoom
464
+
465
+ // Toggle navigation, pagination, scrollbar
466
+
467
+ // Touch Events
468
+
469
+ // Touches
470
+
471
+ // Types
472
+
473
+ // Unique Navigation Elements
474
+
475
+ // Update Height
476
+
477
+ // Update Index
478
+
479
+ // Update Navigation Buttons
480
+
481
+ // Update active index in free mode
482
+
483
+ // Update progress
484
+
485
+ // Update size
486
+
487
+ // Update slides
488
+
489
+ // Update translate
490
+
491
+ // Velocities
492
+
493
+ // Velocity
494
+
495
+ // Vertical
496
+
497
+ // Virtual Translate
498
+
499
+ // Visible Slides
500
+
501
+ // We're at the end of the deceleration of a momentum scroll, so there's no need
502
+
503
+ // When loop is false:
504
+
505
+ // When loop is true:
506
+
507
+ // When wheel scrolling starts with sticky (aka snap) enabled, then detect
508
+
509
+ // Wrapper
510
+
511
+ // Zoom In
512
+
513
+ // Zoom Out
514
+
515
+ // add event listeners
516
+
517
+ // an end-of-momentum snap).
518
+
519
+ // but it did not work out
520
+
521
+ // change target el for shadow root component
522
+
523
+ // check if it belongs to another nested Swiper
524
+
525
+ // create new one
526
+
527
+ // create new ones
528
+
529
+ // define __esModule on exports
530
+
531
+ // delta in LINE units
532
+
533
+ // delta in PAGE units
534
+
535
+ // direction of the ongoing scroll because it's better UX for the scroll to snap
536
+
537
+ // empty string instead in this case
538
+
539
+ // eslint-disable-line
540
+
541
+ // eslint-disable-next-line
542
+
543
+ // eslint-disable-next-line no-constructor-return
544
+
545
+ // event, then durations can be 20+ seconds to slide one (or zero!) slides.
546
+
547
+ // for 500ms.
548
+
549
+ // i am not sure why the values have to be multiplicated this way, tried to invert the snapGrid
550
+
551
+ // iPadOs 13 fix
552
+
553
+ // if it's already scrolled more than 20% in the current direction, keep going.
554
+
555
+ // if the last time the user scrolled was too close to the current one (avoid continuously triggering the slider):
556
+
557
+ // if the slider hasn't hit the first slide or
558
+
559
+ // if the slider is a loop and
560
+
561
+ // if the slider isn't moving right now:
562
+
563
+ // if user scrolls with shift he wants horizontal scroll
564
+
565
+ // if we get here, then we haven't detected the end of a momentum scroll, so
566
+
567
+ // in px
568
+
569
+ // in the same direction as the scroll instead of reversing to snap. Therefore,
570
+
571
+ // init later
572
+
573
+ // is between the current index and the one after it.
574
+
575
+ // is between the current index and the one before it.
576
+
577
+ // isDirection
578
+
579
+ // it makes sense to create this only once and recall it for the interpolation
580
+
581
+ // jquery fix
582
+
583
+ // lifting finger or mouse vs. moving slowly before lifting the finger/mouse.
584
+
585
+ // limit single-slide swipes to the default slide duration. This also has the
586
+
587
+ // loop
588
+
589
+ // need another loop fix
590
+
591
+ // next
592
+
593
+ // nice side effect of matching slide speed if the user stopped moving before
594
+
595
+ // no getter for object
596
+
597
+ // once despite the number of mutations. Additional
598
+
599
+ // or if it's a new scroll (larger delta or inverse sign as last event before
600
+
601
+ // pixelX, pixelY
602
+
603
+ // prepend last slides before start
604
+
605
+ // prettier-ignore
606
+
607
+ // prevSnap = snap;
608
+
609
+ // previous
610
+
611
+ // remove shadows
612
+
613
+ // reset cssMode offsets
614
+
615
+ // reset margins
616
+
617
+ // rewind
618
+
619
+ // set rotates
620
+
621
+ // set translate
622
+
623
+ // shift cache indexes
624
+
625
+ // side scrolling on FF with DOMMouseScroll
626
+
627
+ // something got wrong
628
+
629
+ // ssr
630
+
631
+ // the end of a momentum scroll by storing recent (N=15?) wheel events.
632
+
633
+ // the function does a lot of value caching for performance
634
+
635
+ // this implies that the user stopped moving a finger then released.
636
+
637
+ // this will create an Interpolate function based on the snapGrids
638
+
639
+ // to give time for the deceleration to finish. Stop ignoring after 500 msecs
640
+
641
+ // to wait for more events. Snap ASAP on the next tick.
642
+
643
+ // triggers are redundant and are very costly
644
+
645
+ // use closestElement for shadow root element to get the actual closest for nested shadow root element
646
+
647
+ // we'll consider a scroll "complete" when there haven't been any wheel events
648
+
649
+ // webpackBootstrap
650
+
651
+ // x is the Grid of the scrolled scroller and y will be the controlled scroller