"use strict";(self.webpackChunkui=self.webpackChunkui||[]).push([[23],{50:(n,t,e)=>{Object.defineProperty(t,"__esModule",{value:!0});var i=e(26);function r(n){return Array.prototype.slice.call(n)}function a(n,t){var e=Math.floor(n);return e===t||e+1===t?n:t}function o(){return Date.now()}function u(n,t,e){if(t="data-keen-slider-"+t,null===e)return n.removeAttribute(t);n.setAttribute(t,e||"")}function c(n,t){return t=t||document,"function"==typeof n&&(n=n(t)),Array.isArray(n)?n:"string"==typeof n?r(t.querySelectorAll(n)):n instanceof HTMLElement?[n]:n instanceof NodeList?r(n):[]}function s(n){n.raw&&(n=n.raw),n.cancelable&&!n.defaultPrevented&&n.preventDefault()}function d(n){n.raw&&(n=n.raw),n.stopPropagation&&n.stopPropagation()}function l(){var n=[];return{add:function(t,e,i,r){t.addListener?t.addListener(i):t.addEventListener(e,i,r),n.push([t,e,i,r])},input:function(n,t,e,i){this.add(n,t,function(n){return function(t){t.nativeEvent&&(t=t.nativeEvent);var e=t.changedTouches||[],i=t.targetTouches||[],r=t.detail&&t.detail.x?t.detail:null;return n({id:r?r.identifier?r.identifier:"i":i[0]?i[0]?i[0].identifier:"e":"d",idChanged:r?r.identifier?r.identifier:"i":e[0]?e[0]?e[0].identifier:"e":"d",raw:t,x:r&&r.x?r.x:i[0]?i[0].screenX:r?r.x:t.pageX,y:r&&r.y?r.y:i[0]?i[0].screenY:r?r.y:t.pageY})}}(e),i)},purge:function(){n.forEach((function(n){n[0].removeListener?n[0].removeListener(n[2]):n[0].removeEventListener(n[1],n[2],n[3])})),n=[]}}}function f(n,t,e){return Math.min(Math.max(n,t),e)}function p(n){return(n>0?1:0)-(n<0?1:0)||+n}function v(n){var t=n.getBoundingClientRect();return{height:a(t.height,n.offsetHeight),width:a(t.width,n.offsetWidth)}}function h(n,t,e,i){var r=n&&n[t];return null==r?e:i&&"function"==typeof r?r():r}function m(n){return Math.round(1e6*n)/1e6}function g(n,t){if(n===t)return!0;var e=typeof n;if(e!==typeof t)return!1;if("object"!==e||null===n||null===t)return"function"===e&&n.toString()===t.toString();if(n.length!==t.length||Object.getOwnPropertyNames(n).length!==Object.getOwnPropertyNames(t).length)return!1;for(var i in n)if(!g(n[i],t[i]))return!1;return!0}var b=function(){return b=Object.assign||function(n){for(var t,e=1,i=arguments.length;e0?1:-1),{abs:o+t*u*r,origin:a,rel:o}}function I(n,t,e){var i;if(t||!S())return A(n,e);if(!O(n))return null;var r=z(null!=e?e:T),a=r.abs,o=n-r.rel,c=a+o;i=A(c);var s=A(c-u*p(o));return(null!==s&&Math.abs(s)6&&(w=w.slice(-6)),T=m(t);var i=_().abs;if(i!==M){var r=null!==M;M=i,r&&n.emit("slideChanged")}}function _(o){var c=o?null:function(){if(u){var n=S(),t=n?(T%e+e)%e:T,o=(n?T%e:T)-a[0][2],c=0-(o<0&&n?e-Math.abs(o):o),s=0,f=z(T),h=f.abs,m=f.rel,k=a[m][2],x=a.map((function(t,i){var a=c+s;(a<0-t[0]||a>1)&&(a+=(Math.abs(a)>e-1&&n?e:0)*p(-a));var o=i-m,d=p(o),l=o+h;n&&(-1===d&&a>k&&(l+=u),1===d&&ag&&(a-=e));var f=a+t[0]+t[1],b=Math.max(a>=0&&f<=1?1:f<0||a>1?0:a<0?Math.min(1,(t[0]+a)/t[0]):(1-a)/t[0],0);return s+=t[0]+t[1],{abs:l,distance:r.rtl?-1*a+1-t[0]:a,portion:b,size:t[0]}}));return h=D(h),m=L(h),{abs:D(h),length:i,max:y,maxIdx:l,min:b,minIdx:d,position:T,progress:n?t/e:T/i,rel:m,slides:x,slidesLength:e}}}();return t.details=c,n.emit("detailsChanged"),c}return t={absToRel:L,add:C,details:null,distToIdx:E,idxToDist:I,init:function(t){if(function(){if(r=n.options,a=(r.trackConfig||[]).map((function(n){return[h(n,"size",1),h(n,"spacing",0),h(n,"origin",0)]})),u=a.length){e=m(a.reduce((function(n,t){return n+t[0]+t[1]}),0));var t,o=u-1;i=m(e+a[0][2]-a[o][0]-a[o][2]-a[o][1]),c=a.reduce((function(n,e){if(!n)return[0];var i=a[n.length-1],r=n[n.length-1]+(i[0]+i[2])+i[1];return r-=e[2],n[n.length-1]>r&&(r=n[n.length-1]),r=m(r),n.push(r),(!t||t200||(p(i)!==p(t.distance)&&t.distance&&(t={distance:0,lastTimestamp:0,time:0}),t.time&&(t.distance+=i),t.lastTimestamp&&(t.time+=r-t.lastTimestamp),t.lastTimestamp=r),t}),{distance:0,lastTimestamp:0,time:0});return t.distance/t.time||0}}}function x(n){var t,e,i,r,a,o,u,c;function s(n){return 2*n}function d(n){return f(n,u,c)}function l(n){return 1-Math.pow(1-n,3)}function v(){return i?n.track.velocity():0}function h(n,t){void 0===t&&(t=1e3);var e=147e-9+(n=Math.abs(n))/t;return{dist:Math.pow(n,2)/e,dur:n/e}}function m(){var t=n.track.details;t&&(a=t.min,o=t.max,u=t.minIdx,c=t.maxIdx)}function g(){n.animator.stop()}n.on("updated",m),n.on("optionsChanged",m),n.on("created",m),n.on("dragStarted",(function(){i=!1,g(),t=e=n.track.details.abs})),n.on("dragChecked",(function(){i=!0})),n.on("dragEnded",(function(){var i=n.options.mode;"snap"===i&&function(){var i=n.track,r=n.track.details,u=r.position,c=p(v());(u>o||uo){var w=x=M)return t;if(u0||u>T&&e<0)return t;var s=(uM&&k0||k===T&&e<0)&&d(t),g+=l,!b&&Math.abs(g*r)>5&&(b=!0),n.track.add(l),m=c,n.emit("dragged")}}function z(t){!o&&n.track.details&&n.track.details.length&&(g=0,o=!0,b=!1,h=!0,v=t.id,A(t),m=O(t),n.emit("dragStarted"))}function I(t){o&&v===t.idChanged&&(o=!1,n.emit("dragEnded"))}function A(n){var t=D(),e=t?n.y:n.x,i=t?n.x:n.y,r=void 0!==k&&void 0!==y&&Math.abs(y-i)<=Math.abs(k-e);return k=e,y=i,r}function O(n){return D()?n.y:n.x}function D(){return n.options.vertical}function S(){r=n.size,a=D()?window.innerHeight:window.innerWidth;var t=n.track.details;t&&(M=t.min,T=t.max)}function L(n){b&&(d(n),s(n))}function P(){if(C.purge(),n.options.drag&&!n.options.disabled){var e;e=n.options.dragSpeed||1,u="function"==typeof e?e:function(n){return n*e},i=n.options.rtl?-1:1,S(),t=n.container,function(){var n="data-keen-slider-clickable";c("[".concat(n,"]:not([").concat(n,"=false])"),t).map((function(n){C.add(n,"dragstart",d),C.add(n,"mousedown",d),C.add(n,"touchstart",d)}))}(),C.add(t,"dragstart",(function(n){s(n)})),C.add(t,"click",L,{capture:!0}),C.input(t,"ksDragStart",z),C.input(t,"ksDrag",E),C.input(t,"ksDragEnd",I),C.input(t,"mousedown",z),C.input(t,"mousemove",E),C.input(t,"mouseleave",I),C.input(t,"mouseup",I),C.input(t,"touchstart",z,{passive:!0}),C.input(t,"touchmove",E,{passive:!1}),C.input(t,"touchend",I),C.input(t,"touchcancel",I),C.add(window,"wheel",(function(n){o&&s(n)}));var r="data-keen-slider-scrollable";c("[".concat(r,"]:not([").concat(r,"=false])"),n.container).map((function(n){return function(n){var t;C.input(n,"touchstart",(function(n){t=O(n),w=!0,x=!0}),{passive:!0}),C.input(n,"touchmove",(function(e){var i=D(),r=i?n.scrollHeight-n.clientHeight:n.scrollWidth-n.clientWidth,a=t-O(e),o=i?n.scrollTop:n.scrollLeft,u=i&&"scroll"===n.style.overflowY||!i&&"scroll"===n.style.overflowX;if(t=O(e),(a<0&&o>0||a>0&&o=1||(n.origin=1-t-(d>1?0:1-d)),n}))}e.options.trackConfig=a}function C(){z();var n=e.size;e.options.disabled||n===r||(r=n,M())}function E(){C(),setTimeout(C,500),setTimeout(C,2e3)}function z(){var n=v(e.container);e.size=(e.options.vertical?n.height:n.width)||1}function I(){e.slides=c(e.options.selector,e.container)}e.container=(s=c(n,document)).length?s[0]:null,e.destroy=function(){d.purge(),e.emit("destroyed"),f(!0)},e.prev=function(){e.moveToIdx(e.track.details.abs-1,!0)},e.next=function(){e.moveToIdx(e.track.details.abs+1,!0)},e.update=M,y(e.options)}}var C=function(n,t,e){try{return function(n,t){var e,i={};return e={emit:function(n){i[n]&&i[n].forEach((function(n){n(e)}));var t=e.options&&e.options[n];t&&t(e)},moveToIdx:function(n,t,i){var r=e.track.idxToDist(n,t);if(r){var a=e.options.defaultAnimation;e.animator.start([{distance:r,duration:h(i||a,"duration",500),easing:h(i||a,"easing",(function(n){return 1+--n*n*n*n*n}))}])}},on:function(n,t,e){void 0===e&&(e=!1),i[n]||(i[n]=[]);var r=i[n].indexOf(t);r>-1?e&&delete i[n][r]:e||i[n].push(t)},options:n},function(){if(e.track=y(e),e.animator=function(n){var t,e,i,r,a,o;function u(t){o||(o=t),c(!0);var a=t-o;a>i&&(a=i);var l=r[e];if(l[3]