2025-05-27 18:35:43 +02:00
|
|
|
!function(){var t={494:function(){!function(t,n){"use strict";"function"!=typeof t.CustomEvent&&(t.CustomEvent=function(t,e){e=e||{bubbles:!1,cancelable:!1,detail:void 0};var i=n.createEvent("CustomEvent");return i.initCustomEvent(t,e.bubbles,e.cancelable,e.detail),i},t.CustomEvent.prototype=t.Event.prototype),n.addEventListener("touchstart",(function(t){if("true"===t.target.getAttribute("data-swipe-ignore"))return;a=t.target,u=Date.now(),e=t.touches[0].clientX,i=t.touches[0].clientY,r=0,o=0,c=t.touches.length}),!1),n.addEventListener("touchmove",(function(t){if(!e||!i)return;var n=t.touches[0].clientX,u=t.touches[0].clientY;r=e-n,o=i-u}),!1),n.addEventListener("touchend",(function(t){if(a!==t.target)return;var l=parseInt(s(a,"data-swipe-threshold","20"),10),f=s(a,"data-swipe-unit","px"),d=parseInt(s(a,"data-swipe-timeout","500"),10),v=Date.now()-u,p="",h=t.changedTouches||t.touches||[];"vh"===f&&(l=Math.round(l/100*n.documentElement.clientHeight));"vw"===f&&(l=Math.round(l/100*n.documentElement.clientWidth));Math.abs(r)>Math.abs(o)?Math.abs(r)>l&&v<d&&(p=r>0?"swiped-left":"swiped-right"):Math.abs(o)>l&&v<d&&(p=o>0?"swiped-up":"swiped-down");if(""!==p){var g={dir:p.replace(/swiped-/,""),touchType:(h[0]||{}).touchType||"direct",fingers:c,xStart:parseInt(e,10),xEnd:parseInt((h[0]||{}).clientX||-1,10),yStart:parseInt(i,10),yEnd:parseInt((h[0]||{}).clientY||-1,10)};a.dispatchEvent(new CustomEvent("swiped",{bubbles:!0,cancelable:!0,detail:g})),a.dispatchEvent(new CustomEvent(p,{bubbles:!0,cancelable:!0,detail:g}))}e=null,i=null,u=null}),!1);var e=null,i=null,r=null,o=null,u=null,a=null,c=0;function s(t,e,i){for(;t&&t!==n.documentElement;){var r=t.getAttribute(e);if(r)return r;t=t.parentNode}return i}}(window,document)}},n={};function e(i){var r=n[i];if(void 0!==r)return r.exports;var o=n[i]={exports:{}};return t[i](o,o.exports,e),o.exports}!function(){"use strict";function t(t,n){for(var e=0;e<n.length;e++){var i=n[e];i.enumerable=i.enumerable||!1,i.configurable=!0,"value"in i&&(i.writable=!0),Object.defineProperty(t,i.key,i)}}var n="(prefers-reduced-motion: reduce)",i={CREATED:1,MOUNTED:2,IDLE:3,MOVING:4,SCROLLING:5,DRAGGING:6,DESTROYED:7};function r(t){t.length=0}function o(t,n,e){return Array.prototype.slice.call(t,n,e)}function u(t){return t.bind.apply(t,[null].concat(o(arguments,1)))}var a=setTimeout,c=function(){};function s(t){return requestAnimationFrame(t)}function l(t,n){return typeof n===t}function f(t){return!g(t)&&l("object",t)}var d=Array.isArray,v=u(l,"function"),p=u(l,"string"),h=u(l,"undefined");function g(t){return null===t}function m(t){try{return t instanceof(t.ownerDocument.defaultView||window).HTMLElement}catch(t){return!1}}function y(t){return d(t)?t:[t]}function b(t,n){y(t).forEach(n)}function w(t,n){return t.indexOf(n)>-1}function E(t,n){return t.push.apply(t,y(n)),t}function x(t,n,e){t&&b(n,(function(n){n&&t.classList[e?"add":"remove"](n)}))}function S(t,n){x(t,p(n)?n.split(" "):n,!0)}function C(t,n){b(n,t.appendChild.bind(t))}function P(t,n){b(t,(function(t){var e=(n||t).parentNode;e&&e.insertBefore(t,n)}))}function k(t,n){return m(t)&&(t.msMatchesSelector||t.matches).call(t,n)}function L(t,n){var e=t?o(t.children):[];return n?e.filter((function(t){return k(t,n)})):e}function _(t,n){return n?L(t,n)[0]:t.firstElementChild}var M=Object.keys;function A(t,n,e){return t&&(e?M(t).reverse():M(t)).forEach((function(e){"__proto__"!==e&&n(t[e],e)})),t}function D(t){return o(arguments,1).forEach((function(n){A(n,(function(e,i){t[i]=n[i]}))})),t}function I(t){return o(arguments,1).forEach((function(n){A(n,(function(n,e){d(n)?t[e]=n.slice():f(n)?t[e]=I({},f(t[e])?t[e]:{},n):t[e]=n}))})),t}function z(t,n){b(n||M(t),(function(n){delete t[n]}))}function N(t,n){b(t,(function(t){b(n,(function(n){t&&t.removeAttribute(n)}))}))}function T(t,n,e){f(n)?A(n,(function(n,e){T(t,e,n)})):b(t,(function(t){g(e)||""===e?N(t,n):t.setAttribute(n,String(e))}))}function O(t,n,e){var i=document.createElement(t);return n&&(p(n)?S(i,n):T(i,n)),e&&C(e,i),i}function F(t,n,e){if(h(e))return getComputedStyle(t)[n];g(e)||(t.style[n]=""+e)}f
|