infinity-forge 0.53.7 → 0.53.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/sites/fixed-components/list-blog/carousel-configs.d.ts +1 -1
- package/dist/sites/fixed-components/list-blog/component.js +3 -2
- package/dist/sites/fixed-components/list-blog/component.js.map +1 -1
- package/dist/ui/components/carousel/index.d.ts +9 -1
- package/dist/ui/components/carousel/index.js +29 -15
- package/dist/ui/components/carousel/index.js.map +1 -1
- package/dist/ui/components/carousel/interfaces.d.ts +4 -5
- package/dist/ui/components/carousel/styles.js +1 -1
- package/dist/ui/components/carousel/styles.js.map +1 -1
- package/dist/ui/components/carousel/swiper/modules/autoplay.d.ts +7 -0
- package/dist/ui/components/carousel/swiper/modules/autoplay.js +336 -0
- package/dist/ui/components/carousel/swiper/modules/autoplay.js.map +1 -0
- package/dist/ui/components/carousel/swiper/modules/effect-fade.d.ts +5 -0
- package/dist/ui/components/carousel/swiper/modules/effect-fade.js +63 -0
- package/dist/ui/components/carousel/swiper/modules/effect-fade.js.map +1 -0
- package/dist/ui/components/carousel/swiper/modules/free-mode.d.ts +6 -0
- package/dist/ui/components/carousel/swiper/modules/free-mode.js +247 -0
- package/dist/ui/components/carousel/swiper/modules/free-mode.js.map +1 -0
- package/dist/ui/components/carousel/swiper/modules/index.d.ts +6 -0
- package/dist/ui/components/carousel/swiper/modules/index.js +23 -0
- package/dist/ui/components/carousel/swiper/modules/index.js.map +1 -0
- package/dist/ui/components/carousel/swiper/modules/navigation.d.ts +6 -0
- package/dist/ui/components/carousel/swiper/modules/navigation.js +223 -0
- package/dist/ui/components/carousel/swiper/modules/navigation.js.map +1 -0
- package/dist/ui/components/carousel/swiper/modules/pagination.d.ts +6 -0
- package/dist/ui/components/carousel/swiper/modules/pagination.js +514 -0
- package/dist/ui/components/carousel/swiper/modules/pagination.js.map +1 -0
- package/dist/ui/components/carousel/swiper/modules/virtual.d.ts +6 -0
- package/dist/ui/components/carousel/swiper/modules/virtual.js +379 -0
- package/dist/ui/components/carousel/swiper/modules/virtual.js.map +1 -0
- package/dist/ui/utils/uid/index.d.ts +1 -1
- package/dist/ui/utils/uid/index.js +11 -2
- package/dist/ui/utils/uid/index.js.map +1 -1
- package/package.json +89 -89
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { SwiperProps } from
|
|
1
|
+
import { SwiperProps } from "@/ui/components/carousel/swiper/swiper-react";
|
|
2
2
|
export declare const carouselConfigs: SwiperProps;
|
|
@@ -29,13 +29,14 @@ Object.defineProperty(exports, "__esModule", { value: true });
|
|
|
29
29
|
exports.ListBlog = void 0;
|
|
30
30
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
31
31
|
var link_1 = __importDefault(require("next/link"));
|
|
32
|
-
var
|
|
32
|
+
var ui_1 = require("../../../ui/index.js");
|
|
33
33
|
var card_1 = require("./card/index.js");
|
|
34
34
|
var carousel_configs_1 = require("./carousel-configs.js");
|
|
35
35
|
var S = __importStar(require("./styles.js"));
|
|
36
36
|
function ListBlog(_a) {
|
|
37
37
|
var data = _a.data, title = _a.title, linkText = _a.linkText;
|
|
38
|
-
|
|
38
|
+
var Carousel = (0, ui_1.useCarousel)({ Component: card_1.BlogCard, id: 'ListBlog', items: data, config: carousel_configs_1.carouselConfigs }).Carousel;
|
|
39
|
+
return ((0, jsx_runtime_1.jsx)(ui_1.Error, { name: 'ListBlog', children: (0, jsx_runtime_1.jsx)(S.ListBlog, { children: (0, jsx_runtime_1.jsxs)(ui_1.Container, { children: [(0, jsx_runtime_1.jsxs)("div", { className: 'blog-title', children: [(0, jsx_runtime_1.jsx)("h2", { className: 'font-48-bold', children: title ? title : 'Blog' }), (0, jsx_runtime_1.jsx)(link_1.default, { className: 'font-16-bold', href: '/blog/todos', children: linkText ? linkText : 'Ver todos os posts' })] }), (0, jsx_runtime_1.jsx)(Carousel, {})] }) }) }));
|
|
39
40
|
}
|
|
40
41
|
exports.ListBlog = ListBlog;
|
|
41
42
|
//# sourceMappingURL=component.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/sites/fixed-components/list-blog/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,
|
|
1
|
+
{"version":3,"file":"component.js","sourceRoot":"","sources":["../../../../src/sites/fixed-components/list-blog/component.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,mDAA4B;AAE5B,2BAAoD;AAEpD,+BAAiC;AACjC,uDAAoD;AAIpD,0CAA6B;AAE7B,SAAgB,QAAQ,CAAC,EAAyC;QAAvC,IAAI,UAAA,EAAE,KAAK,WAAA,EAAE,QAAQ,cAAA;IACtC,IAAA,QAAQ,GAAK,IAAA,gBAAW,EAAC,EAAE,SAAS,EAAE,eAAQ,EAAE,EAAE,EAAE,UAAU,EAAE,KAAK,EAAE,IAAI,EAAE,MAAM,EAAE,kCAAe,EAAE,CAAC,SAA/F,CAA+F;IAE/G,OAAO,CACL,uBAAC,UAAK,IAAC,IAAI,EAAC,UAAU,YACpB,uBAAC,CAAC,CAAC,QAAQ,cACT,wBAAC,cAAS,eACR,iCAAK,SAAS,EAAC,YAAY,aACzB,+BAAI,SAAS,EAAC,cAAc,YAAE,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,MAAM,GAAM,EAE1D,uBAAC,cAAI,IAAC,SAAS,EAAC,cAAc,EAAC,IAAI,EAAC,aAAa,YAC9C,QAAQ,CAAC,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,oBAAoB,GACtC,IACH,EAEN,uBAAC,QAAQ,KAAG,IACF,GACD,GACP,CACT,CAAA;AACH,CAAC;AApBD,4BAoBC"}
|
|
@@ -1,2 +1,10 @@
|
|
|
1
1
|
import { CarouselProps } from './interfaces.js';
|
|
2
|
-
export declare function
|
|
2
|
+
export declare function useCarousel<T = any>({ id, items, Component, config }: CarouselProps<T>): {
|
|
3
|
+
Carousel: () => import("react/jsx-runtime").JSX.Element;
|
|
4
|
+
Prev: ({ children }: {
|
|
5
|
+
children: React.ReactNode;
|
|
6
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
7
|
+
Next: ({ children }: {
|
|
8
|
+
children: React.ReactNode;
|
|
9
|
+
}) => import("react/jsx-runtime").JSX.Element;
|
|
10
|
+
};
|
|
@@ -33,25 +33,39 @@ var __importStar = (this && this.__importStar) || function (mod) {
|
|
|
33
33
|
__setModuleDefault(result, mod);
|
|
34
34
|
return result;
|
|
35
35
|
};
|
|
36
|
-
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
37
|
-
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
38
|
-
};
|
|
39
36
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
40
|
-
exports.
|
|
37
|
+
exports.useCarousel = void 0;
|
|
41
38
|
var jsx_runtime_1 = require("react/jsx-runtime");
|
|
42
39
|
var ui_1 = require("../../../ui/index.js");
|
|
43
|
-
var
|
|
44
|
-
var
|
|
40
|
+
var swiper_mjs_1 = require("./swiper/react/swiper.mjs");
|
|
41
|
+
var swiper_slide_mjs_1 = require("./swiper/react/swiper-slide.mjs");
|
|
42
|
+
var index_1 = require("./swiper/modules/index.js");
|
|
45
43
|
var S = __importStar(require("./styles.js"));
|
|
46
|
-
function
|
|
47
|
-
var
|
|
48
|
-
|
|
49
|
-
|
|
44
|
+
function useCarousel(_a) {
|
|
45
|
+
var id = _a.id, items = _a.items, Component = _a.Component, config = _a.config;
|
|
46
|
+
var nextUID = 'next' + id;
|
|
47
|
+
var prevUID = 'prev' + id;
|
|
48
|
+
var SwiperLib = swiper_mjs_1.Swiper;
|
|
49
|
+
var SwiperSlideLib = swiper_slide_mjs_1.SwiperSlide;
|
|
50
|
+
function Prev(_a) {
|
|
51
|
+
var children = _a.children;
|
|
52
|
+
return ((0, jsx_runtime_1.jsx)("button", { type: 'button', className: prevUID, children: children }));
|
|
53
|
+
}
|
|
54
|
+
function Next(_a) {
|
|
55
|
+
var children = _a.children;
|
|
56
|
+
return ((0, jsx_runtime_1.jsx)("button", { type: 'button', className: nextUID, children: children }));
|
|
50
57
|
}
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
58
|
+
function Carousel() {
|
|
59
|
+
return ((0, jsx_runtime_1.jsx)(S.Carousel, { children: (0, jsx_runtime_1.jsx)(SwiperLib, __assign({}, config, { modules: [index_1.Pagination, index_1.Autoplay, index_1.Navigation, index_1.Virtual, index_1.EffectFade], navigation: {
|
|
60
|
+
nextEl: '.' + nextUID,
|
|
61
|
+
prevEl: '.' + prevUID,
|
|
62
|
+
}, children: items.map(function (item) { return ((0, jsx_runtime_1.jsx)(SwiperSlideLib, { children: (0, jsx_runtime_1.jsx)(Component, __assign({}, item)) }, item.id || (0, ui_1.uid)(11, true))); }) })) }));
|
|
63
|
+
}
|
|
64
|
+
return {
|
|
65
|
+
Carousel: Carousel,
|
|
66
|
+
Prev: Prev,
|
|
67
|
+
Next: Next,
|
|
68
|
+
};
|
|
55
69
|
}
|
|
56
|
-
exports.
|
|
70
|
+
exports.useCarousel = useCarousel;
|
|
57
71
|
//# sourceMappingURL=index.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/carousel/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../src/ui/components/carousel/index.tsx"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,2BAA0B;AAE1B,wDAAkD;AAClD,oEAA6D;AAE7D,gDAA8F;AAI9F,0CAA6B;AAE7B,SAAgB,WAAW,CAAU,EAAkD;QAAhD,EAAE,QAAA,EAAE,KAAK,WAAA,EAAE,SAAS,eAAA,EAAE,MAAM,YAAA;IACjE,IAAM,OAAO,GAAG,MAAM,GAAG,EAAE,CAAA;IAC3B,IAAM,OAAO,GAAG,MAAM,GAAG,EAAE,CAAA;IAE3B,IAAM,SAAS,GAAG,mBAAa,CAAA;IAC/B,IAAM,cAAc,GAAG,8BAAkB,CAAA;IAEzC,SAAS,IAAI,CAAC,EAA2C;YAAzC,QAAQ,cAAA;QACtB,OAAO,CACL,mCAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAE,OAAO,YACrC,QAAQ,GACF,CACV,CAAA;IACH,CAAC;IAED,SAAS,IAAI,CAAC,EAA2C;YAAzC,QAAQ,cAAA;QACtB,OAAO,CACL,mCAAQ,IAAI,EAAC,QAAQ,EAAC,SAAS,EAAE,OAAO,YACrC,QAAQ,GACF,CACV,CAAA;IACH,CAAC;IAED,SAAS,QAAQ;QACf,OAAO,CACL,uBAAC,CAAC,CAAC,QAAQ,cACT,uBAAC,SAAS,eACJ,MAAM,IACV,OAAO,EAAE,CAAC,kBAAU,EAAE,gBAAQ,EAAE,kBAAU,EAAE,eAAO,EAAE,kBAAU,CAAC,EAChE,UAAU,EAAE;oBACV,MAAM,EAAE,GAAG,GAAG,OAAO;oBACrB,MAAM,EAAE,GAAG,GAAG,OAAO;iBACtB,YAEA,KAAK,CAAC,GAAG,CAAC,UAAC,IAAI,IAAK,OAAA,CACnB,uBAAC,cAAc,cACb,uBAAC,SAAS,eAAK,IAAI,EAAI,IADH,IAAY,CAAC,EAAE,IAAI,IAAA,QAAG,EAAC,EAAE,EAAE,IAAI,CAAC,CAErC,CAClB,EAJoB,CAIpB,CAAC,IACQ,GACD,CACd,CAAA;IACH,CAAC;IAED,OAAO;QACL,QAAQ,UAAA;QACR,IAAI,MAAA;QACJ,IAAI,MAAA;KACL,CAAA;AACH,CAAC;AAjDD,kCAiDC"}
|
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
import { SwiperProps } from
|
|
2
|
+
import { SwiperProps } from "./swiper/swiper-react";
|
|
3
3
|
export interface CarouselProps<T = any> {
|
|
4
|
+
id: string;
|
|
4
5
|
items: T[];
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
nextButtonClassName?: string;
|
|
8
|
-
SlideComponent: React.ComponentType<T>;
|
|
6
|
+
config?: SwiperProps;
|
|
7
|
+
Component: React.ComponentType<T>;
|
|
9
8
|
}
|
|
@@ -9,6 +9,6 @@ var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
|
9
9
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
10
10
|
exports.Carousel = void 0;
|
|
11
11
|
var styled_components_1 = __importDefault(require("styled-components"));
|
|
12
|
-
exports.Carousel = (0, styled_components_1.default)("div")(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n .swiper-fade.swiper-free-mode .swiper-slide {\n transition-timing-function: ease-out;\n}\n.swiper-fade .swiper-slide {\n pointer-events: none;\n transition-property: opacity;\n}\n.swiper-fade .swiper-slide .swiper-slide {\n pointer-events: none;\n}\n.swiper-fade .swiper-slide-active {\n pointer-events: auto;\n}\n.swiper-fade .swiper-slide-active .swiper-slide-active {\n pointer-events: auto;\n}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}\n:root {\n --swiper-navigation-size: 44px;\n /*\n --swiper-navigation-top-offset: 50%;\n --swiper-navigation-sides-offset: 10px;\n --swiper-navigation-color: var(--swiper-theme-color);\n */\n}\n.swiper-button-prev,\n.swiper-button-next {\n position: absolute;\n top: var(--swiper-navigation-top-offset, 50%);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n.swiper-button-prev.swiper-button-disabled,\n.swiper-button-next.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n.swiper-button-prev.swiper-button-hidden,\n.swiper-button-next.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n.swiper-navigation-disabled .swiper-button-prev,\n.swiper-navigation-disabled .swiper-button-next {\n display: none !important;\n}\n.swiper-button-prev svg,\n.swiper-button-next svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n transform-origin: center;\n}\n.swiper-rtl .swiper-button-prev svg,\n.swiper-rtl .swiper-button-next svg {\n transform: rotate(180deg);\n}\n.swiper-button-prev,\n.swiper-rtl .swiper-button-next {\n left: var(--swiper-navigation-sides-offset, 10px);\n right: auto;\n}\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.swiper-button-lock {\n display: none;\n}\n/* Navigation font start */\n.swiper-button-prev:after,\n.swiper-button-next:after {\n font-family: swiper-icons;\n font-size: var(--swiper-navigation-size);\n text-transform: none !important;\n letter-spacing: 0;\n font-variant: initial;\n line-height: 1;\n}\n.swiper-button-prev:after,\n.swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.swiper-button-next:after,\n.swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n/* Navigation font end */\n\n@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eA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dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.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);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.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-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{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,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(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,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n"], ["\n .swiper-fade.swiper-free-mode .swiper-slide {\n transition-timing-function: ease-out;\n}\n.swiper-fade .swiper-slide {\n pointer-events: none;\n transition-property: opacity;\n}\n.swiper-fade .swiper-slide .swiper-slide {\n pointer-events: none;\n}\n.swiper-fade .swiper-slide-active {\n pointer-events: auto;\n}\n.swiper-fade .swiper-slide-active .swiper-slide-active {\n pointer-events: auto;\n}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}\n:root {\n --swiper-navigation-size: 44px;\n /*\n --swiper-navigation-top-offset: 50%;\n --swiper-navigation-sides-offset: 10px;\n --swiper-navigation-color: var(--swiper-theme-color);\n */\n}\n.swiper-button-prev,\n.swiper-button-next {\n position: absolute;\n top: var(--swiper-navigation-top-offset, 50%);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n.swiper-button-prev.swiper-button-disabled,\n.swiper-button-next.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n.swiper-button-prev.swiper-button-hidden,\n.swiper-button-next.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n.swiper-navigation-disabled .swiper-button-prev,\n.swiper-navigation-disabled .swiper-button-next {\n display: none !important;\n}\n.swiper-button-prev svg,\n.swiper-button-next svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n transform-origin: center;\n}\n.swiper-rtl .swiper-button-prev svg,\n.swiper-rtl .swiper-button-next svg {\n transform: rotate(180deg);\n}\n.swiper-button-prev,\n.swiper-rtl .swiper-button-next {\n left: var(--swiper-navigation-sides-offset, 10px);\n right: auto;\n}\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.swiper-button-lock {\n display: none;\n}\n/* Navigation font start */\n.swiper-button-prev:after,\n.swiper-button-next:after {\n font-family: swiper-icons;\n font-size: var(--swiper-navigation-size);\n text-transform: none !important;\n letter-spacing: 0;\n font-variant: initial;\n line-height: 1;\n}\n.swiper-button-prev:after,\n.swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.swiper-button-next:after,\n.swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n/* Navigation font end */\n\n@font-face{font-family:swiper-icons;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+AEgAUgBcAGYAcAB6AIQAjgCYAKIArAC2AMAAygDUAN4A6ADyAPwBBg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PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.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);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.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-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{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,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(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,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n"])));
|
|
12
|
+
exports.Carousel = (0, styled_components_1.default)("div")(templateObject_1 || (templateObject_1 = __makeTemplateObject(["\n\n\n .swiper-fade.swiper-free-mode .swiper-slide {\n transition-timing-function: ease-out;\n}\n.swiper-fade .swiper-slide {\n pointer-events: none;\n transition-property: opacity;\n}\n.swiper-fade .swiper-slide .swiper-slide {\n pointer-events: none;\n}\n.swiper-fade .swiper-slide-active {\n pointer-events: auto;\n}\n.swiper-fade .swiper-slide-active .swiper-slide-active {\n pointer-events: auto;\n}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}\n:root {\n --swiper-navigation-size: 44px;\n /*\n --swiper-navigation-top-offset: 50%;\n --swiper-navigation-sides-offset: 10px;\n --swiper-navigation-color: var(--swiper-theme-color);\n */\n}\n.swiper-button-prev,\n.swiper-button-next {\n position: absolute;\n top: var(--swiper-navigation-top-offset, 50%);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n.swiper-button-prev.swiper-button-disabled,\n.swiper-button-next.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n.swiper-button-prev.swiper-button-hidden,\n.swiper-button-next.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n.swiper-navigation-disabled .swiper-button-prev,\n.swiper-navigation-disabled .swiper-button-next {\n display: none !important;\n}\n.swiper-button-prev svg,\n.swiper-button-next svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n transform-origin: center;\n}\n.swiper-rtl .swiper-button-prev svg,\n.swiper-rtl .swiper-button-next svg {\n transform: rotate(180deg);\n}\n.swiper-button-prev,\n.swiper-rtl .swiper-button-next {\n left: var(--swiper-navigation-sides-offset, 10px);\n right: auto;\n}\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.swiper-button-lock {\n display: none;\n}\n/* Navigation font start */\n.swiper-button-prev:after,\n.swiper-button-next:after {\n font-family: swiper-icons;\n font-size: var(--swiper-navigation-size);\n text-transform: none !important;\n letter-spacing: 0;\n font-variant: initial;\n line-height: 1;\n}\n.swiper-button-prev:after,\n.swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.swiper-button-next:after,\n.swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n/* Navigation font end */\n\n@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAAFAAAABm2fPczU9TLzIAAAHcAAAASgAAAGBP9V5RY21hcAAAAkQAAACIAAABYt6F0cBjdnQgAAACzAAAAAQAAAAEABEBRGdhc3AAAAWYAAAACAAAAAj//wADZ2x5ZgAAAywAAADMAAAD2MHtryVoZWFkAAABbAAAADAAAAA2E2+eoWhoZWEAAAGcAAAAHwAAACQC9gDzaG10eAAAAigAAAAZAAAArgJkABFsb2NhAAAC0AAAAFoAAABaFQAUGG1heHAAAAG8AAAAHwAAACAAcABAbmFtZQAAA/gAAAE5AAACXvFdBwlwb3N0AAAFNAAAAGIAAACE5s74hXjaY2BkYGAAYpf5Hu/j+W2+MnAzMYDAzaX6QjD6/4//Bxj5GA8AuRwMYGkAPywL13jaY2BkYGA88P8Agx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J+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.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);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.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-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{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,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(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,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n"], ["\n\n\n .swiper-fade.swiper-free-mode .swiper-slide {\n transition-timing-function: ease-out;\n}\n.swiper-fade .swiper-slide {\n pointer-events: none;\n transition-property: opacity;\n}\n.swiper-fade .swiper-slide .swiper-slide {\n pointer-events: none;\n}\n.swiper-fade .swiper-slide-active {\n pointer-events: auto;\n}\n.swiper-fade .swiper-slide-active .swiper-slide-active {\n pointer-events: auto;\n}.swiper-free-mode>.swiper-wrapper{transition-timing-function:ease-out;margin:0 auto}\n:root {\n --swiper-navigation-size: 44px;\n /*\n --swiper-navigation-top-offset: 50%;\n --swiper-navigation-sides-offset: 10px;\n --swiper-navigation-color: var(--swiper-theme-color);\n */\n}\n.swiper-button-prev,\n.swiper-button-next {\n position: absolute;\n top: var(--swiper-navigation-top-offset, 50%);\n width: calc(var(--swiper-navigation-size) / 44 * 27);\n height: var(--swiper-navigation-size);\n margin-top: calc(0px - (var(--swiper-navigation-size) / 2));\n z-index: 10;\n cursor: pointer;\n display: flex;\n align-items: center;\n justify-content: center;\n color: var(--swiper-navigation-color, var(--swiper-theme-color));\n}\n.swiper-button-prev.swiper-button-disabled,\n.swiper-button-next.swiper-button-disabled {\n opacity: 0.35;\n cursor: auto;\n pointer-events: none;\n}\n.swiper-button-prev.swiper-button-hidden,\n.swiper-button-next.swiper-button-hidden {\n opacity: 0;\n cursor: auto;\n pointer-events: none;\n}\n.swiper-navigation-disabled .swiper-button-prev,\n.swiper-navigation-disabled .swiper-button-next {\n display: none !important;\n}\n.swiper-button-prev svg,\n.swiper-button-next svg {\n width: 100%;\n height: 100%;\n object-fit: contain;\n transform-origin: center;\n}\n.swiper-rtl .swiper-button-prev svg,\n.swiper-rtl .swiper-button-next svg {\n transform: rotate(180deg);\n}\n.swiper-button-prev,\n.swiper-rtl .swiper-button-next {\n left: var(--swiper-navigation-sides-offset, 10px);\n right: auto;\n}\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.swiper-button-lock {\n display: none;\n}\n/* Navigation font start */\n.swiper-button-prev:after,\n.swiper-button-next:after {\n font-family: swiper-icons;\n font-size: var(--swiper-navigation-size);\n text-transform: none !important;\n letter-spacing: 0;\n font-variant: initial;\n line-height: 1;\n}\n.swiper-button-prev:after,\n.swiper-rtl .swiper-button-next:after {\n content: 'prev';\n}\n.swiper-button-next,\n.swiper-rtl .swiper-button-prev {\n right: var(--swiper-navigation-sides-offset, 10px);\n left: auto;\n}\n.swiper-button-next:after,\n.swiper-rtl .swiper-button-prev:after {\n content: 'next';\n}\n/* Navigation font end */\n\n@font-face{font-family:swiper-icons;src:url('data:application/font-woff;charset=utf-8;base64, d09GRgABAAAAAAZgABAAAAAADAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABGRlRNAAAGRAAAABoAAAAci6qHkUdERUYAAAWgAAAAIwAAACQAYABXR1BPUwAABhQAAAAuAAAANuAY7+xHU1VCAAAFxAAAA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NiezsfnP/uznmfPFBNODM2K7MTQ45YEAZqGP81AmGGcF3iPqOop0r1SPTaTbVkfUe4HXj97wYE+yNwWYxwWu4v1ugWHgo3S1XdZEVqWM7ET0cfnLGxWfkgR42o2PvWrDMBSFj/IHLaF0zKjRgdiVMwScNRAoWUoH78Y2icB/yIY09An6AH2Bdu/UB+yxopYshQiEvnvu0dURgDt8QeC8PDw7Fpji3fEA4z/PEJ6YOB5hKh4dj3EvXhxPqH/SKUY3rJ7srZ4FZnh1PMAtPhwP6fl2PMJMPDgeQ4rY8YT6Gzao0eAEA409DuggmTnFnOcSCiEiLMgxCiTI6Cq5DZUd3Qmp10vO0LaLTd2cjN4fOumlc7lUYbSQcZFkutRG7g6JKZKy0RmdLY680CDnEJ+UMkpFFe1RN7nxdVpXrC4aTtnaurOnYercZg2YVmLN/d/gczfEimrE/fs/bOuq29Zmn8tloORaXgZgGa78yO9/cnXm2BpaGvq25Dv9S4E9+5SIc9PqupJKhYFSSl47+Qcr1mYNAAAAeNptw0cKwkAAAMDZJA8Q7OUJvkLsPfZ6zFVERPy8qHh2YER+3i/BP83vIBLLySsoKimrqKqpa2hp6+jq6RsYGhmbmJqZSy0sraxtbO3sHRydnEMU4uR6yx7JJXveP7WrDycAAAAAAAH//wACeNpjYGRgYOABYhkgZgJCZgZNBkYGLQZtIJsFLMYAAAw3ALgAeNolizEKgDAQBCchRbC2sFER0YD6qVQiBCv/H9ezGI6Z5XBAw8CBK/m5iQQVauVbXLnOrMZv2oLdKFa8Pjuru2hJzGabmOSLzNMzvutpB3N42mNgZGBg4GKQYzBhYMxJLMlj4GBgAYow/P/PAJJhLM6sSoWKfWCAAwDAjgbRAAB42mNgYGBkAIIbCZo5IPrmUn0hGA0AO8EFTQAA');font-weight:400;font-style:normal}:root{--swiper-theme-color:#007aff}:host{position:relative;display:block;margin-left:auto;margin-right:auto;z-index:1}.swiper{margin-left:auto;margin-right:auto;position:relative;overflow:hidden;list-style:none;padding:0;z-index:1;display:block}.swiper-vertical>.swiper-wrapper{flex-direction:column}.swiper-wrapper{position:relative;width:100%;height:100%;z-index:1;display:flex;transition-property:transform;transition-timing-function:var(--swiper-wrapper-transition-timing-function,initial);box-sizing:content-box}.swiper-android .swiper-slide,.swiper-ios .swiper-slide,.swiper-wrapper{transform:translate3d(0px,0,0)}.swiper-horizontal{touch-action:pan-y}.swiper-vertical{touch-action:pan-x}.swiper-slide{flex-shrink:0;width:100%;height:100%;position:relative;transition-property:transform;display:block}.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);-webkit-backface-visibility:hidden;backface-visibility:hidden}.swiper-3d.swiper-css-mode .swiper-wrapper{perspective:1200px}.swiper-3d .swiper-wrapper{transform-style:preserve-3d}.swiper-3d{perspective:1200px}.swiper-3d .swiper-cube-shadow,.swiper-3d .swiper-slide{transform-style:preserve-3d}.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-css-mode.swiper-horizontal>.swiper-wrapper{scroll-snap-type:x mandatory}.swiper-css-mode.swiper-vertical>.swiper-wrapper{scroll-snap-type:y mandatory}.swiper-css-mode.swiper-free-mode>.swiper-wrapper{scroll-snap-type:none}.swiper-css-mode.swiper-free-mode>.swiper-wrapper>.swiper-slide{scroll-snap-align:none}.swiper-css-mode.swiper-centered>.swiper-wrapper::before{content:'';flex-shrink:0;order:9999}.swiper-css-mode.swiper-centered>.swiper-wrapper>.swiper-slide{scroll-snap-align:center center;scroll-snap-stop:always}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper>.swiper-slide:first-child{margin-inline-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-horizontal>.swiper-wrapper::before{height:100%;min-height:1px;width:var(--swiper-centered-offset-after)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper>.swiper-slide:first-child{margin-block-start:var(--swiper-centered-offset-before)}.swiper-css-mode.swiper-centered.swiper-vertical>.swiper-wrapper::before{width:100%;min-width:1px;height:var(--swiper-centered-offset-after)}.swiper-3d .swiper-slide-shadow,.swiper-3d .swiper-slide-shadow-bottom,.swiper-3d .swiper-slide-shadow-left,.swiper-3d .swiper-slide-shadow-right,.swiper-3d .swiper-slide-shadow-top{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,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-right{background-image:linear-gradient(to right,rgba(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,.5),rgba(0,0,0,0))}.swiper-3d .swiper-slide-shadow-bottom{background-image:linear-gradient(to bottom,rgba(0,0,0,.5),rgba(0,0,0,0))}.swiper-lazy-preloader{width:42px;height:42px;position:absolute;left:50%;top:50%;margin-left:-21px;margin-top:-21px;z-index:10;transform-origin:50%;box-sizing:border-box;border:4px solid var(--swiper-preloader-color,var(--swiper-theme-color));border-radius:50%;border-top-color:transparent}.swiper-watch-progress .swiper-slide-visible .swiper-lazy-preloader,.swiper:not(.swiper-watch-progress) .swiper-lazy-preloader{animation:swiper-preloader-spin 1s infinite linear}.swiper-lazy-preloader-white{--swiper-preloader-color:#fff}.swiper-lazy-preloader-black{--swiper-preloader-color:#000}@keyframes swiper-preloader-spin{0%{transform:rotate(0deg)}100%{transform:rotate(360deg)}}\n"])));
|
|
13
13
|
var templateObject_1;
|
|
14
14
|
//# sourceMappingURL=styles.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/ui/components/carousel/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AAE1B,QAAA,QAAQ,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,
|
|
1
|
+
{"version":3,"file":"styles.js","sourceRoot":"","sources":["../../../../src/ui/components/carousel/styles.ts"],"names":[],"mappings":";;;;;;;;;;AAAA,wEAAuC;AAE1B,QAAA,QAAQ,GAAG,IAAA,2BAAM,EAAC,KAAK,CAAC,ukSAAA,ogSA2GpC,KAAA"}
|
|
@@ -0,0 +1,336 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.Autoplay = void 0;
|
|
4
|
+
/* eslint no-underscore-dangle: "off" */
|
|
5
|
+
/* eslint no-use-before-define: "off" */
|
|
6
|
+
var ssr_window_1 = require("ssr-window");
|
|
7
|
+
function Autoplay(_a) {
|
|
8
|
+
var swiper = _a.swiper, extendParams = _a.extendParams, on = _a.on, emit = _a.emit, params = _a.params;
|
|
9
|
+
swiper.autoplay = {
|
|
10
|
+
running: false,
|
|
11
|
+
paused: false,
|
|
12
|
+
timeLeft: 0,
|
|
13
|
+
};
|
|
14
|
+
extendParams({
|
|
15
|
+
autoplay: {
|
|
16
|
+
enabled: false,
|
|
17
|
+
delay: 3000,
|
|
18
|
+
waitForTransition: true,
|
|
19
|
+
disableOnInteraction: false,
|
|
20
|
+
stopOnLastSlide: false,
|
|
21
|
+
reverseDirection: false,
|
|
22
|
+
pauseOnMouseEnter: false,
|
|
23
|
+
},
|
|
24
|
+
});
|
|
25
|
+
var timeout;
|
|
26
|
+
var raf;
|
|
27
|
+
var autoplayDelayTotal = params && params.autoplay ? params.autoplay.delay : 3000;
|
|
28
|
+
var autoplayDelayCurrent = params && params.autoplay ? params.autoplay.delay : 3000;
|
|
29
|
+
var autoplayTimeLeft;
|
|
30
|
+
var autoplayStartTime = new Date().getTime();
|
|
31
|
+
var wasPaused;
|
|
32
|
+
var isTouched;
|
|
33
|
+
var pausedByTouch;
|
|
34
|
+
var touchStartTimeout;
|
|
35
|
+
var slideChanged;
|
|
36
|
+
var pausedByInteraction;
|
|
37
|
+
var pausedByPointerEnter;
|
|
38
|
+
function onTransitionEnd(e) {
|
|
39
|
+
if (!swiper || swiper.destroyed || !swiper.wrapperEl)
|
|
40
|
+
return;
|
|
41
|
+
if (e.target !== swiper.wrapperEl)
|
|
42
|
+
return;
|
|
43
|
+
swiper.wrapperEl.removeEventListener('transitionend', onTransitionEnd);
|
|
44
|
+
if (pausedByPointerEnter || (e.detail && e.detail.bySwiperTouchMove)) {
|
|
45
|
+
return;
|
|
46
|
+
}
|
|
47
|
+
resume();
|
|
48
|
+
}
|
|
49
|
+
var calcTimeLeft = function () {
|
|
50
|
+
if (swiper.destroyed || !swiper.autoplay.running)
|
|
51
|
+
return;
|
|
52
|
+
if (swiper.autoplay.paused) {
|
|
53
|
+
wasPaused = true;
|
|
54
|
+
}
|
|
55
|
+
else if (wasPaused) {
|
|
56
|
+
autoplayDelayCurrent = autoplayTimeLeft;
|
|
57
|
+
wasPaused = false;
|
|
58
|
+
}
|
|
59
|
+
var timeLeft = swiper.autoplay.paused
|
|
60
|
+
? autoplayTimeLeft
|
|
61
|
+
: autoplayStartTime + autoplayDelayCurrent - new Date().getTime();
|
|
62
|
+
swiper.autoplay.timeLeft = timeLeft;
|
|
63
|
+
emit('autoplayTimeLeft', timeLeft, timeLeft / autoplayDelayTotal);
|
|
64
|
+
raf = requestAnimationFrame(function () {
|
|
65
|
+
calcTimeLeft();
|
|
66
|
+
});
|
|
67
|
+
};
|
|
68
|
+
var getSlideDelay = function () {
|
|
69
|
+
var activeSlideEl;
|
|
70
|
+
if (swiper.virtual && swiper.params.virtual.enabled) {
|
|
71
|
+
activeSlideEl = swiper.slides.filter(function (slideEl) {
|
|
72
|
+
return slideEl.classList.contains('swiper-slide-active');
|
|
73
|
+
})[0];
|
|
74
|
+
}
|
|
75
|
+
else {
|
|
76
|
+
activeSlideEl = swiper.slides[swiper.activeIndex];
|
|
77
|
+
}
|
|
78
|
+
if (!activeSlideEl)
|
|
79
|
+
return undefined;
|
|
80
|
+
var currentSlideDelay = parseInt(activeSlideEl.getAttribute('data-swiper-autoplay'), 10);
|
|
81
|
+
return currentSlideDelay;
|
|
82
|
+
};
|
|
83
|
+
var run = function (delayForce) {
|
|
84
|
+
if (swiper.destroyed || !swiper.autoplay.running)
|
|
85
|
+
return;
|
|
86
|
+
cancelAnimationFrame(raf);
|
|
87
|
+
calcTimeLeft();
|
|
88
|
+
var delay = typeof delayForce === 'undefined' ? swiper.params.autoplay.delay : delayForce;
|
|
89
|
+
autoplayDelayTotal = swiper.params.autoplay.delay;
|
|
90
|
+
autoplayDelayCurrent = swiper.params.autoplay.delay;
|
|
91
|
+
var currentSlideDelay = getSlideDelay();
|
|
92
|
+
if (!Number.isNaN(currentSlideDelay) &&
|
|
93
|
+
currentSlideDelay > 0 &&
|
|
94
|
+
typeof delayForce === 'undefined') {
|
|
95
|
+
delay = currentSlideDelay;
|
|
96
|
+
autoplayDelayTotal = currentSlideDelay;
|
|
97
|
+
autoplayDelayCurrent = currentSlideDelay;
|
|
98
|
+
}
|
|
99
|
+
autoplayTimeLeft = delay;
|
|
100
|
+
var speed = swiper.params.speed;
|
|
101
|
+
var proceed = function () {
|
|
102
|
+
if (!swiper || swiper.destroyed)
|
|
103
|
+
return;
|
|
104
|
+
if (swiper.params.autoplay.reverseDirection) {
|
|
105
|
+
if (!swiper.isBeginning || swiper.params.loop || swiper.params.rewind) {
|
|
106
|
+
swiper.slidePrev(speed, true, true);
|
|
107
|
+
emit('autoplay');
|
|
108
|
+
}
|
|
109
|
+
else if (!swiper.params.autoplay.stopOnLastSlide) {
|
|
110
|
+
swiper.slideTo(swiper.slides.length - 1, speed, true, true);
|
|
111
|
+
emit('autoplay');
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
else {
|
|
115
|
+
if (!swiper.isEnd || swiper.params.loop || swiper.params.rewind) {
|
|
116
|
+
swiper.slideNext(speed, true, true);
|
|
117
|
+
emit('autoplay');
|
|
118
|
+
}
|
|
119
|
+
else if (!swiper.params.autoplay.stopOnLastSlide) {
|
|
120
|
+
swiper.slideTo(0, speed, true, true);
|
|
121
|
+
emit('autoplay');
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
if (swiper.params.cssMode) {
|
|
125
|
+
autoplayStartTime = new Date().getTime();
|
|
126
|
+
requestAnimationFrame(function () {
|
|
127
|
+
run(undefined);
|
|
128
|
+
});
|
|
129
|
+
}
|
|
130
|
+
};
|
|
131
|
+
if (delay > 0) {
|
|
132
|
+
clearTimeout(timeout);
|
|
133
|
+
timeout = setTimeout(function () {
|
|
134
|
+
proceed();
|
|
135
|
+
}, delay);
|
|
136
|
+
}
|
|
137
|
+
else {
|
|
138
|
+
requestAnimationFrame(function () {
|
|
139
|
+
proceed();
|
|
140
|
+
});
|
|
141
|
+
}
|
|
142
|
+
// eslint-disable-next-line
|
|
143
|
+
return delay;
|
|
144
|
+
};
|
|
145
|
+
var start = function () {
|
|
146
|
+
autoplayStartTime = new Date().getTime();
|
|
147
|
+
swiper.autoplay.running = true;
|
|
148
|
+
run(undefined);
|
|
149
|
+
emit('autoplayStart');
|
|
150
|
+
};
|
|
151
|
+
var stop = function () {
|
|
152
|
+
swiper.autoplay.running = false;
|
|
153
|
+
clearTimeout(timeout);
|
|
154
|
+
cancelAnimationFrame(raf);
|
|
155
|
+
emit('autoplayStop');
|
|
156
|
+
};
|
|
157
|
+
var pause = function (internal, reset) {
|
|
158
|
+
if (swiper.destroyed || !swiper.autoplay.running)
|
|
159
|
+
return;
|
|
160
|
+
clearTimeout(timeout);
|
|
161
|
+
if (!internal) {
|
|
162
|
+
pausedByInteraction = true;
|
|
163
|
+
}
|
|
164
|
+
var proceed = function () {
|
|
165
|
+
emit('autoplayPause');
|
|
166
|
+
if (swiper.params.autoplay.waitForTransition) {
|
|
167
|
+
swiper.wrapperEl.addEventListener('transitionend', onTransitionEnd);
|
|
168
|
+
}
|
|
169
|
+
else {
|
|
170
|
+
resume();
|
|
171
|
+
}
|
|
172
|
+
};
|
|
173
|
+
swiper.autoplay.paused = true;
|
|
174
|
+
if (reset) {
|
|
175
|
+
if (slideChanged) {
|
|
176
|
+
autoplayTimeLeft = swiper.params.autoplay.delay;
|
|
177
|
+
}
|
|
178
|
+
slideChanged = false;
|
|
179
|
+
proceed();
|
|
180
|
+
return;
|
|
181
|
+
}
|
|
182
|
+
var delay = autoplayTimeLeft || swiper.params.autoplay.delay;
|
|
183
|
+
autoplayTimeLeft = delay - (new Date().getTime() - autoplayStartTime);
|
|
184
|
+
if (swiper.isEnd && autoplayTimeLeft < 0 && !swiper.params.loop)
|
|
185
|
+
return;
|
|
186
|
+
if (autoplayTimeLeft < 0)
|
|
187
|
+
autoplayTimeLeft = 0;
|
|
188
|
+
proceed();
|
|
189
|
+
};
|
|
190
|
+
var resume = function () {
|
|
191
|
+
if ((swiper.isEnd && autoplayTimeLeft < 0 && !swiper.params.loop) ||
|
|
192
|
+
swiper.destroyed ||
|
|
193
|
+
!swiper.autoplay.running)
|
|
194
|
+
return;
|
|
195
|
+
autoplayStartTime = new Date().getTime();
|
|
196
|
+
if (pausedByInteraction) {
|
|
197
|
+
pausedByInteraction = false;
|
|
198
|
+
run(autoplayTimeLeft);
|
|
199
|
+
}
|
|
200
|
+
else {
|
|
201
|
+
run(undefined);
|
|
202
|
+
}
|
|
203
|
+
swiper.autoplay.paused = false;
|
|
204
|
+
emit('autoplayResume');
|
|
205
|
+
};
|
|
206
|
+
var onVisibilityChange = function () {
|
|
207
|
+
if (swiper.destroyed || !swiper.autoplay.running)
|
|
208
|
+
return;
|
|
209
|
+
var document = (0, ssr_window_1.getDocument)();
|
|
210
|
+
if (document.visibilityState === 'hidden') {
|
|
211
|
+
pausedByInteraction = true;
|
|
212
|
+
pause(true, undefined);
|
|
213
|
+
}
|
|
214
|
+
if (document.visibilityState === 'visible') {
|
|
215
|
+
resume();
|
|
216
|
+
}
|
|
217
|
+
};
|
|
218
|
+
var onPointerEnter = function (e) {
|
|
219
|
+
if (e.pointerType !== 'mouse')
|
|
220
|
+
return;
|
|
221
|
+
pausedByInteraction = true;
|
|
222
|
+
pausedByPointerEnter = true;
|
|
223
|
+
if (swiper.animating || swiper.autoplay.paused)
|
|
224
|
+
return;
|
|
225
|
+
pause(true, undefined);
|
|
226
|
+
};
|
|
227
|
+
var onPointerLeave = function (e) {
|
|
228
|
+
if (e.pointerType !== 'mouse')
|
|
229
|
+
return;
|
|
230
|
+
pausedByPointerEnter = false;
|
|
231
|
+
if (swiper.autoplay.paused) {
|
|
232
|
+
resume();
|
|
233
|
+
}
|
|
234
|
+
};
|
|
235
|
+
var attachMouseEvents = function () {
|
|
236
|
+
if (swiper.params.autoplay.pauseOnMouseEnter) {
|
|
237
|
+
swiper.el.addEventListener('pointerenter', onPointerEnter);
|
|
238
|
+
swiper.el.addEventListener('pointerleave', onPointerLeave);
|
|
239
|
+
}
|
|
240
|
+
};
|
|
241
|
+
var detachMouseEvents = function () {
|
|
242
|
+
if (swiper.el && typeof swiper.el !== 'string') {
|
|
243
|
+
swiper.el.removeEventListener('pointerenter', onPointerEnter);
|
|
244
|
+
swiper.el.removeEventListener('pointerleave', onPointerLeave);
|
|
245
|
+
}
|
|
246
|
+
};
|
|
247
|
+
var attachDocumentEvents = function () {
|
|
248
|
+
var document = (0, ssr_window_1.getDocument)();
|
|
249
|
+
document.addEventListener('visibilitychange', onVisibilityChange);
|
|
250
|
+
};
|
|
251
|
+
var detachDocumentEvents = function () {
|
|
252
|
+
var document = (0, ssr_window_1.getDocument)();
|
|
253
|
+
document.removeEventListener('visibilitychange', onVisibilityChange);
|
|
254
|
+
};
|
|
255
|
+
on('init', function () {
|
|
256
|
+
if (swiper.params.autoplay.enabled) {
|
|
257
|
+
attachMouseEvents();
|
|
258
|
+
attachDocumentEvents();
|
|
259
|
+
start();
|
|
260
|
+
}
|
|
261
|
+
});
|
|
262
|
+
on('destroy', function () {
|
|
263
|
+
detachMouseEvents();
|
|
264
|
+
detachDocumentEvents();
|
|
265
|
+
if (swiper.autoplay.running) {
|
|
266
|
+
stop();
|
|
267
|
+
}
|
|
268
|
+
});
|
|
269
|
+
on('_freeModeStaticRelease', function () {
|
|
270
|
+
if (pausedByTouch || pausedByInteraction) {
|
|
271
|
+
resume();
|
|
272
|
+
}
|
|
273
|
+
});
|
|
274
|
+
on('_freeModeNoMomentumRelease', function () {
|
|
275
|
+
if (!swiper.params.autoplay.disableOnInteraction) {
|
|
276
|
+
pause(true, true);
|
|
277
|
+
}
|
|
278
|
+
else {
|
|
279
|
+
stop();
|
|
280
|
+
}
|
|
281
|
+
});
|
|
282
|
+
on('beforeTransitionStart', function (_s, speed, internal) {
|
|
283
|
+
if (swiper.destroyed || !swiper.autoplay.running)
|
|
284
|
+
return;
|
|
285
|
+
if (internal || !swiper.params.autoplay.disableOnInteraction) {
|
|
286
|
+
pause(true, true);
|
|
287
|
+
}
|
|
288
|
+
else {
|
|
289
|
+
stop();
|
|
290
|
+
}
|
|
291
|
+
});
|
|
292
|
+
on('sliderFirstMove', function () {
|
|
293
|
+
if (swiper.destroyed || !swiper.autoplay.running)
|
|
294
|
+
return;
|
|
295
|
+
if (swiper.params.autoplay.disableOnInteraction) {
|
|
296
|
+
stop();
|
|
297
|
+
return;
|
|
298
|
+
}
|
|
299
|
+
isTouched = true;
|
|
300
|
+
pausedByTouch = false;
|
|
301
|
+
pausedByInteraction = false;
|
|
302
|
+
touchStartTimeout = setTimeout(function () {
|
|
303
|
+
pausedByInteraction = true;
|
|
304
|
+
pausedByTouch = true;
|
|
305
|
+
pause(true, undefined);
|
|
306
|
+
}, 200);
|
|
307
|
+
});
|
|
308
|
+
on('touchEnd', function () {
|
|
309
|
+
if (swiper.destroyed || !swiper.autoplay.running || !isTouched)
|
|
310
|
+
return;
|
|
311
|
+
clearTimeout(touchStartTimeout);
|
|
312
|
+
clearTimeout(timeout);
|
|
313
|
+
if (swiper.params.autoplay.disableOnInteraction) {
|
|
314
|
+
pausedByTouch = false;
|
|
315
|
+
isTouched = false;
|
|
316
|
+
return;
|
|
317
|
+
}
|
|
318
|
+
if (pausedByTouch && swiper.params.cssMode)
|
|
319
|
+
resume();
|
|
320
|
+
pausedByTouch = false;
|
|
321
|
+
isTouched = false;
|
|
322
|
+
});
|
|
323
|
+
on('slideChange', function () {
|
|
324
|
+
if (swiper.destroyed || !swiper.autoplay.running)
|
|
325
|
+
return;
|
|
326
|
+
slideChanged = true;
|
|
327
|
+
});
|
|
328
|
+
Object.assign(swiper.autoplay, {
|
|
329
|
+
start: start,
|
|
330
|
+
stop: stop,
|
|
331
|
+
pause: pause,
|
|
332
|
+
resume: resume,
|
|
333
|
+
});
|
|
334
|
+
}
|
|
335
|
+
exports.Autoplay = Autoplay;
|
|
336
|
+
//# sourceMappingURL=autoplay.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"autoplay.js","sourceRoot":"","sources":["../../../../../../src/ui/components/carousel/swiper/modules/autoplay.tsx"],"names":[],"mappings":";;;AAAA,wCAAwC;AACxC,wCAAwC;AACxC,yCAAyC;AAEzC,SAAgB,QAAQ,CAAC,EAA0C;QAAxC,MAAM,YAAA,EAAE,YAAY,kBAAA,EAAE,EAAE,QAAA,EAAE,IAAI,UAAA,EAAE,MAAM,YAAA;IAC/D,MAAM,CAAC,QAAQ,GAAG;QAChB,OAAO,EAAE,KAAK;QACd,MAAM,EAAE,KAAK;QACb,QAAQ,EAAE,CAAC;KACZ,CAAC;IAEF,YAAY,CAAC;QACX,QAAQ,EAAE;YACR,OAAO,EAAE,KAAK;YACd,KAAK,EAAE,IAAI;YACX,iBAAiB,EAAE,IAAI;YACvB,oBAAoB,EAAE,KAAK;YAC3B,eAAe,EAAE,KAAK;YACtB,gBAAgB,EAAE,KAAK;YACvB,iBAAiB,EAAE,KAAK;SACzB;KACF,CAAC,CAAC;IACH,IAAI,OAAO,CAAC;I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