mod-build 4.0.0 → 4.0.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (165) hide show
  1. package/CHANGELOG.md +5 -0
  2. package/package.json +1 -1
  3. package/src/scripts/default/index.js +9 -0
  4. package/src/scripts/default/update-link-paths.js +7 -13
  5. package/src/scripts/default/use-dynamic-gtm.js +4 -5
  6. package/src/scripts/plugins.js +109 -0
  7. package/src/scripts/utils.js +12 -52
  8. package/tasks/serve.js +1 -1
  9. package/vite.config.js +3 -51
  10. package/src/accessible-components/button/_button.scss +0 -308
  11. package/src/accessible-components/button/back-button.html +0 -8
  12. package/src/accessible-components/button/button.html +0 -17
  13. package/src/accessible-components/carousel/_carousel.scss +0 -112
  14. package/src/accessible-components/carousel/carousel.html +0 -25
  15. package/src/accessible-components/carousel/carousel.js +0 -3426
  16. package/src/accessible-components/carousel/carousel.js.map +0 -1
  17. package/src/accessible-components/carousel/carousel.min.js +0 -6
  18. package/src/accessible-components/carousel/carousel.min.js.map +0 -1
  19. package/src/accessible-components/checkbox/_checkbox.scss +0 -153
  20. package/src/accessible-components/checkbox/checkbox-group.html +0 -18
  21. package/src/accessible-components/checkbox/checkbox.html +0 -8
  22. package/src/accessible-components/expand-collapse/_expand-collapse.scss +0 -129
  23. package/src/accessible-components/expand-collapse/expand-collapse.html +0 -14
  24. package/src/accessible-components/expand-collapse/expand-collapse.js +0 -52
  25. package/src/accessible-components/expand-collapse/expand-collapse.min.js +0 -2
  26. package/src/accessible-components/expand-collapse/expand-collapse.min.js.map +0 -1
  27. package/src/accessible-components/featured-block/_featured-block.scss +0 -221
  28. package/src/accessible-components/featured-block/featured-block.html +0 -54
  29. package/src/accessible-components/foot-assets/foot-assets.html +0 -112
  30. package/src/accessible-components/footer/footer.html +0 -2
  31. package/src/accessible-components/gtm-body/gtm-body.html +0 -4
  32. package/src/accessible-components/head/head.html +0 -187
  33. package/src/accessible-components/header/_header.scss +0 -287
  34. package/src/accessible-components/header/header.html +0 -66
  35. package/src/accessible-components/hero/_hero.scss +0 -405
  36. package/src/accessible-components/hero/hero.html +0 -53
  37. package/src/accessible-components/how-it-works/_how-it-works.scss +0 -217
  38. package/src/accessible-components/how-it-works/how-it-works-carousel.html +0 -12
  39. package/src/accessible-components/how-it-works/how-it-works-static.html +0 -12
  40. package/src/accessible-components/how-it-works/how-it-works.html +0 -14
  41. package/src/accessible-components/information/_information.scss +0 -96
  42. package/src/accessible-components/information/information.html +0 -32
  43. package/src/accessible-components/input/_input.scss +0 -204
  44. package/src/accessible-components/input/input.html +0 -22
  45. package/src/accessible-components/input/textarea.html +0 -9
  46. package/src/accessible-components/partners/_partners.scss +0 -234
  47. package/src/accessible-components/partners/partners.html +0 -56
  48. package/src/accessible-components/picture/picture.html +0 -19
  49. package/src/accessible-components/preloader/_preloader.scss +0 -61
  50. package/src/accessible-components/preloader/preloader.html +0 -23
  51. package/src/accessible-components/progress-bar/_progress-bar.scss +0 -140
  52. package/src/accessible-components/progress-bar/progress-bar.html +0 -21
  53. package/src/accessible-components/progress-bar/progress-bar.js +0 -37
  54. package/src/accessible-components/progress-bar/progress-bar.min.js +0 -2
  55. package/src/accessible-components/progress-bar/progress-bar.min.js.map +0 -1
  56. package/src/accessible-components/radio-button/_radio-button.scss +0 -586
  57. package/src/accessible-components/radio-button/radio-button.html +0 -33
  58. package/src/accessible-components/reviews/_reviews.scss +0 -175
  59. package/src/accessible-components/reviews/reviews-carousel.html +0 -12
  60. package/src/accessible-components/reviews/reviews-static.html +0 -12
  61. package/src/accessible-components/reviews/reviews.html +0 -37
  62. package/src/accessible-components/select/_select.scss +0 -69
  63. package/src/accessible-components/select/select.html +0 -10
  64. package/src/accessible-components/steps/_steps.scss +0 -636
  65. package/src/accessible-components/steps/defaultFormFieldConfig.json +0 -109
  66. package/src/accessible-components/steps/step-fields.html +0 -38
  67. package/src/accessible-components/steps/steps.html +0 -160
  68. package/src/accessible-components/tcpa/_tcpa.scss +0 -49
  69. package/src/accessible-components/tcpa/tcpa.html +0 -9
  70. package/src/accessible-components/tile/_tile.scss +0 -117
  71. package/src/accessible-components/tile/tile.html +0 -14
  72. package/src/accessible-components/value-props/_value-props.scss +0 -102
  73. package/src/accessible-components/value-props/value-props.html +0 -17
  74. package/src/accessible-components/zip-control/_zip-control.scss +0 -79
  75. package/src/accessible-components/zip-control/zip-control.html +0 -10
  76. package/src/resources/data/tcpa.json +0 -3
  77. package/src/resources/scripts/abandonment/abandonment-e099a424bf17408f1db2.min.js +0 -2
  78. package/src/resources/scripts/abandonment/abandonment.min.js +0 -2
  79. package/src/resources/scripts/footer/footer-component-7b5e263f64568573ecc0.min.js +0 -2
  80. package/src/resources/scripts/footer/footer-component.min.js +0 -2
  81. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js +0 -2
  82. package/src/resources/scripts/helpers/initNumericOnlyFields.min.js.map +0 -1
  83. package/src/resources/scripts/helpers/isZipCodeValid.min.js +0 -2
  84. package/src/resources/scripts/helpers/isZipCodeValid.min.js.map +0 -1
  85. package/src/resources/scripts/mod-alytics/modalytics-0ac7d7a5a72ea67a0f47.min.js +0 -2
  86. package/src/resources/scripts/mod-alytics/modalytics.min.js +0 -2
  87. package/src/resources/scripts/mod-form/form/homeowner-f395431201f7a6e56690.min.js +0 -2
  88. package/src/resources/scripts/mod-form/form/homeowner.min.js +0 -2
  89. package/src/resources/scripts/mod-utils/modutils-a08fecfbb83afad1a9f8.min.js +0 -2
  90. package/src/resources/scripts/mod-utils/modutils.min.js +0 -2
  91. package/src/resources/styles/components/abandonment/abandonment-a8571a9e32ed6ef9acb4.min.css +0 -1
  92. package/src/resources/styles/components/abandonment/abandonment.min.css +0 -1
  93. package/src/resources/styles/components/footer/mod-footer-1fb2cec3278f29df57d0.min.css +0 -1
  94. package/src/resources/styles/components/footer/mod-footer.min.css +0 -1
  95. package/src/resources/styles/components/footer/qs-footer-9a3b0ab00428b03e6e9e.min.css +0 -1
  96. package/src/resources/styles/components/footer/qs-footer.min.css +0 -1
  97. package/src/resources/templates/modals/about/index.hbs +0 -9
  98. package/src/resources/templates/modals/about/index.html +0 -9
  99. package/src/resources/templates/modals/contact-us/index.hbs +0 -348
  100. package/src/resources/templates/modals/contact-us/index.html +0 -348
  101. package/src/resources/templates/modals/faq/index.hbs +0 -9
  102. package/src/resources/templates/modals/faq/index.html +0 -9
  103. package/src/resources/templates/modals/privacy/index.hbs +0 -236
  104. package/src/resources/templates/modals/privacy/index.html +0 -236
  105. package/src/resources/templates/modals/terms/index.hbs +0 -166
  106. package/src/resources/templates/modals/terms/index.html +0 -166
  107. package/src/shared-components/card-button/_card-button.scss +0 -49
  108. package/src/shared-components/card-button/card-button.html +0 -9
  109. package/src/shared-components/carousel/_carousel.scss +0 -106
  110. package/src/shared-components/carousel/carousel.html +0 -22
  111. package/src/shared-components/carousel/carousel.js +0 -3427
  112. package/src/shared-components/carousel/carousel.js.map +0 -1
  113. package/src/shared-components/carousel/carousel.min.js +0 -6
  114. package/src/shared-components/carousel/carousel.min.js.map +0 -1
  115. package/src/shared-components/carousel/carousel.min.min.js +0 -6
  116. package/src/shared-components/carousel/carousel.min.min.js.map +0 -1
  117. package/src/shared-components/checkbox/_checkbox.scss +0 -104
  118. package/src/shared-components/checkbox/checkbox.html +0 -6
  119. package/src/shared-components/expand-collapse/_expand-collapse.scss +0 -93
  120. package/src/shared-components/expand-collapse/expand-collapse.html +0 -8
  121. package/src/shared-components/expand-collapse/expand-collapse.js +0 -40
  122. package/src/shared-components/expand-collapse/expand-collapse.min.js +0 -2
  123. package/src/shared-components/expand-collapse/expand-collapse.min.js.map +0 -1
  124. package/src/shared-components/featured-block/_featured-block.scss +0 -185
  125. package/src/shared-components/featured-block/featured-block.html +0 -62
  126. package/src/shared-components/foot-assets/foot-assets.html +0 -107
  127. package/src/shared-components/form-tcpa/form-tcpa.html +0 -12
  128. package/src/shared-components/gtm-body/gtm-body.html +0 -4
  129. package/src/shared-components/head/head.html +0 -192
  130. package/src/shared-components/header/_header.scss +0 -200
  131. package/src/shared-components/header/header.html +0 -71
  132. package/src/shared-components/hero/_hero.scss +0 -253
  133. package/src/shared-components/hero/hero.html +0 -126
  134. package/src/shared-components/how-it-works/_how-it-works.scss +0 -138
  135. package/src/shared-components/how-it-works/how-it-works.html +0 -19
  136. package/src/shared-components/input/_input.scss +0 -229
  137. package/src/shared-components/input/input.html +0 -30
  138. package/src/shared-components/preloader/_preloader.scss +0 -61
  139. package/src/shared-components/preloader/preloader.html +0 -49
  140. package/src/shared-components/progress-bar/_progress-bar.scss +0 -105
  141. package/src/shared-components/progress-bar/progress-bar.html +0 -20
  142. package/src/shared-components/progress-bar/progress-bar.js +0 -25
  143. package/src/shared-components/progress-bar/progress-bar.min.js +0 -2
  144. package/src/shared-components/progress-bar/progress-bar.min.js.map +0 -1
  145. package/src/shared-components/radio-button/_radio-button.scss +0 -554
  146. package/src/shared-components/radio-button/radio-button.html +0 -25
  147. package/src/shared-components/reviews/_reviews.scss +0 -79
  148. package/src/shared-components/reviews/reviews.html +0 -27
  149. package/src/shared-components/select/_select.scss +0 -61
  150. package/src/shared-components/select/select.html +0 -8
  151. package/src/shared-components/steps/_steps.scss +0 -334
  152. package/src/shared-components/steps/defaultFormFieldConfig.json +0 -64
  153. package/src/shared-components/steps/step-fields.html +0 -36
  154. package/src/shared-components/steps/steps.html +0 -131
  155. package/src/shared-components/textarea/_textarea.scss +0 -96
  156. package/src/shared-components/textarea/textarea.html +0 -13
  157. package/src/shared-components/theme-toggle/_theme-toggle.scss +0 -68
  158. package/src/shared-components/theme-toggle/theme-toggle.html +0 -34
  159. package/src/shared-components/tile/_tile.scss +0 -117
  160. package/src/shared-components/tile/tile.html +0 -27
  161. package/src/shared-components/value-props/_value-props.scss +0 -98
  162. package/src/shared-components/value-props/value-props.html +0 -17
  163. package/src/shared-components/zip-control/_zip-control.scss +0 -42
  164. package/src/shared-components/zip-control/zip-control.html +0 -21
  165. package/src/temp/scripts/maxmind-geoip2.js +0 -104
