(self.webpackChunkui=self.webpackChunkui||[]).push([[134,38,40],{103:(n,t,e)=>{"use strict";var r=e(26);function i(n){return Array.prototype.slice.call(n)}function o(n,t){var e=Math.floor(n);return e===t||e+1===t?n:t}function a(){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?i(t.querySelectorAll(n)):n instanceof HTMLElement?[n]:n instanceof NodeList?i(n):[]}function s(n){n.raw&&(n=n.raw),n.cancelable&&!n.defaultPrevented&&n.preventDefault()}function l(n){n.raw&&(n=n.raw),n.stopPropagation&&n.stopPropagation()}function f(){var n=[];return{add:function(t,e,r,i){t.addListener?t.addListener(r):t.addEventListener(e,r,i),n.push([t,e,r,i])},input:function(n,t,e,r){this.add(n,t,function(n){return function(t){t.nativeEvent&&(t=t.nativeEvent);var e=t.changedTouches||[],r=t.targetTouches||[],i=t.detail&&t.detail.x?t.detail:null;return n({id:i?i.identifier?i.identifier:"i":r[0]?r[0]?r[0].identifier:"e":"d",idChanged:i?i.identifier?i.identifier:"i":e[0]?e[0]?e[0].identifier:"e":"d",raw:t,x:i&&i.x?i.x:r[0]?r[0].screenX:i?i.x:t.pageX,y:i&&i.y?i.y:r[0]?r[0].screenY:i?i.y:t.pageY})}}(e),r)},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 d(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:o(t.height,n.offsetHeight),width:o(t.width,n.offsetWidth)}}function g(n,t,e,r){var i=n&&n[t];return null==i?e:r&&"function"==typeof i?i():i}function h(n){return Math.round(1e6*n)/1e6}function m(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 r in n)if(!m(n[r],t[r]))return!1;return!0}var b=function(){return b=Object.assign||function(n){for(var t,e=1,r=arguments.length;e0?1:-1),{abs:a+t*u*i,origin:o,rel:a}}function O(n,t,e){var r;if(t||!L())return I(n,e);if(!z(n))return null;var i=S(null!=e?e:M),o=i.abs,a=n-i.rel,c=o+a;r=I(c);var s=I(c-u*p(a));return(null!==s&&Math.abs(s)6&&(x=x.slice(-6)),M=h(t);var r=N().abs;if(r!==C){var i=null!==C;C=r,i&&n.emit("slideChanged")}}function N(a){var c=a?null:function(){if(u){var n=L(),t=n?(M%e+e)%e:M,a=(n?M%e:M)-o[0][2],c=0-(a<0&&n?e-Math.abs(a):a),s=0,d=S(M),g=d.abs,h=d.rel,w=o[h][2],k=o.map((function(t,r){var o=c+s;(o<0-t[0]||o>1)&&(o+=(Math.abs(o)>e-1&&n?e:0)*p(-o));var a=r-h,l=p(a),f=a+g;n&&(-1===l&&o>w&&(f+=u),1===l&&om&&(o-=e));var d=o+t[0]+t[1],b=Math.max(o>=0&&d<=1?1:d<0||o>1?0:o<0?Math.min(1,(t[0]+o)/t[0]):(1-o)/t[0],0);return s+=t[0]+t[1],{abs:f,distance:i.rtl?-1*o+1-t[0]:o,portion:b,size:t[0]}}));return g=j(g),h=A(g),{abs:j(g),length:r,max:y,maxIdx:f,min:b,minIdx:l,position:M,progress:n?t/e:M/r,rel:h,slides:k,slidesLength:e}}}();return t.details=c,n.emit("detailsChanged"),c}return t={absToRel:A,add:E,details:null,distToIdx:T,idxToDist:O,init:function(t){if(function(){if(i=n.options,o=(i.trackConfig||[]).map((function(n){return[g(n,"size",1),g(n,"spacing",0),g(n,"origin",0)]})),u=o.length){e=h(o.reduce((function(n,t){return n+t[0]+t[1]}),0));var t,a=u-1;r=h(e+o[0][2]-o[a][0]-o[a][2]-o[a][1]),c=o.reduce((function(n,e){if(!n)return[0];var r=o[n.length-1],i=n[n.length-1]+(r[0]+r[2])+r[1];return i-=e[2],n[n.length-1]>i&&(i=n[n.length-1]),i=h(i),n.push(i),(!t||t200||(p(r)!==p(t.distance)&&t.distance&&(t={distance:0,lastTimestamp:0,time:0}),t.time&&(t.distance+=r),t.lastTimestamp&&(t.time+=i-t.lastTimestamp),t.lastTimestamp=i),t}),{distance:0,lastTimestamp:0,time:0});return t.distance/t.time||0}}}function k(n){var t,e,r,i,o,a,u,c;function s(n){return 2*n}function l(n){return d(n,u,c)}function f(n){return 1-Math.pow(1-n,3)}function v(){return r?n.track.velocity():0}function g(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 h(){var t=n.track.details;t&&(o=t.min,a=t.max,u=t.minIdx,c=t.maxIdx)}function m(){n.animator.stop()}n.on("updated",h),n.on("optionsChanged",h),n.on("created",h),n.on("dragStarted",(function(){r=!1,m(),t=e=n.track.details.abs})),n.on("dragChecked",(function(){r=!0})),n.on("dragEnded",(function(){var r=n.options.mode;"snap"===r&&function(){var r=n.track,i=n.track.details,u=i.position,c=p(v());(u>a||ua){var x=k=C)return t;if(u0||u>M&&e<0)return t;var s=(uC&&w0||w===M&&e<0)&&l(t),m+=f,!b&&Math.abs(m*i)>5&&(b=!0),n.track.add(f),h=c,n.emit("dragged")}}function S(t){!a&&n.track.details&&n.track.details.length&&(m=0,a=!0,b=!1,g=!0,v=t.id,I(t),h=z(t),n.emit("dragStarted"))}function O(t){a&&v===t.idChanged&&(a=!1,n.emit("dragEnded"))}function I(n){var t=j(),e=t?n.y:n.x,r=t?n.x:n.y,i=void 0!==w&&void 0!==y&&Math.abs(y-r)<=Math.abs(w-e);return w=e,y=r,i}function z(n){return j()?n.y:n.x}function j(){return n.options.vertical}function L(){i=n.size,o=j()?window.innerHeight:window.innerWidth;var t=n.track.details;t&&(C=t.min,M=t.max)}function A(n){b&&(l(n),s(n))}function D(){if(E.purge(),n.options.drag&&!n.options.disabled){var e;e=n.options.dragSpeed||1,u="function"==typeof e?e:function(n){return n*e},r=n.options.rtl?-1:1,L(),t=n.container,function(){var n="data-keen-slider-clickable";c("[".concat(n,"]:not([").concat(n,"=false])"),t).map((function(n){E.add(n,"dragstart",l),E.add(n,"mousedown",l),E.add(n,"touchstart",l)}))}(),E.add(t,"dragstart",(function(n){s(n)})),E.add(t,"click",A,{capture:!0}),E.input(t,"ksDragStart",S),E.input(t,"ksDrag",T),E.input(t,"ksDragEnd",O),E.input(t,"mousedown",S),E.input(t,"mousemove",T),E.input(t,"mouseleave",O),E.input(t,"mouseup",O),E.input(t,"touchstart",S,{passive:!0}),E.input(t,"touchmove",T,{passive:!1}),E.input(t,"touchend",O),E.input(t,"touchcancel",O),E.add(window,"wheel",(function(n){a&&s(n)}));var i="data-keen-slider-scrollable";c("[".concat(i,"]:not([").concat(i,"=false])"),n.container).map((function(n){return function(n){var t;E.input(n,"touchstart",(function(n){t=z(n),x=!0,k=!0}),{passive:!0}),E.input(n,"touchmove",(function(e){var r=j(),i=r?n.scrollHeight-n.clientHeight:n.scrollWidth-n.clientWidth,o=t-z(e),a=r?n.scrollTop:n.scrollLeft,u=r&&"scroll"===n.style.overflowY||!r&&"scroll"===n.style.overflowX;if(t=z(e),(o<0&&a>0||o>0&&a=1||(n.origin=1-t-(l>1?0:1-l)),n}))}e.options.trackConfig=o}function E(){S();var n=e.size;e.options.disabled||n===i||(i=n,C())}function T(){E(),setTimeout(E,500),setTimeout(E,2e3)}function S(){var n=v(e.container);e.size=(e.options.vertical?n.height:n.width)||1}function O(){e.slides=c(e.options.selector,e.container)}e.container=(s=c(n,document)).length?s[0]:null,e.destroy=function(){l.purge(),e.emit("destroyed"),d(!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=C,y(e.options)}}var E=function(n,t,e){try{return function(n,t){var e,r={};return e={emit:function(n){r[n]&&r[n].forEach((function(n){n(e)}));var t=e.options&&e.options[n];t&&t(e)},moveToIdx:function(n,t,r){var i=e.track.idxToDist(n,t);if(i){var o=e.options.defaultAnimation;e.animator.start([{distance:i,duration:g(r||o,"duration",500),easing:g(r||o,"easing",(function(n){return 1+--n*n*n*n*n}))}])}},on:function(n,t,e){void 0===e&&(e=!1),r[n]||(r[n]=[]);var i=r[n].indexOf(t);i>-1?e&&delete r[n][i]:e||r[n].push(t)},options:n},function(){if(e.track=y(e),e.animator=function(n){var t,e,r,i,o,a;function u(t){a||(a=t),c(!0);var o=t-a;o>r&&(o=r);var f=i[e];if(f[3]{var r=/^\s+|\s+$/g,i=/^[-+]0x[0-9a-f]+$/i,o=/^0b[01]+$/i,a=/^0o[0-7]+$/i,u=parseInt,c="object"==typeof e.g&&e.g&&e.g.Object===Object&&e.g,s="object"==typeof self&&self&&self.Object===Object&&self,l=c||s||Function("return this")(),f=Object.prototype.toString,d=Math.max,p=Math.min,v=function(){return l.Date.now()};function g(n){var t=typeof n;return!!n&&("object"==t||"function"==t)}function h(n){if("number"==typeof n)return n;if(function(n){return"symbol"==typeof n||function(n){return!!n&&"object"==typeof n}(n)&&"[object Symbol]"==f.call(n)}(n))return NaN;if(g(n)){var t="function"==typeof n.valueOf?n.valueOf():n;n=g(t)?t+"":t}if("string"!=typeof n)return 0===n?n:+n;n=n.replace(r,"");var e=o.test(n);return e||a.test(n)?u(n.slice(2),e?2:8):i.test(n)?NaN:+n}n.exports=function(n,t,e){var r,i,o,a,u,c,s=0,l=!1,f=!1,m=!0;if("function"!=typeof n)throw new TypeError("Expected a function");function b(t){var e=r,o=i;return r=i=void 0,s=t,a=n.apply(o,e)}function w(n){var e=n-c;return void 0===c||e>=t||e<0||f&&n-s>=o}function y(){var n=v();if(w(n))return k(n);u=setTimeout(y,function(n){var e=t-(n-c);return f?p(e,o-(n-s)):e}(n))}function k(n){return u=void 0,m&&r?b(n):(r=i=void 0,a)}function x(){var n=v(),e=w(n);if(r=arguments,i=this,c=n,e){if(void 0===u)return function(n){return s=n,u=setTimeout(y,t),l?b(n):a}(c);if(f)return u=setTimeout(y,t),b(c)}return void 0===u&&(u=setTimeout(y,t)),a}return t=h(t)||0,g(e)&&(l=!!e.leading,o=(f="maxWait"in e)?d(h(e.maxWait)||0,t):o,m="trailing"in e?!!e.trailing:m),x.cancel=function(){void 0!==u&&clearTimeout(u),s=0,r=c=i=u=void 0},x.flush=function(){return void 0===u?a:k(v())},x}},59:(n,t,e)=>{"use strict";e.d(t,{a:()=>a,b:()=>s});var r=e(26);e(37);var i="undefined"!=typeof window?r.useLayoutEffect:r.useEffect;function o(n,t,e,o){const a=(0,r.useRef)(t);i((()=>{a.current=t}),[t]),(0,r.useEffect)((()=>{const t=(null==e?void 0:e.current)??window;if(!t||!t.addEventListener)return;const r=n=>{a.current(n)};return t.addEventListener(n,r,o),()=>{t.removeEventListener(n,r,o)}}),[n,e,o])}function a({countStart:n,countStop:t=0,intervalMs:e=1e3,isIncrement:o=!1}){const{count:a,increment:u,decrement:c,reset:s}=function(n){const[t,e]=(0,r.useState)(n??0);return{count:t,increment:(0,r.useCallback)((()=>{e((n=>n+1))}),[]),decrement:(0,r.useCallback)((()=>{e((n=>n-1))}),[]),reset:(0,r.useCallback)((()=>{e(n??0)}),[n]),setCount:e}}(n),{value:l,setTrue:f,setFalse:d}=function(n=!1){if("boolean"!=typeof n)throw new Error("defaultValue must be `true` or `false`");const[t,e]=(0,r.useState)(n),i=(0,r.useCallback)((()=>{e(!0)}),[]),o=(0,r.useCallback)((()=>{e(!1)}),[]),a=(0,r.useCallback)((()=>{e((n=>!n))}),[]);return{value:t,setValue:e,setTrue:i,setFalse:o,toggle:a}}(!1),p=(0,r.useCallback)((()=>{d(),s()}),[d,s]);return function(n,t){const e=(0,r.useRef)(n);i((()=>{e.current=n}),[n]),(0,r.useEffect)((()=>{if(null===t)return;const n=setInterval((()=>{e.current()}),t);return()=>{clearInterval(n)}}),[t])}((0,r.useCallback)((()=>{a!==t?o?u():c():d()}),[a,t,c,u,o,d]),l?e:null),[a,{startCountdown:f,stopCountdown:d,resetCountdown:p}]}function u(n){const t=(0,r.useRef)((()=>{throw new Error("Cannot call an event handler while rendering.")}));return i((()=>{t.current=n}),[n]),(0,r.useCallback)(((...n)=>{var e;return null==(e=t.current)?void 0:e.call(t,...n)}),[t])}var c="undefined"==typeof window;function s(n,t,e={}){const{initializeWithValue:i=!0}=e,a=(0,r.useCallback)((n=>e.serializer?e.serializer(n):JSON.stringify(n)),[e]),s=(0,r.useCallback)((n=>{if(e.deserializer)return e.deserializer(n);if("undefined"===n)return;const r=t instanceof Function?t():t;let i;try{i=JSON.parse(n)}catch(n){return console.error("Error parsing JSON:",n),r}return i}),[e,t]),l=(0,r.useCallback)((()=>{const e=t instanceof Function?t():t;if(c)return e;try{const t=window.localStorage.getItem(n);return t?s(t):e}catch(t){return console.warn(`Error reading localStorage key “${n}”:`,t),e}}),[t,n,s]),[f,d]=(0,r.useState)((()=>i?l():t instanceof Function?t():t)),p=u((t=>{c&&console.warn(`Tried setting localStorage key “${n}” even though environment is not a client`);try{const e=t instanceof Function?t(l()):t;window.localStorage.setItem(n,a(e)),d(e),window.dispatchEvent(new StorageEvent("local-storage",{key:n}))}catch(t){console.warn(`Error setting localStorage key “${n}”:`,t)}})),v=u((()=>{c&&console.warn(`Tried removing localStorage key “${n}” even though environment is not a client`);const e=t instanceof Function?t():t;window.localStorage.removeItem(n),d(e),window.dispatchEvent(new StorageEvent("local-storage",{key:n}))}));(0,r.useEffect)((()=>{d(l())}),[n]);const g=(0,r.useCallback)((t=>{t.key&&t.key!==n||d(l())}),[n,l]);return o("storage",g),o("local-storage",g),[f,p,v]}}}]);