(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9380],{51107:function(n,Z,$){"use strict";$.d(Z,{Z:function(){return tr}});var N=$(63366),R=$(87462),j=$(67294);$(59864);var q=$(86010),B=$(58510),U=$(90948),G=$(71657),F=$(54801),H=$(87952),X=$(1977),V=$(8027);function getAvatarGroupUtilityClass(n){return(0,V.ZP)("MuiAvatarGroup",n)}let W=(0,X.Z)("MuiAvatarGroup",["root","avatar"]);var Y=$(85893);let J=["children","className","component","componentsProps","max","slotProps","spacing","total","variant"],K={small:-16,medium:null},useUtilityClasses=n=>{let{classes:Z}=n;return(0,B.Z)({root:["root"],avatar:["avatar"]},getAvatarGroupUtilityClass,Z)},Q=(0,U.ZP)("div",{name:"MuiAvatarGroup",slot:"Root",overridesResolver:(n,Z)=>(0,R.Z)({[`& .${W.avatar}`]:Z.avatar},Z.root)})(({theme:n})=>({[`& .${F.Z.root}`]:{border:`2px solid ${(n.vars||n).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}},display:"flex",flexDirection:"row-reverse"})),tt=(0,U.ZP)(H.Z,{name:"MuiAvatarGroup",slot:"Avatar",overridesResolver:(n,Z)=>Z.avatar})(({theme:n})=>({border:`2px solid ${(n.vars||n).palette.background.default}`,boxSizing:"content-box",marginLeft:-8,"&:last-child":{marginLeft:0}})),tn=j.forwardRef(function(n,Z){var $;let B=(0,G.Z)({props:n,name:"MuiAvatarGroup"}),{children:U,className:F,component:H="div",componentsProps:X={},max:V=5,slotProps:W={},spacing:tn="medium",total:tr,variant:te="circular"}=B,ta=(0,N.Z)(B,J),ti=V<2?2:V,to=(0,R.Z)({},B,{max:V,spacing:tn,component:H,variant:te}),ts=useUtilityClasses(to),tu=j.Children.toArray(U).filter(n=>j.isValidElement(n)),tl=tr||tu.length;tl===ti&&(ti+=1),ti=Math.min(tl+1,ti);let tc=Math.min(tu.length,ti-1),td=Math.max(tl-ti,tl-tc,0),tf=tn&&void 0!==K[tn]?K[tn]:-tn,tp=null!=($=W.additionalAvatar)?$:X.additionalAvatar;return(0,Y.jsxs)(Q,(0,R.Z)({as:H,ownerState:to,className:(0,q.Z)(ts.root,F),ref:Z},ta,{children:[td?(0,Y.jsxs)(tt,(0,R.Z)({ownerState:to,variant:te},tp,{className:(0,q.Z)(ts.avatar,null==tp?void 0:tp.className),style:(0,R.Z)({marginLeft:tf},null==tp?void 0:tp.style),children:["+",td]})):null,tu.slice(0,tc).reverse().map((n,Z)=>j.cloneElement(n,{className:(0,q.Z)(n.props.className,ts.avatar),style:(0,R.Z)({marginLeft:Z===tc-1?void 0:tf},n.props.style),variant:n.props.variant||te}))]}))});var tr=tn},88441:function(n,Z,$){"use strict";var N=$(63366),R=$(87462),j=$(67294),q=$(86010),B=$(58510),U=$(70917),G=$(41796),F=$(98216),H=$(2734),X=$(90948),V=$(71657),W=$(28962),Y=$(85893);let J=["className","color","value","valueBuffer","variant"],_=n=>n,K,Q,tt,tn,tr,te,ta=(0,U.F4)(K||(K=_`
  0% {
    left: -35%;
    right: 100%;
  }

  60% {
    left: 100%;
    right: -90%;
  }

  100% {
    left: 100%;
    right: -90%;
  }
`)),ti=(0,U.F4)(Q||(Q=_`
  0% {
    left: -200%;
    right: 100%;
  }

  60% {
    left: 107%;
    right: -8%;
  }

  100% {
    left: 107%;
    right: -8%;
  }
`)),to=(0,U.F4)(tt||(tt=_`
  0% {
    opacity: 1;
    background-position: 0 -23px;
  }

  60% {
    opacity: 0;
    background-position: 0 -23px;
  }

  100% {
    opacity: 1;
    background-position: -200px -23px;
  }
`)),useUtilityClasses=n=>{let{classes:Z,variant:$,color:N}=n,R={root:["root",`color${(0,F.Z)(N)}`,$],dashed:["dashed",`dashedColor${(0,F.Z)(N)}`],bar1:["bar",`barColor${(0,F.Z)(N)}`,("indeterminate"===$||"query"===$)&&"bar1Indeterminate","determinate"===$&&"bar1Determinate","buffer"===$&&"bar1Buffer"],bar2:["bar","buffer"!==$&&`barColor${(0,F.Z)(N)}`,"buffer"===$&&`color${(0,F.Z)(N)}`,("indeterminate"===$||"query"===$)&&"bar2Indeterminate","buffer"===$&&"bar2Buffer"]};return(0,B.Z)(R,W.E,Z)},getColorShade=(n,Z)=>"inherit"===Z?"currentColor":n.vars?n.vars.palette.LinearProgress[`${Z}Bg`]:"light"===n.palette.mode?(0,G.$n)(n.palette[Z].main,.62):(0,G._j)(n.palette[Z].main,.5),ts=(0,X.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(n,Z)=>{let{ownerState:$}=n;return[Z.root,Z[`color${(0,F.Z)($.color)}`],Z[$.variant]]}})(({ownerState:n,theme:Z})=>(0,R.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:getColorShade(Z,n.color)},"inherit"===n.color&&"buffer"!==n.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===n.variant&&{backgroundColor:"transparent"},"query"===n.variant&&{transform:"rotate(180deg)"})),tu=(0,X.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(n,Z)=>{let{ownerState:$}=n;return[Z.dashed,Z[`dashedColor${(0,F.Z)($.color)}`]]}})(({ownerState:n,theme:Z})=>{let $=getColorShade(Z,n.color);return(0,R.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===n.color&&{opacity:.3},{backgroundImage:`radial-gradient(${$} 0%, ${$} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,U.iv)(tn||(tn=_`
    animation: ${0} 3s infinite linear;
  `),to)),tl=(0,X.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(n,Z)=>{let{ownerState:$}=n;return[Z.bar,Z[`barColor${(0,F.Z)($.color)}`],("indeterminate"===$.variant||"query"===$.variant)&&Z.bar1Indeterminate,"determinate"===$.variant&&Z.bar1Determinate,"buffer"===$.variant&&Z.bar1Buffer]}})(({ownerState:n,theme:Z})=>(0,R.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===n.color?"currentColor":(Z.vars||Z).palette[n.color].main},"determinate"===n.variant&&{transition:"transform .4s linear"},"buffer"===n.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:n})=>("indeterminate"===n.variant||"query"===n.variant)&&(0,U.iv)(tr||(tr=_`
      width: auto;
      animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
    `),ta)),tc=(0,X.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(n,Z)=>{let{ownerState:$}=n;return[Z.bar,Z[`barColor${(0,F.Z)($.color)}`],("indeterminate"===$.variant||"query"===$.variant)&&Z.bar2Indeterminate,"buffer"===$.variant&&Z.bar2Buffer]}})(({ownerState:n,theme:Z})=>(0,R.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==n.variant&&{backgroundColor:"inherit"===n.color?"currentColor":(Z.vars||Z).palette[n.color].main},"inherit"===n.color&&{opacity:.3},"buffer"===n.variant&&{backgroundColor:getColorShade(Z,n.color),transition:"transform .4s linear"}),({ownerState:n})=>("indeterminate"===n.variant||"query"===n.variant)&&(0,U.iv)(te||(te=_`
      width: auto;
      animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
    `),ti)),td=j.forwardRef(function(n,Z){let $=(0,V.Z)({props:n,name:"MuiLinearProgress"}),{className:j,color:B="primary",value:U,valueBuffer:G,variant:F="indeterminate"}=$,X=(0,N.Z)($,J),W=(0,R.Z)({},$,{color:B,variant:F}),K=useUtilityClasses(W),Q=(0,H.Z)(),tt={},tn={bar1:{},bar2:{}};if(("determinate"===F||"buffer"===F)&&void 0!==U){tt["aria-valuenow"]=Math.round(U),tt["aria-valuemin"]=0,tt["aria-valuemax"]=100;let n=U-100;"rtl"===Q.direction&&(n=-n),tn.bar1.transform=`translateX(${n}%)`}if("buffer"===F&&void 0!==G){let n=(G||0)-100;"rtl"===Q.direction&&(n=-n),tn.bar2.transform=`translateX(${n}%)`}return(0,Y.jsxs)(ts,(0,R.Z)({className:(0,q.Z)(K.root,j),ownerState:W,role:"progressbar"},tt,{ref:Z},X,{children:["buffer"===F?(0,Y.jsx)(tu,{className:K.dashed,ownerState:W}):null,(0,Y.jsx)(tl,{className:K.bar1,ownerState:W,style:tn.bar1}),"determinate"===F?null:(0,Y.jsx)(tc,{className:K.bar2,ownerState:W,style:tn.bar2})]}))});Z.Z=td},28962:function(n,Z,$){"use strict";$.d(Z,{E:function(){return getLinearProgressUtilityClass}});var N=$(1977),R=$(8027);function getLinearProgressUtilityClass(n){return(0,R.ZP)("MuiLinearProgress",n)}let j=(0,N.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);Z.Z=j},82730:function(n,Z,$){"use strict";var N=$(67294);function t(n){return Array.prototype.slice.call(n)}function e(n,Z){var $=Math.floor(n);return $===Z||$+1===Z?n:Z}function i(){return Date.now()}function r(n,Z,$){if(Z="data-keen-slider-"+Z,null===$)return n.removeAttribute(Z);n.setAttribute(Z,$||"")}function a(n,Z){return Z=Z||document,"function"==typeof n&&(n=n(Z)),Array.isArray(n)?n:"string"==typeof n?t(Z.querySelectorAll(n)):n instanceof HTMLElement?[n]:n instanceof NodeList?t(n):[]}function o(n){n.raw&&(n=n.raw),n.cancelable&&!n.defaultPrevented&&n.preventDefault()}function u(n){n.raw&&(n=n.raw),n.stopPropagation&&n.stopPropagation()}function c(){var n=[];return{add:function(Z,$,N,R){Z.addListener?Z.addListener(N):Z.addEventListener($,N,R),n.push([Z,$,N,R])},input:function(n,Z,$,N){this.add(n,Z,function(n){n.nativeEvent&&(n=n.nativeEvent);var Z=n.changedTouches||[],N=n.targetTouches||[],R=n.detail&&n.detail.x?n.detail:null;return $({id:R?R.identifier?R.identifier:"i":N[0]?N[0]?N[0].identifier:"e":"d",idChanged:R?R.identifier?R.identifier:"i":Z[0]?Z[0]?Z[0].identifier:"e":"d",raw:n,x:R&&R.x?R.x:N[0]?N[0].screenX:R?R.x:n.pageX,y:R&&R.y?R.y:N[0]?N[0].screenY:R?R.y:n.pageY})},N)},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 s(n,Z,$){return Math.min(Math.max(n,Z),$)}function d(n){return(n>0?1:0)-(n<0?1:0)||+n}function l(n){var Z=n.getBoundingClientRect();return{height:e(Z.height,n.offsetHeight),width:e(Z.width,n.offsetWidth)}}function f(n,Z,$,N){var R=n&&n[Z];return null==R?$:N&&"function"==typeof R?R():R}function p(n){return Math.round(1e6*n)/1e6}var h=function(){return(h=Object.assign||function(n){for(var Z,$=1,N=arguments.length;$<N;$++)for(var R in Z=arguments[$])Object.prototype.hasOwnProperty.call(Z,R)&&(n[R]=Z[R]);return n}).apply(this,arguments)};function m(n,Z,$){if($||2==arguments.length)for(var N,R=0,j=Z.length;R<j;R++)!N&&R in Z||(N||(N=Array.prototype.slice.call(Z,0,R)),N[R]=Z[R]);return n.concat(N||Array.prototype.slice.call(Z))}function y(n){var Z,$,N,R,j,q,B,U;function p(n){return 1-Math.pow(1-n,3)}function v(){return N?n.track.velocity():0}function m(n,Z){void 0===Z&&(Z=1e3);var $=147e-9+(n=Math.abs(n))/Z;return{dist:Math.pow(n,2)/$,dur:n/$}}function g(){var Z=n.track.details;Z&&(j=Z.min,q=Z.max,B=Z.minIdx,U=Z.maxIdx)}function b(){n.animator.stop()}n.on("updated",g),n.on("optionsChanged",g),n.on("created",g),n.on("dragStarted",function(){N=!1,b(),Z=$=n.track.details.abs}),n.on("dragChecked",function(){N=!0}),n.on("dragEnded",function(){var N,G,F,H,X,V,W=n.options.mode;"snap"===W&&(N=n.track,F=(G=n.track.details).position,H=d(v()),(F>q||F<j)&&(H=0),X=Z+H,0===G.slides[N.absToRel(X)].portion&&(X-=H),Z!==$&&(X=$),d(N.idxToDist(X,!0))!==H&&(X+=H),X=s(X,B,U),V=N.idxToDist(X,!0),n.animator.start([{distance:V,duration:500,easing:function(n){return 1+--n*n*n*n*n}}])),"free"!==W&&"free-snap"!==W||function(){b();var Z="free-snap"===n.options.mode,$=n.track,N=v();R=d(N);var G=n.track.details,F=[];if(N||!Z){var H=m(N),X=H.dist,V=H.dur;if(V*=2,X*=R,Z){var W=$.idxToDist($.distToIdx(X),!0);W&&(X=W)}F.push({distance:X,duration:V,easing:p});var Y=G.position,J=Y+X;if(J<j||J>q){var K=J<j?j-Y:q-Y,Q=0,tt=N;if(d(K)===R){var tn=Math.min(Math.abs(K)/Math.abs(X),1),tr=(1-Math.pow(1-tn,1/3))*V;F[0].earlyExit=tr,tt=N*(1-tn)}else F[0].earlyExit=0,Q+=K;var te=m(tt,100),ta=te.dist*R;n.options.rubberband&&(F.push({distance:ta,duration:2*te.dur,easing:p}),F.push({distance:-ta+Q,duration:500,easing:p}))}n.animator.start(F)}else n.moveToIdx(s(G.abs,B,U),!0,{duration:500,easing:function(n){return 1+--n*n*n*n*n}})}()}),n.on("dragged",function(){$=n.track.details.abs})}function x(n){var Z,$,N,R,j,q,B,U,G,F,H,X,V,W,Y,J,K,Q,tt=c();function E(Z){if(q&&U===Z.id){var V=O(Z);if(G){if(!A(Z))return I(Z);F=V,G=!1,n.emit("dragChecked")}if(J)return F=V;o(Z);var W=function(Z){if(K===-1/0&&Q===1/0)return Z;var N=n.track.details,q=N.length,B=N.position,U=s(Z,K-B,Q-B);if(0===q)return 0;if(!n.options.rubberband)return U;if(B<=Q&&B>=K||B<K&&$>0||B>Q&&$<0)return Z;var G=Math.max(0,1-Math.abs((B<K?B-K:B-Q)/q*(R*q))/j*2);return G*G*Z}(B(F-V)/R*N);$=d(W);var Y=n.track.details.position;(Y>K&&Y<Q||Y===K&&$>0||Y===Q&&$<0)&&u(Z),H+=W,!X&&Math.abs(H*R)>5&&(X=!0),n.track.add(W),F=V,n.emit("dragged")}}function z(Z){!q&&n.track.details&&n.track.details.length&&(H=0,q=!0,X=!1,G=!0,U=Z.id,A(Z),F=O(Z),n.emit("dragStarted"))}function I(Z){q&&U===Z.idChanged&&(q=!1,n.emit("dragEnded"))}function A(n){var Z=D(),$=Z?n.y:n.x,N=Z?n.x:n.y,R=void 0!==V&&void 0!==W&&Math.abs(W-N)<=Math.abs(V-$);return V=$,W=N,R}function O(n){return D()?n.y:n.x}function D(){return n.options.vertical}function S(){R=n.size,j=D()?window.innerHeight:window.innerWidth;var Z=n.track.details;Z&&(K=Z.min,Q=Z.max)}function L(n){X&&(u(n),o(n))}function P(){if(tt.purge(),n.options.drag&&!n.options.disabled){B="function"==typeof(R=n.options.dragSpeed||1)?R:function(n){return n*R},N=n.options.rtl?-1:1,S(),Z=n.container,$="data-keen-slider-clickable",a("[".concat($,"]:not([").concat($,"=false])"),Z).map(function(n){tt.add(n,"dragstart",u),tt.add(n,"mousedown",u),tt.add(n,"touchstart",u)}),tt.add(Z,"dragstart",function(n){o(n)}),tt.add(Z,"click",L,{capture:!0}),tt.input(Z,"ksDragStart",z),tt.input(Z,"ksDrag",E),tt.input(Z,"ksDragEnd",I),tt.input(Z,"mousedown",z),tt.input(Z,"mousemove",E),tt.input(Z,"mouseleave",I),tt.input(Z,"mouseup",I),tt.input(Z,"touchstart",z,{passive:!0}),tt.input(Z,"touchmove",E,{passive:!1}),tt.input(Z,"touchend",I),tt.input(Z,"touchcancel",I),tt.add(window,"wheel",function(n){q&&o(n)});var $,R,j="data-keen-slider-scrollable";a("[".concat(j,"]:not([").concat(j,"=false])"),n.container).map(function(n){var Z;tt.input(n,"touchstart",function(n){Z=O(n),J=!0,Y=!0},{passive:!0}),tt.input(n,"touchmove",function($){var N=D(),R=N?n.scrollHeight-n.clientHeight:n.scrollWidth-n.clientWidth,j=Z-O($),q=N?n.scrollTop:n.scrollLeft,B=N&&"scroll"===n.style.overflowY||!N&&"scroll"===n.style.overflowX;if(Z=O($),(j<0&&q>0||j>0&&q<R)&&Y&&B)return J=!0;Y=!1,o($),J=!1}),tt.input(n,"touchend",function(){J=!1})})}}n.on("updated",S),n.on("optionsChanged",P),n.on("created",P),n.on("destroyed",tt.purge)}function k(n){var Z,$,N=null;function r(Z,$,N){n.animator.active?o(Z,$,N):requestAnimationFrame(function(){return o(Z,$,N)})}function a(){r(!1,!1,$)}function o($,R,j){var q=0,B=n.size,U=n.track.details;if(U&&Z){var G=U.slides;Z.forEach(function(n,Z){if($)!N&&R&&c(n,null,j),s(n,null,j);else{if(!G[Z])return;var U=G[Z].size*B;!N&&R&&c(n,U,j),s(n,G[Z].distance*B-q,j),q+=U}})}}function u(Z){return"performance"===n.options.renderMode?Math.round(Z):Z}function c(n,Z,$){var N=$?"height":"width";null!==Z&&(Z=u(Z)+"px"),n.style["min-"+N]=Z,n.style["max-"+N]=Z}function s(n,Z,$){if(null!==Z){Z=u(Z);var N=$?Z:0;Z="translate3d(".concat($?0:Z,"px, ").concat(N,"px, 0)")}n.style.transform=Z,n.style["-webkit-transform"]=Z}function d(){Z&&(o(!0,!0,$),Z=null),n.on("detailsChanged",a,!0)}function l(){r(!1,!0,$)}function p(){d(),$=n.options.vertical,n.options.disabled||"custom"===n.options.renderMode||(N="auto"===f(n.options.slides,"perView",null),n.on("detailsChanged",a),(Z=n.slides).length&&l())}n.on("created",p),n.on("optionsChanged",p),n.on("beforeOptionsChanged",function(){d()}),n.on("updated",l),n.on("destroyed",d)}var M=function(n,Z,$){try{var N,R,j,q;return R=m([(N={drag:!0,mode:"snap",renderMode:"precision",rubberband:!0,selector:".keen-slider__slide"},function(Z){var $,R,j,q,B,U,G=c();function m(n){var $;r(Z.container,"reverse","rtl"!==($=Z.container,window.getComputedStyle($,null).getPropertyValue("direction"))||n?null:""),r(Z.container,"v",Z.options.vertical&&!n?"":null),r(Z.container,"disabled",Z.options.disabled&&!n?"":null)}function g(){b()&&M()}function b(){var n=null;if(q.forEach(function(Z){Z.matches&&(n=Z.__media)}),n===$)return!1;$||Z.emit("beforeOptionsChanged"),$=n;var N=n?j.breakpoints[n]:j;return Z.options=h(h({},j),N),m(),I(),A(),C(),!0}function x(){return Z.options.trackConfig.length}function k(n){for(var B in $=!1,j=h(h({},N),n),G.purge(),R=Z.size,q=[],j.breakpoints||[]){var U=window.matchMedia(B);U.__media=B,q.push(U),G.add(U,"change",g)}G.add(window,"orientationchange",z),G.add(window,"resize",E),b()}function w(n){Z.animator.stop();var $=Z.track.details;Z.track.init(null!=n?n:$?$.abs:0)}function M(n){w(n),Z.emit("optionsChanged")}function T(n,$){if(n)return k(n),void M($);I(),A();var N=x();C(),x()!==N?M($):w($),Z.emit("updated")}function C(){var n=Z.options.slides;if("function"==typeof n)return Z.options.trackConfig=n(Z.size,Z.slides);for(var $=Z.slides,N=$.length,R="number"==typeof n?n:f(n,"number",N,!0),j=[],q=f(n,"perView",1,!0),B=f(n,"spacing",0,!0)/Z.size||0,U="auto"===q?B:B/q,G=f(n,"origin","auto"),F=0,H=0;H<R;H++){var X="auto"===q?function(n){var $=l(n);return(Z.options.vertical?$.height:$.width)/Z.size||1}($[H]):1/q-B+U,V="center"===G?.5-X/2:"auto"===G?0:G;j.push({origin:V,size:X,spacing:B}),F+=X}if(F+=B*(R-1),"auto"===G&&!Z.options.loop&&1!==q){var W=0;j.map(function(n){var Z=F-W;return W+=n.size+B,Z>=1||(n.origin=1-Z-(F>1?0:1-F)),n})}Z.options.trackConfig=j}function E(){I();var n=Z.size;Z.options.disabled||n===R||(R=n,T())}function z(){E(),setTimeout(E,500),setTimeout(E,2e3)}function I(){var n=l(Z.container);Z.size=(Z.options.vertical?n.height:n.width)||1}function A(){Z.slides=a(Z.options.selector,Z.container)}Z.container=(U=a(n,B||document)).length?U[0]:null,Z.destroy=function(){G.purge(),Z.emit("destroyed"),m(!0)},Z.prev=function(){Z.moveToIdx(Z.track.details.abs-1,!0)},Z.next=function(){Z.moveToIdx(Z.track.details.abs+1,!0)},Z.update=T,k(Z.options)}),k,x,y],$||[],!0),q={},j={emit:function(n){q[n]&&q[n].forEach(function(n){n(j)});var Z=j.options&&j.options[n];Z&&Z(j)},moveToIdx:function(n,Z,$){var N=j.track.idxToDist(n,Z);if(N){var R=j.options.defaultAnimation;j.animator.start([{distance:N,duration:f($||R,"duration",500),easing:f($||R,"easing",function(n){return 1+--n*n*n*n*n})}])}},on:function(n,Z,$){void 0===$&&($=!1),q[n]||(q[n]=[]);var N=q[n].indexOf(Z);N>-1?$&&delete q[n][N]:$||q[n].push(Z)},options:Z},function(){if(j.track=function(n){var Z,$,N,R,j,q,B,U,G,F,H,X,V,W,Y=1/0,J=[],K=null,Q=0;function C(n){P(Q+n)}function E(n){var Z=z(Q+n).abs;return D(Z)===Z?Z:null}function z(n){var Z=Math.floor(Math.abs(p(n/$))),N=p((n%$+$)%$);N===$&&(N=0);var R=d(n),j=B.indexOf(m([],B,!0).reduce(function(n,Z){return Math.abs(Z-N)<Math.abs(n-N)?Z:n})),U=j;return R<0&&Z++,j===q&&(U=0,Z+=R>0?1:-1),{abs:U+Z*q*R,origin:j,rel:U}}function I(n,Z,$){if(Z||!R.loop)return A(n,$);if(D(n)!==n)return null;var N,j=z(null!=$?$:Q),B=j.abs,U=n-j.rel,G=B+U;N=A(G);var F=A(G-q*d(U));return(null!==F&&Math.abs(F)<Math.abs(N)||null===N)&&(N=F),p(N)}function A(n,Z){if(null==Z&&(Z=p(Q)),N=n,D(N)!==N||null===n)return null;n=Math.round(n);var N,R=z(Z),j=R.abs,U=R.rel,G=R.origin,F=L(n),H=(Z%$+$)%$,X=B[G],V=Math.floor((n-(j-U))/q)*$;return p(X-H-X+B[F]+V+(G===q?$:0))}function D(n){return s(n,G,F)}function L(n){return(n%q+q)%q}function P(Z){$=Z-Q,J.push({distance:$,timestamp:i()}),J.length>6&&(J=J.slice(-6)),Q=p(Z);var $,N=_().abs;if(N!==K){var R=null!==K;K=N,R&&n.emit("slideChanged")}}function _(B){var U=B?null:function(){if(q){var n=R.loop,Z=n?(Q%$+$)%$:Q,B=(n?Q%$:Q)-j[0][2],U=0-(B<0&&n?$-Math.abs(B):B),Y=0,J=z(Q),K=J.abs,tt=J.rel,tn=j[tt][2],tr=j.map(function(Z,N){var j=U+Y;(j<0-Z[0]||j>1)&&(j+=(Math.abs(j)>$-1&&n?$:0)*d(-j));var B=N-tt,G=d(B),F=B+K;n&&(-1===G&&j>tn&&(F+=q),1===G&&j<tn&&(F-=q),null!==H&&F<H&&(j+=$),null!==X&&F>X&&(j-=$));var V=j+Z[0]+Z[1],W=Math.max(j>=0&&V<=1?1:V<0||j>1?0:j<0?Math.min(1,(Z[0]+j)/Z[0]):(1-j)/Z[0],0);return Y+=Z[0]+Z[1],{abs:F,distance:R.rtl?-1*j+1-Z[0]:j,portion:W,size:Z[0]}});return tt=L(K=D(K)),{abs:D(K),length:N,max:W,maxIdx:F,min:V,minIdx:G,position:Q,progress:n?Z/$:Q/N,rel:tt,slides:tr,slidesLength:$}}}();return Z.details=U,n.emit("detailsChanged"),U}return Z={absToRel:L,add:C,details:null,distToIdx:E,idxToDist:I,init:function(Z){var J,K,tt,tn;if(function(){if(q=(j=((R=n.options).trackConfig||[]).map(function(n){return[f(n,"size",1),f(n,"spacing",0),f(n,"origin",0)]})).length){$=p(j.reduce(function(n,Z){return n+Z[0]+Z[1]},0));var Z,G=q-1;N=p($+j[0][2]-j[G][0]-j[G][2]-j[G][1]),B=j.reduce(function(n,$){if(!n)return[0];var N=j[n.length-1],R=n[n.length-1]+(N[0]+N[2])+N[1];return R-=$[2],n[n.length-1]>R&&(R=n[n.length-1]),R=p(R),n.push(R),(!Z||Z<R)&&(U=n.length-1),Z=R,n},null),0===N&&(U=0),B.push(p($))}}(),!q)return _(!0);J=n.options.range,H=G=(K=n.options.loop)?f(K,"min",-1/0):0,X=F=K?f(K,"max",Y):U,tt=f(J,"min",null),tn=f(J,"max",null),tt&&(G=tt),tn&&(F=tn),V=G===-1/0?G:n.track.idxToDist(G||0,!0,0),W=F===Y?F:I(F,!0,0),null===tn&&(X=F),f(J,"align",!1)&&F!==Y&&0===j[L(F)][2]&&(W-=1-j[L(F)][0],F=E(W-Q)),V=p(V),W=p(W),Number(Z)===Z?C(A(D(Z))):_()},to:P,velocity:function(){var n=i(),Z=J.reduce(function(Z,$){var N=$.distance,R=$.timestamp;return n-R>200||(d(N)!==d(Z.distance)&&Z.distance&&(Z={distance:0,lastTimestamp:0,time:0}),Z.time&&(Z.distance+=N),Z.lastTimestamp&&(Z.time+=R-Z.lastTimestamp),Z.lastTimestamp=R),Z},{distance:0,lastTimestamp:0,time:0});return Z.distance/Z.time||0}}}(j),j.animator=function(n){var Z,$,N,R,j,q;function c(n){Z.active=n}function s(n){Z.targetIdx=n}function l(){var Z;Z=j,window.cancelAnimationFrame(Z),c(!1),s(null),q&&n.emit("animationStopped"),q=null}return Z={active:!1,start:function(Z){if(l(),n.track.details){var B=0,U=n.track.details.position;$=0,N=0,R=Z.map(function(n){var Z,$=Number(U),R=null!==(Z=n.earlyExit)&&void 0!==Z?Z:n.duration,j=n.easing,q=n.distance*j(R/n.duration)||0;U+=q;var G=N;return N+=R,B+=q,[$,n.distance,G,N,n.duration,j]}),s(n.track.distToIdx(B)),function d(){j=window.requestAnimationFrame(function u(Z){q||(q=Z),c(!0);var j=Z-q;j>N&&(j=N);var B=R[$];if(B[3]<j)return $++,u(Z);var U=B[2],G=B[4],F=B[0],H=B[1]*(0,B[5])(0===G?1:(j-U)/G);if(H&&n.track.to(F+H),j<N)return d();q=null,c(!1),s(null),n.emit("animationEnded")})}(),n.emit("animationStarted")}},stop:l,targetIdx:null}}(j),R)for(var n=0;n<R.length;n++)(0,R[n])(j);j.track.init(j.options.initial||0),j.emit("created")}(),j}catch(n){console.error(n)}};Z.E=function(n,Z){var $=N.useRef(null),R=N.useRef(!1),j=N.useRef(n),q=N.useCallback(function(N){N?(j.current=n,$.current=new M(N,n,Z),R.current=!1):($.current&&$.current.destroy&&$.current.destroy(),$.current=null)},[]);return N.useEffect(function(){(function v(n,Z){if(n===Z)return!0;var $=typeof n;if($!==typeof Z)return!1;if("object"!==$||null===n||null===Z)return"function"===$&&n.toString()===Z.toString();if(n.length!==Z.length||Object.getOwnPropertyNames(n).length!==Object.getOwnPropertyNames(Z).length)return!1;for(var N in n)if(!v(n[N],Z[N]))return!1;return!0})(j.current,n)||(j.current=n,$.current&&$.current.update(j.current))},[n]),[q,$]}},31903:function(){}}]);