PageSourceSearch

https://pohlmann-kaminholz.de/wp-content/plugins/ditty-pro/assets/…/dittySlider.js?ver=296663d3019fac8a4cda

js pohlmann-kaminholz.de collected 2026-10-07 06:19:20 UTC 20,046 bytes, 1 lines download raw bytes

vendor: 5,696 bytes, line 1
1(()=>{"use strict";var t=function(){return t=Object.assign||function(t){for(var n,e=1,i=arguments.length;e<i;e++)for(var a in n=arguments[e])Object.prototype.hasOwnProperty.call(n,a)&&(t[a]=n[a]);return t},t.apply(this,arguments)};function n(t,n,e){if(e||2===arguments.length)for(var i,a=0,r=n.length;a<r;a++)!i&&a in n||(i||(i=Array.prototype.slice.call(n,0,a)),i[a]=n[a]);return t.concat(i||Array.prototype.slice.call(n))}function e(t){return Array.prototype.slice.call(t)}function i(t,n){var e=Math.floor(t);return e===n||e+1===n?t:n}function a(){return Date.now()}function r(t,n,e){if(n="data-keen-slider-"+n,null===e)return t.removeAttribute(n);t.setAttribute(n,e||"")}function o(t,n){return n=n||document,"function"==typeof t&&(t=t(n)),Array.isArray(t)?t:"string"==typeof t?e(n.querySelectorAll(t)):t instanceof HTMLElement?[t]:t instanceof NodeList?e(t):[]}function s(t){t.raw&&(t=t.raw),t.cancelable&&!t.defaultPrevented&&t.preventDefault()}function u(t){t.raw&&(t=t.raw),t.stopPropagation&&t.stopPropagation()}function c(){var t=[];return{add:function(n,e,i,a){n.addListener?n.addListener(i):n.addEventListener(e,i,a),t.push([n,e,i,a])},input:function(t,n,e,i){this.add(t,n,function(t){return function(n){n.nativeEvent&&(n=n.nativeEvent);var e=n.changedTouches||[],i=n.targetTouches||[],a=n.detail&&n.detail.x?n.detail:null;return t({id:a?a.identifier?a.identifier:"i":i[0]?i[0]?i[0].identifier:"e":"d",idChanged:a?a.identifier?a.identifier:"i":e[0]?e[0]?e[0].identifier:"e":"d",raw:n,x:a&&a.x?a.x:i[0]?i[0].screenX:a?a.x:n.pageX,y:a&&a.y?a.y:i[0]?i[0].screenY:a?a.y:n.pageY})}}(e),i)},purge:function(){t.forEach((function(t){t[0].removeListener?t[0].removeListener(t[2]):t[0].removeEventListener(t[1],t[2],t[3])})),t=[]}}}function d(t,n,e){return Math.min(Math.max(t,n),e)}function l(t){return(t>0?1:0)-(t<0?1:0)||+t}function f(t){var n=t.getBoundingClientRect();return{height:i(n.height,t.offsetHeight),width:i(n.width,t.offsetWidth)}}function h(t,n,e,i){var a=t&&t[n];return null==a?e:i&&"function"==typeof a?a():a}function p(t){return Math.round(1e6*t)/1e6}function v(t){var e,i,r,o,s,u,c,f,v,g,m,w,M,b,y=1/0,k=[],x=null,E=0;function I(t){_(E+t)}function C(t){var n=S(E+t).abs;return L(n)?n:null}function S(t){var e=Math.floor(Math.abs(p(t/i))),a=p((t%i+i)%i);a===i&&(a=0);var r=l(t),o=c.indexOf(n([],c,!0).reduce((function(t,n){return Math.abs(n-a)<Math.abs(t-a)?n:t}))),s=o;return r<0&&e++,o===u&&(s=0,e+=r>0?1:-1),{abs:s+e*u*r,origin:o,rel:s}}function O(t,n,e){var i;if(n||!z())return T(t,e);if(!L(t))return null;var a=S(null!=e?e:E),r=a.abs,o=t-a.rel,s=r+o;i=T(s);var c=T(s-u*l(o));return(null!==c&&Math.abs(c)<Math.abs(i)||null===i)&&(i=c),p(i)}function T(t,n){if(null==n&&(n=p(E)),!L(t)||null===t)return null;t=Math.round(t);var e=S(n),a=e.abs,r=e.rel,o=e.origin,s=P(t),d=(n%i+i)%i,l=c[o],f=Math.floor((t-(a-r))/u)*i;return p(l-d-l+c[s]+f+(o===u?i:0))}function L(t){return A(t)===t}function A(t){return d(t,v,g)}function z(){return o.loop}function P(t){return(t%u+u)%u}function _(n){var e;e=n-E,k.push({distance:e,timestamp:a()}),k.length>6&&(k=k.slice(-6)),E=p(n);var i=q().abs;if(i!==x){var r=null!==x;x=i,r&&t.emit("slideChanged")}}function q(n){var a=n?null:function(){if(u){var t=z(),n=t?(E%i+i)%i:E,e=(t?E%i:E)-s[0][2],a=0-(e<0&&t?i-Math.abs(e):e),c=0,d=S(E),f=d.abs,h=d.rel,p=s[h][2],y=s.map((function(n,e){var r=a+c;(r<0-n[0]||r>1)&&(r+=(Math.abs(r)>i-1&&t?i:0)*l(-r));var s=e-h,d=l(s),v=s+f;t&&(-1===d&&r>p&&(v+=u),1===d&&r<p&&(v-=u),null!==m&&v<m&&(r+=i),null!==w&&v>w&&(r-=i));var g=r+n[0]+n[1],M=Math.max(r>=0&&g<=1?1:g<0||r>1?0:r<0?Math.min(1,(n[0]+r)/n[0]):(1-r)/n[0],0);return c+=n[0]+n[1],{abs:v,distance:o.rtl?-1*r+1-n[0]:r,portion:M,size:n[0]}}));return f=A(f),h=P(f),{abs:A(f),length:r,max:b,maxIdx:g,min:M,minIdx:v,position:E,progress:t?n/i:E/r,rel:h,slides:y,slidesLength:i}}}();return e.details=a,t.emit("detailsChanged"),a}return e={absToRel:P,add:I,details:null,distToIdx:C,idxToDist:O,init:function(n){if(function(){if(o=t.options,s=(o.trackConfig||[]).map((function(t){return[h(t,"size",1),h(t,"spacing",0),h(t,"origin",0)]})),u=s.length){i=p(s.reduce((function(t,n){return t+n[0]+n[1]}),0));var n,e=u-1;r=p(i+s[0][2]-s[e][0]-s[e][2]-s[e][1]),c=s.reduce((function(t,e){if(!t)return[0];var i=s[t.length-1],a=t[t.length-1]+(i[0]+i[2])+i[1];return a-=e[2],t[t.length-1]>a&&(a=t[t.length-1]),a=p(a),t.push(a),(!n||n<a)&&(f=t.length-1),n=a,t}),null),0===r&&(f=0),c.push(p(i))}}(),!u)return q(!0);var e;!function(){var n=t.options.range,e=t.options.loop;m=v=e?h(e,"min",-1/0):0,w=g=e?h(e,"max",y):f;var i=h(n,"min",null),a=h(n,"max",null);null!==i&&(v=i),null!==a&&(g=a),M=v===-1/0?v:t.track.idxToDist(v||0,!0,0),b=g===y?g:O(g,!0,0),null===a&&(w=g),h(n,"align",!1)&&g!==y&&0===s[P(g)][2]&&(b-=1-s[P(g)][0],g=C(b-E)),M=p(M),b=p(b)}(),e=n,Number(e)===e?I(T(A(n))):q()},to:_,velocity:function(){var t=a(),n=k.reduce((function(n,e){var i=e.distance,a=e.timestamp;return t-a>200||(l(i)!==l(n.distance)&&n.distance&&(n={distance:0,lastTimestamp:0,time:0}),n.time&&(n.distance+=i),n.lastTimestamp&&(n.time+=a-n.lastTimestamp),n.lastTimestamp=a),n}),{distance:0,lastTimestamp:0,time:0});return n.distance/n.time||0}}}function g(t){var n,e,i,a,r,o,s,u;function c(t){return 2*t}function f(t){return d(t,s,u)}function h(t){return 1-Math.pow(1-t,3)}function p(){return i?t.track.velocity():0}function v(t,n){void 0===n&&(n=1e3);var e=147e-9+(t=Math.abs(t))/n;return{dist:Math.pow(t,2)/e,dur:t/e}}function g(){var n=t.track.details;n&&(r=n.min,o=n.max,s=n.minIdx,u=n.maxIdx)}function m(){t.animator.stop()}t.on("updated",g),t.on("optionsChanged",g),t.on("created",g),t.on("dragStarted",(function(){i=!1,m(),n=e=t.track.details.abs})),t.on("dragChecked",(function(){i=!0}
vendor: 4,223 bytes, line 1
1)),t.on("dragEnded",(function(){var i=t.options.mode;"snap"===i&&function(){var i=t.track,a=t.track.details,s=a.position,u=l(p());(s>o||s<r)&&(u=0);var c=n+u;0===a.slides[i.absToRel(c)].portion&&(c-=u),n!==e&&(c=e),l(i.idxToDist(c,!0))!==u&&(c+=u),c=f(c);var d=i.idxToDist(c,!0);t.animator.start([{distance:d,duration:500,easing:function(t){return 1+--t*t*t*t*t}}])}(),"free"!==i&&"free-snap"!==i||function(){m();var n="free-snap"===t.options.mode,e=t.track,i=p();a=l(i);var s=t.track.details,u=[];if(i||!n){var d=v(i),g=d.dist,w=d.dur;if(w=c(w),g*=a,n){var M=e.idxToDist(e.distToIdx(g),!0);M&&(g=M)}u.push({distance:g,duration:w,easing:h});var b=s.position,y=b+g;if(y<r||y>o){var k=y<r?r-b:o-b,x=0,E=i;if(l(k)===a){var I=Math.min(Math.abs(k)/Math.abs(g),1),C=function(t){return 1-Math.pow(1-t,1/3)}(I)*w;u[0].earlyExit=C,E=i*(1-I)}else u[0].earlyExit=0,x+=k;var S=v(E,100),O=S.dist*a;t.options.rubberband&&(u.push({distance:O,duration:c(S.dur),easing:h}),u.push({distance:-O+x,duration:500,easing:h}))}t.animator.start(u)}else t.moveToIdx(f(s.abs),!0,{duration:500,easing:function(t){return 1+--t*t*t*t*t}})}()})),t.on("dragged",(function(){e=t.track.details.abs}))}function m(t){var n,e,i,a,r,f,h,p,v,g,m,w,M,b,y,k,x,E,I=c();function C(n){if(f&&p===n.id){var o=L(n);if(v){if(!T(n))return O(n);g=o,v=!1,t.emit("dragChecked")}if(k)return g=o;s(n);var c=function(n){if(x===-1/0&&E===1/0)return n;var i=t.track.details,o=i.length,s=i.position,u=d(n,x-s,E-s);if(0===o)return 0;if(!t.options.rubberband)return u;if(s<=E&&s>=x)return n;if(s<x&&e>0||s>E&&e<0)return n;var c=(s<x?s-x:s-E)/o,l=a*o,f=Math.abs(c*l),h=Math.max(0,1-f/r*2);return h*h*n}(h(g-o)/a*i);e=l(c);var M=t.track.details.position;(M>x&&M<E||M===x&&e>0||M===E&&e<0)&&u(n),m+=c,!w&&Math.abs(m*a)>5&&(w=!0),t.track.add(c),g=o,t.emit("dragged")}}function S(n){!f&&t.track.details&&t.track.details.length&&(m=0,f=!0,w=!1,v=!0,p=n.id,T(n),g=L(n),t.emit("dragStarted"))}function O(n){f&&p===n.idChanged&&(f=!1,t.emit("dragEnded"))}function T(t){var n=A(),e=n?t.y:t.x,i=n?t.x:t.y,a=void 0!==M&&void 0!==b&&Math.abs(b-i)<=Math.abs(M-e);return M=e,b=i,a}function L(t){return A()?t.y:t.x}function A(){return t.options.vertical}function z(){a=t.size,r=A()?window.innerHeight:window.innerWidth;var n=t.track.details;n&&(x=n.min,E=n.max)}function P(t){w&&(u(t),s(t))}function _(){if(I.purge(),t.options.drag&&!t.options.disabled){var e;e=t.options.dragSpeed||1,h="function"==typeof e?e:function(t){return t*e},i=t.options.rtl?-1:1,z(),n=t.container,function(){var t="data-keen-slider-clickable";o("[".concat(t,"]:not([").concat(t,"=false])"),n).map((function(t){I.add(t,"dragstart",u),I.add(t,"mousedown",u),I.add(t,"touchstart",u)}))}(),I.add(n,"dragstart",(function(t){s(t)})),I.add(n,"click",P,{capture:!0}),I.input(n,"ksDragStart",S),I.input(n,"ksDrag",C),I.input(n,"ksDragEnd",O),I.input(n,"mousedown",S),I.input(n,"mousemove",C),I.input(n,"mouseleave",O),I.input(n,"mouseup",O),I.input(n,"touchstart",S,{passive:!0}),I.input(n,"touchmove",C,{passive:!1}),I.input(n,"touchend",O),I.input(n,"touchcancel",O),I.add(window,"wheel",(function(t){f&&s(t)}));var a="data-keen-slider-scrollable";o("[".concat(a,"]:not([").concat(a,"=false])"),t.container).map((function(t){return function(t){var n;I.input(t,"touchstart",(function(t){n=L(t),k=!0,y=!0}),{passive:!0}),I.input(t,"touchmove",(function(e){var i=A(),a=i?t.scrollHeight-t.clientHeight:t.scrollWidth-t.clientWidth,r=n-L(e),o=i?t.scrollTop:t.scrollLeft,u=i&&"scroll"===t.style.overflowY||!i&&"scroll"===t.style.overflowX;if(n=L(e),(r<0&&o>0||r>0&&o<a)&&y&&u)return k=!0;y=!1,s(e),k=!1})),I.input(t,"touchend",(function(){k=!1}))}(t)}))}}t.on("updated",z),t.on("optionsChanged",_),t.on("created",_),t.on("destroyed",I.purge)}function w(t){var n,e,i=null;function a(n,e,i){t.animator.active?o(n,e,i):requestAnimationFrame((function(){return o(n,e,i)}))}function r(){a(!1,!1,e)}function o(e,a,r){var o=0,s=t.size,d=t.track.details;if(d&&n){var l=d.slides;n.forEach((function(t,n){if(e)!i&&a&&u(t,null,r),c(t,null,r);else{if(!l[n])return;var d=l[n].size*s;!i&&a&&u(t,d,r),c(t,l[n].distance*s-o,r),o+=d}}))}}function s(n){return"performance"===t.options.renderMode?Math.round(n):n}function u(t,n,e){var i=e?"height":"width";
vendor: 4,697 bytes, line 1
1null!==n&&(n=s(n)+"px"),t.style["min-"+i]=n,t.style["max-"+i]=n}function c(t,n,e){if(null!==n){n=s(n);var i=e?n:0;n="translate3d(".concat(e?0:n,"px, ").concat(i,"px, 0)")}t.style.transform=n,t.style["-webkit-transform"]=n}function d(){n&&(o(!0,!0,e),n=null),t.on("detailsChanged",r,!0)}function l(){a(!1,!0,e)}function f(){d(),e=t.options.vertical,t.options.disabled||"custom"===t.options.renderMode||(i="auto"===h(t.options.slides,"perView",null),t.on("detailsChanged",r),(n=t.slides).length&&l())}t.on("created",f),t.on("optionsChanged",f),t.on("beforeOptionsChanged",(function(){d()})),t.on("updated",l),t.on("destroyed",d)}function M(n,e){return function(i){var a,s,u,d,l,p=c();function v(t){var n;r(i.container,"reverse","rtl"!==(n=i.container,window.getComputedStyle(n,null).getPropertyValue("direction"))||t?null:""),r(i.container,"v",i.options.vertical&&!t?"":null),r(i.container,"disabled",i.options.disabled&&!t?"":null)}function g(){m()&&k()}function m(){var n=null;if(d.forEach((function(t){t.matches&&(n=t.__media)})),n===a)return!1;a||i.emit("beforeOptionsChanged"),a=n;var e=n?u.breakpoints[n]:u;return i.options=t(t({},u),e),v(),S(),O(),E(),!0}function w(t){var n=f(t);return(i.options.vertical?n.height:n.width)/i.size||1}function M(){return i.options.trackConfig.length}function b(n){for(var r in a=!1,u=t(t({},e),n),p.purge(),s=i.size,d=[],u.breakpoints||[]){var o=window.matchMedia(r);o.__media=r,d.push(o),p.add(o,"change",g)}p.add(window,"orientationchange",C),p.add(window,"resize",I),m()}function y(t){i.animator.stop();var n=i.track.details;i.track.init(null!=t?t:n?n.abs:0)}function k(t){y(t),i.emit("optionsChanged")}function x(t,n){if(t)return b(t),void k(n);S(),O();var e=M();E(),M()!==e?k(n):y(n),i.emit("updated")}function E(){var t=i.options.slides;if("function"==typeof t)return i.options.trackConfig=t(i.size,i.slides);for(var n=i.slides,e=n.length,a="number"==typeof t?t:h(t,"number",e,!0),r=[],o=h(t,"perView",1,!0),s=h(t,"spacing",0,!0)/i.size||0,u="auto"===o?s:s/o,c=h(t,"origin","auto"),d=0,l=0;l<a;l++){var f="auto"===o?w(n[l]):1/o-s+u,p="center"===c?.5-f/2:"auto"===c?0:c;r.push({origin:p,size:f,spacing:s}),d+=f}if(d+=s*(a-1),"auto"===c&&!i.options.loop&&1!==o){var v=0;r.map((function(t){var n=d-v;return v+=t.size+s,n>=1||(t.origin=1-n-(d>1?0:1-d)),t}))}i.options.trackConfig=r}function I(){S();var t=i.size;i.options.disabled||t===s||(s=t,x())}function C(){I(),setTimeout(I,500),setTimeout(I,2e3)}function S(){var t=f(i.container);i.size=(i.options.vertical?t.height:t.width)||1}function O(){i.slides=o(i.options.selector,i.container)}i.container=(l=o(n,document)).length?l[0]:null,i.destroy=function(){p.purge(),i.emit("destroyed"),v(!0)},i.prev=function(){i.moveToIdx(i.track.details.abs-1,!0)},i.next=function(){i.moveToIdx(i.track.details.abs+1,!0)},i.update=x,b(i.options)}}var b=function(t,e,i){try{return function(t,n){var e,i={};return e={emit:function(t){i[t]&&i[t].forEach((function(t){t(e)}));var n=e.options&&e.options[t];n&&n(e)},moveToIdx:function(t,n,i){var a=e.track.idxToDist(t,n);if(a){var r=e.options.defaultAnimation;e.animator.start([{distance:a,duration:h(i||r,"duration",500),easing:h(i||r,"easing",(function(t){return 1+--t*t*t*t*t}))}])}},on:function(t,n,e){void 0===e&&(e=!1),i[t]||(i[t]=[]);var a=i[t].indexOf(n);a>-1?e&&delete i[t][a]:e||i[t].push(n)},options:t},function(){if(e.track=v(e),e.animator=function(t){var n,e,i,a,r,o;function s(n){o||(o=n),u(!0);var r=n-o;r>i&&(r=i);var l=a[e];if(l[3]<r)return e++,s(n);var f=l[2],h=l[4],p=l[0],v=l[1]*(0,l[5])(0===h?1:(r-f)/h);if(v&&t.track.to(p+v),r<i)return d();o=null,u(!1),c(null),t.emit("animationEnded")}function u(t){n.active=t}function c(t){n.targetIdx=t}function d(){var t;t=s,r=window.requestAnimationFrame(t)}function l(){var n;n=r,window.cancelAnimationFrame(n),u(!1),c(null),o&&t.emit("animationStopped"),o=null}return n={active:!1,start:function(n){if(l(),t.track.details){var r=0,o=t.track.details.position;e=0,i=0,a=n.map((function(t){var n,e=Number(o),a=null!==(n=t.earlyExit)&&void 0!==n?n:t.duration,s=t.easing,u=t.distance*s(a/t.duration)||0;o+=u;var c=i;return i+=a,r+=u,[e,t.distance,c,i,t.duration,s]})),c(t.track.distToIdx(r)),d(),t.emit("animationStarted")}},stop:l,targetIdx:null}}(e),n)for(var t=0,i=n;t<i.length;t++)(0,i[t])(e);e.track.init(e.options.initial||0),e.emit("created")}(),e}(e,n([M(t,{drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"}),w,m,g],i||[],!0))}catch(t){console.error(t)}};function y(t){const n=t.container,e=Array.from(n.querySelectorAll(".ditty-item"));function i(){const i=t.track?.details;if(!i)return;const a=i.rel,r=e[a];r&&(n.style.height=`${r.offsetHeight}px`)}t.on("created",(()=>
1{i(),e.slice(1).forEach((t=>t.style.display=""))})),t.on("slideChanged",i),window.addEventListener("resize",i),t.on("destroyed",(()=>{window.removeEventListener("resize",i)}))}function k(t){let n,e=!1;const i=()=>{clearTimeout(n)},a=()=>{clearTimeout(n),e||(n=setTimeout((()=>{t.next()}),2e3))},r=()=>{e=!0,i()},o=()=>{e=!1,a()},s=i,u=a,c=a;t.on("created",(()=>{t.container.addEventListener("mouseover",r),t.container.addEventListener("mouseout",o),a()})),t.on("dragStarted",s),t.on("animationEnded",u),t.on("updated",c),t.on("destroyed",(()=>{i(),t.container.removeEventListener("mouseover",r),t.container.removeEventListener("mouseout",o)}))}function x(t){const n=[],e=e=>{e.querySelectorAll("img").forEach((e=>{if(!e.complete){const i=()=>{(()=>{const n=t.track?.details;if(!n)return;const e=t.slides[n.rel];e&&(t.container.style.height=`${e.offsetHeight}px`)})()};e.addEventListener("load",i),n.push({img:e,handler:i})}}))};t.on("created",(()=>{const n=t.slides[t.track.details.rel];e(n)})),t.on("slideChanged",(t=>{const n=t.slides[t.track.details.rel];e(n)})),t.on("destroyed",(()=>{n.forEach((({img:t,handler:n})=>{t.removeEventListener("load",n)})),n.length=0}))}function E(t){const n=t.container.closest(".dittySlider"),e=n.querySelector(".dittySlider__arrow--left"),i=n.querySelector(".dittySlider__arrow--right"),a=Array.from(n.querySelectorAll(".dittySlider__bullet")),r=()=>t.prev(),o=()=>t.next(),s=n=>()=>t.moveToIdx(n);function u(){const n=t.track.details.rel;a.forEach(((t,e)=>t.classList.toggle("dittySlider__bullet--active",e===n))),t.options.loop||(e.disabled=0===n,i.disabled=n===t.track.details.slides.length-1)}e&&e.addEventListener("click",r),i&&i.addEventListener("click",o),a&&a.forEach(((t,n)=>t.addEventListener("click",s(n)))),t.on("created",u),t.on("slideChanged",u),t.on("destroyed",(()=>{e&&e.removeEventListener("click",r),i&&i.removeEventListener("click",o),e&&a.forEach(((t,n)=>t.removeEventListener("click",s(n))))}))}const I={linear:t=>t,swing:t=>.5-Math.cos(t*Math.PI)/2,jswing:t=>.5-Math.cos(t*Math.PI)/2,easeInQuad:t=>t*t,easeInCubic:t=>t*t*t,easeInQuart:t=>t*t*t*t,easeInQuint:t=>t*t*t*t*t,easeInSine:t=>1-Math.cos(t*Math.PI/2),easeInExpo:t=>0===t?0:Math.pow(2,10*(t-1)),easeInCirc:t=>1-Math.sqrt(1-Math.pow(t,2)),easeInElastic:t=>0===t?0:1===t?1:-Math.pow(2,10*t-10)*Math.sin((10*t-10.75)*(2*Math.PI)/3),easeInBack:t=>1.70158*t*t*t-1.70158*t*t,easeInBounce:t=>1-I.easeOutBounce(1-t),easeOutQuad:t=>1-(1-t)*(1-t),easeOutCubic:t=>1-Math.pow(1-t,3),easeOutQuart:t=>1-Math.pow(1-t,4),easeOutQuint:t=>1-Math.pow(1-t,5),easeOutSine:t=>Math.sin(t*Math.PI/2),easeOutExpo:t=>1===t?1:1-Math.pow(2,-10*t),easeOutCirc:t=>Math.sqrt(1-Math.pow(t-1,2)),easeOutElastic:t=>0===t?0:1===t?1:Math.pow(2,-10*t)*Math.sin((10*t-.75)*(2*Math.PI)/3)+1,easeOutBack:t=>1+1.70158*Math.pow(t-1,3)+1.70158*(t-1)*(t-1),easeOutBounce:t=>t<1/2.75?7.5625*t*t:t<2/2.75?7.5625*(t-=1.5/2.75)*t+.75:t<2.5/2.75?7.5625*(t-=2.25/2.75)*t+.9375:7.5625*(t-=2.625/2.75)*t+.984375,easeInOutQuad:t=>t<.5?2*t*t:1-Math.pow(-2*t+2,2)/2,easeInOutCubic:t=>t<.5?4*t*t*t:1-Math.pow(-2*t+2,3)/2,easeInOutQuart:t=>t<.5?8*t*t*t*t:1-Math.pow(-2*t+2,4)/2,easeInOutQuint:t=>t<.5?16*t*t*t*t*t:1-Math.pow(-2*t+2,5)/2,easeInOutSine:t=>-(Math.cos(Math.PI*t)-1)/2,easeInOutExpo:t=>0===t?0:1===t?1:t<.5?Math.pow(2,20*t-10)/2:(2-Math.pow(2,-20*t+10))/2,easeInOutCirc:t=>t<.5?(1-Math.sqrt(1-Math.pow(2*t,2)))/2:(Math.sqrt(1-Math.pow(-2*t+2,2))+1)/2,easeInOutElastic:t=>0===t?0:1===t?1:t<.5?-Math.pow(2,20*t-10)*Math.sin((20*t-11.125)*(2*Math.PI)/4.5)/2:Math.pow(2,-20*t+10)*Math.sin((20*t-11.125)*(2*Math.PI)/4.5)/2+1,easeInOutBack:t=>t<.5?Math.pow(2*t,2)*(5.189819*t-2.5949095)/2:(Math.pow(2*t-2,2)*(2.5949095*(2*t-2)+2.5949095)+2)/2,easeInOutBounce:t=>t<.5?(1-I.easeOutBounce(1-2*t))/2:(1+I.easeOutBounce(2*t-1))/2},C=I;window.DittySlider=class{constructor(t,n={}){this.sliderElement=t;const e=n.transitionSpeed||1e3,i=n.transitionEase||"easeInOutQuint";delete n.transitionSpeed,delete n.transitionEase;this.defaultSettings={loop:!0,selector:".ditty-item",defaultAnimation:{duration:e,easing:C[i]},slides:{perView:2,spacing:15},arrows:!1,arrowsIconColor:"",arrowsBgColor:"",arrowsPosition:"center",arrowsPadding:{},arrowsStatic:0,navPrev:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" width="24" height="24" fill="currentColor"><path d="M9.4 233.4c-12.5 12.5-12.5 32.8 0 45.3l192 192c12.5 12.5 32.8 12.5 45.3 0s12.5-32.8 0-45.3L77.3 256 246.6 86.6c12.5-12.5 12.5-32.8 0-45.3s-32.8-12.5-45.3 0l-192 192z"/></svg>',navNext:'<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 320 512" width="24" height="24" fill="currentColor"><path d="M310.6 233.4c12.5 12.5 12.5 32.8 0 45.3l-192 192c-12.5 12.5-32.8 12.5-45.3 0s-12.5-32.8 0-45.3L242.7 256 73.4 86.6c12.5-12.5 12.5-32.8 0-45.3s32.8-12.5 45.3 0l192 192z"/></svg>',bullets:!1,bulletsClickable:!0,bulletsColor:"",bulletsColorActive:"",bulletsOverlay:!1,bulletsPadding:{},bulletsPosition:"",bulletsSize:"",bulletsSpacing:"",created:()=>console.log("Slider created")},this.settings={...this.defaultSettings,...n},this.settings.autoheight&&this.sliderElement.querySelectorAll(".ditty-item").forEach(((t,n)=>{0!==n&&(t.style.display="none")})),this.initSlider()}initSlider(){const t=[x,E];this.settings.autoheight&&t.push(y),this.settings.autoplay&&t.push(k),this.sliderInstance=new b(this.sliderElement,this.settings,t)}destroySlider(){this.sliderInstance&&this.sliderInstance.destroy()}}})();

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.