vendor: 7,060 bytes, lines 1-165
1import { m as l, c as C, S as H, P as k, K as x } from "./chunks/pagination.DLHYxYH6.js"; 2function M(g) { 3 let { 4 swiper: e, 5 extendParams: f, 6 on: d, 7 emit: v 8 } = g; 9 f({ 10 navigation: { 11 nextEl: null, 12 prevEl: null, 13 hideOnClick: !1, 14 disabledClass: "swiper-button-disabled", 15 hiddenClass: "swiper-button-hidden", 16 lockClass: "swiper-button-lock", 17 navigationDisabledClass: "swiper-navigation-disabled" 18 } 19 }), e.navigation = { 20 nextEl: null, 21 prevEl: null 22 }; 23 function E(i) { 24 let a; 25 return i && typeof i == "string" && e.isElement && (a = e.el.querySelector(i) || e.hostEl.querySelector(i), a) ? a : (i && (typeof i == "string" && (a = [...document.querySelectorAll(i)]), e.params.uniqueNavElements && typeof i == "string" && a && a.length > 1 && e.el.querySelectorAll(i).length === 1 ? a = e.el.querySelector(i) : a && a.length === 1 && (a = a[0])), i && !a ? i : a); 26 } 27 function m(i, a) { 28 const t = e.params.navigation; 29 i = l(i), i.forEach((n) => { 30 n && (n.classList[a ? "add" : "remove"](...t.disabledClass.split(" ")), n.tagName === "BUTTON" && (n.disabled = a), e.params.watchOverflow && e.enabled && n.classList[e.isLocked ? "add" : "remove"](t.lockClass)); 31 }); 32 } 33 function p() { 34 const { 35 nextEl: i, 36 prevEl: a 37 } = e.navigation; 38 if (e.params.loop) { 39 m(a, !1), m(i, !1); 40 return; 41 } 42 m(a, e.isBeginning && !e.params.rewind), m(i, e.isEnd && !e.params.rewind); 43 } 44 function h(i) { 45 i.preventDefault(), !(e.isBeginning && !e.params.loop && !e.params.rewind) && (e.slidePrev(), v("navigationPrev")); 46 } 47 function w(i) { 48 i.preventDefault(), !(e.isEnd && !e.params.loop && !e.params.rewind) && (e.slideNext(), v("navigationNext")); 49 } 50 function u() { 51 const i = e.params.navigation; 52 if (e.params.navigation = C(e, e.originalParams.navigation, e.params.navigation, { 53 nextEl: "swiper-button-next", 54 prevEl: "swiper-button-prev" 55 }), !(i.nextEl || i.prevEl)) return; 56 let a = E(i.nextEl), t = E(i.prevEl); 57 Object.assign(e.navigation, { 58 nextEl: a, 59 prevEl: t 60 }), a = l(a), t = l(t); 61 const n = (s, c) => { 62 s && s.addEventListener("click", c === "next" ? w : h), !e.enabled && s && s.classList.add(...i.lockClass.split(" ")); 63 }; 64 a.forEach((s) => n(s, "next")), t.forEach((s) => n(s, "prev")); 65 } 66 function L() { 67 let { 68 nextEl: i, 69 prevEl: a 70 } = e.navigation; 71 i = l(i), a = l(a); 72 const t = (n, s) => { 73 n.removeEventListener("click", s === "next" ? w : h), n.classList.remove(...e.params.navigation.disabledClass.split(" ")); 74 }; 75 i.forEach((n) => t(n, "next")), a.forEach((n) => t(n, "prev")); 76 } 77 d("init", () => { 78 e.params.navigation.enabled === !1 ? V() : (u(), p()); 79 }), d("toEdge fromEdge lock unlock", () => { 80 p(); 81 }), d("destroy", () => { 82 L(); 83 }), d("enable disable", () => { 84 let { 85 nextEl: i, 86 prevEl: a 87 } = e.navigation; 88 if (i = l(i), a = l(a), e.enabled) { 89 p(); 90 return; 91 } 92 [...i, ...a].filter((t) => !!t).forEach((t) => t.classList.add(e.params.navigation.lockClass)); 93 }), d("click", (i, a) => { 94 let { 95 nextEl: t, 96 prevEl: n 97 } = e.navigation; 98 t = l(t), n = l(n); 99 const s = a.target; 100 let c = n.includes(s) || t.includes(s); 101 if (e.isElement && !c) { 102 const r = a.path || a.composedPath && a.composedPath(); 103 r && (c = r.find((o) => t.includes(o) || n.includes(o))); 104 } 105 if (e.params.navigation.hideOnClick && !c) { 106 if (e.pagination && e.params.pagination && e.params.pagination.clickable && (e.pagination.el === s || e.pagination.el.contains(s))) return; 107 let r; 108 t.length ? r = t[0].classList.contains(e.params.navigation.hiddenClass) : n.length && (r = n[0].classList.contains(e.params.navigation.hiddenClass)), v(r === !0 ? "navigationShow" : "navigationHide"), [...t, ...n].filter((o) => !!o).forEach((o) => o.classList.toggle(e.params.navigation.hiddenClass)); 109 } 110 }); 111 const b = () => { 112 e.el.classList.remove(...e.params.navigation.navigationDisabledClass.split(" ")), u(), p(); 113 }, V = () => { 114 e.el.classList.add(...e.params.navigation.navigationDisabledClass.split(" ")), L(); 115 }; 116 Object.assign(e.navigation, { 117 enable: b, 118 disable: V, 119 update: p, 120 init: u, 121 destroy: L 122 }); 123} 124new H(".swiper", { 125 modules: [M, k, x], 126 slidesPerView: 1.1, 127 spaceBetween: 16, 128 rewind: !0, 129 breakpoints: { 130 640: { 131 slidesPerView: 1.8 132 }, 133 760: { 134 slidesPerView: 2.2 135 }, 136 992: { 137 slidesPerView: 2.8 138 }, 139 1300: { 140 slidesPerView: 3.2 141 } 142 }, 143 keyboard: { 144 enabled: !0, 145 onlyInViewport: !0 146 }, 147 pagination: { 148 el: ".swiper-pagination", 149 clickable: !0, 150 renderBullet: function(g, e) { 151 const f = `path-mask-${g}`; 152 return ` 153 <button title="Slide ${g + 1} anzeigen" class="${e}"> 154 <svg xmlns="http://www.w3.org/2000/svg" width="37" height="22" viewBox="0 0 37 22" fill="none" aria-hidden="true"> 155 <mask id="${f}" fill="white"> 156 <path d="M20.5498 0.709961C24.3396 0.930916 27.723 3.22445 29.3184 6.70508L36.0117 21.3086H15.9678V21.2891C12.178 21.0681 8.79456 18.7755 7.19922 15.2949L0.505859 0.691406H20.5498V0.709961Z"/> 157 </mask> 158 <path d="M20.5498 0.709961C24.3396 0.930916 27.723 3.22445 29.3184 6.70508L36.0117 21.3086H15.9678V21.2891C12.178 21.0681 8.79456 18.7755 7.19922 15.2949L0.505859 0.691406H20.5498V0.709961Z" fill="white"/> 159 <path d="M20.5498 0.709961H19.5498V1.65336L20.4916 1.70827L20.5498 0.709961ZM29.3184 6.70508L30.2274 6.28842L30.2274 6.28841L29.3184 6.70508ZM36.0117 21.3086V22.3086H37.5701L36.9208 20.8919L36.0117 21.3086ZM15.9678 21.3086H14.9678V22.3086H15.9678V21.3086ZM15.9678 21.2891H16.9678V20.3457L16.026 20.2908L15.9678 21.2891ZM7.19922 15.2949L6.29016 15.7116L6.29016 15.7116L7.19922 15.2949ZM0.505859 0.691406V-0.308594H-1.05251L-0.403204 1.10807L0.505859 0.691406ZM20.5498 0.691406H21.5498V-0.308594H20.5498V0.691406ZM20.5498 0.709961L20.4916 1.70827C23.9137 1.90778 26.9688 3.97893 28.4093 7.12175L29.3184 6.70508L30.2274 6.28841C28.4772 2.46997 24.7656 -0.0459462 20.608 -0.288344L20.5498 0.709961ZM29.3184 6.70508L28.4093 7.12174L35.1027 21.7253L36.0117 21.3086L36.9208 20.8919L30.2274 6.28842L29.3184 6.70508ZM36.0117 21.3086V20.3086H15.9678V21.3086V22.3086H36.0117V21.3086ZM15.9678 21.3086H16.9678V21.2891H15.9678H14.9678V21.3086H15.9678ZM15.9678 21.2891L16.026 20.2908C12.6038 20.0912 9.54871 18.0209 8.10828 14.8783L7.19922 15.2949L6.29016 15.7116C8.04041 19.5302 11.7521 22.045 15.9096 22.2874L15.9678 21.2891ZM7.19922 15.2949L8.10828 14.8783L1.41492 0.274747L0.505859 0.691406L-0.403204 1.10807L6.29016 15.7116L7.19922 15.2949ZM0.505859 0.691406V1.69141H20.5498V0.691406V-0.308594H0.505859V0.691406ZM20.5498 0.691406H19.5498V0.709961H20.5498H21.5498V0.691406H20.5498Z" fill="#5D8122" mask="url(#${f})"/> 160 </svg> 161 </button> 162 `; 163 } 164 } 165});
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.