@@ -1,3427 +0,0 @@
1
- "use strict";
2
-
3
- function _slicedToArray(arr, i) { return _arrayWithHoles(arr) || _iterableToArrayLimit(arr, i) || _unsupportedIterableToArray(arr, i) || _nonIterableRest(); }
4
- function _nonIterableRest() { throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
5
- function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t["return"] && (u = t["return"](), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
6
- function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
7
- function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
8
- function _toConsumableArray(arr) { return _arrayWithoutHoles(arr) || _iterableToArray(arr) || _unsupportedIterableToArray(arr) || _nonIterableSpread(); }
9
- function _nonIterableSpread() { throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method."); }
10
- function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
11
- function _iterableToArray(iter) { if (typeof Symbol !== "undefined" && iter[Symbol.iterator] != null || iter["@@iterator"] != null) return Array.from(iter); }
12
- function _arrayWithoutHoles(arr) { if (Array.isArray(arr)) return _arrayLikeToArray(arr); }
13
- function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
14
- function _defineProperties(target, props) { for (var i = 0; i < props.length; i++) { var descriptor = props[i]; descriptor.enumerable = descriptor.enumerable || false; descriptor.configurable = true; if ("value" in descriptor) descriptor.writable = true; Object.defineProperty(target, _toPropertyKey(descriptor.key), descriptor); } }
15
- function _createClass(Constructor, protoProps, staticProps) { if (protoProps) _defineProperties(Constructor.prototype, protoProps); if (staticProps) _defineProperties(Constructor, staticProps); Object.defineProperty(Constructor, "prototype", { writable: false }); return Constructor; }
16
- function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
17
- function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
18
- function _classCallCheck(instance, Constructor) { if (!(instance instanceof Constructor)) { throw new TypeError("Cannot call a class as a function"); } }
19
- function _callSuper(t, o, e) { return o = _getPrototypeOf(o), _possibleConstructorReturn(t, _isNativeReflectConstruct() ? Reflect.construct(o, e || [], _getPrototypeOf(t).constructor) : o.apply(t, e)); }
20
- function _possibleConstructorReturn(self, call) { if (call && (_typeof(call) === "object" || typeof call === "function")) { return call; } else if (call !== void 0) { throw new TypeError("Derived constructors may only return object or undefined"); } return _assertThisInitialized(self); }
21
- function _assertThisInitialized(self) { if (self === void 0) { throw new ReferenceError("this hasn't been initialised - super() hasn't been called"); } return self; }
22
- function _inherits(subClass, superClass) { if (typeof superClass !== "function" && superClass !== null) { throw new TypeError("Super expression must either be null or a function"); } subClass.prototype = Object.create(superClass && superClass.prototype, { constructor: { value: subClass, writable: true, configurable: true } }); Object.defineProperty(subClass, "prototype", { writable: false }); if (superClass) _setPrototypeOf(subClass, superClass); }
23
- function _wrapNativeSuper(Class) { var _cache = typeof Map === "function" ? new Map() : undefined; _wrapNativeSuper = function _wrapNativeSuper(Class) { if (Class === null || !_isNativeFunction(Class)) return Class; if (typeof Class !== "function") { throw new TypeError("Super expression must either be null or a function"); } if (typeof _cache !== "undefined") { if (_cache.has(Class)) return _cache.get(Class); _cache.set(Class, Wrapper); } function Wrapper() { return _construct(Class, arguments, _getPrototypeOf(this).constructor); } Wrapper.prototype = Object.create(Class.prototype, { constructor: { value: Wrapper, enumerable: false, writable: true, configurable: true } }); return _setPrototypeOf(Wrapper, Class); }; return _wrapNativeSuper(Class); }
24
- function _construct(t, e, r) { if (_isNativeReflectConstruct()) return Reflect.construct.apply(null, arguments); var o = [null]; o.push.apply(o, e); var p = new (t.bind.apply(t, o))(); return r && _setPrototypeOf(p, r.prototype), p; }
25
- function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); }
26
- function _isNativeFunction(fn) { try { return Function.toString.call(fn).indexOf("[native code]") !== -1; } catch (e) { return typeof fn === "function"; } }
27
- function _setPrototypeOf(o, p) { _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function _setPrototypeOf(o, p) { o.__proto__ = p; return o; }; return _setPrototypeOf(o, p); }
28
- function _getPrototypeOf(o) { _getPrototypeOf = Object.setPrototypeOf ? Object.getPrototypeOf.bind() : function _getPrototypeOf(o) { return o.__proto__ || Object.getPrototypeOf(o); }; return _getPrototypeOf(o); }
29
- function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
30
- var modCarousel;
31
- (function () {
32
- "use strict";
33
-
34
- var e = {
35
- 460: function _(e, t, s) {
36
- s.d(t, {
37
- Z: function Z() {
38
- return u;
39
- }
40
- });
41
- var i = s(537),
42
- n = s.n(i),
43
- a = s(645),
44
- r = s.n(a),
45
- o = s(667),
46
- l = s.n(o),
47
- p = new URL(s(954), s.b),
48
- d = r()(n()),
49
- c = l()(p);
50
- d.push([e.id, "@font-face{font-family:\"swiper-icons\";src:url(".concat(c, ") format(\"woff\");font-weight:400;font-style:normal}:root{--swiper-theme-color: #007aff}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;box-sizing:content-box}.swiper-android .swiper-slide,.swiper-wrapper{transform:translate3d(0px, 0, 0)}.swiper-pointer-events{touch-action:pan-y}.swiper-pointer-events.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform}.swiper-slide-invisible-blank{visibility:hidden}.swiper-autoheight,.swiper-autoheight .swiper-slide{height:auto}.swiper-autoheight .swiper-wrapper{align-items:flex-start;transition-property:transform,height}.swiper-backface-hidden .swiper-slide{transform:translateZ(0);backface-visibility:hidden}.swiper-3d,.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper,.swiper-3d .swiper-slide,.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-cube-shadow{transform-style:preserve-3d}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top,.swiper-3d .swiper-slide-shadow-bottom{position:absolute;left:0;top:0;width:100%;height:100%;pointer-events:none;z-index:10}.swiper-3d .swiper-slide-shadow{background:rgba(0,0,0,.15)}.swiper-3d .swiper-slide-shadow-left{background-image:linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-top{background-image:linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0))}.swiper-css-mode>.swiper-wrapper{overflow:auto;scrollbar-width:none;-ms-overflow-style:none}.swiper-css-mode>.swiper-wrapper::-webkit-scrollbar{display:none}.swiper-css-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:start start}.swiper-horizontal.swiper-css-mode>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-vertical.swiper-css-mode>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-centered>.swiper-wrapper::before{content:\"\";flex-shrink:0;order:9999}.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;width:var(--swiper-centered-offset-after)}.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;height:var(--swiper-centered-offset-after)}.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper .swiper-notification{position:absolute;left:0;top:0;pointer-events:none;opacity:0;z-index:-1000}.swiper-fade.swiper-free-mode .swiper-slide{transition-timing-function:ease-out}.swiper-fade .swiper-slide{pointer-events:none;transition-property:opacity}.swiper-fade .swiper-slide .swiper-slide{pointer-events:none}.swiper-fade .swiper-slide-active,.swiper-fade .swiper-slide-active .swiper-slide-active{pointer-events:auto}.swiper-scrollbar{border-radius:10px;position:relative;-ms-touch-action:none;background:rgba(0,0,0,.1)}.swiper-scrollbar-disabled>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-disabled{display:none !important}.swiper-horizontal>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-horizontal{position:absolute;left:1%;bottom:3px;z-index:50;height:5px;width:98%}.swiper-vertical>.swiper-scrollbar,.swiper-scrollbar.swiper-scrollbar-vertical{position:absolute;right:3px;top:1%;z-index:50;width:5px;height:98%}.swiper-scrollbar-drag{height:100%;width:100%;position:relative;background:rgba(0,0,0,.5);border-radius:10px;left:0;top:0}.swiper-scrollbar-cursor-drag{cursor:move}.swiper-scrollbar-lock{display:none}.swiper-pagination{position:absolute;text-align:center;transition:300ms opacity;transform:translate3d(0, 0, 0);z-index:10}.swiper-pagination.swiper-pagination-hidden{opacity:0}.swiper-pagination-disabled>.swiper-pagination,.swiper-pagination.swiper-pagination-disabled{display:none !important}.swiper-pagination-fraction,.swiper-pagination-custom,.swiper-horizontal>.swiper-pagination-bullets,.swiper-pagination-bullets.swiper-pagination-horizontal{bottom:10px;left:0;width:100%}.swiper-pagination-bullets-dynamic{overflow:hidden;font-size:0}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transform:scale(0.33);position:relative}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-main{transform:scale(1)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-prev-prev{transform:scale(0.33)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next{transform:scale(0.66)}.swiper-pagination-bullets-dynamic .swiper-pagination-bullet-active-next-next{transform:scale(0.33)}.swiper-pagination-bullet{width:var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));height:var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));display:inline-block;border-radius:50%;background:var(--swiper-pagination-bullet-inactive-color, #000);opacity:var(--swiper-pagination-bullet-inactive-opacity, 0.2)}button.swiper-pagination-bullet{border:none;margin:0;padding:0;box-shadow:none;appearance:none}.swiper-pagination-clickable .swiper-pagination-bullet{cursor:pointer}.swiper-pagination-bullet:only-child{display:none !important}.swiper-pagination-bullet-active{opacity:var(--swiper-pagination-bullet-opacity, 1);background:var(--swiper-pagination-color, var(--swiper-theme-color))}.swiper-vertical>.swiper-pagination-bullets,.swiper-pagination-vertical.swiper-pagination-bullets{right:10px;top:50%;transform:translate3d(0px, -50%, 0)}.swiper-vertical>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets .swiper-pagination-bullet{margin:var(--swiper-pagination-bullet-vertical-gap, 6px) 0;display:block}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{top:50%;transform:translateY(-50%);width:8px}.swiper-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-vertical.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{display:inline-block;transition:200ms transform,200ms top}.swiper-horizontal>.swiper-pagination-bullets .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets .swiper-pagination-bullet{margin:0 var(--swiper-pagination-bullet-horizontal-gap, 4px)}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic{left:50%;transform:translateX(-50%);white-space:nowrap}.swiper-horizontal>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet,.swiper-pagination-horizontal.swiper-pagination-bullets.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:200ms transform,200ms left}.swiper-horizontal.swiper-rtl>.swiper-pagination-bullets-dynamic .swiper-pagination-bullet{transition:200ms transform,200ms right}.swiper-pagination-progressbar{background:rgba(0,0,0,.25);position:absolute}.swiper-pagination-progressbar .swiper-pagination-progressbar-fill{background:var(--swiper-pagination-color, var(--swiper-theme-color));position:absolute;left:0;top:0;width:100%;height:100%;transform:scale(0);transform-origin:left top}.swiper-rtl .swiper-pagination-progressbar .swiper-pagination-progressbar-fill{transform-origin:right top}.swiper-horizontal>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-horizontal,.swiper-vertical>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-vertical.swiper-pagination-progressbar-opposite{width:100%;height:4px;left:0;top:0}.swiper-vertical>.swiper-pagination-progressbar,.swiper-pagination-progressbar.swiper-pagination-vertical,.swiper-horizontal>.swiper-pagination-progressbar.swiper-pagination-progressbar-opposite,.swiper-pagination-progressbar.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite{width:4px;height:100%;left:0;top:0}.swiper-pagination-lock{display:none}"), "", {
51
- version: 3,
52
- sources: ["webpack://./node_modules/swiper/swiper.scss", "webpack://./node_modules/swiper/modules/a11y/a11y.scss", "webpack://./node_modules/swiper/modules/effect-fade/effect-fade.scss", "webpack://./node_modules/swiper/modules/scrollbar/scrollbar.scss", "webpack://./node_modules/swiper/modules/pagination/pagination.scss"],
53
- names: [],
54
- mappings: "AAcE,WACE,0BAAA,CACA,0DAAA,CAEA,eAAA,CACA,iBAAA,CAIF,MACE,6BAAA,CAGJ,QACE,gBAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,eAAA,CACA,SAAA,CAEA,SAAA,CAEF,iCACE,qBAAA,CAEF,gBACE,iBAAA,CACA,UAAA,CACA,WAAA,CACA,SAAA,CACA,YAAA,CACA,6BAAA,CACA,sBAAA,CAEF,8CAEE,gCAAA,CAEF,uBACE,kBAAA,CACA,uCACE,kBAAA,CAGJ,cACE,aAAA,CACA,UAAA,CACA,WAAA,CACA,iBAAA,CACA,6BAAA,CAEF,8BACE,iBAAA,CAIA,oDAEE,WAAA,CAGF,mCACE,sBAAA,CACA,oCAAA,CAGJ,sCACE,uBAAA,CACA,0BAAA,CAIA,sDAEE,kBAAA,CAEF,yQAQE,2BAAA,CAEF,sLAKE,iBAAA,CACA,MAAA,CACA,KAAA,CACA,UAAA,CACA,WAAA,CACA,mBAAA,CACA,UAAA,CAEF,gCACE,0BAAA,CAEF,qCACE,+EAAA,CAEF,sCACE,gFAAA,CAEF,oCACE,8EAAA,CAEF,uCACE,iFAAA,CAMF,iCACE,aAAA,CACA,oBAAA,CACA,uBAAA,CACA,oDACE,YAAA,CAGJ,+CACE,6BAAA,CAIF,mDACE,4BAAA,CAIF,iDACE,4BAAA,CAIF,yCACE,UAAA,CACA,aAAA,CACA,UAAA,CAGA,6EACE,wDAAA,CAEF,2DACE,WAAA,CACA,yCAAA,CAIF,2EACE,uDAAA,CAEF,yDACE,UAAA,CACA,0CAAA,CAIJ,+CACE,+BAAA,CACA,uBAAA,CCrLJ,6BACE,iBAAA,CACA,MAAA,CACA,KAAA,CACA,mBAAA,CACA,SAAA,CACA,aAAA,CCLE,4CACE,mCAAA,CAGJ,2BACE,mBAAA,CACA,2BAAA,CACA,yCACE,mBAAA,CAIF,yFAEE,mBAAA,CCfN,kBACE,kBAAA,CACA,iBAAA,CACA,qBAAA,CACA,yBAAA,CACA,yFAEE,uBAAA,CAEF,mFAEE,iBAAA,CACA,OAAA,CACA,UAAA,CACA,UAAA,CACA,UAAA,CACA,SAAA,CAEF,+EAEE,iBAAA,CACA,SAAA,CACA,MAAA,CACA,UAAA,CACA,SAAA,CACA,UAAA,CAGJ,uBACE,WAAA,CACA,UAAA,CACA,iBAAA,CACA,yBAAA,CACA,kBAAA,CACA,MAAA,CACA,KAAA,CAEF,8BACE,WAAA,CAEF,uBACE,YAAA,CC1BF,mBACE,iBAAA,CACA,iBAAA,CACA,wBAAA,CACA,8BAAA,CACA,UAAA,CACA,4CACE,SAAA,CAEF,6FAEE,uBAAA,CAIJ,4JAIE,WAAA,CACA,MAAA,CACA,UAAA,CAGF,mCACE,eAAA,CACA,WAAA,CACA,6DACE,qBAAA,CACA,iBAAA,CAEF,oEACE,kBAAA,CAEF,yEACE,kBAAA,CAEF,yEACE,qBAAA,CAEF,8EACE,qBAAA,CAEF,yEACE,qBAAA,CAEF,8EACE,qBAAA,CAGJ,0BACE,sFAAA,CACA,wFAAA,CACA,oBAAA,CACA,iBAAA,CACA,+DAAA,CACA,6DAAA,CACS,gCACP,WAAA,CACA,QAAA,CACA,SAAA,CACA,eAAA,CACA,eAAA,CAEF,uDACE,cAAA,CAGF,qCACE,uBAAA,CAGJ,iCACE,kDAAA,CACA,oEAAA,CAGF,kGAEE,UAAA,CACA,OAAA,CACA,mCAAA,CACA,sJACE,0DAAA,CACA,aAAA,CAEF,sKACE,OAAA,CACA,0BAAA,CACA,SAAA,CACA,0NACE,oBAAA,CACA,oCAAA,CAMJ,0JACE,4DAAA,CAEF,0KACE,QAAA,CACA,0BAAA,CACA,kBAAA,CACA,8NACE,qCAAA,CAIN,2FACE,sCAAA,CAGF,+BACE,0BAAA,CACA,iBAAA,CACA,mEACE,oEAAA,CACA,iBAAA,CACA,MAAA,CACA,KAAA,CACA,UAAA,CACA,WAAA,CACA,kBAAA,CACA,yBAAA,CAEF,+EACE,0BAAA,CAEF,sSAIE,UAAA,CACA,UAAA,CACA,MAAA,CACA,KAAA,CAEF,sSAIE,SAAA,CACA,WAAA,CACA,MAAA,CACA,KAAA,CAGJ,wBACE,YAAA",
55
- sourcesContent: ["/**\n * Swiper 8.4.7\n * Most modern mobile touch slider and framework with hardware accelerated transitions\n * https://swiperjs.com\n *\n * Copyright 2014-2023 Vladimir Kharlampidi\n *\n * Released under the MIT License\n *\n * Released on: January 30, 2023\n */\n\n@import 'swiper-vars.scss';\n@at-root {\n @font-face {\n font-family: 'swiper-icons';\n src: url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA')\n format('woff');\n font-weight: 400;\n font-style: normal;\n }\n}\n@at-root {\n :root {\n --swiper-theme-color: #{$themeColor};\n }\n}\n.swiper {\n margin-left: auto;\n margin-right: auto;\n position: relative;\n overflow: hidden;\n list-style: none;\n padding: 0;\n /* Fix of Webkit flickering */\n z-index: 1;\n}\n.swiper-vertical > .swiper-wrapper {\n flex-direction: column;\n}\n.swiper-wrapper {\n position: relative;\n width: 100%;\n height: 100%;\n z-index: 1;\n display: flex;\n transition-property: transform;\n box-sizing: content-box;\n}\n.swiper-android .swiper-slide,\n.swiper-wrapper {\n transform: translate3d(0px, 0, 0);\n}\n.swiper-pointer-events {\n touch-action: pan-y;\n &.swiper-vertical {\n touch-action: pan-x;\n }\n}\n.swiper-slide {\n flex-shrink: 0;\n width: 100%;\n height: 100%;\n position: relative;\n transition-property: transform;\n}\n.swiper-slide-invisible-blank {\n visibility: hidden;\n}\n/* Auto Height */\n.swiper-autoheight {\n &,\n .swiper-slide {\n height: auto;\n }\n\n .swiper-wrapper {\n align-items: flex-start;\n transition-property: transform, height;\n }\n}\n.swiper-backface-hidden .swiper-slide {\n transform: translateZ(0);\n backface-visibility: hidden;\n}\n/* 3D Effects */\n.swiper-3d {\n &,\n &.swiper-css-mode .swiper-wrapper {\n perspective: 1200px;\n }\n .swiper-wrapper,\n .swiper-slide,\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom,\n .swiper-cube-shadow {\n transform-style: preserve-3d;\n }\n .swiper-slide-shadow,\n .swiper-slide-shadow-left,\n .swiper-slide-shadow-right,\n .swiper-slide-shadow-top,\n .swiper-slide-shadow-bottom {\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n pointer-events: none;\n z-index: 10;\n }\n .swiper-slide-shadow {\n background: rgba(0, 0, 0, 0.15);\n }\n .swiper-slide-shadow-left {\n background-image: linear-gradient(to left, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-right {\n background-image: linear-gradient(to right, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-top {\n background-image: linear-gradient(to top, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n .swiper-slide-shadow-bottom {\n background-image: linear-gradient(to bottom, rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0));\n }\n}\n\n/* CSS Mode */\n.swiper-css-mode {\n > .swiper-wrapper {\n overflow: auto;\n scrollbar-width: none; /* For Firefox */\n -ms-overflow-style: none; /* For Internet Explorer and Edge */\n &::-webkit-scrollbar {\n display: none;\n }\n }\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: start start;\n }\n}\n.swiper-horizontal.swiper-css-mode {\n > .swiper-wrapper {\n scroll-snap-type: x mandatory;\n }\n}\n.swiper-vertical.swiper-css-mode {\n > .swiper-wrapper {\n scroll-snap-type: y mandatory;\n }\n}\n.swiper-centered {\n > .swiper-wrapper::before {\n content: '';\n flex-shrink: 0;\n order: 9999;\n }\n &.swiper-horizontal {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-inline-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n height: 100%;\n width: var(--swiper-centered-offset-after);\n }\n }\n &.swiper-vertical {\n > .swiper-wrapper > .swiper-slide:first-child {\n margin-block-start: var(--swiper-centered-offset-before);\n }\n > .swiper-wrapper::before {\n width: 100%;\n height: var(--swiper-centered-offset-after);\n }\n }\n\n > .swiper-wrapper > .swiper-slide {\n scroll-snap-align: center center;\n scroll-snap-stop: always;\n }\n}\n\n\n\n", "/* a11y */\n.swiper .swiper-notification {\n position: absolute;\n left: 0;\n top: 0;\n pointer-events: none;\n opacity: 0;\n z-index: -1000;\n}\n", ".swiper-fade {\n &.swiper-free-mode {\n .swiper-slide {\n transition-timing-function: ease-out;\n }\n }\n .swiper-slide {\n pointer-events: none;\n transition-property: opacity;\n .swiper-slide {\n pointer-events: none;\n }\n }\n .swiper-slide-active {\n &,\n & .swiper-slide-active {\n pointer-events: auto;\n }\n }\n}\n", "/* Scrollbar */\n.swiper-scrollbar {\n border-radius: 10px;\n position: relative;\n -ms-touch-action: none;\n background: rgba(0, 0, 0, 0.1);\n .swiper-scrollbar-disabled > &,\n &.swiper-scrollbar-disabled {\n display: none !important;\n }\n .swiper-horizontal > &,\n &.swiper-scrollbar-horizontal {\n position: absolute;\n left: 1%;\n bottom: 3px;\n z-index: 50;\n height: 5px;\n width: 98%;\n }\n .swiper-vertical > &,\n &.swiper-scrollbar-vertical {\n position: absolute;\n right: 3px;\n top: 1%;\n z-index: 50;\n width: 5px;\n height: 98%;\n }\n}\n.swiper-scrollbar-drag {\n height: 100%;\n width: 100%;\n position: relative;\n background: rgba(0, 0, 0, 0.5);\n border-radius: 10px;\n left: 0;\n top: 0;\n}\n.swiper-scrollbar-cursor-drag {\n cursor: move;\n}\n.swiper-scrollbar-lock {\n display: none;\n}\n", "@import '../../swiper-vars.scss';\n@at-root {\n :root {\n /*\n --swiper-pagination-color: var(--swiper-theme-color);\n --swiper-pagination-bullet-size: 8px;\n --swiper-pagination-bullet-width: 8px;\n --swiper-pagination-bullet-height: 8px;\n --swiper-pagination-bullet-inactive-color: #000;\n --swiper-pagination-bullet-inactive-opacity: 0.2;\n --swiper-pagination-bullet-opacity: 1;\n --swiper-pagination-bullet-horizontal-gap: 4px;\n --swiper-pagination-bullet-vertical-gap: 6px;\n */\n }\n}\n.swiper-pagination {\n position: absolute;\n text-align: center;\n transition: 300ms opacity;\n transform: translate3d(0, 0, 0);\n z-index: 10;\n &.swiper-pagination-hidden {\n opacity: 0;\n }\n .swiper-pagination-disabled > &,\n &.swiper-pagination-disabled {\n display: none !important;\n }\n}\n/* Common Styles */\n.swiper-pagination-fraction,\n.swiper-pagination-custom,\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-bullets.swiper-pagination-horizontal {\n bottom: 10px;\n left: 0;\n width: 100%;\n}\n/* Bullets */\n.swiper-pagination-bullets-dynamic {\n overflow: hidden;\n font-size: 0;\n .swiper-pagination-bullet {\n transform: scale(0.33);\n position: relative;\n }\n .swiper-pagination-bullet-active {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-main {\n transform: scale(1);\n }\n .swiper-pagination-bullet-active-prev {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-prev-prev {\n transform: scale(0.33);\n }\n .swiper-pagination-bullet-active-next {\n transform: scale(0.66);\n }\n .swiper-pagination-bullet-active-next-next {\n transform: scale(0.33);\n }\n}\n.swiper-pagination-bullet {\n width: var(--swiper-pagination-bullet-width, var(--swiper-pagination-bullet-size, 8px));\n height: var(--swiper-pagination-bullet-height, var(--swiper-pagination-bullet-size, 8px));\n display: inline-block;\n border-radius: 50%;\n background: var(--swiper-pagination-bullet-inactive-color, #000);\n opacity: var(--swiper-pagination-bullet-inactive-opacity, 0.2);\n @at-root button#{&} {\n border: none;\n margin: 0;\n padding: 0;\n box-shadow: none;\n appearance: none;\n }\n .swiper-pagination-clickable & {\n cursor: pointer;\n }\n\n &:only-child {\n display: none !important;\n }\n}\n.swiper-pagination-bullet-active {\n opacity: var(--swiper-pagination-bullet-opacity, 1);\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n}\n\n.swiper-vertical > .swiper-pagination-bullets,\n.swiper-pagination-vertical.swiper-pagination-bullets {\n right: 10px;\n top: 50%;\n transform: translate3d(0px, -50%, 0);\n .swiper-pagination-bullet {\n margin: var(--swiper-pagination-bullet-vertical-gap, 6px) 0;\n display: block;\n }\n &.swiper-pagination-bullets-dynamic {\n top: 50%;\n transform: translateY(-50%);\n width: 8px;\n .swiper-pagination-bullet {\n display: inline-block;\n transition: 200ms transform, 200ms top;\n }\n }\n}\n.swiper-horizontal > .swiper-pagination-bullets,\n.swiper-pagination-horizontal.swiper-pagination-bullets {\n .swiper-pagination-bullet {\n margin: 0 var(--swiper-pagination-bullet-horizontal-gap, 4px);\n }\n &.swiper-pagination-bullets-dynamic {\n left: 50%;\n transform: translateX(-50%);\n white-space: nowrap;\n .swiper-pagination-bullet {\n transition: 200ms transform, 200ms left;\n }\n }\n}\n.swiper-horizontal.swiper-rtl > .swiper-pagination-bullets-dynamic .swiper-pagination-bullet {\n transition: 200ms transform, 200ms right;\n}\n/* Progress */\n.swiper-pagination-progressbar {\n background: rgba(0, 0, 0, 0.25);\n position: absolute;\n .swiper-pagination-progressbar-fill {\n background: var(--swiper-pagination-color, var(--swiper-theme-color));\n position: absolute;\n left: 0;\n top: 0;\n width: 100%;\n height: 100%;\n transform: scale(0);\n transform-origin: left top;\n }\n .swiper-rtl & .swiper-pagination-progressbar-fill {\n transform-origin: right top;\n }\n .swiper-horizontal > &,\n &.swiper-pagination-horizontal,\n .swiper-vertical > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-vertical.swiper-pagination-progressbar-opposite {\n width: 100%;\n height: 4px;\n left: 0;\n top: 0;\n }\n .swiper-vertical > &,\n &.swiper-pagination-vertical,\n .swiper-horizontal > &.swiper-pagination-progressbar-opposite,\n &.swiper-pagination-horizontal.swiper-pagination-progressbar-opposite {\n width: 4px;\n height: 100%;\n left: 0;\n top: 0;\n }\n}\n.swiper-pagination-lock {\n display: none;\n}\n"],
56
- sourceRoot: ""
57
- }]);
58
- var u = d;
59
- },
60
- 645: function _(e) {
61
- e.exports = function (e) {
62
- var t = [];
63
- return t.toString = function () {
64
- return this.map(function (t) {
65
- var s = "",
66
- i = void 0 !== t[5];
67
- return t[4] && (s += "@supports (".concat(t[4], ") {")), t[2] && (s += "@media ".concat(t[2], " {")), i && (s += "@layer".concat(t[5].length > 0 ? " ".concat(t[5]) : "", " {")), s += e(t), i && (s += "}"), t[2] && (s += "}"), t[4] && (s += "}"), s;
68
- }).join("");
69
- }, t.i = function (e, s, i, n, a) {
70
- "string" == typeof e && (e = [[null, e, void 0]]);
71
- var r = {};
72
- if (i) for (var o = 0; o < this.length; o++) {
73
- var l = this[o][0];
74
- null != l && (r[l] = !0);
75
- }
76
- for (var p = 0; p < e.length; p++) {
77
- var d = [].concat(e[p]);
78
- i && r[d[0]] || (void 0 !== a && (void 0 === d[5] || (d[1] = "@layer".concat(d[5].length > 0 ? " ".concat(d[5]) : "", " {").concat(d[1], "}")), d[5] = a), s && (d[2] ? (d[1] = "@media ".concat(d[2], " {").concat(d[1], "}"), d[2] = s) : d[2] = s), n && (d[4] ? (d[1] = "@supports (".concat(d[4], ") {").concat(d[1], "}"), d[4] = n) : d[4] = "".concat(n)), t.push(d));
79
- }
80
- }, t;
81
- };
82
- },
83
- 667: function _(e) {
84
- e.exports = function (e, t) {
85
- return t || (t = {}), e ? (e = String(e.__esModule ? e["default"] : e), /^['"].*['"]$/.test(e) && (e = e.slice(1, -1)), t.hash && (e += t.hash), /["'() \t\n]|(%20)/.test(e) || t.needQuotes ? '"'.concat(e.replace(/"/g, '\\"').replace(/\n/g, "\\n"), '"') : e) : e;
86
- };
87
- },
88
- 537: function _(e) {
89
- e.exports = function (e) {
90
- var t = e[1],
91
- s = e[3];
92
- if (!s) return t;
93
- if ("function" == typeof btoa) {
94
- var i = btoa(unescape(encodeURIComponent(JSON.stringify(s)))),
95
- n = "sourceMappingURL=data:application/json;charset=utf-8;base64,".concat(i),
96
- a = "/*# ".concat(n, " */");
97
- return [t].concat([a]).join("\n");
98
- }
99
- return [t].join("\n");
100
- };
101
- },
102
- 379: function _(e) {
103
- var t = [];
104
- function s(e) {
105
- for (var s = -1, i = 0; i < t.length; i++) if (t[i].identifier === e) {
106
- s = i;
107
- break;
108
- }
109
- return s;
110
- }
111
- function i(e, i) {
112
- for (var a = {}, r = [], o = 0; o < e.length; o++) {
113
- var l = e[o],
114
- p = i.base ? l[0] + i.base : l[0],
115
- d = a[p] || 0,
116
- c = "".concat(p, " ").concat(d);
117
- a[p] = d + 1;
118
- var u = s(c),
119
- A = {
120
- css: l[1],
121
- media: l[2],
122
- sourceMap: l[3],
123
- supports: l[4],
124
- layer: l[5]
125
- };
126
- if (-1 !== u) t[u].references++, t[u].updater(A);else {
127
- var g = n(A, i);
128
- i.byIndex = o, t.splice(o, 0, {
129
- identifier: c,
130
- updater: g,
131
- references: 1
132
- });
133
- }
134
- r.push(c);
135
- }
136
- return r;
137
- }
138
- function n(e, t) {
139
- var s = t.domAPI(t);
140
- return s.update(e), function (t) {
141
- if (t) {
142
- if (t.css === e.css && t.media === e.media && t.sourceMap === e.sourceMap && t.supports === e.supports && t.layer === e.layer) return;
143
- s.update(e = t);
144
- } else s.remove();
145
- };
146
- }
147
- e.exports = function (e, n) {
148
- var a = i(e = e || [], n = n || {});
149
- return function (e) {
150
- e = e || [];
151
- for (var r = 0; r < a.length; r++) {
152
- var o = s(a[r]);
153
- t[o].references--;
154
- }
155
- for (var l = i(e, n), p = 0; p < a.length; p++) {
156
- var d = s(a[p]);
157
- 0 === t[d].references && (t[d].updater(), t.splice(d, 1));
158
- }
159
- a = l;
160
- };
161
- };
162
- },
163
- 569: function _(e) {
164
- var t = {};
165
- e.exports = function (e, s) {
166
- var i = function (e) {
167
- if (void 0 === t[e]) {
168
- var s = document.querySelector(e);
169
- if (window.HTMLIFrameElement && s instanceof window.HTMLIFrameElement) try {
170
- s = s.contentDocument.head;
171
- } catch (e) {
172
- s = null;
173
- }
174
- t[e] = s;
175
- }
176
- return t[e];
177
- }(e);
178
- if (!i) throw new Error("Couldn't find a style target. This probably means that the value for the 'insert' parameter is invalid.");
179
- i.appendChild(s);
180
- };
181
- },
182
- 216: function _(e) {
183
- e.exports = function (e) {
184
- var t = document.createElement("style");
185
- return e.setAttributes(t, e.attributes), e.insert(t, e.options), t;
186
- };
187
- },
188
- 565: function _(e, t, s) {
189
- e.exports = function (e) {
190
- var t = s.nc;
191
- t && e.setAttribute("nonce", t);
192
- };
193
- },
194
- 795: function _(e) {
195
- e.exports = function (e) {
196
- if ("undefined" == typeof document) return {
197
- update: function update() {},
198
- remove: function remove() {}
199
- };
200
- var t = e.insertStyleElement(e);
201
- return {
202
- update: function update(s) {
203
- !function (e, t, s) {
204
- var i = "";
205
- s.supports && (i += "@supports (".concat(s.supports, ") {")), s.media && (i += "@media ".concat(s.media, " {"));
206
- var n = void 0 !== s.layer;
207
- n && (i += "@layer".concat(s.layer.length > 0 ? " ".concat(s.layer) : "", " {")), i += s.css, n && (i += "}"), s.media && (i += "}"), s.supports && (i += "}");
208
- var a = s.sourceMap;
209
- a && "undefined" != typeof btoa && (i += "\n/*# sourceMappingURL=data:application/json;base64,".concat(btoa(unescape(encodeURIComponent(JSON.stringify(a)))), " */")), t.styleTagTransform(i, e, t.options);
210
- }(t, e, s);
211
- },
212
- remove: function remove() {
213
- !function (e) {
214
- if (null === e.parentNode) return !1;
215
- e.parentNode.removeChild(e);
216
- }(t);
217
- }
218
- };
219
- };
220
- },
221
- 589: function _(e) {
222
- e.exports = function (e, t) {
223
- if (t.styleSheet) t.styleSheet.cssText = e;else {
224
- for (; t.firstChild;) t.removeChild(t.firstChild);
225
- t.appendChild(document.createTextNode(e));
226
- }
227
- };
228
- },
229
- 954: function _(e) {
230
- e.exports = "data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx4j+/8fQDYfA1AEBWgDAIB2BOoAeNpjYGRgYNBh4GdgYgABEMnIABJzYNADCQAACWgAsQB42mNgYfzCOIGBlYGB0YcxjYGBwR1Kf2WQZGhhYGBiYGVmgAFGBiQQkOaawtDAoMBQxXjg/wEGPcYDDA4wNUA2CCgwsAAAO4EL6gAAeNpj2M0gyAACqxgGNWBkZ2D4/wMA+xkDdgAAAHjaY2BgYGaAYBkGRgYQiAHyGMF8FgYHIM3DwMHABGQrMOgyWDLEM1T9/w8UBfEMgLzE////P/5//f/V/xv+r4eaAAeMbAxwIUYmIMHEgKYAYjUcsDAwsLKxc3BycfPw8jEQA/gZBASFhEVExcQlJKWkZWTl5BUUlZRVVNXUNTQZBgMAAMR+E+gAEQFEAAAAKgAqACoANAA+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBgEQARoBJAEuATgBQgFMAVYBYAFqAXQBfgGIAZIBnAGmAbIBzgHsAAB42u2NMQ6CUAyGW568x9AneYYgm4MJbhKFaExIOAVX8ApewSt4Bic4AfeAid3VOBixDxfPYEza5O+Xfi04YADggiUIULCuEJK8VhO4bSvpdnktHI5QCYtdi2sl8ZnXaHlqUrNKzdKcT8cjlq+rwZSvIVczNiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA";
231
- }
232
- },
233
- t = {};
234
- function s(i) {
235
- var n = t[i];
236
- if (void 0 !== n) return n.exports;
237
- var a = t[i] = {
238
- id: i,
239
- exports: {}
240
- };
241
- return e[i](a, a.exports, s), a.exports;
242
- }
243
- s.m = e, s.n = function (e) {
244
- var t = e && e.__esModule ? function () {
245
- return e["default"];
246
- } : function () {
247
- return e;
248
- };
249
- return s.d(t, {
250
- a: t
251
- }), t;
252
- }, s.d = function (e, t) {
253
- for (var i in t) s.o(t, i) && !s.o(e, i) && Object.defineProperty(e, i, {
254
- enumerable: !0,
255
- get: t[i]
256
- });
257
- }, s.o = function (e, t) {
258
- return Object.prototype.hasOwnProperty.call(e, t);
259
- }, s.r = function (e) {
260
- "undefined" != typeof Symbol && Symbol.toStringTag && Object.defineProperty(e, Symbol.toStringTag, {
261
- value: "Module"
262
- }), Object.defineProperty(e, "__esModule", {
263
- value: !0
264
- });
265
- }, s.b = document.baseURI || self.location.href, s.nc = void 0;
266
- var i = {};
267
- (function () {
268
- function e(e) {
269
- return null !== e && "object" == _typeof(e) && "constructor" in e && e.constructor === Object;
270
- }
271
- function t() {
272
- var s = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
273
- var i = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
274
- Object.keys(i).forEach(function (n) {
275
- void 0 === s[n] ? s[n] = i[n] : e(i[n]) && e(s[n]) && Object.keys(i[n]).length > 0 && t(s[n], i[n]);
276
- });
277
- }
278
- s.r(i), s.d(i, {
279
- init: function init() {
280
- return ve;
281
- }
282
- });
283
- var n = {
284
- body: {},
285
- addEventListener: function addEventListener() {},
286
- removeEventListener: function removeEventListener() {},
287
- activeElement: {
288
- blur: function blur() {},
289
- nodeName: ""
290
- },
291
- querySelector: function querySelector() {
292
- return null;
293
- },
294
- querySelectorAll: function querySelectorAll() {
295
- return [];
296
- },
297
- getElementById: function getElementById() {
298
- return null;
299
- },
300
- createEvent: function createEvent() {
301
- return {
302
- initEvent: function initEvent() {}
303
- };
304
- },
305
- createElement: function createElement() {
306
- return {
307
- children: [],
308
- childNodes: [],
309
- style: {},
310
- setAttribute: function setAttribute() {},
311
- getElementsByTagName: function getElementsByTagName() {
312
- return [];
313
- }
314
- };
315
- },
316
- createElementNS: function createElementNS() {
317
- return {};
318
- },
319
- importNode: function importNode() {
320
- return null;
321
- },
322
- location: {
323
- hash: "",
324
- host: "",
325
- hostname: "",
326
- href: "",
327
- origin: "",
328
- pathname: "",
329
- protocol: "",
330
- search: ""
331
- }
332
- };
333
- function a() {
334
- var e = "undefined" != typeof document ? document : {};
335
- return t(e, n), e;
336
- }
337
- var r = {
338
- document: n,
339
- navigator: {
340
- userAgent: ""
341
- },
342
- location: {
343
- hash: "",
344
- host: "",
345
- hostname: "",
346
- href: "",
347
- origin: "",
348
- pathname: "",
349
- protocol: "",
350
- search: ""
351
- },
352
- history: {
353
- replaceState: function replaceState() {},
354
- pushState: function pushState() {},
355
- go: function go() {},
356
- back: function back() {}
357
- },
358
- CustomEvent: function CustomEvent() {
359
- return this;
360
- },
361
- addEventListener: function addEventListener() {},
362
- removeEventListener: function removeEventListener() {},
363
- getComputedStyle: function getComputedStyle() {
364
- return {
365
- getPropertyValue: function getPropertyValue() {
366
- return "";
367
- }
368
- };
369
- },
370
- Image: function Image() {},
371
- Date: function Date() {},
372
- screen: {},
373
- setTimeout: function setTimeout() {},
374
- clearTimeout: function clearTimeout() {},
375
- matchMedia: function matchMedia() {
376
- return {};
377
- },
378
- requestAnimationFrame: function requestAnimationFrame(e) {
379
- return "undefined" == typeof setTimeout ? (e(), null) : setTimeout(e, 0);
380
- },
381
- cancelAnimationFrame: function cancelAnimationFrame(e) {
382
- "undefined" != typeof setTimeout && clearTimeout(e);
383
- }
384
- };
385
- function o() {
386
- var e = "undefined" != typeof window ? window : {};
387
- return t(e, r), e;
388
- }
389
- var l = /*#__PURE__*/function (_Array) {
390
- _inherits(l, _Array);
391
- function l(e) {
392
- var _this;
393
- _classCallCheck(this, l);
394
- "number" == typeof e ? _this = _callSuper(this, l, [e]) : (_this = _callSuper(this, l, _toConsumableArray(e || [])), function (e) {
395
- var t = e.__proto__;
396
- Object.defineProperty(e, "__proto__", {
397
- get: function get() {
398
- return t;
399
- },
400
- set: function set(e) {
401
- t.__proto__ = e;
402
- }
403
- });
404
- }(_assertThisInitialized(_this)));
405
- return _possibleConstructorReturn(_this);
406
- }
407
- return _createClass(l);
408
- }( /*#__PURE__*/_wrapNativeSuper(Array));
409
- function p() {
410
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : [];
411
- var t = [];
412
- return e.forEach(function (e) {
413
- Array.isArray(e) ? t.push.apply(t, _toConsumableArray(p(e))) : t.push(e);
414
- }), t;
415
- }
416
- function d(e, t) {
417
- return Array.prototype.filter.call(e, t);
418
- }
419
- function c(e, t) {
420
- var s = o(),
421
- i = a();
422
- var n = [];
423
- if (!t && e instanceof l) return e;
424
- if (!e) return new l(n);
425
- if ("string" == typeof e) {
426
- var _s = e.trim();
427
- if (_s.indexOf("<") >= 0 && _s.indexOf(">") >= 0) {
428
- var _e = "div";
429
- 0 === _s.indexOf("<li") && (_e = "ul"), 0 === _s.indexOf("<tr") && (_e = "tbody"), 0 !== _s.indexOf("<td") && 0 !== _s.indexOf("<th") || (_e = "tr"), 0 === _s.indexOf("<tbody") && (_e = "table"), 0 === _s.indexOf("<option") && (_e = "select");
430
- var _t = i.createElement(_e);
431
- _t.innerHTML = _s;
432
- for (var _e2 = 0; _e2 < _t.childNodes.length; _e2 += 1) n.push(_t.childNodes[_e2]);
433
- } else n = function (e, t) {
434
- if ("string" != typeof e) return [e];
435
- var s = [],
436
- i = t.querySelectorAll(e);
437
- for (var _e3 = 0; _e3 < i.length; _e3 += 1) s.push(i[_e3]);
438
- return s;
439
- }(e.trim(), t || i);
440
- } else if (e.nodeType || e === s || e === i) n.push(e);else if (Array.isArray(e)) {
441
- if (e instanceof l) return e;
442
- n = e;
443
- }
444
- return new l(function (e) {
445
- var t = [];
446
- for (var _s2 = 0; _s2 < e.length; _s2 += 1) -1 === t.indexOf(e[_s2]) && t.push(e[_s2]);
447
- return t;
448
- }(n));
449
- }
450
- c.fn = l.prototype;
451
- var u = "resize scroll".split(" ");
452
- function A(e) {
453
- return function () {
454
- for (var _len = arguments.length, t = new Array(_len), _key = 0; _key < _len; _key++) {
455
- t[_key] = arguments[_key];
456
- }
457
- if (void 0 === t[0]) {
458
- for (var _t2 = 0; _t2 < this.length; _t2 += 1) u.indexOf(e) < 0 && (e in this[_t2] ? this[_t2][e]() : c(this[_t2]).trigger(e));
459
- return this;
460
- }
461
- return this.on.apply(this, [e].concat(t));
462
- };
463
- }
464
- A("click"), A("blur"), A("focus"), A("focusin"), A("focusout"), A("keyup"), A("keydown"), A("keypress"), A("submit"), A("change"), A("mousedown"), A("mousemove"), A("mouseup"), A("mouseenter"), A("mouseleave"), A("mouseout"), A("mouseover"), A("touchstart"), A("touchend"), A("touchmove"), A("resize"), A("scroll");
465
- var g = {
466
- addClass: function addClass() {
467
- for (var _len2 = arguments.length, e = new Array(_len2), _key2 = 0; _key2 < _len2; _key2++) {
468
- e[_key2] = arguments[_key2];
469
- }
470
- var t = p(e.map(function (e) {
471
- return e.split(" ");
472
- }));
473
- return this.forEach(function (e) {
474
- var _e$classList;
475
- (_e$classList = e.classList).add.apply(_e$classList, _toConsumableArray(t));
476
- }), this;
477
- },
478
- removeClass: function removeClass() {
479
- for (var _len3 = arguments.length, e = new Array(_len3), _key3 = 0; _key3 < _len3; _key3++) {
480
- e[_key3] = arguments[_key3];
481
- }
482
- var t = p(e.map(function (e) {
483
- return e.split(" ");
484
- }));
485
- return this.forEach(function (e) {
486
- var _e$classList2;
487
- (_e$classList2 = e.classList).remove.apply(_e$classList2, _toConsumableArray(t));
488
- }), this;
489
- },
490
- hasClass: function hasClass() {
491
- for (var _len4 = arguments.length, e = new Array(_len4), _key4 = 0; _key4 < _len4; _key4++) {
492
- e[_key4] = arguments[_key4];
493
- }
494
- var t = p(e.map(function (e) {
495
- return e.split(" ");
496
- }));
497
- return d(this, function (e) {
498
- return t.filter(function (t) {
499
- return e.classList.contains(t);
500
- }).length > 0;
501
- }).length > 0;
502
- },
503
- toggleClass: function toggleClass() {
504
- for (var _len5 = arguments.length, e = new Array(_len5), _key5 = 0; _key5 < _len5; _key5++) {
505
- e[_key5] = arguments[_key5];
506
- }
507
- var t = p(e.map(function (e) {
508
- return e.split(" ");
509
- }));
510
- this.forEach(function (e) {
511
- t.forEach(function (t) {
512
- e.classList.toggle(t);
513
- });
514
- });
515
- },
516
- attr: function attr(e, t) {
517
- if (1 === arguments.length && "string" == typeof e) return this[0] ? this[0].getAttribute(e) : void 0;
518
- for (var _s3 = 0; _s3 < this.length; _s3 += 1) if (2 === arguments.length) this[_s3].setAttribute(e, t);else for (var _t3 in e) this[_s3][_t3] = e[_t3], this[_s3].setAttribute(_t3, e[_t3]);
519
- return this;
520
- },
521
- removeAttr: function removeAttr(e) {
522
- for (var _t4 = 0; _t4 < this.length; _t4 += 1) this[_t4].removeAttribute(e);
523
- return this;
524
- },
525
- transform: function transform(e) {
526
- for (var _t5 = 0; _t5 < this.length; _t5 += 1) this[_t5].style.transform = e;
527
- return this;
528
- },
529
- transition: function transition(e) {
530
- for (var _t6 = 0; _t6 < this.length; _t6 += 1) this[_t6].style.transitionDuration = "string" != typeof e ? "".concat(e, "ms") : e;
531
- return this;
532
- },
533
- on: function on() {
534
- for (var _len6 = arguments.length, e = new Array(_len6), _key6 = 0; _key6 < _len6; _key6++) {
535
- e[_key6] = arguments[_key6];
536
- }
537
- var t = e[0],
538
- s = e[1],
539
- i = e[2],
540
- n = e[3];
541
- function a(e) {
542
- var t = e.target;
543
- if (!t) return;
544
- var n = e.target.dom7EventData || [];
545
- if (n.indexOf(e) < 0 && n.unshift(e), c(t).is(s)) i.apply(t, n);else {
546
- var _e4 = c(t).parents();
547
- for (var _t7 = 0; _t7 < _e4.length; _t7 += 1) c(_e4[_t7]).is(s) && i.apply(_e4[_t7], n);
548
- }
549
- }
550
- function r(e) {
551
- var t = e && e.target && e.target.dom7EventData || [];
552
- t.indexOf(e) < 0 && t.unshift(e), i.apply(this, t);
553
- }
554
- "function" == typeof e[1] && ((t = e[0], i = e[1], n = e[2]), s = void 0), n || (n = !1);
555
- var o = t.split(" ");
556
- var l;
557
- for (var _e5 = 0; _e5 < this.length; _e5 += 1) {
558
- var _t8 = this[_e5];
559
- if (s) for (l = 0; l < o.length; l += 1) {
560
- var _e6 = o[l];
561
- _t8.dom7LiveListeners || (_t8.dom7LiveListeners = {}), _t8.dom7LiveListeners[_e6] || (_t8.dom7LiveListeners[_e6] = []), _t8.dom7LiveListeners[_e6].push({
562
- listener: i,
563
- proxyListener: a
564
- }), _t8.addEventListener(_e6, a, n);
565
- } else for (l = 0; l < o.length; l += 1) {
566
- var _e7 = o[l];
567
- _t8.dom7Listeners || (_t8.dom7Listeners = {}), _t8.dom7Listeners[_e7] || (_t8.dom7Listeners[_e7] = []), _t8.dom7Listeners[_e7].push({
568
- listener: i,
569
- proxyListener: r
570
- }), _t8.addEventListener(_e7, r, n);
571
- }
572
- }
573
- return this;
574
- },
575
- off: function off() {
576
- for (var _len7 = arguments.length, e = new Array(_len7), _key7 = 0; _key7 < _len7; _key7++) {
577
- e[_key7] = arguments[_key7];
578
- }
579
- var t = e[0],
580
- s = e[1],
581
- i = e[2],
582
- n = e[3];
583
- "function" == typeof e[1] && ((t = e[0], i = e[1], n = e[2]), s = void 0), n || (n = !1);
584
- var a = t.split(" ");
585
- for (var _e8 = 0; _e8 < a.length; _e8 += 1) {
586
- var _t9 = a[_e8];
587
- for (var _e9 = 0; _e9 < this.length; _e9 += 1) {
588
- var _a = this[_e9];
589
- var _r = void 0;
590
- if (!s && _a.dom7Listeners ? _r = _a.dom7Listeners[_t9] : s && _a.dom7LiveListeners && (_r = _a.dom7LiveListeners[_t9]), _r && _r.length) for (var _e10 = _r.length - 1; _e10 >= 0; _e10 -= 1) {
591
- var _s4 = _r[_e10];
592
- i && _s4.listener === i || i && _s4.listener && _s4.listener.dom7proxy && _s4.listener.dom7proxy === i ? (_a.removeEventListener(_t9, _s4.proxyListener, n), _r.splice(_e10, 1)) : i || (_a.removeEventListener(_t9, _s4.proxyListener, n), _r.splice(_e10, 1));
593
- }
594
- }
595
- }
596
- return this;
597
- },
598
- trigger: function trigger() {
599
- for (var _len8 = arguments.length, e = new Array(_len8), _key8 = 0; _key8 < _len8; _key8++) {
600
- e[_key8] = arguments[_key8];
601
- }
602
- var t = o(),
603
- s = e[0].split(" "),
604
- i = e[1];
605
- for (var _n = 0; _n < s.length; _n += 1) {
606
- var _a2 = s[_n];
607
- for (var _s5 = 0; _s5 < this.length; _s5 += 1) {
608
- var _n2 = this[_s5];
609
- if (t.CustomEvent) {
610
- var _s6 = new t.CustomEvent(_a2, {
611
- detail: i,
612
- bubbles: !0,
613
- cancelable: !0
614
- });
615
- _n2.dom7EventData = e.filter(function (e, t) {
616
- return t > 0;
617
- }), _n2.dispatchEvent(_s6), _n2.dom7EventData = [], delete _n2.dom7EventData;
618
- }
619
- }
620
- }
621
- return this;
622
- },
623
- transitionEnd: function transitionEnd(e) {
624
- var t = this;
625
- return e && t.on("transitionend", function s(i) {
626
- i.target === this && (e.call(this, i), t.off("transitionend", s));
627
- }), this;
628
- },
629
- outerWidth: function outerWidth(e) {
630
- if (this.length > 0) {
631
- if (e) {
632
- var _e11 = this.styles();
633
- return this[0].offsetWidth + parseFloat(_e11.getPropertyValue("margin-right")) + parseFloat(_e11.getPropertyValue("margin-left"));
634
- }
635
- return this[0].offsetWidth;
636
- }
637
- return null;
638
- },
639
- outerHeight: function outerHeight(e) {
640
- if (this.length > 0) {
641
- if (e) {
642
- var _e12 = this.styles();
643
- return this[0].offsetHeight + parseFloat(_e12.getPropertyValue("margin-top")) + parseFloat(_e12.getPropertyValue("margin-bottom"));
644
- }
645
- return this[0].offsetHeight;
646
- }
647
- return null;
648
- },
649
- styles: function styles() {
650
- var e = o();
651
- return this[0] ? e.getComputedStyle(this[0], null) : {};
652
- },
653
- offset: function offset() {
654
- if (this.length > 0) {
655
- var _e13 = o(),
656
- _t10 = a(),
657
- _s7 = this[0],
658
- _i = _s7.getBoundingClientRect(),
659
- _n3 = _t10.body,
660
- _r2 = _s7.clientTop || _n3.clientTop || 0,
661
- _l = _s7.clientLeft || _n3.clientLeft || 0,
662
- _p = _s7 === _e13 ? _e13.scrollY : _s7.scrollTop,
663
- _d = _s7 === _e13 ? _e13.scrollX : _s7.scrollLeft;
664
- return {
665
- top: _i.top + _p - _r2,
666
- left: _i.left + _d - _l
667
- };
668
- }
669
- return null;
670
- },
671
- css: function css(e, t) {
672
- var s = o();
673
- var i;
674
- if (1 === arguments.length) {
675
- if ("string" != typeof e) {
676
- for (i = 0; i < this.length; i += 1) for (var _t11 in e) this[i].style[_t11] = e[_t11];
677
- return this;
678
- }
679
- if (this[0]) return s.getComputedStyle(this[0], null).getPropertyValue(e);
680
- }
681
- if (2 === arguments.length && "string" == typeof e) {
682
- for (i = 0; i < this.length; i += 1) this[i].style[e] = t;
683
- return this;
684
- }
685
- return this;
686
- },
687
- each: function each(e) {
688
- return e ? (this.forEach(function (t, s) {
689
- e.apply(t, [t, s]);
690
- }), this) : this;
691
- },
692
- html: function html(e) {
693
- if (void 0 === e) return this[0] ? this[0].innerHTML : null;
694
- for (var _t12 = 0; _t12 < this.length; _t12 += 1) this[_t12].innerHTML = e;
695
- return this;
696
- },
697
- text: function text(e) {
698
- if (void 0 === e) return this[0] ? this[0].textContent.trim() : null;
699
- for (var _t13 = 0; _t13 < this.length; _t13 += 1) this[_t13].textContent = e;
700
- return this;
701
- },
702
- is: function is(e) {
703
- var t = o(),
704
- s = a(),
705
- i = this[0];
706
- var n, r;
707
- if (!i || void 0 === e) return !1;
708
- if ("string" == typeof e) {
709
- if (i.matches) return i.matches(e);
710
- if (i.webkitMatchesSelector) return i.webkitMatchesSelector(e);
711
- if (i.msMatchesSelector) return i.msMatchesSelector(e);
712
- for (n = c(e), r = 0; r < n.length; r += 1) if (n[r] === i) return !0;
713
- return !1;
714
- }
715
- if (e === s) return i === s;
716
- if (e === t) return i === t;
717
- if (e.nodeType || e instanceof l) {
718
- for (n = e.nodeType ? [e] : e, r = 0; r < n.length; r += 1) if (n[r] === i) return !0;
719
- return !1;
720
- }
721
- return !1;
722
- },
723
- index: function index() {
724
- var e,
725
- t = this[0];
726
- if (t) {
727
- for (e = 0; null !== (t = t.previousSibling);) 1 === t.nodeType && (e += 1);
728
- return e;
729
- }
730
- },
731
- eq: function eq(e) {
732
- if (void 0 === e) return this;
733
- var t = this.length;
734
- if (e > t - 1) return c([]);
735
- if (e < 0) {
736
- var _s8 = t + e;
737
- return c(_s8 < 0 ? [] : [this[_s8]]);
738
- }
739
- return c([this[e]]);
740
- },
741
- append: function append() {
742
- var t;
743
- var s = a();
744
- for (var _i2 = 0; _i2 < arguments.length; _i2 += 1) {
745
- t = _i2 < 0 || arguments.length <= _i2 ? undefined : arguments[_i2];
746
- for (var _e14 = 0; _e14 < this.length; _e14 += 1) if ("string" == typeof t) {
747
- var _i3 = s.createElement("div");
748
- for (_i3.innerHTML = t; _i3.firstChild;) this[_e14].appendChild(_i3.firstChild);
749
- } else if (t instanceof l) for (var _s9 = 0; _s9 < t.length; _s9 += 1) this[_e14].appendChild(t[_s9]);else this[_e14].appendChild(t);
750
- }
751
- return this;
752
- },
753
- prepend: function prepend(e) {
754
- var t = a();
755
- var s, i;
756
- for (s = 0; s < this.length; s += 1) if ("string" == typeof e) {
757
- var _n4 = t.createElement("div");
758
- for (_n4.innerHTML = e, i = _n4.childNodes.length - 1; i >= 0; i -= 1) this[s].insertBefore(_n4.childNodes[i], this[s].childNodes[0]);
759
- } else if (e instanceof l) for (i = 0; i < e.length; i += 1) this[s].insertBefore(e[i], this[s].childNodes[0]);else this[s].insertBefore(e, this[s].childNodes[0]);
760
- return this;
761
- },
762
- next: function next(e) {
763
- return this.length > 0 ? e ? this[0].nextElementSibling && c(this[0].nextElementSibling).is(e) ? c([this[0].nextElementSibling]) : c([]) : this[0].nextElementSibling ? c([this[0].nextElementSibling]) : c([]) : c([]);
764
- },
765
- nextAll: function nextAll(e) {
766
- var t = [];
767
- var s = this[0];
768
- if (!s) return c([]);
769
- for (; s.nextElementSibling;) {
770
- var _i4 = s.nextElementSibling;
771
- e ? c(_i4).is(e) && t.push(_i4) : t.push(_i4), s = _i4;
772
- }
773
- return c(t);
774
- },
775
- prev: function prev(e) {
776
- if (this.length > 0) {
777
- var _t14 = this[0];
778
- return e ? _t14.previousElementSibling && c(_t14.previousElementSibling).is(e) ? c([_t14.previousElementSibling]) : c([]) : _t14.previousElementSibling ? c([_t14.previousElementSibling]) : c([]);
779
- }
780
- return c([]);
781
- },
782
- prevAll: function prevAll(e) {
783
- var t = [];
784
- var s = this[0];
785
- if (!s) return c([]);
786
- for (; s.previousElementSibling;) {
787
- var _i5 = s.previousElementSibling;
788
- e ? c(_i5).is(e) && t.push(_i5) : t.push(_i5), s = _i5;
789
- }
790
- return c(t);
791
- },
792
- parent: function parent(e) {
793
- var t = [];
794
- for (var _s10 = 0; _s10 < this.length; _s10 += 1) null !== this[_s10].parentNode && (e ? c(this[_s10].parentNode).is(e) && t.push(this[_s10].parentNode) : t.push(this[_s10].parentNode));
795
- return c(t);
796
- },
797
- parents: function parents(e) {
798
- var t = [];
799
- for (var _s11 = 0; _s11 < this.length; _s11 += 1) {
800
- var _i6 = this[_s11].parentNode;
801
- for (; _i6;) e ? c(_i6).is(e) && t.push(_i6) : t.push(_i6), _i6 = _i6.parentNode;
802
- }
803
- return c(t);
804
- },
805
- closest: function closest(e) {
806
- var t = this;
807
- return void 0 === e ? c([]) : (t.is(e) || (t = t.parents(e).eq(0)), t);
808
- },
809
- find: function find(e) {
810
- var t = [];
811
- for (var _s12 = 0; _s12 < this.length; _s12 += 1) {
812
- var _i7 = this[_s12].querySelectorAll(e);
813
- for (var _e15 = 0; _e15 < _i7.length; _e15 += 1) t.push(_i7[_e15]);
814
- }
815
- return c(t);
816
- },
817
- children: function children(e) {
818
- var t = [];
819
- for (var _s13 = 0; _s13 < this.length; _s13 += 1) {
820
- var _i8 = this[_s13].children;
821
- for (var _s14 = 0; _s14 < _i8.length; _s14 += 1) e && !c(_i8[_s14]).is(e) || t.push(_i8[_s14]);
822
- }
823
- return c(t);
824
- },
825
- filter: function filter(e) {
826
- return c(d(this, e));
827
- },
828
- remove: function remove() {
829
- for (var _e16 = 0; _e16 < this.length; _e16 += 1) this[_e16].parentNode && this[_e16].parentNode.removeChild(this[_e16]);
830
- return this;
831
- }
832
- };
833
- Object.keys(g).forEach(function (e) {
834
- Object.defineProperty(c.fn, e, {
835
- value: g[e],
836
- writable: !0
837
- });
838
- });
839
- var h = c;
840
- function f(e) {
841
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : 0;
842
- return setTimeout(e, t);
843
- }
844
- function m() {
845
- return Date.now();
846
- }
847
- function w(e) {
848
- return "object" == _typeof(e) && null !== e && e.constructor && "Object" === Object.prototype.toString.call(e).slice(8, -1);
849
- }
850
- function v() {
851
- var t = Object(arguments.length <= 0 ? undefined : arguments[0]),
852
- s = ["__proto__", "constructor", "prototype"];
853
- for (var _n5 = 1; _n5 < arguments.length; _n5 += 1) {
854
- var _a3 = _n5 < 0 || arguments.length <= _n5 ? undefined : arguments[_n5];
855
- if (null != _a3 && (i = _a3, !("undefined" != typeof window && void 0 !== window.HTMLElement ? i instanceof HTMLElement : i && (1 === i.nodeType || 11 === i.nodeType)))) {
856
- var _e17 = Object.keys(Object(_a3)).filter(function (e) {
857
- return s.indexOf(e) < 0;
858
- });
859
- for (var _s15 = 0, _i9 = _e17.length; _s15 < _i9; _s15 += 1) {
860
- var _i10 = _e17[_s15],
861
- _n6 = Object.getOwnPropertyDescriptor(_a3, _i10);
862
- void 0 !== _n6 && _n6.enumerable && (w(t[_i10]) && w(_a3[_i10]) ? _a3[_i10].__swiper__ ? t[_i10] = _a3[_i10] : v(t[_i10], _a3[_i10]) : !w(t[_i10]) && w(_a3[_i10]) ? (t[_i10] = {}, _a3[_i10].__swiper__ ? t[_i10] = _a3[_i10] : v(t[_i10], _a3[_i10])) : t[_i10] = _a3[_i10]);
863
- }
864
- }
865
- }
866
- var i;
867
- return t;
868
- }
869
- function C(e, t, s) {
870
- e.style.setProperty(t, s);
871
- }
872
- function b(_ref) {
873
- var e = _ref.swiper,
874
- t = _ref.targetPosition,
875
- s = _ref.side;
876
- var i = o(),
877
- n = -e.translate;
878
- var a,
879
- r = null;
880
- var l = e.params.speed;
881
- e.wrapperEl.style.scrollSnapType = "none", i.cancelAnimationFrame(e.cssModeFrameID);
882
- var p = t > n ? "next" : "prev",
883
- d = function d(e, t) {
884
- return "next" === p && e >= t || "prev" === p && e <= t;
885
- },
886
- c = function c() {
887
- a = new Date().getTime(), null === r && (r = a);
888
- var o = Math.max(Math.min((a - r) / l, 1), 0),
889
- p = .5 - Math.cos(o * Math.PI) / 2;
890
- var u = n + p * (t - n);
891
- if (d(u, t) && (u = t), e.wrapperEl.scrollTo(_defineProperty({}, s, u)), d(u, t)) return e.wrapperEl.style.overflow = "hidden", e.wrapperEl.style.scrollSnapType = "", setTimeout(function () {
892
- e.wrapperEl.style.overflow = "", e.wrapperEl.scrollTo(_defineProperty({}, s, u));
893
- }), void i.cancelAnimationFrame(e.cssModeFrameID);
894
- e.cssModeFrameID = i.requestAnimationFrame(c);
895
- };
896
- c();
897
- }
898
- var y, E, x;
899
- function S() {
900
- return y || (y = function () {
901
- var e = o(),
902
- t = a();
903
- return {
904
- smoothScroll: t.documentElement && "scrollBehavior" in t.documentElement.style,
905
- touch: !!("ontouchstart" in e || e.DocumentTouch && t instanceof e.DocumentTouch),
906
- passiveListener: function () {
907
- var t = !1;
908
- try {
909
- var _s16 = Object.defineProperty({}, "passive", {
910
- get: function get() {
911
- t = !0;
912
- }
913
- });
914
- e.addEventListener("testPassiveListener", null, _s16);
915
- } catch (e) {}
916
- return t;
917
- }(),
918
- gestures: "ongesturestart" in e
919
- };
920
- }()), y;
921
- }
922
- var T = {
923
- on: function on(e, t, s) {
924
- var i = this;
925
- if (!i.eventsListeners || i.destroyed) return i;
926
- if ("function" != typeof t) return i;
927
- var n = s ? "unshift" : "push";
928
- return e.split(" ").forEach(function (e) {
929
- i.eventsListeners[e] || (i.eventsListeners[e] = []), i.eventsListeners[e][n](t);
930
- }), i;
931
- },
932
- once: function once(e, t, s) {
933
- var i = this;
934
- if (!i.eventsListeners || i.destroyed) return i;
935
- if ("function" != typeof t) return i;
936
- function n() {
937
- for (var _len9 = arguments.length, s = new Array(_len9), _key9 = 0; _key9 < _len9; _key9++) {
938
- s[_key9] = arguments[_key9];
939
- }
940
- i.off(e, n), n.__emitterProxy && delete n.__emitterProxy, t.apply(i, s);
941
- }
942
- return n.__emitterProxy = t, i.on(e, n, s);
943
- },
944
- onAny: function onAny(e, t) {
945
- var s = this;
946
- if (!s.eventsListeners || s.destroyed) return s;
947
- if ("function" != typeof e) return s;
948
- var i = t ? "unshift" : "push";
949
- return s.eventsAnyListeners.indexOf(e) < 0 && s.eventsAnyListeners[i](e), s;
950
- },
951
- offAny: function offAny(e) {
952
- var t = this;
953
- if (!t.eventsListeners || t.destroyed) return t;
954
- if (!t.eventsAnyListeners) return t;
955
- var s = t.eventsAnyListeners.indexOf(e);
956
- return s >= 0 && t.eventsAnyListeners.splice(s, 1), t;
957
- },
958
- off: function off(e, t) {
959
- var s = this;
960
- return !s.eventsListeners || s.destroyed ? s : s.eventsListeners ? (e.split(" ").forEach(function (e) {
961
- void 0 === t ? s.eventsListeners[e] = [] : s.eventsListeners[e] && s.eventsListeners[e].forEach(function (i, n) {
962
- (i === t || i.__emitterProxy && i.__emitterProxy === t) && s.eventsListeners[e].splice(n, 1);
963
- });
964
- }), s) : s;
965
- },
966
- emit: function emit() {
967
- var t = this;
968
- if (!t.eventsListeners || t.destroyed) return t;
969
- if (!t.eventsListeners) return t;
970
- var s, i, n;
971
- for (var _len10 = arguments.length, e = new Array(_len10), _key10 = 0; _key10 < _len10; _key10++) {
972
- e[_key10] = arguments[_key10];
973
- }
974
- return "string" == typeof e[0] || Array.isArray(e[0]) ? (s = e[0], i = e.slice(1, e.length), n = t) : (s = e[0].events, i = e[0].data, n = e[0].context || t), i.unshift(n), (Array.isArray(s) ? s : s.split(" ")).forEach(function (e) {
975
- t.eventsAnyListeners && t.eventsAnyListeners.length && t.eventsAnyListeners.forEach(function (t) {
976
- t.apply(n, [e].concat(_toConsumableArray(i)));
977
- }), t.eventsListeners && t.eventsListeners[e] && t.eventsListeners[e].forEach(function (e) {
978
- e.apply(n, i);
979
- });
980
- }), t;
981
- }
982
- },
983
- M = {
984
- updateSize: function updateSize() {
985
- var e = this;
986
- var t, s;
987
- var i = e.$el;
988
- t = void 0 !== e.params.width && null !== e.params.width ? e.params.width : i[0].clientWidth, s = void 0 !== e.params.height && null !== e.params.height ? e.params.height : i[0].clientHeight, 0 === t && e.isHorizontal() || 0 === s && e.isVertical() || (t = t - parseInt(i.css("padding-left") || 0, 10) - parseInt(i.css("padding-right") || 0, 10), s = s - parseInt(i.css("padding-top") || 0, 10) - parseInt(i.css("padding-bottom") || 0, 10), Number.isNaN(t) && (t = 0), Number.isNaN(s) && (s = 0), Object.assign(e, {
989
- width: t,
990
- height: s,
991
- size: e.isHorizontal() ? t : s
992
- }));
993
- },
994
- updateSlides: function updateSlides() {
995
- var e = this;
996
- function t(t) {
997
- return e.isHorizontal() ? t : {
998
- width: "height",
999
- "margin-top": "margin-left",
1000
- "margin-bottom ": "margin-right",
1001
- "margin-left": "margin-top",
1002
- "margin-right": "margin-bottom",
1003
- "padding-left": "padding-top",
1004
- "padding-right": "padding-bottom",
1005
- marginRight: "marginBottom"
1006
- }[t];
1007
- }
1008
- function s(e, s) {
1009
- return parseFloat(e.getPropertyValue(t(s)) || 0);
1010
- }
1011
- var i = e.params,
1012
- n = e.$wrapperEl,
1013
- a = e.size,
1014
- r = e.rtlTranslate,
1015
- o = e.wrongRTL,
1016
- l = e.virtual && i.virtual.enabled,
1017
- p = l ? e.virtual.slides.length : e.slides.length,
1018
- d = n.children(".".concat(e.params.slideClass)),
1019
- c = l ? e.virtual.slides.length : d.length;
1020
- var u = [];
1021
- var A = [],
1022
- g = [];
1023
- var h = i.slidesOffsetBefore;
1024
- "function" == typeof h && (h = i.slidesOffsetBefore.call(e));
1025
- var f = i.slidesOffsetAfter;
1026
- "function" == typeof f && (f = i.slidesOffsetAfter.call(e));
1027
- var m = e.snapGrid.length,
1028
- w = e.slidesGrid.length;
1029
- var v = i.spaceBetween,
1030
- b = -h,
1031
- y = 0,
1032
- E = 0;
1033
- if (void 0 === a) return;
1034
- "string" == typeof v && v.indexOf("%") >= 0 && (v = parseFloat(v.replace("%", "")) / 100 * a), e.virtualSize = -v, r ? d.css({
1035
- marginLeft: "",
1036
- marginBottom: "",
1037
- marginTop: ""
1038
- }) : d.css({
1039
- marginRight: "",
1040
- marginBottom: "",
1041
- marginTop: ""
1042
- }), i.centeredSlides && i.cssMode && (C(e.wrapperEl, "--swiper-centered-offset-before", ""), C(e.wrapperEl, "--swiper-centered-offset-after", ""));
1043
- var x = i.grid && i.grid.rows > 1 && e.grid;
1044
- var S;
1045
- x && e.grid.initSlides(c);
1046
- var T = "auto" === i.slidesPerView && i.breakpoints && Object.keys(i.breakpoints).filter(function (e) {
1047
- return void 0 !== i.breakpoints[e].slidesPerView;
1048
- }).length > 0;
1049
- for (var _n7 = 0; _n7 < c; _n7 += 1) {
1050
- S = 0;
1051
- var _r3 = d.eq(_n7);
1052
- if (x && e.grid.updateSlide(_n7, _r3, c, t), "none" !== _r3.css("display")) {
1053
- if ("auto" === i.slidesPerView) {
1054
- T && (d[_n7].style[t("width")] = "");
1055
- var _a4 = getComputedStyle(_r3[0]),
1056
- _o = _r3[0].style.transform,
1057
- _l2 = _r3[0].style.webkitTransform;
1058
- if (_o && (_r3[0].style.transform = "none"), _l2 && (_r3[0].style.webkitTransform = "none"), i.roundLengths) S = e.isHorizontal() ? _r3.outerWidth(!0) : _r3.outerHeight(!0);else {
1059
- var _e18 = s(_a4, "width"),
1060
- _t15 = s(_a4, "padding-left"),
1061
- _i11 = s(_a4, "padding-right"),
1062
- _n8 = s(_a4, "margin-left"),
1063
- _o2 = s(_a4, "margin-right"),
1064
- _l3 = _a4.getPropertyValue("box-sizing");
1065
- if (_l3 && "border-box" === _l3) S = _e18 + _n8 + _o2;else {
1066
- var _r3$ = _r3[0],
1067
- _s17 = _r3$.clientWidth,
1068
- _a5 = _r3$.offsetWidth;
1069
- S = _e18 + _t15 + _i11 + _n8 + _o2 + (_a5 - _s17);
1070
- }
1071
- }
1072
- _o && (_r3[0].style.transform = _o), _l2 && (_r3[0].style.webkitTransform = _l2), i.roundLengths && (S = Math.floor(S));
1073
- } else S = (a - (i.slidesPerView - 1) * v) / i.slidesPerView, i.roundLengths && (S = Math.floor(S)), d[_n7] && (d[_n7].style[t("width")] = "".concat(S, "px"));
1074
- d[_n7] && (d[_n7].swiperSlideSize = S), g.push(S), i.centeredSlides ? (b = b + S / 2 + y / 2 + v, 0 === y && 0 !== _n7 && (b = b - a / 2 - v), 0 === _n7 && (b = b - a / 2 - v), Math.abs(b) < .001 && (b = 0), i.roundLengths && (b = Math.floor(b)), E % i.slidesPerGroup == 0 && u.push(b), A.push(b)) : (i.roundLengths && (b = Math.floor(b)), (E - Math.min(e.params.slidesPerGroupSkip, E)) % e.params.slidesPerGroup == 0 && u.push(b), A.push(b), b = b + S + v), e.virtualSize += S + v, y = S, E += 1;
1075
- }
1076
- }
1077
- if (e.virtualSize = Math.max(e.virtualSize, a) + f, r && o && ("slide" === i.effect || "coverflow" === i.effect) && n.css({
1078
- width: "".concat(e.virtualSize + i.spaceBetween, "px")
1079
- }), i.setWrapperSize && n.css(_defineProperty({}, t("width"), "".concat(e.virtualSize + i.spaceBetween, "px"))), x && e.grid.updateWrapperSize(S, u, t), !i.centeredSlides) {
1080
- var _t16 = [];
1081
- for (var _s18 = 0; _s18 < u.length; _s18 += 1) {
1082
- var _n9 = u[_s18];
1083
- i.roundLengths && (_n9 = Math.floor(_n9)), u[_s18] <= e.virtualSize - a && _t16.push(_n9);
1084
- }
1085
- u = _t16, Math.floor(e.virtualSize - a) - Math.floor(u[u.length - 1]) > 1 && u.push(e.virtualSize - a);
1086
- }
1087
- if (0 === u.length && (u = [0]), 0 !== i.spaceBetween) {
1088
- var _s19 = e.isHorizontal() && r ? "marginLeft" : t("marginRight");
1089
- d.filter(function (e, t) {
1090
- return !i.cssMode || t !== d.length - 1;
1091
- }).css(_defineProperty({}, _s19, "".concat(v, "px")));
1092
- }
1093
- if (i.centeredSlides && i.centeredSlidesBounds) {
1094
- var _e19 = 0;
1095
- g.forEach(function (t) {
1096
- _e19 += t + (i.spaceBetween ? i.spaceBetween : 0);
1097
- }), _e19 -= i.spaceBetween;
1098
- var _t17 = _e19 - a;
1099
- u = u.map(function (e) {
1100
- return e < 0 ? -h : e > _t17 ? _t17 + f : e;
1101
- });
1102
- }
1103
- if (i.centerInsufficientSlides) {
1104
- var _e20 = 0;
1105
- if (g.forEach(function (t) {
1106
- _e20 += t + (i.spaceBetween ? i.spaceBetween : 0);
1107
- }), _e20 -= i.spaceBetween, _e20 < a) {
1108
- var _t18 = (a - _e20) / 2;
1109
- u.forEach(function (e, s) {
1110
- u[s] = e - _t18;
1111
- }), A.forEach(function (e, s) {
1112
- A[s] = e + _t18;
1113
- });
1114
- }
1115
- }
1116
- if (Object.assign(e, {
1117
- slides: d,
1118
- snapGrid: u,
1119
- slidesGrid: A,
1120
- slidesSizesGrid: g
1121
- }), i.centeredSlides && i.cssMode && !i.centeredSlidesBounds) {
1122
- C(e.wrapperEl, "--swiper-centered-offset-before", -u[0] + "px"), C(e.wrapperEl, "--swiper-centered-offset-after", e.size / 2 - g[g.length - 1] / 2 + "px");
1123
- var _t19 = -e.snapGrid[0],
1124
- _s20 = -e.slidesGrid[0];
1125
- e.snapGrid = e.snapGrid.map(function (e) {
1126
- return e + _t19;
1127
- }), e.slidesGrid = e.slidesGrid.map(function (e) {
1128
- return e + _s20;
1129
- });
1130
- }
1131
- if (c !== p && e.emit("slidesLengthChange"), u.length !== m && (e.params.watchOverflow && e.checkOverflow(), e.emit("snapGridLengthChange")), A.length !== w && e.emit("slidesGridLengthChange"), i.watchSlidesProgress && e.updateSlidesOffset(), !(l || i.cssMode || "slide" !== i.effect && "fade" !== i.effect)) {
1132
- var _t20 = "".concat(i.containerModifierClass, "backface-hidden"),
1133
- _s21 = e.$el.hasClass(_t20);
1134
- c <= i.maxBackfaceHiddenSlides ? _s21 || e.$el.addClass(_t20) : _s21 && e.$el.removeClass(_t20);
1135
- }
1136
- },
1137
- updateAutoHeight: function updateAutoHeight(e) {
1138
- var t = this,
1139
- s = [],
1140
- i = t.virtual && t.params.virtual.enabled;
1141
- var n,
1142
- a = 0;
1143
- "number" == typeof e ? t.setTransition(e) : !0 === e && t.setTransition(t.params.speed);
1144
- var r = function r(e) {
1145
- return i ? t.slides.filter(function (t) {
1146
- return parseInt(t.getAttribute("data-swiper-slide-index"), 10) === e;
1147
- })[0] : t.slides.eq(e)[0];
1148
- };
1149
- if ("auto" !== t.params.slidesPerView && t.params.slidesPerView > 1) {
1150
- if (t.params.centeredSlides) (t.visibleSlides || h([])).each(function (e) {
1151
- s.push(e);
1152
- });else for (n = 0; n < Math.ceil(t.params.slidesPerView); n += 1) {
1153
- var _e21 = t.activeIndex + n;
1154
- if (_e21 > t.slides.length && !i) break;
1155
- s.push(r(_e21));
1156
- }
1157
- } else s.push(r(t.activeIndex));
1158
- for (n = 0; n < s.length; n += 1) if (void 0 !== s[n]) {
1159
- var _e22 = s[n].offsetHeight;
1160
- a = _e22 > a ? _e22 : a;
1161
- }
1162
- (a || 0 === a) && t.$wrapperEl.css("height", "".concat(a, "px"));
1163
- },
1164
- updateSlidesOffset: function updateSlidesOffset() {
1165
- var e = this,
1166
- t = e.slides;
1167
- for (var _s22 = 0; _s22 < t.length; _s22 += 1) t[_s22].swiperSlideOffset = e.isHorizontal() ? t[_s22].offsetLeft : t[_s22].offsetTop;
1168
- },
1169
- updateSlidesProgress: function updateSlidesProgress() {
1170
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this && this.translate || 0;
1171
- var t = this,
1172
- s = t.params,
1173
- i = t.slides,
1174
- n = t.rtlTranslate,
1175
- a = t.snapGrid;
1176
- if (0 === i.length) return;
1177
- void 0 === i[0].swiperSlideOffset && t.updateSlidesOffset();
1178
- var r = -e;
1179
- n && (r = e), i.removeClass(s.slideVisibleClass), t.visibleSlidesIndexes = [], t.visibleSlides = [];
1180
- for (var _e23 = 0; _e23 < i.length; _e23 += 1) {
1181
- var _o3 = i[_e23];
1182
- var _l4 = _o3.swiperSlideOffset;
1183
- s.cssMode && s.centeredSlides && (_l4 -= i[0].swiperSlideOffset);
1184
- var _p2 = (r + (s.centeredSlides ? t.minTranslate() : 0) - _l4) / (_o3.swiperSlideSize + s.spaceBetween),
1185
- _d2 = (r - a[0] + (s.centeredSlides ? t.minTranslate() : 0) - _l4) / (_o3.swiperSlideSize + s.spaceBetween),
1186
- _c = -(r - _l4),
1187
- _u = _c + t.slidesSizesGrid[_e23];
1188
- (_c >= 0 && _c < t.size - 1 || _u > 1 && _u <= t.size || _c <= 0 && _u >= t.size) && (t.visibleSlides.push(_o3), t.visibleSlidesIndexes.push(_e23), i.eq(_e23).addClass(s.slideVisibleClass)), _o3.progress = n ? -_p2 : _p2, _o3.originalProgress = n ? -_d2 : _d2;
1189
- }
1190
- t.visibleSlides = h(t.visibleSlides);
1191
- },
1192
- updateProgress: function updateProgress(e) {
1193
- var t = this;
1194
- if (void 0 === e) {
1195
- var _s23 = t.rtlTranslate ? -1 : 1;
1196
- e = t && t.translate && t.translate * _s23 || 0;
1197
- }
1198
- var s = t.params,
1199
- i = t.maxTranslate() - t.minTranslate();
1200
- var n = t.progress,
1201
- a = t.isBeginning,
1202
- r = t.isEnd;
1203
- var o = a,
1204
- l = r;
1205
- 0 === i ? (n = 0, a = !0, r = !0) : (n = (e - t.minTranslate()) / i, a = n <= 0, r = n >= 1), Object.assign(t, {
1206
- progress: n,
1207
- isBeginning: a,
1208
- isEnd: r
1209
- }), (s.watchSlidesProgress || s.centeredSlides && s.autoHeight) && t.updateSlidesProgress(e), a && !o && t.emit("reachBeginning toEdge"), r && !l && t.emit("reachEnd toEdge"), (o && !a || l && !r) && t.emit("fromEdge"), t.emit("progress", n);
1210
- },
1211
- updateSlidesClasses: function updateSlidesClasses() {
1212
- var e = this,
1213
- t = e.slides,
1214
- s = e.params,
1215
- i = e.$wrapperEl,
1216
- n = e.activeIndex,
1217
- a = e.realIndex,
1218
- r = e.virtual && s.virtual.enabled;
1219
- var o;
1220
- t.removeClass("".concat(s.slideActiveClass, " ").concat(s.slideNextClass, " ").concat(s.slidePrevClass, " ").concat(s.slideDuplicateActiveClass, " ").concat(s.slideDuplicateNextClass, " ").concat(s.slideDuplicatePrevClass)), o = r ? e.$wrapperEl.find(".".concat(s.slideClass, "[data-swiper-slide-index=\"").concat(n, "\"]")) : t.eq(n), o.addClass(s.slideActiveClass), s.loop && (o.hasClass(s.slideDuplicateClass) ? i.children(".".concat(s.slideClass, ":not(.").concat(s.slideDuplicateClass, ")[data-swiper-slide-index=\"").concat(a, "\"]")).addClass(s.slideDuplicateActiveClass) : i.children(".".concat(s.slideClass, ".").concat(s.slideDuplicateClass, "[data-swiper-slide-index=\"").concat(a, "\"]")).addClass(s.slideDuplicateActiveClass));
1221
- var l = o.nextAll(".".concat(s.slideClass)).eq(0).addClass(s.slideNextClass);
1222
- s.loop && 0 === l.length && (l = t.eq(0), l.addClass(s.slideNextClass));
1223
- var p = o.prevAll(".".concat(s.slideClass)).eq(0).addClass(s.slidePrevClass);
1224
- s.loop && 0 === p.length && (p = t.eq(-1), p.addClass(s.slidePrevClass)), s.loop && (l.hasClass(s.slideDuplicateClass) ? i.children(".".concat(s.slideClass, ":not(.").concat(s.slideDuplicateClass, ")[data-swiper-slide-index=\"").concat(l.attr("data-swiper-slide-index"), "\"]")).addClass(s.slideDuplicateNextClass) : i.children(".".concat(s.slideClass, ".").concat(s.slideDuplicateClass, "[data-swiper-slide-index=\"").concat(l.attr("data-swiper-slide-index"), "\"]")).addClass(s.slideDuplicateNextClass), p.hasClass(s.slideDuplicateClass) ? i.children(".".concat(s.slideClass, ":not(.").concat(s.slideDuplicateClass, ")[data-swiper-slide-index=\"").concat(p.attr("data-swiper-slide-index"), "\"]")).addClass(s.slideDuplicatePrevClass) : i.children(".".concat(s.slideClass, ".").concat(s.slideDuplicateClass, "[data-swiper-slide-index=\"").concat(p.attr("data-swiper-slide-index"), "\"]")).addClass(s.slideDuplicatePrevClass)), e.emitSlidesClasses();
1225
- },
1226
- updateActiveIndex: function updateActiveIndex(e) {
1227
- var t = this,
1228
- s = t.rtlTranslate ? t.translate : -t.translate,
1229
- i = t.slidesGrid,
1230
- n = t.snapGrid,
1231
- a = t.params,
1232
- r = t.activeIndex,
1233
- o = t.realIndex,
1234
- l = t.snapIndex;
1235
- var p,
1236
- d = e;
1237
- if (void 0 === d) {
1238
- for (var _e24 = 0; _e24 < i.length; _e24 += 1) void 0 !== i[_e24 + 1] ? s >= i[_e24] && s < i[_e24 + 1] - (i[_e24 + 1] - i[_e24]) / 2 ? d = _e24 : s >= i[_e24] && s < i[_e24 + 1] && (d = _e24 + 1) : s >= i[_e24] && (d = _e24);
1239
- a.normalizeSlideIndex && (d < 0 || void 0 === d) && (d = 0);
1240
- }
1241
- if (n.indexOf(s) >= 0) p = n.indexOf(s);else {
1242
- var _e25 = Math.min(a.slidesPerGroupSkip, d);
1243
- p = _e25 + Math.floor((d - _e25) / a.slidesPerGroup);
1244
- }
1245
- if (p >= n.length && (p = n.length - 1), d === r) return void (p !== l && (t.snapIndex = p, t.emit("snapIndexChange")));
1246
- var c = parseInt(t.slides.eq(d).attr("data-swiper-slide-index") || d, 10);
1247
- Object.assign(t, {
1248
- snapIndex: p,
1249
- realIndex: c,
1250
- previousIndex: r,
1251
- activeIndex: d
1252
- }), t.emit("activeIndexChange"), t.emit("snapIndexChange"), o !== c && t.emit("realIndexChange"), (t.initialized || t.params.runCallbacksOnInit) && t.emit("slideChange");
1253
- },
1254
- updateClickedSlide: function updateClickedSlide(e) {
1255
- var t = this,
1256
- s = t.params,
1257
- i = h(e).closest(".".concat(s.slideClass))[0];
1258
- var n,
1259
- a = !1;
1260
- if (i) for (var _e26 = 0; _e26 < t.slides.length; _e26 += 1) if (t.slides[_e26] === i) {
1261
- a = !0, n = _e26;
1262
- break;
1263
- }
1264
- if (!i || !a) return t.clickedSlide = void 0, void (t.clickedIndex = void 0);
1265
- t.clickedSlide = i, t.virtual && t.params.virtual.enabled ? t.clickedIndex = parseInt(h(i).attr("data-swiper-slide-index"), 10) : t.clickedIndex = n, s.slideToClickedSlide && void 0 !== t.clickedIndex && t.clickedIndex !== t.activeIndex && t.slideToClickedSlide();
1266
- }
1267
- };
1268
- function k(_ref2) {
1269
- var e = _ref2.swiper,
1270
- t = _ref2.runCallbacks,
1271
- s = _ref2.direction,
1272
- i = _ref2.step;
1273
- var n = e.activeIndex,
1274
- a = e.previousIndex;
1275
- var r = s;
1276
- if (r || (r = n > a ? "next" : n < a ? "prev" : "reset"), e.emit("transition".concat(i)), t && n !== a) {
1277
- if ("reset" === r) return void e.emit("slideResetTransition".concat(i));
1278
- e.emit("slideChangeTransition".concat(i)), "next" === r ? e.emit("slideNextTransition".concat(i)) : e.emit("slidePrevTransition".concat(i));
1279
- }
1280
- }
1281
- var B = {
1282
- slideTo: function slideTo() {
1283
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
1284
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.params.speed;
1285
- var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !0;
1286
- var i = arguments.length > 3 ? arguments[3] : undefined;
1287
- var n = arguments.length > 4 ? arguments[4] : undefined;
1288
- if ("number" != typeof e && "string" != typeof e) throw new Error("The 'index' argument cannot have type other than 'number' or 'string'. [".concat(_typeof(e), "] given."));
1289
- if ("string" == typeof e) {
1290
- var _t21 = parseInt(e, 10);
1291
- if (!isFinite(_t21)) throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(e, "] given."));
1292
- e = _t21;
1293
- }
1294
- var a = this;
1295
- var r = e;
1296
- r < 0 && (r = 0);
1297
- var o = a.params,
1298
- l = a.snapGrid,
1299
- p = a.slidesGrid,
1300
- d = a.previousIndex,
1301
- c = a.activeIndex,
1302
- u = a.rtlTranslate,
1303
- A = a.wrapperEl,
1304
- g = a.enabled;
1305
- if (a.animating && o.preventInteractionOnTransition || !g && !i && !n) return !1;
1306
- var h = Math.min(a.params.slidesPerGroupSkip, r);
1307
- var f = h + Math.floor((r - h) / a.params.slidesPerGroup);
1308
- f >= l.length && (f = l.length - 1);
1309
- var m = -l[f];
1310
- if (o.normalizeSlideIndex) for (var _e27 = 0; _e27 < p.length; _e27 += 1) {
1311
- var _t22 = -Math.floor(100 * m),
1312
- _s24 = Math.floor(100 * p[_e27]),
1313
- _i12 = Math.floor(100 * p[_e27 + 1]);
1314
- void 0 !== p[_e27 + 1] ? _t22 >= _s24 && _t22 < _i12 - (_i12 - _s24) / 2 ? r = _e27 : _t22 >= _s24 && _t22 < _i12 && (r = _e27 + 1) : _t22 >= _s24 && (r = _e27);
1315
- }
1316
- if (a.initialized && r !== c) {
1317
- if (!a.allowSlideNext && m < a.translate && m < a.minTranslate()) return !1;
1318
- if (!a.allowSlidePrev && m > a.translate && m > a.maxTranslate() && (c || 0) !== r) return !1;
1319
- }
1320
- var w;
1321
- if (r !== (d || 0) && s && a.emit("beforeSlideChangeStart"), a.updateProgress(m), w = r > c ? "next" : r < c ? "prev" : "reset", u && -m === a.translate || !u && m === a.translate) return a.updateActiveIndex(r), o.autoHeight && a.updateAutoHeight(), a.updateSlidesClasses(), "slide" !== o.effect && a.setTranslate(m), "reset" !== w && (a.transitionStart(s, w), a.transitionEnd(s, w)), !1;
1322
- if (o.cssMode) {
1323
- var _e28 = a.isHorizontal(),
1324
- _s25 = u ? m : -m;
1325
- if (0 === t) {
1326
- var _t23 = a.virtual && a.params.virtual.enabled;
1327
- _t23 && (a.wrapperEl.style.scrollSnapType = "none", a._immediateVirtual = !0), A[_e28 ? "scrollLeft" : "scrollTop"] = _s25, _t23 && requestAnimationFrame(function () {
1328
- a.wrapperEl.style.scrollSnapType = "", a._swiperImmediateVirtual = !1;
1329
- });
1330
- } else {
1331
- if (!a.support.smoothScroll) return b({
1332
- swiper: a,
1333
- targetPosition: _s25,
1334
- side: _e28 ? "left" : "top"
1335
- }), !0;
1336
- A.scrollTo(_defineProperty(_defineProperty({}, _e28 ? "left" : "top", _s25), "behavior", "smooth"));
1337
- }
1338
- return !0;
1339
- }
1340
- return a.setTransition(t), a.setTranslate(m), a.updateActiveIndex(r), a.updateSlidesClasses(), a.emit("beforeTransitionStart", t, i), a.transitionStart(s, w), 0 === t ? a.transitionEnd(s, w) : a.animating || (a.animating = !0, a.onSlideToWrapperTransitionEnd || (a.onSlideToWrapperTransitionEnd = function (e) {
1341
- a && !a.destroyed && e.target === this && (a.$wrapperEl[0].removeEventListener("transitionend", a.onSlideToWrapperTransitionEnd), a.$wrapperEl[0].removeEventListener("webkitTransitionEnd", a.onSlideToWrapperTransitionEnd), a.onSlideToWrapperTransitionEnd = null, delete a.onSlideToWrapperTransitionEnd, a.transitionEnd(s, w));
1342
- }), a.$wrapperEl[0].addEventListener("transitionend", a.onSlideToWrapperTransitionEnd), a.$wrapperEl[0].addEventListener("webkitTransitionEnd", a.onSlideToWrapperTransitionEnd)), !0;
1343
- },
1344
- slideToLoop: function slideToLoop() {
1345
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
1346
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.params.speed;
1347
- var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !0;
1348
- var i = arguments.length > 3 ? arguments[3] : undefined;
1349
- if ("string" == typeof e) {
1350
- var _t24 = parseInt(e, 10);
1351
- if (!isFinite(_t24)) throw new Error("The passed-in 'index' (string) couldn't be converted to 'number'. [".concat(e, "] given."));
1352
- e = _t24;
1353
- }
1354
- var n = this;
1355
- var a = e;
1356
- return n.params.loop && (a += n.loopedSlides), n.slideTo(a, t, s, i);
1357
- },
1358
- slideNext: function slideNext() {
1359
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.params.speed;
1360
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
1361
- var s = arguments.length > 2 ? arguments[2] : undefined;
1362
- var i = this,
1363
- n = i.animating,
1364
- a = i.enabled,
1365
- r = i.params;
1366
- if (!a) return i;
1367
- var o = r.slidesPerGroup;
1368
- "auto" === r.slidesPerView && 1 === r.slidesPerGroup && r.slidesPerGroupAuto && (o = Math.max(i.slidesPerViewDynamic("current", !0), 1));
1369
- var l = i.activeIndex < r.slidesPerGroupSkip ? 1 : o;
1370
- if (r.loop) {
1371
- if (n && r.loopPreventsSlide) return !1;
1372
- i.loopFix(), i._clientLeft = i.$wrapperEl[0].clientLeft;
1373
- }
1374
- return r.rewind && i.isEnd ? i.slideTo(0, e, t, s) : i.slideTo(i.activeIndex + l, e, t, s);
1375
- },
1376
- slidePrev: function slidePrev() {
1377
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.params.speed;
1378
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
1379
- var s = arguments.length > 2 ? arguments[2] : undefined;
1380
- var i = this,
1381
- n = i.params,
1382
- a = i.animating,
1383
- r = i.snapGrid,
1384
- o = i.slidesGrid,
1385
- l = i.rtlTranslate,
1386
- p = i.enabled;
1387
- if (!p) return i;
1388
- if (n.loop) {
1389
- if (a && n.loopPreventsSlide) return !1;
1390
- i.loopFix(), i._clientLeft = i.$wrapperEl[0].clientLeft;
1391
- }
1392
- function d(e) {
1393
- return e < 0 ? -Math.floor(Math.abs(e)) : Math.floor(e);
1394
- }
1395
- var c = d(l ? i.translate : -i.translate),
1396
- u = r.map(function (e) {
1397
- return d(e);
1398
- });
1399
- var A = r[u.indexOf(c) - 1];
1400
- if (void 0 === A && n.cssMode) {
1401
- var _e29;
1402
- r.forEach(function (t, s) {
1403
- c >= t && (_e29 = s);
1404
- }), void 0 !== _e29 && (A = r[_e29 > 0 ? _e29 - 1 : _e29]);
1405
- }
1406
- var g = 0;
1407
- if (void 0 !== A && (g = o.indexOf(A), g < 0 && (g = i.activeIndex - 1), "auto" === n.slidesPerView && 1 === n.slidesPerGroup && n.slidesPerGroupAuto && (g = g - i.slidesPerViewDynamic("previous", !0) + 1, g = Math.max(g, 0))), n.rewind && i.isBeginning) {
1408
- var _n10 = i.params.virtual && i.params.virtual.enabled && i.virtual ? i.virtual.slides.length - 1 : i.slides.length - 1;
1409
- return i.slideTo(_n10, e, t, s);
1410
- }
1411
- return i.slideTo(g, e, t, s);
1412
- },
1413
- slideReset: function slideReset() {
1414
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.params.speed;
1415
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
1416
- var s = arguments.length > 2 ? arguments[2] : undefined;
1417
- return this.slideTo(this.activeIndex, e, t, s);
1418
- },
1419
- slideToClosest: function slideToClosest() {
1420
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.params.speed;
1421
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
1422
- var s = arguments.length > 2 ? arguments[2] : undefined;
1423
- var i = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : .5;
1424
- var n = this;
1425
- var a = n.activeIndex;
1426
- var r = Math.min(n.params.slidesPerGroupSkip, a),
1427
- o = r + Math.floor((a - r) / n.params.slidesPerGroup),
1428
- l = n.rtlTranslate ? n.translate : -n.translate;
1429
- if (l >= n.snapGrid[o]) {
1430
- var _e30 = n.snapGrid[o];
1431
- l - _e30 > (n.snapGrid[o + 1] - _e30) * i && (a += n.params.slidesPerGroup);
1432
- } else {
1433
- var _e31 = n.snapGrid[o - 1];
1434
- l - _e31 <= (n.snapGrid[o] - _e31) * i && (a -= n.params.slidesPerGroup);
1435
- }
1436
- return a = Math.max(a, 0), a = Math.min(a, n.slidesGrid.length - 1), n.slideTo(a, e, t, s);
1437
- },
1438
- slideToClickedSlide: function slideToClickedSlide() {
1439
- var e = this,
1440
- t = e.params,
1441
- s = e.$wrapperEl,
1442
- i = "auto" === t.slidesPerView ? e.slidesPerViewDynamic() : t.slidesPerView;
1443
- var n,
1444
- a = e.clickedIndex;
1445
- if (t.loop) {
1446
- if (e.animating) return;
1447
- n = parseInt(h(e.clickedSlide).attr("data-swiper-slide-index"), 10), t.centeredSlides ? a < e.loopedSlides - i / 2 || a > e.slides.length - e.loopedSlides + i / 2 ? (e.loopFix(), a = s.children(".".concat(t.slideClass, "[data-swiper-slide-index=\"").concat(n, "\"]:not(.").concat(t.slideDuplicateClass, ")")).eq(0).index(), f(function () {
1448
- e.slideTo(a);
1449
- })) : e.slideTo(a) : a > e.slides.length - i ? (e.loopFix(), a = s.children(".".concat(t.slideClass, "[data-swiper-slide-index=\"").concat(n, "\"]:not(.").concat(t.slideDuplicateClass, ")")).eq(0).index(), f(function () {
1450
- e.slideTo(a);
1451
- })) : e.slideTo(a);
1452
- } else e.slideTo(a);
1453
- }
1454
- };
1455
- function $(e) {
1456
- var t = this,
1457
- s = a(),
1458
- i = o(),
1459
- n = t.touchEventsData,
1460
- r = t.params,
1461
- l = t.touches,
1462
- p = t.enabled;
1463
- if (!p) return;
1464
- if (t.animating && r.preventInteractionOnTransition) return;
1465
- !t.animating && r.cssMode && r.loop && t.loopFix();
1466
- var d = e;
1467
- d.originalEvent && (d = d.originalEvent);
1468
- var c = h(d.target);
1469
- if ("wrapper" === r.touchEventsTarget && !c.closest(t.wrapperEl).length) return;
1470
- if (n.isTouchEvent = "touchstart" === d.type, !n.isTouchEvent && "which" in d && 3 === d.which) return;
1471
- if (!n.isTouchEvent && "button" in d && d.button > 0) return;
1472
- if (n.isTouched && n.isMoved) return;
1473
- var u = !!r.noSwipingClass && "" !== r.noSwipingClass,
1474
- A = e.composedPath ? e.composedPath() : e.path;
1475
- u && d.target && d.target.shadowRoot && A && (c = h(A[0]));
1476
- var g = r.noSwipingSelector ? r.noSwipingSelector : ".".concat(r.noSwipingClass),
1477
- f = !(!d.target || !d.target.shadowRoot);
1478
- if (r.noSwiping && (f ? function (e) {
1479
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this;
1480
- return function t(s) {
1481
- if (!s || s === a() || s === o()) return null;
1482
- s.assignedSlot && (s = s.assignedSlot);
1483
- var i = s.closest(e);
1484
- return i || s.getRootNode ? i || t(s.getRootNode().host) : null;
1485
- }(t);
1486
- }(g, c[0]) : c.closest(g)[0])) return void (t.allowClick = !0);
1487
- if (r.swipeHandler && !c.closest(r.swipeHandler)[0]) return;
1488
- l.currentX = "touchstart" === d.type ? d.targetTouches[0].pageX : d.pageX, l.currentY = "touchstart" === d.type ? d.targetTouches[0].pageY : d.pageY;
1489
- var w = l.currentX,
1490
- v = l.currentY,
1491
- C = r.edgeSwipeDetection || r.iOSEdgeSwipeDetection,
1492
- b = r.edgeSwipeThreshold || r.iOSEdgeSwipeThreshold;
1493
- if (C && (w <= b || w >= i.innerWidth - b)) {
1494
- if ("prevent" !== C) return;
1495
- e.preventDefault();
1496
- }
1497
- if (Object.assign(n, {
1498
- isTouched: !0,
1499
- isMoved: !1,
1500
- allowTouchCallbacks: !0,
1501
- isScrolling: void 0,
1502
- startMoving: void 0
1503
- }), l.startX = w, l.startY = v, n.touchStartTime = m(), t.allowClick = !0, t.updateSize(), t.swipeDirection = void 0, r.threshold > 0 && (n.allowThresholdMove = !1), "touchstart" !== d.type) {
1504
- var _e32 = !0;
1505
- c.is(n.focusableElements) && (_e32 = !1, "SELECT" === c[0].nodeName && (n.isTouched = !1)), s.activeElement && h(s.activeElement).is(n.focusableElements) && s.activeElement !== c[0] && s.activeElement.blur();
1506
- var _i13 = _e32 && t.allowTouchMove && r.touchStartPreventDefault;
1507
- !r.touchStartForcePreventDefault && !_i13 || c[0].isContentEditable || d.preventDefault();
1508
- }
1509
- t.params.freeMode && t.params.freeMode.enabled && t.freeMode && t.animating && !r.cssMode && t.freeMode.onTouchStart(), t.emit("touchStart", d);
1510
- }
1511
- function P(e) {
1512
- var t = a(),
1513
- s = this,
1514
- i = s.touchEventsData,
1515
- n = s.params,
1516
- r = s.touches,
1517
- o = s.rtlTranslate,
1518
- l = s.enabled;
1519
- if (!l) return;
1520
- var p = e;
1521
- if (p.originalEvent && (p = p.originalEvent), !i.isTouched) return void (i.startMoving && i.isScrolling && s.emit("touchMoveOpposite", p));
1522
- if (i.isTouchEvent && "touchmove" !== p.type) return;
1523
- var d = "touchmove" === p.type && p.targetTouches && (p.targetTouches[0] || p.changedTouches[0]),
1524
- c = "touchmove" === p.type ? d.pageX : p.pageX,
1525
- u = "touchmove" === p.type ? d.pageY : p.pageY;
1526
- if (p.preventedByNestedSwiper) return r.startX = c, void (r.startY = u);
1527
- if (!s.allowTouchMove) return h(p.target).is(i.focusableElements) || (s.allowClick = !1), void (i.isTouched && (Object.assign(r, {
1528
- startX: c,
1529
- startY: u,
1530
- currentX: c,
1531
- currentY: u
1532
- }), i.touchStartTime = m()));
1533
- if (i.isTouchEvent && n.touchReleaseOnEdges && !n.loop) if (s.isVertical()) {
1534
- if (u < r.startY && s.translate <= s.maxTranslate() || u > r.startY && s.translate >= s.minTranslate()) return i.isTouched = !1, void (i.isMoved = !1);
1535
- } else if (c < r.startX && s.translate <= s.maxTranslate() || c > r.startX && s.translate >= s.minTranslate()) return;
1536
- if (i.isTouchEvent && t.activeElement && p.target === t.activeElement && h(p.target).is(i.focusableElements)) return i.isMoved = !0, void (s.allowClick = !1);
1537
- if (i.allowTouchCallbacks && s.emit("touchMove", p), p.targetTouches && p.targetTouches.length > 1) return;
1538
- r.currentX = c, r.currentY = u;
1539
- var A = r.currentX - r.startX,
1540
- g = r.currentY - r.startY;
1541
- if (s.params.threshold && Math.sqrt(Math.pow(A, 2) + Math.pow(g, 2)) < s.params.threshold) return;
1542
- if (void 0 === i.isScrolling) {
1543
- var _e33;
1544
- s.isHorizontal() && r.currentY === r.startY || s.isVertical() && r.currentX === r.startX ? i.isScrolling = !1 : A * A + g * g >= 25 && (_e33 = 180 * Math.atan2(Math.abs(g), Math.abs(A)) / Math.PI, i.isScrolling = s.isHorizontal() ? _e33 > n.touchAngle : 90 - _e33 > n.touchAngle);
1545
- }
1546
- if (i.isScrolling && s.emit("touchMoveOpposite", p), void 0 === i.startMoving && (r.currentX === r.startX && r.currentY === r.startY || (i.startMoving = !0)), i.isScrolling) return void (i.isTouched = !1);
1547
- if (!i.startMoving) return;
1548
- s.allowClick = !1, !n.cssMode && p.cancelable && p.preventDefault(), n.touchMoveStopPropagation && !n.nested && p.stopPropagation(), i.isMoved || (n.loop && !n.cssMode && s.loopFix(), i.startTranslate = s.getTranslate(), s.setTransition(0), s.animating && s.$wrapperEl.trigger("webkitTransitionEnd transitionend"), i.allowMomentumBounce = !1, !n.grabCursor || !0 !== s.allowSlideNext && !0 !== s.allowSlidePrev || s.setGrabCursor(!0), s.emit("sliderFirstMove", p)), s.emit("sliderMove", p), i.isMoved = !0;
1549
- var f = s.isHorizontal() ? A : g;
1550
- r.diff = f, f *= n.touchRatio, o && (f = -f), s.swipeDirection = f > 0 ? "prev" : "next", i.currentTranslate = f + i.startTranslate;
1551
- var w = !0,
1552
- v = n.resistanceRatio;
1553
- if (n.touchReleaseOnEdges && (v = 0), f > 0 && i.currentTranslate > s.minTranslate() ? (w = !1, n.resistance && (i.currentTranslate = s.minTranslate() - 1 + Math.pow(-s.minTranslate() + i.startTranslate + f, v))) : f < 0 && i.currentTranslate < s.maxTranslate() && (w = !1, n.resistance && (i.currentTranslate = s.maxTranslate() + 1 - Math.pow(s.maxTranslate() - i.startTranslate - f, v))), w && (p.preventedByNestedSwiper = !0), !s.allowSlideNext && "next" === s.swipeDirection && i.currentTranslate < i.startTranslate && (i.currentTranslate = i.startTranslate), !s.allowSlidePrev && "prev" === s.swipeDirection && i.currentTranslate > i.startTranslate && (i.currentTranslate = i.startTranslate), s.allowSlidePrev || s.allowSlideNext || (i.currentTranslate = i.startTranslate), n.threshold > 0) {
1554
- if (!(Math.abs(f) > n.threshold || i.allowThresholdMove)) return void (i.currentTranslate = i.startTranslate);
1555
- if (!i.allowThresholdMove) return i.allowThresholdMove = !0, r.startX = r.currentX, r.startY = r.currentY, i.currentTranslate = i.startTranslate, void (r.diff = s.isHorizontal() ? r.currentX - r.startX : r.currentY - r.startY);
1556
- }
1557
- n.followFinger && !n.cssMode && ((n.freeMode && n.freeMode.enabled && s.freeMode || n.watchSlidesProgress) && (s.updateActiveIndex(), s.updateSlidesClasses()), s.params.freeMode && n.freeMode.enabled && s.freeMode && s.freeMode.onTouchMove(), s.updateProgress(i.currentTranslate), s.setTranslate(i.currentTranslate));
1558
- }
1559
- function z(e) {
1560
- var t = this,
1561
- s = t.touchEventsData,
1562
- i = t.params,
1563
- n = t.touches,
1564
- a = t.rtlTranslate,
1565
- r = t.slidesGrid,
1566
- o = t.enabled;
1567
- if (!o) return;
1568
- var l = e;
1569
- if (l.originalEvent && (l = l.originalEvent), s.allowTouchCallbacks && t.emit("touchEnd", l), s.allowTouchCallbacks = !1, !s.isTouched) return s.isMoved && i.grabCursor && t.setGrabCursor(!1), s.isMoved = !1, void (s.startMoving = !1);
1570
- i.grabCursor && s.isMoved && s.isTouched && (!0 === t.allowSlideNext || !0 === t.allowSlidePrev) && t.setGrabCursor(!1);
1571
- var p = m(),
1572
- d = p - s.touchStartTime;
1573
- if (t.allowClick) {
1574
- var _e34 = l.path || l.composedPath && l.composedPath();
1575
- t.updateClickedSlide(_e34 && _e34[0] || l.target), t.emit("tap click", l), d < 300 && p - s.lastClickTime < 300 && t.emit("doubleTap doubleClick", l);
1576
- }
1577
- if (s.lastClickTime = m(), f(function () {
1578
- t.destroyed || (t.allowClick = !0);
1579
- }), !s.isTouched || !s.isMoved || !t.swipeDirection || 0 === n.diff || s.currentTranslate === s.startTranslate) return s.isTouched = !1, s.isMoved = !1, void (s.startMoving = !1);
1580
- var c;
1581
- if (s.isTouched = !1, s.isMoved = !1, s.startMoving = !1, c = i.followFinger ? a ? t.translate : -t.translate : -s.currentTranslate, i.cssMode) return;
1582
- if (t.params.freeMode && i.freeMode.enabled) return void t.freeMode.onTouchEnd({
1583
- currentPos: c
1584
- });
1585
- var u = 0,
1586
- A = t.slidesSizesGrid[0];
1587
- for (var _e35 = 0; _e35 < r.length; _e35 += _e35 < i.slidesPerGroupSkip ? 1 : i.slidesPerGroup) {
1588
- var _t25 = _e35 < i.slidesPerGroupSkip - 1 ? 1 : i.slidesPerGroup;
1589
- void 0 !== r[_e35 + _t25] ? c >= r[_e35] && c < r[_e35 + _t25] && (u = _e35, A = r[_e35 + _t25] - r[_e35]) : c >= r[_e35] && (u = _e35, A = r[r.length - 1] - r[r.length - 2]);
1590
- }
1591
- var g = null,
1592
- h = null;
1593
- i.rewind && (t.isBeginning ? h = t.params.virtual && t.params.virtual.enabled && t.virtual ? t.virtual.slides.length - 1 : t.slides.length - 1 : t.isEnd && (g = 0));
1594
- var w = (c - r[u]) / A,
1595
- v = u < i.slidesPerGroupSkip - 1 ? 1 : i.slidesPerGroup;
1596
- if (d > i.longSwipesMs) {
1597
- if (!i.longSwipes) return void t.slideTo(t.activeIndex);
1598
- "next" === t.swipeDirection && (w >= i.longSwipesRatio ? t.slideTo(i.rewind && t.isEnd ? g : u + v) : t.slideTo(u)), "prev" === t.swipeDirection && (w > 1 - i.longSwipesRatio ? t.slideTo(u + v) : null !== h && w < 0 && Math.abs(w) > i.longSwipesRatio ? t.slideTo(h) : t.slideTo(u));
1599
- } else {
1600
- if (!i.shortSwipes) return void t.slideTo(t.activeIndex);
1601
- !t.navigation || l.target !== t.navigation.nextEl && l.target !== t.navigation.prevEl ? ("next" === t.swipeDirection && t.slideTo(null !== g ? g : u + v), "prev" === t.swipeDirection && t.slideTo(null !== h ? h : u)) : l.target === t.navigation.nextEl ? t.slideTo(u + v) : t.slideTo(u);
1602
- }
1603
- }
1604
- function L() {
1605
- var e = this,
1606
- t = e.params,
1607
- s = e.el;
1608
- if (s && 0 === s.offsetWidth) return;
1609
- t.breakpoints && e.setBreakpoint();
1610
- var i = e.allowSlideNext,
1611
- n = e.allowSlidePrev,
1612
- a = e.snapGrid;
1613
- e.allowSlideNext = !0, e.allowSlidePrev = !0, e.updateSize(), e.updateSlides(), e.updateSlidesClasses(), ("auto" === t.slidesPerView || t.slidesPerView > 1) && e.isEnd && !e.isBeginning && !e.params.centeredSlides ? e.slideTo(e.slides.length - 1, 0, !1, !0) : e.slideTo(e.activeIndex, 0, !1, !0), e.autoplay && e.autoplay.running && e.autoplay.paused && e.autoplay.run(), e.allowSlidePrev = n, e.allowSlideNext = i, e.params.watchOverflow && a !== e.snapGrid && e.checkOverflow();
1614
- }
1615
- function O(e) {
1616
- var t = this;
1617
- t.enabled && (t.allowClick || (t.params.preventClicks && e.preventDefault(), t.params.preventClicksPropagation && t.animating && (e.stopPropagation(), e.stopImmediatePropagation())));
1618
- }
1619
- function D() {
1620
- var e = this,
1621
- t = e.wrapperEl,
1622
- s = e.rtlTranslate,
1623
- i = e.enabled;
1624
- if (!i) return;
1625
- var n;
1626
- e.previousTranslate = e.translate, e.isHorizontal() ? e.translate = -t.scrollLeft : e.translate = -t.scrollTop, 0 === e.translate && (e.translate = 0), e.updateActiveIndex(), e.updateSlidesClasses();
1627
- var a = e.maxTranslate() - e.minTranslate();
1628
- n = 0 === a ? 0 : (e.translate - e.minTranslate()) / a, n !== e.progress && e.updateProgress(s ? -e.translate : e.translate), e.emit("setTranslate", e.translate, !1);
1629
- }
1630
- var G = !1;
1631
- function I() {}
1632
- var F = function F(e, t) {
1633
- var s = a(),
1634
- i = e.params,
1635
- n = e.touchEvents,
1636
- r = e.el,
1637
- o = e.wrapperEl,
1638
- l = e.device,
1639
- p = e.support,
1640
- d = !!i.nested,
1641
- c = "on" === t ? "addEventListener" : "removeEventListener",
1642
- u = t;
1643
- if (p.touch) {
1644
- var _t26 = !("touchstart" !== n.start || !p.passiveListener || !i.passiveListeners) && {
1645
- passive: !0,
1646
- capture: !1
1647
- };
1648
- r[c](n.start, e.onTouchStart, _t26), r[c](n.move, e.onTouchMove, p.passiveListener ? {
1649
- passive: !1,
1650
- capture: d
1651
- } : d), r[c](n.end, e.onTouchEnd, _t26), n.cancel && r[c](n.cancel, e.onTouchEnd, _t26);
1652
- } else r[c](n.start, e.onTouchStart, !1), s[c](n.move, e.onTouchMove, d), s[c](n.end, e.onTouchEnd, !1);
1653
- (i.preventClicks || i.preventClicksPropagation) && r[c]("click", e.onClick, !0), i.cssMode && o[c]("scroll", e.onScroll), i.updateOnWindowResize ? e[u](l.ios || l.android ? "resize orientationchange observerUpdate" : "resize observerUpdate", L, !0) : e[u]("observerUpdate", L, !0);
1654
- },
1655
- Y = {
1656
- attachEvents: function attachEvents() {
1657
- var e = this,
1658
- t = a(),
1659
- s = e.params,
1660
- i = e.support;
1661
- e.onTouchStart = $.bind(e), e.onTouchMove = P.bind(e), e.onTouchEnd = z.bind(e), s.cssMode && (e.onScroll = D.bind(e)), e.onClick = O.bind(e), i.touch && !G && (t.addEventListener("touchstart", I), G = !0), F(e, "on");
1662
- },
1663
- detachEvents: function detachEvents() {
1664
- F(this, "off");
1665
- }
1666
- },
1667
- N = function N(e, t) {
1668
- return e.grid && t.grid && t.grid.rows > 1;
1669
- },
1670
- j = {
1671
- addClasses: function addClasses() {
1672
- var e = this,
1673
- t = e.classNames,
1674
- s = e.params,
1675
- i = e.rtl,
1676
- n = e.$el,
1677
- a = e.device,
1678
- r = e.support,
1679
- o = function (e, t) {
1680
- var s = [];
1681
- return e.forEach(function (e) {
1682
- "object" == _typeof(e) ? Object.keys(e).forEach(function (i) {
1683
- e[i] && s.push(t + i);
1684
- }) : "string" == typeof e && s.push(t + e);
1685
- }), s;
1686
- }(["initialized", s.direction, {
1687
- "pointer-events": !r.touch
1688
- }, {
1689
- "free-mode": e.params.freeMode && s.freeMode.enabled
1690
- }, {
1691
- autoheight: s.autoHeight
1692
- }, {
1693
- rtl: i
1694
- }, {
1695
- grid: s.grid && s.grid.rows > 1
1696
- }, {
1697
- "grid-column": s.grid && s.grid.rows > 1 && "column" === s.grid.fill
1698
- }, {
1699
- android: a.android
1700
- }, {
1701
- ios: a.ios
1702
- }, {
1703
- "css-mode": s.cssMode
1704
- }, {
1705
- centered: s.cssMode && s.centeredSlides
1706
- }, {
1707
- "watch-progress": s.watchSlidesProgress
1708
- }], s.containerModifierClass);
1709
- t.push.apply(t, _toConsumableArray(o)), n.addClass(_toConsumableArray(t).join(" ")), e.emitContainerClasses();
1710
- },
1711
- removeClasses: function removeClasses() {
1712
- var e = this.$el,
1713
- t = this.classNames;
1714
- e.removeClass(t.join(" ")), this.emitContainerClasses();
1715
- }
1716
- },
1717
- H = {
1718
- init: !0,
1719
- direction: "horizontal",
1720
- touchEventsTarget: "wrapper",
1721
- initialSlide: 0,
1722
- speed: 300,
1723
- cssMode: !1,
1724
- updateOnWindowResize: !0,
1725
- resizeObserver: !0,
1726
- nested: !1,
1727
- createElements: !1,
1728
- enabled: !0,
1729
- focusableElements: "input, select, option, textarea, button, video, label",
1730
- width: null,
1731
- height: null,
1732
- preventInteractionOnTransition: !1,
1733
- userAgent: null,
1734
- url: null,
1735
- edgeSwipeDetection: !1,
1736
- edgeSwipeThreshold: 20,
1737
- autoHeight: !1,
1738
- setWrapperSize: !1,
1739
- virtualTranslate: !1,
1740
- effect: "slide",
1741
- breakpoints: void 0,
1742
- breakpointsBase: "window",
1743
- spaceBetween: 0,
1744
- slidesPerView: 1,
1745
- slidesPerGroup: 1,
1746
- slidesPerGroupSkip: 0,
1747
- slidesPerGroupAuto: !1,
1748
- centeredSlides: !1,
1749
- centeredSlidesBounds: !1,
1750
- slidesOffsetBefore: 0,
1751
- slidesOffsetAfter: 0,
1752
- normalizeSlideIndex: !0,
1753
- centerInsufficientSlides: !1,
1754
- watchOverflow: !0,
1755
- roundLengths: !1,
1756
- touchRatio: 1,
1757
- touchAngle: 45,
1758
- simulateTouch: !0,
1759
- shortSwipes: !0,
1760
- longSwipes: !0,
1761
- longSwipesRatio: .5,
1762
- longSwipesMs: 300,
1763
- followFinger: !0,
1764
- allowTouchMove: !0,
1765
- threshold: 0,
1766
- touchMoveStopPropagation: !1,
1767
- touchStartPreventDefault: !0,
1768
- touchStartForcePreventDefault: !1,
1769
- touchReleaseOnEdges: !1,
1770
- uniqueNavElements: !0,
1771
- resistance: !0,
1772
- resistanceRatio: .85,
1773
- watchSlidesProgress: !1,
1774
- grabCursor: !1,
1775
- preventClicks: !0,
1776
- preventClicksPropagation: !0,
1777
- slideToClickedSlide: !1,
1778
- preloadImages: !0,
1779
- updateOnImagesReady: !0,
1780
- loop: !1,
1781
- loopAdditionalSlides: 0,
1782
- loopedSlides: null,
1783
- loopedSlidesLimit: !0,
1784
- loopFillGroupWithBlank: !1,
1785
- loopPreventsSlide: !0,
1786
- rewind: !1,
1787
- allowSlidePrev: !0,
1788
- allowSlideNext: !0,
1789
- swipeHandler: null,
1790
- noSwiping: !0,
1791
- noSwipingClass: "swiper-no-swiping",
1792
- noSwipingSelector: null,
1793
- passiveListeners: !0,
1794
- maxBackfaceHiddenSlides: 10,
1795
- containerModifierClass: "swiper-",
1796
- slideClass: "swiper-slide",
1797
- slideBlankClass: "swiper-slide-invisible-blank",
1798
- slideActiveClass: "swiper-slide-active",
1799
- slideDuplicateActiveClass: "swiper-slide-duplicate-active",
1800
- slideVisibleClass: "swiper-slide-visible",
1801
- slideDuplicateClass: "swiper-slide-duplicate",
1802
- slideNextClass: "swiper-slide-next",
1803
- slideDuplicateNextClass: "swiper-slide-duplicate-next",
1804
- slidePrevClass: "swiper-slide-prev",
1805
- slideDuplicatePrevClass: "swiper-slide-duplicate-prev",
1806
- wrapperClass: "swiper-wrapper",
1807
- runCallbacksOnInit: !0,
1808
- _emitClasses: !1
1809
- };
1810
- function R(e, t) {
1811
- return function () {
1812
- var s = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
1813
- var i = Object.keys(s)[0],
1814
- n = s[i];
1815
- "object" == _typeof(n) && null !== n ? (["navigation", "pagination", "scrollbar"].indexOf(i) >= 0 && !0 === e[i] && (e[i] = {
1816
- auto: !0
1817
- }), i in e && "enabled" in n ? (!0 === e[i] && (e[i] = {
1818
- enabled: !0
1819
- }), "object" != _typeof(e[i]) || "enabled" in e[i] || (e[i].enabled = !0), e[i] || (e[i] = {
1820
- enabled: !1
1821
- }), v(t, s)) : v(t, s)) : v(t, s);
1822
- };
1823
- }
1824
- var W = {
1825
- eventsEmitter: T,
1826
- update: M,
1827
- translate: {
1828
- getTranslate: function getTranslate() {
1829
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : this.isHorizontal() ? "x" : "y";
1830
- var t = this.params,
1831
- s = this.rtlTranslate,
1832
- i = this.translate,
1833
- n = this.$wrapperEl;
1834
- if (t.virtualTranslate) return s ? -i : i;
1835
- if (t.cssMode) return i;
1836
- var a = function (e) {
1837
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "x";
1838
- var s = o();
1839
- var i, n, a;
1840
- var r = function (e) {
1841
- var t = o();
1842
- var s;
1843
- return t.getComputedStyle && (s = t.getComputedStyle(e, null)), !s && e.currentStyle && (s = e.currentStyle), s || (s = e.style), s;
1844
- }(e);
1845
- return s.WebKitCSSMatrix ? (n = r.transform || r.webkitTransform, n.split(",").length > 6 && (n = n.split(", ").map(function (e) {
1846
- return e.replace(",", ".");
1847
- }).join(", ")), a = new s.WebKitCSSMatrix("none" === n ? "" : n)) : (a = r.MozTransform || r.OTransform || r.MsTransform || r.msTransform || r.transform || r.getPropertyValue("transform").replace("translate(", "matrix(1, 0, 0, 1,"), i = a.toString().split(",")), "x" === t && (n = s.WebKitCSSMatrix ? a.m41 : 16 === i.length ? parseFloat(i[12]) : parseFloat(i[4])), "y" === t && (n = s.WebKitCSSMatrix ? a.m42 : 16 === i.length ? parseFloat(i[13]) : parseFloat(i[5])), n || 0;
1848
- }(n[0], e);
1849
- return s && (a = -a), a || 0;
1850
- },
1851
- setTranslate: function setTranslate(e, t) {
1852
- var s = this,
1853
- i = s.rtlTranslate,
1854
- n = s.params,
1855
- a = s.$wrapperEl,
1856
- r = s.wrapperEl,
1857
- o = s.progress;
1858
- var l,
1859
- p = 0,
1860
- d = 0;
1861
- s.isHorizontal() ? p = i ? -e : e : d = e, n.roundLengths && (p = Math.floor(p), d = Math.floor(d)), n.cssMode ? r[s.isHorizontal() ? "scrollLeft" : "scrollTop"] = s.isHorizontal() ? -p : -d : n.virtualTranslate || a.transform("translate3d(".concat(p, "px, ").concat(d, "px, 0px)")), s.previousTranslate = s.translate, s.translate = s.isHorizontal() ? p : d;
1862
- var c = s.maxTranslate() - s.minTranslate();
1863
- l = 0 === c ? 0 : (e - s.minTranslate()) / c, l !== o && s.updateProgress(e), s.emit("setTranslate", s.translate, t);
1864
- },
1865
- minTranslate: function minTranslate() {
1866
- return -this.snapGrid[0];
1867
- },
1868
- maxTranslate: function maxTranslate() {
1869
- return -this.snapGrid[this.snapGrid.length - 1];
1870
- },
1871
- translateTo: function translateTo() {
1872
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 0;
1873
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : this.params.speed;
1874
- var s = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : !0;
1875
- var i = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : !0;
1876
- var n = arguments.length > 4 ? arguments[4] : undefined;
1877
- var a = this,
1878
- r = a.params,
1879
- o = a.wrapperEl;
1880
- if (a.animating && r.preventInteractionOnTransition) return !1;
1881
- var l = a.minTranslate(),
1882
- p = a.maxTranslate();
1883
- var d;
1884
- if (d = i && e > l ? l : i && e < p ? p : e, a.updateProgress(d), r.cssMode) {
1885
- var _e36 = a.isHorizontal();
1886
- if (0 === t) o[_e36 ? "scrollLeft" : "scrollTop"] = -d;else {
1887
- if (!a.support.smoothScroll) return b({
1888
- swiper: a,
1889
- targetPosition: -d,
1890
- side: _e36 ? "left" : "top"
1891
- }), !0;
1892
- o.scrollTo(_defineProperty(_defineProperty({}, _e36 ? "left" : "top", -d), "behavior", "smooth"));
1893
- }
1894
- return !0;
1895
- }
1896
- return 0 === t ? (a.setTransition(0), a.setTranslate(d), s && (a.emit("beforeTransitionStart", t, n), a.emit("transitionEnd"))) : (a.setTransition(t), a.setTranslate(d), s && (a.emit("beforeTransitionStart", t, n), a.emit("transitionStart")), a.animating || (a.animating = !0, a.onTranslateToWrapperTransitionEnd || (a.onTranslateToWrapperTransitionEnd = function (e) {
1897
- a && !a.destroyed && e.target === this && (a.$wrapperEl[0].removeEventListener("transitionend", a.onTranslateToWrapperTransitionEnd), a.$wrapperEl[0].removeEventListener("webkitTransitionEnd", a.onTranslateToWrapperTransitionEnd), a.onTranslateToWrapperTransitionEnd = null, delete a.onTranslateToWrapperTransitionEnd, s && a.emit("transitionEnd"));
1898
- }), a.$wrapperEl[0].addEventListener("transitionend", a.onTranslateToWrapperTransitionEnd), a.$wrapperEl[0].addEventListener("webkitTransitionEnd", a.onTranslateToWrapperTransitionEnd))), !0;
1899
- }
1900
- },
1901
- transition: {
1902
- setTransition: function setTransition(e, t) {
1903
- var s = this;
1904
- s.params.cssMode || s.$wrapperEl.transition(e), s.emit("setTransition", e, t);
1905
- },
1906
- transitionStart: function transitionStart() {
1907
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !0;
1908
- var t = arguments.length > 1 ? arguments[1] : undefined;
1909
- var s = this,
1910
- i = s.params;
1911
- i.cssMode || (i.autoHeight && s.updateAutoHeight(), k({
1912
- swiper: s,
1913
- runCallbacks: e,
1914
- direction: t,
1915
- step: "Start"
1916
- }));
1917
- },
1918
- transitionEnd: function transitionEnd() {
1919
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !0;
1920
- var t = arguments.length > 1 ? arguments[1] : undefined;
1921
- var s = this,
1922
- i = s.params;
1923
- s.animating = !1, i.cssMode || (s.setTransition(0), k({
1924
- swiper: s,
1925
- runCallbacks: e,
1926
- direction: t,
1927
- step: "End"
1928
- }));
1929
- }
1930
- },
1931
- slide: B,
1932
- loop: {
1933
- loopCreate: function loopCreate() {
1934
- var e = this,
1935
- t = a(),
1936
- s = e.params,
1937
- i = e.$wrapperEl,
1938
- n = i.children().length > 0 ? h(i.children()[0].parentNode) : i;
1939
- n.children(".".concat(s.slideClass, ".").concat(s.slideDuplicateClass)).remove();
1940
- var r = n.children(".".concat(s.slideClass));
1941
- if (s.loopFillGroupWithBlank) {
1942
- var _e37 = s.slidesPerGroup - r.length % s.slidesPerGroup;
1943
- if (_e37 !== s.slidesPerGroup) {
1944
- for (var _i14 = 0; _i14 < _e37; _i14 += 1) {
1945
- var _e38 = h(t.createElement("div")).addClass("".concat(s.slideClass, " ").concat(s.slideBlankClass));
1946
- n.append(_e38);
1947
- }
1948
- r = n.children(".".concat(s.slideClass));
1949
- }
1950
- }
1951
- "auto" !== s.slidesPerView || s.loopedSlides || (s.loopedSlides = r.length), e.loopedSlides = Math.ceil(parseFloat(s.loopedSlides || s.slidesPerView, 10)), e.loopedSlides += s.loopAdditionalSlides, e.loopedSlides > r.length && e.params.loopedSlidesLimit && (e.loopedSlides = r.length);
1952
- var o = [],
1953
- l = [];
1954
- r.each(function (e, t) {
1955
- h(e).attr("data-swiper-slide-index", t);
1956
- });
1957
- for (var _t27 = 0; _t27 < e.loopedSlides; _t27 += 1) {
1958
- var _e39 = _t27 - Math.floor(_t27 / r.length) * r.length;
1959
- l.push(r.eq(_e39)[0]), o.unshift(r.eq(r.length - _e39 - 1)[0]);
1960
- }
1961
- for (var _e40 = 0; _e40 < l.length; _e40 += 1) n.append(h(l[_e40].cloneNode(!0)).addClass(s.slideDuplicateClass));
1962
- for (var _e41 = o.length - 1; _e41 >= 0; _e41 -= 1) n.prepend(h(o[_e41].cloneNode(!0)).addClass(s.slideDuplicateClass));
1963
- },
1964
- loopFix: function loopFix() {
1965
- var e = this;
1966
- e.emit("beforeLoopFix");
1967
- var t = e.activeIndex,
1968
- s = e.slides,
1969
- i = e.loopedSlides,
1970
- n = e.allowSlidePrev,
1971
- a = e.allowSlideNext,
1972
- r = e.snapGrid,
1973
- o = e.rtlTranslate;
1974
- var l;
1975
- e.allowSlidePrev = !0, e.allowSlideNext = !0;
1976
- var p = -r[t] - e.getTranslate();
1977
- t < i ? (l = s.length - 3 * i + t, l += i, e.slideTo(l, 0, !1, !0) && 0 !== p && e.setTranslate((o ? -e.translate : e.translate) - p)) : t >= s.length - i && (l = -s.length + t + i, l += i, e.slideTo(l, 0, !1, !0) && 0 !== p && e.setTranslate((o ? -e.translate : e.translate) - p)), e.allowSlidePrev = n, e.allowSlideNext = a, e.emit("loopFix");
1978
- },
1979
- loopDestroy: function loopDestroy() {
1980
- var e = this.$wrapperEl,
1981
- t = this.params,
1982
- s = this.slides;
1983
- e.children(".".concat(t.slideClass, ".").concat(t.slideDuplicateClass, ",.").concat(t.slideClass, ".").concat(t.slideBlankClass)).remove(), s.removeAttr("data-swiper-slide-index");
1984
- }
1985
- },
1986
- grabCursor: {
1987
- setGrabCursor: function setGrabCursor(e) {
1988
- var t = this;
1989
- if (t.support.touch || !t.params.simulateTouch || t.params.watchOverflow && t.isLocked || t.params.cssMode) return;
1990
- var s = "container" === t.params.touchEventsTarget ? t.el : t.wrapperEl;
1991
- s.style.cursor = "move", s.style.cursor = e ? "grabbing" : "grab";
1992
- },
1993
- unsetGrabCursor: function unsetGrabCursor() {
1994
- var e = this;
1995
- e.support.touch || e.params.watchOverflow && e.isLocked || e.params.cssMode || (e["container" === e.params.touchEventsTarget ? "el" : "wrapperEl"].style.cursor = "");
1996
- }
1997
- },
1998
- events: Y,
1999
- breakpoints: {
2000
- setBreakpoint: function setBreakpoint() {
2001
- var e = this,
2002
- t = e.activeIndex,
2003
- s = e.initialized,
2004
- _e$loopedSlides = e.loopedSlides,
2005
- i = _e$loopedSlides === void 0 ? 0 : _e$loopedSlides,
2006
- n = e.params,
2007
- a = e.$el,
2008
- r = n.breakpoints;
2009
- if (!r || r && 0 === Object.keys(r).length) return;
2010
- var o = e.getBreakpoint(r, e.params.breakpointsBase, e.el);
2011
- if (!o || e.currentBreakpoint === o) return;
2012
- var l = (o in r ? r[o] : void 0) || e.originalParams,
2013
- p = N(e, n),
2014
- d = N(e, l),
2015
- c = n.enabled;
2016
- p && !d ? (a.removeClass("".concat(n.containerModifierClass, "grid ").concat(n.containerModifierClass, "grid-column")), e.emitContainerClasses()) : !p && d && (a.addClass("".concat(n.containerModifierClass, "grid")), (l.grid.fill && "column" === l.grid.fill || !l.grid.fill && "column" === n.grid.fill) && a.addClass("".concat(n.containerModifierClass, "grid-column")), e.emitContainerClasses()), ["navigation", "pagination", "scrollbar"].forEach(function (t) {
2017
- var s = n[t] && n[t].enabled,
2018
- i = l[t] && l[t].enabled;
2019
- s && !i && e[t].disable(), !s && i && e[t].enable();
2020
- });
2021
- var u = l.direction && l.direction !== n.direction,
2022
- A = n.loop && (l.slidesPerView !== n.slidesPerView || u);
2023
- u && s && e.changeDirection(), v(e.params, l);
2024
- var g = e.params.enabled;
2025
- Object.assign(e, {
2026
- allowTouchMove: e.params.allowTouchMove,
2027
- allowSlideNext: e.params.allowSlideNext,
2028
- allowSlidePrev: e.params.allowSlidePrev
2029
- }), c && !g ? e.disable() : !c && g && e.enable(), e.currentBreakpoint = o, e.emit("_beforeBreakpoint", l), A && s && (e.loopDestroy(), e.loopCreate(), e.updateSlides(), e.slideTo(t - i + e.loopedSlides, 0, !1)), e.emit("breakpoint", l);
2030
- },
2031
- getBreakpoint: function getBreakpoint(e) {
2032
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : "window";
2033
- var s = arguments.length > 2 ? arguments[2] : undefined;
2034
- if (!e || "container" === t && !s) return;
2035
- var i = !1;
2036
- var n = o(),
2037
- a = "window" === t ? n.innerHeight : s.clientHeight,
2038
- r = Object.keys(e).map(function (e) {
2039
- if ("string" == typeof e && 0 === e.indexOf("@")) {
2040
- var _t28 = parseFloat(e.substr(1));
2041
- return {
2042
- value: a * _t28,
2043
- point: e
2044
- };
2045
- }
2046
- return {
2047
- value: e,
2048
- point: e
2049
- };
2050
- });
2051
- r.sort(function (e, t) {
2052
- return parseInt(e.value, 10) - parseInt(t.value, 10);
2053
- });
2054
- for (var _e42 = 0; _e42 < r.length; _e42 += 1) {
2055
- var _r$_e = r[_e42],
2056
- _a6 = _r$_e.point,
2057
- _o4 = _r$_e.value;
2058
- "window" === t ? n.matchMedia("(min-width: ".concat(_o4, "px)")).matches && (i = _a6) : _o4 <= s.clientWidth && (i = _a6);
2059
- }
2060
- return i || "max";
2061
- }
2062
- },
2063
- checkOverflow: {
2064
- checkOverflow: function checkOverflow() {
2065
- var e = this,
2066
- t = e.isLocked,
2067
- s = e.params,
2068
- i = s.slidesOffsetBefore;
2069
- if (i) {
2070
- var _t29 = e.slides.length - 1,
2071
- _s26 = e.slidesGrid[_t29] + e.slidesSizesGrid[_t29] + 2 * i;
2072
- e.isLocked = e.size > _s26;
2073
- } else e.isLocked = 1 === e.snapGrid.length;
2074
- !0 === s.allowSlideNext && (e.allowSlideNext = !e.isLocked), !0 === s.allowSlidePrev && (e.allowSlidePrev = !e.isLocked), t && t !== e.isLocked && (e.isEnd = !1), t !== e.isLocked && e.emit(e.isLocked ? "lock" : "unlock");
2075
- }
2076
- },
2077
- classes: j,
2078
- images: {
2079
- loadImage: function loadImage(e, t, s, i, n, a) {
2080
- var r = o();
2081
- var l;
2082
- function p() {
2083
- a && a();
2084
- }
2085
- h(e).parent("picture")[0] || e.complete && n ? p() : t ? (l = new r.Image(), l.onload = p, l.onerror = p, i && (l.sizes = i), s && (l.srcset = s), t && (l.src = t)) : p();
2086
- },
2087
- preloadImages: function preloadImages() {
2088
- var e = this;
2089
- function t() {
2090
- null != e && e && !e.destroyed && (void 0 !== e.imagesLoaded && (e.imagesLoaded += 1), e.imagesLoaded === e.imagesToLoad.length && (e.params.updateOnImagesReady && e.update(), e.emit("imagesReady")));
2091
- }
2092
- e.imagesToLoad = e.$el.find("img");
2093
- for (var _s27 = 0; _s27 < e.imagesToLoad.length; _s27 += 1) {
2094
- var _i15 = e.imagesToLoad[_s27];
2095
- e.loadImage(_i15, _i15.currentSrc || _i15.getAttribute("src"), _i15.srcset || _i15.getAttribute("srcset"), _i15.sizes || _i15.getAttribute("sizes"), !0, t);
2096
- }
2097
- }
2098
- }
2099
- },
2100
- V = {};
2101
- var q = /*#__PURE__*/function () {
2102
- function q() {
2103
- var _e43, _e44, _i$modules;
2104
- _classCallCheck(this, q);
2105
- var t, s;
2106
- for (var _len11 = arguments.length, e = new Array(_len11), _key11 = 0; _key11 < _len11; _key11++) {
2107
- e[_key11] = arguments[_key11];
2108
- }
2109
- if (1 === e.length && e[0].constructor && "Object" === Object.prototype.toString.call(e[0]).slice(8, -1) ? s = e[0] : (_e43 = e, _e44 = _slicedToArray(_e43, 2), t = _e44[0], s = _e44[1], _e43), s || (s = {}), s = v({}, s), t && !s.el && (s.el = t), s.el && h(s.el).length > 1) {
2110
- var _e45 = [];
2111
- return h(s.el).each(function (t) {
2112
- var i = v({}, s, {
2113
- el: t
2114
- });
2115
- _e45.push(new q(i));
2116
- }), _e45;
2117
- }
2118
- var i = this;
2119
- i.__swiper__ = !0, i.support = S(), i.device = function () {
2120
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
2121
- return E || (E = function () {
2122
- var _ref3 = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {},
2123
- e = _ref3.userAgent;
2124
- var t = S(),
2125
- s = o(),
2126
- i = s.navigator.platform,
2127
- n = e || s.navigator.userAgent,
2128
- a = {
2129
- ios: !1,
2130
- android: !1
2131
- },
2132
- r = s.screen.width,
2133
- l = s.screen.height,
2134
- p = n.match(/(Android);?[\s\/]+([\d.]+)?/);
2135
- var d = n.match(/(iPad).*OS\s([\d_]+)/);
2136
- var c = n.match(/(iPod)(.*OS\s([\d_]+))?/),
2137
- u = !d && n.match(/(iPhone\sOS|iOS)\s([\d_]+)/),
2138
- A = "Win32" === i;
2139
- var g = "MacIntel" === i;
2140
- return !d && g && t.touch && ["1024x1366", "1366x1024", "834x1194", "1194x834", "834x1112", "1112x834", "768x1024", "1024x768", "820x1180", "1180x820", "810x1080", "1080x810"].indexOf("".concat(r, "x").concat(l)) >= 0 && (d = n.match(/(Version)\/([\d.]+)/), d || (d = [0, 1, "13_0_0"]), g = !1), p && !A && (a.os = "android", a.android = !0), (d || u || c) && (a.os = "ios", a.ios = !0), a;
2141
- }(e)), E;
2142
- }({
2143
- userAgent: s.userAgent
2144
- }), i.browser = (x || (x = function () {
2145
- var e = o();
2146
- return {
2147
- isSafari: function () {
2148
- var t = e.navigator.userAgent.toLowerCase();
2149
- return t.indexOf("safari") >= 0 && t.indexOf("chrome") < 0 && t.indexOf("android") < 0;
2150
- }(),
2151
- isWebView: /(iPhone|iPod|iPad).*AppleWebKit(?!.*Safari)/i.test(e.navigator.userAgent)
2152
- };
2153
- }()), x), i.eventsListeners = {}, i.eventsAnyListeners = [], i.modules = _toConsumableArray(i.__modules__), s.modules && Array.isArray(s.modules) && (_i$modules = i.modules).push.apply(_i$modules, _toConsumableArray(s.modules));
2154
- var n = {};
2155
- i.modules.forEach(function (e) {
2156
- e({
2157
- swiper: i,
2158
- extendParams: R(s, n),
2159
- on: i.on.bind(i),
2160
- once: i.once.bind(i),
2161
- off: i.off.bind(i),
2162
- emit: i.emit.bind(i)
2163
- });
2164
- });
2165
- var a = v({}, H, n);
2166
- return i.params = v({}, a, V, s), i.originalParams = v({}, i.params), i.passedParams = v({}, s), i.params && i.params.on && Object.keys(i.params.on).forEach(function (e) {
2167
- i.on(e, i.params.on[e]);
2168
- }), i.params && i.params.onAny && i.onAny(i.params.onAny), i.$ = h, Object.assign(i, {
2169
- enabled: i.params.enabled,
2170
- el: t,
2171
- classNames: [],
2172
- slides: h(),
2173
- slidesGrid: [],
2174
- snapGrid: [],
2175
- slidesSizesGrid: [],
2176
- isHorizontal: function isHorizontal() {
2177
- return "horizontal" === i.params.direction;
2178
- },
2179
- isVertical: function isVertical() {
2180
- return "vertical" === i.params.direction;
2181
- },
2182
- activeIndex: 0,
2183
- realIndex: 0,
2184
- isBeginning: !0,
2185
- isEnd: !1,
2186
- translate: 0,
2187
- previousTranslate: 0,
2188
- progress: 0,
2189
- velocity: 0,
2190
- animating: !1,
2191
- allowSlideNext: i.params.allowSlideNext,
2192
- allowSlidePrev: i.params.allowSlidePrev,
2193
- touchEvents: function () {
2194
- var e = ["touchstart", "touchmove", "touchend", "touchcancel"],
2195
- t = ["pointerdown", "pointermove", "pointerup"];
2196
- return i.touchEventsTouch = {
2197
- start: e[0],
2198
- move: e[1],
2199
- end: e[2],
2200
- cancel: e[3]
2201
- }, i.touchEventsDesktop = {
2202
- start: t[0],
2203
- move: t[1],
2204
- end: t[2]
2205
- }, i.support.touch || !i.params.simulateTouch ? i.touchEventsTouch : i.touchEventsDesktop;
2206
- }(),
2207
- touchEventsData: {
2208
- isTouched: void 0,
2209
- isMoved: void 0,
2210
- allowTouchCallbacks: void 0,
2211
- touchStartTime: void 0,
2212
- isScrolling: void 0,
2213
- currentTranslate: void 0,
2214
- startTranslate: void 0,
2215
- allowThresholdMove: void 0,
2216
- focusableElements: i.params.focusableElements,
2217
- lastClickTime: m(),
2218
- clickTimeout: void 0,
2219
- velocities: [],
2220
- allowMomentumBounce: void 0,
2221
- isTouchEvent: void 0,
2222
- startMoving: void 0
2223
- },
2224
- allowClick: !0,
2225
- allowTouchMove: i.params.allowTouchMove,
2226
- touches: {
2227
- startX: 0,
2228
- startY: 0,
2229
- currentX: 0,
2230
- currentY: 0,
2231
- diff: 0
2232
- },
2233
- imagesToLoad: [],
2234
- imagesLoaded: 0
2235
- }), i.emit("_swiper"), i.params.init && i.init(), i;
2236
- }
2237
- _createClass(q, [{
2238
- key: "enable",
2239
- value: function enable() {
2240
- var e = this;
2241
- e.enabled || (e.enabled = !0, e.params.grabCursor && e.setGrabCursor(), e.emit("enable"));
2242
- }
2243
- }, {
2244
- key: "disable",
2245
- value: function disable() {
2246
- var e = this;
2247
- e.enabled && (e.enabled = !1, e.params.grabCursor && e.unsetGrabCursor(), e.emit("disable"));
2248
- }
2249
- }, {
2250
- key: "setProgress",
2251
- value: function setProgress(e, t) {
2252
- var s = this;
2253
- e = Math.min(Math.max(e, 0), 1);
2254
- var i = s.minTranslate(),
2255
- n = (s.maxTranslate() - i) * e + i;
2256
- s.translateTo(n, void 0 === t ? 0 : t), s.updateActiveIndex(), s.updateSlidesClasses();
2257
- }
2258
- }, {
2259
- key: "emitContainerClasses",
2260
- value: function emitContainerClasses() {
2261
- var e = this;
2262
- if (!e.params._emitClasses || !e.el) return;
2263
- var t = e.el.className.split(" ").filter(function (t) {
2264
- return 0 === t.indexOf("swiper") || 0 === t.indexOf(e.params.containerModifierClass);
2265
- });
2266
- e.emit("_containerClasses", t.join(" "));
2267
- }
2268
- }, {
2269
- key: "getSlideClasses",
2270
- value: function getSlideClasses(e) {
2271
- var t = this;
2272
- return t.destroyed ? "" : e.className.split(" ").filter(function (e) {
2273
- return 0 === e.indexOf("swiper-slide") || 0 === e.indexOf(t.params.slideClass);
2274
- }).join(" ");
2275
- }
2276
- }, {
2277
- key: "emitSlidesClasses",
2278
- value: function emitSlidesClasses() {
2279
- var e = this;
2280
- if (!e.params._emitClasses || !e.el) return;
2281
- var t = [];
2282
- e.slides.each(function (s) {
2283
- var i = e.getSlideClasses(s);
2284
- t.push({
2285
- slideEl: s,
2286
- classNames: i
2287
- }), e.emit("_slideClass", s, i);
2288
- }), e.emit("_slideClasses", t);
2289
- }
2290
- }, {
2291
- key: "slidesPerViewDynamic",
2292
- value: function slidesPerViewDynamic() {
2293
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "current";
2294
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !1;
2295
- var s = this.params,
2296
- i = this.slides,
2297
- n = this.slidesGrid,
2298
- a = this.slidesSizesGrid,
2299
- r = this.size,
2300
- o = this.activeIndex;
2301
- var l = 1;
2302
- if (s.centeredSlides) {
2303
- var _e46,
2304
- _t30 = i[o].swiperSlideSize;
2305
- for (var _s28 = o + 1; _s28 < i.length; _s28 += 1) i[_s28] && !_e46 && (_t30 += i[_s28].swiperSlideSize, l += 1, _t30 > r && (_e46 = !0));
2306
- for (var _s29 = o - 1; _s29 >= 0; _s29 -= 1) i[_s29] && !_e46 && (_t30 += i[_s29].swiperSlideSize, l += 1, _t30 > r && (_e46 = !0));
2307
- } else if ("current" === e) for (var _e47 = o + 1; _e47 < i.length; _e47 += 1) (t ? n[_e47] + a[_e47] - n[o] < r : n[_e47] - n[o] < r) && (l += 1);else for (var _e48 = o - 1; _e48 >= 0; _e48 -= 1) n[o] - n[_e48] < r && (l += 1);
2308
- return l;
2309
- }
2310
- }, {
2311
- key: "update",
2312
- value: function update() {
2313
- var e = this;
2314
- if (!e || e.destroyed) return;
2315
- var t = e.snapGrid,
2316
- s = e.params;
2317
- function i() {
2318
- var t = e.rtlTranslate ? -1 * e.translate : e.translate,
2319
- s = Math.min(Math.max(t, e.maxTranslate()), e.minTranslate());
2320
- e.setTranslate(s), e.updateActiveIndex(), e.updateSlidesClasses();
2321
- }
2322
- var n;
2323
- s.breakpoints && e.setBreakpoint(), e.updateSize(), e.updateSlides(), e.updateProgress(), e.updateSlidesClasses(), e.params.freeMode && e.params.freeMode.enabled ? (i(), e.params.autoHeight && e.updateAutoHeight()) : (n = ("auto" === e.params.slidesPerView || e.params.slidesPerView > 1) && e.isEnd && !e.params.centeredSlides ? e.slideTo(e.slides.length - 1, 0, !1, !0) : e.slideTo(e.activeIndex, 0, !1, !0), n || i()), s.watchOverflow && t !== e.snapGrid && e.checkOverflow(), e.emit("update");
2324
- }
2325
- }, {
2326
- key: "changeDirection",
2327
- value: function changeDirection(e) {
2328
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
2329
- var s = this,
2330
- i = s.params.direction;
2331
- return e || (e = "horizontal" === i ? "vertical" : "horizontal"), e === i || "horizontal" !== e && "vertical" !== e || (s.$el.removeClass("".concat(s.params.containerModifierClass).concat(i)).addClass("".concat(s.params.containerModifierClass).concat(e)), s.emitContainerClasses(), s.params.direction = e, s.slides.each(function (t) {
2332
- "vertical" === e ? t.style.width = "" : t.style.height = "";
2333
- }), s.emit("changeDirection"), t && s.update()), s;
2334
- }
2335
- }, {
2336
- key: "changeLanguageDirection",
2337
- value: function changeLanguageDirection(e) {
2338
- var t = this;
2339
- t.rtl && "rtl" === e || !t.rtl && "ltr" === e || (t.rtl = "rtl" === e, t.rtlTranslate = "horizontal" === t.params.direction && t.rtl, t.rtl ? (t.$el.addClass("".concat(t.params.containerModifierClass, "rtl")), t.el.dir = "rtl") : (t.$el.removeClass("".concat(t.params.containerModifierClass, "rtl")), t.el.dir = "ltr"), t.update());
2340
- }
2341
- }, {
2342
- key: "mount",
2343
- value: function mount(e) {
2344
- var t = this;
2345
- if (t.mounted) return !0;
2346
- var s = h(e || t.params.el);
2347
- if (!(e = s[0])) return !1;
2348
- e.swiper = t;
2349
- var i = function i() {
2350
- return ".".concat((t.params.wrapperClass || "").trim().split(" ").join("."));
2351
- };
2352
- var n = function () {
2353
- if (e && e.shadowRoot && e.shadowRoot.querySelector) {
2354
- var _t31 = h(e.shadowRoot.querySelector(i()));
2355
- return _t31.children = function (e) {
2356
- return s.children(e);
2357
- }, _t31;
2358
- }
2359
- return s.children ? s.children(i()) : h(s).children(i());
2360
- }();
2361
- if (0 === n.length && t.params.createElements) {
2362
- var _e49 = a().createElement("div");
2363
- n = h(_e49), _e49.className = t.params.wrapperClass, s.append(_e49), s.children(".".concat(t.params.slideClass)).each(function (e) {
2364
- n.append(e);
2365
- });
2366
- }
2367
- return Object.assign(t, {
2368
- $el: s,
2369
- el: e,
2370
- $wrapperEl: n,
2371
- wrapperEl: n[0],
2372
- mounted: !0,
2373
- rtl: "rtl" === e.dir.toLowerCase() || "rtl" === s.css("direction"),
2374
- rtlTranslate: "horizontal" === t.params.direction && ("rtl" === e.dir.toLowerCase() || "rtl" === s.css("direction")),
2375
- wrongRTL: "-webkit-box" === n.css("display")
2376
- }), !0;
2377
- }
2378
- }, {
2379
- key: "init",
2380
- value: function init(e) {
2381
- var t = this;
2382
- return t.initialized || !1 === t.mount(e) || (t.emit("beforeInit"), t.params.breakpoints && t.setBreakpoint(), t.addClasses(), t.params.loop && t.loopCreate(), t.updateSize(), t.updateSlides(), t.params.watchOverflow && t.checkOverflow(), t.params.grabCursor && t.enabled && t.setGrabCursor(), t.params.preloadImages && t.preloadImages(), t.params.loop ? t.slideTo(t.params.initialSlide + t.loopedSlides, 0, t.params.runCallbacksOnInit, !1, !0) : t.slideTo(t.params.initialSlide, 0, t.params.runCallbacksOnInit, !1, !0), t.attachEvents(), t.initialized = !0, t.emit("init"), t.emit("afterInit")), t;
2383
- }
2384
- }, {
2385
- key: "destroy",
2386
- value: function destroy() {
2387
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : !0;
2388
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
2389
- var s = this,
2390
- i = s.params,
2391
- n = s.$el,
2392
- a = s.$wrapperEl,
2393
- r = s.slides;
2394
- return void 0 === s.params || s.destroyed || (s.emit("beforeDestroy"), s.initialized = !1, s.detachEvents(), i.loop && s.loopDestroy(), t && (s.removeClasses(), n.removeAttr("style"), a.removeAttr("style"), r && r.length && r.removeClass([i.slideVisibleClass, i.slideActiveClass, i.slideNextClass, i.slidePrevClass].join(" ")).removeAttr("style").removeAttr("data-swiper-slide-index")), s.emit("destroy"), Object.keys(s.eventsListeners).forEach(function (e) {
2395
- s.off(e);
2396
- }), !1 !== e && (s.$el[0].swiper = null, function (e) {
2397
- var t = e;
2398
- Object.keys(t).forEach(function (e) {
2399
- try {
2400
- t[e] = null;
2401
- } catch (e) {}
2402
- try {
2403
- delete t[e];
2404
- } catch (e) {}
2405
- });
2406
- }(s)), s.destroyed = !0), null;
2407
- }
2408
- }], [{
2409
- key: "extendDefaults",
2410
- value: function extendDefaults(e) {
2411
- v(V, e);
2412
- }
2413
- }, {
2414
- key: "extendedDefaults",
2415
- get: function get() {
2416
- return V;
2417
- }
2418
- }, {
2419
- key: "defaults",
2420
- get: function get() {
2421
- return H;
2422
- }
2423
- }, {
2424
- key: "installModule",
2425
- value: function installModule(e) {
2426
- q.prototype.__modules__ || (q.prototype.__modules__ = []);
2427
- var t = q.prototype.__modules__;
2428
- "function" == typeof e && t.indexOf(e) < 0 && t.push(e);
2429
- }
2430
- }, {
2431
- key: "use",
2432
- value: function use(e) {
2433
- return Array.isArray(e) ? (e.forEach(function (e) {
2434
- return q.installModule(e);
2435
- }), q) : (q.installModule(e), q);
2436
- }
2437
- }]);
2438
- return q;
2439
- }();
2440
- Object.keys(W).forEach(function (e) {
2441
- Object.keys(W[e]).forEach(function (t) {
2442
- q.prototype[t] = W[e][t];
2443
- });
2444
- }), q.use([function (_ref4) {
2445
- var e = _ref4.swiper,
2446
- t = _ref4.on,
2447
- s = _ref4.emit;
2448
- var i = o();
2449
- var n = null,
2450
- a = null;
2451
- var r = function r() {
2452
- e && !e.destroyed && e.initialized && (s("beforeResize"), s("resize"));
2453
- },
2454
- l = function l() {
2455
- e && !e.destroyed && e.initialized && s("orientationchange");
2456
- };
2457
- t("init", function () {
2458
- e.params.resizeObserver && void 0 !== i.ResizeObserver ? e && !e.destroyed && e.initialized && (n = new ResizeObserver(function (t) {
2459
- a = i.requestAnimationFrame(function () {
2460
- var s = e.width,
2461
- i = e.height;
2462
- var n = s,
2463
- a = i;
2464
- t.forEach(function (_ref5) {
2465
- var t = _ref5.contentBoxSize,
2466
- s = _ref5.contentRect,
2467
- i = _ref5.target;
2468
- i && i !== e.el || (n = s ? s.width : (t[0] || t).inlineSize, a = s ? s.height : (t[0] || t).blockSize);
2469
- }), n === s && a === i || r();
2470
- });
2471
- }), n.observe(e.el)) : (i.addEventListener("resize", r), i.addEventListener("orientationchange", l));
2472
- }), t("destroy", function () {
2473
- a && i.cancelAnimationFrame(a), n && n.unobserve && e.el && (n.unobserve(e.el), n = null), i.removeEventListener("resize", r), i.removeEventListener("orientationchange", l);
2474
- });
2475
- }, function (_ref6) {
2476
- var e = _ref6.swiper,
2477
- t = _ref6.extendParams,
2478
- s = _ref6.on,
2479
- i = _ref6.emit;
2480
- var n = [],
2481
- a = o(),
2482
- r = function r(e) {
2483
- var t = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : {};
2484
- var s = new (a.MutationObserver || a.WebkitMutationObserver)(function (e) {
2485
- if (1 === e.length) return void i("observerUpdate", e[0]);
2486
- var t = function t() {
2487
- i("observerUpdate", e[0]);
2488
- };
2489
- a.requestAnimationFrame ? a.requestAnimationFrame(t) : a.setTimeout(t, 0);
2490
- });
2491
- s.observe(e, {
2492
- attributes: void 0 === t.attributes || t.attributes,
2493
- childList: void 0 === t.childList || t.childList,
2494
- characterData: void 0 === t.characterData || t.characterData
2495
- }), n.push(s);
2496
- };
2497
- t({
2498
- observer: !1,
2499
- observeParents: !1,
2500
- observeSlideChildren: !1
2501
- }), s("init", function () {
2502
- if (e.params.observer) {
2503
- if (e.params.observeParents) {
2504
- var _t32 = e.$el.parents();
2505
- for (var _e50 = 0; _e50 < _t32.length; _e50 += 1) r(_t32[_e50]);
2506
- }
2507
- r(e.$el[0], {
2508
- childList: e.params.observeSlideChildren
2509
- }), r(e.$wrapperEl[0], {
2510
- attributes: !1
2511
- });
2512
- }
2513
- }), s("destroy", function () {
2514
- n.forEach(function (e) {
2515
- e.disconnect();
2516
- }), n.splice(0, n.length);
2517
- });
2518
- }]);
2519
- var U = q;
2520
- function Q(e, t, s, i) {
2521
- var n = a();
2522
- return e.params.createElements && Object.keys(i).forEach(function (a) {
2523
- if (!s[a] && !0 === s.auto) {
2524
- var _r4 = e.$el.children(".".concat(i[a]))[0];
2525
- _r4 || (_r4 = n.createElement("div"), _r4.className = i[a], e.$el.append(_r4)), s[a] = _r4, t[a] = _r4;
2526
- }
2527
- }), s;
2528
- }
2529
- function _(_ref7) {
2530
- var e = _ref7.swiper,
2531
- t = _ref7.extendParams,
2532
- s = _ref7.on,
2533
- i = _ref7.emit;
2534
- function n(t) {
2535
- var s;
2536
- return t && (s = h(t), e.params.uniqueNavElements && "string" == typeof t && s.length > 1 && 1 === e.$el.find(t).length && (s = e.$el.find(t))), s;
2537
- }
2538
- function a(t, s) {
2539
- var i = e.params.navigation;
2540
- t && t.length > 0 && (t[s ? "addClass" : "removeClass"](i.disabledClass), t[0] && "BUTTON" === t[0].tagName && (t[0].disabled = s), e.params.watchOverflow && e.enabled && t[e.isLocked ? "addClass" : "removeClass"](i.lockClass));
2541
- }
2542
- function r() {
2543
- if (e.params.loop) return;
2544
- var _e$navigation = e.navigation,
2545
- t = _e$navigation.$nextEl,
2546
- s = _e$navigation.$prevEl;
2547
- a(s, e.isBeginning && !e.params.rewind), a(t, e.isEnd && !e.params.rewind);
2548
- }
2549
- function o(t) {
2550
- t.preventDefault(), (!e.isBeginning || e.params.loop || e.params.rewind) && (e.slidePrev(), i("navigationPrev"));
2551
- }
2552
- function l(t) {
2553
- t.preventDefault(), (!e.isEnd || e.params.loop || e.params.rewind) && (e.slideNext(), i("navigationNext"));
2554
- }
2555
- function p() {
2556
- var t = e.params.navigation;
2557
- if (e.params.navigation = Q(e, e.originalParams.navigation, e.params.navigation, {
2558
- nextEl: "swiper-button-next",
2559
- prevEl: "swiper-button-prev"
2560
- }), !t.nextEl && !t.prevEl) return;
2561
- var s = n(t.nextEl),
2562
- i = n(t.prevEl);
2563
- s && s.length > 0 && s.on("click", l), i && i.length > 0 && i.on("click", o), Object.assign(e.navigation, {
2564
- $nextEl: s,
2565
- nextEl: s && s[0],
2566
- $prevEl: i,
2567
- prevEl: i && i[0]
2568
- }), e.enabled || (s && s.addClass(t.lockClass), i && i.addClass(t.lockClass));
2569
- }
2570
- function d() {
2571
- var _e$navigation2 = e.navigation,
2572
- t = _e$navigation2.$nextEl,
2573
- s = _e$navigation2.$prevEl;
2574
- t && t.length && (t.off("click", l), t.removeClass(e.params.navigation.disabledClass)), s && s.length && (s.off("click", o), s.removeClass(e.params.navigation.disabledClass));
2575
- }
2576
- t({
2577
- navigation: {
2578
- nextEl: null,
2579
- prevEl: null,
2580
- hideOnClick: !1,
2581
- disabledClass: "swiper-button-disabled",
2582
- hiddenClass: "swiper-button-hidden",
2583
- lockClass: "swiper-button-lock",
2584
- navigationDisabledClass: "swiper-navigation-disabled"
2585
- }
2586
- }), e.navigation = {
2587
- nextEl: null,
2588
- $nextEl: null,
2589
- prevEl: null,
2590
- $prevEl: null
2591
- }, s("init", function () {
2592
- !1 === e.params.navigation.enabled ? c() : (p(), r());
2593
- }), s("toEdge fromEdge lock unlock", function () {
2594
- r();
2595
- }), s("destroy", function () {
2596
- d();
2597
- }), s("enable disable", function () {
2598
- var _e$navigation3 = e.navigation,
2599
- t = _e$navigation3.$nextEl,
2600
- s = _e$navigation3.$prevEl;
2601
- t && t[e.enabled ? "removeClass" : "addClass"](e.params.navigation.lockClass), s && s[e.enabled ? "removeClass" : "addClass"](e.params.navigation.lockClass);
2602
- }), s("click", function (t, s) {
2603
- var _e$navigation4 = e.navigation,
2604
- n = _e$navigation4.$nextEl,
2605
- a = _e$navigation4.$prevEl,
2606
- r = s.target;
2607
- if (e.params.navigation.hideOnClick && !h(r).is(a) && !h(r).is(n)) {
2608
- if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === r || e.pagination.el.contains(r))) return;
2609
- var _t33;
2610
- n ? _t33 = n.hasClass(e.params.navigation.hiddenClass) : a && (_t33 = a.hasClass(e.params.navigation.hiddenClass)), i(!0 === _t33 ? "navigationShow" : "navigationHide"), n && n.toggleClass(e.params.navigation.hiddenClass), a && a.toggleClass(e.params.navigation.hiddenClass);
2611
- }
2612
- });
2613
- var c = function c() {
2614
- e.$el.addClass(e.params.navigation.navigationDisabledClass), d();
2615
- };
2616
- Object.assign(e.navigation, {
2617
- enable: function enable() {
2618
- e.$el.removeClass(e.params.navigation.navigationDisabledClass), p(), r();
2619
- },
2620
- disable: c,
2621
- update: r,
2622
- init: p,
2623
- destroy: d
2624
- });
2625
- }
2626
- function Z() {
2627
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : "";
2628
- return ".".concat(e.trim().replace(/([\.:!\/])/g, "\\$1").replace(/ /g, "."));
2629
- }
2630
- function X(_ref8) {
2631
- var e = _ref8.swiper,
2632
- t = _ref8.extendParams,
2633
- s = _ref8.on,
2634
- i = _ref8.emit;
2635
- var n = "swiper-pagination";
2636
- var a;
2637
- t({
2638
- pagination: {
2639
- el: null,
2640
- bulletElement: "span",
2641
- clickable: !1,
2642
- hideOnClick: !1,
2643
- renderBullet: null,
2644
- renderProgressbar: null,
2645
- renderFraction: null,
2646
- renderCustom: null,
2647
- progressbarOpposite: !1,
2648
- type: "bullets",
2649
- dynamicBullets: !1,
2650
- dynamicMainBullets: 1,
2651
- formatFractionCurrent: function formatFractionCurrent(e) {
2652
- return e;
2653
- },
2654
- formatFractionTotal: function formatFractionTotal(e) {
2655
- return e;
2656
- },
2657
- bulletClass: "".concat(n, "-bullet"),
2658
- bulletActiveClass: "".concat(n, "-bullet-active"),
2659
- modifierClass: "".concat(n, "-"),
2660
- currentClass: "".concat(n, "-current"),
2661
- totalClass: "".concat(n, "-total"),
2662
- hiddenClass: "".concat(n, "-hidden"),
2663
- progressbarFillClass: "".concat(n, "-progressbar-fill"),
2664
- progressbarOppositeClass: "".concat(n, "-progressbar-opposite"),
2665
- clickableClass: "".concat(n, "-clickable"),
2666
- lockClass: "".concat(n, "-lock"),
2667
- horizontalClass: "".concat(n, "-horizontal"),
2668
- verticalClass: "".concat(n, "-vertical"),
2669
- paginationDisabledClass: "".concat(n, "-disabled")
2670
- }
2671
- }), e.pagination = {
2672
- el: null,
2673
- $el: null,
2674
- bullets: []
2675
- };
2676
- var r = 0;
2677
- function o() {
2678
- return !e.params.pagination.el || !e.pagination.el || !e.pagination.$el || 0 === e.pagination.$el.length;
2679
- }
2680
- function l(t, s) {
2681
- var i = e.params.pagination.bulletActiveClass;
2682
- t[s]().addClass("".concat(i, "-").concat(s))[s]().addClass("".concat(i, "-").concat(s, "-").concat(s));
2683
- }
2684
- function p() {
2685
- var t = e.rtl,
2686
- s = e.params.pagination;
2687
- if (o()) return;
2688
- var n = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length,
2689
- p = e.pagination.$el;
2690
- var d;
2691
- var c = e.params.loop ? Math.ceil((n - 2 * e.loopedSlides) / e.params.slidesPerGroup) : e.snapGrid.length;
2692
- if (e.params.loop ? (d = Math.ceil((e.activeIndex - e.loopedSlides) / e.params.slidesPerGroup), d > n - 1 - 2 * e.loopedSlides && (d -= n - 2 * e.loopedSlides), d > c - 1 && (d -= c), d < 0 && "bullets" !== e.params.paginationType && (d = c + d)) : d = void 0 !== e.snapIndex ? e.snapIndex : e.activeIndex || 0, "bullets" === s.type && e.pagination.bullets && e.pagination.bullets.length > 0) {
2693
- var _i16 = e.pagination.bullets;
2694
- var _n11, _o5, _c2;
2695
- if (s.dynamicBullets && (a = _i16.eq(0)[e.isHorizontal() ? "outerWidth" : "outerHeight"](!0), p.css(e.isHorizontal() ? "width" : "height", a * (s.dynamicMainBullets + 4) + "px"), s.dynamicMainBullets > 1 && void 0 !== e.previousIndex && (r += d - (e.previousIndex - e.loopedSlides || 0), r > s.dynamicMainBullets - 1 ? r = s.dynamicMainBullets - 1 : r < 0 && (r = 0)), _n11 = Math.max(d - r, 0), _o5 = _n11 + (Math.min(_i16.length, s.dynamicMainBullets) - 1), _c2 = (_o5 + _n11) / 2), _i16.removeClass(["", "-next", "-next-next", "-prev", "-prev-prev", "-main"].map(function (e) {
2696
- return "".concat(s.bulletActiveClass).concat(e);
2697
- }).join(" ")), p.length > 1) _i16.each(function (e) {
2698
- var t = h(e),
2699
- i = t.index();
2700
- i === d && t.addClass(s.bulletActiveClass), s.dynamicBullets && (i >= _n11 && i <= _o5 && t.addClass("".concat(s.bulletActiveClass, "-main")), i === _n11 && l(t, "prev"), i === _o5 && l(t, "next"));
2701
- });else {
2702
- var _t34 = _i16.eq(d),
2703
- _a7 = _t34.index();
2704
- if (_t34.addClass(s.bulletActiveClass), s.dynamicBullets) {
2705
- var _t35 = _i16.eq(_n11),
2706
- _r5 = _i16.eq(_o5);
2707
- for (var _e51 = _n11; _e51 <= _o5; _e51 += 1) _i16.eq(_e51).addClass("".concat(s.bulletActiveClass, "-main"));
2708
- if (e.params.loop) {
2709
- if (_a7 >= _i16.length) {
2710
- for (var _e52 = s.dynamicMainBullets; _e52 >= 0; _e52 -= 1) _i16.eq(_i16.length - _e52).addClass("".concat(s.bulletActiveClass, "-main"));
2711
- _i16.eq(_i16.length - s.dynamicMainBullets - 1).addClass("".concat(s.bulletActiveClass, "-prev"));
2712
- } else l(_t35, "prev"), l(_r5, "next");
2713
- } else l(_t35, "prev"), l(_r5, "next");
2714
- }
2715
- }
2716
- if (s.dynamicBullets) {
2717
- var _n12 = Math.min(_i16.length, s.dynamicMainBullets + 4),
2718
- _r6 = (a * _n12 - a) / 2 - _c2 * a,
2719
- _o6 = t ? "right" : "left";
2720
- _i16.css(e.isHorizontal() ? _o6 : "top", "".concat(_r6, "px"));
2721
- }
2722
- }
2723
- if ("fraction" === s.type && (p.find(Z(s.currentClass)).text(s.formatFractionCurrent(d + 1)), p.find(Z(s.totalClass)).text(s.formatFractionTotal(c))), "progressbar" === s.type) {
2724
- var _t36;
2725
- _t36 = s.progressbarOpposite ? e.isHorizontal() ? "vertical" : "horizontal" : e.isHorizontal() ? "horizontal" : "vertical";
2726
- var _i17 = (d + 1) / c;
2727
- var _n13 = 1,
2728
- _a8 = 1;
2729
- "horizontal" === _t36 ? _n13 = _i17 : _a8 = _i17, p.find(Z(s.progressbarFillClass)).transform("translate3d(0,0,0) scaleX(".concat(_n13, ") scaleY(").concat(_a8, ")")).transition(e.params.speed);
2730
- }
2731
- "custom" === s.type && s.renderCustom ? (p.html(s.renderCustom(e, d + 1, c)), i("paginationRender", p[0])) : i("paginationUpdate", p[0]), e.params.watchOverflow && e.enabled && p[e.isLocked ? "addClass" : "removeClass"](s.lockClass);
2732
- }
2733
- function d() {
2734
- var t = e.params.pagination;
2735
- if (o()) return;
2736
- var s = e.virtual && e.params.virtual.enabled ? e.virtual.slides.length : e.slides.length,
2737
- n = e.pagination.$el;
2738
- var a = "";
2739
- if ("bullets" === t.type) {
2740
- var _i18 = e.params.loop ? Math.ceil((s - 2 * e.loopedSlides) / e.params.slidesPerGroup) : e.snapGrid.length;
2741
- e.params.freeMode && e.params.freeMode.enabled && !e.params.loop && _i18 > s && (_i18 = s);
2742
- for (var _s30 = 0; _s30 < _i18; _s30 += 1) t.renderBullet ? a += t.renderBullet.call(e, _s30, t.bulletClass) : a += "<".concat(t.bulletElement, " class=\"").concat(t.bulletClass, "\"></").concat(t.bulletElement, ">");
2743
- n.html(a), e.pagination.bullets = n.find(Z(t.bulletClass));
2744
- }
2745
- "fraction" === t.type && (a = t.renderFraction ? t.renderFraction.call(e, t.currentClass, t.totalClass) : "<span class=\"".concat(t.currentClass, "\"></span> / <span class=\"").concat(t.totalClass, "\"></span>"), n.html(a)), "progressbar" === t.type && (a = t.renderProgressbar ? t.renderProgressbar.call(e, t.progressbarFillClass) : "<span class=\"".concat(t.progressbarFillClass, "\"></span>"), n.html(a)), "custom" !== t.type && i("paginationRender", e.pagination.$el[0]);
2746
- }
2747
- function c() {
2748
- e.params.pagination = Q(e, e.originalParams.pagination, e.params.pagination, {
2749
- el: "swiper-pagination"
2750
- });
2751
- var t = e.params.pagination;
2752
- if (!t.el) return;
2753
- var s = h(t.el);
2754
- 0 !== s.length && (e.params.uniqueNavElements && "string" == typeof t.el && s.length > 1 && (s = e.$el.find(t.el), s.length > 1 && (s = s.filter(function (t) {
2755
- return h(t).parents(".swiper")[0] === e.el;
2756
- }))), "bullets" === t.type && t.clickable && s.addClass(t.clickableClass), s.addClass(t.modifierClass + t.type), s.addClass(e.isHorizontal() ? t.horizontalClass : t.verticalClass), "bullets" === t.type && t.dynamicBullets && (s.addClass("".concat(t.modifierClass).concat(t.type, "-dynamic")), r = 0, t.dynamicMainBullets < 1 && (t.dynamicMainBullets = 1)), "progressbar" === t.type && t.progressbarOpposite && s.addClass(t.progressbarOppositeClass), t.clickable && s.on("click", Z(t.bulletClass), function (t) {
2757
- t.preventDefault();
2758
- var s = h(this).index() * e.params.slidesPerGroup;
2759
- e.params.loop && (s += e.loopedSlides), e.slideTo(s);
2760
- }), Object.assign(e.pagination, {
2761
- $el: s,
2762
- el: s[0]
2763
- }), e.enabled || s.addClass(t.lockClass));
2764
- }
2765
- function u() {
2766
- var t = e.params.pagination;
2767
- if (o()) return;
2768
- var s = e.pagination.$el;
2769
- s.removeClass(t.hiddenClass), s.removeClass(t.modifierClass + t.type), s.removeClass(e.isHorizontal() ? t.horizontalClass : t.verticalClass), e.pagination.bullets && e.pagination.bullets.removeClass && e.pagination.bullets.removeClass(t.bulletActiveClass), t.clickable && s.off("click", Z(t.bulletClass));
2770
- }
2771
- s("init", function () {
2772
- !1 === e.params.pagination.enabled ? A() : (c(), d(), p());
2773
- }), s("activeIndexChange", function () {
2774
- (e.params.loop || void 0 === e.snapIndex) && p();
2775
- }), s("snapIndexChange", function () {
2776
- e.params.loop || p();
2777
- }), s("slidesLengthChange", function () {
2778
- e.params.loop && (d(), p());
2779
- }), s("snapGridLengthChange", function () {
2780
- e.params.loop || (d(), p());
2781
- }), s("destroy", function () {
2782
- u();
2783
- }), s("enable disable", function () {
2784
- var t = e.pagination.$el;
2785
- t && t[e.enabled ? "removeClass" : "addClass"](e.params.pagination.lockClass);
2786
- }), s("lock unlock", function () {
2787
- p();
2788
- }), s("click", function (t, s) {
2789
- var n = s.target,
2790
- a = e.pagination.$el;
2791
- if (e.params.pagination.el && e.params.pagination.hideOnClick && a && a.length > 0 && !h(n).hasClass(e.params.pagination.bulletClass)) {
2792
- if (e.navigation && (e.navigation.nextEl && n === e.navigation.nextEl || e.navigation.prevEl && n === e.navigation.prevEl)) return;
2793
- var _t37 = a.hasClass(e.params.pagination.hiddenClass);
2794
- i(!0 === _t37 ? "paginationShow" : "paginationHide"), a.toggleClass(e.params.pagination.hiddenClass);
2795
- }
2796
- });
2797
- var A = function A() {
2798
- e.$el.addClass(e.params.pagination.paginationDisabledClass), e.pagination.$el && e.pagination.$el.addClass(e.params.pagination.paginationDisabledClass), u();
2799
- };
2800
- Object.assign(e.pagination, {
2801
- enable: function enable() {
2802
- e.$el.removeClass(e.params.pagination.paginationDisabledClass), e.pagination.$el && e.pagination.$el.removeClass(e.params.pagination.paginationDisabledClass), c(), d(), p();
2803
- },
2804
- disable: A,
2805
- render: d,
2806
- update: p,
2807
- init: c,
2808
- destroy: u
2809
- });
2810
- }
2811
- function J(_ref9) {
2812
- var e = _ref9.swiper,
2813
- t = _ref9.extendParams,
2814
- s = _ref9.on,
2815
- i = _ref9.emit;
2816
- var n = a();
2817
- var r,
2818
- o,
2819
- l,
2820
- p,
2821
- d = !1,
2822
- c = null,
2823
- u = null;
2824
- function A() {
2825
- if (!e.params.scrollbar.el || !e.scrollbar.el) return;
2826
- var t = e.scrollbar,
2827
- s = e.rtlTranslate,
2828
- i = e.progress,
2829
- n = t.$dragEl,
2830
- a = t.$el,
2831
- r = e.params.scrollbar;
2832
- var p = o,
2833
- d = (l - o) * i;
2834
- s ? (d = -d, d > 0 ? (p = o - d, d = 0) : -d + o > l && (p = l + d)) : d < 0 ? (p = o + d, d = 0) : d + o > l && (p = l - d), e.isHorizontal() ? (n.transform("translate3d(".concat(d, "px, 0, 0)")), n[0].style.width = "".concat(p, "px")) : (n.transform("translate3d(0px, ".concat(d, "px, 0)")), n[0].style.height = "".concat(p, "px")), r.hide && (clearTimeout(c), a[0].style.opacity = 1, c = setTimeout(function () {
2835
- a[0].style.opacity = 0, a.transition(400);
2836
- }, 1e3));
2837
- }
2838
- function g() {
2839
- if (!e.params.scrollbar.el || !e.scrollbar.el) return;
2840
- var t = e.scrollbar,
2841
- s = t.$dragEl,
2842
- i = t.$el;
2843
- s[0].style.width = "", s[0].style.height = "", l = e.isHorizontal() ? i[0].offsetWidth : i[0].offsetHeight, p = e.size / (e.virtualSize + e.params.slidesOffsetBefore - (e.params.centeredSlides ? e.snapGrid[0] : 0)), o = "auto" === e.params.scrollbar.dragSize ? l * p : parseInt(e.params.scrollbar.dragSize, 10), e.isHorizontal() ? s[0].style.width = "".concat(o, "px") : s[0].style.height = "".concat(o, "px"), i[0].style.display = p >= 1 ? "none" : "", e.params.scrollbar.hide && (i[0].style.opacity = 0), e.params.watchOverflow && e.enabled && t.$el[e.isLocked ? "addClass" : "removeClass"](e.params.scrollbar.lockClass);
2844
- }
2845
- function m(t) {
2846
- return e.isHorizontal() ? "touchstart" === t.type || "touchmove" === t.type ? t.targetTouches[0].clientX : t.clientX : "touchstart" === t.type || "touchmove" === t.type ? t.targetTouches[0].clientY : t.clientY;
2847
- }
2848
- function w(t) {
2849
- var s = e.scrollbar,
2850
- i = e.rtlTranslate,
2851
- n = s.$el;
2852
- var a;
2853
- a = (m(t) - n.offset()[e.isHorizontal() ? "left" : "top"] - (null !== r ? r : o / 2)) / (l - o), a = Math.max(Math.min(a, 1), 0), i && (a = 1 - a);
2854
- var p = e.minTranslate() + (e.maxTranslate() - e.minTranslate()) * a;
2855
- e.updateProgress(p), e.setTranslate(p), e.updateActiveIndex(), e.updateSlidesClasses();
2856
- }
2857
- function v(t) {
2858
- var s = e.params.scrollbar,
2859
- n = e.scrollbar,
2860
- a = e.$wrapperEl,
2861
- o = n.$el,
2862
- l = n.$dragEl;
2863
- d = !0, r = t.target === l[0] || t.target === l ? m(t) - t.target.getBoundingClientRect()[e.isHorizontal() ? "left" : "top"] : null, t.preventDefault(), t.stopPropagation(), a.transition(100), l.transition(100), w(t), clearTimeout(u), o.transition(0), s.hide && o.css("opacity", 1), e.params.cssMode && e.$wrapperEl.css("scroll-snap-type", "none"), i("scrollbarDragStart", t);
2864
- }
2865
- function C(t) {
2866
- var s = e.scrollbar,
2867
- n = e.$wrapperEl,
2868
- a = s.$el,
2869
- r = s.$dragEl;
2870
- d && (t.preventDefault ? t.preventDefault() : t.returnValue = !1, w(t), n.transition(0), a.transition(0), r.transition(0), i("scrollbarDragMove", t));
2871
- }
2872
- function b(t) {
2873
- var s = e.params.scrollbar,
2874
- n = e.scrollbar,
2875
- a = e.$wrapperEl,
2876
- r = n.$el;
2877
- d && (d = !1, e.params.cssMode && (e.$wrapperEl.css("scroll-snap-type", ""), a.transition("")), s.hide && (clearTimeout(u), u = f(function () {
2878
- r.css("opacity", 0), r.transition(400);
2879
- }, 1e3)), i("scrollbarDragEnd", t), s.snapOnRelease && e.slideToClosest());
2880
- }
2881
- function y(t) {
2882
- var s = e.scrollbar,
2883
- i = e.touchEventsTouch,
2884
- a = e.touchEventsDesktop,
2885
- r = e.params,
2886
- o = e.support,
2887
- l = s.$el;
2888
- if (!l) return;
2889
- var p = l[0],
2890
- d = !(!o.passiveListener || !r.passiveListeners) && {
2891
- passive: !1,
2892
- capture: !1
2893
- },
2894
- c = !(!o.passiveListener || !r.passiveListeners) && {
2895
- passive: !0,
2896
- capture: !1
2897
- };
2898
- if (!p) return;
2899
- var u = "on" === t ? "addEventListener" : "removeEventListener";
2900
- o.touch ? (p[u](i.start, v, d), p[u](i.move, C, d), p[u](i.end, b, c)) : (p[u](a.start, v, d), n[u](a.move, C, d), n[u](a.end, b, c));
2901
- }
2902
- function E() {
2903
- var t = e.scrollbar,
2904
- s = e.$el;
2905
- e.params.scrollbar = Q(e, e.originalParams.scrollbar, e.params.scrollbar, {
2906
- el: "swiper-scrollbar"
2907
- });
2908
- var i = e.params.scrollbar;
2909
- if (!i.el) return;
2910
- var n = h(i.el);
2911
- e.params.uniqueNavElements && "string" == typeof i.el && n.length > 1 && 1 === s.find(i.el).length && (n = s.find(i.el)), n.addClass(e.isHorizontal() ? i.horizontalClass : i.verticalClass);
2912
- var a = n.find(".".concat(e.params.scrollbar.dragClass));
2913
- 0 === a.length && (a = h("<div class=\"".concat(e.params.scrollbar.dragClass, "\"></div>")), n.append(a)), Object.assign(t, {
2914
- $el: n,
2915
- el: n[0],
2916
- $dragEl: a,
2917
- dragEl: a[0]
2918
- }), i.draggable && e.params.scrollbar.el && e.scrollbar.el && y("on"), n && n[e.enabled ? "removeClass" : "addClass"](e.params.scrollbar.lockClass);
2919
- }
2920
- function x() {
2921
- var t = e.params.scrollbar,
2922
- s = e.scrollbar.$el;
2923
- s && s.removeClass(e.isHorizontal() ? t.horizontalClass : t.verticalClass), e.params.scrollbar.el && e.scrollbar.el && y("off");
2924
- }
2925
- t({
2926
- scrollbar: {
2927
- el: null,
2928
- dragSize: "auto",
2929
- hide: !1,
2930
- draggable: !1,
2931
- snapOnRelease: !0,
2932
- lockClass: "swiper-scrollbar-lock",
2933
- dragClass: "swiper-scrollbar-drag",
2934
- scrollbarDisabledClass: "swiper-scrollbar-disabled",
2935
- horizontalClass: "swiper-scrollbar-horizontal",
2936
- verticalClass: "swiper-scrollbar-vertical"
2937
- }
2938
- }), e.scrollbar = {
2939
- el: null,
2940
- dragEl: null,
2941
- $el: null,
2942
- $dragEl: null
2943
- }, s("init", function () {
2944
- !1 === e.params.scrollbar.enabled ? S() : (E(), g(), A());
2945
- }), s("update resize observerUpdate lock unlock", function () {
2946
- g();
2947
- }), s("setTranslate", function () {
2948
- A();
2949
- }), s("setTransition", function (t, s) {
2950
- !function (t) {
2951
- e.params.scrollbar.el && e.scrollbar.el && e.scrollbar.$dragEl.transition(t);
2952
- }(s);
2953
- }), s("enable disable", function () {
2954
- var t = e.scrollbar.$el;
2955
- t && t[e.enabled ? "removeClass" : "addClass"](e.params.scrollbar.lockClass);
2956
- }), s("destroy", function () {
2957
- x();
2958
- });
2959
- var S = function S() {
2960
- e.$el.addClass(e.params.scrollbar.scrollbarDisabledClass), e.scrollbar.$el && e.scrollbar.$el.addClass(e.params.scrollbar.scrollbarDisabledClass), x();
2961
- };
2962
- Object.assign(e.scrollbar, {
2963
- enable: function enable() {
2964
- e.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass), e.scrollbar.$el && e.scrollbar.$el.removeClass(e.params.scrollbar.scrollbarDisabledClass), E(), g(), A();
2965
- },
2966
- disable: S,
2967
- updateSize: g,
2968
- setTranslate: A,
2969
- init: E,
2970
- destroy: x
2971
- });
2972
- }
2973
- function K(_ref10) {
2974
- var e = _ref10.swiper,
2975
- t = _ref10.extendParams,
2976
- s = _ref10.on,
2977
- i = _ref10.emit;
2978
- t({
2979
- lazy: {
2980
- checkInView: !1,
2981
- enabled: !1,
2982
- loadPrevNext: !1,
2983
- loadPrevNextAmount: 1,
2984
- loadOnTransitionStart: !1,
2985
- scrollingElement: "",
2986
- elementClass: "swiper-lazy",
2987
- loadingClass: "swiper-lazy-loading",
2988
- loadedClass: "swiper-lazy-loaded",
2989
- preloaderClass: "swiper-lazy-preloader"
2990
- }
2991
- }), e.lazy = {};
2992
- var n = !1,
2993
- a = !1;
2994
- function r(t) {
2995
- var s = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : !0;
2996
- var n = e.params.lazy;
2997
- if (void 0 === t) return;
2998
- if (0 === e.slides.length) return;
2999
- var a = e.virtual && e.params.virtual.enabled ? e.$wrapperEl.children(".".concat(e.params.slideClass, "[data-swiper-slide-index=\"").concat(t, "\"]")) : e.slides.eq(t),
3000
- o = a.find(".".concat(n.elementClass, ":not(.").concat(n.loadedClass, "):not(.").concat(n.loadingClass, ")"));
3001
- !a.hasClass(n.elementClass) || a.hasClass(n.loadedClass) || a.hasClass(n.loadingClass) || o.push(a[0]), 0 !== o.length && o.each(function (t) {
3002
- var o = h(t);
3003
- o.addClass(n.loadingClass);
3004
- var l = o.attr("data-background"),
3005
- p = o.attr("data-src"),
3006
- d = o.attr("data-srcset"),
3007
- c = o.attr("data-sizes"),
3008
- u = o.parent("picture");
3009
- e.loadImage(o[0], p || l, d, c, !1, function () {
3010
- if (null != e && e && (!e || e.params) && !e.destroyed) {
3011
- if (l ? (o.css("background-image", "url(\"".concat(l, "\")")), o.removeAttr("data-background")) : (d && (o.attr("srcset", d), o.removeAttr("data-srcset")), c && (o.attr("sizes", c), o.removeAttr("data-sizes")), u.length && u.children("source").each(function (e) {
3012
- var t = h(e);
3013
- t.attr("data-srcset") && (t.attr("srcset", t.attr("data-srcset")), t.removeAttr("data-srcset"));
3014
- }), p && (o.attr("src", p), o.removeAttr("data-src"))), o.addClass(n.loadedClass).removeClass(n.loadingClass), a.find(".".concat(n.preloaderClass)).remove(), e.params.loop && s) {
3015
- var _t38 = a.attr("data-swiper-slide-index");
3016
- a.hasClass(e.params.slideDuplicateClass) ? r(e.$wrapperEl.children("[data-swiper-slide-index=\"".concat(_t38, "\"]:not(.").concat(e.params.slideDuplicateClass, ")")).index(), !1) : r(e.$wrapperEl.children(".".concat(e.params.slideDuplicateClass, "[data-swiper-slide-index=\"").concat(_t38, "\"]")).index(), !1);
3017
- }
3018
- i("lazyImageReady", a[0], o[0]), e.params.autoHeight && e.updateAutoHeight();
3019
- }
3020
- }), i("lazyImageLoad", a[0], o[0]);
3021
- });
3022
- }
3023
- function l() {
3024
- var t = e.$wrapperEl,
3025
- s = e.params,
3026
- i = e.slides,
3027
- n = e.activeIndex,
3028
- o = e.virtual && s.virtual.enabled,
3029
- l = s.lazy;
3030
- var p = s.slidesPerView;
3031
- function d(e) {
3032
- if (o) {
3033
- if (t.children(".".concat(s.slideClass, "[data-swiper-slide-index=\"").concat(e, "\"]")).length) return !0;
3034
- } else if (i[e]) return !0;
3035
- return !1;
3036
- }
3037
- function c(e) {
3038
- return o ? h(e).attr("data-swiper-slide-index") : h(e).index();
3039
- }
3040
- if ("auto" === p && (p = 0), a || (a = !0), e.params.watchSlidesProgress) t.children(".".concat(s.slideVisibleClass)).each(function (e) {
3041
- r(o ? h(e).attr("data-swiper-slide-index") : h(e).index());
3042
- });else if (p > 1) for (var _e53 = n; _e53 < n + p; _e53 += 1) d(_e53) && r(_e53);else r(n);
3043
- if (l.loadPrevNext) if (p > 1 || l.loadPrevNextAmount && l.loadPrevNextAmount > 1) {
3044
- var _e54 = l.loadPrevNextAmount,
3045
- _t39 = Math.ceil(p),
3046
- _s31 = Math.min(n + _t39 + Math.max(_e54, _t39), i.length),
3047
- _a9 = Math.max(n - Math.max(_t39, _e54), 0);
3048
- for (var _e55 = n + _t39; _e55 < _s31; _e55 += 1) d(_e55) && r(_e55);
3049
- for (var _e56 = _a9; _e56 < n; _e56 += 1) d(_e56) && r(_e56);
3050
- } else {
3051
- var _e57 = t.children(".".concat(s.slideNextClass));
3052
- _e57.length > 0 && r(c(_e57));
3053
- var _i19 = t.children(".".concat(s.slidePrevClass));
3054
- _i19.length > 0 && r(c(_i19));
3055
- }
3056
- }
3057
- function p() {
3058
- var t = o();
3059
- if (!e || e.destroyed) return;
3060
- var s = e.params.lazy.scrollingElement ? h(e.params.lazy.scrollingElement) : h(t),
3061
- i = s[0] === t,
3062
- a = i ? t.innerWidth : s[0].offsetWidth,
3063
- r = i ? t.innerHeight : s[0].offsetHeight,
3064
- d = e.$el.offset(),
3065
- c = e.rtlTranslate;
3066
- var u = !1;
3067
- c && (d.left -= e.$el[0].scrollLeft);
3068
- var A = [[d.left, d.top], [d.left + e.width, d.top], [d.left, d.top + e.height], [d.left + e.width, d.top + e.height]];
3069
- for (var _e58 = 0; _e58 < A.length; _e58 += 1) {
3070
- var _t40 = A[_e58];
3071
- if (_t40[0] >= 0 && _t40[0] <= a && _t40[1] >= 0 && _t40[1] <= r) {
3072
- if (0 === _t40[0] && 0 === _t40[1]) continue;
3073
- u = !0;
3074
- }
3075
- }
3076
- var g = !("touchstart" !== e.touchEvents.start || !e.support.passiveListener || !e.params.passiveListeners) && {
3077
- passive: !0,
3078
- capture: !1
3079
- };
3080
- u ? (l(), s.off("scroll", p, g)) : n || (n = !0, s.on("scroll", p, g));
3081
- }
3082
- s("beforeInit", function () {
3083
- e.params.lazy.enabled && e.params.preloadImages && (e.params.preloadImages = !1);
3084
- }), s("init", function () {
3085
- e.params.lazy.enabled && (e.params.lazy.checkInView ? p() : l());
3086
- }), s("scroll", function () {
3087
- e.params.freeMode && e.params.freeMode.enabled && !e.params.freeMode.sticky && l();
3088
- }), s("scrollbarDragMove resize _freeModeNoMomentumRelease", function () {
3089
- e.params.lazy.enabled && (e.params.lazy.checkInView ? p() : l());
3090
- }), s("transitionStart", function () {
3091
- e.params.lazy.enabled && (e.params.lazy.loadOnTransitionStart || !e.params.lazy.loadOnTransitionStart && !a) && (e.params.lazy.checkInView ? p() : l());
3092
- }), s("transitionEnd", function () {
3093
- e.params.lazy.enabled && !e.params.lazy.loadOnTransitionStart && (e.params.lazy.checkInView ? p() : l());
3094
- }), s("slideChange", function () {
3095
- var _e$params = e.params,
3096
- t = _e$params.lazy,
3097
- s = _e$params.cssMode,
3098
- i = _e$params.watchSlidesProgress,
3099
- n = _e$params.touchReleaseOnEdges,
3100
- a = _e$params.resistanceRatio;
3101
- t.enabled && (s || i && (n || 0 === a)) && l();
3102
- }), s("destroy", function () {
3103
- e.$el && e.$el.find(".".concat(e.params.lazy.loadingClass)).removeClass(e.params.lazy.loadingClass);
3104
- }), Object.assign(e.lazy, {
3105
- load: l,
3106
- loadInSlide: r
3107
- });
3108
- }
3109
- function ee(_ref11) {
3110
- var e = _ref11.swiper,
3111
- t = _ref11.extendParams,
3112
- s = _ref11.on;
3113
- t({
3114
- a11y: {
3115
- enabled: !0,
3116
- notificationClass: "swiper-notification",
3117
- prevSlideMessage: "Previous slide",
3118
- nextSlideMessage: "Next slide",
3119
- firstSlideMessage: "This is the first slide",
3120
- lastSlideMessage: "This is the last slide",
3121
- paginationBulletMessage: "Go to slide {{index}}",
3122
- slideLabelMessage: "{{index}} / {{slidesLength}}",
3123
- containerMessage: null,
3124
- containerRoleDescriptionMessage: null,
3125
- itemRoleDescriptionMessage: null,
3126
- slideRole: "group",
3127
- id: null
3128
- }
3129
- }), e.a11y = {
3130
- clicked: !1
3131
- };
3132
- var i = null;
3133
- function n(e) {
3134
- var t = i;
3135
- 0 !== t.length && (t.html(""), t.html(e));
3136
- }
3137
- function a(e) {
3138
- e.attr("tabIndex", "0");
3139
- }
3140
- function r(e) {
3141
- e.attr("tabIndex", "-1");
3142
- }
3143
- function o(e, t) {
3144
- e.attr("role", t);
3145
- }
3146
- function l(e, t) {
3147
- e.attr("aria-roledescription", t);
3148
- }
3149
- function p(e, t) {
3150
- e.attr("aria-label", t);
3151
- }
3152
- function d(e) {
3153
- e.attr("aria-disabled", !0);
3154
- }
3155
- function c(e) {
3156
- e.attr("aria-disabled", !1);
3157
- }
3158
- function u(t) {
3159
- if (13 !== t.keyCode && 32 !== t.keyCode) return;
3160
- var s = e.params.a11y,
3161
- i = h(t.target);
3162
- e.navigation && e.navigation.$nextEl && i.is(e.navigation.$nextEl) && (e.isEnd && !e.params.loop || e.slideNext(), e.isEnd ? n(s.lastSlideMessage) : n(s.nextSlideMessage)), e.navigation && e.navigation.$prevEl && i.is(e.navigation.$prevEl) && (e.isBeginning && !e.params.loop || e.slidePrev(), e.isBeginning ? n(s.firstSlideMessage) : n(s.prevSlideMessage)), e.pagination && i.is(Z(e.params.pagination.bulletClass)) && i[0].click();
3163
- }
3164
- function A() {
3165
- return e.pagination && e.pagination.bullets && e.pagination.bullets.length;
3166
- }
3167
- function g() {
3168
- return A() && e.params.pagination.clickable;
3169
- }
3170
- var f = function f(e, t, s) {
3171
- a(e), "BUTTON" !== e[0].tagName && (o(e, "button"), e.on("keydown", u)), p(e, s), function (e, t) {
3172
- e.attr("aria-controls", t);
3173
- }(e, t);
3174
- },
3175
- m = function m() {
3176
- e.a11y.clicked = !0;
3177
- },
3178
- w = function w() {
3179
- requestAnimationFrame(function () {
3180
- requestAnimationFrame(function () {
3181
- e.destroyed || (e.a11y.clicked = !1);
3182
- });
3183
- });
3184
- },
3185
- v = function v(t) {
3186
- if (e.a11y.clicked) return;
3187
- var s = t.target.closest(".".concat(e.params.slideClass));
3188
- if (!s || !e.slides.includes(s)) return;
3189
- var i = e.slides.indexOf(s) === e.activeIndex,
3190
- n = e.params.watchSlidesProgress && e.visibleSlides && e.visibleSlides.includes(s);
3191
- i || n || t.sourceCapabilities && t.sourceCapabilities.firesTouchEvents || (e.isHorizontal() ? e.el.scrollLeft = 0 : e.el.scrollTop = 0, e.slideTo(e.slides.indexOf(s), 0));
3192
- },
3193
- C = function C() {
3194
- var t = e.params.a11y;
3195
- t.itemRoleDescriptionMessage && l(h(e.slides), t.itemRoleDescriptionMessage), t.slideRole && o(h(e.slides), t.slideRole);
3196
- var s = e.params.loop ? e.slides.filter(function (t) {
3197
- return !t.classList.contains(e.params.slideDuplicateClass);
3198
- }).length : e.slides.length;
3199
- t.slideLabelMessage && e.slides.each(function (i, n) {
3200
- var a = h(i),
3201
- r = e.params.loop ? parseInt(a.attr("data-swiper-slide-index"), 10) : n;
3202
- p(a, t.slideLabelMessage.replace(/\{\{index\}\}/, r + 1).replace(/\{\{slidesLength\}\}/, s));
3203
- });
3204
- };
3205
- s("beforeInit", function () {
3206
- i = h("<span class=\"".concat(e.params.a11y.notificationClass, "\" aria-live=\"assertive\" aria-atomic=\"true\"></span>"));
3207
- }), s("afterInit", function () {
3208
- e.params.a11y.enabled && function () {
3209
- var t = e.params.a11y;
3210
- e.$el.append(i);
3211
- var s = e.$el;
3212
- t.containerRoleDescriptionMessage && l(s, t.containerRoleDescriptionMessage), t.containerMessage && p(s, t.containerMessage);
3213
- var n = e.$wrapperEl,
3214
- a = t.id || n.attr("id") || "swiper-wrapper-".concat(function () {
3215
- var e = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : 16;
3216
- return "x".repeat(e).replace(/x/g, function () {
3217
- return Math.round(16 * Math.random()).toString(16);
3218
- });
3219
- }(16)),
3220
- r = e.params.autoplay && e.params.autoplay.enabled ? "off" : "polite";
3221
- var o;
3222
- var d, c;
3223
- o = a, n.attr("id", o), function (e, t) {
3224
- e.attr("aria-live", t);
3225
- }(n, r), C(), e.navigation && e.navigation.$nextEl && (d = e.navigation.$nextEl), e.navigation && e.navigation.$prevEl && (c = e.navigation.$prevEl), d && d.length && f(d, a, t.nextSlideMessage), c && c.length && f(c, a, t.prevSlideMessage), g() && e.pagination.$el.on("keydown", Z(e.params.pagination.bulletClass), u), e.$el.on("focus", v, !0), e.$el.on("pointerdown", m, !0), e.$el.on("pointerup", w, !0);
3226
- }();
3227
- }), s("slidesLengthChange snapGridLengthChange slidesGridLengthChange", function () {
3228
- e.params.a11y.enabled && C();
3229
- }), s("fromEdge toEdge afterInit lock unlock", function () {
3230
- e.params.a11y.enabled && function () {
3231
- if (e.params.loop || e.params.rewind || !e.navigation) return;
3232
- var _e$navigation5 = e.navigation,
3233
- t = _e$navigation5.$nextEl,
3234
- s = _e$navigation5.$prevEl;
3235
- s && s.length > 0 && (e.isBeginning ? (d(s), r(s)) : (c(s), a(s))), t && t.length > 0 && (e.isEnd ? (d(t), r(t)) : (c(t), a(t)));
3236
- }();
3237
- }), s("paginationUpdate", function () {
3238
- e.params.a11y.enabled && function () {
3239
- var t = e.params.a11y;
3240
- A() && e.pagination.bullets.each(function (s) {
3241
- var i = h(s);
3242
- e.params.pagination.clickable && (a(i), e.params.pagination.renderBullet || (o(i, "button"), p(i, t.paginationBulletMessage.replace(/\{\{index\}\}/, i.index() + 1)))), i.is(".".concat(e.params.pagination.bulletActiveClass)) ? i.attr("aria-current", "true") : i.removeAttr("aria-current");
3243
- });
3244
- }();
3245
- }), s("destroy", function () {
3246
- e.params.a11y.enabled && function () {
3247
- var t, s;
3248
- i && i.length > 0 && i.remove(), e.navigation && e.navigation.$nextEl && (t = e.navigation.$nextEl), e.navigation && e.navigation.$prevEl && (s = e.navigation.$prevEl), t && t.off("keydown", u), s && s.off("keydown", u), g() && e.pagination.$el.off("keydown", Z(e.params.pagination.bulletClass), u), e.$el.off("focus", v, !0), e.$el.off("pointerdown", m, !0), e.$el.off("pointerup", w, !0);
3249
- }();
3250
- });
3251
- }
3252
- function te(e, t) {
3253
- return e.transformEl ? t.find(e.transformEl).css({
3254
- "backface-visibility": "hidden",
3255
- "-webkit-backface-visibility": "hidden"
3256
- }) : t;
3257
- }
3258
- function se(_ref12) {
3259
- var e = _ref12.swiper,
3260
- t = _ref12.extendParams,
3261
- s = _ref12.on;
3262
- t({
3263
- fadeEffect: {
3264
- crossFade: !1,
3265
- transformEl: null
3266
- }
3267
- }), function (e) {
3268
- var t = e.effect,
3269
- s = e.swiper,
3270
- i = e.on,
3271
- n = e.setTranslate,
3272
- a = e.setTransition,
3273
- r = e.overwriteParams,
3274
- o = e.perspective,
3275
- l = e.recreateShadows,
3276
- p = e.getEffectParams;
3277
- var d;
3278
- i("beforeInit", function () {
3279
- if (s.params.effect !== t) return;
3280
- s.classNames.push("".concat(s.params.containerModifierClass).concat(t)), o && o() && s.classNames.push("".concat(s.params.containerModifierClass, "3d"));
3281
- var e = r ? r() : {};
3282
- Object.assign(s.params, e), Object.assign(s.originalParams, e);
3283
- }), i("setTranslate", function () {
3284
- s.params.effect === t && n();
3285
- }), i("setTransition", function (e, i) {
3286
- s.params.effect === t && a(i);
3287
- }), i("transitionEnd", function () {
3288
- if (s.params.effect === t && l) {
3289
- if (!p || !p().slideShadows) return;
3290
- s.slides.each(function (e) {
3291
- s.$(e).find(".swiper-slide-shadow-top, .swiper-slide-shadow-right, .swiper-slide-shadow-bottom, .swiper-slide-shadow-left").remove();
3292
- }), l();
3293
- }
3294
- }), i("virtualUpdate", function () {
3295
- s.params.effect === t && (s.slides.length || (d = !0), requestAnimationFrame(function () {
3296
- d && s.slides && s.slides.length && (n(), d = !1);
3297
- }));
3298
- });
3299
- }({
3300
- effect: "fade",
3301
- swiper: e,
3302
- on: s,
3303
- setTranslate: function setTranslate() {
3304
- var t = e.slides,
3305
- s = e.params.fadeEffect;
3306
- for (var _i20 = 0; _i20 < t.length; _i20 += 1) {
3307
- var _t41 = e.slides.eq(_i20);
3308
- var _n14 = -_t41[0].swiperSlideOffset;
3309
- e.params.virtualTranslate || (_n14 -= e.translate);
3310
- var _a10 = 0;
3311
- e.isHorizontal() || (_a10 = _n14, _n14 = 0);
3312
- var _r7 = e.params.fadeEffect.crossFade ? Math.max(1 - Math.abs(_t41[0].progress), 0) : 1 + Math.min(Math.max(_t41[0].progress, -1), 0);
3313
- te(s, _t41).css({
3314
- opacity: _r7
3315
- }).transform("translate3d(".concat(_n14, "px, ").concat(_a10, "px, 0px)"));
3316
- }
3317
- },
3318
- setTransition: function setTransition(t) {
3319
- var s = e.params.fadeEffect.transformEl;
3320
- (s ? e.slides.find(s) : e.slides).transition(t), function (_ref13) {
3321
- var e = _ref13.swiper,
3322
- t = _ref13.duration,
3323
- s = _ref13.transformEl,
3324
- i = _ref13.allSlides;
3325
- var n = e.slides,
3326
- a = e.activeIndex,
3327
- r = e.$wrapperEl;
3328
- if (e.params.virtualTranslate && 0 !== t) {
3329
- var _t42,
3330
- _o7 = !1;
3331
- _t42 = i ? s ? n.find(s) : n : s ? n.eq(a).find(s) : n.eq(a), _t42.transitionEnd(function () {
3332
- if (_o7) return;
3333
- if (!e || e.destroyed) return;
3334
- _o7 = !0, e.animating = !1;
3335
- var t = ["webkitTransitionEnd", "transitionend"];
3336
- for (var _e59 = 0; _e59 < t.length; _e59 += 1) r.trigger(t[_e59]);
3337
- });
3338
- }
3339
- }({
3340
- swiper: e,
3341
- duration: t,
3342
- transformEl: s,
3343
- allSlides: !0
3344
- });
3345
- },
3346
- overwriteParams: function overwriteParams() {
3347
- return {
3348
- slidesPerView: 1,
3349
- slidesPerGroup: 1,
3350
- watchSlidesProgress: !0,
3351
- spaceBetween: 0,
3352
- virtualTranslate: !e.params.cssMode
3353
- };
3354
- }
3355
- });
3356
- }
3357
- var ie = s(379),
3358
- ne = s.n(ie),
3359
- ae = s(795),
3360
- re = s.n(ae),
3361
- oe = s(569),
3362
- le = s.n(oe),
3363
- pe = s(565),
3364
- de = s.n(pe),
3365
- ce = s(216),
3366
- ue = s.n(ce),
3367
- Ae = s(589),
3368
- ge = s.n(Ae),
3369
- he = s(460),
3370
- fe = {};
3371
- function me(e) {
3372
- return me = "function" == typeof Symbol && "symbol" == _typeof(Symbol.iterator) ? function (e) {
3373
- return _typeof(e);
3374
- } : function (e) {
3375
- return e && "function" == typeof Symbol && e.constructor === Symbol && e !== Symbol.prototype ? "symbol" : _typeof(e);
3376
- }, me(e);
3377
- }
3378
- function we(e, t) {
3379
- var s = Object.keys(e);
3380
- if (Object.getOwnPropertySymbols) {
3381
- var i = Object.getOwnPropertySymbols(e);
3382
- t && (i = i.filter(function (t) {
3383
- return Object.getOwnPropertyDescriptor(e, t).enumerable;
3384
- })), s.push.apply(s, i);
3385
- }
3386
- return s;
3387
- }
3388
- function ve(e, t) {
3389
- return new U(e, function (e) {
3390
- for (var t = 1; t < arguments.length; t++) {
3391
- var s = null != arguments[t] ? arguments[t] : {};
3392
- t % 2 ? we(Object(s), !0).forEach(function (t) {
3393
- var i, n, a, r;
3394
- i = e, n = t, a = s[t], r = function (e, t) {
3395
- if ("object" != me(e) || !e) return e;
3396
- var s = e[Symbol.toPrimitive];
3397
- if (void 0 !== s) {
3398
- var i = s.call(e, "string");
3399
- if ("object" != me(i)) return i;
3400
- throw new TypeError("@@toPrimitive must return a primitive value.");
3401
- }
3402
- return String(e);
3403
- }(n), (n = "symbol" == me(r) ? r : String(r)) in i ? Object.defineProperty(i, n, {
3404
- value: a,
3405
- enumerable: !0,
3406
- configurable: !0,
3407
- writable: !0
3408
- }) : i[n] = a;
3409
- }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(s)) : we(Object(s)).forEach(function (t) {
3410
- Object.defineProperty(e, t, Object.getOwnPropertyDescriptor(s, t));
3411
- });
3412
- }
3413
- return e;
3414
- }({
3415
- modules: [ee, _, X, K, J, se],
3416
- lazy: {
3417
- loadPrevNext: !0
3418
- },
3419
- a11y: {
3420
- prevSlideMessage: "Previous slide",
3421
- nextSlideMessage: "Next slide"
3422
- }
3423
- }, t));
3424
- }
3425
- fe.styleTagTransform = ge(), fe.setAttributes = de(), fe.insert = le().bind(null, "head"), fe.domAPI = re(), fe.insertStyleElement = ue(), ne()(he.Z, fe), he.Z && he.Z.locals && he.Z.locals;
3426
- })(), modCarousel = i;
3427
- })();