(self.webpackChunkui=self.webpackChunkui||[]).push([[18],{42:function(t,e,n){!function(t,e){"use strict";function n(t,e,n){return e in t?Object.defineProperty(t,e,{value:n,enumerable:!0,configurable:!0,writable:!0}):t[e]=n,t}function r(t,e){var n=Object.keys(t);if(Object.getOwnPropertySymbols){var r=Object.getOwnPropertySymbols(t);e&&(r=r.filter((function(e){return Object.getOwnPropertyDescriptor(t,e).enumerable}))),n.push.apply(n,r)}return n}function i(t){for(var e=1;et.length)&&(e=t.length);for(var n=0,r=new Array(e);n1&&void 0!==arguments[1]?arguments[1]:{},z="data-keen-slider-moves",F="data-keen-slider-v",H=[],R=null,V=!1,q=!1,W=0,K=[];function N(t,e,n){var r=arguments.length>3&&void 0!==arguments[3]?arguments[3]:{};t.addEventListener(e,n,r),H.push([t,e,n,r])}function U(t){if(M&&j===G(t)&&rt()){var n=Q(t).x;if(!Z(t)&&E)return B(t);E&&(At(),S=n,e.setAttribute(z,!0),E=!1),t.cancelable&&t.preventDefault(),wt(x(S-n,xt)*(ot()?-1:1),t.timeStamp),S=n}}function $(t){M||!rt()||function(t){return t.hasAttribute(w.preventEvent)}(t.target)||(M=!0,E=!0,j=G(t),Z(t),ft(),O=v,S=Q(t).x,wt(0,t.timeStamp),et("dragStart"))}function B(t){M&&j===G(t,!0)&&rt()&&(e.removeAttribute(z),M=!1,function(){switch(et("beforeChange"),w.mode){case"free":!function(){if(0===m)return!(!Ot(0)||it())&<(v);var t=w.friction/Math.pow(Math.abs(m),-.5);dt(Math.pow(m,2)/t*Math.sign(m),6*Math.abs(m/t),(function(t){return 1-Math.pow(1-t,5)}))}();break;case"free-snap":!function(){if(0===m)return lt(v);var t=w.friction/Math.pow(Math.abs(m),-.5),e=Math.pow(m,2)/t*Math.sign(m),n=6*Math.abs(m/t),r=(W+e)/(c/f);dt((-1===p?Math.floor(r):Math.ceil(r))*(c/f)-W,n,(function(t){return 1-Math.pow(1-t,5)}))}();break;default:lt((1===f&&0!==p?O:v)+Math.sign(p))}}(),et("dragEnd"))}function G(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1]?function(t){return t.changedTouches}(t):J(t);return e?e[0]?e[0].identifier:"error":"default"}function J(t){return t.targetTouches}function Q(t){var e=J(t);return{x:ut()?e?e[0].screenY:t.pageY:e?e[0].screenX:t.pageX,timestamp:t.timeStamp}}function Z(t){var e=J(t);if(!e)return!0;var n=e[0],r=ut()?n.clientY:n.clientX,i=ut()?n.clientX:n.clientY,o=void 0!==A&&void 0!==k&&Math.abs(k-i)<=Math.abs(A-r);return A=r,k=i,o}function tt(t){rt()&&M&&t.preventDefault()}function et(t){w[t]&&w[t](xt)}function nt(){return w.centered}function rt(){return void 0!==n?n:w.controls}function it(){return w.loop&&r>1}function ot(){return w.rtl}function at(){return!w.loop&&w.rubberband}function ut(){return!!w.vertical}function ct(){P=window.requestAnimationFrame(st)}function ft(){P&&(window.cancelAnimationFrame(P),P=null),T=null}function st(t){T||(T=t);var e=t-T,n=function(t){return C*L(t/D)-I}(e);if(e>=D)return wt(C-I,!1),Y?Y():void et("afterChange");var r=Ot(n);if(0===r||it()||at()||X){if(0!==r&&at()&&!X)return function(){if(ft(),0===m)return lt(v,!0);var t=.04/Math.pow(Math.abs(m),-.5),e=Math.pow(m,2)/t*Math.sign(m),n=function(t){return--t*t*t+1},r=m;dt(e,3*Math.abs(r/t),n,!0,(function(){dt(St(jt(v)),500,n,!0)}))}();I+=n,wt(n,!1),ct()}else wt(n-r,!1)}function lt(t,e){var n=arguments.length>2&&void 0!==arguments[2]?arguments[2]:w.duration;dt(St(t=jt(t,arguments.length>3&&void 0!==arguments[3]&&arguments[3],arguments.length>4&&void 0!==arguments[4]&&arguments[4])),n,(function(t){return 1+--t*t*t*t*t}),e)}function dt(t,e,n,r,i){ft(),C=t,I=0,D=e,L=n,X=r,Y=i,T=null,ct()}function ht(n){var r=l(t);r.length&&(e=r[0],bt(n),N(window,"orientationchange",mt),N(window,"resize",(function(){return bt()})),N(e,"dragstart",(function(t){rt()&&t.preventDefault()})),N(e,"mousedown",$),N(w.cancelOnLeave?e:window,"mousemove",U),w.cancelOnLeave&&N(e,"mouseleave",B),N(window,"mouseup",B),N(e,"touchstart",$,{passive:!0}),N(e,"touchmove",U,{passive:!1}),N(e,"touchend",B,{passive:!0}),N(e,"touchcancel",B,{passive:!0}),N(window,"wheel",tt,{passive:!1}),et("mounted"))}function vt(){var t,e=_.breakpoints||[];for(var n in e)window.matchMedia(n).matches&&(t=n);if(t===R)return!0;var r=(R=t)?e[R]:_;r.breakpoints&&R&&delete r.breakpoints,w=i(i(i({},kt),_),r),V=!0,h=null,pt()}function pt(t,e){t&&(_=t),e&&(R=null),gt(),ht(e)}function bt(t){var n=window.innerWidth;if(vt()&&(n!==h||t)){h=n;var i=w.slides;"number"==typeof i?(u=null,r=i):(u=l(i,e),r=u?u.length:0);var a=w.dragSpeed;x="function"==typeof a?a:function(t){return t*a},c=ut()?e.offsetHeight:e.offsetWidth,f=function(t){return"function"==typeof t?t():d(t,1,Math.max(it()?r-1:r,1))}(w.slidesPerView),s=d(w.spacing,0,c/(f-1)-1),c+=s,o=nt()?(c/2-c/f/2)/c:0,u&&u.forEach((function(t){var e="calc(".concat(100/f,"% - ").concat(s/f*(f-1),"px)");ut()?(t.style["min-height"]=e,t.style["max-height"]=e):(t.style["min-width"]=e,t.style["max-width"]=e)}));var p=!q||V&&w.resetSlide?w.initial:v;(function(t){et("beforeChange"),wt(St(t),!1),et("afterChange")})(it()?p:Mt(p)),ut()&&e.setAttribute(F,!0),V=!1}}function mt(t){bt(),setTimeout(bt,500),setTimeout(bt,2e3)}function gt(){H.forEach((function(t){t[0].removeEventListener(t[1],t[2],t[3])})),H=[],function(){if(u){var t=["transform","-webkit-transform"];t=[].concat(a(t),ut?["min-height","max-height"]:["min-width","max-width"]),u.forEach((function(e){t.forEach((function(t){e.style.removeProperty(t)}))}))}}(),e&&e.hasAttribute(F)&&e.removeAttribute(F),et("destroyed")}function yt(){u&&u.forEach((function(t,e){var n=g[e].distance*c-e*(c/f-s/f-s/f*(f-1)),r=ut()?0:n,i=ut()?n:0,o="translate3d(".concat(r,"px, ").concat(i,"px, 0)");t.style.transform=o,t.style["-webkit-transform"]=o}))}function wt(t){var e=!(arguments.length>1&&void 0!==arguments[1])||arguments[1];(function(t,e){clearTimeout(b);var n=Math.sign(t);if(n!==p&&At(),p=n,K.push({distance:t,time:e}),b=setTimeout((function(){K=[],m=0}),50),(K=K.slice(-6)).length<=1||0===p)return m=0;var r=K.slice(0,-1).reduce((function(t,e){return t+e.distance}),0),i=K[K.length-1].time,o=K[0].time;m=d(r/(i-o),-10,10)})(t,arguments.length>2&&void 0!==arguments[2]?arguments[2]:Date.now()),e&&(t=function(t){if(it())return t;var e,n=Ot(t);return at()?0===n?t:t*(e=n/c,(1-Math.abs(e))*(1-Math.abs(e))):t-n}(t)),W+=t,function(){y=it()?W%(c*r/f)/(c*r/f):W/(c*r/f),function(){var t=Math.round(W/(c/f));t!==v&&(!it()&&(t<0||t>r-1)||(v=t,et("slideChanged")))}();for(var t=[],e=0;e(r-1)/f?-r/f:n<-r/f+1?r/f:0);var i=1/f,a=n+i,u=a1?1-(a-1)*f/1:1;t.push({portion:u<0||u>1?0:u,distance:ot()?-1*n+1-i:n})}g=t,yt(),et("move")}()}function Ot(t){var e=c*(r-1*(nt()?1:f))/f,n=W+t;return n>e?n-e:n<0?n:0}function Mt(t){return d(t,0,r-1-(nt()?0:f-1))}function jt(t){var e=arguments.length>1&&void 0!==arguments[1]&&arguments[1],n=arguments.length>2&&void 0!==arguments[2]&&arguments[2];return it()?e?function(t,e){var n=(v%r+r)%r,i=n<(t=(t%r+r)%r)?-n-r+t:-(n-t),o=n>t?r-n+t:t-n,a=e?Math.abs(i)<=o?i:o:t2?arguments[2]:void 0,!0,arguments.length>1&&void 0!==arguments[1]&&arguments[1])},resize:function(){bt(!0)},details:function(){return function(){var t=Math.abs(y),e=W<0?1-t:t;return{direction:p,progressTrack:e,progressSlides:e*r/(r-1),positions:g,position:W,speed:m,relativeSlide:(v%r+r)%r,absoluteSlide:v,size:r,slidesPerView:f,widthOrHeight:c}}()},options:function(){var t=i({},w);return delete t.breakpoints,t}};return vt(),q=!0,et("created"),xt}function s(t){return Array.prototype.slice.call(t)}function l(t){var e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:document;return"function"==typeof t?s(t()):"string"==typeof t?s(e.querySelectorAll(t)):t instanceof HTMLElement!=0?[t]:t instanceof NodeList!=0?t:[]}function d(t,e,n){return Math.min(Math.max(t,e),n)}Math.sign||(Math.sign=function(t){return(t>0)-(t<0)||+t});var h=function t(e,n){var r=Object.prototype.toString.call(e);if(r!==Object.prototype.toString.call(n))return!1;if(["[object Array]","[object Object]"].indexOf(r)<0)return!1;var i="[object Array]"===r?e.length:Object.keys(e).length;if(i!==("[object Array]"===r?n.length:Object.keys(n).length))return!1;var o=function(e,n){var r=Object.prototype.toString.call(e);if(["[object Array]","[object Object]"].indexOf(r)>=0){if(!t(e,n))return!1}else{if(r!==Object.prototype.toString.call(n))return!1;if("[object Function]"===r){if(e.toString()!==n.toString())return!1}else if(e!==n)return!1}};if("[object Array]"===r){for(var a=0;a0&&void 0!==arguments[0]?arguments[0]:{},n=e.useRef(),r=e.useRef();var i=o(e.useState(null),2),a=i[0],u=i[1];return e.useEffect((function(){var t=new f(n.current,r.current);return u(t),function(){t.destroy()}}),[function(t){return h(r.current,t)||(r.current=t),r.current}(t)]),[n,a]},Object.defineProperty(t,"__esModule",{value:!0})}(e,n(2))}}]);